sgh-navbar 0.0.1

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.
@@ -0,0 +1,46 @@
1
+ import { Component, Input, Output, EventEmitter } from '@angular/core';
2
+ import { fadeInOut } from '../sidenav/helper';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/forms";
6
+ export class ToolbarComponent {
7
+ constructor() {
8
+ this.searchShow = false;
9
+ this.notificationShow = true;
10
+ this.bgColor = "#33284e";
11
+ this.searchInputEvent = new EventEmitter();
12
+ this.logOutEvent = new EventEmitter();
13
+ this.isNotifNavCollapsed = false;
14
+ this.searchInput = "";
15
+ }
16
+ clickNoti() {
17
+ this.isNotifNavCollapsed = !this.isNotifNavCollapsed;
18
+ }
19
+ onSearchInput() {
20
+ this.searchInputEvent.emit(this.searchInput);
21
+ }
22
+ logOut() {
23
+ this.logOutEvent.emit(this.searchInput);
24
+ }
25
+ }
26
+ ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
27
+ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ToolbarComponent, selector: "app-toolbar", inputs: { searchShow: "searchShow", notificationShow: "notificationShow", bgColor: "bgColor" }, outputs: { searchInputEvent: "searchInputEvent", logOutEvent: "logOutEvent" }, ngImport: i0, template: "<nav [style.background-color]=\"bgColor\">\r\n <div class=\"search\">\r\n <div class=\"box\" *ngIf=\"searchShow\">\r\n <i class=\"fa fa-search\"></i>\r\n <input type=\"text\" name=\"\" [(ngModel)]=\"searchInput\" (keyup)=\"onSearchInput()\" placeholder=\"Search\">\r\n </div>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"clickNoti()\" *ngIf=\"notificationShow\">\r\n <i class=\"fa fa-lg fa-bell\" style=\"color: #fff;\"></i>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"logOut()\">\r\n <i class=\"fa fa-lg fa-sign-out\" style=\"color: #fff;\"></i>\r\n </div>\r\n\r\n <div *ngIf=\"isNotifNavCollapsed\" class=\"notifications\" id=\"box\">\r\n <h2>Notifications <i class=\"fas fa-search\"></i> - <span>2</span></h2>\r\n <div class=\"notifications-item\"> <img src=\"https://i.imgur.com/uIgDDDd.jpg\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>Samso aliao</h4>\r\n <p>Samso Nagaro Like your home work</p>\r\n </div>\r\n </div>\r\n <div class=\"notifications-item\"> <img src=\"https://img.icons8.com/flat_round/64/000000/vote-badge.png\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>John Silvester</h4>\r\n <p>+20 vista badge earned</p>\r\n </div>\r\n </div>\r\n </div>\r\n</nav>\r\n", styles: ["nav{display:flex;align-items:center;background:#494553;height:60px;position:relative}.icon{cursor:pointer;margin-right:50px}.icon span{background:#f00;padding:7px;border-radius:50%;color:#fff;vertical-align:top;margin-left:-25px}.icon img{display:inline-block;width:26px}.icon:hover{opacity:.7}.search{flex:1;margin-left:50px;color:#eee;font-size:20px;font-family:monospace}.notifications{width:300px;height:auto;opacity:1;position:absolute;top:63px;right:62px;border-radius:5px 0 5px 5px;background-color:#fff;z-index:2;box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.notifications h2{font-size:14px;padding:10px;border-bottom:1px solid #eee;color:#999}.notifications h2 span{color:red}.notifications-item{display:flex;border-bottom:1px solid #eee;padding:6px 9px;margin-bottom:0;cursor:pointer}.notifications-item:hover{background-color:#eee}.notifications-item img{display:block;width:50px;height:50px;margin-right:9px;border-radius:50%;margin-top:2px}.notifications-item .text h4{color:#777;font-size:16px;margin-top:3px}.notifications-item .text p{color:#aaa;font-size:12px}.box{width:280px;height:40px;background-color:#fff;border-radius:30px;display:flex;align-items:center;padding:20px}.box>i{font-size:20px;color:#777}.box>input{flex:1;height:35px;border:none;outline:none;font-size:18px;padding-left:10px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], animations: [
28
+ fadeInOut
29
+ ] });
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ToolbarComponent, decorators: [{
31
+ type: Component,
32
+ args: [{ selector: 'app-toolbar', animations: [
33
+ fadeInOut
34
+ ], template: "<nav [style.background-color]=\"bgColor\">\r\n <div class=\"search\">\r\n <div class=\"box\" *ngIf=\"searchShow\">\r\n <i class=\"fa fa-search\"></i>\r\n <input type=\"text\" name=\"\" [(ngModel)]=\"searchInput\" (keyup)=\"onSearchInput()\" placeholder=\"Search\">\r\n </div>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"clickNoti()\" *ngIf=\"notificationShow\">\r\n <i class=\"fa fa-lg fa-bell\" style=\"color: #fff;\"></i>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"logOut()\">\r\n <i class=\"fa fa-lg fa-sign-out\" style=\"color: #fff;\"></i>\r\n </div>\r\n\r\n <div *ngIf=\"isNotifNavCollapsed\" class=\"notifications\" id=\"box\">\r\n <h2>Notifications <i class=\"fas fa-search\"></i> - <span>2</span></h2>\r\n <div class=\"notifications-item\"> <img src=\"https://i.imgur.com/uIgDDDd.jpg\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>Samso aliao</h4>\r\n <p>Samso Nagaro Like your home work</p>\r\n </div>\r\n </div>\r\n <div class=\"notifications-item\"> <img src=\"https://img.icons8.com/flat_round/64/000000/vote-badge.png\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>John Silvester</h4>\r\n <p>+20 vista badge earned</p>\r\n </div>\r\n </div>\r\n </div>\r\n</nav>\r\n", styles: ["nav{display:flex;align-items:center;background:#494553;height:60px;position:relative}.icon{cursor:pointer;margin-right:50px}.icon span{background:#f00;padding:7px;border-radius:50%;color:#fff;vertical-align:top;margin-left:-25px}.icon img{display:inline-block;width:26px}.icon:hover{opacity:.7}.search{flex:1;margin-left:50px;color:#eee;font-size:20px;font-family:monospace}.notifications{width:300px;height:auto;opacity:1;position:absolute;top:63px;right:62px;border-radius:5px 0 5px 5px;background-color:#fff;z-index:2;box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.notifications h2{font-size:14px;padding:10px;border-bottom:1px solid #eee;color:#999}.notifications h2 span{color:red}.notifications-item{display:flex;border-bottom:1px solid #eee;padding:6px 9px;margin-bottom:0;cursor:pointer}.notifications-item:hover{background-color:#eee}.notifications-item img{display:block;width:50px;height:50px;margin-right:9px;border-radius:50%;margin-top:2px}.notifications-item .text h4{color:#777;font-size:16px;margin-top:3px}.notifications-item .text p{color:#aaa;font-size:12px}.box{width:280px;height:40px;background-color:#fff;border-radius:30px;display:flex;align-items:center;padding:20px}.box>i{font-size:20px;color:#777}.box>input{flex:1;height:35px;border:none;outline:none;font-size:18px;padding-left:10px}\n"] }]
35
+ }], propDecorators: { searchShow: [{
36
+ type: Input
37
+ }], notificationShow: [{
38
+ type: Input
39
+ }], bgColor: [{
40
+ type: Input
41
+ }], searchInputEvent: [{
42
+ type: Output
43
+ }], logOutEvent: [{
44
+ type: Output
45
+ }] } });
46
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbGJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6Wy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5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuPC9uYXY+XHJcbiJdfQ==
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Public API Surface of sgh-navbar
3
+ */
4
+ export * from './lib/sgh-navbar.service';
5
+ export * from './lib/sgh-navbar.component';
6
+ export * from './lib/sgh-navbar.module';
7
+ export * from './lib/sidenav/sidenav.component';
8
+ export * from './lib/sidenav/sublevel-menu.component';
9
+ export * from './lib/toolbar/toolbar.component';
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3NnaC1uYXZiYXIvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsNEJBQTRCLENBQUM7QUFDM0MsY0FBYyx5QkFBeUIsQ0FBQztBQUd4QyxjQUFjLGlDQUFpQyxDQUFDO0FBQ2hELGNBQWMsdUNBQXVDLENBQUM7QUFDdEQsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBQdWJsaWMgQVBJIFN1cmZhY2Ugb2Ygc2doLW5hdmJhclxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL3NnaC1uYXZiYXIuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZ2gtbmF2YmFyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zZ2gtbmF2YmFyLm1vZHVsZSc7XG5cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2lkZW5hdi9zaWRlbmF2LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9zaWRlbmF2L3N1YmxldmVsLW1lbnUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL3Rvb2xiYXIvdG9vbGJhci5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2doLW5hdmJhci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3NnaC1uYXZiYXIvc3JjL3NnaC1uYXZiYXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,487 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, Component, Input, EventEmitter, Output, HostListener, NgModule } from '@angular/core';
3
+ import { trigger, transition, style, animate, state, keyframes } from '@angular/animations';
4
+ import * as i1 from '@angular/router';
5
+ import { RouterModule } from '@angular/router';
6
+ import * as i2 from '@angular/common';
7
+ import { CommonModule } from '@angular/common';
8
+ import * as i2$1 from '@angular/forms';
9
+ import { FormsModule } from '@angular/forms';
10
+ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
11
+ import { HttpClientModule } from '@angular/common/http';
12
+
13
+ class SghNavbarService {
14
+ constructor() { }
15
+ }
16
+ SghNavbarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17
+ SghNavbarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarService, providedIn: 'root' });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarService, decorators: [{
19
+ type: Injectable,
20
+ args: [{
21
+ providedIn: 'root'
22
+ }]
23
+ }], ctorParameters: function () { return []; } });
24
+
25
+ class SghNavbarComponent {
26
+ constructor() { }
27
+ ngOnInit() {
28
+ }
29
+ }
30
+ SghNavbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
+ SghNavbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SghNavbarComponent, selector: "lib-sgh-navbar", ngImport: i0, template: `
32
+ <p>
33
+ sgh-navbar works!
34
+ </p>
35
+ `, isInline: true });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarComponent, decorators: [{
37
+ type: Component,
38
+ args: [{ selector: 'lib-sgh-navbar', template: `
39
+ <p>
40
+ sgh-navbar works!
41
+ </p>
42
+ ` }]
43
+ }], ctorParameters: function () { return []; } });
44
+
45
+ const fadeInOut = trigger('fadeInOut', [
46
+ transition(':enter', [
47
+ style({ opacity: 0 }),
48
+ animate('350ms', style({ opacity: 1 }))
49
+ ]),
50
+ transition(':leave', [
51
+ style({ opacity: 1 }),
52
+ animate('350ms', style({ opacity: 0 }))
53
+ ])
54
+ ]);
55
+
56
+ class SublevelMenuComponent {
57
+ constructor(router) {
58
+ this.router = router;
59
+ this.data = {
60
+ routeLink: '',
61
+ icon: '',
62
+ label: '',
63
+ items: []
64
+ };
65
+ this.collapsed = false;
66
+ this.multiple = false;
67
+ }
68
+ ngOnInit() {
69
+ }
70
+ handleClick(item) {
71
+ if (!this.multiple) {
72
+ if (this.data.items && this.data.items.length > 0) {
73
+ for (let modelItem of this.data.items) {
74
+ if (item !== modelItem && modelItem.expanded) {
75
+ modelItem.expanded = false;
76
+ }
77
+ }
78
+ }
79
+ }
80
+ item.expanded = !item.expanded;
81
+ }
82
+ getActiveClass(item) {
83
+ return item.expanded && this.router.url.includes(item.routeLink)
84
+ ? 'active-sublevel'
85
+ : '';
86
+ }
87
+ }
88
+ SublevelMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SublevelMenuComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
89
+ SublevelMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SublevelMenuComponent, selector: "app-sublevel-menu", inputs: { data: "data", collapsed: "collapsed", animating: "animating", expanded: "expanded", multiple: "multiple" }, ngImport: i0, template: `
90
+ <ul *ngIf="collapsed && data.items && data.items.length > 0"
91
+ [@submenu]="expanded
92
+ ? {value: 'visible',
93
+ params: {transitionParams: '400ms cubic-bezier(0.86, 0, 0.07, 1)', height: '*'}}
94
+ : {value: 'hidden',
95
+ params: {transitionParams: '400ms cubic-bezier(0.86, 0, 0.07, 1)', height: '0'}}"
96
+ class="sublevel-nav"
97
+ >
98
+ <li *ngFor="let item of data.items" class="sublevel-nav-item">
99
+ <a class="sublevel-nav-link"
100
+ (click)="handleClick(item)"
101
+ *ngIf="item.items && item.items.length > 0"
102
+ [ngClass]="getActiveClass(item)"
103
+ >
104
+ <i class="sublevel-link-icon fa fa-circle"></i>
105
+ <span class="sublevel-link-text" @fadeInOut
106
+ *ngIf="collapsed">{{item.label}}</span>
107
+ <i *ngIf="item.items && collapsed" class="menu-collapse-icon"
108
+ [ngClass]="!item.expanded ? 'fal fa-angle-right' : 'fal fa-angle-down'"
109
+ ></i>
110
+ </a>
111
+ <a class="sublevel-nav-link"
112
+ *ngIf="!item.items || (item.items && item.items.length === 0)"
113
+ [routerLink]="[item.routeLink]"
114
+ routerLinkActive="active-sublevel"
115
+ [routerLinkActiveOptions]="{exact: true}"
116
+ >
117
+ <i class="sublevel-link-icon fa fa-circle"></i>
118
+ <span class="sublevel-link-text" @fadeInOut
119
+ *ngIf="collapsed">{{item.label}}</span>
120
+ </a>
121
+ <div *ngIf="item.items && item.items.length > 0">
122
+ <app-sublevel-menu
123
+ [data]="item"
124
+ [collapsed]="collapsed"
125
+ [multiple]="multiple"
126
+ [expanded]="item.expanded"
127
+ ></app-sublevel-menu>
128
+ </div>
129
+ </li>
130
+ </ul>
131
+ `, isInline: true, styles: [".sidenav{background:#494553;transition:all .5s ease;position:fixed;z-index:1;top:0;width:5rem;height:100vh;box-shadow:.023rem 0 1.25rem #72778163;overflow:hidden}.sidenav .logo-container{display:flex;align-items:center;padding:.938rem .938rem 0;width:100%}.sidenav .logo-container .logo{background:#fff;text-align:center;width:3rem;min-width:3rem;border-radius:.313rem;padding:.313rem;font-size:24px;font-weight:900;cursor:pointer;border:none;height:3rem}.sidenav .logo-container .logo-text{font-size:24px;font-weight:700;color:#fff}.sidenav .logo-container .btn-close{margin-left:auto;cursor:pointer;width:2rem;height:2rem;border-radius:50%;background-color:transparent;border:none}.sidenav .logo-container .btn-close .fa-times{color:#fff;font-size:24px}.sidenav .logo{overflow:hidden}.sidenav-collapsed{width:16.5625rem}.sidenav-collapsed .logo-container .logo{transition:all .5s ease;width:auto;min-width:auto;height:3rem}.sidenav-nav{list-style:none;padding:.938rem;margin:0;display:flex;flex-direction:column;align-items:center;cursor:pointer}.sidenav-nav .sidenav-nav-item{width:100%;margin-bottom:.625rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link{display:flex;align-items:center;height:3rem;color:#f3f3f3;text-decoration:none;border-radius:.625rem;transition:all .7s ease}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-icon{font-size:22px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-text{margin-left:1.5rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover{background-color:#fff;color:#000}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover .menu-collapse-icon{color:#000}.active{background-color:#fff}.active .menu-collapse-icon,.active .sidenav-link-icon,.active .sidenav-link-text{color:#000}.active-sublevel{color:#f3f3f3!important}.menu-collapse-icon{font-size:25px;width:2rem;min-width:2rem;margin:auto .5rem auto auto;text-align:center;color:#f3f3f3}.sublevel-nav{list-style:none;margin-left:10px}.sublevel-nav .sublevel-nav-item .sublevel-nav-link{display:flex;align-items:center;height:3rem;color:#fff;text-decoration:none;border-radius:.625rem;transition:all .3s ease}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-icon{font-size:4px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-text{margin-left:.8rem}.sublevel-nav .sublevel-nav-item .sublevel-nav-link:hover{color:#afafaf}.scrollwrap{overflow-y:auto;visibility:hidden;height:calc(100% - 3.65rem)}.sidenav-nav,.scrollwrap:hover,.scrollwrap:focus{visibility:visible}.scrollwrap_delayed{transition:visibility .4s .2s}.scrollwrap_delayed:hover{transition:visibility .2s .2s}.scrollwrap::-webkit-scrollbar{width:10px}.scrollwrap::-webkit-scrollbar-track{background:transparent}.scrollwrap::-webkit-scrollbar-thumb{background-color:#556268;border-radius:20px}.scrollwrap{scrollbar-width:thin;scrollbar-color:#556268 transparent}\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.RouterLinkWithHref, selector: "a[routerLink],area[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: SublevelMenuComponent, selector: "app-sublevel-menu", inputs: ["data", "collapsed", "animating", "expanded", "multiple"] }], animations: [
132
+ fadeInOut,
133
+ trigger('submenu', [
134
+ state('hidden', style({
135
+ height: '0',
136
+ overflow: 'hidden'
137
+ })),
138
+ state('visible', style({
139
+ height: '*'
140
+ })),
141
+ transition('visible <=> hidden', [style({ overflow: 'hidden' }),
142
+ animate('{{transitionParams}}')]),
143
+ transition('void => *', animate(0))
144
+ ])
145
+ ] });
146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SublevelMenuComponent, decorators: [{
147
+ type: Component,
148
+ args: [{ selector: 'app-sublevel-menu', template: `
149
+ <ul *ngIf="collapsed && data.items && data.items.length > 0"
150
+ [@submenu]="expanded
151
+ ? {value: 'visible',
152
+ params: {transitionParams: '400ms cubic-bezier(0.86, 0, 0.07, 1)', height: '*'}}
153
+ : {value: 'hidden',
154
+ params: {transitionParams: '400ms cubic-bezier(0.86, 0, 0.07, 1)', height: '0'}}"
155
+ class="sublevel-nav"
156
+ >
157
+ <li *ngFor="let item of data.items" class="sublevel-nav-item">
158
+ <a class="sublevel-nav-link"
159
+ (click)="handleClick(item)"
160
+ *ngIf="item.items && item.items.length > 0"
161
+ [ngClass]="getActiveClass(item)"
162
+ >
163
+ <i class="sublevel-link-icon fa fa-circle"></i>
164
+ <span class="sublevel-link-text" @fadeInOut
165
+ *ngIf="collapsed">{{item.label}}</span>
166
+ <i *ngIf="item.items && collapsed" class="menu-collapse-icon"
167
+ [ngClass]="!item.expanded ? 'fal fa-angle-right' : 'fal fa-angle-down'"
168
+ ></i>
169
+ </a>
170
+ <a class="sublevel-nav-link"
171
+ *ngIf="!item.items || (item.items && item.items.length === 0)"
172
+ [routerLink]="[item.routeLink]"
173
+ routerLinkActive="active-sublevel"
174
+ [routerLinkActiveOptions]="{exact: true}"
175
+ >
176
+ <i class="sublevel-link-icon fa fa-circle"></i>
177
+ <span class="sublevel-link-text" @fadeInOut
178
+ *ngIf="collapsed">{{item.label}}</span>
179
+ </a>
180
+ <div *ngIf="item.items && item.items.length > 0">
181
+ <app-sublevel-menu
182
+ [data]="item"
183
+ [collapsed]="collapsed"
184
+ [multiple]="multiple"
185
+ [expanded]="item.expanded"
186
+ ></app-sublevel-menu>
187
+ </div>
188
+ </li>
189
+ </ul>
190
+ `, animations: [
191
+ fadeInOut,
192
+ trigger('submenu', [
193
+ state('hidden', style({
194
+ height: '0',
195
+ overflow: 'hidden'
196
+ })),
197
+ state('visible', style({
198
+ height: '*'
199
+ })),
200
+ transition('visible <=> hidden', [style({ overflow: 'hidden' }),
201
+ animate('{{transitionParams}}')]),
202
+ transition('void => *', animate(0))
203
+ ])
204
+ ], styles: [".sidenav{background:#494553;transition:all .5s ease;position:fixed;z-index:1;top:0;width:5rem;height:100vh;box-shadow:.023rem 0 1.25rem #72778163;overflow:hidden}.sidenav .logo-container{display:flex;align-items:center;padding:.938rem .938rem 0;width:100%}.sidenav .logo-container .logo{background:#fff;text-align:center;width:3rem;min-width:3rem;border-radius:.313rem;padding:.313rem;font-size:24px;font-weight:900;cursor:pointer;border:none;height:3rem}.sidenav .logo-container .logo-text{font-size:24px;font-weight:700;color:#fff}.sidenav .logo-container .btn-close{margin-left:auto;cursor:pointer;width:2rem;height:2rem;border-radius:50%;background-color:transparent;border:none}.sidenav .logo-container .btn-close .fa-times{color:#fff;font-size:24px}.sidenav .logo{overflow:hidden}.sidenav-collapsed{width:16.5625rem}.sidenav-collapsed .logo-container .logo{transition:all .5s ease;width:auto;min-width:auto;height:3rem}.sidenav-nav{list-style:none;padding:.938rem;margin:0;display:flex;flex-direction:column;align-items:center;cursor:pointer}.sidenav-nav .sidenav-nav-item{width:100%;margin-bottom:.625rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link{display:flex;align-items:center;height:3rem;color:#f3f3f3;text-decoration:none;border-radius:.625rem;transition:all .7s ease}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-icon{font-size:22px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-text{margin-left:1.5rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover{background-color:#fff;color:#000}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover .menu-collapse-icon{color:#000}.active{background-color:#fff}.active .menu-collapse-icon,.active .sidenav-link-icon,.active .sidenav-link-text{color:#000}.active-sublevel{color:#f3f3f3!important}.menu-collapse-icon{font-size:25px;width:2rem;min-width:2rem;margin:auto .5rem auto auto;text-align:center;color:#f3f3f3}.sublevel-nav{list-style:none;margin-left:10px}.sublevel-nav .sublevel-nav-item .sublevel-nav-link{display:flex;align-items:center;height:3rem;color:#fff;text-decoration:none;border-radius:.625rem;transition:all .3s ease}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-icon{font-size:4px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-text{margin-left:.8rem}.sublevel-nav .sublevel-nav-item .sublevel-nav-link:hover{color:#afafaf}.scrollwrap{overflow-y:auto;visibility:hidden;height:calc(100% - 3.65rem)}.sidenav-nav,.scrollwrap:hover,.scrollwrap:focus{visibility:visible}.scrollwrap_delayed{transition:visibility .4s .2s}.scrollwrap_delayed:hover{transition:visibility .2s .2s}.scrollwrap::-webkit-scrollbar{width:10px}.scrollwrap::-webkit-scrollbar-track{background:transparent}.scrollwrap::-webkit-scrollbar-thumb{background-color:#556268;border-radius:20px}.scrollwrap{scrollbar-width:thin;scrollbar-color:#556268 transparent}\n"] }]
205
+ }], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { data: [{
206
+ type: Input
207
+ }], collapsed: [{
208
+ type: Input
209
+ }], animating: [{
210
+ type: Input
211
+ }], expanded: [{
212
+ type: Input
213
+ }], multiple: [{
214
+ type: Input
215
+ }] } });
216
+
217
+ const navbarData = [
218
+ {
219
+ routeLink: 'dashboard',
220
+ icon: 'fal fa-home',
221
+ label: 'Dashboard'
222
+ },
223
+ {
224
+ routeLink: 'products',
225
+ icon: 'fal fa-box-open',
226
+ label: 'Products',
227
+ items: [
228
+ {
229
+ routeLink: 'products/level1.1',
230
+ label: 'Level 1.1',
231
+ items: [
232
+ {
233
+ routeLink: 'products/level2.1',
234
+ label: 'Level 2.1',
235
+ },
236
+ {
237
+ routeLink: 'products/level2.2',
238
+ label: 'Level 2.2',
239
+ items: [
240
+ {
241
+ routeLink: 'products/level3.1',
242
+ label: 'Level 3.1'
243
+ },
244
+ {
245
+ routeLink: 'products/level3.2',
246
+ label: 'Level 3.2'
247
+ }
248
+ ]
249
+ }
250
+ ]
251
+ },
252
+ {
253
+ routeLink: 'products/level1.2',
254
+ label: 'Level 1.2',
255
+ }
256
+ ]
257
+ },
258
+ {
259
+ routeLink: 'statistics',
260
+ icon: 'fal fa-chart-bar',
261
+ label: 'Statistics'
262
+ },
263
+ {
264
+ routeLink: 'coupens',
265
+ icon: 'fal fa-tags',
266
+ label: 'Coupens',
267
+ items: [
268
+ {
269
+ routeLink: 'coupens/list',
270
+ label: 'List Coupens'
271
+ },
272
+ {
273
+ routeLink: 'coupens/create',
274
+ label: 'Create Coupens'
275
+ }
276
+ ]
277
+ },
278
+ {
279
+ routeLink: 'pages',
280
+ icon: 'fal fa-file',
281
+ label: 'Pages'
282
+ },
283
+ {
284
+ routeLink: 'media',
285
+ icon: 'fal fa-camera',
286
+ label: 'Media'
287
+ },
288
+ {
289
+ routeLink: 'settings',
290
+ icon: 'fal fa-cog',
291
+ label: 'Settings',
292
+ expanded: true,
293
+ items: [
294
+ {
295
+ routeLink: 'settings/profile',
296
+ label: 'Profile'
297
+ },
298
+ {
299
+ routeLink: 'settings/customize',
300
+ label: 'Customize'
301
+ }
302
+ ]
303
+ },
304
+ ];
305
+
306
+ class SidenavComponent {
307
+ constructor(router) {
308
+ this.router = router;
309
+ this.onToggleSideNav = new EventEmitter();
310
+ this.collapsed = false;
311
+ this.screenWidth = 0;
312
+ this.navData = navbarData;
313
+ this.bgColor = "#33284e";
314
+ this.imgSm = "assets/favicon.ico";
315
+ this.imgLg = "assets/SPAY.png";
316
+ this.multiple = false;
317
+ }
318
+ onResize(event) {
319
+ this.screenWidth = window.innerWidth;
320
+ if (this.screenWidth <= 768) {
321
+ this.collapsed = false;
322
+ this.onToggleSideNav.emit({ collapsed: this.collapsed, screenWidth: this.screenWidth });
323
+ }
324
+ }
325
+ ngOnInit() {
326
+ this.screenWidth = window.innerWidth;
327
+ }
328
+ toggleCollapse() {
329
+ this.collapsed = !this.collapsed;
330
+ this.onToggleSideNav.emit({ collapsed: this.collapsed, screenWidth: this.screenWidth });
331
+ }
332
+ closeSidenav() {
333
+ this.collapsed = false;
334
+ this.onToggleSideNav.emit({ collapsed: this.collapsed, screenWidth: this.screenWidth });
335
+ }
336
+ handleClick(item) {
337
+ this.shrinkItems(item);
338
+ item.expanded = !item.expanded;
339
+ }
340
+ getActiveClass(data) {
341
+ return this.router.url.includes(data.routeLink) ? 'active' : '';
342
+ }
343
+ shrinkItems(item) {
344
+ if (!this.multiple) {
345
+ for (let modelItem of this.navData) {
346
+ if (item !== modelItem && modelItem.expanded) {
347
+ modelItem.expanded = false;
348
+ }
349
+ }
350
+ }
351
+ }
352
+ }
353
+ SidenavComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SidenavComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
354
+ SidenavComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: SidenavComponent, selector: "app-sidenav", inputs: { navData: "navData", bgColor: "bgColor", imgSm: "imgSm", imgLg: "imgLg" }, outputs: { onToggleSideNav: "onToggleSideNav" }, host: { listeners: { "window:resize": "onResize($event)" } }, ngImport: i0, template: "<div class=\"sidenav\" [style.background-color]=\"bgColor\" [ngClass]=\"collapsed ? 'sidenav-collapsed': ''\">\r\n <div class=\"logo-container\">\r\n <img class=\"logo\" *ngIf=\"!collapsed\" (click)=\"toggleCollapse()\" [src]=\"imgSm\" alt=\"img\">\r\n <!-- <button class=\"logo\" (click)=\"toggleCollapse()\">SPDdasdsdaddad</button> -->\r\n <div class=\"logo-text\" *ngIf=\"collapsed\" (click)=\"closeSidenav()\">\r\n <img class=\"logo\" [src]=\"imgLg\" alt=\"img\">\r\n\r\n </div>\r\n <button class=\"btn-close\" @rotate *ngIf=\"collapsed\" (click)=\"closeSidenav()\">\r\n <i class=\"fal fa-times close-icon\"></i>\r\n </button>\r\n </div>\r\n <div class=\"scrollwrap scrollwrap_delayed\">\r\n <ul class=\"sidenav-nav\">\r\n <li class=\"sidenav-nav-item\" *ngFor=\"let data of navData\">\r\n <a class=\"sidenav-nav-link\" (click)=\"handleClick(data)\"\r\n *ngIf=\"data.items && data.items.length > 0\"\r\n [ngClass]=\"getActiveClass(data)\"\r\n >\r\n <i class=\"sidenav-link-icon\" [class]=\"data.icon\"></i>\r\n <span class=\"sidenav-link-text\" *ngIf=\"collapsed\">\r\n {{data.label}}\r\n </span>\r\n <i *ngIf=\"data.items && collapsed\" class=\"menu-collapse-icon\"\r\n [ngClass]=\"!data.expanded ? 'fal fa-angle-right' : 'fal fa-angle-down'\"\r\n ></i>\r\n </a>\r\n\r\n <a class=\"sidenav-nav-link\"\r\n *ngIf=\"!data.items || (data.items && data.items.length === 0)\"\r\n [routerLink]=\"[data.routeLink]\"\r\n routerLinkActive=\"active\"\r\n [routerLinkActiveOptions]=\"{exact: true}\"\r\n (click)=\"shrinkItems(data)\"\r\n >\r\n <i class=\"sidenav-link-icon\" [class]=\"data.icon\"></i>\r\n <span class=\"sidenav-link-text\" @fadeInOut *ngIf=\"collapsed\">\r\n {{data.label}}\r\n </span>\r\n </a>\r\n <div *ngIf=\"collapsed && data.items && data.items.length > 0\">\r\n <app-sublevel-menu\r\n [data]=\"data\"\r\n [collapsed]=\"collapsed\"\r\n [multiple]=\"multiple\"\r\n [expanded]=\"data.expanded\"\r\n ></app-sublevel-menu>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n", styles: [".sidenav{background:#494553;transition:all .5s ease;position:fixed;z-index:1;top:0;width:5rem;height:100vh;box-shadow:.023rem 0 1.25rem #72778163;overflow:hidden}.sidenav .logo-container{display:flex;align-items:center;padding:.938rem .938rem 0;width:100%}.sidenav .logo-container .logo{background:#fff;text-align:center;width:3rem;min-width:3rem;border-radius:.313rem;padding:.313rem;font-size:24px;font-weight:900;cursor:pointer;border:none;height:3rem}.sidenav .logo-container .logo-text{font-size:24px;font-weight:700;color:#fff}.sidenav .logo-container .btn-close{margin-left:auto;cursor:pointer;width:2rem;height:2rem;border-radius:50%;background-color:transparent;border:none}.sidenav .logo-container .btn-close .fa-times{color:#fff;font-size:24px}.sidenav .logo{overflow:hidden}.sidenav-collapsed{width:16.5625rem}.sidenav-collapsed .logo-container .logo{transition:all .5s ease;width:auto;min-width:auto;height:3rem}.sidenav-nav{list-style:none;padding:.938rem;margin:0;display:flex;flex-direction:column;align-items:center;cursor:pointer}.sidenav-nav .sidenav-nav-item{width:100%;margin-bottom:.625rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link{display:flex;align-items:center;height:3rem;color:#f3f3f3;text-decoration:none;border-radius:.625rem;transition:all .7s ease}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-icon{font-size:22px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-text{margin-left:1.5rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover{background-color:#fff;color:#000}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover .menu-collapse-icon{color:#000}.active{background-color:#fff}.active .menu-collapse-icon,.active .sidenav-link-icon,.active .sidenav-link-text{color:#000}.active-sublevel{color:#f3f3f3!important}.menu-collapse-icon{font-size:25px;width:2rem;min-width:2rem;margin:auto .5rem auto auto;text-align:center;color:#f3f3f3}.sublevel-nav{list-style:none;margin-left:10px}.sublevel-nav .sublevel-nav-item .sublevel-nav-link{display:flex;align-items:center;height:3rem;color:#fff;text-decoration:none;border-radius:.625rem;transition:all .3s ease}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-icon{font-size:4px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-text{margin-left:.8rem}.sublevel-nav .sublevel-nav-item .sublevel-nav-link:hover{color:#afafaf}.scrollwrap{overflow-y:auto;visibility:hidden;height:calc(100% - 3.65rem)}.sidenav-nav,.scrollwrap:hover,.scrollwrap:focus{visibility:visible}.scrollwrap_delayed{transition:visibility .4s .2s}.scrollwrap_delayed:hover{transition:visibility .2s .2s}.scrollwrap::-webkit-scrollbar{width:10px}.scrollwrap::-webkit-scrollbar-track{background:transparent}.scrollwrap::-webkit-scrollbar-thumb{background-color:#556268;border-radius:20px}.scrollwrap{scrollbar-width:thin;scrollbar-color:#556268 transparent}\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.RouterLinkWithHref, selector: "a[routerLink],area[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: SublevelMenuComponent, selector: "app-sublevel-menu", inputs: ["data", "collapsed", "animating", "expanded", "multiple"] }], animations: [
355
+ fadeInOut,
356
+ trigger('rotate', [
357
+ transition(':enter', [
358
+ animate('1000ms', keyframes([
359
+ style({ transform: 'rotate(0deg)', offset: '0' }),
360
+ style({ transform: 'rotate(2turn)', offset: '1' })
361
+ ]))
362
+ ])
363
+ ])
364
+ ] });
365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SidenavComponent, decorators: [{
366
+ type: Component,
367
+ args: [{ selector: 'app-sidenav', animations: [
368
+ fadeInOut,
369
+ trigger('rotate', [
370
+ transition(':enter', [
371
+ animate('1000ms', keyframes([
372
+ style({ transform: 'rotate(0deg)', offset: '0' }),
373
+ style({ transform: 'rotate(2turn)', offset: '1' })
374
+ ]))
375
+ ])
376
+ ])
377
+ ], template: "<div class=\"sidenav\" [style.background-color]=\"bgColor\" [ngClass]=\"collapsed ? 'sidenav-collapsed': ''\">\r\n <div class=\"logo-container\">\r\n <img class=\"logo\" *ngIf=\"!collapsed\" (click)=\"toggleCollapse()\" [src]=\"imgSm\" alt=\"img\">\r\n <!-- <button class=\"logo\" (click)=\"toggleCollapse()\">SPDdasdsdaddad</button> -->\r\n <div class=\"logo-text\" *ngIf=\"collapsed\" (click)=\"closeSidenav()\">\r\n <img class=\"logo\" [src]=\"imgLg\" alt=\"img\">\r\n\r\n </div>\r\n <button class=\"btn-close\" @rotate *ngIf=\"collapsed\" (click)=\"closeSidenav()\">\r\n <i class=\"fal fa-times close-icon\"></i>\r\n </button>\r\n </div>\r\n <div class=\"scrollwrap scrollwrap_delayed\">\r\n <ul class=\"sidenav-nav\">\r\n <li class=\"sidenav-nav-item\" *ngFor=\"let data of navData\">\r\n <a class=\"sidenav-nav-link\" (click)=\"handleClick(data)\"\r\n *ngIf=\"data.items && data.items.length > 0\"\r\n [ngClass]=\"getActiveClass(data)\"\r\n >\r\n <i class=\"sidenav-link-icon\" [class]=\"data.icon\"></i>\r\n <span class=\"sidenav-link-text\" *ngIf=\"collapsed\">\r\n {{data.label}}\r\n </span>\r\n <i *ngIf=\"data.items && collapsed\" class=\"menu-collapse-icon\"\r\n [ngClass]=\"!data.expanded ? 'fal fa-angle-right' : 'fal fa-angle-down'\"\r\n ></i>\r\n </a>\r\n\r\n <a class=\"sidenav-nav-link\"\r\n *ngIf=\"!data.items || (data.items && data.items.length === 0)\"\r\n [routerLink]=\"[data.routeLink]\"\r\n routerLinkActive=\"active\"\r\n [routerLinkActiveOptions]=\"{exact: true}\"\r\n (click)=\"shrinkItems(data)\"\r\n >\r\n <i class=\"sidenav-link-icon\" [class]=\"data.icon\"></i>\r\n <span class=\"sidenav-link-text\" @fadeInOut *ngIf=\"collapsed\">\r\n {{data.label}}\r\n </span>\r\n </a>\r\n <div *ngIf=\"collapsed && data.items && data.items.length > 0\">\r\n <app-sublevel-menu\r\n [data]=\"data\"\r\n [collapsed]=\"collapsed\"\r\n [multiple]=\"multiple\"\r\n [expanded]=\"data.expanded\"\r\n ></app-sublevel-menu>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n", styles: [".sidenav{background:#494553;transition:all .5s ease;position:fixed;z-index:1;top:0;width:5rem;height:100vh;box-shadow:.023rem 0 1.25rem #72778163;overflow:hidden}.sidenav .logo-container{display:flex;align-items:center;padding:.938rem .938rem 0;width:100%}.sidenav .logo-container .logo{background:#fff;text-align:center;width:3rem;min-width:3rem;border-radius:.313rem;padding:.313rem;font-size:24px;font-weight:900;cursor:pointer;border:none;height:3rem}.sidenav .logo-container .logo-text{font-size:24px;font-weight:700;color:#fff}.sidenav .logo-container .btn-close{margin-left:auto;cursor:pointer;width:2rem;height:2rem;border-radius:50%;background-color:transparent;border:none}.sidenav .logo-container .btn-close .fa-times{color:#fff;font-size:24px}.sidenav .logo{overflow:hidden}.sidenav-collapsed{width:16.5625rem}.sidenav-collapsed .logo-container .logo{transition:all .5s ease;width:auto;min-width:auto;height:3rem}.sidenav-nav{list-style:none;padding:.938rem;margin:0;display:flex;flex-direction:column;align-items:center;cursor:pointer}.sidenav-nav .sidenav-nav-item{width:100%;margin-bottom:.625rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link{display:flex;align-items:center;height:3rem;color:#f3f3f3;text-decoration:none;border-radius:.625rem;transition:all .7s ease}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-icon{font-size:22px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sidenav-nav .sidenav-nav-item .sidenav-nav-link .sidenav-link-text{margin-left:1.5rem}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover{background-color:#fff;color:#000}.sidenav-nav .sidenav-nav-item .sidenav-nav-link:hover .menu-collapse-icon{color:#000}.active{background-color:#fff}.active .menu-collapse-icon,.active .sidenav-link-icon,.active .sidenav-link-text{color:#000}.active-sublevel{color:#f3f3f3!important}.menu-collapse-icon{font-size:25px;width:2rem;min-width:2rem;margin:auto .5rem auto auto;text-align:center;color:#f3f3f3}.sublevel-nav{list-style:none;margin-left:10px}.sublevel-nav .sublevel-nav-item .sublevel-nav-link{display:flex;align-items:center;height:3rem;color:#fff;text-decoration:none;border-radius:.625rem;transition:all .3s ease}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-icon{font-size:4px;width:2rem;min-width:2rem;margin:0 .5rem;text-align:center}.sublevel-nav .sublevel-nav-item .sublevel-nav-link .sublevel-link-text{margin-left:.8rem}.sublevel-nav .sublevel-nav-item .sublevel-nav-link:hover{color:#afafaf}.scrollwrap{overflow-y:auto;visibility:hidden;height:calc(100% - 3.65rem)}.sidenav-nav,.scrollwrap:hover,.scrollwrap:focus{visibility:visible}.scrollwrap_delayed{transition:visibility .4s .2s}.scrollwrap_delayed:hover{transition:visibility .2s .2s}.scrollwrap::-webkit-scrollbar{width:10px}.scrollwrap::-webkit-scrollbar-track{background:transparent}.scrollwrap::-webkit-scrollbar-thumb{background-color:#556268;border-radius:20px}.scrollwrap{scrollbar-width:thin;scrollbar-color:#556268 transparent}\n"] }]
378
+ }], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { onToggleSideNav: [{
379
+ type: Output
380
+ }], navData: [{
381
+ type: Input
382
+ }], bgColor: [{
383
+ type: Input
384
+ }], imgSm: [{
385
+ type: Input
386
+ }], imgLg: [{
387
+ type: Input
388
+ }], onResize: [{
389
+ type: HostListener,
390
+ args: ['window:resize', ['$event']]
391
+ }] } });
392
+
393
+ class ToolbarComponent {
394
+ constructor() {
395
+ this.searchShow = false;
396
+ this.notificationShow = true;
397
+ this.bgColor = "#33284e";
398
+ this.searchInputEvent = new EventEmitter();
399
+ this.logOutEvent = new EventEmitter();
400
+ this.isNotifNavCollapsed = false;
401
+ this.searchInput = "";
402
+ }
403
+ clickNoti() {
404
+ this.isNotifNavCollapsed = !this.isNotifNavCollapsed;
405
+ }
406
+ onSearchInput() {
407
+ this.searchInputEvent.emit(this.searchInput);
408
+ }
409
+ logOut() {
410
+ this.logOutEvent.emit(this.searchInput);
411
+ }
412
+ }
413
+ ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
414
+ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ToolbarComponent, selector: "app-toolbar", inputs: { searchShow: "searchShow", notificationShow: "notificationShow", bgColor: "bgColor" }, outputs: { searchInputEvent: "searchInputEvent", logOutEvent: "logOutEvent" }, ngImport: i0, template: "<nav [style.background-color]=\"bgColor\">\r\n <div class=\"search\">\r\n <div class=\"box\" *ngIf=\"searchShow\">\r\n <i class=\"fa fa-search\"></i>\r\n <input type=\"text\" name=\"\" [(ngModel)]=\"searchInput\" (keyup)=\"onSearchInput()\" placeholder=\"Search\">\r\n </div>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"clickNoti()\" *ngIf=\"notificationShow\">\r\n <i class=\"fa fa-lg fa-bell\" style=\"color: #fff;\"></i>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"logOut()\">\r\n <i class=\"fa fa-lg fa-sign-out\" style=\"color: #fff;\"></i>\r\n </div>\r\n\r\n <div *ngIf=\"isNotifNavCollapsed\" class=\"notifications\" id=\"box\">\r\n <h2>Notifications <i class=\"fas fa-search\"></i> - <span>2</span></h2>\r\n <div class=\"notifications-item\"> <img src=\"https://i.imgur.com/uIgDDDd.jpg\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>Samso aliao</h4>\r\n <p>Samso Nagaro Like your home work</p>\r\n </div>\r\n </div>\r\n <div class=\"notifications-item\"> <img src=\"https://img.icons8.com/flat_round/64/000000/vote-badge.png\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>John Silvester</h4>\r\n <p>+20 vista badge earned</p>\r\n </div>\r\n </div>\r\n </div>\r\n</nav>\r\n", styles: ["nav{display:flex;align-items:center;background:#494553;height:60px;position:relative}.icon{cursor:pointer;margin-right:50px}.icon span{background:#f00;padding:7px;border-radius:50%;color:#fff;vertical-align:top;margin-left:-25px}.icon img{display:inline-block;width:26px}.icon:hover{opacity:.7}.search{flex:1;margin-left:50px;color:#eee;font-size:20px;font-family:monospace}.notifications{width:300px;height:auto;opacity:1;position:absolute;top:63px;right:62px;border-radius:5px 0 5px 5px;background-color:#fff;z-index:2;box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.notifications h2{font-size:14px;padding:10px;border-bottom:1px solid #eee;color:#999}.notifications h2 span{color:red}.notifications-item{display:flex;border-bottom:1px solid #eee;padding:6px 9px;margin-bottom:0;cursor:pointer}.notifications-item:hover{background-color:#eee}.notifications-item img{display:block;width:50px;height:50px;margin-right:9px;border-radius:50%;margin-top:2px}.notifications-item .text h4{color:#777;font-size:16px;margin-top:3px}.notifications-item .text p{color:#aaa;font-size:12px}.box{width:280px;height:40px;background-color:#fff;border-radius:30px;display:flex;align-items:center;padding:20px}.box>i{font-size:20px;color:#777}.box>input{flex:1;height:35px;border:none;outline:none;font-size:18px;padding-left:10px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.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: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], animations: [
415
+ fadeInOut
416
+ ] });
417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ToolbarComponent, decorators: [{
418
+ type: Component,
419
+ args: [{ selector: 'app-toolbar', animations: [
420
+ fadeInOut
421
+ ], template: "<nav [style.background-color]=\"bgColor\">\r\n <div class=\"search\">\r\n <div class=\"box\" *ngIf=\"searchShow\">\r\n <i class=\"fa fa-search\"></i>\r\n <input type=\"text\" name=\"\" [(ngModel)]=\"searchInput\" (keyup)=\"onSearchInput()\" placeholder=\"Search\">\r\n </div>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"clickNoti()\" *ngIf=\"notificationShow\">\r\n <i class=\"fa fa-lg fa-bell\" style=\"color: #fff;\"></i>\r\n </div>\r\n <div class=\"icon\" id=\"bell\" (click)=\"logOut()\">\r\n <i class=\"fa fa-lg fa-sign-out\" style=\"color: #fff;\"></i>\r\n </div>\r\n\r\n <div *ngIf=\"isNotifNavCollapsed\" class=\"notifications\" id=\"box\">\r\n <h2>Notifications <i class=\"fas fa-search\"></i> - <span>2</span></h2>\r\n <div class=\"notifications-item\"> <img src=\"https://i.imgur.com/uIgDDDd.jpg\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>Samso aliao</h4>\r\n <p>Samso Nagaro Like your home work</p>\r\n </div>\r\n </div>\r\n <div class=\"notifications-item\"> <img src=\"https://img.icons8.com/flat_round/64/000000/vote-badge.png\" alt=\"img\">\r\n <div class=\"text\">\r\n <h4>John Silvester</h4>\r\n <p>+20 vista badge earned</p>\r\n </div>\r\n </div>\r\n </div>\r\n</nav>\r\n", styles: ["nav{display:flex;align-items:center;background:#494553;height:60px;position:relative}.icon{cursor:pointer;margin-right:50px}.icon span{background:#f00;padding:7px;border-radius:50%;color:#fff;vertical-align:top;margin-left:-25px}.icon img{display:inline-block;width:26px}.icon:hover{opacity:.7}.search{flex:1;margin-left:50px;color:#eee;font-size:20px;font-family:monospace}.notifications{width:300px;height:auto;opacity:1;position:absolute;top:63px;right:62px;border-radius:5px 0 5px 5px;background-color:#fff;z-index:2;box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.notifications h2{font-size:14px;padding:10px;border-bottom:1px solid #eee;color:#999}.notifications h2 span{color:red}.notifications-item{display:flex;border-bottom:1px solid #eee;padding:6px 9px;margin-bottom:0;cursor:pointer}.notifications-item:hover{background-color:#eee}.notifications-item img{display:block;width:50px;height:50px;margin-right:9px;border-radius:50%;margin-top:2px}.notifications-item .text h4{color:#777;font-size:16px;margin-top:3px}.notifications-item .text p{color:#aaa;font-size:12px}.box{width:280px;height:40px;background-color:#fff;border-radius:30px;display:flex;align-items:center;padding:20px}.box>i{font-size:20px;color:#777}.box>input{flex:1;height:35px;border:none;outline:none;font-size:18px;padding-left:10px}\n"] }]
422
+ }], propDecorators: { searchShow: [{
423
+ type: Input
424
+ }], notificationShow: [{
425
+ type: Input
426
+ }], bgColor: [{
427
+ type: Input
428
+ }], searchInputEvent: [{
429
+ type: Output
430
+ }], logOutEvent: [{
431
+ type: Output
432
+ }] } });
433
+
434
+ class SghNavbarModule {
435
+ }
436
+ SghNavbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
437
+ SghNavbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarModule, declarations: [SghNavbarComponent,
438
+ SublevelMenuComponent,
439
+ SidenavComponent,
440
+ ToolbarComponent], imports: [BrowserAnimationsModule,
441
+ CommonModule,
442
+ HttpClientModule,
443
+ RouterModule,
444
+ FormsModule], exports: [SghNavbarComponent,
445
+ SublevelMenuComponent,
446
+ SidenavComponent,
447
+ ToolbarComponent] });
448
+ SghNavbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarModule, imports: [BrowserAnimationsModule,
449
+ CommonModule,
450
+ HttpClientModule,
451
+ RouterModule,
452
+ FormsModule] });
453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: SghNavbarModule, decorators: [{
454
+ type: NgModule,
455
+ args: [{
456
+ declarations: [
457
+ SghNavbarComponent,
458
+ SublevelMenuComponent,
459
+ SidenavComponent,
460
+ ToolbarComponent
461
+ ],
462
+ imports: [
463
+ BrowserAnimationsModule,
464
+ CommonModule,
465
+ HttpClientModule,
466
+ RouterModule,
467
+ FormsModule
468
+ ],
469
+ exports: [
470
+ SghNavbarComponent,
471
+ SublevelMenuComponent,
472
+ SidenavComponent,
473
+ ToolbarComponent
474
+ ]
475
+ }]
476
+ }] });
477
+
478
+ /*
479
+ * Public API Surface of sgh-navbar
480
+ */
481
+
482
+ /**
483
+ * Generated bundle index. Do not edit.
484
+ */
485
+
486
+ export { SghNavbarComponent, SghNavbarModule, SghNavbarService, SidenavComponent, SublevelMenuComponent, ToolbarComponent };
487
+ //# sourceMappingURL=sgh-navbar.mjs.map