@tap-payments/auth-jsconnect 2.5.2-test → 2.5.2
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/README.md +1 -1
- package/build/@types/app.d.ts +143 -12
- package/build/@types/app.js +18 -1
- package/build/@types/config.d.ts +45 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +15 -1
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/theme.d.ts +4 -0
- package/build/@types/theme.js +5 -0
- package/build/api/account.d.ts +5 -0
- package/build/api/account.js +16 -2
- package/build/api/auth.d.ts +12 -1
- package/build/api/auth.js +18 -1
- package/build/api/availabilityServices.d.ts +1 -0
- package/build/api/country.d.ts +1 -0
- package/build/api/country.js +8 -1
- package/build/api/entity.d.ts +27 -0
- package/build/api/entity.js +37 -1
- package/build/api/firebase.js +68 -8
- package/build/api/index.d.ts +16 -4
- package/build/api/lead.d.ts +11 -0
- package/build/api/lead.js +47 -1
- package/build/api/operator.d.ts +10 -0
- package/build/api/operator.js +9 -1
- package/build/app/rootReducer.d.ts +2 -0
- package/build/app/rootReducer.js +5 -1
- package/build/app/settings.d.ts +23 -3
- package/build/app/settings.js +134 -43
- package/build/app/store.d.ts +4 -0
- package/build/assets/locales/ar.json +324 -131
- package/build/assets/locales/en.json +322 -132
- package/build/components/AnimationFlow/AnimationFlow.d.ts +14 -3
- package/build/components/AnimationFlow/AnimationFlow.js +16 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +7 -2
- package/build/components/AnimationFlow/BottomSheet.js +37 -12
- package/build/components/AnimationFlow/Dialog.d.ts +11 -2
- package/build/components/AnimationFlow/Dialog.js +7 -11
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +6 -2
- package/build/components/AnimationFlow/Loader.js +17 -5
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +3 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Footer/Footer.js +2 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.js +3 -3
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.js +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/api.d.ts +9 -0
- package/build/constants/api.js +19 -1
- package/build/constants/app.d.ts +39 -0
- package/build/constants/app.js +314 -10
- package/build/constants/assets.d.ts +2 -0
- package/build/constants/assets.js +3 -1
- package/build/constants/dummy.d.ts +43 -196
- package/build/constants/dummy.js +610 -6141
- package/build/constants/validation.d.ts +5 -0
- package/build/constants/validation.js +6 -1
- package/build/features/app/auth/authStore.d.ts +278 -0
- package/build/features/app/auth/authStore.js +1166 -0
- package/build/features/app/bank/bankStore.d.ts +11 -0
- package/build/features/app/bank/bankStore.js +66 -24
- package/build/features/app/board/boardStore.d.ts +69 -0
- package/build/features/app/board/boardStore.js +263 -0
- package/build/features/app/brand/brandStore.d.ts +10 -0
- package/build/features/app/brand/brandStore.js +83 -39
- package/build/features/app/business/businessStore.d.ts +4 -7
- package/build/features/app/business/businessStore.js +217 -150
- package/build/features/app/connect/connectStore.d.ts +22 -19
- package/build/features/app/connect/connectStore.js +113 -134
- package/build/features/app/connectExpress/connectExpressStore.d.ts +97 -10
- package/build/features/app/connectExpress/connectExpressStore.js +706 -125
- package/build/features/app/entity/entityStore.d.ts +10 -0
- package/build/features/app/entity/entityStore.js +106 -59
- package/build/features/app/individual/individualStore.d.ts +19 -0
- package/build/features/app/individual/individualStore.js +247 -141
- package/build/features/app/password/passwordStore.d.ts +39 -1
- package/build/features/app/password/passwordStore.js +192 -108
- package/build/features/app/tax/taxStore.d.ts +10 -0
- package/build/features/app/tax/taxStore.js +61 -21
- package/build/features/auth/Auth.d.ts +15 -0
- package/build/features/auth/Auth.js +160 -0
- package/build/features/auth/index.d.ts +1 -0
- package/build/features/auth/index.js +1 -0
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/auth/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/auth/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +71 -0
- package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
- package/build/features/auth/screens/AccountNotFound/index.js +2 -0
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.js +73 -0
- package/build/features/auth/screens/AuthMerchant/MerchantList.d.ts +11 -0
- package/build/features/auth/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/auth/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/auth/screens/AuthMerchant/index.js +2 -0
- package/build/features/auth/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/auth/screens/AuthMerchant/validation.js +4 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +57 -0
- package/build/features/auth/screens/AuthSwitch/index.d.ts +3 -0
- package/build/features/auth/screens/AuthSwitch/index.js +2 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +96 -0
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +10 -0
- package/build/features/auth/screens/AuthenticationList/BrandList.js +81 -0
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -0
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +9 -0
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +90 -0
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +11 -0
- package/build/features/auth/screens/AuthenticationList/EntityList.js +138 -0
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/auth/screens/AuthenticationList/index.d.ts +3 -0
- package/build/features/auth/screens/AuthenticationList/index.js +2 -0
- package/build/features/auth/screens/AuthenticationList/validation.d.ts +20 -0
- package/build/features/auth/screens/AuthenticationList/validation.js +68 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +111 -0
- package/build/features/auth/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/auth/screens/BusinessCountry/index.js +2 -0
- package/build/features/auth/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/auth/screens/CivilID/CivilID.js +57 -0
- package/build/features/auth/screens/CivilID/IDNumber.d.ts +8 -0
- package/build/features/auth/screens/CivilID/IDNumber.js +54 -0
- package/build/features/auth/screens/CivilID/index.d.ts +3 -0
- package/build/features/auth/screens/CivilID/index.js +2 -0
- package/build/features/auth/screens/CivilID/validation.d.ts +8 -0
- package/build/features/auth/screens/CivilID/validation.js +4 -0
- package/build/features/auth/screens/Email/Email.d.ts +5 -0
- package/build/features/auth/screens/Email/Email.js +57 -0
- package/build/features/auth/screens/Email/EmailField.d.ts +8 -0
- package/build/features/auth/screens/Email/EmailField.js +52 -0
- package/build/features/auth/screens/Email/index.d.ts +3 -0
- package/build/features/auth/screens/Email/index.js +2 -0
- package/build/features/auth/screens/Email/validation.d.ts +8 -0
- package/build/features/auth/screens/Email/validation.js +4 -0
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +5 -0
- package/build/features/auth/screens/EmailSent/EmailSent.js +79 -0
- package/build/features/auth/screens/EmailSent/index.d.ts +2 -0
- package/build/features/auth/screens/EmailSent/index.js +2 -0
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +5 -0
- package/build/features/auth/screens/MigratingData/MigratingData.js +44 -0
- package/build/features/auth/screens/MigratingData/index.d.ts +2 -0
- package/build/features/auth/screens/MigratingData/index.js +2 -0
- package/build/features/auth/screens/Mobile/Mobile.d.ts +5 -0
- package/build/features/auth/screens/Mobile/Mobile.js +82 -0
- package/build/features/auth/screens/Mobile/MobileNumber.d.ts +13 -0
- package/build/features/auth/screens/Mobile/MobileNumber.js +158 -0
- package/build/features/auth/screens/Mobile/index.d.ts +3 -0
- package/build/features/auth/screens/Mobile/index.js +2 -0
- package/build/features/auth/screens/Mobile/validation.d.ts +8 -0
- package/build/features/auth/screens/Mobile/validation.js +35 -0
- package/build/features/auth/screens/NID/DOB.d.ts +6 -0
- package/build/features/auth/screens/NID/DOB.js +47 -0
- package/build/features/auth/screens/NID/IDNumber.d.ts +7 -0
- package/build/features/auth/screens/NID/IDNumber.js +55 -0
- package/build/features/auth/screens/NID/NID.d.ts +5 -0
- package/build/features/auth/screens/NID/NID.js +62 -0
- package/build/features/auth/screens/NID/index.d.ts +3 -0
- package/build/features/auth/screens/NID/index.js +2 -0
- package/build/features/auth/screens/NID/validation.d.ts +11 -0
- package/build/features/auth/screens/NID/validation.js +11 -0
- package/build/features/auth/screens/OTP/OTP.d.ts +5 -0
- package/build/features/auth/screens/OTP/OTP.js +121 -0
- package/build/features/auth/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/auth/screens/OTP/OTPInput.js +85 -0
- package/build/features/auth/screens/OTP/index.d.ts +3 -0
- package/build/features/auth/screens/OTP/index.js +2 -0
- package/build/features/auth/screens/OTP/validation.d.ts +8 -0
- package/build/features/auth/screens/OTP/validation.js +4 -0
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/auth/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/auth/screens/OperatorError/index.d.ts +3 -0
- package/build/features/auth/screens/OperatorError/index.js +2 -0
- package/build/features/auth/screens/Password/Password.d.ts +5 -0
- package/build/features/auth/screens/Password/Password.js +61 -0
- package/build/features/auth/screens/Password/PasswordField.d.ts +5 -0
- package/build/features/auth/screens/Password/PasswordField.js +28 -0
- package/build/features/auth/screens/Password/index.d.ts +3 -0
- package/build/features/auth/screens/Password/index.js +2 -0
- package/build/features/auth/screens/Password/validation.d.ts +8 -0
- package/build/features/auth/screens/Password/validation.js +4 -0
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
- package/build/features/auth/screens/PreparingData/PreparingData.js +44 -0
- package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
- package/build/features/auth/screens/PreparingData/index.js +2 -0
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +5 -0
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.js +21 -0
- package/build/features/auth/screens/ResetPasswordMessage/index.d.ts +3 -0
- package/build/features/auth/screens/ResetPasswordMessage/index.js +2 -0
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.js +34 -0
- package/build/features/auth/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/auth/screens/VerifyPACI/index.js +2 -0
- package/build/features/bank/Bank.d.ts +3 -2
- package/build/features/bank/Bank.js +11 -7
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.js +6 -5
- package/build/features/bank/screens/BankDetails/BankName.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/bank/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/bank/screens/OperatorError/index.d.ts +3 -0
- package/build/features/bank/screens/OperatorError/index.js +2 -0
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.js +3 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.js +7 -7
- package/build/features/board/Board.d.ts +10 -0
- package/build/features/board/Board.js +81 -0
- package/build/features/board/index.d.ts +1 -0
- package/build/features/board/index.js +1 -0
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/board/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/board/screens/OperatorError/index.d.ts +3 -0
- package/build/features/board/screens/OperatorError/index.js +2 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +34 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/board/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/board/screens/Verify/OTPInput.js +51 -0
- package/build/features/board/screens/Verify/Verify.d.ts +5 -0
- package/build/features/board/screens/Verify/Verify.js +74 -0
- package/build/features/board/screens/Verify/index.d.ts +2 -0
- package/build/features/board/screens/Verify/index.js +2 -0
- package/build/features/board/screens/Verify/validation.d.ts +8 -0
- package/build/features/board/screens/Verify/validation.js +4 -0
- package/build/features/brand/Brand.d.ts +3 -2
- package/build/features/brand/Brand.js +11 -7
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -58
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +3 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +1 -1
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +5 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +9 -30
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -8
- package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +7 -5
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.js +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +5 -2
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/validation.d.ts +21 -0
- package/build/features/brand/screens/BrandInfo/validation.js +5 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +3 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/brand/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/brand/screens/OperatorError/index.d.ts +3 -0
- package/build/features/brand/screens/OperatorError/index.js +2 -0
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.js +3 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.js +3 -3
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/Business.js +16 -10
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.js +19 -9
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +7 -13
- package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +1 -2
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +23 -7
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/EntityName.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.js +9 -8
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -27
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/BusinessType/validation.d.ts +10 -0
- package/build/features/business/screens/BusinessType/validation.js +16 -0
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.js +3 -2
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +21 -70
- package/build/features/business/screens/Customers/CustomerLocations.js +5 -3
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/Customers.js +43 -10
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedCustomers.js +5 -3
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +3 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +10 -4
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +16 -30
- package/build/features/business/screens/Customers/RefundPolicy.js +13 -13
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +4 -2
- package/build/features/business/screens/Customers/TransactionPolicy.js +8 -5
- package/build/features/business/screens/Customers/validation.d.ts +6 -6
- package/build/features/business/screens/Customers/validation.js +3 -8
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.js +6 -2
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.js +18 -18
- package/build/features/business/screens/IDBOD/validation.d.ts +10 -0
- package/build/features/business/screens/IDBOD/validation.js +4 -0
- package/build/features/business/screens/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTP.js +3 -3
- package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.js +5 -2
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/business/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/business/screens/OperatorError/index.d.ts +3 -0
- package/build/features/business/screens/OperatorError/index.js +2 -0
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -3
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.js +3 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.js +14 -4
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +5 -2
- package/build/features/connect/Connect.js +47 -31
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.js +6 -28
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
- package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
- package/build/features/connect/screens/BrandSegment/validation.js +0 -3
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +107 -0
- package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connect/screens/BusinessCountry/index.js +2 -0
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/CivilID/CivilID.js +13 -4
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Individual.js +4 -5
- package/build/features/connect/screens/Individual/MobileNumber.js +6 -3
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Individual/validation.js +8 -3
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +3 -3
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +5 -2
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/Merchant.js +3 -3
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/SalesChannels.js +1 -1
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Merchant/validation.js +2 -2
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +14 -7
- package/build/features/connect/screens/Mobile/MobileNumber.js +14 -8
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connect/screens/Mobile/validation.js +8 -3
- package/build/features/connect/screens/NID/DOB.d.ts +1 -2
- package/build/features/connect/screens/NID/NID.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.js +13 -6
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTP.js +4 -4
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.js +4 -2
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
- package/build/features/connect/screens/OperatorError/index.js +2 -0
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +5 -4
- package/build/features/connectExpress/ConnectExpress.js +69 -40
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +14 -2
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -0
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.d.ts +11 -0
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +104 -0
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +10 -0
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.js +81 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +9 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +90 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +11 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +138 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/connectExpress/screens/AuthenticationList/index.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/index.js +2 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +20 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.js +68 -0
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +111 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.js +17 -5
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +7 -2
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +4 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +5 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +21 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +6 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +8 -7
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +5 -27
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +13 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +68 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +15 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +7 -4
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +8 -3
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +14 -24
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +11 -10
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +11 -7
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +2 -2
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.js +17 -6
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +17 -11
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/validation.js +16 -6
- package/build/features/connectExpress/screens/NID/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.js +13 -4
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/NID/TAC.js +2 -2
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +6 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.js +8 -5
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +10 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.js +4 -0
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +10 -5
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.js +15 -3
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/connectExpress/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/connectExpress/screens/OperatorError/index.d.ts +3 -0
- package/build/features/connectExpress/screens/OperatorError/index.js +2 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +5 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.js +34 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/connectExpress/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +16 -7
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +3 -2
- package/build/features/entity/Entity.js +11 -7
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +10 -25
- package/build/features/entity/screens/EntityCapital/ActivityList.js +5 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +6 -4
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -5
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +3 -3
- package/build/features/entity/screens/EntityName/Article.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityName.js +15 -7
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +16 -58
- package/build/features/entity/screens/EntityName/EntityTypeList.js +8 -5
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/ExpiryDate.js +6 -7
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.js +6 -7
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LegalName.js +1 -13
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseNumber.js +9 -10
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +4 -6
- package/build/features/entity/screens/EntityName/validation.d.ts +31 -3
- package/build/features/entity/screens/EntityName/validation.js +38 -9
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/entity/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/entity/screens/OperatorError/index.d.ts +3 -0
- package/build/features/entity/screens/OperatorError/index.js +2 -0
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.js +3 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.js +3 -3
- package/build/features/featuresScreens.d.ts +2 -0
- package/build/features/featuresScreens.js +208 -9
- package/build/features/individual/Individual.d.ts +3 -2
- package/build/features/individual/Individual.js +11 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +15 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +14 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +76 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -27
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +4 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +4 -3
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/IndividualList.js +14 -6
- package/build/features/individual/screens/IndividualList/MobileNumber.js +6 -3
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualList/UserList.js +11 -7
- package/build/features/individual/screens/IndividualList/validation.js +8 -3
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +5 -27
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -2
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +8 -5
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -3
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +72 -63
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +7 -4
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +3 -2
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +8 -3
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/individual/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/individual/screens/OperatorError/index.d.ts +3 -0
- package/build/features/individual/screens/OperatorError/index.js +2 -0
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.js +3 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.js +3 -3
- package/build/features/password/Password.d.ts +3 -2
- package/build/features/password/Password.js +92 -32
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.js +13 -6
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTP.js +3 -3
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.js +5 -2
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/password/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/password/screens/OperatorError/index.d.ts +3 -0
- package/build/features/password/screens/OperatorError/index.js +2 -0
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/password/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/password/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.js +3 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.js +7 -7
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.d.ts +14 -46
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +3 -1
- package/build/features/shared/Background/Background.js +9 -11
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +14 -0
- package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -0
- package/build/features/shared/BusinessCountry/index.d.ts +2 -0
- package/build/features/shared/BusinessCountry/index.js +2 -0
- package/build/features/shared/Button/AbsherButton.d.ts +1 -2
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/Button.js +11 -5
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.js +2 -0
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.js +21 -14
- package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- package/build/features/shared/Calender/Calender.d.ts +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +1 -2
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +3 -3
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +4 -1
- package/build/features/shared/DataLoading/DataLoading.js +2 -2
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/Footer.js +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +1 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +8 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +11 -14
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +3 -8
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -8
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -8
- package/build/features/shared/UploadFile/UploadWrapper.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +3 -8
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -8
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/SignIn.js +4 -3
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Email/Email.js +2 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.js +2 -1
- package/build/features/signIn/screens/Mobile/MobileNumber.js +6 -3
- package/build/features/signIn/screens/Mobile/validation.js +8 -3
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.js +3 -3
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.js +4 -2
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/signIn/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/signIn/screens/OperatorError/index.d.ts +3 -0
- package/build/features/signIn/screens/OperatorError/index.js +2 -0
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.js +2 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +3 -2
- package/build/features/tax/Tax.js +11 -7
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/tax/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/tax/screens/OperatorError/index.d.ts +3 -0
- package/build/features/tax/screens/OperatorError/index.js +2 -0
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +4 -3
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +1 -2
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/OTPInput.js +3 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.js +7 -7
- package/build/hooks/useAppConfig.d.ts +3 -3
- package/build/hooks/useAppConfig.js +10 -17
- package/build/hooks/useAppDispatch.d.ts +2 -0
- package/build/hooks/useCountry.d.ts +1 -0
- package/build/hooks/useCountry.js +4 -3
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +1 -1
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +1 -1
- package/build/hooks/useFormReadOnly.d.ts +1 -1
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/hooks/useVerifyToken.d.ts +5 -2
- package/build/hooks/useVerifyToken.js +10 -5
- package/build/index.css +360 -120
- package/build/index.d.ts +4 -2
- package/build/index.js +6 -2
- package/build/theme/components.js +7 -0
- package/build/theme/palette.js +2 -1
- package/build/utils/array.js +2 -2
- package/build/utils/common.d.ts +3 -0
- package/build/utils/common.js +33 -0
- package/build/utils/device.d.ts +2 -0
- package/build/utils/device.js +6 -0
- package/build/utils/locale.js +2 -1
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +14 -0
- package/build/utils/string.d.ts +5 -2
- package/build/utils/string.js +24 -5
- package/build/utils/validation.d.ts +3 -0
- package/build/utils/validation.js +10 -0
- package/package.json +2 -2
- package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import BusinessCountry from './connect/screens/BusinessCountry/BusinessCountry';
|
|
1
2
|
import MobileScreen from './connect/screens/Mobile';
|
|
2
3
|
import NIDScreen from './connect/screens/NID';
|
|
3
4
|
import ConnectCivilIDScreen from '../features/connect/screens/CivilID';
|
|
@@ -7,6 +8,8 @@ import MerchantInfoScreen from './connect/screens/Merchant';
|
|
|
7
8
|
import BrandSegmentInfoScreen from './connect/screens/BrandSegment';
|
|
8
9
|
import ConnectOTPScreen from './connect/screens/OTP';
|
|
9
10
|
import ThankYouScreen from './connect/screens/ThankYou';
|
|
11
|
+
import OperatorError from './connect/screens/OperatorError';
|
|
12
|
+
import ConnectExpressBusinessCountry from './connectExpress/screens/BusinessCountry/BusinessCountry';
|
|
10
13
|
import ConnectExpressMobileScreen from './connectExpress/screens/Mobile';
|
|
11
14
|
import ConnectExpressNIDScreen from './connectExpress/screens/NID';
|
|
12
15
|
import ConnectExpressCivilIDScreen from './connectExpress/screens/CivilID';
|
|
@@ -19,8 +22,31 @@ import ConnectExpressIdentityVerifyOTPScreen from './connectExpress/screens/Iden
|
|
|
19
22
|
import ConnectExpressCollectIndividualScreen from './connectExpress/screens/CollectIndividualInfo';
|
|
20
23
|
import ConnectExpressCollectBusinessScreen from './connectExpress/screens/CollectBusinessInfo';
|
|
21
24
|
import ConnectExpressCreateAccountLoaderScreen from './connectExpress/screens/CreateAccountLoader';
|
|
22
|
-
import
|
|
23
|
-
import
|
|
25
|
+
import ConnectExpressPreparingDataLoaderScreen from './connectExpress/screens/PrepareDataLoading';
|
|
26
|
+
import ConnectExpressSuccessFlowButtonsScreen from './connectExpress/screens/SuccessWithFlowButtons';
|
|
27
|
+
import ConnectExpressAccountAlreadyCreatedScreen from './connectExpress/screens/AccountAlreadyCreated';
|
|
28
|
+
import ConnectExpressAuthenticationListScreen from './connectExpress/screens/AuthenticationList';
|
|
29
|
+
import ConnectExpressAuthMerchantScreen from './connectExpress/screens/AuthMerchant';
|
|
30
|
+
import ConnectExpressAuthAccountCreatedLoaderScreen from './connectExpress/screens/AccountCreatedLoader';
|
|
31
|
+
import ConnectExpressOperatorError from './connectExpress/screens/OperatorError';
|
|
32
|
+
import AuthBusinessCountry from './auth/screens/BusinessCountry/BusinessCountry';
|
|
33
|
+
import AuthSwitchScreen from './auth/screens/AuthSwitch';
|
|
34
|
+
import AuthMobileScreen from './auth/screens/Mobile';
|
|
35
|
+
import AuthNIDScreen from './auth/screens/NID';
|
|
36
|
+
import AuthEmailScreen from './auth/screens/Email';
|
|
37
|
+
import AuthCivilIDScreen from './auth/screens/CivilID';
|
|
38
|
+
import AuthVerifyPACIScreen from './auth/screens/VerifyPACI';
|
|
39
|
+
import AuthOTPScreen from './auth/screens/OTP';
|
|
40
|
+
import AuthPasswordScreen from './auth/screens/Password';
|
|
41
|
+
import AuthResetPasswordMessageScreen from './auth/screens/ResetPasswordMessage';
|
|
42
|
+
import PreparingDataScreen from './auth/screens/PreparingData';
|
|
43
|
+
import AccountNotFoundScreen from './auth/screens/AccountNotFound';
|
|
44
|
+
import AuthAuthenticationListScreen from './auth/screens/AuthenticationList';
|
|
45
|
+
import AuthMerchantScreen from './auth/screens/AuthMerchant';
|
|
46
|
+
import AuthAccountCreatedLoaderScreen from './auth/screens/AccountCreatedLoader';
|
|
47
|
+
import AuthEmailSentScreen from './auth/screens/EmailSent';
|
|
48
|
+
import AuthMigratingDataScreen from './auth/screens/MigratingData';
|
|
49
|
+
import AuthOperatorError from './auth/screens/OperatorError';
|
|
24
50
|
import CustomersPage from './business/screens/Customers';
|
|
25
51
|
import IDBODPage from './business/screens/IDBOD';
|
|
26
52
|
import BusinessVerifyPage from './business/screens/Verify';
|
|
@@ -33,12 +59,15 @@ import ResetPasswordSuccessPage from './business/screens/ResetPasswordSuccess';
|
|
|
33
59
|
import BusCivilIDscreen from './business/screens/CivilID';
|
|
34
60
|
import BusVerifyPACIScreen from './business/screens/VerifyPACI';
|
|
35
61
|
import BrandVerifyScreen from './business/screens/BrandDetails';
|
|
62
|
+
import BusinessOperatorError from './business/screens/OperatorError';
|
|
36
63
|
import PasswordVerifyPage from './password/screens/Verify';
|
|
37
64
|
import CreatePasswordPage from './password/screens/CreatePassword';
|
|
65
|
+
import PasswordDataLoadingPage from './password/screens/PrepareDataLoading';
|
|
38
66
|
import PasswordOTPPage from './password/screens/OTP';
|
|
39
67
|
import SuccessPasswordPage from './password/screens/Success';
|
|
40
68
|
import PasswordSuccessWithFlowPage from './password/screens/SuccessWithFlowButtons';
|
|
41
69
|
import PasswordResetPasswordSuccessPage from './password/screens/ResetPasswordSuccess';
|
|
70
|
+
import PasswordOperatorError from './password/screens/OperatorError';
|
|
42
71
|
import IndividualVerifyPage from './individual/screens/Verify';
|
|
43
72
|
import IndividualPhoneInfoPage from './individual/screens/IndividualPhoneInfo';
|
|
44
73
|
import IndividualListPage from './individual/screens/IndividualList';
|
|
@@ -48,22 +77,26 @@ import SuccessOwnerPage from './individual/screens/Success';
|
|
|
48
77
|
import IndividualSuccessWithFlowPage from './individual/screens/SuccessWithFlowButtons';
|
|
49
78
|
import IndividualResetPasswordSuccessPage from './individual/screens/ResetPasswordSuccess';
|
|
50
79
|
import IndividualDataLoadingPage from './individual/screens/PrepareDataLoading';
|
|
80
|
+
import IndividualOperatorError from './individual/screens/OperatorError';
|
|
51
81
|
import BankVerifyPage from './bank/screens/Verify';
|
|
52
82
|
import BankDetailsPage from './bank/screens/BankDetails';
|
|
53
83
|
import BankSuccessPage from './bank/screens/Success';
|
|
54
84
|
import BankSuccessWithFlowPage from './bank/screens/SuccessWithFlowButtons';
|
|
55
85
|
import BankResetPasswordSuccessPage from './bank/screens/ResetPasswordSuccess';
|
|
56
86
|
import BankDataLoadingPage from './bank/screens/PrepareDataLoading';
|
|
87
|
+
import BankOperatorError from './bank/screens/OperatorError';
|
|
57
88
|
import TaxVerifyPage from './tax/screens/Verify';
|
|
58
89
|
import TaxDetailsPage from './tax/screens/TaxDetails';
|
|
59
90
|
import TaxSuccessPage from './tax/screens/Success';
|
|
60
91
|
import TaxSuccessWithFlowPage from './tax/screens/SuccessWithFlowButtons';
|
|
61
92
|
import TaxResetPasswordSuccessPage from './tax/screens/ResetPasswordSuccess';
|
|
62
93
|
import TaxDataLoadingPage from './tax/screens/PrepareDataLoading';
|
|
94
|
+
import TaxOperatorError from './tax/screens/OperatorError';
|
|
63
95
|
import SignInMobilePage from './signIn/screens/Mobile';
|
|
64
96
|
import SignInEmailPage from './signIn/screens/Email';
|
|
65
97
|
import SignInOTPPage from './signIn/screens/OTP';
|
|
66
98
|
import SignInPasswordPage from './signIn/screens/Password';
|
|
99
|
+
import SignInOperatorError from './signIn/screens/OperatorError';
|
|
67
100
|
import EntityVerifyPage from './entity/screens/Verify';
|
|
68
101
|
import EntityNamePage from './entity/screens/EntityName';
|
|
69
102
|
import EntityCapitalPage from './entity/screens/EntityCapital';
|
|
@@ -71,6 +104,7 @@ import EntitySuccessPage from './entity/screens/Success';
|
|
|
71
104
|
import EntitySuccessWithFlowPage from './entity/screens/SuccessWithFlowButtons';
|
|
72
105
|
import EntityResetPasswordSuccessPage from './entity/screens/ResetPasswordSuccess';
|
|
73
106
|
import EntityDataLoadingPage from './entity/screens/PrepareDataLoading';
|
|
107
|
+
import EntityOperatorError from './entity/screens/OperatorError';
|
|
74
108
|
import BrandVerifyPage from './brand/screens/Verify';
|
|
75
109
|
import BrandInfoPage from './brand/screens/BrandInfo';
|
|
76
110
|
import BrandSegmentPage from './brand/screens/BrandSegmentInfo';
|
|
@@ -79,7 +113,16 @@ import BrandSuccessPage from './brand/screens/Success';
|
|
|
79
113
|
import BrandSuccessWithFlowPage from './brand/screens/SuccessWithFlowButtons';
|
|
80
114
|
import BrandResetPasswordSuccessPage from './brand/screens/ResetPasswordSuccess';
|
|
81
115
|
import BrandDataLoadingPage from './brand/screens/PrepareDataLoading';
|
|
116
|
+
import BrandOperatorError from './brand/screens/OperatorError';
|
|
117
|
+
import BoardVerifyPage from './board/screens/Verify';
|
|
118
|
+
import BoardSuccessWithFlowPage from './board/screens/SuccessWithFlowButtons';
|
|
119
|
+
import BoardResetPasswordSuccessPage from './board/screens/ResetPasswordSuccess';
|
|
120
|
+
import BoardOperatorError from './board/screens/OperatorError';
|
|
82
121
|
export var connectFeatureScreens = [
|
|
122
|
+
{
|
|
123
|
+
name: 'CONNECT_BUSINESS_COUNTRY_STEP',
|
|
124
|
+
element: BusinessCountry
|
|
125
|
+
},
|
|
83
126
|
{
|
|
84
127
|
name: 'CONNECT_NID_STEP',
|
|
85
128
|
element: NIDScreen
|
|
@@ -115,9 +158,17 @@ export var connectFeatureScreens = [
|
|
|
115
158
|
{
|
|
116
159
|
name: 'CONNECT_THANK_YOU_STEP',
|
|
117
160
|
element: ThankYouScreen
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'CONNECT_OPERATOR_ERROR_STEP',
|
|
164
|
+
element: OperatorError
|
|
118
165
|
}
|
|
119
166
|
];
|
|
120
167
|
export var connectExpressFeatureScreens = [
|
|
168
|
+
{
|
|
169
|
+
name: 'CONNECT_EXPRESS_BUSINESS_COUNTRY_STEP',
|
|
170
|
+
element: ConnectExpressBusinessCountry
|
|
171
|
+
},
|
|
121
172
|
{
|
|
122
173
|
name: 'CONNECT_EXPRESS_NID_STEP',
|
|
123
174
|
element: ConnectExpressNIDScreen
|
|
@@ -158,6 +209,10 @@ export var connectExpressFeatureScreens = [
|
|
|
158
209
|
name: 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
159
210
|
element: ConnectExpressCreateAccountLoaderScreen
|
|
160
211
|
},
|
|
212
|
+
{
|
|
213
|
+
name: 'CONNECT_EXPRESS_PREPARING_DATA_STEP',
|
|
214
|
+
element: ConnectExpressPreparingDataLoaderScreen
|
|
215
|
+
},
|
|
161
216
|
{
|
|
162
217
|
name: 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
163
218
|
element: ConnectExpressCollectIndividualScreen
|
|
@@ -173,6 +228,96 @@ export var connectExpressFeatureScreens = [
|
|
|
173
228
|
{
|
|
174
229
|
name: 'CONNECT_EXPRESS_SUCCESS_WITH_FLOW_BUTTONS_STEP',
|
|
175
230
|
element: ConnectExpressSuccessFlowButtonsScreen
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
name: 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP',
|
|
234
|
+
element: ConnectExpressAuthenticationListScreen
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: 'CONNECT_EXPRESS_AUTH_MERCHANT_LIST_STEP',
|
|
238
|
+
element: ConnectExpressAuthMerchantScreen
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'CONNECT_EXPRESS_AUTH_ACCOUNT_CREATED_STEP',
|
|
242
|
+
element: ConnectExpressAuthAccountCreatedLoaderScreen
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
name: 'CONNECT_EXPRESS_OPERATOR_ERROR_STEP',
|
|
246
|
+
element: ConnectExpressOperatorError
|
|
247
|
+
}
|
|
248
|
+
];
|
|
249
|
+
export var authFeatureScreens = [
|
|
250
|
+
{
|
|
251
|
+
name: 'AUTH_BUSINESS_COUNTRY_STEP',
|
|
252
|
+
element: AuthBusinessCountry
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
name: 'AUTH_SWITCH_STEP',
|
|
256
|
+
element: AuthSwitchScreen
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: 'AUTH_NID_STEP',
|
|
260
|
+
element: AuthNIDScreen
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
name: 'AUTH_CIVIL_ID_STEP',
|
|
264
|
+
element: AuthCivilIDScreen
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: 'AUTH_MOBILE_STEP',
|
|
268
|
+
element: AuthMobileScreen
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: 'AUTH_EMAIL_STEP',
|
|
272
|
+
element: AuthEmailScreen
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: 'AUTH_OTP_STEP',
|
|
276
|
+
element: AuthOTPScreen
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: 'AUTH_PASSWORD_STEP',
|
|
280
|
+
element: AuthPasswordScreen
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'AUTH_RESET_PASSWORD_MESSAGE_STEP',
|
|
284
|
+
element: AuthResetPasswordMessageScreen
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: 'AUTH_VERIFY_PACI_STEP',
|
|
288
|
+
element: AuthVerifyPACIScreen
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: 'AUTH_ACCOUNT_NOT_FOUND_STEP',
|
|
292
|
+
element: AccountNotFoundScreen
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'AUTH_PREPARING_DATA_STEP',
|
|
296
|
+
element: PreparingDataScreen
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: 'AUTH_AUTHENTICATION_LIST_STEP',
|
|
300
|
+
element: AuthAuthenticationListScreen
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: 'AUTH_MERCHANT_LIST_STEP',
|
|
304
|
+
element: AuthMerchantScreen
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'AUTH_ACCOUNT_CREATED_STEP',
|
|
308
|
+
element: AuthAccountCreatedLoaderScreen
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: 'AUTH_EMAIL_SENT_STEP',
|
|
312
|
+
element: AuthEmailSentScreen
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: 'AUTH_MIGRATING_DATA_STEP',
|
|
316
|
+
element: AuthMigratingDataScreen
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
name: 'AUTH_OPERATOR_ERROR_STEP',
|
|
320
|
+
element: AuthOperatorError
|
|
176
321
|
}
|
|
177
322
|
];
|
|
178
323
|
export var businessFeatureScreens = [
|
|
@@ -211,7 +356,11 @@ export var businessFeatureScreens = [
|
|
|
211
356
|
{ name: 'BUSINESS_SUCCESS_STEP', element: SuccessPage },
|
|
212
357
|
{ name: 'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP', element: SuccessWithFlowButtonsPage },
|
|
213
358
|
{ name: 'BUSINESS_RESET_PASSWORD_SUCCESS', element: ResetPasswordSuccessPage },
|
|
214
|
-
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen }
|
|
359
|
+
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen },
|
|
360
|
+
{
|
|
361
|
+
name: 'BUSINESS_OPERATOR_ERROR_STEP',
|
|
362
|
+
element: BusinessOperatorError
|
|
363
|
+
}
|
|
215
364
|
];
|
|
216
365
|
export var passwordFeatureScreens = [
|
|
217
366
|
{
|
|
@@ -222,6 +371,10 @@ export var passwordFeatureScreens = [
|
|
|
222
371
|
name: 'PASSWORD_CREATE_PASSWORD_STEP',
|
|
223
372
|
element: CreatePasswordPage
|
|
224
373
|
},
|
|
374
|
+
{
|
|
375
|
+
name: 'PASSWORD_LOADING_DATA_STEP',
|
|
376
|
+
element: PasswordDataLoadingPage
|
|
377
|
+
},
|
|
225
378
|
{
|
|
226
379
|
name: 'PASSWORD_RESET_PASSWORD_OTP_STEP',
|
|
227
380
|
element: PasswordOTPPage
|
|
@@ -234,7 +387,11 @@ export var passwordFeatureScreens = [
|
|
|
234
387
|
name: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
235
388
|
element: PasswordSuccessWithFlowPage
|
|
236
389
|
},
|
|
237
|
-
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage }
|
|
390
|
+
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage },
|
|
391
|
+
{
|
|
392
|
+
name: 'PASSWORD_OPERATOR_ERROR_STEP',
|
|
393
|
+
element: PasswordOperatorError
|
|
394
|
+
}
|
|
238
395
|
];
|
|
239
396
|
export var individualFeatureScreens = [
|
|
240
397
|
{
|
|
@@ -269,7 +426,11 @@ export var individualFeatureScreens = [
|
|
|
269
426
|
name: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
270
427
|
element: IndividualSuccessWithFlowPage
|
|
271
428
|
},
|
|
272
|
-
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage }
|
|
429
|
+
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage },
|
|
430
|
+
{
|
|
431
|
+
name: 'INDIVIDUAL_OPERATOR_ERROR_STEP',
|
|
432
|
+
element: IndividualOperatorError
|
|
433
|
+
}
|
|
273
434
|
];
|
|
274
435
|
export var bankFeatureScreens = [
|
|
275
436
|
{
|
|
@@ -292,7 +453,11 @@ export var bankFeatureScreens = [
|
|
|
292
453
|
name: 'BANK_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
293
454
|
element: BankSuccessWithFlowPage
|
|
294
455
|
},
|
|
295
|
-
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage }
|
|
456
|
+
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage },
|
|
457
|
+
{
|
|
458
|
+
name: 'BANK_OPERATOR_ERROR_STEP',
|
|
459
|
+
element: BankOperatorError
|
|
460
|
+
}
|
|
296
461
|
];
|
|
297
462
|
export var taxFeatureScreens = [
|
|
298
463
|
{
|
|
@@ -315,7 +480,11 @@ export var taxFeatureScreens = [
|
|
|
315
480
|
name: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
316
481
|
element: TaxSuccessWithFlowPage
|
|
317
482
|
},
|
|
318
|
-
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage }
|
|
483
|
+
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage },
|
|
484
|
+
{
|
|
485
|
+
name: 'TAX_OPERATOR_ERROR_STEP',
|
|
486
|
+
element: TaxOperatorError
|
|
487
|
+
}
|
|
319
488
|
];
|
|
320
489
|
export var signInFeatureScreens = [
|
|
321
490
|
{
|
|
@@ -333,6 +502,10 @@ export var signInFeatureScreens = [
|
|
|
333
502
|
{
|
|
334
503
|
name: 'SIGIN_PASSWORD_STEP',
|
|
335
504
|
element: SignInPasswordPage
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
name: 'SIGIN_OPERATOR_ERROR_STEP',
|
|
508
|
+
element: SignInOperatorError
|
|
336
509
|
}
|
|
337
510
|
];
|
|
338
511
|
export var entityFeatureScreens = [
|
|
@@ -360,7 +533,11 @@ export var entityFeatureScreens = [
|
|
|
360
533
|
name: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
361
534
|
element: EntitySuccessWithFlowPage
|
|
362
535
|
},
|
|
363
|
-
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage }
|
|
536
|
+
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage },
|
|
537
|
+
{
|
|
538
|
+
name: 'ENTITY_OPERATOR_ERROR_STEP',
|
|
539
|
+
element: EntityOperatorError
|
|
540
|
+
}
|
|
364
541
|
];
|
|
365
542
|
export var brandFeatureScreens = [
|
|
366
543
|
{
|
|
@@ -391,5 +568,27 @@ export var brandFeatureScreens = [
|
|
|
391
568
|
name: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
392
569
|
element: BrandSuccessWithFlowPage
|
|
393
570
|
},
|
|
394
|
-
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage }
|
|
571
|
+
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage },
|
|
572
|
+
{
|
|
573
|
+
name: 'BRAND_OPERATOR_ERROR_STEP',
|
|
574
|
+
element: BrandOperatorError
|
|
575
|
+
}
|
|
576
|
+
];
|
|
577
|
+
export var boardFeatureScreens = [
|
|
578
|
+
{
|
|
579
|
+
name: 'BOARD_VERIFY_STEP',
|
|
580
|
+
element: BoardVerifyPage
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
name: 'BOARD_RESET_PASSWORD_SUCCESS',
|
|
584
|
+
element: BoardResetPasswordSuccessPage
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP',
|
|
588
|
+
element: BoardSuccessWithFlowPage
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
name: 'BOARD_OPERATOR_ERROR_STEP',
|
|
592
|
+
element: BoardOperatorError
|
|
593
|
+
}
|
|
395
594
|
];
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LibConfig } from '../../@types';
|
|
3
2
|
export interface IndividualLibProps extends LibConfig {
|
|
4
3
|
verifyToken?: string;
|
|
4
|
+
configToken?: string;
|
|
5
|
+
loaderColor?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare function IndividualElement(props: IndividualLibProps): JSX.Element;
|
|
7
|
+
export declare function IndividualElement(props: IndividualLibProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export declare function renderIndividualLib(config: IndividualLibProps, elementId: string): {
|
|
8
9
|
unmount: () => void;
|
|
9
10
|
};
|
|
@@ -29,36 +29,40 @@ import AnimationFlow from '../../components/AnimationFlow';
|
|
|
29
29
|
import { store } from '../../app/store';
|
|
30
30
|
import { ReduxProvider, ThemeProvider } from '../../components/Providers';
|
|
31
31
|
import Collapse from '../../components/Collapse';
|
|
32
|
-
import { findOrCreateElementAndInject, sendPageView } from '../../utils';
|
|
32
|
+
import { findOrCreateElementAndInject, initializeGTM, sendPageView } from '../../utils';
|
|
33
33
|
import { FeatureContainer } from '../shared/Containers';
|
|
34
34
|
import { INDIVIDUAL_SCREENS_NAVIGATION } from '../../constants';
|
|
35
35
|
import { individualFeatureScreens } from '../featuresScreens';
|
|
36
36
|
import { individualSelector, verifyLeadToken } from '../app/individual/individualStore';
|
|
37
37
|
import Background from '../shared/Background';
|
|
38
38
|
var Individual = memo(function (_a) {
|
|
39
|
-
var verifyToken = _a.verifyToken, props = __rest(_a, ["verifyToken"]);
|
|
39
|
+
var configToken = _a.configToken, verifyToken = _a.verifyToken, loaderColor = _a.loaderColor, props = __rest(_a, ["configToken", "verifyToken", "loaderColor"]);
|
|
40
40
|
var theme = useAppTheme().theme;
|
|
41
41
|
var _b = useAppSelector(settingsSelector), data = _b.data, error = _b.error, settingLoading = _b.loading;
|
|
42
42
|
var _c = useAppSelector(individualSelector), customLoading = _c.customLoading, individualError = _c.error, loading = _c.loading;
|
|
43
|
-
useAppConfig(__assign(__assign({ navigation: INDIVIDUAL_SCREENS_NAVIGATION }, props), { disableSettingFetching: !!verifyToken }));
|
|
43
|
+
useAppConfig(__assign(__assign({ navigation: INDIVIDUAL_SCREENS_NAVIGATION }, props), { disableSettingFetching: props.mode === 'content' ? false : !!verifyToken || !!configToken }));
|
|
44
44
|
useErrorListener(individualError || error);
|
|
45
45
|
useStepStartedListener();
|
|
46
|
-
var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, featureScreensNavigation = data.featureScreensNavigation, merchant = data.merchant, isMaturityExpress = data.isMaturityExpress;
|
|
46
|
+
var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, featureScreensNavigation = data.featureScreensNavigation, merchant = data.merchant, isMaturityExpress = data.isMaturityExpress, appConfig = data.appConfig;
|
|
47
47
|
useVerifyToken({
|
|
48
48
|
verify: verifyLeadToken,
|
|
49
49
|
loadingScreenName: 'INDIVIDUAL_LOADING_DATA_STEP',
|
|
50
50
|
navigation: featureScreensNavigation,
|
|
51
51
|
open: open,
|
|
52
|
+
mode: props.mode,
|
|
52
53
|
internalToken: verifyToken,
|
|
53
|
-
settingLoading: settingLoading
|
|
54
|
+
settingLoading: settingLoading,
|
|
55
|
+
operatorErrorScreenName: 'INDIVIDUAL_OPERATOR_ERROR_STEP',
|
|
56
|
+
isValidOperator: data.isValidOperator
|
|
54
57
|
});
|
|
55
58
|
React.useEffect(function () {
|
|
59
|
+
initializeGTM();
|
|
56
60
|
sendPageView({
|
|
57
61
|
title: 'Individual'
|
|
58
62
|
});
|
|
59
63
|
}, []);
|
|
60
|
-
var initialLoading = verifyToken ? settingLoading : settingLoading || customLoading;
|
|
61
|
-
return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ open: open, isTapOrigin: isTapOrigin, loading: initialLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, loading: initialLoading, error: error, open: open, breakpoint: 'sm', screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: isMaturityExpress }, { children: _jsx(FeatureContainer, __assign({ isMaturityExpress: isMaturityExpress }, { children: individualFeatureScreens.map(function (_a, index) {
|
|
64
|
+
var initialLoading = verifyToken && props.mode !== 'content' ? settingLoading : settingLoading || customLoading;
|
|
65
|
+
return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ mode: props.mode, open: open, isTapOrigin: isTapOrigin, loading: initialLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, loading: initialLoading, loaderColor: loaderColor, error: error, open: open, breakpoint: 'sm', screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: isMaturityExpress, type: props.mode === 'content' ? 'CONTENT' : undefined, dialogEdgeFormat: data.appConfig.dialogEdgeFormat, features: appConfig.features }, { children: _jsx(FeatureContainer, __assign({ mode: props.mode, isMaturityExpress: isMaturityExpress }, { children: individualFeatureScreens.map(function (_a, index) {
|
|
62
66
|
var Element = _a.element, name = _a.name;
|
|
63
67
|
var isActive = activeScreen.name === name;
|
|
64
68
|
return (_jsx(Collapse, __assign({ in: isActive, timeout: { enter: 1000, exit: 800 } }, { children: _jsx(Element, {}) }), index));
|
package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts
CHANGED
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const RoleTextStyled: import("@emotion/styled").StyledComponent<import("@mui/
|
|
3
|
-
align?: "right" | "left" | "center" | "inherit" | "justify" | undefined;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
6
|
-
gutterBottom?: boolean | undefined;
|
|
7
|
-
noWrap?: boolean | undefined;
|
|
8
|
-
paragraph?: boolean | undefined;
|
|
9
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
10
|
-
variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
|
|
11
|
-
variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
|
|
12
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
|
2
|
+
export declare const RoleTextStyled: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
3
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
5
|
+
component?: React.ElementType<any> | undefined;
|
|
6
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
15
7
|
export interface AdditionalIndividualInfoProps {
|
|
16
8
|
}
|
|
17
9
|
declare const _default: React.MemoExoticComponent<{
|
|
18
|
-
({}: AdditionalIndividualInfoProps): JSX.Element;
|
|
10
|
+
({}: AdditionalIndividualInfoProps): import("react/jsx-runtime").JSX.Element;
|
|
19
11
|
defaultProps: {};
|
|
20
12
|
}>;
|
|
21
13
|
export default _default;
|
package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js
CHANGED
|
@@ -19,7 +19,7 @@ import Box from '@mui/material/Box';
|
|
|
19
19
|
import { alpha, styled } from '@mui/material/styles';
|
|
20
20
|
import { useAppDispatch, useAppSelector, useSetFromDefaultValues, useLanguage, useFormReadOnly, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '../../../../hooks';
|
|
21
21
|
import { DocumentPurpose, IndividualType } from '../../../../@types';
|
|
22
|
-
import { getIndividualType,
|
|
22
|
+
import { deepCopy, getIndividualType, isKW, isKWOrSA } from '../../../../utils';
|
|
23
23
|
import Form from '../../../../components/Form';
|
|
24
24
|
import Collapse from '../../../../components/Collapse';
|
|
25
25
|
import Text from '../../../../components/Text';
|
|
@@ -37,6 +37,7 @@ import SignatureFile from './SignatureFile';
|
|
|
37
37
|
import ShareCount from './ShareCount';
|
|
38
38
|
import ShareValue from './ShareValue';
|
|
39
39
|
import { getFileDetailsFromDocument } from '../../../../utils';
|
|
40
|
+
import IsAuthorizedSwitch from './IsAuthorizedSwitch';
|
|
40
41
|
var TextBoxStyled = styled(Box)(function (_a) {
|
|
41
42
|
var theme = _a.theme;
|
|
42
43
|
return (__assign(__assign({ display: 'flex', justifyContent: 'center', flexDirection: 'row', padding: theme.spacing(1.8, 2.5, 1.8, 2.5) }, theme.typography.body1), { lineHeight: theme.spacing(2.5), color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightMedium }));
|
|
@@ -60,10 +61,13 @@ var AdditionalIndividualInfo = function (_a) {
|
|
|
60
61
|
var settingsData = useAppSelector(settingsSelector).data;
|
|
61
62
|
var verify = data.verify;
|
|
62
63
|
var user = (verify.responseBody || {}).user;
|
|
63
|
-
var _d = data.individualData, occupation = _d.occupation, sourceIncome = _d.sourceIncome, monthlyIncome = _d.monthlyIncome, employerName = _d.employerName, isPEP = _d.isPEP, isInfluencer = _d.isInfluencer, civilID = _d.civilID, signatureFileId = _d.signatureFileId, civilIDUploading = _d.civilIDUploading, signatureFileUploading = _d.signatureFileUploading, shareCount = _d.shareCount, shareValue = _d.shareValue;
|
|
64
|
+
var _d = data.individualData, occupation = _d.occupation, sourceIncome = _d.sourceIncome, monthlyIncome = _d.monthlyIncome, employerName = _d.employerName, isPEP = _d.isPEP, isInfluencer = _d.isInfluencer, civilID = _d.civilID, signatureFileId = _d.signatureFileId, civilIDUploading = _d.civilIDUploading, signatureFileUploading = _d.signatureFileUploading, shareCount = _d.shareCount, shareValue = _d.shareValue, isAuthorized = _d.isAuthorized;
|
|
64
65
|
var _e = user || {}, documents = _e.documents, is_authorized = _e.is_authorized, data_status = _e.data_status, data_verification = _e.data_verification, names = _e.names, role = _e.role, occupationRes = _e.occupation, is_relative_PEP = _e.is_relative_PEP, is_influencer = _e.is_influencer, objects = _e.objects;
|
|
66
|
+
var isKWCountry = React.useMemo(function () { return isKW(settingsData.businessCountry.iso2); }, [settingsData.businessCountry.iso2]);
|
|
67
|
+
var isOtherThanKWAndSa = React.useMemo(function () { return !isKWOrSA(settingsData.businessCountry.iso2); }, [settingsData.businessCountry.iso2]);
|
|
68
|
+
var showIsAuthorized = isOtherThanKWAndSa;
|
|
65
69
|
var methods = useForm({
|
|
66
|
-
resolver: yupResolver(IndividualInfoValidationSchema(objects)),
|
|
70
|
+
resolver: yupResolver(IndividualInfoValidationSchema(objects, isKWCountry, showIsAuthorized)),
|
|
67
71
|
defaultValues: {
|
|
68
72
|
occupation: occupation,
|
|
69
73
|
sourceIncome: sourceIncome,
|
|
@@ -76,7 +80,8 @@ var AdditionalIndividualInfo = function (_a) {
|
|
|
76
80
|
civilIDUploading: civilIDUploading,
|
|
77
81
|
signatureFileUploading: signatureFileUploading,
|
|
78
82
|
shareCount: shareCount,
|
|
79
|
-
shareValue: shareValue
|
|
83
|
+
shareValue: shareValue,
|
|
84
|
+
isAuthorized: isAuthorized
|
|
80
85
|
},
|
|
81
86
|
mode: 'onChange'
|
|
82
87
|
});
|
|
@@ -95,7 +100,8 @@ var AdditionalIndividualInfo = function (_a) {
|
|
|
95
100
|
'source_of_income',
|
|
96
101
|
'monthly_income',
|
|
97
102
|
'is_relative_PEP',
|
|
98
|
-
'is_influencer'
|
|
103
|
+
'is_influencer',
|
|
104
|
+
'is_authorized'
|
|
99
105
|
]);
|
|
100
106
|
var readOnly = useFormErrorAndUpdateReadOnly(methods, originalReadOnly, noneEditable);
|
|
101
107
|
var getFelids = useExcludeReadOnlyFelids(methods, readOnly).getFelids;
|
|
@@ -103,10 +109,10 @@ var AdditionalIndividualInfo = function (_a) {
|
|
|
103
109
|
var isOccupationVerified = dataVerified['occupation'] && (occupationRes === null || occupationRes === void 0 ? void 0 : occupationRes.id) === ((_b = watch('occupation')) === null || _b === void 0 ? void 0 : _b.id);
|
|
104
110
|
var isPEPSwitchVerified = dataVerified['is_relative_PEP'] && is_relative_PEP === watch('isPEP');
|
|
105
111
|
var isInfluencerSwitchVerified = dataVerified['is_influencer'] && is_influencer === watch('isInfluencer');
|
|
112
|
+
var isAuthorizedSwitchVerified = dataVerified['is_authorized'] && is_authorized === watch('isAuthorized');
|
|
106
113
|
var _f = React.useState(), listActive = _f[0], setListActive = _f[1];
|
|
107
|
-
var isSACountry = React.useMemo(function () { return isSA(settingsData.businessCountry.iso2); }, [settingsData.businessCountry.iso2]);
|
|
108
114
|
var onSubmit = function (data) {
|
|
109
|
-
dispatch(updateIndividualInfo(getFelids(data)));
|
|
115
|
+
dispatch(updateIndividualInfo(deepCopy(getFelids(__assign(__assign({}, data), { signatureFileUploading: signatureFileUploading, civilIDUploading: civilIDUploading })))));
|
|
110
116
|
};
|
|
111
117
|
var onBack = function () {
|
|
112
118
|
dispatch(handleCurrentActiveScreen('INDIVIDUAL_PERSONAL_INDIVIDUAL_INFO_STEP'));
|
|
@@ -134,6 +140,7 @@ var AdditionalIndividualInfo = function (_a) {
|
|
|
134
140
|
var _g = React.useMemo(function () { return getIndividualType(objects); }, [objects]), isUser = _g.isUser, isShareholder = _g.isShareholder, isBoardMember = _g.isBoardMember, isBuyer = _g.isBuyer;
|
|
135
141
|
var isUserORBuyerType = isUser || isBuyer;
|
|
136
142
|
var isUserORBoardMemberType = isUser || isBoardMember;
|
|
143
|
+
var isAuthorizedValue = watch('isAuthorized');
|
|
137
144
|
var showSignatureFile = isUserORBuyerType;
|
|
138
145
|
var showOccupationFile = isUserORBuyerType;
|
|
139
146
|
var showSourceOfIncome = isUserORBuyerType;
|
|
@@ -144,7 +151,7 @@ var AdditionalIndividualInfo = function (_a) {
|
|
|
144
151
|
var isMonthlyIncomeListActive = listActive === ListType.MonthlyIncomeList;
|
|
145
152
|
var isOccupationListActive = listActive === ListType.OccupationList;
|
|
146
153
|
var disabled = !methods.formState.isValid || civilIDUploading || signatureFileUploading;
|
|
147
|
-
return (_jsxs(ScreenContainer, { children: [_jsx(Collapse, __assign({ in: !listActive && !!is_authorized, timeout: 500 }, { children:
|
|
154
|
+
return (_jsxs(ScreenContainer, { children: [_jsx(Collapse, __assign({ in: !listActive && !!is_authorized, timeout: 500 }, { children: _jsxs(TextBoxStyled, { children: [getUserName() || '', _jsx(RoleTextStyled, { children: getUserRole() || '' })] }) })), _jsx(FormProvider, __assign({}, methods, { children: _jsxs(Form, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsxs(Box, { children: [_jsx(Occupation, { isVerified: isOccupationVerified, readOnly: readOnly['occupation'] || noneEditable['occupation'], onListOpen: function () { return handleMenuClick(ListType.OccupationList); }, onListClose: function () { return handleMenuClick(); }, show: showOccupationFile && !isMonthlyIncomeListActive && !isSourceOfIncomeListActive }), _jsx(SourceOfIncome, { readOnly: readOnly['sourceIncome'] || noneEditable['source_of_income'], onListOpen: function () { return handleMenuClick(ListType.SourceOfIncomeList); }, onListClose: function () { return handleMenuClick(); }, show: showSourceOfIncome && !isMonthlyIncomeListActive && !isOccupationListActive }), _jsx(MonthlyIncome, { readOnly: readOnly['monthlyIncome'] || noneEditable['monthly_income'], show: showSourceOfIncome && !isSourceOfIncomeListActive && !isOccupationListActive, onListOpen: function () { return handleMenuClick(ListType.MonthlyIncomeList); }, onListClose: function () { return handleMenuClick(); } }), _jsx(ShareCount, { show: !listActive && showShares, readOnly: readOnly['shareCount'] }), _jsx(ShareValue, { show: !listActive && showShares, readOnly: readOnly['shareValue'] }), _jsx(IsAuthorizedSwitch, { show: !listActive && showIsAuthorized, readOnly: readOnly['isAuthorized'] || noneEditable['is_authorized'], isVerified: isAuthorizedSwitchVerified }), _jsxs(Collapse, __assign({ in: !listActive, timeout: 500 }, { children: [_jsx(CivilIDFile, { show: isKWCountry, readOnly: readOnly['civilID'], defaultFiles: defaultCivilIdFiles }), _jsx(SignatureFile, { show: isAuthorizedValue && showSignatureFile, readOnly: readOnly['signatureFileId'], defaultFiles: defaultSignatureFiles })] })), _jsx(PEPSwitch, { show: showIsPEP && !listActive, readOnly: readOnly['isPEP'] || noneEditable['is_relative_PEP'], isVerified: isPEPSwitchVerified }), _jsx(InfluencerSwitch, { show: showIsInfluencer && isKWCountry && !listActive, readOnly: readOnly['isInfluencer'] || noneEditable['is_influencer'], isVerified: isInfluencerSwitchVerified })] }), _jsx(Collapse, __assign({ in: !listActive, timeout: 500 }, { children: _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, isAr: isAr, disabled: disabled, loading: loading, error: t(error || '') }, { children: t('next') })) }))] })) }))] }));
|
|
148
155
|
};
|
|
149
156
|
export default React.memo(AdditionalIndividualInfo);
|
|
150
157
|
AdditionalIndividualInfo.defaultProps = {};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FileDetails } from '../../../../@types';
|
|
3
2
|
type CivilIDFileProps = {
|
|
4
3
|
defaultFiles?: Array<FileDetails>;
|
|
5
4
|
readOnly?: boolean;
|
|
6
5
|
show: boolean;
|
|
7
6
|
};
|
|
8
|
-
declare const CivilIDFile: ({ defaultFiles, readOnly, show }: CivilIDFileProps) => JSX.Element;
|
|
7
|
+
declare const CivilIDFile: ({ defaultFiles, readOnly, show }: CivilIDFileProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export default CivilIDFile;
|
|
@@ -4,5 +4,5 @@ export interface InfluencerSwitchProps {
|
|
|
4
4
|
readOnly?: boolean;
|
|
5
5
|
isVerified?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: React.MemoExoticComponent<({ show, readOnly, isVerified }: InfluencerSwitchProps) => JSX.Element>;
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ show, readOnly, isVerified }: InfluencerSwitchProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
8
|
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const InfoIconStyled: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
|
|
4
|
+
}, "className" | "style" | "classes" | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
+
export declare const InfoOutlinedIconStyled: import("@emotion/styled").StyledComponent<import("@mui/material").SvgIconOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
|
|
7
|
+
}, "className" | "style" | "classes" | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
|
+
export interface IsAuthorizedSwitchProps {
|
|
9
|
+
show: boolean;
|
|
10
|
+
readOnly?: boolean;
|
|
11
|
+
isVerified?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ show, readOnly, isVerified }: IsAuthorizedSwitchProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
|
+
export default _default;
|