@indice/ng-components 0.2.136-beta → 0.2.139-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.
@@ -4,11 +4,13 @@ import { Router } from '@angular/router';
4
4
  import { IShellConfig, NavLink, NotificationNavLink } from '../../../types';
5
5
  import { Observable, Subscription } from 'rxjs';
6
6
  import { AuthService } from '@indice/ng-auth';
7
+ import { NotificationsService } from '../../../services/notifications.service';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class ShellHeaderComponent implements OnInit, OnDestroy {
9
10
  private authService;
10
11
  private router;
11
12
  links: any;
13
+ private _notifications;
12
14
  sectionLinksPath: string;
13
15
  notificationLinksPath: string;
14
16
  allNotificationsLinkPath: string;
@@ -31,7 +33,7 @@ export declare class ShellHeaderComponent implements OnInit, OnDestroy {
31
33
  user: User | null;
32
34
  avatarName: string | null;
33
35
  notificationsCount: number;
34
- constructor(authService: AuthService, router: Router, links: any);
36
+ constructor(authService: AuthService, router: Router, links: any, _notifications: NotificationsService);
35
37
  ngOnDestroy(): void;
36
38
  ngOnInit(): void;
37
39
  private setCurrentUser;
@@ -1,4 +1,5 @@
1
1
  import { ToasterService } from './services/toaster.service';
2
+ import { NotificationsService } from './services/notifications.service';
2
3
  import * as i0 from "@angular/core";
3
4
  import * as i1 from "./directives/click-outside.directive";
4
5
  import * as i2 from "./directives/dynamic-component-host.directive";
@@ -0,0 +1,14 @@
1
+ import { Observable } from "rxjs";
2
+ import { NotificationNavLink } from "../types";
3
+ import * as i0 from "@angular/core";
4
+ export declare class NotificationsService {
5
+ links: any;
6
+ private unreadCountSubject$;
7
+ private _notificationLinks;
8
+ private notificationLinksPath;
9
+ constructor(links: any);
10
+ getMessagesObs(): Observable<NotificationNavLink[]>;
11
+ getUnreadCount(breakCache?: boolean): Observable<number>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
14
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indice/ng-components",
3
- "version": "0.2.136-beta",
3
+ "version": "0.2.139-beta",
4
4
  "description": "Indice common components for Angular v12",
5
5
  "repository": {
6
6
  "type": "git",