@redneckz/wildless-cms-uni-blocks 0.10.4 → 0.10.6
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/bin/migration-scripts/0.9.9.js +8 -6
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +323 -411
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
- package/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
- package/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
- package/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
- package/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
- package/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
- package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
- package/bundle/components/ApplicationForm/CreditFormState.d.ts +13 -0
- package/bundle/components/ApplicationForm/CreditParameters.d.ts +3 -3
- package/bundle/components/ApplicationForm/DepositFormState.d.ts +4 -0
- package/bundle/components/ApplicationForm/InputControl.d.ts +4 -5
- package/bundle/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
- package/bundle/components/ApplicationForm/ResponseNotification.d.ts +1 -1
- package/bundle/components/ApplicationForm/SelectControl.d.ts +2 -9
- package/bundle/components/ApplicationForm/WedFormState.d.ts +10 -0
- package/bundle/components/ApplicationForm/models.d.ts +0 -6
- package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
- package/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
- package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
- package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
- package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
- package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
- package/bundle/components/ApplicationForm/renderRegion.d.ts +6 -8
- package/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
- package/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
- package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
- package/bundle/components/ApplicationForm/validators.d.ts +4 -0
- package/bundle/components/Filtration/renderFormItem.d.ts +2 -2
- package/bundle/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/bundle/hooks/useForm.d.ts +13 -12
- package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
- package/bundle/ui-kit/Dialog/useDialogProps.d.ts +1 -1
- package/bundle/ui-kit/Input/InputProps.d.ts +4 -2
- package/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
- package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
- package/bundle/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
- package/bundle/ui-kit/Select/Select.d.ts +6 -7
- package/bundle/validation/and.d.ts +2 -0
- package/bundle/validation/objectValidator.d.ts +2 -0
- package/bundle/validation/pattern.d.ts +1 -0
- package/bundle/validation/required.d.ts +1 -0
- package/bundle/validation/validator.d.ts +10 -0
- package/bundle/validation/withValidator.d.ts +10 -0
- package/dist/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
- package/dist/components/ApplicationForm/AcquiringFormState.js +2 -0
- package/dist/components/ApplicationForm/AcquiringFormState.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +4 -3
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +28 -48
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
- package/dist/components/ApplicationForm/ApplicationFormWed.js +22 -37
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/dist/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
- package/dist/components/ApplicationForm/BusinessCardFormState.js +2 -0
- package/dist/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
- package/dist/components/ApplicationForm/CreditFormState.d.ts +13 -0
- package/dist/components/ApplicationForm/CreditFormState.js +2 -0
- package/dist/components/ApplicationForm/CreditFormState.js.map +1 -0
- package/dist/components/ApplicationForm/CreditParameters.d.ts +3 -3
- package/dist/components/ApplicationForm/CreditParameters.js +5 -5
- package/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/DepositFormState.d.ts +4 -0
- package/dist/components/ApplicationForm/DepositFormState.js +2 -0
- package/dist/components/ApplicationForm/DepositFormState.js.map +1 -0
- package/dist/components/ApplicationForm/InputControl.d.ts +4 -5
- package/dist/components/ApplicationForm/InputControl.js +1 -3
- package/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/dist/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
- package/dist/components/ApplicationForm/PhoneInputControl.js +8 -0
- package/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -0
- package/dist/components/ApplicationForm/ResponseNotification.d.ts +1 -1
- package/dist/components/ApplicationForm/ResponseNotification.js +4 -4
- package/dist/components/ApplicationForm/SelectControl.d.ts +2 -9
- package/dist/components/ApplicationForm/SelectControl.js +1 -7
- package/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/dist/components/ApplicationForm/WedFormState.d.ts +10 -0
- package/dist/components/ApplicationForm/WedFormState.js +2 -0
- package/dist/components/ApplicationForm/WedFormState.js.map +1 -0
- package/dist/components/ApplicationForm/models.d.ts +0 -6
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
- package/dist/components/ApplicationForm/renderAcquiringRegion.js +3 -2
- package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
- package/dist/components/ApplicationForm/renderCreditParameters.js +3 -16
- package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
- package/dist/components/ApplicationForm/renderQuestionsInterested.js +4 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegion.d.ts +6 -8
- package/dist/components/ApplicationForm/renderRegion.js +3 -2
- package/dist/components/ApplicationForm/renderRegion.js.map +1 -1
- package/dist/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
- package/dist/components/ApplicationForm/renderRegionDepartment.js +6 -2
- package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
- package/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js +2 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +4 -2
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/validators.d.ts +4 -0
- package/dist/components/ApplicationForm/validators.js +11 -0
- package/dist/components/ApplicationForm/validators.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.mobile.js +5 -1
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/dist/components/BusinessBlock/BusinessBlock.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/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselScrollButtons.js +1 -1
- package/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +2 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/dist/components/Filtration/Filtration.js +3 -2
- package/dist/components/Filtration/Filtration.js.map +1 -1
- package/dist/components/Filtration/renderFormItem.d.ts +2 -2
- package/dist/components/Filtration/renderFormItem.js +4 -4
- package/dist/components/Filtration/renderFormItem.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +2 -2
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/dist/components/SafeDepositRental/useGetRegions.js +2 -1
- package/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.js +8 -4
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/hooks/useForm.d.ts +13 -12
- package/dist/hooks/useForm.js +31 -8
- package/dist/hooks/useForm.js.map +1 -1
- package/dist/ui-kit/Checkbox/Checkbox.js +9 -4
- package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/dist/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
- package/dist/ui-kit/CookiePopup/CookiePopup.js +22 -0
- package/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/dist/ui-kit/Dialog/CloseButton.js +1 -1
- package/dist/ui-kit/Dialog/CloseButton.js.map +1 -1
- package/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/dist/ui-kit/Dialog/Dialog.js.map +1 -1
- package/dist/ui-kit/Dialog/useDialogProps.d.ts +1 -1
- package/dist/ui-kit/Dialog/useDialogProps.js +2 -2
- package/dist/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/dist/ui-kit/Input/Input.js +4 -11
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/Input/InputProps.d.ts +4 -2
- package/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
- package/dist/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
- package/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
- package/dist/ui-kit/PhoneInput/PhoneInput.js +12 -0
- package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
- package/dist/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
- package/dist/ui-kit/PhoneInput/normalizePhone.js +17 -0
- package/dist/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/dist/ui-kit/Select/Select.d.ts +6 -7
- package/dist/ui-kit/Select/Select.js +16 -25
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
- package/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/dist/validation/and.d.ts +2 -0
- package/dist/validation/and.js +5 -0
- package/dist/validation/and.js.map +1 -0
- package/dist/validation/objectValidator.d.ts +2 -0
- package/dist/validation/objectValidator.js +7 -0
- package/dist/validation/objectValidator.js.map +1 -0
- package/dist/validation/pattern.d.ts +1 -0
- package/dist/validation/pattern.js +6 -0
- package/dist/validation/pattern.js.map +1 -0
- package/dist/validation/required.d.ts +1 -0
- package/dist/validation/required.js +5 -0
- package/dist/validation/required.js.map +1 -0
- package/dist/validation/validator.d.ts +10 -0
- package/dist/validation/validator.js +9 -0
- package/dist/validation/validator.js.map +1 -0
- package/dist/validation/withValidator.d.ts +10 -0
- package/dist/validation/withValidator.js +13 -0
- package/dist/validation/withValidator.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
- package/lib/components/ApplicationForm/AcquiringFormState.js +2 -0
- package/lib/components/ApplicationForm/AcquiringFormState.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.js +4 -3
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +28 -48
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
- package/lib/components/ApplicationForm/ApplicationFormWed.js +22 -37
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/lib/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
- package/lib/components/ApplicationForm/BusinessCardFormState.js +2 -0
- package/lib/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
- package/lib/components/ApplicationForm/CreditFormState.d.ts +13 -0
- package/lib/components/ApplicationForm/CreditFormState.js +2 -0
- package/lib/components/ApplicationForm/CreditFormState.js.map +1 -0
- package/lib/components/ApplicationForm/CreditParameters.d.ts +3 -3
- package/lib/components/ApplicationForm/CreditParameters.js +5 -5
- package/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/DepositFormState.d.ts +4 -0
- package/lib/components/ApplicationForm/DepositFormState.js +2 -0
- package/lib/components/ApplicationForm/DepositFormState.js.map +1 -0
- package/lib/components/ApplicationForm/InputControl.d.ts +4 -5
- package/lib/components/ApplicationForm/InputControl.js +1 -3
- package/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/lib/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
- package/lib/components/ApplicationForm/PhoneInputControl.js +6 -0
- package/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -0
- package/lib/components/ApplicationForm/ResponseNotification.d.ts +1 -1
- package/lib/components/ApplicationForm/ResponseNotification.js +4 -4
- package/lib/components/ApplicationForm/SelectControl.d.ts +2 -9
- package/lib/components/ApplicationForm/SelectControl.js +1 -7
- package/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/lib/components/ApplicationForm/WedFormState.d.ts +10 -0
- package/lib/components/ApplicationForm/WedFormState.js +2 -0
- package/lib/components/ApplicationForm/WedFormState.js.map +1 -0
- package/lib/components/ApplicationForm/models.d.ts +0 -6
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
- package/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
- package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
- package/lib/components/ApplicationForm/renderCreditParameters.js +4 -17
- package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
- package/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegion.d.ts +6 -8
- package/lib/components/ApplicationForm/renderRegion.js +3 -2
- package/lib/components/ApplicationForm/renderRegion.js.map +1 -1
- package/lib/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
- package/lib/components/ApplicationForm/renderRegionDepartment.js +6 -2
- package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
- package/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js +2 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +4 -2
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/validators.d.ts +4 -0
- package/lib/components/ApplicationForm/validators.js +9 -0
- package/lib/components/ApplicationForm/validators.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.mobile.js +5 -1
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/lib/components/BusinessBlock/BusinessBlock.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/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselScrollButtons.js +1 -1
- package/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +2 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/lib/components/Filtration/Filtration.js +3 -2
- package/lib/components/Filtration/Filtration.js.map +1 -1
- package/lib/components/Filtration/renderFormItem.d.ts +2 -2
- package/lib/components/Filtration/renderFormItem.js +4 -4
- package/lib/components/Filtration/renderFormItem.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/Headline/Headline.js +1 -1
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/ImgBlock/ImgBlock.fixture.mobile.d.ts +6 -0
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +2 -2
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductTile/renderBenefit.d.ts +0 -1
- package/lib/components/RichTextBlock/RichTextBlock.fixture.mobile.d.ts +9 -0
- package/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/lib/components/SafeDepositRental/useGetRegions.js +2 -1
- package/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +6 -2
- package/lib/components/TextBlock/TextBlock.js +8 -4
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +8 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/hooks/useForm.d.ts +13 -12
- package/lib/hooks/useForm.js +31 -8
- package/lib/hooks/useForm.js.map +1 -1
- package/lib/ui-kit/Checkbox/Checkbox.js +9 -4
- package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/lib/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
- package/lib/ui-kit/CookiePopup/CookiePopup.js +20 -0
- package/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/lib/ui-kit/Dialog/CloseButton.js +1 -1
- package/lib/ui-kit/Dialog/CloseButton.js.map +1 -1
- package/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/lib/ui-kit/Dialog/Dialog.js.map +1 -1
- package/lib/ui-kit/Dialog/useDialogProps.d.ts +1 -1
- package/lib/ui-kit/Dialog/useDialogProps.js +2 -2
- package/lib/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/lib/ui-kit/Input/Input.js +4 -11
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/Input/InputProps.d.ts +4 -2
- package/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
- package/lib/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
- package/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
- package/lib/ui-kit/PhoneInput/PhoneInput.js +10 -0
- package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
- package/lib/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
- package/lib/ui-kit/PhoneInput/normalizePhone.js +14 -0
- package/lib/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/lib/ui-kit/Select/Select.d.ts +6 -7
- package/lib/ui-kit/Select/Select.js +17 -26
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/lib/validation/and.d.ts +2 -0
- package/lib/validation/and.js +2 -0
- package/lib/validation/and.js.map +1 -0
- package/lib/validation/objectValidator.d.ts +2 -0
- package/lib/validation/objectValidator.js +4 -0
- package/lib/validation/objectValidator.js.map +1 -0
- package/lib/validation/pattern.d.ts +1 -0
- package/lib/validation/pattern.js +3 -0
- package/lib/validation/pattern.js.map +1 -0
- package/lib/validation/required.d.ts +1 -0
- package/lib/validation/required.js +3 -0
- package/lib/validation/required.js.map +1 -0
- package/lib/validation/validator.d.ts +10 -0
- package/lib/validation/validator.js +4 -0
- package/lib/validation/validator.js.map +1 -0
- package/lib/validation/withValidator.d.ts +10 -0
- package/lib/validation/withValidator.js +10 -0
- package/lib/validation/withValidator.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +50 -18
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
- package/mobile/bundle/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
- package/mobile/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
- package/mobile/bundle/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
- package/mobile/bundle/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
- package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/mobile/bundle/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
- package/mobile/bundle/components/ApplicationForm/CreditFormState.d.ts +13 -0
- package/mobile/bundle/components/ApplicationForm/CreditParameters.d.ts +3 -3
- package/mobile/bundle/components/ApplicationForm/DepositFormState.d.ts +4 -0
- package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +4 -5
- package/mobile/bundle/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
- package/mobile/bundle/components/ApplicationForm/ResponseNotification.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/SelectControl.d.ts +2 -9
- package/mobile/bundle/components/ApplicationForm/WedFormState.d.ts +10 -0
- package/mobile/bundle/components/ApplicationForm/models.d.ts +0 -6
- package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
- package/mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
- package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
- package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
- package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
- package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
- package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +6 -8
- package/mobile/bundle/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
- package/mobile/bundle/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
- package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
- package/mobile/bundle/components/ApplicationForm/validators.d.ts +4 -0
- package/mobile/bundle/components/Filtration/renderFormItem.d.ts +2 -2
- package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/mobile/bundle/hooks/useForm.d.ts +13 -12
- package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/mobile/bundle/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
- package/mobile/bundle/ui-kit/Dialog/useDialogProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -2
- package/mobile/bundle/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
- package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
- package/mobile/bundle/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
- package/mobile/bundle/ui-kit/Select/Select.d.ts +6 -7
- package/mobile/bundle/validation/and.d.ts +2 -0
- package/mobile/bundle/validation/objectValidator.d.ts +2 -0
- package/mobile/bundle/validation/pattern.d.ts +1 -0
- package/mobile/bundle/validation/required.d.ts +1 -0
- package/mobile/bundle/validation/validator.d.ts +10 -0
- package/mobile/bundle/validation/withValidator.d.ts +10 -0
- package/mobile/dist/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
- package/mobile/dist/components/ApplicationForm/AcquiringFormState.js +2 -0
- package/mobile/dist/components/ApplicationForm/AcquiringFormState.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +4 -3
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +28 -48
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +22 -37
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
- package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js +2 -0
- package/mobile/dist/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/CreditFormState.d.ts +13 -0
- package/mobile/dist/components/ApplicationForm/CreditFormState.js +2 -0
- package/mobile/dist/components/ApplicationForm/CreditFormState.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/CreditParameters.d.ts +3 -3
- package/mobile/dist/components/ApplicationForm/CreditParameters.js +5 -5
- package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/DepositFormState.d.ts +4 -0
- package/mobile/dist/components/ApplicationForm/DepositFormState.js +2 -0
- package/mobile/dist/components/ApplicationForm/DepositFormState.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/InputControl.d.ts +4 -5
- package/mobile/dist/components/ApplicationForm/InputControl.js +1 -3
- package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js +8 -0
- package/mobile/dist/components/ApplicationForm/PhoneInputControl.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ResponseNotification.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/ResponseNotification.js +4 -4
- package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +2 -9
- package/mobile/dist/components/ApplicationForm/SelectControl.js +1 -7
- package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/WedFormState.d.ts +10 -0
- package/mobile/dist/components/ApplicationForm/WedFormState.js +2 -0
- package/mobile/dist/components/ApplicationForm/WedFormState.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/models.d.ts +0 -6
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +3 -2
- package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +3 -16
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +4 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +6 -8
- package/mobile/dist/components/ApplicationForm/renderRegion.js +3 -2
- package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +6 -2
- package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
- package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js +2 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +4 -2
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/validators.d.ts +4 -0
- package/mobile/dist/components/ApplicationForm/validators.js +11 -0
- package/mobile/dist/components/ApplicationForm/validators.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.js +5 -1
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessBlock.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/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js +1 -1
- package/mobile/dist/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +2 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/dist/components/Filtration/Filtration.js +3 -2
- package/mobile/dist/components/Filtration/Filtration.js.map +1 -1
- package/mobile/dist/components/Filtration/renderFormItem.d.ts +2 -2
- package/mobile/dist/components/Filtration/renderFormItem.js +4 -4
- package/mobile/dist/components/Filtration/renderFormItem.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +1 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/dist/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/useGetRegions.js +2 -1
- package/mobile/dist/components/SafeDepositRental/useGetRegions.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.js +14 -9
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/hooks/useForm.d.ts +13 -12
- package/mobile/dist/hooks/useForm.js +31 -8
- package/mobile/dist/hooks/useForm.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +9 -4
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js +22 -0
- package/mobile/dist/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/dist/ui-kit/Dialog/CloseButton.js +1 -1
- package/mobile/dist/ui-kit/Dialog/CloseButton.js.map +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/dist/ui-kit/Dialog/useDialogProps.d.ts +1 -1
- package/mobile/dist/ui-kit/Dialog/useDialogProps.js +2 -2
- package/mobile/dist/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +4 -11
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -2
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
- package/mobile/dist/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +12 -0
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
- package/mobile/dist/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
- package/mobile/dist/ui-kit/PhoneInput/normalizePhone.js +17 -0
- package/mobile/dist/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.d.ts +6 -7
- package/mobile/dist/ui-kit/Select/Select.js +16 -25
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
- package/mobile/dist/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/dist/validation/and.d.ts +2 -0
- package/mobile/dist/validation/and.js +5 -0
- package/mobile/dist/validation/and.js.map +1 -0
- package/mobile/dist/validation/objectValidator.d.ts +2 -0
- package/mobile/dist/validation/objectValidator.js +7 -0
- package/mobile/dist/validation/objectValidator.js.map +1 -0
- package/mobile/dist/validation/pattern.d.ts +1 -0
- package/mobile/dist/validation/pattern.js +6 -0
- package/mobile/dist/validation/pattern.js.map +1 -0
- package/mobile/dist/validation/required.d.ts +1 -0
- package/mobile/dist/validation/required.js +5 -0
- package/mobile/dist/validation/required.js.map +1 -0
- package/mobile/dist/validation/validator.d.ts +10 -0
- package/mobile/dist/validation/validator.js +9 -0
- package/mobile/dist/validation/validator.js.map +1 -0
- package/mobile/dist/validation/withValidator.d.ts +10 -0
- package/mobile/dist/validation/withValidator.js +13 -0
- package/mobile/dist/validation/withValidator.js.map +1 -0
- package/mobile/lib/common.css +1 -0
- package/mobile/lib/components/ApplicationForm/AcquiringFormState.d.ts +11 -0
- package/mobile/lib/components/ApplicationForm/AcquiringFormState.js +2 -0
- package/mobile/lib/components/ApplicationForm/AcquiringFormState.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +4 -3
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.d.ts +1 -11
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +28 -48
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.d.ts +1 -8
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +24 -32
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +1 -13
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +28 -48
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.d.ts +1 -5
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +21 -23
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.d.ts +1 -11
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +22 -37
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/mobile/lib/components/ApplicationForm/BusinessCardFormState.d.ts +8 -0
- package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js +2 -0
- package/mobile/lib/components/ApplicationForm/BusinessCardFormState.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/CreditFormState.d.ts +13 -0
- package/mobile/lib/components/ApplicationForm/CreditFormState.js +2 -0
- package/mobile/lib/components/ApplicationForm/CreditFormState.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/CreditParameters.d.ts +3 -3
- package/mobile/lib/components/ApplicationForm/CreditParameters.js +5 -5
- package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/DepositFormState.d.ts +4 -0
- package/mobile/lib/components/ApplicationForm/DepositFormState.js +2 -0
- package/mobile/lib/components/ApplicationForm/DepositFormState.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/InputControl.d.ts +4 -5
- package/mobile/lib/components/ApplicationForm/InputControl.js +1 -3
- package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.d.ts +2 -0
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js +6 -0
- package/mobile/lib/components/ApplicationForm/PhoneInputControl.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ResponseNotification.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/ResponseNotification.js +4 -4
- package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +2 -9
- package/mobile/lib/components/ApplicationForm/SelectControl.js +1 -7
- package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/WedFormState.d.ts +10 -0
- package/mobile/lib/components/ApplicationForm/WedFormState.js +2 -0
- package/mobile/lib/components/ApplicationForm/WedFormState.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/models.d.ts +0 -6
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +3 -10
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +4 -2
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +6 -9
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +3 -2
- package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +3 -10
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +4 -2
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +3 -12
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +4 -2
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +3 -9
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +4 -17
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +3 -11
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +4 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +6 -8
- package/mobile/lib/components/ApplicationForm/renderRegion.js +3 -2
- package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +6 -9
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +6 -2
- package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.d.ts +3 -9
- package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderSlideCheckboxes.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js +2 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +3 -10
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +4 -2
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/validators.d.ts +4 -0
- package/mobile/lib/components/ApplicationForm/validators.js +9 -0
- package/mobile/lib/components/ApplicationForm/validators.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.js +5 -1
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessBlock.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/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js +1 -1
- package/mobile/lib/components/Carousel/CarouselScrollButtons.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +2 -2
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
- package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +2 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/lib/components/Filtration/Filtration.js +3 -2
- package/mobile/lib/components/Filtration/Filtration.js.map +1 -1
- package/mobile/lib/components/Filtration/renderFormItem.d.ts +2 -2
- package/mobile/lib/components/Filtration/renderFormItem.js +4 -4
- package/mobile/lib/components/Filtration/renderFormItem.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +1 -1
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/mobile/lib/components/SafeDepositRental/WrapperSelect.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/useGetRegions.js +2 -1
- package/mobile/lib/components/SafeDepositRental/useGetRegions.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.js +14 -9
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +1 -2
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/hooks/useForm.d.ts +13 -12
- package/mobile/lib/hooks/useForm.js +31 -8
- package/mobile/lib/hooks/useForm.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +9 -4
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +2 -2
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.d.ts +8 -0
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js +20 -0
- package/mobile/lib/ui-kit/CookiePopup/CookiePopup.js.map +1 -0
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -14
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/lib/ui-kit/Dialog/CloseButton.js +1 -1
- package/mobile/lib/ui-kit/Dialog/CloseButton.js.map +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js +1 -1
- package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -1
- package/mobile/lib/ui-kit/Dialog/useDialogProps.d.ts +1 -1
- package/mobile/lib/ui-kit/Dialog/useDialogProps.js +2 -2
- package/mobile/lib/ui-kit/Dialog/useDialogProps.js.map +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +4 -11
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -2
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.d.ts +1 -0
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js +2 -2
- package/mobile/lib/ui-kit/LinkWrapper/LinkWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +2 -0
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +10 -0
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -0
- package/mobile/lib/ui-kit/PhoneInput/normalizePhone.d.ts +1 -0
- package/mobile/lib/ui-kit/PhoneInput/normalizePhone.js +14 -0
- package/mobile/lib/ui-kit/PhoneInput/normalizePhone.js.map +1 -0
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.d.ts +6 -7
- package/mobile/lib/ui-kit/Select/Select.js +17 -26
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js +2 -1
- package/mobile/lib/ui-kit/SlideCheckbox/SlideCheckbox.js.map +1 -1
- package/mobile/lib/validation/and.d.ts +2 -0
- package/mobile/lib/validation/and.js +2 -0
- package/mobile/lib/validation/and.js.map +1 -0
- package/mobile/lib/validation/objectValidator.d.ts +2 -0
- package/mobile/lib/validation/objectValidator.js +4 -0
- package/mobile/lib/validation/objectValidator.js.map +1 -0
- package/mobile/lib/validation/pattern.d.ts +1 -0
- package/mobile/lib/validation/pattern.js +3 -0
- package/mobile/lib/validation/pattern.js.map +1 -0
- package/mobile/lib/validation/required.d.ts +1 -0
- package/mobile/lib/validation/required.js +3 -0
- package/mobile/lib/validation/required.js.map +1 -0
- package/mobile/lib/validation/validator.d.ts +10 -0
- package/mobile/lib/validation/validator.js +4 -0
- package/mobile/lib/validation/validator.js.map +1 -0
- package/mobile/lib/validation/withValidator.d.ts +10 -0
- package/mobile/lib/validation/withValidator.js +10 -0
- package/mobile/lib/validation/withValidator.js.map +1 -0
- package/mobile/src/components/ApplicationForm/AcquiringFormState.ts +12 -0
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +6 -5
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +43 -71
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +37 -51
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +49 -84
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +41 -67
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +40 -64
- package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
- package/mobile/src/components/ApplicationForm/BusinessCardFormState.ts +9 -0
- package/mobile/src/components/ApplicationForm/CreditFormState.ts +14 -0
- package/mobile/src/components/ApplicationForm/CreditParameters.ts +5 -5
- package/mobile/src/components/ApplicationForm/DepositFormState.ts +4 -0
- package/mobile/src/components/ApplicationForm/InputControl.tsx +21 -21
- package/mobile/src/components/ApplicationForm/PhoneInputControl.tsx +26 -0
- package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +7 -7
- package/mobile/src/components/ApplicationForm/SelectControl.tsx +14 -48
- package/mobile/src/components/ApplicationForm/WedFormState.ts +10 -0
- package/mobile/src/components/ApplicationForm/models.ts +0 -8
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +11 -36
- package/mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx +12 -33
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +13 -36
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -44
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +27 -30
- package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +21 -40
- package/mobile/src/components/ApplicationForm/renderRegion.tsx +10 -22
- package/mobile/src/components/ApplicationForm/renderRegionDepartment.tsx +15 -32
- package/mobile/src/components/ApplicationForm/renderSlideCheckboxes.tsx +5 -23
- package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +2 -1
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +11 -36
- package/mobile/src/components/ApplicationForm/validators.ts +17 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +5 -1
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +3 -3
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/mobile/src/components/Carousel/Carousel.tsx +1 -1
- package/mobile/src/components/Carousel/CarouselScrollButtons.tsx +7 -3
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +2 -1
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
- package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/mobile/src/components/ContentPage/ContentPage.tsx +5 -0
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +3 -3
- package/mobile/src/components/Filtration/Filtration.tsx +6 -4
- package/mobile/src/components/Filtration/renderFormItem.tsx +5 -5
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/mobile/src/components/Headline/Headline.tsx +1 -1
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/WrapperSelect.tsx +2 -2
- package/mobile/src/components/SafeDepositRental/useGetRegions.ts +3 -1
- package/mobile/src/components/TariffsTable/TariffsTable.ui.json +3 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +56 -22
- package/mobile/src/components/TextBlock/TextBlockContent.ts +1 -3
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/mobile/src/hooks/useForm.ts +61 -13
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +39 -25
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
- package/mobile/src/ui-kit/CookiePopup/CookiePopup.tsx +64 -0
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +8 -16
- package/mobile/src/ui-kit/Dialog/CloseButton.tsx +1 -1
- package/mobile/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/mobile/src/ui-kit/Dialog/useDialogProps.ts +2 -1
- package/mobile/src/ui-kit/Input/Input.tsx +11 -19
- package/mobile/src/ui-kit/Input/InputProps.ts +4 -2
- package/mobile/src/ui-kit/LinkWrapper/LinkWrapper.tsx +13 -10
- package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +19 -0
- package/mobile/src/ui-kit/PhoneInput/normalizePhone.ts +23 -0
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +48 -55
- package/mobile/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +13 -12
- package/mobile/src/validation/and.ts +6 -0
- package/mobile/src/validation/objectValidator.ts +10 -0
- package/mobile/src/validation/pattern.ts +4 -0
- package/mobile/src/validation/required.ts +3 -0
- package/mobile/src/validation/validator.ts +21 -0
- package/mobile/src/validation/withValidator.ts +21 -0
- package/package.json +2 -2
- package/src/components/ApplicationForm/AcquiringFormState.ts +12 -0
- package/src/components/ApplicationForm/ApplicationForm.tsx +6 -5
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +43 -71
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +37 -51
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +49 -84
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +41 -67
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +40 -64
- package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
- package/src/components/ApplicationForm/BusinessCardFormState.ts +9 -0
- package/src/components/ApplicationForm/CreditFormState.ts +14 -0
- package/src/components/ApplicationForm/CreditParameters.ts +5 -5
- package/src/components/ApplicationForm/DepositFormState.ts +4 -0
- package/src/components/ApplicationForm/InputControl.tsx +21 -21
- package/src/components/ApplicationForm/PhoneInputControl.tsx +26 -0
- package/src/components/ApplicationForm/ResponseNotification.tsx +7 -7
- package/src/components/ApplicationForm/SelectControl.tsx +14 -48
- package/src/components/ApplicationForm/WedFormState.ts +10 -0
- package/src/components/ApplicationForm/models.ts +0 -8
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +11 -36
- package/src/components/ApplicationForm/renderAcquiringRegion.tsx +12 -33
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +13 -36
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +13 -44
- package/src/components/ApplicationForm/renderCreditParameters.tsx +27 -30
- package/src/components/ApplicationForm/renderQuestionsInterested.tsx +21 -40
- package/src/components/ApplicationForm/renderRegion.tsx +10 -22
- package/src/components/ApplicationForm/renderRegionDepartment.tsx +15 -32
- package/src/components/ApplicationForm/renderSlideCheckboxes.tsx +5 -23
- package/src/components/ApplicationForm/renderSubmitButton.tsx +2 -1
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +11 -36
- package/src/components/ApplicationForm/validators.ts +17 -0
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +5 -1
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -1
- package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
- package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +3 -3
- package/src/components/Calculator/CreditCalculatorForm.tsx +4 -4
- package/src/components/CardTransfer/CardTransfer.tsx +1 -1
- package/src/components/Carousel/Carousel.fixture.tsx +1 -1
- package/src/components/Carousel/Carousel.tsx +1 -1
- package/src/components/Carousel/CarouselScrollButtons.tsx +7 -3
- package/src/components/CarouselLinks/CarouselLinks.tsx +1 -1
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +2 -1
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +1 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +2 -2
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +1 -1
- package/src/components/ContentPage/ContentPage.tsx +5 -0
- package/src/components/ExchangeRateTile/renderInput.tsx +3 -3
- package/src/components/Filtration/Filtration.tsx +6 -4
- package/src/components/Filtration/renderFormItem.tsx +5 -5
- package/src/components/GracePeriod/GracePeriod.tsx +1 -1
- package/src/components/Headline/Headline.tsx +1 -1
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +1 -1
- package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +21 -0
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.tsx +5 -2
- package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +51 -0
- package/src/components/SafeDepositRental/WrapperSelect.tsx +2 -2
- package/src/components/SafeDepositRental/useGetRegions.ts +3 -1
- package/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.ui.json +3 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +43 -50
- package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
- package/src/components/TextBlock/TextBlock.tsx +36 -12
- package/src/components/TextBlock/TextBlockContent.ts +1 -3
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +90 -0
- package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
- package/src/hooks/useForm.ts +61 -13
- package/src/ui-kit/Checkbox/Checkbox.tsx +39 -25
- package/src/ui-kit/Checkbox/CheckboxProps.ts +2 -2
- package/src/ui-kit/CookiePopup/CookiePopup.tsx +64 -0
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +8 -16
- package/src/ui-kit/Dialog/CloseButton.tsx +1 -1
- package/src/ui-kit/Dialog/Dialog.tsx +1 -1
- package/src/ui-kit/Dialog/useDialogProps.ts +2 -1
- package/src/ui-kit/Input/Input.tsx +11 -19
- package/src/ui-kit/Input/InputProps.ts +4 -2
- package/src/ui-kit/LinkWrapper/LinkWrapper.tsx +13 -10
- package/src/ui-kit/List/List.fixture.tsx +4 -4
- package/src/ui-kit/PhoneInput/PhoneInput.tsx +19 -0
- package/src/ui-kit/PhoneInput/normalizePhone.ts +23 -0
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +1 -1
- package/src/ui-kit/RichText/RichText.fixture.tsx +1 -1
- package/src/ui-kit/Select/Select.tsx +48 -55
- package/src/ui-kit/SlideCheckbox/SlideCheckbox.tsx +13 -12
- package/src/ui-kit/Tags/Tags.fixture.tsx +1 -1
- package/src/validation/and.ts +6 -0
- package/src/validation/objectValidator.ts +10 -0
- package/src/validation/pattern.ts +4 -0
- package/src/validation/required.ts +3 -0
- package/src/validation/validator.ts +21 -0
- package/src/validation/withValidator.ts +21 -0
- package/tailwind.config.cjs +4 -0
- package/bin/migration-scripts/0.9.3.js +0 -88
- package/bundle/components/ApplicationForm/renderInputRange.d.ts +0 -11
- package/bundle/components/ApplicationForm/useForm.d.ts +0 -14
- package/bundle/components/ApplicationForm/validate.d.ts +0 -1
- package/bundle/components/TextBlock/TextBlock.mobile.d.ts +0 -5
- package/dist/components/ApplicationForm/renderInputRange.d.ts +0 -11
- package/dist/components/ApplicationForm/renderInputRange.js +0 -8
- package/dist/components/ApplicationForm/renderInputRange.js.map +0 -1
- package/dist/components/ApplicationForm/useForm.d.ts +0 -14
- package/dist/components/ApplicationForm/useForm.js +0 -37
- package/dist/components/ApplicationForm/useForm.js.map +0 -1
- package/dist/components/ApplicationForm/validate.d.ts +0 -1
- package/dist/components/ApplicationForm/validate.js +0 -22
- package/dist/components/ApplicationForm/validate.js.map +0 -1
- package/dist/components/TextBlock/TextBlock.mobile.d.ts +0 -5
- package/dist/components/TextBlock/TextBlock.mobile.js +0 -16
- package/dist/components/TextBlock/TextBlock.mobile.js.map +0 -1
- package/lib/components/ApplicationForm/renderInputRange.d.ts +0 -11
- package/lib/components/ApplicationForm/renderInputRange.js +0 -5
- package/lib/components/ApplicationForm/renderInputRange.js.map +0 -1
- package/lib/components/ApplicationForm/useForm.d.ts +0 -14
- package/lib/components/ApplicationForm/useForm.js +0 -34
- package/lib/components/ApplicationForm/useForm.js.map +0 -1
- package/lib/components/ApplicationForm/validate.d.ts +0 -1
- package/lib/components/ApplicationForm/validate.js +0 -19
- package/lib/components/ApplicationForm/validate.js.map +0 -1
- package/lib/components/TextBlock/TextBlock.mobile.d.ts +0 -5
- package/lib/components/TextBlock/TextBlock.mobile.js +0 -14
- package/lib/components/TextBlock/TextBlock.mobile.js.map +0 -1
- package/mobile/bundle/components/ApplicationForm/renderInputRange.d.ts +0 -11
- package/mobile/bundle/components/ApplicationForm/useForm.d.ts +0 -14
- package/mobile/bundle/components/ApplicationForm/validate.d.ts +0 -1
- package/mobile/dist/components/ApplicationForm/renderInputRange.d.ts +0 -11
- package/mobile/dist/components/ApplicationForm/renderInputRange.js +0 -8
- package/mobile/dist/components/ApplicationForm/renderInputRange.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/useForm.d.ts +0 -14
- package/mobile/dist/components/ApplicationForm/useForm.js +0 -37
- package/mobile/dist/components/ApplicationForm/useForm.js.map +0 -1
- package/mobile/dist/components/ApplicationForm/validate.d.ts +0 -1
- package/mobile/dist/components/ApplicationForm/validate.js +0 -22
- package/mobile/dist/components/ApplicationForm/validate.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/renderInputRange.d.ts +0 -11
- package/mobile/lib/components/ApplicationForm/renderInputRange.js +0 -5
- package/mobile/lib/components/ApplicationForm/renderInputRange.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/useForm.d.ts +0 -14
- package/mobile/lib/components/ApplicationForm/useForm.js +0 -34
- package/mobile/lib/components/ApplicationForm/useForm.js.map +0 -1
- package/mobile/lib/components/ApplicationForm/validate.d.ts +0 -1
- package/mobile/lib/components/ApplicationForm/validate.js +0 -19
- package/mobile/lib/components/ApplicationForm/validate.js.map +0 -1
- package/mobile/src/components/ApplicationForm/renderInputRange.tsx +0 -20
- package/mobile/src/components/ApplicationForm/useForm.ts +0 -65
- package/mobile/src/components/ApplicationForm/validate.ts +0 -22
- package/src/components/ApplicationForm/renderInputRange.tsx +0 -20
- package/src/components/ApplicationForm/useForm.ts +0 -65
- package/src/components/ApplicationForm/validate.ts +0 -22
- package/src/components/TextBlock/TextBlock.mobile.tsx +0 -42
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessCardFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/BusinessCardFormState.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Option } from '../../ui-kit/Select/Select';
|
|
2
|
+
export interface CreditFormState {
|
|
3
|
+
amount: number;
|
|
4
|
+
term: number;
|
|
5
|
+
fullName: string;
|
|
6
|
+
inn: string;
|
|
7
|
+
name: string;
|
|
8
|
+
phone: string;
|
|
9
|
+
mail: string;
|
|
10
|
+
region?: Option;
|
|
11
|
+
department?: Option;
|
|
12
|
+
annualRevenue: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreditFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/CreditFormState.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const MIN_CREDIT_AMOUNT =
|
|
2
|
-
export declare const MAX_CREDIT_AMOUNT =
|
|
1
|
+
export declare const MIN_CREDIT_AMOUNT = 1000;
|
|
2
|
+
export declare const MAX_CREDIT_AMOUNT = 1000000000;
|
|
3
3
|
export declare const ITEMS_CREDIT_AMOUNT: string[];
|
|
4
4
|
export declare const MIN_CREDIT_TERM = 1;
|
|
5
|
-
export declare const MAX_CREDIT_TERM =
|
|
5
|
+
export declare const MAX_CREDIT_TERM = 180;
|
|
6
6
|
export declare const ITEMS_CREDIT_TERM: string[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.ITEMS_CREDIT_TERM = exports.MAX_CREDIT_TERM = exports.MIN_CREDIT_TERM = exports.ITEMS_CREDIT_AMOUNT = exports.MAX_CREDIT_AMOUNT = exports.MIN_CREDIT_AMOUNT = void 0;
|
|
3
|
-
exports.MIN_CREDIT_AMOUNT =
|
|
4
|
-
exports.MAX_CREDIT_AMOUNT =
|
|
5
|
-
exports.ITEMS_CREDIT_AMOUNT = ['От
|
|
3
|
+
exports.MIN_CREDIT_AMOUNT = 1000;
|
|
4
|
+
exports.MAX_CREDIT_AMOUNT = 1000000000;
|
|
5
|
+
exports.ITEMS_CREDIT_AMOUNT = ['От 1 000 ₽', 'До 1 000 000 000 ₽'];
|
|
6
6
|
exports.MIN_CREDIT_TERM = 1;
|
|
7
|
-
exports.MAX_CREDIT_TERM =
|
|
8
|
-
exports.ITEMS_CREDIT_TERM = ['От 1
|
|
7
|
+
exports.MAX_CREDIT_TERM = 180;
|
|
8
|
+
exports.ITEMS_CREDIT_TERM = ['От 1 мес', 'До 15 лет'];
|
|
9
9
|
//# sourceMappingURL=CreditParameters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditParameters.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/CreditParameters.ts"],"names":[],"mappings":";;AAAa,QAAA,iBAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"CreditParameters.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/CreditParameters.ts"],"names":[],"mappings":";;AAAa,QAAA,iBAAiB,GAAG,IAAI,CAAC;AACzB,QAAA,iBAAiB,GAAG,UAAU,CAAC;AAC/B,QAAA,mBAAmB,GAAG,CAAC,YAAY,EAAE,oBAAoB,CAAC,CAAC;AAE3D,QAAA,eAAe,GAAG,CAAC,CAAC;AACpB,QAAA,eAAe,GAAG,GAAG,CAAC;AACtB,QAAA,iBAAiB,GAAG,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepositFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/DepositFormState.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
interface InputControlProps {
|
|
1
|
+
export interface InputControlProps {
|
|
2
2
|
className: string;
|
|
3
3
|
label: string;
|
|
4
|
-
value
|
|
4
|
+
value?: string;
|
|
5
5
|
error?: string;
|
|
6
|
-
onChange
|
|
7
|
-
onBlur?: (
|
|
6
|
+
onChange?: (value: string) => void;
|
|
7
|
+
onBlur?: () => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const InputControl: import("@redneckz/uni-jsx").UNIComponent<InputControlProps, any, any>;
|
|
10
|
-
export {};
|
|
@@ -4,7 +4,5 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Input_1 = require("../../ui-kit/Input/Input");
|
|
6
6
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
7
|
-
exports.InputControl = (0, uni_jsx_1.JSX)(({ className, label, value, error, onChange, onBlur }) => {
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), (0, jsx_runtime_1.jsx)("div", { className: "h-2", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xs-light", color: "text-error", children: error ? error : null }) })] }));
|
|
9
|
-
});
|
|
7
|
+
exports.InputControl = (0, uni_jsx_1.JSX)(({ className, label, value = '', error, onChange, onBlur }) => ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { type: "text", "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), (0, jsx_runtime_1.jsx)("div", { className: "h-2", children: error ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xs-light", color: "text-error", children: error })) : null })] })));
|
|
10
8
|
//# sourceMappingURL=InputControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputControl.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/InputControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,oDAAiD;AACjD,iDAA8C;AAWjC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"InputControl.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/InputControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,oDAAiD;AACjD,iDAA8C;AAWjC,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAC7D,iCAAK,SAAS,EAAE,SAAS,aACvB,uBAAC,aAAK,IACJ,IAAI,EAAC,MAAM,gBACC,KAAK,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,OAAO,CAAC,CAAC,KAAK,CAAC,EACtB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,GACd,EACF,gCAAK,SAAS,EAAC,KAAK,YACjB,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,eAAe,EAAC,KAAK,EAAC,YAAY,YAC1C,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,GACJ,IACF,CACP,CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.PhoneInputControl = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const PhoneInput_1 = require("../../ui-kit/PhoneInput/PhoneInput");
|
|
6
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
7
|
+
exports.PhoneInputControl = (0, uni_jsx_1.JSX)(({ className, label, value, error, onChange, onBlur }) => ((0, jsx_runtime_1.jsxs)("div", { className: className, children: [(0, jsx_runtime_1.jsx)(PhoneInput_1.PhoneInput, { "aria-label": label, label: label, valid: Boolean(!error), value: value, onChange: onChange, onBlur: onBlur }), (0, jsx_runtime_1.jsx)("div", { className: "h-2", children: error ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xs-light", color: "text-error", children: error })) : null })] })));
|
|
8
|
+
//# sourceMappingURL=PhoneInputControl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhoneInputControl.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/PhoneInputControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mEAAgE;AAChE,iDAA8C;AAGjC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CACxD,iCAAK,SAAS,EAAE,SAAS,aACvB,uBAAC,uBAAU,kBACG,KAAK,EACjB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,OAAO,CAAC,CAAC,KAAK,CAAC,EACtB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,GACd,EACF,gCAAK,SAAS,EAAC,KAAK,YACjB,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,eAAe,EAAC,KAAK,EAAC,YAAY,YAC1C,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,GACJ,IACF,CACP,CACF,CAAC"}
|
|
@@ -5,9 +5,9 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
6
6
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
7
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
8
|
-
exports.ResponseNotification = (0, uni_jsx_1.JSX)(({
|
|
9
|
-
const
|
|
10
|
-
const backgroundColor =
|
|
11
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex items-center mt-5 p-5 rounded-md ${backgroundColor}`, children: [
|
|
8
|
+
exports.ResponseNotification = (0, uni_jsx_1.JSX)(({ responseType }) => {
|
|
9
|
+
const responseOK = responseType === 'OK';
|
|
10
|
+
const backgroundColor = responseOK ? 'bg-responce-ok' : 'bg-responce-fail';
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex items-center mt-5 p-5 rounded-md ${backgroundColor}`, children: [responseOK ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42", className: "mr-4" })) : ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34", className: "mr-4" })), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=ResponseNotification.js.map
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
fieldLabel: string;
|
|
4
|
-
fieldValue?: string;
|
|
5
|
-
selected: string;
|
|
6
|
-
setSelected: (value: string) => void;
|
|
7
|
-
label: string;
|
|
8
|
-
placeholder?: string;
|
|
1
|
+
import { SelectProps } from '../../ui-kit/Select/Select';
|
|
2
|
+
interface SelectControlProps extends SelectProps {
|
|
9
3
|
error?: string;
|
|
10
|
-
onValidate?: (value: string) => void;
|
|
11
4
|
}
|
|
12
5
|
export declare const SelectControl: import("@redneckz/uni-jsx").UNIComponent<SelectControlProps, any, any>;
|
|
13
6
|
export {};
|
|
@@ -4,11 +4,5 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const Select_1 = require("../../ui-kit/Select/Select");
|
|
6
6
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
7
|
-
exports.SelectControl = (0, uni_jsx_1.JSX)((
|
|
8
|
-
const dataFormat = data
|
|
9
|
-
.filter(Boolean)
|
|
10
|
-
.map((_) => ({ key: _?.[fieldValue || fieldLabel], text: _?.[fieldLabel] }));
|
|
11
|
-
const selectedObj = dataFormat.find((_) => _.key === selected);
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Select_1.Select, { options: dataFormat, label: label, valid: Boolean(!error), placeholder: placeholder || selected, onChange: (_) => setSelected(_.key), value: selectedObj, onValidate: onValidate }), (0, jsx_runtime_1.jsx)("div", { className: "h-2", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xs-light", color: "text-error", children: error ? error : null }) })] }));
|
|
13
|
-
});
|
|
7
|
+
exports.SelectControl = (0, uni_jsx_1.JSX)((props) => ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)(Select_1.Select, { ...props, valid: !props.error }), (0, jsx_runtime_1.jsx)("div", { className: "h-2", children: props.error ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xs-light", color: "text-error", children: props.error })) : null })] })));
|
|
14
8
|
//# sourceMappingURL=SelectControl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectControl.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/SelectControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AACjE,iDAA8C;
|
|
1
|
+
{"version":3,"file":"SelectControl.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/SelectControl.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAiE;AACjE,iDAA8C;AAMjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,KAAK,EAAE,EAAE,CAAC,CAC9D,4CACE,uBAAC,eAAM,OAAK,KAAK,EAAE,KAAK,EAAE,CAAC,KAAK,CAAC,KAAK,GAAI,EAC1C,gCAAK,SAAS,EAAC,KAAK,YACjB,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CACb,uBAAC,WAAI,IAAC,IAAI,EAAC,eAAe,EAAC,KAAK,EAAC,YAAY,YAC1C,KAAK,CAAC,KAAK,GACP,CACR,CAAC,CAAC,CAAC,IAAI,GACJ,IACF,CACP,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WedFormState.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/WedFormState.ts"],"names":[],"mappings":""}
|
|
@@ -3,9 +3,3 @@ export interface Select {
|
|
|
3
3
|
code?: string;
|
|
4
4
|
name?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare type HandleFormStateChange<T> = (state: Partial<T>) => void;
|
|
7
|
-
export interface DataOrganization<T> {
|
|
8
|
-
handleChange: HandleFormStateChange<T>;
|
|
9
|
-
errors: Record<string, string>;
|
|
10
|
-
handleChangeErrors: (state: any) => void;
|
|
11
|
-
}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
fullName: string;
|
|
6
|
-
inn: string;
|
|
7
|
-
name: string;
|
|
8
|
-
phone: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const renderAcquiringDataOrganization: ({ fullName, inn, name, phone, handleChange, errors, handleChangeErrors, }: RenderAcquiringDataOrganizationProps) => JSX.Element;
|
|
11
|
-
export {};
|
|
2
|
+
import { FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
+
import { AcquiringFormState } from './AcquiringFormState';
|
|
4
|
+
export declare const renderAcquiringDataOrganization: (field: FormFieldRegisterer<AcquiringFormState>) => JSX.Element;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderAcquiringDataOrganization = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const withValidator_1 = require("../../validation/withValidator");
|
|
4
5
|
const InputControl_1 = require("./InputControl");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
6
|
+
const PhoneInputControl_1 = require("./PhoneInputControl");
|
|
7
|
+
const validators_1 = require("./validators");
|
|
8
|
+
const renderAcquiringDataOrganization = (field) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-5", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...(0, withValidator_1.withValidator)(field('fullName'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...(0, withValidator_1.withValidator)(field('name'), validators_1.nameValidator) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u0418\u041D\u041D", ...(0, withValidator_1.withValidator)(field('inn'), validators_1.innValidator) }), (0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) })] })] }));
|
|
7
9
|
exports.renderAcquiringDataOrganization = renderAcquiringDataOrganization;
|
|
8
10
|
//# sourceMappingURL=renderAcquiringDataOrganization.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderAcquiringDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderAcquiringDataOrganization.tsx"],"names":[],"mappings":";;;AACA,iDAA8C;
|
|
1
|
+
{"version":3,"file":"renderAcquiringDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderAcquiringDataOrganization.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAE/D,iDAA8C;AAC9C,2DAAwD;AACxD,6CAA6F;AAEtF,MAAM,+BAA+B,GAAG,CAAC,KAA8C,EAAE,EAAE,CAAC,CACjG,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,6IAA0B,KAC5B,IAAA,6BAAa,EAAC,KAAK,CAAC,UAAU,CAAC,EAAE,6BAAgB,CAAC,GACtD,EACF,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,uFAAiB,KACnB,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE,0BAAa,CAAC,GAC/C,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,oBAAK,KACP,IAAA,6BAAa,EAAC,KAAK,CAAC,KAAK,CAAC,EAAE,yBAAY,CAAC,GAC7C,EACF,uBAAC,qCAAiB,IAChB,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,4CAAS,KACX,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,2BAAc,CAAC,GACjD,IACE,IACF,CACP,CAAC;AA3BW,QAAA,+BAA+B,mCA2B1C"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
+
import type { AcquiringFormState } from './AcquiringFormState';
|
|
4
|
+
import type { Select } from './models';
|
|
5
|
+
interface AcquiringRegionProps {
|
|
6
6
|
regions: Select[];
|
|
7
|
-
|
|
8
|
-
handleChange: HandleFormStateChange<AcquiringFormState>;
|
|
9
|
-
errors: Record<string, string>;
|
|
10
|
-
handleChangeErrors: (state: any) => void;
|
|
7
|
+
field: FormFieldRegisterer<AcquiringFormState>;
|
|
11
8
|
}
|
|
12
|
-
export declare const renderAcquiringRegion: ({
|
|
9
|
+
export declare const renderAcquiringRegion: ({ regions, field }: AcquiringRegionProps) => JSX.Element;
|
|
13
10
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderAcquiringRegion = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const withValidator_1 = require("../../validation/withValidator");
|
|
4
5
|
const acquiringTypes_1 = require("./acquiringTypes");
|
|
5
6
|
const SelectControl_1 = require("./SelectControl");
|
|
6
|
-
const
|
|
7
|
-
const renderAcquiringRegion = ({
|
|
7
|
+
const validators_1 = require("./validators");
|
|
8
|
+
const renderAcquiringRegion = ({ regions, field }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(SelectControl_1.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: acquiringTypes_1.ACQUIRING_TYPES.map(({ name: key = '' }) => ({ key, text: key })), ...(0, withValidator_1.withValidator)(field('acquiringType'), validators_1.defaultValidator) }) }), (0, jsx_runtime_1.jsx)("div", { className: "w-1/2", children: (0, jsx_runtime_1.jsx)(SelectControl_1.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 })), ...(0, withValidator_1.withValidator)(field('region'), validators_1.defaultValidator) }) })] }));
|
|
8
9
|
exports.renderAcquiringRegion = renderAcquiringRegion;
|
|
9
10
|
//# sourceMappingURL=renderAcquiringRegion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderAcquiringRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderAcquiringRegion.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"renderAcquiringRegion.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderAcquiringRegion.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAE/D,qDAAmD;AAEnD,mDAAgD;AAChD,6CAAgD;AAOzC,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK,EAAwB,EAAE,EAAE,CAAC,CACjF,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,KAAK,EAAC,iFAAgB,EACtB,WAAW,EAAC,yGAAoB,EAChC,OAAO,EAAE,gCAAe,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,GAAG,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,KACtE,IAAA,6BAAa,EAAC,KAAK,CAAC,eAAe,CAAC,EAAE,6BAAgB,CAAC,GAC3D,GACE,EACN,gCAAK,SAAS,EAAC,OAAO,YACpB,uBAAC,6BAAa,IACZ,KAAK,EAAC,gCAAO,EACb,WAAW,EAAC,iFAAgB,EAC5B,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,GACE,IACF,CACP,CAAC;AAnBW,QAAA,qBAAqB,yBAmBhC"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
name: string;
|
|
6
|
-
phone: string;
|
|
7
|
-
mail: string;
|
|
8
|
-
inn: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const renderBusinessCardDataOrganization: ({ name, phone, mail, inn, handleChange, errors, handleChangeErrors, }: RenderBusinessCardDataOrganizationProps) => JSX.Element;
|
|
11
|
-
export {};
|
|
2
|
+
import { FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
+
import type { BusinessCardFormState } from './BusinessCardFormState';
|
|
4
|
+
export declare const renderBusinessCardDataOrganization: (field: FormFieldRegisterer<BusinessCardFormState>) => JSX.Element;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderBusinessCardDataOrganization = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const withValidator_1 = require("../../validation/withValidator");
|
|
4
5
|
const InputControl_1 = require("./InputControl");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
6
|
+
const PhoneInputControl_1 = require("./PhoneInputControl");
|
|
7
|
+
const validators_1 = require("./validators");
|
|
8
|
+
const renderBusinessCardDataOrganization = (field) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...(0, withValidator_1.withValidator)(field('name'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u0418\u041D\u041D", ...(0, withValidator_1.withValidator)(field('inn'), validators_1.innValidator) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...(0, withValidator_1.withValidator)(field('mail'), validators_1.defaultValidator) })] })] }));
|
|
7
9
|
exports.renderBusinessCardDataOrganization = renderBusinessCardDataOrganization;
|
|
8
10
|
//# sourceMappingURL=renderBusinessCardDataOrganization.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBusinessCardDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx"],"names":[],"mappings":";;;AACA,iDAA8C;
|
|
1
|
+
{"version":3,"file":"renderBusinessCardDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAE/D,iDAA8C;AAC9C,2DAAwD;AACxD,6CAA6F;AAEtF,MAAM,kCAAkC,GAAG,CAChD,KAAiD,EACjD,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,4BAA4B,aACzC,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,uFAAiB,KACnB,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE,0BAAa,CAAC,GAC/C,EACF,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,oBAAK,KACP,IAAA,6BAAa,EAAC,KAAK,CAAC,KAAK,CAAC,EAAE,yBAAY,CAAC,GAC7C,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,qCAAiB,IAChB,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,4CAAS,KACX,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,2BAAc,CAAC,GACjD,EACF,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,mGAAmB,KACrB,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE,6BAAgB,CAAC,GAClD,IACE,IACF,CACP,CAAC;AA7BW,QAAA,kCAAkC,sCA6B7C"}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
fullName: string;
|
|
6
|
-
inn: string;
|
|
7
|
-
name: string;
|
|
8
|
-
phone: string;
|
|
9
|
-
mail: string;
|
|
10
|
-
annualRevenue: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const renderCreditDataOrganization: ({ fullName, inn, name, phone, mail, annualRevenue, handleChange, errors, handleChangeErrors, }: RenderCreditDataOrganizationProps) => JSX.Element;
|
|
13
|
-
export {};
|
|
2
|
+
import { FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
+
import type { CreditFormState } from './CreditFormState';
|
|
4
|
+
export declare const renderCreditDataOrganization: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderCreditDataOrganization = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const withValidator_1 = require("../../validation/withValidator");
|
|
4
5
|
const InputControl_1 = require("./InputControl");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
6
|
+
const PhoneInputControl_1 = require("./PhoneInputControl");
|
|
7
|
+
const validators_1 = require("./validators");
|
|
8
|
+
const renderCreditDataOrganization = (field) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", ...field('fullName') }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u0418\u041D\u041D", ...(0, withValidator_1.withValidator)(field('inn'), validators_1.innValidator) }), (0, jsx_runtime_1.jsx)(PhoneInputControl_1.PhoneInputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...(0, withValidator_1.withValidator)(field('phone'), validators_1.phoneValidator) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u0413\u043E\u0434\u043E\u0432\u0430\u044F \u0432\u044B\u0440\u0443\u0447\u043A\u0430, \u20BD", ...(0, withValidator_1.withValidator)(field('annualRevenue'), validators_1.defaultValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", ...(0, withValidator_1.withValidator)(field('name'), validators_1.nameValidator) }), (0, jsx_runtime_1.jsx)(InputControl_1.InputControl, { className: "shrink-0 text-l w-full mb-3", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...field('mail') })] })] }));
|
|
7
9
|
exports.renderCreditDataOrganization = renderCreditDataOrganization;
|
|
8
10
|
//# sourceMappingURL=renderCreditDataOrganization.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderCreditDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderCreditDataOrganization.tsx"],"names":[],"mappings":";;;AACA,iDAA8C;
|
|
1
|
+
{"version":3,"file":"renderCreditDataOrganization.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderCreditDataOrganization.tsx"],"names":[],"mappings":";;;AACA,kEAA+D;AAE/D,iDAA8C;AAC9C,2DAAwD;AACxD,6CAA6F;AAEtF,MAAM,4BAA4B,GAAG,CAAC,KAA2C,EAAE,EAAE,CAAC,CAC3F,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,6IAA0B,KAC5B,KAAK,CAAC,UAAU,CAAC,GACrB,EACF,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,oBAAK,KACP,IAAA,6BAAa,EAAC,KAAK,CAAC,KAAK,CAAC,EAAE,yBAAY,CAAC,GAC7C,EACF,uBAAC,qCAAiB,IAChB,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,4CAAS,KACX,IAAA,6BAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE,2BAAc,CAAC,GACjD,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,+FAAoB,KACtB,IAAA,6BAAa,EAAC,KAAK,CAAC,eAAe,CAAC,EAAE,6BAAgB,CAAC,GAC3D,EACF,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,uFAAiB,KACnB,IAAA,6BAAa,EAAC,KAAK,CAAC,MAAM,CAAC,EAAE,0BAAa,CAAC,GAC/C,EACF,uBAAC,2BAAY,IACX,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAC,mGAAmB,KACrB,KAAK,CAAC,MAAM,CAAC,GACjB,IACE,IACF,CACP,CAAC;AArCW,QAAA,4BAA4B,gCAqCvC"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
amount: number;
|
|
6
|
-
term: number;
|
|
7
|
-
handleChange: HandleFormStateChange<CreditFormState>;
|
|
8
|
-
}
|
|
9
|
-
export declare const renderCreditParameters: ({ amount, term, handleChange, }: RenderCreditParametersProps) => JSX.Element;
|
|
10
|
-
export {};
|
|
2
|
+
import { FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
+
import type { CreditFormState } from './CreditFormState';
|
|
4
|
+
export declare const renderCreditParameters: (field: FormFieldRegisterer<CreditFormState>) => JSX.Element;
|
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
2
|
exports.renderCreditParameters = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const InputRange_1 = require("../../ui-kit/InputRange/InputRange");
|
|
5
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
4
6
|
const CreditParameters_1 = require("./CreditParameters");
|
|
5
|
-
const
|
|
6
|
-
const renderCreditParameters = ({ amount, term, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, renderInputRange_1.renderInputRange)({
|
|
7
|
-
label: 'Сумма кредита, ₽',
|
|
8
|
-
value: amount,
|
|
9
|
-
onChange: (value) => handleChange({ amount: value }),
|
|
10
|
-
min: CreditParameters_1.MIN_CREDIT_AMOUNT,
|
|
11
|
-
max: CreditParameters_1.MAX_CREDIT_AMOUNT,
|
|
12
|
-
items: CreditParameters_1.ITEMS_CREDIT_AMOUNT,
|
|
13
|
-
}), (0, renderInputRange_1.renderInputRange)({
|
|
14
|
-
label: 'Срок кредита, месяцев',
|
|
15
|
-
value: term,
|
|
16
|
-
onChange: (value) => handleChange({ term: value }),
|
|
17
|
-
min: CreditParameters_1.MIN_CREDIT_TERM,
|
|
18
|
-
max: CreditParameters_1.MAX_CREDIT_TERM,
|
|
19
|
-
items: CreditParameters_1.ITEMS_CREDIT_TERM,
|
|
20
|
-
})] }));
|
|
7
|
+
const renderCreditParameters = (field) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5 mb-7", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)("label", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m-light", children: "\u0421\u0443\u043C\u043C\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u20BD" }) }), (0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { items: CreditParameters_1.ITEMS_CREDIT_AMOUNT, min: CreditParameters_1.MIN_CREDIT_AMOUNT, max: CreditParameters_1.MAX_CREDIT_AMOUNT, ...field('amount') })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)("label", { children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m-light", children: "\u0421\u0440\u043E\u043A \u043A\u0440\u0435\u0434\u0438\u0442\u0430, \u043C\u0435\u0441\u044F\u0446\u0435\u0432" }) }), (0, jsx_runtime_1.jsx)(InputRange_1.InputRange, { items: CreditParameters_1.ITEMS_CREDIT_TERM, min: CreditParameters_1.MIN_CREDIT_TERM, max: CreditParameters_1.MAX_CREDIT_TERM, ...field('term') })] })] }));
|
|
21
8
|
exports.renderCreditParameters = renderCreditParameters;
|
|
22
9
|
//# sourceMappingURL=renderCreditParameters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderCreditParameters.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderCreditParameters.tsx"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"renderCreditParameters.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderCreditParameters.tsx"],"names":[],"mappings":";;;AACA,mEAAgE;AAChE,iDAA8C;AAE9C,yDAO4B;AAErB,MAAM,sBAAsB,GAAG,CAAC,KAA2C,EAAE,EAAE,CAAC,CACrF,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,iCAAK,SAAS,EAAC,OAAO,aACpB,4CACE,uBAAC,WAAI,IAAC,IAAI,EAAC,cAAc,kGAAwB,GAC3C,EACR,uBAAC,uBAAU,IACT,KAAK,EAAE,sCAAmB,EAC1B,GAAG,EAAE,oCAAiB,EACtB,GAAG,EAAE,oCAAiB,KAClB,KAAK,CAAC,QAAQ,CAAC,GACnB,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,4CACE,uBAAC,WAAI,IAAC,IAAI,EAAC,cAAc,gIAA6B,GAChD,EACR,uBAAC,uBAAU,IACT,KAAK,EAAE,oCAAiB,EACxB,GAAG,EAAE,kCAAe,EACpB,GAAG,EAAE,kCAAe,KAChB,KAAK,CAAC,MAAM,CAAC,GACjB,IACE,IACF,CACP,CAAC;AAzBW,QAAA,sBAAsB,0BAyBjC"}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
import type {
|
|
4
|
-
|
|
5
|
-
currencyControl: boolean;
|
|
6
|
-
documentaryOperations: boolean;
|
|
7
|
-
conversionOperations: boolean;
|
|
8
|
-
text: string;
|
|
9
|
-
handleChange: HandleFormStateChange<WedFormState>;
|
|
10
|
-
}
|
|
11
|
-
export declare const renderQuestionsInterested: ({ currencyControl, documentaryOperations, conversionOperations, text, handleChange, }: RenderQuestionsInterestedProps) => JSX.Element;
|
|
12
|
-
export {};
|
|
2
|
+
import { FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
+
import type { WedFormState } from './WedFormState';
|
|
4
|
+
export declare const renderQuestionsInterested: (field: FormFieldRegisterer<WedFormState>) => JSX.Element;
|
|
@@ -2,6 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.renderQuestionsInterested = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
5
|
-
const renderQuestionsInterested = (
|
|
5
|
+
const renderQuestionsInterested = (field) => {
|
|
6
|
+
const textField = field('text');
|
|
7
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "mb-6", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center mb-4 gap-6", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u0412\u0430\u043B\u044E\u0442\u043D\u044B\u0439 \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C", ...field('currencyControl') }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0440\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", ...field('documentaryOperations') }), (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { text: "\u041A\u043E\u043D\u0432\u0435\u0440\u0441\u0438\u043E\u043D\u043D\u044B\u0435 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438", ...field('conversionOperations') })] }), (0, jsx_runtime_1.jsx)("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: "block w-full resize-y min-h-24 p-4 outline-none border rounded-md border-main-stroke hover:border-primary-hover active:focus:border-primary-text", value: textField.value, onInput: ((e) => textField.onChange && textField.onChange(e.target?.value || '')) })] }));
|
|
8
|
+
};
|
|
6
9
|
exports.renderQuestionsInterested = renderQuestionsInterested;
|
|
7
10
|
//# sourceMappingURL=renderQuestionsInterested.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderQuestionsInterested.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderQuestionsInterested.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"renderQuestionsInterested.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/renderQuestionsInterested.tsx"],"names":[],"mappings":";;;AACA,6DAA0D;AAGnD,MAAM,yBAAyB,GAAG,CAAC,KAAwC,EAAE,EAAE;IACpF,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IAEhC,OAAO,CACL,iCAAK,SAAS,EAAC,MAAM,aACnB,iCAAK,SAAS,EAAC,8BAA8B,aAC3C,uBAAC,mBAAQ,IAAC,IAAI,EAAC,mGAAmB,KAAK,KAAK,CAAC,iBAAiB,CAAC,GAAI,EACnE,uBAAC,mBAAQ,IAAC,IAAI,EAAC,iIAAwB,KAAK,KAAK,CAAC,uBAAuB,CAAC,GAAI,EAC9E,uBAAC,mBAAQ,IAAC,IAAI,EAAC,iIAAwB,KAAK,KAAK,CAAC,sBAAsB,CAAC,GAAI,IACzE,EACN,qCACE,WAAW,EAAC,+eAA+F,EAC3G,SAAS,EAAC,kJAAkJ,EAC5J,KAAK,EAAE,SAAS,CAAC,KAAK,EACtB,OAAO,EACL,CAAC,CAAC,CAAkC,EAAE,EAAE,CACtC,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,CAAQ,GAE3E,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,yBAAyB,6BAqBpC"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { FormFieldRegisterer } from '../../hooks/useForm';
|
|
3
|
+
import { BusinessCardFormState } from './BusinessCardFormState';
|
|
4
|
+
import { Select } from './models';
|
|
5
|
+
interface RegionProps {
|
|
5
6
|
regions: Select[];
|
|
6
|
-
|
|
7
|
-
handleChange: HandleFormStateChange<BusinessCardFormState>;
|
|
8
|
-
errors: Record<string, string>;
|
|
9
|
-
handleChangeErrors: (state: any) => void;
|
|
7
|
+
field: FormFieldRegisterer<BusinessCardFormState>;
|
|
10
8
|
}
|
|
11
|
-
export declare const renderRegion: ({ regions,
|
|
9
|
+
export declare const renderRegion: ({ regions, field }: RegionProps) => JSX.Element;
|
|
12
10
|
export {};
|