@indice/ng-components 0.2.148-beta → 0.2.151-beta
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/bundles/indice-ng-components.umd.js +22 -11
- package/bundles/indice-ng-components.umd.js.map +1 -1
- package/esm2015/lib/layouts/shell/shell-header/shell-header.component.js +22 -12
- package/esm2015/lib/layouts/shell/shell-layout/shell-layout.component.js +1 -1
- package/esm2015/lib/types.js +1 -1
- package/fesm2015/indice-ng-components.js +21 -11
- package/fesm2015/indice-ng-components.js.map +1 -1
- package/lib/layouts/shell/shell-header/shell-header.component.d.ts +7 -4
- package/lib/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -10,8 +10,9 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
10
10
|
private router;
|
|
11
11
|
links: any;
|
|
12
12
|
sectionLinksPath: string;
|
|
13
|
-
|
|
13
|
+
notificationsLinksPath: string;
|
|
14
14
|
allNotificationsLinkPath: string;
|
|
15
|
+
notificationsCounterLinksPath: string;
|
|
15
16
|
config: IShellConfig;
|
|
16
17
|
border: boolean;
|
|
17
18
|
showNotifications: boolean | undefined;
|
|
@@ -19,8 +20,9 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
19
20
|
notificationsMenuVisible: boolean;
|
|
20
21
|
profileMenuVisible: boolean;
|
|
21
22
|
sectionLinks: Observable<NavLink[]>;
|
|
22
|
-
|
|
23
|
+
notifications: Observable<NotificationNavLink[]>;
|
|
23
24
|
allNotificationsLink: Observable<NavLink>;
|
|
25
|
+
unreadNotificationsCountObs: Observable<number>;
|
|
24
26
|
mobileMenuExpanded: boolean;
|
|
25
27
|
userMenuExpanded: boolean;
|
|
26
28
|
notificationsMenuExpanded: boolean;
|
|
@@ -30,7 +32,7 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
30
32
|
protected statusSub$: Subscription | null;
|
|
31
33
|
user: User | null;
|
|
32
34
|
avatarName: string | null;
|
|
33
|
-
|
|
35
|
+
unreadNotificationsCount: number;
|
|
34
36
|
constructor(authService: AuthService, router: Router, links: any);
|
|
35
37
|
ngOnDestroy(): void;
|
|
36
38
|
ngOnInit(): void;
|
|
@@ -40,6 +42,7 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
|
|
|
40
42
|
signin(event: any | null | undefined): void;
|
|
41
43
|
expandUserMenu(): void;
|
|
42
44
|
expandNotificationsMenu(): void;
|
|
45
|
+
getUnreadNotificationsCount(): void;
|
|
43
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ShellHeaderComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": "section-links"; "
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShellHeaderComponent, "lib-shell-header", never, { "sectionLinksPath": "section-links"; "notificationsLinksPath": "notifications-links"; "allNotificationsLinkPath": "all-notifications"; "notificationsCounterLinksPath": "notifications-counter"; "config": "config"; "border": "border"; }, {}, never, never>;
|
|
45
48
|
}
|
package/lib/types.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface IAppLinks {
|
|
|
8
8
|
brand: Observable<NavLink[]>;
|
|
9
9
|
notifications?: Observable<NotificationNavLink[]>;
|
|
10
10
|
allNotifications?: Observable<NavLink>;
|
|
11
|
+
notificationsCounter?: Observable<number>;
|
|
11
12
|
}
|
|
12
13
|
export declare class NavLink {
|
|
13
14
|
constructor(text: string, path: string, exact?: boolean, external?: boolean, icon?: string, isRead?: boolean, creationDate?: Date);
|