@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
package/bundle/bundle.umd.js
CHANGED
|
@@ -965,6 +965,8 @@
|
|
|
965
965
|
|
|
966
966
|
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] })));
|
|
967
967
|
|
|
968
|
+
const formStyle$1 = 'container space-y-lg';
|
|
969
|
+
|
|
968
970
|
const withValidator = (props, validator) => {
|
|
969
971
|
const { value, isDirty } = props;
|
|
970
972
|
const errors = isDirty ? validator(value) : [];
|
|
@@ -975,8 +977,8 @@
|
|
|
975
977
|
};
|
|
976
978
|
};
|
|
977
979
|
|
|
978
|
-
const ApplicationFieldsetLayout = JSX(({ firstChildren, secondChildren }) => (jsxs("fieldset", { className: "
|
|
979
|
-
const
|
|
980
|
+
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] })));
|
|
981
|
+
const formChildrenStyle = '@xl:w-1/2 space-y-s';
|
|
980
982
|
|
|
981
983
|
const Input = JSX(({ key, className = '', inputClassName = '', id, name, type = 'text', label, placeholder, value = '', valid = true, children, onChange, onFocus, onBlur, pattern, autoFocus = false, }) => {
|
|
982
984
|
const inputRef = useRef(null);
|
|
@@ -997,7 +999,7 @@
|
|
|
997
999
|
|
|
998
1000
|
const renderErrorText = (error) => (jsx("div", { className: "h-4", children: error ? (jsx(Text, { size: "text-xs", font: "font-light", color: "text-error", children: error })) : null }));
|
|
999
1001
|
|
|
1000
|
-
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)] })));
|
|
1002
|
+
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)] })));
|
|
1001
1003
|
|
|
1002
1004
|
const isPlaceholder = (_) => _ === '_';
|
|
1003
1005
|
const isDigit = (_) => /\d/.test(_);
|
|
@@ -1018,7 +1020,7 @@
|
|
|
1018
1020
|
return (jsx(Input, { onChange: handleChange, onFocus: (event) => handleChange(event?.target?.value || ''), ...inputProps, children: children }));
|
|
1019
1021
|
});
|
|
1020
1022
|
|
|
1021
|
-
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)] })));
|
|
1023
|
+
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)] })));
|
|
1022
1024
|
|
|
1023
1025
|
const pattern = (regexp) => validator((_) => typeof _ === 'string' && regexp.test(_));
|
|
1024
1026
|
|
|
@@ -1029,8 +1031,9 @@
|
|
|
1029
1031
|
const nameValidator = validator((_) => typeof _ === 'string' && _.length > 1)(ERROR_MESSAGE);
|
|
1030
1032
|
const innValidator = validator((_) => typeof _ === 'string' && (_.length === 10 || _.length === 12))(ERROR_MESSAGE);
|
|
1031
1033
|
const phoneValidator = pattern(/^(\+7)?[\s-]?\(?[0-9]{3}\)?[\s-]?[0-9]{3}[\s-]?[0-9]{2}[\s-]?[0-9]{2}$/)(ERROR_MESSAGE);
|
|
1034
|
+
const consentDataProcessingValidator = validator((_) => typeof _ === 'boolean' && _)(ERROR_MESSAGE);
|
|
1032
1035
|
|
|
1033
|
-
const renderAcquiringDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className:
|
|
1036
|
+
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) })] }) }));
|
|
1034
1037
|
|
|
1035
1038
|
const ACQUIRING_TYPES = [
|
|
1036
1039
|
{
|
|
@@ -1154,7 +1157,7 @@
|
|
|
1154
1157
|
|
|
1155
1158
|
const SelectControl = JSX(({ className = '', error, ...rest }) => (jsxs("div", { className: className, children: [jsx(Select, { ...rest, valid: !error }), renderErrorText(error)] })));
|
|
1156
1159
|
|
|
1157
|
-
const renderAcquiringRegion = ({ regions, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className:
|
|
1160
|
+
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) }) }) }));
|
|
1158
1161
|
|
|
1159
1162
|
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] })));
|
|
1160
1163
|
|
|
@@ -1192,7 +1195,7 @@
|
|
|
1192
1195
|
|
|
1193
1196
|
const renderSubmitButton = (button, className) => (jsx(Button, { className: style('w-full @xl:w-auto', className), type: "submit", children: button?.text ? button.text : 'Отправить заявку' }));
|
|
1194
1197
|
|
|
1195
|
-
const initialFormState$
|
|
1198
|
+
const initialFormState$6 = {
|
|
1196
1199
|
acquiringType: { key: 'Торговый эквайринг' },
|
|
1197
1200
|
fullName: '',
|
|
1198
1201
|
inn: '',
|
|
@@ -1224,16 +1227,16 @@
|
|
|
1224
1227
|
phone: phone.replace(/[^+\d]/g, ''),
|
|
1225
1228
|
});
|
|
1226
1229
|
}, [onSubmit]);
|
|
1227
|
-
const [, { field, ...formProps }] = useForm(initialFormState$
|
|
1230
|
+
const [, { field, ...formProps }] = useForm(initialFormState$6, handleSubmit);
|
|
1228
1231
|
const regions = useGetRegions();
|
|
1229
|
-
return (jsxs("form", { className:
|
|
1232
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderAcquiringRegion({ regions, field, title: 'Вид эквайринга и регион' }), renderAcquiringDataOrganization(field, 'Данные организации'), renderSlideCheckboxes(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1230
1233
|
});
|
|
1231
1234
|
|
|
1232
|
-
const renderBusinessCardDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className:
|
|
1235
|
+
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) })] }) }));
|
|
1233
1236
|
|
|
1234
1237
|
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) }));
|
|
1235
1238
|
|
|
1236
|
-
const initialFormState$
|
|
1239
|
+
const initialFormState$5 = {
|
|
1237
1240
|
name: '',
|
|
1238
1241
|
phone: '',
|
|
1239
1242
|
inn: '',
|
|
@@ -1260,9 +1263,9 @@
|
|
|
1260
1263
|
phone: phone.replace(/[^+\d]/g, ''),
|
|
1261
1264
|
});
|
|
1262
1265
|
}, [onSubmit]);
|
|
1263
|
-
const [, { field, ...formProps }] = useForm(initialFormState$
|
|
1266
|
+
const [, { field, ...formProps }] = useForm(initialFormState$5, handleSubmit);
|
|
1264
1267
|
const regions = useGetRegions();
|
|
1265
|
-
return (jsxs("form", { className:
|
|
1268
|
+
return (jsxs("form", { className: formStyle$1, onSubmit: formProps.onSubmit, children: [renderRegion$1({ regions, field }), renderBusinessCardDataOrganization(field), renderSubmitButton(button), jsx(Footnote, { link: link })] }));
|
|
1266
1269
|
});
|
|
1267
1270
|
|
|
1268
1271
|
const BRANCHES_URL = '/api/v1/branches';
|
|
@@ -1283,7 +1286,7 @@
|
|
|
1283
1286
|
const MAX_CREDIT_TERM = 180;
|
|
1284
1287
|
const ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
|
|
1285
1288
|
|
|
1286
|
-
const renderCreditDataOrganization = (field) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsxs("div", { className:
|
|
1289
|
+
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) })] }) }));
|
|
1287
1290
|
|
|
1288
1291
|
const useNormalizedInput = (props, { normalize, format }) => {
|
|
1289
1292
|
const { value, onFocus, onBlur, onChange } = props;
|
|
@@ -1343,14 +1346,14 @@
|
|
|
1343
1346
|
const closestValue = (list) => (_) => list.reduce((prev, curr) => (Math.abs(curr - _) < Math.abs(prev - _) ? curr : prev));
|
|
1344
1347
|
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)))) }));
|
|
1345
1348
|
|
|
1346
|
-
const renderCreditParameters = (field) => (
|
|
1349
|
+
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') }) }) }));
|
|
1347
1350
|
|
|
1348
|
-
const renderRegionDepartment = ({ regions, branches, field }) => (jsx(ApplicationFieldsetLayout, { firstChildren: jsx("div", { className:
|
|
1351
|
+
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 = '' }) => ({
|
|
1349
1352
|
key: branchCode,
|
|
1350
1353
|
text: address,
|
|
1351
1354
|
})), ...withValidator(field('department'), defaultValidator) }) }) }));
|
|
1352
1355
|
|
|
1353
|
-
const initialFormState$
|
|
1356
|
+
const initialFormState$4 = {
|
|
1354
1357
|
amount: MIN_CREDIT_AMOUNT,
|
|
1355
1358
|
term: 12,
|
|
1356
1359
|
fullName: '',
|
|
@@ -1385,13 +1388,13 @@
|
|
|
1385
1388
|
partnerComments: `Сумма=${amount}/Срок=${term}/Выручка=${annualRevenue}`,
|
|
1386
1389
|
});
|
|
1387
1390
|
}, [onSubmit]);
|
|
1388
|
-
const [formState, { field, ...formProps }] = useForm(initialFormState$
|
|
1391
|
+
const [formState, { field, ...formProps }] = useForm(initialFormState$4, handleSubmit);
|
|
1389
1392
|
const regions = useGetRegions();
|
|
1390
1393
|
const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
|
|
1391
|
-
return (jsxs("form", { className:
|
|
1394
|
+
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 })] }));
|
|
1392
1395
|
});
|
|
1393
1396
|
|
|
1394
|
-
const initialFormState$
|
|
1397
|
+
const initialFormState$3 = {
|
|
1395
1398
|
name: '',
|
|
1396
1399
|
phone: '',
|
|
1397
1400
|
};
|
|
@@ -1409,21 +1412,28 @@
|
|
|
1409
1412
|
phone: phone.replace(/[^+\d]/g, ''),
|
|
1410
1413
|
});
|
|
1411
1414
|
}, [onSubmit]);
|
|
1412
|
-
const [, { field, ...formProps }] = useForm(initialFormState$
|
|
1413
|
-
return (
|
|
1415
|
+
const [, { field, ...formProps }] = useForm(initialFormState$3, handleSubmit);
|
|
1416
|
+
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 })] }) }) }));
|
|
1414
1417
|
});
|
|
1415
1418
|
|
|
1416
|
-
const
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1419
|
+
const FEEDBACK_TYPES = [
|
|
1420
|
+
{
|
|
1421
|
+
text: 'Задать вопрос по продуктам и услугам',
|
|
1422
|
+
key: 'FEEDBACK',
|
|
1423
|
+
},
|
|
1424
|
+
{
|
|
1425
|
+
text: 'Качество обслуживания',
|
|
1426
|
+
key: 'FEEDBACK_QC',
|
|
1427
|
+
},
|
|
1428
|
+
];
|
|
1429
|
+
const FEEDBACK_METHOD = [
|
|
1430
|
+
{ key: 'phone', text: 'Телефонный звонок' },
|
|
1431
|
+
{ key: 'mail', text: 'Электронное сообщение' },
|
|
1432
|
+
];
|
|
1433
|
+
const SERVICE_DIRECTIONS = [
|
|
1434
|
+
{ key: 'Физическое лицо' },
|
|
1435
|
+
{ key: 'Юридическое лицо / ИП' },
|
|
1436
|
+
];
|
|
1427
1437
|
|
|
1428
1438
|
const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
|
|
1429
1439
|
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) => {
|
|
@@ -1453,6 +1463,11 @@
|
|
|
1453
1463
|
});
|
|
1454
1464
|
const checkboxStyle = (value) => style('rounded border', value ? 'bg-primary-main' : '');
|
|
1455
1465
|
|
|
1466
|
+
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)] }));
|
|
1467
|
+
|
|
1468
|
+
const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
|
|
1469
|
+
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 || '')) })] }));
|
|
1470
|
+
|
|
1456
1471
|
const formatDate = (date, toTimeStamp = false) => {
|
|
1457
1472
|
if (typeof date === 'string') {
|
|
1458
1473
|
return date.split('-').reverse().join('.');
|
|
@@ -1602,13 +1617,74 @@
|
|
|
1602
1617
|
selectedMonth,
|
|
1603
1618
|
showCalendar,
|
|
1604
1619
|
});
|
|
1605
|
-
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-
|
|
1620
|
+
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] }));
|
|
1606
1621
|
});
|
|
1607
1622
|
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" })] }));
|
|
1608
1623
|
|
|
1609
|
-
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)] })));
|
|
1624
|
+
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)] })));
|
|
1625
|
+
|
|
1626
|
+
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) })] }));
|
|
1627
|
+
|
|
1628
|
+
const initialFormState$2 = {
|
|
1629
|
+
typeForm: { key: 'FEEDBACK', text: 'Задать вопрос по продуктам и услугам' },
|
|
1630
|
+
serviceDirection: { key: 'Физическое лицо' },
|
|
1631
|
+
surname: '',
|
|
1632
|
+
name: '',
|
|
1633
|
+
middleName: '',
|
|
1634
|
+
date: undefined,
|
|
1635
|
+
feedbackMethod: { key: 'Телефонный звонок' },
|
|
1636
|
+
phone: '',
|
|
1637
|
+
phoneAdditional: '',
|
|
1638
|
+
mail: '',
|
|
1639
|
+
text: '',
|
|
1640
|
+
comment: '',
|
|
1641
|
+
consentDataProcessing: false,
|
|
1642
|
+
};
|
|
1643
|
+
const feedbackValidator = objectValidator({
|
|
1644
|
+
typeForm: defaultValidator,
|
|
1645
|
+
region: defaultValidator,
|
|
1646
|
+
department: defaultValidator,
|
|
1647
|
+
name: nameValidator,
|
|
1648
|
+
date: defaultValidator,
|
|
1649
|
+
feedbackMethod: defaultValidator,
|
|
1650
|
+
phone: phoneValidator,
|
|
1651
|
+
mail: defaultValidator,
|
|
1652
|
+
consentDataProcessing: consentDataProcessingValidator,
|
|
1653
|
+
inn: innValidator,
|
|
1654
|
+
});
|
|
1655
|
+
const ApplicationFormFeedback = JSX(({ button, link, onSubmit }) => {
|
|
1656
|
+
const handleSubmit = useCallback((formState) => {
|
|
1657
|
+
const submitData = {
|
|
1658
|
+
...formState,
|
|
1659
|
+
typeForm: formState.typeForm.key,
|
|
1660
|
+
region: formState.region?.text || '',
|
|
1661
|
+
department: formState.department?.text || '',
|
|
1662
|
+
phone: formState.phone.replace(/[^+\d]/g, ''),
|
|
1663
|
+
};
|
|
1664
|
+
isValidationSuccess(feedbackValidator(formState)) && onSubmit(submitData);
|
|
1665
|
+
}, [onSubmit]);
|
|
1666
|
+
const [formState, { field, ...formProps }] = useForm(initialFormState$2, handleSubmit);
|
|
1667
|
+
const regions = useGetRegions();
|
|
1668
|
+
const branches = useBranches(formState.region?.key).filter((branch) => branch?.address);
|
|
1669
|
+
const isQualityService = field('typeForm').value?.key === 'FEEDBACK_QC';
|
|
1670
|
+
const isLegalEntity = isQualityService && field('serviceDirection').value?.key === 'Юридическое лицо / ИП';
|
|
1671
|
+
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 = '' }) => ({
|
|
1672
|
+
key: branchCode,
|
|
1673
|
+
text: address,
|
|
1674
|
+
})), ...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)] }) }) }));
|
|
1675
|
+
});
|
|
1610
1676
|
|
|
1611
|
-
const
|
|
1677
|
+
const ApplicationFormGrantSupport = JSX((props) => {
|
|
1678
|
+
const { button, sourceBookDir } = props;
|
|
1679
|
+
const { regions } = useSWRResource(sourceBookDir || 'regions-grant-support');
|
|
1680
|
+
const [region, setRegion] = useState({ key: '' });
|
|
1681
|
+
const buttonStyle = getRegularButtonClasses({
|
|
1682
|
+
className: 'text-white',
|
|
1683
|
+
version: button?.version,
|
|
1684
|
+
});
|
|
1685
|
+
const regionHref = regions?.find((_) => _.name === region.key)?.href;
|
|
1686
|
+
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] }));
|
|
1687
|
+
});
|
|
1612
1688
|
|
|
1613
1689
|
const initialFormState$1 = {
|
|
1614
1690
|
surname: '',
|
|
@@ -1645,7 +1721,7 @@
|
|
|
1645
1721
|
}, true);
|
|
1646
1722
|
}, [onSubmit]);
|
|
1647
1723
|
const [, { field, ...formProps }] = useForm(initialFormState$1, handleSubmit);
|
|
1648
|
-
return (jsxs("form", { className:
|
|
1724
|
+
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)] }));
|
|
1649
1725
|
});
|
|
1650
1726
|
|
|
1651
1727
|
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" })] })] }));
|
|
@@ -1654,18 +1730,12 @@
|
|
|
1654
1730
|
|
|
1655
1731
|
const renderQuestionsInterested = (field) => {
|
|
1656
1732
|
const { value, onChange } = field('vedTypes');
|
|
1657
|
-
return (jsx(
|
|
1733
|
+
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(_) })] }) }));
|
|
1658
1734
|
};
|
|
1659
1735
|
|
|
1660
|
-
const renderWedDataOrganization = (field, regions) => {
|
|
1736
|
+
const renderWedDataOrganization = ({ field, regions }) => {
|
|
1661
1737
|
const isCurrencyControl = field('vedTypes').value === 'currencyControl';
|
|
1662
|
-
return (jsxs("div", { children: [isCurrencyControl ? (jsx(SelectControl, {
|
|
1663
|
-
};
|
|
1664
|
-
|
|
1665
|
-
const activeTextareaStyles = 'hover:border-primary-hover active:focus:border-primary-text focus:border-primary-text';
|
|
1666
|
-
const renderWedTextarea = (field) => {
|
|
1667
|
-
const textField = field('text');
|
|
1668
|
-
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 || '')) })] }));
|
|
1738
|
+
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] })] }));
|
|
1669
1739
|
};
|
|
1670
1740
|
|
|
1671
1741
|
const initialFormState = {
|
|
@@ -1716,7 +1786,8 @@
|
|
|
1716
1786
|
}, [onSubmit]);
|
|
1717
1787
|
const [, { field, ...formProps }] = useForm(initialFormState, handleSubmit);
|
|
1718
1788
|
const regions = useGetRegions();
|
|
1719
|
-
|
|
1789
|
+
const textField = field('text');
|
|
1790
|
+
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()] }));
|
|
1720
1791
|
});
|
|
1721
1792
|
|
|
1722
1793
|
const EmbeddableForms = {
|
|
@@ -1727,6 +1798,7 @@
|
|
|
1727
1798
|
ApplicationFormAcquiring,
|
|
1728
1799
|
ApplicationFormGrantSupport,
|
|
1729
1800
|
ApplicationFormIndividuals,
|
|
1801
|
+
ApplicationFormFeedback,
|
|
1730
1802
|
};
|
|
1731
1803
|
|
|
1732
1804
|
const ResponseNotification = JSX(({ responseType }) => {
|
|
@@ -2033,7 +2105,7 @@
|
|
|
2033
2105
|
isUnknownRateShown: false,
|
|
2034
2106
|
unit: '',
|
|
2035
2107
|
})
|
|
2036
|
-
: null, jsxs("div", { className: "flex flex-col gap-y-
|
|
2108
|
+
: 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)] })] }));
|
|
2037
2109
|
});
|
|
2038
2110
|
|
|
2039
2111
|
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 })] })));
|
|
@@ -2174,7 +2246,7 @@
|
|
|
2174
2246
|
}), resultChildren: jsxs("div", { children: [renderDepositResults(finalSum, income), renderButtonsSection(buttons, { isVertical: true }), renderFootnote(footnote), renderFootnote(bottomFootnote)] }) }));
|
|
2175
2247
|
});
|
|
2176
2248
|
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 })] })] }));
|
|
2177
|
-
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" })] }));
|
|
2249
|
+
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" })] }));
|
|
2178
2250
|
|
|
2179
2251
|
const STEP_MONTHS = 1;
|
|
2180
2252
|
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 }));
|
|
@@ -2317,7 +2389,7 @@
|
|
|
2317
2389
|
value: calculatorParams.monthsValue,
|
|
2318
2390
|
}), renderCreditParamsForm$1({ ...calculatorParams, ...paramsViewSettings }, field), jsx("div", { className: "sm:hidden", children: paymentTypeElement })] }), rateChildren: renderRate({
|
|
2319
2391
|
rate: calculatorParams.rate,
|
|
2320
|
-
}), 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)] }) }));
|
|
2392
|
+
}), 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)] }) }));
|
|
2321
2393
|
});
|
|
2322
2394
|
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] }));
|
|
2323
2395
|
|
|
@@ -2565,7 +2637,7 @@
|
|
|
2565
2637
|
: null, jsx("div", { className: "sm:hidden pt-1 pb-4 border-b border-main-divider", children: paymentTypeElement })] }), rateChildren: renderRate({
|
|
2566
2638
|
rate: calculatorParams.rate,
|
|
2567
2639
|
fractionDigits: 1,
|
|
2568
|
-
}), 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)] }) }));
|
|
2640
|
+
}), 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)] }) }));
|
|
2569
2641
|
});
|
|
2570
2642
|
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 })] }));
|
|
2571
2643
|
|
|
@@ -5799,7 +5871,7 @@
|
|
|
5799
5871
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
5800
5872
|
}
|
|
5801
5873
|
|
|
5802
|
-
const packageVersion = "0.14.
|
|
5874
|
+
const packageVersion = "0.14.130";
|
|
5803
5875
|
|
|
5804
5876
|
exports.Blocks = Blocks;
|
|
5805
5877
|
exports.ContentPage = ContentPage;
|