@tap-payments/auth-jsconnect 2.6.8-test → 2.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/@types/app.d.ts +73 -18
- package/build/@types/app.js +19 -1
- package/build/@types/config.d.ts +49 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +18 -3
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/redux.d.ts +1 -0
- package/build/@types/theme.d.ts +4 -0
- package/build/@types/theme.js +5 -0
- package/build/api/account.d.ts +6 -0
- package/build/api/account.js +16 -2
- package/build/api/auth.d.ts +44 -2
- package/build/api/auth.js +18 -1
- package/build/api/availabilityServices.d.ts +1 -0
- package/build/api/country.d.ts +1 -0
- package/build/api/country.js +8 -1
- package/build/api/data.d.ts +4 -17
- package/build/api/data.js +5 -45
- package/build/api/entity.d.ts +28 -3
- package/build/api/entity.js +23 -10
- package/build/api/firebase.js +68 -8
- package/build/api/index.d.ts +24 -29
- package/build/api/lead.d.ts +27 -3
- package/build/api/lead.js +63 -1
- package/build/api/operator.d.ts +6 -3
- package/build/api/operator.js +4 -16
- package/build/api/user.d.ts +7 -0
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +2 -0
- package/build/app/rootReducer.js +5 -1
- package/build/app/settings.d.ts +13 -6
- package/build/app/settings.js +118 -78
- package/build/app/store.d.ts +4 -0
- package/build/assets/locales/ar.json +351 -143
- package/build/assets/locales/en.json +347 -142
- package/build/components/AnimationFlow/AnimationFlow.d.ts +14 -3
- package/build/components/AnimationFlow/AnimationFlow.js +16 -5
- package/build/components/AnimationFlow/BottomSheet.d.ts +7 -2
- package/build/components/AnimationFlow/BottomSheet.js +44 -15
- package/build/components/AnimationFlow/Dialog.d.ts +11 -2
- package/build/components/AnimationFlow/Dialog.js +10 -12
- package/build/components/AnimationFlow/Loader.d.ts +6 -1
- package/build/components/AnimationFlow/Loader.js +17 -5
- 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/ExpandIcon/ExpandIcon.d.ts +2 -0
- 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/Slide/Slide.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/constants/api.d.ts +9 -7
- package/build/constants/api.js +19 -15
- package/build/constants/app.d.ts +62 -0
- package/build/constants/app.js +480 -25
- package/build/constants/assets.d.ts +4 -0
- package/build/constants/assets.js +5 -1
- package/build/constants/dummy.d.ts +43 -196
- package/build/constants/dummy.js +614 -6141
- package/build/constants/flows.d.ts +24 -0
- package/build/constants/flows.js +25 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/constants/validation.d.ts +5 -0
- package/build/constants/validation.js +6 -1
- package/build/features/app/auth/authStore.d.ts +103 -0
- package/build/features/app/auth/authStore.js +1184 -0
- package/build/features/app/bank/bankStore.d.ts +13 -18
- package/build/features/app/bank/bankStore.js +194 -161
- package/build/features/app/board/boardStore.d.ts +33 -0
- package/build/features/app/board/boardStore.js +269 -0
- package/build/features/app/brand/brandStore.d.ts +17 -31
- package/build/features/app/brand/brandStore.js +272 -266
- package/build/features/app/business/businessStore.d.ts +37 -10
- package/build/features/app/business/businessStore.js +469 -218
- package/build/features/app/connect/connectStore.d.ts +46 -15
- package/build/features/app/connect/connectStore.js +419 -217
- package/build/features/app/connectExpress/connectExpressStore.d.ts +70 -29
- package/build/features/app/connectExpress/connectExpressStore.js +876 -383
- package/build/features/app/entity/entityStore.d.ts +20 -34
- package/build/features/app/entity/entityStore.js +224 -249
- package/build/features/app/individual/individualStore.d.ts +22 -32
- package/build/features/app/individual/individualStore.js +331 -290
- package/build/features/app/password/passwordStore.d.ts +33 -18
- package/build/features/app/password/passwordStore.js +263 -223
- 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 +178 -144
- package/build/features/auth/Auth.d.ts +14 -0
- package/build/features/auth/Auth.js +168 -0
- package/build/features/auth/index.d.ts +1 -0
- package/build/features/auth/index.js +1 -0
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/auth/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/auth/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +71 -0
- package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
- package/build/features/auth/screens/AccountNotFound/index.js +2 -0
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.js +73 -0
- package/build/features/{connectExpress/screens/AuthenticationList → auth/screens/AuthMerchant}/MerchantList.d.ts +2 -1
- package/build/features/auth/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/auth/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/auth/screens/AuthMerchant/index.js +2 -0
- package/build/features/auth/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/auth/screens/AuthMerchant/validation.js +4 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +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.d.ts +5 -0
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +96 -0
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +10 -0
- package/build/features/auth/screens/AuthenticationList/BrandList.js +81 -0
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +3 -0
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +31 -0
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +90 -0
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +11 -0
- package/build/features/auth/screens/AuthenticationList/EntityList.js +138 -0
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/auth/screens/AuthenticationList/index.d.ts +3 -0
- package/build/features/auth/screens/AuthenticationList/index.js +2 -0
- package/build/features/auth/screens/AuthenticationList/validation.d.ts +20 -0
- package/build/features/auth/screens/AuthenticationList/validation.js +68 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +111 -0
- package/build/features/auth/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/auth/screens/BusinessCountry/index.js +2 -0
- package/build/features/auth/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/auth/screens/CivilID/CivilID.js +57 -0
- package/build/features/auth/screens/CivilID/IDNumber.d.ts +8 -0
- package/build/features/auth/screens/CivilID/IDNumber.js +54 -0
- package/build/features/auth/screens/CivilID/index.d.ts +3 -0
- package/build/features/auth/screens/CivilID/index.js +2 -0
- package/build/features/auth/screens/CivilID/validation.d.ts +8 -0
- package/build/features/auth/screens/CivilID/validation.js +4 -0
- package/build/features/auth/screens/DOB/DOB.js +47 -0
- 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/auth/screens/DOB/validation.d.ts +8 -0
- 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.d.ts +5 -0
- package/build/features/auth/screens/Mobile/Mobile.js +82 -0
- package/build/features/auth/screens/Mobile/MobileNumber.d.ts +13 -0
- package/build/features/auth/screens/Mobile/MobileNumber.js +156 -0
- package/build/features/auth/screens/Mobile/index.d.ts +3 -0
- package/build/features/auth/screens/Mobile/index.js +2 -0
- package/build/features/auth/screens/Mobile/validation.d.ts +8 -0
- package/build/features/auth/screens/Mobile/validation.js +38 -0
- package/build/features/auth/screens/NID/IDNumber.d.ts +7 -0
- package/build/features/auth/screens/NID/IDNumber.js +55 -0
- package/build/features/auth/screens/NID/NID.d.ts +5 -0
- package/build/features/auth/screens/NID/NID.js +56 -0
- package/build/features/auth/screens/NID/index.d.ts +3 -0
- package/build/features/auth/screens/NID/index.js +2 -0
- package/build/features/auth/screens/NID/validation.d.ts +8 -0
- package/build/features/auth/screens/NID/validation.js +10 -0
- package/build/features/auth/screens/OTP/OTP.js +118 -0
- package/build/features/{connectExpress/screens/IdentityOTP → auth/screens/OTP}/OTPInput.js +27 -7
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/auth/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/auth/screens/OperatorError/index.d.ts +3 -0
- package/build/features/auth/screens/OperatorError/index.js +2 -0
- package/build/features/auth/screens/Password/Password.d.ts +5 -0
- package/build/features/auth/screens/Password/Password.js +61 -0
- package/build/features/auth/screens/Password/PasswordField.d.ts +5 -0
- package/build/features/auth/screens/Password/PasswordField.js +28 -0
- package/build/features/auth/screens/Password/index.d.ts +3 -0
- package/build/features/auth/screens/Password/index.js +2 -0
- package/build/features/auth/screens/Password/validation.d.ts +8 -0
- package/build/features/auth/screens/Password/validation.js +4 -0
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
- package/build/features/auth/screens/PreparingData/PreparingData.js +44 -0
- package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
- package/build/features/auth/screens/PreparingData/index.js +2 -0
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +5 -0
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.js +21 -0
- package/build/features/auth/screens/ResetPasswordMessage/index.d.ts +3 -0
- package/build/features/auth/screens/ResetPasswordMessage/index.js +2 -0
- package/build/features/auth/screens/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/auth/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.js +34 -0
- package/build/features/auth/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/auth/screens/VerifyPACI/index.js +2 -0
- package/build/features/bank/Bank.d.ts +6 -1
- package/build/features/bank/Bank.js +26 -12
- package/build/features/bank/screens/BankDetails/BankDetails.js +21 -7
- 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 -3
- package/build/features/bank/screens/Verify/Verify.js +8 -7
- package/build/features/board/Board.d.ts +13 -0
- package/build/features/board/Board.js +87 -0
- package/build/features/board/index.d.ts +1 -0
- package/build/features/board/index.js +1 -0
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/board/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/board/screens/OperatorError/index.d.ts +3 -0
- package/build/features/board/screens/OperatorError/index.js +2 -0
- package/build/features/board/screens/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/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +44 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/board/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/{business/screens/OTP → board/screens/Verify}/OTPInput.js +9 -7
- package/build/features/{connectExpress/screens/IdentityOTP/OTP.js → board/screens/Verify/Verify.js} +25 -37
- package/build/features/board/screens/Verify/index.d.ts +2 -0
- package/build/features/board/screens/Verify/index.js +2 -0
- package/build/features/brand/Brand.d.ts +6 -1
- package/build/features/brand/Brand.js +26 -12
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +9 -9
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +49 -12
- 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 +5 -2
- 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 +27 -7
- 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 +23 -7
- 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 -3
- package/build/features/brand/screens/Verify/Verify.js +4 -3
- package/build/features/business/Business.js +20 -12
- package/build/features/business/screens/Activities/Activities.js +27 -10
- 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 +24 -8
- package/build/features/business/screens/BusinessType/EntityName.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseList.js +3 -3
- package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -9
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
- package/build/features/business/screens/BusinessType/validation.d.ts +10 -0
- package/build/features/business/screens/BusinessType/validation.js +16 -0
- package/build/features/business/screens/CivilID/CivilID.js +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +14 -12
- package/build/features/business/screens/Customers/CustomerLocations.js +5 -3
- package/build/features/business/screens/Customers/Customers.js +51 -11
- 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 +10 -4
- 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/ID.js +6 -2
- package/build/features/business/screens/IDBOD/IDBOD.js +18 -19
- package/build/features/business/screens/IDBOD/validation.d.ts +7 -0
- package/build/features/business/screens/IDBOD/validation.js +4 -1
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +105 -0
- package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- 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 +16 -5
- 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 +48 -31
- package/build/features/connect/screens/BrandSegment/BrandSegment.js +4 -26
- package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
- package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
- package/build/features/connect/screens/BrandSegment/validation.js +0 -3
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +113 -0
- package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connect/screens/BusinessCountry/index.js +2 -0
- package/build/features/connect/screens/CivilID/CivilID.js +12 -4
- package/build/features/{connectExpress/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/Individual.js +12 -6
- 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/BrandList.js +3 -3
- package/build/features/connect/screens/Merchant/BrandName.js +5 -2
- package/build/features/connect/screens/Merchant/Merchant.js +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.js +1 -1
- package/build/features/connect/screens/Merchant/validation.js +2 -2
- package/build/features/connect/screens/Mobile/Mobile.js +14 -7
- package/build/features/connect/screens/Mobile/MobileNumber.js +15 -11
- 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 +106 -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 +10 -13
- 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 +7 -7
- package/build/features/connect/screens/OTP/OTPInput.js +3 -11
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
- package/build/features/connect/screens/OperatorError/index.js +2 -0
- package/build/features/connect/screens/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 +69 -36
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +14 -2
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -0
- package/build/features/connectExpress/screens/{AuthenticationList/TerminalList.d.ts → AuthMerchant/MerchantList.d.ts} +4 -3
- package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -0
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +28 -17
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +31 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +90 -0
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +3 -3
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +52 -10
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -0
- package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +13 -10
- package/build/features/connectExpress/screens/AuthenticationList/validation.js +66 -7
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +111 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -0
- package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -0
- package/build/features/connectExpress/screens/CivilID/CivilID.js +16 -5
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +7 -2
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +5 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +20 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +6 -5
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +9 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +13 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +68 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +34 -7
- 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 +6 -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/IdentityVerifyPACI/VerifyPACI.js +2 -2
- package/build/features/connectExpress/screens/Mobile/Mobile.js +17 -7
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +18 -14
- package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
- 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 +108 -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 +15 -12
- 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/IDNumber.js +6 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.js +10 -8
- package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +7 -0
- package/build/features/connectExpress/screens/NIDMissed/validation.js +4 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +14 -16
- 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 -4
- 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 +5 -1
- package/build/features/entity/Entity.js +26 -12
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +4 -4
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +5 -3
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +6 -4
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +34 -10
- package/build/features/entity/screens/EntityName/EntityName.js +44 -19
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +9 -9
- 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 +10 -11
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +4 -6
- package/build/features/entity/screens/EntityName/validation.d.ts +31 -3
- package/build/features/entity/screens/EntityName/validation.js +38 -9
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/entity/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/entity/screens/OperatorError/index.d.ts +3 -0
- package/build/features/entity/screens/OperatorError/index.js +2 -0
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -3
- package/build/features/entity/screens/Verify/Verify.js +4 -3
- package/build/features/featuresScreens.d.ts +2 -0
- package/build/features/featuresScreens.js +265 -16
- package/build/features/individual/Individual.d.ts +5 -1
- package/build/features/individual/Individual.js +26 -12
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +55 -15
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +36 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +76 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +4 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +4 -3
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
- 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 +13 -9
- package/build/features/individual/screens/IndividualList/validation.js +11 -4
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -2
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +79 -21
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -5
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +75 -63
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +9 -11
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +1 -1
- 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 -3
- package/build/features/individual/screens/Verify/Verify.js +4 -3
- package/build/features/password/Password.d.ts +5 -1
- package/build/features/password/Password.js +90 -33
- package/build/features/password/screens/CreatePassword/CreatePassword.js +10 -4
- package/build/features/password/screens/OTP/OTP.js +4 -4
- 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 -3
- package/build/features/password/screens/Verify/Verify.js +8 -7
- package/build/features/shared/Address/CountryList.d.ts +7 -7
- package/build/features/shared/Address/InputSelect.d.ts +7 -7
- package/build/features/shared/Background/Background.d.ts +3 -1
- package/build/features/shared/Background/Background.js +9 -11
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +15 -0
- package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -0
- package/build/features/shared/BusinessCountry/index.d.ts +2 -0
- package/build/features/shared/BusinessCountry/index.js +2 -0
- package/build/features/shared/Button/Button.js +11 -5
- package/build/features/shared/Button/EmailProvidersButtons.js +2 -0
- package/build/features/shared/Button/FlowsButtons.js +20 -5
- 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 +3 -1
- package/build/features/shared/Containers/FeatureContainer.js +5 -3
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +4 -1
- package/build/features/shared/DataLoading/DataLoading.js +2 -2
- package/build/features/shared/Dialog/DialogContainer.js +5 -4
- package/build/features/shared/Footer/Footer.js +2 -1
- 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 +2 -2
- 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 +5 -1
- package/build/features/tax/Tax.js +26 -12
- 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 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +9 -3
- package/build/features/tax/screens/Verify/Verify.js +8 -7
- package/build/hooks/index.d.ts +3 -0
- package/build/hooks/index.js +3 -0
- package/build/hooks/useAppConfig.d.ts +3 -3
- package/build/hooks/useAppConfig.js +10 -8
- package/build/hooks/useAppDispatch.d.ts +2 -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/useCountry.d.ts +1 -0
- package/build/hooks/useCountry.js +4 -3
- 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 +5 -2
- package/build/hooks/useVerifyToken.js +10 -5
- package/build/index.css +360 -120
- package/build/index.d.ts +4 -2
- package/build/index.js +6 -2
- package/build/theme/components.js +7 -0
- package/build/theme/palette.js +4 -2
- 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 +3 -0
- package/build/utils/common.js +38 -2
- package/build/utils/device.d.ts +2 -0
- package/build/utils/device.js +6 -0
- package/build/utils/locale.js +2 -1
- package/build/utils/object.d.ts +1 -0
- package/build/utils/object.js +4 -1
- package/build/utils/string.d.ts +7 -2
- package/build/utils/string.js +32 -5
- package/build/utils/validation.d.ts +5 -0
- package/build/utils/validation.js +16 -0
- package/package.json +2 -2
- package/build/features/business/screens/OTP/OTP.d.ts +0 -8
- package/build/features/business/screens/OTP/OTP.js +0 -90
- package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
- package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
- package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
- package/build/features/connectExpress/screens/AuthenticationList/MerchantList.js +0 -100
- package/build/features/connectExpress/screens/AuthenticationList/TerminalList.js +0 -101
- package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
- package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
- 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/{connectExpress/screens/IdentityOTP → auth/screens/OTP}/OTP.d.ts +0 -0
- /package/build/features/{business → auth}/screens/OTP/OTPInput.d.ts +0 -0
- /package/build/features/{business → auth}/screens/OTP/index.d.ts +0 -0
- /package/build/features/{business → auth}/screens/OTP/index.js +0 -0
- /package/build/features/{business → auth}/screens/OTP/validation.d.ts +0 -0
- /package/build/features/{business → auth}/screens/OTP/validation.js +0 -0
- /package/build/features/{connectExpress/screens/IdentityOTP/OTPInput.d.ts → board/screens/Verify/Verify.d.ts} +0 -0
- /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.d.ts +0 -0
- /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.js +0 -0
|
@@ -32,14 +32,46 @@ export var EntityNameValidationSchema = function () {
|
|
|
32
32
|
}
|
|
33
33
|
})
|
|
34
34
|
.required(''),
|
|
35
|
-
unifiedNumber: yup
|
|
35
|
+
unifiedNumber: yup.string().optional(),
|
|
36
|
+
issuingDate: yup.string().required('choose_any_issuing_date'),
|
|
37
|
+
expiryDate: yup.string().required('choose_any_expiry_date'),
|
|
38
|
+
certificateId: yup.array().optional(),
|
|
39
|
+
articleId: yup.string().optional()
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
export var EntityNameKWValidationSchema = function () {
|
|
43
|
+
return yup.object().shape({
|
|
44
|
+
legalName: yup
|
|
45
|
+
.string()
|
|
46
|
+
.required('')
|
|
47
|
+
.test({
|
|
48
|
+
test: function (value) {
|
|
49
|
+
var length = (value === null || value === void 0 ? void 0 : value.length) || 0;
|
|
50
|
+
if (length === 0)
|
|
51
|
+
return true;
|
|
52
|
+
return length >= 3 ? true : this.createError({ message: 'enter_legal_name_min_three_chars' });
|
|
53
|
+
}
|
|
54
|
+
}),
|
|
55
|
+
licenseType: yup.string().optional(),
|
|
56
|
+
entityType: yup.string().required('entity_type_required'),
|
|
57
|
+
licenseNumber: yup
|
|
36
58
|
.string()
|
|
37
59
|
.when('licenseType', function (licenseType) {
|
|
38
60
|
var isCR = licenseType === BusinessType.CR;
|
|
39
|
-
if (isCR) {
|
|
40
|
-
return yup.string().
|
|
61
|
+
if (!isCR) {
|
|
62
|
+
return yup.string().optional();
|
|
41
63
|
}
|
|
42
|
-
return yup
|
|
64
|
+
return yup
|
|
65
|
+
.string()
|
|
66
|
+
.required('')
|
|
67
|
+
.test({
|
|
68
|
+
test: function (value) {
|
|
69
|
+
var length = (value === null || value === void 0 ? void 0 : value.length) || 0;
|
|
70
|
+
if (length === 0)
|
|
71
|
+
return true;
|
|
72
|
+
return length >= KW_MIN_LICENSE_LENGTH ? true : this.createError({ message: 'cr_kw_max_length' });
|
|
73
|
+
}
|
|
74
|
+
});
|
|
43
75
|
})
|
|
44
76
|
.required(''),
|
|
45
77
|
issuingDate: yup.string().required('choose_any_issuing_date'),
|
|
@@ -48,7 +80,7 @@ export var EntityNameValidationSchema = function () {
|
|
|
48
80
|
articleId: yup.string().optional()
|
|
49
81
|
});
|
|
50
82
|
};
|
|
51
|
-
export var
|
|
83
|
+
export var EntityNameOtherCountryValidationSchema = function () {
|
|
52
84
|
return yup.object().shape({
|
|
53
85
|
legalName: yup
|
|
54
86
|
.string()
|
|
@@ -67,9 +99,6 @@ export var EntityNameKWValidationSchema = function () {
|
|
|
67
99
|
.string()
|
|
68
100
|
.when('licenseType', function (licenseType) {
|
|
69
101
|
var isCR = licenseType === BusinessType.CR;
|
|
70
|
-
if (!isCR) {
|
|
71
|
-
return yup.string().optional();
|
|
72
|
-
}
|
|
73
102
|
return yup
|
|
74
103
|
.string()
|
|
75
104
|
.required('')
|
|
@@ -78,7 +107,7 @@ export var EntityNameKWValidationSchema = function () {
|
|
|
78
107
|
var length = (value === null || value === void 0 ? void 0 : value.length) || 0;
|
|
79
108
|
if (length === 0)
|
|
80
109
|
return true;
|
|
81
|
-
return length >= KW_MIN_LICENSE_LENGTH ? true : this.createError({ message: 'cr_kw_max_length' });
|
|
110
|
+
return length >= KW_MIN_LICENSE_LENGTH ? true : this.createError({ message: isCR ? 'cr_kw_max_length' : 'fl_max_length' });
|
|
82
111
|
}
|
|
83
112
|
});
|
|
84
113
|
})
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useTranslation } from 'react-i18next';
|
|
4
|
+
import GenericError from '../../../shared/GenericError';
|
|
5
|
+
var OperatorError = function (_a) {
|
|
6
|
+
var t = useTranslation().t;
|
|
7
|
+
return _jsx(GenericError, { error: t('operator_is_invalid'), errorTitle: t('oops') });
|
|
8
|
+
};
|
|
9
|
+
export default React.memo(OperatorError);
|
|
@@ -21,11 +21,10 @@ var SuccessWithFlowButtons = function () {
|
|
|
21
21
|
var _a = useAppSelector(entitySelector), data = _a.data, loading = _a.loading;
|
|
22
22
|
var settingsData = useAppSelector(settingsSelector).data;
|
|
23
23
|
var isScopeAuthentication = settingsData.appConfig.scope === SCOPE_AUTH;
|
|
24
|
-
var
|
|
25
|
-
var _b = data.verify.responseBody || {}, flows = _b.flows, entity = _b.entity, brand = _b.brand, bank = _b.bank_account, merchant = _b.merchant, user = _b.user, business = _b.business, board_id = _b.board_id, board_info_id = _b.board_info_id, name = _b.name, individuals = _b.individuals;
|
|
24
|
+
var _b = data.verify.responseBody || {}, flows = _b.flows, entity = _b.entity, brand = _b.brand, bank = _b.bank_account, merchant = _b.merchant, user = _b.user, business = _b.business, board_id = _b.board_id, board_info_id = _b.board_info_id, name = _b.name, individuals = _b.individuals, recipient = _b.recipient, board_status = _b.board_status;
|
|
26
25
|
var onClose = function () {
|
|
27
26
|
dispatch(onCloseCompleteEntity());
|
|
28
27
|
};
|
|
29
|
-
return (_jsx(SuccessFlowButtons, { flowName: data.flowName, loading: loading, bank: bank, brand: brand, entity: entity, merchant: merchant, user: __assign({ names: { en: name } }, user), business: business, boardId: board_id, individuals: individuals, boardInfoId: board_info_id, flows: flows || [], onClose: isScopeAuthentication
|
|
28
|
+
return (_jsx(SuccessFlowButtons, { flowName: data.flowName, loading: loading, bank: bank, brand: brand, entity: entity, merchant: merchant, user: __assign({ names: { en: name } }, user), business: business, boardId: board_id, individuals: individuals, boardInfoId: board_info_id, flows: flows || [], onClose: isScopeAuthentication ? onClose : undefined, recipient: recipient, status: board_status }));
|
|
30
29
|
};
|
|
31
30
|
export default memo(SuccessWithFlowButtons);
|
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
import { useAppDispatch, useSetFromDefaultValues } from '../../../../hooks';
|
|
14
|
+
import { useAppDispatch, useSetFromDefaultValues, useSanitizedTranslation } from '../../../../hooks';
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
17
17
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
@@ -59,6 +59,7 @@ var VerifyNumber = function (_a) {
|
|
|
59
59
|
});
|
|
60
60
|
useSetFromDefaultValues(methods, data.otpData);
|
|
61
61
|
var t = useTranslation().t;
|
|
62
|
+
var st = useSanitizedTranslation();
|
|
62
63
|
var isAr = useLanguage().isAr;
|
|
63
64
|
var _e = React.useState(false), resendLoading = _e[0], setResendLoading = _e[1];
|
|
64
65
|
var phone = (_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.verification_by) === null || _c === void 0 ? void 0 : _c.sent_to;
|
|
@@ -72,7 +73,7 @@ var VerifyNumber = function (_a) {
|
|
|
72
73
|
var onSubmit = function (formData) {
|
|
73
74
|
dispatch(verifyEntityLeadOTP(deepCopy(formData)));
|
|
74
75
|
};
|
|
75
|
-
var disabled = !methods.formState.isValid ||
|
|
76
|
-
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ?
|
|
76
|
+
var disabled = !methods.formState.isValid || !phone || resendLoading;
|
|
77
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? st('ide_otp_waiting_title') : st('ide_opt_sent_title'), !loading && phone && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, { loading: resendLoading, setLoading: setResendLoading }), _jsx(Button, __assign({ disableBack: true, disabled: disabled, isAr: isAr, loading: loading, error: st(error || '') }, { children: t('next') }))] })) })) }));
|
|
77
78
|
};
|
|
78
79
|
export default React.memo(VerifyNumber);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FeatureScreenStep } from '../@types';
|
|
2
2
|
export declare const connectFeatureScreens: Array<FeatureScreenStep>;
|
|
3
3
|
export declare const connectExpressFeatureScreens: Array<FeatureScreenStep>;
|
|
4
|
+
export declare const authFeatureScreens: Array<FeatureScreenStep>;
|
|
4
5
|
export declare const businessFeatureScreens: Array<FeatureScreenStep>;
|
|
5
6
|
export declare const passwordFeatureScreens: Array<FeatureScreenStep>;
|
|
6
7
|
export declare const individualFeatureScreens: Array<FeatureScreenStep>;
|
|
@@ -9,3 +10,4 @@ export declare const taxFeatureScreens: Array<FeatureScreenStep>;
|
|
|
9
10
|
export declare const signInFeatureScreens: Array<FeatureScreenStep>;
|
|
10
11
|
export declare const entityFeatureScreens: Array<FeatureScreenStep>;
|
|
11
12
|
export declare const brandFeatureScreens: Array<FeatureScreenStep>;
|
|
13
|
+
export declare const boardFeatureScreens: Array<FeatureScreenStep>;
|
|
@@ -1,31 +1,65 @@
|
|
|
1
|
+
import BusinessCountry from './connect/screens/BusinessCountry/BusinessCountry';
|
|
1
2
|
import MobileScreen from './connect/screens/Mobile';
|
|
2
3
|
import NIDScreen from './connect/screens/NID';
|
|
3
4
|
import ConnectCivilIDScreen from '../features/connect/screens/CivilID';
|
|
4
5
|
import ConnectVerifyPACIScreen from './connect/screens/VerifyPACI';
|
|
6
|
+
import ConnectVerifyNafathScreen from './connect/screens/VerifyNafath';
|
|
7
|
+
import DobScreen from './connect/screens/DOB';
|
|
5
8
|
import IndividualScreen from './connect/screens/Individual';
|
|
6
9
|
import MerchantInfoScreen from './connect/screens/Merchant';
|
|
7
10
|
import BrandSegmentInfoScreen from './connect/screens/BrandSegment';
|
|
8
11
|
import ConnectOTPScreen from './connect/screens/OTP';
|
|
9
12
|
import ThankYouScreen from './connect/screens/ThankYou';
|
|
13
|
+
import OperatorError from './connect/screens/OperatorError';
|
|
14
|
+
import CollectMobileOwnership from './connect/screens/MobileOwnership';
|
|
15
|
+
import ConnectExpressBusinessCountry from './connectExpress/screens/BusinessCountry/BusinessCountry';
|
|
10
16
|
import ConnectExpressMobileScreen from './connectExpress/screens/Mobile';
|
|
11
17
|
import ConnectExpressNIDScreen from './connectExpress/screens/NID';
|
|
18
|
+
import ConnectExpressVerifyNafathScreen from './connectExpress/screens/VerifyNafath';
|
|
12
19
|
import ConnectExpressCivilIDScreen from './connectExpress/screens/CivilID';
|
|
13
20
|
import ConnectExpressVerifyPACIScreen from './connectExpress/screens/VerifyPACI';
|
|
14
21
|
import ConnectExpressOTPScreen from './connectExpress/screens/OTP';
|
|
15
22
|
import ConnectExpressNIDMissedScreen from './connectExpress/screens/NIDMissed';
|
|
16
23
|
import ConnectExpressCivilIDMissedScreen from './connectExpress/screens/CivilIDMissed';
|
|
17
24
|
import ConnectExpressIdentityVerifyPACIScreen from './connectExpress/screens/IdentityVerifyPACI';
|
|
18
|
-
import
|
|
25
|
+
import ConnectExpressIdentityVerifyNafathScreen from './connectExpress/screens/IdentityVerifyNafath';
|
|
19
26
|
import ConnectExpressCollectIndividualScreen from './connectExpress/screens/CollectIndividualInfo';
|
|
27
|
+
import ConnectExpressCollectDobScreen from './connectExpress/screens/DOB';
|
|
20
28
|
import ConnectExpressCollectBusinessScreen from './connectExpress/screens/CollectBusinessInfo';
|
|
21
29
|
import ConnectExpressCreateAccountLoaderScreen from './connectExpress/screens/CreateAccountLoader';
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
30
|
+
import ConnectExpressPreparingDataLoaderScreen from './connectExpress/screens/PrepareDataLoading';
|
|
31
|
+
import ConnectExpressSuccessFlowButtonsScreen from './connectExpress/screens/SuccessWithFlowButtons';
|
|
32
|
+
import ConnectExpressAccountAlreadyCreatedScreen from './connectExpress/screens/AccountAlreadyCreated';
|
|
33
|
+
import ConnectExpressAuthenticationListScreen from './connectExpress/screens/AuthenticationList';
|
|
34
|
+
import ConnectExpressAuthMerchantScreen from './connectExpress/screens/AuthMerchant';
|
|
35
|
+
import ConnectExpressAuthAccountCreatedLoaderScreen from './connectExpress/screens/AccountCreatedLoader';
|
|
36
|
+
import ConnectExpressOperatorError from './connectExpress/screens/OperatorError';
|
|
37
|
+
import ConnectExpressCollectMobileOwnership from './connectExpress/screens/MobileOwnership';
|
|
38
|
+
import AuthBusinessCountry from './auth/screens/BusinessCountry/BusinessCountry';
|
|
39
|
+
import AuthSwitchScreen from './auth/screens/AuthSwitch';
|
|
40
|
+
import AuthMobileScreen from './auth/screens/Mobile';
|
|
41
|
+
import AuthNIDScreen from './auth/screens/NID';
|
|
42
|
+
import AuthEmailScreen from './auth/screens/Email';
|
|
43
|
+
import AuthCivilIDScreen from './auth/screens/CivilID';
|
|
44
|
+
import AuthVerifyPACIScreen from './auth/screens/VerifyPACI';
|
|
45
|
+
import AuthVerifyNafathScreen from './auth/screens/VerifyNafath';
|
|
46
|
+
import AuthDOBPage from './auth/screens/DOB';
|
|
47
|
+
import AuthOTPScreen from './auth/screens/OTP';
|
|
48
|
+
import AuthPasswordScreen from './auth/screens/Password';
|
|
49
|
+
import AuthResetPasswordMessageScreen from './auth/screens/ResetPasswordMessage';
|
|
50
|
+
import PreparingDataScreen from './auth/screens/PreparingData';
|
|
51
|
+
import AccountNotFoundScreen from './auth/screens/AccountNotFound';
|
|
52
|
+
import AuthAuthenticationListScreen from './auth/screens/AuthenticationList';
|
|
53
|
+
import AuthMerchantScreen from './auth/screens/AuthMerchant';
|
|
54
|
+
import AuthAccountCreatedLoaderScreen from './auth/screens/AccountCreatedLoader';
|
|
55
|
+
import AuthEmailSentScreen from './auth/screens/EmailSent';
|
|
56
|
+
import AuthMigratingDataScreen from './auth/screens/MigratingData';
|
|
57
|
+
import AuthOperatorError from './auth/screens/OperatorError';
|
|
25
58
|
import CustomersPage from './business/screens/Customers';
|
|
26
59
|
import IDBODPage from './business/screens/IDBOD';
|
|
27
60
|
import BusinessVerifyPage from './business/screens/Verify';
|
|
28
|
-
import
|
|
61
|
+
import BusinessVerifyNafathPage from './business/screens/VerifyNafath';
|
|
62
|
+
import DOBPage from './business/screens/DOB';
|
|
29
63
|
import BusinessTypePage from './business/screens/BusinessType';
|
|
30
64
|
import ActivitiesPage from './business/screens/Activities';
|
|
31
65
|
import SuccessPage from './business/screens/Success';
|
|
@@ -34,12 +68,16 @@ import ResetPasswordSuccessPage from './business/screens/ResetPasswordSuccess';
|
|
|
34
68
|
import BusCivilIDscreen from './business/screens/CivilID';
|
|
35
69
|
import BusVerifyPACIScreen from './business/screens/VerifyPACI';
|
|
36
70
|
import BrandVerifyScreen from './business/screens/BrandDetails';
|
|
71
|
+
import BusinessOperatorError from './business/screens/OperatorError';
|
|
72
|
+
import BusinessCollectMobileOwnership from './business/screens/MobileOwnership';
|
|
37
73
|
import PasswordVerifyPage from './password/screens/Verify';
|
|
38
74
|
import CreatePasswordPage from './password/screens/CreatePassword';
|
|
75
|
+
import PasswordDataLoadingPage from './password/screens/PrepareDataLoading';
|
|
39
76
|
import PasswordOTPPage from './password/screens/OTP';
|
|
40
77
|
import SuccessPasswordPage from './password/screens/Success';
|
|
41
78
|
import PasswordSuccessWithFlowPage from './password/screens/SuccessWithFlowButtons';
|
|
42
79
|
import PasswordResetPasswordSuccessPage from './password/screens/ResetPasswordSuccess';
|
|
80
|
+
import PasswordOperatorError from './password/screens/OperatorError';
|
|
43
81
|
import IndividualVerifyPage from './individual/screens/Verify';
|
|
44
82
|
import IndividualPhoneInfoPage from './individual/screens/IndividualPhoneInfo';
|
|
45
83
|
import IndividualListPage from './individual/screens/IndividualList';
|
|
@@ -49,22 +87,26 @@ import SuccessOwnerPage from './individual/screens/Success';
|
|
|
49
87
|
import IndividualSuccessWithFlowPage from './individual/screens/SuccessWithFlowButtons';
|
|
50
88
|
import IndividualResetPasswordSuccessPage from './individual/screens/ResetPasswordSuccess';
|
|
51
89
|
import IndividualDataLoadingPage from './individual/screens/PrepareDataLoading';
|
|
90
|
+
import IndividualOperatorError from './individual/screens/OperatorError';
|
|
52
91
|
import BankVerifyPage from './bank/screens/Verify';
|
|
53
92
|
import BankDetailsPage from './bank/screens/BankDetails';
|
|
54
93
|
import BankSuccessPage from './bank/screens/Success';
|
|
55
94
|
import BankSuccessWithFlowPage from './bank/screens/SuccessWithFlowButtons';
|
|
56
95
|
import BankResetPasswordSuccessPage from './bank/screens/ResetPasswordSuccess';
|
|
57
96
|
import BankDataLoadingPage from './bank/screens/PrepareDataLoading';
|
|
97
|
+
import BankOperatorError from './bank/screens/OperatorError';
|
|
58
98
|
import TaxVerifyPage from './tax/screens/Verify';
|
|
59
99
|
import TaxDetailsPage from './tax/screens/TaxDetails';
|
|
60
100
|
import TaxSuccessPage from './tax/screens/Success';
|
|
61
101
|
import TaxSuccessWithFlowPage from './tax/screens/SuccessWithFlowButtons';
|
|
62
102
|
import TaxResetPasswordSuccessPage from './tax/screens/ResetPasswordSuccess';
|
|
63
103
|
import TaxDataLoadingPage from './tax/screens/PrepareDataLoading';
|
|
104
|
+
import TaxOperatorError from './tax/screens/OperatorError';
|
|
64
105
|
import SignInMobilePage from './signIn/screens/Mobile';
|
|
65
106
|
import SignInEmailPage from './signIn/screens/Email';
|
|
66
107
|
import SignInOTPPage from './signIn/screens/OTP';
|
|
67
108
|
import SignInPasswordPage from './signIn/screens/Password';
|
|
109
|
+
import SignInOperatorError from './signIn/screens/OperatorError';
|
|
68
110
|
import EntityVerifyPage from './entity/screens/Verify';
|
|
69
111
|
import EntityNamePage from './entity/screens/EntityName';
|
|
70
112
|
import EntityCapitalPage from './entity/screens/EntityCapital';
|
|
@@ -72,6 +114,7 @@ import EntitySuccessPage from './entity/screens/Success';
|
|
|
72
114
|
import EntitySuccessWithFlowPage from './entity/screens/SuccessWithFlowButtons';
|
|
73
115
|
import EntityResetPasswordSuccessPage from './entity/screens/ResetPasswordSuccess';
|
|
74
116
|
import EntityDataLoadingPage from './entity/screens/PrepareDataLoading';
|
|
117
|
+
import EntityOperatorError from './entity/screens/OperatorError';
|
|
75
118
|
import BrandVerifyPage from './brand/screens/Verify';
|
|
76
119
|
import BrandInfoPage from './brand/screens/BrandInfo';
|
|
77
120
|
import BrandSegmentPage from './brand/screens/BrandSegmentInfo';
|
|
@@ -80,7 +123,17 @@ import BrandSuccessPage from './brand/screens/Success';
|
|
|
80
123
|
import BrandSuccessWithFlowPage from './brand/screens/SuccessWithFlowButtons';
|
|
81
124
|
import BrandResetPasswordSuccessPage from './brand/screens/ResetPasswordSuccess';
|
|
82
125
|
import BrandDataLoadingPage from './brand/screens/PrepareDataLoading';
|
|
126
|
+
import BrandOperatorError from './brand/screens/OperatorError';
|
|
127
|
+
import BoardVerifyPage from './board/screens/Verify';
|
|
128
|
+
import BoardSuccessWithFlowPage from './board/screens/SuccessWithFlowButtons';
|
|
129
|
+
import BoardResetPasswordSuccessPage from './board/screens/ResetPasswordSuccess';
|
|
130
|
+
import BoardDataLoadingPage from './board/screens/PrepareDataLoading';
|
|
131
|
+
import BoardOperatorError from './board/screens/OperatorError';
|
|
83
132
|
export var connectFeatureScreens = [
|
|
133
|
+
{
|
|
134
|
+
name: 'CONNECT_BUSINESS_COUNTRY_STEP',
|
|
135
|
+
element: BusinessCountry
|
|
136
|
+
},
|
|
84
137
|
{
|
|
85
138
|
name: 'CONNECT_NID_STEP',
|
|
86
139
|
element: NIDScreen
|
|
@@ -101,6 +154,14 @@ export var connectFeatureScreens = [
|
|
|
101
154
|
name: 'CONNECT_VERIFY_PACI_STEP',
|
|
102
155
|
element: ConnectVerifyPACIScreen
|
|
103
156
|
},
|
|
157
|
+
{
|
|
158
|
+
name: 'CONNECT_VERIFY_NAFATH_STEP',
|
|
159
|
+
element: ConnectVerifyNafathScreen
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'CONNECT_DOB_STEP',
|
|
163
|
+
element: DobScreen
|
|
164
|
+
},
|
|
104
165
|
{
|
|
105
166
|
name: 'CONNECT_INDIVIDUAL_STEP',
|
|
106
167
|
element: IndividualScreen
|
|
@@ -116,9 +177,21 @@ export var connectFeatureScreens = [
|
|
|
116
177
|
{
|
|
117
178
|
name: 'CONNECT_THANK_YOU_STEP',
|
|
118
179
|
element: ThankYouScreen
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: 'CONNECT_OPERATOR_ERROR_STEP',
|
|
183
|
+
element: OperatorError
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: 'CONNECT_MOBILE_OWNERSHIP',
|
|
187
|
+
element: CollectMobileOwnership
|
|
119
188
|
}
|
|
120
189
|
];
|
|
121
190
|
export var connectExpressFeatureScreens = [
|
|
191
|
+
{
|
|
192
|
+
name: 'CONNECT_EXPRESS_BUSINESS_COUNTRY_STEP',
|
|
193
|
+
element: ConnectExpressBusinessCountry
|
|
194
|
+
},
|
|
122
195
|
{
|
|
123
196
|
name: 'CONNECT_EXPRESS_NID_STEP',
|
|
124
197
|
element: ConnectExpressNIDScreen
|
|
@@ -135,6 +208,10 @@ export var connectExpressFeatureScreens = [
|
|
|
135
208
|
name: 'CONNECT_EXPRESS_OTP_STEP',
|
|
136
209
|
element: ConnectExpressOTPScreen
|
|
137
210
|
},
|
|
211
|
+
{
|
|
212
|
+
name: 'CONNECT_EXPRESS_VERIFY_NAFATH_STEP',
|
|
213
|
+
element: ConnectExpressVerifyNafathScreen
|
|
214
|
+
},
|
|
138
215
|
{
|
|
139
216
|
name: 'CONNECT_EXPRESS_VERIFY_PACI_STEP',
|
|
140
217
|
element: ConnectExpressVerifyPACIScreen
|
|
@@ -152,17 +229,25 @@ export var connectExpressFeatureScreens = [
|
|
|
152
229
|
element: ConnectExpressIdentityVerifyPACIScreen
|
|
153
230
|
},
|
|
154
231
|
{
|
|
155
|
-
name: '
|
|
156
|
-
element:
|
|
232
|
+
name: 'CONNECT_EXPRESS_IDENTITY_VERIFY_NAFATH_STEP',
|
|
233
|
+
element: ConnectExpressIdentityVerifyNafathScreen
|
|
157
234
|
},
|
|
158
235
|
{
|
|
159
236
|
name: 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
160
237
|
element: ConnectExpressCreateAccountLoaderScreen
|
|
161
238
|
},
|
|
239
|
+
{
|
|
240
|
+
name: 'CONNECT_EXPRESS_PREPARING_DATA_STEP',
|
|
241
|
+
element: ConnectExpressPreparingDataLoaderScreen
|
|
242
|
+
},
|
|
162
243
|
{
|
|
163
244
|
name: 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
164
245
|
element: ConnectExpressCollectIndividualScreen
|
|
165
246
|
},
|
|
247
|
+
{
|
|
248
|
+
name: 'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
249
|
+
element: ConnectExpressCollectDobScreen
|
|
250
|
+
},
|
|
166
251
|
{
|
|
167
252
|
name: 'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
168
253
|
element: ConnectExpressCollectBusinessScreen
|
|
@@ -178,6 +263,104 @@ export var connectExpressFeatureScreens = [
|
|
|
178
263
|
{
|
|
179
264
|
name: 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP',
|
|
180
265
|
element: ConnectExpressAuthenticationListScreen
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
name: 'CONNECT_EXPRESS_AUTH_MERCHANT_LIST_STEP',
|
|
269
|
+
element: ConnectExpressAuthMerchantScreen
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: 'CONNECT_EXPRESS_AUTH_ACCOUNT_CREATED_STEP',
|
|
273
|
+
element: ConnectExpressAuthAccountCreatedLoaderScreen
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
name: 'CONNECT_EXPRESS_OPERATOR_ERROR_STEP',
|
|
277
|
+
element: ConnectExpressOperatorError
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
name: 'COLLECT_MOBILE_OWNERSHIP',
|
|
281
|
+
element: ConnectExpressCollectMobileOwnership
|
|
282
|
+
}
|
|
283
|
+
];
|
|
284
|
+
export var authFeatureScreens = [
|
|
285
|
+
{
|
|
286
|
+
name: 'AUTH_BUSINESS_COUNTRY_STEP',
|
|
287
|
+
element: AuthBusinessCountry
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'AUTH_SWITCH_STEP',
|
|
291
|
+
element: AuthSwitchScreen
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
name: 'AUTH_NID_STEP',
|
|
295
|
+
element: AuthNIDScreen
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
name: 'AUTH_CIVIL_ID_STEP',
|
|
299
|
+
element: AuthCivilIDScreen
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: 'AUTH_MOBILE_STEP',
|
|
303
|
+
element: AuthMobileScreen
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: 'AUTH_EMAIL_STEP',
|
|
307
|
+
element: AuthEmailScreen
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: 'AUTH_OTP_STEP',
|
|
311
|
+
element: AuthOTPScreen
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
name: 'AUTH_PASSWORD_STEP',
|
|
315
|
+
element: AuthPasswordScreen
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
name: 'AUTH_RESET_PASSWORD_MESSAGE_STEP',
|
|
319
|
+
element: AuthResetPasswordMessageScreen
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: 'AUTH_VERIFY_PACI_STEP',
|
|
323
|
+
element: AuthVerifyPACIScreen
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
name: 'AUTH_NAFATH_VERIFY_STEP',
|
|
327
|
+
element: AuthVerifyNafathScreen
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
name: 'AUTH_DOB_STEP',
|
|
331
|
+
element: AuthDOBPage
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
name: 'AUTH_ACCOUNT_NOT_FOUND_STEP',
|
|
335
|
+
element: AccountNotFoundScreen
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
name: 'AUTH_PREPARING_DATA_STEP',
|
|
339
|
+
element: PreparingDataScreen
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
name: 'AUTH_AUTHENTICATION_LIST_STEP',
|
|
343
|
+
element: AuthAuthenticationListScreen
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
name: 'AUTH_MERCHANT_LIST_STEP',
|
|
347
|
+
element: AuthMerchantScreen
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
name: 'AUTH_ACCOUNT_CREATED_STEP',
|
|
351
|
+
element: AuthAccountCreatedLoaderScreen
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
name: 'AUTH_EMAIL_SENT_STEP',
|
|
355
|
+
element: AuthEmailSentScreen
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
name: 'AUTH_MIGRATING_DATA_STEP',
|
|
359
|
+
element: AuthMigratingDataScreen
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: 'AUTH_OPERATOR_ERROR_STEP',
|
|
363
|
+
element: AuthOperatorError
|
|
181
364
|
}
|
|
182
365
|
];
|
|
183
366
|
export var businessFeatureScreens = [
|
|
@@ -198,8 +381,12 @@ export var businessFeatureScreens = [
|
|
|
198
381
|
element: BusVerifyPACIScreen
|
|
199
382
|
},
|
|
200
383
|
{
|
|
201
|
-
name: '
|
|
202
|
-
element:
|
|
384
|
+
name: 'BUSINESS_VERIFY_NAFATH_STEP',
|
|
385
|
+
element: BusinessVerifyNafathPage
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
name: 'BUSINESS_DOB_STEP',
|
|
389
|
+
element: DOBPage
|
|
203
390
|
},
|
|
204
391
|
{
|
|
205
392
|
name: 'BUSINESS_BUSINESS_TYPE_STEP',
|
|
@@ -216,7 +403,15 @@ export var businessFeatureScreens = [
|
|
|
216
403
|
{ name: 'BUSINESS_SUCCESS_STEP', element: SuccessPage },
|
|
217
404
|
{ name: 'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP', element: SuccessWithFlowButtonsPage },
|
|
218
405
|
{ name: 'BUSINESS_RESET_PASSWORD_SUCCESS', element: ResetPasswordSuccessPage },
|
|
219
|
-
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen }
|
|
406
|
+
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen },
|
|
407
|
+
{
|
|
408
|
+
name: 'BUSINESS_OPERATOR_ERROR_STEP',
|
|
409
|
+
element: BusinessOperatorError
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
name: 'BUSINESS_MOBILE_OWNERSHIP',
|
|
413
|
+
element: BusinessCollectMobileOwnership
|
|
414
|
+
}
|
|
220
415
|
];
|
|
221
416
|
export var passwordFeatureScreens = [
|
|
222
417
|
{
|
|
@@ -227,6 +422,10 @@ export var passwordFeatureScreens = [
|
|
|
227
422
|
name: 'PASSWORD_CREATE_PASSWORD_STEP',
|
|
228
423
|
element: CreatePasswordPage
|
|
229
424
|
},
|
|
425
|
+
{
|
|
426
|
+
name: 'PASSWORD_LOADING_DATA_STEP',
|
|
427
|
+
element: PasswordDataLoadingPage
|
|
428
|
+
},
|
|
230
429
|
{
|
|
231
430
|
name: 'PASSWORD_RESET_PASSWORD_OTP_STEP',
|
|
232
431
|
element: PasswordOTPPage
|
|
@@ -239,7 +438,11 @@ export var passwordFeatureScreens = [
|
|
|
239
438
|
name: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
240
439
|
element: PasswordSuccessWithFlowPage
|
|
241
440
|
},
|
|
242
|
-
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage }
|
|
441
|
+
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage },
|
|
442
|
+
{
|
|
443
|
+
name: 'PASSWORD_OPERATOR_ERROR_STEP',
|
|
444
|
+
element: PasswordOperatorError
|
|
445
|
+
}
|
|
243
446
|
];
|
|
244
447
|
export var individualFeatureScreens = [
|
|
245
448
|
{
|
|
@@ -274,7 +477,11 @@ export var individualFeatureScreens = [
|
|
|
274
477
|
name: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
275
478
|
element: IndividualSuccessWithFlowPage
|
|
276
479
|
},
|
|
277
|
-
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage }
|
|
480
|
+
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage },
|
|
481
|
+
{
|
|
482
|
+
name: 'INDIVIDUAL_OPERATOR_ERROR_STEP',
|
|
483
|
+
element: IndividualOperatorError
|
|
484
|
+
}
|
|
278
485
|
];
|
|
279
486
|
export var bankFeatureScreens = [
|
|
280
487
|
{
|
|
@@ -297,7 +504,11 @@ export var bankFeatureScreens = [
|
|
|
297
504
|
name: 'BANK_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
298
505
|
element: BankSuccessWithFlowPage
|
|
299
506
|
},
|
|
300
|
-
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage }
|
|
507
|
+
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage },
|
|
508
|
+
{
|
|
509
|
+
name: 'BANK_OPERATOR_ERROR_STEP',
|
|
510
|
+
element: BankOperatorError
|
|
511
|
+
}
|
|
301
512
|
];
|
|
302
513
|
export var taxFeatureScreens = [
|
|
303
514
|
{
|
|
@@ -320,7 +531,11 @@ export var taxFeatureScreens = [
|
|
|
320
531
|
name: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
321
532
|
element: TaxSuccessWithFlowPage
|
|
322
533
|
},
|
|
323
|
-
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage }
|
|
534
|
+
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage },
|
|
535
|
+
{
|
|
536
|
+
name: 'TAX_OPERATOR_ERROR_STEP',
|
|
537
|
+
element: TaxOperatorError
|
|
538
|
+
}
|
|
324
539
|
];
|
|
325
540
|
export var signInFeatureScreens = [
|
|
326
541
|
{
|
|
@@ -338,6 +553,10 @@ export var signInFeatureScreens = [
|
|
|
338
553
|
{
|
|
339
554
|
name: 'SIGIN_PASSWORD_STEP',
|
|
340
555
|
element: SignInPasswordPage
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
name: 'SIGIN_OPERATOR_ERROR_STEP',
|
|
559
|
+
element: SignInOperatorError
|
|
341
560
|
}
|
|
342
561
|
];
|
|
343
562
|
export var entityFeatureScreens = [
|
|
@@ -365,7 +584,11 @@ export var entityFeatureScreens = [
|
|
|
365
584
|
name: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
366
585
|
element: EntitySuccessWithFlowPage
|
|
367
586
|
},
|
|
368
|
-
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage }
|
|
587
|
+
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage },
|
|
588
|
+
{
|
|
589
|
+
name: 'ENTITY_OPERATOR_ERROR_STEP',
|
|
590
|
+
element: EntityOperatorError
|
|
591
|
+
}
|
|
369
592
|
];
|
|
370
593
|
export var brandFeatureScreens = [
|
|
371
594
|
{
|
|
@@ -396,5 +619,31 @@ export var brandFeatureScreens = [
|
|
|
396
619
|
name: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
397
620
|
element: BrandSuccessWithFlowPage
|
|
398
621
|
},
|
|
399
|
-
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage }
|
|
622
|
+
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage },
|
|
623
|
+
{
|
|
624
|
+
name: 'BRAND_OPERATOR_ERROR_STEP',
|
|
625
|
+
element: BrandOperatorError
|
|
626
|
+
}
|
|
627
|
+
];
|
|
628
|
+
export var boardFeatureScreens = [
|
|
629
|
+
{
|
|
630
|
+
name: 'BOARD_VERIFY_STEP',
|
|
631
|
+
element: BoardVerifyPage
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
name: 'BOARD_RESET_PASSWORD_SUCCESS',
|
|
635
|
+
element: BoardResetPasswordSuccessPage
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
name: 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP',
|
|
639
|
+
element: BoardSuccessWithFlowPage
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
name: 'BOARD_LOADING_DATA_STEP',
|
|
643
|
+
element: BoardDataLoadingPage
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: 'BOARD_OPERATOR_ERROR_STEP',
|
|
647
|
+
element: BoardOperatorError
|
|
648
|
+
}
|
|
400
649
|
];
|
|
@@ -3,8 +3,12 @@ import { LibConfig } from '../../@types';
|
|
|
3
3
|
export interface IndividualLibProps extends LibConfig {
|
|
4
4
|
verifyToken?: string;
|
|
5
5
|
configToken?: string;
|
|
6
|
+
loaderColor?: string;
|
|
6
7
|
}
|
|
7
|
-
export
|
|
8
|
+
export interface IndividualLibFullProps extends IndividualLibProps {
|
|
9
|
+
unmount?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function IndividualElement(props: IndividualLibFullProps): JSX.Element;
|
|
8
12
|
export declare function renderIndividualLib(config: IndividualLibProps, elementId: string): {
|
|
9
13
|
unmount: () => void;
|
|
10
14
|
};
|