sgh-navbar 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/sgh-navbar.module.mjs +6 -3
- package/esm2020/lib/sidenav/toolbar-data.mjs +1 -1
- package/esm2020/lib/toolbar/noftification-list/noftification-list.component.mjs +14 -0
- package/esm2020/lib/toolbar/toolbar.component.mjs +46 -4
- package/fesm2015/sgh-navbar.mjs +62 -7
- package/fesm2015/sgh-navbar.mjs.map +1 -1
- package/fesm2020/sgh-navbar.mjs +62 -7
- package/fesm2020/sgh-navbar.mjs.map +1 -1
- package/lib/sgh-navbar.module.d.ts +12 -11
- package/lib/sidenav/toolbar-data.d.ts +8 -0
- package/lib/toolbar/noftification-list/noftification-list.component.d.ts +8 -0
- package/lib/toolbar/toolbar.component.d.ts +7 -2
- package/package.json +3 -3
|
@@ -15,6 +15,7 @@ import { MatToolbarModule } from "@angular/material/toolbar";
|
|
|
15
15
|
import { MatButtonModule } from "@angular/material/button";
|
|
16
16
|
import { MatInputModule } from "@angular/material/input";
|
|
17
17
|
import { SghNavbarService } from "./sgh-navbar.service";
|
|
18
|
+
import { NoftificationListComponent } from "./toolbar/noftification-list/noftification-list.component";
|
|
18
19
|
import * as i0 from "@angular/core";
|
|
19
20
|
export class SghNavbarModule {
|
|
20
21
|
}
|
|
@@ -23,7 +24,8 @@ SghNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
23
24
|
SublevelMenuComponent,
|
|
24
25
|
SidenavComponent,
|
|
25
26
|
ToolbarComponent,
|
|
26
|
-
MenuListItemComponent
|
|
27
|
+
MenuListItemComponent,
|
|
28
|
+
NoftificationListComponent], imports: [BrowserAnimationsModule,
|
|
27
29
|
CommonModule,
|
|
28
30
|
HttpClientModule,
|
|
29
31
|
RouterModule,
|
|
@@ -54,7 +56,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
54
56
|
SublevelMenuComponent,
|
|
55
57
|
SidenavComponent,
|
|
56
58
|
ToolbarComponent,
|
|
57
|
-
MenuListItemComponent
|
|
59
|
+
MenuListItemComponent,
|
|
60
|
+
NoftificationListComponent
|
|
58
61
|
],
|
|
59
62
|
imports: [
|
|
60
63
|
BrowserAnimationsModule,
|
|
@@ -77,4 +80,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
77
80
|
providers: [SghNavbarService],
|
|
78
81
|
}]
|
|
79
82
|
}] });
|
|
80
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2doLW5hdmJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9zZ2gtbmF2YmFyL3NyYy9saWIvc2doLW5hdmJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM1RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUMxRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMvRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUMvRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sc0JBQXN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xyXG4gIHByb3ZpZGVyczpbU2doTmF2YmFyU2VydmljZV0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBTZ2hOYXZiYXJNb2R1bGUgeyB9XHJcbiJdfQ==
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export class ToolbarData {
|
|
2
2
|
}
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci1kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2doLW5hdmJhci9zcmMvbGliL3NpZGVuYXYvdG9vbGJhci1kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sT0FBTyxXQUFXO0NBT3ZCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIFRvb2xiYXJEYXRhIHtcclxuICB0aGVtZU9wdGlvbnM6IHsgIG5hbWU6c3RyaW5nOyB2YWx1ZTpzdHJpbmc7IGNoZWNrZWQ6Ym9vbGVhbjsgfVtdXHJcbiAgYmdDb2xvcjpzdHJpbmc7XHJcbiAgaW1nOnN0cmluZztcclxuICBwcm9maWxlQ29udGVudDogc3RyaW5nO1xyXG4gIGlzVGhlbWVDb2xsYXBzZWQ6IGJvb2xlYW47XHJcbiAgcHJvZmlsZVZpZXc6IGJvb2xlYW47XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class NoftificationListComponent {
|
|
4
|
+
constructor() { }
|
|
5
|
+
ngOnInit() {
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
NoftificationListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NoftificationListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
NoftificationListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NoftificationListComponent, selector: "app-noftification-list", ngImport: i0, template: "<div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"title mat-h3\">Notifications</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"see-all mat-h4\">See all</span>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:450px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:center;padding:20px 10px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}\n"] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NoftificationListComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ selector: 'app-noftification-list', template: "<div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"title mat-h3\">Notifications</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"see-all mat-h4\">See all</span>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:450px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:center;padding:20px 10px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}\n"] }]
|
|
13
|
+
}], ctorParameters: function () { return []; } });
|
|
14
|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lkIEphbWVzPC9zcGFuPlxyXG4gICAgICA8c3BhbiBjbGFzcz1cIml0ZW0tZGVzY3JpcHRpb24gbWF0LWg1XCIgZnhGbGV4PVwiMTAwXCI+QSBub3RpZmljYXRpb24gYm94IHNob3cgbWVzc2FnZTwvc3Bhbj5cclxuICAgIDwvZGl2PlxyXG4gICAgPGRpdiBjbGFzcz1cIm5vdGlmaWNhdGlvbnMtdGl0bGVcIiBmeEZsZXg9XCIxMDBcIj5cclxuICAgICAgPHNwYW4gY2xhc3M9XCJzZWUtYWxsIG1hdC1oNFwiPlNlZSBhbGw8L3NwYW4+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -3,12 +3,13 @@ import { fadeInOut } from '../sidenav/helper';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "../sgh-navbar.service";
|
|
5
5
|
import * as i2 from "@angular/common";
|
|
6
|
-
import * as i3 from "@angular/
|
|
6
|
+
import * as i3 from "@angular/material/list";
|
|
7
7
|
import * as i4 from "@angular/material/icon";
|
|
8
8
|
import * as i5 from "@angular/material/toolbar";
|
|
9
9
|
import * as i6 from "@angular/material/button";
|
|
10
10
|
import * as i7 from "@angular/material/input";
|
|
11
11
|
import * as i8 from "@angular/material/form-field";
|
|
12
|
+
import * as i9 from "./noftification-list/noftification-list.component";
|
|
12
13
|
export class ToolbarComponent {
|
|
13
14
|
constructor(navService) {
|
|
14
15
|
this.navService = navService;
|
|
@@ -16,6 +17,36 @@ export class ToolbarComponent {
|
|
|
16
17
|
}
|
|
17
18
|
ngOnInit() {
|
|
18
19
|
this.navService.appDrawer = this.sidenav;
|
|
20
|
+
this.toolbarData.themeOptions = [{
|
|
21
|
+
name: 'Sgh-default-theme',
|
|
22
|
+
value: 'sgh-default-theme',
|
|
23
|
+
checked: true
|
|
24
|
+
}, {
|
|
25
|
+
name: 'Sgh-light-theme',
|
|
26
|
+
value: 'sgh-light-theme',
|
|
27
|
+
checked: false
|
|
28
|
+
}, {
|
|
29
|
+
name: 'Sgh-blue-theme',
|
|
30
|
+
value: 'sgh-blue-theme',
|
|
31
|
+
checked: false
|
|
32
|
+
}];
|
|
33
|
+
this.toolbarData.profileContent = '<div>\n' +
|
|
34
|
+
'<mat-list class="profile-view-wrapper">\n' +
|
|
35
|
+
' <mat-list-item >\n' +
|
|
36
|
+
' <button mat-button >\n' +
|
|
37
|
+
' <mat-icon matListItemIcon>person_outline</mat-icon>\n' +
|
|
38
|
+
'<div>Profile View</div>\n' +
|
|
39
|
+
'</button>\n' +
|
|
40
|
+
'</mat-list-item>\n' +
|
|
41
|
+
'<mat-divider></mat-divider>\n' +
|
|
42
|
+
'<mat-list-item >\n' +
|
|
43
|
+
'<button mat-button [routerLink]="logOutUrl">\n' +
|
|
44
|
+
' <mat-icon matListItemIcon>power_settings_new</mat-icon>\n' +
|
|
45
|
+
'<div>Log Out</div>\n' +
|
|
46
|
+
'</button>\n' +
|
|
47
|
+
'</mat-list-item>\n' +
|
|
48
|
+
'</mat-list>\n' +
|
|
49
|
+
'</div>';
|
|
19
50
|
}
|
|
20
51
|
toggleNotificationList() {
|
|
21
52
|
this.showNotificationList = !this.showNotificationList;
|
|
@@ -23,16 +54,27 @@ export class ToolbarComponent {
|
|
|
23
54
|
closeNotificationList() {
|
|
24
55
|
this.showNotificationList = false;
|
|
25
56
|
}
|
|
57
|
+
setClass(selected) {
|
|
58
|
+
window.document.body.classList.remove(this.prev);
|
|
59
|
+
window.document.body.classList.add(selected);
|
|
60
|
+
this.prev = selected;
|
|
61
|
+
}
|
|
62
|
+
clickTheme() {
|
|
63
|
+
this.isThemeCollapsed = !this.toolbarData.isThemeCollapsed;
|
|
64
|
+
}
|
|
65
|
+
clickProfile() {
|
|
66
|
+
this.profileView = !this.toolbarData.profileView;
|
|
67
|
+
}
|
|
26
68
|
}
|
|
27
69
|
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToolbarComponent, deps: [{ token: i1.SghNavbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToolbarComponent, selector: "app-toolbar", inputs: { toolbarData: "toolbarData" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: ["drawer"], descendants: true }, { propertyName: "topbar", first: true, predicate: ToolbarComponent, descendants: true }], ngImport: i0, template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button>\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n <button mat-icon-button
|
|
70
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToolbarComponent, selector: "app-toolbar", inputs: { toolbarData: "toolbarData" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: ["drawer"], descendants: true }, { propertyName: "topbar", first: true, predicate: ToolbarComponent, descendants: true }], ngImport: i0, template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"clickProfile()\">\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n\r\n <button class=\"settings_icons\" mat-icon-button (click)=\"clickTheme()\">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n </div>\r\n</mat-toolbar>\r\n\r\n<div *ngIf=\"profileView\" class=\"notifications\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n {{toolbarData.profileContent}}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<div *ngIf=\"isThemeCollapsed\" class=\"notifications\" id=\"box\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <mat-selection-list color=\"primary\" #shoes [multiple]=\"false\" (click)=\"setClass(shoes.selectedOptions.selected[0]?.value)\">\r\n <mat-list-option [selected]=\"shoe.checked\" value=\"{{shoe.value}}\" *ngFor=\"let shoe of toolbarData.themeOptions\">\r\n {{shoe.name}}\r\n </mat-list-option>\r\n </mat-selection-list>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<app-noftification-list *ngIf=\"showNotificationList\"></app-noftification-list>\r\n", styles: [".mat-toolbar{display:flex;justify-content:space-between;background-size:730px;background-position:0 -85px;position:relative;color:#006068;background-image:url(lib/assets/images/Synergen_Logo-Large2.png)!important;background-repeat:repeat-x!important;box-shadow:0 1px 0 -1px #0000,0 1px 1px #0003,0 1px 3px #0000001f;z-index:2}.mat-toolbar .mat-mdc-form-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field{background:transparent!important;padding:0!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mat-mdc-form-field-focus-overlay{background-color:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-floating-label{color:#006068!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #006068)!important}.mat-toolbar .first-wrapper{display:flex}.mat-toolbar .first-wrapper .tool-bar-lft{display:flex;align-items:center;width:35%!important;justify-content:space-between}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper{display:contents!important}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper img{width:50%!important}.mat-toolbar .icon-tray .show-dropdown{position:relative}.mat-toolbar .icon-tray .show-dropdown:after{content:\"\";position:absolute;left:11px;top:45px;border-bottom:8px solid white;border-right:8px solid transparent;border-left:8px solid transparent;z-index:3}.mat-toolbar .notification-btn:hover{animation:tada 1.5s ease infinite}@keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}.notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:230px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:left;padding:0 3px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}.profile-view-wrapper .mdc-list-item{padding-left:0!important;padding-right:0!important}.profile-view-wrapper .mat-mdc-button{width:-webkit-fill-available!important;justify-content:flex-start!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i3.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i8.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i8.MatLabel, selector: "mat-label" }, { kind: "component", type: i9.NoftificationListComponent, selector: "app-noftification-list" }], animations: [
|
|
29
71
|
fadeInOut
|
|
30
72
|
] });
|
|
31
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
32
74
|
type: Component,
|
|
33
75
|
args: [{ selector: 'app-toolbar', animations: [
|
|
34
76
|
fadeInOut
|
|
35
|
-
], template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button>\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n <button mat-icon-button
|
|
77
|
+
], template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"clickProfile()\">\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n\r\n <button class=\"settings_icons\" mat-icon-button (click)=\"clickTheme()\">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n </div>\r\n</mat-toolbar>\r\n\r\n<div *ngIf=\"profileView\" class=\"notifications\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n {{toolbarData.profileContent}}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<div *ngIf=\"isThemeCollapsed\" class=\"notifications\" id=\"box\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <mat-selection-list color=\"primary\" #shoes [multiple]=\"false\" (click)=\"setClass(shoes.selectedOptions.selected[0]?.value)\">\r\n <mat-list-option [selected]=\"shoe.checked\" value=\"{{shoe.value}}\" *ngFor=\"let shoe of toolbarData.themeOptions\">\r\n {{shoe.name}}\r\n </mat-list-option>\r\n </mat-selection-list>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<app-noftification-list *ngIf=\"showNotificationList\"></app-noftification-list>\r\n", styles: [".mat-toolbar{display:flex;justify-content:space-between;background-size:730px;background-position:0 -85px;position:relative;color:#006068;background-image:url(lib/assets/images/Synergen_Logo-Large2.png)!important;background-repeat:repeat-x!important;box-shadow:0 1px 0 -1px #0000,0 1px 1px #0003,0 1px 3px #0000001f;z-index:2}.mat-toolbar .mat-mdc-form-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field{background:transparent!important;padding:0!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mat-mdc-form-field-focus-overlay{background-color:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-floating-label{color:#006068!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #006068)!important}.mat-toolbar .first-wrapper{display:flex}.mat-toolbar .first-wrapper .tool-bar-lft{display:flex;align-items:center;width:35%!important;justify-content:space-between}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper{display:contents!important}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper img{width:50%!important}.mat-toolbar .icon-tray .show-dropdown{position:relative}.mat-toolbar .icon-tray .show-dropdown:after{content:\"\";position:absolute;left:11px;top:45px;border-bottom:8px solid white;border-right:8px solid transparent;border-left:8px solid transparent;z-index:3}.mat-toolbar .notification-btn:hover{animation:tada 1.5s ease infinite}@keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}.notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:230px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:left;padding:0 3px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}.profile-view-wrapper .mdc-list-item{padding-left:0!important;padding-right:0!important}.profile-view-wrapper .mat-mdc-button{width:-webkit-fill-available!important;justify-content:flex-start!important}\n"] }]
|
|
36
78
|
}], ctorParameters: function () { return [{ type: i1.SghNavbarService }]; }, propDecorators: { toolbarData: [{
|
|
37
79
|
type: Input
|
|
38
80
|
}], sidenav: [{
|
|
@@ -42,4 +84,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
42
84
|
type: ViewChild,
|
|
43
85
|
args: [ToolbarComponent]
|
|
44
86
|
}] } });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zZ2gtbmF2YmFyL3NyYy9saWIvdG9vbGJhci90b29sYmFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NnaC1uYXZiYXIvc3JjL2xpYi90b29sYmFyL3Rvb2xiYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzFELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7Ozs7Ozs7Ozs7QUFhOUMsTUFBTSxPQUFPLGdCQUFnQjtJQVMzQixZQUFtQixVQUE0QjtRQUE1QixlQUFVLEdBQVYsVUFBVSxDQUFrQjtRQUovQyx5QkFBb0IsR0FBRyxLQUFLLENBQUM7SUFJc0IsQ0FBQztJQUVwRCxRQUFRO1FBQ04sSUFBSSxDQUFDLFVBQVUsQ0FBQyxTQUFTLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQztRQUN6QyxJQUFJLENBQUMsV0FBVyxDQUFDLFlBQVksR0FBRyxDQUFDO2dCQUMvQixJQUFJLEVBQUUsbUJBQW1CO2dCQUN6QixLQUFLLEVBQUUsb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-6,7 +6,7 @@ import { NavigationEnd, RouterModule } from '@angular/router';
|
|
|
6
6
|
import { trigger, transition, style, animate, state, keyframes } from '@angular/animations';
|
|
7
7
|
import * as i2 from '@angular/common';
|
|
8
8
|
import { CommonModule } from '@angular/common';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i3 from '@angular/material/list';
|
|
10
10
|
import { MatListModule } from '@angular/material/list';
|
|
11
11
|
import * as i5 from '@angular/material/icon';
|
|
12
12
|
import { MatIconModule } from '@angular/material/icon';
|
|
@@ -353,7 +353,7 @@ class MenuListItemComponent {
|
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
MenuListItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MenuListItemComponent, deps: [{ token: i1.Router }, { token: SghNavbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
356
|
-
MenuListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MenuListItemComponent, selector: "app-menu-list-item", inputs: { item: "item" }, host: { properties: { "attr.aria-expanded": "this.ariaExpanded" } }, ngImport: i0, template: "<a mat-list-item [ngClass]=\"{'item-expanded':expanded && !(item.items == undefined)}\"\r\n (click)=\"onItemSelected(item)\" [routerLink]=\"[item.routeLink]\" routerLinkActive=\"item-active\">\r\n <div class=\"text-wrapper\">\r\n <div class=\"main-text\">\r\n <mat-icon class=\"material-icons-outlined\">{{item.icon}}</mat-icon>\r\n {{item.label}}\r\n <span fxFlex></span>\r\n </div>\r\n <mat-icon class=\"material-icons-outlined\" *ngIf=\"!(item.items == undefined)\"\r\n [@indicatorRotate]=\"expanded ? 'expanded': 'collapsed'\">expand_more\r\n </mat-icon>\r\n </div>\r\n</a>\r\n<div class=\"sub-link-wrapper\" [ngClass]=\"{'hide-sublink-icon':hideSublinkIcon}\" *ngIf=\"expanded\">\r\n <app-menu-list-item *ngFor=\"let child of item.items\" [item]=\"child\">\r\n </app-menu-list-item>\r\n</div>\r\n", styles: ["::ng-deep .sub-link-wrapper span.mdc-list-item__content{padding-left:1.3rem!important}::ng-deep .sub-link-wrapper span.mdc-list-item__content span.mat-mdc-list-item-unscoped-content{white-space:normal!important}a.mdc-list-item.item-active{background:#26787f!important;border-radius:10px}a.mdc-list-item.item-active .mdc-list-item__primary-text{color:#fff!important;white-space:pre-line}a.mdc-list-item .mdc-list-item__primary-text{color:#005860!important;white-space:pre-line}.mdc-list-item:focus:before{background-color:transparent!important}a.mdc-list-item:hover{background:#26787f!important;border-radius:10px}a.mdc-list-item:hover .mdc-list-item__primary-text{color:#fff!important;white-space:pre-line}a.mdc-list-item.mdc-list-item__content{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;align-self:center!important;flex:1!important;pointer-events:none!important}.text-wrapper{display:flex!important;justify-content:space-between!important;font-size:12px!important}.text-wrapper .main-text{display:flex!important}.text-wrapper .main-text .mat-icon{padding-right:5px!important}.sub-link-wrapper a.mdc-list-item{padding:0 0 0 33px!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type:
|
|
356
|
+
MenuListItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MenuListItemComponent, selector: "app-menu-list-item", inputs: { item: "item" }, host: { properties: { "attr.aria-expanded": "this.ariaExpanded" } }, ngImport: i0, template: "<a mat-list-item [ngClass]=\"{'item-expanded':expanded && !(item.items == undefined)}\"\r\n (click)=\"onItemSelected(item)\" [routerLink]=\"[item.routeLink]\" routerLinkActive=\"item-active\">\r\n <div class=\"text-wrapper\">\r\n <div class=\"main-text\">\r\n <mat-icon class=\"material-icons-outlined\">{{item.icon}}</mat-icon>\r\n {{item.label}}\r\n <span fxFlex></span>\r\n </div>\r\n <mat-icon class=\"material-icons-outlined\" *ngIf=\"!(item.items == undefined)\"\r\n [@indicatorRotate]=\"expanded ? 'expanded': 'collapsed'\">expand_more\r\n </mat-icon>\r\n </div>\r\n</a>\r\n<div class=\"sub-link-wrapper\" [ngClass]=\"{'hide-sublink-icon':hideSublinkIcon}\" *ngIf=\"expanded\">\r\n <app-menu-list-item *ngFor=\"let child of item.items\" [item]=\"child\">\r\n </app-menu-list-item>\r\n</div>\r\n", styles: ["::ng-deep .sub-link-wrapper span.mdc-list-item__content{padding-left:1.3rem!important}::ng-deep .sub-link-wrapper span.mdc-list-item__content span.mat-mdc-list-item-unscoped-content{white-space:normal!important}a.mdc-list-item.item-active{background:#26787f!important;border-radius:10px}a.mdc-list-item.item-active .mdc-list-item__primary-text{color:#fff!important;white-space:pre-line}a.mdc-list-item .mdc-list-item__primary-text{color:#005860!important;white-space:pre-line}.mdc-list-item:focus:before{background-color:transparent!important}a.mdc-list-item:hover{background:#26787f!important;border-radius:10px}a.mdc-list-item:hover .mdc-list-item__primary-text{color:#fff!important;white-space:pre-line}a.mdc-list-item.mdc-list-item__content{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important;align-self:center!important;flex:1!important;pointer-events:none!important}.text-wrapper{display:flex!important;justify-content:space-between!important;font-size:12px!important}.text-wrapper .main-text{display:flex!important}.text-wrapper .main-text .mat-icon{padding-right:5px!important}.sub-link-wrapper a.mdc-list-item{padding:0 0 0 33px!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i3.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MenuListItemComponent, selector: "app-menu-list-item", inputs: ["item"] }], animations: [
|
|
357
357
|
trigger('indicatorRotate', [
|
|
358
358
|
state('collapsed', style({ transform: 'rotate(0deg)' })),
|
|
359
359
|
state('expanded', style({ transform: 'rotate(180deg)' })),
|
|
@@ -421,7 +421,7 @@ class SidenavComponent {
|
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
SidenavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SidenavComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
424
|
-
SidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SidenavComponent, selector: "app-sidenav", inputs: { sidenavData: "sidenavData" }, outputs: { onToggleSideNav: "onToggleSideNav" }, host: { listeners: { "window:resize": "onResize($event)" } }, ngImport: i0, template: "<mat-nav-list>\r\n <app-menu-list-item *ngFor=\"let item of sidenavData.navData\" [item]=\"item\"></app-menu-list-item>\r\n</mat-nav-list>\r\n", styles: ["mdc-list-item.mdc-list-item--with-one-line{height:40px!important}.mdc-list-item.mdc-list-item--with-one-line{height:40px!important}.mat-mdc-nav-list{margin:10px!important}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type:
|
|
424
|
+
SidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: SidenavComponent, selector: "app-sidenav", inputs: { sidenavData: "sidenavData" }, outputs: { onToggleSideNav: "onToggleSideNav" }, host: { listeners: { "window:resize": "onResize($event)" } }, ngImport: i0, template: "<mat-nav-list>\r\n <app-menu-list-item *ngFor=\"let item of sidenavData.navData\" [item]=\"item\"></app-menu-list-item>\r\n</mat-nav-list>\r\n", styles: ["mdc-list-item.mdc-list-item--with-one-line{height:40px!important}.mdc-list-item.mdc-list-item--with-one-line{height:40px!important}.mat-mdc-nav-list{margin:10px!important}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: MenuListItemComponent, selector: "app-menu-list-item", inputs: ["item"] }], animations: [
|
|
425
425
|
fadeInOut,
|
|
426
426
|
trigger('rotate', [
|
|
427
427
|
transition(':enter', [
|
|
@@ -454,6 +454,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
454
454
|
args: ['window:resize', ['$event']]
|
|
455
455
|
}] } });
|
|
456
456
|
|
|
457
|
+
class NoftificationListComponent {
|
|
458
|
+
constructor() { }
|
|
459
|
+
ngOnInit() {
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
NoftificationListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NoftificationListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
463
|
+
NoftificationListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: NoftificationListComponent, selector: "app-noftification-list", ngImport: i0, template: "<div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"title mat-h3\">Notifications</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"see-all mat-h4\">See all</span>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:450px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:center;padding:20px 10px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}\n"] });
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: NoftificationListComponent, decorators: [{
|
|
465
|
+
type: Component,
|
|
466
|
+
args: [{ selector: 'app-noftification-list', template: "<div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"title mat-h3\">Notifications</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-list-item\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <span class=\"item-title mat-h4\" fxFlex=\"100\">David James</span>\r\n <span class=\"item-description mat-h5\" fxFlex=\"100\">A notification box show message</span>\r\n </div>\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <span class=\"see-all mat-h4\">See all</span>\r\n </div>\r\n </div>\r\n</div>\r\n", styles: [".notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:450px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:center;padding:20px 10px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}\n"] }]
|
|
467
|
+
}], ctorParameters: function () { return []; } });
|
|
468
|
+
|
|
457
469
|
class ToolbarComponent {
|
|
458
470
|
constructor(navService) {
|
|
459
471
|
this.navService = navService;
|
|
@@ -461,6 +473,36 @@ class ToolbarComponent {
|
|
|
461
473
|
}
|
|
462
474
|
ngOnInit() {
|
|
463
475
|
this.navService.appDrawer = this.sidenav;
|
|
476
|
+
this.toolbarData.themeOptions = [{
|
|
477
|
+
name: 'Sgh-default-theme',
|
|
478
|
+
value: 'sgh-default-theme',
|
|
479
|
+
checked: true
|
|
480
|
+
}, {
|
|
481
|
+
name: 'Sgh-light-theme',
|
|
482
|
+
value: 'sgh-light-theme',
|
|
483
|
+
checked: false
|
|
484
|
+
}, {
|
|
485
|
+
name: 'Sgh-blue-theme',
|
|
486
|
+
value: 'sgh-blue-theme',
|
|
487
|
+
checked: false
|
|
488
|
+
}];
|
|
489
|
+
this.toolbarData.profileContent = '<div>\n' +
|
|
490
|
+
'<mat-list class="profile-view-wrapper">\n' +
|
|
491
|
+
' <mat-list-item >\n' +
|
|
492
|
+
' <button mat-button >\n' +
|
|
493
|
+
' <mat-icon matListItemIcon>person_outline</mat-icon>\n' +
|
|
494
|
+
'<div>Profile View</div>\n' +
|
|
495
|
+
'</button>\n' +
|
|
496
|
+
'</mat-list-item>\n' +
|
|
497
|
+
'<mat-divider></mat-divider>\n' +
|
|
498
|
+
'<mat-list-item >\n' +
|
|
499
|
+
'<button mat-button [routerLink]="logOutUrl">\n' +
|
|
500
|
+
' <mat-icon matListItemIcon>power_settings_new</mat-icon>\n' +
|
|
501
|
+
'<div>Log Out</div>\n' +
|
|
502
|
+
'</button>\n' +
|
|
503
|
+
'</mat-list-item>\n' +
|
|
504
|
+
'</mat-list>\n' +
|
|
505
|
+
'</div>';
|
|
464
506
|
}
|
|
465
507
|
toggleNotificationList() {
|
|
466
508
|
this.showNotificationList = !this.showNotificationList;
|
|
@@ -468,16 +510,27 @@ class ToolbarComponent {
|
|
|
468
510
|
closeNotificationList() {
|
|
469
511
|
this.showNotificationList = false;
|
|
470
512
|
}
|
|
513
|
+
setClass(selected) {
|
|
514
|
+
window.document.body.classList.remove(this.prev);
|
|
515
|
+
window.document.body.classList.add(selected);
|
|
516
|
+
this.prev = selected;
|
|
517
|
+
}
|
|
518
|
+
clickTheme() {
|
|
519
|
+
this.isThemeCollapsed = !this.toolbarData.isThemeCollapsed;
|
|
520
|
+
}
|
|
521
|
+
clickProfile() {
|
|
522
|
+
this.profileView = !this.toolbarData.profileView;
|
|
523
|
+
}
|
|
471
524
|
}
|
|
472
525
|
ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToolbarComponent, deps: [{ token: SghNavbarService }], target: i0.ɵɵFactoryTarget.Component });
|
|
473
|
-
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToolbarComponent, selector: "app-toolbar", inputs: { toolbarData: "toolbarData" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: ["drawer"], descendants: true }, { propertyName: "topbar", first: true, predicate: ToolbarComponent, descendants: true }], ngImport: i0, template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button>\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n <button mat-icon-button
|
|
526
|
+
ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToolbarComponent, selector: "app-toolbar", inputs: { toolbarData: "toolbarData" }, viewQueries: [{ propertyName: "sidenav", first: true, predicate: ["drawer"], descendants: true }, { propertyName: "topbar", first: true, predicate: ToolbarComponent, descendants: true }], ngImport: i0, template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"clickProfile()\">\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n\r\n <button class=\"settings_icons\" mat-icon-button (click)=\"clickTheme()\">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n </div>\r\n</mat-toolbar>\r\n\r\n<div *ngIf=\"profileView\" class=\"notifications\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n {{toolbarData.profileContent}}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<div *ngIf=\"isThemeCollapsed\" class=\"notifications\" id=\"box\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <mat-selection-list color=\"primary\" #shoes [multiple]=\"false\" (click)=\"setClass(shoes.selectedOptions.selected[0]?.value)\">\r\n <mat-list-option [selected]=\"shoe.checked\" value=\"{{shoe.value}}\" *ngFor=\"let shoe of toolbarData.themeOptions\">\r\n {{shoe.name}}\r\n </mat-list-option>\r\n </mat-selection-list>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<app-noftification-list *ngIf=\"showNotificationList\"></app-noftification-list>\r\n", styles: [".mat-toolbar{display:flex;justify-content:space-between;background-size:730px;background-position:0 -85px;position:relative;color:#006068;background-image:url(lib/assets/images/Synergen_Logo-Large2.png)!important;background-repeat:repeat-x!important;box-shadow:0 1px 0 -1px #0000,0 1px 1px #0003,0 1px 3px #0000001f;z-index:2}.mat-toolbar .mat-mdc-form-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field{background:transparent!important;padding:0!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mat-mdc-form-field-focus-overlay{background-color:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-floating-label{color:#006068!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #006068)!important}.mat-toolbar .first-wrapper{display:flex}.mat-toolbar .first-wrapper .tool-bar-lft{display:flex;align-items:center;width:35%!important;justify-content:space-between}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper{display:contents!important}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper img{width:50%!important}.mat-toolbar .icon-tray .show-dropdown{position:relative}.mat-toolbar .icon-tray .show-dropdown:after{content:\"\";position:absolute;left:11px;top:45px;border-bottom:8px solid white;border-right:8px solid transparent;border-left:8px solid transparent;z-index:3}.mat-toolbar .notification-btn:hover{animation:tada 1.5s ease infinite}@keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}.notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:230px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:left;padding:0 3px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}.profile-view-wrapper .mdc-list-item{padding-left:0!important;padding-right:0!important}.profile-view-wrapper .mat-mdc-button{width:-webkit-fill-available!important;justify-content:flex-start!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: i3.MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5$1.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i8.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i8.MatLabel, selector: "mat-label" }, { kind: "component", type: NoftificationListComponent, selector: "app-noftification-list" }], animations: [
|
|
474
527
|
fadeInOut
|
|
475
528
|
] });
|
|
476
529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToolbarComponent, decorators: [{
|
|
477
530
|
type: Component,
|
|
478
531
|
args: [{ selector: 'app-toolbar', animations: [
|
|
479
532
|
fadeInOut
|
|
480
|
-
], template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button>\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n <button mat-icon-button
|
|
533
|
+
], template: "<mat-toolbar [style.background-color]=\"toolbarData.bgColor\" class=\"mat-elevation-z1\">\r\n <div class=\"first-wrapper\">\r\n <div class=\"tool-bar-lft\">\r\n <div class=\"image-wrapper\">\r\n <img class=\"logo\" src=\"{{toolbarData.img}}\" />\r\n </div>\r\n <div>\r\n <button mat-icon-button id=\"menu\" (click)=\"navService.toggleNav();closeNotificationList()\">\r\n <mat-icon class=\"material-icons-outlined\">menu_open</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"search-wrp\" fxLayout=\"row\" fxLayoutAlign=\"start center\" >\r\n <mat-form-field appearance=\"fill\">\r\n <mat-label>Search</mat-label>\r\n <input matInput>\r\n </mat-form-field>\r\n <button mat-icon-button class=\"main-search-btn\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <span fxFlex></span>\r\n <div class=\"icon-tray\">\r\n\r\n <button class=\"notification-btn\" [ngClass]=\"{'show-dropdown':showNotificationList}\" mat-icon-button (click)=\"toggleNotificationList()\">\r\n <mat-icon class=\"notifications-alert\">notifications<span class=\"dot\"></span></mat-icon>\r\n </button>\r\n <button mat-icon-button (click)=\"clickProfile()\">\r\n <mat-icon>person</mat-icon>\r\n </button>\r\n\r\n <button class=\"settings_icons\" mat-icon-button (click)=\"clickTheme()\">\r\n <mat-icon>settings</mat-icon>\r\n </button>\r\n </div>\r\n</mat-toolbar>\r\n\r\n<div *ngIf=\"profileView\" class=\"notifications\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n {{toolbarData.profileContent}}\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<div *ngIf=\"isThemeCollapsed\" class=\"notifications\" id=\"box\">\r\n <div class=\"notifications-list-wrapper\" fxLayout=\"row wrap\">\r\n <div class=\"notifications-list\" fxLayout=\"row wrap\" fxFlex=\"100\">\r\n <div class=\"notifications-title\" fxFlex=\"100\">\r\n <mat-selection-list color=\"primary\" #shoes [multiple]=\"false\" (click)=\"setClass(shoes.selectedOptions.selected[0]?.value)\">\r\n <mat-list-option [selected]=\"shoe.checked\" value=\"{{shoe.value}}\" *ngFor=\"let shoe of toolbarData.themeOptions\">\r\n {{shoe.name}}\r\n </mat-list-option>\r\n </mat-selection-list>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n</div>\r\n<app-noftification-list *ngIf=\"showNotificationList\"></app-noftification-list>\r\n", styles: [".mat-toolbar{display:flex;justify-content:space-between;background-size:730px;background-position:0 -85px;position:relative;color:#006068;background-image:url(lib/assets/images/Synergen_Logo-Large2.png)!important;background-repeat:repeat-x!important;box-shadow:0 1px 0 -1px #0000,0 1px 1px #0003,0 1px 3px #0000001f;z-index:2}.mat-toolbar .mat-mdc-form-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field{background:transparent!important;padding:0!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field :hover{background:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mat-mdc-form-field-focus-overlay{background-color:transparent!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-floating-label{color:#006068!important}.mat-toolbar .mat-mdc-form-field ::ng-deep .mdc-text-field--filled .mdc-line-ripple:after{border-bottom-color:var(--mdc-theme-primary, #006068)!important}.mat-toolbar .first-wrapper{display:flex}.mat-toolbar .first-wrapper .tool-bar-lft{display:flex;align-items:center;width:35%!important;justify-content:space-between}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper{display:contents!important}.mat-toolbar .first-wrapper .tool-bar-lft .image-wrapper img{width:50%!important}.mat-toolbar .icon-tray .show-dropdown{position:relative}.mat-toolbar .icon-tray .show-dropdown:after{content:\"\";position:absolute;left:11px;top:45px;border-bottom:8px solid white;border-right:8px solid transparent;border-left:8px solid transparent;z-index:3}.mat-toolbar .notification-btn:hover{animation:tada 1.5s ease infinite}@keyframes tada{0%{transform:scale(1)}10%,20%{transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.1) rotate(3deg)}40%,60%,80%{transform:scale(1.1) rotate(-3deg)}to{transform:scale(1) rotate(0)}}.notifications-list-wrapper{padding:10px;position:absolute;right:10px;top:45px;z-index:2;color:#000000de;width:230px}.notifications-list-wrapper .notifications-list{box-shadow:0 2px 10px #00000026;position:relative}.notifications-list-wrapper .notifications-list .notifications-title{background-color:#fff;text-align:left;padding:0 3px;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item{padding:10px 10px 10px 30px;background-color:#e0eced;border-bottom:1px solid #f1f1f3}.notifications-list-wrapper .notifications-list .notifications-list-item .item-title{margin:0;white-space:normal}.notifications-list-wrapper .notifications-list .notifications-list-item .item-description{margin:0;color:#000000de;opacity:.5;white-space:normal}.notifications-list-wrapper .notifications-list .see-all{background-color:#fff;color:#006068;font-weight:500}@media screen and (max-width: 599px){.notifications-list-wrapper{width:auto}}.profile-view-wrapper .mdc-list-item{padding-left:0!important;padding-right:0!important}.profile-view-wrapper .mat-mdc-button{width:-webkit-fill-available!important;justify-content:flex-start!important}\n"] }]
|
|
481
534
|
}], ctorParameters: function () { return [{ type: SghNavbarService }]; }, propDecorators: { toolbarData: [{
|
|
482
535
|
type: Input
|
|
483
536
|
}], sidenav: [{
|
|
@@ -495,7 +548,8 @@ SghNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
495
548
|
SublevelMenuComponent,
|
|
496
549
|
SidenavComponent,
|
|
497
550
|
ToolbarComponent,
|
|
498
|
-
MenuListItemComponent
|
|
551
|
+
MenuListItemComponent,
|
|
552
|
+
NoftificationListComponent], imports: [BrowserAnimationsModule,
|
|
499
553
|
CommonModule,
|
|
500
554
|
HttpClientModule,
|
|
501
555
|
RouterModule,
|
|
@@ -526,7 +580,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
526
580
|
SublevelMenuComponent,
|
|
527
581
|
SidenavComponent,
|
|
528
582
|
ToolbarComponent,
|
|
529
|
-
MenuListItemComponent
|
|
583
|
+
MenuListItemComponent,
|
|
584
|
+
NoftificationListComponent
|
|
530
585
|
],
|
|
531
586
|
imports: [
|
|
532
587
|
BrowserAnimationsModule,
|