@tap-payments/auth-jsconnect 2.6.3-test → 2.6.3
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 -15
- package/build/@types/app.js +18 -1
- package/build/@types/config.d.ts +45 -0
- package/build/@types/config.js +1 -0
- package/build/@types/form.d.ts +14 -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 +5 -0
- package/build/api/account.js +16 -2
- package/build/api/auth.d.ts +25 -1
- package/build/api/auth.js +18 -1
- package/build/api/availabilityServices.d.ts +1 -0
- package/build/api/country.d.ts +1 -0
- package/build/api/country.js +8 -1
- package/build/api/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 +19 -27
- package/build/api/lead.d.ts +25 -3
- package/build/api/lead.js +47 -1
- package/build/api/operator.d.ts +8 -3
- package/build/api/operator.js +4 -16
- package/build/app/rootReducer.d.ts +2 -0
- package/build/app/rootReducer.js +5 -1
- package/build/app/settings.d.ts +14 -3
- package/build/app/settings.js +127 -41
- package/build/app/store.d.ts +4 -0
- package/build/assets/locales/ar.json +333 -142
- package/build/assets/locales/en.json +330 -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 +37 -12
- package/build/components/AnimationFlow/Dialog.d.ts +11 -2
- package/build/components/AnimationFlow/Dialog.js +7 -11
- 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/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/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 +46 -0
- package/build/constants/app.js +380 -21
- 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/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 +1179 -0
- package/build/features/app/bank/bankStore.d.ts +14 -18
- package/build/features/app/bank/bankStore.js +218 -158
- 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 +18 -31
- package/build/features/app/brand/brandStore.js +296 -263
- package/build/features/app/business/businessStore.d.ts +28 -10
- package/build/features/app/business/businessStore.js +361 -215
- package/build/features/app/connect/connectStore.d.ts +39 -15
- package/build/features/app/connect/connectStore.js +308 -207
- package/build/features/app/connectExpress/connectExpressStore.d.ts +63 -35
- package/build/features/app/connectExpress/connectExpressStore.js +764 -414
- package/build/features/app/entity/entityStore.d.ts +21 -34
- package/build/features/app/entity/entityStore.js +248 -246
- package/build/features/app/individual/individualStore.d.ts +24 -33
- package/build/features/app/individual/individualStore.js +336 -274
- package/build/features/app/password/passwordStore.d.ts +34 -18
- package/build/features/app/password/passwordStore.js +286 -219
- package/build/features/app/tax/taxStore.d.ts +14 -7
- package/build/features/app/tax/taxStore.js +202 -141
- 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 +158 -0
- package/build/features/auth/screens/Mobile/index.d.ts +3 -0
- package/build/features/auth/screens/Mobile/index.js +2 -0
- package/build/features/auth/screens/Mobile/validation.d.ts +8 -0
- package/build/features/auth/screens/Mobile/validation.js +35 -0
- package/build/features/auth/screens/NID/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 +2 -0
- package/build/features/bank/Bank.js +15 -9
- 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 +13 -5
- 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 +2 -0
- package/build/features/brand/Brand.js +15 -9
- 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 +13 -5
- 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/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 +6 -3
- package/build/features/connect/screens/Individual/validation.js +8 -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 +14 -8
- package/build/features/connect/screens/Mobile/validation.js +8 -3
- 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 -3
- package/build/features/connectExpress/ConnectExpress.js +70 -44
- 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 +30 -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 +7 -4
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +8 -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 +17 -11
- package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
- package/build/features/connectExpress/screens/Mobile/validation.js +16 -6
- 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 +2 -0
- package/build/features/entity/Entity.js +15 -9
- 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 +5 -7
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +2 -2
- package/build/features/entity/screens/EntityName/IssuingDate.js +5 -7
- 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 +13 -5
- package/build/features/entity/screens/Verify/Verify.js +4 -3
- package/build/features/featuresScreens.d.ts +2 -0
- package/build/features/featuresScreens.js +250 -16
- package/build/features/individual/Individual.d.ts +2 -0
- package/build/features/individual/Individual.js +15 -9
- 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 +6 -3
- package/build/features/individual/screens/IndividualList/UserList.js +13 -9
- package/build/features/individual/screens/IndividualList/validation.js +8 -3
- 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 -3
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +72 -63
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +7 -4
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +8 -3
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/individual/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/individual/screens/OperatorError/index.d.ts +3 -0
- package/build/features/individual/screens/OperatorError/index.js +2 -0
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
- package/build/features/individual/screens/Verify/Verify.js +4 -3
- package/build/features/password/Password.d.ts +2 -0
- package/build/features/password/Password.js +94 -32
- 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 +13 -5
- 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 +15 -3
- package/build/features/shared/Button/NafathButton.d.ts +8 -0
- package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +12 -3
- package/build/features/shared/Button/index.d.ts +2 -2
- package/build/features/shared/Button/index.js +2 -2
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/Calender/Calender.js +3 -3
- package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +3 -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/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 +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +1 -1
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +1 -1
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +1 -1
- package/build/features/signIn/SignIn.js +18 -7
- package/build/features/signIn/screens/Mobile/MobileNumber.js +6 -3
- package/build/features/signIn/screens/Mobile/validation.js +8 -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 +2 -0
- package/build/features/tax/Tax.js +15 -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 +13 -5
- 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 +9 -6
- 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 +1 -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/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 +5 -2
- package/build/utils/string.js +24 -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);
|
|
@@ -11,12 +11,20 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { memo } from 'react';
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
14
|
+
import { settingsSelector } from '../../../../app/settings';
|
|
15
|
+
import { useAppSelector, useAppDispatch } from '../../../../hooks';
|
|
16
|
+
import { SCOPE_AUTH } from '../../../../constants';
|
|
17
|
+
import { entitySelector, onCloseCompleteEntity } from '../../../app/entity/entityStore';
|
|
16
18
|
import SuccessFlowButtons from '../../../shared/SuccessFlowButtons';
|
|
17
19
|
var SuccessWithFlowButtons = function () {
|
|
18
|
-
var
|
|
19
|
-
var _a =
|
|
20
|
-
|
|
20
|
+
var dispatch = useAppDispatch();
|
|
21
|
+
var _a = useAppSelector(entitySelector), data = _a.data, loading = _a.loading;
|
|
22
|
+
var settingsData = useAppSelector(settingsSelector).data;
|
|
23
|
+
var isScopeAuthentication = settingsData.appConfig.scope === SCOPE_AUTH;
|
|
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;
|
|
25
|
+
var onClose = function () {
|
|
26
|
+
dispatch(onCloseCompleteEntity());
|
|
27
|
+
};
|
|
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 }));
|
|
21
29
|
};
|
|
22
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,63 @@
|
|
|
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 ConnectExpressBusinessCountry from './connectExpress/screens/BusinessCountry/BusinessCountry';
|
|
10
15
|
import ConnectExpressMobileScreen from './connectExpress/screens/Mobile';
|
|
11
16
|
import ConnectExpressNIDScreen from './connectExpress/screens/NID';
|
|
17
|
+
import ConnectExpressVerifyNafathScreen from './connectExpress/screens/VerifyNafath';
|
|
12
18
|
import ConnectExpressCivilIDScreen from './connectExpress/screens/CivilID';
|
|
13
19
|
import ConnectExpressVerifyPACIScreen from './connectExpress/screens/VerifyPACI';
|
|
14
20
|
import ConnectExpressOTPScreen from './connectExpress/screens/OTP';
|
|
15
21
|
import ConnectExpressNIDMissedScreen from './connectExpress/screens/NIDMissed';
|
|
16
22
|
import ConnectExpressCivilIDMissedScreen from './connectExpress/screens/CivilIDMissed';
|
|
17
23
|
import ConnectExpressIdentityVerifyPACIScreen from './connectExpress/screens/IdentityVerifyPACI';
|
|
18
|
-
import
|
|
24
|
+
import ConnectExpressIdentityVerifyNafathScreen from './connectExpress/screens/IdentityVerifyNafath';
|
|
19
25
|
import ConnectExpressCollectIndividualScreen from './connectExpress/screens/CollectIndividualInfo';
|
|
26
|
+
import ConnectExpressCollectDobScreen from './connectExpress/screens/DOB';
|
|
20
27
|
import ConnectExpressCollectBusinessScreen from './connectExpress/screens/CollectBusinessInfo';
|
|
21
28
|
import ConnectExpressCreateAccountLoaderScreen from './connectExpress/screens/CreateAccountLoader';
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
29
|
+
import ConnectExpressPreparingDataLoaderScreen from './connectExpress/screens/PrepareDataLoading';
|
|
30
|
+
import ConnectExpressSuccessFlowButtonsScreen from './connectExpress/screens/SuccessWithFlowButtons';
|
|
31
|
+
import ConnectExpressAccountAlreadyCreatedScreen from './connectExpress/screens/AccountAlreadyCreated';
|
|
32
|
+
import ConnectExpressAuthenticationListScreen from './connectExpress/screens/AuthenticationList';
|
|
33
|
+
import ConnectExpressAuthMerchantScreen from './connectExpress/screens/AuthMerchant';
|
|
34
|
+
import ConnectExpressAuthAccountCreatedLoaderScreen from './connectExpress/screens/AccountCreatedLoader';
|
|
35
|
+
import ConnectExpressOperatorError from './connectExpress/screens/OperatorError';
|
|
36
|
+
import AuthBusinessCountry from './auth/screens/BusinessCountry/BusinessCountry';
|
|
37
|
+
import AuthSwitchScreen from './auth/screens/AuthSwitch';
|
|
38
|
+
import AuthMobileScreen from './auth/screens/Mobile';
|
|
39
|
+
import AuthNIDScreen from './auth/screens/NID';
|
|
40
|
+
import AuthEmailScreen from './auth/screens/Email';
|
|
41
|
+
import AuthCivilIDScreen from './auth/screens/CivilID';
|
|
42
|
+
import AuthVerifyPACIScreen from './auth/screens/VerifyPACI';
|
|
43
|
+
import AuthVerifyNafathScreen from './auth/screens/VerifyNafath';
|
|
44
|
+
import AuthDOBPage from './auth/screens/DOB';
|
|
45
|
+
import AuthOTPScreen from './auth/screens/OTP';
|
|
46
|
+
import AuthPasswordScreen from './auth/screens/Password';
|
|
47
|
+
import AuthResetPasswordMessageScreen from './auth/screens/ResetPasswordMessage';
|
|
48
|
+
import PreparingDataScreen from './auth/screens/PreparingData';
|
|
49
|
+
import AccountNotFoundScreen from './auth/screens/AccountNotFound';
|
|
50
|
+
import AuthAuthenticationListScreen from './auth/screens/AuthenticationList';
|
|
51
|
+
import AuthMerchantScreen from './auth/screens/AuthMerchant';
|
|
52
|
+
import AuthAccountCreatedLoaderScreen from './auth/screens/AccountCreatedLoader';
|
|
53
|
+
import AuthEmailSentScreen from './auth/screens/EmailSent';
|
|
54
|
+
import AuthMigratingDataScreen from './auth/screens/MigratingData';
|
|
55
|
+
import AuthOperatorError from './auth/screens/OperatorError';
|
|
25
56
|
import CustomersPage from './business/screens/Customers';
|
|
26
57
|
import IDBODPage from './business/screens/IDBOD';
|
|
27
58
|
import BusinessVerifyPage from './business/screens/Verify';
|
|
28
|
-
import
|
|
59
|
+
import BusinessVerifyNafathPage from './business/screens/VerifyNafath';
|
|
60
|
+
import DOBPage from './business/screens/DOB';
|
|
29
61
|
import BusinessTypePage from './business/screens/BusinessType';
|
|
30
62
|
import ActivitiesPage from './business/screens/Activities';
|
|
31
63
|
import SuccessPage from './business/screens/Success';
|
|
@@ -34,12 +66,15 @@ import ResetPasswordSuccessPage from './business/screens/ResetPasswordSuccess';
|
|
|
34
66
|
import BusCivilIDscreen from './business/screens/CivilID';
|
|
35
67
|
import BusVerifyPACIScreen from './business/screens/VerifyPACI';
|
|
36
68
|
import BrandVerifyScreen from './business/screens/BrandDetails';
|
|
69
|
+
import BusinessOperatorError from './business/screens/OperatorError';
|
|
37
70
|
import PasswordVerifyPage from './password/screens/Verify';
|
|
38
71
|
import CreatePasswordPage from './password/screens/CreatePassword';
|
|
72
|
+
import PasswordDataLoadingPage from './password/screens/PrepareDataLoading';
|
|
39
73
|
import PasswordOTPPage from './password/screens/OTP';
|
|
40
74
|
import SuccessPasswordPage from './password/screens/Success';
|
|
41
75
|
import PasswordSuccessWithFlowPage from './password/screens/SuccessWithFlowButtons';
|
|
42
76
|
import PasswordResetPasswordSuccessPage from './password/screens/ResetPasswordSuccess';
|
|
77
|
+
import PasswordOperatorError from './password/screens/OperatorError';
|
|
43
78
|
import IndividualVerifyPage from './individual/screens/Verify';
|
|
44
79
|
import IndividualPhoneInfoPage from './individual/screens/IndividualPhoneInfo';
|
|
45
80
|
import IndividualListPage from './individual/screens/IndividualList';
|
|
@@ -49,22 +84,26 @@ import SuccessOwnerPage from './individual/screens/Success';
|
|
|
49
84
|
import IndividualSuccessWithFlowPage from './individual/screens/SuccessWithFlowButtons';
|
|
50
85
|
import IndividualResetPasswordSuccessPage from './individual/screens/ResetPasswordSuccess';
|
|
51
86
|
import IndividualDataLoadingPage from './individual/screens/PrepareDataLoading';
|
|
87
|
+
import IndividualOperatorError from './individual/screens/OperatorError';
|
|
52
88
|
import BankVerifyPage from './bank/screens/Verify';
|
|
53
89
|
import BankDetailsPage from './bank/screens/BankDetails';
|
|
54
90
|
import BankSuccessPage from './bank/screens/Success';
|
|
55
91
|
import BankSuccessWithFlowPage from './bank/screens/SuccessWithFlowButtons';
|
|
56
92
|
import BankResetPasswordSuccessPage from './bank/screens/ResetPasswordSuccess';
|
|
57
93
|
import BankDataLoadingPage from './bank/screens/PrepareDataLoading';
|
|
94
|
+
import BankOperatorError from './bank/screens/OperatorError';
|
|
58
95
|
import TaxVerifyPage from './tax/screens/Verify';
|
|
59
96
|
import TaxDetailsPage from './tax/screens/TaxDetails';
|
|
60
97
|
import TaxSuccessPage from './tax/screens/Success';
|
|
61
98
|
import TaxSuccessWithFlowPage from './tax/screens/SuccessWithFlowButtons';
|
|
62
99
|
import TaxResetPasswordSuccessPage from './tax/screens/ResetPasswordSuccess';
|
|
63
100
|
import TaxDataLoadingPage from './tax/screens/PrepareDataLoading';
|
|
101
|
+
import TaxOperatorError from './tax/screens/OperatorError';
|
|
64
102
|
import SignInMobilePage from './signIn/screens/Mobile';
|
|
65
103
|
import SignInEmailPage from './signIn/screens/Email';
|
|
66
104
|
import SignInOTPPage from './signIn/screens/OTP';
|
|
67
105
|
import SignInPasswordPage from './signIn/screens/Password';
|
|
106
|
+
import SignInOperatorError from './signIn/screens/OperatorError';
|
|
68
107
|
import EntityVerifyPage from './entity/screens/Verify';
|
|
69
108
|
import EntityNamePage from './entity/screens/EntityName';
|
|
70
109
|
import EntityCapitalPage from './entity/screens/EntityCapital';
|
|
@@ -72,6 +111,7 @@ import EntitySuccessPage from './entity/screens/Success';
|
|
|
72
111
|
import EntitySuccessWithFlowPage from './entity/screens/SuccessWithFlowButtons';
|
|
73
112
|
import EntityResetPasswordSuccessPage from './entity/screens/ResetPasswordSuccess';
|
|
74
113
|
import EntityDataLoadingPage from './entity/screens/PrepareDataLoading';
|
|
114
|
+
import EntityOperatorError from './entity/screens/OperatorError';
|
|
75
115
|
import BrandVerifyPage from './brand/screens/Verify';
|
|
76
116
|
import BrandInfoPage from './brand/screens/BrandInfo';
|
|
77
117
|
import BrandSegmentPage from './brand/screens/BrandSegmentInfo';
|
|
@@ -80,7 +120,17 @@ import BrandSuccessPage from './brand/screens/Success';
|
|
|
80
120
|
import BrandSuccessWithFlowPage from './brand/screens/SuccessWithFlowButtons';
|
|
81
121
|
import BrandResetPasswordSuccessPage from './brand/screens/ResetPasswordSuccess';
|
|
82
122
|
import BrandDataLoadingPage from './brand/screens/PrepareDataLoading';
|
|
123
|
+
import BrandOperatorError from './brand/screens/OperatorError';
|
|
124
|
+
import BoardVerifyPage from './board/screens/Verify';
|
|
125
|
+
import BoardSuccessWithFlowPage from './board/screens/SuccessWithFlowButtons';
|
|
126
|
+
import BoardResetPasswordSuccessPage from './board/screens/ResetPasswordSuccess';
|
|
127
|
+
import BoardDataLoadingPage from './board/screens/PrepareDataLoading';
|
|
128
|
+
import BoardOperatorError from './board/screens/OperatorError';
|
|
83
129
|
export var connectFeatureScreens = [
|
|
130
|
+
{
|
|
131
|
+
name: 'CONNECT_BUSINESS_COUNTRY_STEP',
|
|
132
|
+
element: BusinessCountry
|
|
133
|
+
},
|
|
84
134
|
{
|
|
85
135
|
name: 'CONNECT_NID_STEP',
|
|
86
136
|
element: NIDScreen
|
|
@@ -101,6 +151,14 @@ export var connectFeatureScreens = [
|
|
|
101
151
|
name: 'CONNECT_VERIFY_PACI_STEP',
|
|
102
152
|
element: ConnectVerifyPACIScreen
|
|
103
153
|
},
|
|
154
|
+
{
|
|
155
|
+
name: 'CONNECT_VERIFY_NAFATH_STEP',
|
|
156
|
+
element: ConnectVerifyNafathScreen
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: 'CONNECT_DOB_STEP',
|
|
160
|
+
element: DobScreen
|
|
161
|
+
},
|
|
104
162
|
{
|
|
105
163
|
name: 'CONNECT_INDIVIDUAL_STEP',
|
|
106
164
|
element: IndividualScreen
|
|
@@ -116,9 +174,17 @@ export var connectFeatureScreens = [
|
|
|
116
174
|
{
|
|
117
175
|
name: 'CONNECT_THANK_YOU_STEP',
|
|
118
176
|
element: ThankYouScreen
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
name: 'CONNECT_OPERATOR_ERROR_STEP',
|
|
180
|
+
element: OperatorError
|
|
119
181
|
}
|
|
120
182
|
];
|
|
121
183
|
export var connectExpressFeatureScreens = [
|
|
184
|
+
{
|
|
185
|
+
name: 'CONNECT_EXPRESS_BUSINESS_COUNTRY_STEP',
|
|
186
|
+
element: ConnectExpressBusinessCountry
|
|
187
|
+
},
|
|
122
188
|
{
|
|
123
189
|
name: 'CONNECT_EXPRESS_NID_STEP',
|
|
124
190
|
element: ConnectExpressNIDScreen
|
|
@@ -135,6 +201,10 @@ export var connectExpressFeatureScreens = [
|
|
|
135
201
|
name: 'CONNECT_EXPRESS_OTP_STEP',
|
|
136
202
|
element: ConnectExpressOTPScreen
|
|
137
203
|
},
|
|
204
|
+
{
|
|
205
|
+
name: 'CONNECT_EXPRESS_VERIFY_NAFATH_STEP',
|
|
206
|
+
element: ConnectExpressVerifyNafathScreen
|
|
207
|
+
},
|
|
138
208
|
{
|
|
139
209
|
name: 'CONNECT_EXPRESS_VERIFY_PACI_STEP',
|
|
140
210
|
element: ConnectExpressVerifyPACIScreen
|
|
@@ -152,17 +222,25 @@ export var connectExpressFeatureScreens = [
|
|
|
152
222
|
element: ConnectExpressIdentityVerifyPACIScreen
|
|
153
223
|
},
|
|
154
224
|
{
|
|
155
|
-
name: '
|
|
156
|
-
element:
|
|
225
|
+
name: 'CONNECT_EXPRESS_IDENTITY_VERIFY_NAFATH_STEP',
|
|
226
|
+
element: ConnectExpressIdentityVerifyNafathScreen
|
|
157
227
|
},
|
|
158
228
|
{
|
|
159
229
|
name: 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
160
230
|
element: ConnectExpressCreateAccountLoaderScreen
|
|
161
231
|
},
|
|
232
|
+
{
|
|
233
|
+
name: 'CONNECT_EXPRESS_PREPARING_DATA_STEP',
|
|
234
|
+
element: ConnectExpressPreparingDataLoaderScreen
|
|
235
|
+
},
|
|
162
236
|
{
|
|
163
237
|
name: 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
164
238
|
element: ConnectExpressCollectIndividualScreen
|
|
165
239
|
},
|
|
240
|
+
{
|
|
241
|
+
name: 'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
242
|
+
element: ConnectExpressCollectDobScreen
|
|
243
|
+
},
|
|
166
244
|
{
|
|
167
245
|
name: 'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
168
246
|
element: ConnectExpressCollectBusinessScreen
|
|
@@ -178,6 +256,100 @@ export var connectExpressFeatureScreens = [
|
|
|
178
256
|
{
|
|
179
257
|
name: 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP',
|
|
180
258
|
element: ConnectExpressAuthenticationListScreen
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'CONNECT_EXPRESS_AUTH_MERCHANT_LIST_STEP',
|
|
262
|
+
element: ConnectExpressAuthMerchantScreen
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: 'CONNECT_EXPRESS_AUTH_ACCOUNT_CREATED_STEP',
|
|
266
|
+
element: ConnectExpressAuthAccountCreatedLoaderScreen
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: 'CONNECT_EXPRESS_OPERATOR_ERROR_STEP',
|
|
270
|
+
element: ConnectExpressOperatorError
|
|
271
|
+
}
|
|
272
|
+
];
|
|
273
|
+
export var authFeatureScreens = [
|
|
274
|
+
{
|
|
275
|
+
name: 'AUTH_BUSINESS_COUNTRY_STEP',
|
|
276
|
+
element: AuthBusinessCountry
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: 'AUTH_SWITCH_STEP',
|
|
280
|
+
element: AuthSwitchScreen
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
name: 'AUTH_NID_STEP',
|
|
284
|
+
element: AuthNIDScreen
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
name: 'AUTH_CIVIL_ID_STEP',
|
|
288
|
+
element: AuthCivilIDScreen
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: 'AUTH_MOBILE_STEP',
|
|
292
|
+
element: AuthMobileScreen
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
name: 'AUTH_EMAIL_STEP',
|
|
296
|
+
element: AuthEmailScreen
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
name: 'AUTH_OTP_STEP',
|
|
300
|
+
element: AuthOTPScreen
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: 'AUTH_PASSWORD_STEP',
|
|
304
|
+
element: AuthPasswordScreen
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
name: 'AUTH_RESET_PASSWORD_MESSAGE_STEP',
|
|
308
|
+
element: AuthResetPasswordMessageScreen
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: 'AUTH_VERIFY_PACI_STEP',
|
|
312
|
+
element: AuthVerifyPACIScreen
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
name: 'AUTH_NAFATH_VERIFY_STEP',
|
|
316
|
+
element: AuthVerifyNafathScreen
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
name: 'AUTH_DOB_STEP',
|
|
320
|
+
element: AuthDOBPage
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
name: 'AUTH_ACCOUNT_NOT_FOUND_STEP',
|
|
324
|
+
element: AccountNotFoundScreen
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: 'AUTH_PREPARING_DATA_STEP',
|
|
328
|
+
element: PreparingDataScreen
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
name: 'AUTH_AUTHENTICATION_LIST_STEP',
|
|
332
|
+
element: AuthAuthenticationListScreen
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
name: 'AUTH_MERCHANT_LIST_STEP',
|
|
336
|
+
element: AuthMerchantScreen
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
name: 'AUTH_ACCOUNT_CREATED_STEP',
|
|
340
|
+
element: AuthAccountCreatedLoaderScreen
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
name: 'AUTH_EMAIL_SENT_STEP',
|
|
344
|
+
element: AuthEmailSentScreen
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
name: 'AUTH_MIGRATING_DATA_STEP',
|
|
348
|
+
element: AuthMigratingDataScreen
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
name: 'AUTH_OPERATOR_ERROR_STEP',
|
|
352
|
+
element: AuthOperatorError
|
|
181
353
|
}
|
|
182
354
|
];
|
|
183
355
|
export var businessFeatureScreens = [
|
|
@@ -198,8 +370,12 @@ export var businessFeatureScreens = [
|
|
|
198
370
|
element: BusVerifyPACIScreen
|
|
199
371
|
},
|
|
200
372
|
{
|
|
201
|
-
name: '
|
|
202
|
-
element:
|
|
373
|
+
name: 'BUSINESS_VERIFY_NAFATH_STEP',
|
|
374
|
+
element: BusinessVerifyNafathPage
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
name: 'BUSINESS_DOB_STEP',
|
|
378
|
+
element: DOBPage
|
|
203
379
|
},
|
|
204
380
|
{
|
|
205
381
|
name: 'BUSINESS_BUSINESS_TYPE_STEP',
|
|
@@ -216,7 +392,11 @@ export var businessFeatureScreens = [
|
|
|
216
392
|
{ name: 'BUSINESS_SUCCESS_STEP', element: SuccessPage },
|
|
217
393
|
{ name: 'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP', element: SuccessWithFlowButtonsPage },
|
|
218
394
|
{ name: 'BUSINESS_RESET_PASSWORD_SUCCESS', element: ResetPasswordSuccessPage },
|
|
219
|
-
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen }
|
|
395
|
+
{ name: 'BUSINESS_VERIFY_BRAND_INFO', element: BrandVerifyScreen },
|
|
396
|
+
{
|
|
397
|
+
name: 'BUSINESS_OPERATOR_ERROR_STEP',
|
|
398
|
+
element: BusinessOperatorError
|
|
399
|
+
}
|
|
220
400
|
];
|
|
221
401
|
export var passwordFeatureScreens = [
|
|
222
402
|
{
|
|
@@ -227,6 +407,10 @@ export var passwordFeatureScreens = [
|
|
|
227
407
|
name: 'PASSWORD_CREATE_PASSWORD_STEP',
|
|
228
408
|
element: CreatePasswordPage
|
|
229
409
|
},
|
|
410
|
+
{
|
|
411
|
+
name: 'PASSWORD_LOADING_DATA_STEP',
|
|
412
|
+
element: PasswordDataLoadingPage
|
|
413
|
+
},
|
|
230
414
|
{
|
|
231
415
|
name: 'PASSWORD_RESET_PASSWORD_OTP_STEP',
|
|
232
416
|
element: PasswordOTPPage
|
|
@@ -239,7 +423,11 @@ export var passwordFeatureScreens = [
|
|
|
239
423
|
name: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
240
424
|
element: PasswordSuccessWithFlowPage
|
|
241
425
|
},
|
|
242
|
-
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage }
|
|
426
|
+
{ name: 'PASSWORD_RESET_PASSWORD_SUCCESS', element: PasswordResetPasswordSuccessPage },
|
|
427
|
+
{
|
|
428
|
+
name: 'PASSWORD_OPERATOR_ERROR_STEP',
|
|
429
|
+
element: PasswordOperatorError
|
|
430
|
+
}
|
|
243
431
|
];
|
|
244
432
|
export var individualFeatureScreens = [
|
|
245
433
|
{
|
|
@@ -274,7 +462,11 @@ export var individualFeatureScreens = [
|
|
|
274
462
|
name: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
275
463
|
element: IndividualSuccessWithFlowPage
|
|
276
464
|
},
|
|
277
|
-
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage }
|
|
465
|
+
{ name: 'INDIVIDUAL_RESET_PASSWORD_SUCCESS', element: IndividualResetPasswordSuccessPage },
|
|
466
|
+
{
|
|
467
|
+
name: 'INDIVIDUAL_OPERATOR_ERROR_STEP',
|
|
468
|
+
element: IndividualOperatorError
|
|
469
|
+
}
|
|
278
470
|
];
|
|
279
471
|
export var bankFeatureScreens = [
|
|
280
472
|
{
|
|
@@ -297,7 +489,11 @@ export var bankFeatureScreens = [
|
|
|
297
489
|
name: 'BANK_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
298
490
|
element: BankSuccessWithFlowPage
|
|
299
491
|
},
|
|
300
|
-
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage }
|
|
492
|
+
{ name: 'BANK_RESET_PASSWORD_SUCCESS', element: BankResetPasswordSuccessPage },
|
|
493
|
+
{
|
|
494
|
+
name: 'BANK_OPERATOR_ERROR_STEP',
|
|
495
|
+
element: BankOperatorError
|
|
496
|
+
}
|
|
301
497
|
];
|
|
302
498
|
export var taxFeatureScreens = [
|
|
303
499
|
{
|
|
@@ -320,7 +516,11 @@ export var taxFeatureScreens = [
|
|
|
320
516
|
name: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
321
517
|
element: TaxSuccessWithFlowPage
|
|
322
518
|
},
|
|
323
|
-
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage }
|
|
519
|
+
{ name: 'TAX_RESET_PASSWORD_SUCCESS', element: TaxResetPasswordSuccessPage },
|
|
520
|
+
{
|
|
521
|
+
name: 'TAX_OPERATOR_ERROR_STEP',
|
|
522
|
+
element: TaxOperatorError
|
|
523
|
+
}
|
|
324
524
|
];
|
|
325
525
|
export var signInFeatureScreens = [
|
|
326
526
|
{
|
|
@@ -338,6 +538,10 @@ export var signInFeatureScreens = [
|
|
|
338
538
|
{
|
|
339
539
|
name: 'SIGIN_PASSWORD_STEP',
|
|
340
540
|
element: SignInPasswordPage
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
name: 'SIGIN_OPERATOR_ERROR_STEP',
|
|
544
|
+
element: SignInOperatorError
|
|
341
545
|
}
|
|
342
546
|
];
|
|
343
547
|
export var entityFeatureScreens = [
|
|
@@ -365,7 +569,11 @@ export var entityFeatureScreens = [
|
|
|
365
569
|
name: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
366
570
|
element: EntitySuccessWithFlowPage
|
|
367
571
|
},
|
|
368
|
-
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage }
|
|
572
|
+
{ name: 'ENTITY_RESET_PASSWORD_SUCCESS', element: EntityResetPasswordSuccessPage },
|
|
573
|
+
{
|
|
574
|
+
name: 'ENTITY_OPERATOR_ERROR_STEP',
|
|
575
|
+
element: EntityOperatorError
|
|
576
|
+
}
|
|
369
577
|
];
|
|
370
578
|
export var brandFeatureScreens = [
|
|
371
579
|
{
|
|
@@ -396,5 +604,31 @@ export var brandFeatureScreens = [
|
|
|
396
604
|
name: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
397
605
|
element: BrandSuccessWithFlowPage
|
|
398
606
|
},
|
|
399
|
-
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage }
|
|
607
|
+
{ name: 'BRAND_RESET_PASSWORD_SUCCESS', element: BrandResetPasswordSuccessPage },
|
|
608
|
+
{
|
|
609
|
+
name: 'BRAND_OPERATOR_ERROR_STEP',
|
|
610
|
+
element: BrandOperatorError
|
|
611
|
+
}
|
|
612
|
+
];
|
|
613
|
+
export var boardFeatureScreens = [
|
|
614
|
+
{
|
|
615
|
+
name: 'BOARD_VERIFY_STEP',
|
|
616
|
+
element: BoardVerifyPage
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
name: 'BOARD_RESET_PASSWORD_SUCCESS',
|
|
620
|
+
element: BoardResetPasswordSuccessPage
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
name: 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP',
|
|
624
|
+
element: BoardSuccessWithFlowPage
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
name: 'BOARD_LOADING_DATA_STEP',
|
|
628
|
+
element: BoardDataLoadingPage
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
name: 'BOARD_OPERATOR_ERROR_STEP',
|
|
632
|
+
element: BoardOperatorError
|
|
633
|
+
}
|
|
400
634
|
];
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import { LibConfig } from '../../@types';
|
|
3
3
|
export interface IndividualLibProps extends LibConfig {
|
|
4
4
|
verifyToken?: string;
|
|
5
|
+
configToken?: string;
|
|
6
|
+
loaderColor?: string;
|
|
5
7
|
}
|
|
6
8
|
export declare function IndividualElement(props: IndividualLibProps): JSX.Element;
|
|
7
9
|
export declare function renderIndividualLib(config: IndividualLibProps, elementId: string): {
|