common-header-lib 0.20.12 → 0.20.14
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 +12 -1
- package/assets/images/APP035.svg +20 -0
- package/assets/images/APP036.svg +14 -0
- package/fesm2022/common-header-lib.mjs +263 -254
- package/fesm2022/common-header-lib.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/APP035.svg +20 -0
- package/src/assets/images/APP036.svg +14 -0
|
@@ -32,11 +32,11 @@ import * as i1$2 from 'primeng/paginator';
|
|
|
32
32
|
import { PaginatorModule } from 'primeng/paginator';
|
|
33
33
|
import * as i1$4 from 'primeng/dialog';
|
|
34
34
|
import { DialogModule } from 'primeng/dialog';
|
|
35
|
+
import * as i2$2 from 'primeng/inputtext';
|
|
36
|
+
import { InputTextModule } from 'primeng/inputtext';
|
|
35
37
|
import * as CryptoJS from 'crypto-js';
|
|
36
38
|
import JSEncrypt from 'jsencrypt';
|
|
37
39
|
import { decode } from '@msgpack/msgpack';
|
|
38
|
-
import * as i2$2 from 'primeng/inputtext';
|
|
39
|
-
import { InputTextModule } from 'primeng/inputtext';
|
|
40
40
|
import * as i3$1 from 'primeng/tooltip';
|
|
41
41
|
import { TooltipModule } from 'primeng/tooltip';
|
|
42
42
|
import * as i1$6 from 'primeng/popover';
|
|
@@ -58,10 +58,10 @@ class DialogHostService {
|
|
|
58
58
|
constructor() {
|
|
59
59
|
this.hostElement = null;
|
|
60
60
|
}
|
|
61
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
62
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DialogHostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
62
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DialogHostService }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DialogHostService, decorators: [{
|
|
65
65
|
type: Injectable
|
|
66
66
|
}] });
|
|
67
67
|
|
|
@@ -101,10 +101,10 @@ class ConfirmDialogComponent {
|
|
|
101
101
|
},
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
105
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ConfirmDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
105
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.24", type: ConfirmDialogComponent, isStandalone: true, selector: "confirm-dialog", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, message: { classPropertyName: "message", publicName: "message", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { result: "result" }, providers: [ConfirmationService], ngImport: i0, template: "<div class=\"card flex justify-center gap-2 view-pass-details\">\r\n <p-confirmDialog\r\n icon=\"none\"\r\n acceptIcon=\"\"\r\n rejectIcon=\"\"\r\n [draggable]=\"false\"\r\n [appendTo]=\"dialogHostService.hostElement ?? 'body'\"\r\n [styleClass]=\"'lib-dialog lib-ui ' + styleClass()\"\r\n ></p-confirmDialog>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i1.ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
108
108
|
type: Component,
|
|
109
109
|
args: [{ selector: 'confirm-dialog', providers: [ConfirmationService], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ConfirmDialogModule], template: "<div class=\"card flex justify-center gap-2 view-pass-details\">\r\n <p-confirmDialog\r\n icon=\"none\"\r\n acceptIcon=\"\"\r\n rejectIcon=\"\"\r\n [draggable]=\"false\"\r\n [appendTo]=\"dialogHostService.hostElement ?? 'body'\"\r\n [styleClass]=\"'lib-dialog lib-ui ' + styleClass()\"\r\n ></p-confirmDialog>\r\n</div>\r\n" }]
|
|
110
110
|
}], propDecorators: { header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], message: [{ type: i0.Input, args: [{ isSignal: true, alias: "message", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }], result: [{ type: i0.Output, args: ["result"] }] } });
|
|
@@ -301,10 +301,10 @@ class SliceToTwoPipe {
|
|
|
301
301
|
}
|
|
302
302
|
return result.toLocaleUpperCase();
|
|
303
303
|
}
|
|
304
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
305
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
304
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: SliceToTwoPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
305
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: SliceToTwoPipe, isStandalone: true, name: "sliceToTwo" }); }
|
|
306
306
|
}
|
|
307
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: SliceToTwoPipe, decorators: [{
|
|
308
308
|
type: Pipe,
|
|
309
309
|
args: [{
|
|
310
310
|
name: 'sliceToTwo',
|
|
@@ -569,10 +569,10 @@ class HttpCommonService {
|
|
|
569
569
|
.post(`${GlobalConstants.baseURL}${this.xAccessAPIUrl}DownloadDbCertificates`, { dbType: dbType }, { responseType: 'blob', observe: 'response' })
|
|
570
570
|
.pipe(catchError((e) => throwError(() => e)));
|
|
571
571
|
}
|
|
572
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
573
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
572
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HttpCommonService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
573
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HttpCommonService, providedIn: 'root' }); }
|
|
574
574
|
}
|
|
575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
575
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HttpCommonService, decorators: [{
|
|
576
576
|
type: Injectable,
|
|
577
577
|
args: [{
|
|
578
578
|
providedIn: 'root',
|
|
@@ -666,10 +666,10 @@ class EventService {
|
|
|
666
666
|
}, 500);
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
670
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
669
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
670
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EventService, providedIn: 'root' }); }
|
|
671
671
|
}
|
|
672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EventService, decorators: [{
|
|
673
673
|
type: Injectable,
|
|
674
674
|
args: [{
|
|
675
675
|
providedIn: 'root',
|
|
@@ -761,10 +761,10 @@ class ToastMsgService {
|
|
|
761
761
|
clear() {
|
|
762
762
|
this.toastr.clear();
|
|
763
763
|
}
|
|
764
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
765
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
764
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ToastMsgService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
765
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ToastMsgService, providedIn: 'root' }); }
|
|
766
766
|
}
|
|
767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ToastMsgService, decorators: [{
|
|
768
768
|
type: Injectable,
|
|
769
769
|
args: [{
|
|
770
770
|
providedIn: 'root',
|
|
@@ -811,10 +811,10 @@ class DateDiffPipe {
|
|
|
811
811
|
convertUTCToLocal(newdate) {
|
|
812
812
|
return new Date(newdate + 'Z').toString();
|
|
813
813
|
}
|
|
814
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
815
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DateDiffPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
815
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: DateDiffPipe, isStandalone: true, name: "dateDiff" }); }
|
|
816
816
|
}
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: DateDiffPipe, decorators: [{
|
|
818
818
|
type: Pipe,
|
|
819
819
|
args: [{
|
|
820
820
|
name: 'dateDiff',
|
|
@@ -999,10 +999,10 @@ class ViewpasswordPopupComponent {
|
|
|
999
999
|
}
|
|
1000
1000
|
return true;
|
|
1001
1001
|
}
|
|
1002
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1003
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
1002
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ViewpasswordPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1003
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: ViewpasswordPopupComponent, isStandalone: true, selector: "app-viewpassword-popup", ngImport: i0, template: "<div class=\"view-pass-detail\">\r\n <div class=\"mt-4 position-relative px-4\">\r\n @if (isContentLoaded) {\r\n @if (isVaulted) {\r\n <p class=\"note-text mt-2\" data-testid=\"viewpassword-popup-vaulted-message\">\r\n {{ servicePassword }}\r\n </p>\r\n } @else {\r\n @if (isSSHKey) {\r\n <div class=\"title\">{{ mailDetails[\"smi_MailSubject\"] }}</div>\r\n <p class=\"note-text mt-2\">\r\n {{ \"Generic_lib.DownloadSSHNote\" | translate }}\r\n </p>\r\n }\r\n\r\n @if (showPassword()) {\r\n <div class=\"d-flex align-items-center\">\r\n <!-- .input-dropdown wraps ONLY the eye-icon + input (matching the\r\n same pattern's usage in general-configuration's password\r\n fields) so .password-checkbox-right's `right: 8px` positions\r\n relative to the input alone \u2014 wrapping the copy button too\r\n would make it position relative to the whole row instead,\r\n landing the icon on the button rather than the input. -->\r\n <div class=\"input-dropdown position-relative d-flex align-items-center\">\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show password\"\r\n (change)=\"togglePasswordVisibility()\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n class=\"form-control view-pass\"\r\n [class.ssh]=\"isSSHKey === true\"\r\n readonly\r\n type=\"{{ isPasswordVisible ? 'password' : 'text' }}\"\r\n [value]=\"servicePassword\"\r\n placeholder=\"\"\r\n autocomplete=\"off\"\r\n aria-label=\"{{ 'Generic_lib.Password' | translate }}\"\r\n />\r\n </div>\r\n <button\r\n (click)=\"copyToClipboard(servicePassword)\"\r\n type=\"button\"\r\n class=\"btn btn-primary d-flex align-items-center copy-btn\"\r\n title=\"Copy To Clipboard\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/copy-img.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"mx-2\"\r\n />{{ \"Generic_lib.Copy\" | translate }}\r\n </button>\r\n @if (!isSSHKey) {\r\n <img\r\n src=\"assets/common-header-lib/images/pass-img.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"position-absolute mx-2\"\r\n />\r\n }\r\n @if (isSSHKey) {\r\n <p class=\"position-absolute mx-2\">\r\n {{ \"Generic_lib.KeyPassphrase\" | translate }}:\r\n </p>\r\n }\r\n </div>\r\n }\r\n }\r\n } @else {\r\n <!-- LODDER -->\r\n <div class=\"row w-100\" aria-hidden=\"true\">\r\n <div class=\"col-12\">\r\n <p-skeleton height=\"1.5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n </div>\r\n <div class=\"col-12\">\r\n <p-skeleton height=\"1.5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n </div>\r\n <div class=\"col-12\">\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"30%\"\r\n styleClass=\"float-end mb-2\"\r\n ></p-skeleton>\r\n </div>\r\n </div>\r\n <!-- /LODDER -->\r\n }\r\n </div>\r\n\r\n <!-- MAIN-CONTENT -->\r\n @if (isContentLoaded) {\r\n @if (!isVaulted) {\r\n <div class=\"d-flex mt-2 my-4 gap-1 px-4\">\r\n <div class=\"label-text\">\r\n {{ \"Generic_lib.RemainingTime\" | translate }} :\r\n </div>\r\n <div class=\"time-text\">{{ OpenTillDate | dateDiff }}</div>\r\n </div>\r\n }\r\n\r\n @if (isVaulted) {\r\n <div class=\"border-bottom\"></div>\r\n <div class=\"d-flex mt-4 justify-content-end gap-1 ms-auto px-4 mb-2\">\r\n <p-button\r\n type=\"button\"\r\n label=\"{{ 'Generic_lib.Ok' | translate }}\"\r\n [iconPos]=\"'right'\"\r\n class=\"submit-btn view-btn\"\r\n (click)=\"acknowledgeVaulted()\"\r\n data-testid=\"viewpassword-popup-ok-button\"\r\n ></p-button>\r\n </div>\r\n } @else if (showVaultBtn) {\r\n <div class=\"border-bottom\"></div>\r\n <div class=\"d-flex mt-4 justify-content-end gap-1 ms-auto px-4 mb-2\">\r\n @if (isSSHKey) {\r\n <p-button\r\n type=\"button\"\r\n label=\"{{ 'Generic_lib.DownloadKey' | translate }}\"\r\n [iconPos]=\"'right'\"\r\n [loading]=\"isValueUpdated\"\r\n class=\"submit-btn view-btn\"\r\n (click)=\"getGenerateFile()\"\r\n ></p-button>\r\n } @else {\r\n <p-button\r\n type=\"button\"\r\n label=\"{{ 'Generic_lib.VaultCredentials' | translate }}\"\r\n [iconPos]=\"'right'\"\r\n [loading]=\"isValueUpdated\"\r\n class=\"submit-btn view-btn\"\r\n (click)=\"getHideServicePassword()\"\r\n ></p-button>\r\n }\r\n </div>\r\n }\r\n }\r\n <!-- /MAIN-CONTENT -->\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.view-pass-detail .key-icon{position:fixed;top:134px;left:35px}.view-pass-detail .title{font-size:15px;font-weight:700;color:var(--primary-text)}.view-pass-detail .note-text{font-size:14px!important}.view-pass-detail .input-dropdown{flex:1;min-width:0}.view-pass-detail .view-pass{border-radius:4px 0 0 4px;padding-left:40px;padding-right:40px;height:40px;font-size:14px}.view-pass-detail .view-pass.ssh{padding-left:115px;padding-right:40px;margin:10px 0}.view-pass-detail .copy-btn{border-radius:0 4px 4px 0;height:40px;font-size:14px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.view-pass-detail .label-text{color:var(--secondary-text);font-size:13px}.view-pass-detail .time-text{font-size:13px;font-weight:600}.view-pass-detail .view-btn{border-radius:4px;height:35px;font-size:14px;text-align:center;margin-top:4px}.view-pass-detail .border-bottom{position:relative;top:13px}.view-pass-detail p{font-size:14px!important;margin-bottom:1px}.checkbox-visibility-icon{position:relative}.checkbox-visibility-icon input[type=checkbox]{opacity:0;position:absolute;top:4px;left:5px;transform:scale(1.7);z-index:2;cursor:pointer}.checkbox-visibility-icon input[type=checkbox]:checked+span{background:url(assets/common-header-lib/images/login-bg/visibility.svg);background-repeat:no-repeat;background-position:0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]:checked+span{height:12px;width:18px;background-size:17px}}.checkbox-visibility-icon input[type=checkbox]+span{background:url(assets/common-header-lib/images/login-bg/visibility_off.svg);background-repeat:no-repeat;background-position:0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]+span{height:24px;width:18px;background-size:17px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: DateDiffPipe, name: "dateDiff" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1004
1004
|
}
|
|
1005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ViewpasswordPopupComponent, decorators: [{
|
|
1006
1006
|
type: Component,
|
|
1007
1007
|
args: [{ selector: 'app-viewpassword-popup', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, SkeletonModule, ButtonModule, TranslateModule, DateDiffPipe], template: "<div class=\"view-pass-detail\">\r\n <div class=\"mt-4 position-relative px-4\">\r\n @if (isContentLoaded) {\r\n @if (isVaulted) {\r\n <p class=\"note-text mt-2\" data-testid=\"viewpassword-popup-vaulted-message\">\r\n {{ servicePassword }}\r\n </p>\r\n } @else {\r\n @if (isSSHKey) {\r\n <div class=\"title\">{{ mailDetails[\"smi_MailSubject\"] }}</div>\r\n <p class=\"note-text mt-2\">\r\n {{ \"Generic_lib.DownloadSSHNote\" | translate }}\r\n </p>\r\n }\r\n\r\n @if (showPassword()) {\r\n <div class=\"d-flex align-items-center\">\r\n <!-- .input-dropdown wraps ONLY the eye-icon + input (matching the\r\n same pattern's usage in general-configuration's password\r\n fields) so .password-checkbox-right's `right: 8px` positions\r\n relative to the input alone \u2014 wrapping the copy button too\r\n would make it position relative to the whole row instead,\r\n landing the icon on the button rather than the input. -->\r\n <div class=\"input-dropdown position-relative d-flex align-items-center\">\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show password\"\r\n (change)=\"togglePasswordVisibility()\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n class=\"form-control view-pass\"\r\n [class.ssh]=\"isSSHKey === true\"\r\n readonly\r\n type=\"{{ isPasswordVisible ? 'password' : 'text' }}\"\r\n [value]=\"servicePassword\"\r\n placeholder=\"\"\r\n autocomplete=\"off\"\r\n aria-label=\"{{ 'Generic_lib.Password' | translate }}\"\r\n />\r\n </div>\r\n <button\r\n (click)=\"copyToClipboard(servicePassword)\"\r\n type=\"button\"\r\n class=\"btn btn-primary d-flex align-items-center copy-btn\"\r\n title=\"Copy To Clipboard\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/copy-img.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"mx-2\"\r\n />{{ \"Generic_lib.Copy\" | translate }}\r\n </button>\r\n @if (!isSSHKey) {\r\n <img\r\n src=\"assets/common-header-lib/images/pass-img.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"position-absolute mx-2\"\r\n />\r\n }\r\n @if (isSSHKey) {\r\n <p class=\"position-absolute mx-2\">\r\n {{ \"Generic_lib.KeyPassphrase\" | translate }}:\r\n </p>\r\n }\r\n </div>\r\n }\r\n }\r\n } @else {\r\n <!-- LODDER -->\r\n <div class=\"row w-100\" aria-hidden=\"true\">\r\n <div class=\"col-12\">\r\n <p-skeleton height=\"1.5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n </div>\r\n <div class=\"col-12\">\r\n <p-skeleton height=\"1.5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n </div>\r\n <div class=\"col-12\">\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"30%\"\r\n styleClass=\"float-end mb-2\"\r\n ></p-skeleton>\r\n </div>\r\n </div>\r\n <!-- /LODDER -->\r\n }\r\n </div>\r\n\r\n <!-- MAIN-CONTENT -->\r\n @if (isContentLoaded) {\r\n @if (!isVaulted) {\r\n <div class=\"d-flex mt-2 my-4 gap-1 px-4\">\r\n <div class=\"label-text\">\r\n {{ \"Generic_lib.RemainingTime\" | translate }} :\r\n </div>\r\n <div class=\"time-text\">{{ OpenTillDate | dateDiff }}</div>\r\n </div>\r\n }\r\n\r\n @if (isVaulted) {\r\n <div class=\"border-bottom\"></div>\r\n <div class=\"d-flex mt-4 justify-content-end gap-1 ms-auto px-4 mb-2\">\r\n <p-button\r\n type=\"button\"\r\n label=\"{{ 'Generic_lib.Ok' | translate }}\"\r\n [iconPos]=\"'right'\"\r\n class=\"submit-btn view-btn\"\r\n (click)=\"acknowledgeVaulted()\"\r\n data-testid=\"viewpassword-popup-ok-button\"\r\n ></p-button>\r\n </div>\r\n } @else if (showVaultBtn) {\r\n <div class=\"border-bottom\"></div>\r\n <div class=\"d-flex mt-4 justify-content-end gap-1 ms-auto px-4 mb-2\">\r\n @if (isSSHKey) {\r\n <p-button\r\n type=\"button\"\r\n label=\"{{ 'Generic_lib.DownloadKey' | translate }}\"\r\n [iconPos]=\"'right'\"\r\n [loading]=\"isValueUpdated\"\r\n class=\"submit-btn view-btn\"\r\n (click)=\"getGenerateFile()\"\r\n ></p-button>\r\n } @else {\r\n <p-button\r\n type=\"button\"\r\n label=\"{{ 'Generic_lib.VaultCredentials' | translate }}\"\r\n [iconPos]=\"'right'\"\r\n [loading]=\"isValueUpdated\"\r\n class=\"submit-btn view-btn\"\r\n (click)=\"getHideServicePassword()\"\r\n ></p-button>\r\n }\r\n </div>\r\n }\r\n }\r\n <!-- /MAIN-CONTENT -->\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.view-pass-detail .key-icon{position:fixed;top:134px;left:35px}.view-pass-detail .title{font-size:15px;font-weight:700;color:var(--primary-text)}.view-pass-detail .note-text{font-size:14px!important}.view-pass-detail .input-dropdown{flex:1;min-width:0}.view-pass-detail .view-pass{border-radius:4px 0 0 4px;padding-left:40px;padding-right:40px;height:40px;font-size:14px}.view-pass-detail .view-pass.ssh{padding-left:115px;padding-right:40px;margin:10px 0}.view-pass-detail .copy-btn{border-radius:0 4px 4px 0;height:40px;font-size:14px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.view-pass-detail .label-text{color:var(--secondary-text);font-size:13px}.view-pass-detail .time-text{font-size:13px;font-weight:600}.view-pass-detail .view-btn{border-radius:4px;height:35px;font-size:14px;text-align:center;margin-top:4px}.view-pass-detail .border-bottom{position:relative;top:13px}.view-pass-detail p{font-size:14px!important;margin-bottom:1px}.checkbox-visibility-icon{position:relative}.checkbox-visibility-icon input[type=checkbox]{opacity:0;position:absolute;top:4px;left:5px;transform:scale(1.7);z-index:2;cursor:pointer}.checkbox-visibility-icon input[type=checkbox]:checked+span{background:url(assets/common-header-lib/images/login-bg/visibility.svg);background-repeat:no-repeat;background-position:0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]:checked+span{height:12px;width:18px;background-size:17px}}.checkbox-visibility-icon input[type=checkbox]+span{background:url(assets/common-header-lib/images/login-bg/visibility_off.svg);background-repeat:no-repeat;background-position:0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]+span{height:24px;width:18px;background-size:17px}}\n"] }]
|
|
1008
1008
|
}], ctorParameters: () => [] });
|
|
@@ -1012,10 +1012,10 @@ class NoServiceMyAccessPgComponent {
|
|
|
1012
1012
|
this.heading = input("We couldn't find any service matching your search within the chosen LOB. Try refining your keywords or choosing a different LOB for better results", ...(ngDevMode ? [{ debugName: "heading" }] : []));
|
|
1013
1013
|
this.subHeading = input('', ...(ngDevMode ? [{ debugName: "subHeading" }] : []));
|
|
1014
1014
|
}
|
|
1015
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1016
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
1015
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NoServiceMyAccessPgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1016
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.24", type: NoServiceMyAccessPgComponent, isStandalone: true, selector: "app-no-service-my-access-pg", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, subHeading: { classPropertyName: "subHeading", publicName: "subHeading", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"no-service-content mt-5\">\r\n <div class=\"text-center\">\r\n <img src=\"assets/common-header-lib/images/Frame.svg\" class=\"frame-img w-75\" alt=\"\" aria-hidden=\"true\">\r\n </div>\r\n <div class=\"no-service-description\">\r\n <div class=\"no-data-text\">{{ heading() }}</div>\r\n <p>{{ subHeading() }}</p>\r\n </div>\r\n</div>", styles: [".no-service-content{display:flex;justify-content:center;align-items:center;flex-direction:column}@media screen and (min-width:1744px){.no-service-content{margin-top:200px!important}}.no-service-description{width:55%;text-align:center;margin-top:16px}.no-data-text{font-size:14px;color:var(--black-color);font-weight:400}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1017
1017
|
}
|
|
1018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NoServiceMyAccessPgComponent, decorators: [{
|
|
1019
1019
|
type: Component,
|
|
1020
1020
|
args: [{ selector: 'app-no-service-my-access-pg', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<div class=\"no-service-content mt-5\">\r\n <div class=\"text-center\">\r\n <img src=\"assets/common-header-lib/images/Frame.svg\" class=\"frame-img w-75\" alt=\"\" aria-hidden=\"true\">\r\n </div>\r\n <div class=\"no-service-description\">\r\n <div class=\"no-data-text\">{{ heading() }}</div>\r\n <p>{{ subHeading() }}</p>\r\n </div>\r\n</div>", styles: [".no-service-content{display:flex;justify-content:center;align-items:center;flex-direction:column}@media screen and (min-width:1744px){.no-service-content{margin-top:200px!important}}.no-service-description{width:55%;text-align:center;margin-top:16px}.no-data-text{font-size:14px;color:var(--black-color);font-weight:400}\n"] }]
|
|
1021
1021
|
}], propDecorators: { heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], subHeading: [{ type: i0.Input, args: [{ isSignal: true, alias: "subHeading", required: false }] }] } });
|
|
@@ -1043,10 +1043,10 @@ class GridPaginationComponent {
|
|
|
1043
1043
|
perPgRows: this.rows,
|
|
1044
1044
|
});
|
|
1045
1045
|
}
|
|
1046
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1047
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
1046
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GridPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1047
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.24", type: GridPaginationComponent, isStandalone: true, selector: "app-grid-pagination", inputs: { totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onPgChange: "onPgChange" }, ngImport: i0, template: "<p-paginator (onPageChange)=\"onPageChange($event)\" [first]=\"first\" [rows]=\"rows\" [totalRecords]=\"totalRecords()\"\r\n [showFirstLastIcon]=\"true\" [showCurrentPageReport]=\"true\"\r\n currentPageReportTemplate=\"{first} - {last} of {totalRecords}\" [rowsPerPageOptions]=\"[10, 50, 100]\"></p-paginator>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: PaginatorModule }, { kind: "component", type: i1$2.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first", "appendTo"], outputs: ["onPageChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1048
1048
|
}
|
|
1049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GridPaginationComponent, decorators: [{
|
|
1050
1050
|
type: Component,
|
|
1051
1051
|
args: [{ selector: 'app-grid-pagination', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [PaginatorModule], template: "<p-paginator (onPageChange)=\"onPageChange($event)\" [first]=\"first\" [rows]=\"rows\" [totalRecords]=\"totalRecords()\"\r\n [showFirstLastIcon]=\"true\" [showCurrentPageReport]=\"true\"\r\n currentPageReportTemplate=\"{first} - {last} of {totalRecords}\" [rowsPerPageOptions]=\"[10, 50, 100]\"></p-paginator>\r\n" }]
|
|
1052
1052
|
}], propDecorators: { totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], onPgChange: [{ type: i0.Output, args: ["onPgChange"] }] } });
|
|
@@ -1065,10 +1065,10 @@ class CustomDateFormatPipe {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
return this.datePipe.transform(parsedDate, 'dd-MMM-yyyy HH:mm:ss');
|
|
1067
1067
|
}
|
|
1068
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1069
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.
|
|
1068
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CustomDateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1069
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: CustomDateFormatPipe, isStandalone: true, name: "customDateFormat" }); }
|
|
1070
1070
|
}
|
|
1071
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CustomDateFormatPipe, decorators: [{
|
|
1072
1072
|
type: Pipe,
|
|
1073
1073
|
args: [{
|
|
1074
1074
|
name: 'customDateFormat',
|
|
@@ -1284,10 +1284,10 @@ class UserMailboxComponent {
|
|
|
1284
1284
|
closeMailBox() {
|
|
1285
1285
|
this.closeMailDialogBox.emit();
|
|
1286
1286
|
}
|
|
1287
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1288
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: UserMailboxComponent, isStandalone: true, selector: "app-user-mailbox", inputs: { apiURL: { classPropertyName: "apiURL", publicName: "apiURL", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeMailDialogBox: "closeMailDialogBox" }, providers: [DialogService], viewQueries: [{ propertyName: "pagination", first: true, predicate: GridPaginationComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"mail-content lib-ui\">\r\n <div\r\n class=\"box-title my-3 d-flex justify-content-between align-items-center w-100\"\r\n >\r\n <div>\r\n {{ \"Generic_lib.MailBox\" | translate }}\r\n </div>\r\n <button\r\n type=\"button\"\r\n class=\"common-bn tertiary-btn ms-auto\"\r\n aria-label=\"{{ 'Generic_lib.Close' | translate }}\"\r\n (click)=\"closeMailBox()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/close.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n title=\"Close\"\r\n loading=\"lazy\"\r\n />\r\n </button>\r\n </div>\r\n\r\n <div class=\"mail-table\">\r\n @if (hasUserAssignedMails || hasActiveFilters) {\r\n <!-- One table instance across reloads (page change, popup close, filtering) so the\r\n Subject filter and resized column widths survive; rows switch to skeletons while loading. -->\r\n @if (!isContentLoaded) {\r\n <span class=\"visually-hidden\" role=\"status\">Loading mailbox</span>\r\n }\r\n <p-table\r\n [value]=\"isContentLoaded ? ListOfUserAssingedMails : repeatLoader\"\r\n selectionMode=\"multiple\"\r\n dataKey=\"code\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n [resizableColumns]=\"true\"\r\n columnResizeMode=\"fit\"\r\n [lazy]=\"true\"\r\n [lazyLoadOnInit]=\"false\"\r\n (onLazyLoad)=\"onColumnFilter($event)\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 8rem\">\r\n {{ \"Generic_lib.From\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"width: 50%; min-width: 14rem\">\r\n <div class=\"th-filter\">\r\n <span class=\"th-label\">{{ \"Generic_lib.Subject\" | translate }}</span>\r\n <p-columnFilter\r\n type=\"text\"\r\n field=\"subject\"\r\n display=\"menu\"\r\n matchMode=\"contains\"\r\n [matchModeOptions]=\"subjectMatchModes\"\r\n [showOperator]=\"false\"\r\n [showAddButton]=\"false\"\r\n [placeholder]=\"'Generic_lib.Search' | translate\"\r\n [ariaLabel]=\"'Generic_lib.Subject' | translate\"\r\n [pt]=\"{ filterOverlay: { class: 'lib-ui mail-filter-overlay' } }\"\r\n >\r\n <ng-template #filtericon let-hasFilter=\"hasFilter\">\r\n <i\r\n class=\"pi\"\r\n [ngClass]=\"hasFilter ? 'pi-filter-fill' : 'pi-filter'\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n </p-columnFilter>\r\n </div>\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 9rem\">\r\n {{ \"Generic_lib.ViewFrom\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 9rem\">\r\n {{ \"Generic_lib.Action\" | translate }}\r\n </th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-userMail>\r\n @if (!isContentLoaded) {\r\n <tr>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n </tr>\r\n } @else {\r\n <tr\r\n [class.markasRead]=\"userMail.smi_sms_id != 1\"\r\n [attr.aria-label]=\"\r\n (userMail.smi_sms_id != 1 ? 'Read' : 'Unread') +\r\n ': ' +\r\n userMail.smi_MailSubject\r\n \"\r\n >\r\n <td class=\"form-colm\">{{ userMail.smi_From_Details }}</td>\r\n <td>\r\n <div class=\"subject-colm\" title=\"{{ userMail.smi_MailSubject }}\">\r\n <div class=\"subject-title\">{{ userMail.subjectTitle }}</div>\r\n @if (userMail.subjectDetail) {\r\n <div class=\"subject-detail\">{{ userMail.subjectDetail }}</div>\r\n }\r\n </div>\r\n </td>\r\n <td class=\"view-colm\">\r\n {{ userMail.smi_Received_On | customDateFormat }}\r\n </td>\r\n <td class=\"action-colm\">\r\n <button\r\n [disabled]=\"userMail.password_status === 'Close'\"\r\n (click)=\"openViewPasswordPanel(userMail)\"\r\n class=\"view-label\"\r\n >\r\n {{ \"Generic_lib.ViewPassword\" | translate }}\r\n </button>\r\n </td>\r\n </tr>\r\n }\r\n </ng-template>\r\n <!-- Only reachable with filters applied: an unfiltered empty mailbox shows the no-service page instead -->\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr>\r\n <td colspan=\"4\" class=\"no-match\">\r\n {{ \"Generic_lib.NoMatchingMails\" | translate }}\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n }\r\n <!-- When There is No Data Present -->\r\n @if (!hasUserAssignedMails && !hasActiveFilters) {\r\n <app-no-service-my-access-pg\r\n [heading]=\"NoServiceMsgText\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n </div>\r\n <!-- ---Pagination -->\r\n <div class=\"mail-pagination\">\r\n <app-grid-pagination\r\n [totalRecords]=\"totalCount\"\r\n (onPgChange)=\"updateDataOnPageChange($event)\"\r\n ></app-grid-pagination>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.mail-content{padding:0 22px;height:calc(100vh - 42px);overflow:auto;background-color:#fff}.mail-content .mail-body{background-color:#000}.mail-content .box-title{color:var(--primary-text);font-size:20px;line-height:30px;font-weight:600}.mail-content .view-label{border:none;color:var(--dodger-blue);font-size:13px!important;font-weight:600;cursor:pointer;padding-right:25px}.mail-content .icon-trending{position:relative;left:5px;cursor:pointer}.mail-content .disable-click{pointer-events:none}.mail-content .disable-click:hover,.mail-content .disable-click:focus{cursor:not-allowed}.subject-colm{width:100%}.subject-colm .subject-title,.subject-colm .subject-detail{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subject-colm .subject-title{font-size:13px;font-weight:600;line-height:18px;color:var(--primary-text)}.subject-colm .subject-detail{margin-top:2px;font-size:12px;font-weight:400;line-height:17px;color:var(--secondary-text)}.markasRead{box-shadow:inset 3px 0 #0073ea!important;background-color:#cce5ff;color:#676879!important;border-bottom:1px solid #dee2e6!important;font-weight:600}.view-label{background:url(assets/common-header-lib/images/east.svg) no-repeat 99% 5px}button:disabled{cursor:not-allowed!important;opacity:50%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2.ResizableColumn, selector: "[pResizableColumn]", inputs: ["pResizableColumnDisabled"] }, { kind: "component", type: i2.ColumnFilter, selector: "p-columnFilter, p-column-filter, p-columnfilter", inputs: ["field", "type", "display", "showMenu", "matchMode", "operator", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "hideOnClear", "placeholder", "matchModeOptions", "maxConstraints", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "filterOn", "useGrouping", "showButtons", "ariaLabel", "filterButtonProps"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: NoServiceMyAccessPgComponent, selector: "app-no-service-my-access-pg", inputs: ["heading", "subHeading"] }, { kind: "component", type: GridPaginationComponent, selector: "app-grid-pagination", inputs: ["totalRecords"], outputs: ["onPgChange"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: CustomDateFormatPipe, name: "customDateFormat" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1287
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: UserMailboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1288
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: UserMailboxComponent, isStandalone: true, selector: "app-user-mailbox", inputs: { apiURL: { classPropertyName: "apiURL", publicName: "apiURL", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeMailDialogBox: "closeMailDialogBox" }, providers: [DialogService], viewQueries: [{ propertyName: "pagination", first: true, predicate: GridPaginationComponent, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"mail-content lib-ui\">\r\n <div\r\n class=\"box-title my-3 d-flex justify-content-between align-items-center w-100\"\r\n >\r\n <div>\r\n {{ \"Generic_lib.MailBox\" | translate }}\r\n </div>\r\n <button\r\n type=\"button\"\r\n class=\"common-bn tertiary-btn ms-auto\"\r\n aria-label=\"{{ 'Generic_lib.Close' | translate }}\"\r\n (click)=\"closeMailBox()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/close.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n title=\"Close\"\r\n loading=\"lazy\"\r\n />\r\n </button>\r\n </div>\r\n\r\n <div class=\"mail-table\">\r\n @if (hasUserAssignedMails || hasActiveFilters) {\r\n <!-- One table instance across reloads (page change, popup close, filtering) so the\r\n Subject filter and resized column widths survive; rows switch to skeletons while loading. -->\r\n @if (!isContentLoaded) {\r\n <span class=\"visually-hidden\" role=\"status\">Loading mailbox</span>\r\n }\r\n <p-table\r\n [value]=\"isContentLoaded ? ListOfUserAssingedMails : repeatLoader\"\r\n selectionMode=\"multiple\"\r\n dataKey=\"code\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n [resizableColumns]=\"true\"\r\n columnResizeMode=\"fit\"\r\n [lazy]=\"true\"\r\n [lazyLoadOnInit]=\"false\"\r\n (onLazyLoad)=\"onColumnFilter($event)\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 8rem\">\r\n {{ \"Generic_lib.From\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"width: 50%; min-width: 14rem\">\r\n <div class=\"th-filter\">\r\n <span class=\"th-label\">{{ \"Generic_lib.Subject\" | translate }}</span>\r\n <p-columnFilter\r\n type=\"text\"\r\n field=\"subject\"\r\n display=\"menu\"\r\n matchMode=\"contains\"\r\n [matchModeOptions]=\"subjectMatchModes\"\r\n [showOperator]=\"false\"\r\n [showAddButton]=\"false\"\r\n [placeholder]=\"'Generic_lib.Search' | translate\"\r\n [ariaLabel]=\"'Generic_lib.Subject' | translate\"\r\n [pt]=\"{ filterOverlay: { class: 'lib-ui mail-filter-overlay' } }\"\r\n >\r\n <ng-template #filtericon let-hasFilter=\"hasFilter\">\r\n <i\r\n class=\"pi\"\r\n [ngClass]=\"hasFilter ? 'pi-filter-fill' : 'pi-filter'\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n </p-columnFilter>\r\n </div>\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 9rem\">\r\n {{ \"Generic_lib.ViewFrom\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 9rem\">\r\n {{ \"Generic_lib.Action\" | translate }}\r\n </th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-userMail>\r\n @if (!isContentLoaded) {\r\n <tr>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n </tr>\r\n } @else {\r\n <tr\r\n [class.markasRead]=\"userMail.smi_sms_id != 1\"\r\n [attr.aria-label]=\"\r\n (userMail.smi_sms_id != 1 ? 'Read' : 'Unread') +\r\n ': ' +\r\n userMail.smi_MailSubject\r\n \"\r\n >\r\n <td class=\"form-colm\">{{ userMail.smi_From_Details }}</td>\r\n <td>\r\n <div class=\"subject-colm\" title=\"{{ userMail.smi_MailSubject }}\">\r\n <div class=\"subject-title\">{{ userMail.subjectTitle }}</div>\r\n @if (userMail.subjectDetail) {\r\n <div class=\"subject-detail\">{{ userMail.subjectDetail }}</div>\r\n }\r\n </div>\r\n </td>\r\n <td class=\"view-colm\">\r\n {{ userMail.smi_Received_On | customDateFormat }}\r\n </td>\r\n <td class=\"action-colm\">\r\n <button\r\n [disabled]=\"userMail.password_status === 'Close'\"\r\n (click)=\"openViewPasswordPanel(userMail)\"\r\n class=\"view-label\"\r\n >\r\n {{ \"Generic_lib.ViewPassword\" | translate }}\r\n </button>\r\n </td>\r\n </tr>\r\n }\r\n </ng-template>\r\n <!-- Only reachable with filters applied: an unfiltered empty mailbox shows the no-service page instead -->\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr>\r\n <td colspan=\"4\" class=\"no-match\">\r\n {{ \"Generic_lib.NoMatchingMails\" | translate }}\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n }\r\n <!-- When There is No Data Present -->\r\n @if (!hasUserAssignedMails && !hasActiveFilters) {\r\n <app-no-service-my-access-pg\r\n [heading]=\"NoServiceMsgText\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n </div>\r\n <!-- ---Pagination -->\r\n <div class=\"mail-pagination\">\r\n <app-grid-pagination\r\n [totalRecords]=\"totalCount\"\r\n (onPgChange)=\"updateDataOnPageChange($event)\"\r\n ></app-grid-pagination>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.mail-content{padding:0 22px;height:calc(100vh - 42px);overflow:auto;background-color:#fff}.mail-content .mail-body{background-color:#000}.mail-content .box-title{color:var(--primary-text);font-size:20px;line-height:30px;font-weight:600}.mail-content .view-label{border:none;color:var(--dodger-blue);font-size:13px!important;font-weight:600;cursor:pointer;padding-right:25px}.mail-content .icon-trending{position:relative;left:5px;cursor:pointer}.mail-content .disable-click{pointer-events:none}.mail-content .disable-click:hover,.mail-content .disable-click:focus{cursor:not-allowed}.subject-colm{width:100%}.subject-colm .subject-title,.subject-colm .subject-detail{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subject-colm .subject-title{font-size:13px;font-weight:600;line-height:18px;color:var(--primary-text)}.subject-colm .subject-detail{margin-top:2px;font-size:12px;font-weight:400;line-height:17px;color:var(--secondary-text)}.markasRead{box-shadow:inset 3px 0 #0073ea!important;background-color:#cce5ff;color:#676879!important;border-bottom:1px solid #dee2e6!important;font-weight:600}.view-label{background:url(assets/common-header-lib/images/east.svg) no-repeat 99% 5px}button:disabled{cursor:not-allowed!important;opacity:50%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: TableModule }, { kind: "component", type: i2.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "size", "showGridlines", "stripedRows", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i2.ResizableColumn, selector: "[pResizableColumn]", inputs: ["pResizableColumnDisabled"] }, { kind: "component", type: i2.ColumnFilter, selector: "p-columnFilter, p-column-filter, p-columnfilter", inputs: ["field", "type", "display", "showMenu", "matchMode", "operator", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "hideOnClear", "placeholder", "matchModeOptions", "maxConstraints", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "locale", "localeMatcher", "currency", "currencyDisplay", "filterOn", "useGrouping", "showButtons", "ariaLabel", "filterButtonProps"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: NoServiceMyAccessPgComponent, selector: "app-no-service-my-access-pg", inputs: ["heading", "subHeading"] }, { kind: "component", type: GridPaginationComponent, selector: "app-grid-pagination", inputs: ["totalRecords"], outputs: ["onPgChange"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: CustomDateFormatPipe, name: "customDateFormat" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1289
1289
|
}
|
|
1290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: UserMailboxComponent, decorators: [{
|
|
1291
1291
|
type: Component,
|
|
1292
1292
|
args: [{ selector: 'app-user-mailbox', providers: [DialogService], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, TableModule, SkeletonModule, TranslateModule, NoServiceMyAccessPgComponent, GridPaginationComponent, CustomDateFormatPipe], template: "<div class=\"mail-content lib-ui\">\r\n <div\r\n class=\"box-title my-3 d-flex justify-content-between align-items-center w-100\"\r\n >\r\n <div>\r\n {{ \"Generic_lib.MailBox\" | translate }}\r\n </div>\r\n <button\r\n type=\"button\"\r\n class=\"common-bn tertiary-btn ms-auto\"\r\n aria-label=\"{{ 'Generic_lib.Close' | translate }}\"\r\n (click)=\"closeMailBox()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/close.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n title=\"Close\"\r\n loading=\"lazy\"\r\n />\r\n </button>\r\n </div>\r\n\r\n <div class=\"mail-table\">\r\n @if (hasUserAssignedMails || hasActiveFilters) {\r\n <!-- One table instance across reloads (page change, popup close, filtering) so the\r\n Subject filter and resized column widths survive; rows switch to skeletons while loading. -->\r\n @if (!isContentLoaded) {\r\n <span class=\"visually-hidden\" role=\"status\">Loading mailbox</span>\r\n }\r\n <p-table\r\n [value]=\"isContentLoaded ? ListOfUserAssingedMails : repeatLoader\"\r\n selectionMode=\"multiple\"\r\n dataKey=\"code\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n [resizableColumns]=\"true\"\r\n columnResizeMode=\"fit\"\r\n [lazy]=\"true\"\r\n [lazyLoadOnInit]=\"false\"\r\n (onLazyLoad)=\"onColumnFilter($event)\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 8rem\">\r\n {{ \"Generic_lib.From\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"width: 50%; min-width: 14rem\">\r\n <div class=\"th-filter\">\r\n <span class=\"th-label\">{{ \"Generic_lib.Subject\" | translate }}</span>\r\n <p-columnFilter\r\n type=\"text\"\r\n field=\"subject\"\r\n display=\"menu\"\r\n matchMode=\"contains\"\r\n [matchModeOptions]=\"subjectMatchModes\"\r\n [showOperator]=\"false\"\r\n [showAddButton]=\"false\"\r\n [placeholder]=\"'Generic_lib.Search' | translate\"\r\n [ariaLabel]=\"'Generic_lib.Subject' | translate\"\r\n [pt]=\"{ filterOverlay: { class: 'lib-ui mail-filter-overlay' } }\"\r\n >\r\n <ng-template #filtericon let-hasFilter=\"hasFilter\">\r\n <i\r\n class=\"pi\"\r\n [ngClass]=\"hasFilter ? 'pi-filter-fill' : 'pi-filter'\"\r\n aria-hidden=\"true\"\r\n ></i>\r\n </ng-template>\r\n </p-columnFilter>\r\n </div>\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 9rem\">\r\n {{ \"Generic_lib.ViewFrom\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\" pResizableColumn style=\"min-width: 9rem\">\r\n {{ \"Generic_lib.Action\" | translate }}\r\n </th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-userMail>\r\n @if (!isContentLoaded) {\r\n <tr>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n <td><p-skeleton height=\"1rem\" width=\"100%\"></p-skeleton></td>\r\n </tr>\r\n } @else {\r\n <tr\r\n [class.markasRead]=\"userMail.smi_sms_id != 1\"\r\n [attr.aria-label]=\"\r\n (userMail.smi_sms_id != 1 ? 'Read' : 'Unread') +\r\n ': ' +\r\n userMail.smi_MailSubject\r\n \"\r\n >\r\n <td class=\"form-colm\">{{ userMail.smi_From_Details }}</td>\r\n <td>\r\n <div class=\"subject-colm\" title=\"{{ userMail.smi_MailSubject }}\">\r\n <div class=\"subject-title\">{{ userMail.subjectTitle }}</div>\r\n @if (userMail.subjectDetail) {\r\n <div class=\"subject-detail\">{{ userMail.subjectDetail }}</div>\r\n }\r\n </div>\r\n </td>\r\n <td class=\"view-colm\">\r\n {{ userMail.smi_Received_On | customDateFormat }}\r\n </td>\r\n <td class=\"action-colm\">\r\n <button\r\n [disabled]=\"userMail.password_status === 'Close'\"\r\n (click)=\"openViewPasswordPanel(userMail)\"\r\n class=\"view-label\"\r\n >\r\n {{ \"Generic_lib.ViewPassword\" | translate }}\r\n </button>\r\n </td>\r\n </tr>\r\n }\r\n </ng-template>\r\n <!-- Only reachable with filters applied: an unfiltered empty mailbox shows the no-service page instead -->\r\n <ng-template pTemplate=\"emptymessage\">\r\n <tr>\r\n <td colspan=\"4\" class=\"no-match\">\r\n {{ \"Generic_lib.NoMatchingMails\" | translate }}\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </p-table>\r\n }\r\n <!-- When There is No Data Present -->\r\n @if (!hasUserAssignedMails && !hasActiveFilters) {\r\n <app-no-service-my-access-pg\r\n [heading]=\"NoServiceMsgText\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n </div>\r\n <!-- ---Pagination -->\r\n <div class=\"mail-pagination\">\r\n <app-grid-pagination\r\n [totalRecords]=\"totalCount\"\r\n (onPgChange)=\"updateDataOnPageChange($event)\"\r\n ></app-grid-pagination>\r\n </div>\r\n</div>\r\n", styles: ["@charset \"UTF-8\";.mail-content{padding:0 22px;height:calc(100vh - 42px);overflow:auto;background-color:#fff}.mail-content .mail-body{background-color:#000}.mail-content .box-title{color:var(--primary-text);font-size:20px;line-height:30px;font-weight:600}.mail-content .view-label{border:none;color:var(--dodger-blue);font-size:13px!important;font-weight:600;cursor:pointer;padding-right:25px}.mail-content .icon-trending{position:relative;left:5px;cursor:pointer}.mail-content .disable-click{pointer-events:none}.mail-content .disable-click:hover,.mail-content .disable-click:focus{cursor:not-allowed}.subject-colm{width:100%}.subject-colm .subject-title,.subject-colm .subject-detail{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.subject-colm .subject-title{font-size:13px;font-weight:600;line-height:18px;color:var(--primary-text)}.subject-colm .subject-detail{margin-top:2px;font-size:12px;font-weight:400;line-height:17px;color:var(--secondary-text)}.markasRead{box-shadow:inset 3px 0 #0073ea!important;background-color:#cce5ff;color:#676879!important;border-bottom:1px solid #dee2e6!important;font-weight:600}.view-label{background:url(assets/common-header-lib/images/east.svg) no-repeat 99% 5px}button:disabled{cursor:not-allowed!important;opacity:50%}\n"] }]
|
|
1293
1293
|
}], propDecorators: { closeMailDialogBox: [{ type: i0.Output, args: ["closeMailDialogBox"] }], apiURL: [{ type: i0.Input, args: [{ isSignal: true, alias: "apiURL", required: false }] }], pagination: [{ type: i0.ViewChild, args: [i0.forwardRef(() => GridPaginationComponent), { isSignal: true }] }] } });
|
|
@@ -1311,10 +1311,10 @@ class SidePopupComponent {
|
|
|
1311
1311
|
ngOnDestroy() {
|
|
1312
1312
|
this.visible.set(false);
|
|
1313
1313
|
}
|
|
1314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1315
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
1314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: SidePopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1315
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.24", type: SidePopupComponent, isStandalone: true, selector: "app-side-popup", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeDialogBox: "closeDialogBox", visible: "visibleChange" }, ngImport: i0, template: "<p-dialog\r\n [header]=\"header()\"\r\n [styleClass]=\"'lib-dialog lib-ui ' + styleClass()\"\r\n [resizable]=\"false\"\r\n (onHide)=\"getcloseDialogBox()\"\r\n [modal]=\"true\"\r\n [draggable]=\"false\"\r\n [visible]=\"visible()\"\r\n (visibleChange)=\"visible.set($event)\"\r\n [position]=\"position()\"\r\n [style]=\"{\r\n width: '40vw',\r\n minHeight: '100vh',\r\n right: '-15px',\r\n position: 'absolute',\r\n }\"\r\n>\r\n <!-- Dynamically Change the Content of Sidebar -->\r\n <ng-content></ng-content>\r\n</p-dialog>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1$4.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1316
1316
|
}
|
|
1317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: SidePopupComponent, decorators: [{
|
|
1318
1318
|
type: Component,
|
|
1319
1319
|
args: [{ selector: 'app-side-popup', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DialogModule], template: "<p-dialog\r\n [header]=\"header()\"\r\n [styleClass]=\"'lib-dialog lib-ui ' + styleClass()\"\r\n [resizable]=\"false\"\r\n (onHide)=\"getcloseDialogBox()\"\r\n [modal]=\"true\"\r\n [draggable]=\"false\"\r\n [visible]=\"visible()\"\r\n (visibleChange)=\"visible.set($event)\"\r\n [position]=\"position()\"\r\n [style]=\"{\r\n width: '40vw',\r\n minHeight: '100vh',\r\n right: '-15px',\r\n position: 'absolute',\r\n }\"\r\n>\r\n <!-- Dynamically Change the Content of Sidebar -->\r\n <ng-content></ng-content>\r\n</p-dialog>\r\n" }]
|
|
1320
1320
|
}], propDecorators: { closeDialogBox: [{ type: i0.Output, args: ["closeDialogBox"] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], styleClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "styleClass", required: false }] }] } });
|
|
@@ -1369,10 +1369,10 @@ class CookieStorageManagerService {
|
|
|
1369
1369
|
this.setCookiesValue(`${name}_${i}`, chunk);
|
|
1370
1370
|
}
|
|
1371
1371
|
}
|
|
1372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1373
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CookieStorageManagerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1373
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CookieStorageManagerService, providedIn: 'root' }); }
|
|
1374
1374
|
}
|
|
1375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1375
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CookieStorageManagerService, decorators: [{
|
|
1376
1376
|
type: Injectable,
|
|
1377
1377
|
args: [{
|
|
1378
1378
|
providedIn: 'root',
|
|
@@ -1538,10 +1538,10 @@ class SessionEndService {
|
|
|
1538
1538
|
localStorage.clear();
|
|
1539
1539
|
sessionStorage.clear();
|
|
1540
1540
|
}
|
|
1541
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1542
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: SessionEndService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1542
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: SessionEndService, providedIn: 'root' }); }
|
|
1543
1543
|
}
|
|
1544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: SessionEndService, decorators: [{
|
|
1545
1545
|
type: Injectable,
|
|
1546
1546
|
args: [{
|
|
1547
1547
|
providedIn: 'root',
|
|
@@ -1658,113 +1658,57 @@ class ExternalFormPostService {
|
|
|
1658
1658
|
return null;
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1662
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ExternalFormPostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1662
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ExternalFormPostService, providedIn: 'root' }); }
|
|
1663
1663
|
}
|
|
1664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ExternalFormPostService, decorators: [{
|
|
1665
1665
|
type: Injectable,
|
|
1666
1666
|
args: [{ providedIn: 'root' }]
|
|
1667
1667
|
}] });
|
|
1668
1668
|
|
|
1669
|
-
class
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
const symmetricKey = this.generateKeyAndIV();
|
|
1673
|
-
const gkey = symmetricKey.key.toString();
|
|
1674
|
-
const giv = symmetricKey.iv.toString();
|
|
1675
|
-
const encryptedSymmetricKey = this.encryptSymmetricKey(gkey, publicKey);
|
|
1676
|
-
const encryptedSymmetriciv = this.encryptSymmetricKey(giv, publicKey);
|
|
1677
|
-
return String(encryptedSymmetricKey + ',' + encryptedSymmetriciv);
|
|
1678
|
-
}
|
|
1679
|
-
encryptViaRSA(simpleText) {
|
|
1680
|
-
const { symmKey, symmIV } = this.getRSAsymmetricKeyIV();
|
|
1681
|
-
const encryptedText = this.encryptText(simpleText, symmKey, symmIV);
|
|
1682
|
-
return encryptedText;
|
|
1683
|
-
}
|
|
1684
|
-
decryptViaRSA(encrpyText) {
|
|
1685
|
-
const { symmKey, symmIV } = this.getRSAsymmetricKeyIV();
|
|
1686
|
-
const decryptedText = this.decryptText(encrpyText, symmKey, symmIV);
|
|
1687
|
-
return decryptedText;
|
|
1688
|
-
}
|
|
1689
|
-
/*Action : Decrypt an API cipher payload then MessagePack-decode it into its
|
|
1690
|
-
structured form (used by Proxy Access Token to unwrap the access token). */
|
|
1691
|
-
getDecryptAPIResponse(cipherText) {
|
|
1692
|
-
if (cipherText) {
|
|
1693
|
-
const responseString = this.decryptViaRSA(cipherText);
|
|
1694
|
-
const binary = Uint8Array.from(atob(responseString), (c) => c.codePointAt(0) ?? 0);
|
|
1695
|
-
const decodedArray = decode(binary);
|
|
1696
|
-
return decodedArray;
|
|
1697
|
-
}
|
|
1698
|
-
return {};
|
|
1699
|
-
}
|
|
1700
|
-
generateKeyAndIV() {
|
|
1701
|
-
const key = CryptoJS.lib.WordArray.random(32); // 32 bytes for AES-256
|
|
1702
|
-
const iv = CryptoJS.lib.WordArray.random(16); // 16 bytes IV
|
|
1703
|
-
return { key, iv };
|
|
1669
|
+
class EncrpdataService {
|
|
1670
|
+
constructor() {
|
|
1671
|
+
this.privateKey = "";
|
|
1704
1672
|
}
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1673
|
+
getASCIIValue(text) {
|
|
1674
|
+
let charCodeArr = [];
|
|
1675
|
+
for (let i = 0; i < text.length; i++) {
|
|
1676
|
+
let code = text.charCodeAt(i);
|
|
1677
|
+
charCodeArr.push(BigInt(code));
|
|
1709
1678
|
}
|
|
1710
|
-
|
|
1711
|
-
const iv = CryptoJS.enc.Hex.parse(hiv);
|
|
1712
|
-
const encrypted = CryptoJS.AES.encrypt(plaintext, key, {
|
|
1713
|
-
iv: iv,
|
|
1714
|
-
mode: CryptoJS.mode.CBC,
|
|
1715
|
-
padding: CryptoJS.pad.Pkcs7,
|
|
1716
|
-
});
|
|
1717
|
-
return encrypted.toString();
|
|
1679
|
+
return charCodeArr;
|
|
1718
1680
|
}
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
if (!encryptedKey)
|
|
1725
|
-
throw new Error('Encryption failed. The key might be improperly formatted.');
|
|
1726
|
-
return encryptedKey;
|
|
1727
|
-
}
|
|
1728
|
-
catch (error) {
|
|
1729
|
-
return '';
|
|
1681
|
+
getModuleValue(arr, num1, num2) {
|
|
1682
|
+
let numArr = [];
|
|
1683
|
+
for (let i = 0; i < arr.length; i++) {
|
|
1684
|
+
let code = arr[i] ** num2 % num1;
|
|
1685
|
+
numArr.push(code);
|
|
1730
1686
|
}
|
|
1687
|
+
return numArr;
|
|
1731
1688
|
}
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
const
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
return publicKey;
|
|
1689
|
+
getEncrpytedData(text) {
|
|
1690
|
+
this.privateKey = LoggedInUserInfo.privateKey;
|
|
1691
|
+
let key = this.privateKey.split(',');
|
|
1692
|
+
const num1 = BigInt(key[0]);
|
|
1693
|
+
const num2 = BigInt(key[1]);
|
|
1694
|
+
//1. Convert string to phiN
|
|
1695
|
+
let asciiValue = this.getASCIIValue(text);
|
|
1696
|
+
//2. Get Mod of All Value
|
|
1697
|
+
let ModValue = this.getModuleValue(asciiValue, num1, num2);
|
|
1698
|
+
//3. Convert Arr to String
|
|
1699
|
+
const encodedText = ModValue.map(b => b.toString()).join('-');
|
|
1700
|
+
return encodedText;
|
|
1745
1701
|
}
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
let symmIV = '';
|
|
1749
|
-
const key = localStorage.getItem('001-SAC-GEC');
|
|
1750
|
-
if (key?.includes(',')) {
|
|
1751
|
-
const syymArr = key.split(',');
|
|
1752
|
-
symmKey = syymArr[0];
|
|
1753
|
-
symmIV = syymArr[1];
|
|
1754
|
-
}
|
|
1755
|
-
return { symmKey, symmIV };
|
|
1702
|
+
encodeToBase64(text) {
|
|
1703
|
+
return btoa(text);
|
|
1756
1704
|
}
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
const pemFooter = '-----END PUBLIC KEY-----';
|
|
1760
|
-
const chunkSize = 64; // Standard line length for PEM files
|
|
1761
|
-
const formattedKey = base64Key.match(new RegExp(`.{1,${chunkSize}}`, 'g'))?.join('\n') || '';
|
|
1762
|
-
return `${pemHeader}\n${formattedKey}\n${pemFooter}`;
|
|
1705
|
+
decodeToBase64(text) {
|
|
1706
|
+
return atob(text);
|
|
1763
1707
|
}
|
|
1764
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1765
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1708
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EncrpdataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1709
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EncrpdataService, providedIn: 'root' }); }
|
|
1766
1710
|
}
|
|
1767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EncrpdataService, decorators: [{
|
|
1768
1712
|
type: Injectable,
|
|
1769
1713
|
args: [{
|
|
1770
1714
|
providedIn: 'root',
|
|
@@ -1831,7 +1775,7 @@ class RESTLoginFormService {
|
|
|
1831
1775
|
Action : Get Public Key for encryption of Data */
|
|
1832
1776
|
getPrivateKey(params) {
|
|
1833
1777
|
return this._http
|
|
1834
|
-
.post(GlobalConstants.baseURL + 'xaccess/api/SecureAccess/XKEDSync', params)
|
|
1778
|
+
.post(GlobalConstants.baseURL + '/xaccess/api/SecureAccess/XKEDSync', params)
|
|
1835
1779
|
.pipe(catchError$1((e) => throwError(() => e)));
|
|
1836
1780
|
}
|
|
1837
1781
|
/* Method : POST
|
|
@@ -1895,10 +1839,10 @@ class RESTLoginFormService {
|
|
|
1895
1839
|
const delCookieEndpoint = `${url}xaccess/api/SecureAccess/cookiesUpdation`;
|
|
1896
1840
|
return this._http.post(delCookieEndpoint, payload);
|
|
1897
1841
|
}
|
|
1898
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1899
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1842
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RESTLoginFormService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1843
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RESTLoginFormService, providedIn: 'root' }); }
|
|
1900
1844
|
}
|
|
1901
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RESTLoginFormService, decorators: [{
|
|
1902
1846
|
type: Injectable,
|
|
1903
1847
|
args: [{
|
|
1904
1848
|
providedIn: 'root',
|
|
@@ -1910,12 +1854,15 @@ class ASYNCPasswordcheckService {
|
|
|
1910
1854
|
this.pwdErrorMsg = '';
|
|
1911
1855
|
this.pwdValidation = new Subject();
|
|
1912
1856
|
this.httpCommonService = inject(HttpCommonService);
|
|
1913
|
-
this.
|
|
1857
|
+
this._encrpdataService = inject(EncrpdataService);
|
|
1914
1858
|
}
|
|
1915
1859
|
createValidator() {
|
|
1916
1860
|
return (control) => {
|
|
1917
|
-
//
|
|
1918
|
-
|
|
1861
|
+
// Encrypted with the XKEDSync key; without it, skip the check (server validates on submit)
|
|
1862
|
+
if (!LoggedInUserInfo.privateKey) {
|
|
1863
|
+
return of(null);
|
|
1864
|
+
}
|
|
1865
|
+
const userPassword = this._encrpdataService.getEncrpytedData(control.value);
|
|
1919
1866
|
let useDetails = {
|
|
1920
1867
|
userARCXWD: userPassword,
|
|
1921
1868
|
};
|
|
@@ -1939,10 +1886,10 @@ class ASYNCPasswordcheckService {
|
|
|
1939
1886
|
listValidationMsg() {
|
|
1940
1887
|
return this.pwdValidation.asObservable();
|
|
1941
1888
|
}
|
|
1942
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1943
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1889
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ASYNCPasswordcheckService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1890
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ASYNCPasswordcheckService, providedIn: 'root' }); }
|
|
1944
1891
|
}
|
|
1945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ASYNCPasswordcheckService, decorators: [{
|
|
1946
1893
|
type: Injectable,
|
|
1947
1894
|
args: [{
|
|
1948
1895
|
providedIn: 'root',
|
|
@@ -1983,10 +1930,10 @@ class VaptValidationService {
|
|
|
1983
1930
|
}
|
|
1984
1931
|
return checkValue(formData);
|
|
1985
1932
|
}
|
|
1986
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1987
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1933
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VaptValidationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1934
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VaptValidationService, providedIn: 'root' }); }
|
|
1988
1935
|
}
|
|
1989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VaptValidationService, decorators: [{
|
|
1990
1937
|
type: Injectable,
|
|
1991
1938
|
args: [{
|
|
1992
1939
|
providedIn: 'root'
|
|
@@ -2073,10 +2020,115 @@ class HttpGeneralConfigurationService {
|
|
|
2073
2020
|
}
|
|
2074
2021
|
}), catchError((e) => throwError(() => e)));
|
|
2075
2022
|
}
|
|
2076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2077
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2023
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HttpGeneralConfigurationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2024
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HttpGeneralConfigurationService, providedIn: 'root' }); }
|
|
2078
2025
|
}
|
|
2079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HttpGeneralConfigurationService, decorators: [{
|
|
2027
|
+
type: Injectable,
|
|
2028
|
+
args: [{
|
|
2029
|
+
providedIn: 'root',
|
|
2030
|
+
}]
|
|
2031
|
+
}] });
|
|
2032
|
+
|
|
2033
|
+
class EncrydecryRSAdataService {
|
|
2034
|
+
generateAESKey() {
|
|
2035
|
+
const publicKey = this.getPublicKey();
|
|
2036
|
+
const symmetricKey = this.generateKeyAndIV();
|
|
2037
|
+
const gkey = symmetricKey.key.toString();
|
|
2038
|
+
const giv = symmetricKey.iv.toString();
|
|
2039
|
+
const encryptedSymmetricKey = this.encryptSymmetricKey(gkey, publicKey);
|
|
2040
|
+
const encryptedSymmetriciv = this.encryptSymmetricKey(giv, publicKey);
|
|
2041
|
+
return String(encryptedSymmetricKey + ',' + encryptedSymmetriciv);
|
|
2042
|
+
}
|
|
2043
|
+
encryptViaRSA(simpleText) {
|
|
2044
|
+
const { symmKey, symmIV } = this.getRSAsymmetricKeyIV();
|
|
2045
|
+
const encryptedText = this.encryptText(simpleText, symmKey, symmIV);
|
|
2046
|
+
return encryptedText;
|
|
2047
|
+
}
|
|
2048
|
+
decryptViaRSA(encrpyText) {
|
|
2049
|
+
const { symmKey, symmIV } = this.getRSAsymmetricKeyIV();
|
|
2050
|
+
const decryptedText = this.decryptText(encrpyText, symmKey, symmIV);
|
|
2051
|
+
return decryptedText;
|
|
2052
|
+
}
|
|
2053
|
+
/*Action : Decrypt an API cipher payload then MessagePack-decode it into its
|
|
2054
|
+
structured form (used by Proxy Access Token to unwrap the access token). */
|
|
2055
|
+
getDecryptAPIResponse(cipherText) {
|
|
2056
|
+
if (cipherText) {
|
|
2057
|
+
const responseString = this.decryptViaRSA(cipherText);
|
|
2058
|
+
const binary = Uint8Array.from(atob(responseString), (c) => c.codePointAt(0) ?? 0);
|
|
2059
|
+
const decodedArray = decode(binary);
|
|
2060
|
+
return decodedArray;
|
|
2061
|
+
}
|
|
2062
|
+
return {};
|
|
2063
|
+
}
|
|
2064
|
+
generateKeyAndIV() {
|
|
2065
|
+
const key = CryptoJS.lib.WordArray.random(32); // 32 bytes for AES-256
|
|
2066
|
+
const iv = CryptoJS.lib.WordArray.random(16); // 16 bytes IV
|
|
2067
|
+
return { key, iv };
|
|
2068
|
+
}
|
|
2069
|
+
encryptText(plaintext, hkey, hiv) {
|
|
2070
|
+
//* If the data is Object then converting the object into JSON.stringify()
|
|
2071
|
+
if (typeof plaintext === 'object' && plaintext !== null) {
|
|
2072
|
+
plaintext = JSON.stringify(plaintext);
|
|
2073
|
+
}
|
|
2074
|
+
const key = CryptoJS.enc.Hex.parse(hkey);
|
|
2075
|
+
const iv = CryptoJS.enc.Hex.parse(hiv);
|
|
2076
|
+
const encrypted = CryptoJS.AES.encrypt(plaintext, key, {
|
|
2077
|
+
iv: iv,
|
|
2078
|
+
mode: CryptoJS.mode.CBC,
|
|
2079
|
+
padding: CryptoJS.pad.Pkcs7,
|
|
2080
|
+
});
|
|
2081
|
+
return encrypted.toString();
|
|
2082
|
+
}
|
|
2083
|
+
encryptSymmetricKey(key, publicKey) {
|
|
2084
|
+
try {
|
|
2085
|
+
const rsa = new JSEncrypt();
|
|
2086
|
+
rsa.setPublicKey(publicKey);
|
|
2087
|
+
const encryptedKey = rsa.encrypt(key);
|
|
2088
|
+
if (!encryptedKey)
|
|
2089
|
+
throw new Error('Encryption failed. The key might be improperly formatted.');
|
|
2090
|
+
return encryptedKey;
|
|
2091
|
+
}
|
|
2092
|
+
catch (error) {
|
|
2093
|
+
return '';
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
decryptText(encryptedBase64, hkey, hiv) {
|
|
2097
|
+
const key = CryptoJS.enc.Hex.parse(hkey);
|
|
2098
|
+
const iv = CryptoJS.enc.Hex.parse(hiv);
|
|
2099
|
+
const decrypted = CryptoJS.AES.decrypt(encryptedBase64, key, {
|
|
2100
|
+
iv: iv,
|
|
2101
|
+
mode: CryptoJS.mode.CBC,
|
|
2102
|
+
padding: CryptoJS.pad.Pkcs7,
|
|
2103
|
+
});
|
|
2104
|
+
return decrypted.toString(CryptoJS.enc.Utf8);
|
|
2105
|
+
}
|
|
2106
|
+
getPublicKey() {
|
|
2107
|
+
const publicKey = this.base64ToPem(localStorage.getItem('001-SAC-GEC') || '');
|
|
2108
|
+
return publicKey;
|
|
2109
|
+
}
|
|
2110
|
+
getRSAsymmetricKeyIV() {
|
|
2111
|
+
let symmKey = '';
|
|
2112
|
+
let symmIV = '';
|
|
2113
|
+
const key = localStorage.getItem('001-SAC-GEC');
|
|
2114
|
+
if (key?.includes(',')) {
|
|
2115
|
+
const syymArr = key.split(',');
|
|
2116
|
+
symmKey = syymArr[0];
|
|
2117
|
+
symmIV = syymArr[1];
|
|
2118
|
+
}
|
|
2119
|
+
return { symmKey, symmIV };
|
|
2120
|
+
}
|
|
2121
|
+
base64ToPem(base64Key) {
|
|
2122
|
+
const pemHeader = '-----BEGIN PUBLIC KEY-----';
|
|
2123
|
+
const pemFooter = '-----END PUBLIC KEY-----';
|
|
2124
|
+
const chunkSize = 64; // Standard line length for PEM files
|
|
2125
|
+
const formattedKey = base64Key.match(new RegExp(`.{1,${chunkSize}}`, 'g'))?.join('\n') || '';
|
|
2126
|
+
return `${pemHeader}\n${formattedKey}\n${pemFooter}`;
|
|
2127
|
+
}
|
|
2128
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EncrydecryRSAdataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2129
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EncrydecryRSAdataService, providedIn: 'root' }); }
|
|
2130
|
+
}
|
|
2131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: EncrydecryRSAdataService, decorators: [{
|
|
2080
2132
|
type: Injectable,
|
|
2081
2133
|
args: [{
|
|
2082
2134
|
providedIn: 'root',
|
|
@@ -2177,10 +2229,10 @@ class LandingpgConfigComponent {
|
|
|
2177
2229
|
showBtnLoadder(flag) {
|
|
2178
2230
|
this.isAppNameUpdate = flag;
|
|
2179
2231
|
}
|
|
2180
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2181
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LandingpgConfigComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2233
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: LandingpgConfigComponent, isStandalone: true, selector: "app-landingpg-config", ngImport: i0, template: "<div class=\"preference-container\">\r\n <form [formGroup]=\"AppNameForm\">\r\n <div class=\"mt-2\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.LandingPageConfig\" | translate }}\r\n </div>\r\n <abbr\r\n class=\"madontary-icon\"\r\n [attr.aria-label]=\"'Generic_lib.Required' | translate\"\r\n >*</abbr\r\n >\r\n </div>\r\n <div class=\"timezone-dropdown\">\r\n <p-select\r\n [options]=\"ListofApplicationNames\"\r\n ariaLabel=\"{{ 'Generic_lib.LandingPageConfig' | translate }}\"\r\n placeholder=\"{{ 'Generic_lib.LandingPagePlaceHolder' | translate }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n formControlName=\"userApp\"\r\n [filter]=\"!isAppNameLoading ? true : false\"\r\n optionLabel=\"applicationName\"\r\n filterBy=\"applicationName\"\r\n [showClear]=\"false\"\r\n panelStyleClass=\"{'dropdown-loader': isAppNameLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAppNameLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n AppNameForm.get(\"userApp\")?.invalid &&\r\n AppNameForm.get(\"userApp\")?.touched\r\n ) {\r\n <span id=\"userapp-error\" role=\"alert\" class=\"error-msg mt-1\">{{\r\n \"Generic_lib.LandingPageValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"mt-2 update-btn\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n [disabled]=\"AppNameForm.invalid\"\r\n iconPos=\"right\"\r\n [loading]=\"isAppNameUpdate\"\r\n (onClick)=\"getUpdateLandingPgPreference()\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n</div>\r\n", styles: [".preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2182
2234
|
}
|
|
2183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LandingpgConfigComponent, decorators: [{
|
|
2184
2236
|
type: Component,
|
|
2185
2237
|
args: [{ selector: 'app-landingpg-config', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, ReactiveFormsModule, SelectModule, ButtonModule, TranslateModule], template: "<div class=\"preference-container\">\r\n <form [formGroup]=\"AppNameForm\">\r\n <div class=\"mt-2\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.LandingPageConfig\" | translate }}\r\n </div>\r\n <abbr\r\n class=\"madontary-icon\"\r\n [attr.aria-label]=\"'Generic_lib.Required' | translate\"\r\n >*</abbr\r\n >\r\n </div>\r\n <div class=\"timezone-dropdown\">\r\n <p-select\r\n [options]=\"ListofApplicationNames\"\r\n ariaLabel=\"{{ 'Generic_lib.LandingPageConfig' | translate }}\"\r\n placeholder=\"{{ 'Generic_lib.LandingPagePlaceHolder' | translate }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n formControlName=\"userApp\"\r\n [filter]=\"!isAppNameLoading ? true : false\"\r\n optionLabel=\"applicationName\"\r\n filterBy=\"applicationName\"\r\n [showClear]=\"false\"\r\n panelStyleClass=\"{'dropdown-loader': isAppNameLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAppNameLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n AppNameForm.get(\"userApp\")?.invalid &&\r\n AppNameForm.get(\"userApp\")?.touched\r\n ) {\r\n <span id=\"userapp-error\" role=\"alert\" class=\"error-msg mt-1\">{{\r\n \"Generic_lib.LandingPageValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"mt-2 update-btn\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n [disabled]=\"AppNameForm.invalid\"\r\n iconPos=\"right\"\r\n [loading]=\"isAppNameUpdate\"\r\n (onClick)=\"getUpdateLandingPgPreference()\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n</div>\r\n", styles: [".preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}\n"] }]
|
|
2186
2238
|
}] });
|
|
@@ -2201,10 +2253,10 @@ class StorageService {
|
|
|
2201
2253
|
checkData(key) {
|
|
2202
2254
|
return !!localStorage.getItem(key);
|
|
2203
2255
|
}
|
|
2204
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2205
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2256
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: StorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2257
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: StorageService, providedIn: 'root' }); }
|
|
2206
2258
|
}
|
|
2207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: StorageService, decorators: [{
|
|
2208
2260
|
type: Injectable,
|
|
2209
2261
|
args: [{
|
|
2210
2262
|
providedIn: 'root',
|
|
@@ -2318,10 +2370,10 @@ class TimezoneConfigurationComponent {
|
|
|
2318
2370
|
showBtnLoadder(flag) {
|
|
2319
2371
|
this.isTimezoneupdate = flag;
|
|
2320
2372
|
}
|
|
2321
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2322
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2373
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TimezoneConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2374
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: TimezoneConfigurationComponent, isStandalone: true, selector: "app-timezone-configuration", outputs: { closepopup: "closepopup" }, ngImport: i0, template: "<div class=\"preference-container\">\r\n <form [formGroup]=\"timeZoneForm\">\r\n <div class=\"mt-2\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">{{\"Generic_lib.PreferredTimezone\" | translate }}</div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\" timezone-dropdown\">\r\n <p-select [options]=\"ListOfTimeZones\"\r\n ariaLabel=\"{{ 'Generic_lib.PreferredTimezone' | translate }}\" filterPlaceholder='{{ \"Generic_lib.Search\" | translate }}'\r\n placeholder='{{\"Generic_lib.TimeZonePlaceHolder\" | translate}}' formControlName=\"timezone\"\r\n [(ngModel)]=\"selectedTimeZone\" [filter]=\"!isTimezoneLoading ? true:false\" optionLabel=\"displayName\"\r\n filterBy=\"displayName\" [showClear]=\"false\" panelStyleClass=\"{'dropdown-loader': isTimezoneLoading}\">\r\n\r\n <ng-template pTemplate=\"header\">\r\n @if (isTimezoneLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template></p-select>\r\n </div>\r\n @if (\r\n timeZoneForm.get('timezone')?.invalid &&\r\n timeZoneForm.get('timezone')?.touched\r\n ) {\r\n <span id=\"timezone-error\" role=\"alert\" class=\"error-msg mt-1\">{{'Generic_lib.TimeZoneFieldValidation' | translate}}</span>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"mt-2 update-btn\">\r\n <p-button class=\"submit-btn\" label=\"{{'Generic_lib.Update' | translate}}\" [disabled]=\"timeZoneForm.invalid\"\r\n iconPos=\"right\" [loading]=\"isTimezoneupdate\" (onClick)=\"setUserTimeZone()\"></p-button>\r\n </div>\r\n </form>\r\n</div>", styles: [".preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2323
2375
|
}
|
|
2324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: TimezoneConfigurationComponent, decorators: [{
|
|
2325
2377
|
type: Component,
|
|
2326
2378
|
args: [{ selector: 'app-timezone-configuration', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, FormsModule, ReactiveFormsModule, SelectModule, ButtonModule, TranslateModule], template: "<div class=\"preference-container\">\r\n <form [formGroup]=\"timeZoneForm\">\r\n <div class=\"mt-2\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">{{\"Generic_lib.PreferredTimezone\" | translate }}</div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\" timezone-dropdown\">\r\n <p-select [options]=\"ListOfTimeZones\"\r\n ariaLabel=\"{{ 'Generic_lib.PreferredTimezone' | translate }}\" filterPlaceholder='{{ \"Generic_lib.Search\" | translate }}'\r\n placeholder='{{\"Generic_lib.TimeZonePlaceHolder\" | translate}}' formControlName=\"timezone\"\r\n [(ngModel)]=\"selectedTimeZone\" [filter]=\"!isTimezoneLoading ? true:false\" optionLabel=\"displayName\"\r\n filterBy=\"displayName\" [showClear]=\"false\" panelStyleClass=\"{'dropdown-loader': isTimezoneLoading}\">\r\n\r\n <ng-template pTemplate=\"header\">\r\n @if (isTimezoneLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template></p-select>\r\n </div>\r\n @if (\r\n timeZoneForm.get('timezone')?.invalid &&\r\n timeZoneForm.get('timezone')?.touched\r\n ) {\r\n <span id=\"timezone-error\" role=\"alert\" class=\"error-msg mt-1\">{{'Generic_lib.TimeZoneFieldValidation' | translate}}</span>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"mt-2 update-btn\">\r\n <p-button class=\"submit-btn\" label=\"{{'Generic_lib.Update' | translate}}\" [disabled]=\"timeZoneForm.invalid\"\r\n iconPos=\"right\" [loading]=\"isTimezoneupdate\" (onClick)=\"setUserTimeZone()\"></p-button>\r\n </div>\r\n </form>\r\n</div>", styles: [".preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}\n"] }]
|
|
2327
2379
|
}], propDecorators: { closepopup: [{ type: i0.Output, args: ["closepopup"] }] } });
|
|
@@ -2463,10 +2515,10 @@ class ProxyAccessTokenConfigurationComponent {
|
|
|
2463
2515
|
regenerateProxyAccessToken() {
|
|
2464
2516
|
this.generateProxyAccessToken();
|
|
2465
2517
|
}
|
|
2466
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2467
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
2518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ProxyAccessTokenConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2519
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: ProxyAccessTokenConfigurationComponent, isStandalone: true, selector: "app-proxy-access-token-configuration", ngImport: i0, template: "<div class=\"preference-container\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ProxyAccessToken\" | translate }}\r\n </div>\r\n </div>\r\n <div class=\"d-flex\">\r\n <div class=\"sub-label-name\">\r\n {{ \"Generic_lib.ProxyAccessTokenSubLabel\" | translate }}\r\n </div>\r\n </div>\r\n\r\n @if (!proxyAccessTokenSkeleton) {\r\n <!-- Generate button -->\r\n @if (!tokenGenerated) {\r\n <div class=\"mt-2\">\r\n <p-button\r\n label=\"{{ 'Generic_lib.Generate' | translate }}\"\r\n class=\"submit-btn\"\r\n data-testid=\"proxy-token-generate-button\"\r\n (onClick)=\"generateProxyAccessToken()\"\r\n >\r\n <span class=\"generate-icon\">\r\n <img\r\n src=\"assets/common-header-lib/images/generate.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </span>\r\n </p-button>\r\n </div>\r\n }\r\n\r\n <!-- Masked token -->\r\n @if (tokenGenerated) {\r\n <div class=\"mt-2\">\r\n <div class=\"key-display\">\r\n <span class=\"token-text\">{{ maskedProxyAccessToken }}</span>\r\n\r\n <div class=\"copy-btn\">\r\n <span\r\n data-testid=\"proxy-token-copy-button\"\r\n (click)=\"copyProxyAccessToken()\"\r\n >\r\n <img\r\n [src]=\"\r\n isCopied\r\n ? 'assets/common-header-lib/images/copy-success.svg'\r\n : 'assets/common-header-lib/images/copy.svg'\r\n \"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n [pTooltip]=\"\r\n (isCopied ? 'Generic_lib.Copied' : 'Generic_lib.Copy')\r\n | translate\r\n \"\r\n tooltipStyleClass=\"lib-ui\"\r\n tooltipPosition=\"top\"\r\n />\r\n </span>\r\n </div>\r\n </div>\r\n <!-- Expiry Time -->\r\n <div class=\"sub-label-name mt-2\">\r\n {{ \"Generic_lib.ProxyAccessTokenExpiry\" | translate }}:\r\n <span dir=\"ltr\">{{\r\n expiryTime | date: \"dd MMM yyyy, hh:mm a\"\r\n }}</span>\r\n </div>\r\n <!-- Regenerate button -->\r\n <div class=\"mt-2 action-buttons\">\r\n <p-button\r\n label=\"{{ 'Generic_lib.Regenerate' | translate }}\"\r\n styleClass=\"p-button-danger\"\r\n class=\"submit-btn\"\r\n data-testid=\"proxy-token-regenerate-button\"\r\n (onClick)=\"regenerateProxyAccessToken()\"\r\n >\r\n <span class=\"generate-icon\">\r\n <img\r\n src=\"assets/common-header-lib/images/regenerate.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </span>\r\n </p-button>\r\n </div>\r\n </div>\r\n }\r\n } @else {\r\n <div class=\"loading-skeleton d-flex flex-column p-3\">\r\n <p-skeleton width=\"100%\" height=\"2rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton width=\"60%\" height=\"1.5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton width=\"40%\" height=\"1.5rem\"></p-skeleton>\r\n </div>\r\n }\r\n\r\n <!-- SSL/TLS Certificate Downloads -->\r\n <div class=\"certificate-section\">\r\n <div>\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.SSLCertificates\" | translate }}\r\n </div>\r\n <div class=\"sub-label-name\">\r\n {{ \"Generic_lib.CertificateInfo\" | translate }}\r\n </div>\r\n </div>\r\n <div class=\"certificate-container\">\r\n <div class=\"certificate-list\">\r\n @for (db of dbTypes; track db.key) {\r\n <div\r\n class=\"certificate-item d-flex align-items-center justify-content-between\"\r\n >\r\n <div>\r\n <div class=\"label-name certificate-header\">\r\n {{ db.label }} {{ \"Generic_lib.Proxy\" | translate }}\r\n </div>\r\n <div class=\"sub-label-name\">\r\n {{ \"Generic_lib.SSLCertificatesTitle\" | translate }}\r\n {{ db.label }} {{ \"Generic_lib.Proxy\" | translate }}\r\n </div>\r\n </div>\r\n <div class=\"img-div\">\r\n <p-button\r\n class=\"submit-btn download-button lib-download-btn\"\r\n [class.hover-enabled]=\"!db.downloading\"\r\n [loading]=\"db.downloading\"\r\n data-testid=\"proxy-cert-download-button\"\r\n (onClick)=\"downloadCertificate(db)\"\r\n >\r\n <span\r\n class=\"btn-icon lib-download-icon me-1\"\r\n aria-hidden=\"true\"\r\n ></span>\r\n <span class=\"me-1\">{{\r\n \"Generic_lib.Download\" | translate\r\n }}</span>\r\n </p-button>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".preference-container .path-title{font-size:20px;color:var(--primary-text);margin-bottom:10px}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:16px;color:var(--primary-text);line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:var(--secondary-text);line-height:20px;font-weight:500}.preference-container .key-display{height:45px;display:flex;align-items:center;gap:8px;background:#f5f6f8;border:1px solid #e1e4e8;border-radius:4px;padding:0 10px;font-family:monospace;font-size:13px;color:var(--primary-text);word-break:break-all;justify-content:space-between}.preference-container .action-buttons{display:flex;gap:15px}.preference-container .sub-label-name{font-size:12px;color:var(--secondary-text);line-height:20px;margin:5px 0}.preference-container .generate-icon{margin:0 0 3px}.preference-container .token-text{word-break:break-all}.preference-container .copy-btn{display:flex;justify-content:center;cursor:pointer;height:28px;width:28px;align-items:center}.preference-container .certificate-container{border:1px solid #d0d4e4;border-radius:8px;margin-top:16px}.preference-container .certificate-list{display:flex;flex-direction:column}.preference-container .certificate-header{font-size:14px}.preference-container .certificate-list .certificate-item{padding:20px 24px;border-bottom:1px solid #d0d4e4}.preference-container .certificate-list .certificate-item:last-child{border-bottom:none}.preference-container .certificate-item:hover{background-color:#e3e5f0}.preference-container .lib-download-icon{display:inline-block;width:16px;height:16px;background-color:currentColor;mask:url(assets/common-header-lib/images/download-blue.svg) center/contain no-repeat}.preference-container .certificate-section{margin-top:20px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2468
2520
|
}
|
|
2469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: ProxyAccessTokenConfigurationComponent, decorators: [{
|
|
2470
2522
|
type: Component,
|
|
2471
2523
|
args: [{ selector: 'app-proxy-access-token-configuration', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
2472
2524
|
CommonModule,
|
|
@@ -2496,7 +2548,7 @@ class GeneralConfigurationComponent {
|
|
|
2496
2548
|
this.cdr = inject(ChangeDetectorRef);
|
|
2497
2549
|
this.fb = inject(FormBuilder);
|
|
2498
2550
|
this.msgService = inject(ToastMsgService);
|
|
2499
|
-
this.
|
|
2551
|
+
this._encrpdataService = inject(EncrpdataService);
|
|
2500
2552
|
this.loginService = inject(RESTLoginFormService);
|
|
2501
2553
|
this._validatePwdService = inject(ASYNCPasswordcheckService);
|
|
2502
2554
|
this.translateService = inject(TranslateService);
|
|
@@ -2587,6 +2639,7 @@ class GeneralConfigurationComponent {
|
|
|
2587
2639
|
this.closeAllScreen();
|
|
2588
2640
|
this.ShowChangePasswordScreen = true;
|
|
2589
2641
|
this.userResetPasswordForm.reset();
|
|
2642
|
+
this.getEncryptKey();
|
|
2590
2643
|
}
|
|
2591
2644
|
OpenTimezoneScreen() {
|
|
2592
2645
|
this.closeAllScreen();
|
|
@@ -2744,9 +2797,14 @@ class GeneralConfigurationComponent {
|
|
|
2744
2797
|
// /*Method: will User New Password to API */
|
|
2745
2798
|
changeLoggedInPwd() {
|
|
2746
2799
|
//For Encrp/Dec
|
|
2747
|
-
|
|
2800
|
+
// Change Password is encrypted with the XKEDSync key (fetched in OpenChangePasswordScreen)
|
|
2801
|
+
if (!LoggedInUserInfo.privateKey) {
|
|
2802
|
+
this.msgService.error(this.translateService.instant('Generic_lib.SessionTokenError'));
|
|
2803
|
+
return;
|
|
2804
|
+
}
|
|
2805
|
+
let oldUserARCXWD = this._encrpdataService.getEncrpytedData(this.userResetPasswordForm.value['oldUserARCXWD'] ?? '');
|
|
2748
2806
|
//For Encrp/Dec
|
|
2749
|
-
let newUserARCXWD = this.
|
|
2807
|
+
let newUserARCXWD = this._encrpdataService.getEncrpytedData(this.userResetPasswordForm.value['newUserARCXWD'] ?? '');
|
|
2750
2808
|
let userPwdDetails = {
|
|
2751
2809
|
ipAddress: '',
|
|
2752
2810
|
oldUserARCXWD: oldUserARCXWD,
|
|
@@ -2831,12 +2889,12 @@ class GeneralConfigurationComponent {
|
|
|
2831
2889
|
toggleBtnLoadder(flag) {
|
|
2832
2890
|
this.isPathUpdated = flag;
|
|
2833
2891
|
}
|
|
2834
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2835
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: GeneralConfigurationComponent, isStandalone: true, selector: "app-general-configuration", providers: [DialogService], ngImport: i0, template: "<div class=\"row my-3\">\r\n <!-- Left_Card_Started -->\r\n <div class=\"col-lg-4 pl-0\">\r\n <div class=\"left-card\">\r\n <div class=\"p-3\">\r\n <div class=\"profile-card\" [class.active]=\"ShowPreferencePathScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowPreferencePathScreen\"\r\n (click)=\"OpenPreferencePathScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowChangePasswordScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowChangePasswordScreen\"\r\n (click)=\"OpenChangePasswordScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ChangePassword\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowTimeZoneScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowTimeZoneScreen\"\r\n (click)=\"OpenTimezoneScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferredTimezone\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowLandinPgScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowLandinPgScreen\"\r\n (click)=\"OpenLandingPgConfig()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.LandingPageConfig\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowProxyTokenScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowProxyTokenScreen\"\r\n (click)=\"OpenProxyAccessTokenScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ProxyAccessToken\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- Left_Card_Ended -->\r\n\r\n <!-- Preference PathScreen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowPreferencePathScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"appSettingForm\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetType\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetTypeList\"\r\n formControlName=\"AssetType\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetType' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetTypePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n (onChange)=\"preferencePathValueChange(AssetTypeEvent)\"\r\n optionLabel=\"assetType\"\r\n [filter]=\"!isAssetTypeLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n [showClear]=\"false\"\r\n [resetFilterOnHide]=\"true\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetTypeLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetTypeLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetType')?.invalid &&\r\n appSettingForm.get('AssetType')?.touched\r\n ) {\r\n <span id=\"assettype-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetTypeFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetName\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetNameList\"\r\n formControlName=\"AssetName\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetName' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetNamePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n optionLabel=\"assetName\"\r\n [filter]=\"!isAssetNameLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n (onChange)=\"preferencePathValueChange(AssetNameEvent)\"\r\n filterBy=\"assetName\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetNameLoading}\"\r\n [showClear]=\"false\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetNameLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetName')?.invalid &&\r\n appSettingForm.get('AssetName')?.touched\r\n ) {\r\n <span id=\"assetname-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetNameFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConnectionMethod\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userServiceList\"\r\n formControlName=\"ServiceName\"\r\n ariaLabel=\"{{ 'Generic_lib.ConnectionMethod' | translate }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConnectionMethodPlaceholder' | translate\r\n }}\"\r\n optionLabel=\"tbvDescrption\"\r\n [filter]=\"true\"\r\n filterBy=\"tbvDescrption\"\r\n (onChange)=\"preferencePathValueChange(ConnectionMethodEvent)\"\r\n [filter]=\"!isConnectionMethodLoading ? true : false\"\r\n [showClear]=\"false\"\r\n panelStyleClass=\"{'dropdown-loader': isConnectionMethodLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isConnectionMethodLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n } </ng-template\r\n ></p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('ServiceName')?.invalid &&\r\n appSettingForm.get('ServiceName')?.touched\r\n ) {\r\n <span id=\"servicename-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConnectionMethodFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group position-relative\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"input-dropdown d-flex align-items-center\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-label=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-describedby=\"filepath-required-error filepath-space-error\"\r\n pInputText\r\n formControlName=\"filePathName\"\r\n id=\"filepath\"\r\n name=\"filepath\"\r\n autocomplete=\"off\"\r\n />\r\n <img\r\n src=\"assets/common-header-lib/images/filepath.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock ext\"\r\n />\r\n </div>\r\n @if (\r\n appSettingForm.get('filePathName')?.invalid &&\r\n (appSettingForm.get('filePathName')?.touched ||\r\n appSettingForm.get('filePathName')?.dirty)\r\n ) {\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['required']\r\n ) {\r\n <span id=\"filepath-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['noSpace']\r\n ) {\r\n <span id=\"filepath-space-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldSpaceValidation\" | translate\r\n }}</span>\r\n }\r\n }\r\n </div>\r\n @if (showStatus) {\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentSetting\" | translate }} :\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ filePathName }}</div>\r\n </div>\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.LastUpdated\" | translate }}\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ lastUpdatedFileStatus }}</div>\r\n </div>\r\n }\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n [disabled]=\"appSettingForm.invalid\"\r\n (onClick)=\"setUserPreferencePath(appSettingForm)\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- TimeZone Screen -->\r\n @if (ShowTimeZoneScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-timezone-configuration></app-timezone-configuration>\r\n </div>\r\n }\r\n\r\n <!-- LandingPg Config Screen -->\r\n @if (ShowLandinPgScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-landingpg-config></app-landingpg-config>\r\n </div>\r\n }\r\n\r\n <!-- Proxy Access Token Screen -->\r\n @if (ShowProxyTokenScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-proxy-access-token-configuration></app-proxy-access-token-configuration>\r\n </div>\r\n }\r\n\r\n <!--Change Password Screen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowChangePasswordScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"userResetPasswordForm\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show current password\"\r\n (change)=\"togglePasswordVisibility(1)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n type=\"{{ makeOldPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.PasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"oldUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"oldpwd\"\r\n name=\"oldpwd\"\r\n aria-describedby=\"oldpwd-error\"\r\n />\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm.get('oldUserARCXWD')?.invalid &&\r\n userResetPasswordForm.get('oldUserARCXWD')?.touched\r\n ) {\r\n <span id=\"oldpwd-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.NewPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show new password\"\r\n (change)=\"togglePasswordVisibility(2)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n type=\"{{ makeNewPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.NewPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"newUserARCXWD\"\r\n id=\"newpwd\"\r\n autocomplete=\"off\"\r\n name=\"newpwd\"\r\n aria-describedby=\"newpwd-required-error newpwd-invalid-error\"\r\n />\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.NewPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('pwdInvalid') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-invalid-error\" role=\"alert\" class=\"error-msg mt-2\">{{ pwderrorMsg }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConfirmPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show confirm password\"\r\n (change)=\"togglePasswordVisibility(3)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n type=\"{{ makeCnfrmPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConfirmPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"crnmNewUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"crnmnewpwd\"\r\n name=\"crnmnewpwd\"\r\n aria-describedby=\"crnmpwd-required-error crnmpwd-confirm-error\"\r\n />\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('crnmNewUserARCXWD')?.touched\r\n ) {\r\n <span id=\"crnmpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConfirmPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('confirmedValidator')\r\n ) {\r\n <span id=\"crnmpwd-confirm-error\" role=\"alert\" class=\"error-msg mt-2\">\r\n {{\r\n \"Generic_lib.ConfirmPasswordFieldNewValidation\" | translate\r\n }}\r\n </span>\r\n }\r\n </div>\r\n\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n label=\"Update\"\r\n (onClick)=\"resetLoggedInPwd()\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [".pl{padding-left:0!important}.left-card{position:sticky;top:16px;max-height:calc(100vh - 120px);overflow-y:auto;height:450px!important;background:var(--ag-header-background-color)!important;border-radius:8px!important}.left-card .profile-label{font-size:13px!important;color:#292f4c!important;font-weight:600!important}.left-card .profile-text{color:#676879!important;font-size:12px!important;font-weight:400!important;line-height:20px!important}.initial-text{width:50px;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}.checkbox-visibility-icon{position:relative}.checkbox-visibility-icon input[type=checkbox]{opacity:0;position:absolute;top:4px;left:5px;transform:scale(1.7);z-index:2;cursor:pointer}.checkbox-visibility-icon input[type=checkbox]:checked+span{background:url(assets/common-header-lib/images/login-bg/visibility.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]:checked+span{height:12px;width:18px;background-size:17px}}.checkbox-visibility-icon input[type=checkbox]+span{background:url(assets/common-header-lib/images/login-bg/visibility_off.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]+span{height:24px;width:18px;background-size:17px}}.input-dropdown .p-inputtext{width:100%!important;border-radius:4px!important;font-size:12px!important;padding-left:28px!important;height:38px!important;border:1px solid #ced4da!important}.p-select-filter{border:1px solid #ced4da!important}.profile-card{cursor:pointer;border-radius:4px}.profile-card>.tertiary-btn{border-radius:inherit}.profile-card:hover{background:#e9ecef;color:#292f4c}.profile-card.active{cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2$2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: LandingpgConfigComponent, selector: "app-landingpg-config" }, { kind: "component", type: TimezoneConfigurationComponent, selector: "app-timezone-configuration", outputs: ["closepopup"] }, { kind: "component", type: ProxyAccessTokenConfigurationComponent, selector: "app-proxy-access-token-configuration" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2892
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GeneralConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2893
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: GeneralConfigurationComponent, isStandalone: true, selector: "app-general-configuration", providers: [DialogService], ngImport: i0, template: "<div class=\"row my-3\">\r\n <!-- Left_Card_Started -->\r\n <div class=\"col-lg-4 pl-0\">\r\n <div class=\"left-card\">\r\n <div class=\"p-3\">\r\n <div class=\"profile-card\" [class.active]=\"ShowPreferencePathScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowPreferencePathScreen\"\r\n (click)=\"OpenPreferencePathScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowChangePasswordScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowChangePasswordScreen\"\r\n (click)=\"OpenChangePasswordScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ChangePassword\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowTimeZoneScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowTimeZoneScreen\"\r\n (click)=\"OpenTimezoneScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferredTimezone\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowLandinPgScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowLandinPgScreen\"\r\n (click)=\"OpenLandingPgConfig()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.LandingPageConfig\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowProxyTokenScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowProxyTokenScreen\"\r\n (click)=\"OpenProxyAccessTokenScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ProxyAccessToken\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- Left_Card_Ended -->\r\n\r\n <!-- Preference PathScreen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowPreferencePathScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"appSettingForm\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetType\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetTypeList\"\r\n formControlName=\"AssetType\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetType' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetTypePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n (onChange)=\"preferencePathValueChange(AssetTypeEvent)\"\r\n optionLabel=\"assetType\"\r\n [filter]=\"!isAssetTypeLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n [showClear]=\"false\"\r\n [resetFilterOnHide]=\"true\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetTypeLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetTypeLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetType')?.invalid &&\r\n appSettingForm.get('AssetType')?.touched\r\n ) {\r\n <span id=\"assettype-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetTypeFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetName\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetNameList\"\r\n formControlName=\"AssetName\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetName' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetNamePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n optionLabel=\"assetName\"\r\n [filter]=\"!isAssetNameLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n (onChange)=\"preferencePathValueChange(AssetNameEvent)\"\r\n filterBy=\"assetName\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetNameLoading}\"\r\n [showClear]=\"false\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetNameLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetName')?.invalid &&\r\n appSettingForm.get('AssetName')?.touched\r\n ) {\r\n <span id=\"assetname-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetNameFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConnectionMethod\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userServiceList\"\r\n formControlName=\"ServiceName\"\r\n ariaLabel=\"{{ 'Generic_lib.ConnectionMethod' | translate }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConnectionMethodPlaceholder' | translate\r\n }}\"\r\n optionLabel=\"tbvDescrption\"\r\n [filter]=\"true\"\r\n filterBy=\"tbvDescrption\"\r\n (onChange)=\"preferencePathValueChange(ConnectionMethodEvent)\"\r\n [filter]=\"!isConnectionMethodLoading ? true : false\"\r\n [showClear]=\"false\"\r\n panelStyleClass=\"{'dropdown-loader': isConnectionMethodLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isConnectionMethodLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n } </ng-template\r\n ></p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('ServiceName')?.invalid &&\r\n appSettingForm.get('ServiceName')?.touched\r\n ) {\r\n <span id=\"servicename-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConnectionMethodFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group position-relative\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"input-dropdown d-flex align-items-center\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-label=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-describedby=\"filepath-required-error filepath-space-error\"\r\n pInputText\r\n formControlName=\"filePathName\"\r\n id=\"filepath\"\r\n name=\"filepath\"\r\n autocomplete=\"off\"\r\n />\r\n <img\r\n src=\"assets/common-header-lib/images/filepath.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock ext\"\r\n />\r\n </div>\r\n @if (\r\n appSettingForm.get('filePathName')?.invalid &&\r\n (appSettingForm.get('filePathName')?.touched ||\r\n appSettingForm.get('filePathName')?.dirty)\r\n ) {\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['required']\r\n ) {\r\n <span id=\"filepath-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['noSpace']\r\n ) {\r\n <span id=\"filepath-space-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldSpaceValidation\" | translate\r\n }}</span>\r\n }\r\n }\r\n </div>\r\n @if (showStatus) {\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentSetting\" | translate }} :\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ filePathName }}</div>\r\n </div>\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.LastUpdated\" | translate }}\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ lastUpdatedFileStatus }}</div>\r\n </div>\r\n }\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n [disabled]=\"appSettingForm.invalid\"\r\n (onClick)=\"setUserPreferencePath(appSettingForm)\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- TimeZone Screen -->\r\n @if (ShowTimeZoneScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-timezone-configuration></app-timezone-configuration>\r\n </div>\r\n }\r\n\r\n <!-- LandingPg Config Screen -->\r\n @if (ShowLandinPgScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-landingpg-config></app-landingpg-config>\r\n </div>\r\n }\r\n\r\n <!-- Proxy Access Token Screen -->\r\n @if (ShowProxyTokenScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-proxy-access-token-configuration></app-proxy-access-token-configuration>\r\n </div>\r\n }\r\n\r\n <!--Change Password Screen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowChangePasswordScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"userResetPasswordForm\" class=\"lib-change-password-form\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <input\r\n type=\"{{ makeOldPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.PasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"oldUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"oldpwd\"\r\n name=\"oldpwd\"\r\n aria-describedby=\"oldpwd-error\"\r\n />\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show current password\"\r\n (change)=\"togglePasswordVisibility(1)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm.get('oldUserARCXWD')?.invalid &&\r\n userResetPasswordForm.get('oldUserARCXWD')?.touched\r\n ) {\r\n <span id=\"oldpwd-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.NewPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <input\r\n type=\"{{ makeNewPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.NewPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"newUserARCXWD\"\r\n id=\"newpwd\"\r\n autocomplete=\"off\"\r\n name=\"newpwd\"\r\n aria-describedby=\"newpwd-required-error newpwd-invalid-error\"\r\n />\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show new password\"\r\n (change)=\"togglePasswordVisibility(2)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.NewPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('pwdInvalid') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-invalid-error\" role=\"alert\" class=\"error-msg mt-2\">{{ pwderrorMsg }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConfirmPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <input\r\n type=\"{{ makeCnfrmPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConfirmPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"crnmNewUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"crnmnewpwd\"\r\n name=\"crnmnewpwd\"\r\n aria-describedby=\"crnmpwd-required-error crnmpwd-confirm-error\"\r\n />\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show confirm password\"\r\n (change)=\"togglePasswordVisibility(3)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('crnmNewUserARCXWD')?.touched\r\n ) {\r\n <span id=\"crnmpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConfirmPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('confirmedValidator')\r\n ) {\r\n <span id=\"crnmpwd-confirm-error\" role=\"alert\" class=\"error-msg mt-2\">\r\n {{\r\n \"Generic_lib.ConfirmPasswordFieldNewValidation\" | translate\r\n }}\r\n </span>\r\n }\r\n </div>\r\n\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n label=\"Update\"\r\n (onClick)=\"resetLoggedInPwd()\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [".pl{padding-left:0!important}.left-card{position:sticky;top:16px;max-height:calc(100vh - 120px);overflow-y:auto;height:450px!important;background:var(--ag-header-background-color)!important;border-radius:8px!important}.left-card .profile-label{font-size:13px!important;color:#292f4c!important;font-weight:600!important}.left-card .profile-text{color:#676879!important;font-size:12px!important;font-weight:400!important;line-height:20px!important}.initial-text{width:50px;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}.checkbox-visibility-icon{position:relative}.checkbox-visibility-icon input[type=checkbox]{opacity:0;position:absolute;top:4px;left:5px;transform:scale(1.7);z-index:2;cursor:pointer}.checkbox-visibility-icon input[type=checkbox]:checked+span{background:url(assets/common-header-lib/images/login-bg/visibility.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]:checked+span{height:12px;width:18px;background-size:17px}}.checkbox-visibility-icon input[type=checkbox]+span{background:url(assets/common-header-lib/images/login-bg/visibility_off.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]+span{height:24px;width:18px;background-size:17px}}.input-dropdown .p-inputtext{width:100%!important;border-radius:4px!important;font-size:12px!important;padding-left:28px!important;height:38px!important;border:1px solid #ced4da!important}.p-select-filter{border:1px solid #ced4da!important}.lib-change-password-form .input-dropdown .password-checkbox-right{top:50%;transform:translateY(-50%)}.lib-change-password-form .input-dropdown .p-inputtext:enabled:focus-visible{border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-change-password-form .checkbox-visibility-icon input[type=checkbox]:focus-visible+span{border-radius:4px;box-shadow:0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 calc(var(--focus-ring-width) + var(--focus-ring-glow-spread)) var(--focus-ring-glow-color)!important}.profile-card{cursor:pointer;border-radius:4px}.profile-card>.tertiary-btn{border-radius:inherit}.profile-card:hover{background:#e9ecef;color:#292f4c}.profile-card.active{cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2$2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: LandingpgConfigComponent, selector: "app-landingpg-config" }, { kind: "component", type: TimezoneConfigurationComponent, selector: "app-timezone-configuration", outputs: ["closepopup"] }, { kind: "component", type: ProxyAccessTokenConfigurationComponent, selector: "app-proxy-access-token-configuration" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2836
2894
|
}
|
|
2837
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2895
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: GeneralConfigurationComponent, decorators: [{
|
|
2838
2896
|
type: Component,
|
|
2839
|
-
args: [{ selector: 'app-general-configuration', providers: [DialogService], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, ReactiveFormsModule, InputTextModule, SelectModule, ButtonModule, TranslateModule, LandingpgConfigComponent, TimezoneConfigurationComponent, ProxyAccessTokenConfigurationComponent], template: "<div class=\"row my-3\">\r\n <!-- Left_Card_Started -->\r\n <div class=\"col-lg-4 pl-0\">\r\n <div class=\"left-card\">\r\n <div class=\"p-3\">\r\n <div class=\"profile-card\" [class.active]=\"ShowPreferencePathScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowPreferencePathScreen\"\r\n (click)=\"OpenPreferencePathScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowChangePasswordScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowChangePasswordScreen\"\r\n (click)=\"OpenChangePasswordScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ChangePassword\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowTimeZoneScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowTimeZoneScreen\"\r\n (click)=\"OpenTimezoneScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferredTimezone\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowLandinPgScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowLandinPgScreen\"\r\n (click)=\"OpenLandingPgConfig()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.LandingPageConfig\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowProxyTokenScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowProxyTokenScreen\"\r\n (click)=\"OpenProxyAccessTokenScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ProxyAccessToken\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- Left_Card_Ended -->\r\n\r\n <!-- Preference PathScreen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowPreferencePathScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"appSettingForm\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetType\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetTypeList\"\r\n formControlName=\"AssetType\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetType' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetTypePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n (onChange)=\"preferencePathValueChange(AssetTypeEvent)\"\r\n optionLabel=\"assetType\"\r\n [filter]=\"!isAssetTypeLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n [showClear]=\"false\"\r\n [resetFilterOnHide]=\"true\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetTypeLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetTypeLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetType')?.invalid &&\r\n appSettingForm.get('AssetType')?.touched\r\n ) {\r\n <span id=\"assettype-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetTypeFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetName\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetNameList\"\r\n formControlName=\"AssetName\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetName' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetNamePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n optionLabel=\"assetName\"\r\n [filter]=\"!isAssetNameLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n (onChange)=\"preferencePathValueChange(AssetNameEvent)\"\r\n filterBy=\"assetName\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetNameLoading}\"\r\n [showClear]=\"false\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetNameLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetName')?.invalid &&\r\n appSettingForm.get('AssetName')?.touched\r\n ) {\r\n <span id=\"assetname-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetNameFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConnectionMethod\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userServiceList\"\r\n formControlName=\"ServiceName\"\r\n ariaLabel=\"{{ 'Generic_lib.ConnectionMethod' | translate }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConnectionMethodPlaceholder' | translate\r\n }}\"\r\n optionLabel=\"tbvDescrption\"\r\n [filter]=\"true\"\r\n filterBy=\"tbvDescrption\"\r\n (onChange)=\"preferencePathValueChange(ConnectionMethodEvent)\"\r\n [filter]=\"!isConnectionMethodLoading ? true : false\"\r\n [showClear]=\"false\"\r\n panelStyleClass=\"{'dropdown-loader': isConnectionMethodLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isConnectionMethodLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n } </ng-template\r\n ></p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('ServiceName')?.invalid &&\r\n appSettingForm.get('ServiceName')?.touched\r\n ) {\r\n <span id=\"servicename-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConnectionMethodFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group position-relative\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"input-dropdown d-flex align-items-center\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-label=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-describedby=\"filepath-required-error filepath-space-error\"\r\n pInputText\r\n formControlName=\"filePathName\"\r\n id=\"filepath\"\r\n name=\"filepath\"\r\n autocomplete=\"off\"\r\n />\r\n <img\r\n src=\"assets/common-header-lib/images/filepath.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock ext\"\r\n />\r\n </div>\r\n @if (\r\n appSettingForm.get('filePathName')?.invalid &&\r\n (appSettingForm.get('filePathName')?.touched ||\r\n appSettingForm.get('filePathName')?.dirty)\r\n ) {\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['required']\r\n ) {\r\n <span id=\"filepath-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['noSpace']\r\n ) {\r\n <span id=\"filepath-space-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldSpaceValidation\" | translate\r\n }}</span>\r\n }\r\n }\r\n </div>\r\n @if (showStatus) {\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentSetting\" | translate }} :\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ filePathName }}</div>\r\n </div>\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.LastUpdated\" | translate }}\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ lastUpdatedFileStatus }}</div>\r\n </div>\r\n }\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n [disabled]=\"appSettingForm.invalid\"\r\n (onClick)=\"setUserPreferencePath(appSettingForm)\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- TimeZone Screen -->\r\n @if (ShowTimeZoneScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-timezone-configuration></app-timezone-configuration>\r\n </div>\r\n }\r\n\r\n <!-- LandingPg Config Screen -->\r\n @if (ShowLandinPgScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-landingpg-config></app-landingpg-config>\r\n </div>\r\n }\r\n\r\n <!-- Proxy Access Token Screen -->\r\n @if (ShowProxyTokenScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-proxy-access-token-configuration></app-proxy-access-token-configuration>\r\n </div>\r\n }\r\n\r\n <!--Change Password Screen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowChangePasswordScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"userResetPasswordForm\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show current password\"\r\n (change)=\"togglePasswordVisibility(1)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n type=\"{{ makeOldPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.PasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"oldUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"oldpwd\"\r\n name=\"oldpwd\"\r\n aria-describedby=\"oldpwd-error\"\r\n />\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm.get('oldUserARCXWD')?.invalid &&\r\n userResetPasswordForm.get('oldUserARCXWD')?.touched\r\n ) {\r\n <span id=\"oldpwd-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.NewPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show new password\"\r\n (change)=\"togglePasswordVisibility(2)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n type=\"{{ makeNewPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.NewPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"newUserARCXWD\"\r\n id=\"newpwd\"\r\n autocomplete=\"off\"\r\n name=\"newpwd\"\r\n aria-describedby=\"newpwd-required-error newpwd-invalid-error\"\r\n />\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.NewPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('pwdInvalid') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-invalid-error\" role=\"alert\" class=\"error-msg mt-2\">{{ pwderrorMsg }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConfirmPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show confirm password\"\r\n (change)=\"togglePasswordVisibility(3)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n <input\r\n type=\"{{ makeCnfrmPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConfirmPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"crnmNewUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"crnmnewpwd\"\r\n name=\"crnmnewpwd\"\r\n aria-describedby=\"crnmpwd-required-error crnmpwd-confirm-error\"\r\n />\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('crnmNewUserARCXWD')?.touched\r\n ) {\r\n <span id=\"crnmpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConfirmPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('confirmedValidator')\r\n ) {\r\n <span id=\"crnmpwd-confirm-error\" role=\"alert\" class=\"error-msg mt-2\">\r\n {{\r\n \"Generic_lib.ConfirmPasswordFieldNewValidation\" | translate\r\n }}\r\n </span>\r\n }\r\n </div>\r\n\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n label=\"Update\"\r\n (onClick)=\"resetLoggedInPwd()\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [".pl{padding-left:0!important}.left-card{position:sticky;top:16px;max-height:calc(100vh - 120px);overflow-y:auto;height:450px!important;background:var(--ag-header-background-color)!important;border-radius:8px!important}.left-card .profile-label{font-size:13px!important;color:#292f4c!important;font-weight:600!important}.left-card .profile-text{color:#676879!important;font-size:12px!important;font-weight:400!important;line-height:20px!important}.initial-text{width:50px;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}.checkbox-visibility-icon{position:relative}.checkbox-visibility-icon input[type=checkbox]{opacity:0;position:absolute;top:4px;left:5px;transform:scale(1.7);z-index:2;cursor:pointer}.checkbox-visibility-icon input[type=checkbox]:checked+span{background:url(assets/common-header-lib/images/login-bg/visibility.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]:checked+span{height:12px;width:18px;background-size:17px}}.checkbox-visibility-icon input[type=checkbox]+span{background:url(assets/common-header-lib/images/login-bg/visibility_off.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]+span{height:24px;width:18px;background-size:17px}}.input-dropdown .p-inputtext{width:100%!important;border-radius:4px!important;font-size:12px!important;padding-left:28px!important;height:38px!important;border:1px solid #ced4da!important}.p-select-filter{border:1px solid #ced4da!important}.profile-card{cursor:pointer;border-radius:4px}.profile-card>.tertiary-btn{border-radius:inherit}.profile-card:hover{background:#e9ecef;color:#292f4c}.profile-card.active{cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"] }]
|
|
2897
|
+
args: [{ selector: 'app-general-configuration', providers: [DialogService], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, ReactiveFormsModule, InputTextModule, SelectModule, ButtonModule, TranslateModule, LandingpgConfigComponent, TimezoneConfigurationComponent, ProxyAccessTokenConfigurationComponent], template: "<div class=\"row my-3\">\r\n <!-- Left_Card_Started -->\r\n <div class=\"col-lg-4 pl-0\">\r\n <div class=\"left-card\">\r\n <div class=\"p-3\">\r\n <div class=\"profile-card\" [class.active]=\"ShowPreferencePathScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowPreferencePathScreen\"\r\n (click)=\"OpenPreferencePathScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowChangePasswordScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowChangePasswordScreen\"\r\n (click)=\"OpenChangePasswordScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ChangePassword\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowTimeZoneScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowTimeZoneScreen\"\r\n (click)=\"OpenTimezoneScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.PreferredTimezone\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowLandinPgScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowLandinPgScreen\"\r\n (click)=\"OpenLandingPgConfig()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.LandingPageConfig\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n <div class=\"profile-card\" [class.active]=\"ShowProxyTokenScreen\">\r\n <button type=\"button\" class=\"tertiary-btn w-100 text-start\"\r\n [attr.aria-pressed]=\"ShowProxyTokenScreen\"\r\n (click)=\"OpenProxyAccessTokenScreen()\">\r\n <div class=\"p-2\">\r\n <div class=\"profile-label\">\r\n {{ \"Generic_lib.ProxyAccessToken\" | translate }}\r\n </div>\r\n </div>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <!-- Left_Card_Ended -->\r\n\r\n <!-- Preference PathScreen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowPreferencePathScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"appSettingForm\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetType\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetTypeList\"\r\n formControlName=\"AssetType\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetType' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetTypePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n (onChange)=\"preferencePathValueChange(AssetTypeEvent)\"\r\n optionLabel=\"assetType\"\r\n [filter]=\"!isAssetTypeLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n [showClear]=\"false\"\r\n [resetFilterOnHide]=\"true\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetTypeLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetTypeLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetType')?.invalid &&\r\n appSettingForm.get('AssetType')?.touched\r\n ) {\r\n <span id=\"assettype-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetTypeFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.AssetName\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userAssetNameList\"\r\n formControlName=\"AssetName\"\r\n ariaLabel=\"{{ 'Generic_lib.AssetName' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.AssetNamePlaceholder' | translate\r\n }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n optionLabel=\"assetName\"\r\n [filter]=\"!isAssetNameLoading ? true : false\"\r\n filterBy=\"assetType\"\r\n (onChange)=\"preferencePathValueChange(AssetNameEvent)\"\r\n filterBy=\"assetName\"\r\n panelStyleClass=\"{'dropdown-loader': isAssetNameLoading}\"\r\n [showClear]=\"false\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isAssetNameLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n }\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('AssetName')?.invalid &&\r\n appSettingForm.get('AssetName')?.touched\r\n ) {\r\n <span id=\"assetname-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.AssetNameFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConnectionMethod\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"assets-dropdown\">\r\n <p-select\r\n [options]=\"userServiceList\"\r\n formControlName=\"ServiceName\"\r\n ariaLabel=\"{{ 'Generic_lib.ConnectionMethod' | translate }}\"\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConnectionMethodPlaceholder' | translate\r\n }}\"\r\n optionLabel=\"tbvDescrption\"\r\n [filter]=\"true\"\r\n filterBy=\"tbvDescrption\"\r\n (onChange)=\"preferencePathValueChange(ConnectionMethodEvent)\"\r\n [filter]=\"!isConnectionMethodLoading ? true : false\"\r\n [showClear]=\"false\"\r\n panelStyleClass=\"{'dropdown-loader': isConnectionMethodLoading}\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n @if (isConnectionMethodLoading) {\r\n <div class=\"dropdown-loader-container\">\r\n <i class=\"pi pi-spin pi-spinner\"></i>\r\n </div>\r\n } </ng-template\r\n ></p-select>\r\n </div>\r\n @if (\r\n appSettingForm.get('ServiceName')?.invalid &&\r\n appSettingForm.get('ServiceName')?.touched\r\n ) {\r\n <span id=\"servicename-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConnectionMethodFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group position-relative\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.PreferencePath\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div class=\"input-dropdown d-flex align-items-center\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-label=\"{{ 'Generic_lib.PreferencePath' | translate }}\"\r\n aria-describedby=\"filepath-required-error filepath-space-error\"\r\n pInputText\r\n formControlName=\"filePathName\"\r\n id=\"filepath\"\r\n name=\"filepath\"\r\n autocomplete=\"off\"\r\n />\r\n <img\r\n src=\"assets/common-header-lib/images/filepath.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock ext\"\r\n />\r\n </div>\r\n @if (\r\n appSettingForm.get('filePathName')?.invalid &&\r\n (appSettingForm.get('filePathName')?.touched ||\r\n appSettingForm.get('filePathName')?.dirty)\r\n ) {\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['required']\r\n ) {\r\n <span id=\"filepath-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n appSettingForm.controls['filePathName'].errors?.['noSpace']\r\n ) {\r\n <span id=\"filepath-space-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PreferencePathFieldSpaceValidation\" | translate\r\n }}</span>\r\n }\r\n }\r\n </div>\r\n @if (showStatus) {\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentSetting\" | translate }} :\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ filePathName }}</div>\r\n </div>\r\n <div class=\"form-group d-flex align-items-center\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.LastUpdated\" | translate }}\r\n </div>\r\n <div class=\"cur-text mx-2\">{{ lastUpdatedFileStatus }}</div>\r\n </div>\r\n }\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n [disabled]=\"appSettingForm.invalid\"\r\n (onClick)=\"setUserPreferencePath(appSettingForm)\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n\r\n <!-- TimeZone Screen -->\r\n @if (ShowTimeZoneScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-timezone-configuration></app-timezone-configuration>\r\n </div>\r\n }\r\n\r\n <!-- LandingPg Config Screen -->\r\n @if (ShowLandinPgScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-landingpg-config></app-landingpg-config>\r\n </div>\r\n }\r\n\r\n <!-- Proxy Access Token Screen -->\r\n @if (ShowProxyTokenScreen) {\r\n <div class=\"col-lg-6\">\r\n <app-proxy-access-token-configuration></app-proxy-access-token-configuration>\r\n </div>\r\n }\r\n\r\n <!--Change Password Screen -->\r\n <ng-container>\r\n <div class=\"col-lg-6\" [hidden]=\"!ShowChangePasswordScreen\">\r\n <div class=\"preference-container\">\r\n <div class=\"mt-3\">\r\n <form [formGroup]=\"userResetPasswordForm\" class=\"lib-change-password-form\">\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.CurrentPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <input\r\n type=\"{{ makeOldPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.PasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"oldUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"oldpwd\"\r\n name=\"oldpwd\"\r\n aria-describedby=\"oldpwd-error\"\r\n />\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show current password\"\r\n (change)=\"togglePasswordVisibility(1)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm.get('oldUserARCXWD')?.invalid &&\r\n userResetPasswordForm.get('oldUserARCXWD')?.touched\r\n ) {\r\n <span id=\"oldpwd-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.PasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.NewPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <input\r\n type=\"{{ makeNewPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.NewPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"newUserARCXWD\"\r\n id=\"newpwd\"\r\n autocomplete=\"off\"\r\n name=\"newpwd\"\r\n aria-describedby=\"newpwd-required-error newpwd-invalid-error\"\r\n />\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show new password\"\r\n (change)=\"togglePasswordVisibility(2)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.NewPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('newUserARCXWD')\r\n ?.hasError('pwdInvalid') &&\r\n userResetPasswordForm.get('newUserARCXWD')?.touched\r\n ) {\r\n <span id=\"newpwd-invalid-error\" role=\"alert\" class=\"error-msg mt-2\">{{ pwderrorMsg }}</span>\r\n }\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"d-flex\">\r\n <div class=\"label-name\">\r\n {{ \"Generic_lib.ConfirmPassword\" | translate }}\r\n </div>\r\n <abbr class=\"madontary-icon\" [attr.aria-label]=\"'Generic_lib.Required' | translate\">*</abbr>\r\n </div>\r\n <div\r\n class=\"input-dropdown d-flex align-items-center position-relative\"\r\n >\r\n <input\r\n type=\"{{ makeCnfrmPwdVisible ? 'password' : 'text' }}\"\r\n placeholder=\"{{\r\n 'Generic_lib.ConfirmPasswordPlaceholder' | translate\r\n }}\"\r\n pInputText\r\n formControlName=\"crnmNewUserARCXWD\"\r\n autocomplete=\"off\"\r\n id=\"crnmnewpwd\"\r\n name=\"crnmnewpwd\"\r\n aria-describedby=\"crnmpwd-required-error crnmpwd-confirm-error\"\r\n />\r\n <div class=\"password-checkbox-right\">\r\n <div class=\"checkbox-visibility-icon\">\r\n <input\r\n type=\"checkbox\"\r\n aria-label=\"Show confirm password\"\r\n (change)=\"togglePasswordVisibility(3)\"\r\n autocomplete=\"off\"\r\n />\r\n <span></span>\r\n </div>\r\n </div>\r\n\r\n <img\r\n src=\"assets/common-header-lib/images/lock-pass.svg\"\r\n alt=\"\" aria-hidden=\"true\"\r\n class=\"position-absolute mx-2 img-lock\"\r\n />\r\n </div>\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('required') &&\r\n userResetPasswordForm.get('crnmNewUserARCXWD')?.touched\r\n ) {\r\n <span id=\"crnmpwd-required-error\" role=\"alert\" class=\"error-msg mt-2\">{{\r\n \"Generic_lib.ConfirmPasswordFieldValidation\" | translate\r\n }}</span>\r\n }\r\n @if (\r\n userResetPasswordForm\r\n .get('crnmNewUserARCXWD')\r\n ?.hasError('confirmedValidator')\r\n ) {\r\n <span id=\"crnmpwd-confirm-error\" role=\"alert\" class=\"error-msg mt-2\">\r\n {{\r\n \"Generic_lib.ConfirmPasswordFieldNewValidation\" | translate\r\n }}\r\n </span>\r\n }\r\n </div>\r\n\r\n <div class=\"mt-4\">\r\n <p-button\r\n class=\"submit-btn\"\r\n label=\"{{ 'Generic_lib.Update' | translate }}\"\r\n iconPos=\"right\"\r\n [loading]=\"isPathUpdated\"\r\n label=\"Update\"\r\n (onClick)=\"resetLoggedInPwd()\"\r\n ></p-button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: [".pl{padding-left:0!important}.left-card{position:sticky;top:16px;max-height:calc(100vh - 120px);overflow-y:auto;height:450px!important;background:var(--ag-header-background-color)!important;border-radius:8px!important}.left-card .profile-label{font-size:13px!important;color:#292f4c!important;font-weight:600!important}.left-card .profile-text{color:#676879!important;font-size:12px!important;font-weight:400!important;line-height:20px!important}.initial-text{width:50px;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.preference-container .path-title{font-size:20px;color:#292f4c}.preference-container .form-group{margin-bottom:15px}.preference-container .label-name{font-size:12px;color:#292f4c;line-height:26px;font-weight:600}.preference-container .cur-text{font-size:12px;color:#676879;line-height:26px;font-weight:600}.checkbox-visibility-icon{position:relative}.checkbox-visibility-icon input[type=checkbox]{opacity:0;position:absolute;top:4px;left:5px;transform:scale(1.7);z-index:2;cursor:pointer}.checkbox-visibility-icon input[type=checkbox]:checked+span{background:url(assets/common-header-lib/images/login-bg/visibility.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]:checked+span{height:12px;width:18px;background-size:17px}}.checkbox-visibility-icon input[type=checkbox]+span{background:url(assets/common-header-lib/images/login-bg/visibility_off.svg) no-repeat 0px;height:12px;width:18px;display:block;background-size:17px}@media(min-width:992px){.checkbox-visibility-icon input[type=checkbox]+span{height:24px;width:18px;background-size:17px}}.input-dropdown .p-inputtext{width:100%!important;border-radius:4px!important;font-size:12px!important;padding-left:28px!important;height:38px!important;border:1px solid #ced4da!important}.p-select-filter{border:1px solid #ced4da!important}.lib-change-password-form .input-dropdown .password-checkbox-right{top:50%;transform:translateY(-50%)}.lib-change-password-form .input-dropdown .p-inputtext:enabled:focus-visible{border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-change-password-form .checkbox-visibility-icon input[type=checkbox]:focus-visible+span{border-radius:4px;box-shadow:0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 calc(var(--focus-ring-width) + var(--focus-ring-glow-spread)) var(--focus-ring-glow-color)!important}.profile-card{cursor:pointer;border-radius:4px}.profile-card>.tertiary-btn{border-radius:inherit}.profile-card:hover{background:#e9ecef;color:#292f4c}.profile-card.active{cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"] }]
|
|
2840
2898
|
}] });
|
|
2841
2899
|
|
|
2842
2900
|
class NgTranslationComponent {
|
|
@@ -2912,10 +2970,10 @@ class NgTranslationComponent {
|
|
|
2912
2970
|
saveUserLanguage(lang) {
|
|
2913
2971
|
this._localstorage.saveData(COOKIECONSTANT.USERLANG, JSON.stringify(lang));
|
|
2914
2972
|
}
|
|
2915
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2916
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
2973
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NgTranslationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2974
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.24", type: NgTranslationComponent, isStandalone: true, selector: "ng-translation", inputs: { languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<p-select [options]=\"languageList\" optionLabel=\"langName\"\r\n ariaLabel=\"{{ 'Generic_lib.SelectLanguage' | translate }}\"\r\n placeholder='{{ \"Generic_lib.SelectLanguage\" | translate }}'\r\n (onChange)=\"selectLang($event)\" [filter]=\"true\" filterBy=\"langName\"\r\n filterPlaceholder='{{ \"Generic_lib.Search\" | translate }}' [showClear]=\"false\"\r\n [(ngModel)]=\"selectedLang\"></p-select>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2917
2975
|
}
|
|
2918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NgTranslationComponent, decorators: [{
|
|
2919
2977
|
type: Component,
|
|
2920
2978
|
args: [{ selector: 'ng-translation', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [SelectModule, FormsModule, TranslateModule], template: "<p-select [options]=\"languageList\" optionLabel=\"langName\"\r\n ariaLabel=\"{{ 'Generic_lib.SelectLanguage' | translate }}\"\r\n placeholder='{{ \"Generic_lib.SelectLanguage\" | translate }}'\r\n (onChange)=\"selectLang($event)\" [filter]=\"true\" filterBy=\"langName\"\r\n filterPlaceholder='{{ \"Generic_lib.Search\" | translate }}' [showClear]=\"false\"\r\n [(ngModel)]=\"selectedLang\"></p-select>\r\n" }]
|
|
2921
2979
|
}], ctorParameters: () => [], propDecorators: { languages: [{ type: i0.Input, args: [{ isSignal: true, alias: "languages", required: false }] }] } });
|
|
@@ -3155,10 +3213,10 @@ class UserSidebarComponent {
|
|
|
3155
3213
|
clearInterval(this.sessionTimerInterval);
|
|
3156
3214
|
}
|
|
3157
3215
|
}
|
|
3158
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3159
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: UserSidebarComponent, isStandalone: true, selector: "app-user-sidebar", inputs: { languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null }, EnableLearningCenter: { classPropertyName: "EnableLearningCenter", publicName: "EnableLearningCenter", isSignal: true, isRequired: false, transformFunction: null }, EnableGeneralConfiguration: { classPropertyName: "EnableGeneralConfiguration", publicName: "EnableGeneralConfiguration", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeDialogBox: "closeDialogBox" }, providers: [DialogService], ngImport: i0, template: "<div class=\"white-bg\">\r\n <div class=\"sidebar-outer white-bg\">\r\n <div class=\"sidebar-header grey-background\">\r\n <div class=\"sh-top\">\r\n <div class=\"sh-top-left d-flex\">\r\n <img\r\n src=\"assets/common-header-lib/images/logout.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn mx-2 log-text p-0\"\r\n (click)=\"logoutCurrentUser()\"\r\n >\r\n {{ \"Generic_lib.Logout\" | translate }}\r\n </button>\r\n </div>\r\n <div class=\"sh-top-right\">\r\n <button\r\n type=\"button\"\r\n class=\"common-bn tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Close' | translate }}\"\r\n (click)=\"getcloseDialogBox()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/close.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n title=\"Close\"\r\n />\r\n </button>\r\n </div>\r\n </div>\r\n @if (showProfile) {\r\n <div class=\"sh-bottom d-flex pt-3\">\r\n @if (userdisplayName && userdisplayName.length > 0) {\r\n <div class=\"initial-text\">\r\n {{ userdisplayName | sliceToTwo }}\r\n </div>\r\n } @else {\r\n <div class=\"initial-text\">\r\n {{ \"NA\" }}\r\n </div>\r\n }\r\n <div class=\"sh-bottom-content\">\r\n <div class=\"user-name-row\">\r\n <h4 class=\"title\">\r\n <span\r\n class=\"title-text\"\r\n [pTooltip]=\"userDetails['userDisplayName']\"\r\n tooltipStyleClass=\"lib-ui name-tooltip\"\r\n tooltipPosition=\"bottom\"\r\n >{{ userDetails[\"userDisplayName\"] }}</span\r\n >\r\n </h4>\r\n <button\r\n type=\"button\"\r\n class=\"copy-name-btn\"\r\n (click)=\"copyUserDisplayName()\"\r\n [pTooltip]=\"(isNameCopied ? 'Generic_lib.Copied' : 'Generic_lib.Copy') | translate\"\r\n tooltipStyleClass=\"lib-ui\"\r\n tooltipPosition=\"bottom\"\r\n [attr.aria-label]=\"'Generic_lib.Copy' | translate\"\r\n data-testid=\"user-name-copy-button\"\r\n >\r\n <img\r\n [class.copied]=\"isNameCopied\"\r\n [src]=\"\r\n isNameCopied\r\n ? 'assets/common-header-lib/images/check.svg'\r\n : 'assets/common-header-lib/images/copy.svg'\r\n \"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n </div>\r\n <p class=\"email-text\" [title]=\"userDetails['emailID']\">\r\n {{ userDetails[\"emailID\"] }}\r\n </p>\r\n <div class=\"sh-bottom-content-ls\">\r\n @if (\r\n userDetails[\"lastLogIn\"] &&\r\n !userDetails[\"lastLogIn\"].includes(\"NA\")\r\n ) {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>{{ userDetails[\"lastLogIn\"] }}</p>\r\n } @else {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>NA</p>\r\n }\r\n </div>\r\n <div class=\"sh-bottom-content-ls session-content\">\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.CurrentSession\" | translate }} :\r\n </p>\r\n <p>\r\n {{ Hr }} {{ \"Generic_lib.hrs\" | translate }} {{ min }}\r\n {{ \"Generic_lib.min\" | translate }} {{ sec }}\r\n {{ \"Generic_lib.secs\" | translate }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"loading-skeleton d-flex p-3\" aria-hidden=\"true\">\r\n <p-skeleton shape=\"circle\" size=\"4rem\" styleClass=\"mr-2\"></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"10rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton\r\n width=\"8rem\"\r\n height=\".7rem\"\r\n styleClass=\"mb-2\"\r\n ></p-skeleton>\r\n <p-skeleton width=\"5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton height=\".5rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"sidebar-body\">\r\n <div class=\"sb-list pb-20px\">\r\n <ul>\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/domain_img.svg\"\r\n loading=\"lazy\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"mx-2 lang-dropdown\">\r\n <ng-translation [languages]=\"languages()\"></ng-translation>\r\n </div>\r\n </li>\r\n @if (EnableLearningCenter()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/local.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"OpenArconLearningCenter()\"\r\n >\r\n {{ \"Generic_lib.ArconCIResourceCenter\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n\r\n @if (EnableGeneralConfiguration()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/settings.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"openUserSettingPanel()\"\r\n >\r\n {{ \"Generic_lib.GeneralConfiguration\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".white-bg{background-color:var(--white-color)!important;width:100%!important}.grey-background{background-color:var(--ag-header-background-color, #f6f7fb)!important}.imgs{width:20px!important}.cursor-pointer{cursor:pointer}.sidebar-outer{width:100%!important;float:left!important}.sidebar-outer .sidebar-header{padding:12px 15px!important}.sidebar-outer .sidebar-header .sh-top{display:flex!important;align-items:center!important;justify-content:space-between!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left{display:flex!important;align-items:center!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left .log-text{font-size:14px!important;font-weight:500!important;cursor:pointer!important}.sidebar-outer .sidebar-header .sh-top .sh-top-right button{height:24px!important;border:none!important;background-color:transparent!important}.sidebar-outer .sidebar-header .sh-bottom{display:flex!important;padding-top:16px!important}.sidebar-outer .sidebar-header .sh-bottom .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content{padding:0 70px 0 14px!important;min-width:0!important;flex:1 1 auto!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .user-name-row{display:flex;align-items:center;gap:8px;padding-right:70px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title{font-size:17px!important;font-weight:600!important;line-height:21px!important;margin-bottom:2px!important;color:#292f4c!important;flex:0 1 auto;min-width:0}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title .title-text{display:inline-block;max-width:100%;vertical-align:bottom;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn{flex-shrink:0;width:28px;height:28px;padding:0;border:0;border-radius:50%;background-color:var(--white-color);display:flex;align-items:center;justify-content:center;cursor:pointer}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img{width:16px;height:16px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img.copied{width:22px!important;height:22px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .email-text{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content p{font-size:14px!important;line-height:22px!important;color:#676879!important;margin-bottom:0!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .sh-bottom-content-ls{display:flex!important;align-items:center!important;font-size:12px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .session-content{position:relative!important;bottom:2px!important}.sidebar-outer .sidebar-body{padding:12px 20px!important;width:100%!important}.sidebar-outer .sidebar-body .sb-list{width:100%!important}.sidebar-outer .sidebar-body .sb-list ul{width:100%!important;list-style:none;padding-left:0;margin:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex!important;align-items:center!important;padding:8px 2px!important;cursor:pointer!important}.sidebar-outer .sidebar-body .sb-list ul li img{width:18px}.sidebar-outer .sidebar-body .sb-list ul li p{margin:0 0 0 8px!important;font-size:14px!important}.sidebar-outer .sidebar-body .sb-list ul li .lang-dropdown{margin-left:8px!important}.accessibility-container{background-color:var(--white-smoke-6);padding:7px 20px}.accessibility-container .btn{align-content:center;align-items:center;border:1px solid var(--dark-grey-color);color:var(--dim-grey-color);display:flex;font-size:10px;height:20px;justify-content:center;padding:0;width:20px;margin-right:5px;overflow:hidden}.accessibility-container .btn:last-child{margin-right:0}.accessibility-container .btn .theme{display:block;height:100%;margin-left:-50%;width:60%}.accessibility-container .btn .theme-red{background-color:var(--primary-color)}.accessibility-container .btn .theme-black{background-color:var(--black-color)}.accessibility-container .btn .theme-blue{background-color:var(--theme-blue)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: NgTranslationComponent, selector: "ng-translation", inputs: ["languages"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: SliceToTwoPipe, name: "sliceToTwo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: UserSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: UserSidebarComponent, isStandalone: true, selector: "app-user-sidebar", inputs: { languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null }, EnableLearningCenter: { classPropertyName: "EnableLearningCenter", publicName: "EnableLearningCenter", isSignal: true, isRequired: false, transformFunction: null }, EnableGeneralConfiguration: { classPropertyName: "EnableGeneralConfiguration", publicName: "EnableGeneralConfiguration", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closeDialogBox: "closeDialogBox" }, providers: [DialogService], ngImport: i0, template: "<div class=\"white-bg\">\r\n <div class=\"sidebar-outer white-bg\">\r\n <div class=\"sidebar-header grey-background\">\r\n <div class=\"sh-top\">\r\n <div class=\"sh-top-left d-flex\">\r\n <img\r\n src=\"assets/common-header-lib/images/logout.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn mx-2 log-text p-0\"\r\n (click)=\"logoutCurrentUser()\"\r\n >\r\n {{ \"Generic_lib.Logout\" | translate }}\r\n </button>\r\n </div>\r\n <div class=\"sh-top-right\">\r\n <button\r\n type=\"button\"\r\n class=\"common-bn tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Close' | translate }}\"\r\n (click)=\"getcloseDialogBox()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/close.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n title=\"Close\"\r\n />\r\n </button>\r\n </div>\r\n </div>\r\n @if (showProfile) {\r\n <div class=\"sh-bottom d-flex pt-3\">\r\n @if (userdisplayName && userdisplayName.length > 0) {\r\n <div class=\"initial-text\">\r\n {{ userdisplayName | sliceToTwo }}\r\n </div>\r\n } @else {\r\n <div class=\"initial-text\">\r\n {{ \"NA\" }}\r\n </div>\r\n }\r\n <div class=\"sh-bottom-content\">\r\n <div class=\"user-name-row\">\r\n <h4 class=\"title\">\r\n <span\r\n class=\"title-text\"\r\n [pTooltip]=\"userDetails['userDisplayName']\"\r\n tooltipStyleClass=\"lib-ui name-tooltip\"\r\n tooltipPosition=\"bottom\"\r\n >{{ userDetails[\"userDisplayName\"] }}</span\r\n >\r\n </h4>\r\n <button\r\n type=\"button\"\r\n class=\"copy-name-btn\"\r\n (click)=\"copyUserDisplayName()\"\r\n [pTooltip]=\"(isNameCopied ? 'Generic_lib.Copied' : 'Generic_lib.Copy') | translate\"\r\n tooltipStyleClass=\"lib-ui\"\r\n tooltipPosition=\"bottom\"\r\n [attr.aria-label]=\"'Generic_lib.Copy' | translate\"\r\n data-testid=\"user-name-copy-button\"\r\n >\r\n <img\r\n [class.copied]=\"isNameCopied\"\r\n [src]=\"\r\n isNameCopied\r\n ? 'assets/common-header-lib/images/check.svg'\r\n : 'assets/common-header-lib/images/copy.svg'\r\n \"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n </div>\r\n <p class=\"email-text\" [title]=\"userDetails['emailID']\">\r\n {{ userDetails[\"emailID\"] }}\r\n </p>\r\n <div class=\"sh-bottom-content-ls\">\r\n @if (\r\n userDetails[\"lastLogIn\"] &&\r\n !userDetails[\"lastLogIn\"].includes(\"NA\")\r\n ) {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>{{ userDetails[\"lastLogIn\"] }}</p>\r\n } @else {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>NA</p>\r\n }\r\n </div>\r\n <div class=\"sh-bottom-content-ls session-content\">\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.CurrentSession\" | translate }} :\r\n </p>\r\n <p>\r\n {{ Hr }} {{ \"Generic_lib.hrs\" | translate }} {{ min }}\r\n {{ \"Generic_lib.min\" | translate }} {{ sec }}\r\n {{ \"Generic_lib.secs\" | translate }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"loading-skeleton d-flex p-3\" aria-hidden=\"true\">\r\n <p-skeleton shape=\"circle\" size=\"4rem\" styleClass=\"mr-2\"></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"10rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton\r\n width=\"8rem\"\r\n height=\".7rem\"\r\n styleClass=\"mb-2\"\r\n ></p-skeleton>\r\n <p-skeleton width=\"5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton height=\".5rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"sidebar-body\">\r\n <div class=\"sb-list pb-20px\">\r\n <ul>\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/domain_img.svg\"\r\n loading=\"lazy\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"mx-2 lang-dropdown\">\r\n <ng-translation [languages]=\"languages()\"></ng-translation>\r\n </div>\r\n </li>\r\n @if (EnableLearningCenter()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/local.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"OpenArconLearningCenter()\"\r\n >\r\n {{ \"Generic_lib.ArconCIResourceCenter\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n\r\n @if (EnableGeneralConfiguration()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/settings.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"openUserSettingPanel()\"\r\n >\r\n {{ \"Generic_lib.GeneralConfiguration\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".white-bg{background-color:var(--white-color)!important;width:100%!important}.grey-background{background-color:var(--ag-header-background-color, #f6f7fb)!important}.imgs{width:20px!important}.cursor-pointer{cursor:pointer}.sidebar-outer{width:100%!important;float:left!important}.sidebar-outer .sidebar-header{padding:12px 15px!important}.sidebar-outer .sidebar-header .sh-top{display:flex!important;align-items:center!important;justify-content:space-between!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left{display:flex!important;align-items:center!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left .log-text{font-size:14px!important;font-weight:500!important;cursor:pointer!important}.sidebar-outer .sidebar-header .sh-top .sh-top-right button{height:24px!important;border:none!important;background-color:transparent!important}.sidebar-outer .sidebar-header .sh-top .sh-top-right button:focus-visible{box-shadow:inset 0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.sidebar-outer .sidebar-header .sh-bottom{display:flex!important;padding-top:16px!important}.sidebar-outer .sidebar-header .sh-bottom .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content{padding:0 70px 0 14px!important;min-width:0!important;flex:1 1 auto!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .user-name-row{display:flex;align-items:center;gap:8px;padding-right:70px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title{font-size:17px!important;font-weight:600!important;line-height:21px!important;margin-bottom:2px!important;color:#292f4c!important;flex:0 1 auto;min-width:0}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title .title-text{display:inline-block;max-width:100%;vertical-align:bottom;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn{flex-shrink:0;width:28px;height:28px;padding:0;border:0;border-radius:50%;background-color:var(--white-color);display:flex;align-items:center;justify-content:center;cursor:pointer}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img{width:16px;height:16px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img.copied{width:22px!important;height:22px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .email-text{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content p{font-size:14px!important;line-height:22px!important;color:#676879!important;margin-bottom:0!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .sh-bottom-content-ls{display:flex!important;align-items:center!important;font-size:12px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .session-content{position:relative!important;bottom:2px!important}.sidebar-outer .sidebar-body{padding:12px 20px!important;width:100%!important}.sidebar-outer .sidebar-body .sb-list{width:100%!important}.sidebar-outer .sidebar-body .sb-list ul{width:100%!important;list-style:none;padding-left:0;margin:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex!important;align-items:center!important;padding:8px 2px!important;cursor:pointer!important}.sidebar-outer .sidebar-body .sb-list ul li img{width:18px}.sidebar-outer .sidebar-body .sb-list ul li p{margin:0 0 0 8px!important;font-size:14px!important}.sidebar-outer .sidebar-body .sb-list ul li .lang-dropdown{margin-left:8px!important}.accessibility-container{background-color:var(--white-smoke-6);padding:7px 20px}.accessibility-container .btn{align-content:center;align-items:center;border:1px solid var(--dark-grey-color);color:var(--dim-grey-color);display:flex;font-size:10px;height:20px;justify-content:center;padding:0;width:20px;margin-right:5px;overflow:hidden}.accessibility-container .btn:last-child{margin-right:0}.accessibility-container .btn .theme{display:block;height:100%;margin-left:-50%;width:60%}.accessibility-container .btn .theme-red{background-color:var(--primary-color)}.accessibility-container .btn .theme-black{background-color:var(--black-color)}.accessibility-container .btn .theme-blue{background-color:var(--theme-blue)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i3$1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: NgTranslationComponent, selector: "ng-translation", inputs: ["languages"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: SliceToTwoPipe, name: "sliceToTwo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3160
3218
|
}
|
|
3161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: UserSidebarComponent, decorators: [{
|
|
3162
3220
|
type: Component,
|
|
3163
3221
|
args: [{ selector: 'app-user-sidebar', providers: [DialogService], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
3164
3222
|
CommonModule,
|
|
@@ -3167,7 +3225,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
3167
3225
|
TranslateModule,
|
|
3168
3226
|
NgTranslationComponent,
|
|
3169
3227
|
SliceToTwoPipe,
|
|
3170
|
-
], template: "<div class=\"white-bg\">\r\n <div class=\"sidebar-outer white-bg\">\r\n <div class=\"sidebar-header grey-background\">\r\n <div class=\"sh-top\">\r\n <div class=\"sh-top-left d-flex\">\r\n <img\r\n src=\"assets/common-header-lib/images/logout.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn mx-2 log-text p-0\"\r\n (click)=\"logoutCurrentUser()\"\r\n >\r\n {{ \"Generic_lib.Logout\" | translate }}\r\n </button>\r\n </div>\r\n <div class=\"sh-top-right\">\r\n <button\r\n type=\"button\"\r\n class=\"common-bn tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Close' | translate }}\"\r\n (click)=\"getcloseDialogBox()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/close.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n title=\"Close\"\r\n />\r\n </button>\r\n </div>\r\n </div>\r\n @if (showProfile) {\r\n <div class=\"sh-bottom d-flex pt-3\">\r\n @if (userdisplayName && userdisplayName.length > 0) {\r\n <div class=\"initial-text\">\r\n {{ userdisplayName | sliceToTwo }}\r\n </div>\r\n } @else {\r\n <div class=\"initial-text\">\r\n {{ \"NA\" }}\r\n </div>\r\n }\r\n <div class=\"sh-bottom-content\">\r\n <div class=\"user-name-row\">\r\n <h4 class=\"title\">\r\n <span\r\n class=\"title-text\"\r\n [pTooltip]=\"userDetails['userDisplayName']\"\r\n tooltipStyleClass=\"lib-ui name-tooltip\"\r\n tooltipPosition=\"bottom\"\r\n >{{ userDetails[\"userDisplayName\"] }}</span\r\n >\r\n </h4>\r\n <button\r\n type=\"button\"\r\n class=\"copy-name-btn\"\r\n (click)=\"copyUserDisplayName()\"\r\n [pTooltip]=\"(isNameCopied ? 'Generic_lib.Copied' : 'Generic_lib.Copy') | translate\"\r\n tooltipStyleClass=\"lib-ui\"\r\n tooltipPosition=\"bottom\"\r\n [attr.aria-label]=\"'Generic_lib.Copy' | translate\"\r\n data-testid=\"user-name-copy-button\"\r\n >\r\n <img\r\n [class.copied]=\"isNameCopied\"\r\n [src]=\"\r\n isNameCopied\r\n ? 'assets/common-header-lib/images/check.svg'\r\n : 'assets/common-header-lib/images/copy.svg'\r\n \"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n </div>\r\n <p class=\"email-text\" [title]=\"userDetails['emailID']\">\r\n {{ userDetails[\"emailID\"] }}\r\n </p>\r\n <div class=\"sh-bottom-content-ls\">\r\n @if (\r\n userDetails[\"lastLogIn\"] &&\r\n !userDetails[\"lastLogIn\"].includes(\"NA\")\r\n ) {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>{{ userDetails[\"lastLogIn\"] }}</p>\r\n } @else {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>NA</p>\r\n }\r\n </div>\r\n <div class=\"sh-bottom-content-ls session-content\">\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.CurrentSession\" | translate }} :\r\n </p>\r\n <p>\r\n {{ Hr }} {{ \"Generic_lib.hrs\" | translate }} {{ min }}\r\n {{ \"Generic_lib.min\" | translate }} {{ sec }}\r\n {{ \"Generic_lib.secs\" | translate }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"loading-skeleton d-flex p-3\" aria-hidden=\"true\">\r\n <p-skeleton shape=\"circle\" size=\"4rem\" styleClass=\"mr-2\"></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"10rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton\r\n width=\"8rem\"\r\n height=\".7rem\"\r\n styleClass=\"mb-2\"\r\n ></p-skeleton>\r\n <p-skeleton width=\"5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton height=\".5rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"sidebar-body\">\r\n <div class=\"sb-list pb-20px\">\r\n <ul>\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/domain_img.svg\"\r\n loading=\"lazy\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"mx-2 lang-dropdown\">\r\n <ng-translation [languages]=\"languages()\"></ng-translation>\r\n </div>\r\n </li>\r\n @if (EnableLearningCenter()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/local.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"OpenArconLearningCenter()\"\r\n >\r\n {{ \"Generic_lib.ArconCIResourceCenter\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n\r\n @if (EnableGeneralConfiguration()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/settings.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"openUserSettingPanel()\"\r\n >\r\n {{ \"Generic_lib.GeneralConfiguration\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".white-bg{background-color:var(--white-color)!important;width:100%!important}.grey-background{background-color:var(--ag-header-background-color, #f6f7fb)!important}.imgs{width:20px!important}.cursor-pointer{cursor:pointer}.sidebar-outer{width:100%!important;float:left!important}.sidebar-outer .sidebar-header{padding:12px 15px!important}.sidebar-outer .sidebar-header .sh-top{display:flex!important;align-items:center!important;justify-content:space-between!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left{display:flex!important;align-items:center!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left .log-text{font-size:14px!important;font-weight:500!important;cursor:pointer!important}.sidebar-outer .sidebar-header .sh-top .sh-top-right button{height:24px!important;border:none!important;background-color:transparent!important}.sidebar-outer .sidebar-header .sh-bottom{display:flex!important;padding-top:16px!important}.sidebar-outer .sidebar-header .sh-bottom .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content{padding:0 70px 0 14px!important;min-width:0!important;flex:1 1 auto!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .user-name-row{display:flex;align-items:center;gap:8px;padding-right:70px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title{font-size:17px!important;font-weight:600!important;line-height:21px!important;margin-bottom:2px!important;color:#292f4c!important;flex:0 1 auto;min-width:0}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title .title-text{display:inline-block;max-width:100%;vertical-align:bottom;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn{flex-shrink:0;width:28px;height:28px;padding:0;border:0;border-radius:50%;background-color:var(--white-color);display:flex;align-items:center;justify-content:center;cursor:pointer}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img{width:16px;height:16px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img.copied{width:22px!important;height:22px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .email-text{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content p{font-size:14px!important;line-height:22px!important;color:#676879!important;margin-bottom:0!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .sh-bottom-content-ls{display:flex!important;align-items:center!important;font-size:12px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .session-content{position:relative!important;bottom:2px!important}.sidebar-outer .sidebar-body{padding:12px 20px!important;width:100%!important}.sidebar-outer .sidebar-body .sb-list{width:100%!important}.sidebar-outer .sidebar-body .sb-list ul{width:100%!important;list-style:none;padding-left:0;margin:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex!important;align-items:center!important;padding:8px 2px!important;cursor:pointer!important}.sidebar-outer .sidebar-body .sb-list ul li img{width:18px}.sidebar-outer .sidebar-body .sb-list ul li p{margin:0 0 0 8px!important;font-size:14px!important}.sidebar-outer .sidebar-body .sb-list ul li .lang-dropdown{margin-left:8px!important}.accessibility-container{background-color:var(--white-smoke-6);padding:7px 20px}.accessibility-container .btn{align-content:center;align-items:center;border:1px solid var(--dark-grey-color);color:var(--dim-grey-color);display:flex;font-size:10px;height:20px;justify-content:center;padding:0;width:20px;margin-right:5px;overflow:hidden}.accessibility-container .btn:last-child{margin-right:0}.accessibility-container .btn .theme{display:block;height:100%;margin-left:-50%;width:60%}.accessibility-container .btn .theme-red{background-color:var(--primary-color)}.accessibility-container .btn .theme-black{background-color:var(--black-color)}.accessibility-container .btn .theme-blue{background-color:var(--theme-blue)}\n"] }]
|
|
3228
|
+
], template: "<div class=\"white-bg\">\r\n <div class=\"sidebar-outer white-bg\">\r\n <div class=\"sidebar-header grey-background\">\r\n <div class=\"sh-top\">\r\n <div class=\"sh-top-left d-flex\">\r\n <img\r\n src=\"assets/common-header-lib/images/logout.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn mx-2 log-text p-0\"\r\n (click)=\"logoutCurrentUser()\"\r\n >\r\n {{ \"Generic_lib.Logout\" | translate }}\r\n </button>\r\n </div>\r\n <div class=\"sh-top-right\">\r\n <button\r\n type=\"button\"\r\n class=\"common-bn tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Close' | translate }}\"\r\n (click)=\"getcloseDialogBox()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/close.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n title=\"Close\"\r\n />\r\n </button>\r\n </div>\r\n </div>\r\n @if (showProfile) {\r\n <div class=\"sh-bottom d-flex pt-3\">\r\n @if (userdisplayName && userdisplayName.length > 0) {\r\n <div class=\"initial-text\">\r\n {{ userdisplayName | sliceToTwo }}\r\n </div>\r\n } @else {\r\n <div class=\"initial-text\">\r\n {{ \"NA\" }}\r\n </div>\r\n }\r\n <div class=\"sh-bottom-content\">\r\n <div class=\"user-name-row\">\r\n <h4 class=\"title\">\r\n <span\r\n class=\"title-text\"\r\n [pTooltip]=\"userDetails['userDisplayName']\"\r\n tooltipStyleClass=\"lib-ui name-tooltip\"\r\n tooltipPosition=\"bottom\"\r\n >{{ userDetails[\"userDisplayName\"] }}</span\r\n >\r\n </h4>\r\n <button\r\n type=\"button\"\r\n class=\"copy-name-btn\"\r\n (click)=\"copyUserDisplayName()\"\r\n [pTooltip]=\"(isNameCopied ? 'Generic_lib.Copied' : 'Generic_lib.Copy') | translate\"\r\n tooltipStyleClass=\"lib-ui\"\r\n tooltipPosition=\"bottom\"\r\n [attr.aria-label]=\"'Generic_lib.Copy' | translate\"\r\n data-testid=\"user-name-copy-button\"\r\n >\r\n <img\r\n [class.copied]=\"isNameCopied\"\r\n [src]=\"\r\n isNameCopied\r\n ? 'assets/common-header-lib/images/check.svg'\r\n : 'assets/common-header-lib/images/copy.svg'\r\n \"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n </div>\r\n <p class=\"email-text\" [title]=\"userDetails['emailID']\">\r\n {{ userDetails[\"emailID\"] }}\r\n </p>\r\n <div class=\"sh-bottom-content-ls\">\r\n @if (\r\n userDetails[\"lastLogIn\"] &&\r\n !userDetails[\"lastLogIn\"].includes(\"NA\")\r\n ) {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>{{ userDetails[\"lastLogIn\"] }}</p>\r\n } @else {\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.LastSession\" | translate }} :\r\n </p>\r\n <p>NA</p>\r\n }\r\n </div>\r\n <div class=\"sh-bottom-content-ls session-content\">\r\n <p style=\"margin-right: 5px\">\r\n {{ \"Generic_lib.CurrentSession\" | translate }} :\r\n </p>\r\n <p>\r\n {{ Hr }} {{ \"Generic_lib.hrs\" | translate }} {{ min }}\r\n {{ \"Generic_lib.min\" | translate }} {{ sec }}\r\n {{ \"Generic_lib.secs\" | translate }}\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n } @else {\r\n <div class=\"loading-skeleton d-flex p-3\" aria-hidden=\"true\">\r\n <p-skeleton shape=\"circle\" size=\"4rem\" styleClass=\"mr-2\"></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"10rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton\r\n width=\"8rem\"\r\n height=\".7rem\"\r\n styleClass=\"mb-2\"\r\n ></p-skeleton>\r\n <p-skeleton width=\"5rem\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton height=\".5rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"sidebar-body\">\r\n <div class=\"sb-list pb-20px\">\r\n <ul>\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/domain_img.svg\"\r\n loading=\"lazy\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"mx-2 lang-dropdown\">\r\n <ng-translation [languages]=\"languages()\"></ng-translation>\r\n </div>\r\n </li>\r\n @if (EnableLearningCenter()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/local.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"OpenArconLearningCenter()\"\r\n >\r\n {{ \"Generic_lib.ArconCIResourceCenter\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n\r\n @if (EnableGeneralConfiguration()) {\r\n <li class=\"grey-bg-hover\">\r\n <img\r\n src=\"assets/common-header-lib/images/settings.svg\"\r\n class=\"imgs\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <button\r\n type=\"button\"\r\n class=\"tertiary-btn tertiary-btn-profile mx-2\"\r\n (click)=\"openUserSettingPanel()\"\r\n >\r\n {{ \"Generic_lib.GeneralConfiguration\" | translate }}\r\n </button>\r\n </li>\r\n }\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".white-bg{background-color:var(--white-color)!important;width:100%!important}.grey-background{background-color:var(--ag-header-background-color, #f6f7fb)!important}.imgs{width:20px!important}.cursor-pointer{cursor:pointer}.sidebar-outer{width:100%!important;float:left!important}.sidebar-outer .sidebar-header{padding:12px 15px!important}.sidebar-outer .sidebar-header .sh-top{display:flex!important;align-items:center!important;justify-content:space-between!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left{display:flex!important;align-items:center!important}.sidebar-outer .sidebar-header .sh-top .sh-top-left .log-text{font-size:14px!important;font-weight:500!important;cursor:pointer!important}.sidebar-outer .sidebar-header .sh-top .sh-top-right button{height:24px!important;border:none!important;background-color:transparent!important}.sidebar-outer .sidebar-header .sh-top .sh-top-right button:focus-visible{box-shadow:inset 0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.sidebar-outer .sidebar-header .sh-bottom{display:flex!important;padding-top:16px!important}.sidebar-outer .sidebar-header .sh-bottom .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:15px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content{padding:0 70px 0 14px!important;min-width:0!important;flex:1 1 auto!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .user-name-row{display:flex;align-items:center;gap:8px;padding-right:70px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title{font-size:17px!important;font-weight:600!important;line-height:21px!important;margin-bottom:2px!important;color:#292f4c!important;flex:0 1 auto;min-width:0}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .title .title-text{display:inline-block;max-width:100%;vertical-align:bottom;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn{flex-shrink:0;width:28px;height:28px;padding:0;border:0;border-radius:50%;background-color:var(--white-color);display:flex;align-items:center;justify-content:center;cursor:pointer}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img{width:16px;height:16px}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .copy-name-btn img.copied{width:22px!important;height:22px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .email-text{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content p{font-size:14px!important;line-height:22px!important;color:#676879!important;margin-bottom:0!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .sh-bottom-content-ls{display:flex!important;align-items:center!important;font-size:12px!important}.sidebar-outer .sidebar-header .sh-bottom .sh-bottom-content .session-content{position:relative!important;bottom:2px!important}.sidebar-outer .sidebar-body{padding:12px 20px!important;width:100%!important}.sidebar-outer .sidebar-body .sb-list{width:100%!important}.sidebar-outer .sidebar-body .sb-list ul{width:100%!important;list-style:none;padding-left:0;margin:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex!important;align-items:center!important;padding:8px 2px!important;cursor:pointer!important}.sidebar-outer .sidebar-body .sb-list ul li img{width:18px}.sidebar-outer .sidebar-body .sb-list ul li p{margin:0 0 0 8px!important;font-size:14px!important}.sidebar-outer .sidebar-body .sb-list ul li .lang-dropdown{margin-left:8px!important}.accessibility-container{background-color:var(--white-smoke-6);padding:7px 20px}.accessibility-container .btn{align-content:center;align-items:center;border:1px solid var(--dark-grey-color);color:var(--dim-grey-color);display:flex;font-size:10px;height:20px;justify-content:center;padding:0;width:20px;margin-right:5px;overflow:hidden}.accessibility-container .btn:last-child{margin-right:0}.accessibility-container .btn .theme{display:block;height:100%;margin-left:-50%;width:60%}.accessibility-container .btn .theme-red{background-color:var(--primary-color)}.accessibility-container .btn .theme-black{background-color:var(--black-color)}.accessibility-container .btn .theme-blue{background-color:var(--theme-blue)}\n"] }]
|
|
3171
3229
|
}], propDecorators: { languages: [{ type: i0.Input, args: [{ isSignal: true, alias: "languages", required: false }] }], EnableLearningCenter: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableLearningCenter", required: false }] }], EnableGeneralConfiguration: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableGeneralConfiguration", required: false }] }], closeDialogBox: [{ type: i0.Output, args: ["closeDialogBox"] }] } });
|
|
3172
3230
|
|
|
3173
3231
|
/**
|
|
@@ -3372,10 +3430,10 @@ class AppPanelComponent {
|
|
|
3372
3430
|
},
|
|
3373
3431
|
});
|
|
3374
3432
|
}
|
|
3375
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3376
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3433
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: AppPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3434
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: AppPanelComponent, isStandalone: true, selector: "app-panel", viewQueries: [{ propertyName: "popoverRef", first: true, predicate: ["appPopover"], descendants: true, isSignal: true }, { propertyName: "popoverContentRef", first: true, predicate: ["popoverContent"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- Waffle (9-dots) popover \u2014 anchored to the button that calls toggle().\r\n (onShow)/(onHide) drive focus management: focus moves into the first\r\n app tile on open and returns to the trigger button on close (any close\r\n path \u2014 Escape, outside click, or selecting an app \u2014 all raise onHide). -->\r\n<p-popover\r\n #appPopover\r\n class=\"pt-0\"\r\n styleClass=\"app-panel lib-ui\"\r\n (onShow)=\"onPopoverShow()\"\r\n (onHide)=\"onPopoverHide()\"\r\n>\r\n <div #popoverContent (keydown)=\"onPopoverKeydown($event)\">\r\n @if (!userAppLoaderLoadder) {\r\n <!-- App grid: one tile per application the user is assigned to -->\r\n <div class=\"custom-popover-content\">\r\n <div class=\"waffle-align\">\r\n @for (appDetails of ListOfUserPrivillegedApp; track appDetails.appCode) {\r\n <button\r\n type=\"button\"\r\n class=\"waffle-popup lib-app-btn\"\r\n [title]=\"appDetails['applicationName']\"\r\n [attr.aria-label]=\"appDetails['applicationName']\"\r\n (click)=\"getConnectionofApplication(appDetails['appCode'])\"\r\n >\r\n <!-- App icon loaded from assets using the app code as the filename -->\r\n @if (appDetails?.appCode) {\r\n <img\r\n src=\"assets/common-header-lib/images/{{\r\n appDetails.appCode\r\n }}.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n }\r\n <div class=\"waffle-text\">{{ appDetails[\"applicationName\"] }}</div>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n\r\n } @else {\r\n <!-- Skeleton placeholders shown while the app list is loading -->\r\n <div class=\"custom-popover-content skeleton-popover\">\r\n @for (item of repeatLoader; track $index) {\r\n <div\r\n class=\"d-flex flex-column align-items-center justify-content-center gap-2\"\r\n >\r\n <p-skeleton size=\"3rem\" aria-hidden=\"true\"></p-skeleton>\r\n <p-skeleton height=\".3rem\" width=\"35px\" aria-hidden=\"true\"></p-skeleton>\r\n </div>\r\n }\r\n </div>\r\n }\r\n </div>\r\n</p-popover>\r\n", styles: ["@charset \"UTF-8\";.p-popover-content{padding:18px!important}.app-panel{--p-popover-arrow-left: -4px !important}.custom-popover-content{padding:10px;right:-5px;top:0;position:absolute;background:#fff;border-radius:8px;box-shadow:0 0 6px #9d9d9d}.custom-popover-content.skeleton-popover{width:313px;display:grid;grid-template-columns:auto auto auto;gap:10px}.waffle-align{display:grid;grid-template-columns:auto auto auto}.waffle{cursor:pointer;margin-right:16px}.waffle-popup{background:none;border:none;width:89px!important;margin-top:0;padding:8px 0 4px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border-radius:10px}.waffle-popup:hover{background:var(--primary-notification-bg)}.waffle-popup:focus-visible{border-radius:10px}.waffle-popup img{height:40px}.waffle-text{font-size:11px;text-align:center;width:70px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-top:-3px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i1$6.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3377
3435
|
}
|
|
3378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: AppPanelComponent, decorators: [{
|
|
3379
3437
|
type: Component,
|
|
3380
3438
|
args: [{ selector: 'app-panel', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, PopoverModule, SkeletonModule], template: "<!-- Waffle (9-dots) popover \u2014 anchored to the button that calls toggle().\r\n (onShow)/(onHide) drive focus management: focus moves into the first\r\n app tile on open and returns to the trigger button on close (any close\r\n path \u2014 Escape, outside click, or selecting an app \u2014 all raise onHide). -->\r\n<p-popover\r\n #appPopover\r\n class=\"pt-0\"\r\n styleClass=\"app-panel lib-ui\"\r\n (onShow)=\"onPopoverShow()\"\r\n (onHide)=\"onPopoverHide()\"\r\n>\r\n <div #popoverContent (keydown)=\"onPopoverKeydown($event)\">\r\n @if (!userAppLoaderLoadder) {\r\n <!-- App grid: one tile per application the user is assigned to -->\r\n <div class=\"custom-popover-content\">\r\n <div class=\"waffle-align\">\r\n @for (appDetails of ListOfUserPrivillegedApp; track appDetails.appCode) {\r\n <button\r\n type=\"button\"\r\n class=\"waffle-popup lib-app-btn\"\r\n [title]=\"appDetails['applicationName']\"\r\n [attr.aria-label]=\"appDetails['applicationName']\"\r\n (click)=\"getConnectionofApplication(appDetails['appCode'])\"\r\n >\r\n <!-- App icon loaded from assets using the app code as the filename -->\r\n @if (appDetails?.appCode) {\r\n <img\r\n src=\"assets/common-header-lib/images/{{\r\n appDetails.appCode\r\n }}.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n }\r\n <div class=\"waffle-text\">{{ appDetails[\"applicationName\"] }}</div>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n\r\n } @else {\r\n <!-- Skeleton placeholders shown while the app list is loading -->\r\n <div class=\"custom-popover-content skeleton-popover\">\r\n @for (item of repeatLoader; track $index) {\r\n <div\r\n class=\"d-flex flex-column align-items-center justify-content-center gap-2\"\r\n >\r\n <p-skeleton size=\"3rem\" aria-hidden=\"true\"></p-skeleton>\r\n <p-skeleton height=\".3rem\" width=\"35px\" aria-hidden=\"true\"></p-skeleton>\r\n </div>\r\n }\r\n </div>\r\n }\r\n </div>\r\n</p-popover>\r\n", styles: ["@charset \"UTF-8\";.p-popover-content{padding:18px!important}.app-panel{--p-popover-arrow-left: -4px !important}.custom-popover-content{padding:10px;right:-5px;top:0;position:absolute;background:#fff;border-radius:8px;box-shadow:0 0 6px #9d9d9d}.custom-popover-content.skeleton-popover{width:313px;display:grid;grid-template-columns:auto auto auto;gap:10px}.waffle-align{display:grid;grid-template-columns:auto auto auto}.waffle{cursor:pointer;margin-right:16px}.waffle-popup{background:none;border:none;width:89px!important;margin-top:0;padding:8px 0 4px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border-radius:10px}.waffle-popup:hover{background:var(--primary-notification-bg)}.waffle-popup:focus-visible{border-radius:10px}.waffle-popup img{height:40px}.waffle-text{font-size:11px;text-align:center;width:70px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-top:-3px}\n"] }]
|
|
3381
3439
|
}], propDecorators: { popoverRef: [{ type: i0.ViewChild, args: ['appPopover', { isSignal: true }] }], popoverContentRef: [{ type: i0.ViewChild, args: ['popoverContent', { isSignal: true }] }] } });
|
|
@@ -3473,10 +3531,10 @@ class NotificationPanelComponent {
|
|
|
3473
3531
|
}
|
|
3474
3532
|
this.httpCommonService.getWorkflowNotificationRedirection(eventName);
|
|
3475
3533
|
}
|
|
3476
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3477
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
3534
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NotificationPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3535
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: NotificationPanelComponent, isStandalone: true, selector: "app-notification-panel", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, notificationCount: { classPropertyName: "notificationCount", publicName: "notificationCount", isSignal: true, isRequired: false, transformFunction: null }, signalREvents: { classPropertyName: "signalREvents", publicName: "signalREvents", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange" }, ngImport: i0, template: "<!-- Notification side panel \u2014 wrapped in SidePopupComponent (PrimeNG p-dialog) -->\r\n<app-side-popup\r\n [(visible)]=\"visible\"\r\n [position]=\"'right'\"\r\n [header]=\"'Generic_lib.Notification' | translate\"\r\n (closeDialogBox)=\"closePanel()\"\r\n class=\"notification-panel\"\r\n>\r\n <div class=\"sidebar-body\">\r\n <!-- Panel header: total count + manual refresh button -->\r\n <div class=\"d-flex justify-content-between align-items-center mb-2\">\r\n <div class=\"noti-text\">\r\n {{\r\n \"Generic_lib.YouHaveNNotifications\"\r\n | translate: { count: notificationCount() }\r\n }}\r\n </div>\r\n <button\r\n type=\"button\"\r\n class=\"d-flex align-items-center gap-1 refresh-icon tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Refresh' | translate }}\"\r\n (click)=\"getEventwiseNotificationCount()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/refresh-1.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"refresh-text\">\r\n {{ \"Generic_lib.Refresh\" | translate }}\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <!-- Hint sits directly under the count row (reference layout); still shown\r\n only when there's a pending list to click. -->\r\n @if (!isErrorFound && !notificationLoadder && pendingEvents.length > 0) {\r\n <p class=\"notify-hint\">\r\n {{ \"Generic_lib.NotificationRedirectHint\" | translate }}\r\n </p>\r\n }\r\n\r\n <!-- Notification list / skeleton / error state -->\r\n <div class=\"mt-2\">\r\n @if (!isErrorFound && !notificationLoadder) {\r\n @if (pendingEvents.length > 0) {\r\n <!-- One row per workflow event type with a pending count, redirecting to Identity Hub -->\r\n @for (event of pendingEvents; track $index) {\r\n <div\r\n class=\"notify-border lib-notification-card\"\r\n role=\"button\"\r\n tabindex=\"0\"\r\n [attr.aria-label]=\"\r\n event['PendingCount'] +\r\n ' ' +\r\n ('Generic_lib.New' | translate) +\r\n ' ' +\r\n event['EventName'] +\r\n ' ' +\r\n ('Generic_lib.EventRequests' | translate)\r\n \"\r\n [title]=\"event['EventName']\"\r\n (click)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.enter)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.space)=\"openEventApprovalPage(event['EventName'])\"\r\n >\r\n <div class=\"d-flex align-items-center gap-3\">\r\n <div class=\"initial-text initial-text-1 mx-1\" aria-hidden=\"true\">\r\n <img\r\n src=\"assets/common-header-lib/images/noti_ticket.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </div>\r\n <div>\r\n <div>\r\n <span class=\"service-count\"\r\n >{{ event[\"PendingCount\"] }} New\r\n </span>\r\n <span class=\"service-request\"\r\n >{{ event[\"EventName\"] }} Event requests</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"grey-borders mt-2\"></div>\r\n </div>\r\n }\r\n } @else {\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.NoPendingEventRequests' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n } @else {\r\n @if (notificationLoadder) {\r\n <!-- Skeleton rows shown while the API call is in progress -->\r\n @for (item of repeatLoader; track $index) {\r\n <div class=\"d-flex align-items-center gap-3\" aria-hidden=\"true\">\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"60px\"\r\n styleClass=\"my-2\"\r\n ></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"200%\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton width=\"150px\" height=\"1rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n } @else {\r\n <!-- Error or empty state \u2014 shown when API fails or returns no records -->\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.CommonError' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n }\r\n </div>\r\n </div>\r\n</app-side-popup>\r\n", styles: ["@charset \"UTF-8\";.notification-panel .lib-dialog.p-dialog{width:420px!important;border-radius:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header{padding:12px 18px 12px 15px!important;background:var(--ag-header-background-color)!important;height:48px;border-top-right-radius:0!important;border-top-left-radius:0!important;border-bottom:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-title{margin-left:4px}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button{background-image:url(assets/common-header-lib/images/close.svg)!important;background-position:center!important;background-size:20px 20px!important;background-repeat:no-repeat!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button svg{display:none}.notification-panel .lib-dialog.p-dialog .p-dialog-content{overflow:hidden;padding:0!important}.notification-panel .sidebar-body{box-sizing:border-box;height:calc(100vh - 48px);padding:12px 20px;scrollbar-gutter:stable}.initial-text-1{background-color:#f2edfa}.sidebar-body .noti-text{color:#292f4c;font-size:13px;font-weight:600;line-height:24px}.sidebar-body .refresh-icon{cursor:pointer;padding:0}.sidebar-body .refresh-text{color:#676879;font-size:12px;line-height:24px}.sidebar-body .notify-hint{margin:0;color:#676879;font-size:11px;line-height:16px}.sidebar-body .notify-border{padding:8px 8px 0 6px;cursor:pointer;border-radius:8px}.sidebar-body .notify-border:hover{background-color:#dcdfec}.sidebar-body .notify-border .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#f2edfa}.sidebar-body .notify-border .service-count{color:#323238;font-weight:600;font-size:13px}.sidebar-body .notify-border .service-request{color:#676879;font-size:12px;font-weight:500}.sidebar-body .notify-border .time-text{color:#676879;font-size:12px}.sidebar-body .notify-border .grey-borders{border-bottom:1px solid #d0d4e4}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: SidePopupComponent, selector: "app-side-popup", inputs: ["visible", "position", "header", "styleClass"], outputs: ["closeDialogBox", "visibleChange"] }, { kind: "component", type: NoServiceMyAccessPgComponent, selector: "app-no-service-my-access-pg", inputs: ["heading", "subHeading"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3478
3536
|
}
|
|
3479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3537
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: NotificationPanelComponent, decorators: [{
|
|
3480
3538
|
type: Component,
|
|
3481
3539
|
args: [{ selector: 'app-notification-panel', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
|
|
3482
3540
|
CommonModule,
|
|
@@ -3487,55 +3545,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
3487
3545
|
], template: "<!-- Notification side panel \u2014 wrapped in SidePopupComponent (PrimeNG p-dialog) -->\r\n<app-side-popup\r\n [(visible)]=\"visible\"\r\n [position]=\"'right'\"\r\n [header]=\"'Generic_lib.Notification' | translate\"\r\n (closeDialogBox)=\"closePanel()\"\r\n class=\"notification-panel\"\r\n>\r\n <div class=\"sidebar-body\">\r\n <!-- Panel header: total count + manual refresh button -->\r\n <div class=\"d-flex justify-content-between align-items-center mb-2\">\r\n <div class=\"noti-text\">\r\n {{\r\n \"Generic_lib.YouHaveNNotifications\"\r\n | translate: { count: notificationCount() }\r\n }}\r\n </div>\r\n <button\r\n type=\"button\"\r\n class=\"d-flex align-items-center gap-1 refresh-icon tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Refresh' | translate }}\"\r\n (click)=\"getEventwiseNotificationCount()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/refresh-1.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"refresh-text\">\r\n {{ \"Generic_lib.Refresh\" | translate }}\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <!-- Hint sits directly under the count row (reference layout); still shown\r\n only when there's a pending list to click. -->\r\n @if (!isErrorFound && !notificationLoadder && pendingEvents.length > 0) {\r\n <p class=\"notify-hint\">\r\n {{ \"Generic_lib.NotificationRedirectHint\" | translate }}\r\n </p>\r\n }\r\n\r\n <!-- Notification list / skeleton / error state -->\r\n <div class=\"mt-2\">\r\n @if (!isErrorFound && !notificationLoadder) {\r\n @if (pendingEvents.length > 0) {\r\n <!-- One row per workflow event type with a pending count, redirecting to Identity Hub -->\r\n @for (event of pendingEvents; track $index) {\r\n <div\r\n class=\"notify-border lib-notification-card\"\r\n role=\"button\"\r\n tabindex=\"0\"\r\n [attr.aria-label]=\"\r\n event['PendingCount'] +\r\n ' ' +\r\n ('Generic_lib.New' | translate) +\r\n ' ' +\r\n event['EventName'] +\r\n ' ' +\r\n ('Generic_lib.EventRequests' | translate)\r\n \"\r\n [title]=\"event['EventName']\"\r\n (click)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.enter)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.space)=\"openEventApprovalPage(event['EventName'])\"\r\n >\r\n <div class=\"d-flex align-items-center gap-3\">\r\n <div class=\"initial-text initial-text-1 mx-1\" aria-hidden=\"true\">\r\n <img\r\n src=\"assets/common-header-lib/images/noti_ticket.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </div>\r\n <div>\r\n <div>\r\n <span class=\"service-count\"\r\n >{{ event[\"PendingCount\"] }} New\r\n </span>\r\n <span class=\"service-request\"\r\n >{{ event[\"EventName\"] }} Event requests</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"grey-borders mt-2\"></div>\r\n </div>\r\n }\r\n } @else {\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.NoPendingEventRequests' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n } @else {\r\n @if (notificationLoadder) {\r\n <!-- Skeleton rows shown while the API call is in progress -->\r\n @for (item of repeatLoader; track $index) {\r\n <div class=\"d-flex align-items-center gap-3\" aria-hidden=\"true\">\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"60px\"\r\n styleClass=\"my-2\"\r\n ></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"200%\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton width=\"150px\" height=\"1rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n } @else {\r\n <!-- Error or empty state \u2014 shown when API fails or returns no records -->\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.CommonError' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n }\r\n </div>\r\n </div>\r\n</app-side-popup>\r\n", styles: ["@charset \"UTF-8\";.notification-panel .lib-dialog.p-dialog{width:420px!important;border-radius:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header{padding:12px 18px 12px 15px!important;background:var(--ag-header-background-color)!important;height:48px;border-top-right-radius:0!important;border-top-left-radius:0!important;border-bottom:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-title{margin-left:4px}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button{background-image:url(assets/common-header-lib/images/close.svg)!important;background-position:center!important;background-size:20px 20px!important;background-repeat:no-repeat!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button svg{display:none}.notification-panel .lib-dialog.p-dialog .p-dialog-content{overflow:hidden;padding:0!important}.notification-panel .sidebar-body{box-sizing:border-box;height:calc(100vh - 48px);padding:12px 20px;scrollbar-gutter:stable}.initial-text-1{background-color:#f2edfa}.sidebar-body .noti-text{color:#292f4c;font-size:13px;font-weight:600;line-height:24px}.sidebar-body .refresh-icon{cursor:pointer;padding:0}.sidebar-body .refresh-text{color:#676879;font-size:12px;line-height:24px}.sidebar-body .notify-hint{margin:0;color:#676879;font-size:11px;line-height:16px}.sidebar-body .notify-border{padding:8px 8px 0 6px;cursor:pointer;border-radius:8px}.sidebar-body .notify-border:hover{background-color:#dcdfec}.sidebar-body .notify-border .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#f2edfa}.sidebar-body .notify-border .service-count{color:#323238;font-weight:600;font-size:13px}.sidebar-body .notify-border .service-request{color:#676879;font-size:12px;font-weight:500}.sidebar-body .notify-border .time-text{color:#676879;font-size:12px}.sidebar-body .notify-border .grey-borders{border-bottom:1px solid #d0d4e4}\n"] }]
|
|
3488
3546
|
}], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], notificationCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "notificationCount", required: false }] }], signalREvents: [{ type: i0.Input, args: [{ isSignal: true, alias: "signalREvents", required: false }] }] } });
|
|
3489
3547
|
|
|
3490
|
-
class EncrpdataService {
|
|
3491
|
-
constructor() {
|
|
3492
|
-
this.privateKey = "";
|
|
3493
|
-
}
|
|
3494
|
-
getASCIIValue(text) {
|
|
3495
|
-
let charCodeArr = [];
|
|
3496
|
-
for (let i = 0; i < text.length; i++) {
|
|
3497
|
-
let code = text.charCodeAt(i);
|
|
3498
|
-
charCodeArr.push(BigInt(code));
|
|
3499
|
-
}
|
|
3500
|
-
return charCodeArr;
|
|
3501
|
-
}
|
|
3502
|
-
getModuleValue(arr, num1, num2) {
|
|
3503
|
-
let numArr = [];
|
|
3504
|
-
for (let i = 0; i < arr.length; i++) {
|
|
3505
|
-
let code = arr[i] ** num2 % num1;
|
|
3506
|
-
numArr.push(code);
|
|
3507
|
-
}
|
|
3508
|
-
return numArr;
|
|
3509
|
-
}
|
|
3510
|
-
getEncrpytedData(text) {
|
|
3511
|
-
this.privateKey = LoggedInUserInfo.privateKey;
|
|
3512
|
-
let key = this.privateKey.split(',');
|
|
3513
|
-
const num1 = BigInt(key[0]);
|
|
3514
|
-
const num2 = BigInt(key[1]);
|
|
3515
|
-
//1. Convert string to phiN
|
|
3516
|
-
let asciiValue = this.getASCIIValue(text);
|
|
3517
|
-
//2. Get Mod of All Value
|
|
3518
|
-
let ModValue = this.getModuleValue(asciiValue, num1, num2);
|
|
3519
|
-
//3. Convert Arr to String
|
|
3520
|
-
const encodedText = ModValue.map(b => b.toString()).join('-');
|
|
3521
|
-
return encodedText;
|
|
3522
|
-
}
|
|
3523
|
-
encodeToBase64(text) {
|
|
3524
|
-
return btoa(text);
|
|
3525
|
-
}
|
|
3526
|
-
decodeToBase64(text) {
|
|
3527
|
-
return atob(text);
|
|
3528
|
-
}
|
|
3529
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: EncrpdataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3530
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: EncrpdataService, providedIn: 'root' }); }
|
|
3531
|
-
}
|
|
3532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: EncrpdataService, decorators: [{
|
|
3533
|
-
type: Injectable,
|
|
3534
|
-
args: [{
|
|
3535
|
-
providedIn: 'root',
|
|
3536
|
-
}]
|
|
3537
|
-
}] });
|
|
3538
|
-
|
|
3539
3548
|
class RestSignalRService {
|
|
3540
3549
|
constructor() {
|
|
3541
3550
|
this.eventMsg = new BehaviorSubject({});
|
|
@@ -3612,10 +3621,10 @@ class RestSignalRService {
|
|
|
3612
3621
|
const lastIndex = this._encrpdataService.encodeToBase64(index.toString());
|
|
3613
3622
|
this._localStorage.saveData(COOKIECONSTANT.SIGNALR_INDEX, lastIndex);
|
|
3614
3623
|
}
|
|
3615
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3616
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3624
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RestSignalRService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3625
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RestSignalRService, providedIn: 'root' }); }
|
|
3617
3626
|
}
|
|
3618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: RestSignalRService, decorators: [{
|
|
3619
3628
|
type: Injectable,
|
|
3620
3629
|
args: [{
|
|
3621
3630
|
providedIn: 'root',
|
|
@@ -3802,10 +3811,10 @@ class HeaderDataService {
|
|
|
3802
3811
|
});
|
|
3803
3812
|
});
|
|
3804
3813
|
}
|
|
3805
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3806
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HeaderDataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3815
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HeaderDataService }); }
|
|
3807
3816
|
}
|
|
3808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3817
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: HeaderDataService, decorators: [{
|
|
3809
3818
|
type: Injectable
|
|
3810
3819
|
}] });
|
|
3811
3820
|
|
|
@@ -3946,10 +3955,10 @@ class LobService {
|
|
|
3946
3955
|
return {};
|
|
3947
3956
|
return { LOBId: item.lobId, LOBName: item.lobName, CustomLOBSetByParent: false };
|
|
3948
3957
|
}
|
|
3949
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3950
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3958
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LobService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3959
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LobService }); }
|
|
3951
3960
|
}
|
|
3952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: LobService, decorators: [{
|
|
3953
3962
|
type: Injectable
|
|
3954
3963
|
}] });
|
|
3955
3964
|
|
|
@@ -4177,10 +4186,10 @@ class CommonHeaderLibComponent {
|
|
|
4177
4186
|
this.cdRef.detectChanges();
|
|
4178
4187
|
});
|
|
4179
4188
|
}
|
|
4180
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4181
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: CommonHeaderLibComponent, isStandalone: true, selector: "lib-app-header", inputs: { EnableLogo: { classPropertyName: "EnableLogo", publicName: "EnableLogo", isSignal: true, isRequired: false, transformFunction: null }, moduleName: { classPropertyName: "moduleName", publicName: "moduleName", isSignal: true, isRequired: false, transformFunction: null }, EnableTimeZone: { classPropertyName: "EnableTimeZone", publicName: "EnableTimeZone", isSignal: true, isRequired: false, transformFunction: null }, EnableLOB: { classPropertyName: "EnableLOB", publicName: "EnableLOB", isSignal: true, isRequired: false, transformFunction: null }, showAllLOB: { classPropertyName: "showAllLOB", publicName: "showAllLOB", isSignal: true, isRequired: false, transformFunction: null }, lobReadOnly: { classPropertyName: "lobReadOnly", publicName: "lobReadOnly", isSignal: true, isRequired: false, transformFunction: null }, showLobChangeConfirmation: { classPropertyName: "showLobChangeConfirmation", publicName: "showLobChangeConfirmation", isSignal: true, isRequired: false, transformFunction: null }, EnableMail: { classPropertyName: "EnableMail", publicName: "EnableMail", isSignal: true, isRequired: false, transformFunction: null }, EnableNotifications: { classPropertyName: "EnableNotifications", publicName: "EnableNotifications", isSignal: true, isRequired: false, transformFunction: null }, EnableMoreApps: { classPropertyName: "EnableMoreApps", publicName: "EnableMoreApps", isSignal: true, isRequired: false, transformFunction: null }, EnableProfile: { classPropertyName: "EnableProfile", publicName: "EnableProfile", isSignal: true, isRequired: false, transformFunction: null }, EnableLearningCenter: { classPropertyName: "EnableLearningCenter", publicName: "EnableLearningCenter", isSignal: true, isRequired: false, transformFunction: null }, EnableGeneralConfiguration: { classPropertyName: "EnableGeneralConfiguration", publicName: "EnableGeneralConfiguration", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { timezoneDetails: "timezoneDetails", lobSelected: "lobSelected", getBgImage: "getBgImage", langChange: "langChange", overlayStateChange: "overlayStateChange" }, providers: [HeaderDataService, LobService, DialogHostService], viewQueries: [{ propertyName: "confirmDialog", first: true, predicate: ["confirmDialog"], descendants: true, isSignal: true }, { propertyName: "appPanelRef", first: true, predicate: ["appPanel"], descendants: true, isSignal: true }], ngImport: i0, template: "<header class=\"app-header ext lib-ui\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"d-flex\">\r\n <!-- Logo: shown only when EnableLogo input is true -->\r\n @if (EnableLogo()) {\r\n <div class=\"logo gap-4\">\r\n <!-- Show logo once the base64 string is loaded; skeleton while waiting -->\r\n @if (EnableLogo() && headerData.headerLogo()) {\r\n <img\r\n class=\"logo-size\"\r\n title=\"Logo\"\r\n alt=\"Logo\"\r\n [src]=\"headerData.headerLogo()\"\r\n loading=\"lazy\"\r\n />\r\n }\r\n @if (!headerData.headerLogo()) {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"5rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n <!-- Module / application name shown in the centre of the header -->\r\n <div class=\"projName\">\r\n <h1 class=\"modname\">{{ moduleName() }}</h1>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center\">\r\n <!-- Timezone: shows abbreviated timezone once loaded from HeaderDataService -->\r\n @if (EnableTimeZone() && headerData.userTimeZoneAbbreviations()) {\r\n <div class=\"timezone\">\r\n <img\r\n src=\"assets/common-header-lib/images/schedule.svg\"\r\n class=\"mb-1\"\r\n alt=\"Timezone schedule\"\r\n />\r\n <span class=\"timezone-text\"\r\n >{{ \"Generic_lib.PreferredTimezone\" | translate }} :\r\n </span>\r\n @if (headerData.userTimeZoneAbbreviations()) {\r\n <!-- Full timezone name appears as a tooltip on hover -->\r\n <span class=\"user-tz\" [title]=\"headerData.userTimeZoneFullForm()\">{{\r\n headerData.userTimeZoneAbbreviations()\r\n }}</span>\r\n }\r\n </div>\r\n }\r\n\r\n <!-- LOB dropdown: skeleton shown while LobService is loading the list -->\r\n @if (EnableLOB()) {\r\n @if (EnableLOB() && !lobService.showLobLoader) {\r\n <div class=\"main-left d-flex lib-lob-container\">\r\n <img\r\n src=\"assets/common-header-lib/images/marker-pin.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"me-1\"\r\n />\r\n\r\n <!-- Note: Removed [virtualScroll] and [itemSize] from p-dropdown because it caused\r\n filtered search results to appear empty until scrolling.\r\n Not needed as LOB list size is small. -->\r\n <p-select\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n [options]=\"lobService.userLOBList\"\r\n (onChange)=\"onLobChangeEvent($event)\"\r\n optionLabel=\"lobName\"\r\n optionValue=\"lobId\"\r\n [(ngModel)]=\"selectedLOBId\"\r\n [filter]=\"true\"\r\n filterBy=\"lobName\"\r\n [showClear]=\"false\"\r\n [disabled]=\"lobReadOnly()\"\r\n [resetFilterOnHide]=\"true\"\r\n [lazy]=\"false\"\r\n name=\"lob\"\r\n class=\"loblist-drpdwn\"\r\n panelStyleClass=\"loblist-drpdwn-panel\"\r\n ariaLabel=\"{{ 'Generic_lib.LineOfBusiness' | translate }}\"\r\n >\r\n <ng-template let-loblist pTemplate=\"item\">\r\n <div class=\"flex align-items-center gap-2\">\r\n <div title=\"{{ loblist.lobName }}\" class=\"header-drpdwn\">\r\n {{ loblist.lobName }}\r\n </div>\r\n </div>\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n } @else {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"10rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n }\r\n\r\n <!-- Action icons: shown once forkJoin in HeaderDataService has completed;\r\n skeletons are displayed while the initial data load is in progress -->\r\n @if (headerData.isHeaderContentLoaded()) {\r\n <!-- Mailbox icon -->\r\n @if (EnableMail()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.MailBox' | translate }}\"\r\n (click)=\"showMailBoxScreen()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/mail-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n <!-- Badge showing unread mail count; hidden when count is zero.\r\n Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"lib-changing-content\">\r\n <app-user-mailbox\r\n (closeMailDialogBox)=\"hideMailBoxScreen()\"\r\n ></app-user-mailbox>\r\n </div>\r\n}\r\n\r\n<!-- User profile sidebar -->\r\n<div class=\"profile-sidebar\">\r\n @if (isOpenSidePopup) {\r\n <app-side-popup\r\n [visible]=\"true\"\r\n [position]=\"'right'\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n >\r\n @if (showUserDetails) {\r\n <app-user-sidebar\r\n [languages]=\"languages()\"\r\n [EnableLearningCenter]=\"EnableLearningCenter()\"\r\n [EnableGeneralConfiguration]=\"EnableGeneralConfiguration()\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n ></app-user-sidebar>\r\n }\r\n </app-side-popup>\r\n }\r\n</div>\r\n\r\n<!-- Notification side panel (NotificationPanelComponent manages its own API + SignalR sync).\r\n Wrapping @if ensures the component is not created (no API call) when notifications are off. -->\r\n@if (EnableNotifications()) {\r\n <app-notification-panel\r\n [(visible)]=\"isNotificationPanelOpen\"\r\n [notificationCount]=\"headerData.userNotificationCount()\"\r\n [signalREvents]=\"headerData.signalREventwiseData()\"\r\n ></app-notification-panel>\r\n}\r\n\r\n<!-- LOB change confirmation dialog.\r\n Fires lobChangeConfirmation(true) on confirm, lobChangeConfirmation(false) on cancel. -->\r\n<confirm-dialog\r\n class=\"rm-invalid-border\"\r\n #confirmDialog\r\n header=\"{{ 'Generic_lib.ChangeLOB' | translate }}\"\r\n message=\"{{ 'Generic_lib.DoYouWantToChangeTheCurrentLOB' | translate }}\"\r\n styleClass=\"lib-lob-change-confirm-dialog\"\r\n (result)=\"$event ? confirmLobChange() : revertLobChange()\"\r\n></confirm-dialog>\r\n", styles: ["@charset \"UTF-8\";:root{--theme-red: #d4231d;--theme-black: #212121;--theme-blue: #4d91ea;--success: #06a211;--success-1: #00c853;--error: #e6323a;--white-color: #ffffff;--white-smoke: #f6f6f6;--white-smoke-2: #f2f2f2;--white-smoke-4: #f4f4f4;--white-smoke-5: #f5f5f5;--white-smoke-6: #eeeeee;--gainsboro-white-color: #e0e0e0;--gainsboro-white-color-1: #e1e1e1;--gainsboro-white-color-6: #e6e6e6;--black-color: #212121;--silver-color: #bdbdbd;--jaguar-black-color: #212121;--dark-grey-color: #9e9e9e;--empress-grey-color: #757575;--light-grey-color: #d0d0d0;--dim-grey-color: #707070;--dim-grey-color-2: #616161;--very-light-grey-color: #cccccc;--suva-grey-color: #888888;--charcoal-grey-color: #424242;--curious-blue: #337ab7;--dodger-blue: #2196f3;--royal-blue: #2680eb;--solitude-blue: #e9ecf1;--azure-blue: #f0fdff;--lavender-blush: #ffebee;--magenta-violet: #ff00e6;--dark-orange: #fb8c00;--fruit-salad-green: #4caf50;--flau-red: #440808;--ag-header-background-color: #f6f7fb;--primary-color: #d4231d;--body-background-color: #eeeeee;--primary-notification-bg: #ffebee}.grey-background{background-color:var(--ag-header-background-color)}.white-bg{background:var(--white-color);width:420px;overflow:hidden}.log-text{font-size:16px;color:#292f4c;font-weight:600}.imgs{width:20px}.tertiary-btn{border:none;background-color:transparent}.tertiary-btn-profile{padding-left:0;font-size:14px!important;color:#495057}.sidebar-outer{height:100vh}.sidebar-outer .sidebar-header{padding:12px 15px}.sidebar-outer .sidebar-header .sh-top{display:flex;align-items:center;justify-content:space-between}.sidebar-outer .sidebar-header .sh-top button{height:24px}.sidebar-outer .sidebar-body{padding:12px 20px;float:left;width:100%;overflow:auto;height:calc(100vh - 70px)}.sidebar-outer .sidebar-body .sb-list ul{float:left;width:100%;list-style:none;padding-left:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex;padding:8px 2px;cursor:pointer}.sidebar-outer .sidebar-body .sb-list ul li span{margin-right:12px}.sidebar-body{overflow:auto;height:calc(100vh - 70px);width:100%}.mail-pagination .p-paginator,.mail-table .p-paginator{justify-content:flex-start!important;padding-left:0!important}.mail-pagination .p-paginator .p-paginator-current,.mail-table .p-paginator .p-paginator-current{font-size:12px;height:1rem!important}.mail-pagination .p-paginator .p-paginator-pages .p-paginator-page,.mail-table .p-paginator .p-paginator-pages .p-paginator-page{min-width:30px!important;height:30px!important;font-size:12px}.mail-pagination .p-paginator .p-select,.mail-table .p-paginator .p-select{height:30px!important;margin-top:0;border:0}.mail-pagination .p-paginator .p-select .p-select-label,.mail-table .p-paginator .p-select .p-select-label{padding:4px 5px 0 10px!important;font-size:14px}.mail-pagination .p-paginator .p-select .p-select-dropdown,.mail-table .p-paginator .p-select .p-select-dropdown{width:1.5rem!important}.mail-pagination .p-paginator .p-select .p-select-dropdown .pi,.mail-table .p-paginator .p-select .p-select-dropdown .pi{font-size:13px!important}.mail-table{height:calc(100vh - 196px);overflow:auto}.mail-table .p-datatable-table-container{overflow:visible!important}.mail-table .p-datatable .p-datatable-thead{position:sticky;top:0;z-index:2}.mail-table .p-datatable .p-datatable-thead>tr th{padding:0 8px;height:36px;font-size:13px;color:var(--primary-text);font-weight:600;background:var(--white-color);border:0;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap;border:0;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.lib-ui .lib-download-btn .p-button{background:#fff;border:1px solid var(--primary-color);color:var(--primary-color)}.lib-ui .lib-download-btn .p-button:not(:disabled):hover{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;height:30px;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}:where(.lib-ui :focus-visible):is(a,button,input,select,textarea,div,span,li){border-radius:4px}.lib-ui .lib-app-btn:focus-visible{border-radius:10px!important}.lib-ui .lib-notification-card:focus-visible{border-radius:8px!important}.notification-panel .refresh-icon:focus-visible{border-radius:4px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .loblist-drpdwn.p-select:has(.p-select-label:focus-visible){border-radius:4px!important;border:none!important;box-shadow:inset 0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding:6px 10px;height:42px;border-bottom:1px solid #d0d4e4}.logo{display:flex;align-items:center}.main-right{display:flex;align-items:center;cursor:pointer;border-radius:50%}.main-right:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.logo-icon{width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;position:relative}.logo-icon:after{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;position:absolute;content:\"\";top:7px;left:-7px}.p-inputtext.p-inputtext-sm{padding:4px 5px 4px 33px!important}.pi-search:before{font-size:13px;position:absolute;top:2px}.overlay-text{font-size:13px;line-height:18px;color:#676879;font-weight:400}.main-left .p-select{border:none;border-radius:0;width:140px!important}.main-left .p-select-overlay .p-select-list{padding:0!important;max-height:110px}.main-left .p-select .p-inputtext:focus-visible{outline:none!important}.main-left .p-scroller{overflow-x:hidden;height:120px!important}.header-drpdwn{width:120px!important;font-size:11px!important;text-overflow:ellipsis;overflow:hidden}.logs{gap:70px;margin-top:5px}.head-search{position:fixed;top:4px;left:275px}.head-search input{width:calc(30vw - 40px)!important;border:1px solid #c3c6d4;background-color:var(--ag-header-background-color, #f6f7fb);height:32px;border-radius:0 4px 4px 0;border-left:none;font-size:13px!important;padding-left:30px!important;padding-right:54px}.head-search.active input{width:555px!important}@media screen and (min-width:1920px){.head-search.active input{width:900px!important}}.header-left-icon{height:32px;width:32px;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:all .5s;border-radius:50%!important;margin-right:4px;position:relative}.header-left-icon:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.header-left-icon:hover{background:#dcdfec}.header-left-icon img:hover{filter:invert(0%) sepia(4%) saturate(0%) hue-rotate(324deg) brightness(55%) contrast(105%)}.apps-icon{width:21px}.logo-img{width:80px}.lob-img{padding-bottom:4px}.session-app:hover{background:#dcdfec;border-radius:10px}.app-col{cursor:pointer;padding:8px 0}.app-text{font-size:12px;color:#676879;white-space:nowrap;padding-top:8px;text-align:center;text-overflow:ellipsis;overflow:hidden;width:100px}.filter-search{position:relative;right:50px;bottom:2px;cursor:pointer}.filter-search .cross-search{width:23px}.filter-search .search-filter{width:19px}.headeright-icon{width:17px;height:17px;filter:invert(44%) sepia(3%) saturate(1698%) hue-rotate(199deg) brightness(92%) contrast(93%)}.pl-0{padding-left:0}.form-control-sm{border:none;border-bottom:1px solid #c3c6d4;border-radius:0}.overlay-footer .common-btn{width:110px;height:32px;padding:11px 12px;border-radius:4px;font-size:13px;cursor:pointer;background:var(--white-color)}.overlay-footer .primary-btn{padding:8px 12px 11px 14px;border-radius:4px;height:32px;width:65px;font-size:13px;cursor:pointer}.filter-popup{position:relative;left:10px}.timezone{margin-right:12px}.timezone-icon{font-size:16px}.timezone-text{padding-left:6px;font-size:13px;color:#495057;font-weight:400}.user-tz{font-size:13px;color:var(--empress-grey-color);font-weight:400;text-overflow:ellipsis;overflow:hidden;width:30px;white-space:normal}.profile-sidebar .lib-dialog.p-dialog .p-dialog-content{padding:0}.profile-sidebar .lib-dialog.p-dialog .p-dialog-header{display:none}.modname{font-size:18px;margin-bottom:0}.logo-size{max-height:32px;max-width:92px}.logo-size-1{width:80px;height:30px}.badge-notify:hover{border-radius:50%;background:#dcdfec}.badge-notify .p-badge{min-width:16px;height:16px;line-height:15px}.badge-notify .p-overlay-badge .p-badge{background-color:var(--primary-color)!important;position:absolute;top:-7px;right:12px;font-size:9px;padding:0 2px;cursor:pointer}.lib-changing-content{overflow:hidden;width:100%}.lib-changing-content .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.lib-changing-content .inner-garient{padding:50px 20px 115px 30px}.lib-changing-content .table-heading{padding:0 20px 1px 30px}.lib-changing-content .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "directive", type: i5$1.BadgeDirective, selector: "[pBadge]", inputs: ["ptBadgeDirective", "badgeDisabled", "badgeSize", "size", "severity", "value", "badgeStyle", "badgeStyleClass"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: UserMailboxComponent, selector: "app-user-mailbox", inputs: ["apiURL"], outputs: ["closeMailDialogBox"] }, { kind: "component", type: SidePopupComponent, selector: "app-side-popup", inputs: ["visible", "position", "header", "styleClass"], outputs: ["closeDialogBox", "visibleChange"] }, { kind: "component", type: UserSidebarComponent, selector: "app-user-sidebar", inputs: ["languages", "EnableLearningCenter", "EnableGeneralConfiguration"], outputs: ["closeDialogBox"] }, { kind: "component", type: AppPanelComponent, selector: "app-panel" }, { kind: "component", type: NotificationPanelComponent, selector: "app-notification-panel", inputs: ["visible", "notificationCount", "signalREvents"], outputs: ["visibleChange"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog", inputs: ["header", "message", "styleClass"], outputs: ["result"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: SliceToTwoPipe, name: "sliceToTwo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CommonHeaderLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4190
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.24", type: CommonHeaderLibComponent, isStandalone: true, selector: "lib-app-header", inputs: { EnableLogo: { classPropertyName: "EnableLogo", publicName: "EnableLogo", isSignal: true, isRequired: false, transformFunction: null }, moduleName: { classPropertyName: "moduleName", publicName: "moduleName", isSignal: true, isRequired: false, transformFunction: null }, EnableTimeZone: { classPropertyName: "EnableTimeZone", publicName: "EnableTimeZone", isSignal: true, isRequired: false, transformFunction: null }, EnableLOB: { classPropertyName: "EnableLOB", publicName: "EnableLOB", isSignal: true, isRequired: false, transformFunction: null }, showAllLOB: { classPropertyName: "showAllLOB", publicName: "showAllLOB", isSignal: true, isRequired: false, transformFunction: null }, lobReadOnly: { classPropertyName: "lobReadOnly", publicName: "lobReadOnly", isSignal: true, isRequired: false, transformFunction: null }, showLobChangeConfirmation: { classPropertyName: "showLobChangeConfirmation", publicName: "showLobChangeConfirmation", isSignal: true, isRequired: false, transformFunction: null }, EnableMail: { classPropertyName: "EnableMail", publicName: "EnableMail", isSignal: true, isRequired: false, transformFunction: null }, EnableNotifications: { classPropertyName: "EnableNotifications", publicName: "EnableNotifications", isSignal: true, isRequired: false, transformFunction: null }, EnableMoreApps: { classPropertyName: "EnableMoreApps", publicName: "EnableMoreApps", isSignal: true, isRequired: false, transformFunction: null }, EnableProfile: { classPropertyName: "EnableProfile", publicName: "EnableProfile", isSignal: true, isRequired: false, transformFunction: null }, EnableLearningCenter: { classPropertyName: "EnableLearningCenter", publicName: "EnableLearningCenter", isSignal: true, isRequired: false, transformFunction: null }, EnableGeneralConfiguration: { classPropertyName: "EnableGeneralConfiguration", publicName: "EnableGeneralConfiguration", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { timezoneDetails: "timezoneDetails", lobSelected: "lobSelected", getBgImage: "getBgImage", langChange: "langChange", overlayStateChange: "overlayStateChange" }, providers: [HeaderDataService, LobService, DialogHostService], viewQueries: [{ propertyName: "confirmDialog", first: true, predicate: ["confirmDialog"], descendants: true, isSignal: true }, { propertyName: "appPanelRef", first: true, predicate: ["appPanel"], descendants: true, isSignal: true }], ngImport: i0, template: "<header class=\"app-header ext lib-ui\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"d-flex\">\r\n <!-- Logo: shown only when EnableLogo input is true -->\r\n @if (EnableLogo()) {\r\n <div class=\"logo gap-4\">\r\n <!-- Show logo once the base64 string is loaded; skeleton while waiting -->\r\n @if (EnableLogo() && headerData.headerLogo()) {\r\n <img\r\n class=\"logo-size\"\r\n title=\"Logo\"\r\n alt=\"Logo\"\r\n [src]=\"headerData.headerLogo()\"\r\n loading=\"lazy\"\r\n />\r\n }\r\n @if (!headerData.headerLogo()) {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"5rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n <!-- Module / application name shown in the centre of the header -->\r\n <div class=\"projName\">\r\n <h1 class=\"modname\">{{ moduleName() }}</h1>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center\">\r\n <!-- Timezone: shows abbreviated timezone once loaded from HeaderDataService -->\r\n @if (EnableTimeZone() && headerData.userTimeZoneAbbreviations()) {\r\n <div class=\"timezone\">\r\n <img\r\n src=\"assets/common-header-lib/images/schedule.svg\"\r\n class=\"mb-1\"\r\n alt=\"Timezone schedule\"\r\n />\r\n <span class=\"timezone-text\"\r\n >{{ \"Generic_lib.PreferredTimezone\" | translate }} :\r\n </span>\r\n @if (headerData.userTimeZoneAbbreviations()) {\r\n <!-- Full timezone name appears as a tooltip on hover -->\r\n <span class=\"user-tz\" [title]=\"headerData.userTimeZoneFullForm()\">{{\r\n headerData.userTimeZoneAbbreviations()\r\n }}</span>\r\n }\r\n </div>\r\n }\r\n\r\n <!-- LOB dropdown: skeleton shown while LobService is loading the list -->\r\n @if (EnableLOB()) {\r\n @if (EnableLOB() && !lobService.showLobLoader) {\r\n <div class=\"main-left d-flex lib-lob-container\">\r\n <img\r\n src=\"assets/common-header-lib/images/marker-pin.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"me-1\"\r\n />\r\n\r\n <!-- Note: Removed [virtualScroll] and [itemSize] from p-dropdown because it caused\r\n filtered search results to appear empty until scrolling.\r\n Not needed as LOB list size is small. -->\r\n <p-select\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n [options]=\"lobService.userLOBList\"\r\n (onChange)=\"onLobChangeEvent($event)\"\r\n optionLabel=\"lobName\"\r\n optionValue=\"lobId\"\r\n [(ngModel)]=\"selectedLOBId\"\r\n [filter]=\"true\"\r\n filterBy=\"lobName\"\r\n [showClear]=\"false\"\r\n [disabled]=\"lobReadOnly()\"\r\n [resetFilterOnHide]=\"true\"\r\n [lazy]=\"false\"\r\n name=\"lob\"\r\n class=\"loblist-drpdwn\"\r\n panelStyleClass=\"loblist-drpdwn-panel\"\r\n [overlayOptions]=\"{ styleClass: 'lib-ui-lob-ddl-overlay' }\"\r\n ariaLabel=\"{{ 'Generic_lib.LineOfBusiness' | translate }}\"\r\n >\r\n <ng-template let-loblist pTemplate=\"item\">\r\n <div class=\"flex align-items-center gap-2\">\r\n <div title=\"{{ loblist.lobName }}\" class=\"header-drpdwn\">\r\n {{ loblist.lobName }}\r\n </div>\r\n </div>\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n } @else {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"10rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n }\r\n\r\n <!-- Action icons: shown once forkJoin in HeaderDataService has completed;\r\n skeletons are displayed while the initial data load is in progress -->\r\n @if (headerData.isHeaderContentLoaded()) {\r\n <!-- Mailbox icon -->\r\n @if (EnableMail()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.MailBox' | translate }}\"\r\n (click)=\"showMailBoxScreen()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/mail-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n <!-- Badge showing unread mail count; hidden when count is zero.\r\n Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"lib-changing-content\">\r\n <app-user-mailbox\r\n (closeMailDialogBox)=\"hideMailBoxScreen()\"\r\n ></app-user-mailbox>\r\n </div>\r\n}\r\n\r\n<!-- User profile sidebar -->\r\n<div class=\"profile-sidebar\">\r\n @if (isOpenSidePopup) {\r\n <app-side-popup\r\n [visible]=\"true\"\r\n [position]=\"'right'\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n >\r\n @if (showUserDetails) {\r\n <app-user-sidebar\r\n [languages]=\"languages()\"\r\n [EnableLearningCenter]=\"EnableLearningCenter()\"\r\n [EnableGeneralConfiguration]=\"EnableGeneralConfiguration()\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n ></app-user-sidebar>\r\n }\r\n </app-side-popup>\r\n }\r\n</div>\r\n\r\n<!-- Notification side panel (NotificationPanelComponent manages its own API + SignalR sync).\r\n Wrapping @if ensures the component is not created (no API call) when notifications are off. -->\r\n@if (EnableNotifications()) {\r\n <app-notification-panel\r\n [(visible)]=\"isNotificationPanelOpen\"\r\n [notificationCount]=\"headerData.userNotificationCount()\"\r\n [signalREvents]=\"headerData.signalREventwiseData()\"\r\n ></app-notification-panel>\r\n}\r\n\r\n<!-- LOB change confirmation dialog.\r\n Fires lobChangeConfirmation(true) on confirm, lobChangeConfirmation(false) on cancel. -->\r\n<confirm-dialog\r\n class=\"rm-invalid-border\"\r\n #confirmDialog\r\n header=\"{{ 'Generic_lib.ChangeLOB' | translate }}\"\r\n message=\"{{ 'Generic_lib.DoYouWantToChangeTheCurrentLOB' | translate }}\"\r\n styleClass=\"lib-lob-change-confirm-dialog\"\r\n (result)=\"$event ? confirmLobChange() : revertLobChange()\"\r\n></confirm-dialog>\r\n", styles: ["@charset \"UTF-8\";:root{--theme-red: #d4231d;--theme-black: #212121;--theme-blue: #4d91ea;--success: #06a211;--success-1: #00c853;--error: #e6323a;--white-color: #ffffff;--white-smoke: #f6f6f6;--white-smoke-2: #f2f2f2;--white-smoke-4: #f4f4f4;--white-smoke-5: #f5f5f5;--white-smoke-6: #eeeeee;--gainsboro-white-color: #e0e0e0;--gainsboro-white-color-1: #e1e1e1;--gainsboro-white-color-6: #e6e6e6;--black-color: #212121;--silver-color: #bdbdbd;--jaguar-black-color: #212121;--dark-grey-color: #9e9e9e;--empress-grey-color: #757575;--light-grey-color: #d0d0d0;--dim-grey-color: #707070;--dim-grey-color-2: #616161;--very-light-grey-color: #cccccc;--suva-grey-color: #888888;--charcoal-grey-color: #424242;--curious-blue: #337ab7;--dodger-blue: #2196f3;--royal-blue: #2680eb;--solitude-blue: #e9ecf1;--azure-blue: #f0fdff;--lavender-blush: #ffebee;--magenta-violet: #ff00e6;--dark-orange: #fb8c00;--fruit-salad-green: #4caf50;--flau-red: #440808;--ag-header-background-color: #f6f7fb;--primary-color: #d4231d;--body-background-color: #eeeeee;--primary-notification-bg: #ffebee}.grey-background{background-color:var(--ag-header-background-color)}.white-bg{background:var(--white-color);width:420px;overflow:hidden}.log-text{font-size:16px;color:#292f4c;font-weight:600}.imgs{width:20px}.tertiary-btn{border:none;background-color:transparent}.tertiary-btn-profile{padding-left:0;font-size:14px!important;color:#495057}.sidebar-outer{height:100vh}.sidebar-outer .sidebar-header{padding:12px 15px}.sidebar-outer .sidebar-header .sh-top{display:flex;align-items:center;justify-content:space-between}.sidebar-outer .sidebar-header .sh-top button{height:24px}.sidebar-outer .sidebar-body{padding:12px 20px;float:left;width:100%;overflow:auto;height:calc(100vh - 70px)}.sidebar-outer .sidebar-body .sb-list ul{float:left;width:100%;list-style:none;padding-left:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex;padding:8px 2px;cursor:pointer}.sidebar-outer .sidebar-body .sb-list ul li span{margin-right:12px}.sidebar-body{overflow:auto;height:calc(100vh - 70px);width:100%}.mail-pagination .p-paginator,.mail-table .p-paginator{justify-content:flex-start!important;padding-left:0!important}.mail-pagination .p-paginator .p-paginator-current,.mail-table .p-paginator .p-paginator-current{font-size:12px;height:1rem!important}.mail-pagination .p-paginator .p-paginator-pages .p-paginator-page,.mail-table .p-paginator .p-paginator-pages .p-paginator-page{min-width:30px!important;height:30px!important;font-size:12px}.mail-pagination .p-paginator .p-select,.mail-table .p-paginator .p-select{height:30px!important;margin-top:0;border:0}.mail-pagination .p-paginator .p-select .p-select-label,.mail-table .p-paginator .p-select .p-select-label{padding:4px 5px 0 10px!important;font-size:14px}.mail-pagination .p-paginator .p-select .p-select-dropdown,.mail-table .p-paginator .p-select .p-select-dropdown{width:1.5rem!important}.mail-pagination .p-paginator .p-select .p-select-dropdown .pi,.mail-table .p-paginator .p-select .p-select-dropdown .pi{font-size:13px!important}.mail-table{height:calc(100vh - 196px);overflow:auto}.mail-table .p-datatable-table-container{overflow:visible!important}.mail-table .p-datatable .p-datatable-thead{position:sticky;top:0;z-index:2}.mail-table .p-datatable .p-datatable-thead>tr th{padding:0 8px;height:36px;font-size:13px;color:var(--primary-text);font-weight:600;background:var(--white-color);border:0;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap;border:0;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.lib-ui .lib-download-btn .p-button{background:#fff;border:1px solid var(--primary-color);color:var(--primary-color)}.lib-ui .lib-download-btn .p-button:not(:disabled):hover{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.p-overlay.lib-ui-lob-ddl-overlay{width:140px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;height:30px;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}:where(.lib-ui :focus-visible):is(a,button,input,select,textarea,div,span,li){border-radius:4px}.lib-ui .lib-app-btn:focus-visible{border-radius:10px!important}.lib-ui .lib-notification-card:focus-visible{border-radius:8px!important}.notification-panel .refresh-icon:focus-visible{border-radius:4px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .loblist-drpdwn.p-select:has(.p-select-label:focus-visible){border-radius:4px!important;border:none!important;box-shadow:inset 0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding:6px 10px;height:42px;border-bottom:1px solid #d0d4e4}.logo{display:flex;align-items:center}.main-right{display:flex;align-items:center;cursor:pointer;border-radius:50%}.main-right:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.logo-icon{width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;position:relative}.logo-icon:after{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;position:absolute;content:\"\";top:7px;left:-7px}.p-inputtext.p-inputtext-sm{padding:4px 5px 4px 33px!important}.pi-search:before{font-size:13px;position:absolute;top:2px}.overlay-text{font-size:13px;line-height:18px;color:#676879;font-weight:400}.main-left .p-select{border:none;border-radius:0;width:140px!important}.main-left .p-select-overlay .p-select-list{padding:0!important;max-height:110px}.main-left .p-select .p-inputtext:focus-visible{outline:none!important}.main-left .p-scroller{overflow-x:hidden;height:120px!important}.header-drpdwn{width:120px!important;font-size:11px!important;text-overflow:ellipsis;overflow:hidden}.logs{gap:70px;margin-top:5px}.head-search{position:fixed;top:4px;left:275px}.head-search input{width:calc(30vw - 40px)!important;border:1px solid #c3c6d4;background-color:var(--ag-header-background-color, #f6f7fb);height:32px;border-radius:0 4px 4px 0;border-left:none;font-size:13px!important;padding-left:30px!important;padding-right:54px}.head-search.active input{width:555px!important}@media screen and (min-width:1920px){.head-search.active input{width:900px!important}}.header-left-icon{height:32px;width:32px;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:all .5s;border-radius:50%!important;margin-right:4px;position:relative}.header-left-icon:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.header-left-icon:hover{background:#dcdfec}.header-left-icon img:hover{filter:invert(0%) sepia(4%) saturate(0%) hue-rotate(324deg) brightness(55%) contrast(105%)}.apps-icon{width:21px}.logo-img{width:80px}.lob-img{padding-bottom:4px}.session-app:hover{background:#dcdfec;border-radius:10px}.app-col{cursor:pointer;padding:8px 0}.app-text{font-size:12px;color:#676879;white-space:nowrap;padding-top:8px;text-align:center;text-overflow:ellipsis;overflow:hidden;width:100px}.filter-search{position:relative;right:50px;bottom:2px;cursor:pointer}.filter-search .cross-search{width:23px}.filter-search .search-filter{width:19px}.headeright-icon{width:17px;height:17px;filter:invert(44%) sepia(3%) saturate(1698%) hue-rotate(199deg) brightness(92%) contrast(93%)}.pl-0{padding-left:0}.form-control-sm{border:none;border-bottom:1px solid #c3c6d4;border-radius:0}.overlay-footer .common-btn{width:110px;height:32px;padding:11px 12px;border-radius:4px;font-size:13px;cursor:pointer;background:var(--white-color)}.overlay-footer .primary-btn{padding:8px 12px 11px 14px;border-radius:4px;height:32px;width:65px;font-size:13px;cursor:pointer}.filter-popup{position:relative;left:10px}.timezone{margin-right:12px}.timezone-icon{font-size:16px}.timezone-text{padding-left:6px;font-size:13px;color:#495057;font-weight:400}.user-tz{font-size:13px;color:var(--empress-grey-color);font-weight:400;text-overflow:ellipsis;overflow:hidden;width:30px;white-space:normal}.profile-sidebar .lib-dialog.p-dialog .p-dialog-content{padding:0}.profile-sidebar .lib-dialog.p-dialog .p-dialog-header{display:none}.modname{font-size:18px;margin-bottom:0}.logo-size{max-height:32px;max-width:92px}.logo-size-1{width:80px;height:30px}.badge-notify:hover{border-radius:50%;background:#dcdfec}.badge-notify .p-badge{min-width:16px;height:16px;line-height:15px}.badge-notify .p-overlay-badge .p-badge{background-color:var(--primary-color)!important;position:absolute;top:-7px;right:12px;font-size:9px;padding:0 2px;cursor:pointer}.lib-changing-content{overflow:hidden;width:100%}.lib-changing-content .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.lib-changing-content .inner-garient{padding:50px 20px 115px 30px}.lib-changing-content .table-heading{padding:0 20px 1px 30px}.lib-changing-content .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "directive", type: i5$1.BadgeDirective, selector: "[pBadge]", inputs: ["ptBadgeDirective", "badgeDisabled", "badgeSize", "size", "severity", "value", "badgeStyle", "badgeStyleClass"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: UserMailboxComponent, selector: "app-user-mailbox", inputs: ["apiURL"], outputs: ["closeMailDialogBox"] }, { kind: "component", type: SidePopupComponent, selector: "app-side-popup", inputs: ["visible", "position", "header", "styleClass"], outputs: ["closeDialogBox", "visibleChange"] }, { kind: "component", type: UserSidebarComponent, selector: "app-user-sidebar", inputs: ["languages", "EnableLearningCenter", "EnableGeneralConfiguration"], outputs: ["closeDialogBox"] }, { kind: "component", type: AppPanelComponent, selector: "app-panel" }, { kind: "component", type: NotificationPanelComponent, selector: "app-notification-panel", inputs: ["visible", "notificationCount", "signalREvents"], outputs: ["visibleChange"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog", inputs: ["header", "message", "styleClass"], outputs: ["result"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: SliceToTwoPipe, name: "sliceToTwo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4182
4191
|
}
|
|
4183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CommonHeaderLibComponent, decorators: [{
|
|
4184
4193
|
type: Component,
|
|
4185
4194
|
args: [{ selector: 'lib-app-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [HeaderDataService, LobService, DialogHostService], imports: [
|
|
4186
4195
|
CommonModule,
|
|
@@ -4196,7 +4205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
4196
4205
|
AppPanelComponent,
|
|
4197
4206
|
NotificationPanelComponent,
|
|
4198
4207
|
ConfirmDialogComponent,
|
|
4199
|
-
], template: "<header class=\"app-header ext lib-ui\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"d-flex\">\r\n <!-- Logo: shown only when EnableLogo input is true -->\r\n @if (EnableLogo()) {\r\n <div class=\"logo gap-4\">\r\n <!-- Show logo once the base64 string is loaded; skeleton while waiting -->\r\n @if (EnableLogo() && headerData.headerLogo()) {\r\n <img\r\n class=\"logo-size\"\r\n title=\"Logo\"\r\n alt=\"Logo\"\r\n [src]=\"headerData.headerLogo()\"\r\n loading=\"lazy\"\r\n />\r\n }\r\n @if (!headerData.headerLogo()) {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"5rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n <!-- Module / application name shown in the centre of the header -->\r\n <div class=\"projName\">\r\n <h1 class=\"modname\">{{ moduleName() }}</h1>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center\">\r\n <!-- Timezone: shows abbreviated timezone once loaded from HeaderDataService -->\r\n @if (EnableTimeZone() && headerData.userTimeZoneAbbreviations()) {\r\n <div class=\"timezone\">\r\n <img\r\n src=\"assets/common-header-lib/images/schedule.svg\"\r\n class=\"mb-1\"\r\n alt=\"Timezone schedule\"\r\n />\r\n <span class=\"timezone-text\"\r\n >{{ \"Generic_lib.PreferredTimezone\" | translate }} :\r\n </span>\r\n @if (headerData.userTimeZoneAbbreviations()) {\r\n <!-- Full timezone name appears as a tooltip on hover -->\r\n <span class=\"user-tz\" [title]=\"headerData.userTimeZoneFullForm()\">{{\r\n headerData.userTimeZoneAbbreviations()\r\n }}</span>\r\n }\r\n </div>\r\n }\r\n\r\n <!-- LOB dropdown: skeleton shown while LobService is loading the list -->\r\n @if (EnableLOB()) {\r\n @if (EnableLOB() && !lobService.showLobLoader) {\r\n <div class=\"main-left d-flex lib-lob-container\">\r\n <img\r\n src=\"assets/common-header-lib/images/marker-pin.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"me-1\"\r\n />\r\n\r\n <!-- Note: Removed [virtualScroll] and [itemSize] from p-dropdown because it caused\r\n filtered search results to appear empty until scrolling.\r\n Not needed as LOB list size is small. -->\r\n <p-select\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n [options]=\"lobService.userLOBList\"\r\n (onChange)=\"onLobChangeEvent($event)\"\r\n optionLabel=\"lobName\"\r\n optionValue=\"lobId\"\r\n [(ngModel)]=\"selectedLOBId\"\r\n [filter]=\"true\"\r\n filterBy=\"lobName\"\r\n [showClear]=\"false\"\r\n [disabled]=\"lobReadOnly()\"\r\n [resetFilterOnHide]=\"true\"\r\n [lazy]=\"false\"\r\n name=\"lob\"\r\n class=\"loblist-drpdwn\"\r\n panelStyleClass=\"loblist-drpdwn-panel\"\r\n ariaLabel=\"{{ 'Generic_lib.LineOfBusiness' | translate }}\"\r\n >\r\n <ng-template let-loblist pTemplate=\"item\">\r\n <div class=\"flex align-items-center gap-2\">\r\n <div title=\"{{ loblist.lobName }}\" class=\"header-drpdwn\">\r\n {{ loblist.lobName }}\r\n </div>\r\n </div>\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n } @else {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"10rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n }\r\n\r\n <!-- Action icons: shown once forkJoin in HeaderDataService has completed;\r\n skeletons are displayed while the initial data load is in progress -->\r\n @if (headerData.isHeaderContentLoaded()) {\r\n <!-- Mailbox icon -->\r\n @if (EnableMail()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.MailBox' | translate }}\"\r\n (click)=\"showMailBoxScreen()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/mail-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n <!-- Badge showing unread mail count; hidden when count is zero.\r\n Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"lib-changing-content\">\r\n <app-user-mailbox\r\n (closeMailDialogBox)=\"hideMailBoxScreen()\"\r\n ></app-user-mailbox>\r\n </div>\r\n}\r\n\r\n<!-- User profile sidebar -->\r\n<div class=\"profile-sidebar\">\r\n @if (isOpenSidePopup) {\r\n <app-side-popup\r\n [visible]=\"true\"\r\n [position]=\"'right'\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n >\r\n @if (showUserDetails) {\r\n <app-user-sidebar\r\n [languages]=\"languages()\"\r\n [EnableLearningCenter]=\"EnableLearningCenter()\"\r\n [EnableGeneralConfiguration]=\"EnableGeneralConfiguration()\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n ></app-user-sidebar>\r\n }\r\n </app-side-popup>\r\n }\r\n</div>\r\n\r\n<!-- Notification side panel (NotificationPanelComponent manages its own API + SignalR sync).\r\n Wrapping @if ensures the component is not created (no API call) when notifications are off. -->\r\n@if (EnableNotifications()) {\r\n <app-notification-panel\r\n [(visible)]=\"isNotificationPanelOpen\"\r\n [notificationCount]=\"headerData.userNotificationCount()\"\r\n [signalREvents]=\"headerData.signalREventwiseData()\"\r\n ></app-notification-panel>\r\n}\r\n\r\n<!-- LOB change confirmation dialog.\r\n Fires lobChangeConfirmation(true) on confirm, lobChangeConfirmation(false) on cancel. -->\r\n<confirm-dialog\r\n class=\"rm-invalid-border\"\r\n #confirmDialog\r\n header=\"{{ 'Generic_lib.ChangeLOB' | translate }}\"\r\n message=\"{{ 'Generic_lib.DoYouWantToChangeTheCurrentLOB' | translate }}\"\r\n styleClass=\"lib-lob-change-confirm-dialog\"\r\n (result)=\"$event ? confirmLobChange() : revertLobChange()\"\r\n></confirm-dialog>\r\n", styles: ["@charset \"UTF-8\";:root{--theme-red: #d4231d;--theme-black: #212121;--theme-blue: #4d91ea;--success: #06a211;--success-1: #00c853;--error: #e6323a;--white-color: #ffffff;--white-smoke: #f6f6f6;--white-smoke-2: #f2f2f2;--white-smoke-4: #f4f4f4;--white-smoke-5: #f5f5f5;--white-smoke-6: #eeeeee;--gainsboro-white-color: #e0e0e0;--gainsboro-white-color-1: #e1e1e1;--gainsboro-white-color-6: #e6e6e6;--black-color: #212121;--silver-color: #bdbdbd;--jaguar-black-color: #212121;--dark-grey-color: #9e9e9e;--empress-grey-color: #757575;--light-grey-color: #d0d0d0;--dim-grey-color: #707070;--dim-grey-color-2: #616161;--very-light-grey-color: #cccccc;--suva-grey-color: #888888;--charcoal-grey-color: #424242;--curious-blue: #337ab7;--dodger-blue: #2196f3;--royal-blue: #2680eb;--solitude-blue: #e9ecf1;--azure-blue: #f0fdff;--lavender-blush: #ffebee;--magenta-violet: #ff00e6;--dark-orange: #fb8c00;--fruit-salad-green: #4caf50;--flau-red: #440808;--ag-header-background-color: #f6f7fb;--primary-color: #d4231d;--body-background-color: #eeeeee;--primary-notification-bg: #ffebee}.grey-background{background-color:var(--ag-header-background-color)}.white-bg{background:var(--white-color);width:420px;overflow:hidden}.log-text{font-size:16px;color:#292f4c;font-weight:600}.imgs{width:20px}.tertiary-btn{border:none;background-color:transparent}.tertiary-btn-profile{padding-left:0;font-size:14px!important;color:#495057}.sidebar-outer{height:100vh}.sidebar-outer .sidebar-header{padding:12px 15px}.sidebar-outer .sidebar-header .sh-top{display:flex;align-items:center;justify-content:space-between}.sidebar-outer .sidebar-header .sh-top button{height:24px}.sidebar-outer .sidebar-body{padding:12px 20px;float:left;width:100%;overflow:auto;height:calc(100vh - 70px)}.sidebar-outer .sidebar-body .sb-list ul{float:left;width:100%;list-style:none;padding-left:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex;padding:8px 2px;cursor:pointer}.sidebar-outer .sidebar-body .sb-list ul li span{margin-right:12px}.sidebar-body{overflow:auto;height:calc(100vh - 70px);width:100%}.mail-pagination .p-paginator,.mail-table .p-paginator{justify-content:flex-start!important;padding-left:0!important}.mail-pagination .p-paginator .p-paginator-current,.mail-table .p-paginator .p-paginator-current{font-size:12px;height:1rem!important}.mail-pagination .p-paginator .p-paginator-pages .p-paginator-page,.mail-table .p-paginator .p-paginator-pages .p-paginator-page{min-width:30px!important;height:30px!important;font-size:12px}.mail-pagination .p-paginator .p-select,.mail-table .p-paginator .p-select{height:30px!important;margin-top:0;border:0}.mail-pagination .p-paginator .p-select .p-select-label,.mail-table .p-paginator .p-select .p-select-label{padding:4px 5px 0 10px!important;font-size:14px}.mail-pagination .p-paginator .p-select .p-select-dropdown,.mail-table .p-paginator .p-select .p-select-dropdown{width:1.5rem!important}.mail-pagination .p-paginator .p-select .p-select-dropdown .pi,.mail-table .p-paginator .p-select .p-select-dropdown .pi{font-size:13px!important}.mail-table{height:calc(100vh - 196px);overflow:auto}.mail-table .p-datatable-table-container{overflow:visible!important}.mail-table .p-datatable .p-datatable-thead{position:sticky;top:0;z-index:2}.mail-table .p-datatable .p-datatable-thead>tr th{padding:0 8px;height:36px;font-size:13px;color:var(--primary-text);font-weight:600;background:var(--white-color);border:0;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap;border:0;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.lib-ui .lib-download-btn .p-button{background:#fff;border:1px solid var(--primary-color);color:var(--primary-color)}.lib-ui .lib-download-btn .p-button:not(:disabled):hover{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;height:30px;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}:where(.lib-ui :focus-visible):is(a,button,input,select,textarea,div,span,li){border-radius:4px}.lib-ui .lib-app-btn:focus-visible{border-radius:10px!important}.lib-ui .lib-notification-card:focus-visible{border-radius:8px!important}.notification-panel .refresh-icon:focus-visible{border-radius:4px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .loblist-drpdwn.p-select:has(.p-select-label:focus-visible){border-radius:4px!important;border:none!important;box-shadow:inset 0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding:6px 10px;height:42px;border-bottom:1px solid #d0d4e4}.logo{display:flex;align-items:center}.main-right{display:flex;align-items:center;cursor:pointer;border-radius:50%}.main-right:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.logo-icon{width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;position:relative}.logo-icon:after{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;position:absolute;content:\"\";top:7px;left:-7px}.p-inputtext.p-inputtext-sm{padding:4px 5px 4px 33px!important}.pi-search:before{font-size:13px;position:absolute;top:2px}.overlay-text{font-size:13px;line-height:18px;color:#676879;font-weight:400}.main-left .p-select{border:none;border-radius:0;width:140px!important}.main-left .p-select-overlay .p-select-list{padding:0!important;max-height:110px}.main-left .p-select .p-inputtext:focus-visible{outline:none!important}.main-left .p-scroller{overflow-x:hidden;height:120px!important}.header-drpdwn{width:120px!important;font-size:11px!important;text-overflow:ellipsis;overflow:hidden}.logs{gap:70px;margin-top:5px}.head-search{position:fixed;top:4px;left:275px}.head-search input{width:calc(30vw - 40px)!important;border:1px solid #c3c6d4;background-color:var(--ag-header-background-color, #f6f7fb);height:32px;border-radius:0 4px 4px 0;border-left:none;font-size:13px!important;padding-left:30px!important;padding-right:54px}.head-search.active input{width:555px!important}@media screen and (min-width:1920px){.head-search.active input{width:900px!important}}.header-left-icon{height:32px;width:32px;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:all .5s;border-radius:50%!important;margin-right:4px;position:relative}.header-left-icon:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.header-left-icon:hover{background:#dcdfec}.header-left-icon img:hover{filter:invert(0%) sepia(4%) saturate(0%) hue-rotate(324deg) brightness(55%) contrast(105%)}.apps-icon{width:21px}.logo-img{width:80px}.lob-img{padding-bottom:4px}.session-app:hover{background:#dcdfec;border-radius:10px}.app-col{cursor:pointer;padding:8px 0}.app-text{font-size:12px;color:#676879;white-space:nowrap;padding-top:8px;text-align:center;text-overflow:ellipsis;overflow:hidden;width:100px}.filter-search{position:relative;right:50px;bottom:2px;cursor:pointer}.filter-search .cross-search{width:23px}.filter-search .search-filter{width:19px}.headeright-icon{width:17px;height:17px;filter:invert(44%) sepia(3%) saturate(1698%) hue-rotate(199deg) brightness(92%) contrast(93%)}.pl-0{padding-left:0}.form-control-sm{border:none;border-bottom:1px solid #c3c6d4;border-radius:0}.overlay-footer .common-btn{width:110px;height:32px;padding:11px 12px;border-radius:4px;font-size:13px;cursor:pointer;background:var(--white-color)}.overlay-footer .primary-btn{padding:8px 12px 11px 14px;border-radius:4px;height:32px;width:65px;font-size:13px;cursor:pointer}.filter-popup{position:relative;left:10px}.timezone{margin-right:12px}.timezone-icon{font-size:16px}.timezone-text{padding-left:6px;font-size:13px;color:#495057;font-weight:400}.user-tz{font-size:13px;color:var(--empress-grey-color);font-weight:400;text-overflow:ellipsis;overflow:hidden;width:30px;white-space:normal}.profile-sidebar .lib-dialog.p-dialog .p-dialog-content{padding:0}.profile-sidebar .lib-dialog.p-dialog .p-dialog-header{display:none}.modname{font-size:18px;margin-bottom:0}.logo-size{max-height:32px;max-width:92px}.logo-size-1{width:80px;height:30px}.badge-notify:hover{border-radius:50%;background:#dcdfec}.badge-notify .p-badge{min-width:16px;height:16px;line-height:15px}.badge-notify .p-overlay-badge .p-badge{background-color:var(--primary-color)!important;position:absolute;top:-7px;right:12px;font-size:9px;padding:0 2px;cursor:pointer}.lib-changing-content{overflow:hidden;width:100%}.lib-changing-content .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.lib-changing-content .inner-garient{padding:50px 20px 115px 30px}.lib-changing-content .table-heading{padding:0 20px 1px 30px}.lib-changing-content .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"] }]
|
|
4208
|
+
], template: "<header class=\"app-header ext lib-ui\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"d-flex\">\r\n <!-- Logo: shown only when EnableLogo input is true -->\r\n @if (EnableLogo()) {\r\n <div class=\"logo gap-4\">\r\n <!-- Show logo once the base64 string is loaded; skeleton while waiting -->\r\n @if (EnableLogo() && headerData.headerLogo()) {\r\n <img\r\n class=\"logo-size\"\r\n title=\"Logo\"\r\n alt=\"Logo\"\r\n [src]=\"headerData.headerLogo()\"\r\n loading=\"lazy\"\r\n />\r\n }\r\n @if (!headerData.headerLogo()) {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"5rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n <!-- Module / application name shown in the centre of the header -->\r\n <div class=\"projName\">\r\n <h1 class=\"modname\">{{ moduleName() }}</h1>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center\">\r\n <!-- Timezone: shows abbreviated timezone once loaded from HeaderDataService -->\r\n @if (EnableTimeZone() && headerData.userTimeZoneAbbreviations()) {\r\n <div class=\"timezone\">\r\n <img\r\n src=\"assets/common-header-lib/images/schedule.svg\"\r\n class=\"mb-1\"\r\n alt=\"Timezone schedule\"\r\n />\r\n <span class=\"timezone-text\"\r\n >{{ \"Generic_lib.PreferredTimezone\" | translate }} :\r\n </span>\r\n @if (headerData.userTimeZoneAbbreviations()) {\r\n <!-- Full timezone name appears as a tooltip on hover -->\r\n <span class=\"user-tz\" [title]=\"headerData.userTimeZoneFullForm()\">{{\r\n headerData.userTimeZoneAbbreviations()\r\n }}</span>\r\n }\r\n </div>\r\n }\r\n\r\n <!-- LOB dropdown: skeleton shown while LobService is loading the list -->\r\n @if (EnableLOB()) {\r\n @if (EnableLOB() && !lobService.showLobLoader) {\r\n <div class=\"main-left d-flex lib-lob-container\">\r\n <img\r\n src=\"assets/common-header-lib/images/marker-pin.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"me-1\"\r\n />\r\n\r\n <!-- Note: Removed [virtualScroll] and [itemSize] from p-dropdown because it caused\r\n filtered search results to appear empty until scrolling.\r\n Not needed as LOB list size is small. -->\r\n <p-select\r\n filterPlaceholder=\"{{ 'Generic_lib.Search' | translate }}\"\r\n [options]=\"lobService.userLOBList\"\r\n (onChange)=\"onLobChangeEvent($event)\"\r\n optionLabel=\"lobName\"\r\n optionValue=\"lobId\"\r\n [(ngModel)]=\"selectedLOBId\"\r\n [filter]=\"true\"\r\n filterBy=\"lobName\"\r\n [showClear]=\"false\"\r\n [disabled]=\"lobReadOnly()\"\r\n [resetFilterOnHide]=\"true\"\r\n [lazy]=\"false\"\r\n name=\"lob\"\r\n class=\"loblist-drpdwn\"\r\n panelStyleClass=\"loblist-drpdwn-panel\"\r\n [overlayOptions]=\"{ styleClass: 'lib-ui-lob-ddl-overlay' }\"\r\n ariaLabel=\"{{ 'Generic_lib.LineOfBusiness' | translate }}\"\r\n >\r\n <ng-template let-loblist pTemplate=\"item\">\r\n <div class=\"flex align-items-center gap-2\">\r\n <div title=\"{{ loblist.lobName }}\" class=\"header-drpdwn\">\r\n {{ loblist.lobName }}\r\n </div>\r\n </div>\r\n </ng-template>\r\n </p-select>\r\n </div>\r\n } @else {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"10rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n }\r\n\r\n <!-- Action icons: shown once forkJoin in HeaderDataService has completed;\r\n skeletons are displayed while the initial data load is in progress -->\r\n @if (headerData.isHeaderContentLoaded()) {\r\n <!-- Mailbox icon -->\r\n @if (EnableMail()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.MailBox' | translate }}\"\r\n (click)=\"showMailBoxScreen()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/mail-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n <!-- Badge showing unread mail count; hidden when count is zero.\r\n Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"lib-changing-content\">\r\n <app-user-mailbox\r\n (closeMailDialogBox)=\"hideMailBoxScreen()\"\r\n ></app-user-mailbox>\r\n </div>\r\n}\r\n\r\n<!-- User profile sidebar -->\r\n<div class=\"profile-sidebar\">\r\n @if (isOpenSidePopup) {\r\n <app-side-popup\r\n [visible]=\"true\"\r\n [position]=\"'right'\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n >\r\n @if (showUserDetails) {\r\n <app-user-sidebar\r\n [languages]=\"languages()\"\r\n [EnableLearningCenter]=\"EnableLearningCenter()\"\r\n [EnableGeneralConfiguration]=\"EnableGeneralConfiguration()\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n ></app-user-sidebar>\r\n }\r\n </app-side-popup>\r\n }\r\n</div>\r\n\r\n<!-- Notification side panel (NotificationPanelComponent manages its own API + SignalR sync).\r\n Wrapping @if ensures the component is not created (no API call) when notifications are off. -->\r\n@if (EnableNotifications()) {\r\n <app-notification-panel\r\n [(visible)]=\"isNotificationPanelOpen\"\r\n [notificationCount]=\"headerData.userNotificationCount()\"\r\n [signalREvents]=\"headerData.signalREventwiseData()\"\r\n ></app-notification-panel>\r\n}\r\n\r\n<!-- LOB change confirmation dialog.\r\n Fires lobChangeConfirmation(true) on confirm, lobChangeConfirmation(false) on cancel. -->\r\n<confirm-dialog\r\n class=\"rm-invalid-border\"\r\n #confirmDialog\r\n header=\"{{ 'Generic_lib.ChangeLOB' | translate }}\"\r\n message=\"{{ 'Generic_lib.DoYouWantToChangeTheCurrentLOB' | translate }}\"\r\n styleClass=\"lib-lob-change-confirm-dialog\"\r\n (result)=\"$event ? confirmLobChange() : revertLobChange()\"\r\n></confirm-dialog>\r\n", styles: ["@charset \"UTF-8\";:root{--theme-red: #d4231d;--theme-black: #212121;--theme-blue: #4d91ea;--success: #06a211;--success-1: #00c853;--error: #e6323a;--white-color: #ffffff;--white-smoke: #f6f6f6;--white-smoke-2: #f2f2f2;--white-smoke-4: #f4f4f4;--white-smoke-5: #f5f5f5;--white-smoke-6: #eeeeee;--gainsboro-white-color: #e0e0e0;--gainsboro-white-color-1: #e1e1e1;--gainsboro-white-color-6: #e6e6e6;--black-color: #212121;--silver-color: #bdbdbd;--jaguar-black-color: #212121;--dark-grey-color: #9e9e9e;--empress-grey-color: #757575;--light-grey-color: #d0d0d0;--dim-grey-color: #707070;--dim-grey-color-2: #616161;--very-light-grey-color: #cccccc;--suva-grey-color: #888888;--charcoal-grey-color: #424242;--curious-blue: #337ab7;--dodger-blue: #2196f3;--royal-blue: #2680eb;--solitude-blue: #e9ecf1;--azure-blue: #f0fdff;--lavender-blush: #ffebee;--magenta-violet: #ff00e6;--dark-orange: #fb8c00;--fruit-salad-green: #4caf50;--flau-red: #440808;--ag-header-background-color: #f6f7fb;--primary-color: #d4231d;--body-background-color: #eeeeee;--primary-notification-bg: #ffebee}.grey-background{background-color:var(--ag-header-background-color)}.white-bg{background:var(--white-color);width:420px;overflow:hidden}.log-text{font-size:16px;color:#292f4c;font-weight:600}.imgs{width:20px}.tertiary-btn{border:none;background-color:transparent}.tertiary-btn-profile{padding-left:0;font-size:14px!important;color:#495057}.sidebar-outer{height:100vh}.sidebar-outer .sidebar-header{padding:12px 15px}.sidebar-outer .sidebar-header .sh-top{display:flex;align-items:center;justify-content:space-between}.sidebar-outer .sidebar-header .sh-top button{height:24px}.sidebar-outer .sidebar-body{padding:12px 20px;float:left;width:100%;overflow:auto;height:calc(100vh - 70px)}.sidebar-outer .sidebar-body .sb-list ul{float:left;width:100%;list-style:none;padding-left:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex;padding:8px 2px;cursor:pointer}.sidebar-outer .sidebar-body .sb-list ul li span{margin-right:12px}.sidebar-body{overflow:auto;height:calc(100vh - 70px);width:100%}.mail-pagination .p-paginator,.mail-table .p-paginator{justify-content:flex-start!important;padding-left:0!important}.mail-pagination .p-paginator .p-paginator-current,.mail-table .p-paginator .p-paginator-current{font-size:12px;height:1rem!important}.mail-pagination .p-paginator .p-paginator-pages .p-paginator-page,.mail-table .p-paginator .p-paginator-pages .p-paginator-page{min-width:30px!important;height:30px!important;font-size:12px}.mail-pagination .p-paginator .p-select,.mail-table .p-paginator .p-select{height:30px!important;margin-top:0;border:0}.mail-pagination .p-paginator .p-select .p-select-label,.mail-table .p-paginator .p-select .p-select-label{padding:4px 5px 0 10px!important;font-size:14px}.mail-pagination .p-paginator .p-select .p-select-dropdown,.mail-table .p-paginator .p-select .p-select-dropdown{width:1.5rem!important}.mail-pagination .p-paginator .p-select .p-select-dropdown .pi,.mail-table .p-paginator .p-select .p-select-dropdown .pi{font-size:13px!important}.mail-table{height:calc(100vh - 196px);overflow:auto}.mail-table .p-datatable-table-container{overflow:visible!important}.mail-table .p-datatable .p-datatable-thead{position:sticky;top:0;z-index:2}.mail-table .p-datatable .p-datatable-thead>tr th{padding:0 8px;height:36px;font-size:13px;color:var(--primary-text);font-weight:600;background:var(--white-color);border:0;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap;border:0;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.lib-ui .lib-download-btn .p-button{background:#fff;border:1px solid var(--primary-color);color:var(--primary-color)}.lib-ui .lib-download-btn .p-button:not(:disabled):hover{background:var(--primary-color);border-color:var(--primary-color);color:#fff}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.p-overlay.lib-ui-lob-ddl-overlay{width:140px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;height:30px;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}:where(.lib-ui :focus-visible):is(a,button,input,select,textarea,div,span,li){border-radius:4px}.lib-ui .lib-app-btn:focus-visible{border-radius:10px!important}.lib-ui .lib-notification-card:focus-visible{border-radius:8px!important}.notification-panel .refresh-icon:focus-visible{border-radius:4px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .loblist-drpdwn.p-select:has(.p-select-label:focus-visible){border-radius:4px!important;border:none!important;box-shadow:inset 0 0 0 var(--focus-ring-width) var(--focus-ring-color),0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding:6px 10px;height:42px;border-bottom:1px solid #d0d4e4}.logo{display:flex;align-items:center}.main-right{display:flex;align-items:center;cursor:pointer;border-radius:50%}.main-right:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.logo-icon{width:0;height:0;border-left:14px solid transparent;border-right:14px solid transparent;position:relative}.logo-icon:after{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;position:absolute;content:\"\";top:7px;left:-7px}.p-inputtext.p-inputtext-sm{padding:4px 5px 4px 33px!important}.pi-search:before{font-size:13px;position:absolute;top:2px}.overlay-text{font-size:13px;line-height:18px;color:#676879;font-weight:400}.main-left .p-select{border:none;border-radius:0;width:140px!important}.main-left .p-select-overlay .p-select-list{padding:0!important;max-height:110px}.main-left .p-select .p-inputtext:focus-visible{outline:none!important}.main-left .p-scroller{overflow-x:hidden;height:120px!important}.header-drpdwn{width:120px!important;font-size:11px!important;text-overflow:ellipsis;overflow:hidden}.logs{gap:70px;margin-top:5px}.head-search{position:fixed;top:4px;left:275px}.head-search input{width:calc(30vw - 40px)!important;border:1px solid #c3c6d4;background-color:var(--ag-header-background-color, #f6f7fb);height:32px;border-radius:0 4px 4px 0;border-left:none;font-size:13px!important;padding-left:30px!important;padding-right:54px}.head-search.active input{width:555px!important}@media screen and (min-width:1920px){.head-search.active input{width:900px!important}}.header-left-icon{height:32px;width:32px;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:all .5s;border-radius:50%!important;margin-right:4px;position:relative}.header-left-icon:is(button){padding:0;border:none;background:transparent;color:inherit;font:inherit}.header-left-icon:hover{background:#dcdfec}.header-left-icon img:hover{filter:invert(0%) sepia(4%) saturate(0%) hue-rotate(324deg) brightness(55%) contrast(105%)}.apps-icon{width:21px}.logo-img{width:80px}.lob-img{padding-bottom:4px}.session-app:hover{background:#dcdfec;border-radius:10px}.app-col{cursor:pointer;padding:8px 0}.app-text{font-size:12px;color:#676879;white-space:nowrap;padding-top:8px;text-align:center;text-overflow:ellipsis;overflow:hidden;width:100px}.filter-search{position:relative;right:50px;bottom:2px;cursor:pointer}.filter-search .cross-search{width:23px}.filter-search .search-filter{width:19px}.headeright-icon{width:17px;height:17px;filter:invert(44%) sepia(3%) saturate(1698%) hue-rotate(199deg) brightness(92%) contrast(93%)}.pl-0{padding-left:0}.form-control-sm{border:none;border-bottom:1px solid #c3c6d4;border-radius:0}.overlay-footer .common-btn{width:110px;height:32px;padding:11px 12px;border-radius:4px;font-size:13px;cursor:pointer;background:var(--white-color)}.overlay-footer .primary-btn{padding:8px 12px 11px 14px;border-radius:4px;height:32px;width:65px;font-size:13px;cursor:pointer}.filter-popup{position:relative;left:10px}.timezone{margin-right:12px}.timezone-icon{font-size:16px}.timezone-text{padding-left:6px;font-size:13px;color:#495057;font-weight:400}.user-tz{font-size:13px;color:var(--empress-grey-color);font-weight:400;text-overflow:ellipsis;overflow:hidden;width:30px;white-space:normal}.profile-sidebar .lib-dialog.p-dialog .p-dialog-content{padding:0}.profile-sidebar .lib-dialog.p-dialog .p-dialog-header{display:none}.modname{font-size:18px;margin-bottom:0}.logo-size{max-height:32px;max-width:92px}.logo-size-1{width:80px;height:30px}.badge-notify:hover{border-radius:50%;background:#dcdfec}.badge-notify .p-badge{min-width:16px;height:16px;line-height:15px}.badge-notify .p-overlay-badge .p-badge{background-color:var(--primary-color)!important;position:absolute;top:-7px;right:12px;font-size:9px;padding:0 2px;cursor:pointer}.lib-changing-content{overflow:hidden;width:100%}.lib-changing-content .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.lib-changing-content .inner-garient{padding:50px 20px 115px 30px}.lib-changing-content .table-heading{padding:0 20px 1px 30px}.lib-changing-content .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"] }]
|
|
4200
4209
|
}], ctorParameters: () => [], propDecorators: { EnableLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableLogo", required: false }] }], moduleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "moduleName", required: false }] }], EnableTimeZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableTimeZone", required: false }] }], EnableLOB: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableLOB", required: false }] }], showAllLOB: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAllLOB", required: false }] }], lobReadOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "lobReadOnly", required: false }] }], showLobChangeConfirmation: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLobChangeConfirmation", required: false }] }], EnableMail: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableMail", required: false }] }], EnableNotifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableNotifications", required: false }] }], EnableMoreApps: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableMoreApps", required: false }] }], EnableProfile: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableProfile", required: false }] }], EnableLearningCenter: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableLearningCenter", required: false }] }], EnableGeneralConfiguration: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableGeneralConfiguration", required: false }] }], languages: [{ type: i0.Input, args: [{ isSignal: true, alias: "languages", required: false }] }], timezoneDetails: [{ type: i0.Output, args: ["timezoneDetails"] }], lobSelected: [{ type: i0.Output, args: ["lobSelected"] }], getBgImage: [{ type: i0.Output, args: ["getBgImage"] }], langChange: [{ type: i0.Output, args: ["langChange"] }], overlayStateChange: [{ type: i0.Output, args: ["overlayStateChange"] }], confirmDialog: [{ type: i0.ViewChild, args: ['confirmDialog', { isSignal: true }] }], appPanelRef: [{ type: i0.ViewChild, args: ['appPanel', { isSignal: true }] }] } });
|
|
4201
4210
|
|
|
4202
4211
|
/**
|
|
@@ -4213,8 +4222,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
4213
4222
|
* share the host app's TranslateService singleton.
|
|
4214
4223
|
*/
|
|
4215
4224
|
class CommonHeaderLibModule {
|
|
4216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4217
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
4225
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CommonHeaderLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4226
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.24", ngImport: i0, type: CommonHeaderLibModule, imports: [CommonHeaderLibComponent,
|
|
4218
4227
|
SliceToTwoPipe,
|
|
4219
4228
|
CustomDateFormatPipe,
|
|
4220
4229
|
DateDiffPipe,
|
|
@@ -4227,12 +4236,12 @@ class CommonHeaderLibModule {
|
|
|
4227
4236
|
ConfirmDialogComponent,
|
|
4228
4237
|
ViewpasswordPopupComponent,
|
|
4229
4238
|
TranslateModule] }); }
|
|
4230
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
4239
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CommonHeaderLibModule, imports: [CommonHeaderLibComponent,
|
|
4231
4240
|
ConfirmDialogComponent,
|
|
4232
4241
|
ViewpasswordPopupComponent,
|
|
4233
4242
|
TranslateModule, TranslateModule] }); }
|
|
4234
4243
|
}
|
|
4235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: CommonHeaderLibModule, decorators: [{
|
|
4236
4245
|
type: NgModule,
|
|
4237
4246
|
args: [{
|
|
4238
4247
|
imports: [
|