common-header-lib 0.20.10 → 0.20.11
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 +323 -214
- package/fesm2022/common-header-lib.mjs +325 -22
- package/fesm2022/common-header-lib.mjs.map +1 -1
- package/index.d.ts +62 -1
- package/package.json +1 -1
|
@@ -32,7 +32,6 @@ import * as i1$2 from 'primeng/paginator';
|
|
|
32
32
|
import { PaginatorModule } from 'primeng/paginator';
|
|
33
33
|
import * as i1$4 from 'primeng/dialog';
|
|
34
34
|
import { DialogModule } from 'primeng/dialog';
|
|
35
|
-
import { Router } from '@angular/router';
|
|
36
35
|
import * as CryptoJS from 'crypto-js';
|
|
37
36
|
import JSEncrypt from 'jsencrypt';
|
|
38
37
|
import { decode } from '@msgpack/msgpack';
|
|
@@ -1380,6 +1379,293 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
1380
1379
|
}]
|
|
1381
1380
|
}] });
|
|
1382
1381
|
|
|
1382
|
+
/** The backend's LoginMethod enum. 0 is deliberately not a value - see toEnumValue. */
|
|
1383
|
+
const LOGIN_METHOD = {
|
|
1384
|
+
1: 'login', // the ordinary login page
|
|
1385
|
+
2: 'windowsAuth', // Windows / domain authentication
|
|
1386
|
+
3: 'defaultIdp', // the tenant's default identity provider
|
|
1387
|
+
};
|
|
1388
|
+
/**
|
|
1389
|
+
* The legacy booleans, read in this order when there is no valid `loginMethod`. They are the
|
|
1390
|
+
* only signal on the logout API's result (which has no `loginMethod`), and the fallback on
|
|
1391
|
+
* cookiesUpdation for environments not yet on the backend build that sends `loginMethod`.
|
|
1392
|
+
* Do not remove them while the logout API still relies on them.
|
|
1393
|
+
*/
|
|
1394
|
+
const LEGACY = [
|
|
1395
|
+
['identity', 'windowsAuth'],
|
|
1396
|
+
['ssoDefaultLogin', 'defaultIdp'],
|
|
1397
|
+
];
|
|
1398
|
+
/**
|
|
1399
|
+
* Reads where to send the user from a cookiesUpdation / logout `result`.
|
|
1400
|
+
*
|
|
1401
|
+
* Rules (all four matter):
|
|
1402
|
+
* 1. `loginMethod` is read first - it is the more precise signal.
|
|
1403
|
+
* 2. An unrecognised `loginMethod` (e.g. a 4th method this build does not know) falls through to
|
|
1404
|
+
* the legacy booleans, NOT to the login page - the booleans are still a better answer.
|
|
1405
|
+
* 3. The login page is the floor - what a tenant with no special sign-in method always had.
|
|
1406
|
+
* 4. `0` is not a value and a numeric string is (see toEnumValue).
|
|
1407
|
+
*/
|
|
1408
|
+
function readSessionEndAction(result) {
|
|
1409
|
+
if (!result) {
|
|
1410
|
+
return 'login';
|
|
1411
|
+
}
|
|
1412
|
+
// Rule 1: loginMethod, when it carries one of the values the enum defines
|
|
1413
|
+
const declared = toEnumValue(result.loginMethod);
|
|
1414
|
+
if (declared !== null && LOGIN_METHOD[declared]) {
|
|
1415
|
+
return LOGIN_METHOD[declared];
|
|
1416
|
+
}
|
|
1417
|
+
// Rule 2: missing / unknown loginMethod -> the legacy booleans, identity first
|
|
1418
|
+
for (const [field, action] of LEGACY) {
|
|
1419
|
+
if (result[field]) {
|
|
1420
|
+
return action;
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
// Rule 3: nothing special about this tenant
|
|
1424
|
+
return 'login';
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* Rule 4: a number, or a numeric string; anything else is "not given".
|
|
1428
|
+
* - A quoted "3" is what one serialiser in the chain produces; reading it as "not given" would
|
|
1429
|
+
* send a default-IDP user to the login page - the exact loop being fixed.
|
|
1430
|
+
* - 0 is what a numeric field defaults to when nothing set it, so it is not in LOGIN_METHOD and
|
|
1431
|
+
* falls through to the booleans instead of becoming a routing decision.
|
|
1432
|
+
*/
|
|
1433
|
+
function toEnumValue(value) {
|
|
1434
|
+
if (typeof value === 'number' && Number.isInteger(value)) {
|
|
1435
|
+
return value;
|
|
1436
|
+
}
|
|
1437
|
+
if (typeof value === 'string' && /^\d+$/.test(value.trim())) {
|
|
1438
|
+
return Number(value.trim());
|
|
1439
|
+
}
|
|
1440
|
+
return null;
|
|
1441
|
+
}
|
|
1442
|
+
/**
|
|
1443
|
+
* The login page of the host. `origin` is the page's own origin (never a URL from an API
|
|
1444
|
+
* response - that would be an open redirect).
|
|
1445
|
+
*/
|
|
1446
|
+
function loginPageUrl(origin) {
|
|
1447
|
+
return `${origin}/#/${RoutePaths.LOGINPG_PATH}`;
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* The logout screen for a mode that must not go to the login page. Built from the page's own
|
|
1451
|
+
* origin and the route constant - never from a URL in the API response (open redirect).
|
|
1452
|
+
*/
|
|
1453
|
+
function logoutScreenUrl(origin, mode) {
|
|
1454
|
+
return `${origin}/#/${RoutePaths.LOGOUT_PATH}?mode=${mode}`;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
/*
|
|
1458
|
+
* The single place that decides where a user goes when their session ends, for the header and
|
|
1459
|
+
* for every host application.
|
|
1460
|
+
*
|
|
1461
|
+
* Two ways a session ends:
|
|
1462
|
+
* 1. The user clicks Logout in the header -> UserSidebarComponent.logoutCurrentUser() calls the
|
|
1463
|
+
* logout API itself and then redirect(result).
|
|
1464
|
+
* 2. The session expires -> the HOST application notices it (its HTTP interceptor on
|
|
1465
|
+
* 302 / 401 / 419 or a missing token, its 403 page after the countdown) and calls
|
|
1466
|
+
* endSession(). The header cannot notice this itself: the host's API errors never reach the
|
|
1467
|
+
* header, they go through the host's own interceptor.
|
|
1468
|
+
*/
|
|
1469
|
+
class SessionEndService {
|
|
1470
|
+
constructor() {
|
|
1471
|
+
this.http = inject(HttpClient);
|
|
1472
|
+
/*
|
|
1473
|
+
* Set once a session end has started, so several failing requests (e.g. five parallel calls all
|
|
1474
|
+
* getting 401) call cookiesUpdation and redirect only once. The page is left right after, so
|
|
1475
|
+
* this is never reset.
|
|
1476
|
+
*/
|
|
1477
|
+
this.ending = false;
|
|
1478
|
+
/** The cookiesUpdation payload: delete ('d') all cookies ('-100'). Unchanged from before. */
|
|
1479
|
+
this.deleteAllCookiesPayload = {
|
|
1480
|
+
actiontype: COOKIECONSTANT.COOKIEDELETEVENT,
|
|
1481
|
+
keys: [COOKIECONSTANT.ALLCOOKIEDELET],
|
|
1482
|
+
};
|
|
1483
|
+
}
|
|
1484
|
+
/**
|
|
1485
|
+
* The session has expired: delete the server-side cookies, clear the browser storage and send
|
|
1486
|
+
* the user where their sign-in method allows (see readSessionEndAction).
|
|
1487
|
+
*
|
|
1488
|
+
* Called by the host application - its HTTP interceptor (302 / 401 / 419, missing token) and
|
|
1489
|
+
* its 403 error page. Safe to call more than once; only the first call does anything.
|
|
1490
|
+
*/
|
|
1491
|
+
endSession() {
|
|
1492
|
+
if (this.ending) {
|
|
1493
|
+
return;
|
|
1494
|
+
}
|
|
1495
|
+
this.ending = true;
|
|
1496
|
+
// Same endpoint and origin the host applications called before this moved here
|
|
1497
|
+
const url = `${this.origin()}/xaccess/api/SecureAccess/cookiesUpdation`;
|
|
1498
|
+
this.http.post(url, this.deleteAllCookiesPayload).subscribe({
|
|
1499
|
+
next: (response) => {
|
|
1500
|
+
this.clearStorage();
|
|
1501
|
+
// Only a successful response carries a usable result; anything else -> the login page
|
|
1502
|
+
this.redirect(response?.success ? response.result : null);
|
|
1503
|
+
},
|
|
1504
|
+
error: () => {
|
|
1505
|
+
// cookiesUpdation itself failed: nothing to read loginMethod from, so the login page,
|
|
1506
|
+
// as before. Storage is not cleared here - unchanged from the previous host behaviour.
|
|
1507
|
+
this.navigate(loginPageUrl(this.origin()));
|
|
1508
|
+
},
|
|
1509
|
+
});
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
* Sends the user where a cookiesUpdation / logout `result` says:
|
|
1513
|
+
* the login page for loginMethod 1, the logout screen with `?mode=windowsAuth` /
|
|
1514
|
+
* `?mode=defaultIdp` for 2 / 3. Without a valid loginMethod (always the case for the logout
|
|
1515
|
+
* API's result) `identity`, then `ssoDefaultLogin` decide, else the login page - see
|
|
1516
|
+
* readSessionEndAction.
|
|
1517
|
+
*
|
|
1518
|
+
* Used by endSession() and by the header's Logout button.
|
|
1519
|
+
*/
|
|
1520
|
+
redirect(result) {
|
|
1521
|
+
const action = readSessionEndAction(result);
|
|
1522
|
+
const origin = this.origin();
|
|
1523
|
+
this.navigate(action === 'login' ? loginPageUrl(origin) : logoutScreenUrl(origin, action));
|
|
1524
|
+
}
|
|
1525
|
+
/**
|
|
1526
|
+
* Leaves the page. A full page load (not router navigation) on purpose: the login and logout
|
|
1527
|
+
* screens are served at the origin root, not inside the host application, so a router path
|
|
1528
|
+
* like '/logout' would land on the host's page-not-found.
|
|
1529
|
+
* Public only so tests can replace it - a real navigation would unload the test runner.
|
|
1530
|
+
*/
|
|
1531
|
+
navigate(url) {
|
|
1532
|
+
globalThis.location.href = url;
|
|
1533
|
+
}
|
|
1534
|
+
origin() {
|
|
1535
|
+
return new URL(globalThis.location.href).origin;
|
|
1536
|
+
}
|
|
1537
|
+
clearStorage() {
|
|
1538
|
+
localStorage.clear();
|
|
1539
|
+
sessionStorage.clear();
|
|
1540
|
+
}
|
|
1541
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SessionEndService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1542
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SessionEndService, providedIn: 'root' }); }
|
|
1543
|
+
}
|
|
1544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: SessionEndService, decorators: [{
|
|
1545
|
+
type: Injectable,
|
|
1546
|
+
args: [{
|
|
1547
|
+
providedIn: 'root',
|
|
1548
|
+
}]
|
|
1549
|
+
}] });
|
|
1550
|
+
|
|
1551
|
+
/**
|
|
1552
|
+
* Replays a server-supplied auto-submit page (the SAML/OIDC `spRoute` HTML)
|
|
1553
|
+
* without executing any of it. Ported from the Workspace UI (CI-25594).
|
|
1554
|
+
*
|
|
1555
|
+
* The backend returns a whole document whose body carries
|
|
1556
|
+
* `onload="document.forms[0].submit()"`. Handing that to `document.write()`
|
|
1557
|
+
* keeps the host page's CSP, and under `script-src 'self'` that inline onload
|
|
1558
|
+
* handler is refused, so the form renders and never submits, leaving a blank
|
|
1559
|
+
* page.
|
|
1560
|
+
*
|
|
1561
|
+
* So the HTML is never given to the parser as markup. The form is read out of
|
|
1562
|
+
* an inert DOMParser document, rebuilt with DOM calls, and submitted from our
|
|
1563
|
+
* own bundle. Identical request, no inline script.
|
|
1564
|
+
*/
|
|
1565
|
+
class ExternalFormPostService {
|
|
1566
|
+
/**
|
|
1567
|
+
* @param html Response body from the server (`spRoute` or a SAML connect payload).
|
|
1568
|
+
* @param target `_self` navigates the current window, `_blank` opens a new one.
|
|
1569
|
+
* @returns false when nothing submittable was found, or a `_blank` popup was
|
|
1570
|
+
* blocked -- callers use this to keep their existing error branch.
|
|
1571
|
+
*/
|
|
1572
|
+
submitServerForm(html, target = '_self') {
|
|
1573
|
+
if (!html?.trim()) {
|
|
1574
|
+
return false;
|
|
1575
|
+
}
|
|
1576
|
+
const parsed = new DOMParser().parseFromString(html, 'text/html');
|
|
1577
|
+
const sourceForm = parsed.querySelector('form');
|
|
1578
|
+
if (sourceForm) {
|
|
1579
|
+
return this.replayForm(sourceForm, target);
|
|
1580
|
+
}
|
|
1581
|
+
// Not every spRoute is a form; some are a redirect shell or a bare URL.
|
|
1582
|
+
const redirect = this.findRedirectUrl(parsed, html);
|
|
1583
|
+
return redirect ? this.navigate(redirect, target) : false;
|
|
1584
|
+
}
|
|
1585
|
+
replayForm(sourceForm, target) {
|
|
1586
|
+
const action = this.resolveSafeUrl(sourceForm.getAttribute('action'));
|
|
1587
|
+
if (!action) {
|
|
1588
|
+
return false;
|
|
1589
|
+
}
|
|
1590
|
+
// Opening the blank window first keeps the popup-blocked branch.
|
|
1591
|
+
const win = target === '_blank' ? globalThis.open('', '_blank') : globalThis.window;
|
|
1592
|
+
const doc = win?.document;
|
|
1593
|
+
if (!win || !doc?.body) {
|
|
1594
|
+
return false;
|
|
1595
|
+
}
|
|
1596
|
+
const form = doc.createElement('form');
|
|
1597
|
+
form.action = action;
|
|
1598
|
+
form.method =
|
|
1599
|
+
(sourceForm.getAttribute('method') ?? 'GET').trim().toUpperCase() === 'POST' ? 'POST' : 'GET';
|
|
1600
|
+
form.hidden = true;
|
|
1601
|
+
sourceForm.querySelectorAll('input[name], select[name], textarea[name]').forEach((field) => {
|
|
1602
|
+
const name = field.getAttribute('name');
|
|
1603
|
+
if (!name) {
|
|
1604
|
+
return;
|
|
1605
|
+
}
|
|
1606
|
+
const input = doc.createElement('input');
|
|
1607
|
+
input.type = 'hidden';
|
|
1608
|
+
input.name = name;
|
|
1609
|
+
input.value = this.readFieldValue(field);
|
|
1610
|
+
form.appendChild(input);
|
|
1611
|
+
});
|
|
1612
|
+
doc.body.appendChild(form);
|
|
1613
|
+
form.submit();
|
|
1614
|
+
return true;
|
|
1615
|
+
}
|
|
1616
|
+
readFieldValue(field) {
|
|
1617
|
+
switch (field.tagName.toLowerCase()) {
|
|
1618
|
+
case 'textarea':
|
|
1619
|
+
return field.textContent ?? '';
|
|
1620
|
+
case 'select': {
|
|
1621
|
+
const option = field.querySelector('option[selected]') ?? field.querySelector('option');
|
|
1622
|
+
return option?.getAttribute('value') ?? option?.textContent ?? '';
|
|
1623
|
+
}
|
|
1624
|
+
default:
|
|
1625
|
+
return field.getAttribute('value') ?? '';
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
findRedirectUrl(parsed, html) {
|
|
1629
|
+
const refresh = Array.from(parsed.querySelectorAll('meta')).find((meta) => meta.getAttribute('http-equiv')?.toLowerCase() === 'refresh');
|
|
1630
|
+
const fromMeta = refresh
|
|
1631
|
+
?.getAttribute('content')
|
|
1632
|
+
?.match(/url\s*=\s*(.+)$/i)?.[1]
|
|
1633
|
+
?.trim()
|
|
1634
|
+
.replace(/^['"]|['"]$/g, '');
|
|
1635
|
+
if (fromMeta) {
|
|
1636
|
+
return this.resolveSafeUrl(fromMeta);
|
|
1637
|
+
}
|
|
1638
|
+
const trimmed = html.trim();
|
|
1639
|
+
return /^https?:\/\/\S+$/i.test(trimmed) ? this.resolveSafeUrl(trimmed) : null;
|
|
1640
|
+
}
|
|
1641
|
+
navigate(url, target) {
|
|
1642
|
+
if (target === '_blank') {
|
|
1643
|
+
return !!globalThis.open(url, '_blank');
|
|
1644
|
+
}
|
|
1645
|
+
globalThis.location.href = url;
|
|
1646
|
+
return true;
|
|
1647
|
+
}
|
|
1648
|
+
/** Keeps a hostile `action` (javascript:, data:) from being replayed. */
|
|
1649
|
+
resolveSafeUrl(raw) {
|
|
1650
|
+
if (!raw) {
|
|
1651
|
+
return null;
|
|
1652
|
+
}
|
|
1653
|
+
try {
|
|
1654
|
+
const url = new URL(raw, globalThis.location.href);
|
|
1655
|
+
return url.protocol === 'https:' || url.protocol === 'http:' ? url.href : null;
|
|
1656
|
+
}
|
|
1657
|
+
catch {
|
|
1658
|
+
return null;
|
|
1659
|
+
}
|
|
1660
|
+
}
|
|
1661
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExternalFormPostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1662
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExternalFormPostService, providedIn: 'root' }); }
|
|
1663
|
+
}
|
|
1664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ExternalFormPostService, decorators: [{
|
|
1665
|
+
type: Injectable,
|
|
1666
|
+
args: [{ providedIn: 'root' }]
|
|
1667
|
+
}] });
|
|
1668
|
+
|
|
1383
1669
|
class EncrydecryRSAdataService {
|
|
1384
1670
|
generateAESKey() {
|
|
1385
1671
|
const publicKey = this.getPublicKey();
|
|
@@ -2545,11 +2831,11 @@ class GeneralConfigurationComponent {
|
|
|
2545
2831
|
this.isPathUpdated = flag;
|
|
2546
2832
|
}
|
|
2547
2833
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GeneralConfigurationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2548
|
-
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$2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: LandingpgConfigComponent, selector: "app-landingpg-config" }, { kind: "component", type: TimezoneConfigurationComponent, selector: "app-timezone-configuration", outputs: ["closepopup"] }, { kind: "component", type: ProxyAccessTokenConfigurationComponent, selector: "app-proxy-access-token-configuration" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2834
|
+
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;border-radius:4px}.profile-card>.tertiary-btn{border-radius:inherit}.profile-card:hover{background:#e9ecef;color:#292f4c}.profile-card.active{cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i2$2.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i4.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: LandingpgConfigComponent, selector: "app-landingpg-config" }, { kind: "component", type: TimezoneConfigurationComponent, selector: "app-timezone-configuration", outputs: ["closepopup"] }, { kind: "component", type: ProxyAccessTokenConfigurationComponent, selector: "app-proxy-access-token-configuration" }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2549
2835
|
}
|
|
2550
2836
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: GeneralConfigurationComponent, decorators: [{
|
|
2551
2837
|
type: Component,
|
|
2552
|
-
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"] }]
|
|
2838
|
+
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;border-radius:4px}.profile-card>.tertiary-btn{border-radius:inherit}.profile-card:hover{background:#e9ecef;color:#292f4c}.profile-card.active{cursor:pointer;background:#dcdfec url(assets/common-header-lib/images/grey-arrow.svg) no-repeat 96%}\n"] }]
|
|
2553
2839
|
}] });
|
|
2554
2840
|
|
|
2555
2841
|
class NgTranslationComponent {
|
|
@@ -2646,11 +2932,12 @@ class UserSidebarComponent {
|
|
|
2646
2932
|
this.dialogService = inject(DialogService);
|
|
2647
2933
|
this.dialogHostService = inject(DialogHostService);
|
|
2648
2934
|
this._cookieService = inject(CookieStorageManagerService);
|
|
2649
|
-
this.route = inject(Router);
|
|
2650
2935
|
this.msgService = inject(ToastMsgService);
|
|
2651
2936
|
this._localStorage = inject(StorageService);
|
|
2652
2937
|
this.translateService = inject(TranslateService);
|
|
2653
2938
|
this.httpCommonService = inject(HttpCommonService);
|
|
2939
|
+
this.sessionEndService = inject(SessionEndService);
|
|
2940
|
+
this.externalFormPost = inject(ExternalFormPostService);
|
|
2654
2941
|
/* Forwarded down to <ng-translation> so the language list is sourced
|
|
2655
2942
|
from the host app instead of a separate library API call. */
|
|
2656
2943
|
this.languages = input([], ...(ngDevMode ? [{ debugName: "languages" }] : []));
|
|
@@ -2754,16 +3041,27 @@ class UserSidebarComponent {
|
|
|
2754
3041
|
if (res) {
|
|
2755
3042
|
this._cookieService.clearAllCookies();
|
|
2756
3043
|
this._localStorage.clearData();
|
|
2757
|
-
|
|
3044
|
+
// MFA / SSO logout (CI-15352): the backend returns the provider's auto-submit logout
|
|
3045
|
+
// page in spRoute, replayed CSP-safely (CI-25594).
|
|
3046
|
+
const routedToProvider = res['spRoute'] && res['spRoute'].length > 0 && this.routeToExternalSite(res['spRoute']);
|
|
3047
|
+
if (res['spLogoutUrls'] && res['spLogoutUrls'].length > 0) {
|
|
2758
3048
|
this.destoryAllSessions(res['spLogoutUrls']);
|
|
2759
3049
|
}
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
3050
|
+
// Where to go is decided by SessionEndService.redirect. The logout API's result has no
|
|
3051
|
+
// loginMethod (only cookiesUpdation sends it), so here `identity` (Windows logout
|
|
3052
|
+
// screen), then `ssoDefaultLogin` (default-IDP logout screen) decide, else the login
|
|
3053
|
+
// page; if the logout API starts sending loginMethod, it is used first with no change.
|
|
3054
|
+
// This replaces the old `identity`-only check, which sent default-IDP users to the
|
|
3055
|
+
// login page (signing them straight back in) and Windows users to a router path
|
|
3056
|
+
// '/logout' that most host apps do not have (page-not-found).
|
|
3057
|
+
//
|
|
3058
|
+
// Skipped once spRoute has been submitted: that redirect goes to origin/#/..., another
|
|
3059
|
+
// page for any host app not served at the site root, and a navigation started after
|
|
3060
|
+
// form.submit() cancels the form's, so the provider logout would never be sent. In the
|
|
3061
|
+
// Workspace UI the same redirect is only a hash change, which the form submission
|
|
3062
|
+
// overrides - so the user ends at the provider there too.
|
|
3063
|
+
if (!routedToProvider) {
|
|
3064
|
+
this.sessionEndService.redirect(res);
|
|
2767
3065
|
}
|
|
2768
3066
|
}
|
|
2769
3067
|
else {
|
|
@@ -2779,9 +3077,14 @@ class UserSidebarComponent {
|
|
|
2779
3077
|
globalThis.open(url, '_blank');
|
|
2780
3078
|
});
|
|
2781
3079
|
}
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
3080
|
+
/** Submits the provider's logout form from spRoute in this window. False when nothing
|
|
3081
|
+
* submittable was found, so the caller falls back to the normal session-end redirect. */
|
|
3082
|
+
routeToExternalSite(response) {
|
|
3083
|
+
const submitted = this.externalFormPost.submitServerForm(response, '_self');
|
|
3084
|
+
if (!submitted) {
|
|
3085
|
+
console.error(errorMsg.SERVERDOWN);
|
|
3086
|
+
}
|
|
3087
|
+
return submitted;
|
|
2785
3088
|
}
|
|
2786
3089
|
getTotalSessionTime() {
|
|
2787
3090
|
let loginTime = this.convertUTCToLocal(this.userDetails['currentLogIn']);
|
|
@@ -3069,11 +3372,11 @@ class AppPanelComponent {
|
|
|
3069
3372
|
});
|
|
3070
3373
|
}
|
|
3071
3374
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AppPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3072
|
-
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)
|
|
3375
|
+
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 lib-app-btn\"\r\n [title]=\"appDetails['applicationName']\"\r\n [attr.aria-label]=\"appDetails['applicationName']\"\r\n (click)=\"getConnectionofApplication(appDetails['appCode'])\"\r\n >\r\n <!-- App icon loaded from assets using the app code as the filename -->\r\n @if (appDetails?.appCode) {\r\n <img\r\n src=\"assets/common-header-lib/images/{{\r\n appDetails.appCode\r\n }}.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n }\r\n <div class=\"waffle-text\">{{ appDetails[\"applicationName\"] }}</div>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n\r\n } @else {\r\n <!-- Skeleton placeholders shown while the app list is loading -->\r\n <div class=\"custom-popover-content skeleton-popover\">\r\n @for (item of repeatLoader; track $index) {\r\n <div\r\n class=\"d-flex flex-column align-items-center justify-content-center gap-2\"\r\n >\r\n <p-skeleton size=\"3rem\" aria-hidden=\"true\"></p-skeleton>\r\n <p-skeleton height=\".3rem\" width=\"35px\" aria-hidden=\"true\"></p-skeleton>\r\n </div>\r\n }\r\n </div>\r\n }\r\n </div>\r\n</p-popover>\r\n", styles: ["@charset \"UTF-8\";.p-popover-content{padding:18px!important}.app-panel{--p-popover-arrow-left: -4px !important}.custom-popover-content{padding:10px;right:-5px;top:0;position:absolute;background:#fff;border-radius:8px;box-shadow:0 0 6px #9d9d9d}.custom-popover-content.skeleton-popover{width:313px;display:grid;grid-template-columns:auto auto auto;gap:10px}.waffle-align{display:grid;grid-template-columns:auto auto auto}.waffle{cursor:pointer;margin-right:16px}.waffle-popup{background:none;border:none;width:89px!important;margin-top:0;padding:8px 0 4px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border-radius:10px}.waffle-popup:hover{background:var(--primary-notification-bg)}.waffle-popup:focus-visible{border-radius:10px}.waffle-popup img{height:40px}.waffle-text{font-size:11px;text-align:center;width:70px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-top:-3px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: PopoverModule }, { kind: "component", type: i1$6.Popover, selector: "p-popover", inputs: ["ariaLabel", "ariaLabelledBy", "dismissable", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3073
3376
|
}
|
|
3074
3377
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: AppPanelComponent, decorators: [{
|
|
3075
3378
|
type: Component,
|
|
3076
|
-
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)
|
|
3379
|
+
args: [{ selector: 'app-panel', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule, PopoverModule, SkeletonModule], template: "<!-- Waffle (9-dots) popover \u2014 anchored to the button that calls toggle().\r\n (onShow)/(onHide) drive focus management: focus moves into the first\r\n app tile on open and returns to the trigger button on close (any close\r\n path \u2014 Escape, outside click, or selecting an app \u2014 all raise onHide). -->\r\n<p-popover\r\n #appPopover\r\n class=\"pt-0\"\r\n styleClass=\"app-panel lib-ui\"\r\n (onShow)=\"onPopoverShow()\"\r\n (onHide)=\"onPopoverHide()\"\r\n>\r\n <div #popoverContent (keydown)=\"onPopoverKeydown($event)\">\r\n @if (!userAppLoaderLoadder) {\r\n <!-- App grid: one tile per application the user is assigned to -->\r\n <div class=\"custom-popover-content\">\r\n <div class=\"waffle-align\">\r\n @for (appDetails of ListOfUserPrivillegedApp; track appDetails.appCode) {\r\n <button\r\n type=\"button\"\r\n class=\"waffle-popup lib-app-btn\"\r\n [title]=\"appDetails['applicationName']\"\r\n [attr.aria-label]=\"appDetails['applicationName']\"\r\n (click)=\"getConnectionofApplication(appDetails['appCode'])\"\r\n >\r\n <!-- App icon loaded from assets using the app code as the filename -->\r\n @if (appDetails?.appCode) {\r\n <img\r\n src=\"assets/common-header-lib/images/{{\r\n appDetails.appCode\r\n }}.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n }\r\n <div class=\"waffle-text\">{{ appDetails[\"applicationName\"] }}</div>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n\r\n } @else {\r\n <!-- Skeleton placeholders shown while the app list is loading -->\r\n <div class=\"custom-popover-content skeleton-popover\">\r\n @for (item of repeatLoader; track $index) {\r\n <div\r\n class=\"d-flex flex-column align-items-center justify-content-center gap-2\"\r\n >\r\n <p-skeleton size=\"3rem\" aria-hidden=\"true\"></p-skeleton>\r\n <p-skeleton height=\".3rem\" width=\"35px\" aria-hidden=\"true\"></p-skeleton>\r\n </div>\r\n }\r\n </div>\r\n }\r\n </div>\r\n</p-popover>\r\n", styles: ["@charset \"UTF-8\";.p-popover-content{padding:18px!important}.app-panel{--p-popover-arrow-left: -4px !important}.custom-popover-content{padding:10px;right:-5px;top:0;position:absolute;background:#fff;border-radius:8px;box-shadow:0 0 6px #9d9d9d}.custom-popover-content.skeleton-popover{width:313px;display:grid;grid-template-columns:auto auto auto;gap:10px}.waffle-align{display:grid;grid-template-columns:auto auto auto}.waffle{cursor:pointer;margin-right:16px}.waffle-popup{background:none;border:none;width:89px!important;margin-top:0;padding:8px 0 4px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border-radius:10px}.waffle-popup:hover{background:var(--primary-notification-bg)}.waffle-popup:focus-visible{border-radius:10px}.waffle-popup img{height:40px}.waffle-text{font-size:11px;text-align:center;width:70px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-top:-3px}\n"] }]
|
|
3077
3380
|
}], propDecorators: { popoverRef: [{ type: i0.ViewChild, args: ['appPopover', { isSignal: true }] }], popoverContentRef: [{ type: i0.ViewChild, args: ['popoverContent', { isSignal: true }] }] } });
|
|
3078
3381
|
|
|
3079
3382
|
/**
|
|
@@ -3170,7 +3473,7 @@ class NotificationPanelComponent {
|
|
|
3170
3473
|
this.httpCommonService.getWorkflowNotificationRedirection(eventName);
|
|
3171
3474
|
}
|
|
3172
3475
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NotificationPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3173
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: NotificationPanelComponent, isStandalone: true, selector: "app-notification-panel", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, notificationCount: { classPropertyName: "notificationCount", publicName: "notificationCount", isSignal: true, isRequired: false, transformFunction: null }, signalREvents: { classPropertyName: "signalREvents", publicName: "signalREvents", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange" }, ngImport: i0, template: "<!-- Notification side panel \u2014 wrapped in SidePopupComponent (PrimeNG p-dialog) -->\r\n<app-side-popup\r\n [(visible)]=\"visible\"\r\n [position]=\"'right'\"\r\n [header]=\"'Generic_lib.Notification' | translate\"\r\n (closeDialogBox)=\"closePanel()\"\r\n class=\"notification-panel\"\r\n>\r\n <div class=\"sidebar-body\">\r\n <!-- Panel header: total count + manual refresh button -->\r\n <div class=\"d-flex justify-content-between align-items-center mb-2
|
|
3476
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: NotificationPanelComponent, isStandalone: true, selector: "app-notification-panel", inputs: { visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, notificationCount: { classPropertyName: "notificationCount", publicName: "notificationCount", isSignal: true, isRequired: false, transformFunction: null }, signalREvents: { classPropertyName: "signalREvents", publicName: "signalREvents", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange" }, ngImport: i0, template: "<!-- Notification side panel \u2014 wrapped in SidePopupComponent (PrimeNG p-dialog) -->\r\n<app-side-popup\r\n [(visible)]=\"visible\"\r\n [position]=\"'right'\"\r\n [header]=\"'Generic_lib.Notification' | translate\"\r\n (closeDialogBox)=\"closePanel()\"\r\n class=\"notification-panel\"\r\n>\r\n <div class=\"sidebar-body\">\r\n <!-- Panel header: total count + manual refresh button -->\r\n <div class=\"d-flex justify-content-between align-items-center mb-2\">\r\n <div class=\"noti-text\">\r\n {{\r\n \"Generic_lib.YouHaveNNotifications\"\r\n | translate: { count: notificationCount() }\r\n }}\r\n </div>\r\n <button\r\n type=\"button\"\r\n class=\"d-flex align-items-center gap-1 refresh-icon tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Refresh' | translate }}\"\r\n (click)=\"getEventwiseNotificationCount()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/refresh-1.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"refresh-text\">\r\n {{ \"Generic_lib.Refresh\" | translate }}\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <!-- Hint sits directly under the count row (reference layout); still shown\r\n only when there's a pending list to click. -->\r\n @if (!isErrorFound && !notificationLoadder && pendingEvents.length > 0) {\r\n <p class=\"notify-hint\">\r\n {{ \"Generic_lib.NotificationRedirectHint\" | translate }}\r\n </p>\r\n }\r\n\r\n <!-- Notification list / skeleton / error state -->\r\n <div class=\"mt-2\">\r\n @if (!isErrorFound && !notificationLoadder) {\r\n @if (pendingEvents.length > 0) {\r\n <!-- One row per workflow event type with a pending count, redirecting to Identity Hub -->\r\n @for (event of pendingEvents; track $index) {\r\n <div\r\n class=\"notify-border lib-notification-card\"\r\n role=\"button\"\r\n tabindex=\"0\"\r\n [attr.aria-label]=\"\r\n event['PendingCount'] +\r\n ' ' +\r\n ('Generic_lib.New' | translate) +\r\n ' ' +\r\n event['EventName'] +\r\n ' ' +\r\n ('Generic_lib.EventRequests' | translate)\r\n \"\r\n [title]=\"event['EventName']\"\r\n (click)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.enter)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.space)=\"openEventApprovalPage(event['EventName'])\"\r\n >\r\n <div class=\"d-flex align-items-center gap-3\">\r\n <div class=\"initial-text initial-text-1 mx-1\" aria-hidden=\"true\">\r\n <img\r\n src=\"assets/common-header-lib/images/noti_ticket.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </div>\r\n <div>\r\n <div>\r\n <span class=\"service-count\"\r\n >{{ event[\"PendingCount\"] }} New\r\n </span>\r\n <span class=\"service-request\"\r\n >{{ event[\"EventName\"] }} Event requests</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"grey-borders mt-2\"></div>\r\n </div>\r\n }\r\n } @else {\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.NoPendingEventRequests' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n } @else {\r\n @if (notificationLoadder) {\r\n <!-- Skeleton rows shown while the API call is in progress -->\r\n @for (item of repeatLoader; track $index) {\r\n <div class=\"d-flex align-items-center gap-3\" aria-hidden=\"true\">\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"60px\"\r\n styleClass=\"my-2\"\r\n ></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"200%\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton width=\"150px\" height=\"1rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n } @else {\r\n <!-- Error or empty state \u2014 shown when API fails or returns no records -->\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.CommonError' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n }\r\n </div>\r\n </div>\r\n</app-side-popup>\r\n", styles: ["@charset \"UTF-8\";.notification-panel .lib-dialog.p-dialog{width:420px!important;border-radius:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header{padding:12px 18px 12px 15px!important;background:var(--ag-header-background-color)!important;height:48px;border-top-right-radius:0!important;border-top-left-radius:0!important;border-bottom:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-title{margin-left:4px}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button{background-image:url(assets/common-header-lib/images/close.svg)!important;background-position:center!important;background-size:20px 20px!important;background-repeat:no-repeat!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button svg{display:none}.notification-panel .lib-dialog.p-dialog .p-dialog-content{overflow:hidden;padding:0!important}.notification-panel .sidebar-body{box-sizing:border-box;height:calc(100vh - 48px);padding:12px 20px;scrollbar-gutter:stable}.initial-text-1{background-color:#f2edfa}.sidebar-body .noti-text{color:#292f4c;font-size:13px;font-weight:600;line-height:24px}.sidebar-body .refresh-icon{cursor:pointer;padding:0}.sidebar-body .refresh-text{color:#676879;font-size:12px;line-height:24px}.sidebar-body .notify-hint{margin:0;color:#676879;font-size:11px;line-height:16px}.sidebar-body .notify-border{padding:8px 8px 0 6px;cursor:pointer;border-radius:8px}.sidebar-body .notify-border:hover{background-color:#dcdfec}.sidebar-body .notify-border .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#f2edfa}.sidebar-body .notify-border .service-count{color:#323238;font-weight:600;font-size:13px}.sidebar-body .notify-border .service-request{color:#676879;font-size:12px;font-weight:500}.sidebar-body .notify-border .time-text{color:#676879;font-size:12px}.sidebar-body .notify-border .grey-borders{border-bottom:1px solid #d0d4e4}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "component", type: SidePopupComponent, selector: "app-side-popup", inputs: ["visible", "position", "header", "styleClass"], outputs: ["closeDialogBox", "visibleChange"] }, { kind: "component", type: NoServiceMyAccessPgComponent, selector: "app-no-service-my-access-pg", inputs: ["heading", "subHeading"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3174
3477
|
}
|
|
3175
3478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NotificationPanelComponent, decorators: [{
|
|
3176
3479
|
type: Component,
|
|
@@ -3180,7 +3483,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
3180
3483
|
SkeletonModule,
|
|
3181
3484
|
SidePopupComponent,
|
|
3182
3485
|
NoServiceMyAccessPgComponent,
|
|
3183
|
-
], template: "<!-- Notification side panel \u2014 wrapped in SidePopupComponent (PrimeNG p-dialog) -->\r\n<app-side-popup\r\n [(visible)]=\"visible\"\r\n [position]=\"'right'\"\r\n [header]=\"'Generic_lib.Notification' | translate\"\r\n (closeDialogBox)=\"closePanel()\"\r\n class=\"notification-panel\"\r\n>\r\n <div class=\"sidebar-body\">\r\n <!-- Panel header: total count + manual refresh button -->\r\n <div class=\"d-flex justify-content-between align-items-center mb-2
|
|
3486
|
+
], template: "<!-- Notification side panel \u2014 wrapped in SidePopupComponent (PrimeNG p-dialog) -->\r\n<app-side-popup\r\n [(visible)]=\"visible\"\r\n [position]=\"'right'\"\r\n [header]=\"'Generic_lib.Notification' | translate\"\r\n (closeDialogBox)=\"closePanel()\"\r\n class=\"notification-panel\"\r\n>\r\n <div class=\"sidebar-body\">\r\n <!-- Panel header: total count + manual refresh button -->\r\n <div class=\"d-flex justify-content-between align-items-center mb-2\">\r\n <div class=\"noti-text\">\r\n {{\r\n \"Generic_lib.YouHaveNNotifications\"\r\n | translate: { count: notificationCount() }\r\n }}\r\n </div>\r\n <button\r\n type=\"button\"\r\n class=\"d-flex align-items-center gap-1 refresh-icon tertiary-btn\"\r\n aria-label=\"{{ 'Generic_lib.Refresh' | translate }}\"\r\n (click)=\"getEventwiseNotificationCount()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/refresh-1.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n <div class=\"refresh-text\">\r\n {{ \"Generic_lib.Refresh\" | translate }}\r\n </div>\r\n </button>\r\n </div>\r\n\r\n <!-- Hint sits directly under the count row (reference layout); still shown\r\n only when there's a pending list to click. -->\r\n @if (!isErrorFound && !notificationLoadder && pendingEvents.length > 0) {\r\n <p class=\"notify-hint\">\r\n {{ \"Generic_lib.NotificationRedirectHint\" | translate }}\r\n </p>\r\n }\r\n\r\n <!-- Notification list / skeleton / error state -->\r\n <div class=\"mt-2\">\r\n @if (!isErrorFound && !notificationLoadder) {\r\n @if (pendingEvents.length > 0) {\r\n <!-- One row per workflow event type with a pending count, redirecting to Identity Hub -->\r\n @for (event of pendingEvents; track $index) {\r\n <div\r\n class=\"notify-border lib-notification-card\"\r\n role=\"button\"\r\n tabindex=\"0\"\r\n [attr.aria-label]=\"\r\n event['PendingCount'] +\r\n ' ' +\r\n ('Generic_lib.New' | translate) +\r\n ' ' +\r\n event['EventName'] +\r\n ' ' +\r\n ('Generic_lib.EventRequests' | translate)\r\n \"\r\n [title]=\"event['EventName']\"\r\n (click)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.enter)=\"openEventApprovalPage(event['EventName'])\"\r\n (keydown.space)=\"openEventApprovalPage(event['EventName'])\"\r\n >\r\n <div class=\"d-flex align-items-center gap-3\">\r\n <div class=\"initial-text initial-text-1 mx-1\" aria-hidden=\"true\">\r\n <img\r\n src=\"assets/common-header-lib/images/noti_ticket.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </div>\r\n <div>\r\n <div>\r\n <span class=\"service-count\"\r\n >{{ event[\"PendingCount\"] }} New\r\n </span>\r\n <span class=\"service-request\"\r\n >{{ event[\"EventName\"] }} Event requests</span\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"grey-borders mt-2\"></div>\r\n </div>\r\n }\r\n } @else {\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.NoPendingEventRequests' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n } @else {\r\n @if (notificationLoadder) {\r\n <!-- Skeleton rows shown while the API call is in progress -->\r\n @for (item of repeatLoader; track $index) {\r\n <div class=\"d-flex align-items-center gap-3\" aria-hidden=\"true\">\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"60px\"\r\n styleClass=\"my-2\"\r\n ></p-skeleton>\r\n <div class=\"ms-1\">\r\n <p-skeleton width=\"200%\" styleClass=\"mb-2\"></p-skeleton>\r\n <p-skeleton width=\"150px\" height=\"1rem\"></p-skeleton>\r\n </div>\r\n </div>\r\n }\r\n } @else {\r\n <!-- Error or empty state \u2014 shown when API fails or returns no records -->\r\n <app-no-service-my-access-pg\r\n heading=\"{{ 'Generic_lib.CommonError' | translate }}\"\r\n ></app-no-service-my-access-pg>\r\n }\r\n }\r\n </div>\r\n </div>\r\n</app-side-popup>\r\n", styles: ["@charset \"UTF-8\";.notification-panel .lib-dialog.p-dialog{width:420px!important;border-radius:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header{padding:12px 18px 12px 15px!important;background:var(--ag-header-background-color)!important;height:48px;border-top-right-radius:0!important;border-top-left-radius:0!important;border-bottom:0!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-title{margin-left:4px}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button{background-image:url(assets/common-header-lib/images/close.svg)!important;background-position:center!important;background-size:20px 20px!important;background-repeat:no-repeat!important}.notification-panel .lib-dialog.p-dialog .p-dialog-header .p-dialog-close-button.p-button svg{display:none}.notification-panel .lib-dialog.p-dialog .p-dialog-content{overflow:hidden;padding:0!important}.notification-panel .sidebar-body{box-sizing:border-box;height:calc(100vh - 48px);padding:12px 20px;scrollbar-gutter:stable}.initial-text-1{background-color:#f2edfa}.sidebar-body .noti-text{color:#292f4c;font-size:13px;font-weight:600;line-height:24px}.sidebar-body .refresh-icon{cursor:pointer;padding:0}.sidebar-body .refresh-text{color:#676879;font-size:12px;line-height:24px}.sidebar-body .notify-hint{margin:0;color:#676879;font-size:11px;line-height:16px}.sidebar-body .notify-border{padding:8px 8px 0 6px;cursor:pointer;border-radius:8px}.sidebar-body .notify-border:hover{background-color:#dcdfec}.sidebar-body .notify-border .initial-text{width:40px;height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#f2edfa}.sidebar-body .notify-border .service-count{color:#323238;font-weight:600;font-size:13px}.sidebar-body .notify-border .service-request{color:#676879;font-size:12px;font-weight:500}.sidebar-body .notify-border .time-text{color:#676879;font-size:12px}.sidebar-body .notify-border .grey-borders{border-bottom:1px solid #d0d4e4}\n"] }]
|
|
3184
3487
|
}], ctorParameters: () => [], propDecorators: { visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], notificationCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "notificationCount", required: false }] }], signalREvents: [{ type: i0.Input, args: [{ isSignal: true, alias: "signalREvents", required: false }] }] } });
|
|
3185
3488
|
|
|
3186
3489
|
class EncrpdataService {
|
|
@@ -3874,7 +4177,7 @@ class CommonHeaderLibComponent {
|
|
|
3874
4177
|
});
|
|
3875
4178
|
}
|
|
3876
4179
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CommonHeaderLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3877
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: CommonHeaderLibComponent, isStandalone: true, selector: "lib-app-header", inputs: { EnableLogo: { classPropertyName: "EnableLogo", publicName: "EnableLogo", isSignal: true, isRequired: false, transformFunction: null }, moduleName: { classPropertyName: "moduleName", publicName: "moduleName", isSignal: true, isRequired: false, transformFunction: null }, EnableTimeZone: { classPropertyName: "EnableTimeZone", publicName: "EnableTimeZone", isSignal: true, isRequired: false, transformFunction: null }, EnableLOB: { classPropertyName: "EnableLOB", publicName: "EnableLOB", isSignal: true, isRequired: false, transformFunction: null }, showAllLOB: { classPropertyName: "showAllLOB", publicName: "showAllLOB", isSignal: true, isRequired: false, transformFunction: null }, lobReadOnly: { classPropertyName: "lobReadOnly", publicName: "lobReadOnly", isSignal: true, isRequired: false, transformFunction: null }, showLobChangeConfirmation: { classPropertyName: "showLobChangeConfirmation", publicName: "showLobChangeConfirmation", isSignal: true, isRequired: false, transformFunction: null }, EnableMail: { classPropertyName: "EnableMail", publicName: "EnableMail", isSignal: true, isRequired: false, transformFunction: null }, EnableNotifications: { classPropertyName: "EnableNotifications", publicName: "EnableNotifications", isSignal: true, isRequired: false, transformFunction: null }, EnableMoreApps: { classPropertyName: "EnableMoreApps", publicName: "EnableMoreApps", isSignal: true, isRequired: false, transformFunction: null }, EnableProfile: { classPropertyName: "EnableProfile", publicName: "EnableProfile", isSignal: true, isRequired: false, transformFunction: null }, EnableLearningCenter: { classPropertyName: "EnableLearningCenter", publicName: "EnableLearningCenter", isSignal: true, isRequired: false, transformFunction: null }, EnableGeneralConfiguration: { classPropertyName: "EnableGeneralConfiguration", publicName: "EnableGeneralConfiguration", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { timezoneDetails: "timezoneDetails", lobSelected: "lobSelected", getBgImage: "getBgImage", langChange: "langChange", overlayStateChange: "overlayStateChange" }, providers: [HeaderDataService, LobService, DialogHostService], viewQueries: [{ propertyName: "confirmDialog", first: true, predicate: ["confirmDialog"], descendants: true, isSignal: true }, { propertyName: "appPanelRef", first: true, predicate: ["appPanel"], descendants: true, isSignal: true }], ngImport: i0, template: "<header class=\"app-header ext lib-ui\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"d-flex\">\r\n <!-- Logo: shown only when EnableLogo input is true -->\r\n @if (EnableLogo()) {\r\n <div class=\"logo gap-4\">\r\n <!-- Show logo once the base64 string is loaded; skeleton while waiting -->\r\n @if (EnableLogo() && headerData.headerLogo()) {\r\n <img\r\n class=\"logo-size\"\r\n title=\"Logo\"\r\n alt=\"Logo\"\r\n [src]=\"headerData.headerLogo()\"\r\n loading=\"lazy\"\r\n />\r\n }\r\n @if (!headerData.headerLogo()) {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"5rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n <!-- Module / application name shown in the centre of the header -->\r\n <div class=\"projName\">\r\n <h1 class=\"modname\">{{ moduleName() }}</h1>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center\">\r\n <!-- Timezone: shows abbreviated timezone once loaded from HeaderDataService -->\r\n @if (EnableTimeZone() && headerData.userTimeZoneAbbreviations()) {\r\n <div class=\"timezone\">\r\n <img\r\n src=\"assets/common-header-lib/images/schedule.svg\"\r\n class=\"mb-1\"\r\n alt=\"Timezone schedule\"\r\n />\r\n <span class=\"timezone-text\"\r\n >{{ \"Generic_lib.PreferredTimezone\" | translate }} :\r\n </span>\r\n @if (headerData.userTimeZoneAbbreviations()) {\r\n <!-- Full timezone name appears as a tooltip on hover -->\r\n <span class=\"user-tz\" [title]=\"headerData.userTimeZoneFullForm()\">{{\r\n headerData.userTimeZoneAbbreviations()\r\n }}</span>\r\n }\r\n </div>\r\n }\r\n\r\n <!-- LOB dropdown: skeleton shown while LobService is loading the list -->\r\n @if (EnableLOB()) {\r\n @if (EnableLOB() && !lobService.showLobLoader) {\r\n <div class=\"main-left d-flex lib-lob-container\">\r\n <img\r\n src=\"assets/common-header-lib/images/marker-pin.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\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 Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"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{position:sticky;top:0;z-index:2}.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);box-shadow:inset 0 -1px #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr{border:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:collapse!important;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding: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$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "directive", type: i5$1.BadgeDirective, selector: "[pBadge]", inputs: ["ptBadgeDirective", "badgeDisabled", "badgeSize", "size", "severity", "value", "badgeStyle", "badgeStyleClass"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: UserMailboxComponent, selector: "app-user-mailbox", inputs: ["apiURL"], outputs: ["closeMailDialogBox"] }, { kind: "component", type: SidePopupComponent, selector: "app-side-popup", inputs: ["visible", "position", "header", "styleClass"], outputs: ["closeDialogBox", "visibleChange"] }, { kind: "component", type: UserSidebarComponent, selector: "app-user-sidebar", inputs: ["languages", "EnableLearningCenter", "EnableGeneralConfiguration"], outputs: ["closeDialogBox"] }, { kind: "component", type: AppPanelComponent, selector: "app-panel" }, { kind: "component", type: NotificationPanelComponent, selector: "app-notification-panel", inputs: ["visible", "notificationCount", "signalREvents"], outputs: ["visibleChange"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog", inputs: ["header", "message", "styleClass"], outputs: ["result"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: SliceToTwoPipe, name: "sliceToTwo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
4180
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.27", type: CommonHeaderLibComponent, isStandalone: true, selector: "lib-app-header", inputs: { EnableLogo: { classPropertyName: "EnableLogo", publicName: "EnableLogo", isSignal: true, isRequired: false, transformFunction: null }, moduleName: { classPropertyName: "moduleName", publicName: "moduleName", isSignal: true, isRequired: false, transformFunction: null }, EnableTimeZone: { classPropertyName: "EnableTimeZone", publicName: "EnableTimeZone", isSignal: true, isRequired: false, transformFunction: null }, EnableLOB: { classPropertyName: "EnableLOB", publicName: "EnableLOB", isSignal: true, isRequired: false, transformFunction: null }, showAllLOB: { classPropertyName: "showAllLOB", publicName: "showAllLOB", isSignal: true, isRequired: false, transformFunction: null }, lobReadOnly: { classPropertyName: "lobReadOnly", publicName: "lobReadOnly", isSignal: true, isRequired: false, transformFunction: null }, showLobChangeConfirmation: { classPropertyName: "showLobChangeConfirmation", publicName: "showLobChangeConfirmation", isSignal: true, isRequired: false, transformFunction: null }, EnableMail: { classPropertyName: "EnableMail", publicName: "EnableMail", isSignal: true, isRequired: false, transformFunction: null }, EnableNotifications: { classPropertyName: "EnableNotifications", publicName: "EnableNotifications", isSignal: true, isRequired: false, transformFunction: null }, EnableMoreApps: { classPropertyName: "EnableMoreApps", publicName: "EnableMoreApps", isSignal: true, isRequired: false, transformFunction: null }, EnableProfile: { classPropertyName: "EnableProfile", publicName: "EnableProfile", isSignal: true, isRequired: false, transformFunction: null }, EnableLearningCenter: { classPropertyName: "EnableLearningCenter", publicName: "EnableLearningCenter", isSignal: true, isRequired: false, transformFunction: null }, EnableGeneralConfiguration: { classPropertyName: "EnableGeneralConfiguration", publicName: "EnableGeneralConfiguration", isSignal: true, isRequired: false, transformFunction: null }, languages: { classPropertyName: "languages", publicName: "languages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { timezoneDetails: "timezoneDetails", lobSelected: "lobSelected", getBgImage: "getBgImage", langChange: "langChange", overlayStateChange: "overlayStateChange" }, providers: [HeaderDataService, LobService, DialogHostService], viewQueries: [{ propertyName: "confirmDialog", first: true, predicate: ["confirmDialog"], descendants: true, isSignal: true }, { propertyName: "appPanelRef", first: true, predicate: ["appPanel"], descendants: true, isSignal: true }], ngImport: i0, template: "<header class=\"app-header ext lib-ui\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"d-flex\">\r\n <!-- Logo: shown only when EnableLogo input is true -->\r\n @if (EnableLogo()) {\r\n <div class=\"logo gap-4\">\r\n <!-- Show logo once the base64 string is loaded; skeleton while waiting -->\r\n @if (EnableLogo() && headerData.headerLogo()) {\r\n <img\r\n class=\"logo-size\"\r\n title=\"Logo\"\r\n alt=\"Logo\"\r\n [src]=\"headerData.headerLogo()\"\r\n loading=\"lazy\"\r\n />\r\n }\r\n @if (!headerData.headerLogo()) {\r\n <p-skeleton\r\n height=\"1.5rem\"\r\n width=\"5rem\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n }\r\n </div>\r\n\r\n <!-- Module / application name shown in the centre of the header -->\r\n <div class=\"projName\">\r\n <h1 class=\"modname\">{{ moduleName() }}</h1>\r\n </div>\r\n\r\n <div class=\"d-flex justify-content-end align-items-center\">\r\n <!-- Timezone: shows abbreviated timezone once loaded from HeaderDataService -->\r\n @if (EnableTimeZone() && headerData.userTimeZoneAbbreviations()) {\r\n <div class=\"timezone\">\r\n <img\r\n src=\"assets/common-header-lib/images/schedule.svg\"\r\n class=\"mb-1\"\r\n alt=\"Timezone schedule\"\r\n />\r\n <span class=\"timezone-text\"\r\n >{{ \"Generic_lib.PreferredTimezone\" | translate }} :\r\n </span>\r\n @if (headerData.userTimeZoneAbbreviations()) {\r\n <!-- Full timezone name appears as a tooltip on hover -->\r\n <span class=\"user-tz\" [title]=\"headerData.userTimeZoneFullForm()\">{{\r\n headerData.userTimeZoneAbbreviations()\r\n }}</span>\r\n }\r\n </div>\r\n }\r\n\r\n <!-- LOB dropdown: skeleton shown while LobService is loading the list -->\r\n @if (EnableLOB()) {\r\n @if (EnableLOB() && !lobService.showLobLoader) {\r\n <div class=\"main-left d-flex lib-lob-container\">\r\n <img\r\n src=\"assets/common-header-lib/images/marker-pin.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\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 Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"lib-changing-content\">\r\n <app-user-mailbox\r\n (closeMailDialogBox)=\"hideMailBoxScreen()\"\r\n ></app-user-mailbox>\r\n </div>\r\n}\r\n\r\n<!-- User profile sidebar -->\r\n<div class=\"profile-sidebar\">\r\n @if (isOpenSidePopup) {\r\n <app-side-popup\r\n [visible]=\"true\"\r\n [position]=\"'right'\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n >\r\n @if (showUserDetails) {\r\n <app-user-sidebar\r\n [languages]=\"languages()\"\r\n [EnableLearningCenter]=\"EnableLearningCenter()\"\r\n [EnableGeneralConfiguration]=\"EnableGeneralConfiguration()\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n ></app-user-sidebar>\r\n }\r\n </app-side-popup>\r\n }\r\n</div>\r\n\r\n<!-- Notification side panel (NotificationPanelComponent manages its own API + SignalR sync).\r\n Wrapping @if ensures the component is not created (no API call) when notifications are off. -->\r\n@if (EnableNotifications()) {\r\n <app-notification-panel\r\n [(visible)]=\"isNotificationPanelOpen\"\r\n [notificationCount]=\"headerData.userNotificationCount()\"\r\n [signalREvents]=\"headerData.signalREventwiseData()\"\r\n ></app-notification-panel>\r\n}\r\n\r\n<!-- LOB change confirmation dialog.\r\n Fires lobChangeConfirmation(true) on confirm, lobChangeConfirmation(false) on cancel. -->\r\n<confirm-dialog\r\n class=\"rm-invalid-border\"\r\n #confirmDialog\r\n header=\"{{ 'Generic_lib.ChangeLOB' | translate }}\"\r\n message=\"{{ 'Generic_lib.DoYouWantToChangeTheCurrentLOB' | translate }}\"\r\n styleClass=\"lib-lob-change-confirm-dialog\"\r\n (result)=\"$event ? confirmLobChange() : revertLobChange()\"\r\n></confirm-dialog>\r\n", styles: ["@charset \"UTF-8\";:root{--theme-red: #d4231d;--theme-black: #212121;--theme-blue: #4d91ea;--success: #06a211;--success-1: #00c853;--error: #e6323a;--white-color: #ffffff;--white-smoke: #f6f6f6;--white-smoke-2: #f2f2f2;--white-smoke-4: #f4f4f4;--white-smoke-5: #f5f5f5;--white-smoke-6: #eeeeee;--gainsboro-white-color: #e0e0e0;--gainsboro-white-color-1: #e1e1e1;--gainsboro-white-color-6: #e6e6e6;--black-color: #212121;--silver-color: #bdbdbd;--jaguar-black-color: #212121;--dark-grey-color: #9e9e9e;--empress-grey-color: #757575;--light-grey-color: #d0d0d0;--dim-grey-color: #707070;--dim-grey-color-2: #616161;--very-light-grey-color: #cccccc;--suva-grey-color: #888888;--charcoal-grey-color: #424242;--curious-blue: #337ab7;--dodger-blue: #2196f3;--royal-blue: #2680eb;--solitude-blue: #e9ecf1;--azure-blue: #f0fdff;--lavender-blush: #ffebee;--magenta-violet: #ff00e6;--dark-orange: #fb8c00;--fruit-salad-green: #4caf50;--flau-red: #440808;--ag-header-background-color: #f6f7fb;--primary-color: #d4231d;--body-background-color: #eeeeee;--primary-notification-bg: #ffebee}.grey-background{background-color:var(--ag-header-background-color)}.white-bg{background:var(--white-color);width:420px;overflow:hidden}.log-text{font-size:16px;color:#292f4c;font-weight:600}.imgs{width:20px}.tertiary-btn{border:none;background-color:transparent}.tertiary-btn-profile{padding-left:0;font-size:14px!important;color:#495057}.sidebar-outer{height:100vh}.sidebar-outer .sidebar-header{padding:12px 15px}.sidebar-outer .sidebar-header .sh-top{display:flex;align-items:center;justify-content:space-between}.sidebar-outer .sidebar-header .sh-top button{height:24px}.sidebar-outer .sidebar-body{padding:12px 20px;float:left;width:100%;overflow:auto;height:calc(100vh - 70px)}.sidebar-outer .sidebar-body .sb-list ul{float:left;width:100%;list-style:none;padding-left:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex;padding:8px 2px;cursor:pointer}.sidebar-outer .sidebar-body .sb-list ul li span{margin-right:12px}.sidebar-body{overflow:auto;height:calc(100vh - 70px);width:100%}.mail-pagination .p-paginator,.mail-table .p-paginator{justify-content:flex-start!important;padding-left:0!important}.mail-pagination .p-paginator .p-paginator-current,.mail-table .p-paginator .p-paginator-current{font-size:12px;height:1rem!important}.mail-pagination .p-paginator .p-paginator-pages .p-paginator-page,.mail-table .p-paginator .p-paginator-pages .p-paginator-page{min-width:30px!important;height:30px!important;font-size:12px}.mail-pagination .p-paginator .p-select,.mail-table .p-paginator .p-select{height:30px!important;margin-top:0;border:0}.mail-pagination .p-paginator .p-select .p-select-label,.mail-table .p-paginator .p-select .p-select-label{padding:4px 5px 0 10px!important;font-size:14px}.mail-pagination .p-paginator .p-select .p-select-dropdown,.mail-table .p-paginator .p-select .p-select-dropdown{width:1.5rem!important}.mail-pagination .p-paginator .p-select .p-select-dropdown .pi,.mail-table .p-paginator .p-select .p-select-dropdown .pi{font-size:13px!important}.mail-table{height:calc(100vh - 196px);overflow:auto}.mail-table .p-datatable-table-container{overflow:visible!important}.mail-table .p-datatable .p-datatable-thead{position:sticky;top:0;z-index:2}.mail-table .p-datatable .p-datatable-thead>tr th{padding:0 8px;height:36px;font-size:13px;color:var(--primary-text);font-weight:600;background:var(--white-color);border:0;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap;border:0;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}:where(.lib-ui :focus-visible):is(a,button,input,select,textarea,div,span,li){border-radius:4px}.lib-ui .lib-app-btn:focus-visible{border-radius:10px!important}.lib-ui .lib-notification-card:focus-visible{border-radius:8px!important}.notification-panel .refresh-icon:focus-visible{border-radius:4px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .loblist-drpdwn.p-select:has(.p-select-label:focus-visible){border-radius:4px!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding: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}.lib-changing-content{overflow:hidden;width:100%}.lib-changing-content .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.lib-changing-content .inner-garient{padding:50px 20px 115px 30px}.lib-changing-content .table-heading{padding:0 20px 1px 30px}.lib-changing-content .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i2$1.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: SkeletonModule }, { kind: "component", type: i1$1.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "shape", "animation", "borderRadius", "size", "width", "height"] }, { kind: "ngmodule", type: BadgeModule }, { kind: "directive", type: i5$1.BadgeDirective, selector: "[pBadge]", inputs: ["ptBadgeDirective", "badgeDisabled", "badgeSize", "size", "severity", "value", "badgeStyle", "badgeStyleClass"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: UserMailboxComponent, selector: "app-user-mailbox", inputs: ["apiURL"], outputs: ["closeMailDialogBox"] }, { kind: "component", type: SidePopupComponent, selector: "app-side-popup", inputs: ["visible", "position", "header", "styleClass"], outputs: ["closeDialogBox", "visibleChange"] }, { kind: "component", type: UserSidebarComponent, selector: "app-user-sidebar", inputs: ["languages", "EnableLearningCenter", "EnableGeneralConfiguration"], outputs: ["closeDialogBox"] }, { kind: "component", type: AppPanelComponent, selector: "app-panel" }, { kind: "component", type: NotificationPanelComponent, selector: "app-notification-panel", inputs: ["visible", "notificationCount", "signalREvents"], outputs: ["visibleChange"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog", inputs: ["header", "message", "styleClass"], outputs: ["result"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }, { kind: "pipe", type: SliceToTwoPipe, name: "sliceToTwo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
3878
4181
|
}
|
|
3879
4182
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CommonHeaderLibComponent, decorators: [{
|
|
3880
4183
|
type: Component,
|
|
@@ -3892,7 +4195,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImpo
|
|
|
3892
4195
|
AppPanelComponent,
|
|
3893
4196
|
NotificationPanelComponent,
|
|
3894
4197
|
ConfirmDialogComponent,
|
|
3895
|
-
], 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 Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"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{position:sticky;top:0;z-index:2}.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);box-shadow:inset 0 -1px #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr{border:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:collapse!important;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding: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"] }]
|
|
4198
|
+
], 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 Clickable too (not just the icon button next to it) \u2014 the\r\n .p-overlay-badge CSS already set cursor:pointer here, so this\r\n was clearly meant to be clickable; the handler just wasn't\r\n wired up. Not a separate tab stop (no role/tabindex) \u2014 it's a\r\n mouse-only convenience target alongside the real button. -->\r\n @if (EnableMail() && headerData.totalEmails().length > 0) {\r\n <div class=\"badge-notify\" (click)=\"showMailBoxScreen()\">\r\n <div pBadge [value]=\"headerData.totalEmails()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.totalEmails() }} unread mails</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- Notification bell icon -->\r\n @if (EnableNotifications()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"{{ 'Generic_lib.Notification' | translate }}\"\r\n (click)=\"OpenNotificationModal()\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/bell-icon.svg\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n class=\"headeright-icon\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- Badge showing pending notification count; hidden when count is zero.\r\n Clickable too, same reasoning as the mailbox badge above. -->\r\n @if (\r\n EnableNotifications() && headerData.userNotificationCount().length > 0\r\n ) {\r\n <div class=\"badge-notify\" (click)=\"OpenNotificationModal()\">\r\n <div pBadge [value]=\"headerData.userNotificationCount()\"></div>\r\n <span class=\"visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\"\r\n >{{ headerData.userNotificationCount() }} notifications</span\r\n >\r\n </div>\r\n }\r\n\r\n <!-- 9-dots (waffle) icon \u2014 opens the app switcher panel -->\r\n @if (EnableMoreApps()) {\r\n <button\r\n type=\"button\"\r\n class=\"header-left-icon\"\r\n aria-label=\"Control Center\"\r\n aria-haspopup=\"dialog\"\r\n (click)=\"showUserAppsPanel($event)\"\r\n >\r\n <img\r\n src=\"assets/common-header-lib/images/apps-1.svg\"\r\n class=\"apps-icon\"\r\n alt=\"\"\r\n aria-hidden=\"true\"\r\n />\r\n </button>\r\n }\r\n\r\n <!-- User avatar button showing initials \u2014 opens the profile sidebar -->\r\n @if (EnableProfile()) {\r\n <button\r\n type=\"button\"\r\n class=\"main-right\"\r\n [attr.aria-label]=\"headerData.userdisplayName()\"\r\n (click)=\"showUserDetailsPanel()\"\r\n >\r\n <div class=\"initial-text\">\r\n {{ headerData.userdisplayName() | sliceToTwo }}\r\n </div>\r\n </button>\r\n }\r\n } @else {\r\n <!-- Skeleton placeholders while header data is loading -->\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"1.3rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n size=\"1.5rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n <p-skeleton\r\n shape=\"circle\"\r\n size=\"2rem\"\r\n styleClass=\"mx-2\"\r\n aria-hidden=\"true\"\r\n ></p-skeleton>\r\n }\r\n </div>\r\n </div>\r\n</header>\r\n\r\n<!-- 9-dots app switcher panel (AppPanelComponent manages its own popover + data) -->\r\n<app-panel #appPanel></app-panel>\r\n\r\n<!-- Mailbox details overlay -->\r\n@if (showMailboxScreenflag) {\r\n <div class=\"lib-changing-content\">\r\n <app-user-mailbox\r\n (closeMailDialogBox)=\"hideMailBoxScreen()\"\r\n ></app-user-mailbox>\r\n </div>\r\n}\r\n\r\n<!-- User profile sidebar -->\r\n<div class=\"profile-sidebar\">\r\n @if (isOpenSidePopup) {\r\n <app-side-popup\r\n [visible]=\"true\"\r\n [position]=\"'right'\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n >\r\n @if (showUserDetails) {\r\n <app-user-sidebar\r\n [languages]=\"languages()\"\r\n [EnableLearningCenter]=\"EnableLearningCenter()\"\r\n [EnableGeneralConfiguration]=\"EnableGeneralConfiguration()\"\r\n (closeDialogBox)=\"closeSidePopup()\"\r\n ></app-user-sidebar>\r\n }\r\n </app-side-popup>\r\n }\r\n</div>\r\n\r\n<!-- Notification side panel (NotificationPanelComponent manages its own API + SignalR sync).\r\n Wrapping @if ensures the component is not created (no API call) when notifications are off. -->\r\n@if (EnableNotifications()) {\r\n <app-notification-panel\r\n [(visible)]=\"isNotificationPanelOpen\"\r\n [notificationCount]=\"headerData.userNotificationCount()\"\r\n [signalREvents]=\"headerData.signalREventwiseData()\"\r\n ></app-notification-panel>\r\n}\r\n\r\n<!-- LOB change confirmation dialog.\r\n Fires lobChangeConfirmation(true) on confirm, lobChangeConfirmation(false) on cancel. -->\r\n<confirm-dialog\r\n class=\"rm-invalid-border\"\r\n #confirmDialog\r\n header=\"{{ 'Generic_lib.ChangeLOB' | translate }}\"\r\n message=\"{{ 'Generic_lib.DoYouWantToChangeTheCurrentLOB' | translate }}\"\r\n styleClass=\"lib-lob-change-confirm-dialog\"\r\n (result)=\"$event ? confirmLobChange() : revertLobChange()\"\r\n></confirm-dialog>\r\n", styles: ["@charset \"UTF-8\";:root{--theme-red: #d4231d;--theme-black: #212121;--theme-blue: #4d91ea;--success: #06a211;--success-1: #00c853;--error: #e6323a;--white-color: #ffffff;--white-smoke: #f6f6f6;--white-smoke-2: #f2f2f2;--white-smoke-4: #f4f4f4;--white-smoke-5: #f5f5f5;--white-smoke-6: #eeeeee;--gainsboro-white-color: #e0e0e0;--gainsboro-white-color-1: #e1e1e1;--gainsboro-white-color-6: #e6e6e6;--black-color: #212121;--silver-color: #bdbdbd;--jaguar-black-color: #212121;--dark-grey-color: #9e9e9e;--empress-grey-color: #757575;--light-grey-color: #d0d0d0;--dim-grey-color: #707070;--dim-grey-color-2: #616161;--very-light-grey-color: #cccccc;--suva-grey-color: #888888;--charcoal-grey-color: #424242;--curious-blue: #337ab7;--dodger-blue: #2196f3;--royal-blue: #2680eb;--solitude-blue: #e9ecf1;--azure-blue: #f0fdff;--lavender-blush: #ffebee;--magenta-violet: #ff00e6;--dark-orange: #fb8c00;--fruit-salad-green: #4caf50;--flau-red: #440808;--ag-header-background-color: #f6f7fb;--primary-color: #d4231d;--body-background-color: #eeeeee;--primary-notification-bg: #ffebee}.grey-background{background-color:var(--ag-header-background-color)}.white-bg{background:var(--white-color);width:420px;overflow:hidden}.log-text{font-size:16px;color:#292f4c;font-weight:600}.imgs{width:20px}.tertiary-btn{border:none;background-color:transparent}.tertiary-btn-profile{padding-left:0;font-size:14px!important;color:#495057}.sidebar-outer{height:100vh}.sidebar-outer .sidebar-header{padding:12px 15px}.sidebar-outer .sidebar-header .sh-top{display:flex;align-items:center;justify-content:space-between}.sidebar-outer .sidebar-header .sh-top button{height:24px}.sidebar-outer .sidebar-body{padding:12px 20px;float:left;width:100%;overflow:auto;height:calc(100vh - 70px)}.sidebar-outer .sidebar-body .sb-list ul{float:left;width:100%;list-style:none;padding-left:0}.sidebar-outer .sidebar-body .sb-list ul li{display:flex;padding:8px 2px;cursor:pointer}.sidebar-outer .sidebar-body .sb-list ul li span{margin-right:12px}.sidebar-body{overflow:auto;height:calc(100vh - 70px);width:100%}.mail-pagination .p-paginator,.mail-table .p-paginator{justify-content:flex-start!important;padding-left:0!important}.mail-pagination .p-paginator .p-paginator-current,.mail-table .p-paginator .p-paginator-current{font-size:12px;height:1rem!important}.mail-pagination .p-paginator .p-paginator-pages .p-paginator-page,.mail-table .p-paginator .p-paginator-pages .p-paginator-page{min-width:30px!important;height:30px!important;font-size:12px}.mail-pagination .p-paginator .p-select,.mail-table .p-paginator .p-select{height:30px!important;margin-top:0;border:0}.mail-pagination .p-paginator .p-select .p-select-label,.mail-table .p-paginator .p-select .p-select-label{padding:4px 5px 0 10px!important;font-size:14px}.mail-pagination .p-paginator .p-select .p-select-dropdown,.mail-table .p-paginator .p-select .p-select-dropdown{width:1.5rem!important}.mail-pagination .p-paginator .p-select .p-select-dropdown .pi,.mail-table .p-paginator .p-select .p-select-dropdown .pi{font-size:13px!important}.mail-table{height:calc(100vh - 196px);overflow:auto}.mail-table .p-datatable-table-container{overflow:visible!important}.mail-table .p-datatable .p-datatable-thead{position:sticky;top:0;z-index:2}.mail-table .p-datatable .p-datatable-thead>tr th{padding:0 8px;height:36px;font-size:13px;color:var(--primary-text);font-weight:600;background:var(--white-color);border:0;border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-thead>tr th:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-column-resizer:after{content:\"\";position:absolute;top:25%;bottom:25%;left:50%;width:1px;background-color:#bbbfc4}.mail-table .p-datatable .p-datatable-column-resizer:hover:after{width:2px;background-color:#0073ea}.mail-table .p-datatable .p-datatable-column-filter-button.p-button{flex-shrink:0;width:24px;height:24px!important;padding:0!important;border:0;border-radius:4px;background:transparent;color:var(--secondary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button .pi{font-size:12px}.mail-table .p-datatable .p-datatable-column-filter-button.p-button:hover{background:var(--ag-header-background-color);color:var(--primary-text)}.mail-table .p-datatable .p-datatable-column-filter-button.p-button[aria-expanded=true],.mail-table .p-datatable .p-datatable-column-filter-button.p-button:has(.pi-filter-fill){background:#e6f1fd;color:#0073ea}.mail-table .p-datatable .p-datatable-tbody>tr td{padding:0 25px 0 8px;height:52px;font-size:13px;color:var(--secondary-text);white-space:nowrap;border:0;border-bottom:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:first-child{border-left:1px solid #dee2e6}.mail-table .p-datatable .p-datatable-tbody>tr td:last-child{border-right:1px solid #dee2e6}.mail-table .p-datatable .p-sortable-column:hover{background-color:var(--white-color)!important;color:#000!important}.mail-table .p-datatable .p-sortable-column:focus{box-shadow:none!important}.mail-table .p-datatable .p-sortable-column .p-sortable-column-icon{font-size:12px}.mail-table .p-datatable-column-resize-indicator{background:#0073ea}.mail-table .th-filter{display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0}.mail-table .th-filter .th-label{overflow:hidden;text-overflow:ellipsis}.mail-table .no-match{text-align:center;color:var(--secondary-text)}.mail-table .p-checkbox{height:18px;width:18px}.mail-table .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid var(--ui-border)}.mail-table .p-checkbox .p-checkbox-box:hover{border:1px solid var(--ui-border)!important}.mail-table .p-checkbox .p-checkbox-icon{font-size:10px!important}.mail-table .p-select-overlay .p-select-list{padding:0}.mail-table .p-select-overlay .p-select-list .p-select-option{font-size:13px!important;padding:10px 15px}.mail-table .p-paginator{position:fixed;bottom:0}.mail-pagination .p-paginator{height:47px;width:100%}.mail-pagination .p-paginator .p-paginator-current{padding-left:0;padding-right:12px}.mail-pagination .p-paginator .p-paginator-first,.mail-pagination .p-paginator .p-paginator-prev,.mail-pagination .p-paginator .p-paginator-next,.mail-pagination .p-paginator .p-paginator-last{min-width:30px!important;height:30px!important}.mail-content .p-datatable-table{border-collapse:separate!important;border-spacing:0;table-layout:fixed}.mail-content .p-paginator-page.p-paginator-page-selected{background:#eff6ff!important;border-color:#eff6ff;color:#1d4ed8!important}.lib-ui.mail-filter-overlay{width:260px;padding:12px;gap:12px;background:var(--white-color);border:1px solid #dee2e6;border-radius:8px;box-shadow:0 8px 24px #292f4c1f;color:var(--primary-text);font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-rule-list,.lib-ui.mail-filter-overlay .p-datatable-filter-rule{gap:8px}.lib-ui.mail-filter-overlay .p-select{width:100%;height:32px;border:1px solid #dee2e6;border-radius:4px;box-shadow:none}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled):hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select:not(.p-disabled).p-focus{border-color:#0073ea}.lib-ui.mail-filter-overlay .p-select .p-select-label{padding:0 10px!important;font-size:13px!important;line-height:30px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown{width:32px;color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-select .p-select-dropdown svg{width:12px;height:12px}.lib-ui.mail-filter-overlay .p-select-overlay{margin-top:2px;border:1px solid #dee2e6;border-radius:4px!important;box-shadow:0 6px 18px #292f4c1f}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-list{padding:4px}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option{padding:6px 10px;border-radius:4px;font-size:13px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover{background:var(--ag-header-background-color);color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected,.lib-ui.mail-filter-overlay .p-select-overlay .p-select-option.p-select-option-selected.p-focus{background:#e6f1fd;color:#0073ea;font-weight:500}.lib-ui.mail-filter-overlay .p-inputtext{width:100%;height:32px;padding:0 10px!important;font-size:13px!important;border:1px solid #dee2e6;border-radius:4px;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:hover{border-color:var(--secondary-text)}.lib-ui.mail-filter-overlay .p-inputtext:enabled:focus{border-color:#0073ea!important}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar{justify-content:flex-end;gap:8px;padding-top:12px;border-top:1px solid #dee2e6}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button{min-width:72px;height:30px;padding:0 16px!important;border-radius:4px;font-size:13px}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button .p-button-label{font-weight:500}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined{background:var(--white-color);border:1px solid #dee2e6;color:var(--primary-text)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button.p-button-outlined:not(:disabled):hover{background:var(--ag-header-background-color)}.lib-ui.mail-filter-overlay .p-datatable-filter-buttonbar .p-button:not(.p-button-outlined){background:#0073ea;border:1px solid #0073ea;color:var(--white-color)}.modal-dialog{margin-right:0;margin-top:0;margin-bottom:0}.view-pass-details{width:600px!important;border-radius:4px!important;overflow:hidden}.view-pass-details .p-dialog-content:last-of-type{padding:0}.lib-dialog.p-confirmdialog{border-radius:4px!important}.lib-dialog.p-confirmdialog .p-dialog-content{align-items:center;padding-top:24px;padding-right:20px;font-size:var(--base-font-size);position:relative;right:45px}.lib-dialog.p-confirmdialog .p-button{font-size:var(--base-font-size);background-color:var(--primary-color);border-color:var(--primary-color);padding:6px 28px}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined{background-color:var(--white-color);border:1px solid var(--primary-color);color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button .p-button-secondary .p-button-outlined:enabled:hover{background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-button.p-button-secondary.p-button-outlined:enabled:hover{color:var(--primary-color);border:1px solid var(--primary-color);background-color:var(--white-color)}.lib-dialog.p-confirmdialog .p-dialog-footer{padding:20px!important}.lib-dialog.p-confirmdialog.p-dialog .p-resizable-handle{display:none}.lib-dialog.p-dialog{border:0px!important}.lib-dialog.p-dialog.general-configuration{width:100%;height:100vh;max-height:100vh;border-radius:0!important}.lib-dialog.p-dialog.general-configuration .p-dialog-header{padding:10px 21px!important}.lib-dialog.p-dialog .p-dialog-header{padding:10px 14px 10px 21px!important;background:var(--white-color)!important;height:45px;border-top-right-radius:4px!important;border-top-left-radius:4px!important;border-bottom:1px solid var(--primary-color)!important}.lib-dialog.p-dialog .p-dialog-header .p-dialog-title{font-weight:600;font-size:var(--base-font-size)}.lib-dialog.general-configuration .p-dialog-header{border-bottom:1px solid #d0d4e4!important;background:var(--white-color)!important}.lib-lob-change-confirm-dialog .p-dialog-header-actions .p-button{background:transparent!important;border-color:transparent!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.initial-text{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:11px;border-radius:50%;color:var(--white-color);background-color:#8e562e}.form-group{margin-bottom:5px}.form-group .error-msg{position:relative}.madontary-icon{color:var(--primary-color);font-weight:500;padding:5px 0 0 5px;text-decoration:none!important;border-bottom:none}.img-lock{width:12px;margin-bottom:1px}.img-lock.ext{width:16px;margin-bottom:0}.img-lock.ext2{width:18px;margin-bottom:0}.submit-btn .p-button{height:30px;font-size:14px;border-radius:4px;border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button:enabled:hover{border:1px solid var(--primary-color);background-color:var(--primary-color);border-color:var(--primary-color)}.submit-btn .p-button .p-button-label{font-weight:400;font-size:13px}.error-msg{font-size:12px;font-weight:600;width:100%;position:absolute;bottom:4px;left:0;display:flex;align-items:flex-end;color:#d83a52;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol!important}.error-msg .error-icon{font-size:18px;margin-right:4px;position:relative;top:-1px}::-webkit-scrollbar{background-color:#eee;width:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-color:#888;border-radius:5px}::-webkit-scrollbar-thumb:hover{background-color:#888}.lib-ui .p-select .p-select-dropdown{width:32px!important}.lib-ui .pi-chevron-down:before{content:\"\\e902\";font-size:11px}.lib-ui .p-select-header{position:relative}.lib-ui .p-select-header input{border:1px solid #ced4da!important}.lib-ui .p-select-list-container{max-height:120px!important}.lib-ui .p-select-list-container .p-select-list{padding:0!important}.lib-ui .p-select-list-container .p-select-list .p-select-empty-message{padding:10px 18px;font-size:12px;color:#495057!important;background:transparent!important}.lib-ui .p-select-list-container .p-select-list .p-select-option{border-radius:0!important;padding:6px 16px}.lib-ui .p-select-list-container .p-select-list .p-select-option.p-select-option-selected,.lib-ui .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{color:var(--jaguar-black-color);background-color:var(--solitude-blue)!important}.lang-dropdown .p-select{border:1px solid #dee2e6!important;height:26px!important;border-radius:4px!important;min-width:calc(40vh - 92px)!important;padding:0 4px 0 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.lang-dropdown .p-select .pi{position:relative;bottom:2px;left:7px}.lang-dropdown .p-select-overlay{background:var(--white-color)!important;color:#495057!important;border:0px!important;box-shadow:0 2px 12px #0000001a!important}.lang-dropdown .p-select-overlay .p-select-header{padding:4px 8px!important;border-radius:0!important}.lang-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{position:relative;bottom:13px;font-size:13px}.lang-dropdown .p-select-overlay .p-select-list{font-size:12px;padding:0!important}.lang-dropdown .p-select-overlay .p-select-list .p-select-option{padding:2px 14px;font-size:12px}.lang-dropdown .p-select-list-container{max-height:140px!important}.lang-dropdown .p-select-list-container ::-webkit-scrollbar{width:5px!important}.lang-dropdown .p-select .p-select-header .p-select-filter{height:26px!important;border-radius:4px!important;font-size:12px!important;border:1px solid #ced4da!important;padding-left:12px!important}.lang-dropdown .p-select-label{margin:0;text-align:start;font-size:13px;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list{font-size:12px!important;padding:0!important}.lang-dropdown .p-select-list-container .p-select-list .p-select-option{padding:2px 14px!important}.loblist-drpdwn-panel .p-select-header{padding:5px 10px!important;border-bottom:1px solid #dee2e6!important;background:#f8f9fa!important;color:#343a40!important;margin:0!important}.loblist-drpdwn-panel .p-select-header .p-select-filter{height:28px;border-radius:4px;font-size:12px}.loblist-drpdwn-panel .p-select-header .p-select-filter-icon{position:absolute;left:82%;top:50%;transform:translateY(-50%);color:#6c757d}.loblist-drpdwn-panel .p-select-header .p-inputtext{background:var(--white-color);padding:6px;height:28px!important;border-radius:4px;font-size:12px!important}.loblist-drpdwn-panel .p-select-list .p-select-option{margin-bottom:1px;padding:6px 16px;border:0;color:#495057;background:transparent;transition:box-shadow .2s;border-radius:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loblist-drpdwn-panel .p-select-list .p-select-empty-message{padding:6px 12px;color:#495057!important;background:transparent!important;font-size:12px}.loblist-drpdwn{border:none!important;border-radius:0;width:140px!important;box-shadow:none!important}.loblist-drpdwn .p-icon{height:12px!important;color:#6c757d}.loblist-drpdwn .p-select-label{font-size:13px;background:transparent;border:0 none;display:block;height:100%;line-height:30px;padding:0;margin-left:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lib-lob-container .p-select.p-disabled{border-radius:4px!important}.assets-dropdown .p-select{height:38px!important;width:100%!important;border-radius:4px!important}.assets-dropdown .p-select:hover{border:1px solid #ced4da!important}.assets-dropdown .p-select-label{width:100%;border-radius:4px;height:36px;font-size:13px!important}.assets-dropdown .p-select-overlay .p-select-header{padding:10px!important}.assets-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.assets-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.assets-dropdown .p-select-list-container{max-height:100px!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.assets-dropdown .p-select-list-container .p-select-list .p-select-option:not(.p-select-option-selected):not(.p-disabled).p-focus{background:#e9ecef!important}.timezone-dropdown .p-select-label{font-size:13px}.timezone-dropdown .p-select{width:100%;border:1px solid #ced4da!important;border-radius:4px;height:38px}.timezone-dropdown .p-select:hover{border:1px solid #ced4da!important}.timezone-dropdown .p-select-overlay .p-select-header{padding:10px!important}.timezone-dropdown .p-select-overlay .p-select-header .p-select-filter-icon{left:96%;color:#6c757d;font-size:13px;top:15px!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-option{padding:5px 20px!important;font-size:13px!important;font-weight:400!important}.timezone-dropdown .p-select-overlay .p-select-list .p-select-empty-message{font-size:13px!important;padding:8px 20px!important}.timezone-dropdown .p-inputtext{width:100%;border-radius:4px;height:30px;font-size:13px!important}.timezone-dropdowntimezone-dropdown .p-select-list-container{max-height:100px!important}.input-dropdown .password-checkbox-right{position:absolute;width:24px;right:8px}.lib-ui .p-drawer-content{padding:0!important}.lib-ui .p-drawer-right{top:42px!important;width:520px!important}.lib-ui .p-drawer-header{height:42px;padding:0 14px 0 20px!important;border-bottom:1px solid var(--primary-color)!important}.lib-ui .p-drawer-title{font-size:var(--font-size-medium)!important;font-weight:600!important;color:var(--black-color)}.lib-ui .p-icon{height:16px!important}.lib-ui .p-button-icon-only{padding-inline-start:23px!important}.lib-ui .p-button-text.p-button-secondary:not(:disabled):hover{background:none!important}.lib-ui .p-inputtext{color:#000;height:30px!important;font-size:var(--base-font-size)!important}.lib-ui .p-inputtext:enabled:focus,.lib-ui .p-inputtext:enabled:hover,.lib-ui .p-multiselect:not(.p-disabled):hover{border-color:var(--silver-color)!important}.lib-ui .p-multiselect:not(.p-disabled).p-focus,.lib-ui .p-inputtext:enabled:focus{border-color:var(--silver-color)!important;box-shadow:none!important}.app-form input[type=text]{height:30px!important;width:100%!important}.lib-ui .p-autocomplete-list{height:30px;overflow:hidden;font-size:var(--font-size-small);margin:0 0 4px -4px!important;padding:0!important}.lib-ui .p-multiselect{height:28px;font-size:var(--base-font-size);border-radius:4px!important}.lib-ui .p-multiselect-label{padding:4px 10px!important}.lib-ui .p-multiselect-header{padding:6px 8px!important}.lib-ui .p-multiselect-empty-message{padding:6px 8px!important;font-size:var(--base-font-size)}.lib-ui .p-multiselect-list{padding:0!important}.lib-ui .p-multiselect-option{padding:5px 8px!important;font-size:var(--base-font-size)!important}.lib-ui .p-multiselect-option span{width:175px;overflow:hidden;text-overflow:ellipsis}.lib-ui .p-multiselect-option.p-multiselect-option-selected{background:none!important;color:#000!important}.lib-ui .p-checkbox{top:7px!important}.lib-ui .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box{border-color:var(--primary-color)!important}.lib-ui .p-checkbox-box{width:12px!important;height:12px!important;border-radius:2px!important}.lib-ui .p-checkbox-checked .p-checkbox-box{border-color:var(--primary-color)!important;background:var(--primary-color)!important}.lib-ui .p-overlay .p-select-overlay{left:-1px!important;width:65px!important}.lib-ui .p-select:not(.p-disabled).p-focus{border-color:var(--silver-color)!important}.lib-dialog .p-dialog-header-actions .p-button{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center}.sh-top-right .common-bn,.mail-content .common-bn{padding:0!important;width:24px!important;height:24px!important;display:flex;justify-content:center;align-items:center;border-radius:50%}.p-tooltip.lib-ui{max-width:320px!important}.p-tooltip.lib-ui .p-tooltip-text{font-size:12px!important;line-height:18px!important;padding:8px 10px!important;border-radius:6px!important;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}.ngx-toastr{width:400px!important;margin-top:10px!important}.toast-warning,.toast-info,.toast-error,.toast-success{background-color:var(--white-color)!important;border-radius:4px!important;background-repeat:no-repeat}.toast-warning .toast-title,.toast-info .toast-title,.toast-error .toast-title,.toast-success .toast-title{font-weight:700;font-size:16px}.toast-warning .toast-message,.toast-info .toast-message,.toast-error .toast-message,.toast-success .toast-message{color:#676879!important;font-size:14px!important}.toast-success{border-bottom:3px solid #258750;background-image:url(assets/common-header-lib/images/toast-success.svg)!important}.toast-success .toast-title{color:#258750!important}.toast-success .toast-message{padding-top:2px}.toast-success .toast-progress{color:#258750!important}.toast-error{border-bottom:3px solid #d83a52;background-image:url(assets/common-header-lib/images/toast-error.svg)!important}.toast-error .toast-title{color:#d83a52!important}.toast-error .toast-message{padding-top:2px}.toast-info{border-bottom:3px solid #0073ea;background-image:url(assets/common-header-lib/images/toast-info.svg)!important}.toast-info .toast-title{color:#0073ea!important}.toast-info .toast-message{padding-top:3px}.toast-warning{border-bottom:3px solid #fdab3d;background-image:url(assets/common-header-lib/images/toast-alert.svg)!important}.toast-warning .toast-title{color:#fdab3d!important}.toast-warning .toast-message{padding-top:3px}.toast-close-button{right:4px!important;top:0;font-size:20px;font-weight:700;text-shadow:0 1px 0 var(--white-color);background-color:transparent;border:0px;color:#676879;position:absolute;cursor:pointer}.toast-container{position:fixed;z-index:2147483647!important;pointer-events:auto!important}.toast-container .ngx-toastr{position:relative;overflow:hidden;margin:0 0 6px;padding:15px 40px 15px 50px;width:300px;border-radius:8px!important;background-position:15px 15px;background-repeat:no-repeat;background-size:24px;box-shadow:0 0 9px #99999980;color:var(--white-color)}.toast-top-center{top:0;right:0;width:100%}.toast-top-right{right:15px;top:40px}.toast-container.toast-top-center .ngx-toastr,.toast-container.toast-bottom-center .ngx-toastr{margin-left:auto;margin-right:auto}:root{--focus-ring-color: #007eff;--focus-ring-width: 1px;--focus-ring-glow-color: #e5f2ff;--focus-ring-glow-spread: 3px}.lib-ui :focus-visible{outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}:where(.lib-ui :focus-visible):is(a,button,input,select,textarea,div,span,li){border-radius:4px}.lib-ui .lib-app-btn:focus-visible{border-radius:10px!important}.lib-ui .lib-notification-card:focus-visible{border-radius:8px!important}.notification-panel .refresh-icon:focus-visible{border-radius:4px!important}.lib-ui .p-select:has(.p-select-label:focus-visible){outline:0px!important;outline-offset:0px;border:var(--focus-ring-width) solid var(--focus-ring-color)!important;box-shadow:0 0 0 var(--focus-ring-glow-spread) var(--focus-ring-glow-color)!important}.lib-ui .loblist-drpdwn.p-select:has(.p-select-label:focus-visible){border-radius:4px!important}.lib-ui .p-select-label:focus-visible{outline:none!important;border:none!important;box-shadow:none!important}.skip-link{position:absolute;top:-100%;left:0;z-index:9999;padding:8px 12px;background:var(--white-color);color:var(--primary-color);font-size:13px;text-decoration:none;border:1px solid var(--primary-color);border-radius:0 0 4px}.skip-link:focus-visible{top:0}.app-header{padding: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}.lib-changing-content{overflow:hidden;width:100%}.lib-changing-content .intro-text{background-image:linear-gradient(145deg,#f1eaec,#f8e3e7,#f7e1f8,#ebeeff,#e8eef3);position:relative;height:135px}.lib-changing-content .inner-garient{padding:50px 20px 115px 30px}.lib-changing-content .table-heading{padding:0 20px 1px 30px}.lib-changing-content .table-selection{padding:3px 20px 0 30px}.rm-invalid-border .card{border:0px}\n"] }]
|
|
3896
4199
|
}], ctorParameters: () => [], propDecorators: { EnableLogo: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableLogo", required: false }] }], moduleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "moduleName", required: false }] }], EnableTimeZone: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableTimeZone", required: false }] }], EnableLOB: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableLOB", required: false }] }], showAllLOB: [{ type: i0.Input, args: [{ isSignal: true, alias: "showAllLOB", required: false }] }], lobReadOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "lobReadOnly", required: false }] }], showLobChangeConfirmation: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLobChangeConfirmation", required: false }] }], EnableMail: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableMail", required: false }] }], EnableNotifications: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableNotifications", required: false }] }], EnableMoreApps: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableMoreApps", required: false }] }], EnableProfile: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableProfile", required: false }] }], EnableLearningCenter: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableLearningCenter", required: false }] }], EnableGeneralConfiguration: [{ type: i0.Input, args: [{ isSignal: true, alias: "EnableGeneralConfiguration", required: false }] }], languages: [{ type: i0.Input, args: [{ isSignal: true, alias: "languages", required: false }] }], timezoneDetails: [{ type: i0.Output, args: ["timezoneDetails"] }], lobSelected: [{ type: i0.Output, args: ["lobSelected"] }], getBgImage: [{ type: i0.Output, args: ["getBgImage"] }], langChange: [{ type: i0.Output, args: ["langChange"] }], overlayStateChange: [{ type: i0.Output, args: ["overlayStateChange"] }], confirmDialog: [{ type: i0.ViewChild, args: ['confirmDialog', { isSignal: true }] }], appPanelRef: [{ type: i0.ViewChild, args: ['appPanel', { isSignal: true }] }] } });
|
|
3897
4200
|
|
|
3898
4201
|
/**
|
|
@@ -3989,5 +4292,5 @@ function convertLocalTimeToUTCTime(localDateTime, extraSeconds) {
|
|
|
3989
4292
|
* Generated bundle index. Do not edit.
|
|
3990
4293
|
*/
|
|
3991
4294
|
|
|
3992
|
-
export { COOKIECONSTANT, CommonHeaderLibComponent, CommonHeaderLibModule, ConfirmDialogComponent, CustomDateFormatPipe, DateDiffPipe, GlobalConstants, SliceToTwoPipe, StorageService, ToastMsgService, ViewpasswordPopupComponent, httpErrorInterceptor };
|
|
4295
|
+
export { COOKIECONSTANT, CommonHeaderLibComponent, CommonHeaderLibModule, ConfirmDialogComponent, CustomDateFormatPipe, DateDiffPipe, GlobalConstants, SessionEndService, SliceToTwoPipe, StorageService, ToastMsgService, ViewpasswordPopupComponent, httpErrorInterceptor, loginPageUrl, logoutScreenUrl, readSessionEndAction };
|
|
3993
4296
|
//# sourceMappingURL=common-header-lib.mjs.map
|