@posiwise/dashboard-module 0.0.111 → 0.0.112
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/customizer/customizer.component.mjs +3 -3
- package/esm2022/lib/faq/faq.component.mjs +3 -3
- package/esm2022/lib/faq-details/faq-details.component.mjs +4 -3
- package/esm2022/lib/home/home.component.mjs +3 -3
- package/esm2022/lib/navbar/navbar.component.mjs +19 -20
- package/esm2022/lib/notifications-page/current-notifications/current-notifications.component.mjs +25 -6
- package/esm2022/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.mjs +25 -6
- package/esm2022/lib/notifications-page/notifications-page.component.mjs +2 -2
- package/esm2022/lib/search/search.component.mjs +7 -4
- package/esm2022/lib/user-feedback/user-feedback.component.mjs +3 -3
- package/esm2022/lib/user-notifications/user-notifications.component.mjs +4 -5
- package/fesm2022/posiwise-dashboard-module.mjs +87 -49
- package/fesm2022/posiwise-dashboard-module.mjs.map +1 -1
- package/lib/faq/faq.component.d.ts +5 -5
- package/lib/faq-details/faq-details.component.d.ts +2 -2
- package/lib/home/home.component.d.ts +1 -1
- package/lib/navbar/navbar.component.d.ts +8 -7
- package/lib/notifications-page/current-notifications/current-notifications.component.d.ts +7 -1
- package/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.d.ts +7 -1
- package/lib/search/search.component.d.ts +3 -2
- package/lib/user-feedback/user-feedback.component.d.ts +1 -1
- package/lib/user-notifications/user-notifications.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -8,11 +8,11 @@ export interface GroupedFaqs {
|
|
|
8
8
|
[category: string]: FAQ[];
|
|
9
9
|
}
|
|
10
10
|
export declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
|
-
private commonService;
|
|
12
|
-
private productService;
|
|
13
|
-
private sanitizer;
|
|
14
|
-
private searchSubject;
|
|
15
|
-
private destroy$;
|
|
11
|
+
private readonly commonService;
|
|
12
|
+
private readonly productService;
|
|
13
|
+
private readonly sanitizer;
|
|
14
|
+
private readonly searchSubject;
|
|
15
|
+
private readonly destroy$;
|
|
16
16
|
faqs: GroupedFaqs;
|
|
17
17
|
search_term: any;
|
|
18
18
|
sanitizedFaqAnswers: {
|
|
@@ -5,8 +5,8 @@ import { CommonService } from '@posiwise/common-services';
|
|
|
5
5
|
import { FAQ } from '@posiwise/common-utilities';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class FaqDetailsComponent extends AppBaseComponent implements OnInit {
|
|
8
|
-
private commonService;
|
|
9
|
-
private sanitizer;
|
|
8
|
+
private readonly commonService;
|
|
9
|
+
private readonly sanitizer;
|
|
10
10
|
id: number;
|
|
11
11
|
faq: FAQ;
|
|
12
12
|
isLoading: boolean;
|
|
@@ -4,7 +4,7 @@ import { User } from '@posiwise/common-utilities';
|
|
|
4
4
|
import { HopscotchService } from '@posiwise/common-services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
-
private hopscotchService;
|
|
7
|
+
private readonly hopscotchService;
|
|
8
8
|
user: User;
|
|
9
9
|
userSlug: string;
|
|
10
10
|
componentActive: boolean;
|
|
@@ -7,30 +7,31 @@ import { ScriptLoaderService, NotificationService } from '@posiwise/common-servi
|
|
|
7
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class NavbarComponent extends AppBaseComponent implements OnDestroy, OnDestroy {
|
|
10
|
-
private notificationService;
|
|
11
|
-
private scriptLoader;
|
|
12
|
-
private store;
|
|
10
|
+
private readonly notificationService;
|
|
11
|
+
private readonly scriptLoader;
|
|
12
|
+
private readonly store;
|
|
13
13
|
logo: string;
|
|
14
14
|
notiDrop: NgbDropdown;
|
|
15
15
|
notificationCount: number;
|
|
16
16
|
noNoti: boolean;
|
|
17
17
|
notifications: any[];
|
|
18
|
-
private notiInterval;
|
|
18
|
+
private readonly notiInterval;
|
|
19
19
|
slug: string;
|
|
20
20
|
userSlug: any;
|
|
21
21
|
private organisationSubscription;
|
|
22
|
-
static organisationSubject: BehaviorSubject<{
|
|
22
|
+
static readonly organisationSubject: BehaviorSubject<{
|
|
23
23
|
slug: string;
|
|
24
24
|
organisation: string;
|
|
25
25
|
}>;
|
|
26
|
-
static organisation$: Observable<{
|
|
26
|
+
static readonly organisation$: Observable<{
|
|
27
27
|
slug: string;
|
|
28
28
|
organisation: string;
|
|
29
29
|
}>;
|
|
30
30
|
isAdmin: boolean;
|
|
31
31
|
constructor(injector: Injector, notificationService: NotificationService, config: NgbDropdownConfig, scriptLoader: ScriptLoaderService, store: Store<AppState>);
|
|
32
32
|
ngOnDestroy(): void;
|
|
33
|
-
|
|
33
|
+
handleDropdownOpen(): void;
|
|
34
|
+
handleDropdownClose(): void;
|
|
34
35
|
get isSupportMenu(): any;
|
|
35
36
|
private subscribeToOrganisation;
|
|
36
37
|
/**
|
|
@@ -2,14 +2,20 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { NotificationService } from '@posiwise/common-services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CurrentNotificationsComponent implements OnInit {
|
|
5
|
-
private notificationService;
|
|
5
|
+
private readonly notificationService;
|
|
6
6
|
notificationCount: number;
|
|
7
7
|
noNoti: boolean;
|
|
8
|
+
itemsPerPage: number;
|
|
8
9
|
notifications: any[];
|
|
10
|
+
currentPage: number;
|
|
9
11
|
isLoaded: boolean;
|
|
12
|
+
totalPages: number;
|
|
13
|
+
totalRecords: number;
|
|
10
14
|
constructor(notificationService: NotificationService);
|
|
11
15
|
ngOnInit(): void;
|
|
12
16
|
private getNotifications;
|
|
17
|
+
nextPage(): void;
|
|
18
|
+
previousPage(): void;
|
|
13
19
|
dismiss(id: number, e: any): void;
|
|
14
20
|
trackByNotification(_index: number, item: {
|
|
15
21
|
id: number;
|
package/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.d.ts
CHANGED
|
@@ -2,14 +2,20 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { NotificationService } from '@posiwise/common-services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DismissedNotificationsComponent implements OnInit {
|
|
5
|
-
private notificationService;
|
|
5
|
+
private readonly notificationService;
|
|
6
6
|
notificationCount: number;
|
|
7
7
|
noNoti: boolean;
|
|
8
8
|
dismissedNotifications: any[];
|
|
9
9
|
isLoaded: boolean;
|
|
10
|
+
itemsPerPage: number;
|
|
11
|
+
currentPage: number;
|
|
12
|
+
totalPages: number;
|
|
13
|
+
totalRecords: number;
|
|
10
14
|
constructor(notificationService: NotificationService);
|
|
11
15
|
ngOnInit(): void;
|
|
12
16
|
private getNotifications;
|
|
17
|
+
nextPage(): void;
|
|
18
|
+
previousPage(): void;
|
|
13
19
|
dismiss(id: number, e: any): void;
|
|
14
20
|
restoreNotification(id: number, e: any): void;
|
|
15
21
|
trackByNotification(_index: number, item: {
|
|
@@ -4,8 +4,8 @@ import { GlobalSearchResponse } from '@posiwise/common-utilities';
|
|
|
4
4
|
import { DashboardService } from '@posiwise/common-services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SearchComponent implements OnInit {
|
|
7
|
-
private route;
|
|
8
|
-
private service;
|
|
7
|
+
private readonly route;
|
|
8
|
+
private readonly service;
|
|
9
9
|
keyword: string;
|
|
10
10
|
result: GlobalSearchResponse;
|
|
11
11
|
isLoaded: boolean;
|
|
@@ -17,6 +17,7 @@ export declare class SearchComponent implements OnInit {
|
|
|
17
17
|
constructor(route: ActivatedRoute, service: DashboardService);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
search(): void;
|
|
20
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
20
21
|
trackByUserId(_index: number, item: {
|
|
21
22
|
id: number;
|
|
22
23
|
}): number;
|
|
@@ -4,7 +4,7 @@ import { User } from '@posiwise/common-utilities';
|
|
|
4
4
|
import { CommonService } from '@posiwise/common-services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
|
|
7
|
-
private commonService;
|
|
7
|
+
private readonly commonService;
|
|
8
8
|
rating: number;
|
|
9
9
|
selectedValue: number | null;
|
|
10
10
|
questions: any[];
|
|
@@ -4,7 +4,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
4
4
|
import { CommonService } from '@posiwise/common-services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserNotificationsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
-
private commonService;
|
|
7
|
+
private readonly commonService;
|
|
8
8
|
notifications: any[];
|
|
9
9
|
notifier: Subject<unknown>;
|
|
10
10
|
isHomePage: boolean;
|