@tap-payments/auth-jsconnect 2.0.53-test → 2.0.54-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.
Files changed (194) hide show
  1. package/build/@types/app.d.ts +4 -15
  2. package/build/@types/app.js +0 -9
  3. package/build/@types/form.d.ts +0 -11
  4. package/build/api/auth.d.ts +1 -14
  5. package/build/api/auth.js +1 -24
  6. package/build/api/axios.js +2 -2
  7. package/build/api/data.d.ts +1 -4
  8. package/build/api/data.js +2 -6
  9. package/build/api/entity.d.ts +0 -2
  10. package/build/api/index.d.ts +1 -5
  11. package/build/app/rootReducer.d.ts +0 -3
  12. package/build/app/rootReducer.js +1 -7
  13. package/build/app/settings.js +2 -8
  14. package/build/app/store.d.ts +1 -7
  15. package/build/assets/locales/ar.json +4 -14
  16. package/build/assets/locales/en.json +4 -14
  17. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -4
  18. package/build/components/AnimationFlow/AnimationFlow.js +7 -5
  19. package/build/components/AnimationFlow/BottomSheet.js +1 -2
  20. package/build/components/AnimationFlow/Dialog.d.ts +1 -4
  21. package/build/components/AnimationFlow/Dialog.js +4 -9
  22. package/build/components/FileInput/DragAndDrop.d.ts +1 -9
  23. package/build/components/FileInput/DragAndDrop.js +8 -113
  24. package/build/components/ProgressBar/index.d.ts +0 -2
  25. package/build/components/ProgressBar/index.js +0 -2
  26. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -2
  27. package/build/components/SocialMediaGroup/SocialMediaGroup.js +34 -27
  28. package/build/constants/api.d.ts +0 -1
  29. package/build/constants/api.js +2 -5
  30. package/build/constants/app.d.ts +0 -15
  31. package/build/constants/app.js +3 -75
  32. package/build/constants/assets.d.ts +1 -17
  33. package/build/constants/assets.js +6 -22
  34. package/build/constants/validation.d.ts +0 -1
  35. package/build/constants/validation.js +0 -1
  36. package/build/features/app/bank/bankStore.d.ts +0 -4
  37. package/build/features/app/bank/bankStore.js +22 -42
  38. package/build/features/app/business/businessStore.js +12 -16
  39. package/build/features/app/connect/connectStore.d.ts +1 -13
  40. package/build/features/app/connect/connectStore.js +4 -164
  41. package/build/features/app/signIn/signInStore.js +2 -2
  42. package/build/features/bank/Bank.js +4 -10
  43. package/build/features/bank/screens/BankDetails/BankDetails.js +2 -2
  44. package/build/features/bank/screens/BankDetails/BankStatement.js +8 -33
  45. package/build/features/business/Business.d.ts +1 -1
  46. package/build/features/business/Business.js +5 -12
  47. package/build/features/business/screens/Activities/ActivitiesList.d.ts +1 -1
  48. package/build/features/business/screens/Activities/SalesChannels.js +1 -1
  49. package/build/features/business/screens/Customers/CustomerLocations.d.ts +2 -2
  50. package/build/features/connect/Connect.d.ts +1 -2
  51. package/build/features/connect/Connect.js +10 -40
  52. package/build/features/connect/screens/Individual/Individual.js +2 -6
  53. package/build/features/connect/screens/Merchant/Merchant.js +11 -35
  54. package/build/features/connect/screens/Merchant/SocialMedia.js +11 -56
  55. package/build/features/connect/screens/Merchant/validation.d.ts +0 -87
  56. package/build/features/connect/screens/Merchant/validation.js +2 -68
  57. package/build/features/connect/screens/Mobile/Mobile.js +4 -7
  58. package/build/features/featuresScreens.d.ts +0 -3
  59. package/build/features/featuresScreens.js +0 -48
  60. package/build/features/individual/Individual.d.ts +1 -1
  61. package/build/features/individual/Individual.js +5 -12
  62. package/build/features/password/Password.d.ts +1 -1
  63. package/build/features/password/Password.js +5 -12
  64. package/build/features/shared/Background/Background.d.ts +5 -7
  65. package/build/features/shared/Background/Background.js +5 -16
  66. package/build/features/shared/Input/Input.d.ts +1 -1
  67. package/build/features/shared/Input/Input.js +2 -2
  68. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -8
  69. package/build/features/shared/UploadFile/UploadFile.js +8 -23
  70. package/build/features/signIn/SignIn.d.ts +1 -1
  71. package/build/features/signIn/SignIn.js +4 -12
  72. package/build/features/tax/Tax.d.ts +1 -1
  73. package/build/features/tax/Tax.js +4 -12
  74. package/build/hooks/index.d.ts +0 -1
  75. package/build/hooks/index.js +0 -1
  76. package/build/hooks/useAppConfig.js +0 -2
  77. package/build/hooks/useAppDispatch.d.ts +0 -3
  78. package/build/hooks/useErrorListener.js +2 -3
  79. package/build/index.d.ts +2 -5
  80. package/build/index.js +2 -11
  81. package/build/utils/device.d.ts +0 -1
  82. package/build/utils/device.js +0 -13
  83. package/build/utils/html.d.ts +0 -1
  84. package/build/utils/html.js +0 -6
  85. package/build/utils/locale.js +1 -1
  86. package/build/utils/rsa.d.ts +2 -2
  87. package/build/utils/rsa.js +1 -1
  88. package/build/utils/string.d.ts +20 -22
  89. package/build/utils/string.js +0 -9
  90. package/package.json +129 -129
  91. package/build/components/Lottie/Lottie.d.ts +0 -878
  92. package/build/components/Lottie/Lottie.js +0 -58
  93. package/build/components/Lottie/files/pulsating_circle_waves.json +0 -236
  94. package/build/components/Lottie/files/success.json +0 -425
  95. package/build/components/Lottie/index.d.ts +0 -3
  96. package/build/components/Lottie/index.js +0 -3
  97. package/build/components/ProgressBar/CircularProgressBar.d.ts +0 -14
  98. package/build/components/ProgressBar/CircularProgressBar.js +0 -48
  99. package/build/features/app/auth/authStore.d.ts +0 -35
  100. package/build/features/app/auth/authStore.js +0 -148
  101. package/build/features/app/entity/entityStore.d.ts +0 -53
  102. package/build/features/app/entity/entityStore.js +0 -461
  103. package/build/features/app/otp/otpStore.d.ts +0 -28
  104. package/build/features/app/otp/otpStore.js +0 -153
  105. package/build/features/auth/Auth.d.ts +0 -10
  106. package/build/features/auth/Auth.js +0 -87
  107. package/build/features/auth/index.d.ts +0 -1
  108. package/build/features/auth/index.js +0 -1
  109. package/build/features/auth/screens/OTP/OTP.d.ts +0 -5
  110. package/build/features/auth/screens/OTP/OTP.js +0 -72
  111. package/build/features/auth/screens/OTP/OTPInput.d.ts +0 -5
  112. package/build/features/auth/screens/OTP/OTPInput.js +0 -44
  113. package/build/features/auth/screens/OTP/index.d.ts +0 -3
  114. package/build/features/auth/screens/OTP/index.js +0 -2
  115. package/build/features/auth/screens/OTP/validation.d.ts +0 -8
  116. package/build/features/auth/screens/OTP/validation.js +0 -4
  117. package/build/features/connect/screens/CivilID/CivilID.d.ts +0 -5
  118. package/build/features/connect/screens/CivilID/CivilID.js +0 -85
  119. package/build/features/connect/screens/CivilID/IDNumber.d.ts +0 -7
  120. package/build/features/connect/screens/CivilID/IDNumber.js +0 -59
  121. package/build/features/connect/screens/CivilID/index.d.ts +0 -3
  122. package/build/features/connect/screens/CivilID/index.js +0 -2
  123. package/build/features/connect/screens/CivilID/validation.d.ts +0 -8
  124. package/build/features/connect/screens/CivilID/validation.js +0 -4
  125. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +0 -5
  126. package/build/features/connect/screens/Merchant/SalesChannels.js +0 -114
  127. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +0 -5
  128. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +0 -169
  129. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.d.ts +0 -5
  130. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +0 -22
  131. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.d.ts +0 -5
  132. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +0 -8
  133. package/build/features/connect/screens/VerifyPACI/index.d.ts +0 -3
  134. package/build/features/connect/screens/VerifyPACI/index.js +0 -2
  135. package/build/features/entity/Entity.d.ts +0 -7
  136. package/build/features/entity/Entity.js +0 -70
  137. package/build/features/entity/index.d.ts +0 -1
  138. package/build/features/entity/index.js +0 -1
  139. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +0 -54
  140. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +0 -139
  141. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +0 -5
  142. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +0 -56
  143. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +0 -5
  144. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +0 -17
  145. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.d.ts +0 -5
  146. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +0 -28
  147. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +0 -6
  148. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +0 -38
  149. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.d.ts +0 -5
  150. package/build/features/entity/screens/EntityInfoConfirm/SalesChannels.js +0 -112
  151. package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +0 -2
  152. package/build/features/entity/screens/EntityInfoConfirm/index.js +0 -2
  153. package/build/features/entity/screens/EntityInfoConfirm/validation.d.ts +0 -107
  154. package/build/features/entity/screens/EntityInfoConfirm/validation.js +0 -17
  155. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -5
  156. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -9
  157. package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +0 -3
  158. package/build/features/entity/screens/ResetPasswordSuccess/index.js +0 -2
  159. package/build/features/entity/screens/Success/Success.d.ts +0 -5
  160. package/build/features/entity/screens/Success/Success.js +0 -16
  161. package/build/features/entity/screens/Success/index.d.ts +0 -3
  162. package/build/features/entity/screens/Success/index.js +0 -2
  163. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
  164. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -109
  165. package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +0 -2
  166. package/build/features/entity/screens/SuccessWithFlowButtons/index.js +0 -2
  167. package/build/features/entity/screens/Verify/OTPInput.d.ts +0 -7
  168. package/build/features/entity/screens/Verify/OTPInput.js +0 -47
  169. package/build/features/entity/screens/Verify/Verify.d.ts +0 -5
  170. package/build/features/entity/screens/Verify/Verify.js +0 -78
  171. package/build/features/entity/screens/Verify/index.d.ts +0 -2
  172. package/build/features/entity/screens/Verify/index.js +0 -2
  173. package/build/features/entity/screens/Verify/validation.d.ts +0 -8
  174. package/build/features/entity/screens/Verify/validation.js +0 -4
  175. package/build/features/otp/OTP.d.ts +0 -7
  176. package/build/features/otp/OTP.js +0 -58
  177. package/build/features/otp/index.d.ts +0 -0
  178. package/build/features/otp/index.js +0 -1
  179. package/build/features/otp/screens/OTPVerify/OTPInput.d.ts +0 -6
  180. package/build/features/otp/screens/OTPVerify/OTPInput.js +0 -47
  181. package/build/features/otp/screens/OTPVerify/Verify.d.ts +0 -5
  182. package/build/features/otp/screens/OTPVerify/Verify.js +0 -49
  183. package/build/features/otp/screens/OTPVerify/index.d.ts +0 -2
  184. package/build/features/otp/screens/OTPVerify/index.js +0 -2
  185. package/build/features/otp/screens/OTPVerify/validation.d.ts +0 -8
  186. package/build/features/otp/screens/OTPVerify/validation.js +0 -4
  187. package/build/features/shared/Dialog/CloseDialog.d.ts +0 -11
  188. package/build/features/shared/Dialog/CloseDialog.js +0 -62
  189. package/build/features/shared/Dialog/DialogContainer.d.ts +0 -8
  190. package/build/features/shared/Dialog/DialogContainer.js +0 -56
  191. package/build/features/shared/Dialog/index.d.ts +0 -4
  192. package/build/features/shared/Dialog/index.js +0 -4
  193. package/build/hooks/useScreen.d.ts +0 -3
  194. package/build/hooks/useScreen.js +0 -14
@@ -9,135 +9,30 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
13
- import React from 'react';
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
13
  import Box from '@mui/material/Box';
15
14
  import { alpha, styled } from '@mui/material/styles';
16
15
  import Input from '../Input';
17
16
  import Text from '../Text';
18
17
  import { useDropzone } from 'react-dropzone';
19
- import Icon from '../../components/Icon';
20
- import { ICONS_NAMES } from '../../constants';
21
- import { CircularProgress } from '../../components/ProgressBar';
22
- import Collapse from '../../components/Collapse';
23
- import Fade from '@mui/material/Fade';
24
- var BoxStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'active'; } })(function (_a) {
25
- var theme = _a.theme, active = _a.active;
26
- return (__assign(__assign({ direction: theme.direction }, theme.typography.subtitle2), { color: alpha(theme.palette.text.primary, 0.6), fontWeight: theme.typography.fontWeightRegular, background: theme.palette.background.default, paddingInline: theme.spacing(2.5), border: "2px dashed ".concat(active ? theme.palette.primary.main : alpha(theme.palette.divider, 0.8)), width: '350px', height: '158px', cursor: 'default', display: 'flex', justifyContent: 'center', alignItems: 'center', borderRadius: theme.spacing(2.5) }));
18
+ var BoxStyled = styled(Box)(function (_a) {
19
+ var theme = _a.theme;
20
+ return (__assign(__assign({ direction: theme.direction }, theme.typography.subtitle2), { color: alpha(theme.palette.text.primary, 0.6), fontWeight: theme.typography.fontWeightRegular, background: theme.palette.background.default, padding: theme.spacing(1.5, 2.5, 1.5), border: "1px dashed ".concat(alpha(theme.palette.divider, 0.8)), width: '50%', cursor: 'pointer' }));
27
21
  });
28
22
  var UploadInputStyled = styled(Input)(function () { return ({
29
23
  display: 'none'
30
24
  }); });
31
- var CenterBoxStyled = styled(Box)(function () { return ({
32
- display: 'flex',
33
- justifyContent: 'center',
34
- alignItems: 'center'
35
- }); });
36
- var IconStyled = styled(Icon)(function (_a) {
37
- var theme = _a.theme;
38
- return ({
39
- width: theme.spacing(11.25),
40
- height: theme.spacing(10),
41
- cursor: 'pointer'
42
- });
43
- });
44
- var DoneIconStyled = styled(Icon)(function (_a) {
45
- var theme = _a.theme;
46
- return ({
47
- width: theme.spacing(6.75),
48
- height: theme.spacing(6.75),
49
- cursor: 'pointer'
50
- });
51
- });
52
- var VerticalCenterBox = styled(Box)(function (_a) {
53
- var theme = _a.theme;
54
- return ({
55
- display: 'flex',
56
- justifyContent: 'center',
57
- flexDirection: 'column',
58
- alignItems: 'center'
59
- });
60
- });
61
- var DescTextStyled = styled(Text)(function (_a) {
62
- var theme = _a.theme;
63
- return ({
64
- fontSize: theme.spacing(1.5),
65
- width: theme.spacing(27.5),
66
- wordBreak: 'break-all',
67
- marginBlockStart: theme.spacing(1),
68
- marginBlockEnd: theme.spacing(0)
69
- });
70
- });
71
- var SubTitleStyled = styled(Text)(function (_a) {
72
- var theme = _a.theme;
73
- return (__assign(__assign({}, theme.typography.body1), { color: theme.palette.primary.main, marginInlineStart: theme.spacing(0.5) }));
74
- });
75
- var WarningIconStyled = styled(Icon)(function (_a) {
76
- var theme = _a.theme;
77
- return ({
78
- width: theme.spacing(1.625),
79
- height: theme.spacing(1.625),
80
- marginInline: theme.spacing(0.5)
81
- });
82
- });
83
- var DropFileIcon = styled(Icon)(function (_a) {
84
- var theme = _a.theme;
85
- return ({
86
- width: theme.spacing(9.375),
87
- height: theme.spacing(9.375),
88
- zIndex: 2,
89
- position: 'absolute',
90
- right: 0,
91
- marginInline: theme.spacing(-1.25)
92
- });
93
- });
94
- var WarningContainer = styled(Box)(function (_a) {
95
- var theme = _a.theme;
96
- return (__assign({ background: theme.palette.warning.dark, paddingBlock: theme.spacing(1.5), paddingInlineStart: theme.spacing(2.5), border: '0.5px solid', display: 'flex', justifyContent: 'space-around', borderColor: theme.palette.warning.main, color: theme.palette.warning.light, padding: theme.spacing(0.5, 1), borderRadius: theme.spacing(12.5) }, theme.typography.caption));
97
- });
98
25
  var DragAndDrop = function (_a) {
99
- var title = _a.title, subTitle = _a.subTitle, description = _a.description, error = _a.error, uploadingTitle = _a.uploadingTitle, successTitle = _a.successTitle, uploading = _a.uploading, fileExists = _a.fileExists, uploadSuccess = _a.uploadSuccess, onSuccess = _a.onSuccess;
100
- var _b = React.useState(1), progress = _b[0], setProgress = _b[1];
101
- var _c = React.useState(false), dragActive = _c[0], setDragActive = _c[1];
102
- var _d = React.useState(false), showDone = _d[0], setShowDone = _d[1];
103
- var _e = useDropzone({
26
+ var title = _a.title, onSuccess = _a.onSuccess;
27
+ var _b = useDropzone({
104
28
  maxFiles: 1,
105
29
  noKeyboard: true,
106
30
  noClick: false,
107
31
  multiple: false,
108
- onDragOver: function () {
109
- if (!dragActive)
110
- setDragActive(true);
111
- },
112
- onDragLeave: function () {
113
- setDragActive(false);
114
- },
115
32
  onDrop: function (files) {
116
33
  onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess(files === null || files === void 0 ? void 0 : files[0]);
117
34
  }
118
- }), getRootProps = _e.getRootProps, getInputProps = _e.getInputProps;
119
- React.useEffect(function () {
120
- setDragActive(false);
121
- if (uploadSuccess) {
122
- setShowDone(true);
123
- setTimeout(function () {
124
- setProgress(100);
125
- setShowDone(false);
126
- }, 500);
127
- }
128
- else if (uploading) {
129
- var timer_1 = setInterval(function () {
130
- setProgress(function (prevProgress) { return (prevProgress >= 75 ? 1 : prevProgress + 25); });
131
- }, 800);
132
- return function () {
133
- clearInterval(timer_1);
134
- };
135
- }
136
- }, [uploading]);
137
- React.useEffect(function () {
138
- if (!fileExists)
139
- setProgress(25);
140
- }, [fileExists]);
141
- return (_jsx(Box, __assign({ id: 'upload-container' }, { children: _jsxs(BoxStyled, __assign({ active: dragActive }, getRootProps({ className: 'dropzone' }), { children: [_jsx(Fade, __assign({ in: (!uploading && !uploadSuccess) || !fileExists, unmountOnExit: true, timeout: 100 }, { children: _jsxs(Box, { children: [_jsx(CenterBoxStyled, { children: _jsx(IconStyled, { src: dragActive ? ICONS_NAMES.ACTIVE_UPLOAD_ICON : ICONS_NAMES.UPLOAD_ICON }) }), _jsxs(VerticalCenterBox, __assign({ sx: { marginBlockEnd: '20px' } }, { children: [_jsxs(CenterBoxStyled, { children: [_jsx(Text, __assign({ sx: { fontSize: '16px' } }, { children: title })), _jsx(SubTitleStyled, { children: subTitle })] }), _jsx(DescTextStyled, { children: description }), _jsx(Collapse, __assign({ in: !!error, timeout: 400 }, { children: _jsxs(WarningContainer, { children: [_jsx(WarningIconStyled, { src: ICONS_NAMES.WARNING_ICON }), _jsx(Text, { children: error })] }) }))] })), _jsx(UploadInputStyled, { inputProps: __assign({}, getInputProps()) })] }) })), _jsx(CenterBoxStyled, { children: showDone ? (_jsxs(VerticalCenterBox, { children: [_jsx(DoneIconStyled, { src: ICONS_NAMES.DONE_ICON }), _jsx(Text, { children: successTitle })] })) : uploading ? (_jsxs(VerticalCenterBox, { children: [_jsx(CircularProgress, { value: progress, size: 54 }), _jsx(Text, { children: uploadingTitle })] })) : (_jsx(_Fragment, {})) }), _jsx(Fade, __assign({ unmountOnExit: true, timeout: 100, in: dragActive }, { children: _jsx(DropFileIcon, { src: ICONS_NAMES.DROP_FILE_ICON }) }))] })) })));
35
+ }), getRootProps = _b.getRootProps, getInputProps = _b.getInputProps;
36
+ return (_jsxs(BoxStyled, __assign({}, getRootProps({ className: 'dropzone' }), { children: [_jsx(Text, __assign({ sx: { fontSize: '12px' } }, { children: title })), _jsx(UploadInputStyled, { inputProps: __assign({}, getInputProps()) })] })));
142
37
  };
143
38
  export default DragAndDrop;
@@ -1,6 +1,4 @@
1
1
  import ProgressBar from './ProgressBar';
2
2
  import { ProgressBarProps } from './ProgressBar';
3
- import CircularProgress from './CircularProgressBar';
4
- export { CircularProgress };
5
3
  export type { ProgressBarProps };
6
4
  export default ProgressBar;
@@ -1,4 +1,2 @@
1
1
  import ProgressBar from './ProgressBar';
2
- import CircularProgress from './CircularProgressBar';
3
- export { CircularProgress };
4
2
  export default ProgressBar;
@@ -4,10 +4,9 @@ import { ToggleButtonGroupProps } from '../ToggleButtonGroup';
4
4
  import { ToggleButtonProps } from '../ToggleButton';
5
5
  export interface SocialMediaGroupProps extends ToggleButtonGroupProps {
6
6
  toggleButtonProps?: ToggleButtonProps;
7
- showSocialMediaTypes?: Array<SocialMediaTypes>;
8
7
  }
9
8
  declare const _default: React.MemoExoticComponent<{
10
- ({ children, defaultValue, onChange, toggleButtonProps, showSocialMediaTypes, ...rest }: SocialMediaGroupProps): JSX.Element;
9
+ ({ children, defaultValue, onChange, toggleButtonProps, ...rest }: SocialMediaGroupProps): JSX.Element;
11
10
  defaultProps: {
12
11
  defaultValue: SocialMediaTypes;
13
12
  };
@@ -25,53 +25,60 @@ import * as React from 'react';
25
25
  import { styled } from '@mui/material/styles';
26
26
  import { ICONS_NAMES } from '../../constants';
27
27
  import { SocialMediaTypes } from '../../@types';
28
- import Fade from '@mui/material/Fade';
29
28
  import ToggleButtonGroup from '../ToggleButtonGroup';
30
29
  import ToggleButton from '../ToggleButton';
31
30
  import Icon from '../Icon';
32
- var SocialMediaButtonStyled = styled(ToggleButton, {
33
- shouldForwardProp: function (prop) { return prop !== 'isActive' && prop !== 'isShow'; }
31
+ var WebToggleButton = styled(ToggleButton, {
32
+ shouldForwardProp: function (prop) { return prop !== 'isActive'; }
34
33
  })(function (_a) {
35
- var theme = _a.theme, isActive = _a.isActive, isShow = _a.isShow;
34
+ var theme = _a.theme, isActive = _a.isActive;
36
35
  return ({
37
- borderBottom: isActive ? "".concat(theme.spacing(0.1875), " solid #3478F6") : 'none',
38
- display: isShow ? 'inherit' : 'none',
39
- transition: 'display 0.3s'
36
+ borderBottom: isActive ? "".concat(theme.spacing(0.25), " solid #3A4154") : 'none'
40
37
  });
41
38
  });
42
- var ToggleIconStyled = styled(Icon)(function (_a) {
39
+ var TwitterToggleButton = styled(ToggleButton, {
40
+ shouldForwardProp: function (prop) { return prop !== 'isActive'; }
41
+ })(function (_a) {
42
+ var theme = _a.theme, isActive = _a.isActive;
43
+ return ({
44
+ borderBottom: isActive ? "".concat(theme.spacing(0.25), " solid #1DA1F2") : 'none'
45
+ });
46
+ });
47
+ var InstagramToggleButton = styled(ToggleButton, {
48
+ shouldForwardProp: function (prop) { return prop !== 'isActive'; }
49
+ })(function (_a) {
50
+ var theme = _a.theme, isActive = _a.isActive;
51
+ return ({
52
+ borderBottom: isActive ? "".concat(theme.spacing(0.25), " solid #8A3AB9") : 'none'
53
+ });
54
+ });
55
+ var WebTwitterIconStyled = styled(Icon)(function (_a) {
43
56
  var theme = _a.theme;
44
57
  return ({
45
- width: theme.spacing(2.5),
46
- height: theme.spacing(2.5)
58
+ width: theme.spacing(5.5),
59
+ height: theme.spacing(5.5)
60
+ });
61
+ });
62
+ var InstagramIconStyled = styled(Icon, {
63
+ shouldForwardProp: function (prop) { return prop !== 'isActive'; }
64
+ })(function (_a) {
65
+ var theme = _a.theme, isActive = _a.isActive;
66
+ return ({
67
+ width: isActive ? '100%' : theme.spacing(5.5),
68
+ height: isActive ? '100%' : theme.spacing(5.5)
47
69
  });
48
70
  });
49
71
  var SocialMediaGroupComponent = function (_a) {
50
- var children = _a.children, defaultValue = _a.defaultValue, onChange = _a.onChange, toggleButtonProps = _a.toggleButtonProps, showSocialMediaTypes = _a.showSocialMediaTypes, rest = __rest(_a, ["children", "defaultValue", "onChange", "toggleButtonProps", "showSocialMediaTypes"]);
72
+ var children = _a.children, defaultValue = _a.defaultValue, onChange = _a.onChange, toggleButtonProps = _a.toggleButtonProps, rest = __rest(_a, ["children", "defaultValue", "onChange", "toggleButtonProps"]);
51
73
  var _b = React.useState(defaultValue), socialMediaType = _b[0], setSocialMediaType = _b[1];
52
74
  var isWebActive = socialMediaType === SocialMediaTypes.WEB;
53
75
  var isTwitterActive = socialMediaType === SocialMediaTypes.TWITTER;
54
76
  var isInstagramActive = socialMediaType === SocialMediaTypes.INSTAGRAM;
55
- var isAppleStoreActive = socialMediaType === SocialMediaTypes.APPLE_STORE;
56
- var isPlayStoreActive = socialMediaType === SocialMediaTypes.PLAY_STORE;
57
- var isCallCenterActive = socialMediaType === SocialMediaTypes.CALL_CENTER;
58
- var isPhysicalStoreActive = socialMediaType === SocialMediaTypes.PHYSICAL_STORE;
59
77
  var handleOnChange = function (event, value) {
60
78
  setSocialMediaType(value);
61
79
  onChange === null || onChange === void 0 ? void 0 : onChange(event, value);
62
80
  };
63
- React.useEffect(function () {
64
- if (defaultValue !== socialMediaType)
65
- setSocialMediaType(defaultValue);
66
- }, [defaultValue]);
67
- var isShowWeb = !!(showSocialMediaTypes === null || showSocialMediaTypes === void 0 ? void 0 : showSocialMediaTypes.find(function (icon) { return icon === SocialMediaTypes.WEB; }));
68
- var isShowTwitter = !!(showSocialMediaTypes === null || showSocialMediaTypes === void 0 ? void 0 : showSocialMediaTypes.find(function (icon) { return icon === SocialMediaTypes.TWITTER || icon === SocialMediaTypes.SOCIAL; }));
69
- var isShowInstagram = !!(showSocialMediaTypes === null || showSocialMediaTypes === void 0 ? void 0 : showSocialMediaTypes.find(function (icon) { return icon === SocialMediaTypes.INSTAGRAM || icon === SocialMediaTypes.SOCIAL; }));
70
- var isShowAppleStore = !!(showSocialMediaTypes === null || showSocialMediaTypes === void 0 ? void 0 : showSocialMediaTypes.find(function (icon) { return icon === SocialMediaTypes.APPLE_STORE || icon === SocialMediaTypes.APP; }));
71
- var isShowPlayStore = !!(showSocialMediaTypes === null || showSocialMediaTypes === void 0 ? void 0 : showSocialMediaTypes.find(function (icon) { return icon === SocialMediaTypes.PLAY_STORE || icon === SocialMediaTypes.APP; }));
72
- var isShowCallCenter = !!(showSocialMediaTypes === null || showSocialMediaTypes === void 0 ? void 0 : showSocialMediaTypes.find(function (icon) { return icon === SocialMediaTypes.CALL_CENTER; }));
73
- var isShowPhysicalStore = !!(showSocialMediaTypes === null || showSocialMediaTypes === void 0 ? void 0 : showSocialMediaTypes.find(function (icon) { return icon === SocialMediaTypes.PHYSICAL_STORE; }));
74
- return (_jsxs(ToggleButtonGroup, __assign({ value: socialMediaType, exclusive: true }, rest, { onChange: handleOnChange }, { children: [children, " ||", _jsx(SocialMediaButtonStyled, __assign({ isShow: isShowWeb, isActive: isWebActive }, toggleButtonProps, { value: SocialMediaTypes.WEB }, { children: _jsx(Fade, __assign({ in: isShowWeb }, { children: _jsx(ToggleIconStyled, { src: isWebActive ? ICONS_NAMES.WEB_ACTIVE_ICON : ICONS_NAMES.WEB_ICON }) })) })), _jsx(SocialMediaButtonStyled, __assign({ isShow: isShowAppleStore, isActive: isAppleStoreActive }, toggleButtonProps, { value: SocialMediaTypes.APPLE_STORE }, { children: _jsx(Fade, __assign({ in: isShowAppleStore }, { children: _jsx(ToggleIconStyled, { src: isAppleStoreActive ? ICONS_NAMES.APP_APPLE_ACTIVE_ICON : ICONS_NAMES.APP_APPLE_ICON }) })) })), _jsx(SocialMediaButtonStyled, __assign({ isShow: isShowPlayStore, isActive: isPlayStoreActive }, toggleButtonProps, { value: SocialMediaTypes.PLAY_STORE }, { children: _jsx(Fade, __assign({ in: isShowPlayStore }, { children: _jsx(ToggleIconStyled, { src: isPlayStoreActive ? ICONS_NAMES.APP_ANDROID_ACTIVE_ICON : ICONS_NAMES.APP_ANDROID_ICON }) })) })), _jsx(SocialMediaButtonStyled, __assign({ isShow: isShowPhysicalStore, isActive: isPhysicalStoreActive }, toggleButtonProps, { value: SocialMediaTypes.PHYSICAL_STORE }, { children: _jsx(Fade, __assign({ in: isShowPhysicalStore }, { children: _jsx(ToggleIconStyled, { src: isPhysicalStoreActive ? ICONS_NAMES.PHYSICAL_STORE_ACTIVE_ICON : ICONS_NAMES.PHYSICAL_STORE_ICON }) })) })), _jsx(SocialMediaButtonStyled, __assign({ isShow: isShowTwitter, isActive: isTwitterActive }, toggleButtonProps, { value: SocialMediaTypes.TWITTER }, { children: _jsx(Fade, __assign({ in: isShowTwitter }, { children: _jsx(ToggleIconStyled, { src: isTwitterActive ? ICONS_NAMES.TWITTER_ACTIVE_ICON : ICONS_NAMES.TWITTER_ICON }) })) })), _jsx(SocialMediaButtonStyled, __assign({ isShow: isShowInstagram, isActive: isInstagramActive }, toggleButtonProps, { value: SocialMediaTypes.INSTAGRAM }, { children: _jsx(Fade, __assign({ in: isShowInstagram }, { children: _jsx(ToggleIconStyled, { src: isInstagramActive ? ICONS_NAMES.INSTAGRAM_ACTIVE_ICON : ICONS_NAMES.INSTAGRAM_ICON }) })) })), _jsx(SocialMediaButtonStyled, __assign({ isShow: isShowCallCenter, isActive: isCallCenterActive }, toggleButtonProps, { value: SocialMediaTypes.CALL_CENTER }, { children: _jsx(Fade, __assign({ in: isShowCallCenter }, { children: _jsx(ToggleIconStyled, { src: isCallCenterActive ? ICONS_NAMES.CALL_CENTER_ACTIVE_ICON : ICONS_NAMES.CALL_CENTER_ICON }) })) }))] })));
81
+ return (_jsxs(ToggleButtonGroup, __assign({ value: socialMediaType, exclusive: true }, rest, { onChange: handleOnChange }, { children: [children, " ||", _jsx(WebToggleButton, __assign({ isActive: isWebActive }, toggleButtonProps, { value: SocialMediaTypes.WEB }, { children: _jsx(WebTwitterIconStyled, { src: isWebActive ? ICONS_NAMES.WEB_ACTIVE_ICON : ICONS_NAMES.WEB_ICON }) })), _jsx(TwitterToggleButton, __assign({ isActive: isTwitterActive }, toggleButtonProps, { value: SocialMediaTypes.TWITTER }, { children: _jsx(WebTwitterIconStyled, { src: isTwitterActive ? ICONS_NAMES.TWITTER_ACTIVE_ICON : ICONS_NAMES.TWITTER_ICON }) })), _jsx(InstagramToggleButton, __assign({ isActive: isInstagramActive }, toggleButtonProps, { value: SocialMediaTypes.INSTAGRAM }, { children: _jsx(InstagramIconStyled, { isActive: isInstagramActive, src: isInstagramActive ? ICONS_NAMES.INSTAGRAM_ACTIVE_ICON : ICONS_NAMES.INSTAGRAM_ICON }) }))] })));
75
82
  };
76
83
  export default React.memo(SocialMediaGroupComponent);
77
84
  SocialMediaGroupComponent.defaultProps = {
@@ -31,5 +31,4 @@ export declare const ENDPOINT_PATHS: {
31
31
  BOARD: string;
32
32
  TOKEN_VERIFY: string;
33
33
  BRAND: string;
34
- VERIFY_AUTH_OTP: string;
35
34
  };
@@ -15,7 +15,7 @@ var IBAN_PATH = '/iban';
15
15
  var CHECK_EMAIL = '/individual/email/availability';
16
16
  var CHECK_BRAND = '/brand/name/check';
17
17
  var CREATE_ACCOUNT_PATH = '/account';
18
- var CHANNEL_PATH = '/v2/channel1';
18
+ var CHANNEL_PATH = '/v2/channel';
19
19
  var CUSTOMER_BASES_PATH = '/v2/customerBases';
20
20
  var SALES_PATH = '/v2/sales';
21
21
  var EXPECTED_CUSTOMERS_PATH = '/v2/expectedCustomers';
@@ -30,8 +30,6 @@ var FILES = '/files';
30
30
  var TOKEN_VERIFY_PATH = '/token/verify';
31
31
  var RETRIEVE_USER_INFO_PATH = '/user';
32
32
  var BOARD_PATH = '/board';
33
- var CONNECT_PATH = '/connect';
34
- var VERIFY_AUTH_OTP_PATH = "".concat(CONNECT_PATH, "/lead/verify");
35
33
  export var ENDPOINT_PATHS = {
36
34
  SANDBOX_BASE_URL: SANDBOX_BASE_URL,
37
35
  PRODUCTION_BASE_URL: PRODUCTION_BASE_URL,
@@ -64,6 +62,5 @@ export var ENDPOINT_PATHS = {
64
62
  RETRIEVE_USER_INFO: RETRIEVE_USER_INFO_PATH,
65
63
  BOARD: BOARD_PATH,
66
64
  TOKEN_VERIFY: TOKEN_VERIFY_PATH,
67
- BRAND: BRAND_PATH,
68
- VERIFY_AUTH_OTP: VERIFY_AUTH_OTP_PATH
65
+ BRAND: BRAND_PATH
69
66
  };
@@ -12,8 +12,6 @@ export declare const EXTERNAL_LINKS: {
12
12
  TRANSACTION_EN: string;
13
13
  TRANSACTION_AR: string;
14
14
  };
15
- export declare const DIALOG_ID = "auth-js-connect-dialog";
16
- export declare const BACKGROUND_ID = "auth-js-connect-background";
17
15
  export declare const CONNECT_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
18
16
  export declare const BUSINESS_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
19
17
  export declare const INDIVIDUAL_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
@@ -21,9 +19,6 @@ export declare const PASSWORD_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
21
19
  export declare const BANK_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
22
20
  export declare const TAX_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
23
21
  export declare const SigIn_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
24
- export declare const ENTITY_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
25
- export declare const OTP_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
26
- export declare const AUTH_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
27
22
  export declare const DefaultDeviceInfo: {
28
23
  source: string;
29
24
  device: {
@@ -76,7 +71,6 @@ export declare const IDENTIFICATION_TYPE: {
76
71
  };
77
72
  export declare const CONNECT_STEP_NAMES: {
78
73
  CREATE_AUTH_MOBILE: string;
79
- CREATE_AUTH_CIVIL_ID: string;
80
74
  VERIFY_AUTH_MOBILE: string;
81
75
  CREATE_AUTH_NID: string;
82
76
  VERIFY_AUTH_NID: string;
@@ -127,15 +121,6 @@ export declare const PASSWORD_STEP_NAMES: {
127
121
  PASSWORD_SUCCESS: string;
128
122
  RESET_PASSWORD: string;
129
123
  };
130
- export declare const ENTITY_STEP_NAMES: {
131
- PHONE_AUTH: string;
132
- ENTITY_INFO: string;
133
- ENTITY_SUCCESS: string;
134
- };
135
- export declare const OTP_STEP_NAMES: {
136
- PHONE_AUTH: string;
137
- OTP_SUCCESS: string;
138
- };
139
124
  export declare const RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
140
125
  export declare const ENCRYPTION_FLAG = "encryption_contract";
141
126
  export declare const BACKEND_ENCRYPTION_FLAG = "backend_encryption_contract";
@@ -12,8 +12,6 @@ export var EXTERNAL_LINKS = {
12
12
  TRANSACTION_EN: 'https://www.tap.company/sa/en/terms-conditions',
13
13
  TRANSACTION_AR: 'https://www.tap.company/sa/ar/terms-conditions'
14
14
  };
15
- export var DIALOG_ID = 'auth-js-connect-dialog';
16
- export var BACKGROUND_ID = 'auth-js-connect-background';
17
15
  export var CONNECT_SCREENS_NAVIGATION = [
18
16
  {
19
17
  name: 'CONNECT_NID_STEP',
@@ -21,22 +19,10 @@ export var CONNECT_SCREENS_NAVIGATION = [
21
19
  prev: 'CONNECT_MOBILE_STEP',
22
20
  order: 1
23
21
  },
24
- {
25
- name: 'CONNECT_CIVIL_ID_STEP',
26
- next: 'CONNECT_VERIFY_PACI_STEP',
27
- prev: 'CONNECT_MOBILE_STEP',
28
- order: 1
29
- },
30
22
  {
31
23
  name: 'CONNECT_MOBILE_STEP',
32
24
  next: 'CONNECT_OTP_STEP',
33
- prev: ['CONNECT_NID_STEP', 'CONNECT_ID_STEP', 'CONNECT_CIVIL_ID_STEP'],
34
- order: 1
35
- },
36
- {
37
- name: 'CONNECT_VERIFY_PACI_STEP',
38
- next: ['CONNECT_INDIVIDUAL_STEP', 'CONNECT_MERCHANT_INFO_STEP'],
39
- prev: 'CONNECT_CIVIL_ID_STEP',
25
+ prev: 'CONNECT_NID_STEP',
40
26
  order: 1
41
27
  },
42
28
  {
@@ -48,13 +34,13 @@ export var CONNECT_SCREENS_NAVIGATION = [
48
34
  {
49
35
  name: 'CONNECT_INDIVIDUAL_STEP',
50
36
  next: 'CONNECT_MERCHANT_INFO_STEP',
51
- prev: ['CONNECT_MOBILE_STEP', 'CONNECT_NID_STEP', 'CONNECT_ID_STEP'],
37
+ prev: ['CONNECT_MOBILE_STEP', 'CONNECT_NID_STEP'],
52
38
  order: 3
53
39
  },
54
40
  {
55
41
  name: 'CONNECT_MERCHANT_INFO_STEP',
56
42
  next: 'CONNECT_THANK_YOU_STEP',
57
- prev: ['CONNECT_INDIVIDUAL_STEP', 'CONNECT_NID_STEP', 'CONNECT_MOBILE_STEP', 'CONNECT_ID_STEP'],
43
+ prev: ['CONNECT_INDIVIDUAL_STEP', 'CONNECT_NID_STEP', 'CONNECT_MOBILE_STEP'],
58
44
  order: 4
59
45
  },
60
46
  {
@@ -293,54 +279,6 @@ export var SigIn_SCREENS_NAVIGATION = [
293
279
  order: 3
294
280
  }
295
281
  ];
296
- export var ENTITY_SCREENS_NAVIGATION = [
297
- {
298
- name: 'ENTITY_VERIFY_STEP',
299
- next: ['ENTITY_INFO_STEP', 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'],
300
- prev: '',
301
- order: 1
302
- },
303
- {
304
- name: 'ENTITY_INFO_STEP',
305
- next: 'ENTITY_DETAILS_SUCCESS_STEP',
306
- prev: '',
307
- order: 2
308
- },
309
- {
310
- name: 'ENTITY_DETAILS_SUCCESS_STEP',
311
- next: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
312
- prev: 'ENTITY_INFO_STEP',
313
- order: 3
314
- },
315
- {
316
- name: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
317
- next: 'ENTITY_RESET_PASSWORD_SUCCESS',
318
- prev: '',
319
- order: 4
320
- },
321
- {
322
- name: 'ENTITY_RESET_PASSWORD_SUCCESS',
323
- next: '',
324
- prev: '',
325
- order: 5
326
- }
327
- ];
328
- export var OTP_SCREENS_NAVIGATION = [
329
- {
330
- name: 'OTP_VERIFY_STEP',
331
- next: '',
332
- prev: '',
333
- order: 1
334
- }
335
- ];
336
- export var AUTH_SCREENS_NAVIGATION = [
337
- {
338
- name: 'AUTH_VERIFY_STEP',
339
- next: '',
340
- prev: '',
341
- order: 1
342
- }
343
- ];
344
282
  export var DefaultDeviceInfo = {
345
283
  source: 'browser',
346
284
  device: {
@@ -393,7 +331,6 @@ export var IDENTIFICATION_TYPE = {
393
331
  };
394
332
  export var CONNECT_STEP_NAMES = {
395
333
  CREATE_AUTH_MOBILE: 'connect_create_auth_mobile',
396
- CREATE_AUTH_CIVIL_ID: 'connect_create_auth_civil_id',
397
334
  VERIFY_AUTH_MOBILE: 'connect_verify_auth_mobile',
398
335
  CREATE_AUTH_NID: 'connect_create_auth_nid',
399
336
  VERIFY_AUTH_NID: 'connect_verify_auth_nid',
@@ -444,15 +381,6 @@ export var PASSWORD_STEP_NAMES = {
444
381
  PASSWORD_SUCCESS: 'password_completed',
445
382
  RESET_PASSWORD: 'reset_password'
446
383
  };
447
- export var ENTITY_STEP_NAMES = {
448
- PHONE_AUTH: 'entity_phone_auth',
449
- ENTITY_INFO: 'entity_info',
450
- ENTITY_SUCCESS: 'entity_completed'
451
- };
452
- export var OTP_STEP_NAMES = {
453
- PHONE_AUTH: 'otp_phone_auth',
454
- OTP_SUCCESS: 'otp_completed'
455
- };
456
384
  export var RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
457
385
  export var ENCRYPTION_FLAG = 'encryption_contract';
458
386
  export var BACKEND_ENCRYPTION_FLAG = 'backend_encryption_contract';
@@ -20,23 +20,14 @@ export declare const ICONS_NAMES: {
20
20
  TWITTER_ICON: string;
21
21
  TWITTER_ACTIVE_ICON: string;
22
22
  INSTAGRAM_ICON: string;
23
- INSTAGRAM_ACTIVE_ICON: string;
24
- APP_APPLE_ICON: string;
25
- APP_APPLE_ACTIVE_ICON: string;
26
- APP_ANDROID_ICON: string;
27
- APP_ANDROID_ACTIVE_ICON: string;
28
- PHYSICAL_STORE_ICON: string;
29
- PHYSICAL_STORE_ACTIVE_ICON: string;
30
- CALL_CENTER_ICON: string;
31
- CALL_CENTER_ACTIVE_ICON: string;
32
23
  FL_ICON: string;
33
24
  FL_ACTIVE_ICON: string;
34
25
  CR_ICON: string;
35
26
  CR_ACTIVE_ICON: string;
27
+ INSTAGRAM_ACTIVE_ICON: string;
36
28
  TAP_LOGO_EN_ICON: string;
37
29
  TAP_LOGO_TEXT_AR: string;
38
30
  TAP_LOGO_TEXT_EN: string;
39
- PACI_VERIFY_ICON: string;
40
31
  TAP_EN: string;
41
32
  TAP_AR: string;
42
33
  ID_IMAGE: string;
@@ -51,13 +42,6 @@ export declare const ICONS_NAMES: {
51
42
  SEARCH_ICON: string;
52
43
  SUCCESS_GIF: string;
53
44
  DELETE_ICON: string;
54
- UPLOAD_ICON: string;
55
- ACTIVE_UPLOAD_ICON: string;
56
- WARNING_ICON: string;
57
- DONE_ICON: string;
58
- DOC_ICON: string;
59
- DROP_FILE_ICON: string;
60
- CLOSE_ICON: string;
61
45
  GMAIL_Filled_ICON: string;
62
46
  GMAIL_White_ICON: string;
63
47
  outlook_Filled_ICON: string;
@@ -15,28 +15,19 @@ export var ICONS_NAMES = {
15
15
  DOWN_ARROW_ICON_DARK: ICONS_FULL_PATH + '/popup_arrow_dark' + ICONS_EXTENSION,
16
16
  CLEAR_ICON: ICONS_FULL_PATH + '/clear' + ICONS_EXTENSION,
17
17
  LOGO_ICON: ICONS_FULL_PATH + '/tap_logo_icon' + ICONS_EXTENSION,
18
- WEB_ICON: ICONS_FULL_PATH + '/website' + ICONS_EXTENSION,
19
- WEB_ACTIVE_ICON: ICONS_FULL_PATH + '/website-active' + ICONS_EXTENSION,
20
- TWITTER_ICON: ICONS_FULL_PATH + '/twitter-icon' + ICONS_EXTENSION,
21
- TWITTER_ACTIVE_ICON: ICONS_FULL_PATH + '/twitter-active-icon' + ICONS_EXTENSION,
22
- INSTAGRAM_ICON: ICONS_FULL_PATH + '/insta' + ICONS_EXTENSION,
23
- INSTAGRAM_ACTIVE_ICON: ICONS_FULL_PATH + '/insta-active' + ICONS_EXTENSION,
24
- APP_APPLE_ICON: ICONS_FULL_PATH + '/apple' + ICONS_EXTENSION,
25
- APP_APPLE_ACTIVE_ICON: ICONS_FULL_PATH + '/apple-active' + ICONS_EXTENSION,
26
- APP_ANDROID_ICON: ICONS_FULL_PATH + '/play-store' + ICONS_EXTENSION,
27
- APP_ANDROID_ACTIVE_ICON: ICONS_FULL_PATH + '/play-store-active' + ICONS_EXTENSION,
28
- PHYSICAL_STORE_ICON: ICONS_FULL_PATH + '/physical-store' + ICONS_EXTENSION,
29
- PHYSICAL_STORE_ACTIVE_ICON: ICONS_FULL_PATH + '/physical-store-active' + ICONS_EXTENSION,
30
- CALL_CENTER_ICON: ICONS_FULL_PATH + '/call-center' + ICONS_EXTENSION,
31
- CALL_CENTER_ACTIVE_ICON: ICONS_FULL_PATH + '/call-center-active' + ICONS_EXTENSION,
18
+ WEB_ICON: ICONS_FULL_PATH + '/web' + ICONS_EXTENSION,
19
+ WEB_ACTIVE_ICON: ICONS_FULL_PATH + '/web-active' + ICONS_EXTENSION,
20
+ TWITTER_ICON: ICONS_FULL_PATH + '/twitter' + ICONS_EXTENSION,
21
+ TWITTER_ACTIVE_ICON: ICONS_FULL_PATH + '/twitter-active' + ICONS_EXTENSION,
22
+ INSTAGRAM_ICON: ICONS_FULL_PATH + '/Insta' + ICONS_EXTENSION,
32
23
  FL_ICON: ICONS_FULL_PATH + '/fl' + ICONS_EXTENSION,
33
24
  FL_ACTIVE_ICON: ICONS_FULL_PATH + '/fl_active' + ICONS_EXTENSION,
34
25
  CR_ICON: ICONS_FULL_PATH + '/cr' + ICONS_EXTENSION,
35
26
  CR_ACTIVE_ICON: ICONS_FULL_PATH + '/cr_active' + ICONS_EXTENSION,
27
+ INSTAGRAM_ACTIVE_ICON: ICONS_FULL_PATH + '/Insta-active' + ICONS_EXTENSION,
36
28
  TAP_LOGO_EN_ICON: ICONS_FULL_PATH + '/tap-white-logo' + ICONS_EXTENSION,
37
29
  TAP_LOGO_TEXT_AR: ICONS_FULL_PATH + '/tap-white-text-ar' + ICONS_EXTENSION,
38
30
  TAP_LOGO_TEXT_EN: ICONS_FULL_PATH + '/tap-white-text-en' + ICONS_EXTENSION,
39
- PACI_VERIFY_ICON: ICONS_FULL_PATH + '/PACI_verify_icon' + '.png',
40
31
  TAP_EN: 'https://tap-connecet.b-cdn.net/imgs/tapEN' + ICONS_EXTENSION,
41
32
  TAP_AR: 'https://tap-connecet.b-cdn.net/imgs/tapAR' + ICONS_EXTENSION,
42
33
  ID_IMAGE: 'https://villageofwarwick.org/wp-content/uploads/2020/02/ICON99-512-1.png',
@@ -51,13 +42,6 @@ export var ICONS_NAMES = {
51
42
  SEARCH_ICON: 'https://dash.b-cdn.net/icons/menu/search-icon.svg',
52
43
  SUCCESS_GIF: 'https://dash.b-cdn.net/icons/menu/success_icon.gif',
53
44
  DELETE_ICON: 'https://dash.b-cdn.net/icons/menu/delete-icon.png',
54
- UPLOAD_ICON: 'https://dash.b-cdn.net/icons/menu/upload-file.svg',
55
- ACTIVE_UPLOAD_ICON: 'https://dash.b-cdn.net/icons/menu/active-upload-icon.png',
56
- WARNING_ICON: 'https://dash.b-cdn.net/icons/menu/warning-icon.svg',
57
- DONE_ICON: 'https://dash.b-cdn.net/icons/menu/done.svg',
58
- DOC_ICON: 'https://dash.b-cdn.net/icons/menu/document-icon.svg',
59
- DROP_FILE_ICON: 'https://dash.b-cdn.net/icons/menu/upload-file-sample.svg',
60
- CLOSE_ICON: 'https://dash.b-cdn.net/icons/menu/close-btn.svg',
61
45
  GMAIL_Filled_ICON: 'https://dash.b-cdn.net/icons/menu/Gmail-filled.svg',
62
46
  GMAIL_White_ICON: 'https://dash.b-cdn.net/icons/menu/Gmail-white.svg',
63
47
  outlook_Filled_ICON: 'https://dash.b-cdn.net/icons/menu/Outlook-filled.svg',
@@ -1,5 +1,4 @@
1
1
  export declare const ID_NUMBER_LENGTH = 10;
2
- export declare const CIVIL_ID_NUMBER_LENGTH = 15;
3
2
  export declare const DEFAULT_TIMER_VALUE = 59;
4
3
  export declare const VAT_ID_LENGTH = 15;
5
4
  export declare const MAX_IBAN_VALUE = 34;
@@ -1,5 +1,4 @@
1
1
  export var ID_NUMBER_LENGTH = 10;
2
- export var CIVIL_ID_NUMBER_LENGTH = 15;
3
2
  export var DEFAULT_TIMER_VALUE = 59;
4
3
  export var VAT_ID_LENGTH = 15;
5
4
  export var MAX_IBAN_VALUE = 34;
@@ -33,9 +33,6 @@ export declare const checkIbanBank: import("@reduxjs/toolkit").AsyncThunk<{
33
33
  cancelToken: CancelToken;
34
34
  onSuccess?: (() => void) | undefined;
35
35
  }, {}>;
36
- export declare const uploadBankStatement: import("@reduxjs/toolkit").AsyncThunk<{
37
- data: any;
38
- }, File, {}>;
39
36
  export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
40
37
  response: any;
41
38
  formData: void;
@@ -51,7 +48,6 @@ export interface BankData {
51
48
  }
52
49
  export interface BankState extends SharedState<BankData> {
53
50
  customLoading?: boolean;
54
- uploading?: boolean;
55
51
  }
56
52
  export declare const bankSlice: import("@reduxjs/toolkit").Slice<BankState, {
57
53
  clearError: (state: BankState) => void;