simpo-component-library 1.6.52 → 1.6.53
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +6 -2
- package/esm2022/lib/ecommerce/styles/user.modal.mjs +1 -1
- package/esm2022/lib/services/rest.service.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +7 -3
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/ecommerce/styles/user.modal.d.ts +5 -5
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +2 -1
- package/package.json +1 -1
- package/simpo-component-library-1.6.53.tgz +0 -0
@@ -92,10 +92,13 @@ export class AuthenticateUserComponent extends BaseSection {
|
|
92
92
|
});
|
93
93
|
}
|
94
94
|
verifyOTP() {
|
95
|
+
const deviceInfo = {
|
96
|
+
firebaseToken: localStorage.getItem("fbToken") ?? ""
|
97
|
+
};
|
95
98
|
this.otpString = "";
|
96
99
|
this.buttonLoading = true;
|
97
100
|
this.otpData.forEach((value, idx) => this.otpString += (value ?? ""));
|
98
|
-
this.restService.verifyOTP(this.mobile ?? "", this.otpString).subscribe((response) => {
|
101
|
+
this.restService.verifyOTP(this.mobile ?? "", this.otpString, deviceInfo).subscribe((response) => {
|
99
102
|
const userDetails = this.storageService.setUser(response.data);
|
100
103
|
this.storageService.updateAllData();
|
101
104
|
if (this.dialogRef)
|
@@ -132,6 +135,7 @@ export class AuthenticateUserComponent extends BaseSection {
|
|
132
135
|
}
|
133
136
|
});
|
134
137
|
}, (error) => {
|
138
|
+
this.buttonLoading = false;
|
135
139
|
this.messageService.add({ severity: 'error', summary: 'Invalid OTP', detail: 'Please enter valid otp' });
|
136
140
|
});
|
137
141
|
}
|
@@ -194,4 +198,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor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iAgICAncG9zaXRpb24nOiAncmVsYXRpdmUnLFxyXG4gICAgJ3JpZ2h0JzogJzVweCdcclxuICB9XCI+XHJcbjwvbmd4LXNrZWxldG9uLWxvYWRlcj5cclxuPHAtdG9hc3QgcG9zaXRpb249XCJib3R0b20tcmlnaHRcIiBbYmFzZVpJbmRleF09XCIxMDAwMDAwMDAwMFwiIFthdXRvWkluZGV4XT1cInRydWVcIiBbc2hvd1RyYW5zZm9ybU9wdGlvbnNdPVwiaXNNb2JpbGUgPyAndHJhbnNsYXRlWSgtMTAwJSknIDogJydcIj48L3AtdG9hc3Q+XHJcblxyXG48ZGl2IFtuZ0NsYXNzXT1cInsnaG92ZXJfZWZmZWN0JzogZWRpdH1cIiAqbmdJZj1cInNob3dFZGl0b3JzXCI+XHJcbiAgICA8c2ltcG8taG92ZXItZWxlbWVudHMgW2RhdGFdPVwiZGF0YVwiIFtpbmRleF09XCJpbmRleFwiIFtlZGl0T3B0aW9uc109XCJlZGl0XCI+PC9zaW1wby1ob3Zlci1lbGVtZW50cz5cclxuPC9kaXY+XHJcbjxkaXYgKm5nSWY9XCJzaG93RGVsZXRlXCIgW25nQ2xhc3NdPVwieydob3Zlcl9lZmZlY3QnOiBkZWxldGV9XCI+XHJcbiAgICA8c2ltcG8tZGVsZXRlLWhvdmVyLWVsZW1lbnQgW2RhdGFdPVwiZGF0YVwiIFtpbmRleF09XCJpbmRleFwiPjwvc2ltcG8tZGVsZXRlLWhvdmVyLWVsZW1lbnQ+XHJcbjwvZGl2PiJdfQ==
|
@@ -9,4 +9,4 @@ export class User {
|
|
9
9
|
this.deviceInfo = json?.["deviceInfo"];
|
10
10
|
}
|
11
11
|
}
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5tb2RhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy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1xyXG4gICAgb3M/OiBzdHJpbmc7XHJcbiAgICBvc1ZlcnNpb24/OiBzdHJpbmc7XHJcbiAgICBtb2RlbD86IHN0cmluZztcclxuICAgIGJyYW5kPzogc3RyaW5nO1xyXG59XHJcbmV4cG9ydCBkZWNsYXJlIHR5cGUgQUREUkVTU19UWVBFID0gXCJIT01FXCIgfCBcIldPUktcIiB8IFwiT1RIRVJcIjtcclxuZXhwb3J0IGRlY2xhcmUgdHlwZSBHRU5ERVIgPSBcIk1BTEVcIiB8IFwiRkVNQUxFXCIgfCBcIk9USEVSU1wiOyJdfQ==
|
@@ -129,9 +129,9 @@ export class RestService {
|
|
129
129
|
const businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId") ?? "";
|
130
130
|
return this.http.post(this.BASE_URL + `ecommerce/user/otp/trigger?mobile=${mobile}&countryCode=${countryCode}&businessId=${businessId}`, null);
|
131
131
|
}
|
132
|
-
verifyOTP(mobile, otp) {
|
132
|
+
verifyOTP(mobile, otp, deviceInfo) {
|
133
133
|
const businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId") ?? "";
|
134
|
-
return this.http.put(this.BASE_URL + `ecommerce/user/authenticate?mobile=${mobile}&otp=${otp}&businessId=${businessId}`,
|
134
|
+
return this.http.put(this.BASE_URL + `ecommerce/user/authenticate?mobile=${mobile}&otp=${otp}&businessId=${businessId}`, deviceInfo);
|
135
135
|
}
|
136
136
|
resendOTP(mobile, countryCode) {
|
137
137
|
const businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId") ?? "";
|
@@ -188,4 +188,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
|
|
188
188
|
providedIn: 'root',
|
189
189
|
}]
|
190
190
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.EventsService }] });
|
191
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdC5zZXJ2aWNlLmpzIiwic291cmNl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ICAgICAgXCJzdWJJbmR1c3RyeUlkXCI6IGxvY2FsU3RvcmFnZS5nZXRJdGVtKFwic3ViSW5kdXN0cnlJZFwiKSxcclxuICAgICAgICAgICAgXCJwYWdlTm9cIjogMCxcclxuICAgICAgICAgICAgXCJwYWdlU2l6ZVwiOiAxMCxcclxuICAgICAgICAgICAgcmVxdWVzdDogXCJVU0VSXCJcclxuICAgICAgICB9XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cC5wdXQodGhpcy5CQVNFX1VSTCArIGBlY29tbWVyY2UvcHJvZHVjdC9pdGVtL3NlYXJjaGAsIHBheWxvYWQpLnBpcGUobWFwKChyZXNwb25zZTogYW55KT0+IHtcclxuICAgICAgICAgICAgcmV0dXJuIHtcclxuICAgICAgICAgICAgICAgIGNvdW50OiByZXNwb25zZS5jb3VudCxcclxuICAgICAgICAgICAgICAgIGRhdGE6IHJlc3BvbnNlLmRhdGEuZGF0YT8ubWFwKChwcm9kdWN0OiBhbnkpPT4gbmV3IFByb2R1Y3QocHJvZHVjdCkpXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KSk7XHJcbiAgICB9XHJcblxyXG4gICAgYWRkUmV2aWV3KHBheWxvYWQ6IFJldmlldykge1xyXG4gICAgICAgIHJldHVybiB0aGlzLmh0dHAucG9zdCh0aGlzLkJBU0VfVVJMICsgYGVjb21tZXJjZS91c2VyL2FkZC9yZXZpZXdgLCBwYXlsb2FkKTtcclxuICAgIH1cclxuICAgIGdldEFsbFJldmlld3MocHJvZHVjdElkOiBzdHJpbmcpIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5odHRwLnB1dCh0aGlzLkJBU0VfVVJMICsgYGVjb21tZXJjZS91c2VyL2ZpbHRlci9yZXZpZXdzP3Byb2R1Y3RJZD0ke3Byb2R1Y3RJZH1gLCBudWxsKTtcclxuICAgIH1cclxuXHJcbiAgICBnZW5lcmF0ZU9UUChtb2JpbGU6IHN0cmluZywgY291bnRyeUNvZGU6IHN0cmluZ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BwYXlsb2FkKTtcclxuICAgIH1cclxuXHJcbiAgICAvLyBQYXltZW50XHJcbiAgICBjcmVhdGVQYXltZW50VG9rZW4ocGF5bG9hZDogYW55KSB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuaHR0cC5wb3N0KHRoaXMuQkFTRV9VUkwgKyBgZWNvbW1lcmNlL3BheW1lbnQvb3JkZXJgLCBwYXlsb2FkKTtcclxuICAgIH1cclxuICAgIHJlZnVuZFBheW1lbnQob3JkZXJJZDogc3RyaW5nLCBwYXlsb2FkOiBhbnkpIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5odHRwLnBvc3QodGhpcy5CQVNFX1VSTCArIGBlY29tbWVyY2UvcGF5bWVudC9yZWZ1bmQvYmFuaz9vcmRlcklkPSR7b3JkZXJJZH1gLCBwYXlsb2FkKTtcclxuICAgIH1cclxuICAgIGNoZWNrUGF5bWVudFN0YXR1cyhwYXlsb2FkOiBhbnkpIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5odHRwLnBvc3QodGhpcy5CQVNFX1VSTCArIGBlY29tbWVyY2UvcGF5bWVudC9zdGF0dXNgLCBwYXlsb2FkKTtcclxuICAgIH1cclxufVxyXG4iXX0=
|
@@ -3282,9 +3282,9 @@ class RestService {
|
|
3282
3282
|
const businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId") ?? "";
|
3283
3283
|
return this.http.post(this.BASE_URL + `ecommerce/user/otp/trigger?mobile=${mobile}&countryCode=${countryCode}&businessId=${businessId}`, null);
|
3284
3284
|
}
|
3285
|
-
verifyOTP(mobile, otp) {
|
3285
|
+
verifyOTP(mobile, otp, deviceInfo) {
|
3286
3286
|
const businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId") ?? "";
|
3287
|
-
return this.http.put(this.BASE_URL + `ecommerce/user/authenticate?mobile=${mobile}&otp=${otp}&businessId=${businessId}`,
|
3287
|
+
return this.http.put(this.BASE_URL + `ecommerce/user/authenticate?mobile=${mobile}&otp=${otp}&businessId=${businessId}`, deviceInfo);
|
3288
3288
|
}
|
3289
3289
|
resendOTP(mobile, countryCode) {
|
3290
3290
|
const businessId = localStorage.getItem("bId") ?? localStorage.getItem("businessId") ?? "";
|
@@ -3705,10 +3705,13 @@ class AuthenticateUserComponent extends BaseSection {
|
|
3705
3705
|
});
|
3706
3706
|
}
|
3707
3707
|
verifyOTP() {
|
3708
|
+
const deviceInfo = {
|
3709
|
+
firebaseToken: localStorage.getItem("fbToken") ?? ""
|
3710
|
+
};
|
3708
3711
|
this.otpString = "";
|
3709
3712
|
this.buttonLoading = true;
|
3710
3713
|
this.otpData.forEach((value, idx) => this.otpString += (value ?? ""));
|
3711
|
-
this.restService.verifyOTP(this.mobile ?? "", this.otpString).subscribe((response) => {
|
3714
|
+
this.restService.verifyOTP(this.mobile ?? "", this.otpString, deviceInfo).subscribe((response) => {
|
3712
3715
|
const userDetails = this.storageService.setUser(response.data);
|
3713
3716
|
this.storageService.updateAllData();
|
3714
3717
|
if (this.dialogRef)
|
@@ -3745,6 +3748,7 @@ class AuthenticateUserComponent extends BaseSection {
|
|
3745
3748
|
}
|
3746
3749
|
});
|
3747
3750
|
}, (error) => {
|
3751
|
+
this.buttonLoading = false;
|
3748
3752
|
this.messageService.add({ severity: 'error', summary: 'Invalid OTP', detail: 'Please enter valid otp' });
|
3749
3753
|
});
|
3750
3754
|
}
|