@tap-payments/auth-jsconnect 2.1.13-test → 2.1.14-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 +236 -0
- package/build/@types/app.js +35 -0
- package/build/@types/form.d.ts +94 -0
- package/build/@types/form.js +1 -0
- package/build/@types/index.d.ts +4 -0
- package/build/@types/index.js +4 -0
- package/build/@types/redux.d.ts +14 -0
- package/build/@types/redux.js +1 -0
- package/build/@types/theme.d.ts +14 -0
- package/build/@types/theme.js +15 -0
- package/build/api/account.d.ts +14 -0
- package/build/api/account.js +13 -0
- package/build/api/auth.d.ts +87 -0
- package/build/api/auth.js +56 -0
- package/build/api/availabilityServices.d.ts +20 -0
- package/build/api/availabilityServices.js +17 -0
- package/build/api/axios.d.ts +7 -0
- package/build/api/axios.js +110 -0
- package/build/api/board.d.ts +27 -0
- package/build/api/board.js +63 -0
- package/build/api/brand.d.ts +8 -0
- package/build/api/brand.js +49 -0
- package/build/api/country.d.ts +6 -0
- package/build/api/country.js +14 -0
- package/build/api/data.d.ts +41 -0
- package/build/api/data.js +76 -0
- package/build/api/entity.d.ts +103 -0
- package/build/api/entity.js +89 -0
- package/build/api/firebase.d.ts +4 -0
- package/build/api/firebase.js +14 -0
- package/build/api/index.d.ts +114 -0
- package/build/api/index.js +33 -0
- package/build/api/individual.d.ts +89 -0
- package/build/api/individual.js +39 -0
- package/build/api/ip.d.ts +4 -0
- package/build/api/ip.js +12 -0
- package/build/api/lead.d.ts +96 -0
- package/build/api/lead.js +52 -0
- package/build/api/operator.d.ts +12 -0
- package/build/api/operator.js +65 -0
- package/build/api/user.d.ts +8 -0
- package/build/api/user.js +12 -0
- package/build/app/rootReducer.d.ts +13 -0
- package/build/app/rootReducer.js +23 -0
- package/build/app/settings.d.ts +44 -0
- package/build/app/settings.js +257 -0
- package/build/app/store.d.ts +27 -0
- package/build/app/store.js +11 -0
- package/build/assets/locales/ar.json +336 -0
- package/build/assets/locales/en.json +363 -0
- package/build/components/AnimationFlow/AnimationFlow.d.ts +17 -0
- package/build/components/AnimationFlow/AnimationFlow.js +34 -0
- package/build/components/AnimationFlow/BottomSheet.d.ts +11 -0
- package/build/components/AnimationFlow/BottomSheet.js +86 -0
- package/build/components/AnimationFlow/Dialog.d.ts +15 -0
- package/build/components/AnimationFlow/Dialog.js +111 -0
- package/build/components/AnimationFlow/Error.d.ts +6 -0
- package/build/components/AnimationFlow/Error.js +32 -0
- package/build/components/AnimationFlow/Loader.d.ts +2 -0
- package/build/components/AnimationFlow/Loader.js +24 -0
- package/build/components/AnimationFlow/index.d.ts +2 -0
- package/build/components/AnimationFlow/index.js +2 -0
- package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +13 -0
- package/build/components/ArabicDatePicker/ArabicDatePicker.js +94 -0
- package/build/components/ArabicDatePicker/index.d.ts +2 -0
- package/build/components/ArabicDatePicker/index.js +2 -0
- package/build/components/ArabicDatePicker/style.css +24 -0
- package/build/components/Button/Button.d.ts +14 -0
- package/build/components/Button/Button.js +101 -0
- package/build/components/Button/index.d.ts +4 -0
- package/build/components/Button/index.js +2 -0
- package/build/components/CheckBox/CheckBox.d.ts +5 -0
- package/build/components/CheckBox/CheckBox.js +39 -0
- package/build/components/CheckBox/index.d.ts +4 -0
- package/build/components/CheckBox/index.js +2 -0
- package/build/components/Collapse/Collapse.d.ts +5 -0
- package/build/components/Collapse/Collapse.js +28 -0
- package/build/components/Collapse/index.d.ts +3 -0
- package/build/components/Collapse/index.js +2 -0
- package/build/components/DatePicker/DatePicker.d.ts +14 -0
- package/build/components/DatePicker/DatePicker.js +101 -0
- package/build/components/DatePicker/customStyle.css +86 -0
- package/build/components/DatePicker/index.d.ts +3 -0
- package/build/components/DatePicker/index.js +2 -0
- package/build/components/ExpandIcon/ExpandIcon.d.ts +7 -0
- package/build/components/ExpandIcon/ExpandIcon.js +24 -0
- package/build/components/ExpandIcon/index.d.ts +2 -0
- package/build/components/ExpandIcon/index.js +2 -0
- package/build/components/FileInput/DragAndDrop.d.ts +17 -0
- package/build/components/FileInput/DragAndDrop.js +136 -0
- package/build/components/FileInput/UploadInput.d.ts +7 -0
- package/build/components/FileInput/UploadInput.js +38 -0
- package/build/components/FileInput/index.d.ts +3 -0
- package/build/components/FileInput/index.js +3 -0
- package/build/components/Footer/Footer.d.ts +15 -0
- package/build/components/Footer/Footer.js +62 -0
- package/build/components/Footer/index.d.ts +4 -0
- package/build/components/Footer/index.js +2 -0
- package/build/components/Form/Form.d.ts +11 -0
- package/build/components/Form/Form.js +38 -0
- package/build/components/Form/index.d.ts +3 -0
- package/build/components/Form/index.js +2 -0
- package/build/components/Icon/Icon.d.ts +11 -0
- package/build/components/Icon/Icon.js +26 -0
- package/build/components/Icon/index.d.ts +3 -0
- package/build/components/Icon/index.js +2 -0
- package/build/components/Input/Input.d.ts +19 -0
- package/build/components/Input/Input.js +84 -0
- package/build/components/Input/index.d.ts +3 -0
- package/build/components/Input/index.js +2 -0
- package/build/components/InputAdornment/InputAdornment.d.ts +10 -0
- package/build/components/InputAdornment/InputAdornment.js +46 -0
- package/build/components/InputAdornment/index.d.ts +3 -0
- package/build/components/InputAdornment/index.js +2 -0
- package/build/components/List/List.d.ts +5 -0
- package/build/components/List/List.js +52 -0
- package/build/components/List/index.d.ts +3 -0
- package/build/components/List/index.js +2 -0
- package/build/components/ListItem/ListItem.d.ts +5 -0
- package/build/components/ListItem/ListItem.js +35 -0
- package/build/components/ListItem/index.d.ts +3 -0
- package/build/components/ListItem/index.js +2 -0
- package/build/components/Loader/Loader.d.ts +24 -0
- package/build/components/Loader/Loader.js +41 -0
- package/build/components/Loader/index.d.ts +4 -0
- package/build/components/Loader/index.js +2 -0
- package/build/components/LogoBadge/LogoBadge.d.ts +7 -0
- package/build/components/LogoBadge/LogoBadge.js +61 -0
- package/build/components/LogoBadge/index.d.ts +3 -0
- package/build/components/LogoBadge/index.js +2 -0
- package/build/components/Lottie/Lottie.d.ts +3675 -0
- package/build/components/Lottie/Lottie.js +62 -0
- package/build/components/Lottie/files/error.json +692 -0
- package/build/components/Lottie/files/start_loading.json +1140 -0
- package/build/components/Lottie/files/still_loading.json +1140 -0
- package/build/components/Lottie/files/success.json +425 -0
- package/build/components/Lottie/index.d.ts +3 -0
- package/build/components/Lottie/index.js +3 -0
- package/build/components/OTPField/OTPField.d.ts +18 -0
- package/build/components/OTPField/OTPField.js +45 -0
- package/build/components/OTPField/index.d.ts +4 -0
- package/build/components/OTPField/index.js +2 -0
- package/build/components/OTPTimer/OTPTimer.d.ts +14 -0
- package/build/components/OTPTimer/OTPTimer.js +70 -0
- package/build/components/OTPTimer/index.d.ts +4 -0
- package/build/components/OTPTimer/index.js +2 -0
- package/build/components/ProgressBar/CircularProgressBar.d.ts +14 -0
- package/build/components/ProgressBar/CircularProgressBar.js +48 -0
- package/build/components/ProgressBar/ProgressBar.d.ts +6 -0
- package/build/components/ProgressBar/ProgressBar.js +45 -0
- package/build/components/ProgressBar/index.d.ts +6 -0
- package/build/components/ProgressBar/index.js +4 -0
- package/build/components/Providers/ReduxProvider.d.ts +7 -0
- package/build/components/Providers/ReduxProvider.js +17 -0
- package/build/components/Providers/ThemeProvider.d.ts +8 -0
- package/build/components/Providers/ThemeProvider.js +22 -0
- package/build/components/Providers/index.d.ts +3 -0
- package/build/components/Providers/index.js +3 -0
- package/build/components/Radio/Radio.d.ts +5 -0
- package/build/components/Radio/Radio.js +31 -0
- package/build/components/Radio/index.d.ts +3 -0
- package/build/components/Radio/index.js +2 -0
- package/build/components/RadioGroup/RadioGroup.d.ts +5 -0
- package/build/components/RadioGroup/RadioGroup.js +41 -0
- package/build/components/RadioGroup/index.d.ts +3 -0
- package/build/components/RadioGroup/index.js +2 -0
- package/build/components/RadioLabel/RadioLabel.d.ts +10 -0
- package/build/components/RadioLabel/RadioLabel.js +34 -0
- package/build/components/RadioLabel/index.d.ts +3 -0
- package/build/components/RadioLabel/index.js +2 -0
- package/build/components/SimpleList/SimpleList.d.ts +18 -0
- package/build/components/SimpleList/SimpleList.js +104 -0
- package/build/components/SimpleList/index.d.ts +3 -0
- package/build/components/SimpleList/index.js +2 -0
- package/build/components/Slide/Slide.d.ts +6 -0
- package/build/components/Slide/Slide.js +30 -0
- package/build/components/Slide/index.d.ts +3 -0
- package/build/components/Slide/index.js +2 -0
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +11 -0
- package/build/components/SocialMediaGroup/SocialMediaGroup.js +34 -0
- package/build/components/SocialMediaGroup/index.d.ts +3 -0
- package/build/components/SocialMediaGroup/index.js +2 -0
- package/build/components/Text/Text.d.ts +5 -0
- package/build/components/Text/Text.js +35 -0
- package/build/components/Text/index.d.ts +3 -0
- package/build/components/Text/index.js +2 -0
- package/build/components/ToggleButton/ToggleButton.d.ts +5 -0
- package/build/components/ToggleButton/ToggleButton.js +44 -0
- package/build/components/ToggleButton/index.d.ts +3 -0
- package/build/components/ToggleButton/index.js +2 -0
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +5 -0
- package/build/components/ToggleButtonGroup/ToggleButtonGroup.js +37 -0
- package/build/components/ToggleButtonGroup/index.d.ts +3 -0
- package/build/components/ToggleButtonGroup/index.js +2 -0
- package/build/components/Tooltip/Tooltip.d.ts +10 -0
- package/build/components/Tooltip/Tooltip.js +44 -0
- package/build/components/Tooltip/index.d.ts +3 -0
- package/build/components/Tooltip/index.js +2 -0
- package/build/components/Warning/Warning.d.ts +13 -0
- package/build/components/Warning/Warning.js +53 -0
- package/build/components/Warning/index.d.ts +4 -0
- package/build/components/Warning/index.js +2 -0
- package/build/constants/api.d.ts +40 -0
- package/build/constants/api.js +79 -0
- package/build/constants/app.d.ts +171 -0
- package/build/constants/app.js +502 -0
- package/build/constants/assets.d.ts +92 -0
- package/build/constants/assets.js +92 -0
- package/build/constants/dummy.d.ts +328 -0
- package/build/constants/dummy.js +6436 -0
- package/build/constants/index.d.ts +5 -0
- package/build/constants/index.js +5 -0
- package/build/constants/validation.d.ts +25 -0
- package/build/constants/validation.js +25 -0
- package/build/features/app/auth/authStore.d.ts +46 -0
- package/build/features/app/auth/authStore.js +261 -0
- package/build/features/app/bank/bankStore.d.ts +76 -0
- package/build/features/app/bank/bankStore.js +472 -0
- package/build/features/app/business/businessStore.d.ts +128 -0
- package/build/features/app/business/businessStore.js +1183 -0
- package/build/features/app/connect/connectStore.d.ts +104 -0
- package/build/features/app/connect/connectStore.js +966 -0
- package/build/features/app/entity/entityStore.d.ts +85 -0
- package/build/features/app/entity/entityStore.js +690 -0
- package/build/features/app/individual/individualStore.d.ts +86 -0
- package/build/features/app/individual/individualStore.js +540 -0
- package/build/features/app/password/passwordStore.d.ts +84 -0
- package/build/features/app/password/passwordStore.js +532 -0
- package/build/features/app/signIn/signInStore.d.ts +33 -0
- package/build/features/app/signIn/signInStore.js +390 -0
- package/build/features/app/tax/taxStore.d.ts +46 -0
- package/build/features/app/tax/taxStore.js +385 -0
- package/build/features/auth/Auth.d.ts +10 -0
- package/build/features/auth/Auth.js +87 -0
- package/build/features/auth/index.d.ts +1 -0
- package/build/features/auth/index.js +1 -0
- package/build/features/auth/screens/NID/DOB.d.ts +7 -0
- package/build/features/auth/screens/NID/DOB.js +47 -0
- package/build/features/auth/screens/NID/IDNumber.d.ts +3 -0
- package/build/features/auth/screens/NID/IDNumber.js +64 -0
- package/build/features/auth/screens/NID/NID.d.ts +5 -0
- package/build/features/auth/screens/NID/NID.js +68 -0
- package/build/features/auth/screens/NID/TAC.d.ts +3 -0
- package/build/features/auth/screens/NID/TAC.js +87 -0
- package/build/features/auth/screens/NID/index.d.ts +3 -0
- package/build/features/auth/screens/NID/index.js +2 -0
- package/build/features/auth/screens/NID/validation.d.ts +27 -0
- package/build/features/auth/screens/NID/validation.js +19 -0
- package/build/features/auth/screens/OTP/OTP.d.ts +5 -0
- package/build/features/auth/screens/OTP/OTP.js +76 -0
- package/build/features/auth/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/auth/screens/OTP/OTPInput.js +51 -0
- package/build/features/auth/screens/OTP/index.d.ts +3 -0
- package/build/features/auth/screens/OTP/index.js +2 -0
- package/build/features/auth/screens/OTP/validation.d.ts +8 -0
- package/build/features/auth/screens/OTP/validation.js +4 -0
- package/build/features/bank/Bank.d.ts +7 -0
- package/build/features/bank/Bank.js +69 -0
- package/build/features/bank/index.d.ts +1 -0
- package/build/features/bank/index.js +1 -0
- package/build/features/bank/screens/BankDetails/BankDetails.d.ts +5 -0
- package/build/features/bank/screens/BankDetails/BankDetails.js +86 -0
- package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -0
- package/build/features/bank/screens/BankDetails/BankName.js +60 -0
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +6 -0
- package/build/features/bank/screens/BankDetails/BankStatement.js +67 -0
- package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +5 -0
- package/build/features/bank/screens/BankDetails/Beneficiary.js +50 -0
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -0
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +67 -0
- package/build/features/bank/screens/BankDetails/IBAN.d.ts +7 -0
- package/build/features/bank/screens/BankDetails/IBAN.js +100 -0
- package/build/features/bank/screens/BankDetails/index.d.ts +3 -0
- package/build/features/bank/screens/BankDetails/index.js +2 -0
- package/build/features/bank/screens/BankDetails/validation.d.ts +45 -0
- package/build/features/bank/screens/BankDetails/validation.js +56 -0
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
- package/build/features/bank/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/bank/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/bank/screens/Success/Success.d.ts +5 -0
- package/build/features/bank/screens/Success/Success.js +20 -0
- package/build/features/bank/screens/Success/index.d.ts +3 -0
- package/build/features/bank/screens/Success/index.js +2 -0
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +114 -0
- package/build/features/bank/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/bank/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/bank/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/bank/screens/Verify/OTPInput.js +47 -0
- package/build/features/bank/screens/Verify/Verify.d.ts +5 -0
- package/build/features/bank/screens/Verify/Verify.js +78 -0
- package/build/features/bank/screens/Verify/index.d.ts +2 -0
- package/build/features/bank/screens/Verify/index.js +2 -0
- package/build/features/bank/screens/Verify/validation.d.ts +8 -0
- package/build/features/bank/screens/Verify/validation.js +4 -0
- package/build/features/business/Business.d.ts +7 -0
- package/build/features/business/Business.js +70 -0
- package/build/features/business/index.d.ts +1 -0
- package/build/features/business/index.js +1 -0
- package/build/features/business/screens/Activities/Activities.d.ts +5 -0
- package/build/features/business/screens/Activities/Activities.js +77 -0
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +90 -0
- package/build/features/business/screens/Activities/ActivitiesList.js +170 -0
- package/build/features/business/screens/Activities/LicenseName.d.ts +5 -0
- package/build/features/business/screens/Activities/LicenseName.js +30 -0
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +20 -0
- package/build/features/business/screens/Activities/OperationStartDate.js +45 -0
- package/build/features/business/screens/Activities/index.d.ts +3 -0
- package/build/features/business/screens/Activities/index.js +2 -0
- package/build/features/business/screens/Activities/validation.d.ts +56 -0
- package/build/features/business/screens/Activities/validation.js +11 -0
- package/build/features/business/screens/BusinessType/Article.d.ts +6 -0
- package/build/features/business/screens/BusinessType/Article.js +89 -0
- package/build/features/business/screens/BusinessType/BusinessType.d.ts +5 -0
- package/build/features/business/screens/BusinessType/BusinessType.js +79 -0
- package/build/features/business/screens/BusinessType/EntityName.d.ts +6 -0
- package/build/features/business/screens/BusinessType/EntityName.js +56 -0
- package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +6 -0
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +81 -0
- package/build/features/business/screens/BusinessType/LicenseList.d.ts +8 -0
- package/build/features/business/screens/BusinessType/LicenseList.js +148 -0
- package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +7 -0
- package/build/features/business/screens/BusinessType/LicenseNumber.js +52 -0
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +34 -0
- package/build/features/business/screens/BusinessType/LicenseType.js +107 -0
- package/build/features/business/screens/BusinessType/SelectType.d.ts +8 -0
- package/build/features/business/screens/BusinessType/SelectType.js +106 -0
- package/build/features/business/screens/BusinessType/Switch.d.ts +7 -0
- package/build/features/business/screens/BusinessType/Switch.js +35 -0
- package/build/features/business/screens/BusinessType/index.d.ts +3 -0
- package/build/features/business/screens/BusinessType/index.js +2 -0
- package/build/features/business/screens/BusinessType/validation.d.ts +30 -0
- package/build/features/business/screens/BusinessType/validation.js +90 -0
- package/build/features/business/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/business/screens/CivilID/CivilID.js +67 -0
- package/build/features/business/screens/CivilID/IDNumber.d.ts +7 -0
- package/build/features/business/screens/CivilID/IDNumber.js +59 -0
- package/build/features/business/screens/CivilID/index.d.ts +3 -0
- package/build/features/business/screens/CivilID/index.js +2 -0
- package/build/features/business/screens/CivilID/validation.d.ts +8 -0
- package/build/features/business/screens/CivilID/validation.js +4 -0
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +82 -0
- package/build/features/business/screens/Customers/CustomerLocations.js +144 -0
- package/build/features/business/screens/Customers/Customers.d.ts +5 -0
- package/build/features/business/screens/Customers/Customers.js +90 -0
- package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +8 -0
- package/build/features/business/screens/Customers/ExpectedCustomers.js +98 -0
- package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +8 -0
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +127 -0
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +36 -0
- package/build/features/business/screens/Customers/RefundPolicy.js +84 -0
- package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -0
- package/build/features/business/screens/Customers/TransactionPolicy.js +44 -0
- package/build/features/business/screens/Customers/index.d.ts +3 -0
- package/build/features/business/screens/Customers/index.js +2 -0
- package/build/features/business/screens/Customers/validation.d.ts +20 -0
- package/build/features/business/screens/Customers/validation.js +13 -0
- package/build/features/business/screens/IDBOD/DOB.d.ts +6 -0
- package/build/features/business/screens/IDBOD/DOB.js +45 -0
- package/build/features/business/screens/IDBOD/ID.d.ts +5 -0
- package/build/features/business/screens/IDBOD/ID.js +28 -0
- package/build/features/business/screens/IDBOD/IDBOD.d.ts +5 -0
- package/build/features/business/screens/IDBOD/IDBOD.js +68 -0
- package/build/features/business/screens/IDBOD/index.d.ts +3 -0
- package/build/features/business/screens/IDBOD/index.js +2 -0
- package/build/features/business/screens/IDBOD/validation.d.ts +11 -0
- package/build/features/business/screens/IDBOD/validation.js +9 -0
- package/build/features/business/screens/OTP/OTP.d.ts +8 -0
- package/build/features/business/screens/OTP/OTP.js +90 -0
- package/build/features/business/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/business/screens/OTP/OTPInput.js +46 -0
- package/build/features/business/screens/OTP/index.d.ts +3 -0
- package/build/features/business/screens/OTP/index.js +2 -0
- package/build/features/business/screens/OTP/validation.d.ts +8 -0
- package/build/features/business/screens/OTP/validation.js +4 -0
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
- package/build/features/business/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/business/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/business/screens/Success/Success.d.ts +5 -0
- package/build/features/business/screens/Success/Success.js +23 -0
- package/build/features/business/screens/Success/index.d.ts +3 -0
- package/build/features/business/screens/Success/index.js +2 -0
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +113 -0
- package/build/features/business/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/business/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/business/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/business/screens/Verify/OTPInput.js +47 -0
- package/build/features/business/screens/Verify/Verify.d.ts +5 -0
- package/build/features/business/screens/Verify/Verify.js +78 -0
- package/build/features/business/screens/Verify/index.d.ts +2 -0
- package/build/features/business/screens/Verify/index.js +2 -0
- package/build/features/business/screens/Verify/validation.d.ts +8 -0
- package/build/features/business/screens/Verify/validation.js +4 -0
- package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/business/screens/VerifyPACI/VerifyPACI.js +34 -0
- package/build/features/business/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/business/screens/VerifyPACI/index.js +2 -0
- package/build/features/connect/Connect.d.ts +8 -0
- package/build/features/connect/Connect.js +84 -0
- package/build/features/connect/index.d.ts +1 -0
- package/build/features/connect/index.js +1 -0
- package/build/features/connect/screens/CivilID/CivilID.d.ts +5 -0
- package/build/features/connect/screens/CivilID/CivilID.js +102 -0
- package/build/features/connect/screens/CivilID/IDNumber.d.ts +7 -0
- package/build/features/connect/screens/CivilID/IDNumber.js +59 -0
- package/build/features/connect/screens/CivilID/index.d.ts +3 -0
- package/build/features/connect/screens/CivilID/index.js +2 -0
- package/build/features/connect/screens/CivilID/validation.d.ts +8 -0
- package/build/features/connect/screens/CivilID/validation.js +4 -0
- package/build/features/connect/screens/Individual/Email.d.ts +8 -0
- package/build/features/connect/screens/Individual/Email.js +116 -0
- package/build/features/connect/screens/Individual/Individual.d.ts +5 -0
- package/build/features/connect/screens/Individual/Individual.js +104 -0
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +10 -0
- package/build/features/connect/screens/Individual/MobileNumber.js +152 -0
- package/build/features/connect/screens/Individual/Name.d.ts +6 -0
- package/build/features/connect/screens/Individual/Name.js +48 -0
- package/build/features/connect/screens/Individual/index.d.ts +3 -0
- package/build/features/connect/screens/Individual/index.js +2 -0
- package/build/features/connect/screens/Individual/validation.d.ts +24 -0
- package/build/features/connect/screens/Individual/validation.js +41 -0
- package/build/features/connect/screens/Merchant/BrandList.d.ts +10 -0
- package/build/features/connect/screens/Merchant/BrandList.js +93 -0
- package/build/features/connect/screens/Merchant/BrandName.d.ts +8 -0
- package/build/features/connect/screens/Merchant/BrandName.js +142 -0
- package/build/features/connect/screens/Merchant/Merchant.d.ts +5 -0
- package/build/features/connect/screens/Merchant/Merchant.js +92 -0
- package/build/features/connect/screens/Merchant/SalesChannels.d.ts +5 -0
- package/build/features/connect/screens/Merchant/SalesChannels.js +41 -0
- package/build/features/connect/screens/Merchant/TAC.d.ts +6 -0
- package/build/features/connect/screens/Merchant/TAC.js +86 -0
- package/build/features/connect/screens/Merchant/index.d.ts +3 -0
- package/build/features/connect/screens/Merchant/index.js +2 -0
- package/build/features/connect/screens/Merchant/validation.d.ts +32 -0
- package/build/features/connect/screens/Merchant/validation.js +130 -0
- package/build/features/connect/screens/Mobile/Mobile.d.ts +5 -0
- package/build/features/connect/screens/Mobile/Mobile.js +133 -0
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +12 -0
- package/build/features/connect/screens/Mobile/MobileNumber.js +154 -0
- package/build/features/connect/screens/Mobile/Title.d.ts +8 -0
- package/build/features/connect/screens/Mobile/Title.js +29 -0
- package/build/features/connect/screens/Mobile/index.d.ts +3 -0
- package/build/features/connect/screens/Mobile/index.js +2 -0
- package/build/features/connect/screens/Mobile/validation.d.ts +8 -0
- package/build/features/connect/screens/Mobile/validation.js +28 -0
- package/build/features/connect/screens/NID/DOB.d.ts +6 -0
- package/build/features/connect/screens/NID/DOB.js +47 -0
- package/build/features/connect/screens/NID/IDNumber.d.ts +6 -0
- package/build/features/connect/screens/NID/IDNumber.js +60 -0
- package/build/features/connect/screens/NID/NID.d.ts +5 -0
- package/build/features/connect/screens/NID/NID.js +94 -0
- package/build/features/connect/screens/NID/index.d.ts +3 -0
- package/build/features/connect/screens/NID/index.js +2 -0
- package/build/features/connect/screens/NID/validation.d.ts +11 -0
- package/build/features/connect/screens/NID/validation.js +9 -0
- package/build/features/connect/screens/OTP/OTP.d.ts +5 -0
- package/build/features/connect/screens/OTP/OTP.js +94 -0
- package/build/features/connect/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/connect/screens/OTP/OTPInput.js +54 -0
- package/build/features/connect/screens/OTP/index.d.ts +3 -0
- package/build/features/connect/screens/OTP/index.js +2 -0
- package/build/features/connect/screens/OTP/validation.d.ts +8 -0
- package/build/features/connect/screens/OTP/validation.js +4 -0
- package/build/features/connect/screens/ThankYou/ThankYou.d.ts +5 -0
- package/build/features/connect/screens/ThankYou/ThankYou.js +16 -0
- package/build/features/connect/screens/ThankYou/index.d.ts +3 -0
- package/build/features/connect/screens/ThankYou/index.js +2 -0
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
- package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +95 -0
- package/build/features/connect/screens/VerifyPACI/index.d.ts +3 -0
- package/build/features/connect/screens/VerifyPACI/index.js +2 -0
- package/build/features/entity/Entity.d.ts +7 -0
- package/build/features/entity/Entity.js +70 -0
- package/build/features/entity/index.d.ts +1 -0
- package/build/features/entity/index.js +1 -0
- package/build/features/entity/screens/Customers/CustomerLocations.d.ts +118 -0
- package/build/features/entity/screens/Customers/CustomerLocations.js +171 -0
- package/build/features/entity/screens/Customers/Customers.d.ts +5 -0
- package/build/features/entity/screens/Customers/Customers.js +90 -0
- package/build/features/entity/screens/Customers/ExpectedCustomers.d.ts +8 -0
- package/build/features/entity/screens/Customers/ExpectedCustomers.js +98 -0
- package/build/features/entity/screens/Customers/ExpectedSalesRange.d.ts +8 -0
- package/build/features/entity/screens/Customers/ExpectedSalesRange.js +127 -0
- package/build/features/entity/screens/Customers/RefundPolicy.d.ts +36 -0
- package/build/features/entity/screens/Customers/RefundPolicy.js +84 -0
- package/build/features/entity/screens/Customers/TransactionPolicy.d.ts +3 -0
- package/build/features/entity/screens/Customers/TransactionPolicy.js +44 -0
- package/build/features/entity/screens/Customers/index.d.ts +3 -0
- package/build/features/entity/screens/Customers/index.js +2 -0
- package/build/features/entity/screens/Customers/validation.d.ts +20 -0
- package/build/features/entity/screens/Customers/validation.js +13 -0
- package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +55 -0
- package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +149 -0
- package/build/features/entity/screens/EntityInfoConfirm/Article.d.ts +3 -0
- package/build/features/entity/screens/EntityInfoConfirm/Article.js +76 -0
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +5 -0
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +84 -0
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +5 -0
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +32 -0
- package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.d.ts +6 -0
- package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +57 -0
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +6 -0
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +33 -0
- package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +2 -0
- package/build/features/entity/screens/EntityInfoConfirm/index.js +2 -0
- package/build/features/entity/screens/EntityInfoConfirm/validation.d.ts +141 -0
- package/build/features/entity/screens/EntityInfoConfirm/validation.js +83 -0
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
- package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/entity/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/entity/screens/Success/Success.d.ts +5 -0
- package/build/features/entity/screens/Success/Success.js +20 -0
- package/build/features/entity/screens/Success/index.d.ts +3 -0
- package/build/features/entity/screens/Success/index.js +2 -0
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +116 -0
- package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/entity/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/entity/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/entity/screens/Verify/OTPInput.js +47 -0
- package/build/features/entity/screens/Verify/Verify.d.ts +5 -0
- package/build/features/entity/screens/Verify/Verify.js +91 -0
- package/build/features/entity/screens/Verify/index.d.ts +2 -0
- package/build/features/entity/screens/Verify/index.js +2 -0
- package/build/features/entity/screens/Verify/validation.d.ts +8 -0
- package/build/features/entity/screens/Verify/validation.js +4 -0
- package/build/features/featuresScreens.d.ts +10 -0
- package/build/features/featuresScreens.js +254 -0
- package/build/features/individual/Individual.d.ts +7 -0
- package/build/features/individual/Individual.js +70 -0
- package/build/features/individual/index.d.ts +1 -0
- package/build/features/individual/index.js +1 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +8 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +94 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +10 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +92 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.d.ts +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +46 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +49 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +10 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +107 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +10 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +97 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +34 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +68 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +10 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +89 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/index.d.ts +3 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/index.js +2 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +25 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +24 -0
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
- package/build/features/individual/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/individual/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.d.ts +19 -0
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +52 -0
- package/build/features/individual/screens/ShowIndividualInfo/index.d.ts +3 -0
- package/build/features/individual/screens/ShowIndividualInfo/index.js +2 -0
- package/build/features/individual/screens/ShowIndividualInfo/info.d.ts +7 -0
- package/build/features/individual/screens/ShowIndividualInfo/info.js +28 -0
- package/build/features/individual/screens/Success/Success.d.ts +5 -0
- package/build/features/individual/screens/Success/Success.js +20 -0
- package/build/features/individual/screens/Success/index.d.ts +3 -0
- package/build/features/individual/screens/Success/index.js +2 -0
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +114 -0
- package/build/features/individual/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/individual/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/individual/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/individual/screens/Verify/OTPInput.js +47 -0
- package/build/features/individual/screens/Verify/Verify.d.ts +5 -0
- package/build/features/individual/screens/Verify/Verify.js +91 -0
- package/build/features/individual/screens/Verify/index.d.ts +2 -0
- package/build/features/individual/screens/Verify/index.js +2 -0
- package/build/features/individual/screens/Verify/validation.d.ts +8 -0
- package/build/features/individual/screens/Verify/validation.js +4 -0
- package/build/features/password/Password.d.ts +7 -0
- package/build/features/password/Password.js +77 -0
- package/build/features/password/index.d.ts +1 -0
- package/build/features/password/index.js +1 -0
- package/build/features/password/screens/CreatePassword/ConditionText.d.ts +7 -0
- package/build/features/password/screens/CreatePassword/ConditionText.js +23 -0
- package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +8 -0
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +22 -0
- package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +5 -0
- package/build/features/password/screens/CreatePassword/CreatePassword.js +73 -0
- package/build/features/password/screens/CreatePassword/Password.d.ts +5 -0
- package/build/features/password/screens/CreatePassword/Password.js +76 -0
- package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +7 -0
- package/build/features/password/screens/CreatePassword/PasswordBar.js +29 -0
- package/build/features/password/screens/CreatePassword/index.d.ts +3 -0
- package/build/features/password/screens/CreatePassword/index.js +2 -0
- package/build/features/password/screens/CreatePassword/validation.d.ts +11 -0
- package/build/features/password/screens/CreatePassword/validation.js +8 -0
- package/build/features/password/screens/OTP/OTP.d.ts +8 -0
- package/build/features/password/screens/OTP/OTP.js +91 -0
- package/build/features/password/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/password/screens/OTP/OTPInput.js +46 -0
- package/build/features/password/screens/OTP/index.d.ts +3 -0
- package/build/features/password/screens/OTP/index.js +2 -0
- package/build/features/password/screens/OTP/validation.d.ts +8 -0
- package/build/features/password/screens/OTP/validation.js +4 -0
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
- package/build/features/password/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/password/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/password/screens/Success/Success.d.ts +5 -0
- package/build/features/password/screens/Success/Success.js +26 -0
- package/build/features/password/screens/Success/index.d.ts +3 -0
- package/build/features/password/screens/Success/index.js +2 -0
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +114 -0
- package/build/features/password/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/password/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/password/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/password/screens/Verify/OTPInput.js +47 -0
- package/build/features/password/screens/Verify/Verify.d.ts +5 -0
- package/build/features/password/screens/Verify/Verify.js +91 -0
- package/build/features/password/screens/Verify/index.d.ts +2 -0
- package/build/features/password/screens/Verify/index.js +2 -0
- package/build/features/password/screens/Verify/validation.d.ts +8 -0
- package/build/features/password/screens/Verify/validation.js +4 -0
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +7 -0
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +65 -0
- package/build/features/shared/AcceptancePayouts/index.d.ts +2 -0
- package/build/features/shared/AcceptancePayouts/index.js +2 -0
- package/build/features/shared/Background/Background.d.ts +12 -0
- package/build/features/shared/Background/Background.js +41 -0
- package/build/features/shared/Background/LogoBackground.d.ts +3 -0
- package/build/features/shared/Background/LogoBackground.js +42 -0
- package/build/features/shared/Background/index.d.ts +2 -0
- package/build/features/shared/Background/index.js +2 -0
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +3 -0
- package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.js +31 -0
- package/build/features/shared/BouncingDotsLoader/index.d.ts +2 -0
- package/build/features/shared/BouncingDotsLoader/index.js +2 -0
- package/build/features/shared/Button/AbsherButton.d.ts +8 -0
- package/build/features/shared/Button/AbsherButton.js +46 -0
- package/build/features/shared/Button/Button.d.ts +12 -0
- package/build/features/shared/Button/Button.js +102 -0
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +14 -0
- package/build/features/shared/Button/EmailProvidersButtons.js +67 -0
- package/build/features/shared/Button/FlowsButtons.d.ts +25 -0
- package/build/features/shared/Button/FlowsButtons.js +219 -0
- package/build/features/shared/Button/MobileButton.d.ts +9 -0
- package/build/features/shared/Button/MobileButton.js +44 -0
- package/build/features/shared/Button/SuccessButton.d.ts +9 -0
- package/build/features/shared/Button/SuccessButton.js +86 -0
- package/build/features/shared/Button/index.d.ts +8 -0
- package/build/features/shared/Button/index.js +8 -0
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -0
- package/build/features/shared/CheckIcon/CheckIcon.js +14 -0
- package/build/features/shared/CheckIcon/index.d.ts +2 -0
- package/build/features/shared/CheckIcon/index.js +2 -0
- package/build/features/shared/ClearIcon/ClearIcon.d.ts +6 -0
- package/build/features/shared/ClearIcon/ClearIcon.js +26 -0
- package/build/features/shared/ClearIcon/index.d.ts +2 -0
- package/build/features/shared/ClearIcon/index.js +2 -0
- package/build/features/shared/Containers/FeatureContainer.d.ts +4 -0
- package/build/features/shared/Containers/FeatureContainer.js +36 -0
- package/build/features/shared/Containers/ScreenContainer.d.ts +4 -0
- package/build/features/shared/Containers/ScreenContainer.js +29 -0
- package/build/features/shared/Containers/index.d.ts +3 -0
- package/build/features/shared/Containers/index.js +3 -0
- package/build/features/shared/Dialog/CloseDialog.d.ts +11 -0
- package/build/features/shared/Dialog/CloseDialog.js +71 -0
- package/build/features/shared/Dialog/DialogContainer.d.ts +8 -0
- package/build/features/shared/Dialog/DialogContainer.js +56 -0
- package/build/features/shared/Dialog/index.d.ts +4 -0
- package/build/features/shared/Dialog/index.js +4 -0
- package/build/features/shared/Footer/Footer.d.ts +2 -0
- package/build/features/shared/Footer/Footer.js +20 -0
- package/build/features/shared/Footer/index.d.ts +2 -0
- package/build/features/shared/Footer/index.js +2 -0
- package/build/features/shared/Input/Input.d.ts +26 -0
- package/build/features/shared/Input/Input.js +56 -0
- package/build/features/shared/Input/index.d.ts +2 -0
- package/build/features/shared/Input/index.js +2 -0
- package/build/features/shared/Mandatory/Mandatory.d.ts +2 -0
- package/build/features/shared/Mandatory/Mandatory.js +20 -0
- package/build/features/shared/Mandatory/index.d.ts +2 -0
- package/build/features/shared/Mandatory/index.js +2 -0
- package/build/features/shared/OTP/OTP.d.ts +10 -0
- package/build/features/shared/OTP/OTP.js +93 -0
- package/build/features/shared/OTP/index.d.ts +2 -0
- package/build/features/shared/OTP/index.js +2 -0
- package/build/features/shared/PaciVerification/PaciVerification.d.ts +12 -0
- package/build/features/shared/PaciVerification/PaciVerification.js +91 -0
- package/build/features/shared/PaciVerification/VerifyPACILoading.d.ts +7 -0
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +13 -0
- package/build/features/shared/PaciVerification/VerifyPACISuccess.d.ts +5 -0
- package/build/features/shared/PaciVerification/VerifyPACISuccess.js +8 -0
- package/build/features/shared/PaciVerification/index.d.ts +2 -0
- package/build/features/shared/PaciVerification/index.js +2 -0
- package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +8 -0
- package/build/features/shared/PasswordIcon/PasswordIcon.js +37 -0
- package/build/features/shared/PasswordIcon/index.d.ts +2 -0
- package/build/features/shared/PasswordIcon/index.js +2 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +11 -0
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +100 -0
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +10 -0
- package/build/features/shared/SalesChannels/SalesChannel.js +132 -0
- package/build/features/shared/SalesChannels/index.d.ts +2 -0
- package/build/features/shared/SalesChannels/index.js +2 -0
- package/build/features/shared/Search/Search.d.ts +7 -0
- package/build/features/shared/Search/Search.js +13 -0
- package/build/features/shared/Search/index.d.ts +2 -0
- package/build/features/shared/Search/index.js +2 -0
- package/build/features/shared/SearchIcon/SearchIcon.d.ts +6 -0
- package/build/features/shared/SearchIcon/SearchIcon.js +26 -0
- package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +12 -0
- package/build/features/shared/SuccessScreen/SuccessScreen.js +62 -0
- package/build/features/shared/SuccessScreen/index.d.ts +2 -0
- package/build/features/shared/SuccessScreen/index.js +2 -0
- package/build/features/shared/UploadFile/UploadFile.d.ts +29 -0
- package/build/features/shared/UploadFile/UploadFile.js +91 -0
- package/build/features/shared/UploadFile/index.d.ts +2 -0
- package/build/features/shared/UploadFile/index.js +2 -0
- package/build/features/signIn/SignIn.d.ts +7 -0
- package/build/features/signIn/SignIn.js +57 -0
- package/build/features/signIn/index.d.ts +1 -0
- package/build/features/signIn/index.js +1 -0
- package/build/features/signIn/screens/Email/Email.d.ts +5 -0
- package/build/features/signIn/screens/Email/Email.js +97 -0
- package/build/features/signIn/screens/Email/EmailField.d.ts +5 -0
- package/build/features/signIn/screens/Email/EmailField.js +55 -0
- package/build/features/signIn/screens/Email/index.d.ts +3 -0
- package/build/features/signIn/screens/Email/index.js +2 -0
- package/build/features/signIn/screens/Email/validation.d.ts +8 -0
- package/build/features/signIn/screens/Email/validation.js +5 -0
- package/build/features/signIn/screens/Mobile/Mobile.d.ts +5 -0
- package/build/features/signIn/screens/Mobile/Mobile.js +110 -0
- package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +11 -0
- package/build/features/signIn/screens/Mobile/MobileNumber.js +151 -0
- package/build/features/signIn/screens/Mobile/index.d.ts +3 -0
- package/build/features/signIn/screens/Mobile/index.js +2 -0
- package/build/features/signIn/screens/Mobile/validation.d.ts +8 -0
- package/build/features/signIn/screens/Mobile/validation.js +28 -0
- package/build/features/signIn/screens/OTP/OTP.d.ts +5 -0
- package/build/features/signIn/screens/OTP/OTP.js +93 -0
- package/build/features/signIn/screens/OTP/OTPInput.d.ts +5 -0
- package/build/features/signIn/screens/OTP/OTPInput.js +53 -0
- package/build/features/signIn/screens/OTP/index.d.ts +3 -0
- package/build/features/signIn/screens/OTP/index.js +2 -0
- package/build/features/signIn/screens/OTP/validation.d.ts +8 -0
- package/build/features/signIn/screens/OTP/validation.js +4 -0
- package/build/features/signIn/screens/Password/Password.d.ts +5 -0
- package/build/features/signIn/screens/Password/Password.js +67 -0
- package/build/features/signIn/screens/Password/PasswordInput.d.ts +5 -0
- package/build/features/signIn/screens/Password/PasswordInput.js +28 -0
- package/build/features/signIn/screens/Password/index.d.ts +3 -0
- package/build/features/signIn/screens/Password/index.js +2 -0
- package/build/features/signIn/screens/Password/validation.d.ts +8 -0
- package/build/features/signIn/screens/Password/validation.js +4 -0
- package/build/features/tax/Tax.d.ts +7 -0
- package/build/features/tax/Tax.js +71 -0
- package/build/features/tax/index.d.ts +1 -0
- package/build/features/tax/index.js +1 -0
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
- package/build/features/tax/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/tax/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/tax/screens/Success/Success.d.ts +5 -0
- package/build/features/tax/screens/Success/Success.js +22 -0
- package/build/features/tax/screens/Success/index.d.ts +3 -0
- package/build/features/tax/screens/Success/index.js +2 -0
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +114 -0
- package/build/features/tax/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/tax/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -0
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +66 -0
- package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +5 -0
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +63 -0
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -0
- package/build/features/tax/screens/TaxDetails/VATId.js +37 -0
- package/build/features/tax/screens/TaxDetails/index.d.ts +3 -0
- package/build/features/tax/screens/TaxDetails/index.js +2 -0
- package/build/features/tax/screens/TaxDetails/validation.d.ts +11 -0
- package/build/features/tax/screens/TaxDetails/validation.js +5 -0
- package/build/features/tax/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/tax/screens/Verify/OTPInput.js +47 -0
- package/build/features/tax/screens/Verify/Verify.d.ts +5 -0
- package/build/features/tax/screens/Verify/Verify.js +91 -0
- package/build/features/tax/screens/Verify/index.d.ts +2 -0
- package/build/features/tax/screens/Verify/index.js +2 -0
- package/build/features/tax/screens/Verify/validation.d.ts +8 -0
- package/build/features/tax/screens/Verify/validation.js +4 -0
- package/build/hooks/index.d.ts +15 -0
- package/build/hooks/index.js +15 -0
- package/build/hooks/useAppConfig.d.ts +8 -0
- package/build/hooks/useAppConfig.js +61 -0
- package/build/hooks/useAppDispatch.d.ts +12 -0
- package/build/hooks/useAppDispatch.js +2 -0
- package/build/hooks/useAppSelector.d.ts +3 -0
- package/build/hooks/useAppSelector.js +2 -0
- package/build/hooks/useAppTheme.d.ts +4 -0
- package/build/hooks/useAppTheme.js +15 -0
- package/build/hooks/useContainerDimensions.d.ts +4 -0
- package/build/hooks/useContainerDimensions.js +21 -0
- package/build/hooks/useCountUp.d.ts +9 -0
- package/build/hooks/useCountUp.js +17 -0
- package/build/hooks/useErrorListener.d.ts +1 -0
- package/build/hooks/useErrorListener.js +12 -0
- package/build/hooks/useEventListener.d.ts +5 -0
- package/build/hooks/useEventListener.js +20 -0
- package/build/hooks/useLanguage.d.ts +4 -0
- package/build/hooks/useLanguage.js +8 -0
- package/build/hooks/useRedirectionListener.d.ts +4 -0
- package/build/hooks/useRedirectionListener.js +12 -0
- package/build/hooks/useScreen.d.ts +3 -0
- package/build/hooks/useScreen.js +14 -0
- package/build/hooks/useSetFromDefaultValues.d.ts +2 -0
- package/build/hooks/useSetFromDefaultValues.js +24 -0
- package/build/hooks/useStepStartedListener.d.ts +1 -0
- package/build/hooks/useStepStartedListener.js +10 -0
- package/build/hooks/useThemeMode.d.ts +4 -0
- package/build/hooks/useThemeMode.js +7 -0
- package/build/hooks/useWindowSize.d.ts +6 -0
- package/build/hooks/useWindowSize.js +19 -0
- package/build/i18n.d.ts +2 -0
- package/build/i18n.js +34 -0
- package/build/index.css +140 -0
- package/build/index.d.ts +13 -0
- package/build/index.js +33 -0
- package/build/theme/components.d.ts +2 -0
- package/build/theme/components.js +19 -0
- package/build/theme/index.d.ts +1 -0
- package/build/theme/index.js +1 -0
- package/build/theme/palette.d.ts +3 -0
- package/build/theme/palette.js +68 -0
- package/build/theme/shadows.d.ts +2 -0
- package/build/theme/shadows.js +27 -0
- package/build/theme/theme.d.ts +2 -0
- package/build/theme/theme.js +43 -0
- package/build/theme/typography.d.ts +2 -0
- package/build/theme/typography.js +31 -0
- package/build/utils/array.d.ts +63 -0
- package/build/utils/array.js +140 -0
- package/build/utils/common.d.ts +1 -0
- package/build/utils/common.js +3 -0
- package/build/utils/date.d.ts +1 -0
- package/build/utils/date.js +5 -0
- package/build/utils/device.d.ts +5 -0
- package/build/utils/device.js +26 -0
- package/build/utils/html.d.ts +5 -0
- package/build/utils/html.js +32 -0
- package/build/utils/index.d.ts +11 -0
- package/build/utils/index.js +11 -0
- package/build/utils/locale.d.ts +2 -0
- package/build/utils/locale.js +22 -0
- package/build/utils/object.d.ts +5 -0
- package/build/utils/object.js +35 -0
- package/build/utils/rsa.d.ts +2 -0
- package/build/utils/rsa.js +19 -0
- package/build/utils/storage.d.ts +5 -0
- package/build/utils/storage.js +21 -0
- package/build/utils/string.d.ts +58 -0
- package/build/utils/string.js +260 -0
- package/build/utils/style.d.ts +1 -0
- package/build/utils/style.js +1 -0
- package/build/utils/validation.d.ts +17 -0
- package/build/utils/validation.js +51 -0
- package/package.json +1 -1
- package/build/index.html +0 -1
- package/build/main.css +0 -1
- package/build/main.js +0 -155
- package/build/main.js.LICENSE.txt +0 -114
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
import { useAppDispatch } from '../../../../hooks';
|
|
15
|
+
import Box from '@mui/material/Box/Box';
|
|
16
|
+
import { styled } from '@mui/material/styles';
|
|
17
|
+
import OTPField from '../../../shared/OTP';
|
|
18
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
19
|
+
import { useTranslation } from 'react-i18next';
|
|
20
|
+
import { DEFAULT_TIMER_VALUE } from '../../../../constants';
|
|
21
|
+
import { resendOTP } from '../../../app/password/passwordStore';
|
|
22
|
+
var BoxStyled = styled(Box)(function (_a) {
|
|
23
|
+
var theme = _a.theme;
|
|
24
|
+
return ({
|
|
25
|
+
display: 'flex',
|
|
26
|
+
flexDirection: 'column',
|
|
27
|
+
fontFamily: theme.typography.fontFamily
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
var OTPInput = function (_a) {
|
|
31
|
+
var loading = _a.loading;
|
|
32
|
+
var _b = useFormContext(), control = _b.control, setValue = _b.setValue;
|
|
33
|
+
var t = useTranslation().t;
|
|
34
|
+
var otpControl = useController({ name: 'otp', control: control });
|
|
35
|
+
var dispatch = useAppDispatch();
|
|
36
|
+
var handleOnOTPChange = function (otp) {
|
|
37
|
+
otpControl.field.onChange(otp);
|
|
38
|
+
};
|
|
39
|
+
var handleOnResendOTP = function () {
|
|
40
|
+
if (otpControl.field.value)
|
|
41
|
+
setValue('otp', '', { shouldValidate: true });
|
|
42
|
+
dispatch(resendOTP());
|
|
43
|
+
};
|
|
44
|
+
var otpValue = otpControl.field.value;
|
|
45
|
+
return (_jsx(BoxStyled, __assign({ dir: 'ltr' }, { children: _jsx(OTPField, { loading: loading, timeEndLabel: t('ide_otp_resend_label'), timerInSeconds: DEFAULT_TIMER_VALUE, onResetClick: handleOnResendOTP, value: otpValue, onChange: function (number) { return handleOnOTPChange(number.toString()); } }) })));
|
|
46
|
+
};
|
|
47
|
+
export default React.memo(OTPInput);
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import * as React from 'react';
|
|
25
|
+
import { useAppDispatch, useSetFromDefaultValues } from '../../../../hooks';
|
|
26
|
+
import { useTranslation } from 'react-i18next';
|
|
27
|
+
import { useForm, FormProvider } from 'react-hook-form';
|
|
28
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
29
|
+
import Box from '@mui/material/Box/Box';
|
|
30
|
+
import { styled } from '@mui/material/styles';
|
|
31
|
+
import { handlePrevScreenStep } from '../../../../app/settings';
|
|
32
|
+
import { useLanguage, useAppSelector } from '../../../../hooks';
|
|
33
|
+
import { maskPhone } from '../../../../utils';
|
|
34
|
+
import Form from '../../../../components/Form';
|
|
35
|
+
import Text from '../../../../components/Text';
|
|
36
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
37
|
+
import { passwordSelector, clearError, resetOTPScreen, verifyPasswordLeadOTP } from '../../../app/password/passwordStore';
|
|
38
|
+
import Button from '../../../shared/Button';
|
|
39
|
+
import { OTPValidation } from './validation';
|
|
40
|
+
import OTPInput from './OTPInput';
|
|
41
|
+
var OTPTitleContainerStyled = styled(Box)(function (_a) {
|
|
42
|
+
var theme = _a.theme;
|
|
43
|
+
return ({
|
|
44
|
+
background: theme.palette.common.white,
|
|
45
|
+
border: '1px solid',
|
|
46
|
+
borderColor: theme.palette.divider,
|
|
47
|
+
direction: theme.direction,
|
|
48
|
+
borderRadius: theme.spacing(0, 0, 1.25, 1.25),
|
|
49
|
+
marginBottom: theme.spacing(5.75)
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
var OTPTitleStyled = styled(Text)(function (_a) {
|
|
53
|
+
var theme = _a.theme;
|
|
54
|
+
return (__assign(__assign({}, theme.typography.body1), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightLight, marginBlock: theme.spacing(1.75), marginInlineStart: theme.spacing(2.5), lineHeight: 1.75 }));
|
|
55
|
+
});
|
|
56
|
+
var FormStyled = styled(Form)(function () { return ({
|
|
57
|
+
display: 'flex',
|
|
58
|
+
flexDirection: 'column'
|
|
59
|
+
}); });
|
|
60
|
+
var VerifyNumber = function (_a) {
|
|
61
|
+
var _b, _c, _d;
|
|
62
|
+
var dispatch = useAppDispatch();
|
|
63
|
+
var _e = useAppSelector(passwordSelector), data = _e.data, loading = _e.loading, error = _e.error;
|
|
64
|
+
var _f = data.otpData, responseBody = _f.responseBody, defaultValues = __rest(_f, ["responseBody"]);
|
|
65
|
+
var methods = useForm({
|
|
66
|
+
resolver: yupResolver(OTPValidation),
|
|
67
|
+
defaultValues: defaultValues,
|
|
68
|
+
mode: 'onChange'
|
|
69
|
+
});
|
|
70
|
+
useSetFromDefaultValues(methods, defaultValues);
|
|
71
|
+
var t = useTranslation().t;
|
|
72
|
+
var isAr = useLanguage().isAr;
|
|
73
|
+
var _g = React.useState(false), resendLoading = _g[0], setResendLoading = _g[1];
|
|
74
|
+
var phone = (_d = (_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.contact) === null || _c === void 0 ? void 0 : _c.phone) === null || _d === void 0 ? void 0 : _d.number;
|
|
75
|
+
React.useEffect(function () {
|
|
76
|
+
if (error && methods.formState.isValid && phone)
|
|
77
|
+
dispatch(clearError());
|
|
78
|
+
return function () {
|
|
79
|
+
dispatch(resetOTPScreen());
|
|
80
|
+
};
|
|
81
|
+
}, [methods.formState.isValid]);
|
|
82
|
+
var onSubmit = function (formData) {
|
|
83
|
+
dispatch(verifyPasswordLeadOTP(formData));
|
|
84
|
+
};
|
|
85
|
+
var onBack = function () {
|
|
86
|
+
dispatch(handlePrevScreenStep());
|
|
87
|
+
};
|
|
88
|
+
var disabled = !methods.formState.isValid || !!error || !phone || resendLoading;
|
|
89
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(OTPTitleContainerStyled, { children: _jsxs(OTPTitleStyled, { children: [loading ? t('ide_otp_waiting_title') : t('ide_opt_sent_title'), !loading && phone && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, { loading: resendLoading, setLoading: setResendLoading }), _jsx(Button, __assign({ disableBack: true, onBackClicked: function () { return onBack(); }, disabled: disabled || resendLoading, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
|
|
90
|
+
};
|
|
91
|
+
export default React.memo(VerifyNumber);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as yup from 'yup';
|
|
2
|
+
export declare const OTPValidation: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
3
|
+
otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
4
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
5
|
+
otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
6
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
7
|
+
otp: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
8
|
+
}>>>;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { alpha, styled } from '@mui/material/styles';
|
|
14
|
+
import Box from '@mui/material/Box';
|
|
15
|
+
import Icon from '../../../components/Icon';
|
|
16
|
+
import Text from '../../../components/Text';
|
|
17
|
+
import { ICONS_NAMES } from '../../../constants';
|
|
18
|
+
import { useTranslation } from 'react-i18next';
|
|
19
|
+
import { useLanguage } from '../../../hooks';
|
|
20
|
+
var BoxStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'enabled'; } })(function (_a) {
|
|
21
|
+
var _b;
|
|
22
|
+
var theme = _a.theme, enabled = _a.enabled, isAr = _a.isAr;
|
|
23
|
+
return (_b = {
|
|
24
|
+
backgroundColor: enabled ? alpha(theme.palette.success.main, 0.1) : alpha(theme.palette.text.primary, 0.05),
|
|
25
|
+
color: enabled ? theme.palette.success.main : alpha(theme.palette.text.primary, 0.6),
|
|
26
|
+
borderRadius: theme.spacing(12.625),
|
|
27
|
+
padding: theme.spacing(0.6, 1, 0.7, 1),
|
|
28
|
+
display: 'flex',
|
|
29
|
+
minHeight: theme.spacing(3.125),
|
|
30
|
+
minWidth: isAr ? theme.spacing(19.3) : theme.spacing(14.5),
|
|
31
|
+
alignItems: 'center'
|
|
32
|
+
},
|
|
33
|
+
_b[theme.breakpoints.down('sm')] = {
|
|
34
|
+
minWidth: theme.spacing(14.5)
|
|
35
|
+
},
|
|
36
|
+
_b);
|
|
37
|
+
});
|
|
38
|
+
var TextStyled = styled(Text)(function (_a) {
|
|
39
|
+
var theme = _a.theme;
|
|
40
|
+
return (__assign(__assign({}, theme.typography.subtitle2), { fontWeight: theme.typography.fontWeightMedium, lineHeight: theme.spacing(2.125) }));
|
|
41
|
+
});
|
|
42
|
+
var TextContainer = styled(Box)(function (_a) {
|
|
43
|
+
var theme = _a.theme;
|
|
44
|
+
return ({
|
|
45
|
+
display: 'flex',
|
|
46
|
+
alignItems: 'center',
|
|
47
|
+
width: '100%',
|
|
48
|
+
justifyContent: 'center',
|
|
49
|
+
paddingInlineStart: theme.spacing(0.6)
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
var IconStyled = styled(Icon)(function (_a) {
|
|
53
|
+
var theme = _a.theme;
|
|
54
|
+
return ({
|
|
55
|
+
width: theme.spacing(2),
|
|
56
|
+
height: theme.spacing(2)
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
var AcceptancePayouts = function (_a) {
|
|
60
|
+
var showAcceptance = _a.showAcceptance, showPayout = _a.showPayout;
|
|
61
|
+
var t = useTranslation().t;
|
|
62
|
+
var isAr = useLanguage().isAr;
|
|
63
|
+
return (_jsxs(Box, __assign({ sx: { display: 'flex' } }, { children: [_jsxs(BoxStyled, __assign({ isAr: isAr, enabled: showAcceptance, sx: { marginInlineEnd: '10px' } }, { children: [_jsx(IconStyled, { src: showAcceptance ? ICONS_NAMES.SUCCESS : ICONS_NAMES.UNFINISHED }), _jsx(TextContainer, { children: _jsxs(TextStyled, { children: [t('acceptance_btn_text'), " "] }) })] })), _jsxs(BoxStyled, __assign({ isAr: isAr, enabled: showPayout }, { children: [_jsx(IconStyled, { src: showPayout ? ICONS_NAMES.SUCCESS : ICONS_NAMES.UNFINISHED }), _jsx(TextContainer, { children: _jsxs(TextStyled, { children: [t('payouts_btn_text'), " "] }) })] }))] })));
|
|
64
|
+
};
|
|
65
|
+
export default AcceptancePayouts;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
interface BackgroundProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
hideLogo?: boolean;
|
|
7
|
+
sx?: SxProps<Theme>;
|
|
8
|
+
open: boolean;
|
|
9
|
+
isTapOrigin: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: React.MemoExoticComponent<({ children, isTapOrigin, loading, hideLogo, sx, open }: BackgroundProps) => JSX.Element>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { memo } from 'react';
|
|
14
|
+
import { styled } from '@mui/material/styles';
|
|
15
|
+
import Box from '@mui/material/Box';
|
|
16
|
+
import LogoBackground from './LogoBackground';
|
|
17
|
+
import { BACKGROUND_ID } from '../../../constants';
|
|
18
|
+
import { useScreen } from '../../../hooks';
|
|
19
|
+
var BackgroundStyled = styled(Box, {
|
|
20
|
+
shouldForwardProp: function (prop) { return !['isTapOrigin', 'open', 'isSmall'].includes(prop); }
|
|
21
|
+
})(function (_a) {
|
|
22
|
+
var isTapOrigin = _a.isTapOrigin, open = _a.open, isSmall = _a.isSmall;
|
|
23
|
+
return ({
|
|
24
|
+
width: '100vw',
|
|
25
|
+
height: '100vh',
|
|
26
|
+
zIndex: isSmall ? 'auto' : 999,
|
|
27
|
+
position: 'absolute',
|
|
28
|
+
background: !open
|
|
29
|
+
? 'inherit'
|
|
30
|
+
: isTapOrigin
|
|
31
|
+
? 'linear-gradient(180deg, #98ABAF 0%, #D9D6CC 100%)'
|
|
32
|
+
: 'rgba(0, 0, 0, 0.5)'
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
var Background = function (_a) {
|
|
36
|
+
var children = _a.children, isTapOrigin = _a.isTapOrigin, loading = _a.loading, hideLogo = _a.hideLogo, sx = _a.sx, open = _a.open;
|
|
37
|
+
var showLogo = !loading && isTapOrigin;
|
|
38
|
+
var small = useScreen().small;
|
|
39
|
+
return (_jsxs(BackgroundStyled, __assign({ id: BACKGROUND_ID, isSmall: small, isTapOrigin: isTapOrigin, sx: sx, open: open }, { children: [showLogo && !hideLogo && _jsx(LogoBackground, {}), children] })));
|
|
40
|
+
};
|
|
41
|
+
export default memo(Background);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
|
+
import Box from '@mui/material/Box';
|
|
5
|
+
import Icon from '../../../components/Icon';
|
|
6
|
+
import { ICONS_NAMES } from '../../../constants';
|
|
7
|
+
import { useLanguage } from '../../../hooks';
|
|
8
|
+
var BoxStyled = styled(Box)(function (_a) {
|
|
9
|
+
var _b;
|
|
10
|
+
var theme = _a.theme;
|
|
11
|
+
return (_b = {
|
|
12
|
+
display: 'flex',
|
|
13
|
+
flexDirection: 'column',
|
|
14
|
+
justifyContent: 'center',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
paddingTop: theme.spacing(5)
|
|
17
|
+
},
|
|
18
|
+
_b[theme.breakpoints.down('sm')] = {
|
|
19
|
+
paddingTop: theme.spacing(11)
|
|
20
|
+
},
|
|
21
|
+
_b);
|
|
22
|
+
});
|
|
23
|
+
var LogoBadgeStyled = styled(Icon)(function (_a) {
|
|
24
|
+
var theme = _a.theme;
|
|
25
|
+
return ({
|
|
26
|
+
height: theme.spacing(8.875),
|
|
27
|
+
width: theme.spacing(8.875)
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
var LogoIconStyled = styled(Icon)(function (_a) {
|
|
31
|
+
var theme = _a.theme;
|
|
32
|
+
return ({
|
|
33
|
+
width: theme.spacing(5.875),
|
|
34
|
+
height: theme.spacing(3.625),
|
|
35
|
+
marginTop: theme.spacing(2.5)
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
var LogoBackground = function () {
|
|
39
|
+
var isAr = useLanguage().isAr;
|
|
40
|
+
return (_jsxs(BoxStyled, { children: [_jsx(LogoBadgeStyled, { src: ICONS_NAMES.TAP_LOGO_EN_ICON }), _jsx(LogoIconStyled, { src: isAr ? ICONS_NAMES.TAP_LOGO_TEXT_AR : ICONS_NAMES.TAP_LOGO_TEXT_EN, alt: 'tap logo' })] }));
|
|
41
|
+
};
|
|
42
|
+
export default memo(LogoBackground);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { styled } from '@mui/material/styles';
|
|
3
|
+
import Box from '@mui/material/Box';
|
|
4
|
+
var BoxStyled = styled(Box)(function () { return ({
|
|
5
|
+
display: 'flex',
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
'@keyframes bouncing-loader': {
|
|
8
|
+
to: {
|
|
9
|
+
opacity: 0.1
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}); });
|
|
13
|
+
var DotStyled = styled(Box)(function () { return ({
|
|
14
|
+
width: 16,
|
|
15
|
+
height: 16,
|
|
16
|
+
margin: '0 6px 0 6px',
|
|
17
|
+
borderRadius: '50%',
|
|
18
|
+
backgroundColor: '#a3a1a1',
|
|
19
|
+
opacity: 1,
|
|
20
|
+
animation: 'bouncing-loader 0.6s infinite alternate',
|
|
21
|
+
'&:nth-of-type(2)': {
|
|
22
|
+
animationDelay: '0.2s'
|
|
23
|
+
},
|
|
24
|
+
'&:nth-of-type(3)': {
|
|
25
|
+
animationDelay: '0.4s'
|
|
26
|
+
}
|
|
27
|
+
}); });
|
|
28
|
+
var BouncingDotsLoader = function () {
|
|
29
|
+
return (_jsxs(BoxStyled, { children: [_jsx(DotStyled, {}), _jsx(DotStyled, {}), _jsx(DotStyled, {})] }));
|
|
30
|
+
};
|
|
31
|
+
export default BouncingDotsLoader;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from '../../../components/Button';
|
|
3
|
+
interface AbsherButtonProps extends ButtonProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
hideIcon?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export default function AbsherButton({ children, hideIcon, disabled, ...props }: AbsherButtonProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
+
import Button from '../../../components/Button';
|
|
25
|
+
import Icon from '../../../components/Icon';
|
|
26
|
+
import { styled, useTheme } from '@mui/material/styles';
|
|
27
|
+
import Box from '@mui/material/Box';
|
|
28
|
+
import { ICONS_NAMES } from '../../../constants';
|
|
29
|
+
var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'disabled'; } })(function (_a) {
|
|
30
|
+
var theme = _a.theme, disabled = _a.disabled;
|
|
31
|
+
return (__assign({ width: theme.spacing(3), height: theme.spacing(3), marginInlineStart: theme.spacing(0.75) }, (disabled && {
|
|
32
|
+
opacity: 0.3
|
|
33
|
+
})));
|
|
34
|
+
});
|
|
35
|
+
var ButtonBoxStyled = styled(Box)(function (_a) {
|
|
36
|
+
var theme = _a.theme;
|
|
37
|
+
return ({
|
|
38
|
+
margin: theme.spacing(0, 2.5, 2.5, 2.5)
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
export default function AbsherButton(_a) {
|
|
42
|
+
var children = _a.children, hideIcon = _a.hideIcon, disabled = _a.disabled, props = __rest(_a, ["children", "hideIcon", "disabled"]);
|
|
43
|
+
var theme = useTheme();
|
|
44
|
+
var btnColor = theme.palette.primary.light;
|
|
45
|
+
return (_jsx(ButtonBoxStyled, { children: _jsx(Button, __assign({ outLineColor: btnColor, variant: 'outlined', disabled: disabled, type: 'button', startIcon: !hideIcon && _jsx(IconStyled, { disabled: disabled, src: ICONS_NAMES.ABSHER_LOGO }) }, props, { children: children })) }));
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from '../../../components/Button';
|
|
3
|
+
export interface CustomButtonProps extends ButtonProps {
|
|
4
|
+
isAr: boolean;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
disableBack?: boolean;
|
|
7
|
+
disableNextIcon?: boolean;
|
|
8
|
+
onBackClicked?: () => void;
|
|
9
|
+
error?: string;
|
|
10
|
+
hideError?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export default function CustomButton({ children, disabled, isAr, loading, disableBack, onBackClicked, error, hideError, disableNextIcon, ...props }: CustomButtonProps): JSX.Element;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import React, { Fragment } from 'react';
|
|
25
|
+
import Button from '../../../components/Button';
|
|
26
|
+
import Icon from '../../../components/Icon';
|
|
27
|
+
import { styled } from '@mui/material/styles';
|
|
28
|
+
import Loader from '../../../components/Loader';
|
|
29
|
+
import { ICONS_NAMES } from '../../../constants';
|
|
30
|
+
import Warning from '../../../components/Warning';
|
|
31
|
+
import Collapse from '../../../components/Collapse';
|
|
32
|
+
import Box from '@mui/material/Box';
|
|
33
|
+
import Text from '../../../components/Text';
|
|
34
|
+
var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
|
35
|
+
var theme = _a.theme, isAr = _a.isAr;
|
|
36
|
+
return ({
|
|
37
|
+
width: theme.spacing(3),
|
|
38
|
+
height: theme.spacing(3),
|
|
39
|
+
transform: isAr ? 'scaleX(-1)' : 'scaleX(1)',
|
|
40
|
+
marginInlineEnd: theme.spacing(-0.375)
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
var BackIconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
|
44
|
+
var theme = _a.theme, isAr = _a.isAr;
|
|
45
|
+
return ({
|
|
46
|
+
width: theme.spacing(3),
|
|
47
|
+
height: theme.spacing(3),
|
|
48
|
+
transform: isAr ? 'scaleX(1)' : 'scaleX(-1)',
|
|
49
|
+
marginInlineStart: theme.spacing(-1)
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
var ButtonBoxStyled = styled(Box)(function (_a) {
|
|
53
|
+
var theme = _a.theme;
|
|
54
|
+
return ({
|
|
55
|
+
margin: theme.spacing(0, 2.5, 2.5, 2.5),
|
|
56
|
+
marginBlockStart: theme.spacing(5),
|
|
57
|
+
maxHeight: theme.spacing(5.375),
|
|
58
|
+
display: 'flex',
|
|
59
|
+
alignItems: 'center',
|
|
60
|
+
justifyContent: 'center'
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
var ButtonStyled = styled(Button, {
|
|
64
|
+
shouldForwardProp: function (prop) { return prop !== 'isBack' && prop !== 'isLoading'; }
|
|
65
|
+
})(function (_a) {
|
|
66
|
+
var theme = _a.theme, isBack = _a.isBack, isLoading = _a.isLoading;
|
|
67
|
+
return (__assign({ paddingInlineStart: theme.spacing(2.5), marginInlineStart: isBack ? theme.spacing(-5) : theme.spacing(0), paddingLeft: isLoading ? 8 : 'auto', paddingRight: isLoading ? 8 : 'auto', textTransform: 'none', transition: theme.transitions.create(['width', 'padding'], {
|
|
68
|
+
easing: theme.transitions.easing.easeInOut,
|
|
69
|
+
duration: theme.transitions.duration.complex * 2
|
|
70
|
+
}) }, (isLoading && {
|
|
71
|
+
minWidth: 0,
|
|
72
|
+
width: theme.spacing(6),
|
|
73
|
+
borderRadius: 30
|
|
74
|
+
})));
|
|
75
|
+
});
|
|
76
|
+
var BackButtonStyled = styled(Button, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
|
77
|
+
var theme = _a.theme, isAr = _a.isAr;
|
|
78
|
+
return ({
|
|
79
|
+
minWidth: theme.spacing(5),
|
|
80
|
+
paddingInlineStart: theme.spacing(2.5),
|
|
81
|
+
width: '10%',
|
|
82
|
+
zIndex: 1,
|
|
83
|
+
borderRadius: isAr ? theme.spacing(0, 4.1, 4.1, 0) : theme.spacing(4.1, 0, 0, 4.1)
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
export default function CustomButton(_a) {
|
|
87
|
+
var children = _a.children, disabled = _a.disabled, isAr = _a.isAr, loading = _a.loading, disableBack = _a.disableBack, onBackClicked = _a.onBackClicked, error = _a.error, hideError = _a.hideError, disableNextIcon = _a.disableNextIcon, props = __rest(_a, ["children", "disabled", "isAr", "loading", "disableBack", "onBackClicked", "error", "hideError", "disableNextIcon"]);
|
|
88
|
+
var _b = React.useState(false), btnLoading = _b[0], setBtnLoading = _b[1];
|
|
89
|
+
var isBackEnabled = !disableBack && !btnLoading;
|
|
90
|
+
React.useEffect(function () {
|
|
91
|
+
if (loading)
|
|
92
|
+
setBtnLoading(true);
|
|
93
|
+
if (error)
|
|
94
|
+
setBtnLoading(false);
|
|
95
|
+
}, [loading, error]);
|
|
96
|
+
React.useEffect(function () {
|
|
97
|
+
setBtnLoading(false);
|
|
98
|
+
}, []);
|
|
99
|
+
return (_jsxs(Fragment, { children: [_jsx(Collapse, __assign({ in: !!error && !hideError }, { children: _jsx(Warning, __assign({ sx: { mb: 1 }, warningType: 'error' }, { children: error })) })), _jsxs(ButtonBoxStyled, { children: [isBackEnabled && (_jsx(BackButtonStyled, __assign({ onClick: function () { return onBackClicked === null || onBackClicked === void 0 ? void 0 : onBackClicked(); }, isAr: isAr, type: 'reset', startIcon: _jsx(BackIconStyled, { isAr: isAr, src: ICONS_NAMES.WHITE_ARROW }) }, props))), _jsx(ButtonStyled, __assign({ disabled: disabled, isLoading: btnLoading, type: !btnLoading ? 'submit' : 'button', isBack: isBackEnabled, endIcon: btnLoading === false
|
|
100
|
+
? !disableNextIcon && _jsx(IconStyled, { isAr: isAr, src: ICONS_NAMES.WHITE_ARROW })
|
|
101
|
+
: undefined }, props, { children: !btnLoading ? (_jsxs(Text, __assign({ sx: { marginInlineEnd: isBackEnabled ? '-24px' : '-15px' } }, { children: [" ", children] }))) : (_jsx(Loader, { innerColor: 'white', outerColor: 'white', size: 15, toggleAnimation: !!loading })) }))] })] }));
|
|
102
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonProps } from '../../../components/Button';
|
|
3
|
+
declare type buttonProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
href: string;
|
|
6
|
+
};
|
|
7
|
+
export interface EmailProvidersButtonsProps extends ButtonProps {
|
|
8
|
+
gmail: buttonProps;
|
|
9
|
+
outlook: buttonProps;
|
|
10
|
+
apple: buttonProps;
|
|
11
|
+
mail: buttonProps;
|
|
12
|
+
}
|
|
13
|
+
export default function EmailProvidersButtons({ gmail, outlook, apple, mail }: EmailProvidersButtonsProps): JSX.Element;
|
|
14
|
+
export {};
|