common-header-lib 0.20.4 → 0.20.6
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 +23 -1
- package/assets/i18n/ar.json +1 -1
- package/assets/i18n/de.json +1 -1
- package/assets/i18n/en.json +2 -2
- package/assets/i18n/es.json +1 -1
- package/assets/i18n/fr.json +1 -1
- package/assets/i18n/hi.json +1 -1
- package/assets/i18n/ja.json +1 -1
- package/assets/i18n/ko.json +1 -1
- package/fesm2022/common-header-lib.mjs +183 -20
- package/fesm2022/common-header-lib.mjs.map +1 -1
- package/index.d.ts +55 -0
- package/package.json +1 -1
- package/src/assets/i18n/ar.json +1 -1
- package/src/assets/i18n/de.json +1 -1
- package/src/assets/i18n/en.json +2 -2
- package/src/assets/i18n/es.json +1 -1
- package/src/assets/i18n/fr.json +1 -1
- package/src/assets/i18n/hi.json +1 -1
- package/src/assets/i18n/ja.json +1 -1
- package/src/assets/i18n/ko.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, inject, ChangeDetectionStrategy, Component, Pipe,
|
|
2
|
+
import { Injectable, input, output, inject, ChangeDetectionStrategy, Component, Pipe, DestroyRef, ChangeDetectorRef, model, effect, viewChild, ViewEncapsulation, signal, ElementRef, untracked, NgModule } from '@angular/core';
|
|
3
3
|
import * as i3 from 'primeng/api';
|
|
4
4
|
import { ConfirmationService } from 'primeng/api';
|
|
5
5
|
import * as i1 from 'primeng/confirmdialog';
|
|
@@ -7,7 +7,7 @@ import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
|
7
7
|
import * as i5 from '@ngx-translate/core';
|
|
8
8
|
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
9
9
|
import * as i4$1 from '@angular/common';
|
|
10
|
-
import { CommonModule, DatePipe } from '@angular/common';
|
|
10
|
+
import { CommonModule, DatePipe, DOCUMENT } from '@angular/common';
|
|
11
11
|
import * as i1$5 from '@angular/forms';
|
|
12
12
|
import { FormBuilder, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
13
13
|
import * as i2 from 'primeng/select';
|
|
@@ -43,6 +43,28 @@ import * as i1$6 from 'primeng/popover';
|
|
|
43
43
|
import { PopoverModule } from 'primeng/popover';
|
|
44
44
|
import * as signalR from '@microsoft/signalr';
|
|
45
45
|
|
|
46
|
+
/**
|
|
47
|
+
* Holds a reference to <lib-app-header>'s own host element, so this
|
|
48
|
+
* library's dialogs (LOB confirm dialog, General Configuration, Password /
|
|
49
|
+
* View-Password) can be appended there instead of PrimeNG's default of
|
|
50
|
+
* <body> — letting consuming apps target/style the dialogs with a scoped
|
|
51
|
+
* CSS selector, since they stay inside the header's own DOM subtree.
|
|
52
|
+
*
|
|
53
|
+
* Provided at CommonHeaderLibComponent level (not root) so every dialog
|
|
54
|
+
* this library renders can inject it and reach that one instance, and so
|
|
55
|
+
* multiple <lib-app-header> instances on the same page each get their own.
|
|
56
|
+
*/
|
|
57
|
+
class DialogHostService {
|
|
58
|
+
constructor() {
|
|
59
|
+
this.hostElement = null;
|
|
60
|
+
}
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialogHostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
62
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialogHostService }); }
|
|
63
|
+
}
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: DialogHostService, decorators: [{
|
|
65
|
+
type: Injectable
|
|
66
|
+
}] });
|
|
67
|
+
|
|
46
68
|
class ConfirmDialogComponent {
|
|
47
69
|
constructor() {
|
|
48
70
|
this.header = input('', ...(ngDevMode ? [{ debugName: "header" }] : []));
|
|
@@ -55,6 +77,10 @@ class ConfirmDialogComponent {
|
|
|
55
77
|
this.styleClass = input('', ...(ngDevMode ? [{ debugName: "styleClass" }] : []));
|
|
56
78
|
this.result = output();
|
|
57
79
|
this.confirmationService = inject(ConfirmationService);
|
|
80
|
+
/** Appends the dialog inside <lib-app-header> instead of PrimeNG's default
|
|
81
|
+
* of <body>, so consuming apps can target it with a scoped CSS selector.
|
|
82
|
+
* See DialogHostService. */
|
|
83
|
+
this.dialogHostService = inject(DialogHostService);
|
|
58
84
|
}
|
|
59
85
|
openConfirmModal(event) {
|
|
60
86
|
this.confirmationService.confirm({
|
|
@@ -76,11 +102,11 @@ class ConfirmDialogComponent {
|
|
|
76
102
|
});
|
|
77
103
|
}
|
|
78
104
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ConfirmDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
79
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.27", 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 [styleClass]=\"'lib-dialog ' + 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 }); }
|
|
105
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.27", 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 }); }
|
|
80
106
|
}
|
|
81
107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
82
108
|
type: Component,
|
|
83
|
-
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 [styleClass]=\"'lib-dialog ' + styleClass()\"\r\n ></p-confirmDialog>\r\n</div>\r\n" }]
|
|
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" }]
|
|
84
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"] }] } });
|
|
85
111
|
|
|
86
112
|
class GlobalConstants {
|
|
@@ -258,9 +284,12 @@ class SliceToTwoPipe {
|
|
|
258
284
|
return 'NA';
|
|
259
285
|
}
|
|
260
286
|
textName = textName.trim();
|
|
261
|
-
|
|
287
|
+
// Space, underscore, and hyphen are all valid word separators for this
|
|
288
|
+
// input (display names, usernames, and hyphenated names all occur) —
|
|
289
|
+
// splitting on only one of them at a time missed hyphenated names like
|
|
290
|
+
// "Amit-Wagh".
|
|
262
291
|
let splitStringArr = textName
|
|
263
|
-
.split(
|
|
292
|
+
.split(/[ _-]+/)
|
|
264
293
|
.filter((part) => part.length > 0);
|
|
265
294
|
if (splitStringArr.length === 0) {
|
|
266
295
|
return 'NA';
|
|
@@ -1044,6 +1073,7 @@ class UserMailboxComponent {
|
|
|
1044
1073
|
this.apiURL = input('', ...(ngDevMode ? [{ debugName: "apiURL" }] : []));
|
|
1045
1074
|
this.cdr = inject(ChangeDetectorRef);
|
|
1046
1075
|
this.dialogService = inject(DialogService);
|
|
1076
|
+
this.dialogHostService = inject(DialogHostService);
|
|
1047
1077
|
this._eventService = inject(EventService);
|
|
1048
1078
|
this.translate = inject(TranslateService);
|
|
1049
1079
|
this.httpCommonService = inject(HttpCommonService);
|
|
@@ -1075,7 +1105,14 @@ class UserMailboxComponent {
|
|
|
1075
1105
|
// DynamicDialog defaults resizable to true (undefined !== false), which
|
|
1076
1106
|
// renders PrimeNG's .p-resizable-handle. Explicitly disable it.
|
|
1077
1107
|
resizable: false,
|
|
1108
|
+
// Same undefined !== false gap applies to draggable — explicitly disable it.
|
|
1109
|
+
draggable: false,
|
|
1078
1110
|
closable: true,
|
|
1111
|
+
// Appends inside <lib-app-header> instead of DialogService's default
|
|
1112
|
+
// of <body>, so consuming apps can target this dialog with a scoped
|
|
1113
|
+
// CSS selector. Falls back to the DialogService default if the host
|
|
1114
|
+
// reference isn't set for some reason. See DialogHostService.
|
|
1115
|
+
appendTo: this.dialogHostService.hostElement ?? undefined,
|
|
1079
1116
|
data: {
|
|
1080
1117
|
payload: mailDetails,
|
|
1081
1118
|
btnStatus: this.showVaultBtn,
|
|
@@ -1160,11 +1197,11 @@ class UserMailboxComponent {
|
|
|
1160
1197
|
this.closeMailDialogBox.emit();
|
|
1161
1198
|
}
|
|
1162
1199
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: UserMailboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1163
|
-
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], ngImport: i0, template: "<div class=\"mail-content\">\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 (isContentLoaded && hasUserAssignedMails) {\r\n <p-table\r\n [value]=\"ListOfUserAssingedMails\"\r\n selectionMode=\"multiple\"\r\n dataKey=\"code\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.From\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.Subject\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.ViewFrom\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\"
|
|
1200
|
+
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], ngImport: i0, template: "<div class=\"mail-content\">\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 (isContentLoaded && hasUserAssignedMails) {\r\n <p-table\r\n [value]=\"ListOfUserAssingedMails\"\r\n selectionMode=\"multiple\"\r\n dataKey=\"code\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.From\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.Subject\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.ViewFrom\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\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 <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 {{ userMail.smi_MailSubject }}\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></ng-template\r\n >\r\n </p-table>\r\n }\r\n @if (!isContentLoaded) {\r\n <p-table\r\n [value]=\"repeatLoader\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n responsiveLayout=\"scroll\"\r\n aria-hidden=\"true\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\">{{ \"Generic_lib.From\" | translate }}</th>\r\n <th scope=\"col\">{{ \"Generic_lib.Subject\" | translate }}</th>\r\n <th scope=\"col\">{{ \"Generic_lib.ViewFrom\" | translate }}</th>\r\n <th scope=\"col\">{{ \"Generic_lib.Action\" | translate }}</th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-data>\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 </ng-template>\r\n </p-table>\r\n }\r\n <!-- When There is No Data Present -->\r\n @if (!hasUserAssignedMails) {\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%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.markasRead{border-left:2px solid #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: "ngmodule", type: TableModule }, { kind: "component", type: i1$3.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: "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 }); }
|
|
1164
1201
|
}
|
|
1165
1202
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: UserMailboxComponent, decorators: [{
|
|
1166
1203
|
type: Component,
|
|
1167
|
-
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\">\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 (isContentLoaded && hasUserAssignedMails) {\r\n <p-table\r\n [value]=\"ListOfUserAssingedMails\"\r\n selectionMode=\"multiple\"\r\n dataKey=\"code\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.From\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.Subject\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.ViewFrom\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\"
|
|
1204
|
+
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\">\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 (isContentLoaded && hasUserAssignedMails) {\r\n <p-table\r\n [value]=\"ListOfUserAssingedMails\"\r\n selectionMode=\"multiple\"\r\n dataKey=\"code\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.From\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.Subject\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\r\n {{ \"Generic_lib.ViewFrom\" | translate }}\r\n </th>\r\n\r\n <th scope=\"col\">\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 <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 {{ userMail.smi_MailSubject }}\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></ng-template\r\n >\r\n </p-table>\r\n }\r\n @if (!isContentLoaded) {\r\n <p-table\r\n [value]=\"repeatLoader\"\r\n [tableStyle]=\"{ 'min-width': '50rem' }\"\r\n responsiveLayout=\"scroll\"\r\n aria-hidden=\"true\"\r\n >\r\n <ng-template pTemplate=\"header\">\r\n <tr>\r\n <th scope=\"col\">{{ \"Generic_lib.From\" | translate }}</th>\r\n <th scope=\"col\">{{ \"Generic_lib.Subject\" | translate }}</th>\r\n <th scope=\"col\">{{ \"Generic_lib.ViewFrom\" | translate }}</th>\r\n <th scope=\"col\">{{ \"Generic_lib.Action\" | translate }}</th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-data>\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 </ng-template>\r\n </p-table>\r\n }\r\n <!-- When There is No Data Present -->\r\n @if (!hasUserAssignedMails) {\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%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.markasRead{border-left:2px solid #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"] }]
|
|
1168
1205
|
}], propDecorators: { closeMailDialogBox: [{ type: i0.Output, args: ["closeMailDialogBox"] }], apiURL: [{ type: i0.Input, args: [{ isSignal: true, alias: "apiURL", required: false }] }] } });
|
|
1169
1206
|
|
|
1170
1207
|
class SidePopupComponent {
|
|
@@ -1187,11 +1224,11 @@ class SidePopupComponent {
|
|
|
1187
1224
|
this.visible.set(false);
|
|
1188
1225
|
}
|
|
1189
1226
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SidePopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1190
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.27", 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 ' + 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 }); }
|
|
1227
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.27", 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 }); }
|
|
1191
1228
|
}
|
|
1192
1229
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SidePopupComponent, decorators: [{
|
|
1193
1230
|
type: Component,
|
|
1194
|
-
args: [{ selector: 'app-side-popup', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [DialogModule], template: "<p-dialog\r\n [header]=\"header()\"\r\n [styleClass]=\"'lib-dialog ' + 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" }]
|
|
1231
|
+
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" }]
|
|
1195
1232
|
}], 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 }] }] } });
|
|
1196
1233
|
|
|
1197
1234
|
class CookieStorageManagerService {
|
|
@@ -2419,11 +2456,11 @@ class GeneralConfigurationComponent {
|
|
|
2419
2456
|
this.isPathUpdated = flag;
|
|
2420
2457
|
}
|
|
2421
2458
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GeneralConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2422
|
-
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 (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 (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 (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 (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 (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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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{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}.profile-card:hover{background:#e9ecef;color:#292f4c;border-radius:4px}.profile-card.active{border-radius:4px;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$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2.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 }); }
|
|
2459
|
+
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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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{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}.profile-card:hover{background:#e9ecef;color:#292f4c;border-radius:4px}.profile-card.active{border-radius:4px;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$1.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2.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 }); }
|
|
2423
2460
|
}
|
|
2424
2461
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GeneralConfigurationComponent, decorators: [{
|
|
2425
2462
|
type: Component,
|
|
2426
|
-
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 (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 (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 (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 (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 (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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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{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}.profile-card:hover{background:#e9ecef;color:#292f4c;border-radius:4px}.profile-card.active{border-radius:4px;cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"] }]
|
|
2463
|
+
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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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\" [title]=\"'Generic_lib.RequiredField' | translate\" [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{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}.profile-card:hover{background:#e9ecef;color:#292f4c;border-radius:4px}.profile-card.active{border-radius:4px;cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"] }]
|
|
2427
2464
|
}] });
|
|
2428
2465
|
|
|
2429
2466
|
class NgTranslationComponent {
|
|
@@ -2518,6 +2555,7 @@ class UserSidebarComponent {
|
|
|
2518
2555
|
this.destroyRef = inject(DestroyRef);
|
|
2519
2556
|
this.cdr = inject(ChangeDetectorRef);
|
|
2520
2557
|
this.dialogService = inject(DialogService);
|
|
2558
|
+
this.dialogHostService = inject(DialogHostService);
|
|
2521
2559
|
this._cookieService = inject(CookieStorageManagerService);
|
|
2522
2560
|
this.route = inject(Router);
|
|
2523
2561
|
this.msgService = inject(ToastMsgService);
|
|
@@ -2553,6 +2591,13 @@ class UserSidebarComponent {
|
|
|
2553
2591
|
// DynamicDialog defaults resizable to true (undefined !== false), which
|
|
2554
2592
|
// renders PrimeNG's .p-resizable-handle. Explicitly disable it.
|
|
2555
2593
|
resizable: false,
|
|
2594
|
+
// Same undefined !== false gap applies to draggable — explicitly disable it.
|
|
2595
|
+
draggable: false,
|
|
2596
|
+
// Appends inside <lib-app-header> instead of DialogService's default
|
|
2597
|
+
// of <body>, so consuming apps can target this dialog with a scoped
|
|
2598
|
+
// CSS selector. Falls back to the DialogService default if the host
|
|
2599
|
+
// reference isn't set for some reason. See DialogHostService.
|
|
2600
|
+
appendTo: this.dialogHostService.hostElement ?? undefined,
|
|
2556
2601
|
});
|
|
2557
2602
|
}
|
|
2558
2603
|
getLoggedInuserDteils() {
|
|
@@ -2718,7 +2763,7 @@ class UserSidebarComponent {
|
|
|
2718
2763
|
}
|
|
2719
2764
|
}
|
|
2720
2765
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: UserSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2721
|
-
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.ArconLearningCenter\" | 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 }); }
|
|
2766
|
+
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 }); }
|
|
2722
2767
|
}
|
|
2723
2768
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: UserSidebarComponent, decorators: [{
|
|
2724
2769
|
type: Component,
|
|
@@ -2729,7 +2774,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
2729
2774
|
TranslateModule,
|
|
2730
2775
|
NgTranslationComponent,
|
|
2731
2776
|
SliceToTwoPipe,
|
|
2732
|
-
], 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.ArconLearningCenter\" | 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"] }]
|
|
2777
|
+
], 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"] }]
|
|
2733
2778
|
}], 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"] }] } });
|
|
2734
2779
|
|
|
2735
2780
|
/**
|
|
@@ -2747,7 +2792,11 @@ class AppPanelComponent {
|
|
|
2747
2792
|
this.msgService = inject(ToastMsgService);
|
|
2748
2793
|
this.destroyRef = inject(DestroyRef);
|
|
2749
2794
|
this.cdRef = inject(ChangeDetectorRef);
|
|
2795
|
+
this.document = inject(DOCUMENT);
|
|
2750
2796
|
this.popoverRef = viewChild.required('appPopover');
|
|
2797
|
+
this.popoverContentRef = viewChild('popoverContent', ...(ngDevMode ? [{ debugName: "popoverContentRef" }] : []));
|
|
2798
|
+
/** The 9-dots trigger button, captured on open so focus can return to it on close. */
|
|
2799
|
+
this.triggerElement = null;
|
|
2751
2800
|
this.APP_PANEL_SKELETON_COUNT = 12;
|
|
2752
2801
|
/** List of apps the user is privileged to access. */
|
|
2753
2802
|
this.ListOfUserPrivillegedApp = [];
|
|
@@ -2761,14 +2810,119 @@ class AppPanelComponent {
|
|
|
2761
2810
|
APP032: { check: () => this.httpCommonService.checkMFAConfiguration() },
|
|
2762
2811
|
APP033: { check: () => this.httpCommonService.getInternalAppConfig('app033') },
|
|
2763
2812
|
};
|
|
2813
|
+
/** Set just before closing via a forward Tab-out (see onPopoverKeydown),
|
|
2814
|
+
* so onPopoverHide's normal focus-to-trigger restore is skipped — that
|
|
2815
|
+
* path already sent focus to the next element itself. */
|
|
2816
|
+
this.skipTriggerFocusOnHide = false;
|
|
2764
2817
|
}
|
|
2765
2818
|
/** Toggles the popover and fetches the app list the first time it opens. */
|
|
2766
2819
|
toggle(event) {
|
|
2820
|
+
this.triggerElement = event.currentTarget;
|
|
2767
2821
|
this.popoverRef().toggle(event);
|
|
2768
2822
|
if (this.ListOfUserPrivillegedApp.length === 0) {
|
|
2769
2823
|
this.getUserAssignedApp();
|
|
2770
2824
|
}
|
|
2771
2825
|
}
|
|
2826
|
+
/** Moves focus to the first app tile. Called on popover open, and again once
|
|
2827
|
+
* the app list finishes loading if the popover was opened while it was
|
|
2828
|
+
* still showing the skeleton (which has no focusable tiles yet). */
|
|
2829
|
+
onPopoverShow() {
|
|
2830
|
+
setTimeout(() => this.focusFirstTile());
|
|
2831
|
+
}
|
|
2832
|
+
/** Returns focus to the 9-dots trigger button on most close paths (Escape,
|
|
2833
|
+
* outside click, or selecting an app). Skipped for a forward Tab-out —
|
|
2834
|
+
* see onPopoverKeydown's Tab case and skipTriggerFocusOnHide below. */
|
|
2835
|
+
onPopoverHide() {
|
|
2836
|
+
if (this.skipTriggerFocusOnHide) {
|
|
2837
|
+
this.skipTriggerFocusOnHide = false;
|
|
2838
|
+
return;
|
|
2839
|
+
}
|
|
2840
|
+
this.triggerElement?.focus();
|
|
2841
|
+
}
|
|
2842
|
+
/** Grid keyboard navigation for the app tiles, matching the reference
|
|
2843
|
+
* acmo-login-page waffle panel: Arrow keys + Home/End move the roving
|
|
2844
|
+
* focus between tiles (3-column grid, see .waffle-align).
|
|
2845
|
+
* Tab past the last tile continues the user's forward tab traversal to
|
|
2846
|
+
* whatever comes after the 9-dots button on the page, instead of looping
|
|
2847
|
+
* focus back onto it. Shift+Tab before the first tile returns focus to
|
|
2848
|
+
* the 9-dots button itself (the natural "one step back" target). */
|
|
2849
|
+
onPopoverKeydown(event) {
|
|
2850
|
+
const tiles = this.getFocusableTiles();
|
|
2851
|
+
if (tiles.length === 0) {
|
|
2852
|
+
return;
|
|
2853
|
+
}
|
|
2854
|
+
const columns = 3;
|
|
2855
|
+
const index = tiles.indexOf(this.document.activeElement);
|
|
2856
|
+
if (index === -1) {
|
|
2857
|
+
return;
|
|
2858
|
+
}
|
|
2859
|
+
const count = tiles.length;
|
|
2860
|
+
let target = -1;
|
|
2861
|
+
switch (event.key) {
|
|
2862
|
+
case 'ArrowRight':
|
|
2863
|
+
target = Math.min(index + 1, count - 1);
|
|
2864
|
+
break;
|
|
2865
|
+
case 'ArrowLeft':
|
|
2866
|
+
target = Math.max(index - 1, 0);
|
|
2867
|
+
break;
|
|
2868
|
+
case 'ArrowDown':
|
|
2869
|
+
target = Math.min(index + columns, count - 1);
|
|
2870
|
+
break;
|
|
2871
|
+
case 'ArrowUp':
|
|
2872
|
+
target = Math.max(index - columns, 0);
|
|
2873
|
+
break;
|
|
2874
|
+
case 'Home':
|
|
2875
|
+
target = 0;
|
|
2876
|
+
break;
|
|
2877
|
+
case 'End':
|
|
2878
|
+
target = count - 1;
|
|
2879
|
+
break;
|
|
2880
|
+
case 'Tab':
|
|
2881
|
+
if (!event.shiftKey && index === count - 1) {
|
|
2882
|
+
event.preventDefault();
|
|
2883
|
+
this.skipTriggerFocusOnHide = true;
|
|
2884
|
+
this.popoverRef()?.hide();
|
|
2885
|
+
this.focusNextAfterTrigger();
|
|
2886
|
+
}
|
|
2887
|
+
else if (event.shiftKey && index === 0) {
|
|
2888
|
+
event.preventDefault();
|
|
2889
|
+
this.popoverRef()?.hide();
|
|
2890
|
+
}
|
|
2891
|
+
return;
|
|
2892
|
+
default:
|
|
2893
|
+
return;
|
|
2894
|
+
}
|
|
2895
|
+
event.preventDefault();
|
|
2896
|
+
tiles[target]?.focus();
|
|
2897
|
+
}
|
|
2898
|
+
focusFirstTile() {
|
|
2899
|
+
this.getFocusableTiles()[0]?.focus();
|
|
2900
|
+
}
|
|
2901
|
+
getFocusableTiles() {
|
|
2902
|
+
const root = this.popoverContentRef()?.nativeElement;
|
|
2903
|
+
return root ? Array.from(root.querySelectorAll('.waffle-popup')) : [];
|
|
2904
|
+
}
|
|
2905
|
+
/** Focuses whatever comes immediately after the 9-dots trigger button in
|
|
2906
|
+
* the page's natural tab order, continuing the user's forward Tab press
|
|
2907
|
+
* instead of looping it back onto the button they just tabbed away from.
|
|
2908
|
+
* App tiles are excluded from the candidate list since they're mid-close. */
|
|
2909
|
+
focusNextAfterTrigger() {
|
|
2910
|
+
const trigger = this.triggerElement;
|
|
2911
|
+
if (!trigger) {
|
|
2912
|
+
return;
|
|
2913
|
+
}
|
|
2914
|
+
const FOCUSABLE_SELECTOR = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
2915
|
+
const candidates = Array.from(this.document.querySelectorAll(FOCUSABLE_SELECTOR)).filter((el) => !el.classList.contains('waffle-popup') && this.isVisible(el));
|
|
2916
|
+
const triggerIndex = candidates.indexOf(trigger);
|
|
2917
|
+
if (triggerIndex === -1) {
|
|
2918
|
+
trigger.focus();
|
|
2919
|
+
return;
|
|
2920
|
+
}
|
|
2921
|
+
(candidates[triggerIndex + 1] ?? trigger).focus();
|
|
2922
|
+
}
|
|
2923
|
+
isVisible(el) {
|
|
2924
|
+
return !!(el.offsetWidth || el.offsetHeight || el.getClientRects().length);
|
|
2925
|
+
}
|
|
2772
2926
|
/** Fetches the apps assigned to the current user. */
|
|
2773
2927
|
getUserAssignedApp() {
|
|
2774
2928
|
this.ListOfUserPrivillegedApp = [];
|
|
@@ -2780,6 +2934,9 @@ class AppPanelComponent {
|
|
|
2780
2934
|
this.userAppLoaderLoadder = false;
|
|
2781
2935
|
this.ListOfUserPrivillegedApp = result;
|
|
2782
2936
|
this.cdRef.markForCheck();
|
|
2937
|
+
if (this.popoverRef().overlayVisible) {
|
|
2938
|
+
this.focusFirstTile();
|
|
2939
|
+
}
|
|
2783
2940
|
});
|
|
2784
2941
|
}
|
|
2785
2942
|
/** Handles a click on an app tile.
|
|
@@ -2812,12 +2969,12 @@ class AppPanelComponent {
|
|
|
2812
2969
|
});
|
|
2813
2970
|
}
|
|
2814
2971
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AppPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2815
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: AppPanelComponent, isStandalone: true, selector: "app-panel", viewQueries: [{ propertyName: "popoverRef", first: true, predicate: ["appPopover"], descendants: true, isSignal: true }], ngImport: i0, template: "<!-- Waffle (9-dots) popover \u2014 anchored to the button that calls toggle() -->\r\n<p-popover
|
|
2972
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", 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\"\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}.waffle-popup:hover{background:var(--primary-notification-bg);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 }); }
|
|
2816
2973
|
}
|
|
2817
2974
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AppPanelComponent, decorators: [{
|
|
2818
2975
|
type: Component,
|
|
2819
|
-
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<p-popover
|
|
2820
|
-
}], propDecorators: { popoverRef: [{ type: i0.ViewChild, args: ['appPopover', { isSignal: true }] }] } });
|
|
2976
|
+
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\"\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}.waffle-popup:hover{background:var(--primary-notification-bg);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"] }]
|
|
2977
|
+
}], propDecorators: { popoverRef: [{ type: i0.ViewChild, args: ['appPopover', { isSignal: true }] }], popoverContentRef: [{ type: i0.ViewChild, args: ['popoverContent', { isSignal: true }] }] } });
|
|
2821
2978
|
|
|
2822
2979
|
/**
|
|
2823
2980
|
* Notification side panel — shows event-wise pending ticket counts.
|
|
@@ -3432,11 +3589,17 @@ class CommonHeaderLibComponent {
|
|
|
3432
3589
|
// (e.g. headerData.userNotificationCount(), lobService.userLOBList)
|
|
3433
3590
|
this.headerData = inject(HeaderDataService);
|
|
3434
3591
|
this.lobService = inject(LobService);
|
|
3592
|
+
this.dialogHostService = inject(DialogHostService);
|
|
3593
|
+
this.elementRef = inject((ElementRef));
|
|
3435
3594
|
this.isOpenSidePopup = false;
|
|
3436
3595
|
this.showUserDetails = false;
|
|
3437
3596
|
this.showMailboxScreenflag = false;
|
|
3438
3597
|
this.isNotificationPanelOpen = false;
|
|
3439
3598
|
this.cdRef = inject(ChangeDetectorRef);
|
|
3599
|
+
// Lets this library's dialogs append inside <lib-app-header> itself
|
|
3600
|
+
// instead of PrimeNG's default of <body>, so consuming apps can target
|
|
3601
|
+
// them with a scoped CSS selector — see DialogHostService.
|
|
3602
|
+
this.dialogHostService.hostElement = this.elementRef.nativeElement;
|
|
3440
3603
|
this.setWebAPIURL();
|
|
3441
3604
|
// EnableLOB is a signal input — reload the LOB list whenever it becomes true.
|
|
3442
3605
|
// untracked() prevents reads inside getListofLOB from becoming dependencies
|
|
@@ -3589,11 +3752,11 @@ class CommonHeaderLibComponent {
|
|
|
3589
3752
|
});
|
|
3590
3753
|
}
|
|
3591
3754
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CommonHeaderLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3592
|
-
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 }, 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], 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 />\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 [style]=\"{ width: '150px', height: '30px' }\"\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 @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\">\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 @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\">\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 (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=\"changingContent\">\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 .p-datatable-thead>tr{border:1px solid #dee2e6;border-radius:24px}.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)}.mail-table .p-datatable .p-datatable-tbody>tr{border:1px solid #dee2e6;border-radius:24px}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:38px;font-size:13px;color:var(--secondary-text);white-space:nowrap}.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-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}.p-datatable-table{border-collapse:collapse!important}.p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important}.view-pass-details .p-dialog-content:last-of-type{border-bottom-right-radius:4px!important;border-bottom-left-radius:4px!important;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}.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)}.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;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:flex;align-items:center}.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}.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:4px 10px 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}:focus-visible{outline:1px solid #007eff!important;outline-offset:0px;box-shadow:0 0 0 .1rem #bfdbfe!important}.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%;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}.changingContent{overflow:hidden;width:100%}.changingContent .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.changingContent .inner-garient{padding:50px 20px 115px 30px}.changingContent .table-heading{padding:0 20px 1px 30px}.changingContent .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.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 }); }
|
|
3755
|
+
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 }, 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 />\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 [style]=\"{ width: '150px', height: '30px' }\"\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 @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\">\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 @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\">\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=\"changingContent\">\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 .p-datatable-thead>tr{border:1px solid #dee2e6;border-radius:24px}.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)}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(1){width:18%}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(2){width:45%}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(3){width:22%}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(4){width:15%}.mail-table .p-datatable .p-datatable-tbody>tr{border:1px solid #dee2e6;border-radius:24px}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:38px;font-size:13px;color:var(--secondary-text);white-space:nowrap}.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-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:collapse!important;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.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}.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)}.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;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:flex;align-items:center}.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-offset: 0px;--focus-ring-glow: 0 0 0 .1rem #bfdbfe}.lib-ui :focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color)!important;outline-offset:var(--focus-ring-offset);box-shadow:var(--focus-ring-glow)!important;border-radius:2px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color)!important;outline-offset:var(--focus-ring-offset);box-shadow:var(--focus-ring-glow)!important;border-color:transparent!important;border-radius:2px!important}.lib-ui .p-select-label:focus-visible{outline: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:4px 10px 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%;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}.changingContent{overflow:hidden;width:100%}.changingContent .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.changingContent .inner-garient{padding:50px 20px 115px 30px}.changingContent .table-heading{padding:0 20px 1px 30px}.changingContent .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.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 }); }
|
|
3593
3756
|
}
|
|
3594
3757
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CommonHeaderLibComponent, decorators: [{
|
|
3595
3758
|
type: Component,
|
|
3596
|
-
args: [{ selector: 'lib-app-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [HeaderDataService, LobService], imports: [
|
|
3759
|
+
args: [{ selector: 'lib-app-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, providers: [HeaderDataService, LobService, DialogHostService], imports: [
|
|
3597
3760
|
CommonModule,
|
|
3598
3761
|
FormsModule,
|
|
3599
3762
|
SelectModule,
|
|
@@ -3607,7 +3770,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
3607
3770
|
AppPanelComponent,
|
|
3608
3771
|
NotificationPanelComponent,
|
|
3609
3772
|
ConfirmDialogComponent,
|
|
3610
|
-
], 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 />\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 [style]=\"{ width: '150px', height: '30px' }\"\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 @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\">\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 @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\">\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 (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=\"changingContent\">\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 .p-datatable-thead>tr{border:1px solid #dee2e6;border-radius:24px}.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)}.mail-table .p-datatable .p-datatable-tbody>tr{border:1px solid #dee2e6;border-radius:24px}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:38px;font-size:13px;color:var(--secondary-text);white-space:nowrap}.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-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}.p-datatable-table{border-collapse:collapse!important}.p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important}.view-pass-details .p-dialog-content:last-of-type{border-bottom-right-radius:4px!important;border-bottom-left-radius:4px!important;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}.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)}.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;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:flex;align-items:center}.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}.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:4px 10px 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}:focus-visible{outline:1px solid #007eff!important;outline-offset:0px;box-shadow:0 0 0 .1rem #bfdbfe!important}.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%;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}.changingContent{overflow:hidden;width:100%}.changingContent .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.changingContent .inner-garient{padding:50px 20px 115px 30px}.changingContent .table-heading{padding:0 20px 1px 30px}.changingContent .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"] }]
|
|
3773
|
+
], 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 />\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 [style]=\"{ width: '150px', height: '30px' }\"\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 @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\">\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 @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\">\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=\"changingContent\">\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 .p-datatable-thead>tr{border:1px solid #dee2e6;border-radius:24px}.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)}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(1){width:18%}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(2){width:45%}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(3){width:22%}.mail-table .p-datatable .p-datatable-thead>tr th:nth-child(4){width:15%}.mail-table .p-datatable .p-datatable-tbody>tr{border:1px solid #dee2e6;border-radius:24px}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:38px;font-size:13px;color:var(--secondary-text);white-space:nowrap}.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-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:collapse!important;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.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}.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)}.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;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:flex;align-items:center}.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-offset: 0px;--focus-ring-glow: 0 0 0 .1rem #bfdbfe}.lib-ui :focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color)!important;outline-offset:var(--focus-ring-offset);box-shadow:var(--focus-ring-glow)!important;border-radius:2px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color)!important;outline-offset:var(--focus-ring-offset);box-shadow:var(--focus-ring-glow)!important;border-color:transparent!important;border-radius:2px!important}.lib-ui .p-select-label:focus-visible{outline: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:4px 10px 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%;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}.changingContent{overflow:hidden;width:100%}.changingContent .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.changingContent .inner-garient{padding:50px 20px 115px 30px}.changingContent .table-heading{padding:0 20px 1px 30px}.changingContent .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"] }]
|
|
3611
3774
|
}], 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 }] }], 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 }] }] } });
|
|
3612
3775
|
|
|
3613
3776
|
/**
|