@tap-payments/auth-jsconnect 2.4.26-test → 2.4.28-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/api/account.js +1 -1
- package/build/api/auth.d.ts +1 -1
- package/build/api/auth.js +1 -1
- package/build/api/availabilityServices.js +1 -1
- package/build/api/axios.js +2 -2
- package/build/api/board.js +1 -1
- package/build/api/brand.d.ts +1 -1
- package/build/api/brand.js +1 -1
- package/build/api/country.js +1 -1
- package/build/api/data.js +1 -1
- package/build/api/document.js +1 -1
- package/build/api/entity.js +1 -1
- package/build/api/file.js +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/individual.js +1 -1
- package/build/api/init.js +1 -1
- package/build/api/lead.d.ts +1 -1
- package/build/api/lead.js +1 -1
- package/build/api/location.js +1 -1
- package/build/api/operator.js +1 -1
- package/build/api/user.js +1 -1
- package/build/app/rootReducer.d.ts +10 -10
- package/build/app/rootReducer.js +10 -10
- package/build/app/settings.d.ts +2 -2
- package/build/app/settings.js +5 -5
- package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
- package/build/components/AnimationFlow/AnimationFlow.js +1 -1
- package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
- package/build/components/AnimationFlow/BottomSheet.js +3 -3
- package/build/components/AnimationFlow/Dialog.d.ts +1 -1
- package/build/components/AnimationFlow/Dialog.js +4 -4
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
- package/build/components/DatePicker/DatePicker.js +3 -3
- package/build/components/FileInput/DragAndDrop.js +6 -6
- package/build/components/FileInput/UploadInput.js +2 -2
- package/build/components/Footer/Footer.js +3 -3
- package/build/components/Input/Input.js +2 -2
- package/build/components/OTPTimer/OTPTimer.js +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.js +2 -2
- package/build/components/Tooltip/Tooltip.js +2 -2
- package/build/constants/app.d.ts +1 -1
- package/build/constants/app.js +1 -1
- package/build/features/app/bank/bankStore.d.ts +2 -2
- package/build/features/app/bank/bankStore.js +5 -5
- package/build/features/app/brand/brandStore.d.ts +2 -2
- package/build/features/app/brand/brandStore.js +5 -5
- package/build/features/app/business/businessStore.d.ts +2 -2
- package/build/features/app/business/businessStore.js +5 -5
- package/build/features/app/connect/connectStore.d.ts +2 -2
- package/build/features/app/connect/connectStore.js +5 -5
- package/build/features/app/connectExpress/connectExpressStore.d.ts +2 -2
- package/build/features/app/connectExpress/connectExpressStore.js +6 -6
- package/build/features/app/entity/entityStore.d.ts +2 -2
- package/build/features/app/entity/entityStore.js +5 -5
- package/build/features/app/individual/individualStore.js +106 -90
- package/build/features/app/password/passwordStore.d.ts +2 -2
- package/build/features/app/password/passwordStore.js +4 -4
- package/build/features/app/signIn/signInStore.d.ts +2 -2
- package/build/features/app/signIn/signInStore.js +3 -3
- package/build/features/app/tax/taxStore.d.ts +2 -2
- package/build/features/app/tax/taxStore.js +5 -5
- package/build/features/bank/Bank.d.ts +1 -1
- package/build/features/bank/Bank.js +10 -10
- package/build/features/bank/screens/BankDetails/BankDetails.js +9 -9
- package/build/features/bank/screens/BankDetails/BankName.js +8 -8
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
- package/build/features/bank/screens/BankDetails/BankStatement.js +6 -6
- package/build/features/bank/screens/BankDetails/Beneficiary.js +6 -6
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
- package/build/features/bank/screens/BankDetails/IBAN.js +10 -10
- package/build/features/bank/screens/BankDetails/validation.js +1 -1
- package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/bank/screens/Success/Success.js +3 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/bank/screens/Verify/OTPInput.js +5 -5
- package/build/features/bank/screens/Verify/Verify.js +8 -8
- package/build/features/brand/Brand.d.ts +1 -1
- package/build/features/brand/Brand.js +10 -10
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +12 -12
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +7 -7
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +11 -11
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +8 -8
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +12 -12
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +10 -10
- package/build/features/brand/screens/BrandActivities/TAC.js +10 -10
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +8 -8
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +9 -9
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.js +7 -7
- package/build/features/brand/screens/BrandInfo/BrandName.js +9 -9
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +4 -4
- package/build/features/brand/screens/BrandInfo/Segments.js +9 -9
- package/build/features/brand/screens/BrandInfo/TeamSize.js +9 -9
- package/build/features/brand/screens/BrandInfo/validation.js +1 -1
- package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/brand/screens/Success/Success.js +3 -3
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/brand/screens/Verify/OTPInput.js +5 -5
- package/build/features/brand/screens/Verify/Verify.js +8 -8
- package/build/features/business/Business.d.ts +1 -1
- package/build/features/business/Business.js +10 -10
- package/build/features/business/screens/Activities/Activities.js +7 -7
- package/build/features/business/screens/Activities/ActivitiesList.js +12 -12
- package/build/features/business/screens/Activities/LicenseName.js +6 -6
- package/build/features/business/screens/Activities/OperationStartDate.js +5 -5
- package/build/features/business/screens/BrandDetails/BrandDetails.js +7 -7
- package/build/features/business/screens/BrandDetails/BrandName.js +4 -4
- package/build/features/business/screens/BrandDetails/Header.js +5 -5
- package/build/features/business/screens/BrandDetails/LicenseInfo.js +4 -4
- package/build/features/business/screens/BrandDetails/SalesChannel.js +5 -5
- package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Article.js +7 -7
- package/build/features/business/screens/BusinessType/BusinessType.js +10 -10
- package/build/features/business/screens/BusinessType/EntityLicenseList.js +13 -13
- package/build/features/business/screens/BusinessType/EntityName.js +6 -6
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +7 -7
- package/build/features/business/screens/BusinessType/LicenseList.js +13 -13
- package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -10
- package/build/features/business/screens/BusinessType/LicenseType.js +14 -14
- package/build/features/business/screens/BusinessType/SelectType.js +6 -6
- package/build/features/business/screens/BusinessType/validation.js +2 -2
- package/build/features/business/screens/CivilID/CivilID.js +6 -6
- package/build/features/business/screens/CivilID/IDNumber.js +6 -6
- package/build/features/business/screens/Customers/CustomerLocations.js +11 -11
- package/build/features/business/screens/Customers/Customers.js +8 -8
- package/build/features/business/screens/Customers/ExpectedCustomers.js +9 -9
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +11 -11
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
- package/build/features/business/screens/Customers/RefundPolicy.js +10 -10
- package/build/features/business/screens/Customers/TransactionPolicy.js +7 -7
- package/build/features/business/screens/IDBOD/DOB.js +5 -5
- package/build/features/business/screens/IDBOD/ID.js +5 -5
- package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
- package/build/features/business/screens/OTP/OTP.js +9 -9
- package/build/features/business/screens/OTP/OTPInput.js +4 -4
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/business/screens/Success/Success.js +3 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/business/screens/Verify/OTPInput.js +5 -5
- package/build/features/business/screens/Verify/Verify.js +9 -9
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +4 -4
- package/build/features/connect/Connect.d.ts +1 -1
- package/build/features/connect/Connect.js +10 -10
- package/build/features/connect/screens/CivilID/CivilID.js +8 -8
- package/build/features/connect/screens/CivilID/IDNumber.js +6 -6
- package/build/features/connect/screens/Individual/Email.js +6 -6
- package/build/features/connect/screens/Individual/Individual.js +11 -11
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Individual/MobileNumber.js +12 -12
- package/build/features/connect/screens/Individual/Name.js +5 -5
- package/build/features/connect/screens/Individual/validation.js +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +10 -10
- package/build/features/connect/screens/Merchant/BrandName.js +8 -8
- package/build/features/connect/screens/Merchant/Merchant.js +8 -8
- package/build/features/connect/screens/Merchant/SalesChannels.js +4 -4
- package/build/features/connect/screens/Merchant/Segments.js +9 -9
- package/build/features/connect/screens/Merchant/TAC.js +9 -9
- package/build/features/connect/screens/Merchant/TeamSize.js +9 -9
- package/build/features/connect/screens/Merchant/validation.js +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +11 -11
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/connect/screens/Mobile/Title.js +2 -2
- package/build/features/connect/screens/NID/DOB.js +5 -5
- package/build/features/connect/screens/NID/IDNumber.js +7 -7
- package/build/features/connect/screens/NID/NID.js +8 -8
- package/build/features/connect/screens/OTP/OTP.js +10 -10
- package/build/features/connect/screens/OTP/OTPInput.js +5 -5
- package/build/features/connect/screens/ThankYou/ThankYou.js +4 -4
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +5 -5
- package/build/features/connectExpress/ConnectExpress.d.ts +1 -1
- package/build/features/connectExpress/ConnectExpress.js +10 -10
- package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +3 -3
- package/build/features/connectExpress/screens/Brand/Brand.js +9 -9
- package/build/features/connectExpress/screens/CivilID/CivilID.js +8 -8
- package/build/features/connectExpress/screens/CivilID/IDNumber.js +6 -6
- package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +6 -6
- package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +6 -6
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +8 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +8 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +13 -13
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +10 -10
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +12 -12
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +8 -8
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +2 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +11 -11
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +6 -6
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +11 -11
- package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +5 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +1 -1
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +5 -5
- package/build/features/connectExpress/screens/IdentityOTP/OTP.js +10 -10
- package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +5 -5
- package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +4 -4
- package/build/features/connectExpress/screens/Mobile/Mobile.js +10 -10
- package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/connectExpress/screens/Mobile/TAC.js +8 -8
- package/build/features/connectExpress/screens/Mobile/Title.js +2 -2
- package/build/features/connectExpress/screens/NID/DOB.js +5 -5
- package/build/features/connectExpress/screens/NID/IDNumber.js +9 -9
- package/build/features/connectExpress/screens/NID/NID.js +8 -8
- package/build/features/connectExpress/screens/NID/TAC.js +8 -8
- package/build/features/connectExpress/screens/NIDMissed/DOB.js +5 -5
- package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +7 -7
- package/build/features/connectExpress/screens/NIDMissed/NID.js +7 -7
- package/build/features/connectExpress/screens/OTP/OTP.js +10 -10
- package/build/features/connectExpress/screens/OTP/OTPInput.js +5 -5
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -4
- package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +4 -4
- package/build/features/entity/Entity.d.ts +1 -1
- package/build/features/entity/Entity.js +10 -10
- package/build/features/entity/screens/EntityCapital/ActivityList.js +12 -12
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +7 -7
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +6 -6
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -7
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +7 -7
- package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
- package/build/features/entity/screens/EntityName/Article.js +7 -7
- package/build/features/entity/screens/EntityName/EntityName.js +9 -9
- package/build/features/entity/screens/EntityName/EntityTypeList.js +12 -12
- package/build/features/entity/screens/EntityName/ExpiryDate.js +6 -6
- package/build/features/entity/screens/EntityName/IssuingDate.js +5 -5
- package/build/features/entity/screens/EntityName/LegalName.js +6 -6
- package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -1
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -8
- package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -10
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +7 -7
- package/build/features/entity/screens/EntityName/validation.js +2 -2
- package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/entity/screens/Success/Success.js +3 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/entity/screens/Verify/OTPInput.js +5 -5
- package/build/features/entity/screens/Verify/Verify.js +8 -8
- package/build/features/featuresScreens.d.ts +1 -1
- package/build/features/featuresScreens.js +79 -79
- package/build/features/individual/Individual.d.ts +1 -1
- package/build/features/individual/Individual.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +11 -11
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +11 -11
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +9 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +3 -3
- package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/Email.js +8 -8
- package/build/features/individual/screens/IndividualList/IndividualList.js +8 -8
- package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/MobileNumber.js +11 -11
- package/build/features/individual/screens/IndividualList/UserList.js +11 -11
- package/build/features/individual/screens/IndividualList/validation.d.ts +1 -1
- package/build/features/individual/screens/IndividualList/validation.js +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +9 -9
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +6 -6
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +7 -7
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -6
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +9 -9
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +10 -10
- package/build/features/individual/screens/IndividualPersonalInfo/Name.js +5 -5
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +8 -8
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -1
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +11 -11
- package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +8 -8
- package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/individual/screens/Success/Success.js +3 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/individual/screens/Verify/OTPInput.js +5 -5
- package/build/features/individual/screens/Verify/Verify.js +8 -8
- package/build/features/password/Password.d.ts +1 -1
- package/build/features/password/Password.js +10 -10
- package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
- package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
- package/build/features/password/screens/CreatePassword/Password.js +6 -6
- package/build/features/password/screens/OTP/OTP.js +9 -9
- package/build/features/password/screens/OTP/OTPInput.js +4 -4
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/password/screens/Success/Success.js +4 -4
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/password/screens/Verify/OTPInput.js +5 -5
- package/build/features/password/screens/Verify/Verify.js +8 -8
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
- package/build/features/shared/Address/Address.d.ts +1 -1
- package/build/features/shared/Address/Address.js +2 -2
- package/build/features/shared/Address/CountryList.d.ts +2 -2
- package/build/features/shared/Address/CountryList.js +7 -7
- package/build/features/shared/Address/InputSelect.d.ts +1 -1
- package/build/features/shared/Address/InputSelect.js +7 -7
- package/build/features/shared/Background/Background.js +2 -2
- package/build/features/shared/Background/LogoBackground.js +3 -3
- package/build/features/shared/Button/AbsherButton.d.ts +1 -1
- package/build/features/shared/Button/AbsherButton.js +3 -3
- package/build/features/shared/Button/Button.d.ts +1 -1
- package/build/features/shared/Button/Button.js +7 -7
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
- package/build/features/shared/Button/EmailProvidersButtons.js +3 -3
- package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
- package/build/features/shared/Button/FlowsButtons.js +7 -7
- package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
- package/build/features/shared/Button/IndividualActionButtons.js +6 -6
- package/build/features/shared/Button/MobileButton.d.ts +1 -1
- package/build/features/shared/Button/MobileButton.js +3 -3
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +4 -4
- package/build/features/shared/DataLoading/DataLoading.js +4 -4
- package/build/features/shared/Dialog/CloseDialog.js +2 -2
- package/build/features/shared/Dialog/DialogContainer.js +2 -2
- package/build/features/shared/Dot/Dot.js +2 -2
- package/build/features/shared/EndAdornment/EndAdornment.js +2 -2
- package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +2 -2
- package/build/features/shared/Footer/Footer.js +4 -4
- package/build/features/shared/Footer/PoweredByFooter.js +3 -3
- package/build/features/shared/GenericError/GenericError.js +4 -4
- package/build/features/shared/Input/Input.d.ts +1 -1
- package/build/features/shared/Input/Input.js +2 -2
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/OTP/OTP.js +3 -3
- package/build/features/shared/PaciVerification/PaciVerification.js +5 -5
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +3 -3
- package/build/features/shared/PaciVerification/VerifyPACISuccess.js +1 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -1
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +9 -9
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
- package/build/features/shared/SalesChannels/SalesChannel.js +6 -6
- package/build/features/shared/Search/Search.js +1 -1
- package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +6 -6
- package/build/features/shared/SuccessScreen/SuccessScreen.js +6 -6
- package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
- package/build/features/shared/UploadFile/FileUpload.js +8 -8
- package/build/features/shared/UploadFile/UploadFile.js +10 -10
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
- package/build/features/shared/UploadFile/UploadWrapper.js +7 -7
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
- package/build/features/shared/UploadMultipleFile/UploadFile.js +8 -8
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +7 -7
- package/build/features/signIn/SignIn.d.ts +1 -1
- package/build/features/signIn/SignIn.js +10 -10
- package/build/features/signIn/screens/Email/Email.js +8 -8
- package/build/features/signIn/screens/Email/EmailField.js +5 -5
- package/build/features/signIn/screens/Email/validation.js +1 -1
- package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
- package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/signIn/screens/OTP/OTP.js +9 -9
- package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
- package/build/features/signIn/screens/Password/Password.js +7 -7
- package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
- package/build/features/tax/Tax.d.ts +1 -1
- package/build/features/tax/Tax.js +10 -10
- package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
- package/build/features/tax/screens/Success/Success.js +3 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +8 -8
- package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.js +8 -8
- package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
- package/build/features/tax/screens/Verify/OTPInput.js +5 -5
- package/build/features/tax/screens/Verify/Verify.js +8 -8
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +4 -4
- package/build/hooks/useAppSelector.d.ts +1 -1
- package/build/hooks/useAppTheme.d.ts +1 -1
- package/build/hooks/useAppTheme.js +3 -3
- package/build/hooks/useCountry.js +1 -1
- package/build/hooks/useDataNoneEditable.d.ts +1 -1
- package/build/hooks/useDataNoneEditable.js +1 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useDataVerified.js +1 -1
- package/build/hooks/useErrorListener.js +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.js +1 -1
- package/build/hooks/useFormReadOnly.js +1 -1
- package/build/hooks/useLanguage.js +1 -1
- package/build/hooks/useRedirectionListener.js +1 -1
- package/build/hooks/useScreen.js +1 -1
- package/build/hooks/useStepStartedListener.js +1 -1
- package/build/hooks/useVerifyToken.d.ts +1 -1
- package/build/hooks/useVerifyToken.js +2 -2
- package/build/i18n.js +1 -1
- package/build/index.d.ts +10 -10
- package/build/index.js +10 -10
- package/build/theme/theme.d.ts +1 -1
- package/build/utils/array.d.ts +4 -3
- package/build/utils/array.js +6 -1
- package/build/utils/locale.d.ts +1 -1
- package/build/utils/locale.js +1 -1
- package/build/utils/object.js +1 -1
- package/build/utils/rsa.js +1 -1
- package/build/utils/string.d.ts +1 -1
- package/build/utils/string.js +4 -4
- package/package.json +1 -1
- package/build/components/ArabicDatePicker/style.css +0 -24
- package/build/components/DatePicker/customStyle.css +0 -86
- package/build/features/app/individual/individualStore.d.ts +0 -146
- package/build/index.css +0 -140
|
@@ -23,17 +23,17 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
24
|
import { memo } from 'react';
|
|
25
25
|
import { createRoot } from 'react-dom/client';
|
|
26
|
-
import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useVerifyToken } from '
|
|
27
|
-
import { settingsSelector } from '
|
|
28
|
-
import AnimationFlow from '
|
|
29
|
-
import { store } from '
|
|
30
|
-
import { ReduxProvider, ThemeProvider } from '
|
|
31
|
-
import Collapse from '
|
|
32
|
-
import { findOrCreateElementAndInject } from '
|
|
33
|
-
import { FeatureContainer } from '
|
|
34
|
-
import { TAX_SCREENS_NAVIGATION } from '
|
|
26
|
+
import { useAppTheme, useAppSelector, useAppConfig, useErrorListener, useStepStartedListener, useVerifyToken } from '@hooks';
|
|
27
|
+
import { settingsSelector } from '@app/settings';
|
|
28
|
+
import AnimationFlow from '@components/AnimationFlow';
|
|
29
|
+
import { store } from '@app/store';
|
|
30
|
+
import { ReduxProvider, ThemeProvider } from '@components/Providers';
|
|
31
|
+
import Collapse from '@components/Collapse';
|
|
32
|
+
import { findOrCreateElementAndInject } from '@utils';
|
|
33
|
+
import { FeatureContainer } from '@features/shared/Containers';
|
|
34
|
+
import { TAX_SCREENS_NAVIGATION } from '@constants';
|
|
35
35
|
import { taxFeatureScreens } from '../featuresScreens';
|
|
36
|
-
import { taxSelector, verifyLeadToken } from '
|
|
36
|
+
import { taxSelector, verifyLeadToken } from '@features/app/tax/taxStore';
|
|
37
37
|
import Background from '../shared/Background';
|
|
38
38
|
var Tax = memo(function (_a) {
|
|
39
39
|
var verifyToken = _a.verifyToken, props = __rest(_a, ["verifyToken"]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
import { useAppSelector } from '
|
|
4
|
-
import DataLoading from '
|
|
5
|
-
import { taxSelector } from '
|
|
3
|
+
import { useAppSelector } from '@hooks';
|
|
4
|
+
import DataLoading from '@features/shared/DataLoading';
|
|
5
|
+
import { taxSelector } from '@features/app/tax/taxStore';
|
|
6
6
|
export var PrepareDataLoading = function () {
|
|
7
7
|
var error = useAppSelector(taxSelector).error;
|
|
8
8
|
return _jsx(DataLoading, { error: error });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Trans, useTranslation } from 'react-i18next';
|
|
4
|
-
import { handlePrevScreenStep } from '
|
|
5
|
-
import SuccessScreen from '
|
|
6
|
-
import { useAppSelector, useAppDispatch } from '
|
|
7
|
-
import { maskEmail } from '
|
|
8
|
-
import { taxSelector } from '
|
|
4
|
+
import { handlePrevScreenStep } from '@app/settings';
|
|
5
|
+
import SuccessScreen from '@features/shared/SuccessScreen';
|
|
6
|
+
import { useAppSelector, useAppDispatch } from '@hooks';
|
|
7
|
+
import { maskEmail } from '@utils';
|
|
8
|
+
import { taxSelector } from '@features/app/tax/taxStore';
|
|
9
9
|
var ResetPasswordSuccess = function (_a) {
|
|
10
10
|
var _b, _c;
|
|
11
11
|
var t = useTranslation().t;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import { useAppDispatch, useAppSelector } from '
|
|
5
|
-
import { updateLeadSuccess, taxSelector } from '
|
|
6
|
-
import SuccessScreen from '
|
|
4
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
5
|
+
import { updateLeadSuccess, taxSelector } from '@features/app/tax/taxStore';
|
|
6
|
+
import SuccessScreen from '@features/shared/SuccessScreen';
|
|
7
7
|
var Success = function (_a) {
|
|
8
8
|
var t = useTranslation().t;
|
|
9
9
|
var dispatch = useAppDispatch();
|
|
@@ -11,9 +11,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { memo } from 'react';
|
|
14
|
-
import { useAppSelector } from '
|
|
15
|
-
import { taxSelector } from '
|
|
16
|
-
import SuccessFlowButtons from '
|
|
14
|
+
import { useAppSelector } from '@hooks';
|
|
15
|
+
import { taxSelector } from '@features/app/tax/taxStore';
|
|
16
|
+
import SuccessFlowButtons from '@features/shared/SuccessFlowButtons';
|
|
17
17
|
var SuccessWithFlowButtons = function () {
|
|
18
18
|
var data = useAppSelector(taxSelector).data;
|
|
19
19
|
var _a = data.verify.responseBody || {}, flows = _a.flows, entity = _a.entity, brand = _a.brand, bank = _a.bank_account, merchant = _a.merchant, user = _a.user, business = _a.business, board_id = _a.board_id, board_info_id = _a.board_info_id, name = _a.name, individuals = _a.individuals;
|
|
@@ -13,12 +13,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
13
13
|
import { useTranslation } from 'react-i18next';
|
|
14
14
|
import { useController, useFormContext } from 'react-hook-form';
|
|
15
15
|
import { styled, alpha } from '@mui/material/styles';
|
|
16
|
-
import { ScreenContainer } from '
|
|
16
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
17
17
|
import Box from '@mui/material/Box';
|
|
18
|
-
import CheckBox from '
|
|
19
|
-
import Text from '
|
|
20
|
-
import Warning from '
|
|
21
|
-
import Collapse from '
|
|
18
|
+
import CheckBox from '@components/CheckBox';
|
|
19
|
+
import Text from '@components/Text';
|
|
20
|
+
import Warning from '@components/Warning';
|
|
21
|
+
import Collapse from '@components/Collapse';
|
|
22
22
|
var ConfirmContainerStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'readOnly'; } })(function (_a) {
|
|
23
23
|
var theme = _a.theme, readOnly = _a.readOnly;
|
|
24
24
|
return (__assign({ display: 'flex', flexDirection: 'row', alignItems: 'center', padding: theme.spacing(0, 2.5, 0, 2.5) }, (readOnly && {
|
|
@@ -15,14 +15,14 @@ import { useTranslation } from 'react-i18next';
|
|
|
15
15
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
16
16
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
17
17
|
import { styled } from '@mui/material/styles';
|
|
18
|
-
import Form from '
|
|
19
|
-
import { useAppDispatch, useLanguage, useAppSelector, useSetFromDefaultValues, useFormReadOnly, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '
|
|
20
|
-
import { handlePrevScreenStep, settingsSelector } from '
|
|
21
|
-
import { DocumentPurpose } from '
|
|
22
|
-
import { getFileDetailsFromDocument, isSA } from '
|
|
23
|
-
import { ScreenContainer } from '
|
|
24
|
-
import Button from '
|
|
25
|
-
import { retrieveBoardStatus, taxSelector, updateTaxInfo } from '
|
|
18
|
+
import Form from '@components/Form';
|
|
19
|
+
import { useAppDispatch, useLanguage, useAppSelector, useSetFromDefaultValues, useFormReadOnly, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '@hooks';
|
|
20
|
+
import { handlePrevScreenStep, settingsSelector } from '@app/settings';
|
|
21
|
+
import { DocumentPurpose } from '@types';
|
|
22
|
+
import { getFileDetailsFromDocument, isSA } from '@utils';
|
|
23
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
24
|
+
import Button from '@features/shared/Button';
|
|
25
|
+
import { retrieveBoardStatus, taxSelector, updateTaxInfo } from '@features/app/tax/taxStore';
|
|
26
26
|
import { Validation } from './validation';
|
|
27
27
|
import VATId from './VATId';
|
|
28
28
|
import ConfirmPolicy from './ConfirmPolicy';
|
|
@@ -13,15 +13,15 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import { useController, useFormContext } from 'react-hook-form';
|
|
16
|
-
import { useAppDispatch, useAppSelector } from '
|
|
17
|
-
import { DocumentPurpose } from '
|
|
16
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
17
|
+
import { DocumentPurpose } from '@types';
|
|
18
18
|
import { styled } from '@mui/material/styles';
|
|
19
|
-
import Collapse from '
|
|
20
|
-
import { FileType } from '
|
|
21
|
-
import { ScreenContainer } from '
|
|
22
|
-
import { taxSelector, uploadingStatus } from '
|
|
23
|
-
import UploadMultipleFile from '
|
|
24
|
-
import { hasVerifiedValue } from '
|
|
19
|
+
import Collapse from '@components/Collapse';
|
|
20
|
+
import { FileType } from '@constants';
|
|
21
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
22
|
+
import { taxSelector, uploadingStatus } from '@features/app/tax/taxStore';
|
|
23
|
+
import UploadMultipleFile from '@features/shared/UploadMultipleFile';
|
|
24
|
+
import { hasVerifiedValue } from '@src/utils';
|
|
25
25
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
26
26
|
var theme = _a.theme;
|
|
27
27
|
return ({
|
|
@@ -12,14 +12,14 @@ var __assign = (this && this.__assign) || function () {
|
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
14
|
import Box from '@mui/material/Box';
|
|
15
|
-
import Input from '
|
|
15
|
+
import Input from '@features/shared/Input';
|
|
16
16
|
import { useTranslation } from 'react-i18next';
|
|
17
17
|
import { useController, useFormContext } from 'react-hook-form';
|
|
18
|
-
import { VAT_ID_LENGTH } from '
|
|
19
|
-
import { useAppSelector } from '
|
|
20
|
-
import { isSA, removeAllCharsFromNumber } from '
|
|
21
|
-
import { settingsSelector } from '
|
|
22
|
-
import { EndAdornment } from '
|
|
18
|
+
import { VAT_ID_LENGTH } from '@constants';
|
|
19
|
+
import { useAppSelector } from '@hooks';
|
|
20
|
+
import { isSA, removeAllCharsFromNumber } from '@utils';
|
|
21
|
+
import { settingsSelector } from '@app/settings';
|
|
22
|
+
import { EndAdornment } from '@features/shared/EndAdornment';
|
|
23
23
|
var VATId = function (_a) {
|
|
24
24
|
var _b;
|
|
25
25
|
var readOnly = _a.readOnly, isVerified = _a.isVerified;
|
|
@@ -11,15 +11,15 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
import { useAppDispatch, useAppSelector } from '
|
|
14
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
15
15
|
import Box from '@mui/material/Box/Box';
|
|
16
16
|
import { styled } from '@mui/material/styles';
|
|
17
|
-
import OTPField from '
|
|
17
|
+
import OTPField from '@features/shared/OTP';
|
|
18
18
|
import { useController, useFormContext } from 'react-hook-form';
|
|
19
19
|
import { useTranslation } from 'react-i18next';
|
|
20
|
-
import { DEFAULT_TIMER_VALUE } from '
|
|
21
|
-
import { isTokenExpired } from '
|
|
22
|
-
import { resendOTP, taxSelector } from '
|
|
20
|
+
import { DEFAULT_TIMER_VALUE } from '@constants';
|
|
21
|
+
import { isTokenExpired } from '@utils';
|
|
22
|
+
import { resendOTP, taxSelector } from '@features/app/tax/taxStore';
|
|
23
23
|
var BoxStyled = styled(Box)(function (_a) {
|
|
24
24
|
var theme = _a.theme;
|
|
25
25
|
return ({
|
|
@@ -11,19 +11,19 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
import { useAppDispatch, useSetFromDefaultValues } from '
|
|
14
|
+
import { useAppDispatch, useSetFromDefaultValues } from '@hooks';
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
16
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
17
17
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
18
18
|
import Box from '@mui/material/Box/Box';
|
|
19
19
|
import { styled } from '@mui/material/styles';
|
|
20
|
-
import { useLanguage, useAppSelector } from '
|
|
21
|
-
import { maskPhone } from '
|
|
22
|
-
import Form from '
|
|
23
|
-
import Text from '
|
|
24
|
-
import { ScreenContainer } from '
|
|
25
|
-
import { taxSelector, clearError, resetOTPScreen, verifyTaxLeadOTP } from '
|
|
26
|
-
import Button from '
|
|
20
|
+
import { useLanguage, useAppSelector } from '@hooks';
|
|
21
|
+
import { maskPhone } from '@utils';
|
|
22
|
+
import Form from '@components/Form';
|
|
23
|
+
import Text from '@components/Text';
|
|
24
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
25
|
+
import { taxSelector, clearError, resetOTPScreen, verifyTaxLeadOTP } from '@features/app/tax/taxStore';
|
|
26
|
+
import Button from '@features/shared/Button';
|
|
27
27
|
import { OTPValidation } from './validation';
|
|
28
28
|
import OTPInput from './OTPInput';
|
|
29
29
|
var OTPTitleContainerStyled = styled(Box)(function (_a) {
|
|
@@ -21,12 +21,12 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { useEffect } from 'react';
|
|
24
|
-
import { handleActiveFlowScreens, handleSetAppConfig, handleLanguage, handleOpen, handleIsTapOrigin, fetchAppSettingsSync, handelBoardMaturity, settingsSelector } from '
|
|
24
|
+
import { handleActiveFlowScreens, handleSetAppConfig, handleLanguage, handleOpen, handleIsTapOrigin, fetchAppSettingsSync, handelBoardMaturity, settingsSelector } from '@app/settings';
|
|
25
25
|
import { useAppDispatch } from './useAppDispatch';
|
|
26
26
|
import { useAppSelector } from './useAppSelector';
|
|
27
|
-
import { axiosInstance } from '
|
|
28
|
-
import { isTapDomain, removeRequestHeaders } from '
|
|
29
|
-
import { ENDPOINT_PATHS } from '
|
|
27
|
+
import { axiosInstance } from '@api';
|
|
28
|
+
import { isTapDomain, removeRequestHeaders } from '@utils';
|
|
29
|
+
import { ENDPOINT_PATHS } from '@constants';
|
|
30
30
|
export var useAppConfig = function (_a) {
|
|
31
31
|
var appInfo = _a.appInfo, navigation = _a.navigation, publicKey = _a.publicKey, disableCountries = _a.disableCountries, disableLocale = _a.disableLocale, disableSettingFetching = _a.disableSettingFetching, maturity = _a.maturity, boardMaturity = _a.boardMaturity, rest = __rest(_a, ["appInfo", "navigation", "publicKey", "disableCountries", "disableLocale", "disableSettingFetching", "maturity", "boardMaturity"]);
|
|
32
32
|
var dispatch = useAppDispatch();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
|
-
import { LanguageMode, DirectionMode } from '
|
|
3
|
-
import { settingsSelector } from '
|
|
2
|
+
import { LanguageMode, DirectionMode } from '@types';
|
|
3
|
+
import { settingsSelector } from '@app/settings';
|
|
4
4
|
import { isMobile } from 'react-device-detect';
|
|
5
5
|
import { useAppSelector } from './useAppSelector';
|
|
6
|
-
import { appTheme } from '
|
|
6
|
+
import { appTheme } from '@theme';
|
|
7
7
|
export var useAppTheme = function () {
|
|
8
8
|
var _a = useState(), theme = _a[0], setTheme = _a[1];
|
|
9
9
|
var data = useAppSelector(settingsSelector).data;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { FieldType } from '
|
|
1
|
+
import { FieldType } from '@types';
|
|
2
2
|
export declare const useDataNoneEditable: <T = undefined>(dataStatus: Record<keyof T, FieldType>, noneEditableKeys: (keyof T)[]) => { [key in keyof T]: boolean; };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
-
import { hasNoneEditableValue } from '
|
|
2
|
+
import { hasNoneEditableValue } from '@utils';
|
|
3
3
|
export var useDataNoneEditable = function (dataStatus, noneEditableKeys) {
|
|
4
4
|
var _a = useState({}), dataNoneEditable = _a[0], setDataNoneEditable = _a[1];
|
|
5
5
|
var setNoneEditableValue = useCallback(function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
-
import { hasVerifiedValue } from '
|
|
2
|
+
import { hasVerifiedValue } from '@utils';
|
|
3
3
|
export var useDataVerified = function (dataVerification, verifiedKeys) {
|
|
4
4
|
var _a = useState({}), dataVerified = _a[0], setVerified = _a[1];
|
|
5
5
|
var setVerifiedValue = useCallback(function () {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
|
-
import { settingsSelector } from '
|
|
2
|
+
import { settingsSelector } from '@app/settings';
|
|
3
3
|
import { useAppSelector } from './useAppSelector';
|
|
4
4
|
export var useErrorListener = function (error) {
|
|
5
5
|
var settings = useAppSelector(settingsSelector);
|
|
@@ -9,7 +9,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
import { settingsSelector } from '
|
|
12
|
+
import { settingsSelector } from '@app/settings';
|
|
13
13
|
import { useAppSelector } from './useAppSelector';
|
|
14
14
|
export var useExcludeReadOnlyFelids = function (_a, readOnly) {
|
|
15
15
|
var formState = _a.formState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
-
import { settingsSelector } from '
|
|
2
|
+
import { settingsSelector } from '@app/settings';
|
|
3
3
|
import { useAppSelector } from './useAppSelector';
|
|
4
4
|
var isValidData = function (data) {
|
|
5
5
|
if (data === null || data === undefined)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { decodeObjectBase64, getParameterByName } from '
|
|
1
|
+
import { decodeObjectBase64, getParameterByName } from '@utils';
|
|
2
2
|
export var useRedirectionData = function (dataKey) {
|
|
3
3
|
if (dataKey === void 0) { dataKey = 'data'; }
|
|
4
4
|
var dataToken = getParameterByName(dataKey);
|
package/build/hooks/useScreen.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useState } from 'react';
|
|
2
|
-
import { useWindowSize } from '
|
|
2
|
+
import { useWindowSize } from '@hooks';
|
|
3
3
|
import { useTheme } from '@mui/material/styles';
|
|
4
4
|
export var useScreen = function (breakpoint) {
|
|
5
5
|
if (breakpoint === void 0) { breakpoint = 'sm'; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
|
-
import { settingsSelector } from '
|
|
2
|
+
import { settingsSelector } from '@app/settings';
|
|
3
3
|
import { useAppSelector } from './useAppSelector';
|
|
4
4
|
export var useStepStartedListener = function () {
|
|
5
5
|
var settings = useAppSelector(settingsSelector);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { handleCurrentActiveScreen, handleLanguage } from '
|
|
2
|
-
import { getParameterByName } from '
|
|
1
|
+
import { handleCurrentActiveScreen, handleLanguage } from '@src/app/settings';
|
|
2
|
+
import { getParameterByName } from '@utils';
|
|
3
3
|
import { useAppDispatch } from './useAppDispatch';
|
|
4
4
|
import { useEffect } from 'react';
|
|
5
5
|
export var useVerifyToken = function (_a) {
|
package/build/i18n.js
CHANGED
|
@@ -2,7 +2,7 @@ import i18n from 'i18next';
|
|
|
2
2
|
import { initReactI18next } from 'react-i18next';
|
|
3
3
|
import Backend from 'i18next-http-backend';
|
|
4
4
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
|
5
|
-
import { LOCAL_STORAGE_KEYS } from '
|
|
5
|
+
import { LOCAL_STORAGE_KEYS } from '@constants';
|
|
6
6
|
import translationEN from './assets/locales/en.json';
|
|
7
7
|
import translationAR from './assets/locales/ar.json';
|
|
8
8
|
var resources = {
|
package/build/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import './i18n';
|
|
3
|
-
import { ConnectElement, ConnectLibProps } from '
|
|
4
|
-
import { ConnectExpressElement, ConnectExpressLibProps } from '
|
|
5
|
-
import { BusinessElement, BusinessLibProps } from '
|
|
6
|
-
import { PasswordElement, PasswordLibProps } from '
|
|
7
|
-
import { IndividualElement, IndividualLibProps } from '
|
|
8
|
-
import { BankElement, BankLibProps } from '
|
|
9
|
-
import { TaxElement, TaxLibProps } from '
|
|
10
|
-
import { SignInElement, SignInLibProps } from '
|
|
11
|
-
import { EntityElement, EntityLibProps } from '
|
|
12
|
-
import { BrandElement, BrandLibProps } from '
|
|
3
|
+
import { ConnectElement, ConnectLibProps } from '@features/connect';
|
|
4
|
+
import { ConnectExpressElement, ConnectExpressLibProps } from '@features/connectExpress';
|
|
5
|
+
import { BusinessElement, BusinessLibProps } from '@features/business';
|
|
6
|
+
import { PasswordElement, PasswordLibProps } from '@features/password';
|
|
7
|
+
import { IndividualElement, IndividualLibProps } from '@features/individual';
|
|
8
|
+
import { BankElement, BankLibProps } from '@features/bank';
|
|
9
|
+
import { TaxElement, TaxLibProps } from '@features/tax';
|
|
10
|
+
import { SignInElement, SignInLibProps } from '@features/signIn';
|
|
11
|
+
import { EntityElement, EntityLibProps } from '@features/entity';
|
|
12
|
+
import { BrandElement, BrandLibProps } from '@features/brand';
|
|
13
13
|
export type { ConnectLibProps, ConnectExpressLibProps, BusinessLibProps, PasswordLibProps, IndividualLibProps, BankLibProps, TaxLibProps, EntityLibProps, BrandLibProps, SignInLibProps };
|
|
14
14
|
export { ConnectElement, ConnectExpressElement, BusinessElement, PasswordElement, IndividualElement, BankElement, TaxElement, EntityElement, BrandElement, SignInElement };
|
package/build/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
import './i18n';
|
|
3
|
-
import { ConnectElement, renderConnectLib } from '
|
|
4
|
-
import { ConnectExpressElement, renderConnectExpressLib } from '
|
|
5
|
-
import { BusinessElement, renderBusinessLib } from '
|
|
6
|
-
import { PasswordElement, renderPasswordLib } from '
|
|
7
|
-
import { IndividualElement, renderIndividualLib } from '
|
|
8
|
-
import { BankElement, renderBankLib } from '
|
|
9
|
-
import { TaxElement, renderTaxLib } from '
|
|
10
|
-
import { SignInElement, renderSignInLib } from '
|
|
11
|
-
import { EntityElement, renderEntityLib } from '
|
|
12
|
-
import { BrandElement, renderBrandLib } from '
|
|
3
|
+
import { ConnectElement, renderConnectLib } from '@features/connect';
|
|
4
|
+
import { ConnectExpressElement, renderConnectExpressLib } from '@features/connectExpress';
|
|
5
|
+
import { BusinessElement, renderBusinessLib } from '@features/business';
|
|
6
|
+
import { PasswordElement, renderPasswordLib } from '@features/password';
|
|
7
|
+
import { IndividualElement, renderIndividualLib } from '@features/individual';
|
|
8
|
+
import { BankElement, renderBankLib } from '@features/bank';
|
|
9
|
+
import { TaxElement, renderTaxLib } from '@features/tax';
|
|
10
|
+
import { SignInElement, renderSignInLib } from '@features/signIn';
|
|
11
|
+
import { EntityElement, renderEntityLib } from '@features/entity';
|
|
12
|
+
import { BrandElement, renderBrandLib } from '@features/brand';
|
|
13
13
|
export { ConnectElement, ConnectExpressElement, BusinessElement, PasswordElement, IndividualElement, BankElement, TaxElement, EntityElement, BrandElement, SignInElement };
|
|
14
14
|
window['TapAuth'] = {
|
|
15
15
|
renderConnectLib: renderConnectLib,
|
package/build/theme/theme.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DirectionMode, ThemeMode } from '
|
|
1
|
+
import { DirectionMode, ThemeMode } from '@types';
|
|
2
2
|
export declare const appTheme: (mode: ThemeMode, isMobile: boolean, dir: DirectionMode) => import("@mui/material/styles").Theme;
|
package/build/utils/array.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivitiesIsIc, Activity, ActivityParams, CountryCode, SaleChannel } from '
|
|
1
|
+
import { ActivitiesIsIc, Activity, ActivityParams, CountryCode, SaleChannel, User } from '@types';
|
|
2
2
|
export declare const isArray: (value: any) => value is any[];
|
|
3
3
|
export declare const joinArray: (items: Array<any>, joiner?: string) => string;
|
|
4
4
|
export declare const replaceStringArrayItems: (items: Array<string>, include: string, withThis: string) => string[];
|
|
@@ -14,7 +14,7 @@ export declare const findCountryByIso2: (countries: Array<CountryCode>, iso2: st
|
|
|
14
14
|
export declare const findCurrencyByIso2: (code: string) => "" | "SAR" | "KD";
|
|
15
15
|
export declare const findCountryByIddPrefix: (countries: Array<CountryCode>, iddPrefix: string) => CountryCode | undefined;
|
|
16
16
|
export declare const mapSalesChannel: (salesChannel: Array<SaleChannel>) => {
|
|
17
|
-
sub?: import("
|
|
17
|
+
sub?: import("@types").SubSaleChannel[] | undefined;
|
|
18
18
|
address: string;
|
|
19
19
|
id: string;
|
|
20
20
|
code: string;
|
|
@@ -44,7 +44,7 @@ export declare const mapBrandSalesChannel: (salesChannel: Array<SaleChannel>, br
|
|
|
44
44
|
address?: string | undefined;
|
|
45
45
|
logo?: string | undefined;
|
|
46
46
|
} | {
|
|
47
|
-
sub?: import("
|
|
47
|
+
sub?: import("@types").SubSaleChannel[] | undefined;
|
|
48
48
|
id: string;
|
|
49
49
|
code: string;
|
|
50
50
|
name?: {
|
|
@@ -68,6 +68,7 @@ export declare const findInArrayOrSubArray: (items: Array<any>, value: string |
|
|
|
68
68
|
export declare const groupSectionWithSelectedActivitiesAtBeginning: (sections: Array<ActivitiesIsIc>, selectedActivities: Array<Activity>) => ActivitiesIsIc[];
|
|
69
69
|
export declare const filterActivitiesByName: (activityList: Array<ActivitiesIsIc>, value: string) => ActivityParams[];
|
|
70
70
|
export declare const mapUserList: (individuals: any) => any;
|
|
71
|
+
export declare const sortUserList: (list: Array<User>) => User[];
|
|
71
72
|
export declare const getIndividualType: (objects: Array<string>) => {
|
|
72
73
|
isUser: boolean;
|
|
73
74
|
isShareholder: boolean;
|
package/build/utils/array.js
CHANGED
|
@@ -19,7 +19,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
19
19
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
20
20
|
};
|
|
21
21
|
import get from 'lodash-es/get';
|
|
22
|
-
import { IndividualType } from '
|
|
22
|
+
import { IndividualType } from '@types';
|
|
23
23
|
export var isArray = function (value) { return Array.isArray(value); };
|
|
24
24
|
export var joinArray = function (items, joiner) {
|
|
25
25
|
if (joiner === void 0) { joiner = '__'; }
|
|
@@ -277,6 +277,11 @@ export var mapUserList = function (individuals) {
|
|
|
277
277
|
}, {});
|
|
278
278
|
});
|
|
279
279
|
};
|
|
280
|
+
export var sortUserList = function (list) {
|
|
281
|
+
if (!(list === null || list === void 0 ? void 0 : list.length))
|
|
282
|
+
return [];
|
|
283
|
+
return list.sort(function (a, b) { return a.names.en.first.localeCompare(b.names.en.first); });
|
|
284
|
+
};
|
|
280
285
|
export var getIndividualType = function (objects) {
|
|
281
286
|
var isUser = false, isShareholder = false, isBoardMember = false, isBuyer = false, isCustomer = false;
|
|
282
287
|
objects === null || objects === void 0 ? void 0 : objects.forEach(function (type) {
|
package/build/utils/locale.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { LocalProps } from '
|
|
1
|
+
import { LocalProps } from '@types';
|
|
2
2
|
export declare const updateLocale: (locale: LocalProps, country: string) => void;
|
package/build/utils/locale.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { initReactI18next } from 'react-i18next';
|
|
2
|
-
import i18n from '
|
|
2
|
+
import i18n from '@src/i18n';
|
|
3
3
|
export var updateLocale = function (locale, country) {
|
|
4
4
|
var data = locale['SA'] || locale[country.toUpperCase()] || locale['default'];
|
|
5
5
|
if (i18n.isInitialized) {
|
package/build/utils/object.js
CHANGED
package/build/utils/rsa.js
CHANGED
package/build/utils/string.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DeviceInfo, License, User } from '
|
|
1
|
+
import { DeviceInfo, License, User } from '@types';
|
|
2
2
|
export declare const maskPhone: (str?: string) => string;
|
|
3
3
|
export declare const shortenString: (str: string, length: number) => string;
|
|
4
4
|
export declare const maskID: (str: string) => string;
|
package/build/utils/string.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FlowsTypes } from '
|
|
2
|
-
import { concatenateObjectValues, encryptString } from '
|
|
3
|
-
import { removeAxiosGlobalHeaders } from '
|
|
4
|
-
import { ENDPOINT_PATHS, ICONS_FULL_PATH } from '
|
|
1
|
+
import { FlowsTypes } from '@types';
|
|
2
|
+
import { concatenateObjectValues, encryptString } from '@utils';
|
|
3
|
+
import { removeAxiosGlobalHeaders } from '@api';
|
|
4
|
+
import { ENDPOINT_PATHS, ICONS_FULL_PATH } from '@constants';
|
|
5
5
|
import moment from 'moment';
|
|
6
6
|
export var maskPhone = function (str) {
|
|
7
7
|
if (str === void 0) { str = ''; }
|