@tap-payments/auth-jsconnect 2.5.12-test → 2.5.13-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/features/connect/screens/Individual/MobileNumber.js +0 -4
- package/build/features/connect/screens/Mobile/MobileNumber.js +0 -4
- package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +0 -4
- package/build/features/connectExpress/screens/Mobile/MobileNumber.js +0 -4
- package/build/features/individual/screens/IndividualList/MobileNumber.js +0 -4
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +0 -4
- package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +0 -4
- package/build/features/signIn/screens/Mobile/MobileNumber.js +0 -4
- package/package.json +1 -1
|
@@ -100,10 +100,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
100
100
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
101
101
|
var _k = ((_f = (_e = data.otpData.responseBody) === null || _e === void 0 ? void 0 : _e.contact) === null || _f === void 0 ? void 0 : _f.phone) || {}, number = _k.number, country_code = _k.country_code;
|
|
102
102
|
var readOnly = number && country_code && !error;
|
|
103
|
-
React.useEffect(function () {
|
|
104
|
-
if (mobileValue)
|
|
105
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
106
|
-
}, []);
|
|
107
103
|
var onPhoneNumberChange = function (_a) {
|
|
108
104
|
var target = _a.target;
|
|
109
105
|
var value = removeAllCharsFromNumber(target.value);
|
|
@@ -98,10 +98,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
98
98
|
var mobileLen = countryCodeValue === null || countryCodeValue === void 0 ? void 0 : countryCodeValue.digits;
|
|
99
99
|
var isStartsWith5 = mobileValue.startsWith('5');
|
|
100
100
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
101
|
-
React.useEffect(function () {
|
|
102
|
-
if (mobileValue)
|
|
103
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
104
|
-
}, []);
|
|
105
101
|
var onPhoneNumberChange = function (_a) {
|
|
106
102
|
var target = _a.target;
|
|
107
103
|
var value = removeAllCharsFromNumber(target.value);
|
|
@@ -96,10 +96,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
96
96
|
var mobileLen = countryCodeValue === null || countryCodeValue === void 0 ? void 0 : countryCodeValue.digits;
|
|
97
97
|
var isStartsWith5 = mobileValue.startsWith('5');
|
|
98
98
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
99
|
-
React.useEffect(function () {
|
|
100
|
-
if (mobileValue)
|
|
101
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
102
|
-
}, []);
|
|
103
99
|
var onPhoneNumberChange = function (_a) {
|
|
104
100
|
var target = _a.target;
|
|
105
101
|
var value = removeAllCharsFromNumber(target.value);
|
|
@@ -98,10 +98,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
98
98
|
var mobileLen = countryCodeValue === null || countryCodeValue === void 0 ? void 0 : countryCodeValue.digits;
|
|
99
99
|
var isStartsWith5 = mobileValue.startsWith('5');
|
|
100
100
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
101
|
-
React.useEffect(function () {
|
|
102
|
-
if (mobileValue)
|
|
103
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
104
|
-
}, []);
|
|
105
101
|
var onPhoneNumberChange = function (_a) {
|
|
106
102
|
var target = _a.target;
|
|
107
103
|
var value = removeAllCharsFromNumber(target.value);
|
|
@@ -98,10 +98,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
98
98
|
var isStartsWith5 = mobileValue.startsWith('5');
|
|
99
99
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
100
100
|
var verify = data.verify;
|
|
101
|
-
React.useEffect(function () {
|
|
102
|
-
if (mobileValue)
|
|
103
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
104
|
-
}, []);
|
|
105
101
|
var onPhoneNumberChange = function (_a) {
|
|
106
102
|
var target = _a.target;
|
|
107
103
|
var value = removeAllCharsFromNumber(target.value);
|
|
@@ -98,10 +98,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
98
98
|
var mobileLen = countryCodeValue === null || countryCodeValue === void 0 ? void 0 : countryCodeValue.digits;
|
|
99
99
|
var isStartsWith5 = mobileValue.startsWith('5');
|
|
100
100
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
101
|
-
React.useEffect(function () {
|
|
102
|
-
if (mobileValue)
|
|
103
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
104
|
-
}, []);
|
|
105
101
|
var onPhoneNumberChange = function (_a) {
|
|
106
102
|
var target = _a.target;
|
|
107
103
|
var value = removeAllCharsFromNumber(target.value);
|
|
@@ -98,10 +98,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
98
98
|
var isStartsWith5 = mobileValue.startsWith('5');
|
|
99
99
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
100
100
|
var verify = data.verify;
|
|
101
|
-
React.useEffect(function () {
|
|
102
|
-
if (mobileValue)
|
|
103
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
104
|
-
}, []);
|
|
105
101
|
var onPhoneNumberChange = function (_a) {
|
|
106
102
|
var target = _a.target;
|
|
107
103
|
var value = removeAllCharsFromNumber(target.value);
|
|
@@ -98,10 +98,6 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
|
|
|
98
98
|
var mobileLen = countryCodeValue === null || countryCodeValue === void 0 ? void 0 : countryCodeValue.digits;
|
|
99
99
|
var isStartsWith5 = mobileValue.startsWith('5');
|
|
100
100
|
var requiredLen = isSA && isStartsWith5 ? mobileLen - 1 : mobileLen;
|
|
101
|
-
React.useEffect(function () {
|
|
102
|
-
if (mobileValue)
|
|
103
|
-
setValue('mobile', mobileValue, { shouldValidate: true });
|
|
104
|
-
}, []);
|
|
105
101
|
var onPhoneNumberChange = function (_a) {
|
|
106
102
|
var target = _a.target;
|
|
107
103
|
var value = removeAllCharsFromNumber(target.value);
|