@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,73 @@
|
|
|
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 { useForm, FormProvider } from 'react-hook-form';
|
|
26
|
+
import { useTranslation } from 'react-i18next';
|
|
27
|
+
import { yupResolver } from '@hookform/resolvers/yup';
|
|
28
|
+
import Box from '@mui/material/Box';
|
|
29
|
+
import { styled } from '@mui/material/styles';
|
|
30
|
+
import { useAppDispatch, useSetFromDefaultValues } from '../../../../hooks';
|
|
31
|
+
import { handleCurrentActiveScreen, handleNextScreenStep } from '../../../../app/settings';
|
|
32
|
+
import Form from '../../../../components/Form';
|
|
33
|
+
import { useLanguage } from '../../../../hooks';
|
|
34
|
+
import { PASSWORD_OPERATION_TYPE } from '../../../../constants';
|
|
35
|
+
import ScreenContainer from '../../../shared/Containers/ScreenContainer';
|
|
36
|
+
import Button from '../../../shared/Button';
|
|
37
|
+
import { PasswordValidation } from './validation';
|
|
38
|
+
import Password from './Password';
|
|
39
|
+
import { createPassword, passwordSelector, storePasswordScreen } from '../../../app/password/passwordStore';
|
|
40
|
+
import { useSelector } from 'react-redux';
|
|
41
|
+
var InputsContainerStyled = styled(Box)(function (_a) {
|
|
42
|
+
var theme = _a.theme;
|
|
43
|
+
return ({
|
|
44
|
+
paddingBottom: theme.spacing(5)
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
var CreatePassword = function (_a) {
|
|
48
|
+
var t = useTranslation().t;
|
|
49
|
+
var isAr = useLanguage().isAr;
|
|
50
|
+
var dispatch = useAppDispatch();
|
|
51
|
+
var _b = useSelector(passwordSelector), data = _b.data, loading = _b.loading, error = _b.error;
|
|
52
|
+
var operationType = data.verify.operationType;
|
|
53
|
+
var _c = data.passwordData, responseBody = _c.responseBody, defaultValues = __rest(_c, ["responseBody"]);
|
|
54
|
+
var methods = useForm({
|
|
55
|
+
resolver: yupResolver(PasswordValidation),
|
|
56
|
+
defaultValues: defaultValues,
|
|
57
|
+
mode: 'onChange'
|
|
58
|
+
});
|
|
59
|
+
useSetFromDefaultValues(methods, defaultValues);
|
|
60
|
+
var onSubmit = function (data) {
|
|
61
|
+
if (operationType === PASSWORD_OPERATION_TYPE.RESET_PASSWORD) {
|
|
62
|
+
dispatch(storePasswordScreen(data));
|
|
63
|
+
dispatch(handleNextScreenStep('PASSWORD_RESET_PASSWORD_OTP_STEP'));
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
dispatch(createPassword(data));
|
|
67
|
+
};
|
|
68
|
+
var onBack = function () {
|
|
69
|
+
dispatch(handleCurrentActiveScreen('PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'));
|
|
70
|
+
};
|
|
71
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(Form, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(InputsContainerStyled, { children: _jsx(Password, {}) }), _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, isAr: isAr, disableBack: true, disabled: !methods.formState.isValid, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
|
|
72
|
+
};
|
|
73
|
+
export default React.memo(CreatePassword);
|
|
@@ -0,0 +1,76 @@
|
|
|
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 * as React from 'react';
|
|
14
|
+
import { useTranslation } from 'react-i18next';
|
|
15
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
16
|
+
import { styled } from '@mui/material/styles';
|
|
17
|
+
import Box from '@mui/material/Box';
|
|
18
|
+
import ScreenContainer from '../../../shared/Containers/ScreenContainer';
|
|
19
|
+
import Input from '../../../shared/Input';
|
|
20
|
+
import PasswordIcon from '../../../shared/PasswordIcon';
|
|
21
|
+
import { PasswordMatchLength, isPasswordHasUpperLetter, isPasswordHasLowerLetter, isPasswordHasSpecialLetter } from '../../../../utils';
|
|
22
|
+
import Collapse from '../../../../components/Collapse';
|
|
23
|
+
import Text from '../../../../components/Text';
|
|
24
|
+
import List from '@mui/material/List';
|
|
25
|
+
import PasswordBar from './PasswordBar';
|
|
26
|
+
import ConditionText from './ConditionText';
|
|
27
|
+
import ConfirmPassword from './ConfirmPassword';
|
|
28
|
+
var BarBoxStyled = styled(Box)(function () { return ({
|
|
29
|
+
display: 'flex',
|
|
30
|
+
justifyContent: 'center'
|
|
31
|
+
}); });
|
|
32
|
+
var ListStyled = styled(List)(function (_a) {
|
|
33
|
+
var theme = _a.theme;
|
|
34
|
+
return ({
|
|
35
|
+
marginInlineStart: theme.spacing(2.5)
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
var TextStyled = styled(Text)(function (_a) {
|
|
39
|
+
var theme = _a.theme;
|
|
40
|
+
return (__assign(__assign({ marginBottom: theme.spacing(2.5), marginTop: theme.spacing(1.875) }, theme.typography.caption), { color: theme.palette.text.secondary, paddingInline: theme.spacing(2.5) }));
|
|
41
|
+
});
|
|
42
|
+
var Password = function (_a) {
|
|
43
|
+
var _b;
|
|
44
|
+
var t = useTranslation().t;
|
|
45
|
+
var control = useFormContext().control;
|
|
46
|
+
var _c = React.useState(false), showPassword = _c[0], setShowPassword = _c[1];
|
|
47
|
+
var passwordControl = useController({ control: control, name: 'password' });
|
|
48
|
+
var _d = React.useState(false), isPasswordMatchLength = _d[0], setIsPasswordMatchLength = _d[1];
|
|
49
|
+
var _e = React.useState(false), isPasswordHasUpper = _e[0], setIsPasswordHasUpper = _e[1];
|
|
50
|
+
var _f = React.useState(false), isPasswordHasLower = _f[0], setIsPasswordHasLower = _f[1];
|
|
51
|
+
var _g = React.useState(false), isPasswordHasSpecial = _g[0], setIsPasswordHasSpecial = _g[1];
|
|
52
|
+
var handlePasswordChange = function (_a) {
|
|
53
|
+
var target = _a.target;
|
|
54
|
+
passwordControl.field.onChange(target.value);
|
|
55
|
+
setIsPasswordMatchLength(PasswordMatchLength(target.value));
|
|
56
|
+
setIsPasswordHasUpper(isPasswordHasUpperLetter(target.value));
|
|
57
|
+
setIsPasswordHasLower(isPasswordHasLowerLetter(target.value));
|
|
58
|
+
setIsPasswordHasSpecial(isPasswordHasSpecialLetter(target.value));
|
|
59
|
+
};
|
|
60
|
+
var handleShowPassword = function () {
|
|
61
|
+
setShowPassword(true);
|
|
62
|
+
};
|
|
63
|
+
var handleHidePassword = function () {
|
|
64
|
+
setShowPassword(false);
|
|
65
|
+
};
|
|
66
|
+
var passwordValue = passwordControl.field.value;
|
|
67
|
+
var passwordConditions = [
|
|
68
|
+
PasswordMatchLength(passwordValue),
|
|
69
|
+
isPasswordHasUpperLetter(passwordValue),
|
|
70
|
+
isPasswordHasLowerLetter(passwordValue),
|
|
71
|
+
isPasswordHasSpecialLetter(passwordValue)
|
|
72
|
+
];
|
|
73
|
+
var error = (_b = passwordControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
74
|
+
return (_jsxs(ScreenContainer, { children: [_jsx(Input, { label: t('tap_js_password_description'), onChange: handlePasswordChange, value: passwordValue, autoComplete: 'new-password', endAdornment: _jsx(PasswordIcon, { show: showPassword, onShow: handleShowPassword, onHide: handleHidePassword }), placeholder: t('tap_js_password_placeholder'), warningType: 'alert', type: showPassword ? 'text' : 'password', warningMessage: error && t(error) }), _jsxs(BarBoxStyled, { children: [_jsx(PasswordBar, { active: passwordConditions.filter(Boolean).length >= 1 }), _jsx(PasswordBar, { active: passwordConditions.filter(Boolean).length >= 2 }), _jsx(PasswordBar, { active: passwordConditions.filter(Boolean).length >= 3 }), _jsx(PasswordBar, { active: passwordConditions.filter(Boolean).length >= 4, sx: { marginInlineEnd: 0 } })] }), _jsx(Collapse, __assign({ in: !(passwordConditions.filter(Boolean).length >= 4), timeout: { enter: 1000, exit: 800 } }, { children: _jsxs(ListStyled, { children: [_jsx(ConditionText, { active: isPasswordMatchLength, text: '- ' + t('password_length') }), _jsx(ConditionText, { active: isPasswordHasUpper, text: '- ' + t('password_upper') }), _jsx(ConditionText, { active: isPasswordHasLower, text: '- ' + t('password_lower') }), _jsx(ConditionText, { active: isPasswordHasSpecial, text: '- ' + t('password_special') })] }) })), _jsxs(Collapse, __assign({ in: passwordConditions.filter(Boolean).length === 4, timeout: { enter: 800, exit: 1000 } }, { children: [_jsx(TextStyled, { children: t('notify_strong_password') }), _jsx(ConfirmPassword, { showPassword: showPassword, onShowPassword: handleShowPassword, onHidePassword: handleHidePassword })] }))] }));
|
|
75
|
+
};
|
|
76
|
+
export default React.memo(Password);
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { styled } from '@mui/material/styles';
|
|
14
|
+
import Divider from '@mui/material/Divider';
|
|
15
|
+
var DividerStyled = styled(Divider, { shouldForwardProp: function (prop) { return prop !== 'active'; } })(function (_a) {
|
|
16
|
+
var theme = _a.theme, active = _a.active;
|
|
17
|
+
return ({
|
|
18
|
+
maxWidth: theme.spacing(10.375),
|
|
19
|
+
height: theme.spacing(0.375),
|
|
20
|
+
marginTop: theme.spacing(2.5),
|
|
21
|
+
marginInlineEnd: theme.spacing(0.625),
|
|
22
|
+
flex: 1,
|
|
23
|
+
border: 'none',
|
|
24
|
+
background: active ? theme.palette.success.light : theme.palette.primary.dark
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
export default function PasswordBar(props) {
|
|
28
|
+
return _jsx(DividerStyled, __assign({}, props));
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as yup from 'yup';
|
|
2
|
+
export declare const PasswordValidation: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
3
|
+
password: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
4
|
+
confirmPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
5
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
6
|
+
password: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
7
|
+
confirmPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
8
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
9
|
+
password: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
10
|
+
confirmPassword: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
11
|
+
}>>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as yup from 'yup';
|
|
2
|
+
export var PasswordValidation = yup.object().shape({
|
|
3
|
+
password: yup.string().required('password_required'),
|
|
4
|
+
confirmPassword: yup
|
|
5
|
+
.string()
|
|
6
|
+
.oneOf([yup.ref('password'), 'confirmPassword'], 'password_not_match')
|
|
7
|
+
.required('password_not_match')
|
|
8
|
+
});
|
|
@@ -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, useAppSelector, 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 } from '../../../../hooks';
|
|
33
|
+
import Form from '../../../../components/Form';
|
|
34
|
+
import Text from '../../../../components/Text';
|
|
35
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
36
|
+
import { passwordSelector, clearError, resetOTPScreen, resetPassword } from '../../../app/password/passwordStore';
|
|
37
|
+
import Button from '../../../shared/Button';
|
|
38
|
+
import { maskPhone } from '../../../../utils';
|
|
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), { fontWeight: theme.typography.fontWeightLight, color: theme.palette.text.primary, marginBlock: theme.spacing(1.75), marginInline: theme.spacing(2.5), lineHeight: 1.75, whiteSpace: 'pre-line' }));
|
|
55
|
+
});
|
|
56
|
+
var FormStyled = styled(Form)(function () { return ({
|
|
57
|
+
display: 'flex',
|
|
58
|
+
flexDirection: 'column'
|
|
59
|
+
}); });
|
|
60
|
+
var OTP = function (_a) {
|
|
61
|
+
var _b, _c;
|
|
62
|
+
var _d = useAppSelector(passwordSelector), data = _d.data, loading = _d.loading, error = _d.error;
|
|
63
|
+
var dispatch = useAppDispatch();
|
|
64
|
+
var _e = data.otpData, responseBody = _e.responseBody, defaultValues = __rest(_e, ["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
|
+
React.useEffect(function () {
|
|
74
|
+
if (error)
|
|
75
|
+
dispatch(clearError());
|
|
76
|
+
return function () {
|
|
77
|
+
dispatch(resetOTPScreen());
|
|
78
|
+
};
|
|
79
|
+
}, [methods.formState.isValid]);
|
|
80
|
+
var onSubmit = function (formData) {
|
|
81
|
+
dispatch(resetPassword(formData));
|
|
82
|
+
};
|
|
83
|
+
var onBack = function () {
|
|
84
|
+
dispatch(handlePrevScreenStep());
|
|
85
|
+
};
|
|
86
|
+
var disabled = !methods.formState.isValid || !!error;
|
|
87
|
+
var phone = (_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.auth_info) === null || _c === void 0 ? void 0 : _c.phone;
|
|
88
|
+
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 && _jsx("span", __assign({ dir: 'ltr' }, { children: "".concat(maskPhone(phone || '')) }))] }) }), _jsx(OTPInput, {}), _jsx(Button, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('next') }))] })) })) }));
|
|
89
|
+
};
|
|
90
|
+
OTP.defaultProps = {};
|
|
91
|
+
export default React.memo(OTP);
|
|
@@ -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
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import * as React from 'react';
|
|
14
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
15
|
+
import { useTranslation } from 'react-i18next';
|
|
16
|
+
import Box from '@mui/material/Box/Box';
|
|
17
|
+
import { styled } from '@mui/material/styles';
|
|
18
|
+
import OTPField from '../../../shared/OTP';
|
|
19
|
+
import { DEFAULT_TIMER_VALUE } from '../../../../constants';
|
|
20
|
+
import { useAppDispatch } from '../../../../hooks';
|
|
21
|
+
import { resendOperationOTP } from '../../../../features/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 _b = useFormContext(), control = _b.control, setValue = _b.setValue;
|
|
32
|
+
var t = useTranslation().t;
|
|
33
|
+
var dispatch = useAppDispatch();
|
|
34
|
+
var otpControl = useController({ name: 'otp', control: control });
|
|
35
|
+
var handleOnOTPChange = function (otp) {
|
|
36
|
+
otpControl.field.onChange(otp);
|
|
37
|
+
};
|
|
38
|
+
var handleOnResendOTP = function () {
|
|
39
|
+
if (otpControl.field.value)
|
|
40
|
+
setValue('otp', '', { shouldValidate: true });
|
|
41
|
+
dispatch(resendOperationOTP());
|
|
42
|
+
};
|
|
43
|
+
var otpValue = otpControl.field.value;
|
|
44
|
+
return (_jsx(BoxStyled, __assign({ dir: 'ltr' }, { children: _jsx(OTPField, { timeEndLabel: t('ide_otp_resend_label'), timerInSeconds: DEFAULT_TIMER_VALUE, onResetClick: handleOnResendOTP, value: otpValue, onChange: function (number) { return handleOnOTPChange(number.toString()); } }) })));
|
|
45
|
+
};
|
|
46
|
+
export default React.memo(OTPInput);
|
|
@@ -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,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useTranslation } from 'react-i18next';
|
|
4
|
+
import SuccessScreen from '../../../shared/SuccessScreen';
|
|
5
|
+
var ResetPasswordSuccess = function (_a) {
|
|
6
|
+
var t = useTranslation().t;
|
|
7
|
+
return (_jsx(SuccessScreen, { title: t("reset_password_success_title"), description: t("reset_password_success_description"), showEmailProviders: true }));
|
|
8
|
+
};
|
|
9
|
+
export default React.memo(ResetPasswordSuccess);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { useTranslation } from 'react-i18next';
|
|
4
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
5
|
+
import { updateBoardSuccess, passwordSelector, retrieveBoardResetPasswordSuccess } from '../../../app/password/passwordStore';
|
|
6
|
+
import SuccessScreen from '../../../shared/SuccessScreen';
|
|
7
|
+
import { PASSWORD_OPERATION_TYPE } from '../../../../constants';
|
|
8
|
+
var Success = function (_a) {
|
|
9
|
+
var t = useTranslation().t;
|
|
10
|
+
var dispatch = useAppDispatch();
|
|
11
|
+
var _b = useAppSelector(passwordSelector), error = _b.error, loading = _b.loading, data = _b.data;
|
|
12
|
+
var operationType = data.verify.operationType;
|
|
13
|
+
var _c = React.useState(false), clicked = _c[0], setClicked = _c[1];
|
|
14
|
+
React.useEffect(function () {
|
|
15
|
+
if (operationType === PASSWORD_OPERATION_TYPE.RESET_PASSWORD) {
|
|
16
|
+
dispatch(retrieveBoardResetPasswordSuccess());
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
dispatch(updateBoardSuccess());
|
|
20
|
+
}, []);
|
|
21
|
+
var onSuccess = function () {
|
|
22
|
+
setClicked(true);
|
|
23
|
+
};
|
|
24
|
+
return (_jsx(SuccessScreen, { title: t('password_success_title'), onSuccess: onSuccess, successTitle: t('continue'), loading: clicked && loading, error: error || '' }));
|
|
25
|
+
};
|
|
26
|
+
export default React.memo(Success);
|
|
@@ -0,0 +1,114 @@
|
|
|
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 { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { memo, useEffect, useState } from 'react';
|
|
14
|
+
import { useTranslation } from 'react-i18next';
|
|
15
|
+
import { styled } from '@mui/material/styles';
|
|
16
|
+
import { FlowsButtons } from '../../../shared/Button';
|
|
17
|
+
import { ICONS_NAMES, PASSWORD_OPERATION_TYPE } from '../../../../constants';
|
|
18
|
+
import { useAppSelector, useLanguage } from '../../../../hooks';
|
|
19
|
+
import { getResetFlowUrl, showLastFour, concatenateObjectValues, shortenString } from '../../../../utils';
|
|
20
|
+
import { passwordSelector } from '../../../app/password/passwordStore';
|
|
21
|
+
import Box from '@mui/material/Box';
|
|
22
|
+
import Text from '../../../../components/Text';
|
|
23
|
+
import Container from '../../../shared/Containers/ScreenContainer';
|
|
24
|
+
import AcceptancePayouts from '../../../shared/AcceptancePayouts';
|
|
25
|
+
import { settingsSelector } from '../../../../app/settings';
|
|
26
|
+
var TitleStyled = styled(Text)(function (_a) {
|
|
27
|
+
var _b;
|
|
28
|
+
var theme = _a.theme;
|
|
29
|
+
return (__assign(__assign({}, theme.typography.body1), (_b = { fontWeight: theme.typography.fontWeightBold, color: theme.palette.text.primary, lineHeight: 1.75, paddingBottom: theme.spacing(3) }, _b[theme.breakpoints.down('sm')] = {}, _b)));
|
|
30
|
+
});
|
|
31
|
+
var ContainerStyled = styled(Container)(function (_a) {
|
|
32
|
+
var theme = _a.theme;
|
|
33
|
+
return ({
|
|
34
|
+
justifyContent: 'space-between',
|
|
35
|
+
minHeight: theme.spacing(30),
|
|
36
|
+
alignItems: 'center'
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
var ButtonGroupStyled = styled(Box)(function (_a) {
|
|
40
|
+
var theme = _a.theme;
|
|
41
|
+
return ({
|
|
42
|
+
width: '100%',
|
|
43
|
+
paddingTop: theme.spacing(3)
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
var SuccessWithFlowButtons = function () {
|
|
47
|
+
var _a, _b, _c, _d, _e, _f;
|
|
48
|
+
var t = useTranslation().t;
|
|
49
|
+
var isAr = useLanguage().isAr;
|
|
50
|
+
var data = useAppSelector(passwordSelector).data;
|
|
51
|
+
var _g = data.verify.responseBody || {}, flows = _g.flows, nameObj = _g.name, entity = _g.entity, brand = _g.brand, bank = _g.bank_account, merchant = _g.merchant, user = _g.user;
|
|
52
|
+
var _h = useState([]), buttons = _h[0], setButtons = _h[1];
|
|
53
|
+
var _j = nameObj || {}, en = _j.en, ar = _j.ar;
|
|
54
|
+
var username = isAr
|
|
55
|
+
? concatenateObjectValues(ar || en, ['first', 'last'])
|
|
56
|
+
: concatenateObjectValues(en, ['first', 'last']);
|
|
57
|
+
var licenseNumber = ((_a = entity === null || entity === void 0 ? void 0 : entity.license) === null || _a === void 0 ? void 0 : _a.number) || '';
|
|
58
|
+
var bankName = shortenString(bank === null || bank === void 0 ? void 0 : bank.bank_name, 20) || t('bank');
|
|
59
|
+
var iban = showLastFour((bank === null || bank === void 0 ? void 0 : bank.iban) || '');
|
|
60
|
+
var taxID = (entity === null || entity === void 0 ? void 0 : entity.vat_id) || '';
|
|
61
|
+
var brandName = (isAr ? (_b = brand === null || brand === void 0 ? void 0 : brand.name) === null || _b === void 0 ? void 0 : _b.ar : (_c = brand === null || brand === void 0 ? void 0 : brand.name) === null || _c === void 0 ? void 0 : _c.en) || '';
|
|
62
|
+
var entityLegalName = shortenString(isAr ? (_d = entity === null || entity === void 0 ? void 0 : entity.legal_name) === null || _d === void 0 ? void 0 : _d.ar : (_e = entity === null || entity === void 0 ? void 0 : entity.legal_name) === null || _e === void 0 ? void 0 : _e.en, 20) || '';
|
|
63
|
+
var isAcceptance = merchant === null || merchant === void 0 ? void 0 : merchant.is_acceptance_allowed;
|
|
64
|
+
var isPayout = merchant === null || merchant === void 0 ? void 0 : merchant.is_payout_allowed;
|
|
65
|
+
var identification = user.identification;
|
|
66
|
+
var maskedId = (identification === null || identification === void 0 ? void 0 : identification.id) ? " ".concat(t('masking_symbols')).concat((_f = identification === null || identification === void 0 ? void 0 : identification.id) === null || _f === void 0 ? void 0 : _f.slice(-2)) : '';
|
|
67
|
+
var settings = useAppSelector(settingsSelector);
|
|
68
|
+
var _k = data.verify.responseBody || { contact: {}, board_id: '' }, contact = _k.contact, board_id = _k.board_id, board_info_id = _k.board_info_id;
|
|
69
|
+
var email = (contact || { email: '' }).email;
|
|
70
|
+
var url = getResetFlowUrl('/password', settings.data.language, PASSWORD_OPERATION_TYPE.RESET_PASSWORD, board_id, board_info_id);
|
|
71
|
+
var reMapFlowData = function (flows) {
|
|
72
|
+
if (flows === void 0) { flows = []; }
|
|
73
|
+
var images = ICONS_NAMES;
|
|
74
|
+
var mappedFlows = flows
|
|
75
|
+
.filter(function (item) { return item === null || item === void 0 ? void 0 : item.name; })
|
|
76
|
+
.map(function (_a) {
|
|
77
|
+
var name = _a.name, url = _a.url, status = _a.status;
|
|
78
|
+
var type = status === 'completed' ? 'completed' : 'pending';
|
|
79
|
+
var title = t("".concat(name, "_flow_").concat(type), {
|
|
80
|
+
individual_name: username.toLowerCase() + maskedId,
|
|
81
|
+
business_type: entityLegalName,
|
|
82
|
+
license_number: licenseNumber ? t('masking_symbols') + showLastFour(licenseNumber) : '',
|
|
83
|
+
bank_name: bankName,
|
|
84
|
+
iban: iban ? t('masking_symbols') + iban : '',
|
|
85
|
+
tax_id: taxID ? t('masking_symbols') + showLastFour(taxID) : ''
|
|
86
|
+
});
|
|
87
|
+
var isCompleted = status === 'completed' && name !== 'password';
|
|
88
|
+
var isIndividual = name === 'individual';
|
|
89
|
+
var src = isCompleted ? "".concat(name, "_green_icon") : "".concat(name, "_filled_icon");
|
|
90
|
+
var hoverSrc = "".concat(name, "_white_icon");
|
|
91
|
+
return {
|
|
92
|
+
name: name,
|
|
93
|
+
status: status,
|
|
94
|
+
title: title,
|
|
95
|
+
href: url,
|
|
96
|
+
src: images[src],
|
|
97
|
+
hoverSrc: images[hoverSrc],
|
|
98
|
+
isCompleted: isCompleted,
|
|
99
|
+
sx: isIndividual ? { textTransform: 'capitalize' } : {}
|
|
100
|
+
};
|
|
101
|
+
});
|
|
102
|
+
setButtons(mappedFlows);
|
|
103
|
+
};
|
|
104
|
+
useEffect(function () {
|
|
105
|
+
if ((flows === null || flows === void 0 ? void 0 : flows.length) > 0)
|
|
106
|
+
reMapFlowData(flows);
|
|
107
|
+
}, [flows, isAr]);
|
|
108
|
+
return (_jsxs(ContainerStyled, { children: [_jsxs(TitleStyled, { children: [t('account_details'), " "] }), _jsx(AcceptancePayouts, { showAcceptance: isAcceptance, showPayout: isPayout }), _jsx(ButtonGroupStyled, { children: _jsx(FlowsButtons, { buttons: buttons, data: {
|
|
109
|
+
flowName: data.flowName,
|
|
110
|
+
email: email,
|
|
111
|
+
emailUrl: url
|
|
112
|
+
} }) })] }));
|
|
113
|
+
};
|
|
114
|
+
export default memo(SuccessWithFlowButtons);
|