@tap-payments/auth-jsconnect 2.8.99-development → 2.9.0
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 +2 -2
- package/build/@types/app.d.ts +11 -3
- package/build/@types/app.js +7 -0
- package/build/@types/config.d.ts +4 -0
- package/build/@types/form.d.ts +7 -0
- package/build/api/account.d.ts +3 -1
- package/build/api/account.js +7 -0
- package/build/api/auth.d.ts +16 -1
- package/build/api/index.d.ts +4 -3
- package/build/app/settings.d.ts +1 -0
- package/build/app/settings.js +14 -8
- package/build/assets/currencies/AEDSymbol.d.ts +7 -0
- package/build/assets/currencies/AEDSymbol.js +28 -0
- package/build/assets/currencies/SARSymbol.d.ts +7 -0
- package/build/assets/currencies/SARSymbol.js +28 -0
- package/build/assets/currencies/index.d.ts +2 -0
- package/build/assets/currencies/index.js +2 -0
- package/build/assets/currencies/utils.d.ts +4 -0
- package/build/assets/currencies/utils.js +6 -0
- package/build/assets/locales/ar.json +18 -1
- package/build/assets/locales/en.json +44 -1
- package/build/components/AnimationFlow/BottomSheet.js +16 -12
- package/build/components/AnimationFlow/Dialog.js +3 -1
- package/build/components/Input/Input.js +1 -1
- package/build/components/TextWithCurrency/TextWithCurrency.d.ts +7 -0
- package/build/components/TextWithCurrency/TextWithCurrency.js +14 -0
- package/build/components/TextWithCurrency/index.d.ts +2 -0
- package/build/components/TextWithCurrency/index.js +2 -0
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/constants/api.d.ts +2 -0
- package/build/constants/api.js +4 -0
- package/build/constants/app.d.ts +17 -0
- package/build/constants/app.js +97 -17
- package/build/constants/assets.d.ts +12 -3
- package/build/constants/assets.js +123 -105
- package/build/constants/dummy.js +27 -20
- package/build/constants/flows.d.ts +4 -0
- package/build/constants/flows.js +4 -0
- package/build/constants/validation.d.ts +1 -0
- package/build/constants/validation.js +1 -0
- package/build/features/app/auth/authStore.d.ts +24 -5
- package/build/features/app/auth/authStore.js +197 -95
- package/build/features/app/board/boardStore.d.ts +5 -1
- package/build/features/app/board/boardStore.js +40 -35
- package/build/features/app/business/businessStore.d.ts +10 -1
- package/build/features/app/business/businessStore.js +164 -35
- package/build/features/app/connect/connectStore.d.ts +8 -1
- package/build/features/app/connect/connectStore.js +181 -68
- package/build/features/app/connectExpress/connectExpressStore.d.ts +21 -3
- package/build/features/app/connectExpress/connectExpressStore.js +448 -117
- package/build/features/app/individual/individualStore.js +2 -4
- package/build/features/app/kyc/kycStore.js +88 -66
- package/build/features/app/signIn/signInStore.js +19 -15
- package/build/features/auth/Auth.d.ts +1 -1
- package/build/features/auth/screens/Mobile/MobileNumber.js +5 -7
- package/build/features/auth/screens/Mobile/validation.js +5 -2
- package/build/features/auth/screens/OTP/OTP.d.ts +13 -2
- package/build/features/auth/screens/OTP/OTP.js +15 -3
- package/build/features/auth/screens/OTP/index.d.ts +1 -2
- package/build/features/auth/screens/Passcode/Passcode.d.ts +16 -0
- package/build/features/auth/screens/Passcode/Passcode.js +82 -0
- package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +6 -0
- package/build/features/auth/screens/Passcode/PasscodeInput.js +42 -0
- package/build/features/auth/screens/Passcode/index.d.ts +2 -0
- package/build/features/auth/screens/Passcode/index.js +2 -0
- package/build/features/auth/screens/Passcode/validation.d.ts +8 -0
- package/build/features/auth/screens/Passcode/validation.js +4 -0
- package/build/features/bank/Bank.d.ts +5 -1
- package/build/features/bank/Bank.js +15 -7
- package/build/features/board/Board.js +1 -1
- package/build/features/brand/Brand.d.ts +5 -1
- package/build/features/brand/Brand.js +15 -7
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +3 -8
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +3 -8
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +103 -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/Connect.js +1 -1
- package/build/features/connect/screens/Individual/MobileNumber.js +5 -7
- package/build/features/connect/screens/Individual/validation.js +5 -2
- package/build/features/connect/screens/Mobile/MobileNumber.js +5 -7
- package/build/features/connect/screens/Mobile/validation.js +5 -2
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +104 -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/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +5 -7
- package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +5 -2
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +3 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.js +9 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.d.ts +2 -0
- package/build/features/connectExpress/screens/GenericPrepareDataLoading/index.js +2 -0
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +5 -7
- package/build/features/connectExpress/screens/Mobile/validation.js +9 -4
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
- package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +106 -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/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.js +49 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +5 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.js +88 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.d.ts +3 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/index.js +2 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/validation.d.ts +8 -0
- package/build/features/connectExpress/screens/VerifyMobileAuthOTP/validation.js +4 -0
- package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +9 -3
- package/build/features/entity/Entity.d.ts +4 -1
- package/build/features/entity/Entity.js +15 -7
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +3 -7
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +3 -7
- package/build/features/featuresScreens.js +35 -0
- package/build/features/individual/Individual.d.ts +4 -1
- package/build/features/individual/Individual.js +15 -7
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +3 -8
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +3 -8
- package/build/features/individual/screens/IndividualList/MobileNumber.js +5 -10
- package/build/features/individual/screens/IndividualList/validation.js +5 -3
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +3 -5
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +5 -2
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +5 -10
- package/build/features/individual/screens/IndividualPhoneInfo/validation.js +5 -2
- package/build/features/kyc/KYC.js +5 -1
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +5 -0
- package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.js +19 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.d.ts +2 -0
- package/build/features/kyc/screens/AlreadySubmitted/index.js +2 -0
- package/build/features/kyc/screens/Success/Success.js +18 -5
- package/build/features/kyc/screens/Terms/Terms.js +19 -4
- package/build/features/kyc/screens/TokenError/TokenError.d.ts +5 -0
- package/build/features/kyc/screens/TokenError/TokenError.js +9 -0
- package/build/features/kyc/screens/TokenError/index.d.ts +2 -0
- package/build/features/kyc/screens/TokenError/index.js +2 -0
- package/build/features/kyc/screens/Users/Users.js +6 -3
- package/build/features/password/Password.d.ts +4 -1
- package/build/features/password/Password.js +13 -6
- package/build/features/shared/Background/LogoBackground.js +5 -17
- package/build/features/shared/Button/Button.js +1 -2
- package/build/features/shared/Button/FlowsButtons.js +5 -2
- package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
- package/build/features/shared/Containers/FeatureContainer.js +5 -3
- package/build/features/shared/Dialog/DialogContainer.js +5 -4
- package/build/features/shared/Input/Input.d.ts +1 -1
- package/build/features/signIn/screens/Mobile/MobileNumber.js +5 -7
- package/build/features/signIn/screens/Mobile/validation.js +5 -2
- package/build/features/tax/Tax.d.ts +4 -1
- package/build/features/tax/Tax.js +15 -7
- package/build/hooks/useAppConfig.js +1 -1
- package/build/utils/common.d.ts +1 -1
- package/build/utils/common.js +6 -5
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/string.d.ts +4 -2
- package/build/utils/string.js +12 -2
- package/package.json +3 -4
|
@@ -44,19 +44,18 @@ var LanguageFooterStyled = styled(Box)(function (_a) {
|
|
|
44
44
|
});
|
|
45
45
|
});
|
|
46
46
|
var BottomSheetStyled = styled(BottomSheet, {
|
|
47
|
-
shouldForwardProp: function (prop) { return !['isMaturityExpress', 'languageBarHeight', 'dialogEdgeFormat'].includes(prop.toString()); }
|
|
47
|
+
shouldForwardProp: function (prop) { return !['isMaturityExpress', 'languageBarHeight', 'dialogEdgeFormat', 'showPoweredBy'].includes(prop.toString()); }
|
|
48
48
|
})(function (_a) {
|
|
49
|
-
var theme = _a.theme, isMaturityExpress = _a.isMaturityExpress, languageBarHeight = _a.languageBarHeight, dialogEdgeFormat = _a.dialogEdgeFormat;
|
|
49
|
+
var theme = _a.theme, isMaturityExpress = _a.isMaturityExpress, languageBarHeight = _a.languageBarHeight, dialogEdgeFormat = _a.dialogEdgeFormat, showPoweredBy = _a.showPoweredBy;
|
|
50
50
|
return ({
|
|
51
51
|
'[data-rsbs-header]:before': __assign({ width: '75px', height: '5px' }, (isMaturityExpress && { width: '0px', height: '0px' })),
|
|
52
52
|
'[data-rsbs-backdrop]': {
|
|
53
53
|
backgroundColor: 'transparent'
|
|
54
54
|
},
|
|
55
55
|
'[data-rsbs-header]': __assign({ position: 'absolute', width: '100vw' }, (isMaturityExpress && { display: 'none' })),
|
|
56
|
-
'[data-rsbs-overlay]': __assign(__assign({ backgroundColor: theme.palette.background.paper, zIndex: 9999, maxHeight: "calc(100vh - ".concat(languageBarHeight, "px)"), borderTopLeftRadius: theme.spacing(1.5), borderTopRightRadius: theme.spacing(1.5) }, (isMaturityExpress && {
|
|
57
|
-
marginBottom: theme.spacing(5.625)
|
|
58
|
-
|
|
59
|
-
})), (dialogEdgeFormat === DialogEdgeFormat.STRAIGHT && { borderTopLeftRadius: theme.spacing(0), borderTopRightRadius: theme.spacing(0) })),
|
|
56
|
+
'[data-rsbs-overlay]': __assign(__assign({ backgroundColor: theme.palette.background.paper, zIndex: 9999, maxHeight: "calc(100vh - ".concat(languageBarHeight, "px)"), borderTopLeftRadius: theme.spacing(1.5), borderTopRightRadius: theme.spacing(1.5) }, (isMaturityExpress && __assign(__assign({}, (showPoweredBy && {
|
|
57
|
+
marginBottom: theme.spacing(5.625)
|
|
58
|
+
})), { paddingTop: theme.spacing(5) }))), (dialogEdgeFormat === DialogEdgeFormat.STRAIGHT && { borderTopLeftRadius: theme.spacing(0), borderTopRightRadius: theme.spacing(0) })),
|
|
60
59
|
'[data-rsbs-scroll]': {
|
|
61
60
|
'&::-webkit-scrollbar': {
|
|
62
61
|
width: '0px'
|
|
@@ -80,7 +79,8 @@ var CloseIconStyled = styled(Icon)(function (_a) {
|
|
|
80
79
|
var theme = _a.theme;
|
|
81
80
|
return ({
|
|
82
81
|
width: theme.spacing(3.75),
|
|
83
|
-
height: theme.spacing(3.75)
|
|
82
|
+
height: theme.spacing(3.75),
|
|
83
|
+
cursor: 'pointer'
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
86
|
var CloseBox = styled(Box)(function (_a) {
|
|
@@ -90,12 +90,12 @@ var CloseBox = styled(Box)(function (_a) {
|
|
|
90
90
|
justifyContent: 'end',
|
|
91
91
|
marginBlockStart: theme.spacing(2),
|
|
92
92
|
marginInlineEnd: theme.spacing(2),
|
|
93
|
-
cursor: 'pointer',
|
|
94
93
|
direction: theme.direction,
|
|
95
94
|
position: 'absolute',
|
|
96
95
|
right: 0,
|
|
97
96
|
left: 0,
|
|
98
|
-
zIndex: 9999
|
|
97
|
+
zIndex: 9999,
|
|
98
|
+
top: 0
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
101
|
var BottomSheetComponent = function (_a) {
|
|
@@ -113,7 +113,11 @@ var BottomSheetComponent = function (_a) {
|
|
|
113
113
|
var el = document.getElementById('main-feature-container');
|
|
114
114
|
var footer = document.getElementById('bottom-sheet-powered_by_footer');
|
|
115
115
|
var height = el ? el.clientHeight : 0;
|
|
116
|
-
var footerHeight =
|
|
116
|
+
var footerHeight = 0;
|
|
117
|
+
if (footer)
|
|
118
|
+
footerHeight = footer.clientHeight + 20;
|
|
119
|
+
else if (hidePoweredBy && isMaturityExpress)
|
|
120
|
+
footerHeight = 40;
|
|
117
121
|
return (height || maxHeight * 0.7) + footerHeight;
|
|
118
122
|
};
|
|
119
123
|
React.useEffect(function () {
|
|
@@ -127,9 +131,9 @@ var BottomSheetComponent = function (_a) {
|
|
|
127
131
|
}, 500);
|
|
128
132
|
}
|
|
129
133
|
}, [screenId]);
|
|
130
|
-
return (_jsxs(BottomSheetStyled, __assign({ languageBarHeight: getLanguageBarHeight(), dialogEdgeFormat: dialogEdgeFormat, sibling: hideFooter ? (_jsx(_Fragment, {})) : (open && (_jsx(LanguageFooterStyled, { children: _jsx(CustomFooter, {}) }))), isMaturityExpress: isMaturityExpress, sx: { pointerEvents: pointerEvents }, ref: sheetRef, open: open, snapPoints: function (_a) {
|
|
134
|
+
return (_jsxs(BottomSheetStyled, __assign({ languageBarHeight: getLanguageBarHeight(), dialogEdgeFormat: dialogEdgeFormat, sibling: hideFooter ? (_jsx(_Fragment, {})) : (open && (_jsx(LanguageFooterStyled, { children: _jsx(CustomFooter, {}) }))), isMaturityExpress: isMaturityExpress, showPoweredBy: !hidePoweredBy, sx: { pointerEvents: pointerEvents }, ref: sheetRef, open: open, snapPoints: function (_a) {
|
|
131
135
|
var maxHeight = _a.maxHeight;
|
|
132
136
|
return [getMinHeight(maxHeight), maxHeight * 0.95];
|
|
133
|
-
} }, rest, { children: [isMaturityExpress && !hideMerchantLogo && (_jsx(LogoBadge, { src: isMaturityExpress ? logo || ICONS_NAMES.LOGO_ICON : ICONS_NAMES.LOGO_ICON })), onClose && (_jsx(CloseBox, __assign({ id: 'close-container'
|
|
137
|
+
} }, rest, { children: [isMaturityExpress && !hideMerchantLogo && (_jsx(LogoBadge, { src: isMaturityExpress ? logo || ICONS_NAMES.LOGO_ICON : ICONS_NAMES.LOGO_ICON })), onClose && (_jsx(CloseBox, __assign({ id: 'close-container' }, { children: _jsx(CloseIconStyled, { src: ICONS_NAMES.CLOSE_ICON, onClick: handleOnCloseButton }) }))), children, isMaturityExpress && !hidePoweredBy && (_jsx(FooterStyled, { children: _jsx(PoweredByFooter, { id: 'bottom-sheet-powered_by_footer', sx: { margin: '0px' }, textSx: { color: 'rgba(63, 66, 77, 0.6)' }, icon: isAr ? ICONS_NAMES.LOGO_WITH_NAME_DARK_AR_ICON : ICONS_NAMES.LOGO_WITH_NAME_DARK_EN_ICON }) }))] })));
|
|
134
138
|
};
|
|
135
139
|
export default React.memo(BottomSheetComponent);
|
|
@@ -124,7 +124,9 @@ var Dialog = function (_a) {
|
|
|
124
124
|
return (_jsxs(MuiDialog, __assign({ id: DIALOG_ID, PaperProps: {
|
|
125
125
|
elevation: 0
|
|
126
126
|
}, sx: __assign({ '& .MuiDialog-paper': __assign({ overflowY: 'visible' }, (dialogEdgeFormat === DialogEdgeFormat.STRAIGHT && { borderRadius: theme.spacing(0) })), '&.MuiDialog-root': {
|
|
127
|
-
marginBottom: isMaturityExpress ? '60px' : '0px'
|
|
127
|
+
marginBottom: isMaturityExpress && !hideLanguage ? '60px' : '0px'
|
|
128
|
+
}, '& .MuiDialog-container': {
|
|
129
|
+
outline: 'none !important'
|
|
128
130
|
}, pointerEvents: pointerEvents }, sx), hideBackdrop: true, PaperComponent: PaperStyled, open: open, transitionDuration: transitionDuration || 500, keepMounted: true, "aria-describedby": 'dialog-slide-description' }, rest, animation, (animationDirection && { TransitionProps: { direction: animationDirection } }), { children: [_jsx(DialogContainer, __assign({ isTapOrigin: isTapOrigin, onClose: onClose, onConfirm: onConfirm }, { children: _jsxs(DialogContentStyled, __assign({ isTapOrigin: isTapOrigin }, { children: [_jsxs(Collapse, __assign({ in: !isTapOrigin }, { children: [!hideMerchantLogo && _jsx(LogoBadge, { src: isMaturityExpress ? logo || ICONS_NAMES.LOGO_ICON : ICONS_NAMES.LOGO_ICON }), !isMaturityExpress && !hideTextLogo && (_jsx(LogoIconBoxStyled, { children: _jsx(LogoIconStyled, { src: isAr ? ICONS_NAMES.TAP_AR : ICONS_NAMES.TAP_EN, alt: 'tap logo' }) }))] })), children] })) })), isMaturityExpress && !hidePoweredBy ? _jsx(PoweredByFooter, {}) : !isMaturityExpress && !hideLanguage && _jsx(CustomFooter, {}), !hideLanguage && (_jsx(LanguageFooterStyled, __assign({ showLanguage: showLanguage }, { children: _jsx(CustomFooter, {}) })))] })));
|
|
129
131
|
};
|
|
130
132
|
export default React.memo(Dialog);
|
|
@@ -57,7 +57,7 @@ var InputStyled = styled(Input)(function (_a) {
|
|
|
57
57
|
height: '100%',
|
|
58
58
|
width: '100%'
|
|
59
59
|
},
|
|
60
|
-
input: __assign(__assign({}, theme.typography.subtitle2), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightRegular, background: theme.palette.background.default, padding: theme.spacing(1.5, 2.5, 1.5), '&::placeholder': {
|
|
60
|
+
input: __assign(__assign({}, theme.typography.subtitle2), { color: theme.palette.text.primary, fontWeight: theme.typography.fontWeightRegular, background: "".concat(theme.palette.background.default, " !important"), padding: theme.spacing(1.5, 2.5, 1.5), '&::placeholder': {
|
|
61
61
|
color: alpha(theme.palette.text.primary, 0.8),
|
|
62
62
|
fontWeight: theme.typography.fontWeightLight
|
|
63
63
|
} })
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { getCurrencyByCountryIso2 } from '../../utils';
|
|
3
|
+
import { CURRENCY_ICON } from '../../assets/currencies';
|
|
4
|
+
var TextWithCurrency = function (_a) {
|
|
5
|
+
var text = _a.text, countryCode = _a.countryCode;
|
|
6
|
+
if (!countryCode)
|
|
7
|
+
return _jsx(_Fragment, { children: text });
|
|
8
|
+
var currencyCode = getCurrencyByCountryIso2(countryCode);
|
|
9
|
+
var CurrencyIcon = CURRENCY_ICON[countryCode];
|
|
10
|
+
if (CurrencyIcon)
|
|
11
|
+
return (_jsxs("span", { children: [text, " (", _jsx(CurrencyIcon, {}), ")"] }));
|
|
12
|
+
return (_jsxs("span", { children: [text, currencyCode ? " (".concat(currencyCode, ")") : ''] }));
|
|
13
|
+
};
|
|
14
|
+
export default TextWithCurrency;
|
|
@@ -33,7 +33,7 @@ var StyledTooltip = styled(function (_a) {
|
|
|
33
33
|
var _b;
|
|
34
34
|
var theme = _a.theme;
|
|
35
35
|
return (_b = {},
|
|
36
|
-
_b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)) }),
|
|
36
|
+
_b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)), zIndex: 2147483647 }),
|
|
37
37
|
_b);
|
|
38
38
|
});
|
|
39
39
|
var TextStyled = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
|
package/build/constants/api.d.ts
CHANGED
|
@@ -11,7 +11,9 @@ export declare const ENDPOINT_PATHS: {
|
|
|
11
11
|
MIGRATION_STATUS: string;
|
|
12
12
|
SANDBOX_BASE_URL: string;
|
|
13
13
|
PRODUCTION_BASE_URL: string;
|
|
14
|
+
PRODUCTION_BASE_URL_SA: string;
|
|
14
15
|
DEV_BASE_URL: string;
|
|
16
|
+
BETA_BASE_URL: string;
|
|
15
17
|
BUSINESS_COUNTRIES: string;
|
|
16
18
|
COUNTRIES: string;
|
|
17
19
|
IP: string;
|
package/build/constants/api.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
var SANDBOX_BASE_URL = 'https://connect-mw.sandbox.tap.company/middleware';
|
|
2
2
|
var PRODUCTION_BASE_URL = 'https://connect-mw.tap.company/middleware';
|
|
3
|
+
var PRODUCTION_BASE_URL_SA = 'https://connect-mw.tap.com.sa/middleware';
|
|
3
4
|
var DEV_BASE_URL = 'https://connect-mw.dev.tap.company/middleware';
|
|
5
|
+
var BETA_BASE_URL = 'https://connect-mw.beta.tap.company/middleware';
|
|
4
6
|
var API_BUSINESS_COUNTRIES = 'https://godata.sandbox.tap.company/api/v1/business/country/list';
|
|
5
7
|
var API_COUNTRIES = 'https://utilities.tap.company/api/v1/country/list';
|
|
6
8
|
var CURRENCY_PATH = 'https://utilities.tap.company/api/v1/currency/iso';
|
|
@@ -68,7 +70,9 @@ export var ENDPOINT_PATHS = {
|
|
|
68
70
|
MIGRATION_STATUS: MIGRATION_STATUS,
|
|
69
71
|
SANDBOX_BASE_URL: SANDBOX_BASE_URL,
|
|
70
72
|
PRODUCTION_BASE_URL: PRODUCTION_BASE_URL,
|
|
73
|
+
PRODUCTION_BASE_URL_SA: PRODUCTION_BASE_URL_SA,
|
|
71
74
|
DEV_BASE_URL: DEV_BASE_URL,
|
|
75
|
+
BETA_BASE_URL: BETA_BASE_URL,
|
|
72
76
|
BUSINESS_COUNTRIES: API_BUSINESS_COUNTRIES,
|
|
73
77
|
COUNTRIES: API_COUNTRIES,
|
|
74
78
|
IP: IP_PATH,
|
package/build/constants/app.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ScreenStepNavigation, BusinessType } from '../@types';
|
|
2
2
|
export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company";
|
|
3
|
+
export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company";
|
|
4
|
+
export declare const CONNECT_BETA_URL = "https://connect.beta.tap.company";
|
|
3
5
|
export declare const CONNECT_PROD_URL = "https://connect.tap.company";
|
|
4
6
|
export declare const CLIENT_ORIGIN: string;
|
|
5
7
|
export declare const TAP_WEBSITE = "https://www.tap.company/";
|
|
@@ -9,9 +11,14 @@ export declare const LOCAL_STORAGE_KEYS: {
|
|
|
9
11
|
languageMode: string;
|
|
10
12
|
};
|
|
11
13
|
export declare const SCOPE_AUTH = "auth";
|
|
14
|
+
export declare const SCOPE_MERCHANT = "merchant";
|
|
12
15
|
export declare const DEFAULT_COUNTRY_ISO2 = "KW";
|
|
13
16
|
export declare const NAFATH_VERIFICATION_FAILED = "nafath_verification_failed";
|
|
14
17
|
export declare const COLLECT_DOB_INFO_NAFATH = "collect_date_of_birth";
|
|
18
|
+
export declare const LANGUAGE_ABBREVIATIONS: {
|
|
19
|
+
ENGLISH: string;
|
|
20
|
+
ARABIC: string;
|
|
21
|
+
};
|
|
15
22
|
export declare const EXTERNAL_LINKS: {
|
|
16
23
|
TOS_EN: string;
|
|
17
24
|
TOS_AR: string;
|
|
@@ -19,6 +26,8 @@ export declare const EXTERNAL_LINKS: {
|
|
|
19
26
|
REFUND_AR: string;
|
|
20
27
|
TRANSACTION_EN: string;
|
|
21
28
|
TRANSACTION_AR: string;
|
|
29
|
+
PRIVACY_POLICY: string;
|
|
30
|
+
TERMS_CONDITIONS: string;
|
|
22
31
|
};
|
|
23
32
|
export declare const DIALOG_ID = "auth-js-connect-dialog";
|
|
24
33
|
export declare const BACKGROUND_ID = "auth-js-connect-background";
|
|
@@ -99,6 +108,8 @@ export declare const CONNECT_STEP_NAMES: {
|
|
|
99
108
|
UPDATE_BRAND_SEGMENT_INFO: string;
|
|
100
109
|
CREATE_AUTH_PASSWORD: string;
|
|
101
110
|
VERIFY_AUTH_PASSWORD: string;
|
|
111
|
+
CONNECT_MOBILE_OWNERSHIP: string;
|
|
112
|
+
CONNECT_MOBILE_OWNERSHIP_SKIPPED: string;
|
|
102
113
|
CONNECT_SUCCESS: string;
|
|
103
114
|
};
|
|
104
115
|
export declare const AUTH_STEP_NAMES: {
|
|
@@ -110,6 +121,7 @@ export declare const AUTH_STEP_NAMES: {
|
|
|
110
121
|
CREATE_AUTH_NID: string;
|
|
111
122
|
VERIFY_AUTH_NID: string;
|
|
112
123
|
UPDATE_DOB_INFO: string;
|
|
124
|
+
CREATE_AUTH_PASSCODE: string;
|
|
113
125
|
};
|
|
114
126
|
export declare const CONNECT_EXPRESS_STEP_NAMES: {
|
|
115
127
|
CREATE_AUTH_MOBILE: string;
|
|
@@ -127,6 +139,9 @@ export declare const CONNECT_EXPRESS_STEP_NAMES: {
|
|
|
127
139
|
CREATE_AUTH_PASSWORD: string;
|
|
128
140
|
VERIFY_AUTH_PASSWORD: string;
|
|
129
141
|
CONNECT_EXPRESS_SUCCESS: string;
|
|
142
|
+
COLLECT_MOBILE_OWNERSHIP: string;
|
|
143
|
+
COLLECT_MOBILE_OWNERSHIP_SKIPPED: string;
|
|
144
|
+
VERIFY_AUTH_MOBILE_OTP: string;
|
|
130
145
|
};
|
|
131
146
|
export declare const SignIn_STEP_NAMES: {
|
|
132
147
|
CREATE_AUTH_MOBILE: string;
|
|
@@ -148,6 +163,8 @@ export declare const BUSINESS_STEP_NAMES: {
|
|
|
148
163
|
BUSINESS_CR_ACTIVITIES: string;
|
|
149
164
|
BUSINESS_CUSTOMERS: string;
|
|
150
165
|
BUSINESS_SUCCESS: string;
|
|
166
|
+
BUSINESS_MOBILE_OWNERSHIP: string;
|
|
167
|
+
BUSINESS_MOBILE_OWNERSHIP_SKIPPED: string;
|
|
151
168
|
};
|
|
152
169
|
export declare const BANK_STEP_NAMES: {
|
|
153
170
|
PHONE_AUTH: string;
|
package/build/constants/app.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BusinessType } from '../@types';
|
|
2
2
|
import { CONNECT_FLOWS } from './flows';
|
|
3
3
|
export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
|
|
4
|
+
export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company';
|
|
5
|
+
export var CONNECT_BETA_URL = 'https://connect.beta.tap.company';
|
|
4
6
|
export var CONNECT_PROD_URL = 'https://connect.tap.company';
|
|
5
7
|
export var CLIENT_ORIGIN = window.location.origin;
|
|
6
8
|
export var TAP_WEBSITE = 'https://www.tap.company/';
|
|
@@ -10,16 +12,23 @@ export var LOCAL_STORAGE_KEYS = {
|
|
|
10
12
|
languageMode: 'languageMode'
|
|
11
13
|
};
|
|
12
14
|
export var SCOPE_AUTH = 'auth';
|
|
15
|
+
export var SCOPE_MERCHANT = 'merchant';
|
|
13
16
|
export var DEFAULT_COUNTRY_ISO2 = 'KW';
|
|
14
17
|
export var NAFATH_VERIFICATION_FAILED = 'nafath_verification_failed';
|
|
15
18
|
export var COLLECT_DOB_INFO_NAFATH = 'collect_date_of_birth';
|
|
19
|
+
export var LANGUAGE_ABBREVIATIONS = {
|
|
20
|
+
ENGLISH: 'en',
|
|
21
|
+
ARABIC: 'ar'
|
|
22
|
+
};
|
|
16
23
|
export var EXTERNAL_LINKS = {
|
|
17
24
|
TOS_EN: '/en/terms-conditions',
|
|
18
25
|
TOS_AR: '/ar/terms-conditions',
|
|
19
26
|
REFUND_EN: '/en/terms-conditions',
|
|
20
27
|
REFUND_AR: '/ar/terms-conditions',
|
|
21
28
|
TRANSACTION_EN: '/en/terms-conditions',
|
|
22
|
-
TRANSACTION_AR: '/ar/terms-conditions'
|
|
29
|
+
TRANSACTION_AR: '/ar/terms-conditions',
|
|
30
|
+
PRIVACY_POLICY: '/privacy',
|
|
31
|
+
TERMS_CONDITIONS: '/terms-and-conditions'
|
|
23
32
|
};
|
|
24
33
|
export var DIALOG_ID = 'auth-js-connect-dialog';
|
|
25
34
|
export var BACKGROUND_ID = 'auth-js-connect-background';
|
|
@@ -80,7 +89,7 @@ export var CONNECT_SCREENS_NAVIGATION = [
|
|
|
80
89
|
},
|
|
81
90
|
{
|
|
82
91
|
name: 'CONNECT_INDIVIDUAL_STEP',
|
|
83
|
-
next: 'CONNECT_MERCHANT_INFO_STEP',
|
|
92
|
+
next: ['CONNECT_MERCHANT_INFO_STEP', 'CONNECT_MOBILE_OWNERSHIP'],
|
|
84
93
|
prev: ['CONNECT_MOBILE_STEP', 'CONNECT_NID_STEP', 'CONNECT_CIVIL_ID_STEP', 'CONNECT_DOB_STEP'],
|
|
85
94
|
order: 3
|
|
86
95
|
},
|
|
@@ -90,6 +99,12 @@ export var CONNECT_SCREENS_NAVIGATION = [
|
|
|
90
99
|
prev: ['CONNECT_INDIVIDUAL_STEP', 'CONNECT_NID_STEP', 'CONNECT_MOBILE_STEP', 'CONNECT_CIVIL_ID_STEP'],
|
|
91
100
|
order: 4
|
|
92
101
|
},
|
|
102
|
+
{
|
|
103
|
+
name: 'CONNECT_MOBILE_OWNERSHIP',
|
|
104
|
+
next: 'CONNECT_MERCHANT_INFO_STEP',
|
|
105
|
+
prev: 'CONNECT_INDIVIDUAL_STEP',
|
|
106
|
+
order: 4
|
|
107
|
+
},
|
|
93
108
|
{
|
|
94
109
|
name: 'CONNECT_BRAND_SEGMENT_INFO_STEP',
|
|
95
110
|
next: 'CONNECT_THANK_YOU_STEP',
|
|
@@ -202,7 +217,8 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
|
|
|
202
217
|
next: [
|
|
203
218
|
'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
204
219
|
'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
205
|
-
'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP'
|
|
220
|
+
'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
221
|
+
'COLLECT_MOBILE_OWNERSHIP'
|
|
206
222
|
],
|
|
207
223
|
prev: 'CONNECT_EXPRESS_NID_MISSED_STEP',
|
|
208
224
|
order: 4
|
|
@@ -215,13 +231,22 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
|
|
|
215
231
|
},
|
|
216
232
|
{
|
|
217
233
|
name: 'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
218
|
-
next: [
|
|
234
|
+
next: [
|
|
235
|
+
'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
236
|
+
'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
237
|
+
'CONNECT_EXPRESS_VERIFY_AUTH_OTP_STEP'
|
|
238
|
+
],
|
|
219
239
|
prev: ['CONNECT_EXPRESS_NID_STEP', 'CONNECT_EXPRESS_NID_MISSED_STEP'],
|
|
220
240
|
order: 5
|
|
221
241
|
},
|
|
222
242
|
{
|
|
223
243
|
name: 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
224
|
-
next: [
|
|
244
|
+
next: [
|
|
245
|
+
'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
246
|
+
'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
247
|
+
'COLLECT_MOBILE_OWNERSHIP',
|
|
248
|
+
'CONNECT_EXPRESS_VERIFY_AUTH_OTP_STEP'
|
|
249
|
+
],
|
|
225
250
|
prev: [
|
|
226
251
|
'CONNECT_EXPRESS_MOBILE_STEP',
|
|
227
252
|
'CONNECT_EXPRESS_NID_STEP',
|
|
@@ -232,35 +257,58 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
|
|
|
232
257
|
],
|
|
233
258
|
order: 5
|
|
234
259
|
},
|
|
260
|
+
{
|
|
261
|
+
name: 'COLLECT_MOBILE_OWNERSHIP',
|
|
262
|
+
next: [
|
|
263
|
+
'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
264
|
+
'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
265
|
+
'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
266
|
+
'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
267
|
+
'CONNECT_EXPRESS_VERIFY_AUTH_OTP_STEP'
|
|
268
|
+
],
|
|
269
|
+
prev: ['CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP', 'CONNECT_EXPRESS_NID_MISSED_STEP'],
|
|
270
|
+
order: 6
|
|
271
|
+
},
|
|
235
272
|
{
|
|
236
273
|
name: 'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
237
274
|
next: 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
238
275
|
prev: 'CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP',
|
|
239
276
|
order: 6
|
|
240
277
|
},
|
|
278
|
+
{
|
|
279
|
+
name: 'CONNECT_EXPRESS_VERIFY_AUTH_OTP_STEP',
|
|
280
|
+
next: [
|
|
281
|
+
'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
|
|
282
|
+
'COLLECT_MOBILE_OWNERSHIP',
|
|
283
|
+
'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
|
|
284
|
+
'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP'
|
|
285
|
+
],
|
|
286
|
+
prev: ['CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP', 'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP', 'COLLECT_MOBILE_OWNERSHIP'],
|
|
287
|
+
order: 7
|
|
288
|
+
},
|
|
241
289
|
{
|
|
242
290
|
name: 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
|
|
243
291
|
next: 'CONNECT_EXPRESS_PREPARING_DATA_STEP',
|
|
244
292
|
prev: '',
|
|
245
|
-
order:
|
|
293
|
+
order: 8
|
|
246
294
|
},
|
|
247
295
|
{
|
|
248
296
|
name: 'CONNECT_EXPRESS_PREPARING_DATA_STEP',
|
|
249
297
|
next: 'CONNECT_EXPRESS_SUCCESS_WITH_FLOW_BUTTONS_STEP',
|
|
250
298
|
prev: '',
|
|
251
|
-
order:
|
|
299
|
+
order: 9
|
|
252
300
|
},
|
|
253
301
|
{
|
|
254
302
|
name: 'CONNECT_EXPRESS_ACCOUNT_ALREADY_CREATED_STEP',
|
|
255
303
|
next: '',
|
|
256
304
|
prev: '',
|
|
257
|
-
order:
|
|
305
|
+
order: 10
|
|
258
306
|
},
|
|
259
307
|
{
|
|
260
308
|
name: 'CONNECT_EXPRESS_SUCCESS_WITH_FLOW_BUTTONS_STEP',
|
|
261
309
|
next: '',
|
|
262
310
|
prev: '',
|
|
263
|
-
order:
|
|
311
|
+
order: 11
|
|
264
312
|
}
|
|
265
313
|
];
|
|
266
314
|
export var AUTH_SCREENS_NAVIGATION = [
|
|
@@ -284,13 +332,13 @@ export var AUTH_SCREENS_NAVIGATION = [
|
|
|
284
332
|
},
|
|
285
333
|
{
|
|
286
334
|
name: 'AUTH_MOBILE_STEP',
|
|
287
|
-
next: 'AUTH_OTP_STEP',
|
|
335
|
+
next: ['AUTH_OTP_STEP', 'AUTH_PASSCODE_STEP'],
|
|
288
336
|
prev: 'AUTH_SWITCH_STEP',
|
|
289
337
|
order: 1
|
|
290
338
|
},
|
|
291
339
|
{
|
|
292
340
|
name: 'AUTH_EMAIL_STEP',
|
|
293
|
-
next: ['AUTH_PASSWORD_STEP', 'AUTH_RESET_PASSWORD_MESSAGE_STEP', 'AUTH_OTP_STEP'],
|
|
341
|
+
next: ['AUTH_PASSWORD_STEP', 'AUTH_RESET_PASSWORD_MESSAGE_STEP', 'AUTH_OTP_STEP', 'AUTH_PASSCODE_STEP'],
|
|
294
342
|
prev: 'AUTH_SWITCH_STEP',
|
|
295
343
|
order: 1
|
|
296
344
|
},
|
|
@@ -308,10 +356,16 @@ export var AUTH_SCREENS_NAVIGATION = [
|
|
|
308
356
|
},
|
|
309
357
|
{
|
|
310
358
|
name: 'AUTH_OTP_STEP',
|
|
311
|
-
next: ['AUTH_PREPARING_DATA_STEP', 'AUTH_EMAIL_SENT_STEP', 'AUTH_MIGRATING_DATA_STEP'],
|
|
359
|
+
next: ['AUTH_PREPARING_DATA_STEP', 'AUTH_EMAIL_SENT_STEP', 'AUTH_MIGRATING_DATA_STEP', 'AUTH_PASSCODE_STEP'],
|
|
312
360
|
prev: ['AUTH_MOBILE_STEP', 'AUTH_NID_STEP', 'AUTH_EMAIL_STEP', 'AUTH_PASSWORD_STEP'],
|
|
313
361
|
order: 2
|
|
314
362
|
},
|
|
363
|
+
{
|
|
364
|
+
name: 'AUTH_PASSCODE_STEP',
|
|
365
|
+
next: ['AUTH_OTP_STEP', 'AUTH_PREPARING_DATA_STEP', 'AUTH_MIGRATING_DATA_STEP'],
|
|
366
|
+
prev: ['AUTH_MOBILE_STEP', 'AUTH_EMAIL_STEP'],
|
|
367
|
+
order: 2
|
|
368
|
+
},
|
|
315
369
|
{
|
|
316
370
|
name: 'AUTH_NAFATH_VERIFY_STEP',
|
|
317
371
|
next: ['AUTH_PREPARING_DATA_STEP', 'AUTH_DOB_STEP'],
|
|
@@ -398,12 +452,24 @@ export var KYC_SCREENS_NAVIGATION = [
|
|
|
398
452
|
prev: '',
|
|
399
453
|
order: 1
|
|
400
454
|
},
|
|
455
|
+
{
|
|
456
|
+
name: CONNECT_FLOWS.kyc.alreadySubmitted,
|
|
457
|
+
next: '',
|
|
458
|
+
prev: '',
|
|
459
|
+
order: 1
|
|
460
|
+
},
|
|
401
461
|
{
|
|
402
462
|
name: CONNECT_FLOWS.kyc.operatorError,
|
|
403
463
|
next: '',
|
|
404
464
|
prev: '',
|
|
405
465
|
order: 1
|
|
406
466
|
},
|
|
467
|
+
{
|
|
468
|
+
name: CONNECT_FLOWS.kyc.tokenError,
|
|
469
|
+
next: '',
|
|
470
|
+
prev: '',
|
|
471
|
+
order: 1
|
|
472
|
+
},
|
|
407
473
|
{
|
|
408
474
|
name: CONNECT_FLOWS.kyc.users,
|
|
409
475
|
next: [CONNECT_FLOWS.kyc.verifyNafath, CONNECT_FLOWS.kyc.verifyPACI],
|
|
@@ -472,13 +538,13 @@ export var BUSINESS_SCREENS_NAVIGATION = [
|
|
|
472
538
|
},
|
|
473
539
|
{
|
|
474
540
|
name: 'BUSINESS_VERIFY_NAFATH_STEP',
|
|
475
|
-
next: ['BUSINESS_BUSINESS_TYPE_STEP', 'BUSINESS_DOB_STEP'],
|
|
541
|
+
next: ['BUSINESS_BUSINESS_TYPE_STEP', 'BUSINESS_DOB_STEP', 'BUSINESS_MOBILE_OWNERSHIP'],
|
|
476
542
|
prev: 'BUSINESS_IDBOD_STEP',
|
|
477
543
|
order: 3
|
|
478
544
|
},
|
|
479
545
|
{
|
|
480
546
|
name: 'BUSINESS_DOB_STEP',
|
|
481
|
-
next: 'BUSINESS_BUSINESS_TYPE_STEP',
|
|
547
|
+
next: ['BUSINESS_BUSINESS_TYPE_STEP', 'BUSINESS_MOBILE_OWNERSHIP'],
|
|
482
548
|
prev: 'BUSINESS_IDBOD_STEP',
|
|
483
549
|
order: 2
|
|
484
550
|
},
|
|
@@ -494,6 +560,12 @@ export var BUSINESS_SCREENS_NAVIGATION = [
|
|
|
494
560
|
prev: 'BUSINESS_BUSINESS_TYPE_STEP',
|
|
495
561
|
order: 2
|
|
496
562
|
},
|
|
563
|
+
{
|
|
564
|
+
name: 'BUSINESS_MOBILE_OWNERSHIP',
|
|
565
|
+
next: ['BUSINESS_BUSINESS_TYPE_STEP', 'BUSINESS_DOB_STEP'],
|
|
566
|
+
prev: 'BUSINESS_IDBOD_STEP',
|
|
567
|
+
order: 3
|
|
568
|
+
},
|
|
497
569
|
{
|
|
498
570
|
name: 'BUSINESS_CONFIRM_STEP',
|
|
499
571
|
next: 'BUSINESS_ACTIVITIES_STEP',
|
|
@@ -965,6 +1037,8 @@ export var CONNECT_STEP_NAMES = {
|
|
|
965
1037
|
UPDATE_BRAND_SEGMENT_INFO: 'connect_update_brand_segment_info',
|
|
966
1038
|
CREATE_AUTH_PASSWORD: 'connect_create_auth_password',
|
|
967
1039
|
VERIFY_AUTH_PASSWORD: 'connect_verify_auth_password',
|
|
1040
|
+
CONNECT_MOBILE_OWNERSHIP: 'collect_owner_phone',
|
|
1041
|
+
CONNECT_MOBILE_OWNERSHIP_SKIPPED: 'collect_owner_phone_skipped',
|
|
968
1042
|
CONNECT_SUCCESS: 'connect_completed'
|
|
969
1043
|
};
|
|
970
1044
|
export var AUTH_STEP_NAMES = {
|
|
@@ -975,7 +1049,8 @@ export var AUTH_STEP_NAMES = {
|
|
|
975
1049
|
VERIFY_AUTH_EMAIL: 'auth_verify_auth_email',
|
|
976
1050
|
CREATE_AUTH_NID: 'auth_create_auth_nid',
|
|
977
1051
|
VERIFY_AUTH_NID: 'auth_verify_auth_nid',
|
|
978
|
-
UPDATE_DOB_INFO: 'auth_update_dob_info'
|
|
1052
|
+
UPDATE_DOB_INFO: 'auth_update_dob_info',
|
|
1053
|
+
CREATE_AUTH_PASSCODE: 'auth_create_auth_passcode'
|
|
979
1054
|
};
|
|
980
1055
|
export var CONNECT_EXPRESS_STEP_NAMES = {
|
|
981
1056
|
CREATE_AUTH_MOBILE: 'connect_express_create_auth_mobile',
|
|
@@ -992,7 +1067,10 @@ export var CONNECT_EXPRESS_STEP_NAMES = {
|
|
|
992
1067
|
UPDATE_BRAND_INFO: 'connect_express_update_brand_info',
|
|
993
1068
|
CREATE_AUTH_PASSWORD: 'connect_express_create_auth_password',
|
|
994
1069
|
VERIFY_AUTH_PASSWORD: 'connect_express_verify_auth_password',
|
|
995
|
-
CONNECT_EXPRESS_SUCCESS: 'connect_express_completed'
|
|
1070
|
+
CONNECT_EXPRESS_SUCCESS: 'connect_express_completed',
|
|
1071
|
+
COLLECT_MOBILE_OWNERSHIP: 'collect_owner_phone',
|
|
1072
|
+
COLLECT_MOBILE_OWNERSHIP_SKIPPED: 'collect_owner_phone_skipped',
|
|
1073
|
+
VERIFY_AUTH_MOBILE_OTP: 'connect_express_auth_mobile'
|
|
996
1074
|
};
|
|
997
1075
|
export var SignIn_STEP_NAMES = {
|
|
998
1076
|
CREATE_AUTH_MOBILE: 'signIn_create_auth_mobile',
|
|
@@ -1013,7 +1091,9 @@ export var BUSINESS_STEP_NAMES = {
|
|
|
1013
1091
|
BUSINESS_INFO_CONFIRM: 'business_info_confirm',
|
|
1014
1092
|
BUSINESS_CR_ACTIVITIES: 'business_cr_activities',
|
|
1015
1093
|
BUSINESS_CUSTOMERS: 'business_customers',
|
|
1016
|
-
BUSINESS_SUCCESS: 'business_completed'
|
|
1094
|
+
BUSINESS_SUCCESS: 'business_completed',
|
|
1095
|
+
BUSINESS_MOBILE_OWNERSHIP: 'collect_owner_phone',
|
|
1096
|
+
BUSINESS_MOBILE_OWNERSHIP_SKIPPED: 'collect_owner_phone_skipped'
|
|
1017
1097
|
};
|
|
1018
1098
|
export var BANK_STEP_NAMES = {
|
|
1019
1099
|
PHONE_AUTH: 'bank_phone_auth',
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const ICONS_EXTENSION = ".svg";
|
|
1
|
+
export declare const SVG_ICON_EXTENSION = ".svg";
|
|
2
|
+
export declare const PNG_ICON_EXTENSION = ".png";
|
|
4
3
|
export declare const ICONS_FULL_PATH: string;
|
|
4
|
+
export declare const BACKEND_ICONS_FULL_PATH: string;
|
|
5
|
+
export declare const ASSETS_DASHBOARD_FULL_PATH: string;
|
|
5
6
|
export declare const ICONS_NAMES: {
|
|
6
7
|
SIDE_MENU_CLOSE_ICON: string;
|
|
7
8
|
SIDE_MENU_CLOSE_ICON_DARK: string;
|
|
@@ -44,6 +45,7 @@ export declare const ICONS_NAMES: {
|
|
|
44
45
|
NAFATH_LOGO: string;
|
|
45
46
|
NAFATH_VERIFY_ICON: string;
|
|
46
47
|
EXPRESS_ERROR_ICON: string;
|
|
48
|
+
TAP_LOGO: string;
|
|
47
49
|
TAP_EN: string;
|
|
48
50
|
TAP_AR: string;
|
|
49
51
|
ID_IMAGE: string;
|
|
@@ -103,9 +105,16 @@ export declare const ICONS_NAMES: {
|
|
|
103
105
|
entity_green_icon: string;
|
|
104
106
|
entity_white_icon: string;
|
|
105
107
|
brand_filled_icon: string;
|
|
108
|
+
terminal_filled_icon: string;
|
|
109
|
+
terminal_green_icon: string;
|
|
110
|
+
terminal_white_icon: string;
|
|
106
111
|
Arrow_filled_right_icon: string;
|
|
107
112
|
Arrow_green_right_icon: string;
|
|
108
113
|
Arrow_white_right_icon: string;
|
|
109
114
|
account_not_found: string;
|
|
110
115
|
email_icon: string;
|
|
116
|
+
terminal_device: string;
|
|
117
|
+
device_image: string;
|
|
118
|
+
platform_image: string;
|
|
119
|
+
radio_checked: string;
|
|
111
120
|
};
|