@tap-payments/auth-jsconnect 2.7.11-test → 2.7.11
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/build/@types/app.d.ts +47 -4
- package/build/@types/app.js +22 -0
- package/build/@types/config.d.ts +4 -0
- package/build/@types/form.d.ts +11 -1
- package/build/@types/redux.d.ts +1 -0
- package/build/api/account.d.ts +4 -1
- package/build/api/account.js +15 -1
- package/build/api/auth.d.ts +35 -20
- package/build/api/auth.js +1 -1
- package/build/api/axios.js +1 -2
- package/build/api/data.d.ts +4 -17
- package/build/api/data.js +5 -45
- package/build/api/entity.d.ts +3 -2
- package/build/api/entity.js +12 -4
- package/build/api/firebase.js +68 -8
- package/build/api/index.d.ts +14 -25
- package/build/api/lead.d.ts +16 -3
- package/build/api/lead.js +16 -0
- package/build/api/user.d.ts +7 -0
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +1 -0
- package/build/app/rootReducer.js +3 -1
- package/build/app/settings.d.ts +1 -0
- package/build/app/settings.js +16 -11
- package/build/app/store.d.ts +2 -0
- package/build/assets/currencies/SARSymbol.d.ts +7 -0
- package/build/assets/currencies/SARSymbol.js +28 -0
- package/build/assets/currencies/index.d.ts +2 -0
- package/build/assets/currencies/index.js +2 -0
- package/build/assets/currencies/utils.d.ts +4 -0
- package/build/assets/currencies/utils.js +4 -0
- package/build/assets/locales/ar.json +358 -151
- package/build/assets/locales/en.json +354 -150
- package/build/components/AnimationFlow/AnimationFlow.d.ts +9 -5
- package/build/components/AnimationFlow/AnimationFlow.js +5 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +3 -1
- package/build/components/AnimationFlow/BottomSheet.js +42 -14
- package/build/components/AnimationFlow/Dialog.d.ts +4 -3
- package/build/components/AnimationFlow/Dialog.js +5 -3
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
- package/build/components/ArabicDatePicker/style.css +32 -3
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/DatePicker/DatePicker.js +2 -2
- package/build/components/Footer/Footer.js +2 -1
- package/build/components/Input/Input.js +1 -1
- package/build/components/Providers/ThemeProvider.js +3 -3
- package/build/components/TextWithCurrency/TextWithCurrency.d.ts +7 -0
- package/build/components/TextWithCurrency/TextWithCurrency.js +14 -0
- package/build/components/TextWithCurrency/index.d.ts +2 -0
- package/build/components/TextWithCurrency/index.js +2 -0
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/constants/api.d.ts +5 -7
- package/build/constants/api.js +11 -15
- package/build/constants/app.d.ts +41 -0
- package/build/constants/app.js +369 -36
- package/build/constants/assets.d.ts +7 -0
- package/build/constants/assets.js +11 -1
- package/build/constants/dummy.d.ts +4 -219
- package/build/constants/dummy.js +64 -6194
- package/build/constants/flows.d.ts +26 -0
- package/build/constants/flows.js +27 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/validation.d.ts +2 -0
- package/build/constants/validation.js +2 -0
- package/build/features/app/auth/authStore.d.ts +29 -8
- package/build/features/app/auth/authStore.js +495 -149
- package/build/features/app/bank/bankStore.d.ts +13 -18
- package/build/features/app/bank/bankStore.js +186 -153
- package/build/features/app/board/boardStore.d.ts +5 -1
- package/build/features/app/board/boardStore.js +82 -51
- package/build/features/app/brand/brandStore.d.ts +17 -33
- package/build/features/app/brand/brandStore.js +254 -257
- package/build/features/app/business/businessStore.d.ts +37 -15
- package/build/features/app/business/businessStore.js +443 -235
- package/build/features/app/connect/connectStore.d.ts +33 -5
- package/build/features/app/connect/connectStore.js +355 -120
- package/build/features/app/connectExpress/connectExpressStore.d.ts +64 -27
- package/build/features/app/connectExpress/connectExpressStore.js +826 -394
- package/build/features/app/entity/entityStore.d.ts +20 -36
- package/build/features/app/entity/entityStore.js +204 -238
- package/build/features/app/individual/individualStore.d.ts +18 -34
- package/build/features/app/individual/individualStore.js +269 -292
- package/build/features/app/kyc/kycStore.d.ts +67 -0
- package/build/features/app/kyc/kycStore.js +432 -0
- package/build/features/app/password/passwordStore.d.ts +33 -18
- package/build/features/app/password/passwordStore.js +260 -219
- package/build/features/app/signIn/signInStore.js +19 -15
- package/build/features/app/tax/taxStore.d.ts +13 -7
- package/build/features/app/tax/taxStore.js +170 -136
- package/build/features/auth/Auth.d.ts +5 -6
- package/build/features/auth/Auth.js +40 -15
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +2 -5
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +58 -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.js +2 -8
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +2 -2
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +8 -2
- package/build/features/auth/screens/CivilID/CivilID.js +4 -35
- package/build/features/auth/screens/{NID → DOB}/DOB.js +3 -3
- package/build/features/auth/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/auth/screens/DOB/DOBForm.js +59 -0
- package/build/features/auth/screens/DOB/index.d.ts +3 -0
- package/build/features/auth/screens/DOB/index.js +2 -0
- package/build/features/{connectExpress/screens/IdentityOTP → auth/screens/DOB}/validation.d.ts +4 -4
- package/build/features/auth/screens/DOB/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.js +6 -38
- package/build/features/auth/screens/Mobile/MobileNumber.js +13 -15
- package/build/features/auth/screens/Mobile/validation.js +11 -3
- package/build/features/auth/screens/NID/IDNumber.js +1 -1
- package/build/features/auth/screens/NID/NID.js +7 -43
- package/build/features/auth/screens/NID/validation.d.ts +0 -3
- package/build/features/auth/screens/NID/validation.js +0 -1
- package/build/features/auth/screens/OTP/OTP.js +41 -10
- package/build/features/auth/screens/OTP/OTPInput.js +23 -6
- 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.js +3 -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/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.js +35 -0
- package/build/features/auth/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/auth/screens/VerifyNafath/index.js +2 -0
- package/build/features/bank/Bank.d.ts +5 -1
- package/build/features/bank/Bank.js +22 -9
- package/build/features/bank/screens/BankDetails/BankDetails.js +18 -5
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/bank/screens/Verify/Verify.js +7 -6
- package/build/features/board/Board.d.ts +2 -0
- package/build/features/board/Board.js +24 -13
- 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/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
- package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
- package/build/features/board/screens/PrepareDataLoading/index.d.ts +2 -0
- package/build/features/board/screens/PrepareDataLoading/index.js +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -4
- package/build/features/board/screens/Verify/Verify.js +3 -2
- package/build/features/brand/Brand.d.ts +5 -1
- package/build/features/brand/Brand.js +22 -9
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +5 -5
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +48 -11
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +6 -6
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +1 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +3 -5
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +4 -4
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +1 -1
- package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +22 -4
- package/build/features/brand/screens/BrandInfo/BrandName.js +2 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +22 -6
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/brand/screens/Verify/Verify.js +3 -2
- package/build/features/business/Business.js +20 -12
- package/build/features/business/screens/Activities/Activities.js +26 -9
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +4 -4
- package/build/features/business/screens/Activities/ActivitiesList.js +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -3
- package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +2 -2
- package/build/features/business/screens/BusinessType/BusinessType.js +11 -3
- package/build/features/business/screens/BusinessType/LicenseNumber.js +3 -3
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +10 -8
- package/build/features/business/screens/Customers/CustomerLocations.js +5 -3
- package/build/features/business/screens/Customers/Customers.js +50 -10
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +3 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.js +5 -3
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +3 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +7 -6
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -5
- package/build/features/business/screens/Customers/RefundPolicy.js +13 -13
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +4 -1
- 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/DOB/DOB.d.ts +6 -0
- package/build/features/business/screens/DOB/DOB.js +45 -0
- package/build/features/business/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/business/screens/DOB/DOBForm.js +72 -0
- package/build/features/business/screens/DOB/index.d.ts +3 -0
- package/build/features/business/screens/DOB/index.js +2 -0
- package/build/features/business/screens/DOB/validation.d.ts +8 -0
- package/build/features/business/screens/DOB/validation.js +4 -0
- package/build/features/business/screens/IDBOD/IDBOD.js +10 -2
- package/build/features/business/screens/IDBOD/validation.d.ts +0 -3
- package/build/features/business/screens/IDBOD/validation.js +0 -1
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +103 -0
- package/build/features/{connectExpress/screens/IdentityOTP/OTP.d.ts → business/screens/MobileOwnership/MobileNumber.d.ts} +0 -2
- package/build/features/business/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/business/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/business/screens/MobileOwnership/index.js +2 -0
- package/build/features/business/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/business/screens/MobileOwnership/validation.js +38 -0
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -3
- package/build/features/business/screens/Verify/Verify.js +15 -4
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/business/screens/VerifyNafath/VerifyNafath.js +35 -0
- package/build/features/business/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/business/screens/VerifyNafath/index.js +2 -0
- package/build/features/connect/Connect.d.ts +5 -1
- package/build/features/connect/Connect.js +16 -9
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +7 -1
- package/build/features/connect/screens/CivilID/CivilID.js +6 -1
- package/build/features/{auth/screens/NID → connect/screens/DOB}/DOB.d.ts +1 -2
- package/build/features/connect/screens/{NID → DOB}/DOB.js +2 -2
- package/build/features/connect/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/connect/screens/DOB/DOBForm.js +59 -0
- package/build/features/connect/screens/DOB/index.d.ts +3 -0
- package/build/features/connect/screens/DOB/index.js +2 -0
- package/build/features/connect/screens/DOB/validation.d.ts +8 -0
- package/build/features/connect/screens/DOB/validation.js +4 -0
- package/build/features/connect/screens/Individual/Email.js +1 -3
- package/build/features/connect/screens/Individual/Individual.js +11 -5
- package/build/features/connect/screens/Individual/MobileNumber.js +8 -7
- package/build/features/connect/screens/Individual/validation.js +11 -3
- package/build/features/connect/screens/Merchant/BrandName.js +2 -2
- package/build/features/connect/screens/Mobile/Mobile.js +12 -9
- package/build/features/connect/screens/Mobile/MobileNumber.js +8 -7
- package/build/features/connect/screens/Mobile/validation.js +11 -3
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +104 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connect/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connect/screens/MobileOwnership/index.js +2 -0
- package/build/features/connect/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connect/screens/MobileOwnership/validation.js +38 -0
- package/build/features/connect/screens/NID/IDNumber.d.ts +1 -0
- package/build/features/connect/screens/NID/IDNumber.js +2 -2
- package/build/features/connect/screens/NID/NID.js +5 -11
- package/build/features/connect/screens/NID/validation.d.ts +0 -3
- package/build/features/connect/screens/NID/validation.js +0 -1
- package/build/features/connect/screens/OTP/OTP.js +6 -6
- package/build/features/connect/screens/OTP/OTPInput.js +3 -11
- package/build/features/connect/screens/OperatorError/OperatorError.js +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.js +35 -0
- package/build/features/connect/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/connect/screens/VerifyNafath/index.js +2 -0
- package/build/features/connectExpress/ConnectExpress.d.ts +5 -2
- package/build/features/connectExpress/ConnectExpress.js +62 -39
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +2 -2
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +7 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.js +6 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +8 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +30 -7
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -3
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +9 -8
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +11 -3
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +14 -24
- package/build/features/connectExpress/screens/{NID → DOB}/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/{NID → DOB}/DOB.js +3 -3
- package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +5 -0
- package/build/features/connectExpress/screens/DOB/DOBForm.js +63 -0
- package/build/features/connectExpress/screens/DOB/index.d.ts +3 -0
- package/build/features/connectExpress/screens/DOB/index.js +2 -0
- package/build/features/connectExpress/screens/DOB/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/DOB/validation.js +4 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +3 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.js +9 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.d.ts +2 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.js +2 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.js +35 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/index.d.ts +3 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/index.js +2 -0
- package/build/features/connectExpress/screens/Mobile/Mobile.js +10 -3
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +9 -8
- package/build/features/connectExpress/screens/Mobile/validation.js +21 -6
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +106 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.js +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.js +38 -0
- package/build/features/connectExpress/screens/NID/IDNumber.d.ts +1 -0
- package/build/features/connectExpress/screens/NID/IDNumber.js +2 -2
- package/build/features/connectExpress/screens/NID/NID.js +10 -10
- package/build/features/connectExpress/screens/NID/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.js +2 -2
- package/build/features/connectExpress/screens/NID/validation.d.ts +0 -3
- package/build/features/connectExpress/screens/NID/validation.js +0 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.js +3 -3
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +0 -3
- package/build/features/connectExpress/screens/NIDMissed/validation.js +0 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +13 -15
- package/build/features/connectExpress/screens/OTP/OTPInput.js +12 -10
- 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.js +3 -3
- package/build/features/{business/screens/OTP → connectExpress/screens/VerifyMobileAuthOTP}/OTPInput.js +3 -3
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +5 -0
- package/build/features/connectExpress/screens/{IdentityOTP/OTP.js → VerifyMobileAuthOTP/VerifyMobileAuthOTP.js} +22 -21
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.js +2 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +41 -0
- package/build/features/connectExpress/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyNafath/index.js +2 -0
- package/build/features/entity/Entity.d.ts +4 -1
- package/build/features/entity/Entity.js +22 -9
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +4 -4
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +5 -5
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +5 -5
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +33 -9
- package/build/features/entity/screens/EntityName/EntityName.js +31 -14
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +5 -5
- package/build/features/entity/screens/EntityName/EntityTypeList.js +2 -3
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +2 -2
- package/build/features/entity/screens/EntityName/ExpiryDate.js +13 -8
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +2 -2
- package/build/features/entity/screens/EntityName/IssuingDate.js +15 -8
- package/build/features/entity/screens/EntityName/LegalName.js +1 -13
- package/build/features/entity/screens/EntityName/LicenseNumber.js +6 -8
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +4 -6
- package/build/features/entity/screens/EntityName/validation.d.ts +3 -3
- package/build/features/entity/screens/EntityName/validation.js +1 -10
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/entity/screens/Verify/Verify.js +3 -2
- package/build/features/featuresScreens.d.ts +1 -0
- package/build/features/featuresScreens.js +216 -13
- package/build/features/individual/Individual.d.ts +4 -1
- package/build/features/individual/Individual.js +22 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +44 -11
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +2 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +4 -4
- package/build/features/individual/screens/IndividualList/Email.js +2 -3
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
- package/build/features/individual/screens/IndividualList/IndividualList.js +18 -5
- package/build/features/individual/screens/IndividualList/MobileNumber.js +8 -10
- package/build/features/individual/screens/IndividualList/UserList.js +7 -7
- package/build/features/individual/screens/IndividualList/validation.js +11 -4
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +2 -4
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +73 -18
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -5
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +11 -3
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +9 -11
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +11 -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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/individual/screens/Verify/Verify.js +3 -2
- package/build/features/kyc/KYC.d.ts +11 -0
- package/build/features/kyc/KYC.js +99 -0
- package/build/features/kyc/index.d.ts +1 -0
- package/build/features/kyc/index.js +1 -0
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +5 -0
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.js +19 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.d.ts +2 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.js +2 -0
- package/build/features/kyc/screens/Loading/Loading.d.ts +4 -0
- package/build/features/kyc/screens/Loading/Loading.js +10 -0
- package/build/features/kyc/screens/Loading/index.d.ts +2 -0
- package/build/features/kyc/screens/Loading/index.js +2 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/kyc/screens/OperatorError/index.d.ts +2 -0
- package/build/features/kyc/screens/OperatorError/index.js +2 -0
- package/build/features/kyc/screens/Success/Success.d.ts +5 -0
- package/build/features/kyc/screens/Success/Success.js +32 -0
- package/build/features/kyc/screens/Success/index.d.ts +2 -0
- package/build/features/kyc/screens/Success/index.js +2 -0
- package/build/features/kyc/screens/Terms/Header.d.ts +6 -0
- package/build/features/kyc/screens/Terms/Header.js +36 -0
- package/build/features/kyc/screens/Terms/Terms.d.ts +4 -0
- package/build/features/kyc/screens/Terms/Terms.js +87 -0
- package/build/features/kyc/screens/Terms/index.d.ts +2 -0
- package/build/features/kyc/screens/Terms/index.js +2 -0
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +5 -0
- package/build/features/kyc/screens/TokenError/TokenError.js +9 -0
- package/build/features/kyc/screens/TokenError/index.d.ts +2 -0
- package/build/features/kyc/screens/TokenError/index.js +2 -0
- package/build/features/kyc/screens/Users/Users.d.ts +3 -0
- package/build/features/kyc/screens/Users/Users.js +76 -0
- package/build/features/kyc/screens/Users/index.d.ts +2 -0
- package/build/features/kyc/screens/Users/index.js +2 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.js +45 -0
- package/build/features/kyc/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyNafath/index.js +2 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +5 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.js +44 -0
- package/build/features/kyc/screens/VerifyPaci/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyPaci/index.js +2 -0
- package/build/features/password/Password.d.ts +4 -1
- package/build/features/password/Password.js +88 -31
- package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -4
- package/build/features/password/screens/OTP/OTP.js +3 -3
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/password/screens/Verify/Verify.js +7 -6
- package/build/features/shared/Address/CountryList.d.ts +5 -5
- package/build/features/shared/Address/InputSelect.d.ts +5 -5
- package/build/features/shared/Background/Background.js +1 -1
- package/build/features/shared/Background/LogoBackground.js +5 -17
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.js +3 -1
- package/build/features/shared/Button/EmailProvidersButtons.js +2 -0
- package/build/features/shared/Button/FlowsButtons.js +18 -4
- package/build/features/shared/Button/NafathButton.d.ts +8 -0
- package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +12 -3
- package/build/features/shared/Button/index.d.ts +2 -2
- package/build/features/shared/Button/index.js +2 -2
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/Calender/Calender.js +3 -3
- package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +5 -3
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/Dialog/DialogContainer.js +5 -4
- package/build/features/shared/Input/Input.d.ts +3 -3
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +14 -0
- package/build/features/shared/NafathVerification/NafathVerification.js +92 -0
- package/build/features/shared/NafathVerification/VerifyNafathLoading.d.ts +8 -0
- package/build/features/shared/NafathVerification/VerifyNafathLoading.js +53 -0
- package/build/features/shared/NafathVerification/VerifyNafathSuccess.d.ts +5 -0
- package/build/features/shared/NafathVerification/VerifyNafathSuccess.js +8 -0
- package/build/features/shared/NafathVerification/index.d.ts +2 -0
- package/build/features/shared/NafathVerification/index.js +2 -0
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +6 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +10 -13
- package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +1 -1
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +1 -1
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +1 -1
- package/build/features/signIn/SignIn.js +18 -7
- package/build/features/signIn/screens/Mobile/MobileNumber.js +8 -7
- package/build/features/signIn/screens/Mobile/validation.js +11 -3
- package/build/features/signIn/screens/OTP/OTP.js +5 -4
- 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/tax/Tax.d.ts +4 -1
- package/build/features/tax/Tax.js +22 -9
- 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/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +7 -2
- package/build/features/tax/screens/Verify/Verify.js +7 -6
- package/build/hooks/index.d.ts +3 -0
- package/build/hooks/index.js +3 -0
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +2 -2
- package/build/hooks/useAppDispatch.d.ts +1 -0
- package/build/hooks/useAppTheme.js +4 -3
- package/build/hooks/useCountDown.d.ts +10 -0
- package/build/hooks/useCountDown.js +17 -0
- package/build/hooks/useFormDirtyCheck.d.ts +10 -0
- package/build/hooks/useFormDirtyCheck.js +66 -0
- package/build/hooks/useSanitizedTranslation.d.ts +2 -0
- package/build/hooks/useSanitizedTranslation.js +15 -0
- package/build/hooks/useVerifyToken.d.ts +4 -2
- package/build/hooks/useVerifyToken.js +9 -4
- package/build/index.css +360 -120
- package/build/index.d.ts +3 -2
- package/build/index.js +4 -2
- package/build/theme/components.js +7 -0
- package/build/theme/palette.js +2 -1
- package/build/theme/shadows.js +1 -1
- package/build/theme/theme.d.ts +1 -1
- package/build/theme/theme.js +2 -2
- package/build/utils/array.js +2 -2
- package/build/utils/common.d.ts +1 -0
- package/build/utils/common.js +16 -3
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +3 -0
- package/build/utils/string.d.ts +6 -2
- package/build/utils/string.js +28 -3
- package/build/utils/validation.d.ts +2 -0
- package/build/utils/validation.js +6 -0
- package/package.json +3 -4
- package/build/features/business/screens/OTP/OTP.d.ts +0 -8
- package/build/features/business/screens/OTP/OTP.js +0 -90
- package/build/features/business/screens/OTP/index.d.ts +0 -3
- package/build/features/business/screens/OTP/index.js +0 -2
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +0 -54
- package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
- package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
- package/build/features/connectExpress/screens/IdentityOTP/validation.js +0 -4
- package/build/features/shared/Button/AbsherButton.d.ts +0 -8
- /package/build/features/{connect/screens/NID → auth/screens/DOB}/DOB.d.ts +0 -0
- /package/build/features/{business/screens/OTP → connectExpress/screens/VerifyMobileAuthOTP}/OTPInput.d.ts +0 -0
- /package/build/features/{business/screens/OTP → connectExpress/screens/VerifyMobileAuthOTP}/validation.d.ts +0 -0
- /package/build/features/{business/screens/OTP → connectExpress/screens/VerifyMobileAuthOTP}/validation.js +0 -0
|
@@ -1,47 +1,67 @@
|
|
|
1
|
+
import { CONNECT_FLOWS } from '../constants';
|
|
1
2
|
import BusinessCountry from './connect/screens/BusinessCountry/BusinessCountry';
|
|
2
3
|
import MobileScreen from './connect/screens/Mobile';
|
|
3
4
|
import NIDScreen from './connect/screens/NID';
|
|
4
5
|
import ConnectCivilIDScreen from '../features/connect/screens/CivilID';
|
|
5
6
|
import ConnectVerifyPACIScreen from './connect/screens/VerifyPACI';
|
|
7
|
+
import ConnectVerifyNafathScreen from './connect/screens/VerifyNafath';
|
|
8
|
+
import DobScreen from './connect/screens/DOB';
|
|
6
9
|
import IndividualScreen from './connect/screens/Individual';
|
|
7
10
|
import MerchantInfoScreen from './connect/screens/Merchant';
|
|
8
11
|
import BrandSegmentInfoScreen from './connect/screens/BrandSegment';
|
|
9
12
|
import ConnectOTPScreen from './connect/screens/OTP';
|
|
10
13
|
import ThankYouScreen from './connect/screens/ThankYou';
|
|
11
14
|
import OperatorError from './connect/screens/OperatorError';
|
|
15
|
+
import CollectMobileOwnership from './connect/screens/MobileOwnership';
|
|
12
16
|
import ConnectExpressBusinessCountry from './connectExpress/screens/BusinessCountry/BusinessCountry';
|
|
13
17
|
import ConnectExpressMobileScreen from './connectExpress/screens/Mobile';
|
|
14
18
|
import ConnectExpressNIDScreen from './connectExpress/screens/NID';
|
|
19
|
+
import ConnectExpressVerifyNafathScreen from './connectExpress/screens/VerifyNafath';
|
|
15
20
|
import ConnectExpressCivilIDScreen from './connectExpress/screens/CivilID';
|
|
16
21
|
import ConnectExpressVerifyPACIScreen from './connectExpress/screens/VerifyPACI';
|
|
17
22
|
import ConnectExpressOTPScreen from './connectExpress/screens/OTP';
|
|
18
23
|
import ConnectExpressNIDMissedScreen from './connectExpress/screens/NIDMissed';
|
|
19
24
|
import ConnectExpressCivilIDMissedScreen from './connectExpress/screens/CivilIDMissed';
|
|
20
25
|
import ConnectExpressIdentityVerifyPACIScreen from './connectExpress/screens/IdentityVerifyPACI';
|
|
21
|
-
import
|
|
26
|
+
import ConnectExpressIdentityVerifyNafathScreen from './connectExpress/screens/IdentityVerifyNafath';
|
|
22
27
|
import ConnectExpressCollectIndividualScreen from './connectExpress/screens/CollectIndividualInfo';
|
|
28
|
+
import ConnectExpressCollectDobScreen from './connectExpress/screens/DOB';
|
|
23
29
|
import ConnectExpressCollectBusinessScreen from './connectExpress/screens/CollectBusinessInfo';
|
|
30
|
+
import ConnectExpressVerifyAuthMobileOtpScreen from './connectExpress/screens/VerifyMobileAuthOTP';
|
|
24
31
|
import ConnectExpressCreateAccountLoaderScreen from './connectExpress/screens/CreateAccountLoader';
|
|
32
|
+
import ConnectExpressPreparingDataLoaderScreen from './connectExpress/screens/PrepareDataLoading';
|
|
25
33
|
import ConnectExpressSuccessFlowButtonsScreen from './connectExpress/screens/SuccessWithFlowButtons';
|
|
26
34
|
import ConnectExpressAccountAlreadyCreatedScreen from './connectExpress/screens/AccountAlreadyCreated';
|
|
27
35
|
import ConnectExpressAuthenticationListScreen from './connectExpress/screens/AuthenticationList';
|
|
28
36
|
import ConnectExpressAuthMerchantScreen from './connectExpress/screens/AuthMerchant';
|
|
29
37
|
import ConnectExpressAuthAccountCreatedLoaderScreen from './connectExpress/screens/AccountCreatedLoader';
|
|
38
|
+
import ConnectExpressOperatorError from './connectExpress/screens/OperatorError';
|
|
39
|
+
import ConnectExpressCollectMobileOwnership from './connectExpress/screens/MobileOwnership';
|
|
30
40
|
import AuthBusinessCountry from './auth/screens/BusinessCountry/BusinessCountry';
|
|
41
|
+
import AuthSwitchScreen from './auth/screens/AuthSwitch';
|
|
31
42
|
import AuthMobileScreen from './auth/screens/Mobile';
|
|
32
43
|
import AuthNIDScreen from './auth/screens/NID';
|
|
44
|
+
import AuthEmailScreen from './auth/screens/Email';
|
|
33
45
|
import AuthCivilIDScreen from './auth/screens/CivilID';
|
|
34
46
|
import AuthVerifyPACIScreen from './auth/screens/VerifyPACI';
|
|
47
|
+
import AuthVerifyNafathScreen from './auth/screens/VerifyNafath';
|
|
48
|
+
import AuthDOBPage from './auth/screens/DOB';
|
|
35
49
|
import AuthOTPScreen from './auth/screens/OTP';
|
|
50
|
+
import AuthPasswordScreen from './auth/screens/Password';
|
|
51
|
+
import AuthResetPasswordMessageScreen from './auth/screens/ResetPasswordMessage';
|
|
36
52
|
import PreparingDataScreen from './auth/screens/PreparingData';
|
|
37
53
|
import AccountNotFoundScreen from './auth/screens/AccountNotFound';
|
|
38
54
|
import AuthAuthenticationListScreen from './auth/screens/AuthenticationList';
|
|
39
55
|
import AuthMerchantScreen from './auth/screens/AuthMerchant';
|
|
40
56
|
import AuthAccountCreatedLoaderScreen from './auth/screens/AccountCreatedLoader';
|
|
57
|
+
import AuthEmailSentScreen from './auth/screens/EmailSent';
|
|
58
|
+
import AuthMigratingDataScreen from './auth/screens/MigratingData';
|
|
59
|
+
import AuthOperatorError from './auth/screens/OperatorError';
|
|
41
60
|
import CustomersPage from './business/screens/Customers';
|
|
42
61
|
import IDBODPage from './business/screens/IDBOD';
|
|
43
62
|
import BusinessVerifyPage from './business/screens/Verify';
|
|
44
|
-
import
|
|
63
|
+
import BusinessVerifyNafathPage from './business/screens/VerifyNafath';
|
|
64
|
+
import DOBPage from './business/screens/DOB';
|
|
45
65
|
import BusinessTypePage from './business/screens/BusinessType';
|
|
46
66
|
import ActivitiesPage from './business/screens/Activities';
|
|
47
67
|
import SuccessPage from './business/screens/Success';
|
|
@@ -50,12 +70,16 @@ import ResetPasswordSuccessPage from './business/screens/ResetPasswordSuccess';
|
|
|
50
70
|
import BusCivilIDscreen from './business/screens/CivilID';
|
|
51
71
|
import BusVerifyPACIScreen from './business/screens/VerifyPACI';
|
|
52
72
|
import BrandVerifyScreen from './business/screens/BrandDetails';
|
|
73
|
+
import BusinessOperatorError from './business/screens/OperatorError';
|
|
74
|
+
import BusinessCollectMobileOwnership from './business/screens/MobileOwnership';
|
|
53
75
|
import PasswordVerifyPage from './password/screens/Verify';
|
|
54
76
|
import CreatePasswordPage from './password/screens/CreatePassword';
|
|
77
|
+
import PasswordDataLoadingPage from './password/screens/PrepareDataLoading';
|
|
55
78
|
import PasswordOTPPage from './password/screens/OTP';
|
|
56
79
|
import SuccessPasswordPage from './password/screens/Success';
|
|
57
80
|
import PasswordSuccessWithFlowPage from './password/screens/SuccessWithFlowButtons';
|
|
58
81
|
import PasswordResetPasswordSuccessPage from './password/screens/ResetPasswordSuccess';
|
|
82
|
+
import PasswordOperatorError from './password/screens/OperatorError';
|
|
59
83
|
import IndividualVerifyPage from './individual/screens/Verify';
|
|
60
84
|
import IndividualPhoneInfoPage from './individual/screens/IndividualPhoneInfo';
|
|
61
85
|
import IndividualListPage from './individual/screens/IndividualList';
|
|
@@ -65,22 +89,26 @@ import SuccessOwnerPage from './individual/screens/Success';
|
|
|
65
89
|
import IndividualSuccessWithFlowPage from './individual/screens/SuccessWithFlowButtons';
|
|
66
90
|
import IndividualResetPasswordSuccessPage from './individual/screens/ResetPasswordSuccess';
|
|
67
91
|
import IndividualDataLoadingPage from './individual/screens/PrepareDataLoading';
|
|
92
|
+
import IndividualOperatorError from './individual/screens/OperatorError';
|
|
68
93
|
import BankVerifyPage from './bank/screens/Verify';
|
|
69
94
|
import BankDetailsPage from './bank/screens/BankDetails';
|
|
70
95
|
import BankSuccessPage from './bank/screens/Success';
|
|
71
96
|
import BankSuccessWithFlowPage from './bank/screens/SuccessWithFlowButtons';
|
|
72
97
|
import BankResetPasswordSuccessPage from './bank/screens/ResetPasswordSuccess';
|
|
73
98
|
import BankDataLoadingPage from './bank/screens/PrepareDataLoading';
|
|
99
|
+
import BankOperatorError from './bank/screens/OperatorError';
|
|
74
100
|
import TaxVerifyPage from './tax/screens/Verify';
|
|
75
101
|
import TaxDetailsPage from './tax/screens/TaxDetails';
|
|
76
102
|
import TaxSuccessPage from './tax/screens/Success';
|
|
77
103
|
import TaxSuccessWithFlowPage from './tax/screens/SuccessWithFlowButtons';
|
|
78
104
|
import TaxResetPasswordSuccessPage from './tax/screens/ResetPasswordSuccess';
|
|
79
105
|
import TaxDataLoadingPage from './tax/screens/PrepareDataLoading';
|
|
106
|
+
import TaxOperatorError from './tax/screens/OperatorError';
|
|
80
107
|
import SignInMobilePage from './signIn/screens/Mobile';
|
|
81
108
|
import SignInEmailPage from './signIn/screens/Email';
|
|
82
109
|
import SignInOTPPage from './signIn/screens/OTP';
|
|
83
110
|
import SignInPasswordPage from './signIn/screens/Password';
|
|
111
|
+
import SignInOperatorError from './signIn/screens/OperatorError';
|
|
84
112
|
import EntityVerifyPage from './entity/screens/Verify';
|
|
85
113
|
import EntityNamePage from './entity/screens/EntityName';
|
|
86
114
|
import EntityCapitalPage from './entity/screens/EntityCapital';
|
|
@@ -88,6 +116,7 @@ import EntitySuccessPage from './entity/screens/Success';
|
|
|
88
116
|
import EntitySuccessWithFlowPage from './entity/screens/SuccessWithFlowButtons';
|
|
89
117
|
import EntityResetPasswordSuccessPage from './entity/screens/ResetPasswordSuccess';
|
|
90
118
|
import EntityDataLoadingPage from './entity/screens/PrepareDataLoading';
|
|
119
|
+
import EntityOperatorError from './entity/screens/OperatorError';
|
|
91
120
|
import BrandVerifyPage from './brand/screens/Verify';
|
|
92
121
|
import BrandInfoPage from './brand/screens/BrandInfo';
|
|
93
122
|
import BrandSegmentPage from './brand/screens/BrandSegmentInfo';
|
|
@@ -96,9 +125,21 @@ import BrandSuccessPage from './brand/screens/Success';
|
|
|
96
125
|
import BrandSuccessWithFlowPage from './brand/screens/SuccessWithFlowButtons';
|
|
97
126
|
import BrandResetPasswordSuccessPage from './brand/screens/ResetPasswordSuccess';
|
|
98
127
|
import BrandDataLoadingPage from './brand/screens/PrepareDataLoading';
|
|
128
|
+
import BrandOperatorError from './brand/screens/OperatorError';
|
|
99
129
|
import BoardVerifyPage from './board/screens/Verify';
|
|
100
130
|
import BoardSuccessWithFlowPage from './board/screens/SuccessWithFlowButtons';
|
|
101
131
|
import BoardResetPasswordSuccessPage from './board/screens/ResetPasswordSuccess';
|
|
132
|
+
import BoardDataLoadingPage from './board/screens/PrepareDataLoading';
|
|
133
|
+
import BoardOperatorError from './board/screens/OperatorError';
|
|
134
|
+
import KycLoadingPage from './kyc/screens/Loading';
|
|
135
|
+
import KycTokenErrorPage from './kyc/screens/TokenError';
|
|
136
|
+
import KycAlreadySubmittedPage from './kyc/screens/AlreadySubmitted';
|
|
137
|
+
import KycVerifyNafathPage from './kyc/screens/VerifyNafath';
|
|
138
|
+
import KycVerifyPaciPage from './kyc/screens/VerifyPaci';
|
|
139
|
+
import KycOperatorErrorPage from './kyc/screens/OperatorError';
|
|
140
|
+
import KycSuccessPage from './kyc/screens/Success';
|
|
141
|
+
import KycTermsPage from './kyc/screens/Terms';
|
|
142
|
+
import KycUsersPage from './kyc/screens/Users';
|
|
102
143
|
export var connectFeatureScreens = [
|
|
103
144
|
{
|
|
104
145
|
name: 'CONNECT_BUSINESS_COUNTRY_STEP',
|
|
@@ -124,6 +165,14 @@ export var connectFeatureScreens = [
|
|
|
124
165
|
name: 'CONNECT_VERIFY_PACI_STEP',
|
|
125
166
|
element: ConnectVerifyPACIScreen
|
|
126
167
|
},
|
|
168
|
+
{
|
|
169
|
+
name: 'CONNECT_VERIFY_NAFATH_STEP',
|
|
170
|
+
element: ConnectVerifyNafathScreen
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'CONNECT_DOB_STEP',
|
|
174
|
+
element: DobScreen
|
|
175
|
+
},
|
|
127
176
|
{
|
|
128
177
|
name: 'CONNECT_INDIVIDUAL_STEP',
|
|
129
178
|
element: IndividualScreen
|
|
@@ -143,6 +192,10 @@ export var connectFeatureScreens = [
|
|
|
143
192
|
{
|
|
144
193
|
name: 'CONNECT_OPERATOR_ERROR_STEP',
|
|
145
194
|
element: OperatorError
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
name: 'CONNECT_MOBILE_OWNERSHIP',
|
|
198
|
+
element: CollectMobileOwnership
|
|
146
199
|
}
|
|
147
200
|
];
|
|
148
201
|
export var connectExpressFeatureScreens = [
|
|
@@ -166,6 +219,10 @@ export var connectExpressFeatureScreens = [
|
|
|
166
219
|
name: 'CONNECT_EXPRESS_OTP_STEP',
|
|
167
220
|
element: ConnectExpressOTPScreen
|
|
168
221
|
},
|
|
222
|
+
{
|
|
223
|
+
name: 'CONNECT_EXPRESS_VERIFY_NAFATH_STEP',
|
|
224
|
+
element: ConnectExpressVerifyNafathScreen
|
|
225
|
+
},
|
|
169
226
|
{
|
|
170
227
|
name: 'CONNECT_EXPRESS_VERIFY_PACI_STEP',
|
|
171
228
|
element: ConnectExpressVerifyPACIScreen
|
|
@@ -183,21 +240,33 @@ export var connectExpressFeatureScreens = [
|
|
|
183
240
|
element: ConnectExpressIdentityVerifyPACIScreen
|
|
184
241
|
},
|
|
185
242
|
{
|
|
186
|
-
name: '
|
|
187
|
-
element:
|
|
243
|
+
name: 'CONNECT_EXPRESS_IDENTITY_VERIFY_NAFATH_STEP',
|
|
244
|
+
element: ConnectExpressIdentityVerifyNafathScreen
|
|
188
245
|
},
|
|
189
246
|
{
|
|
190
247
|
name: 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
191
248
|
element: ConnectExpressCreateAccountLoaderScreen
|
|
192
249
|
},
|
|
250
|
+
{
|
|
251
|
+
name: 'CONNECT_EXPRESS_PREPARING_DATA_STEP',
|
|
252
|
+
element: ConnectExpressPreparingDataLoaderScreen
|
|
253
|
+
},
|
|
193
254
|
{
|
|
194
255
|
name: 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
195
256
|
element: ConnectExpressCollectIndividualScreen
|
|
196
257
|
},
|
|
258
|
+
{
|
|
259
|
+
name: 'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
260
|
+
element: ConnectExpressCollectDobScreen
|
|
261
|
+
},
|
|
197
262
|
{
|
|
198
263
|
name: 'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
199
264
|
element: ConnectExpressCollectBusinessScreen
|
|
200
265
|
},
|
|
266
|
+
{
|
|
267
|
+
name: 'CONNECT_EXPRESS_VERIFY_AUTH_OTP_STEP',
|
|
268
|
+
element: ConnectExpressVerifyAuthMobileOtpScreen
|
|
269
|
+
},
|
|
201
270
|
{
|
|
202
271
|
name: 'CONNECT_EXPRESS_ACCOUNT_ALREADY_CREATED_STEP',
|
|
203
272
|
element: ConnectExpressAccountAlreadyCreatedScreen
|
|
@@ -217,6 +286,14 @@ export var connectExpressFeatureScreens = [
|
|
|
217
286
|
{
|
|
218
287
|
name: 'CONNECT_EXPRESS_AUTH_ACCOUNT_CREATED_STEP',
|
|
219
288
|
element: ConnectExpressAuthAccountCreatedLoaderScreen
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: 'CONNECT_EXPRESS_OPERATOR_ERROR_STEP',
|
|
292
|
+
element: ConnectExpressOperatorError
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'COLLECT_MOBILE_OWNERSHIP',
|
|
296
|
+
element: ConnectExpressCollectMobileOwnership
|
|
220
297
|
}
|
|
221
298
|
];
|
|
222
299
|
export var authFeatureScreens = [
|
|
@@ -224,6 +301,10 @@ export var authFeatureScreens = [
|
|
|
224
301
|
name: 'AUTH_BUSINESS_COUNTRY_STEP',
|
|
225
302
|
element: AuthBusinessCountry
|
|
226
303
|
},
|
|
304
|
+
{
|
|
305
|
+
name: 'AUTH_SWITCH_STEP',
|
|
306
|
+
element: AuthSwitchScreen
|
|
307
|
+
},
|
|
227
308
|
{
|
|
228
309
|
name: 'AUTH_NID_STEP',
|
|
229
310
|
element: AuthNIDScreen
|
|
@@ -236,14 +317,34 @@ export var authFeatureScreens = [
|
|
|
236
317
|
name: 'AUTH_MOBILE_STEP',
|
|
237
318
|
element: AuthMobileScreen
|
|
238
319
|
},
|
|
320
|
+
{
|
|
321
|
+
name: 'AUTH_EMAIL_STEP',
|
|
322
|
+
element: AuthEmailScreen
|
|
323
|
+
},
|
|
239
324
|
{
|
|
240
325
|
name: 'AUTH_OTP_STEP',
|
|
241
326
|
element: AuthOTPScreen
|
|
242
327
|
},
|
|
328
|
+
{
|
|
329
|
+
name: 'AUTH_PASSWORD_STEP',
|
|
330
|
+
element: AuthPasswordScreen
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: 'AUTH_RESET_PASSWORD_MESSAGE_STEP',
|
|
334
|
+
element: AuthResetPasswordMessageScreen
|
|
335
|
+
},
|
|
243
336
|
{
|
|
244
337
|
name: 'AUTH_VERIFY_PACI_STEP',
|
|
245
338
|
element: AuthVerifyPACIScreen
|
|
246
339
|
},
|
|
340
|
+
{
|
|
341
|
+
name: 'AUTH_NAFATH_VERIFY_STEP',
|
|
342
|
+
element: AuthVerifyNafathScreen
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
name: 'AUTH_DOB_STEP',
|
|
346
|
+
element: AuthDOBPage
|
|
347
|
+
},
|
|
247
348
|
{
|
|
248
349
|
name: 'AUTH_ACCOUNT_NOT_FOUND_STEP',
|
|
249
350
|
element: AccountNotFoundScreen
|
|
@@ -263,6 +364,18 @@ export var authFeatureScreens = [
|
|
|
263
364
|
{
|
|
264
365
|
name: 'AUTH_ACCOUNT_CREATED_STEP',
|
|
265
366
|
element: AuthAccountCreatedLoaderScreen
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
name: 'AUTH_EMAIL_SENT_STEP',
|
|
370
|
+
element: AuthEmailSentScreen
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
name: 'AUTH_MIGRATING_DATA_STEP',
|
|
374
|
+
element: AuthMigratingDataScreen
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
name: 'AUTH_OPERATOR_ERROR_STEP',
|
|
378
|
+
element: AuthOperatorError
|
|
266
379
|
}
|
|
267
380
|
];
|
|
268
381
|
export var businessFeatureScreens = [
|
|
@@ -283,8 +396,12 @@ export var businessFeatureScreens = [
|
|
|
283
396
|
element: BusVerifyPACIScreen
|
|
284
397
|
},
|
|
285
398
|
{
|
|
286
|
-
name: '
|
|
287
|
-
element:
|
|
399
|
+
name: 'BUSINESS_VERIFY_NAFATH_STEP',
|
|
400
|
+
element: BusinessVerifyNafathPage
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
name: 'BUSINESS_DOB_STEP',
|
|
404
|
+
element: DOBPage
|
|
288
405
|
},
|
|
289
406
|
{
|
|
290
407
|
name: 'BUSINESS_BUSINESS_TYPE_STEP',
|
|
@@ -301,7 +418,15 @@ export var businessFeatureScreens = [
|
|
|
301
418
|
{ name: 'BUSINESS_SUCCESS_STEP', element: SuccessPage },
|
|
302
419
|
{ name: 'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP', element: SuccessWithFlowButtonsPage },
|
|
303
420
|
{ name: 'BUSINESS_RESET_PASSWORD_SUCCESS', element: ResetPasswordSuccessPage },
|
|
304
|
-
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen }
|
|
421
|
+
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen },
|
|
422
|
+
{
|
|
423
|
+
name: 'BUSINESS_OPERATOR_ERROR_STEP',
|
|
424
|
+
element: BusinessOperatorError
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
name: 'BUSINESS_MOBILE_OWNERSHIP',
|
|
428
|
+
element: BusinessCollectMobileOwnership
|
|
429
|
+
}
|
|
305
430
|
];
|
|
306
431
|
export var passwordFeatureScreens = [
|
|
307
432
|
{
|
|
@@ -312,6 +437,10 @@ export var passwordFeatureScreens = [
|
|
|
312
437
|
name: 'PASSWORD_CREATE_PASSWORD_STEP',
|
|
313
438
|
element: CreatePasswordPage
|
|
314
439
|
},
|
|
440
|
+
{
|
|
441
|
+
name: 'PASSWORD_LOADING_DATA_STEP',
|
|
442
|
+
element: PasswordDataLoadingPage
|
|
443
|
+
},
|
|
315
444
|
{
|
|
316
445
|
name: 'PASSWORD_RESET_PASSWORD_OTP_STEP',
|
|
317
446
|
element: PasswordOTPPage
|
|
@@ -324,7 +453,11 @@ export var passwordFeatureScreens = [
|
|
|
324
453
|
name: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
325
454
|
element: PasswordSuccessWithFlowPage
|
|
326
455
|
},
|
|
327
|
-
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage }
|
|
456
|
+
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage },
|
|
457
|
+
{
|
|
458
|
+
name: 'PASSWORD_OPERATOR_ERROR_STEP',
|
|
459
|
+
element: PasswordOperatorError
|
|
460
|
+
}
|
|
328
461
|
];
|
|
329
462
|
export var individualFeatureScreens = [
|
|
330
463
|
{
|
|
@@ -359,7 +492,11 @@ export var individualFeatureScreens = [
|
|
|
359
492
|
name: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
360
493
|
element: IndividualSuccessWithFlowPage
|
|
361
494
|
},
|
|
362
|
-
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage }
|
|
495
|
+
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage },
|
|
496
|
+
{
|
|
497
|
+
name: 'INDIVIDUAL_OPERATOR_ERROR_STEP',
|
|
498
|
+
element: IndividualOperatorError
|
|
499
|
+
}
|
|
363
500
|
];
|
|
364
501
|
export var bankFeatureScreens = [
|
|
365
502
|
{
|
|
@@ -382,7 +519,11 @@ export var bankFeatureScreens = [
|
|
|
382
519
|
name: 'BANK_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
383
520
|
element: BankSuccessWithFlowPage
|
|
384
521
|
},
|
|
385
|
-
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage }
|
|
522
|
+
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage },
|
|
523
|
+
{
|
|
524
|
+
name: 'BANK_OPERATOR_ERROR_STEP',
|
|
525
|
+
element: BankOperatorError
|
|
526
|
+
}
|
|
386
527
|
];
|
|
387
528
|
export var taxFeatureScreens = [
|
|
388
529
|
{
|
|
@@ -405,7 +546,11 @@ export var taxFeatureScreens = [
|
|
|
405
546
|
name: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
406
547
|
element: TaxSuccessWithFlowPage
|
|
407
548
|
},
|
|
408
|
-
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage }
|
|
549
|
+
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage },
|
|
550
|
+
{
|
|
551
|
+
name: 'TAX_OPERATOR_ERROR_STEP',
|
|
552
|
+
element: TaxOperatorError
|
|
553
|
+
}
|
|
409
554
|
];
|
|
410
555
|
export var signInFeatureScreens = [
|
|
411
556
|
{
|
|
@@ -423,6 +568,10 @@ export var signInFeatureScreens = [
|
|
|
423
568
|
{
|
|
424
569
|
name: 'SIGIN_PASSWORD_STEP',
|
|
425
570
|
element: SignInPasswordPage
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
name: 'SIGIN_OPERATOR_ERROR_STEP',
|
|
574
|
+
element: SignInOperatorError
|
|
426
575
|
}
|
|
427
576
|
];
|
|
428
577
|
export var entityFeatureScreens = [
|
|
@@ -450,7 +599,11 @@ export var entityFeatureScreens = [
|
|
|
450
599
|
name: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
451
600
|
element: EntitySuccessWithFlowPage
|
|
452
601
|
},
|
|
453
|
-
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage }
|
|
602
|
+
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage },
|
|
603
|
+
{
|
|
604
|
+
name: 'ENTITY_OPERATOR_ERROR_STEP',
|
|
605
|
+
element: EntityOperatorError
|
|
606
|
+
}
|
|
454
607
|
];
|
|
455
608
|
export var brandFeatureScreens = [
|
|
456
609
|
{
|
|
@@ -481,7 +634,11 @@ export var brandFeatureScreens = [
|
|
|
481
634
|
name: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
482
635
|
element: BrandSuccessWithFlowPage
|
|
483
636
|
},
|
|
484
|
-
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage }
|
|
637
|
+
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage },
|
|
638
|
+
{
|
|
639
|
+
name: 'BRAND_OPERATOR_ERROR_STEP',
|
|
640
|
+
element: BrandOperatorError
|
|
641
|
+
}
|
|
485
642
|
];
|
|
486
643
|
export var boardFeatureScreens = [
|
|
487
644
|
{
|
|
@@ -495,5 +652,51 @@ export var boardFeatureScreens = [
|
|
|
495
652
|
{
|
|
496
653
|
name: 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP',
|
|
497
654
|
element: BoardSuccessWithFlowPage
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
name: 'BOARD_LOADING_DATA_STEP',
|
|
658
|
+
element: BoardDataLoadingPage
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
name: 'BOARD_OPERATOR_ERROR_STEP',
|
|
662
|
+
element: BoardOperatorError
|
|
663
|
+
}
|
|
664
|
+
];
|
|
665
|
+
export var kycFeatureScreens = [
|
|
666
|
+
{
|
|
667
|
+
name: CONNECT_FLOWS.kyc.loadingData,
|
|
668
|
+
element: KycLoadingPage
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
name: CONNECT_FLOWS.kyc.tokenError,
|
|
672
|
+
element: KycTokenErrorPage
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
name: CONNECT_FLOWS.kyc.alreadySubmitted,
|
|
676
|
+
element: KycAlreadySubmittedPage
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
name: CONNECT_FLOWS.kyc.terms,
|
|
680
|
+
element: KycTermsPage
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
name: CONNECT_FLOWS.kyc.users,
|
|
684
|
+
element: KycUsersPage
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
name: CONNECT_FLOWS.kyc.operatorError,
|
|
688
|
+
element: KycOperatorErrorPage
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
name: CONNECT_FLOWS.kyc.verifyPACI,
|
|
692
|
+
element: KycVerifyPaciPage
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
name: CONNECT_FLOWS.kyc.verifyNafath,
|
|
696
|
+
element: KycVerifyNafathPage
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
name: CONNECT_FLOWS.kyc.success,
|
|
700
|
+
element: KycSuccessPage
|
|
498
701
|
}
|
|
499
702
|
];
|
|
@@ -5,7 +5,10 @@ export interface IndividualLibProps extends LibConfig {
|
|
|
5
5
|
configToken?: string;
|
|
6
6
|
loaderColor?: string;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export interface IndividualLibFullProps extends IndividualLibProps {
|
|
9
|
+
unmount?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function IndividualElement(props: IndividualLibFullProps): JSX.Element;
|
|
9
12
|
export declare function renderIndividualLib(config: IndividualLibProps, elementId: string): {
|
|
10
13
|
unmount: () => void;
|
|
11
14
|
};
|
|
@@ -23,27 +23,30 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import React, { memo } from 'react';
|
|
25
25
|
import { createRoot } from 'react-dom/client';
|
|
26
|
-
import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useVerifyToken } from '../../hooks';
|
|
27
|
-
import { settingsSelector } from '../../app/settings';
|
|
26
|
+
import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useVerifyToken, useAppDispatch } from '../../hooks';
|
|
27
|
+
import { handleOpen, settingsSelector } from '../../app/settings';
|
|
28
28
|
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 _b, _c, _d;
|
|
39
40
|
var configToken = _a.configToken, verifyToken = _a.verifyToken, loaderColor = _a.loaderColor, props = __rest(_a, ["configToken", "verifyToken", "loaderColor"]);
|
|
40
41
|
var theme = useAppTheme().theme;
|
|
41
|
-
var
|
|
42
|
-
var
|
|
42
|
+
var dispatch = useAppDispatch();
|
|
43
|
+
var _e = useAppSelector(settingsSelector), data = _e.data, error = _e.error, settingLoading = _e.loading;
|
|
44
|
+
var _f = useAppSelector(individualSelector), customLoading = _f.customLoading, individualError = _f.error, loading = _f.loading;
|
|
43
45
|
useAppConfig(__assign(__assign({ navigation: INDIVIDUAL_SCREENS_NAVIGATION }, props), { disableSettingFetching: props.mode === 'content' ? false : !!verifyToken || !!configToken }));
|
|
44
46
|
useErrorListener(individualError || error);
|
|
45
47
|
useStepStartedListener();
|
|
46
|
-
var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, featureScreensNavigation = data.featureScreensNavigation, merchant = data.merchant, isMaturityExpress = data.isMaturityExpress;
|
|
48
|
+
var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open, featureScreensNavigation = data.featureScreensNavigation, merchant = data.merchant, isMaturityExpress = data.isMaturityExpress, appConfig = data.appConfig;
|
|
49
|
+
var animationDirection = open ? (_b = appConfig.features) === null || _b === void 0 ? void 0 : _b.dialogStartTransition : (_c = appConfig.features) === null || _c === void 0 ? void 0 : _c.dialogEndTransition;
|
|
47
50
|
useVerifyToken({
|
|
48
51
|
verify: verifyLeadToken,
|
|
49
52
|
loadingScreenName: 'INDIVIDUAL_LOADING_DATA_STEP',
|
|
@@ -51,15 +54,25 @@ var Individual = memo(function (_a) {
|
|
|
51
54
|
open: open,
|
|
52
55
|
mode: props.mode,
|
|
53
56
|
internalToken: verifyToken,
|
|
54
|
-
settingLoading: settingLoading
|
|
57
|
+
settingLoading: settingLoading,
|
|
58
|
+
operatorErrorScreenName: 'INDIVIDUAL_OPERATOR_ERROR_STEP',
|
|
59
|
+
isValidOperator: data.isValidOperator
|
|
55
60
|
});
|
|
56
61
|
React.useEffect(function () {
|
|
62
|
+
initializeGTM();
|
|
57
63
|
sendPageView({
|
|
58
64
|
title: 'Individual'
|
|
59
65
|
});
|
|
60
66
|
}, []);
|
|
67
|
+
var handleDialogClose = function () {
|
|
68
|
+
dispatch(handleOpen(false));
|
|
69
|
+
setTimeout(function () {
|
|
70
|
+
var _a;
|
|
71
|
+
(_a = props.unmount) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
72
|
+
}, 1100);
|
|
73
|
+
};
|
|
61
74
|
var initialLoading = verifyToken && props.mode !== 'content' ? settingLoading : settingLoading || customLoading;
|
|
62
|
-
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 }, { children: _jsx(FeatureContainer, __assign({ mode: props.mode, isMaturityExpress: isMaturityExpress }, { children: individualFeatureScreens.map(function (_a, index) {
|
|
75
|
+
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, onClose: ((_d = appConfig.features) === null || _d === void 0 ? void 0 : _d.closeButton) ? handleDialogClose : undefined, animationDirection: animationDirection, 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) {
|
|
63
76
|
var Element = _a.element, name = _a.name;
|
|
64
77
|
var isActive = activeScreen.name === name;
|
|
65
78
|
return (_jsx(Collapse, __assign({ in: isActive, timeout: { enter: 1000, exit: 800 } }, { children: _jsx(Element, {}) }), index));
|
|
@@ -71,7 +84,7 @@ export function IndividualElement(props) {
|
|
|
71
84
|
export function renderIndividualLib(config, elementId) {
|
|
72
85
|
var element = findOrCreateElementAndInject(elementId);
|
|
73
86
|
var root = createRoot(element);
|
|
74
|
-
root.render(_jsx(IndividualElement, __assign({}, config)));
|
|
75
87
|
var unmount = function () { return root.unmount(); };
|
|
88
|
+
root.render(_jsx(IndividualElement, __assign({}, config, { unmount: unmount })));
|
|
76
89
|
return { unmount: unmount };
|
|
77
90
|
}
|
package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const RoleTextStyled: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
3
|
-
align?: "
|
|
3
|
+
align?: "left" | "right" | "inherit" | "center" | "justify" | undefined;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
6
6
|
gutterBottom?: boolean | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const RoleTextStyled: import("@emotion/styled").StyledComponent<i
|
|
|
11
11
|
variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
|
|
12
12
|
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
|
13
13
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
-
}, keyof import("@mui/material/OverridableComponent").CommonProps | ("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" | "
|
|
14
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | ("left" | "right" | "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" | "bottom" | "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" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
15
15
|
export interface AdditionalIndividualInfoProps {
|
|
16
16
|
}
|
|
17
17
|
declare const _default: React.MemoExoticComponent<{
|