@tap-payments/auth-jsconnect 2.8.66-development → 2.8.68-development
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/app.d.ts +17 -17
- package/build/@types/config.d.ts +1 -1
- package/build/@types/form.d.ts +24 -24
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +26 -13
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +8 -8
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +10 -10
- package/build/api/file.d.ts +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +2 -2
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +18 -12
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +21 -3
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/assets/locales/ar.json +10 -1
- package/build/assets/locales/en.json +10 -1
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Error.d.ts +1 -2
- package/build/components/AnimationFlow/Loader.d.ts +1 -2
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/CheckBox/CheckBox.d.ts +1 -1
- package/build/components/Collapse/Collapse.d.ts +1 -2
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
- package/build/components/FileInput/DragAndDrop.d.ts +1 -2
- package/build/components/FileInput/UploadInput.d.ts +1 -2
- package/build/components/Footer/Footer.d.ts +1 -1
- package/build/components/Form/Form.d.ts +1 -1
- package/build/components/Input/Input.d.ts +1 -1
- package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
- package/build/components/List/List.d.ts +1 -1
- package/build/components/ListItem/ListItem.d.ts +1 -1
- package/build/components/Loader/Loader.d.ts +1 -1
- package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
- package/build/components/OTPField/OTPField.d.ts +1 -1
- package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
- package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/Providers/ReduxProvider.d.ts +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/Radio/Radio.d.ts +1 -1
- package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/Text/Text.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/build/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/components/Warning/Warning.d.ts +1 -1
- package/build/constants/app.d.ts +2 -1
- package/build/constants/app.js +35 -12
- package/build/constants/assets.d.ts +2 -0
- package/build/constants/assets.js +2 -0
- package/build/features/app/auth/authStore.d.ts +195 -25
- package/build/features/app/auth/authStore.js +59 -114
- package/build/features/app/bank/bankStore.d.ts +93 -12
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +41 -5
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +143 -17
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +168 -19
- package/build/features/app/business/businessStore.js +59 -45
- package/build/features/app/connect/connectStore.d.ts +160 -18
- package/build/features/app/connect/connectStore.js +152 -83
- package/build/features/app/connectExpress/connectExpressStore.d.ts +269 -40
- package/build/features/app/connectExpress/connectExpressStore.js +157 -252
- package/build/features/app/entity/entityStore.d.ts +93 -12
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +186 -24
- package/build/features/app/individual/individualStore.js +5 -2
- package/build/features/app/password/passwordStore.d.ts +123 -15
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +83 -11
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +1 -2
- package/build/features/auth/Auth.js +1 -1
- package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
- package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
- package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +2 -2
- package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
- package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/auth/screens/Email/Email.d.ts +1 -1
- package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
- package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/NID/IDNumber.js +1 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/NID/NID.js +4 -10
- package/build/features/auth/screens/NID/validation.d.ts +0 -3
- package/build/features/auth/screens/NID/validation.js +0 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.js +1 -5
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTPInput.js +2 -13
- package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/auth/screens/Password/Password.d.ts +1 -1
- package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
- package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
- package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/auth/screens/VerifyNafath/VerifyNafath.js +34 -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 +1 -1
- package/build/features/bank/Bank.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/bank/screens/Success/Success.d.ts +1 -1
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
- package/build/features/board/Board.d.ts +1 -2
- package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/board/screens/Verify/Verify.d.ts +1 -1
- package/build/features/brand/Brand.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -58
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +10 -31
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -8
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
- package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/brand/screens/Success/Success.d.ts +1 -1
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/Business.d.ts +1 -2
- package/build/features/business/screens/Activities/Activities.d.ts +1 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
- package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
- package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -28
- package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
- package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +19 -70
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +10 -31
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
- package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
- package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
- package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/business/screens/Success/Success.d.ts +1 -1
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/business/screens/Verify/Verify.d.ts +1 -1
- package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/business/screens/VerifyNafath/VerifyNafath.js +34 -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/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +1 -2
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
- package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.d.ts +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
- package/build/features/connect/screens/Individual/Name.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
- package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +2 -2
- package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
- 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.d.ts +1 -1
- package/build/features/connect/screens/NID/NID.js +5 -11
- package/build/features/connect/screens/NID/validation.d.ts +0 -3
- package/build/features/connect/screens/NID/validation.js +0 -1
- package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connect/screens/OTP/OTPInput.js +3 -11
- package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/connect/screens/VerifyNafath/VerifyNafath.js +34 -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/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
- package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
- package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +5 -27
- package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +6 -28
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -8
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.js +34 -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.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Mobile.js +2 -2
- package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- 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.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/NID.js +4 -9
- package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -8
- 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/DOB.d.ts +1 -2
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.js +2 -2
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.js +5 -13
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.js +3 -11
- package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +34 -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/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +1 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
- package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +15 -58
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
- package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/entity/screens/Success/Success.d.ts +1 -1
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
- package/build/features/featuresScreens.js +21 -6
- package/build/features/individual/Individual.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +5 -27
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +5 -27
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
- package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +6 -28
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
- package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/individual/screens/Success/Success.d.ts +1 -1
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
- package/build/features/password/Password.d.ts +1 -2
- package/build/features/password/Password.js +1 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
- package/build/features/password/screens/OTP/OTP.d.ts +1 -1
- package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/password/screens/Success/Success.d.ts +1 -1
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/password/screens/Verify/Verify.d.ts +1 -1
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
- package/build/features/shared/Address/Address.d.ts +1 -2
- package/build/features/shared/Address/CountryList.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.d.ts +14 -46
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Address/InputText.d.ts +1 -1
- package/build/features/shared/Background/Background.d.ts +1 -1
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/Button.d.ts +1 -2
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
- package/build/features/shared/Button/MobileButton.d.ts +1 -2
- package/build/features/shared/Button/NafathButton.d.ts +7 -0
- package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +13 -3
- package/build/features/shared/Button/SuccessButton.d.ts +1 -2
- 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 +1 -2
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
- package/build/features/shared/Chip/Chip.d.ts +1 -2
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
- package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
- package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
- package/build/features/shared/Footer/Footer.d.ts +1 -2
- package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +6 -14
- package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
- package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
- package/build/features/shared/NafathVerification/NafathVerification.d.ts +13 -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/OTP/OTP.d.ts +1 -1
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +1 -2
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.d.ts +4 -9
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +3 -8
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -8
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -9
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -8
- package/build/features/signIn/SignIn.d.ts +1 -2
- package/build/features/signIn/screens/Email/Email.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/signIn/screens/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +1 -2
- package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
- package/build/features/tax/screens/Success/Success.d.ts +1 -1
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
- package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
- package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +3 -3
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/theme/palette.js +2 -1
- package/build/utils/array.js +1 -1
- package/package.json +1 -1
- package/build/features/auth/screens/NID/DOB.d.ts +0 -7
- package/build/features/auth/screens/NID/DOB.js +0 -47
- package/build/features/business/screens/OTP/OTP.d.ts +0 -8
- package/build/features/business/screens/OTP/OTP.js +0 -90
- package/build/features/business/screens/OTP/OTPInput.d.ts +0 -5
- package/build/features/business/screens/OTP/OTPInput.js +0 -49
- package/build/features/business/screens/OTP/index.d.ts +0 -3
- package/build/features/business/screens/OTP/index.js +0 -2
- package/build/features/business/screens/OTP/validation.d.ts +0 -8
- package/build/features/business/screens/OTP/validation.js +0 -4
- package/build/features/connect/screens/NID/DOB.d.ts +0 -6
- package/build/features/connect/screens/NID/DOB.js +0 -47
- package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +0 -88
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +0 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +0 -56
- package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
- package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
- package/build/features/connectExpress/screens/IdentityOTP/validation.d.ts +0 -8
- package/build/features/connectExpress/screens/IdentityOTP/validation.js +0 -4
- package/build/features/connectExpress/screens/NID/DOB.d.ts +0 -7
- package/build/features/connectExpress/screens/NID/DOB.js +0 -47
- package/build/features/shared/Button/AbsherButton.d.ts +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface VerifyPACIProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<() => JSX.Element | null>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface MobileProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: MobileProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: MobileProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -18,7 +18,7 @@ import { useTranslation } from 'react-i18next';
|
|
|
18
18
|
import { styled, alpha } from '@mui/material/styles';
|
|
19
19
|
import Collapse from '../../../../components/Collapse';
|
|
20
20
|
import Form from '../../../../components/Form';
|
|
21
|
-
import Button, {
|
|
21
|
+
import Button, { NafathButton, MobileButton } from '../../../shared/Button';
|
|
22
22
|
import { useAppDispatch, useAppSelector, useCountry, useFormErrorAndUpdateReadOnly, useFormReadOnly } from '../../../../hooks';
|
|
23
23
|
import { handleCurrentActiveScreen, handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
|
|
24
24
|
import ScreenContainer from '../../../shared/Containers/ScreenContainer';
|
|
@@ -117,6 +117,6 @@ var Mobile = function (_a) {
|
|
|
117
117
|
var originalReadOnly = useFormReadOnly(methods);
|
|
118
118
|
var readOnly = useFormErrorAndUpdateReadOnly(methods, originalReadOnly);
|
|
119
119
|
var disabled = !methods.formState.isValid;
|
|
120
|
-
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(InputsContainerStyled, { children: _jsx(MobileNumber, { readOnly: readOnly['mobile'], show: true, countries: settingData.countries, onListOpen: handleCountryOpen, onListClose: handleCountryClose }) }), _jsxs(Collapse, __assign({ in: !anchor }, { children: [_jsx(TAC, { show: isLeadIdPassed, readOnly: readOnly['termAndConditionChecked'] }), _jsx(Button, __assign({ isAr: isAr, onBackClicked: onBackToCountryList, disableBack: !data.isStartFromBusinessCountry, disabled: disabled, loading: loading, error: t(error || '') }, { children: t('next') })), _jsxs(Collapse, __assign({ in: (isLeadIdPassed ? !isLeadIdentityIdAvailable : !methods.formState.isValid) && !isOther }, { children: [_jsxs(OrBoxStyled, { children: [_jsx(DividerStyled, {}), _jsx(TextStyled, { children: t('or') }), _jsx(DividerStyled, {})] }), isKuwait ? (_jsx(MobileButton, __assign({ disabled: loading, onClick: function () { return onBack(); }, icon: ICONS_NAMES.PACI_ICON }, { children: t('paci_button_label') }))) : (_jsx(
|
|
120
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(InputsContainerStyled, { children: _jsx(MobileNumber, { readOnly: readOnly['mobile'], show: true, countries: settingData.countries, onListOpen: handleCountryOpen, onListClose: handleCountryClose }) }), _jsxs(Collapse, __assign({ in: !anchor }, { children: [_jsx(TAC, { show: isLeadIdPassed, readOnly: readOnly['termAndConditionChecked'] }), _jsx(Button, __assign({ isAr: isAr, onBackClicked: onBackToCountryList, disableBack: !data.isStartFromBusinessCountry, disabled: disabled, loading: loading, error: t(error || '') }, { children: t('next') })), _jsxs(Collapse, __assign({ in: (isLeadIdPassed ? !isLeadIdentityIdAvailable : !methods.formState.isValid) && !isOther }, { children: [_jsxs(OrBoxStyled, { children: [_jsx(DividerStyled, {}), _jsx(TextStyled, { children: t('or') }), _jsx(DividerStyled, {})] }), isKuwait ? (_jsx(MobileButton, __assign({ disabled: loading, onClick: function () { return onBack(); }, icon: ICONS_NAMES.PACI_ICON }, { children: t('paci_button_label') }))) : (_jsx(NafathButton, __assign({ disabled: loading, onClick: function () { return onBack(); } }, { children: t('nafath_button_label') })))] }))] }))] })) })) }));
|
|
121
121
|
};
|
|
122
122
|
export default React.memo(Mobile);
|
|
@@ -3,5 +3,5 @@ interface TACProps {
|
|
|
3
3
|
show: boolean;
|
|
4
4
|
readOnly?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => JSX.Element>;
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export default _default;
|
|
@@ -4,5 +4,5 @@ interface MIDTitleProps {
|
|
|
4
4
|
title: string;
|
|
5
5
|
description: string;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: React.MemoExoticComponent<({ description, show, title }: MIDTitleProps) => JSX.Element>;
|
|
7
|
+
declare const _default: React.MemoExoticComponent<({ description, show, title }: MIDTitleProps) => import("react/jsx-runtime").JSX.Element>;
|
|
8
8
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
interface IDNumberProps {
|
|
3
3
|
show: boolean;
|
|
4
4
|
readOnly?: boolean;
|
|
5
|
+
isValid: boolean;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<IDNumberProps & React.RefAttributes<unknown>>>;
|
|
7
8
|
export default _default;
|
|
@@ -38,7 +38,7 @@ var InputLabelStyled = styled(Text)(function (_a) {
|
|
|
38
38
|
});
|
|
39
39
|
var IDNumber = React.forwardRef(function (_a, ref) {
|
|
40
40
|
var _b, _c, _d;
|
|
41
|
-
var show = _a.show, readOnly = _a.readOnly;
|
|
41
|
+
var show = _a.show, readOnly = _a.readOnly, isValid = _a.isValid;
|
|
42
42
|
var t = useTranslation().t;
|
|
43
43
|
var control = useFormContext().control;
|
|
44
44
|
var nidControl = useController({ control: control, name: 'nid' });
|
|
@@ -55,6 +55,6 @@ var IDNumber = React.forwardRef(function (_a, ref) {
|
|
|
55
55
|
var error = (_b = nidControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
56
56
|
var isLeadIdPassed = data.isLeadIdPassed, responseData = data.responseData;
|
|
57
57
|
var isLeadIdentityIdAvailable = !!((_d = (_c = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _c === void 0 ? void 0 : _c.identification) === null || _d === void 0 ? void 0 : _d.id);
|
|
58
|
-
return (_jsx(Collapse, __assign({ in: show }, { children: _jsxs(ScreenContainer, __assign({ ref: ref }, { children: [_jsx(LabelContainerStyled, { children: _jsx(InputLabelStyled, { children: t('enter_national_id') }) }), _jsx(Input, { readOnly: readOnly, dir: 'ltr', type: 'tel', inputProps: { maxLength: ID_NUMBER_LENGTH }, disabled: isLeadIdPassed && isLeadIdentityIdAvailable, onChange: handleIdChange, value: nidValue, endAdornment: _jsx(EndAdornment, { value: nidValue, error: error, onClear: clearIdNumber }), placeholder: t('national_id_placeholder'), warningType: 'alert', warningMessage: error && t(error, { number: '1' }), required: true })] })) })));
|
|
58
|
+
return (_jsx(Collapse, __assign({ in: show }, { children: _jsxs(ScreenContainer, __assign({ ref: ref, sx: { mb: isValid ? 5 : 0 } }, { children: [_jsx(LabelContainerStyled, { children: _jsx(InputLabelStyled, { children: t('enter_national_id') }) }), _jsx(Input, { readOnly: readOnly, dir: 'ltr', type: 'tel', inputProps: { maxLength: ID_NUMBER_LENGTH }, disabled: isLeadIdPassed && isLeadIdentityIdAvailable, onChange: handleIdChange, value: nidValue, endAdornment: _jsx(EndAdornment, { value: nidValue, error: error, onClear: clearIdNumber }), placeholder: t('national_id_placeholder'), warningType: 'alert', warningMessage: error && t(error, { number: '1' }), required: true })] })) })));
|
|
59
59
|
});
|
|
60
60
|
export default React.memo(IDNumber);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface NIDProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: NIDProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: NIDProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -18,7 +18,7 @@ import { yupResolver } from '@hookform/resolvers/yup';
|
|
|
18
18
|
import { NIDValidationSchema } from './validation';
|
|
19
19
|
import { useAppDispatch, useLanguage, useAppSelector, useFormReadOnly, useFormErrorAndUpdateReadOnly } from '../../../../hooks';
|
|
20
20
|
import { handleCurrentActiveScreen, handlePrevScreenStep } from '../../../../app/settings';
|
|
21
|
-
import { clearError, connectExpressSelector,
|
|
21
|
+
import { clearError, connectExpressSelector, createNafathAuth } from '../../../app/connectExpress/connectExpressStore';
|
|
22
22
|
import Form from '../../../../components/Form';
|
|
23
23
|
import Button, { MobileButton } from '../../../shared/Button';
|
|
24
24
|
import { ScreenContainer } from '../../../shared/Containers';
|
|
@@ -27,7 +27,6 @@ import Box from '@mui/material/Box';
|
|
|
27
27
|
import Divider from '@mui/material/Divider';
|
|
28
28
|
import Text from '../../../../components/Text';
|
|
29
29
|
import IDNumber from './IDNumber';
|
|
30
|
-
import DOB from './DOB';
|
|
31
30
|
import TAC from './TAC';
|
|
32
31
|
import { deepCopy, sendCustomEventToGTM } from '../../../../utils';
|
|
33
32
|
var FormStyled = styled(Form)(function () { return ({
|
|
@@ -60,11 +59,10 @@ var OrBoxStyled = styled(Box)(function (_a) {
|
|
|
60
59
|
});
|
|
61
60
|
var NID = function (_a) {
|
|
62
61
|
var _b, _c;
|
|
63
|
-
var _d = React.useState(false), collapse = _d[0], setCollapse = _d[1];
|
|
64
62
|
var isAr = useLanguage().isAr;
|
|
65
63
|
var dispatch = useAppDispatch();
|
|
66
64
|
var t = useTranslation().t;
|
|
67
|
-
var
|
|
65
|
+
var _d = useAppSelector(connectExpressSelector), data = _d.data, loading = _d.loading, error = _d.error;
|
|
68
66
|
var isLeadIdPassed = data.isLeadIdPassed, responseData = data.responseData;
|
|
69
67
|
var methods = useForm({
|
|
70
68
|
resolver: yupResolver(NIDValidationSchema(isLeadIdPassed)),
|
|
@@ -78,10 +76,7 @@ var NID = function (_a) {
|
|
|
78
76
|
React.useEffect(function () {
|
|
79
77
|
}, []);
|
|
80
78
|
var onSubmit = function (data) {
|
|
81
|
-
dispatch(
|
|
82
|
-
};
|
|
83
|
-
var handleCollapseOpenClose = function (flag) {
|
|
84
|
-
setCollapse(flag);
|
|
79
|
+
dispatch(createNafathAuth(deepCopy(data)));
|
|
85
80
|
};
|
|
86
81
|
var onBack = function () {
|
|
87
82
|
sendCustomEventToGTM({
|
|
@@ -98,6 +93,6 @@ var NID = function (_a) {
|
|
|
98
93
|
var readOnly = useFormErrorAndUpdateReadOnly(methods, originalReadOnly);
|
|
99
94
|
var disabled = !methods.formState.isValid;
|
|
100
95
|
var isLeadIdentityIdAvailable = (_c = (_b = responseData === null || responseData === void 0 ? void 0 : responseData.leadData) === null || _b === void 0 ? void 0 : _b.identification) === null || _c === void 0 ? void 0 : _c.id;
|
|
101
|
-
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(
|
|
96
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(IDNumber, { isValid: methods.formState.isValid, show: true, readOnly: readOnly['nid'] }), _jsx(TAC, { show: isLeadIdPassed, readOnly: readOnly['termAndConditionChecked'] }), _jsx(Button, __assign({ loading: loading, isAr: isAr, onBackClicked: onBackToCountryList, disableBack: !data.isStartFromBusinessCountry, disabled: disabled, error: t(error || '') }, { children: t('next') })), _jsxs(Collapse, __assign({ in: isLeadIdPassed ? !isLeadIdentityIdAvailable && !methods.formState.isValid : !methods.formState.isValid }, { children: [_jsxs(OrBoxStyled, { children: [_jsx(DividerStyled, {}), _jsx(TextStyled, { children: t('or') }), _jsx(DividerStyled, {})] }), _jsx(MobileButton, __assign({ onClick: function () { return onBack(); }, disabled: loading }, { children: t('mobile_button_label') }))] }))] })) })) }));
|
|
102
97
|
};
|
|
103
98
|
export default React.memo(NID);
|
|
@@ -3,17 +3,12 @@ import { BoxProps } from '@mui/material/Box';
|
|
|
3
3
|
interface TACContainerStyledProps extends BoxProps {
|
|
4
4
|
readOnly?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const TACContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
component?: React.ElementType<any> | undefined;
|
|
9
|
-
ref?: React.Ref<unknown> | undefined;
|
|
10
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
11
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
6
|
+
export declare const TACContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
12
7
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
13
|
-
}, keyof import("@mui/
|
|
8
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & TACContainerStyledProps, {}, {}>;
|
|
14
9
|
interface TACProps {
|
|
15
10
|
show: boolean;
|
|
16
11
|
readOnly?: boolean;
|
|
17
12
|
}
|
|
18
|
-
declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => JSX.Element>;
|
|
13
|
+
declare const _default: React.MemoExoticComponent<({ show, readOnly }: TACProps) => import("react/jsx-runtime").JSX.Element>;
|
|
19
14
|
export default _default;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import * as yup from 'yup';
|
|
2
2
|
export declare const NIDValidationSchema: (isLeadIdPassed: boolean) => yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
3
|
-
dob: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
4
3
|
nid: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
5
4
|
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
6
|
-
dob: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
7
5
|
nid: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
8
6
|
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
9
|
-
dob: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
10
7
|
nid: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
11
8
|
}>>>;
|
|
@@ -2,7 +2,6 @@ import * as yup from 'yup';
|
|
|
2
2
|
export var NIDValidationSchema = function (isLeadIdPassed) {
|
|
3
3
|
if (isLeadIdPassed) {
|
|
4
4
|
return yup.object().shape({
|
|
5
|
-
dob: yup.string().min(5).required('enter_valid_birth_date'),
|
|
6
5
|
termAndConditionChecked: yup.boolean().isTrue('check_terms_cond').required('check_terms_cond'),
|
|
7
6
|
nid: yup
|
|
8
7
|
.string()
|
|
@@ -12,7 +11,6 @@ export var NIDValidationSchema = function (isLeadIdPassed) {
|
|
|
12
11
|
});
|
|
13
12
|
}
|
|
14
13
|
return yup.object().shape({
|
|
15
|
-
dob: yup.string().min(5).required('enter_valid_birth_date'),
|
|
16
14
|
nid: yup
|
|
17
15
|
.string()
|
|
18
16
|
.matches(/^(1|2)([0-9]{1,})$/g, 'signup_invalid_national_id_format')
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
interface DOBProps {
|
|
3
2
|
onDateClicked?: (flag: boolean) => void;
|
|
4
3
|
}
|
|
5
|
-
declare const DOB: ({ onDateClicked }: DOBProps) => JSX.Element;
|
|
4
|
+
declare const DOB: ({ onDateClicked }: DOBProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export default DOB;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface NIDProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: NIDProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: NIDProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -18,7 +18,7 @@ import { yupResolver } from '@hookform/resolvers/yup';
|
|
|
18
18
|
import { NIDOtherCountryValidationSchema, NIDValidationSchema } from './validation';
|
|
19
19
|
import { useAppDispatch, useLanguage, useAppSelector } from '../../../../hooks';
|
|
20
20
|
import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
|
|
21
|
-
import { clearError, connectExpressSelector,
|
|
21
|
+
import { clearError, connectExpressSelector, createNIDNafathAuthIdentityAsync } from '../../../app/connectExpress/connectExpressStore';
|
|
22
22
|
import Form from '../../../../components/Form';
|
|
23
23
|
import Button from '../../../shared/Button';
|
|
24
24
|
import { ScreenContainer } from '../../../shared/Containers';
|
|
@@ -48,7 +48,7 @@ var NID = function (_a) {
|
|
|
48
48
|
dispatch(clearError());
|
|
49
49
|
}, [methods.formState.isValid]);
|
|
50
50
|
var onSubmit = function (data) {
|
|
51
|
-
dispatch(
|
|
51
|
+
dispatch(createNIDNafathAuthIdentityAsync(deepCopy(data)));
|
|
52
52
|
};
|
|
53
53
|
var handleCollapseOpenClose = function (flag) {
|
|
54
54
|
setCollapse(flag);
|
|
@@ -15,17 +15,16 @@ import { styled } from '@mui/material/styles';
|
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
import { useTranslation } from 'react-i18next';
|
|
17
17
|
import Text from '../../../../components/Text';
|
|
18
|
-
import { clearError, connectExpressSelector, verifyMobileOtpAsync,
|
|
18
|
+
import { clearError, connectExpressSelector, verifyMobileOtpAsync, resetOTPValue } from '../../../app/connectExpress/connectExpressStore';
|
|
19
19
|
import Button from '../../../shared/Button';
|
|
20
20
|
import { ScreenContainer } from '../../../shared/Containers';
|
|
21
21
|
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
22
22
|
import { handlePrevScreenStep } from '../../../../app/settings';
|
|
23
23
|
import { useLanguage } from '../../../../hooks';
|
|
24
|
-
import { AuthForType } from '../../../../@types';
|
|
25
24
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
26
25
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
27
26
|
import Form from '../../../../components/Form';
|
|
28
|
-
import { maskPhone,
|
|
27
|
+
import { maskPhone, deepCopy, sendCustomEventToGTM } from '../../../../utils';
|
|
29
28
|
import { OTPValidation } from './validation';
|
|
30
29
|
import OTPInput from './OTPInput';
|
|
31
30
|
var OTPTitleContainerStyled = styled(Box)(function (_a) {
|
|
@@ -58,7 +57,6 @@ var OTP = function () {
|
|
|
58
57
|
defaultValues: data.otpData,
|
|
59
58
|
mode: 'onChange'
|
|
60
59
|
});
|
|
61
|
-
var isNidAuth = data.otpData.authFor === AuthForType.NATIONAL_ID;
|
|
62
60
|
React.useEffect(function () {
|
|
63
61
|
if (error)
|
|
64
62
|
dispatch(clearError());
|
|
@@ -74,20 +72,14 @@ var OTP = function () {
|
|
|
74
72
|
};
|
|
75
73
|
}, []);
|
|
76
74
|
var onSubmit = function (formData) {
|
|
77
|
-
if (isNidAuth) {
|
|
78
|
-
dispatch(verifyNIDOtpAsync(deepCopy(formData)));
|
|
79
|
-
return;
|
|
80
|
-
}
|
|
81
75
|
dispatch(verifyMobileOtpAsync(deepCopy(formData)));
|
|
82
76
|
};
|
|
83
77
|
var onBack = function () {
|
|
84
|
-
|
|
85
|
-
dispatch(handlePrevScreenStep(screen));
|
|
78
|
+
dispatch(handlePrevScreenStep());
|
|
86
79
|
};
|
|
87
80
|
var disabled = !methods.formState.isValid;
|
|
88
81
|
var phone = data.mobileData.mobile ? ((_a = data.mobileData.countryCode) === null || _a === void 0 ? void 0 : _a.idd_prefix) + data.mobileData.mobile : '';
|
|
89
|
-
var
|
|
90
|
-
|
|
91
|
-
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? t('ide_otp_waiting_title') : title, !loading && _jsx("span", __assign({ dir: 'ltr' }, { children: isNidAuth ? maskID(idNumber) : maskPhone(phone) }))] }) }), _jsx(OTPInput, {}), _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
|
|
82
|
+
var title = t('ide_opt_sent_title');
|
|
83
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? t('ide_otp_waiting_title') : title, !loading && _jsx("span", __assign({ dir: 'ltr' }, { children: maskPhone(phone) }))] }) }), _jsx(OTPInput, {}), _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
|
|
92
84
|
};
|
|
93
85
|
export default React.memo(OTP);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface OTPProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: OTPProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -17,8 +17,7 @@ import Box from '@mui/material/Box/Box';
|
|
|
17
17
|
import { styled } from '@mui/material/styles';
|
|
18
18
|
import OTPField from '../../../shared/OTP';
|
|
19
19
|
import { DEFAULT_TIMER_VALUE } from '../../../../constants';
|
|
20
|
-
import {
|
|
21
|
-
import { resendMobileAuthOTP, resendNIDAuthOTP, connectExpressSelector, clearError } from '../../../app/connectExpress/connectExpressStore';
|
|
20
|
+
import { resendMobileAuthOTP, connectExpressSelector, clearError } from '../../../app/connectExpress/connectExpressStore';
|
|
22
21
|
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
23
22
|
import { sendCustomEventToGTM } from '../../../../utils';
|
|
24
23
|
var BoxStyled = styled(Box)(function (_a) {
|
|
@@ -35,8 +34,7 @@ var OTPInput = function (_a) {
|
|
|
35
34
|
var dispatch = useAppDispatch();
|
|
36
35
|
var otpControl = useController({ name: 'otp', control: control });
|
|
37
36
|
var _c = useAppSelector(connectExpressSelector), data = _c.data, error = _c.error;
|
|
38
|
-
var mobileData = data.mobileData
|
|
39
|
-
var isNidAuth = data.otpData.authFor === AuthForType.NATIONAL_ID;
|
|
37
|
+
var mobileData = data.mobileData;
|
|
40
38
|
var sendEventAskAnotherOTP = function () {
|
|
41
39
|
sendCustomEventToGTM({
|
|
42
40
|
event: 'Send Event',
|
|
@@ -55,13 +53,7 @@ var OTPInput = function (_a) {
|
|
|
55
53
|
sendEventAskAnotherOTP();
|
|
56
54
|
dispatch(resendMobileAuthOTP(mobileData));
|
|
57
55
|
};
|
|
58
|
-
var handleOnResendAbsherOTP = function () {
|
|
59
|
-
if (otpControl.field.value)
|
|
60
|
-
setValue('otp', '', { shouldValidate: true });
|
|
61
|
-
sendEventAskAnotherOTP();
|
|
62
|
-
dispatch(resendNIDAuthOTP(nidData));
|
|
63
|
-
};
|
|
64
56
|
var otpValue = otpControl.field.value;
|
|
65
|
-
return (_jsx(BoxStyled, __assign({ dir: 'ltr' }, { children: _jsx(OTPField, { timeEndLabel: t('ide_otp_resend_label'), timerInSeconds: DEFAULT_TIMER_VALUE, onResetClick:
|
|
57
|
+
return (_jsx(BoxStyled, __assign({ dir: 'ltr' }, { children: _jsx(OTPField, { timeEndLabel: t('ide_otp_resend_label'), timerInSeconds: DEFAULT_TIMER_VALUE, onResetClick: handleOnResendOTP, value: otpValue, onChange: function (number) { return handleOnOTPChange(number.toString()); } }) })));
|
|
66
58
|
};
|
|
67
59
|
export default React.memo(OTPInput);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface OperatorErrorProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: OperatorErrorProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: OperatorErrorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface PrepareDataLoadingProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: PrepareDataLoadingProps) => JSX.Element>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: PrepareDataLoadingProps) => import("react/jsx-runtime").JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { connectExpressSelector, verifyNafathAsync } from '../../../app/connectExpress/connectExpressStore';
|
|
4
|
+
import NafathVerification from '../../../shared/NafathVerification';
|
|
5
|
+
import { handlePrevScreenStep } from '../../../../app/settings';
|
|
6
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
7
|
+
var VerifyNafath = function () {
|
|
8
|
+
var _a = React.useState(false), success = _a[0], setSuccess = _a[1];
|
|
9
|
+
var _b = React.useState(false), isReady = _b[0], setIsReady = _b[1];
|
|
10
|
+
var dispatch = useAppDispatch();
|
|
11
|
+
var data = useAppSelector(connectExpressSelector).data;
|
|
12
|
+
var authData = (data.responseData || {}).authData;
|
|
13
|
+
var _c = authData || {}, expiry = _c.expiry, app_url_android = _c.app_url_android, app_url_ios = _c.app_url_ios, random = _c.random;
|
|
14
|
+
React.useEffect(function () {
|
|
15
|
+
if (authData && !isReady) {
|
|
16
|
+
setIsReady(true);
|
|
17
|
+
}
|
|
18
|
+
}, [authData]);
|
|
19
|
+
React.useEffect(function () {
|
|
20
|
+
if (!isReady)
|
|
21
|
+
return;
|
|
22
|
+
var promise = dispatch(verifyNafathAsync({ onSuccess: function () { return setSuccess(true); } }));
|
|
23
|
+
return function () {
|
|
24
|
+
promise === null || promise === void 0 ? void 0 : promise.abort();
|
|
25
|
+
};
|
|
26
|
+
}, [isReady]);
|
|
27
|
+
var onBack = React.useCallback(function () {
|
|
28
|
+
dispatch(handlePrevScreenStep());
|
|
29
|
+
}, []);
|
|
30
|
+
if (!isReady)
|
|
31
|
+
return null;
|
|
32
|
+
return (_jsx(NafathVerification, { randomNumber: random, expiryInSeconds: expiry, success: success, urls: { android: app_url_android, ios: app_url_ios }, onFinish: function () { return onBack(); } }));
|
|
33
|
+
};
|
|
34
|
+
export default React.memo(VerifyNafath);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface VerifyPACIProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<() => JSX.Element | null>;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element | null>;
|
|
5
5
|
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { LibConfig } from '../../@types';
|
|
3
2
|
export interface EntityLibProps extends LibConfig {
|
|
4
3
|
verifyToken?: string;
|
|
5
4
|
configToken?: string;
|
|
6
5
|
loaderColor?: string;
|
|
7
6
|
}
|
|
8
|
-
export declare function EntityElement(props: EntityLibProps): JSX.Element;
|
|
7
|
+
export declare function EntityElement(props: EntityLibProps): import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export declare function renderEntityLib(config: EntityLibProps, elementId: string): {
|
|
10
9
|
unmount: () => void;
|
|
11
10
|
};
|
|
@@ -1,38 +1,22 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export declare const NameContainer: import("@emotion/styled").StyledComponent<import("@mui/
|
|
3
|
-
align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
6
|
-
gutterBottom?: boolean | undefined;
|
|
7
|
-
noWrap?: boolean | undefined;
|
|
8
|
-
paragraph?: boolean | undefined;
|
|
9
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
10
|
-
variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
|
|
11
|
-
variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
|
|
12
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
|
2
|
+
export declare const NameContainer: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
3
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
14
|
-
},
|
|
4
|
+
}, "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
5
|
+
component?: React.ElementType<any> | undefined;
|
|
6
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
15
7
|
isSelected?: boolean | undefined;
|
|
16
8
|
isAr?: boolean | undefined;
|
|
17
9
|
}, {}, {}>;
|
|
18
|
-
export declare const InputLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/
|
|
19
|
-
align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
22
|
-
gutterBottom?: boolean | undefined;
|
|
23
|
-
noWrap?: boolean | undefined;
|
|
24
|
-
paragraph?: boolean | undefined;
|
|
25
|
-
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
|
|
26
|
-
variant?: "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
|
|
27
|
-
variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
|
|
28
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
|
10
|
+
export declare const InputLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
29
11
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
30
|
-
},
|
|
12
|
+
}, "className" | "style" | "classes" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
13
|
+
component?: React.ElementType<any> | undefined;
|
|
14
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
31
15
|
export declare const MandatoryStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
32
16
|
interface ActivityListProps {
|
|
33
17
|
onListOpen?: () => void;
|
|
34
18
|
onListClose?: () => void;
|
|
35
19
|
readOnly?: boolean;
|
|
36
20
|
}
|
|
37
|
-
declare const ActivityList: ({ onListClose, onListOpen, readOnly }: ActivityListProps) => JSX.Element;
|
|
21
|
+
declare const ActivityList: ({ onListClose, onListOpen, readOnly }: ActivityListProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
22
|
export default ActivityList;
|
|
@@ -3,5 +3,5 @@ interface CapitalPaidProps {
|
|
|
3
3
|
readOnly?: boolean;
|
|
4
4
|
isVerified?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalPaidProps) => JSX.Element>;
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalPaidProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export default _default;
|
|
@@ -3,5 +3,5 @@ interface CapitalShareCountProps {
|
|
|
3
3
|
readOnly?: boolean;
|
|
4
4
|
isVerified?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareCountProps) => JSX.Element>;
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareCountProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export default _default;
|
|
@@ -3,5 +3,5 @@ interface CapitalShareValueProps {
|
|
|
3
3
|
readOnly?: boolean;
|
|
4
4
|
isVerified?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareValueProps) => JSX.Element>;
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ readOnly, isVerified }: CapitalShareValueProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
7
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface EntityCapitalProps {
|
|
3
2
|
}
|
|
4
|
-
declare const EntityCapital: ({}: EntityCapitalProps) => JSX.Element;
|
|
3
|
+
declare const EntityCapital: ({}: EntityCapitalProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
4
|
export default EntityCapital;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { FileDetails } from '../../../../@types';
|
|
3
|
-
|
|
2
|
+
type ArticleProps = {
|
|
4
3
|
show: boolean;
|
|
5
4
|
readOnly?: boolean;
|
|
6
5
|
defaultFile?: FileDetails;
|
|
7
6
|
isVerified?: boolean;
|
|
8
7
|
};
|
|
9
|
-
declare const Article: ({ show, readOnly, defaultFile, isVerified }: ArticleProps) => JSX.Element;
|
|
8
|
+
declare const Article: ({ show, readOnly, defaultFile, isVerified }: ArticleProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export default Article;
|