sgh-navbar 0.0.50 → 0.0.52

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.
Files changed (36) hide show
  1. package/README.md +8 -0
  2. package/esm2022/lib/sgh-navbar.component.mjs +14 -14
  3. package/esm2022/lib/sgh-navbar.module.mjs +76 -76
  4. package/esm2022/lib/sgh-navbar.service.mjs +35 -35
  5. package/esm2022/lib/sidenav/helper.mjs +11 -11
  6. package/esm2022/lib/sidenav/menu-list-item/menu-list-item.component.mjs +46 -46
  7. package/esm2022/lib/sidenav/nav-data.mjs +96 -96
  8. package/esm2022/lib/sidenav/sidenav-data.mjs +2 -2
  9. package/esm2022/lib/sidenav/sidenav.component.mjs +112 -112
  10. package/esm2022/lib/sidenav/sublevel-menu.component.mjs +85 -85
  11. package/esm2022/lib/toolbar/noftification-list/noftification-list.component.mjs +13 -13
  12. package/esm2022/lib/toolbar/search.pipe.mjs +21 -21
  13. package/esm2022/lib/toolbar/sub-client-dialog/sub-client-dialog.component.mjs +47 -47
  14. package/esm2022/lib/toolbar/toolbar-data.mjs +8 -8
  15. package/esm2022/lib/toolbar/toolbar.component.mjs +214 -214
  16. package/esm2022/public-api.mjs +9 -9
  17. package/esm2022/sgh-navbar.mjs +4 -4
  18. package/fesm2022/sgh-navbar.mjs +693 -693
  19. package/fesm2022/sgh-navbar.mjs.map +1 -1
  20. package/index.d.ts +5 -5
  21. package/lib/sgh-navbar.component.d.ts +8 -8
  22. package/lib/sgh-navbar.module.d.ts +21 -21
  23. package/lib/sgh-navbar.service.d.ts +15 -15
  24. package/lib/sidenav/helper.d.ts +10 -10
  25. package/lib/sidenav/menu-list-item/menu-list-item.component.d.ts +16 -16
  26. package/lib/sidenav/nav-data.d.ts +2 -2
  27. package/lib/sidenav/sidenav-data.d.ts +11 -11
  28. package/lib/sidenav/sidenav.component.d.ts +25 -25
  29. package/lib/sidenav/sublevel-menu.component.d.ts +18 -18
  30. package/lib/toolbar/noftification-list/noftification-list.component.d.ts +8 -8
  31. package/lib/toolbar/search.pipe.d.ts +7 -7
  32. package/lib/toolbar/sub-client-dialog/sub-client-dialog.component.d.ts +19 -19
  33. package/lib/toolbar/toolbar-data.d.ts +32 -32
  34. package/lib/toolbar/toolbar.component.d.ts +41 -41
  35. package/package.json +3 -3
  36. 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.50",
3
+ "version": "0.0.52",
4
4
  "peerDependencies": {
5
- "@angular/common": "^16.2.12",
6
- "@angular/core": "^16.2.12"
5
+ "@angular/common": "^18.2.13",
6
+ "@angular/core": "^18.2.13"
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';