@tap-payments/auth-jsconnect 2.1.12-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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { styled } from '@mui/material/styles';
|
|
4
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
5
|
+
import { useTranslation } from 'react-i18next';
|
|
6
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
7
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
8
|
+
import { bankSelector, uploadBankStatement } from '../../../app/bank/bankStore';
|
|
9
|
+
import UploadFile from '../../../shared/UploadFile';
|
|
10
|
+
import { MAX_FILE_SIZE, VALID_FILE_FORMATS } from '../../../../constants';
|
|
11
|
+
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
12
|
+
var theme = _a.theme;
|
|
13
|
+
return ({
|
|
14
|
+
marginBlockStart: theme.spacing(3)
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
var BankStatement = function (_a) {
|
|
18
|
+
var _b, _c;
|
|
19
|
+
var required = _a.required;
|
|
20
|
+
var _d = React.useState(0), progress = _d[0], setProgress = _d[1];
|
|
21
|
+
var t = useTranslation().t;
|
|
22
|
+
var _e = useFormContext(), control = _e.control, setError = _e.setError, clearErrors = _e.clearErrors;
|
|
23
|
+
var bankStatementFileControl = useController({ name: 'bankStatementFile', control: control });
|
|
24
|
+
var bankStatementIdControl = useController({ name: 'bankStatementId', control: control });
|
|
25
|
+
var _f = useAppSelector(bankSelector), loading = _f.loading, uploading = _f.uploading, sysError = _f.error;
|
|
26
|
+
var dispatch = useAppDispatch();
|
|
27
|
+
var bankStatementValue = bankStatementFileControl.field.value;
|
|
28
|
+
var error = ((_b = bankStatementFileControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message) || ((_c = bankStatementIdControl.fieldState.error) === null || _c === void 0 ? void 0 : _c.message);
|
|
29
|
+
var handleBankStatementChange = function (files) {
|
|
30
|
+
var file = files === null || files === void 0 ? void 0 : files[0];
|
|
31
|
+
if (!file)
|
|
32
|
+
return;
|
|
33
|
+
if (!VALID_FILE_FORMATS.includes(file === null || file === void 0 ? void 0 : file.type)) {
|
|
34
|
+
setError('bankStatementFile', { message: 'file_not_supported_alert' });
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if ((file === null || file === void 0 ? void 0 : file.size) > MAX_FILE_SIZE) {
|
|
38
|
+
setError('bankStatementFile', { message: 'file_size_alert' });
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
bankStatementFileControl.field.onChange(file);
|
|
42
|
+
dispatch(uploadBankStatement({
|
|
43
|
+
file: file,
|
|
44
|
+
onProgress: function (value) {
|
|
45
|
+
setProgress(value);
|
|
46
|
+
}
|
|
47
|
+
}));
|
|
48
|
+
};
|
|
49
|
+
var handleReset = function () {
|
|
50
|
+
bankStatementFileControl.field.onChange(null);
|
|
51
|
+
bankStatementIdControl.field.onChange('');
|
|
52
|
+
setProgress(0);
|
|
53
|
+
};
|
|
54
|
+
React.useEffect(function () {
|
|
55
|
+
if (sysError === 'file_upload_error') {
|
|
56
|
+
setError('bankStatementId', { message: sysError });
|
|
57
|
+
bankStatementFileControl.field.onChange(null);
|
|
58
|
+
setProgress(0);
|
|
59
|
+
}
|
|
60
|
+
}, [sysError]);
|
|
61
|
+
React.useEffect(function () {
|
|
62
|
+
if ((bankStatementFileControl.formState.isValid || !!bankStatementValue) && error != 'file_upload_error')
|
|
63
|
+
clearErrors();
|
|
64
|
+
}, [bankStatementFileControl.formState.isValid, bankStatementValue]);
|
|
65
|
+
return (_jsx(FeatureStyled, { children: _jsx(UploadFile, { label: t('title_bank_statement'), title: t('drag_and_drop'), subTitle: t('subtitle_drop'), dragDescription: t('desc_drag_and_drop'), uploadingTitle: t('file_uploading_title'), successTitle: t('success_upload_bank_statement'), onFileUploaded: handleBankStatementChange, isFileUploaded: !uploading && !!bankStatementValue, isSubmitting: loading, isUploading: uploading, progress: progress, required: required, onReset: handleReset, error: error && t(error) }) }));
|
|
66
|
+
};
|
|
67
|
+
export default BankStatement;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import Input from '../../../shared/Input';
|
|
4
|
+
import { useTranslation } from 'react-i18next';
|
|
5
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
6
|
+
import { styled } from '@mui/material/styles';
|
|
7
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
8
|
+
import { bankSelector } from '../../../app/bank/bankStore';
|
|
9
|
+
import { useAppSelector } from '../../../../hooks';
|
|
10
|
+
import ClearIcon from '../../../shared/ClearIcon';
|
|
11
|
+
import CheckIcon from '../../../shared/CheckIcon';
|
|
12
|
+
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
13
|
+
var theme = _a.theme;
|
|
14
|
+
return ({
|
|
15
|
+
marginBlockEnd: theme.spacing(3)
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
var InputStyled = styled(Input)(function (_a) {
|
|
19
|
+
var theme = _a.theme;
|
|
20
|
+
return ({
|
|
21
|
+
input: {
|
|
22
|
+
textTransform: 'capitalize'
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
var Beneficiary = function () {
|
|
27
|
+
var _a, _b;
|
|
28
|
+
var t = useTranslation().t;
|
|
29
|
+
var _c = useFormContext(), setValue = _c.setValue, control = _c.control;
|
|
30
|
+
var data = useAppSelector(bankSelector).data;
|
|
31
|
+
var beneficiaryControl = useController({ name: 'beneficiaryName', control: control });
|
|
32
|
+
var beneficiaryValue = beneficiaryControl.field.value;
|
|
33
|
+
var hasError = (_a = beneficiaryControl.fieldState.error) === null || _a === void 0 ? void 0 : _a.message;
|
|
34
|
+
var error = (_b = beneficiaryControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
35
|
+
var bank_account = (data.verify.responseBody || {}).bank_account;
|
|
36
|
+
React.useEffect(function () {
|
|
37
|
+
var beneficiary_name = (bank_account || {}).beneficiary_name;
|
|
38
|
+
if (beneficiary_name)
|
|
39
|
+
setValue('beneficiaryName', beneficiary_name);
|
|
40
|
+
}, []);
|
|
41
|
+
var handleBeneficiaryChange = function (_a) {
|
|
42
|
+
var target = _a.target;
|
|
43
|
+
beneficiaryControl.field.onChange(target.value);
|
|
44
|
+
};
|
|
45
|
+
var clearValue = function () {
|
|
46
|
+
beneficiaryControl.field.onChange('');
|
|
47
|
+
};
|
|
48
|
+
return (_jsx(FeatureStyled, { children: _jsx(InputStyled, { label: t('beneficiary_name'), onChange: handleBeneficiaryChange, value: beneficiaryValue, placeholder: t('beneficiary_name'), warningType: 'alert', warningMessage: error && t(error), required: true, endAdornment: !hasError && beneficiaryValue ? _jsx(CheckIcon, {}) : beneficiaryValue && _jsx(ClearIcon, { onClick: clearValue }) }) }));
|
|
49
|
+
};
|
|
50
|
+
export default Beneficiary;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { useTranslation } from 'react-i18next';
|
|
14
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
15
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
16
|
+
import { styled, alpha } from '@mui/material/styles';
|
|
17
|
+
import Box from '@mui/material/Box';
|
|
18
|
+
import CheckBox from '../../../../components/CheckBox';
|
|
19
|
+
import Text from '../../../../components/Text';
|
|
20
|
+
import Warning from '../../../../components/Warning';
|
|
21
|
+
import Collapse from '../../../../components/Collapse';
|
|
22
|
+
var ConfirmContainerStyled = styled(Box)(function (_a) {
|
|
23
|
+
var theme = _a.theme;
|
|
24
|
+
return ({
|
|
25
|
+
display: 'flex',
|
|
26
|
+
flexDirection: 'row',
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
padding: theme.spacing(0, 2.5, 1.5, 2.5),
|
|
29
|
+
marginBlockStart: theme.spacing(3)
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
var TextStyled = styled(Text)(function (_a) {
|
|
33
|
+
var theme = _a.theme;
|
|
34
|
+
return (__assign({ color: alpha(theme.palette.text.primary, 0.4), fontWeight: theme.typography.fontWeightLight, whiteSpace: 'pre-line', height: 'fit-content' }, theme.typography.body2));
|
|
35
|
+
});
|
|
36
|
+
var CheckboxStyled = styled(CheckBox)(function (_a) {
|
|
37
|
+
var theme = _a.theme;
|
|
38
|
+
return ({
|
|
39
|
+
margin: theme.spacing(0),
|
|
40
|
+
padding: theme.spacing(0),
|
|
41
|
+
marginInlineEnd: theme.spacing(1.5),
|
|
42
|
+
color: theme.palette.primary.main,
|
|
43
|
+
'& .MuiSvgIcon-root': {
|
|
44
|
+
fontSize: theme.spacing(3.75)
|
|
45
|
+
},
|
|
46
|
+
'&.Mui-checked': {
|
|
47
|
+
color: theme.palette.text.primary,
|
|
48
|
+
borderRadius: theme.spacing(2.5)
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
var CollapseStyled = styled(Collapse)(function () { return ({
|
|
53
|
+
width: '100%'
|
|
54
|
+
}); });
|
|
55
|
+
var ConfirmPolicy = function () {
|
|
56
|
+
var _a;
|
|
57
|
+
var t = useTranslation().t;
|
|
58
|
+
var control = useFormContext().control;
|
|
59
|
+
var confirmControl = useController({ control: control, name: 'confirmPolicy' });
|
|
60
|
+
var confirmChecked = confirmControl.field.value;
|
|
61
|
+
var warningMessage = (_a = confirmControl.fieldState.error) === null || _a === void 0 ? void 0 : _a.message;
|
|
62
|
+
var handleConfirmCheckedChange = function (event, checked) {
|
|
63
|
+
confirmControl.field.onChange(checked);
|
|
64
|
+
};
|
|
65
|
+
return (_jsxs(ScreenContainer, { children: [_jsxs(ConfirmContainerStyled, { children: [_jsx(CheckboxStyled, { disableRipple: true, disableFocusRipple: true, focusRipple: false, checked: confirmChecked, onChange: handleConfirmCheckedChange }), _jsx(TextStyled, { children: t('bank_confirm_information') })] }), _jsx(CollapseStyled, __assign({ in: !!warningMessage }, { children: _jsx(Warning, __assign({ warningType: 'alert' }, { children: warningMessage && t(warningMessage) })) }))] }));
|
|
66
|
+
};
|
|
67
|
+
export default ConfirmPolicy;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
+
function step(op) {
|
|
15
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
+
while (_) try {
|
|
17
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
+
switch (op[0]) {
|
|
20
|
+
case 0: case 1: t = op; break;
|
|
21
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
+
default:
|
|
25
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
+
if (t[2]) _.ops.pop();
|
|
30
|
+
_.trys.pop(); continue;
|
|
31
|
+
}
|
|
32
|
+
op = body.call(thisArg, _);
|
|
33
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
38
|
+
import * as React from 'react';
|
|
39
|
+
import Input from '../../../shared/Input';
|
|
40
|
+
import { useTranslation } from 'react-i18next';
|
|
41
|
+
import { useController, useFormContext } from 'react-hook-form';
|
|
42
|
+
import { removeAllOtherThanCharsAndNumber } from '../../../../utils';
|
|
43
|
+
import { styled } from '@mui/material';
|
|
44
|
+
import { MAX_IBAN_VALUE } from '../../../../constants';
|
|
45
|
+
import { ScreenContainer } from '../../../shared/Containers';
|
|
46
|
+
import { debounce } from 'lodash-es';
|
|
47
|
+
import { checkIbanBank } from '../../../app/bank/bankStore';
|
|
48
|
+
import { useAppDispatch } from '../../../../hooks';
|
|
49
|
+
import axios from 'axios';
|
|
50
|
+
import ClearIcon from '../../../shared/ClearIcon';
|
|
51
|
+
import CheckIcon from '../../../shared/CheckIcon';
|
|
52
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
53
|
+
import { settingsSelector } from '../../../../app/settings';
|
|
54
|
+
import { useAppSelector } from '../../../../hooks';
|
|
55
|
+
var InputStyled = styled(Input)(function () { return ({
|
|
56
|
+
input: {
|
|
57
|
+
textTransform: 'uppercase'
|
|
58
|
+
}
|
|
59
|
+
}); });
|
|
60
|
+
var cancelToken = null;
|
|
61
|
+
var IBAN = function (_a) {
|
|
62
|
+
var _b;
|
|
63
|
+
var fetchingIban = _a.fetchingIban, ibanChecking = _a.ibanChecking;
|
|
64
|
+
var dispatch = useAppDispatch();
|
|
65
|
+
var settingsData = useAppSelector(settingsSelector).data;
|
|
66
|
+
var t = useTranslation().t;
|
|
67
|
+
var control = useFormContext().control;
|
|
68
|
+
var ibanControl = useController({ name: 'iban', control: control });
|
|
69
|
+
var ibanValue = ibanControl.field.value;
|
|
70
|
+
var error = (_b = ibanControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
71
|
+
var checkBank = debounce(function (value) { return __awaiter(void 0, void 0, void 0, function () {
|
|
72
|
+
var onSuccess;
|
|
73
|
+
return __generator(this, function (_a) {
|
|
74
|
+
if (cancelToken) {
|
|
75
|
+
cancelToken.cancel('Aborted');
|
|
76
|
+
}
|
|
77
|
+
cancelToken = axios.CancelToken.source();
|
|
78
|
+
onSuccess = function () { return fetchingIban(false); };
|
|
79
|
+
dispatch(checkIbanBank({ iban: value, cancelToken: cancelToken.token, onSuccess: onSuccess }));
|
|
80
|
+
return [2];
|
|
81
|
+
});
|
|
82
|
+
}); }, 500);
|
|
83
|
+
React.useEffect(function () {
|
|
84
|
+
var isValid = ibanValue && !error && ibanValue.length > 14;
|
|
85
|
+
if (isValid) {
|
|
86
|
+
fetchingIban(true);
|
|
87
|
+
checkBank(ibanValue);
|
|
88
|
+
}
|
|
89
|
+
}, [ibanValue, error]);
|
|
90
|
+
var handleIbanChange = function (_a) {
|
|
91
|
+
var target = _a.target;
|
|
92
|
+
var value = removeAllOtherThanCharsAndNumber(target.value);
|
|
93
|
+
ibanControl.field.onChange(value);
|
|
94
|
+
};
|
|
95
|
+
var clearValue = function () {
|
|
96
|
+
ibanControl.field.onChange('');
|
|
97
|
+
};
|
|
98
|
+
return (_jsx(ScreenContainer, { children: _jsx(InputStyled, { label: t('enter_iban'), inputProps: { maxLength: MAX_IBAN_VALUE }, onChange: handleIbanChange, value: ibanValue, placeholder: t('iban_input_placeholder', { countrycode: settingsData.businessCountry.iso2.toUpperCase() }), warningType: 'alert', warningMessage: error && t(error), required: true, endAdornment: ibanChecking ? (_jsx(CircularProgress, { size: 25, thickness: 5, sx: { height: 'auto !important' } })) : !error && ibanValue ? (_jsx(CheckIcon, {})) : (ibanValue && _jsx(ClearIcon, { onClick: clearValue })) }) }));
|
|
99
|
+
};
|
|
100
|
+
export default IBAN;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as yup from 'yup';
|
|
2
|
+
export declare const BankValidation: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
3
|
+
iban: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
4
|
+
bankName: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
5
|
+
beneficiaryName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
6
|
+
bankStatementId: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
7
|
+
bankStatementFile: any;
|
|
8
|
+
confirmPolicy: yup.BooleanSchema<boolean | undefined, import("yup/lib/types").AnyObject, true>;
|
|
9
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
10
|
+
iban: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
11
|
+
bankName: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
12
|
+
beneficiaryName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
13
|
+
bankStatementId: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
14
|
+
bankStatementFile: any;
|
|
15
|
+
confirmPolicy: yup.BooleanSchema<boolean | undefined, import("yup/lib/types").AnyObject, true>;
|
|
16
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
17
|
+
iban: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
18
|
+
bankName: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
19
|
+
beneficiaryName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
20
|
+
bankStatementId: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
21
|
+
bankStatementFile: any;
|
|
22
|
+
confirmPolicy: yup.BooleanSchema<boolean | undefined, import("yup/lib/types").AnyObject, true>;
|
|
23
|
+
}>>>;
|
|
24
|
+
export declare const BankKWFLValidation: yup.ObjectSchema<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
25
|
+
iban: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
26
|
+
bankName: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
27
|
+
beneficiaryName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
28
|
+
bankStatementId: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
29
|
+
bankStatementFile: import("yup/lib/mixed").MixedSchema<any, import("yup/lib/types").AnyObject, any>;
|
|
30
|
+
confirmPolicy: yup.BooleanSchema<boolean | undefined, import("yup/lib/types").AnyObject, true>;
|
|
31
|
+
}>, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
32
|
+
iban: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
33
|
+
bankName: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
34
|
+
beneficiaryName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
35
|
+
bankStatementId: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
36
|
+
bankStatementFile: import("yup/lib/mixed").MixedSchema<any, import("yup/lib/types").AnyObject, any>;
|
|
37
|
+
confirmPolicy: yup.BooleanSchema<boolean | undefined, import("yup/lib/types").AnyObject, true>;
|
|
38
|
+
}>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<import("yup/lib/object").ObjectShape, {
|
|
39
|
+
iban: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
40
|
+
bankName: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
41
|
+
beneficiaryName: import("yup/lib/string").RequiredStringSchema<string | undefined, import("yup/lib/types").AnyObject>;
|
|
42
|
+
bankStatementId: yup.StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
|
|
43
|
+
bankStatementFile: import("yup/lib/mixed").MixedSchema<any, import("yup/lib/types").AnyObject, any>;
|
|
44
|
+
confirmPolicy: yup.BooleanSchema<boolean | undefined, import("yup/lib/types").AnyObject, true>;
|
|
45
|
+
}>>>;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { MAX_FILE_SIZE, VALID_FILE_FORMATS, REGEX_ALPHANUMERIC, REGEX_IBAN } from '../../../../constants';
|
|
2
|
+
import * as yup from 'yup';
|
|
3
|
+
export var BankValidation = yup.object().shape({
|
|
4
|
+
iban: yup
|
|
5
|
+
.string()
|
|
6
|
+
.matches(REGEX_IBAN, 'invalid_iban_format')
|
|
7
|
+
.min(15, 'invalid_iban_format')
|
|
8
|
+
.max(34, 'invalid_iban_format')
|
|
9
|
+
.required('alert_iban'),
|
|
10
|
+
bankName: yup.string().optional(),
|
|
11
|
+
beneficiaryName: yup
|
|
12
|
+
.string()
|
|
13
|
+
.matches(REGEX_ALPHANUMERIC, 'beneficiary_name_invalid')
|
|
14
|
+
.required('beneficiary_name_required'),
|
|
15
|
+
bankStatementId: yup.string().optional(),
|
|
16
|
+
bankStatementFile: yup
|
|
17
|
+
.mixed()
|
|
18
|
+
.test({
|
|
19
|
+
test: function (value) {
|
|
20
|
+
if (!!value)
|
|
21
|
+
return VALID_FILE_FORMATS.includes(value === null || value === void 0 ? void 0 : value.type) && (value === null || value === void 0 ? void 0 : value.size) < MAX_FILE_SIZE
|
|
22
|
+
? true
|
|
23
|
+
: this.createError({ message: 'alert_file_upload' });
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
.optional(),
|
|
28
|
+
confirmPolicy: yup.boolean().required('alert_bank_confirm').isTrue('alert_bank_confirm')
|
|
29
|
+
});
|
|
30
|
+
export var BankKWFLValidation = yup.object().shape({
|
|
31
|
+
iban: yup
|
|
32
|
+
.string()
|
|
33
|
+
.matches(REGEX_IBAN, 'invalid_iban_format')
|
|
34
|
+
.min(15, 'invalid_iban_format')
|
|
35
|
+
.max(34, 'invalid_iban_format')
|
|
36
|
+
.required('alert_iban'),
|
|
37
|
+
bankName: yup.string().optional(),
|
|
38
|
+
beneficiaryName: yup
|
|
39
|
+
.string()
|
|
40
|
+
.matches(REGEX_ALPHANUMERIC, 'beneficiary_name_invalid')
|
|
41
|
+
.required('beneficiary_name_required'),
|
|
42
|
+
bankStatementId: yup.string().optional(),
|
|
43
|
+
bankStatementFile: yup
|
|
44
|
+
.mixed()
|
|
45
|
+
.test({
|
|
46
|
+
test: function (value) {
|
|
47
|
+
if (!!value)
|
|
48
|
+
return VALID_FILE_FORMATS.includes(value === null || value === void 0 ? void 0 : value.type) && (value === null || value === void 0 ? void 0 : value.size) < MAX_FILE_SIZE
|
|
49
|
+
? true
|
|
50
|
+
: this.createError({ message: 'alert_file_upload' });
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
})
|
|
54
|
+
.required('bank_statement_required'),
|
|
55
|
+
confirmPolicy: yup.boolean().required('alert_bank_confirm').isTrue('alert_bank_confirm')
|
|
56
|
+
});
|
|
@@ -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,20 @@
|
|
|
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
|
+
import { useAppDispatch, useAppSelector } from '../../../../hooks';
|
|
6
|
+
import { bankSelector, updateBoardSuccess } from '../../../app/bank/bankStore';
|
|
7
|
+
var Success = function (_a) {
|
|
8
|
+
var t = useTranslation().t;
|
|
9
|
+
var dispatch = useAppDispatch();
|
|
10
|
+
var _b = useAppSelector(bankSelector), error = _b.error, loading = _b.loading;
|
|
11
|
+
var _c = React.useState(false), clicked = _c[0], setClicked = _c[1];
|
|
12
|
+
React.useEffect(function () {
|
|
13
|
+
dispatch(updateBoardSuccess());
|
|
14
|
+
}, []);
|
|
15
|
+
var onSuccess = function () {
|
|
16
|
+
setClicked(true);
|
|
17
|
+
};
|
|
18
|
+
return (_jsx(SuccessScreen, { title: t('bank_success_title'), onSuccess: onSuccess, successTitle: t('continue'), loading: clicked && loading, error: error || '' }));
|
|
19
|
+
};
|
|
20
|
+
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 { bankSelector } from '../../../app/bank/bankStore';
|
|
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(bankSelector).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.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);
|