@tap-payments/auth-jsconnect 2.6.59-test → 2.6.61-test
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 +19 -19
- package/build/@types/form.d.ts +21 -21
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +12 -12
- 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 +11 -11
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +8 -8
- package/build/api/file.d.ts +1 -1
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +11 -11
- 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 +3 -21
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/assets/locales/ar.json +2 -1
- package/build/assets/locales/en.json +2 -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 +2 -1
- package/build/components/AnimationFlow/Loader.d.ts +2 -1
- 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 +2 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
- package/build/components/FileInput/DragAndDrop.d.ts +2 -1
- package/build/components/FileInput/UploadInput.d.ts +2 -1
- 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 +2 -1
- 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 +1 -0
- package/build/features/app/auth/authStore.d.ts +13 -121
- package/build/features/app/auth/authStore.js +18 -13
- package/build/features/app/bank/bankStore.d.ts +11 -92
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +5 -41
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +16 -142
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +18 -162
- package/build/features/app/business/businessStore.js +1 -1
- package/build/features/app/connect/connectStore.d.ts +16 -151
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +27 -261
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +11 -92
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +23 -185
- package/build/features/app/individual/individualStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +13 -112
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +10 -82
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/auth/Auth.d.ts +3 -1
- package/build/features/auth/Auth.js +12 -10
- 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/EntityList.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/Mobile/Mobile.d.ts +1 -1
- package/build/features/auth/screens/Mobile/Mobile.js +6 -0
- package/build/features/auth/screens/NID/DOB.d.ts +2 -1
- package/build/features/auth/screens/NID/NID.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
- package/build/features/auth/screens/OTP/OTP.js +3 -2
- package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/bank/Bank.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +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 +2 -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 +2 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
- 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 +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
- package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -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 +2 -1
- package/build/features/business/screens/Activities/Activities.d.ts +2 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
- package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
- 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 +13 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
- 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 +2 -1
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
- 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 +28 -6
- 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 +70 -19
- package/build/features/business/screens/Customers/Customers.d.ts +1 -1
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +30 -9
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -1
- 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/OTP/OTP.d.ts +1 -1
- package/build/features/business/screens/OTP/OTPInput.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/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connect/Connect.d.ts +2 -1
- 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 +2 -1
- 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 +2 -1
- 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/Title.d.ts +1 -1
- package/build/features/connect/screens/NID/DOB.d.ts +2 -1
- package/build/features/connect/screens/NID/NID.d.ts +1 -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/OperatorError/OperatorError.d.ts +1 -1
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.d.ts +2 -1
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.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/EntityList.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 +28 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
- 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/IdentityOTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
- 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/TAC.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
- package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
- package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
- package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
- package/build/features/entity/Entity.d.ts +2 -1
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
- 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 +2 -1
- package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
- package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
- package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
- 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/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/individual/Individual.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
- 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 +2 -1
- 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 +25 -9
- package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
- 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 +28 -6
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
- 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/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 +2 -1
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
- 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 +2 -1
- 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/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 +2 -1
- package/build/features/shared/Address/Address.d.ts +2 -1
- package/build/features/shared/Address/CountryList.d.ts +46 -14
- package/build/features/shared/Address/InputSelect.d.ts +46 -14
- 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 +2 -1
- package/build/features/shared/Background/Background.js +5 -5
- package/build/features/shared/Background/LogoBackground.d.ts +1 -1
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/AbsherButton.d.ts +2 -1
- package/build/features/shared/Button/Button.d.ts +2 -1
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
- package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
- 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 +2 -1
- package/build/features/shared/Button/SuccessButton.d.ts +2 -1
- package/build/features/shared/Calender/Calender.d.ts +2 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
- package/build/features/shared/Chip/Chip.d.ts +2 -1
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
- 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 +2 -1
- package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
- package/build/features/shared/Dot/Dot.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
- package/build/features/shared/Footer/Footer.d.ts +2 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
- package/build/features/shared/GenericError/GenericError.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +14 -6
- package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
- 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 +2 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/Search/Search.d.ts +2 -1
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
- 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 +9 -4
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
- package/build/features/signIn/SignIn.d.ts +2 -1
- 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/Password/Password.d.ts +1 -1
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
- package/build/features/tax/Tax.d.ts +2 -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 +3 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
- 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/useFormErrorAndUpdateReadOnly.d.ts +2 -2
- package/build/hooks/useFormReadOnly.d.ts +2 -2
- package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
- package/build/utils/array.js +1 -1
- package/build/utils/validation.js +2 -1
- package/package.json +1 -1
|
@@ -3,72 +3,18 @@ import { MobileFormValues, SharedState, EmailFormValues, ResponseData, OTPFormVa
|
|
|
3
3
|
export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
data: any;
|
|
5
5
|
formData: MobileFormValues;
|
|
6
|
-
}, MobileFormValues, {
|
|
7
|
-
|
|
8
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
9
|
-
extra?: unknown;
|
|
10
|
-
rejectValue?: unknown;
|
|
11
|
-
serializedErrorType?: unknown;
|
|
12
|
-
pendingMeta?: unknown;
|
|
13
|
-
fulfilledMeta?: unknown;
|
|
14
|
-
rejectedMeta?: unknown;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
17
|
-
state?: unknown;
|
|
18
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
19
|
-
extra?: unknown;
|
|
20
|
-
rejectValue?: unknown;
|
|
21
|
-
serializedErrorType?: unknown;
|
|
22
|
-
pendingMeta?: unknown;
|
|
23
|
-
fulfilledMeta?: unknown;
|
|
24
|
-
rejectedMeta?: unknown;
|
|
25
|
-
}>;
|
|
6
|
+
}, MobileFormValues, {}>;
|
|
7
|
+
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
26
8
|
export declare const createEmailAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
27
9
|
data: any;
|
|
28
10
|
formData: EmailFormValues;
|
|
29
|
-
}, EmailFormValues, {
|
|
30
|
-
|
|
31
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
32
|
-
extra?: unknown;
|
|
33
|
-
rejectValue?: unknown;
|
|
34
|
-
serializedErrorType?: unknown;
|
|
35
|
-
pendingMeta?: unknown;
|
|
36
|
-
fulfilledMeta?: unknown;
|
|
37
|
-
rejectedMeta?: unknown;
|
|
38
|
-
}>;
|
|
39
|
-
export declare const resendOTPEmail: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
40
|
-
state?: unknown;
|
|
41
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
42
|
-
extra?: unknown;
|
|
43
|
-
rejectValue?: unknown;
|
|
44
|
-
serializedErrorType?: unknown;
|
|
45
|
-
pendingMeta?: unknown;
|
|
46
|
-
fulfilledMeta?: unknown;
|
|
47
|
-
rejectedMeta?: unknown;
|
|
48
|
-
}>;
|
|
11
|
+
}, EmailFormValues, {}>;
|
|
12
|
+
export declare const resendOTPEmail: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
49
13
|
export declare const verifyAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
50
14
|
data: any;
|
|
51
15
|
formData: OTPFormValues;
|
|
52
|
-
}, OTPFormValues, {
|
|
53
|
-
|
|
54
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
55
|
-
extra?: unknown;
|
|
56
|
-
rejectValue?: unknown;
|
|
57
|
-
serializedErrorType?: unknown;
|
|
58
|
-
pendingMeta?: unknown;
|
|
59
|
-
fulfilledMeta?: unknown;
|
|
60
|
-
rejectedMeta?: unknown;
|
|
61
|
-
}>;
|
|
62
|
-
export declare const verifyAuthPassword: import("@reduxjs/toolkit").AsyncThunk<any, PasswordFormValues, {
|
|
63
|
-
state?: unknown;
|
|
64
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
65
|
-
extra?: unknown;
|
|
66
|
-
rejectValue?: unknown;
|
|
67
|
-
serializedErrorType?: unknown;
|
|
68
|
-
pendingMeta?: unknown;
|
|
69
|
-
fulfilledMeta?: unknown;
|
|
70
|
-
rejectedMeta?: unknown;
|
|
71
|
-
}>;
|
|
16
|
+
}, OTPFormValues, {}>;
|
|
17
|
+
export declare const verifyAuthPassword: import("@reduxjs/toolkit").AsyncThunk<any, PasswordFormValues, {}>;
|
|
72
18
|
export interface SignInData {
|
|
73
19
|
auth: Partial<MobileFormValues & EmailFormValues> & ResponseData;
|
|
74
20
|
otpData: OTPFormValues & ResponseData;
|
|
@@ -81,7 +27,7 @@ export declare const signInSlice: import("@reduxjs/toolkit").Slice<SignInState,
|
|
|
81
27
|
stopLoader: (state: SignInState) => void;
|
|
82
28
|
resetOTPScreen: (state: SignInState) => void;
|
|
83
29
|
}, "signIsn/store">;
|
|
84
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
30
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
85
31
|
declare const _default: import("redux").Reducer<SignInState, import("redux").AnyAction>;
|
|
86
32
|
export default _default;
|
|
87
33
|
export declare const signInSelector: (state: RootState) => SignInState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -9,102 +9,30 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
9
9
|
individualData: any;
|
|
10
10
|
boardResponse: any;
|
|
11
11
|
token: string;
|
|
12
|
-
}, VerifyLeadTokenProps, {
|
|
13
|
-
state?: unknown;
|
|
14
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
15
|
-
extra?: unknown;
|
|
16
|
-
rejectValue?: unknown;
|
|
17
|
-
serializedErrorType?: unknown;
|
|
18
|
-
pendingMeta?: unknown;
|
|
19
|
-
fulfilledMeta?: unknown;
|
|
20
|
-
rejectedMeta?: unknown;
|
|
21
|
-
}>;
|
|
12
|
+
}, VerifyLeadTokenProps, {}>;
|
|
22
13
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
23
14
|
data: any;
|
|
24
|
-
}, void, {
|
|
25
|
-
state?: unknown;
|
|
26
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
27
|
-
extra?: unknown;
|
|
28
|
-
rejectValue?: unknown;
|
|
29
|
-
serializedErrorType?: unknown;
|
|
30
|
-
pendingMeta?: unknown;
|
|
31
|
-
fulfilledMeta?: unknown;
|
|
32
|
-
rejectedMeta?: unknown;
|
|
33
|
-
}>;
|
|
15
|
+
}, void, {}>;
|
|
34
16
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
17
|
flows: any;
|
|
36
|
-
}, void, {
|
|
37
|
-
state?: unknown;
|
|
38
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
39
|
-
extra?: unknown;
|
|
40
|
-
rejectValue?: unknown;
|
|
41
|
-
serializedErrorType?: unknown;
|
|
42
|
-
pendingMeta?: unknown;
|
|
43
|
-
fulfilledMeta?: unknown;
|
|
44
|
-
rejectedMeta?: unknown;
|
|
45
|
-
}>;
|
|
18
|
+
}, void, {}>;
|
|
46
19
|
export declare const retrieveEntityInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
47
20
|
data: any;
|
|
48
|
-
}, string, {
|
|
49
|
-
state?: unknown;
|
|
50
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
51
|
-
extra?: unknown;
|
|
52
|
-
rejectValue?: unknown;
|
|
53
|
-
serializedErrorType?: unknown;
|
|
54
|
-
pendingMeta?: unknown;
|
|
55
|
-
fulfilledMeta?: unknown;
|
|
56
|
-
rejectedMeta?: unknown;
|
|
57
|
-
}>;
|
|
21
|
+
}, string, {}>;
|
|
58
22
|
export declare const verifyTaxLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
59
23
|
data: any;
|
|
60
24
|
formData: OTPFormValues;
|
|
61
|
-
}, OTPFormValues, {
|
|
62
|
-
state?: unknown;
|
|
63
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
64
|
-
extra?: unknown;
|
|
65
|
-
rejectValue?: unknown;
|
|
66
|
-
serializedErrorType?: unknown;
|
|
67
|
-
pendingMeta?: unknown;
|
|
68
|
-
fulfilledMeta?: unknown;
|
|
69
|
-
rejectedMeta?: unknown;
|
|
70
|
-
}>;
|
|
25
|
+
}, OTPFormValues, {}>;
|
|
71
26
|
export declare const updateTaxInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
72
27
|
data: any;
|
|
73
28
|
formData: TaxFormValues;
|
|
74
|
-
}, AsyncThunkParams<TaxFormValues>, {
|
|
75
|
-
state?: unknown;
|
|
76
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
77
|
-
extra?: unknown;
|
|
78
|
-
rejectValue?: unknown;
|
|
79
|
-
serializedErrorType?: unknown;
|
|
80
|
-
pendingMeta?: unknown;
|
|
81
|
-
fulfilledMeta?: unknown;
|
|
82
|
-
rejectedMeta?: unknown;
|
|
83
|
-
}>;
|
|
29
|
+
}, AsyncThunkParams<TaxFormValues>, {}>;
|
|
84
30
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
85
31
|
response: any;
|
|
86
32
|
formData: void;
|
|
87
|
-
} | undefined, void, {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
extra?: unknown;
|
|
91
|
-
rejectValue?: unknown;
|
|
92
|
-
serializedErrorType?: unknown;
|
|
93
|
-
pendingMeta?: unknown;
|
|
94
|
-
fulfilledMeta?: unknown;
|
|
95
|
-
rejectedMeta?: unknown;
|
|
96
|
-
}>;
|
|
97
|
-
export declare const onCloseCompleteTax: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
98
|
-
state?: unknown;
|
|
99
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
100
|
-
extra?: unknown;
|
|
101
|
-
rejectValue?: unknown;
|
|
102
|
-
serializedErrorType?: unknown;
|
|
103
|
-
pendingMeta?: unknown;
|
|
104
|
-
fulfilledMeta?: unknown;
|
|
105
|
-
rejectedMeta?: unknown;
|
|
106
|
-
}>;
|
|
107
|
-
type VerifyData = {
|
|
33
|
+
} | undefined, void, {}>;
|
|
34
|
+
export declare const onCloseCompleteTax: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
|
|
35
|
+
declare type VerifyData = {
|
|
108
36
|
token: string;
|
|
109
37
|
};
|
|
110
38
|
export interface TaxData {
|
|
@@ -123,7 +51,7 @@ export declare const taxSlice: import("@reduxjs/toolkit").Slice<TaxState, {
|
|
|
123
51
|
resetOTPScreen: (state: TaxState) => void;
|
|
124
52
|
uploadingStatus: (state: TaxState, action: ActionState<boolean>) => void;
|
|
125
53
|
}, "tax/store">;
|
|
126
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
54
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
127
55
|
declare const _default: import("redux").Reducer<TaxState, import("redux").AnyAction>;
|
|
128
56
|
export default _default;
|
|
129
57
|
export declare const taxSelector: (state: RootState) => TaxState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { LibConfig } from '../../@types';
|
|
2
3
|
export interface AuthLibProps extends Pick<LibConfig, 'open' | 'mode' | 'scope' | 'merchantDomain' | 'publicKey' | 'redirectUrl' | 'data' | 'postURL' | 'appInfo' | 'businessCountryCode' | 'language' | 'onFlowCompleted' | 'onError' | 'onStepCompleted' | 'onReady' | 'onClose' | 'onStepStarted'> {
|
|
3
4
|
leadId?: string;
|
|
5
|
+
hideOverlay?: boolean;
|
|
4
6
|
}
|
|
5
|
-
export declare function AuthElement(props: AuthLibProps):
|
|
7
|
+
export declare function AuthElement(props: AuthLibProps): JSX.Element;
|
|
6
8
|
export declare function renderAuthLib(config: AuthLibProps, elementId: string): {
|
|
7
9
|
unmount: () => void;
|
|
8
10
|
};
|
|
@@ -24,7 +24,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
24
24
|
import React, { memo } from 'react';
|
|
25
25
|
import { createRoot } from 'react-dom/client';
|
|
26
26
|
import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useAppDispatch } from '../../hooks';
|
|
27
|
-
import { handleCurrentActiveScreen, settingsSelector } from '../../app/settings';
|
|
27
|
+
import { handleCurrentActiveScreen, handleSetCountryByIso2, settingsSelector } from '../../app/settings';
|
|
28
28
|
import AnimationFlow from '../../components/AnimationFlow';
|
|
29
29
|
import { store } from '../../app/store';
|
|
30
30
|
import { ReduxProvider, ThemeProvider } from '../../components/Providers';
|
|
@@ -36,7 +36,7 @@ import { FeatureContainer } from '../shared/Containers';
|
|
|
36
36
|
import { authSelector, setMobileCountryCode, setLeadId, retrieveLeadIdentityByIdAsync } from '../app/auth/authStore';
|
|
37
37
|
import { authFeatureScreens } from '../featuresScreens';
|
|
38
38
|
var Auth = memo(function (_a) {
|
|
39
|
-
var leadId = _a.leadId, postURL = _a.postURL, props = __rest(_a, ["leadId", "postURL"]);
|
|
39
|
+
var leadId = _a.leadId, postURL = _a.postURL, hideOverlay = _a.hideOverlay, props = __rest(_a, ["leadId", "postURL", "hideOverlay"]);
|
|
40
40
|
var theme = useAppTheme().theme;
|
|
41
41
|
var dispatch = useAppDispatch();
|
|
42
42
|
var _b = useAppSelector(settingsSelector), settingData = _b.data, error = _b.error, settingLoading = _b.loading;
|
|
@@ -50,17 +50,19 @@ var Auth = memo(function (_a) {
|
|
|
50
50
|
dispatch(setLeadId(leadId !== null && leadId !== void 0 ? leadId : ''));
|
|
51
51
|
}, []);
|
|
52
52
|
React.useEffect(function () {
|
|
53
|
-
|
|
54
|
-
dispatch(retrieveLeadIdentityByIdAsync(leadId));
|
|
55
|
-
}
|
|
56
|
-
}, [leadId]);
|
|
57
|
-
React.useEffect(function () {
|
|
58
|
-
var _a;
|
|
53
|
+
var _a, _b;
|
|
59
54
|
if (settingLoading || !props.open || !settingData.isValidOperator)
|
|
60
55
|
return;
|
|
61
|
-
if (leadId)
|
|
56
|
+
if (leadId) {
|
|
57
|
+
dispatch(retrieveLeadIdentityByIdAsync(leadId));
|
|
62
58
|
return;
|
|
59
|
+
}
|
|
63
60
|
var iso2 = (_a = settingData.businessCountry) === null || _a === void 0 ? void 0 : _a.iso2;
|
|
61
|
+
var ipIso2 = (_b = settingData.ipCountry) === null || _b === void 0 ? void 0 : _b.iso2;
|
|
62
|
+
if (!iso2 && ipIso2) {
|
|
63
|
+
dispatch(handleSetCountryByIso2(ipIso2));
|
|
64
|
+
iso2 = ipIso2;
|
|
65
|
+
}
|
|
64
66
|
if (!iso2) {
|
|
65
67
|
dispatch(handleCurrentActiveScreen('AUTH_BUSINESS_COUNTRY_STEP'));
|
|
66
68
|
return;
|
|
@@ -75,7 +77,7 @@ var Auth = memo(function (_a) {
|
|
|
75
77
|
dispatch(setMobileCountryCode(settingData.businessCountry));
|
|
76
78
|
}
|
|
77
79
|
}, [settingData.businessCountry]);
|
|
78
|
-
return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ open: open, isTapOrigin: isTapOrigin, loading: settingLoading || customLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, loading: settingLoading || customLoading, error: error, open: open, screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: !isTapOrigin }, { children: _jsx(FeatureContainer, __assign({ isMaturityExpress: true }, { children: authFeatureScreens.map(function (_a, index) {
|
|
80
|
+
return (_jsx(ThemeProvider, __assign({ theme: theme }, { children: _jsx(Background, __assign({ hideOverlay: hideOverlay, open: open, isTapOrigin: isTapOrigin, loading: settingLoading || customLoading }, { children: _jsx(AnimationFlow, __assign({ pointerEvents: loading ? 'none' : 'auto', isTapOrigin: isTapOrigin, loading: settingLoading || customLoading, error: error, open: open, screenId: activeScreen.name, merchantInfo: merchant, isMaturityExpress: !isTapOrigin }, { children: _jsx(FeatureContainer, __assign({ isMaturityExpress: true }, { children: authFeatureScreens.map(function (_a, index) {
|
|
79
81
|
var Element = _a.element, name = _a.name;
|
|
80
82
|
var isActive = activeScreen.name === name;
|
|
81
83
|
return (_jsx(Collapse, __assign({ in: isActive, timeout: { enter: 1000, exit: 800 } }, { children: _jsx(Element, {}) }), index));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface AuthenticationListProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: AuthenticationListProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: AuthenticationListProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -6,5 +6,5 @@ interface BrandListProps {
|
|
|
6
6
|
onListOpen?: () => void;
|
|
7
7
|
onListClose?: () => void;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: React.MemoExoticComponent<({ show, list, ...rest }: BrandListProps) =>
|
|
9
|
+
declare const _default: React.MemoExoticComponent<({ show, list, ...rest }: BrandListProps) => JSX.Element>;
|
|
10
10
|
export default _default;
|
|
@@ -7,5 +7,5 @@ interface EntityListProps {
|
|
|
7
7
|
onListOpen?: () => void;
|
|
8
8
|
onListClose?: () => void;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: React.MemoExoticComponent<({ show, list, countryList, ...rest }: EntityListProps) =>
|
|
10
|
+
declare const _default: React.MemoExoticComponent<({ show, list, countryList, ...rest }: EntityListProps) => JSX.Element>;
|
|
11
11
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface BusinessCountryScreenProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: BusinessCountryScreenProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: BusinessCountryScreenProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface CivilIDProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: CivilIDProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: CivilIDProps) => JSX.Element>;
|
|
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) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: MobileProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -74,11 +74,17 @@ var Mobile = function (_a) {
|
|
|
74
74
|
var isAr = useLanguage().isAr;
|
|
75
75
|
var dispatch = useAppDispatch();
|
|
76
76
|
var _d = useCountry(settingData.businessCountry.iso2), isKuwait = _d.isKuwait, isOther = _d.isOther;
|
|
77
|
+
var mobileCountryCode = data.mobileData.countryCode;
|
|
77
78
|
var methods = useForm({
|
|
78
79
|
resolver: yupResolver(PhoneValidationSchema()),
|
|
79
80
|
defaultValues: data.mobileData,
|
|
80
81
|
mode: 'onChange'
|
|
81
82
|
});
|
|
83
|
+
React.useEffect(function () {
|
|
84
|
+
var _a;
|
|
85
|
+
if (((_a = methods.getValues('countryCode')) === null || _a === void 0 ? void 0 : _a.iso2) !== (mobileCountryCode === null || mobileCountryCode === void 0 ? void 0 : mobileCountryCode.iso2))
|
|
86
|
+
methods.setValue('countryCode', mobileCountryCode, { shouldValidate: true });
|
|
87
|
+
}, [mobileCountryCode]);
|
|
82
88
|
React.useEffect(function () {
|
|
83
89
|
if (error)
|
|
84
90
|
dispatch(clearError());
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
interface DOBProps {
|
|
2
3
|
onDateClicked?: (flag: boolean) => void;
|
|
3
4
|
readOnly?: boolean;
|
|
4
5
|
}
|
|
5
|
-
declare const DOB: ({ onDateClicked, readOnly }: DOBProps) =>
|
|
6
|
+
declare const DOB: ({ onDateClicked, readOnly }: DOBProps) => JSX.Element;
|
|
6
7
|
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) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: NIDProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -25,6 +25,7 @@ import { AuthForType } from '../../../../@types';
|
|
|
25
25
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
26
26
|
import Form from '../../../../components/Form';
|
|
27
27
|
import { maskPhone, maskID, deepCopy } from '../../../../utils';
|
|
28
|
+
import { ACCOUNT_NOT_AVAILABLE } from '../../../../constants';
|
|
28
29
|
import { OTPValidation } from './validation';
|
|
29
30
|
import OTPInput from './OTPInput';
|
|
30
31
|
var OTPTitleContainerStyled = styled(Box)(function (_a) {
|
|
@@ -59,7 +60,7 @@ var OTP = function () {
|
|
|
59
60
|
});
|
|
60
61
|
var isNidAuth = data.otpData.authFor === AuthForType.NATIONAL_ID;
|
|
61
62
|
React.useEffect(function () {
|
|
62
|
-
if (error)
|
|
63
|
+
if (error && error !== ACCOUNT_NOT_AVAILABLE)
|
|
63
64
|
dispatch(clearError());
|
|
64
65
|
}, [methods.formState.isValid]);
|
|
65
66
|
React.useEffect(function () {
|
|
@@ -78,7 +79,7 @@ var OTP = function () {
|
|
|
78
79
|
var screen = isNidAuth ? 'AUTH_NID_STEP' : 'AUTH_MOBILE_STEP';
|
|
79
80
|
dispatch(handlePrevScreenStep(screen));
|
|
80
81
|
};
|
|
81
|
-
var disabled = !methods.formState.isValid;
|
|
82
|
+
var disabled = !methods.formState.isValid || error === ACCOUNT_NOT_AVAILABLE;
|
|
82
83
|
var phone = ((_a = data.mobileData.countryCode) === null || _a === void 0 ? void 0 : _a.idd_prefix) + (data.mobileData.mobile || '');
|
|
83
84
|
var idNumber = data.nidData.nid;
|
|
84
85
|
var title = isNidAuth ? t('opt_nid_sent_title', { provider: 'ABSHER' }) : t('ide_opt_sent_title');
|
|
@@ -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) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface VerifyPACIProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<() =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<() => JSX.Element | null>;
|
|
5
5
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { LibConfig } from '../../@types';
|
|
2
3
|
export interface BankLibProps extends LibConfig {
|
|
3
4
|
verifyToken?: string;
|
|
4
5
|
configToken?: string;
|
|
5
6
|
}
|
|
6
|
-
export declare function BankElement(props: BankLibProps):
|
|
7
|
+
export declare function BankElement(props: BankLibProps): JSX.Element;
|
|
7
8
|
export declare function renderBankLib(config: BankLibProps, elementId: string): {
|
|
8
9
|
unmount: () => void;
|
|
9
10
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type BankNameProps = {
|
|
2
3
|
readOnly?: boolean;
|
|
3
4
|
isVerified?: boolean;
|
|
4
5
|
};
|
|
5
|
-
declare const BankName: ({ readOnly, isVerified }: BankNameProps) =>
|
|
6
|
+
declare const BankName: ({ readOnly, isVerified }: BankNameProps) => JSX.Element;
|
|
6
7
|
export default BankName;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { FileDetails } from '../../../../@types';
|
|
2
|
-
type BankStatementProps = {
|
|
3
|
+
declare type BankStatementProps = {
|
|
3
4
|
required: boolean;
|
|
4
5
|
readOnly?: boolean;
|
|
5
6
|
isVerified?: boolean;
|
|
6
7
|
defaultFiles?: Array<FileDetails>;
|
|
7
8
|
};
|
|
8
|
-
declare const BankStatement: ({ required, readOnly, defaultFiles, isVerified }: BankStatementProps) =>
|
|
9
|
+
declare const BankStatement: ({ required, readOnly, defaultFiles, isVerified }: BankStatementProps) => JSX.Element;
|
|
9
10
|
export default BankStatement;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface BeneficiaryProps {
|
|
2
3
|
readOnly?: boolean;
|
|
3
4
|
isVerified?: boolean;
|
|
4
5
|
}
|
|
5
|
-
declare const Beneficiary: ({ readOnly, isVerified }: BeneficiaryProps) =>
|
|
6
|
+
declare const Beneficiary: ({ readOnly, isVerified }: BeneficiaryProps) => JSX.Element;
|
|
6
7
|
export default Beneficiary;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare type ConfirmPolicyProps = {
|
|
2
3
|
readOnly?: boolean;
|
|
3
4
|
};
|
|
4
|
-
declare const ConfirmPolicy: ({ readOnly }: ConfirmPolicyProps) =>
|
|
5
|
+
declare const ConfirmPolicy: ({ readOnly }: ConfirmPolicyProps) => JSX.Element;
|
|
5
6
|
export default ConfirmPolicy;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface IBANProps {
|
|
2
3
|
fetchingIban: (flag: boolean) => void;
|
|
3
4
|
ibanChecking: boolean;
|
|
4
5
|
readOnly?: boolean;
|
|
5
6
|
isVerified?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const IBAN: ({ fetchingIban, ibanChecking, readOnly, isVerified }: IBANProps) =>
|
|
8
|
+
declare const IBAN: ({ fetchingIban, ibanChecking, readOnly, isVerified }: IBANProps) => JSX.Element;
|
|
8
9
|
export default IBAN;
|
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (
|
|
16
|
+
while (_) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const PrepareDataLoading: () =>
|
|
3
|
-
declare const _default: React.MemoExoticComponent<() =>
|
|
2
|
+
export declare const PrepareDataLoading: () => JSX.Element;
|
|
3
|
+
declare const _default: React.MemoExoticComponent<() => JSX.Element>;
|
|
4
4
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface ResetPasswordSuccessProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface SuccessProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: SuccessProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: SuccessProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -3,5 +3,5 @@ export interface OTPProps {
|
|
|
3
3
|
loading: boolean;
|
|
4
4
|
setLoading: (flag: boolean) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.MemoExoticComponent<({ loading, setLoading }: OTPProps) =>
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ loading, setLoading }: OTPProps) => JSX.Element>;
|
|
7
7
|
export default _default;
|
|
@@ -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) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { LibConfig } from '../../@types';
|
|
2
3
|
export interface BoardLibProps extends LibConfig {
|
|
3
4
|
configToken: string;
|
|
4
5
|
boardId: string;
|
|
5
6
|
}
|
|
6
|
-
export declare function BoardElement(props: BoardLibProps):
|
|
7
|
+
export declare function BoardElement(props: BoardLibProps): JSX.Element;
|
|
7
8
|
export declare function renderBoardLib(config: BoardLibProps, elementId: string): {
|
|
8
9
|
unmount: () => void;
|
|
9
10
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface ResetPasswordSuccessProps {
|
|
3
3
|
}
|
|
4
|
-
declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: ResetPasswordSuccessProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|
|
@@ -3,5 +3,5 @@ export interface OTPProps {
|
|
|
3
3
|
loading: boolean;
|
|
4
4
|
setLoading: (flag: boolean) => void;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.MemoExoticComponent<({ loading }: OTPProps) =>
|
|
6
|
+
declare const _default: React.MemoExoticComponent<({ loading }: OTPProps) => JSX.Element>;
|
|
7
7
|
export default _default;
|
|
@@ -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) =>
|
|
4
|
+
declare const _default: React.MemoExoticComponent<({}: OTPProps) => JSX.Element>;
|
|
5
5
|
export default _default;
|