@tap-payments/auth-jsconnect 2.9.13-development → 2.9.15-development
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/@types/form.d.ts +4 -0
- package/build/assets/locales/ar.json +6 -1
- package/build/assets/locales/en.json +6 -1
- package/build/components/AnimationFlow/BottomSheet.js +3 -3
- package/build/constants/app.d.ts +6 -0
- package/build/constants/app.js +36 -6
- package/build/features/app/business/businessStore.d.ts +10 -1
- package/build/features/app/business/businessStore.js +107 -8
- package/build/features/app/connect/connectStore.d.ts +8 -1
- package/build/features/app/connect/connectStore.js +127 -30
- package/build/features/app/connectExpress/connectExpressStore.d.ts +8 -1
- package/build/features/app/connectExpress/connectExpressStore.js +149 -16
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +104 -0
- package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/business/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/business/screens/MobileOwnership/index.js +2 -0
- package/build/features/business/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/business/screens/MobileOwnership/validation.js +38 -0
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +105 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connect/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connect/screens/MobileOwnership/index.js +2 -0
- package/build/features/connect/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connect/screens/MobileOwnership/validation.js +38 -0
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +107 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.js +72 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.d.ts +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/index.js +2 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/MobileOwnership/validation.js +38 -0
- package/build/features/featuresScreens.js +15 -0
- package/build/features/shared/Dialog/DialogContainer.js +3 -3
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ import BrandSegmentInfoScreen from './connect/screens/BrandSegment';
|
|
|
12
12
|
import ConnectOTPScreen from './connect/screens/OTP';
|
|
13
13
|
import ThankYouScreen from './connect/screens/ThankYou';
|
|
14
14
|
import OperatorError from './connect/screens/OperatorError';
|
|
15
|
+
import CollectMobileOwnership from './connect/screens/MobileOwnership';
|
|
15
16
|
import ConnectExpressBusinessCountry from './connectExpress/screens/BusinessCountry/BusinessCountry';
|
|
16
17
|
import ConnectExpressMobileScreen from './connectExpress/screens/Mobile';
|
|
17
18
|
import ConnectExpressNIDScreen from './connectExpress/screens/NID';
|
|
@@ -34,6 +35,7 @@ import ConnectExpressAuthenticationListScreen from './connectExpress/screens/Aut
|
|
|
34
35
|
import ConnectExpressAuthMerchantScreen from './connectExpress/screens/AuthMerchant';
|
|
35
36
|
import ConnectExpressAuthAccountCreatedLoaderScreen from './connectExpress/screens/AccountCreatedLoader';
|
|
36
37
|
import ConnectExpressOperatorError from './connectExpress/screens/OperatorError';
|
|
38
|
+
import ConnectExpressCollectMobileOwnership from './connectExpress/screens/MobileOwnership';
|
|
37
39
|
import AuthBusinessCountry from './auth/screens/BusinessCountry/BusinessCountry';
|
|
38
40
|
import AuthSwitchScreen from './auth/screens/AuthSwitch';
|
|
39
41
|
import AuthMobileScreen from './auth/screens/Mobile';
|
|
@@ -68,6 +70,7 @@ import BusCivilIDscreen from './business/screens/CivilID';
|
|
|
68
70
|
import BusVerifyPACIScreen from './business/screens/VerifyPACI';
|
|
69
71
|
import BrandVerifyScreen from './business/screens/BrandDetails';
|
|
70
72
|
import BusinessOperatorError from './business/screens/OperatorError';
|
|
73
|
+
import BusinessCollectMobileOwnership from './business/screens/MobileOwnership';
|
|
71
74
|
import PasswordVerifyPage from './password/screens/Verify';
|
|
72
75
|
import CreatePasswordPage from './password/screens/CreatePassword';
|
|
73
76
|
import PasswordDataLoadingPage from './password/screens/PrepareDataLoading';
|
|
@@ -188,6 +191,10 @@ export var connectFeatureScreens = [
|
|
|
188
191
|
{
|
|
189
192
|
name: 'CONNECT_OPERATOR_ERROR_STEP',
|
|
190
193
|
element: OperatorError
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
name: 'CONNECT_MOBILE_OWNERSHIP',
|
|
197
|
+
element: CollectMobileOwnership
|
|
191
198
|
}
|
|
192
199
|
];
|
|
193
200
|
export var connectExpressFeatureScreens = [
|
|
@@ -278,6 +285,10 @@ export var connectExpressFeatureScreens = [
|
|
|
278
285
|
{
|
|
279
286
|
name: 'CONNECT_EXPRESS_OPERATOR_ERROR_STEP',
|
|
280
287
|
element: ConnectExpressOperatorError
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
name: 'COLLECT_MOBILE_OWNERSHIP',
|
|
291
|
+
element: ConnectExpressCollectMobileOwnership
|
|
281
292
|
}
|
|
282
293
|
];
|
|
283
294
|
export var authFeatureScreens = [
|
|
@@ -406,6 +417,10 @@ export var businessFeatureScreens = [
|
|
|
406
417
|
{
|
|
407
418
|
name: 'BUSINESS_OPERATOR_ERROR_STEP',
|
|
408
419
|
element: BusinessOperatorError
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
name: 'BUSINESS_MOBILE_OWNERSHIP',
|
|
423
|
+
element: BusinessCollectMobileOwnership
|
|
409
424
|
}
|
|
410
425
|
];
|
|
411
426
|
export var passwordFeatureScreens = [
|
|
@@ -21,7 +21,8 @@ var CloseIconStyled = styled(Icon)(function (_a) {
|
|
|
21
21
|
var theme = _a.theme;
|
|
22
22
|
return ({
|
|
23
23
|
width: theme.spacing(3.75),
|
|
24
|
-
height: theme.spacing(3.75)
|
|
24
|
+
height: theme.spacing(3.75),
|
|
25
|
+
cursor: 'pointer'
|
|
25
26
|
});
|
|
26
27
|
});
|
|
27
28
|
var CloseBox = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'isTapOrigin'; } })(function (_a) {
|
|
@@ -31,7 +32,6 @@ var CloseBox = styled(Box, { shouldForwardProp: function (prop) { return prop !=
|
|
|
31
32
|
justifyContent: 'end',
|
|
32
33
|
marginBlockStart: theme.spacing(2),
|
|
33
34
|
marginInlineEnd: theme.spacing(2),
|
|
34
|
-
cursor: 'pointer',
|
|
35
35
|
direction: theme.direction,
|
|
36
36
|
position: isTapOrigin ? 'initial' : 'absolute',
|
|
37
37
|
right: 0,
|
|
@@ -53,5 +53,5 @@ export default function Dialog(_a) {
|
|
|
53
53
|
var handleOnCancel = function () {
|
|
54
54
|
setOpen(false);
|
|
55
55
|
};
|
|
56
|
-
return (_jsxs(_Fragment, { children: [onClose && (_jsx(CloseBox, __assign({ isTapOrigin: isTapOrigin, id: 'close-container'
|
|
56
|
+
return (_jsxs(_Fragment, { children: [onClose && (_jsx(CloseBox, __assign({ isTapOrigin: isTapOrigin, id: 'close-container' }, { children: _jsx(CloseIconStyled, { src: ICONS_NAMES.CLOSE_ICON, onClick: handleOnCloseButton }) }))), children, onClose && (_jsx(CloseDialog, { message: t('confirm_close_flow_title'), confirmTitle: t('confirm_close_flow_yes'), closeTitle: t('confirm_close_flow_no'), open: open, onConfirm: handleOnConfirm, onCancel: handleOnCancel }))] }));
|
|
57
57
|
}
|