@redneckz/wildless-cms-uni-blocks 0.14.129 → 0.14.131
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 +124 -52
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
- package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
- package/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
- package/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
- package/bundle/components/ApplicationForm/DatePickerControl.d.ts +1 -1
- package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/bundle/components/ApplicationForm/InputControl.d.ts +1 -1
- package/bundle/components/ApplicationForm/feedbackTypes.d.ts +4 -0
- package/bundle/components/ApplicationForm/formStyle.d.ts +1 -0
- package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
- package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
- package/bundle/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
- package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderRegion.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
- package/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderTextarea.d.ts +3 -0
- package/bundle/components/ApplicationForm/renderUserData.d.ts +4 -0
- package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
- package/bundle/components/ApplicationForm/validators.d.ts +1 -0
- package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
- package/dist/components/ApplicationForm/ApplicationFormFeedback.js +71 -0
- package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +3 -2
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/DatePickerControl.d.ts +1 -1
- package/dist/components/ApplicationForm/DatePickerControl.js +2 -1
- package/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/dist/components/ApplicationForm/InputControl.d.ts +1 -1
- package/dist/components/ApplicationForm/InputControl.js +2 -1
- package/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/dist/components/ApplicationForm/PhoneInputControl.js +2 -1
- package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/dist/components/ApplicationForm/feedbackTypes.d.ts +4 -0
- package/dist/components/ApplicationForm/feedbackTypes.js +21 -0
- package/dist/components/ApplicationForm/feedbackTypes.js.map +1 -0
- package/dist/components/ApplicationForm/formStyle.d.ts +1 -0
- package/dist/components/ApplicationForm/formStyle.js +4 -0
- package/dist/components/ApplicationForm/formStyle.js.map +1 -0
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
- package/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
- package/dist/components/ApplicationForm/renderAgreementWithSubmit.js +12 -0
- package/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js +2 -2
- package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/renderIndividualsFields.js +1 -1
- package/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js +2 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegion.d.ts +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
- package/dist/components/ApplicationForm/renderTextarea.d.ts +3 -0
- package/dist/components/ApplicationForm/renderTextarea.js +9 -0
- package/dist/components/ApplicationForm/renderTextarea.js.map +1 -0
- package/dist/components/ApplicationForm/renderUserData.d.ts +4 -0
- package/dist/components/ApplicationForm/renderUserData.js +10 -0
- package/dist/components/ApplicationForm/renderUserData.js.map +1 -0
- package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +2 -2
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/validators.d.ts +1 -0
- package/dist/components/ApplicationForm/validators.js +2 -1
- package/dist/components/ApplicationForm/validators.js.map +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/dist/ui-kit/DatePicker/DatePicker.js +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
- package/lib/components/ApplicationForm/ApplicationFormFeedback.js +69 -0
- package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +3 -2
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/DatePickerControl.d.ts +1 -1
- package/lib/components/ApplicationForm/DatePickerControl.js +2 -1
- package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/lib/components/ApplicationForm/InputControl.d.ts +1 -1
- package/lib/components/ApplicationForm/InputControl.js +2 -1
- package/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/lib/components/ApplicationForm/PhoneInputControl.js +2 -1
- package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/lib/components/ApplicationForm/feedbackTypes.d.ts +4 -0
- package/lib/components/ApplicationForm/feedbackTypes.js +19 -0
- package/lib/components/ApplicationForm/feedbackTypes.js.map +1 -0
- package/lib/components/ApplicationForm/formStyle.d.ts +1 -0
- package/lib/components/ApplicationForm/formStyle.js +2 -0
- package/lib/components/ApplicationForm/formStyle.js.map +1 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -3
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -2
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
- package/lib/components/ApplicationForm/renderAcquiringRegion.js +2 -2
- package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderAgreementWithSubmit.d.ts +4 -0
- package/lib/components/ApplicationForm/renderAgreementWithSubmit.js +9 -0
- package/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -2
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -2
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -2
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js +3 -3
- package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +1 -0
- package/lib/components/ApplicationForm/renderIndividualsFields.js +2 -2
- package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js +2 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegion.d.ts +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.js +2 -2
- package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
- package/lib/components/ApplicationForm/renderTextarea.d.ts +2 -0
- package/lib/components/ApplicationForm/renderTextarea.js +6 -0
- package/lib/components/ApplicationForm/renderTextarea.js.map +1 -0
- package/lib/components/ApplicationForm/renderUserData.d.ts +3 -0
- package/lib/components/ApplicationForm/renderUserData.js +7 -0
- package/lib/components/ApplicationForm/renderUserData.js.map +1 -0
- package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +2 -2
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/validators.d.ts +1 -0
- package/lib/components/ApplicationForm/validators.js +1 -0
- package/lib/components/ApplicationForm/validators.js.map +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/lib/ui-kit/DatePicker/DatePicker.js +1 -1
- package/mobile/bundle/bundle.umd.js +125 -53
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
- package/mobile/bundle/components/ApplicationForm/DatePickerControl.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/feedbackTypes.d.ts +4 -0
- package/mobile/bundle/components/ApplicationForm/formStyle.d.ts +1 -0
- package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
- package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
- package/mobile/bundle/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
- package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
- package/mobile/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderTextarea.d.ts +3 -0
- package/mobile/bundle/components/ApplicationForm/renderUserData.d.ts +4 -0
- package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
- package/mobile/bundle/components/ApplicationForm/validators.d.ts +1 -0
- package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +71 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +3 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/DatePickerControl.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/DatePickerControl.js +2 -1
- package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/InputControl.js +2 -1
- package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +2 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/feedbackTypes.d.ts +4 -0
- package/mobile/dist/components/ApplicationForm/feedbackTypes.js +21 -0
- package/mobile/dist/components/ApplicationForm/feedbackTypes.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/formStyle.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/formStyle.js +4 -0
- package/mobile/dist/components/ApplicationForm/formStyle.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
- package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js +12 -0
- package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +2 -2
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +2 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderTextarea.d.ts +3 -0
- package/mobile/dist/components/ApplicationForm/renderTextarea.js +9 -0
- package/mobile/dist/components/ApplicationForm/renderTextarea.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderUserData.d.ts +4 -0
- package/mobile/dist/components/ApplicationForm/renderUserData.js +10 -0
- package/mobile/dist/components/ApplicationForm/renderUserData.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +2 -2
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/validators.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/validators.js +2 -1
- package/mobile/dist/components/ApplicationForm/validators.js.map +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/dist/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +2 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +4 -3
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +11 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +8 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +8 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +3 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.d.ts +24 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +69 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +7 -5
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +3 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/DatePickerControl.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/DatePickerControl.js +2 -1
- package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/InputControl.js +2 -1
- package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +2 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/feedbackTypes.d.ts +4 -0
- package/mobile/lib/components/ApplicationForm/feedbackTypes.js +19 -0
- package/mobile/lib/components/ApplicationForm/feedbackTypes.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/formStyle.d.ts +1 -0
- package/mobile/lib/components/ApplicationForm/formStyle.js +2 -0
- package/mobile/lib/components/ApplicationForm/formStyle.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +2 -2
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +2 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +3 -2
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +2 -2
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.d.ts +5 -0
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js +9 -0
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +2 -2
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +2 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +3 -3
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +2 -2
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +2 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +2 -2
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderTextarea.d.ts +3 -0
- package/mobile/lib/components/ApplicationForm/renderTextarea.js +6 -0
- package/mobile/lib/components/ApplicationForm/renderTextarea.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderUserData.d.ts +4 -0
- package/mobile/lib/components/ApplicationForm/renderUserData.js +7 -0
- package/mobile/lib/components/ApplicationForm/renderUserData.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +7 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +2 -2
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/validators.d.ts +1 -0
- package/mobile/lib/components/ApplicationForm/validators.js +1 -0
- package/mobile/lib/components/ApplicationForm/validators.js.map +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js +1 -1
- package/mobile/lib/components/Calculator/RefinancingCalculatorForm.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +1 -0
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +10 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +16 -7
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +11 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -8
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +12 -23
- package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +190 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +30 -13
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +10 -7
- package/mobile/src/components/ApplicationForm/CreditParameters.ts +0 -1
- package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +3 -2
- package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
- package/mobile/src/components/ApplicationForm/InputControl.tsx +3 -2
- package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +2 -1
- package/mobile/src/components/ApplicationForm/feedbackTypes.ts +22 -0
- package/mobile/src/components/ApplicationForm/formStyle.ts +1 -0
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +24 -24
- package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +7 -5
- package/mobile/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +26 -0
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -20
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +31 -31
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +30 -30
- package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +8 -26
- package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -32
- package/mobile/src/components/ApplicationForm/renderRegion.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -4
- package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderTextarea.tsx +30 -0
- package/mobile/src/components/ApplicationForm/renderUserData.tsx +18 -0
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +12 -24
- package/mobile/src/components/ApplicationForm/validators.ts +4 -0
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
- package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +10 -3
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +10 -0
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +10 -0
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +16 -7
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +11 -2
- package/src/components/ApplicationForm/ApplicationFormContent.ts +11 -1
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +5 -8
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +12 -23
- package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +190 -0
- package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +30 -13
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +10 -7
- package/src/components/ApplicationForm/CreditParameters.ts +0 -1
- package/src/components/ApplicationForm/DatePickerControl.tsx +3 -2
- package/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
- package/src/components/ApplicationForm/InputControl.tsx +3 -2
- package/src/components/ApplicationForm/PhoneInputControl.tsx +2 -1
- package/src/components/ApplicationForm/feedbackTypes.ts +22 -0
- package/src/components/ApplicationForm/formStyle.ts +1 -0
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +12 -21
- package/src/components/ApplicationForm/renderAcquiringRegion.tsx +7 -5
- package/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +26 -0
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +7 -20
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -20
- package/src/components/ApplicationForm/renderCreditParameters.tsx +30 -30
- package/src/components/ApplicationForm/renderIndividualsFields.tsx +8 -26
- package/src/components/ApplicationForm/renderQuestionsInterested.tsx +35 -32
- package/src/components/ApplicationForm/renderRegion.tsx +1 -1
- package/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -4
- package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +1 -1
- package/src/components/ApplicationForm/renderTextarea.tsx +30 -0
- package/src/components/ApplicationForm/renderUserData.tsx +18 -0
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +12 -24
- package/src/components/ApplicationForm/validators.ts +4 -0
- package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +1 -1
- package/src/components/Calculator/RefinancingCalculatorForm.tsx +1 -1
- package/src/ui-kit/Checkbox/CheckboxProps.ts +1 -0
- package/src/ui-kit/DatePicker/DatePicker.tsx +1 -1
- package/bundle/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
- package/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
- package/bundle/components/ApplicationForm/normalizeSelected.d.ts +0 -2
- package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -4
- package/bundle/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -4
- package/bundle/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
- package/dist/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
- package/dist/components/ApplicationForm/AcquiringFormState.js +0 -2
- package/dist/components/ApplicationForm/AcquiringFormState.js.map +0 -1
- package/dist/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
- package/dist/components/ApplicationForm/BusinessCardFormState.js +0 -2
- package/dist/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
- package/dist/components/ApplicationForm/normalizeSelected.d.ts +0 -2
- package/dist/components/ApplicationForm/normalizeSelected.js +0 -5
- package/dist/components/ApplicationForm/normalizeSelected.js.map +0 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -4
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +0 -10
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +0 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -4
- package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js +0 -10
- package/dist/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +0 -1
- package/dist/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
- package/dist/components/ApplicationForm/renderWedTextarea.js +0 -12
- package/dist/components/ApplicationForm/renderWedTextarea.js.map +0 -1
- package/lib/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
- package/lib/components/ApplicationForm/AcquiringFormState.js +0 -2
- package/lib/components/ApplicationForm/AcquiringFormState.js.map +0 -1
- package/lib/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
- package/lib/components/ApplicationForm/BusinessCardFormState.js +0 -2
- package/lib/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
- package/lib/components/ApplicationForm/normalizeSelected.d.ts +0 -2
- package/lib/components/ApplicationForm/normalizeSelected.js +0 -2
- package/lib/components/ApplicationForm/normalizeSelected.js.map +0 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.d.ts +0 -3
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js +0 -7
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.mobile.js.map +0 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.d.ts +0 -3
- package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js +0 -7
- package/lib/components/ApplicationForm/renderCreditDataOrganization.mobile.js.map +0 -1
- package/lib/components/ApplicationForm/renderWedTextarea.d.ts +0 -3
- package/lib/components/ApplicationForm/renderWedTextarea.js +0 -9
- package/lib/components/ApplicationForm/renderWedTextarea.js.map +0 -1
- package/mobile/bundle/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
- package/mobile/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
- package/mobile/bundle/components/ApplicationForm/normalizeSelected.d.ts +0 -2
- package/mobile/bundle/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
- package/mobile/dist/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
- package/mobile/dist/components/ApplicationForm/AcquiringFormState.js +0 -2
- package/mobile/dist/components/ApplicationForm/AcquiringFormState.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
- package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js +0 -2
- package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/normalizeSelected.d.ts +0 -2
- package/mobile/dist/components/ApplicationForm/normalizeSelected.js +0 -5
- package/mobile/dist/components/ApplicationForm/normalizeSelected.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
- package/mobile/dist/components/ApplicationForm/renderWedTextarea.js +0 -12
- package/mobile/dist/components/ApplicationForm/renderWedTextarea.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/AcquiringFormState.d.ts +0 -11
- package/mobile/lib/components/ApplicationForm/AcquiringFormState.js +0 -2
- package/mobile/lib/components/ApplicationForm/AcquiringFormState.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/BusinessCardFormState.d.ts +0 -8
- package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js +0 -2
- package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/normalizeSelected.d.ts +0 -2
- package/mobile/lib/components/ApplicationForm/normalizeSelected.js +0 -2
- package/mobile/lib/components/ApplicationForm/normalizeSelected.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderWedTextarea.d.ts +0 -4
- package/mobile/lib/components/ApplicationForm/renderWedTextarea.js +0 -9
- package/mobile/lib/components/ApplicationForm/renderWedTextarea.js.map +0 -1
- package/mobile/src/components/ApplicationForm/AcquiringFormState.ts +0 -12
- package/mobile/src/components/ApplicationForm/BusinessCardFormState.ts +0 -9
- package/mobile/src/components/ApplicationForm/normalizeSelected.ts +0 -4
- package/mobile/src/components/ApplicationForm/renderWedTextarea.tsx +0 -33
- package/src/components/ApplicationForm/AcquiringFormState.ts +0 -12
- package/src/components/ApplicationForm/BusinessCardFormState.ts +0 -9
- package/src/components/ApplicationForm/normalizeSelected.ts +0 -4
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.mobile.tsx +0 -31
- package/src/components/ApplicationForm/renderCreditDataOrganization.mobile.tsx +0 -39
- package/src/components/ApplicationForm/renderWedTextarea.tsx +0 -33
|
@@ -973,6 +973,8 @@
|
|
|
973
973
|
|
|
974
974
|
const Footnote = JSX(({ text, link }) => (jsxs(Paragraph, { size: "text-s", font: "font-light", color: "text-secondary-text", children: [jsx(Text, { children: text || 'Нажимая кнопку, вы подтверждаете согласие с ' }), link ? (jsx(LinkButton, { href: link.href, ariaLabel: "\u0443\u0441\u043B\u043E\u0432\u0438\u044F \u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0434\u0430\u043D\u043D\u044B\u0445", target: link.target || '', className: "text-primary-main", children: jsx(Text, { children: link.text }) })) : null] })));
|
|
975
975
|
|
|
976
|
+
const formStyle$1 = 'container space-y-lg';
|
|
977
|
+
|
|
976
978
|
const withValidator = (props, validator) => {
|
|
977
979
|
const { value, isDirty } = props;
|
|
978
980
|
const errors = isDirty ? validator(value) : [];
|
|
@@ -983,6 +985,9 @@
|
|
|
983
985
|
};
|
|
984
986
|
};
|
|
985
987
|
|
|
988
|
+
const ApplicationFieldsetLayout = JSX(({ title, firstChildren, secondChildren }) => (jsxs("fieldset", { className: "grid @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [title ? (jsx("legend", { className: "w-full", children: jsx(Heading, { title: title, headingType: "h6", className: "@xl:text-center" }) })) : null, firstChildren, secondChildren] })));
|
|
989
|
+
const formChildrenStyle = '@xl:w-1/2 space-y-s';
|
|
990
|
+
|
|
986
991
|
const Input = JSX(({ key, className = '', inputClassName = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, autoFocus = false, }) => {
|
|
987
992
|
const inputRef = useRef(null);
|
|
988
993
|
const handleChange = useCallback((e) => {
|
|
@@ -1002,7 +1007,7 @@
|
|
|
1002
1007
|
|
|
1003
1008
|
const renderErrorText = (error) => (jsx("div", { className: "h-4", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
|
|
1004
1009
|
|
|
1005
|
-
const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), renderErrorText(error)] })));
|
|
1010
|
+
const InputControl = JSX(({ className, label, value = '', error, onChange, onBlur }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), renderErrorText(error)] })));
|
|
1006
1011
|
|
|
1007
1012
|
const isPlaceholder = (_) => _ === '_';
|
|
1008
1013
|
const isDigit = (_) => /\d/.test(_);
|
|
@@ -1023,7 +1028,7 @@
|
|
|
1023
1028
|
return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
|
|
1024
1029
|
});
|
|
1025
1030
|
|
|
1026
|
-
const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: className, children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }), renderErrorText(error)] })));
|
|
1031
|
+
const PhoneInputControl = JSX(({ className, label, value, error, onChange, onBlur }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [jsx(PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur, placeholder: "+7 (___) ___-__-__" }), renderErrorText(error)] })));
|
|
1027
1032
|
|
|
1028
1033
|
const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
|
|
1029
1034
|
|
|
@@ -1034,8 +1039,9 @@
|
|
|
1034
1039
|
const nameValidator = validator((_) => typeof _ === 'string' && _.length > 1)(ERROR_MESSAGE);
|
|
1035
1040
|
const innValidator = validator((_) => typeof _ === 'string' && (_.length === 10 || _.length === 12))(ERROR_MESSAGE);
|
|
1036
1041
|
const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
|
|
1042
|
+
const consentDataProcessingValidator = validator((_) => typeof _ === 'boolean' && _)(ERROR_MESSAGE);
|
|
1037
1043
|
|
|
1038
|
-
const renderAcquiringDataOrganization = (field) => (jsxs("div", { className:
|
|
1044
|
+
const renderAcquiringDataOrganization = (field, title) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }) }));
|
|
1039
1045
|
|
|
1040
1046
|
const ACQUIRING_TYPES = [
|
|
1041
1047
|
{
|
|
@@ -1055,9 +1061,6 @@
|
|
|
1055
1061
|
},
|
|
1056
1062
|
];
|
|
1057
1063
|
|
|
1058
|
-
const ApplicationFieldsetLayout = JSX(({ firstChildren, secondChildren }) => (jsxs("fieldset", { className: "grig @xl:flex @xl:justify-between gap-lg border-b border-b-main-divider @xl:border-none", children: [firstChildren, secondChildren] })));
|
|
1059
|
-
const childrenClassName = '@xl:w-1/2 space-y-s';
|
|
1060
|
-
|
|
1061
1064
|
function useBool(defaultValue = false) {
|
|
1062
1065
|
const [value, setValue] = useState(defaultValue);
|
|
1063
1066
|
const setTrue = useCallback(() => setValue(true), []);
|
|
@@ -1162,7 +1165,7 @@
|
|
|
1162
1165
|
|
|
1163
1166
|
const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), renderErrorText(error)] })));
|
|
1164
1167
|
|
|
1165
|
-
const renderAcquiringRegion = ({ regions, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className:
|
|
1168
|
+
const renderAcquiringRegion = ({ regions, field, title }) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433", options: ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...withValidator(field('acquiringType'), defaultValidator) }) }), secondChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }) }));
|
|
1166
1169
|
|
|
1167
1170
|
const SlideCheckbox = JSX(({ value = false, text, type = 'checkbox', onChange }) => (jsxs("div", { role: type, "aria-checked": value, className: "flex justify-start items-center w-full cursor-pointer mb-s", onClick: () => onChange && onChange(!value), children: [jsx("div", { className: style('relative flex-shrink-0 duration-300 w-9 h-5 mr-s rounded-2xl', value ? 'bg-primary-main' : 'bg-main-divider'), children: jsx("div", { className: style('absolute opacity-80 duration-500 top-0.5 w-4 h-4 bg-white rounded-full', value ? 'left-1/2' : 'left-[5%]') }) }), text ? (jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text })) : null] })));
|
|
1168
1171
|
|
|
@@ -1200,7 +1203,7 @@
|
|
|
1200
1203
|
|
|
1201
1204
|
const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
|
|
1202
1205
|
|
|
1203
|
-
const initialFormState$
|
|
1206
|
+
const initialFormState$6 = {
|
|
1204
1207
|
acquiringType: { key: 'Торговый эквайринг' },
|
|
1205
1208
|
fullName: '',
|
|
1206
1209
|
inn: '',
|
|
@@ -1232,16 +1235,16 @@
|
|
|
1232
1235
|
phone: phone.replace(/[^+\d]/g, ''),
|
|
1233
1236
|
});
|
|
1234
1237
|
}, [onSubmit]);
|
|
1235
|
-
const [, { field, ...formProps }] = useForm(initialFormState$
|
|
1238
|
+
const [, { field, ...formProps }] = useForm(initialFormState$6, handleSubmit);
|
|
1236
1239
|
const regions = useGetRegions();
|
|
1237
|
-
return (jsxs("form", { className:
|
|
1240
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ regions, field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1238
1241
|
});
|
|
1239
1242
|
|
|
1240
|
-
const renderBusinessCardDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className:
|
|
1243
|
+
const renderBusinessCardDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
|
|
1241
1244
|
|
|
1242
1245
|
const renderRegion$1 = ({ regions, field }) => (jsx(SelectControl, { className: "w-full", label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }));
|
|
1243
1246
|
|
|
1244
|
-
const initialFormState$
|
|
1247
|
+
const initialFormState$5 = {
|
|
1245
1248
|
name: '',
|
|
1246
1249
|
phone: '',
|
|
1247
1250
|
inn: '',
|
|
@@ -1268,9 +1271,9 @@
|
|
|
1268
1271
|
phone: phone.replace(/[^+\d]/g, ''),
|
|
1269
1272
|
});
|
|
1270
1273
|
}, [onSubmit]);
|
|
1271
|
-
const [, { field, ...formProps }] = useForm(initialFormState$
|
|
1274
|
+
const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
|
|
1272
1275
|
const regions = useGetRegions();
|
|
1273
|
-
return (jsxs("form", { className:
|
|
1276
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1274
1277
|
});
|
|
1275
1278
|
|
|
1276
1279
|
const BRANCHES_URL = '/api/v1/branches';
|
|
@@ -1291,7 +1294,7 @@
|
|
|
1291
1294
|
const MAX_CREDIT_TERM = 180;
|
|
1292
1295
|
const ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
|
|
1293
1296
|
|
|
1294
|
-
const renderCreditDataOrganization = (field) => (jsx(
|
|
1297
|
+
const renderCreditDataOrganization = (field, title) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...withValidator(field('annualRevenue'), defaultValidator) }), jsx(InputControl, { label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }));
|
|
1295
1298
|
|
|
1296
1299
|
const useNormalizedInput = (props, { normalize, format }) => {
|
|
1297
1300
|
const { value, onFocus, onBlur, onChange } = props;
|
|
@@ -1351,14 +1354,14 @@
|
|
|
1351
1354
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
1352
1355
|
const renderRangeCaption = (items) => (jsx("div", { className: "flex justify-between my-xs", children: items.map((item, i) => (jsx(Text, { size: "text-s", font: "font-light", color: "text-secondary-text", children: item }, String(i)))) }));
|
|
1353
1356
|
|
|
1354
|
-
const renderCreditParameters = (field) => (
|
|
1357
|
+
const renderCreditParameters = (field, title) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsx("div", { className: formChildrenStyle, children: jsx(InputRange, { title: "\u0421\u0443\u043C\u043C\u0430, \u20BD", items: ITEMS_CREDIT_AMOUNT, min: MIN_CREDIT_AMOUNT, max: MAX_CREDIT_AMOUNT, ...field('amount') }) }), secondChildren: jsx("div", { className: formChildrenStyle, children: jsx(InputRange, { title: "\u0421\u0440\u043E\u043A, \u043C\u0435\u0441\u044F\u0446\u0435\u0432", items: ITEMS_CREDIT_TERM, min: MIN_CREDIT_TERM, max: MAX_CREDIT_TERM, ...field('term') }) }) }));
|
|
1355
1358
|
|
|
1356
|
-
const renderRegionDepartment = ({ regions, branches, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className:
|
|
1359
|
+
const renderRegionDepartment = ({ title, regions, branches, field, }) => (jsx(ApplicationFieldsetLayout, { title: title, firstChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }) }), secondChildren: jsx("div", { className: formChildrenStyle, children: jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
|
|
1357
1360
|
key: branchCode,
|
|
1358
1361
|
text: address,
|
|
1359
1362
|
})), ...withValidator(field('department'), defaultValidator) }) }) }));
|
|
1360
1363
|
|
|
1361
|
-
const initialFormState$
|
|
1364
|
+
const initialFormState$4 = {
|
|
1362
1365
|
amount: MIN_CREDIT_AMOUNT,
|
|
1363
1366
|
term: 12,
|
|
1364
1367
|
fullName: '',
|
|
@@ -1393,13 +1396,13 @@
|
|
|
1393
1396
|
partnerComments: `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`,
|
|
1394
1397
|
});
|
|
1395
1398
|
}, [onSubmit]);
|
|
1396
|
-
const [formState, { field, ...formProps }] = useForm(initialFormState$
|
|
1399
|
+
const [formState, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
|
|
1397
1400
|
const regions = useGetRegions();
|
|
1398
1401
|
const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
|
|
1399
|
-
return (jsxs("form", { className:
|
|
1402
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderCreditParameters(field, 'Параметры'), renderCreditDataOrganization(field, 'Данные организации'), renderRegionDepartment({ regions, branches, field, title: 'Офис банка' }), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1400
1403
|
});
|
|
1401
1404
|
|
|
1402
|
-
const initialFormState$
|
|
1405
|
+
const initialFormState$3 = {
|
|
1403
1406
|
name: '',
|
|
1404
1407
|
phone: '',
|
|
1405
1408
|
};
|
|
@@ -1417,21 +1420,28 @@
|
|
|
1417
1420
|
phone: phone.replace(/[^+\d]/g, ''),
|
|
1418
1421
|
});
|
|
1419
1422
|
}, [onSubmit]);
|
|
1420
|
-
const [, { field, ...formProps }] = useForm(initialFormState$
|
|
1421
|
-
return (
|
|
1423
|
+
const [, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
|
|
1424
|
+
return (jsx("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { title: "\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u044F\u0432\u043A\u0443 \u0438 \u043C\u044B \u043E\u0442\u0432\u0435\u0442\u0438\u043C \u043D\u0430 \u043B\u044E\u0431\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u043F\u043E \u0434\u0435\u043F\u043E\u0437\u0438\u0442\u0430\u043C", firstChildren: jsxs("div", { className: "w-full max-w-xl space-y-s m-auto", children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), renderSubmitButton(button), jsx(Footnote, { link: link })] }) }) }));
|
|
1422
1425
|
});
|
|
1423
1426
|
|
|
1424
|
-
const
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1427
|
+
const FEEDBACK_TYPES = [
|
|
1428
|
+
{
|
|
1429
|
+
text: 'Задать вопрос по продуктам и услугам',
|
|
1430
|
+
key: 'FEEDBACK',
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
text: 'Качество обслуживания',
|
|
1434
|
+
key: 'FEEDBACK_QC',
|
|
1435
|
+
},
|
|
1436
|
+
];
|
|
1437
|
+
const FEEDBACK_METHOD = [
|
|
1438
|
+
{ key: 'phone', text: 'Телефонный звонок' },
|
|
1439
|
+
{ key: 'mail', text: 'Электронное сообщение' },
|
|
1440
|
+
];
|
|
1441
|
+
const SERVICE_DIRECTIONS = [
|
|
1442
|
+
{ key: 'Физическое лицо' },
|
|
1443
|
+
{ key: 'Юридическое лицо / ИП' },
|
|
1444
|
+
];
|
|
1435
1445
|
|
|
1436
1446
|
const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
|
|
1437
1447
|
return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, viewBox: viewBox, fill: fill, width: width, height: height, children: paths.map(({ d, fill: pathFill, ...options }, i) => {
|
|
@@ -1461,6 +1471,11 @@
|
|
|
1461
1471
|
});
|
|
1462
1472
|
const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
|
|
1463
1473
|
|
|
1474
|
+
const renderAgreementWithSubmit = (consentDataProcessing, link, button) => (jsxs("div", { className: "flex w-full justify-between items-baseline", children: [jsxs("div", { children: [jsxs("div", { className: "flex gap-3", children: [jsx(Checkbox, { ...consentDataProcessing }), jsx(Footnote, { text: "\u0421\u043E\u0433\u043B\u0430\u0441\u0435\u043D \u0441 ", link: link })] }), renderErrorText(withValidator(consentDataProcessing, consentDataProcessingValidator).error)] }), renderSubmitButton(button)] }));
|
|
1475
|
+
|
|
1476
|
+
const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
|
|
1477
|
+
const renderTextarea = (textField, text, placeholder = '') => (jsxs("label", { className: "space-y-xs", htmlFor: "textarea", children: [text ? (jsx("div", { children: jsx(Text, { size: "text-m", font: "font-light", children: text }) })) : null, jsx("textarea", { id: "textarea", placeholder: placeholder, className: style('block w-full resize-y min-h-24 p-m outline-none border rounded-md border-gray', activeTextareaStyles), value: textField.value, onInput: ((e) => textField.onChange && textField.onChange(e.target?.value || '')) })] }));
|
|
1478
|
+
|
|
1464
1479
|
const formatDate = (date, toTimeStamp = false) => {
|
|
1465
1480
|
if (typeof date === 'string') {
|
|
1466
1481
|
return date.split('-').reverse().join('.');
|
|
@@ -1610,13 +1625,74 @@
|
|
|
1610
1625
|
selectedMonth,
|
|
1611
1626
|
showCalendar,
|
|
1612
1627
|
});
|
|
1613
|
-
return (jsxs("div", { className: style(className, 'relative'), ref: ref, children: [jsx(Text, { size: "text-m", "font-weight": "font-light", children: label }), renderDatePickerForm(handleChangeVisibleCalendar, value, valid), showCalendar ? (jsxs("div", { className: "absolute bg-white z-
|
|
1628
|
+
return (jsxs("div", { className: style(className, 'relative'), ref: ref, children: [jsx(Text, { size: "text-m", "font-weight": "font-light", children: label }), renderDatePickerForm(handleChangeVisibleCalendar, value, valid), showCalendar ? (jsxs("div", { className: "absolute bg-white z-20 select-none", children: [jsxs("div", { className: "flex gap-s", children: [jsx("div", { className: "my-auto", onClick: handlePrevMonth, children: jsx(Icon, { ...ICON_PROPS, className: "-rotate-90 cursor-pointer" }) }), jsx(Select, { onChange: handleSelectMonth, value: { key: months[selectedMonth] }, options: monthsOptions, ...SELECT_PROPS }), jsx(Select, { onChange: handleSelectYear, value: { key: String(selectedYear) }, options: yearsOptions, ...SELECT_PROPS }), jsx("div", { className: "my-auto", onClick: handleNextMonth, children: jsx(Icon, { ...ICON_PROPS, className: "rotate-90 cursor-pointer" }) })] }), jsx(Calendar, { today: value, currentMonth: selectedMonth, currentYear: selectedYear, onDateSelect: onChange, min: minDate, max: maxDate })] })) : null] }));
|
|
1614
1629
|
});
|
|
1615
1630
|
const renderDatePickerForm = (handleChangeVisibleCalendar, value, valid) => (jsxs("div", { onClick: handleChangeVisibleCalendar, className: style(formStyle, valid ? 'border-gray' : 'border-error'), children: [jsx(Paragraph, { children: value && formatDate(value) }), jsx(Icon, { ...ICON_PROPS, name: "CalendarIcon" })] }));
|
|
1616
1631
|
|
|
1617
|
-
const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: className, children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), renderErrorText(error)] })));
|
|
1632
|
+
const DatePickerControl = JSX(({ className, label, value = undefined, error, onChange }) => (jsxs("div", { className: style('shrink-0 w-full', className), children: [label ? (jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: label }) })) : null, jsx(DatePicker, { value: value, onChange: onChange, valid: Boolean(!error) }), renderErrorText(error)] })));
|
|
1633
|
+
|
|
1634
|
+
const renderUserData = (field) => (jsxs("div", { children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F*", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u0418\u043C\u044F*", ...withValidator(field('name'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...withValidator(field('middleName'), nameValidator) }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F*", ...withValidator(field('date'), defaultValidator) })] }));
|
|
1635
|
+
|
|
1636
|
+
const initialFormState$2 = {
|
|
1637
|
+
typeForm: { key: 'FEEDBACK', text: 'Задать вопрос по продуктам и услугам' },
|
|
1638
|
+
serviceDirection: { key: 'Физическое лицо' },
|
|
1639
|
+
surname: '',
|
|
1640
|
+
name: '',
|
|
1641
|
+
middleName: '',
|
|
1642
|
+
date: undefined,
|
|
1643
|
+
feedbackMethod: { key: 'Телефонный звонок' },
|
|
1644
|
+
phone: '',
|
|
1645
|
+
phoneAdditional: '',
|
|
1646
|
+
mail: '',
|
|
1647
|
+
text: '',
|
|
1648
|
+
comment: '',
|
|
1649
|
+
consentDataProcessing: false,
|
|
1650
|
+
};
|
|
1651
|
+
const feedbackValidator = objectValidator({
|
|
1652
|
+
typeForm: defaultValidator,
|
|
1653
|
+
region: defaultValidator,
|
|
1654
|
+
department: defaultValidator,
|
|
1655
|
+
name: nameValidator,
|
|
1656
|
+
date: defaultValidator,
|
|
1657
|
+
feedbackMethod: defaultValidator,
|
|
1658
|
+
phone: phoneValidator,
|
|
1659
|
+
mail: defaultValidator,
|
|
1660
|
+
consentDataProcessing: consentDataProcessingValidator,
|
|
1661
|
+
inn: innValidator,
|
|
1662
|
+
});
|
|
1663
|
+
const ApplicationFormFeedback = JSX(({ button, link, onSubmit }) => {
|
|
1664
|
+
const handleSubmit = useCallback((formState) => {
|
|
1665
|
+
const submitData = {
|
|
1666
|
+
...formState,
|
|
1667
|
+
typeForm: formState.typeForm.key,
|
|
1668
|
+
region: formState.region?.text || '',
|
|
1669
|
+
department: formState.department?.text || '',
|
|
1670
|
+
phone: formState.phone.replace(/[^+\d]/g, ''),
|
|
1671
|
+
};
|
|
1672
|
+
isValidationSuccess(feedbackValidator(formState)) && onSubmit(submitData);
|
|
1673
|
+
}, [onSubmit]);
|
|
1674
|
+
const [formState, { field, ...formProps }] = useForm(initialFormState$2, handleSubmit);
|
|
1675
|
+
const regions = useGetRegions();
|
|
1676
|
+
const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
|
|
1677
|
+
const isQualityService = field('typeForm').value?.key === 'FEEDBACK_QC';
|
|
1678
|
+
const isLegalEntity = isQualityService && field('serviceDirection').value?.key === 'Юридическое лицо / ИП';
|
|
1679
|
+
return (jsx("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: "w-full max-w-xl space-y-s m-auto", children: [jsx(SelectControl, { label: "\u0422\u0435\u043C\u0430*", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0442\u0435\u043C\u0443", options: FEEDBACK_TYPES, ...withValidator(field('typeForm'), defaultValidator) }), isQualityService ? (jsx(SelectControl, { label: "\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F*", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435", options: SERVICE_DIRECTIONS, ...withValidator(field('serviceDirection'), defaultValidator) })) : null, jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u044F*", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) }), jsx(SelectControl, { label: "\u0410\u0434\u0440\u0435\u0441", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441", options: branches.map(({ branchCode = '', address = '' }) => ({
|
|
1680
|
+
key: branchCode,
|
|
1681
|
+
text: address,
|
|
1682
|
+
})), ...withValidator(field('department'), defaultValidator) }), renderUserData(field), isLegalEntity ? (jsxs("div", { children: [jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) }), jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) })] })) : null, jsx(SelectControl, { label: "\u0421\u043F\u043E\u0441\u043E\u0431 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043E\u0442\u0432\u0435\u0442\u0430*", options: FEEDBACK_METHOD.map(({ key: key = '' }) => ({ key, text: key })), ...withValidator(field('feedbackMethod'), defaultValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D*", ...withValidator(field('phone'), phoneValidator) }), isQualityService ? (jsxs("div", { children: [jsx(PhoneInputControl, { label: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0442\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phoneAdditional'), phoneValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) }), jsx(InputControl, { label: "\u0424\u0418\u041E \u0438\u043B\u0438 \u0434\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u0432\u0448\u0435\u0433\u043E \u0412\u0430\u0441 \u0441\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A\u0430 \u0411\u0430\u043D\u043A\u0430", ...withValidator(field('bankEmpolee'), defaultValidator) }), jsx(InputControl, { label: "\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0432 \u0411\u0430\u043D\u043A", ...withValidator(field('applicationDate'), defaultValidator) })] })) : (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })), renderTextarea(field('text'), 'Ваше сообщение*'), renderAgreementWithSubmit(field('consentDataProcessing'), link, button)] }) }) }));
|
|
1683
|
+
});
|
|
1618
1684
|
|
|
1619
|
-
const
|
|
1685
|
+
const ApplicationFormGrantSupport = JSX((props) => {
|
|
1686
|
+
const { button, sourceBookDir } = props;
|
|
1687
|
+
const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
|
|
1688
|
+
const [region, setRegion] = useState({ key: '' });
|
|
1689
|
+
const buttonStyle = getRegularButtonClasses({
|
|
1690
|
+
className: 'text-white',
|
|
1691
|
+
version: button?.version,
|
|
1692
|
+
});
|
|
1693
|
+
const regionHref = regions?.find((_) => _.name === region.key)?.href;
|
|
1694
|
+
return (jsxs("div", { className: "container space-y-s", children: [regions ? (jsx(SelectControl, { label: "\u0412\u0430\u0448 \u0440\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D", isSearch: true, options: regions.map(({ name = '' }) => ({ key: name, text: name })), value: region, onChange: setRegion })) : null, regionHref ? (jsx("div", { className: "text-center", children: jsx(LinkButton, { href: regionHref, target: "_blank", className: style('p-m w-full @xl:w-auto', buttonStyle), children: button?.text ? button.text : 'Перейти' }) })) : null] }));
|
|
1695
|
+
});
|
|
1620
1696
|
|
|
1621
1697
|
const initialFormState$1 = {
|
|
1622
1698
|
surname: '',
|
|
@@ -1653,7 +1729,7 @@
|
|
|
1653
1729
|
}, true);
|
|
1654
1730
|
}, [onSubmit]);
|
|
1655
1731
|
const [, { field, ...formProps }] = useForm(initialFormState$1, handleSubmit);
|
|
1656
|
-
return (jsxs("form", { className:
|
|
1732
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...withValidator(field('surname'), nameValidator) }), jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...withValidator(field('middleName'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) })] }), secondChildren: jsxs("div", { className: formChildrenStyle, children: [jsx(InputControl, { label: "\u0418\u043C\u044F", ...withValidator(field('name'), nameValidator) }), jsx(DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F*", ...withValidator(field('date'), defaultValidator) }), jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })] }) }), renderAgreementWithSubmit(field('consentDataProcessing'), link, button)] }));
|
|
1657
1733
|
});
|
|
1658
1734
|
|
|
1659
1735
|
const renderContacts = () => (jsxs("div", { className: "flex gap-xl", children: [jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(Img, { image: { icon: 'PhoneIcon' }, width: "24", height: "24" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex gap-s items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(Img, { image: { icon: 'MailIcon' }, width: "24", height: "24" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
|
|
@@ -1662,18 +1738,12 @@
|
|
|
1662
1738
|
|
|
1663
1739
|
const renderQuestionsInterested = (field) => {
|
|
1664
1740
|
const { value, onChange } = field('vedTypes');
|
|
1665
|
-
return (jsx(
|
|
1741
|
+
return (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className: "gap-xl grid @xl:flex @xl:items-center", children: [jsx(Radio, { name: "vedTypes", text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", value: "currencyControl", checked: value === 'currencyControl', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "documentOperations", checked: value === 'documentOperations', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", value: "conversionTransactions", checked: value === 'conversionTransactions', onChange: (_) => onChange && onChange(_) }), jsx(Radio, { name: "vedTypes", text: "\u0418\u043D\u044B\u0435 \u0432\u043E\u043F\u0440\u043E\u0441\u044B \u0412\u042D\u0414", value: "otherIssues", checked: value === 'otherIssues', onChange: (_) => onChange && onChange(_) })] }) }));
|
|
1666
1742
|
};
|
|
1667
1743
|
|
|
1668
|
-
const renderWedDataOrganization = (field, regions) => {
|
|
1744
|
+
const renderWedDataOrganization = ({ field, regions }) => {
|
|
1669
1745
|
const isCurrencyControl = field('vedTypes').value === 'currencyControl';
|
|
1670
|
-
return (jsxs("div", { children: [isCurrencyControl ? (jsx(SelectControl, {
|
|
1671
|
-
};
|
|
1672
|
-
|
|
1673
|
-
const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
|
|
1674
|
-
const renderWedTextarea = (field) => {
|
|
1675
|
-
const textField = field('text');
|
|
1676
|
-
return (jsxs("label", { htmlFor: "textarea", children: [jsx("div", { className: "mb-xs", children: jsx(Text, { size: "text-m", font: "font-light", children: "\u041E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435" }) }), jsx("textarea", { id: "textarea", placeholder: "\u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u0443\u044E\u0449\u0438\u0439 \u0432\u0430\u0441 \u0432\u043E\u043F\u0440\u043E\u0441, \u043C\u0435\u0441\u0442\u043E \u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0431\u0438\u0437\u043D\u0435\u0441\u0430 \u0438 \u0443\u0434\u043E\u0431\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u043D\u043E\u0433\u043E \u0437\u0432\u043E\u043D\u043A\u0430", className: style('block w-full resize-y min-h-24 p-m outline-none border rounded-md border-gray', activeTextareaStyles), value: textField.value, onInput: ((e) => textField.onChange && textField.onChange(e.target?.value || '')) })] }));
|
|
1746
|
+
return (jsxs("div", { className: "space-y-s", children: [isCurrencyControl ? (jsx(SelectControl, { label: "\u0424\u0438\u043B\u0438\u0430\u043B", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0438\u043B\u0438\u0430\u043B", isSearch: true, options: regions.map(({ code = '', name = '' }) => ({ key: code, text: name })), ...withValidator(field('region'), defaultValidator) })) : null, jsxs("div", { className: "grid @xl:grid-cols-2 @xl:gap-x-lg gap-s", children: [isCurrencyControl ? (jsx(InputControl, { label: "\u0418\u041D\u041D", ...withValidator(field('inn'), innValidator) })) : null, jsx(InputControl, { label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...withValidator(field('fullName'), defaultValidator) }), jsx(InputControl, { label: "\u0424\u0418\u041E", ...withValidator(field('name'), nameValidator) }), jsx(PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...withValidator(field('phone'), phoneValidator) }), !isCurrencyControl ? (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('mail'), defaultValidator) })) : null] })] }));
|
|
1677
1747
|
};
|
|
1678
1748
|
|
|
1679
1749
|
const initialFormState = {
|
|
@@ -1724,7 +1794,8 @@
|
|
|
1724
1794
|
}, [onSubmit]);
|
|
1725
1795
|
const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
|
|
1726
1796
|
const regions = useGetRegions();
|
|
1727
|
-
|
|
1797
|
+
const textField = field('text');
|
|
1798
|
+
return (jsxs("form", { className: "container space-y-lg", onSubmit: formProps.onSubmit, children: [renderQuestionsInterested(field), jsx(Heading, { headingType: "h6", title: "\u0414\u0430\u043D\u043D\u044B\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", className: "@xl:text-center" }), renderWedDataOrganization({ field, regions }), renderTextarea(textField, 'Обращение', 'Укажите интересующий вас вопрос, место ведения бизнеса и удобное время для телефонного звонка'), renderSubmitButton(button), jsx(Footnote, { link: link }), jsx(Heading, { headingType: "h6", title: "\u0418\u043B\u0438 \u0441\u0432\u044F\u0436\u0438\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u043C\u0438 \u0443\u0434\u043E\u0431\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C", className: "@xl:text-center" }), renderContacts()] }));
|
|
1728
1799
|
});
|
|
1729
1800
|
|
|
1730
1801
|
const EmbeddableForms = {
|
|
@@ -1735,6 +1806,7 @@
|
|
|
1735
1806
|
ApplicationFormAcquiring,
|
|
1736
1807
|
ApplicationFormGrantSupport,
|
|
1737
1808
|
ApplicationFormIndividuals,
|
|
1809
|
+
ApplicationFormFeedback,
|
|
1738
1810
|
};
|
|
1739
1811
|
|
|
1740
1812
|
const ResponseNotification = JSX(({ responseType }) => {
|
|
@@ -2238,7 +2310,7 @@
|
|
|
2238
2310
|
isUnknownRateShown: false,
|
|
2239
2311
|
unit: '',
|
|
2240
2312
|
})
|
|
2241
|
-
: null, jsxs("div", { className: "flex flex-col gap-y-
|
|
2313
|
+
: null, jsxs("div", { className: "flex flex-col gap-y-xl @xl:w-96", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] })] }));
|
|
2242
2314
|
});
|
|
2243
2315
|
|
|
2244
2316
|
const CalculatorFormLayout = JSX(({ className, inputChildren, rateChildren, resultChildren }) => (jsxs("section", { className: style('flex flex-col justify-between @5xl:flex-row gap-m', className), children: [jsx("div", { className: "flex flex-col gap-y-m sm:max-w-md gap-2xl", children: inputChildren }), jsx("div", { className: "border-b border-main-divider md:hidden" }), rateChildren, jsx("div", { className: "flex flex-col gap-2xl sm:w-96 max-w-full", children: resultChildren })] })));
|
|
@@ -2372,7 +2444,7 @@
|
|
|
2372
2444
|
}), resultChildren: jsxs("div", { children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote), renderFootnote(bottomFootnote)] }) }));
|
|
2373
2445
|
});
|
|
2374
2446
|
const renderBusinessDepositParamsForm = (calculatorParams, field) => (jsxs("div", { className: "space-y-s", children: [jsx(Text, { color: "text-secondary-text", font: "font-light", children: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B" }), jsxs("div", { className: "flex flex-col gap-y-xl sm:gap-y-s", children: [jsx(Checkbox, { text: "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435", disabled: calculatorParams.isDisabledOperatingDeposit, ...field('isReplenished'), value: calculatorParams.isReplenished }), jsx(Checkbox, { disabled: calculatorParams.isDisabledOperatingDeposit, text: "\u0427\u0430\u0441\u0442\u0438\u0447\u043D\u043E\u0435 \u0441\u043D\u044F\u0442\u0438\u0435", ...field('isPartialWithdrawal'), value: calculatorParams.isPartialWithdrawal })] })] }));
|
|
2375
|
-
const renderDepositResults = (finalSum, income) => (jsxs("div", { className: "flex flex-col gap-2xl sm:gap-0", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })] }));
|
|
2447
|
+
const renderDepositResults = (finalSum, income) => (jsxs("div", { className: "flex flex-col gap-2xl sm:gap-0 mb-lg", children: [jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: income, postfix: "\u20BD", prefix: "+" }), jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })] }));
|
|
2376
2448
|
|
|
2377
2449
|
const STEP_MONTHS = 1;
|
|
2378
2450
|
const renderMonthsInput = ({ min = 0, max = 0, availableMonths, ...rest }) => (jsx(InputRange, { items: [`От ${monthText(min)}`, `До ${monthText(max)}`], step: STEP_MONTHS, ...(availableMonths?.length ? { list: availableMonths } : { min, max }), ...rest }));
|
|
@@ -2515,7 +2587,7 @@
|
|
|
2515
2587
|
value: calculatorParams.monthsValue,
|
|
2516
2588
|
}), renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field), jsx("div", { className: "sm:hidden", children: paymentTypeElement })] }), rateChildren: renderRate({
|
|
2517
2589
|
rate: calculatorParams.rate,
|
|
2518
|
-
}), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx("div", { className: "hidden sm:block", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
|
|
2590
|
+
}), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
|
|
2519
2591
|
});
|
|
2520
2592
|
const renderCreditParamsForm$1 = (params, field) => (jsxs("div", { className: "flex flex-col gap-y-2xl", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: `Получаю зарплату на счёт\nв Россельхозбанке`, ...field('isSalaryClient'), value: params.isSalaryClient, className: "whitespace-pre-line sm:whitespace-normal" })) : null, params.isShowStateEmployee ? (jsx(Checkbox, { text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...field('isStateEmployee'), value: params.isStateEmployee })) : null, params.isShowPensionClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u043F\u0435\u043D\u0441\u0438\u044E \u043D\u0430 \u043A\u0430\u0440\u0442\u0443 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0430", ...field('isPensionClient'), value: params.isPensionClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null] }));
|
|
2521
2593
|
|
|
@@ -2763,7 +2835,7 @@
|
|
|
2763
2835
|
: null, jsx("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), rateChildren: renderRate({
|
|
2764
2836
|
rate: calculatorParams.rate,
|
|
2765
2837
|
fractionDigits: 1,
|
|
2766
|
-
}), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), calculatorParams.benefit > 0 ? (jsx(CalculatorValueBlock, { title: 'Выгода в месяц', value: calculatorParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
|
|
2838
|
+
}), resultChildren: jsxs("div", { children: [jsx(CalculatorValueBlock, { title: "\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439 \u043F\u043B\u0430\u0442\u0451\u0436", value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), calculatorParams.benefit > 0 ? (jsx(CalculatorValueBlock, { title: 'Выгода в месяц', value: calculatorParams.benefit, postfix: "\u20BD" })) : null, jsx("div", { className: "hidden sm:block mb-lg", children: paymentTypeElement }), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote)] }) }));
|
|
2767
2839
|
});
|
|
2768
2840
|
const renderCreditParamsForm = (params, field) => (jsxs("div", { className: "space-y-lg sm:space-y-s", children: [params.isShowSalaryClient ? (jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", ...field('isSalaryClient'), value: params.isSalaryClient })) : null, params.isShowInsurance ? (jsx(Checkbox, { text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", ...field('isInsurance'), value: params.isInsurance })) : null, jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0443\u044E \u0441\u0443\u043C\u043C\u0443", ...field('isExtraMoney'), value: params.isExtraMoney })] }));
|
|
2769
2841
|
|
|
@@ -5421,7 +5493,7 @@
|
|
|
5421
5493
|
|
|
5422
5494
|
const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
|
|
5423
5495
|
|
|
5424
|
-
const packageVersion = "0.14.
|
|
5496
|
+
const packageVersion = "0.14.130";
|
|
5425
5497
|
|
|
5426
5498
|
exports.Blocks = Blocks;
|
|
5427
5499
|
exports.ContentPage = ContentPage;
|