@tap-payments/auth-jsconnect 1.0.88 → 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 +161 -0
- 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 +2 -5
- package/build/constants/app.js +2 -5
- 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 +38 -28
- package/build/features/app/business/businessStore.d.ts +4 -4
- package/build/features/app/business/businessStore.js +17 -17
- package/build/features/app/connect/connectStore.d.ts +2 -2
- package/build/features/app/connect/connectStore.js +18 -9
- package/build/features/app/individual/individualStore.d.ts +4 -3
- package/build/features/app/individual/individualStore.js +55 -46
- 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 +35 -25
- package/build/features/app/tax/taxStore.d.ts +2 -2
- package/build/features/app/tax/taxStore.js +27 -17
- 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/object.d.ts +1 -0
- package/build/utils/object.js +5 -0
- 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 +127 -126
- package/build/components/DatePicker/customStyle.css +0 -86
- package/build/index.css +0 -135
|
@@ -14,9 +14,9 @@ import { memo } from 'react';
|
|
|
14
14
|
import { styled, useTheme } from '@mui/material/styles';
|
|
15
15
|
import Collapse from '@mui/material/Collapse';
|
|
16
16
|
import Box from '@mui/material/Box';
|
|
17
|
-
import Icon from '
|
|
18
|
-
import { ICONS_NAMES } from '
|
|
19
|
-
import { useLanguage } from '
|
|
17
|
+
import Icon from '@components/Icon';
|
|
18
|
+
import { ICONS_NAMES } from '@constants';
|
|
19
|
+
import { useLanguage } from '@hooks';
|
|
20
20
|
var BoxStyled = styled(Box)(function (_a) {
|
|
21
21
|
var _b;
|
|
22
22
|
var theme = _a.theme;
|
|
@@ -21,12 +21,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import { alpha, styled } from '@mui/material/styles';
|
|
24
|
+
import Button from '@components/Button';
|
|
25
|
+
import Icon from '@components/Icon';
|
|
26
|
+
import { styled, useTheme } from '@mui/material/styles';
|
|
28
27
|
import Box from '@mui/material/Box';
|
|
29
|
-
import { ICONS_NAMES } from '
|
|
28
|
+
import { ICONS_NAMES } from '@constants';
|
|
30
29
|
var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'disabled'; } })(function (_a) {
|
|
31
30
|
var theme = _a.theme, disabled = _a.disabled;
|
|
32
31
|
return (__assign({ width: theme.spacing(3), height: theme.spacing(3), marginInlineStart: theme.spacing(0.75) }, (disabled && {
|
|
@@ -34,40 +33,19 @@ var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop
|
|
|
34
33
|
})));
|
|
35
34
|
});
|
|
36
35
|
var ButtonBoxStyled = styled(Box)(function (_a) {
|
|
36
|
+
var _b;
|
|
37
37
|
var theme = _a.theme;
|
|
38
|
-
return ({
|
|
39
|
-
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
var ButtonStyled = styled(Button, {
|
|
43
|
-
shouldForwardProp: function (prop) { return prop !== 'hideIcon' && prop !== 'touched'; }
|
|
44
|
-
})(function (_a) {
|
|
45
|
-
var theme = _a.theme, hideIcon = _a.hideIcon, touched = _a.touched;
|
|
46
|
-
return ({
|
|
47
|
-
paddingInlineStart: theme.spacing(0.75),
|
|
48
|
-
textTransform: 'none',
|
|
49
|
-
backgroundColor: touched ? theme.palette.primary.light : theme.palette.common.white,
|
|
50
|
-
border: "1px solid ".concat(hideIcon ? theme.palette.primary.main : theme.palette.primary.light),
|
|
51
|
-
color: hideIcon ? theme.palette.primary.main : touched ? theme.palette.common.white : theme.palette.primary.light,
|
|
52
|
-
'&:hover': {
|
|
53
|
-
backgroundColor: touched ? theme.palette.primary.light : theme.palette.common.white,
|
|
54
|
-
color: hideIcon ? theme.palette.primary.main : touched ? theme.palette.common.white : theme.palette.primary.light,
|
|
55
|
-
img: {
|
|
56
|
-
filter: touched ? 'brightness(0) invert(1)' : ''
|
|
57
|
-
}
|
|
38
|
+
return (_b = {
|
|
39
|
+
margin: theme.spacing(0, 2.5, 2.5, 2.5)
|
|
58
40
|
},
|
|
59
|
-
'
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
});
|
|
41
|
+
_b[theme.breakpoints.down('sm')] = {
|
|
42
|
+
margin: theme.spacing(0, 2.5, 0.25, 2.5)
|
|
43
|
+
},
|
|
44
|
+
_b);
|
|
65
45
|
});
|
|
66
46
|
export default function AbsherButton(_a) {
|
|
67
47
|
var children = _a.children, isAr = _a.isAr, hideIcon = _a.hideIcon, disabled = _a.disabled, props = __rest(_a, ["children", "isAr", "hideIcon", "disabled"]);
|
|
68
|
-
var
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
};
|
|
72
|
-
return (_jsx(ButtonBoxStyled, { children: _jsx(ButtonStyled, __assign({ onTouchStart: handleTouch, touched: touched, hideIcon: hideIcon, disabled: disabled, type: 'button', startIcon: !hideIcon && _jsx(IconStyled, { disabled: disabled, src: ICONS_NAMES.ABSHER_LOGO }) }, props, { children: children })) }));
|
|
48
|
+
var theme = useTheme();
|
|
49
|
+
var btnColor = theme.palette.primary.light;
|
|
50
|
+
return (_jsx(ButtonBoxStyled, { children: _jsx(Button, __assign({ outLineColor: btnColor, variant: 'outlined', disabled: disabled, type: 'button', startIcon: !hideIcon && _jsx(IconStyled, { disabled: disabled, src: ICONS_NAMES.ABSHER_LOGO }) }, props, { children: children })) }));
|
|
73
51
|
}
|
|
@@ -22,15 +22,15 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
24
|
import React, { Fragment } from 'react';
|
|
25
|
-
import Button from '
|
|
26
|
-
import Icon from '
|
|
25
|
+
import Button from '@components/Button';
|
|
26
|
+
import Icon from '@components/Icon';
|
|
27
27
|
import { styled } from '@mui/material/styles';
|
|
28
|
-
import Loader from '
|
|
29
|
-
import { ICONS_NAMES } from '
|
|
30
|
-
import Warning from '
|
|
31
|
-
import Collapse from '
|
|
28
|
+
import Loader from '@components/Loader';
|
|
29
|
+
import { ICONS_NAMES } from '@constants';
|
|
30
|
+
import Warning from '@components/Warning';
|
|
31
|
+
import Collapse from '@components/Collapse';
|
|
32
32
|
import Box from '@mui/material/Box';
|
|
33
|
-
import Text from '
|
|
33
|
+
import Text from '@components/Text';
|
|
34
34
|
var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
|
35
35
|
var theme = _a.theme, isAr = _a.isAr;
|
|
36
36
|
return ({
|
|
@@ -10,12 +10,11 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { alpha, styled } from '@mui/material/styles';
|
|
13
|
+
import Button from '@components/Button';
|
|
14
|
+
import { styled } from '@mui/material/styles';
|
|
16
15
|
import Box from '@mui/material/Box';
|
|
17
16
|
import Link from '@mui/material/Link';
|
|
18
|
-
import { ICONS_NAMES } from '
|
|
17
|
+
import { ICONS_NAMES } from '@constants';
|
|
19
18
|
var Image = styled('img')(function (_a) {
|
|
20
19
|
var theme = _a.theme;
|
|
21
20
|
return ({
|
|
@@ -26,72 +25,37 @@ var Image = styled('img')(function (_a) {
|
|
|
26
25
|
});
|
|
27
26
|
});
|
|
28
27
|
var ButtonBoxStyled = styled(Box)(function (_a) {
|
|
28
|
+
var _b;
|
|
29
29
|
var theme = _a.theme;
|
|
30
|
-
return ({
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
return (_b = {
|
|
31
|
+
margin: theme.spacing(0, 2.5, 2.5, 2.5)
|
|
32
|
+
},
|
|
33
|
+
_b[theme.breakpoints.down('sm')] = {
|
|
34
|
+
margin: theme.spacing(0, 2.5, 0.25, 2.5)
|
|
35
|
+
},
|
|
36
|
+
_b);
|
|
33
37
|
});
|
|
34
38
|
var GMailButtonStyled = styled(Button)(function (_a) {
|
|
35
39
|
var theme = _a.theme;
|
|
36
40
|
return ({
|
|
37
41
|
width: '100%',
|
|
38
|
-
|
|
39
|
-
paddingInlineStart: theme.spacing(0.75),
|
|
40
|
-
marginBottom: theme.spacing(1.875),
|
|
41
|
-
backgroundColor: theme.palette.common.white,
|
|
42
|
-
border: "1px solid ".concat(theme.palette.primary.main),
|
|
43
|
-
color: theme.palette.primary.main,
|
|
44
|
-
'&:hover': {
|
|
45
|
-
backgroundColor: theme.palette.primary.main,
|
|
46
|
-
color: theme.palette.common.white
|
|
47
|
-
},
|
|
48
|
-
'&:disabled': {
|
|
49
|
-
backgroundColor: theme.palette.common.white,
|
|
50
|
-
color: alpha(theme.palette.primary.main, 0.3)
|
|
51
|
-
}
|
|
42
|
+
marginBottom: theme.spacing(1.875)
|
|
52
43
|
});
|
|
53
44
|
});
|
|
54
45
|
var OutlookButtonStyled = styled(Button)(function (_a) {
|
|
55
46
|
var theme = _a.theme;
|
|
56
47
|
return ({
|
|
57
|
-
width: '100%'
|
|
58
|
-
textTransform: 'none',
|
|
59
|
-
paddingInlineStart: theme.spacing(0.75),
|
|
60
|
-
backgroundColor: theme.palette.common.white,
|
|
61
|
-
border: "1px solid ".concat(theme.palette.primary.main),
|
|
62
|
-
color: theme.palette.primary.main,
|
|
63
|
-
'&:hover': {
|
|
64
|
-
backgroundColor: theme.palette.primary.main,
|
|
65
|
-
color: theme.palette.common.white
|
|
66
|
-
},
|
|
67
|
-
'&:disabled': {
|
|
68
|
-
backgroundColor: theme.palette.common.white,
|
|
69
|
-
color: alpha(theme.palette.primary.main, 0.3)
|
|
70
|
-
}
|
|
48
|
+
width: '100%'
|
|
71
49
|
});
|
|
72
50
|
});
|
|
73
51
|
var AppleButtonStyled = styled(Button)(function (_a) {
|
|
74
52
|
var theme = _a.theme;
|
|
75
53
|
return ({
|
|
76
54
|
width: '100%',
|
|
77
|
-
|
|
78
|
-
paddingInlineStart: theme.spacing(0.75),
|
|
79
|
-
backgroundColor: theme.palette.common.white,
|
|
80
|
-
border: "1px solid ".concat(theme.palette.primary.main),
|
|
81
|
-
marginBottom: theme.spacing(1.875),
|
|
82
|
-
color: theme.palette.primary.main,
|
|
83
|
-
'&:hover': {
|
|
84
|
-
backgroundColor: theme.palette.primary.main,
|
|
85
|
-
color: theme.palette.common.white
|
|
86
|
-
},
|
|
87
|
-
'&:disabled': {
|
|
88
|
-
backgroundColor: theme.palette.common.white,
|
|
89
|
-
color: alpha(theme.palette.primary.main, 0.3)
|
|
90
|
-
}
|
|
55
|
+
marginBottom: theme.spacing(1.875)
|
|
91
56
|
});
|
|
92
57
|
});
|
|
93
58
|
export default function EmailProvidersButtons(_a) {
|
|
94
59
|
var gmail = _a.gmail, outlook = _a.outlook, apple = _a.apple;
|
|
95
|
-
|
|
96
|
-
return (_jsxs(ButtonBoxStyled, { children: [_jsx(Link, __assign({ href: gmail.href, underline: 'none', target: '_blank', onMouseEnter: function () { return setIndex(0); }, onMouseLeave: function () { return setIndex(undefined); } }, { children: _jsx(GMailButtonStyled, __assign({ startIcon: _jsx(Image, { src: index === 0 ? ICONS_NAMES.GMAIL_White_ICON : ICONS_NAMES.GMAIL_Filled_ICON, alt: gmail.title }), type: 'button' }, { children: gmail.title })) })), _jsx(Link, __assign({ href: apple.href, underline: 'none', target: '_blank', onMouseEnter: function () { return setIndex(1); }, onMouseLeave: function () { return setIndex(undefined); } }, { children: _jsx(AppleButtonStyled, __assign({ startIcon: _jsx(Image, { src: index === 1 ? ICONS_NAMES.apple_white_icon : ICONS_NAMES.Apple_Filled_ICON, alt: apple.title }), type: 'button' }, { children: apple.title })) })), _jsx(Link, __assign({ href: outlook.href, underline: 'none', target: '_blank', onMouseEnter: function () { return setIndex(2); }, onMouseLeave: function () { return setIndex(undefined); } }, { children: _jsx(OutlookButtonStyled, __assign({ startIcon: _jsx(Image, { src: index === 2 ? ICONS_NAMES.outlook_White_ICON : ICONS_NAMES.outlook_Filled_ICON, alt: outlook.title }), type: 'button' }, { children: outlook.title })) }))] }));
|
|
60
|
+
return (_jsxs(ButtonBoxStyled, { children: [_jsx(Link, __assign({ href: gmail.href, underline: 'none', target: '_blank' }, { children: _jsx(GMailButtonStyled, __assign({ variant: 'outlined', startIcon: _jsx(Image, { src: ICONS_NAMES.GMAIL_Filled_ICON, alt: gmail.title }), type: 'button' }, { children: gmail.title })) })), _jsx(Link, __assign({ href: apple.href, underline: 'none', target: '_blank' }, { children: _jsx(AppleButtonStyled, __assign({ variant: 'outlined', startIcon: _jsx(Image, { src: ICONS_NAMES.Apple_Filled_ICON, alt: apple.title }), type: 'button' }, { children: apple.title })) })), _jsx(Link, __assign({ href: outlook.href, underline: 'none', target: '_blank' }, { children: _jsx(OutlookButtonStyled, __assign({ variant: 'outlined', startIcon: _jsx(Image, { src: ICONS_NAMES.outlook_Filled_ICON, alt: outlook.title }), type: 'button' }, { children: outlook.title })) }))] }));
|
|
97
61
|
}
|
|
@@ -10,58 +10,70 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { alpha, styled, useTheme } from '@mui/material/styles';
|
|
13
|
+
import Button from '@components/Button';
|
|
14
|
+
import { alpha, styled } from '@mui/material/styles';
|
|
16
15
|
import Box from '@mui/material/Box';
|
|
17
16
|
import Link from '@mui/material/Link';
|
|
18
|
-
import { ICONS_NAMES } from '
|
|
17
|
+
import { ICONS_NAMES } from '@src/constants';
|
|
19
18
|
import CheckIcon from '@mui/icons-material/Check';
|
|
20
|
-
import { useAppDispatch } from '
|
|
21
|
-
import { handleOpen } from '
|
|
22
|
-
import useMediaQuery from '@mui/material/useMediaQuery';
|
|
19
|
+
import { useAppDispatch } from '@src/hooks';
|
|
20
|
+
import { handleOpen } from '@src/app/settings';
|
|
23
21
|
var Image = styled('img', { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
|
24
22
|
var theme = _a.theme;
|
|
25
23
|
return ({
|
|
26
24
|
width: theme.spacing(3),
|
|
27
25
|
height: theme.spacing(3),
|
|
28
26
|
fontSize: theme.spacing(3),
|
|
29
|
-
marginInlineStart: theme.spacing(1)
|
|
30
|
-
transform: theme.direction === 'rtl' ? 'scaleX(-1)' : 'scaleX(1)'
|
|
27
|
+
marginInlineStart: theme.spacing(1)
|
|
31
28
|
});
|
|
32
29
|
});
|
|
33
30
|
var ButtonBoxStyled = styled(Box)(function (_a) {
|
|
31
|
+
var _b;
|
|
34
32
|
var theme = _a.theme;
|
|
35
|
-
return ({
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
return (_b = {
|
|
34
|
+
margin: theme.spacing(0, 2.5, 2.5, 2.5)
|
|
35
|
+
},
|
|
36
|
+
_b[theme.breakpoints.down('sm')] = {
|
|
37
|
+
margin: theme.spacing(0, 2.5, 0.25, 2.5)
|
|
38
|
+
},
|
|
39
|
+
_b);
|
|
38
40
|
});
|
|
39
41
|
var ButtonStyled = styled(Button, {
|
|
40
|
-
shouldForwardProp: function (prop) { return
|
|
42
|
+
shouldForwardProp: function (prop) { return prop !== 'isCompleted'; }
|
|
41
43
|
})(function (_a) {
|
|
42
44
|
var _b;
|
|
43
|
-
var theme = _a.theme, isCompleted = _a.isCompleted
|
|
44
|
-
return (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
var theme = _a.theme, isCompleted = _a.isCompleted;
|
|
46
|
+
return ({
|
|
47
|
+
'&.MuiButton-outlined': __assign(__assign({}, (isCompleted && {
|
|
48
|
+
paddingInlineEnd: theme.spacing(1.625),
|
|
49
|
+
color: theme.palette.success.main,
|
|
50
|
+
border: "1px solid ".concat(theme.palette.success.main)
|
|
51
|
+
})), (_b = { '&:hover': __assign({}, (isCompleted && {
|
|
52
|
+
backgroundColor: theme.palette.common.white,
|
|
53
|
+
border: "1px solid ".concat(theme.palette.success.main),
|
|
54
|
+
color: theme.palette.success.main,
|
|
55
|
+
cursor: 'initial',
|
|
56
|
+
img: {
|
|
57
|
+
filter: 'none'
|
|
58
|
+
}
|
|
59
|
+
})) }, _b[theme.breakpoints.down('sm')] = {
|
|
60
|
+
'&:hover': __assign({ backgroundColor: theme.palette.common.white, border: "1px solid ".concat(theme.palette.primary.main), img: {
|
|
61
|
+
filter: 'none'
|
|
62
|
+
}, color: theme.palette.primary.main }, (isCompleted && {
|
|
49
63
|
backgroundColor: theme.palette.common.white,
|
|
50
64
|
border: "1px solid ".concat(theme.palette.success.main),
|
|
65
|
+
paddingInlineEnd: theme.spacing(1.625),
|
|
51
66
|
color: theme.palette.success.main,
|
|
52
|
-
cursor: 'initial'
|
|
53
|
-
|
|
54
|
-
|
|
67
|
+
cursor: 'initial',
|
|
68
|
+
img: {
|
|
69
|
+
filter: 'none'
|
|
70
|
+
}
|
|
71
|
+
}))
|
|
72
|
+
}, _b['&:disabled'] = {
|
|
55
73
|
backgroundColor: theme.palette.common.white,
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
cursor: 'initial'
|
|
60
|
-
}))
|
|
61
|
-
}, _b['&:disabled'] = {
|
|
62
|
-
backgroundColor: theme.palette.common.white,
|
|
63
|
-
color: alpha(theme.palette.primary.main, 0.3)
|
|
64
|
-
}, _b)));
|
|
74
|
+
color: alpha(theme.palette.primary.main, 0.3)
|
|
75
|
+
}, _b))
|
|
76
|
+
});
|
|
65
77
|
});
|
|
66
78
|
var CheckIconStyled = styled(CheckIcon)(function (_a) {
|
|
67
79
|
var theme = _a.theme;
|
|
@@ -73,14 +85,7 @@ var CheckIconStyled = styled(CheckIcon)(function (_a) {
|
|
|
73
85
|
});
|
|
74
86
|
export default function FlowsButtons(_a) {
|
|
75
87
|
var buttons = _a.buttons;
|
|
76
|
-
var _b = React.useState(), index = _b[0], setIndex = _b[1];
|
|
77
|
-
var _c = React.useState(false), touched = _c[0], setTouched = _c[1];
|
|
78
88
|
var dispatch = useAppDispatch();
|
|
79
|
-
var theme = useTheme();
|
|
80
|
-
var isMobile = useMediaQuery(theme.breakpoints.down('sm'));
|
|
81
|
-
var handleTouch = function () {
|
|
82
|
-
setTouched(true);
|
|
83
|
-
};
|
|
84
89
|
var onRedirect = function (item) {
|
|
85
90
|
if (item.isCompleted)
|
|
86
91
|
return;
|
|
@@ -92,13 +97,8 @@ export default function FlowsButtons(_a) {
|
|
|
92
97
|
return (_jsx(ButtonBoxStyled, { children: buttons.map(function (_a, idx) {
|
|
93
98
|
var title = _a.title, href = _a.href, src = _a.src, hoverSrc = _a.hoverSrc, isCompleted = _a.isCompleted, sx = _a.sx;
|
|
94
99
|
var isLast = idx === buttons.length - 1;
|
|
95
|
-
return (_jsx(Link, __assign({ underline: 'none',
|
|
96
|
-
setTouched(false);
|
|
100
|
+
return (_jsx(Link, __assign({ underline: 'none', onClick: function () {
|
|
97
101
|
onRedirect({ title: title, href: href, src: src, hoverSrc: hoverSrc, isCompleted: isCompleted });
|
|
98
|
-
} }, { children: _jsx(ButtonStyled, __assign({
|
|
99
|
-
? touched
|
|
100
|
-
? ICONS_NAMES.Arrow_white_right_icon
|
|
101
|
-
: ICONS_NAMES.Arrow_filled_right_icon
|
|
102
|
-
: ICONS_NAMES.Arrow_filled_right_icon })) : (_jsx(Image, { sx: { height: 15 }, src: index === idx ? ICONS_NAMES.Arrow_white_right_icon : ICONS_NAMES.Arrow_filled_right_icon })), startIcon: isMobile ? (_jsx(Image, { src: index === idx ? (touched ? hoverSrc : src) : src, alt: title })) : (_jsx(Image, { src: index === idx ? hoverSrc : src, alt: title })), type: 'button' }, { children: title })) }), idx));
|
|
102
|
+
} }, { children: _jsx(ButtonStyled, __assign({ variant: 'outlined', isCompleted: isCompleted, sx: __assign({ mb: isLast ? 0 : 1.8 }, sx), endIcon: isCompleted ? (_jsx(CheckIconStyled, {})) : (_jsx(Image, { sx: { height: 15, transform: 'unset' }, src: ICONS_NAMES.Arrow_filled_right_icon })), startIcon: _jsx(Image, { src: src, alt: title }), type: 'button' }, { children: title })) }), idx));
|
|
103
103
|
}) }));
|
|
104
104
|
}
|
|
@@ -21,12 +21,11 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import { alpha, styled } from '@mui/material/styles';
|
|
24
|
+
import Button from '@components/Button';
|
|
25
|
+
import Icon from '@components/Icon';
|
|
26
|
+
import { styled } from '@mui/material/styles';
|
|
28
27
|
import Box from '@mui/material/Box';
|
|
29
|
-
import { ICONS_NAMES } from '
|
|
28
|
+
import { ICONS_NAMES } from '@constants';
|
|
30
29
|
var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop !== 'disabled'; } })(function (_a) {
|
|
31
30
|
var theme = _a.theme, disabled = _a.disabled;
|
|
32
31
|
return (__assign({ width: theme.spacing(3), height: theme.spacing(3), marginInlineStart: theme.spacing(0.75) }, (disabled && {
|
|
@@ -34,37 +33,17 @@ var IconStyled = styled(Icon, { shouldForwardProp: function (prop) { return prop
|
|
|
34
33
|
})));
|
|
35
34
|
});
|
|
36
35
|
var ButtonBoxStyled = styled(Box)(function (_a) {
|
|
36
|
+
var _b;
|
|
37
37
|
var theme = _a.theme;
|
|
38
|
-
return ({
|
|
39
|
-
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
var ButtonStyled = styled(Button, { shouldForwardProp: function (prop) { return prop !== 'touched'; } })(function (_a) {
|
|
43
|
-
var theme = _a.theme, touched = _a.touched;
|
|
44
|
-
return ({
|
|
45
|
-
paddingInlineStart: theme.spacing(0.75),
|
|
46
|
-
textTransform: 'none',
|
|
47
|
-
backgroundColor: touched ? theme.palette.primary.main : theme.palette.common.white,
|
|
48
|
-
border: "1px solid ".concat(theme.palette.primary.main),
|
|
49
|
-
color: touched ? theme.palette.common.white : theme.palette.primary.main,
|
|
50
|
-
'&:hover': {
|
|
51
|
-
backgroundColor: touched ? theme.palette.primary.main : theme.palette.common.white,
|
|
52
|
-
color: touched ? theme.palette.common.white : theme.palette.primary.main,
|
|
53
|
-
img: {
|
|
54
|
-
filter: touched ? 'brightness(0) invert(1)' : ''
|
|
55
|
-
}
|
|
38
|
+
return (_b = {
|
|
39
|
+
margin: theme.spacing(0, 2.5, 2.5, 2.5)
|
|
56
40
|
},
|
|
57
|
-
'
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
});
|
|
41
|
+
_b[theme.breakpoints.down('sm')] = {
|
|
42
|
+
margin: theme.spacing(0, 2.5, 0.25, 2.5)
|
|
43
|
+
},
|
|
44
|
+
_b);
|
|
62
45
|
});
|
|
63
46
|
export default function MobileButton(_a) {
|
|
64
47
|
var children = _a.children, isAr = _a.isAr, hideIcon = _a.hideIcon, disabled = _a.disabled, props = __rest(_a, ["children", "isAr", "hideIcon", "disabled"]);
|
|
65
|
-
|
|
66
|
-
var handleTouch = function () {
|
|
67
|
-
setTouched(true);
|
|
68
|
-
};
|
|
69
|
-
return (_jsx(ButtonBoxStyled, { children: _jsx(ButtonStyled, __assign({ onTouchStart: handleTouch, touched: touched, disabled: disabled, type: 'button', startIcon: !hideIcon && _jsx(IconStyled, { disabled: disabled, src: ICONS_NAMES.MOBILE_ICON }) }, props, { children: children })) }));
|
|
48
|
+
return (_jsx(ButtonBoxStyled, { children: _jsx(Button, __assign({ disabled: disabled, type: 'button', variant: 'outlined', startIcon: !hideIcon && _jsx(IconStyled, { disabled: disabled, src: ICONS_NAMES.MOBILE_ICON }) }, props, { children: children })) }));
|
|
70
49
|
}
|
|
@@ -29,20 +29,22 @@ var ButtonStyled = styled(Button, {
|
|
|
29
29
|
shouldForwardProp: function (prop) { return prop !== 'isLoading'; }
|
|
30
30
|
})(function (_a) {
|
|
31
31
|
var theme = _a.theme, isLoading = _a.isLoading;
|
|
32
|
-
return (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
return ({
|
|
33
|
+
'&.MuiButton-outlined': __assign({ width: '100%', textTransform: 'none', paddingInlineStart: theme.spacing(0.75), backgroundColor: theme.palette.common.white, color: theme.palette.primary.main, border: "1px solid ".concat(theme.palette.primary.main), '&:hover': {
|
|
34
|
+
backgroundColor: theme.palette.common.white,
|
|
35
|
+
color: theme.palette.primary.main
|
|
36
|
+
}, '&:disabled': {
|
|
37
|
+
backgroundColor: theme.palette.primary.main,
|
|
38
|
+
color: theme.palette.common.white
|
|
39
|
+
}, transition: theme.transitions.create(['width', 'padding'], {
|
|
40
|
+
easing: theme.transitions.easing.easeInOut,
|
|
41
|
+
duration: theme.transitions.duration.complex * 2
|
|
42
|
+
}) }, (isLoading && {
|
|
43
|
+
minWidth: 0,
|
|
44
|
+
width: theme.spacing(6),
|
|
45
|
+
borderRadius: 30
|
|
46
|
+
}))
|
|
47
|
+
});
|
|
46
48
|
});
|
|
47
49
|
var ButtonBoxStyled = styled(Box)(function (_a) {
|
|
48
50
|
var theme = _a.theme;
|
|
@@ -62,5 +64,5 @@ export default function SuccessButton(_a) {
|
|
|
62
64
|
React.useEffect(function () {
|
|
63
65
|
setBtnLoading(false);
|
|
64
66
|
}, []);
|
|
65
|
-
return (_jsx(ButtonBoxStyled, { children: _jsx(ButtonStyled, __assign({ isAr: isAr, isLoading: btnLoading, loading: btnLoading, disabled: disabled, type: 'button' }, props, { children: children })) }));
|
|
67
|
+
return (_jsx(ButtonBoxStyled, { children: _jsx(ButtonStyled, __assign({ isAr: isAr, isLoading: btnLoading, loading: btnLoading, disabled: disabled, type: 'button', variant: 'outlined' }, props, { children: children })) }));
|
|
66
68
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { LanguageMode } from '
|
|
3
|
-
import { useAppDispatch, useLanguage, useAppSelector } from '
|
|
4
|
-
import { handleLanguage } from '
|
|
5
|
-
import Footer from '
|
|
2
|
+
import { LanguageMode } from '@types';
|
|
3
|
+
import { useAppDispatch, useLanguage, useAppSelector } from '@hooks';
|
|
4
|
+
import { handleLanguage } from '@app/settings';
|
|
5
|
+
import Footer from '@components/Footer';
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
|
-
import { connectSelector } from '
|
|
7
|
+
import { connectSelector } from '@features/app/connect/connectStore';
|
|
8
8
|
export default function CustomFooter() {
|
|
9
9
|
var isEn = useLanguage().isEn;
|
|
10
10
|
var t = useTranslation().t;
|
|
11
11
|
var dispatch = useAppDispatch();
|
|
12
|
-
var
|
|
12
|
+
var data = useAppSelector(connectSelector).data;
|
|
13
13
|
var handleChangeLanguage = function () {
|
|
14
14
|
var language = isEn ? LanguageMode.AR : LanguageMode.EN;
|
|
15
15
|
dispatch(handleLanguage(language));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { InputProps } from '
|
|
2
|
+
import { InputProps } from '@components/Input';
|
|
3
3
|
export declare const InputLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
|
|
4
4
|
align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
|
|
5
5
|
children?: React.ReactNode;
|
|
@@ -22,9 +22,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
24
24
|
import { styled, alpha } from '@mui/material/styles';
|
|
25
|
-
import Text from '
|
|
25
|
+
import Text from '@components/Text';
|
|
26
26
|
import Box from '@mui/material/Box';
|
|
27
|
-
import Input from '
|
|
27
|
+
import Input from '@components/Input';
|
|
28
28
|
import Mandatory from '../Mandatory';
|
|
29
29
|
export var InputLabelStyled = styled(Text)(function (_a) {
|
|
30
30
|
var theme = _a.theme;
|
|
@@ -24,9 +24,9 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
24
24
|
import * as React from 'react';
|
|
25
25
|
import { styled } from '@mui/material/styles';
|
|
26
26
|
import Box from '@mui/material/Box/Box';
|
|
27
|
-
import OTPField from '
|
|
28
|
-
import OTPTimer from '
|
|
29
|
-
import { useContainerDimensions } from '
|
|
27
|
+
import OTPField from '@components/OTPField';
|
|
28
|
+
import OTPTimer from '@components/OTPTimer';
|
|
29
|
+
import { useContainerDimensions } from '@hooks';
|
|
30
30
|
var OTPStyled = styled(OTPField)(function (_a) {
|
|
31
31
|
var _b;
|
|
32
32
|
var theme = _a.theme, parentWidth = _a.parentWidth;
|
|
@@ -1,7 +1,7 @@
|
|
|
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 Input from '
|
|
4
|
+
import Input from '@features/shared/Input';
|
|
5
5
|
var Search = function (_a) {
|
|
6
6
|
var onSearchValue = _a.onSearchValue;
|
|
7
7
|
var t = useTranslation().t;
|
|
@@ -10,9 +10,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import Icon from '
|
|
13
|
+
import Icon from '@src/components/Icon';
|
|
14
14
|
import { styled } from '@mui/material/styles';
|
|
15
|
-
import { ICONS_NAMES } from '
|
|
15
|
+
import { ICONS_NAMES } from '@src/constants';
|
|
16
16
|
var SearchIcon = styled(Icon)(function (_a) {
|
|
17
17
|
var theme = _a.theme;
|
|
18
18
|
return ({
|
|
@@ -14,12 +14,12 @@ import Box from '@mui/material/Box/Box';
|
|
|
14
14
|
import { styled } from '@mui/material/styles';
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
import { useTranslation } from 'react-i18next';
|
|
17
|
-
import Text from '
|
|
17
|
+
import Text from '@components/Text';
|
|
18
18
|
import Container from '../Containers/ScreenContainer';
|
|
19
|
-
import { EmailProvidersButton, SuccessButton } from '
|
|
20
|
-
import Icon from '
|
|
21
|
-
import { ICONS_NAMES } from '
|
|
22
|
-
import { useLanguage } from '
|
|
19
|
+
import { EmailProvidersButton, SuccessButton } from '@features/shared/Button';
|
|
20
|
+
import Icon from '@components/Icon';
|
|
21
|
+
import { ICONS_NAMES } from '@constants';
|
|
22
|
+
import { useLanguage } from '@hooks';
|
|
23
23
|
var MailBoxStyled = styled(Box)(function () { return ({
|
|
24
24
|
width: '100%'
|
|
25
25
|
}); });
|