@tap-payments/auth-jsconnect 1.0.89 → 1.0.90-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/README.md +77 -132
- package/build/api/account.js +1 -1
- package/build/api/auth.js +1 -1
- package/build/api/availabilityServices.d.ts +2 -0
- package/build/api/availabilityServices.js +1 -1
- package/build/api/axios.js +2 -3
- package/build/api/country.js +1 -1
- package/build/api/data.js +1 -1
- package/build/api/entity.js +1 -1
- package/build/api/firebase.js +1 -1
- package/build/api/index.d.ts +2 -2
- package/build/api/index.js +2 -2
- package/build/api/individual.js +1 -1
- package/build/api/ip.js +1 -1
- package/build/api/lead.js +1 -1
- package/build/api/operator.js +1 -1
- package/build/app/rootReducer.d.ts +7 -7
- package/build/app/rootReducer.js +7 -7
- package/build/app/settings.d.ts +3 -3
- package/build/app/settings.js +5 -5
- package/build/components/AnimationFlow/Dialog.js +2 -2
- package/build/components/Button/Button.d.ts +6 -1
- package/build/components/Button/Button.js +61 -23
- package/build/components/DatePicker/DatePicker.js +3 -3
- package/build/components/Footer/Footer.js +3 -3
- package/build/components/Input/Input.js +2 -2
- package/build/components/OTPTimer/OTPTimer.js +1 -1
- package/build/components/Providers/ThemeProvider.d.ts +1 -1
- package/build/components/SimpleList/SimpleList.js +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
- package/build/components/SocialMediaGroup/SocialMediaGroup.js +2 -2
- package/build/constants/api.d.ts +3 -1
- package/build/constants/api.js +6 -2
- package/build/constants/app.d.ts +1 -1
- package/build/constants/app.js +1 -1
- package/build/features/Landing/Landing.d.ts +1 -1
- package/build/features/Landing/Landing.js +8 -8
- package/build/features/Landing/screens/VerifyAndRedirect/VerifyAndRedirect.js +6 -6
- package/build/features/app/bank/bankStore.d.ts +2 -2
- package/build/features/app/bank/bankStore.js +4 -4
- package/build/features/app/business/businessStore.d.ts +4 -4
- package/build/features/app/business/businessStore.js +9 -9
- package/build/features/app/connect/connectStore.d.ts +2 -2
- package/build/features/app/connect/connectStore.js +10 -8
- package/build/features/app/individual/individualStore.d.ts +2 -2
- package/build/features/app/individual/individualStore.js +4 -4
- package/build/features/app/landing/landingStore.d.ts +2 -2
- package/build/features/app/landing/landingStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +2 -2
- package/build/features/app/password/passwordStore.js +4 -4
- package/build/features/app/tax/taxStore.d.ts +2 -2
- package/build/features/app/tax/taxStore.js +4 -4
- package/build/features/bank/Bank.d.ts +1 -1
- package/build/features/bank/Bank.js +14 -10
- package/build/features/bank/screens/BankDetails/BankDetails.js +11 -7
- package/build/features/bank/screens/BankDetails/BankName.js +8 -8
- package/build/features/bank/screens/BankDetails/Beneficiary.js +7 -7
- package/build/features/bank/screens/BankDetails/IBAN.js +8 -8
- package/build/features/bank/screens/BankDetails/validation.js +1 -1
- package/build/features/bank/screens/Success/Success.js +3 -3
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
- package/build/features/bank/screens/Verify/OTPInput.js +2 -2
- package/build/features/bank/screens/Verify/Verify.js +9 -9
- package/build/features/business/Business.d.ts +1 -1
- package/build/features/business/Business.js +14 -10
- package/build/features/business/screens/Activities/Activities.js +7 -7
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +2 -2
- package/build/features/business/screens/Activities/ActivitiesList.js +9 -9
- package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
- package/build/features/business/screens/Activities/SalesChannels.d.ts +1 -1
- package/build/features/business/screens/Activities/SalesChannels.js +7 -7
- package/build/features/business/screens/BusinessType/BusinessType.js +8 -8
- package/build/features/business/screens/BusinessType/LicenseList.js +10 -10
- package/build/features/business/screens/BusinessType/LicenseNumber.js +8 -8
- package/build/features/business/screens/BusinessType/SelectType.js +6 -6
- package/build/features/business/screens/BusinessType/validation.js +2 -2
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +3 -3
- package/build/features/business/screens/Customers/CustomerLocations.js +8 -8
- package/build/features/business/screens/Customers/Customers.js +8 -8
- package/build/features/business/screens/Customers/ExpectedCustomers.js +6 -6
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +7 -7
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
- package/build/features/business/screens/Customers/RefundPolicy.js +7 -7
- package/build/features/business/screens/Customers/TransactionPolicy.js +5 -5
- package/build/features/business/screens/IDBOD/DOB.js +5 -5
- package/build/features/business/screens/IDBOD/ID.js +6 -6
- package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
- package/build/features/business/screens/OTP/OTP.js +9 -9
- package/build/features/business/screens/OTP/OTPInput.js +4 -4
- package/build/features/business/screens/Success/Success.js +3 -3
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
- package/build/features/business/screens/Verify/OTPInput.js +2 -2
- package/build/features/business/screens/Verify/Verify.js +9 -9
- package/build/features/connect/Connect.d.ts +1 -1
- package/build/features/connect/Connect.js +10 -10
- package/build/features/connect/screens/Individual/Email.js +7 -7
- package/build/features/connect/screens/Individual/Individual.js +9 -9
- package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Individual/MobileNumber.js +11 -11
- package/build/features/connect/screens/Individual/Name.js +6 -6
- package/build/features/connect/screens/Individual/validation.js +1 -1
- package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +8 -8
- package/build/features/connect/screens/Merchant/BrandName.js +10 -10
- package/build/features/connect/screens/Merchant/Merchant.js +7 -7
- package/build/features/connect/screens/Merchant/SocialMedia.js +9 -9
- package/build/features/connect/screens/Merchant/TAC.js +7 -7
- package/build/features/connect/screens/Merchant/validation.js +1 -1
- package/build/features/connect/screens/Mobile/Mobile.js +9 -9
- package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
- package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
- package/build/features/connect/screens/Mobile/Title.js +2 -2
- package/build/features/connect/screens/NID/DOB.js +5 -5
- package/build/features/connect/screens/NID/IDNumber.js +8 -8
- package/build/features/connect/screens/NID/NID.js +8 -8
- package/build/features/connect/screens/OTP/OTP.js +9 -9
- package/build/features/connect/screens/OTP/OTPInput.js +4 -4
- package/build/features/connect/screens/ThankYou/ThankYou.js +3 -3
- package/build/features/featuresScreens.d.ts +1 -1
- package/build/features/featuresScreens.js +31 -31
- package/build/features/individual/Individual.d.ts +1 -1
- package/build/features/individual/Individual.js +14 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +10 -10
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerLocation.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +9 -9
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +6 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +8 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +6 -6
- package/build/features/individual/screens/ShowIndividualInfo/info.js +1 -1
- package/build/features/individual/screens/Success/Success.js +3 -3
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
- package/build/features/individual/screens/Verify/OTPInput.js +2 -2
- package/build/features/individual/screens/Verify/Verify.js +9 -9
- package/build/features/password/Password.d.ts +1 -1
- package/build/features/password/Password.js +14 -10
- package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
- package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
- package/build/features/password/screens/CreatePassword/CreatePassword.js +11 -7
- package/build/features/password/screens/CreatePassword/Password.js +6 -6
- package/build/features/password/screens/Success/Success.js +3 -3
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
- package/build/features/password/screens/Verify/OTPInput.js +2 -2
- package/build/features/password/screens/Verify/Verify.js +9 -9
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +5 -5
- package/build/features/shared/Background/Background.js +3 -3
- package/build/features/shared/Background/LogoBackground.js +3 -3
- package/build/features/shared/Button/AbsherButton.d.ts +1 -1
- package/build/features/shared/Button/AbsherButton.js +14 -36
- package/build/features/shared/Button/Button.d.ts +1 -1
- package/build/features/shared/Button/Button.js +7 -7
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
- package/build/features/shared/Button/EmailProvidersButtons.js +15 -51
- package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
- package/build/features/shared/Button/FlowsButtons.js +45 -45
- package/build/features/shared/Button/MobileButton.d.ts +1 -1
- package/build/features/shared/Button/MobileButton.js +12 -33
- package/build/features/shared/Button/SuccessButton.js +17 -15
- package/build/features/shared/Footer/Footer.js +6 -6
- package/build/features/shared/Input/Input.d.ts +1 -1
- package/build/features/shared/Input/Input.js +2 -2
- package/build/features/shared/OTP/OTP.d.ts +1 -1
- package/build/features/shared/OTP/OTP.js +3 -3
- package/build/features/shared/Search/Search.js +1 -1
- package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
- package/build/features/shared/SuccessScreen/SuccessScreen.js +5 -5
- package/build/features/tax/Tax.d.ts +1 -1
- package/build/features/tax/Tax.js +14 -10
- package/build/features/tax/screens/Success/Success.js +3 -3
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +8 -8
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +10 -6
- package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
- package/build/features/tax/screens/Verify/OTPInput.js +2 -2
- package/build/features/tax/screens/Verify/Verify.js +9 -9
- package/build/hooks/useAppConfig.d.ts +1 -1
- package/build/hooks/useAppConfig.js +13 -3
- package/build/hooks/useAppSelector.d.ts +1 -1
- package/build/hooks/useAppTheme.d.ts +1 -1
- package/build/hooks/useAppTheme.js +3 -3
- package/build/hooks/useErrorListener.js +2 -2
- package/build/hooks/useLanguage.js +1 -1
- package/build/hooks/useRedirectionListener.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index.d.ts +7 -7
- package/build/index.js +7 -7
- package/build/theme/theme.d.ts +1 -1
- package/build/theme/theme.js +10 -0
- package/build/utils/locale.d.ts +1 -1
- package/build/utils/locale.js +3 -3
- package/build/utils/rsa.js +1 -1
- package/build/utils/string.d.ts +3 -2
- package/build/utils/string.js +18 -4
- package/package.json +4 -3
- package/build/components/DatePicker/customStyle.css +0 -86
- package/build/index.css +0 -135
|
@@ -27,7 +27,7 @@ import List from '@mui/material/List';
|
|
|
27
27
|
import ListItem from '@mui/material/ListItem';
|
|
28
28
|
import { styled } from '@mui/material/styles';
|
|
29
29
|
import get from 'lodash-es/get';
|
|
30
|
-
import { useEventListener } from '
|
|
30
|
+
import { useEventListener } from '@hooks';
|
|
31
31
|
var ListStyled = styled(List)(function (_a) {
|
|
32
32
|
var _b;
|
|
33
33
|
var theme = _a.theme;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { SocialMediaTypes } from '
|
|
2
|
+
import { SocialMediaTypes } from '@types';
|
|
3
3
|
import { ToggleButtonGroupProps } from '../ToggleButtonGroup';
|
|
4
4
|
import { ToggleButtonProps } from '../ToggleButton';
|
|
5
5
|
export interface SocialMediaGroupProps extends ToggleButtonGroupProps {
|
|
@@ -23,8 +23,8 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import * as React from 'react';
|
|
25
25
|
import { styled } from '@mui/material/styles';
|
|
26
|
-
import { ICONS_NAMES } from '
|
|
27
|
-
import { SocialMediaTypes } from '
|
|
26
|
+
import { ICONS_NAMES } from '@constants';
|
|
27
|
+
import { SocialMediaTypes } from '@types';
|
|
28
28
|
import ToggleButtonGroup from '../ToggleButtonGroup';
|
|
29
29
|
import ToggleButton from '../ToggleButton';
|
|
30
30
|
import Icon from '../Icon';
|
package/build/constants/api.d.ts
CHANGED
package/build/constants/api.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
var
|
|
1
|
+
var SANDBOX_BASE_URL = 'https://connect-mw.sandbox.tap.company/middleware';
|
|
2
|
+
var PRODUCTION_BASE_URL = 'https://connect-mw.tap.company/middleware';
|
|
3
|
+
var DEV_BASE_URL = 'https://connect-mw.dev.tap.company/middleware';
|
|
2
4
|
var API_BUSINESS_COUNTRIES = 'https://godata.sandbox.tap.company/api/v1/business/country/list';
|
|
3
5
|
var API_COUNTRIES = 'https://utilities.tap.company/api/v1/country/list';
|
|
4
6
|
var IP_PATH = '/ip';
|
|
@@ -24,7 +26,9 @@ var MONTHLY_INCOME_PATH = '/v2/monthlyIncome';
|
|
|
24
26
|
var BRAND_LIST_PATH = '/brand/list';
|
|
25
27
|
var FIREBASE_URL = 'https://goconnect-195cd-default-rtdb.asia-southeast1.firebasedatabase.app/locale.json';
|
|
26
28
|
export var ENDPOINT_PATHS = {
|
|
27
|
-
|
|
29
|
+
SANDBOX_BASE_URL: SANDBOX_BASE_URL,
|
|
30
|
+
PRODUCTION_BASE_URL: PRODUCTION_BASE_URL,
|
|
31
|
+
DEV_BASE_URL: DEV_BASE_URL,
|
|
28
32
|
BUSINESS_COUNTRIES: API_BUSINESS_COUNTRIES,
|
|
29
33
|
COUNTRIES: API_COUNTRIES,
|
|
30
34
|
IP: IP_PATH,
|
package/build/constants/app.d.ts
CHANGED
package/build/constants/app.js
CHANGED
|
@@ -11,15 +11,15 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import React, { memo, useEffect } from 'react';
|
|
14
|
-
import { useAppTheme, useAppDispatch, useAppSelector, useErrorListener, useAppConfig } from '
|
|
15
|
-
import { settingsSelector } from '
|
|
16
|
-
import { store } from '
|
|
17
|
-
import { ReduxProvider, ThemeProvider } from '
|
|
18
|
-
import Collapse from '
|
|
19
|
-
import { getParameterByName, reactElement } from '
|
|
20
|
-
import { LANDING_SCREENS_NAVIGATION } from '
|
|
14
|
+
import { useAppTheme, useAppDispatch, useAppSelector, useErrorListener, useAppConfig } from '@hooks';
|
|
15
|
+
import { settingsSelector } from '@app/settings';
|
|
16
|
+
import { store } from '@app/store';
|
|
17
|
+
import { ReduxProvider, ThemeProvider } from '@components/Providers';
|
|
18
|
+
import Collapse from '@components/Collapse';
|
|
19
|
+
import { getParameterByName, reactElement } from '@utils';
|
|
20
|
+
import { LANDING_SCREENS_NAVIGATION } from '@constants';
|
|
21
21
|
import { landingFeatureScreens } from '../featuresScreens';
|
|
22
|
-
import { verifyAuthToken } from '
|
|
22
|
+
import { verifyAuthToken } from '@features/app/landing/landingStore';
|
|
23
23
|
var Landing = memo(function (props) {
|
|
24
24
|
var open = React.useState(true)[0];
|
|
25
25
|
var theme = useAppTheme().theme;
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import Box from '@mui/material/Box/Box';
|
|
4
4
|
import { styled } from '@mui/material/styles';
|
|
5
|
-
import { settingsSelector } from '
|
|
6
|
-
import { landingSelector } from '
|
|
7
|
-
import { useAppSelector } from '
|
|
8
|
-
import Loader from '
|
|
9
|
-
import Error from '
|
|
10
|
-
import { getParameterByName } from '
|
|
5
|
+
import { settingsSelector } from '@app/settings';
|
|
6
|
+
import { landingSelector } from '@features/app/landing/landingStore';
|
|
7
|
+
import { useAppSelector } from '@hooks';
|
|
8
|
+
import Loader from '@components/AnimationFlow/Loader';
|
|
9
|
+
import Error from '@components/AnimationFlow/Error';
|
|
10
|
+
import { getParameterByName } from '@utils';
|
|
11
11
|
var ScreenContainerStyled = styled(Box)(function (_a) {
|
|
12
12
|
var theme = _a.theme;
|
|
13
13
|
return ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { BankFormValues, OTPFormValues, ResponseData, SharedState } from '
|
|
1
|
+
import { RootState } from '@store';
|
|
2
|
+
import { BankFormValues, OTPFormValues, ResponseData, SharedState } from '@types';
|
|
3
3
|
import { CancelToken } from 'axios';
|
|
4
4
|
export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
5
5
|
data: any;
|
|
@@ -47,10 +47,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import API from '
|
|
51
|
-
import { hasKey, removeRequestHeaders } from '
|
|
52
|
-
import { handleNextScreenStep } from '
|
|
53
|
-
import { BANK_STEP_NAMES } from '
|
|
50
|
+
import API from '@api';
|
|
51
|
+
import { hasKey, removeRequestHeaders } from '@utils';
|
|
52
|
+
import { handleNextScreenStep } from '@app/settings';
|
|
53
|
+
import { BANK_STEP_NAMES } from '@src/constants';
|
|
54
54
|
export var verifyLeadToken = createAsyncThunk('verifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
55
|
var payload, data, leadResponse, _a, steps, entity, hasCompleted;
|
|
56
56
|
return __generator(this, function (_b) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { ActivitiesFormValues, CustomersFormValues, BusinessTypeFormValues, CountryCode, NIDFormValues, OTPFormValues, ResponseData, SharedState } from '
|
|
1
|
+
import { RootState } from '@store';
|
|
2
|
+
import { ActivitiesFormValues, CustomersFormValues, BusinessTypeFormValues, CountryCode, NIDFormValues, OTPFormValues, ResponseData, SharedState } from '@types';
|
|
3
3
|
export declare const getCountries: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
businessCountry: any;
|
|
5
5
|
countries: any;
|
|
@@ -44,8 +44,8 @@ export declare const createAccount: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
44
44
|
export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
45
45
|
data: any;
|
|
46
46
|
formData: {
|
|
47
|
-
activities: import("
|
|
48
|
-
salesChannels: import("
|
|
47
|
+
activities: import("@types").Activity[] | undefined;
|
|
48
|
+
salesChannels: import("@types").SalesChannel[];
|
|
49
49
|
operationStartDate: string;
|
|
50
50
|
};
|
|
51
51
|
}, ActivitiesFormValues, {}>;
|
|
@@ -57,11 +57,11 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
57
57
|
var _a;
|
|
58
58
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
59
59
|
import moment from 'moment';
|
|
60
|
-
import API from '
|
|
61
|
-
import { BusinessType } from '
|
|
62
|
-
import { BUSINESS_STEP_NAMES, defaultCountry, IDENTIFICATION_TYPE, OTHER_CR_LICENSE, OTHER_FL_LICENSE } from '
|
|
63
|
-
import { convertNumbers2English, getFlowUrl, hasKey, removeRequestHeaders } from '
|
|
64
|
-
import { handleNextScreenStep } from '
|
|
60
|
+
import API from '@api';
|
|
61
|
+
import { BusinessType } from '@types';
|
|
62
|
+
import { BUSINESS_STEP_NAMES, defaultCountry, IDENTIFICATION_TYPE, OTHER_CR_LICENSE, OTHER_FL_LICENSE } from '@constants';
|
|
63
|
+
import { convertNumbers2English, getFlowUrl, hasKey, removeRequestHeaders } from '@utils';
|
|
64
|
+
import { handleNextScreenStep } from '@app/settings';
|
|
65
65
|
export var getCountries = createAsyncThunk('getCountries', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
66
66
|
var settings, countriesBody, businessCountry;
|
|
67
67
|
return __generator(this, function (_a) {
|
|
@@ -381,19 +381,19 @@ export var updateLeadSuccess = createAsyncThunk('updateLeadSuccess', function (p
|
|
|
381
381
|
flows: [
|
|
382
382
|
{
|
|
383
383
|
name: 'tax',
|
|
384
|
-
url: getFlowUrl('/tax')
|
|
384
|
+
url: getFlowUrl('/tax', settings.data.language)
|
|
385
385
|
},
|
|
386
386
|
{
|
|
387
387
|
name: 'bank',
|
|
388
|
-
url: getFlowUrl('/bank')
|
|
388
|
+
url: getFlowUrl('/bank', settings.data.language)
|
|
389
389
|
},
|
|
390
390
|
{
|
|
391
391
|
name: 'individual',
|
|
392
|
-
url: getFlowUrl('/individual')
|
|
392
|
+
url: getFlowUrl('/individual', settings.data.language)
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
395
|
name: 'password',
|
|
396
|
-
url: getFlowUrl('/password')
|
|
396
|
+
url: getFlowUrl('/password', settings.data.language)
|
|
397
397
|
}
|
|
398
398
|
],
|
|
399
399
|
encryption_contract: []
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { ResponseData, CountryCode, MobileFormValues, NIDFormValues, OTPFormValues, IndividualFormValues, SharedState, BrandFormValues } from '
|
|
1
|
+
import { RootState } from '@app/store';
|
|
2
|
+
import { ResponseData, CountryCode, MobileFormValues, NIDFormValues, OTPFormValues, IndividualFormValues, SharedState, BrandFormValues } from '@types';
|
|
3
3
|
import { CancelToken } from 'axios';
|
|
4
4
|
export declare const getCountries: import("@reduxjs/toolkit").AsyncThunk<{
|
|
5
5
|
businessCountry: any;
|
|
@@ -56,11 +56,11 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
56
56
|
};
|
|
57
57
|
var _a;
|
|
58
58
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
59
|
-
import { handleNextScreenStep } from '
|
|
60
|
-
import API from '
|
|
61
|
-
import { CONNECT_STEP_NAMES, IDENTIFICATION_TYPE, INSTAGRAM_URL, OTHER_BRAND, TWITTER_URL } from '
|
|
62
|
-
import { defaultCountry } from '
|
|
63
|
-
import { getIndividualName, getFlowUrl, capitalizeTheFirstLetterOfEachWord, removeRequestHeaders } from '
|
|
59
|
+
import { handleNextScreenStep } from '@app/settings';
|
|
60
|
+
import API from '@api';
|
|
61
|
+
import { CONNECT_STEP_NAMES, IDENTIFICATION_TYPE, INSTAGRAM_URL, OTHER_BRAND, TWITTER_URL } from '@constants';
|
|
62
|
+
import { defaultCountry } from '@constants';
|
|
63
|
+
import { getIndividualName, getFlowUrl, capitalizeTheFirstLetterOfEachWord, removeRequestHeaders } from '@utils';
|
|
64
64
|
export var getCountries = createAsyncThunk('getCountries', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
65
65
|
var settings, countriesBody, businessCountry;
|
|
66
66
|
return __generator(this, function (_a) {
|
|
@@ -318,7 +318,8 @@ export var checkEmailAvailability = createAsyncThunk('checkEmailAvailability', f
|
|
|
318
318
|
switch (_b.label) {
|
|
319
319
|
case 0:
|
|
320
320
|
requestBody = {
|
|
321
|
-
email: email
|
|
321
|
+
email: email,
|
|
322
|
+
encryption_contract: ['email']
|
|
322
323
|
};
|
|
323
324
|
return [4, API.availabilityServices.checkEmail(requestBody, { cancelToken: cancelToken })];
|
|
324
325
|
case 1:
|
|
@@ -339,7 +340,8 @@ export var checkBrandNameAvailability = createAsyncThunk('checkBrandNameAvailabi
|
|
|
339
340
|
switch (_b.label) {
|
|
340
341
|
case 0:
|
|
341
342
|
requestBody = {
|
|
342
|
-
profile_name: name
|
|
343
|
+
profile_name: name,
|
|
344
|
+
encryption_contract: ['profile_name']
|
|
343
345
|
};
|
|
344
346
|
return [4, API.availabilityServices.checkBrand(requestBody, { cancelToken: cancelToken })];
|
|
345
347
|
case 1:
|
|
@@ -369,7 +371,7 @@ export var updateLeadSuccess = createAsyncThunk('updateLeadSuccess', function (p
|
|
|
369
371
|
flows: [
|
|
370
372
|
{
|
|
371
373
|
name: 'business',
|
|
372
|
-
url: getFlowUrl('/business')
|
|
374
|
+
url: getFlowUrl('/business', settings.data.language)
|
|
373
375
|
}
|
|
374
376
|
],
|
|
375
377
|
id: leadId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { CountryCode, IndividualExtraFormValues, OTPFormValues, ResponseData, SharedState } from '
|
|
1
|
+
import { RootState } from '@store';
|
|
2
|
+
import { CountryCode, IndividualExtraFormValues, OTPFormValues, ResponseData, SharedState } from '@types';
|
|
3
3
|
export declare const getCountries: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
businessCountry: any;
|
|
5
5
|
countries: any;
|
|
@@ -47,10 +47,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import API from '
|
|
51
|
-
import { hasKey, removeRequestHeaders } from '
|
|
52
|
-
import { handleNextScreenStep } from '
|
|
53
|
-
import { defaultCountry, INDIVIDUAl_STEP_NAMES } from '
|
|
50
|
+
import API from '@api';
|
|
51
|
+
import { hasKey, removeRequestHeaders } from '@utils';
|
|
52
|
+
import { handleNextScreenStep } from '@app/settings';
|
|
53
|
+
import { defaultCountry, INDIVIDUAl_STEP_NAMES } from '@constants';
|
|
54
54
|
export var getCountries = createAsyncThunk('getCountries', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
55
|
var settings, countriesBody, businessCountry;
|
|
56
56
|
return __generator(this, function (_a) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { ResponseData, SharedState } from '
|
|
1
|
+
import { RootState } from '@store';
|
|
2
|
+
import { ResponseData, SharedState } from '@types';
|
|
3
3
|
export declare const verifyAuthToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
data: any;
|
|
5
5
|
token: string;
|
|
@@ -36,7 +36,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
36
36
|
};
|
|
37
37
|
var _a;
|
|
38
38
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
39
|
-
import API from '
|
|
39
|
+
import API from '@api';
|
|
40
40
|
export var verifyAuthToken = createAsyncThunk('verifyAuthToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
41
41
|
var payload, data;
|
|
42
42
|
return __generator(this, function (_a) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { OTPFormValues, PasswordCreateFormValues, ResponseData, SharedState } from '
|
|
1
|
+
import { RootState } from '@store';
|
|
2
|
+
import { OTPFormValues, PasswordCreateFormValues, ResponseData, SharedState } from '@types';
|
|
3
3
|
export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
data: any;
|
|
5
5
|
leadData: any;
|
|
@@ -47,10 +47,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import API from '
|
|
51
|
-
import { hasKey, removeRequestHeaders } from '
|
|
52
|
-
import { handleNextScreenStep } from '
|
|
53
|
-
import { PASSWORD_STEP_NAMES } from '
|
|
50
|
+
import API from '@api';
|
|
51
|
+
import { hasKey, removeRequestHeaders } from '@utils';
|
|
52
|
+
import { handleNextScreenStep } from '@app/settings';
|
|
53
|
+
import { PASSWORD_STEP_NAMES } from '@constants';
|
|
54
54
|
export var verifyLeadToken = createAsyncThunk('verifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
55
|
var payload, data, leadResponse, _a, steps, entity, hasCompleted;
|
|
56
56
|
return __generator(this, function (_b) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RootState } from '
|
|
2
|
-
import { OTPFormValues, ResponseData, SharedState, TaxFormValues } from '
|
|
1
|
+
import { RootState } from '@store';
|
|
2
|
+
import { OTPFormValues, ResponseData, SharedState, TaxFormValues } from '@types';
|
|
3
3
|
export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
4
4
|
data: any;
|
|
5
5
|
leadData: any;
|
|
@@ -47,10 +47,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import API from '
|
|
51
|
-
import { hasKey, removeRequestHeaders } from '
|
|
52
|
-
import { handleNextScreenStep } from '
|
|
53
|
-
import { TAX_STEP_NAMES } from '
|
|
50
|
+
import API from '@api';
|
|
51
|
+
import { hasKey, removeRequestHeaders } from '@utils';
|
|
52
|
+
import { handleNextScreenStep } from '@app/settings';
|
|
53
|
+
import { TAX_STEP_NAMES } from '@constants';
|
|
54
54
|
export var verifyLeadToken = createAsyncThunk('verifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
55
55
|
var payload, data, leadResponse, _a, steps, entity, hasTaxCompleted;
|
|
56
56
|
return __generator(this, function (_b) {
|
|
@@ -11,18 +11,18 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { memo, useEffect } from 'react';
|
|
14
|
-
import { useAppTheme, useAppDispatch, useAppSelector, useErrorListener, useAppConfig } from '
|
|
15
|
-
import { settingsSelector } from '
|
|
16
|
-
import AnimationFlow from '
|
|
17
|
-
import { store } from '
|
|
18
|
-
import { ReduxProvider, ThemeProvider } from '
|
|
19
|
-
import Collapse from '
|
|
20
|
-
import { getParameterByName, reactElement } from '
|
|
21
|
-
import { FeatureContainer } from '
|
|
22
|
-
import { BANK_SCREENS_NAVIGATION } from '
|
|
14
|
+
import { useAppTheme, useAppDispatch, useAppSelector, useErrorListener, useAppConfig } from '@hooks';
|
|
15
|
+
import { handleLanguage, settingsSelector } from '@app/settings';
|
|
16
|
+
import AnimationFlow from '@components/AnimationFlow';
|
|
17
|
+
import { store } from '@app/store';
|
|
18
|
+
import { ReduxProvider, ThemeProvider } from '@components/Providers';
|
|
19
|
+
import Collapse from '@components/Collapse';
|
|
20
|
+
import { getParameterByName, reactElement } from '@utils';
|
|
21
|
+
import { FeatureContainer } from '@features/shared/Containers';
|
|
22
|
+
import { BANK_SCREENS_NAVIGATION } from '@constants';
|
|
23
23
|
import { bankFeatureScreens } from '../featuresScreens';
|
|
24
24
|
import CustomFooter from '../shared/Footer';
|
|
25
|
-
import { bankSelector, verifyLeadToken } from '
|
|
25
|
+
import { bankSelector, verifyLeadToken } from '@features/app/bank/bankStore';
|
|
26
26
|
import Background from '../shared/Background';
|
|
27
27
|
var Bank = memo(function (props) {
|
|
28
28
|
var theme = useAppTheme().theme;
|
|
@@ -34,8 +34,12 @@ var Bank = memo(function (props) {
|
|
|
34
34
|
var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open;
|
|
35
35
|
var verifyToken = function () {
|
|
36
36
|
var token = getParameterByName('token');
|
|
37
|
+
var lang = getParameterByName('lang');
|
|
37
38
|
if (!token)
|
|
38
39
|
throw new Error('Auth token is not found!');
|
|
40
|
+
if (!lang)
|
|
41
|
+
throw new Error('Language is not found!');
|
|
42
|
+
dispatch(handleLanguage(lang));
|
|
39
43
|
dispatch(verifyLeadToken(token));
|
|
40
44
|
};
|
|
41
45
|
useEffect(function () {
|
|
@@ -11,20 +11,21 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
import { ScreenContainer } from '
|
|
14
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
15
15
|
import Beneficiary from './Beneficiary';
|
|
16
16
|
import IBAN from './IBAN';
|
|
17
17
|
import BankName from './BankName';
|
|
18
|
-
import Button from '
|
|
19
|
-
import { useAppDispatch, useAppSelector } from '
|
|
18
|
+
import Button from '@features/shared/Button';
|
|
19
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
20
20
|
import { BankValidation } from './validation';
|
|
21
21
|
import { useTranslation } from 'react-i18next';
|
|
22
22
|
import { useForm, FormProvider } from 'react-hook-form';
|
|
23
23
|
import { yupResolver } from '@hookform/resolvers/yup';
|
|
24
|
-
import { useLanguage } from '
|
|
24
|
+
import { useLanguage } from '@hooks';
|
|
25
25
|
import { styled } from '@mui/material/styles';
|
|
26
|
-
import { bankSelector, createBankAccount } from '
|
|
27
|
-
import Form from '
|
|
26
|
+
import { bankSelector, createBankAccount } from '@features/app/bank/bankStore';
|
|
27
|
+
import Form from '@components/Form';
|
|
28
|
+
import { handleCurrentActiveScreen } from '@app/settings';
|
|
28
29
|
var FormStyled = styled(Form)(function () { return ({
|
|
29
30
|
display: 'flex',
|
|
30
31
|
flexDirection: 'column',
|
|
@@ -50,7 +51,10 @@ var BankDetails = function () {
|
|
|
50
51
|
};
|
|
51
52
|
var t = useTranslation().t;
|
|
52
53
|
var isAr = useLanguage().isAr;
|
|
54
|
+
var onBack = function () {
|
|
55
|
+
dispatch(handleCurrentActiveScreen(''));
|
|
56
|
+
};
|
|
53
57
|
var disabled = ibanChecking || !methods.formState.isValid;
|
|
54
|
-
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(Beneficiary, {}), _jsx(IBAN, { fetchingIban: function (value) { return setIbanChecking(value); }, ibanChecking: ibanChecking }), _jsx(BankName, {}), _jsx(ButtonStyled, __assign({
|
|
58
|
+
return (_jsx(ScreenContainer, { children: _jsx(FormProvider, __assign({}, methods, { children: _jsxs(FormStyled, __assign({ onSubmit: methods.handleSubmit(onSubmit) }, { children: [_jsx(Beneficiary, {}), _jsx(IBAN, { fetchingIban: function (value) { return setIbanChecking(value); }, ibanChecking: ibanChecking }), _jsx(BankName, {}), _jsx(ButtonStyled, __assign({ onBackClicked: function () { return onBack(); }, disabled: disabled, isAr: isAr, loading: loading, error: t(error || '') }, { children: t('confirm') }))] })) })) }));
|
|
55
59
|
};
|
|
56
60
|
export default BankDetails;
|
|
@@ -11,17 +11,17 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import * as React from 'react';
|
|
14
|
-
import { ScreenContainer } from '
|
|
15
|
-
import Input from '
|
|
14
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
15
|
+
import Input from '@features/shared/Input';
|
|
16
16
|
import { useTranslation } from 'react-i18next';
|
|
17
17
|
import { useController, useFormContext } from 'react-hook-form';
|
|
18
18
|
import { styled } from '@mui/material/styles';
|
|
19
|
-
import ClearIcon from '
|
|
20
|
-
import CheckIcon from '
|
|
21
|
-
import { bankSelector } from '
|
|
22
|
-
import { useAppSelector } from '
|
|
23
|
-
import { removeAllOtherThanAlphabetAndSpace } from '
|
|
24
|
-
import Collapse from '
|
|
19
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
20
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
21
|
+
import { bankSelector } from '@features/app/bank/bankStore';
|
|
22
|
+
import { useAppSelector } from '@hooks';
|
|
23
|
+
import { removeAllOtherThanAlphabetAndSpace } from '@utils';
|
|
24
|
+
import Collapse from '@src/components/Collapse';
|
|
25
25
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
26
26
|
var theme = _a.theme;
|
|
27
27
|
return ({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import Input from '
|
|
3
|
+
import Input from '@features/shared/Input';
|
|
4
4
|
import { useTranslation } from 'react-i18next';
|
|
5
5
|
import { useController, useFormContext } from 'react-hook-form';
|
|
6
6
|
import { styled } from '@mui/material';
|
|
7
|
-
import { removeOnlyNumbers } from '
|
|
8
|
-
import { ScreenContainer } from '
|
|
9
|
-
import { bankSelector } from '
|
|
10
|
-
import { useAppSelector, useLanguage } from '
|
|
11
|
-
import ClearIcon from '
|
|
12
|
-
import CheckIcon from '
|
|
7
|
+
import { removeOnlyNumbers } from '@utils';
|
|
8
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
9
|
+
import { bankSelector } from '@features/app/bank/bankStore';
|
|
10
|
+
import { useAppSelector, useLanguage } from '@hooks';
|
|
11
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
12
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
13
13
|
var FeatureStyled = styled(ScreenContainer)(function (_a) {
|
|
14
14
|
var theme = _a.theme;
|
|
15
15
|
return ({
|
|
@@ -36,19 +36,19 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
36
36
|
};
|
|
37
37
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
38
38
|
import * as React from 'react';
|
|
39
|
-
import Input from '
|
|
39
|
+
import Input from '@features/shared/Input';
|
|
40
40
|
import { useTranslation } from 'react-i18next';
|
|
41
41
|
import { useController, useFormContext } from 'react-hook-form';
|
|
42
|
-
import { removeAllOtherThanCharsAndNumber } from '
|
|
42
|
+
import { removeAllOtherThanCharsAndNumber } from '@utils';
|
|
43
43
|
import { styled } from '@mui/material';
|
|
44
|
-
import { MAX_IBAN_VALUE } from '
|
|
45
|
-
import { ScreenContainer } from '
|
|
44
|
+
import { MAX_IBAN_VALUE } from '@constants';
|
|
45
|
+
import { ScreenContainer } from '@features/shared/Containers';
|
|
46
46
|
import { debounce } from 'lodash-es';
|
|
47
|
-
import { checkIbanBank } from '
|
|
48
|
-
import { useAppDispatch } from '
|
|
47
|
+
import { checkIbanBank } from '@features/app/bank/bankStore';
|
|
48
|
+
import { useAppDispatch } from '@hooks';
|
|
49
49
|
import axios from 'axios';
|
|
50
|
-
import ClearIcon from '
|
|
51
|
-
import CheckIcon from '
|
|
50
|
+
import ClearIcon from '@features/shared/ClearIcon';
|
|
51
|
+
import CheckIcon from '@features/shared/CheckIcon';
|
|
52
52
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
53
53
|
var InputStyled = styled(Input)(function () { return ({
|
|
54
54
|
input: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useTranslation } from 'react-i18next';
|
|
4
|
-
import SuccessScreen from '
|
|
5
|
-
import { useAppDispatch, useAppSelector } from '
|
|
6
|
-
import { bankSelector, updateLeadSuccess } from '
|
|
4
|
+
import SuccessScreen from '@features/shared/SuccessScreen';
|
|
5
|
+
import { useAppDispatch, useAppSelector } from '@hooks';
|
|
6
|
+
import { bankSelector, updateLeadSuccess } from '@features/app/bank/bankStore';
|
|
7
7
|
var Success = function (_a) {
|
|
8
8
|
var t = useTranslation().t;
|
|
9
9
|
var dispatch = useAppDispatch();
|
|
@@ -13,15 +13,15 @@ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import React, { memo, useEffect, useState } from 'react';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import { styled } from '@mui/material/styles';
|
|
16
|
-
import { FlowsButtons } from '
|
|
17
|
-
import { ICONS_NAMES } from '
|
|
18
|
-
import { useAppSelector, useLanguage } from '
|
|
19
|
-
import { allAreTruthy, showLastFour } from '
|
|
20
|
-
import { bankSelector } from '
|
|
16
|
+
import { FlowsButtons } from '@features/shared/Button';
|
|
17
|
+
import { ICONS_NAMES } from '@constants';
|
|
18
|
+
import { useAppSelector, useLanguage } from '@hooks';
|
|
19
|
+
import { allAreTruthy, showLastFour } from '@utils';
|
|
20
|
+
import { bankSelector } from '@features/app/bank/bankStore';
|
|
21
21
|
import Box from '@mui/material/Box';
|
|
22
|
-
import Text from '
|
|
23
|
-
import Container from '
|
|
24
|
-
import AcceptancePayouts from '
|
|
22
|
+
import Text from '@components/Text';
|
|
23
|
+
import Container from '@features/shared/Containers/ScreenContainer';
|
|
24
|
+
import AcceptancePayouts from '@features/shared/AcceptancePayouts';
|
|
25
25
|
var TitleStyled = styled(Text)(function (_a) {
|
|
26
26
|
var _b;
|
|
27
27
|
var theme = _a.theme;
|
|
@@ -13,10 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import * as React from 'react';
|
|
14
14
|
import Box from '@mui/material/Box/Box';
|
|
15
15
|
import { styled } from '@mui/material/styles';
|
|
16
|
-
import OTPField from '
|
|
16
|
+
import OTPField from '@features/shared/OTP';
|
|
17
17
|
import { useController, useFormContext } from 'react-hook-form';
|
|
18
18
|
import { useTranslation } from 'react-i18next';
|
|
19
|
-
import { DEFAULT_TIMER_VALUE } from '
|
|
19
|
+
import { DEFAULT_TIMER_VALUE } from '@constants';
|
|
20
20
|
var BoxStyled = styled(Box)(function (_a) {
|
|
21
21
|
var theme = _a.theme;
|
|
22
22
|
return ({
|