@posiwise/dashboard-module 0.0.108 → 0.0.110

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.
@@ -11,8 +11,10 @@ export declare class FaqComponent extends AppBaseComponent implements OnInit, On
11
11
  private commonService;
12
12
  private productService;
13
13
  private sanitizer;
14
+ private searchSubject;
15
+ private destroy$;
14
16
  faqs: GroupedFaqs;
15
- search_term: string;
17
+ search_term: any;
16
18
  sanitizedFaqAnswers: {
17
19
  [key: string]: SafeHtml;
18
20
  };
@@ -4,6 +4,7 @@ import { Store } from '@ngrx/store';
4
4
  import { AppState } from '@posiwise/app-store';
5
5
  import { AppBaseComponent } from '@posiwise/app-base-component';
6
6
  import { ScriptLoaderService, NotificationService } from '@posiwise/common-services';
7
+ import { BehaviorSubject, Observable } from 'rxjs';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class NavbarComponent extends AppBaseComponent implements OnDestroy, OnDestroy {
9
10
  private notificationService;
@@ -16,9 +17,26 @@ export declare class NavbarComponent extends AppBaseComponent implements OnDestr
16
17
  notifications: any[];
17
18
  private notiInterval;
18
19
  slug: string;
20
+ userSlug: any;
21
+ private organisationSubscription;
22
+ static organisationSubject: BehaviorSubject<{
23
+ slug: string;
24
+ organisation: string;
25
+ }>;
26
+ static organisation$: Observable<{
27
+ slug: string;
28
+ organisation: string;
29
+ }>;
30
+ isAdmin: boolean;
19
31
  constructor(injector: Injector, notificationService: NotificationService, config: NgbDropdownConfig, scriptLoader: ScriptLoaderService, store: Store<AppState>);
20
32
  ngOnDestroy(): void;
33
+ onMenuToggle(menuOpen: boolean): void;
21
34
  get isSupportMenu(): any;
35
+ private subscribeToOrganisation;
36
+ /**
37
+ * Unsubscribe from organisation$
38
+ */
39
+ private unsubscribeFromOrganisation;
22
40
  private loadExternalScripts;
23
41
  private getNotifications;
24
42
  private notificationsCount;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/dashboard-module",
3
- "version": "0.0.108",
3
+ "version": "0.0.110",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11"