@uiapplibct/ngx-reusa-app-lib 0.0.10 → 0.0.12
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/esm2022/lib/components/header/header.component.mjs +3 -4
- package/esm2022/lib/services/audit/audit.service.mjs +2 -2
- package/esm2022/lib/services/util/util.service.mjs +7 -1
- package/fesm2022/uiapplibct-ngx-reusa-app-lib.mjs +9 -4
- package/fesm2022/uiapplibct-ngx-reusa-app-lib.mjs.map +1 -1
- package/lib/components/header/header.component.d.ts.map +1 -1
- package/lib/services/audit/audit.service.d.ts.map +1 -1
- package/lib/services/util/util.service.d.ts +1 -0
- package/lib/services/util/util.service.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -577,6 +577,12 @@ class UtilService {
|
|
|
577
577
|
this.msgService.add({ severity: 'error', summary: 'Error', detail: errDtl.msg, life: LibConstants.errorMessagePopupLife, id: errDtl.errorId });
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
+
customPopupMessage(severity, summary, message, duration, id) {
|
|
581
|
+
console.log("this is called");
|
|
582
|
+
this.msgs.push({ severity: severity, summary: summary, detail: message });
|
|
583
|
+
this.msgService.clear();
|
|
584
|
+
this.msgService.add({ severity: severity, summary: summary, detail: message, life: duration || LibConstants.errorMessagePopupLife, id: id });
|
|
585
|
+
}
|
|
580
586
|
async success(msg) {
|
|
581
587
|
this.msgs = [];
|
|
582
588
|
this.msgs.push({ severity: 'success', summary: 'Success', detail: msg });
|
|
@@ -3527,7 +3533,7 @@ class AuditService extends BaseService {
|
|
|
3527
3533
|
return this.get(`questionnaire/search?` + eanQueryString + feinQueryString + employerNameQueryString + userIdQueryString);
|
|
3528
3534
|
}
|
|
3529
3535
|
findEmployerDataWithUserID(employerName) {
|
|
3530
|
-
return this.get(`
|
|
3536
|
+
return this.get(`employer/employer-ean?username=${employerName}`);
|
|
3531
3537
|
}
|
|
3532
3538
|
static { this.ɵfac = function AuditService_Factory(t) { return new (t || AuditService)(i0.ɵɵinject(i1$2.HttpClient)); }; }
|
|
3533
3539
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuditService, factory: AuditService.ɵfac, providedIn: 'root' }); }
|
|
@@ -5936,7 +5942,6 @@ class HeaderComponent extends BasePage {
|
|
|
5936
5942
|
ngOnInit() {
|
|
5937
5943
|
//this.loadNotificationCount();
|
|
5938
5944
|
this.setMenuItems(localStorage.getItem("language"));
|
|
5939
|
-
console.log("this l employers", this.ls.getUser().roles);
|
|
5940
5945
|
if (this.ls.isEmployer()) {
|
|
5941
5946
|
this.loadEmployerDetails();
|
|
5942
5947
|
}
|
|
@@ -5966,10 +5971,10 @@ class HeaderComponent extends BasePage {
|
|
|
5966
5971
|
}
|
|
5967
5972
|
},
|
|
5968
5973
|
{
|
|
5969
|
-
label: 'Espa
|
|
5974
|
+
label: 'Espa�ol',
|
|
5970
5975
|
icon: this.getIcon(language, 'es'),
|
|
5971
5976
|
command: () => {
|
|
5972
|
-
this.setLanguage('es', 'espa
|
|
5977
|
+
this.setLanguage('es', 'espa�ol');
|
|
5973
5978
|
}
|
|
5974
5979
|
}]
|
|
5975
5980
|
}];
|