@tap-payments/auth-jsconnect 2.7.5-test → 2.7.5
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 +44 -4
- package/build/@types/app.js +16 -0
- package/build/@types/config.d.ts +14 -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 +2 -1
- package/build/app/settings.js +51 -21
- package/build/app/store.d.ts +2 -0
- package/build/assets/locales/ar.json +353 -151
- package/build/assets/locales/en.json +349 -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 +5 -2
- package/build/components/AnimationFlow/BottomSheet.js +43 -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/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 +39 -0
- package/build/constants/app.js +345 -35
- package/build/constants/assets.d.ts +3 -0
- package/build/constants/assets.js +4 -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 +74 -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 +64 -15
- package/build/features/app/business/businessStore.js +442 -234
- package/build/features/app/connect/connectStore.d.ts +69 -14
- package/build/features/app/connect/connectStore.js +355 -120
- package/build/features/app/connectExpress/connectExpressStore.d.ts +89 -45
- package/build/features/app/connectExpress/connectExpressStore.js +668 -375
- 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 +121 -0
- package/build/features/app/kyc/kycStore.js +432 -0
- package/build/features/app/password/passwordStore.d.ts +42 -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/EntityLicenseType.d.ts +4 -26
- 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/{business/screens/OTP → 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 +20 -6
- 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 +8 -35
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +48 -11
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +1 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +6 -3
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -18
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +2 -7
- 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 +26 -6
- package/build/features/brand/screens/BrandInfo/BrandName.js +5 -2
- package/build/features/brand/screens/BrandInfo/validation.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 +2 -2
- package/build/features/business/screens/Activities/ActivitiesList.js +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +4 -2
- package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +1 -1
- 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/BusinessType/LicenseType.d.ts +4 -26
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +12 -37
- 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 +11 -5
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +13 -19
- 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/{connectExpress/screens/IdentityOTP → business/screens/DOB}/validation.d.ts +4 -4
- 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 +2 -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/connect/screens/DOB/DOB.d.ts +5 -0
- 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 +5 -2
- package/build/features/connect/screens/Merchant/validation.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 +2 -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/EntityLicenseType.d.ts +4 -26
- 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 +5 -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/LicenseType.d.ts +4 -26
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +2 -7
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +2 -2
- 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/DOB/DOB.d.ts +5 -0
- 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/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 +2 -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 +2 -7
- 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/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +35 -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 +2 -2
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +8 -4
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +8 -4
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +33 -9
- package/build/features/entity/screens/EntityName/EntityName.js +33 -15
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +8 -35
- package/build/features/entity/screens/EntityName/EntityTypeList.js +2 -3
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +1 -1
- package/build/features/entity/screens/EntityName/ExpiryDate.js +13 -8
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +1 -1
- 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 +211 -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 +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +44 -11
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +4 -26
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -26
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +8 -3
- package/build/features/individual/screens/IndividualList/Email.js +2 -3
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +2 -2
- package/build/features/individual/screens/IndividualList/IndividualList.js +21 -6
- 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/Gender.d.ts +4 -26
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +76 -20
- 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 +10 -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 +81 -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 +10 -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 +7 -23
- package/build/features/shared/Address/InputSelect.d.ts +7 -23
- package/build/features/shared/Background/Background.js +1 -1
- 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 +7 -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 +1 -0
- package/build/features/shared/Containers/FeatureContainer.js +5 -3
- package/build/features/shared/Dialog/DialogContainer.js +5 -4
- package/build/features/shared/Input/Input.d.ts +2 -2
- 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 +2 -7
- package/build/features/shared/UploadFile/UploadFile.d.ts +2 -7
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -7
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +2 -7
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -7
- 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 +9 -3
- 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 +4 -3
- 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/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 +2 -2
- package/build/features/auth/screens/NID/DOB.d.ts +0 -6
- 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/OTPInput.d.ts +0 -5
- package/build/features/business/screens/OTP/OTPInput.js +0 -49
- package/build/features/business/screens/OTP/index.d.ts +0 -3
- package/build/features/business/screens/OTP/index.js +0 -2
- package/build/features/business/screens/OTP/validation.js +0 -4
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +0 -87
- 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/connectExpress/screens/NID/DOB.d.ts +0 -6
- package/build/features/shared/Button/AbsherButton.d.ts +0 -7
- /package/build/features/{connect/screens/NID → auth/screens/DOB}/DOB.d.ts +0 -0
|
@@ -1,47 +1,66 @@
|
|
|
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';
|
|
24
30
|
import ConnectExpressCreateAccountLoaderScreen from './connectExpress/screens/CreateAccountLoader';
|
|
31
|
+
import ConnectExpressPreparingDataLoaderScreen from './connectExpress/screens/PrepareDataLoading';
|
|
25
32
|
import ConnectExpressSuccessFlowButtonsScreen from './connectExpress/screens/SuccessWithFlowButtons';
|
|
26
33
|
import ConnectExpressAccountAlreadyCreatedScreen from './connectExpress/screens/AccountAlreadyCreated';
|
|
27
34
|
import ConnectExpressAuthenticationListScreen from './connectExpress/screens/AuthenticationList';
|
|
28
35
|
import ConnectExpressAuthMerchantScreen from './connectExpress/screens/AuthMerchant';
|
|
29
36
|
import ConnectExpressAuthAccountCreatedLoaderScreen from './connectExpress/screens/AccountCreatedLoader';
|
|
37
|
+
import ConnectExpressOperatorError from './connectExpress/screens/OperatorError';
|
|
38
|
+
import ConnectExpressCollectMobileOwnership from './connectExpress/screens/MobileOwnership';
|
|
30
39
|
import AuthBusinessCountry from './auth/screens/BusinessCountry/BusinessCountry';
|
|
40
|
+
import AuthSwitchScreen from './auth/screens/AuthSwitch';
|
|
31
41
|
import AuthMobileScreen from './auth/screens/Mobile';
|
|
32
42
|
import AuthNIDScreen from './auth/screens/NID';
|
|
43
|
+
import AuthEmailScreen from './auth/screens/Email';
|
|
33
44
|
import AuthCivilIDScreen from './auth/screens/CivilID';
|
|
34
45
|
import AuthVerifyPACIScreen from './auth/screens/VerifyPACI';
|
|
46
|
+
import AuthVerifyNafathScreen from './auth/screens/VerifyNafath';
|
|
47
|
+
import AuthDOBPage from './auth/screens/DOB';
|
|
35
48
|
import AuthOTPScreen from './auth/screens/OTP';
|
|
49
|
+
import AuthPasswordScreen from './auth/screens/Password';
|
|
50
|
+
import AuthResetPasswordMessageScreen from './auth/screens/ResetPasswordMessage';
|
|
36
51
|
import PreparingDataScreen from './auth/screens/PreparingData';
|
|
37
52
|
import AccountNotFoundScreen from './auth/screens/AccountNotFound';
|
|
38
53
|
import AuthAuthenticationListScreen from './auth/screens/AuthenticationList';
|
|
39
54
|
import AuthMerchantScreen from './auth/screens/AuthMerchant';
|
|
40
55
|
import AuthAccountCreatedLoaderScreen from './auth/screens/AccountCreatedLoader';
|
|
56
|
+
import AuthEmailSentScreen from './auth/screens/EmailSent';
|
|
57
|
+
import AuthMigratingDataScreen from './auth/screens/MigratingData';
|
|
58
|
+
import AuthOperatorError from './auth/screens/OperatorError';
|
|
41
59
|
import CustomersPage from './business/screens/Customers';
|
|
42
60
|
import IDBODPage from './business/screens/IDBOD';
|
|
43
61
|
import BusinessVerifyPage from './business/screens/Verify';
|
|
44
|
-
import
|
|
62
|
+
import BusinessVerifyNafathPage from './business/screens/VerifyNafath';
|
|
63
|
+
import DOBPage from './business/screens/DOB';
|
|
45
64
|
import BusinessTypePage from './business/screens/BusinessType';
|
|
46
65
|
import ActivitiesPage from './business/screens/Activities';
|
|
47
66
|
import SuccessPage from './business/screens/Success';
|
|
@@ -50,12 +69,16 @@ import ResetPasswordSuccessPage from './business/screens/ResetPasswordSuccess';
|
|
|
50
69
|
import BusCivilIDscreen from './business/screens/CivilID';
|
|
51
70
|
import BusVerifyPACIScreen from './business/screens/VerifyPACI';
|
|
52
71
|
import BrandVerifyScreen from './business/screens/BrandDetails';
|
|
72
|
+
import BusinessOperatorError from './business/screens/OperatorError';
|
|
73
|
+
import BusinessCollectMobileOwnership from './business/screens/MobileOwnership';
|
|
53
74
|
import PasswordVerifyPage from './password/screens/Verify';
|
|
54
75
|
import CreatePasswordPage from './password/screens/CreatePassword';
|
|
76
|
+
import PasswordDataLoadingPage from './password/screens/PrepareDataLoading';
|
|
55
77
|
import PasswordOTPPage from './password/screens/OTP';
|
|
56
78
|
import SuccessPasswordPage from './password/screens/Success';
|
|
57
79
|
import PasswordSuccessWithFlowPage from './password/screens/SuccessWithFlowButtons';
|
|
58
80
|
import PasswordResetPasswordSuccessPage from './password/screens/ResetPasswordSuccess';
|
|
81
|
+
import PasswordOperatorError from './password/screens/OperatorError';
|
|
59
82
|
import IndividualVerifyPage from './individual/screens/Verify';
|
|
60
83
|
import IndividualPhoneInfoPage from './individual/screens/IndividualPhoneInfo';
|
|
61
84
|
import IndividualListPage from './individual/screens/IndividualList';
|
|
@@ -65,22 +88,26 @@ import SuccessOwnerPage from './individual/screens/Success';
|
|
|
65
88
|
import IndividualSuccessWithFlowPage from './individual/screens/SuccessWithFlowButtons';
|
|
66
89
|
import IndividualResetPasswordSuccessPage from './individual/screens/ResetPasswordSuccess';
|
|
67
90
|
import IndividualDataLoadingPage from './individual/screens/PrepareDataLoading';
|
|
91
|
+
import IndividualOperatorError from './individual/screens/OperatorError';
|
|
68
92
|
import BankVerifyPage from './bank/screens/Verify';
|
|
69
93
|
import BankDetailsPage from './bank/screens/BankDetails';
|
|
70
94
|
import BankSuccessPage from './bank/screens/Success';
|
|
71
95
|
import BankSuccessWithFlowPage from './bank/screens/SuccessWithFlowButtons';
|
|
72
96
|
import BankResetPasswordSuccessPage from './bank/screens/ResetPasswordSuccess';
|
|
73
97
|
import BankDataLoadingPage from './bank/screens/PrepareDataLoading';
|
|
98
|
+
import BankOperatorError from './bank/screens/OperatorError';
|
|
74
99
|
import TaxVerifyPage from './tax/screens/Verify';
|
|
75
100
|
import TaxDetailsPage from './tax/screens/TaxDetails';
|
|
76
101
|
import TaxSuccessPage from './tax/screens/Success';
|
|
77
102
|
import TaxSuccessWithFlowPage from './tax/screens/SuccessWithFlowButtons';
|
|
78
103
|
import TaxResetPasswordSuccessPage from './tax/screens/ResetPasswordSuccess';
|
|
79
104
|
import TaxDataLoadingPage from './tax/screens/PrepareDataLoading';
|
|
105
|
+
import TaxOperatorError from './tax/screens/OperatorError';
|
|
80
106
|
import SignInMobilePage from './signIn/screens/Mobile';
|
|
81
107
|
import SignInEmailPage from './signIn/screens/Email';
|
|
82
108
|
import SignInOTPPage from './signIn/screens/OTP';
|
|
83
109
|
import SignInPasswordPage from './signIn/screens/Password';
|
|
110
|
+
import SignInOperatorError from './signIn/screens/OperatorError';
|
|
84
111
|
import EntityVerifyPage from './entity/screens/Verify';
|
|
85
112
|
import EntityNamePage from './entity/screens/EntityName';
|
|
86
113
|
import EntityCapitalPage from './entity/screens/EntityCapital';
|
|
@@ -88,6 +115,7 @@ import EntitySuccessPage from './entity/screens/Success';
|
|
|
88
115
|
import EntitySuccessWithFlowPage from './entity/screens/SuccessWithFlowButtons';
|
|
89
116
|
import EntityResetPasswordSuccessPage from './entity/screens/ResetPasswordSuccess';
|
|
90
117
|
import EntityDataLoadingPage from './entity/screens/PrepareDataLoading';
|
|
118
|
+
import EntityOperatorError from './entity/screens/OperatorError';
|
|
91
119
|
import BrandVerifyPage from './brand/screens/Verify';
|
|
92
120
|
import BrandInfoPage from './brand/screens/BrandInfo';
|
|
93
121
|
import BrandSegmentPage from './brand/screens/BrandSegmentInfo';
|
|
@@ -96,9 +124,21 @@ import BrandSuccessPage from './brand/screens/Success';
|
|
|
96
124
|
import BrandSuccessWithFlowPage from './brand/screens/SuccessWithFlowButtons';
|
|
97
125
|
import BrandResetPasswordSuccessPage from './brand/screens/ResetPasswordSuccess';
|
|
98
126
|
import BrandDataLoadingPage from './brand/screens/PrepareDataLoading';
|
|
127
|
+
import BrandOperatorError from './brand/screens/OperatorError';
|
|
99
128
|
import BoardVerifyPage from './board/screens/Verify';
|
|
100
129
|
import BoardSuccessWithFlowPage from './board/screens/SuccessWithFlowButtons';
|
|
101
130
|
import BoardResetPasswordSuccessPage from './board/screens/ResetPasswordSuccess';
|
|
131
|
+
import BoardDataLoadingPage from './board/screens/PrepareDataLoading';
|
|
132
|
+
import BoardOperatorError from './board/screens/OperatorError';
|
|
133
|
+
import KycLoadingPage from './kyc/screens/Loading';
|
|
134
|
+
import KycTokenErrorPage from './kyc/screens/TokenError';
|
|
135
|
+
import KycAlreadySubmittedPage from './kyc/screens/AlreadySubmitted';
|
|
136
|
+
import KycVerifyNafathPage from './kyc/screens/VerifyNafath';
|
|
137
|
+
import KycVerifyPaciPage from './kyc/screens/VerifyPaci';
|
|
138
|
+
import KycOperatorErrorPage from './kyc/screens/OperatorError';
|
|
139
|
+
import KycSuccessPage from './kyc/screens/Success';
|
|
140
|
+
import KycTermsPage from './kyc/screens/Terms';
|
|
141
|
+
import KycUsersPage from './kyc/screens/Users';
|
|
102
142
|
export var connectFeatureScreens = [
|
|
103
143
|
{
|
|
104
144
|
name: 'CONNECT_BUSINESS_COUNTRY_STEP',
|
|
@@ -124,6 +164,14 @@ export var connectFeatureScreens = [
|
|
|
124
164
|
name: 'CONNECT_VERIFY_PACI_STEP',
|
|
125
165
|
element: ConnectVerifyPACIScreen
|
|
126
166
|
},
|
|
167
|
+
{
|
|
168
|
+
name: 'CONNECT_VERIFY_NAFATH_STEP',
|
|
169
|
+
element: ConnectVerifyNafathScreen
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: 'CONNECT_DOB_STEP',
|
|
173
|
+
element: DobScreen
|
|
174
|
+
},
|
|
127
175
|
{
|
|
128
176
|
name: 'CONNECT_INDIVIDUAL_STEP',
|
|
129
177
|
element: IndividualScreen
|
|
@@ -143,6 +191,10 @@ export var connectFeatureScreens = [
|
|
|
143
191
|
{
|
|
144
192
|
name: 'CONNECT_OPERATOR_ERROR_STEP',
|
|
145
193
|
element: OperatorError
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: 'CONNECT_MOBILE_OWNERSHIP',
|
|
197
|
+
element: CollectMobileOwnership
|
|
146
198
|
}
|
|
147
199
|
];
|
|
148
200
|
export var connectExpressFeatureScreens = [
|
|
@@ -166,6 +218,10 @@ export var connectExpressFeatureScreens = [
|
|
|
166
218
|
name: 'CONNECT_EXPRESS_OTP_STEP',
|
|
167
219
|
element: ConnectExpressOTPScreen
|
|
168
220
|
},
|
|
221
|
+
{
|
|
222
|
+
name: 'CONNECT_EXPRESS_VERIFY_NAFATH_STEP',
|
|
223
|
+
element: ConnectExpressVerifyNafathScreen
|
|
224
|
+
},
|
|
169
225
|
{
|
|
170
226
|
name: 'CONNECT_EXPRESS_VERIFY_PACI_STEP',
|
|
171
227
|
element: ConnectExpressVerifyPACIScreen
|
|
@@ -183,17 +239,25 @@ export var connectExpressFeatureScreens = [
|
|
|
183
239
|
element: ConnectExpressIdentityVerifyPACIScreen
|
|
184
240
|
},
|
|
185
241
|
{
|
|
186
|
-
name: '
|
|
187
|
-
element:
|
|
242
|
+
name: 'CONNECT_EXPRESS_IDENTITY_VERIFY_NAFATH_STEP',
|
|
243
|
+
element: ConnectExpressIdentityVerifyNafathScreen
|
|
188
244
|
},
|
|
189
245
|
{
|
|
190
246
|
name: 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
191
247
|
element: ConnectExpressCreateAccountLoaderScreen
|
|
192
248
|
},
|
|
249
|
+
{
|
|
250
|
+
name: 'CONNECT_EXPRESS_PREPARING_DATA_STEP',
|
|
251
|
+
element: ConnectExpressPreparingDataLoaderScreen
|
|
252
|
+
},
|
|
193
253
|
{
|
|
194
254
|
name: 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
195
255
|
element: ConnectExpressCollectIndividualScreen
|
|
196
256
|
},
|
|
257
|
+
{
|
|
258
|
+
name: 'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
259
|
+
element: ConnectExpressCollectDobScreen
|
|
260
|
+
},
|
|
197
261
|
{
|
|
198
262
|
name: 'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
199
263
|
element: ConnectExpressCollectBusinessScreen
|
|
@@ -217,6 +281,14 @@ export var connectExpressFeatureScreens = [
|
|
|
217
281
|
{
|
|
218
282
|
name: 'CONNECT_EXPRESS_AUTH_ACCOUNT_CREATED_STEP',
|
|
219
283
|
element: ConnectExpressAuthAccountCreatedLoaderScreen
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
name: 'CONNECT_EXPRESS_OPERATOR_ERROR_STEP',
|
|
287
|
+
element: ConnectExpressOperatorError
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'COLLECT_MOBILE_OWNERSHIP',
|
|
291
|
+
element: ConnectExpressCollectMobileOwnership
|
|
220
292
|
}
|
|
221
293
|
];
|
|
222
294
|
export var authFeatureScreens = [
|
|
@@ -224,6 +296,10 @@ export var authFeatureScreens = [
|
|
|
224
296
|
name: 'AUTH_BUSINESS_COUNTRY_STEP',
|
|
225
297
|
element: AuthBusinessCountry
|
|
226
298
|
},
|
|
299
|
+
{
|
|
300
|
+
name: 'AUTH_SWITCH_STEP',
|
|
301
|
+
element: AuthSwitchScreen
|
|
302
|
+
},
|
|
227
303
|
{
|
|
228
304
|
name: 'AUTH_NID_STEP',
|
|
229
305
|
element: AuthNIDScreen
|
|
@@ -236,14 +312,34 @@ export var authFeatureScreens = [
|
|
|
236
312
|
name: 'AUTH_MOBILE_STEP',
|
|
237
313
|
element: AuthMobileScreen
|
|
238
314
|
},
|
|
315
|
+
{
|
|
316
|
+
name: 'AUTH_EMAIL_STEP',
|
|
317
|
+
element: AuthEmailScreen
|
|
318
|
+
},
|
|
239
319
|
{
|
|
240
320
|
name: 'AUTH_OTP_STEP',
|
|
241
321
|
element: AuthOTPScreen
|
|
242
322
|
},
|
|
323
|
+
{
|
|
324
|
+
name: 'AUTH_PASSWORD_STEP',
|
|
325
|
+
element: AuthPasswordScreen
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
name: 'AUTH_RESET_PASSWORD_MESSAGE_STEP',
|
|
329
|
+
element: AuthResetPasswordMessageScreen
|
|
330
|
+
},
|
|
243
331
|
{
|
|
244
332
|
name: 'AUTH_VERIFY_PACI_STEP',
|
|
245
333
|
element: AuthVerifyPACIScreen
|
|
246
334
|
},
|
|
335
|
+
{
|
|
336
|
+
name: 'AUTH_NAFATH_VERIFY_STEP',
|
|
337
|
+
element: AuthVerifyNafathScreen
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
name: 'AUTH_DOB_STEP',
|
|
341
|
+
element: AuthDOBPage
|
|
342
|
+
},
|
|
247
343
|
{
|
|
248
344
|
name: 'AUTH_ACCOUNT_NOT_FOUND_STEP',
|
|
249
345
|
element: AccountNotFoundScreen
|
|
@@ -263,6 +359,18 @@ export var authFeatureScreens = [
|
|
|
263
359
|
{
|
|
264
360
|
name: 'AUTH_ACCOUNT_CREATED_STEP',
|
|
265
361
|
element: AuthAccountCreatedLoaderScreen
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: 'AUTH_EMAIL_SENT_STEP',
|
|
365
|
+
element: AuthEmailSentScreen
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
name: 'AUTH_MIGRATING_DATA_STEP',
|
|
369
|
+
element: AuthMigratingDataScreen
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
name: 'AUTH_OPERATOR_ERROR_STEP',
|
|
373
|
+
element: AuthOperatorError
|
|
266
374
|
}
|
|
267
375
|
];
|
|
268
376
|
export var businessFeatureScreens = [
|
|
@@ -283,8 +391,12 @@ export var businessFeatureScreens = [
|
|
|
283
391
|
element: BusVerifyPACIScreen
|
|
284
392
|
},
|
|
285
393
|
{
|
|
286
|
-
name: '
|
|
287
|
-
element:
|
|
394
|
+
name: 'BUSINESS_VERIFY_NAFATH_STEP',
|
|
395
|
+
element: BusinessVerifyNafathPage
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
name: 'BUSINESS_DOB_STEP',
|
|
399
|
+
element: DOBPage
|
|
288
400
|
},
|
|
289
401
|
{
|
|
290
402
|
name: 'BUSINESS_BUSINESS_TYPE_STEP',
|
|
@@ -301,7 +413,15 @@ export var businessFeatureScreens = [
|
|
|
301
413
|
{ name: 'BUSINESS_SUCCESS_STEP', element: SuccessPage },
|
|
302
414
|
{ name: 'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP', element: SuccessWithFlowButtonsPage },
|
|
303
415
|
{ name: 'BUSINESS_RESET_PASSWORD_SUCCESS', element: ResetPasswordSuccessPage },
|
|
304
|
-
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen }
|
|
416
|
+
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen },
|
|
417
|
+
{
|
|
418
|
+
name: 'BUSINESS_OPERATOR_ERROR_STEP',
|
|
419
|
+
element: BusinessOperatorError
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: 'BUSINESS_MOBILE_OWNERSHIP',
|
|
423
|
+
element: BusinessCollectMobileOwnership
|
|
424
|
+
}
|
|
305
425
|
];
|
|
306
426
|
export var passwordFeatureScreens = [
|
|
307
427
|
{
|
|
@@ -312,6 +432,10 @@ export var passwordFeatureScreens = [
|
|
|
312
432
|
name: 'PASSWORD_CREATE_PASSWORD_STEP',
|
|
313
433
|
element: CreatePasswordPage
|
|
314
434
|
},
|
|
435
|
+
{
|
|
436
|
+
name: 'PASSWORD_LOADING_DATA_STEP',
|
|
437
|
+
element: PasswordDataLoadingPage
|
|
438
|
+
},
|
|
315
439
|
{
|
|
316
440
|
name: 'PASSWORD_RESET_PASSWORD_OTP_STEP',
|
|
317
441
|
element: PasswordOTPPage
|
|
@@ -324,7 +448,11 @@ export var passwordFeatureScreens = [
|
|
|
324
448
|
name: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
325
449
|
element: PasswordSuccessWithFlowPage
|
|
326
450
|
},
|
|
327
|
-
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage }
|
|
451
|
+
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage },
|
|
452
|
+
{
|
|
453
|
+
name: 'PASSWORD_OPERATOR_ERROR_STEP',
|
|
454
|
+
element: PasswordOperatorError
|
|
455
|
+
}
|
|
328
456
|
];
|
|
329
457
|
export var individualFeatureScreens = [
|
|
330
458
|
{
|
|
@@ -359,7 +487,11 @@ export var individualFeatureScreens = [
|
|
|
359
487
|
name: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
360
488
|
element: IndividualSuccessWithFlowPage
|
|
361
489
|
},
|
|
362
|
-
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage }
|
|
490
|
+
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage },
|
|
491
|
+
{
|
|
492
|
+
name: 'INDIVIDUAL_OPERATOR_ERROR_STEP',
|
|
493
|
+
element: IndividualOperatorError
|
|
494
|
+
}
|
|
363
495
|
];
|
|
364
496
|
export var bankFeatureScreens = [
|
|
365
497
|
{
|
|
@@ -382,7 +514,11 @@ export var bankFeatureScreens = [
|
|
|
382
514
|
name: 'BANK_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
383
515
|
element: BankSuccessWithFlowPage
|
|
384
516
|
},
|
|
385
|
-
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage }
|
|
517
|
+
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage },
|
|
518
|
+
{
|
|
519
|
+
name: 'BANK_OPERATOR_ERROR_STEP',
|
|
520
|
+
element: BankOperatorError
|
|
521
|
+
}
|
|
386
522
|
];
|
|
387
523
|
export var taxFeatureScreens = [
|
|
388
524
|
{
|
|
@@ -405,7 +541,11 @@ export var taxFeatureScreens = [
|
|
|
405
541
|
name: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
406
542
|
element: TaxSuccessWithFlowPage
|
|
407
543
|
},
|
|
408
|
-
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage }
|
|
544
|
+
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage },
|
|
545
|
+
{
|
|
546
|
+
name: 'TAX_OPERATOR_ERROR_STEP',
|
|
547
|
+
element: TaxOperatorError
|
|
548
|
+
}
|
|
409
549
|
];
|
|
410
550
|
export var signInFeatureScreens = [
|
|
411
551
|
{
|
|
@@ -423,6 +563,10 @@ export var signInFeatureScreens = [
|
|
|
423
563
|
{
|
|
424
564
|
name: 'SIGIN_PASSWORD_STEP',
|
|
425
565
|
element: SignInPasswordPage
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
name: 'SIGIN_OPERATOR_ERROR_STEP',
|
|
569
|
+
element: SignInOperatorError
|
|
426
570
|
}
|
|
427
571
|
];
|
|
428
572
|
export var entityFeatureScreens = [
|
|
@@ -450,7 +594,11 @@ export var entityFeatureScreens = [
|
|
|
450
594
|
name: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
451
595
|
element: EntitySuccessWithFlowPage
|
|
452
596
|
},
|
|
453
|
-
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage }
|
|
597
|
+
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage },
|
|
598
|
+
{
|
|
599
|
+
name: 'ENTITY_OPERATOR_ERROR_STEP',
|
|
600
|
+
element: EntityOperatorError
|
|
601
|
+
}
|
|
454
602
|
];
|
|
455
603
|
export var brandFeatureScreens = [
|
|
456
604
|
{
|
|
@@ -481,7 +629,11 @@ export var brandFeatureScreens = [
|
|
|
481
629
|
name: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
482
630
|
element: BrandSuccessWithFlowPage
|
|
483
631
|
},
|
|
484
|
-
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage }
|
|
632
|
+
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage },
|
|
633
|
+
{
|
|
634
|
+
name: 'BRAND_OPERATOR_ERROR_STEP',
|
|
635
|
+
element: BrandOperatorError
|
|
636
|
+
}
|
|
485
637
|
];
|
|
486
638
|
export var boardFeatureScreens = [
|
|
487
639
|
{
|
|
@@ -495,5 +647,51 @@ export var boardFeatureScreens = [
|
|
|
495
647
|
{
|
|
496
648
|
name: 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP',
|
|
497
649
|
element: BoardSuccessWithFlowPage
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
name: 'BOARD_LOADING_DATA_STEP',
|
|
653
|
+
element: BoardDataLoadingPage
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
name: 'BOARD_OPERATOR_ERROR_STEP',
|
|
657
|
+
element: BoardOperatorError
|
|
658
|
+
}
|
|
659
|
+
];
|
|
660
|
+
export var kycFeatureScreens = [
|
|
661
|
+
{
|
|
662
|
+
name: CONNECT_FLOWS.kyc.loadingData,
|
|
663
|
+
element: KycLoadingPage
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
name: CONNECT_FLOWS.kyc.tokenError,
|
|
667
|
+
element: KycTokenErrorPage
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
name: CONNECT_FLOWS.kyc.alreadySubmitted,
|
|
671
|
+
element: KycAlreadySubmittedPage
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
name: CONNECT_FLOWS.kyc.terms,
|
|
675
|
+
element: KycTermsPage
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
name: CONNECT_FLOWS.kyc.users,
|
|
679
|
+
element: KycUsersPage
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
name: CONNECT_FLOWS.kyc.operatorError,
|
|
683
|
+
element: KycOperatorErrorPage
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
name: CONNECT_FLOWS.kyc.verifyPACI,
|
|
687
|
+
element: KycVerifyPaciPage
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
name: CONNECT_FLOWS.kyc.verifyNafath,
|
|
691
|
+
element: KycVerifyNafathPage
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
name: CONNECT_FLOWS.kyc.success,
|
|
695
|
+
element: KycSuccessPage
|
|
498
696
|
}
|
|
499
697
|
];
|
|
@@ -4,7 +4,10 @@ export interface IndividualLibProps extends LibConfig {
|
|
|
4
4
|
configToken?: string;
|
|
5
5
|
loaderColor?: string;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export interface IndividualLibFullProps extends IndividualLibProps {
|
|
8
|
+
unmount?: () => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function IndividualElement(props: IndividualLibFullProps): import("react/jsx-runtime").JSX.Element;
|
|
8
11
|
export declare function renderIndividualLib(config: IndividualLibProps, elementId: string): {
|
|
9
12
|
unmount: () => void;
|
|
10
13
|
};
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
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"> & {
|
|
3
3
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
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" | "
|
|
4
|
+
}, "left" | "right" | "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" | "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" | "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
5
|
component?: React.ElementType<any> | undefined;
|
|
6
6
|
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
7
7
|
export interface AdditionalIndividualInfoProps {
|