@redneckz/wildless-cms-uni-blocks 0.14.145 → 0.14.147
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 +119 -74
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/AddressBranchField.d.ts +7 -0
- package/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
- package/bundle/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
- package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/bundle/components/ApplicationForm/RegionField.d.ts +6 -0
- package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
- package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
- package/bundle/components/ApplicationForm/renderUserData.d.ts +1 -1
- package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/bundle/hooks/usePremiumBranchesByRegions.d.ts +7 -0
- package/dist/components/ApplicationForm/AddressBranchField.d.ts +7 -0
- package/dist/components/ApplicationForm/AddressBranchField.js +16 -0
- package/dist/components/ApplicationForm/AddressBranchField.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
- package/dist/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
- package/dist/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +8 -4
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
- package/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
- package/dist/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
- package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +73 -0
- package/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -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/RegionField.d.ts +6 -0
- package/dist/components/ApplicationForm/{renderRegion.js → RegionField.js} +7 -6
- package/dist/components/ApplicationForm/RegionField.js.map +1 -0
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
- package/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -2
- package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
- package/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
- package/dist/components/ApplicationForm/renderRegionDepartment.js +3 -8
- package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/dist/components/ApplicationForm/renderUserData.d.ts +1 -1
- package/dist/components/ApplicationForm/renderUserData.js +1 -1
- package/dist/components/ApplicationForm/renderUserData.js.map +1 -1
- package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/hooks/usePremiumBranchesByRegions.d.ts +7 -0
- package/dist/hooks/usePremiumBranchesByRegions.js +11 -0
- package/dist/hooks/usePremiumBranchesByRegions.js.map +1 -0
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/AddressBranchField.d.ts +7 -0
- package/lib/components/ApplicationForm/AddressBranchField.js +14 -0
- package/lib/components/ApplicationForm/AddressBranchField.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
- package/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
- 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 +4 -0
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
- package/lib/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
- package/lib/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +8 -4
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
- package/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
- package/lib/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
- package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +71 -0
- package/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -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/RegionField.d.ts +6 -0
- package/lib/components/ApplicationForm/{renderRegion.js → RegionField.js} +6 -4
- package/lib/components/ApplicationForm/RegionField.js.map +1 -0
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
- package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -3
- package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
- package/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js +2 -2
- package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +2 -5
- package/lib/components/ApplicationForm/renderRegionDepartment.js +4 -9
- package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/lib/components/ApplicationForm/renderUserData.js +1 -1
- package/lib/components/ApplicationForm/renderUserData.js.map +1 -1
- package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/hooks/usePremiumBranchesByRegions.d.ts +7 -0
- package/lib/hooks/usePremiumBranchesByRegions.js +8 -0
- package/lib/hooks/usePremiumBranchesByRegions.js.map +1 -0
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +120 -75
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/AddressBranchField.d.ts +7 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/mobile/bundle/components/ApplicationForm/RegionField.d.ts +6 -0
- package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
- package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
- package/mobile/bundle/components/ApplicationForm/renderUserData.d.ts +1 -1
- package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/bundle/hooks/usePremiumBranchesByRegions.d.ts +7 -0
- package/mobile/dist/components/ApplicationForm/AddressBranchField.d.ts +7 -0
- package/mobile/dist/components/ApplicationForm/AddressBranchField.js +16 -0
- package/mobile/dist/components/ApplicationForm/AddressBranchField.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
- package/mobile/dist/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +8 -4
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
- package/mobile/dist/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
- package/mobile/dist/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js +73 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -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/RegionField.d.ts +6 -0
- package/mobile/dist/components/ApplicationForm/{renderRegion.js → RegionField.js} +7 -6
- package/mobile/dist/components/ApplicationForm/RegionField.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +2 -2
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAgreementWithSubmit.js.map +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.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +3 -8
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderUserData.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderUserData.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderUserData.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/hooks/usePremiumBranchesByRegions.d.ts +7 -0
- package/mobile/dist/hooks/usePremiumBranchesByRegions.js +11 -0
- package/mobile/dist/hooks/usePremiumBranchesByRegions.js.map +1 -0
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/AddressBranchField.d.ts +7 -0
- package/mobile/lib/components/ApplicationForm/AddressBranchField.js +14 -0
- package/mobile/lib/components/ApplicationForm/AddressBranchField.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.d.ts +0 -3
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFieldsetLayout.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -3
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAntiFraud.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAntiFraud.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +2 -4
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCorruption.js +2 -4
- package/mobile/lib/components/ApplicationForm/ApplicationFormCorruption.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +8 -4
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js +3 -5
- package/mobile/lib/components/ApplicationForm/ApplicationFormFeedback.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormSelfCollection.js +2 -4
- package/mobile/lib/components/ApplicationForm/ApplicationFormSelfCollection.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.d.ts +14 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js +71 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormUltraPremium.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -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/RegionField.d.ts +6 -0
- package/mobile/lib/components/ApplicationForm/{renderRegion.js → RegionField.js} +6 -4
- package/mobile/lib/components/ApplicationForm/RegionField.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +1 -3
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -3
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAgreementWithSubmit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +2 -2
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +1 -5
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +4 -9
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderUserData.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderUserData.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderUserData.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/hooks/usePremiumBranchesByRegions.d.ts +7 -0
- package/mobile/lib/hooks/usePremiumBranchesByRegions.js +8 -0
- package/mobile/lib/hooks/usePremiumBranchesByRegions.js.map +1 -0
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/src/components/ApplicationForm/AddressBranchField.tsx +27 -0
- package/mobile/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +2 -6
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormAntiFraud.tsx +16 -21
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -4
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +19 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormCorruption.tsx +21 -25
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +20 -4
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +8 -11
- package/mobile/src/components/ApplicationForm/ApplicationFormFeedback.tsx +61 -67
- package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +19 -22
- package/mobile/src/components/ApplicationForm/ApplicationFormSelfCollection.tsx +13 -17
- package/mobile/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +151 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
- package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
- package/mobile/src/components/ApplicationForm/RegionField.tsx +25 -0
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +13 -18
- package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +15 -18
- package/mobile/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +10 -17
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +19 -26
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +20 -25
- package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +32 -34
- package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -31
- package/mobile/src/components/ApplicationForm/renderUserData.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -7
- package/mobile/src/hooks/usePremiumBranchesByRegions.ts +17 -0
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/AddressBranchField.tsx +27 -0
- package/src/components/ApplicationForm/ApplicationFieldsetLayout.tsx +2 -6
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +56 -0
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +15 -0
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -3
- package/src/components/ApplicationForm/ApplicationFormAntiFraud.tsx +16 -21
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +2 -4
- package/src/components/ApplicationForm/ApplicationFormContent.ts +19 -1
- package/src/components/ApplicationForm/ApplicationFormCorruption.tsx +21 -25
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +20 -4
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +8 -11
- package/src/components/ApplicationForm/ApplicationFormFeedback.tsx +61 -67
- package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +19 -22
- package/src/components/ApplicationForm/ApplicationFormSelfCollection.tsx +13 -17
- package/src/components/ApplicationForm/ApplicationFormUltraPremium.tsx +151 -0
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
- package/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
- package/src/components/ApplicationForm/RegionField.tsx +25 -0
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +13 -18
- package/src/components/ApplicationForm/renderAcquiringRegion.tsx +15 -18
- package/src/components/ApplicationForm/renderAgreementWithSubmit.tsx +1 -1
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +10 -17
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +19 -26
- package/src/components/ApplicationForm/renderCreditParameters.tsx +20 -25
- package/src/components/ApplicationForm/renderQuestionsInterested.tsx +32 -34
- package/src/components/ApplicationForm/renderRegionDepartment.tsx +11 -31
- package/src/components/ApplicationForm/renderUserData.tsx +1 -1
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -7
- package/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/src/hooks/usePremiumBranchesByRegions.ts +17 -0
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
- package/bundle/components/ApplicationForm/renderRegion.d.ts +0 -10
- package/dist/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
- package/dist/components/ApplicationForm/renderIndividualsFields.js +0 -12
- package/dist/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
- package/dist/components/ApplicationForm/renderRegion.d.ts +0 -10
- package/dist/components/ApplicationForm/renderRegion.js.map +0 -1
- package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
- package/lib/components/ApplicationForm/renderIndividualsFields.js +0 -9
- package/lib/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
- package/lib/components/ApplicationForm/renderRegion.d.ts +0 -9
- package/lib/components/ApplicationForm/renderRegion.js.map +0 -1
- package/mobile/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
- package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +0 -10
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +0 -12
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +0 -10
- package/mobile/dist/components/ApplicationForm/renderRegion.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.d.ts +0 -4
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +0 -9
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +0 -10
- package/mobile/lib/components/ApplicationForm/renderRegion.js.map +0 -1
- package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +0 -33
- package/mobile/src/components/ApplicationForm/renderRegion.tsx +0 -36
- package/src/components/ApplicationForm/renderIndividualsFields.tsx +0 -33
- package/src/components/ApplicationForm/renderRegion.tsx +0 -36
|
@@ -10,22 +10,17 @@ export const renderAcquiringDataOrganization = (
|
|
|
10
10
|
field: FormFieldRegisterer<AcquiringFormState>,
|
|
11
11
|
title?: string,
|
|
12
12
|
) => (
|
|
13
|
-
<ApplicationFieldsetLayout
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<InputControl label="ИНН*" {...withValidator(field('inn'), innValidator)} />
|
|
27
|
-
<PhoneInputControl label="Телефон*" {...withValidator(field('phone'), phoneValidator)} />
|
|
28
|
-
</div>
|
|
29
|
-
}
|
|
30
|
-
/>
|
|
13
|
+
<ApplicationFieldsetLayout title={title}>
|
|
14
|
+
<div className={formChildrenStyle}>
|
|
15
|
+
<InputControl
|
|
16
|
+
label="Наименование организации*"
|
|
17
|
+
{...withValidator(field('fullName'), defaultValidator)}
|
|
18
|
+
/>
|
|
19
|
+
<InputControl label="Контактное лицо*" {...withValidator(field('name'), nameValidator)} />
|
|
20
|
+
</div>
|
|
21
|
+
<div className={formChildrenStyle}>
|
|
22
|
+
<InputControl label="ИНН*" {...withValidator(field('inn'), innValidator)} />
|
|
23
|
+
<PhoneInputControl label="Телефон*" {...withValidator(field('phone'), phoneValidator)} />
|
|
24
|
+
</div>
|
|
25
|
+
</ApplicationFieldsetLayout>
|
|
31
26
|
);
|
|
@@ -3,30 +3,27 @@ import { withValidator } from '../../validation/withValidator';
|
|
|
3
3
|
import { ACQUIRING_TYPES } from './acquiringTypes';
|
|
4
4
|
import { ApplicationFieldsetLayout, formChildrenStyle } from './ApplicationFieldsetLayout';
|
|
5
5
|
import { type AcquiringFormState } from './ApplicationFormAcquiring';
|
|
6
|
-
import {
|
|
7
|
-
import { renderRegion } from './renderRegion';
|
|
6
|
+
import { RegionField } from './RegionField';
|
|
8
7
|
import { SelectControl } from './SelectControl';
|
|
9
8
|
import { defaultValidator } from './validators';
|
|
10
9
|
|
|
11
10
|
interface AcquiringRegionProps {
|
|
12
|
-
regions: Select[];
|
|
13
11
|
field: FormFieldRegisterer<AcquiringFormState>;
|
|
14
12
|
title?: string;
|
|
15
13
|
}
|
|
16
14
|
|
|
17
|
-
export const renderAcquiringRegion = ({ field, title
|
|
18
|
-
<ApplicationFieldsetLayout
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/>
|
|
15
|
+
export const renderAcquiringRegion = ({ field, title }: AcquiringRegionProps) => (
|
|
16
|
+
<ApplicationFieldsetLayout title={title}>
|
|
17
|
+
<div className={formChildrenStyle}>
|
|
18
|
+
<SelectControl
|
|
19
|
+
label="Вид эквайринга"
|
|
20
|
+
placeholder="Выберите эквайринг"
|
|
21
|
+
options={ACQUIRING_TYPES}
|
|
22
|
+
{...withValidator(field('acquiringType'), defaultValidator)}
|
|
23
|
+
/>
|
|
24
|
+
</div>
|
|
25
|
+
<div className={formChildrenStyle}>
|
|
26
|
+
<RegionField field={field} />
|
|
27
|
+
</div>
|
|
28
|
+
</ApplicationFieldsetLayout>
|
|
32
29
|
);
|
|
@@ -13,7 +13,7 @@ export const renderAgreementWithSubmit = (
|
|
|
13
13
|
link?: LinkProps,
|
|
14
14
|
button?: SubmitButtonProps,
|
|
15
15
|
) => (
|
|
16
|
-
<div className="flex flex-col lg:flex-row w-full justify-between items-baseline">
|
|
16
|
+
<div className="flex gap-m flex-col lg:flex-row w-full justify-between items-baseline">
|
|
17
17
|
<div>
|
|
18
18
|
<div className="flex gap-3">
|
|
19
19
|
<Checkbox {...consentDataProcessing} />
|
|
@@ -9,21 +9,14 @@ import { defaultValidator, innValidator, nameValidator, phoneValidator } from '.
|
|
|
9
9
|
export const renderBusinessCardDataOrganization = (
|
|
10
10
|
field: FormFieldRegisterer<BusinessCardFormState>,
|
|
11
11
|
) => (
|
|
12
|
-
<ApplicationFieldsetLayout
|
|
13
|
-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
<InputControl
|
|
23
|
-
label="Электронная почта"
|
|
24
|
-
{...withValidator(field('mail'), defaultValidator)}
|
|
25
|
-
/>
|
|
26
|
-
</div>
|
|
27
|
-
}
|
|
28
|
-
/>
|
|
12
|
+
<ApplicationFieldsetLayout>
|
|
13
|
+
<div className={formChildrenStyle}>
|
|
14
|
+
<InputControl label="Контактное лицо" {...withValidator(field('name'), nameValidator)} />
|
|
15
|
+
<InputControl label="ИНН" {...withValidator(field('inn'), innValidator)} />
|
|
16
|
+
</div>
|
|
17
|
+
<div className={formChildrenStyle}>
|
|
18
|
+
<PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
|
|
19
|
+
<InputControl label="Электронная почта" {...withValidator(field('mail'), defaultValidator)} />
|
|
20
|
+
</div>
|
|
21
|
+
</ApplicationFieldsetLayout>
|
|
29
22
|
);
|
|
@@ -10,30 +10,23 @@ export const renderCreditDataOrganization = (
|
|
|
10
10
|
field: FormFieldRegisterer<CreditFormState>,
|
|
11
11
|
title?: string,
|
|
12
12
|
) => (
|
|
13
|
-
<ApplicationFieldsetLayout
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<InputControl
|
|
33
|
-
label="Электронная почта"
|
|
34
|
-
{...withValidator(field('mail'), defaultValidator)}
|
|
35
|
-
/>
|
|
36
|
-
</div>
|
|
37
|
-
}
|
|
38
|
-
/>
|
|
13
|
+
<ApplicationFieldsetLayout title={title}>
|
|
14
|
+
<div className={formChildrenStyle}>
|
|
15
|
+
<InputControl
|
|
16
|
+
label="Наименование организации"
|
|
17
|
+
{...withValidator(field('fullName'), defaultValidator)}
|
|
18
|
+
/>
|
|
19
|
+
<InputControl label="ИНН" {...withValidator(field('inn'), innValidator)} />
|
|
20
|
+
<PhoneInputControl label="Телефон" {...withValidator(field('phone'), phoneValidator)} />
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<div className={formChildrenStyle}>
|
|
24
|
+
<InputControl
|
|
25
|
+
label="Годовая выручка, ₽"
|
|
26
|
+
{...withValidator(field('annualRevenue'), defaultValidator)}
|
|
27
|
+
/>
|
|
28
|
+
<InputControl label="Контактное лицо" {...withValidator(field('name'), nameValidator)} />
|
|
29
|
+
<InputControl label="Электронная почта" {...withValidator(field('mail'), defaultValidator)} />
|
|
30
|
+
</div>
|
|
31
|
+
</ApplicationFieldsetLayout>
|
|
39
32
|
);
|
|
@@ -15,29 +15,24 @@ export const renderCreditParameters = (
|
|
|
15
15
|
field: FormFieldRegisterer<CreditFormState>,
|
|
16
16
|
title?: string,
|
|
17
17
|
) => (
|
|
18
|
-
<ApplicationFieldsetLayout
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{...field('term')}
|
|
39
|
-
/>
|
|
40
|
-
</div>
|
|
41
|
-
}
|
|
42
|
-
/>
|
|
18
|
+
<ApplicationFieldsetLayout title={title}>
|
|
19
|
+
<div className={formChildrenStyle}>
|
|
20
|
+
<InputRange
|
|
21
|
+
title="Сумма, ₽"
|
|
22
|
+
items={ITEMS_CREDIT_AMOUNT}
|
|
23
|
+
min={MIN_CREDIT_AMOUNT}
|
|
24
|
+
max={MAX_CREDIT_AMOUNT}
|
|
25
|
+
{...field('amount')}
|
|
26
|
+
/>
|
|
27
|
+
</div>
|
|
28
|
+
<div className={formChildrenStyle}>
|
|
29
|
+
<InputRange
|
|
30
|
+
title="Срок, месяцев"
|
|
31
|
+
items={ITEMS_CREDIT_TERM}
|
|
32
|
+
min={MIN_CREDIT_TERM}
|
|
33
|
+
max={MAX_CREDIT_TERM}
|
|
34
|
+
{...field('term')}
|
|
35
|
+
/>
|
|
36
|
+
</div>
|
|
37
|
+
</ApplicationFieldsetLayout>
|
|
43
38
|
);
|
|
@@ -7,39 +7,37 @@ export const renderQuestionsInterested = (field: FormFieldRegisterer<WedFormStat
|
|
|
7
7
|
const { value, onChange } = field('vedTypes');
|
|
8
8
|
|
|
9
9
|
return (
|
|
10
|
-
<ApplicationFieldsetLayout
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
/>
|
|
10
|
+
<ApplicationFieldsetLayout>
|
|
11
|
+
<div className="gap-xl grid @xl:flex @xl:items-center">
|
|
12
|
+
<Radio
|
|
13
|
+
name="vedTypes"
|
|
14
|
+
text="Валютный контроль"
|
|
15
|
+
value="currencyControl"
|
|
16
|
+
checked={value === 'currencyControl'}
|
|
17
|
+
onChange={(_) => onChange && onChange(_)}
|
|
18
|
+
/>
|
|
19
|
+
<Radio
|
|
20
|
+
name="vedTypes"
|
|
21
|
+
text="Документарные операции"
|
|
22
|
+
value="documentOperations"
|
|
23
|
+
checked={value === 'documentOperations'}
|
|
24
|
+
onChange={(_) => onChange && onChange(_)}
|
|
25
|
+
/>
|
|
26
|
+
<Radio
|
|
27
|
+
name="vedTypes"
|
|
28
|
+
text="Конверсионные операции"
|
|
29
|
+
value="conversionTransactions"
|
|
30
|
+
checked={value === 'conversionTransactions'}
|
|
31
|
+
onChange={(_) => onChange && onChange(_)}
|
|
32
|
+
/>
|
|
33
|
+
<Radio
|
|
34
|
+
name="vedTypes"
|
|
35
|
+
text="Иные вопросы ВЭД"
|
|
36
|
+
value="otherIssues"
|
|
37
|
+
checked={value === 'otherIssues'}
|
|
38
|
+
onChange={(_) => onChange && onChange(_)}
|
|
39
|
+
/>
|
|
40
|
+
</div>
|
|
41
|
+
</ApplicationFieldsetLayout>
|
|
44
42
|
);
|
|
45
43
|
};
|
|
@@ -1,41 +1,21 @@
|
|
|
1
1
|
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
-
import {
|
|
3
|
-
import { type Branch } from '../SafeDepositRental/useSafeBoxes';
|
|
2
|
+
import { AddressBranchField } from './AddressBranchField';
|
|
4
3
|
import { ApplicationFieldsetLayout, formChildrenStyle } from './ApplicationFieldsetLayout';
|
|
5
4
|
import { type CreditFormState } from './ApplicationFormCredit';
|
|
6
|
-
import {
|
|
7
|
-
import { renderRegion } from './renderRegion';
|
|
8
|
-
import { SelectControl } from './SelectControl';
|
|
9
|
-
import { defaultValidator } from './validators';
|
|
5
|
+
import { RegionField } from './RegionField';
|
|
10
6
|
|
|
11
7
|
interface RegionDepartmentProps {
|
|
12
8
|
title?: string;
|
|
13
|
-
regions: Select[];
|
|
14
|
-
branches: Branch[];
|
|
15
9
|
field: FormFieldRegisterer<CreditFormState>;
|
|
16
10
|
}
|
|
17
11
|
|
|
18
|
-
export const renderRegionDepartment = ({
|
|
19
|
-
title
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
secondChildren={
|
|
28
|
-
<div className={formChildrenStyle}>
|
|
29
|
-
<SelectControl
|
|
30
|
-
label="Адрес"
|
|
31
|
-
placeholder="Выберите адрес"
|
|
32
|
-
options={branches.map(({ branchCode = '', address = '' }) => ({
|
|
33
|
-
key: branchCode,
|
|
34
|
-
text: address,
|
|
35
|
-
}))}
|
|
36
|
-
{...withValidator(field('department'), defaultValidator)}
|
|
37
|
-
/>
|
|
38
|
-
</div>
|
|
39
|
-
}
|
|
40
|
-
/>
|
|
12
|
+
export const renderRegionDepartment = ({ title, field }: RegionDepartmentProps) => (
|
|
13
|
+
<ApplicationFieldsetLayout title={title}>
|
|
14
|
+
<div className={formChildrenStyle}>
|
|
15
|
+
<RegionField field={field} />
|
|
16
|
+
</div>
|
|
17
|
+
<div className={formChildrenStyle}>
|
|
18
|
+
<AddressBranchField field={field} />
|
|
19
|
+
</div>
|
|
20
|
+
</ApplicationFieldsetLayout>
|
|
41
21
|
);
|
|
@@ -26,7 +26,7 @@ export const renderUserData = <
|
|
|
26
26
|
field: FormFieldRegisterer<T>,
|
|
27
27
|
isBirthday = true,
|
|
28
28
|
) => (
|
|
29
|
-
<div>
|
|
29
|
+
<div className="space-y-s">
|
|
30
30
|
<InputControl label="Фамилия*" {...withValidator(field('surname'), nameValidator)} />
|
|
31
31
|
<InputControl label="Имя*" {...withValidator(field('name'), nameValidator)} />
|
|
32
32
|
<InputControl label="Отчество (Обязательно, при наличии)" {...field('middleName')} />
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { useRegions, type Region } from '../../hooks/useRegions';
|
|
3
4
|
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
4
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
@@ -8,7 +9,6 @@ import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
|
|
|
8
9
|
import { type SafeDepositRentalContent } from './SafeDepositRentalContent';
|
|
9
10
|
import { SafeDepositRentalForm } from './SafeDepositRentalForm';
|
|
10
11
|
import { type HandleFormStateChange, type SafeDepositRentalState } from './SafeDepositRentalTypes';
|
|
11
|
-
import { useGetRegions, type Region } from './useGetRegions';
|
|
12
12
|
import { useSafeBoxes } from './useSafeBoxes';
|
|
13
13
|
import { getBranch, getCoordinates } from './utils';
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ export const SafeDepositRental = JSX<SafeDepositRentalProps>(
|
|
|
28
28
|
days: DEFAULT_DAYS,
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
const regions =
|
|
31
|
+
const regions = useRegions();
|
|
32
32
|
|
|
33
33
|
const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
|
|
34
34
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { type Region } from '../../hooks/useRegions';
|
|
2
3
|
import { LinkButton } from '../../ui-kit/LinkButton/LinkButton';
|
|
3
4
|
import { Text } from '../../ui-kit/Text/Text';
|
|
4
5
|
import { RadioButtons } from './RadioButtons';
|
|
@@ -6,7 +7,6 @@ import { RegionsAndBranches } from './RegionsAndBranches';
|
|
|
6
7
|
import { RentalPeriod } from './RentalPeriod';
|
|
7
8
|
import { SafeBoxCases } from './SafeBoxCases';
|
|
8
9
|
import { type HandleFormStateChange, type SafeDepositRentalState } from './SafeDepositRentalTypes';
|
|
9
|
-
import { type Region } from './useGetRegions';
|
|
10
10
|
import { type Branch, type SafeBoxCase, type SafeBoxCaseVolume } from './useSafeBoxes';
|
|
11
11
|
|
|
12
12
|
export interface SafeDepositRentalFieldsProps extends SafeDepositRentalState {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useEffect } from '@redneckz/uni-jsx/lib/hooks/core';
|
|
3
|
+
import { type Region } from '../../hooks/useRegions';
|
|
3
4
|
import { SafeDepositRentalFields } from './SafeDepositRentalFields';
|
|
4
5
|
import { SafeDepositRentalTotal } from './SafeDepositRentalTotal';
|
|
5
6
|
import { type SafeDepositRentalState } from './SafeDepositRentalTypes';
|
|
6
|
-
import { type Region } from './useGetRegions';
|
|
7
7
|
import { type Branch, type SafeBoxCase, type SafeBoxCaseVolume } from './useSafeBoxes';
|
|
8
8
|
import { getBranch } from './utils';
|
|
9
9
|
|
|
@@ -124,17 +124,13 @@ const renderIconArea =
|
|
|
124
124
|
const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
|
|
125
125
|
const isImg = Boolean(step?.icon?.src);
|
|
126
126
|
const iconAreaSize = STEPS_SIZE_MAP[size][isImg ? 'image' : 'icon'];
|
|
127
|
-
const
|
|
127
|
+
const containerVersion = isImg ? stepVersion === 'transparent' : stepVersion;
|
|
128
128
|
|
|
129
129
|
return (
|
|
130
130
|
<BlockWrapper
|
|
131
|
-
className={style(
|
|
132
|
-
iconAreaSize,
|
|
133
|
-
containerStyle,
|
|
134
|
-
'z-10 mr-s flex justify-center content-center',
|
|
135
|
-
)}
|
|
131
|
+
className={style(iconAreaSize, 'z-10 mr-s flex justify-center content-center rounded-md')}
|
|
136
132
|
defaultPadding=""
|
|
137
|
-
version={
|
|
133
|
+
version={containerVersion as BlockVersion}
|
|
138
134
|
>
|
|
139
135
|
<span className="flex max-w-full max-h-full items-center justify-center">
|
|
140
136
|
{isIcon(step?.icon) ? (
|
|
@@ -61,7 +61,7 @@ export const StepsBlock = JSX<StepsBlockProps>(
|
|
|
61
61
|
align={AlignStyles}
|
|
62
62
|
/>
|
|
63
63
|
{steps?.length ? (
|
|
64
|
-
<div className="box-border space-y-lg">
|
|
64
|
+
<div className="box-border space-y-lg flex flex-col justify-center">
|
|
65
65
|
<div className={style('flex items-center', paddingX)}>
|
|
66
66
|
{joinList(
|
|
67
67
|
<div className={style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity)} />,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
|
+
import { fetchJSONUnsafe, type FetchJSONUnsafeType } from '../utils/fetchJSON';
|
|
3
|
+
|
|
4
|
+
const REGIONS_URL = '/api/v1/premiumBranchesByRegions';
|
|
5
|
+
|
|
6
|
+
export interface Region {
|
|
7
|
+
region: string;
|
|
8
|
+
branches: {
|
|
9
|
+
address: string;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function usePremiumBranchesByRegions(): Region[] {
|
|
14
|
+
const { data } = useAsyncData(REGIONS_URL, fetchJSONUnsafe as FetchJSONUnsafeType<Region[]>);
|
|
15
|
+
|
|
16
|
+
return data || [];
|
|
17
|
+
}
|
|
@@ -65,7 +65,7 @@ export const Select = JSX<SelectProps>(
|
|
|
65
65
|
)}
|
|
66
66
|
onClick={isOpen ? handleClose : open}
|
|
67
67
|
>
|
|
68
|
-
<p className="p-m pr-8 flex items-center overflow-hidden text-ellipsis
|
|
68
|
+
<p className="p-m pr-8 flex items-center overflow-hidden text-ellipsis">
|
|
69
69
|
{formatOption(value) || placeholder}
|
|
70
70
|
</p>
|
|
71
71
|
{renderIcon(isOpen, iconVersion)}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type IndividualsFormState } from './ApplicationFormIndividuals';
|
|
4
|
-
export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type AcquiringFormState } from './ApplicationFormAcquiring';
|
|
4
|
-
import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
|
|
5
|
-
import { type CorruptionFormState } from './ApplicationFormCorruption';
|
|
6
|
-
import { type FeedbackFormState } from './ApplicationFormFeedback';
|
|
7
|
-
import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
|
|
8
|
-
import { type WedFormState } from './ApplicationFormWed';
|
|
9
|
-
import { type Select } from './models';
|
|
10
|
-
export declare const renderRegion: <T extends AcquiringFormState | BusinessCardFormState | CorruptionFormState | FeedbackFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type IndividualsFormState } from './ApplicationFormIndividuals';
|
|
4
|
-
export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderIndividualsFields = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const withValidator_1 = require("../../validation/withValidator");
|
|
5
|
-
const ApplicationFieldsetLayout_1 = require("./ApplicationFieldsetLayout");
|
|
6
|
-
const DatePickerControl_1 = require("./DatePickerControl");
|
|
7
|
-
const InputControl_1 = require("./InputControl");
|
|
8
|
-
const PhoneInputControl_1 = require("./PhoneInputControl");
|
|
9
|
-
const validators_1 = require("./validators");
|
|
10
|
-
const renderIndividualsFields = (field) => ((0, jsx_runtime_1.jsx)(ApplicationFieldsetLayout_1.ApplicationFieldsetLayout, { firstChildren: (0, jsx_runtime_1.jsxs)("div", { className: ApplicationFieldsetLayout_1.formChildrenStyle, children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0424\u0430\u043C\u0438\u043B\u0438\u044F", ...(0, withValidator_1.withValidator)(field('surname'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E", ...(0, withValidator_1.withValidator)(field('middleName'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) })] }), secondChildren: (0, jsx_runtime_1.jsxs)("div", { className: ApplicationFieldsetLayout_1.formChildrenStyle, children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u0418\u043C\u044F", ...(0, withValidator_1.withValidator)(field('name'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(DatePickerControl_1.DatePickerControl, { label: "\u0414\u0430\u0442\u0430 \u0440\u043E\u0436\u0434\u0435\u043D\u0438\u044F*", ...(0, withValidator_1.withValidator)(field('birthday'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...(0, withValidator_1.withValidator)(field('email'), validators_1.defaultValidator) })] }) }));
|
|
11
|
-
exports.renderIndividualsFields = renderIndividualsFields;
|
|
12
|
-
//# sourceMappingURL=renderIndividualsFields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderIndividualsFields.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderIndividualsFields.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAC/D,2EAA2F;AAE3F,2DAAwD;AACxD,iDAA8C;AAC9C,2DAAwD;AACxD,6CAA+E;AAExE,MAAM,uBAAuB,GAAG,CAAC,KAAgD,EAAE,EAAE,CAAC,CAC3F,uBAAC,qDAAyB,IACxB,aAAa,EACX,iCAAK,SAAS,EAAE,6CAAiB,aAC/B,uBAAC,2BAAY,IAAC,KAAK,EAAC,4CAAS,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,SAAS,CAAC,EAAE,0BAAa,CAAC,GAAI,EACpF,uBAAC,2BAAY,IAAC,KAAK,EAAC,kDAAU,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,YAAY,CAAC,EAAE,0BAAa,CAAC,GAAI,EACxF,uBAAC,qCAAiB,IAAC,KAAK,EAAC,4CAAS,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,2BAAc,CAAC,GAAI,IACpF,EAER,cAAc,EACZ,iCAAK,SAAS,EAAE,6CAAiB,aAC/B,uBAAC,2BAAY,IAAC,KAAK,EAAC,oBAAK,KAAK,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE,0BAAa,CAAC,GAAI,EAC7E,uBAAC,qCAAiB,IAChB,KAAK,EAAC,4EAAgB,KAClB,IAAA,6BAAa,EAAC,KAAK,CAAC,UAAU,CAAC,EAAE,6BAAgB,CAAC,GACtD,EACF,uBAAC,2BAAY,IACX,KAAK,EAAC,mGAAmB,KACrB,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,6BAAgB,CAAC,GACnD,IACE,GAER,CACH,CAAC;AAvBW,QAAA,uBAAuB,2BAuBlC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type AcquiringFormState } from './ApplicationFormAcquiring';
|
|
4
|
-
import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
|
|
5
|
-
import { type CorruptionFormState } from './ApplicationFormCorruption';
|
|
6
|
-
import { type FeedbackFormState } from './ApplicationFormFeedback';
|
|
7
|
-
import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
|
|
8
|
-
import { type WedFormState } from './ApplicationFormWed';
|
|
9
|
-
import { type Select } from './models';
|
|
10
|
-
export declare const renderRegion: <T extends AcquiringFormState | BusinessCardFormState | CorruptionFormState | FeedbackFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderRegion.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAQ/D,mDAAgD;AAChD,6CAAgD;AAEhD,uDAAuD;AAChD,MAAM,YAAY,GAAG,CAS1B,OAAiB,EACjB,KAA6B,EAC7B,EAAE;IACF,OAAO,CACL,uBAAC,6BAAa,IACZ,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,IAAA,6BAAa,EAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,6BAAgB,CAAC,GACpD,CACH,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,YAAY,gBAsBvB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type IndividualsFormState } from './ApplicationFormIndividuals';
|
|
4
|
-
export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { withValidator } from '../../validation/withValidator.js';
|
|
3
|
-
import { ApplicationFieldsetLayout, formChildrenStyle } from './ApplicationFieldsetLayout.js';
|
|
4
|
-
import { DatePickerControl } from './DatePickerControl.js';
|
|
5
|
-
import { InputControl } from './InputControl.js';
|
|
6
|
-
import { PhoneInputControl } from './PhoneInputControl.js';
|
|
7
|
-
import { defaultValidator, nameValidator, phoneValidator } from './validators.js';
|
|
8
|
-
export const renderIndividualsFields = (field) => (_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('birthday'), defaultValidator) }), _jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...withValidator(field('email'), defaultValidator) })] }) }));
|
|
9
|
-
//# sourceMappingURL=renderIndividualsFields.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderIndividualsFields.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderIndividualsFields.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAE3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAE/E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,KAAgD,EAAE,EAAE,CAAC,CAC3F,KAAC,yBAAyB,IACxB,aAAa,EACX,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IAAC,KAAK,EAAC,4CAAS,KAAK,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,GAAI,EACpF,KAAC,YAAY,IAAC,KAAK,EAAC,kDAAU,KAAK,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,aAAa,CAAC,GAAI,EACxF,KAAC,iBAAiB,IAAC,KAAK,EAAC,4CAAS,KAAK,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC,GAAI,IACpF,EAER,cAAc,EACZ,eAAK,SAAS,EAAE,iBAAiB,aAC/B,KAAC,YAAY,IAAC,KAAK,EAAC,oBAAK,KAAK,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,aAAa,CAAC,GAAI,EAC7E,KAAC,iBAAiB,IAChB,KAAK,EAAC,4EAAgB,KAClB,aAAa,CAAC,KAAK,CAAC,UAAU,CAAC,EAAE,gBAAgB,CAAC,GACtD,EACF,KAAC,YAAY,IACX,KAAK,EAAC,mGAAmB,KACrB,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,gBAAgB,CAAC,GACnD,IACE,GAER,CACH,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
2
|
-
import { type AcquiringFormState } from './ApplicationFormAcquiring';
|
|
3
|
-
import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
|
|
4
|
-
import { type CorruptionFormState } from './ApplicationFormCorruption';
|
|
5
|
-
import { type FeedbackFormState } from './ApplicationFormFeedback';
|
|
6
|
-
import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
|
|
7
|
-
import { type WedFormState } from './ApplicationFormWed';
|
|
8
|
-
import { type Select } from './models';
|
|
9
|
-
export declare const renderRegion: <T extends AcquiringFormState | FeedbackFormState | CorruptionFormState | BusinessCardFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderRegion.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAQ/D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,uDAAuD;AACvD,MAAM,CAAC,MAAM,YAAY,GAAG,CAS1B,OAAiB,EACjB,KAA6B,EAC7B,EAAE;IACF,OAAO,CACL,KAAC,aAAa,IACZ,SAAS,EAAC,QAAQ,EAClB,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,EAC7B,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,GAAG,EAAE,EAAE,IAAI,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,KAC3E,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC,GACpD,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type IndividualsFormState } from './ApplicationFormIndividuals';
|
|
4
|
-
export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type AcquiringFormState } from './ApplicationFormAcquiring';
|
|
4
|
-
import { type BusinessCardFormState } from './ApplicationFormBusinessCard';
|
|
5
|
-
import { type CorruptionFormState } from './ApplicationFormCorruption';
|
|
6
|
-
import { type FeedbackFormState } from './ApplicationFormFeedback';
|
|
7
|
-
import { type SelfCollectionFormState } from './ApplicationFormSelfCollection';
|
|
8
|
-
import { type WedFormState } from './ApplicationFormWed';
|
|
9
|
-
import { type Select } from './models';
|
|
10
|
-
export declare const renderRegion: <T extends AcquiringFormState | BusinessCardFormState | CorruptionFormState | FeedbackFormState | SelfCollectionFormState | WedFormState>(regions: Select[], field: FormFieldRegisterer<T>) => JSX.Element;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { type FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
-
import { type IndividualsFormState } from './ApplicationFormIndividuals';
|
|
4
|
-
export declare const renderIndividualsFields: (field: FormFieldRegisterer<IndividualsFormState>) => JSX.Element;
|