sgh-navbar 0.0.50 → 0.0.51
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/esm2022/lib/sgh-navbar.component.mjs +14 -14
- package/esm2022/lib/sgh-navbar.module.mjs +76 -76
- package/esm2022/lib/sgh-navbar.service.mjs +35 -35
- package/esm2022/lib/sidenav/helper.mjs +11 -11
- package/esm2022/lib/sidenav/menu-list-item/menu-list-item.component.mjs +46 -46
- package/esm2022/lib/sidenav/nav-data.mjs +96 -96
- package/esm2022/lib/sidenav/sidenav-data.mjs +2 -2
- package/esm2022/lib/sidenav/sidenav.component.mjs +112 -112
- package/esm2022/lib/sidenav/sublevel-menu.component.mjs +85 -85
- package/esm2022/lib/toolbar/noftification-list/noftification-list.component.mjs +13 -13
- package/esm2022/lib/toolbar/search.pipe.mjs +21 -21
- package/esm2022/lib/toolbar/sub-client-dialog/sub-client-dialog.component.mjs +47 -47
- package/esm2022/lib/toolbar/toolbar-data.mjs +8 -8
- package/esm2022/lib/toolbar/toolbar.component.mjs +214 -214
- package/esm2022/public-api.mjs +9 -9
- package/esm2022/sgh-navbar.mjs +4 -4
- package/fesm2022/sgh-navbar.mjs +693 -693
- package/fesm2022/sgh-navbar.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/sgh-navbar.component.d.ts +8 -8
- package/lib/sgh-navbar.module.d.ts +21 -21
- package/lib/sgh-navbar.service.d.ts +15 -15
- package/lib/sidenav/helper.d.ts +10 -10
- package/lib/sidenav/menu-list-item/menu-list-item.component.d.ts +16 -16
- package/lib/sidenav/nav-data.d.ts +2 -2
- package/lib/sidenav/sidenav-data.d.ts +11 -11
- package/lib/sidenav/sidenav.component.d.ts +25 -25
- package/lib/sidenav/sublevel-menu.component.d.ts +18 -18
- package/lib/toolbar/noftification-list/noftification-list.component.d.ts +8 -8
- package/lib/toolbar/search.pipe.d.ts +7 -7
- package/lib/toolbar/sub-client-dialog/sub-client-dialog.component.d.ts +19 -19
- package/lib/toolbar/toolbar-data.d.ts +32 -32
- package/lib/toolbar/toolbar.component.d.ts +41 -41
- package/package.json +3 -3
- package/public-api.d.ts +6 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NoftificationListComponent implements OnInit {
|
|
4
|
-
constructor();
|
|
5
|
-
ngOnInit(): void;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NoftificationListComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoftificationListComponent, "app-noftification-list", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NoftificationListComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoftificationListComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoftificationListComponent, "app-noftification-list", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SearchPipe implements PipeTransform {
|
|
4
|
-
transform(values: any, args?: any): any;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SearchPipe, "search", false>;
|
|
7
|
-
}
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SearchPipe implements PipeTransform {
|
|
4
|
+
transform(values: any, args?: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SearchPipe, "search", false>;
|
|
7
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
-
import { ClientListItem, SubClientListItem } from "../toolbar-data";
|
|
4
|
-
import { SghNavbarService } from "../../sgh-navbar.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SubClientDialogComponent {
|
|
7
|
-
data: any;
|
|
8
|
-
private dialogRef;
|
|
9
|
-
private sghNavbarService;
|
|
10
|
-
client: ClientListItem;
|
|
11
|
-
subClientList: SubClientListItem[];
|
|
12
|
-
subClient: EventEmitter<any>;
|
|
13
|
-
selectedSubClient: SubClientListItem;
|
|
14
|
-
constructor(data: any, dialogRef: MatDialogRef<SubClientDialogComponent>, sghNavbarService: SghNavbarService);
|
|
15
|
-
onSubClientSelect(item: SubClientListItem): void;
|
|
16
|
-
onSelectBtnClick(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubClientDialogComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubClientDialogComponent, "lib-subclient-dialog", never, {}, { "subClient": "subClient"; }, never, never, false, never>;
|
|
19
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { ClientListItem, SubClientListItem } from "../toolbar-data";
|
|
4
|
+
import { SghNavbarService } from "../../sgh-navbar.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SubClientDialogComponent {
|
|
7
|
+
data: any;
|
|
8
|
+
private dialogRef;
|
|
9
|
+
private sghNavbarService;
|
|
10
|
+
client: ClientListItem;
|
|
11
|
+
subClientList: SubClientListItem[];
|
|
12
|
+
subClient: EventEmitter<any>;
|
|
13
|
+
selectedSubClient: SubClientListItem;
|
|
14
|
+
constructor(data: any, dialogRef: MatDialogRef<SubClientDialogComponent>, sghNavbarService: SghNavbarService);
|
|
15
|
+
onSubClientSelect(item: SubClientListItem): void;
|
|
16
|
+
onSelectBtnClick(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubClientDialogComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubClientDialogComponent, "lib-subclient-dialog", never, {}, { "subClient": "subClient"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export declare class ToolbarData {
|
|
2
|
-
themeOptions: ThemeOption[];
|
|
3
|
-
clientList?: ClientListItem[];
|
|
4
|
-
bgColor: string;
|
|
5
|
-
img: string;
|
|
6
|
-
searchEnable?: boolean;
|
|
7
|
-
notificationEnable?: boolean;
|
|
8
|
-
profileEnable?: boolean;
|
|
9
|
-
settingsEnable?: boolean;
|
|
10
|
-
profileView?: boolean;
|
|
11
|
-
profileContent?: any;
|
|
12
|
-
clientConfigurationEnable?: boolean;
|
|
13
|
-
applicationConfigurationEnable?: boolean;
|
|
14
|
-
isThemeCollapsed?: boolean;
|
|
15
|
-
isNotifNavCollapsed?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export declare class ThemeOption {
|
|
18
|
-
name: string;
|
|
19
|
-
value: string;
|
|
20
|
-
checked: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare class ClientListItem {
|
|
23
|
-
text: string;
|
|
24
|
-
value: string;
|
|
25
|
-
selected: boolean;
|
|
26
|
-
subClientList?: SubClientListItem[];
|
|
27
|
-
}
|
|
28
|
-
export declare class SubClientListItem {
|
|
29
|
-
text: string;
|
|
30
|
-
value: string;
|
|
31
|
-
checked: boolean;
|
|
32
|
-
}
|
|
1
|
+
export declare class ToolbarData {
|
|
2
|
+
themeOptions: ThemeOption[];
|
|
3
|
+
clientList?: ClientListItem[];
|
|
4
|
+
bgColor: string;
|
|
5
|
+
img: string;
|
|
6
|
+
searchEnable?: boolean;
|
|
7
|
+
notificationEnable?: boolean;
|
|
8
|
+
profileEnable?: boolean;
|
|
9
|
+
settingsEnable?: boolean;
|
|
10
|
+
profileView?: boolean;
|
|
11
|
+
profileContent?: any;
|
|
12
|
+
clientConfigurationEnable?: boolean;
|
|
13
|
+
applicationConfigurationEnable?: boolean;
|
|
14
|
+
isThemeCollapsed?: boolean;
|
|
15
|
+
isNotifNavCollapsed?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class ThemeOption {
|
|
18
|
+
name: string;
|
|
19
|
+
value: string;
|
|
20
|
+
checked: boolean;
|
|
21
|
+
}
|
|
22
|
+
export declare class ClientListItem {
|
|
23
|
+
text: string;
|
|
24
|
+
value: string;
|
|
25
|
+
selected: boolean;
|
|
26
|
+
subClientList?: SubClientListItem[];
|
|
27
|
+
}
|
|
28
|
+
export declare class SubClientListItem {
|
|
29
|
+
text: string;
|
|
30
|
+
value: string;
|
|
31
|
+
checked: boolean;
|
|
32
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
-
import { MatMenuTrigger } from "@angular/material/menu";
|
|
4
|
-
import { ClientListItem, ToolbarData } from "./toolbar-data";
|
|
5
|
-
import { SghNavbarService } from "../sgh-navbar.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ToolbarComponent implements AfterViewInit {
|
|
8
|
-
private dialog;
|
|
9
|
-
private sghNavbarSvc;
|
|
10
|
-
expanded: boolean;
|
|
11
|
-
toggleSidebarEvent: EventEmitter<boolean>;
|
|
12
|
-
toolbarData: ToolbarData;
|
|
13
|
-
searchInputEvent: EventEmitter<string>;
|
|
14
|
-
client: EventEmitter<any>;
|
|
15
|
-
subClient: EventEmitter<any>;
|
|
16
|
-
searchInput: string;
|
|
17
|
-
private prev;
|
|
18
|
-
selected: any;
|
|
19
|
-
private wasInside;
|
|
20
|
-
selectedClient: any;
|
|
21
|
-
clientMenuTrigger: MatMenuTrigger;
|
|
22
|
-
clickInside(): void;
|
|
23
|
-
clickOut(): void;
|
|
24
|
-
constructor(dialog: MatDialog, sghNavbarSvc: SghNavbarService);
|
|
25
|
-
toggleSidebar(): boolean;
|
|
26
|
-
toggleNotificationList(): void;
|
|
27
|
-
clickProfile(): void;
|
|
28
|
-
onSearchInput(): void;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
30
|
-
setClass(selected: any): void;
|
|
31
|
-
protected readonly event: Event | undefined;
|
|
32
|
-
selectedTheme: string;
|
|
33
|
-
searchText: any;
|
|
34
|
-
onRadioClick(themeValue: string): void;
|
|
35
|
-
toggleSelect(event: any, clientItem: ClientListItem): void;
|
|
36
|
-
initSelectedSubClient(client: ClientListItem): void;
|
|
37
|
-
unselectClientItems(): void;
|
|
38
|
-
selectFirstSubclient(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "expanded": { "alias": "expanded"; "required": false; }; "toolbarData": { "alias": "toolbarData"; "required": false; }; }, { "toggleSidebarEvent": "toggleSidebarEvent"; "searchInputEvent": "searchInputEvent"; "client": "client"; "subClient": "subClient"; }, never, never, false, never>;
|
|
41
|
-
}
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { MatMenuTrigger } from "@angular/material/menu";
|
|
4
|
+
import { ClientListItem, ToolbarData } from "./toolbar-data";
|
|
5
|
+
import { SghNavbarService } from "../sgh-navbar.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ToolbarComponent implements AfterViewInit {
|
|
8
|
+
private dialog;
|
|
9
|
+
private sghNavbarSvc;
|
|
10
|
+
expanded: boolean;
|
|
11
|
+
toggleSidebarEvent: EventEmitter<boolean>;
|
|
12
|
+
toolbarData: ToolbarData;
|
|
13
|
+
searchInputEvent: EventEmitter<string>;
|
|
14
|
+
client: EventEmitter<any>;
|
|
15
|
+
subClient: EventEmitter<any>;
|
|
16
|
+
searchInput: string;
|
|
17
|
+
private prev;
|
|
18
|
+
selected: any;
|
|
19
|
+
private wasInside;
|
|
20
|
+
selectedClient: any;
|
|
21
|
+
clientMenuTrigger: MatMenuTrigger;
|
|
22
|
+
clickInside(): void;
|
|
23
|
+
clickOut(): void;
|
|
24
|
+
constructor(dialog: MatDialog, sghNavbarSvc: SghNavbarService);
|
|
25
|
+
toggleSidebar(): boolean;
|
|
26
|
+
toggleNotificationList(): void;
|
|
27
|
+
clickProfile(): void;
|
|
28
|
+
onSearchInput(): void;
|
|
29
|
+
ngAfterViewInit(): void;
|
|
30
|
+
setClass(selected: any): void;
|
|
31
|
+
protected readonly event: Event | undefined;
|
|
32
|
+
selectedTheme: string;
|
|
33
|
+
searchText: any;
|
|
34
|
+
onRadioClick(themeValue: string): void;
|
|
35
|
+
toggleSelect(event: any, clientItem: ClientListItem): void;
|
|
36
|
+
initSelectedSubClient(client: ClientListItem): void;
|
|
37
|
+
unselectClientItems(): void;
|
|
38
|
+
selectFirstSubclient(): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "app-toolbar", never, { "expanded": { "alias": "expanded"; "required": false; }; "toolbarData": { "alias": "toolbarData"; "required": false; }; }, { "toggleSidebarEvent": "toggleSidebarEvent"; "searchInputEvent": "searchInputEvent"; "client": "client"; "subClient": "subClient"; }, never, never, false, never>;
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sgh-navbar",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^17.3.12",
|
|
6
|
+
"@angular/core": "^17.3.12"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './lib/sgh-navbar.service';
|
|
2
|
-
export * from './lib/sgh-navbar.component';
|
|
3
|
-
export * from './lib/sgh-navbar.module';
|
|
4
|
-
export * from './lib/sidenav/sidenav.component';
|
|
5
|
-
export * from './lib/sidenav/sublevel-menu.component';
|
|
6
|
-
export * from './lib/toolbar/toolbar.component';
|
|
1
|
+
export * from './lib/sgh-navbar.service';
|
|
2
|
+
export * from './lib/sgh-navbar.component';
|
|
3
|
+
export * from './lib/sgh-navbar.module';
|
|
4
|
+
export * from './lib/sidenav/sidenav.component';
|
|
5
|
+
export * from './lib/sidenav/sublevel-menu.component';
|
|
6
|
+
export * from './lib/toolbar/toolbar.component';
|