@posiwise/dashboard-module 0.0.98 → 0.0.100
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/faq/faq.component.mjs +3 -2
- package/esm2022/lib/faq-details/faq-details.component.mjs +1 -1
- package/esm2022/lib/home/home.component.mjs +1 -1
- package/esm2022/lib/navbar/navbar.component.mjs +2 -2
- package/esm2022/lib/notifications-page/current-notifications/current-notifications.component.mjs +1 -1
- package/esm2022/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.mjs +1 -1
- package/esm2022/lib/search/search.component.mjs +1 -1
- package/esm2022/lib/user-feedback/user-feedback.component.mjs +1 -1
- package/fesm2022/posiwise-dashboard-module.mjs +3 -2
- package/fesm2022/posiwise-dashboard-module.mjs.map +1 -1
- package/lib/faq/faq.component.d.ts +12 -5
- package/lib/faq-details/faq-details.component.d.ts +2 -1
- package/lib/navbar/navbar.component.d.ts +1 -1
- package/lib/notifications-page/current-notifications/current-notifications.component.d.ts +3 -1
- package/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.d.ts +3 -1
- package/lib/search/search.component.d.ts +9 -3
- package/lib/user-feedback/user-feedback.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { FAQ } from '@posiwise/common-utilities';
|
|
3
|
+
import { FAQ, Product } from '@posiwise/common-utilities';
|
|
4
4
|
import { CommonService, ProductService } from '@posiwise/common-services';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface GroupedFaqs {
|
|
7
|
+
[category: string]: FAQ[];
|
|
8
|
+
}
|
|
6
9
|
export declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
10
|
private commonService;
|
|
8
11
|
private productService;
|
|
9
|
-
faqs:
|
|
12
|
+
faqs: GroupedFaqs;
|
|
10
13
|
search_term: string;
|
|
11
14
|
productFaq: FAQ[];
|
|
12
15
|
private nonProductFaqs;
|
|
@@ -19,7 +22,7 @@ export declare class FaqComponent extends AppBaseComponent implements OnInit, On
|
|
|
19
22
|
isLoaded: boolean;
|
|
20
23
|
masterProductId: any;
|
|
21
24
|
totalRecords: number;
|
|
22
|
-
products:
|
|
25
|
+
products: Product[];
|
|
23
26
|
private faqsResponse;
|
|
24
27
|
allFaqFalse: boolean;
|
|
25
28
|
subscriptionId: number;
|
|
@@ -32,8 +35,12 @@ export declare class FaqComponent extends AppBaseComponent implements OnInit, On
|
|
|
32
35
|
private getProducts;
|
|
33
36
|
filter(searchValue: string): void;
|
|
34
37
|
navigateToSupport(): void;
|
|
35
|
-
trackByProductFaqId(_index: number, item:
|
|
36
|
-
|
|
38
|
+
trackByProductFaqId(_index: number, item: {
|
|
39
|
+
id: number;
|
|
40
|
+
}): number;
|
|
41
|
+
trackByNonProductFaqId(_index: number, item: {
|
|
42
|
+
id: number;
|
|
43
|
+
}): number;
|
|
37
44
|
ngOnDestroy(): void;
|
|
38
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqComponent, never>;
|
|
39
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<FaqComponent, "pw-faq", never, {}, {}, never, never, false, never>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
3
|
import { CommonService } from '@posiwise/common-services';
|
|
4
|
+
import { FAQ } from '@posiwise/common-utilities';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class FaqDetailsComponent extends AppBaseComponent implements OnInit {
|
|
6
7
|
private commonService;
|
|
7
8
|
id: number;
|
|
8
|
-
faq:
|
|
9
|
+
faq: FAQ;
|
|
9
10
|
isLoading: boolean;
|
|
10
11
|
slug: string;
|
|
11
12
|
constructor(commonService: CommonService, injector: Injector);
|
|
@@ -11,7 +11,9 @@ export declare class CurrentNotificationsComponent implements OnInit {
|
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
private getNotifications;
|
|
13
13
|
dismiss(id: number, e: any): void;
|
|
14
|
-
trackByNotification(_index: number, item:
|
|
14
|
+
trackByNotification(_index: number, item: {
|
|
15
|
+
id: number;
|
|
16
|
+
}): number;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrentNotificationsComponent, never>;
|
|
16
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<CurrentNotificationsComponent, "pw-current-notifications", never, {}, {}, never, never, false, never>;
|
|
17
19
|
}
|
package/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.d.ts
CHANGED
|
@@ -12,7 +12,9 @@ export declare class DismissedNotificationsComponent implements OnInit {
|
|
|
12
12
|
private getNotifications;
|
|
13
13
|
dismiss(id: number, e: any): void;
|
|
14
14
|
restoreNotification(id: number, e: any): void;
|
|
15
|
-
trackByNotification(_index: number, item:
|
|
15
|
+
trackByNotification(_index: number, item: {
|
|
16
|
+
id: number;
|
|
17
|
+
}): number;
|
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DismissedNotificationsComponent, never>;
|
|
17
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<DismissedNotificationsComponent, "pw-dismissed-notifications", never, {}, {}, never, never, false, never>;
|
|
18
20
|
}
|
|
@@ -16,9 +16,15 @@ export declare class SearchComponent implements OnInit {
|
|
|
16
16
|
constructor(route: ActivatedRoute, service: DashboardService);
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
search(): void;
|
|
19
|
-
trackByUserId(_index: number, item:
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
trackByUserId(_index: number, item: {
|
|
20
|
+
id: number;
|
|
21
|
+
}): number;
|
|
22
|
+
trackByFaqId(_index: number, item: {
|
|
23
|
+
id: number;
|
|
24
|
+
}): number;
|
|
25
|
+
trackBySkill(_index: number, item: {
|
|
26
|
+
id: number;
|
|
27
|
+
}): number;
|
|
22
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
23
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never, false, never>;
|
|
24
30
|
}
|
|
@@ -18,7 +18,9 @@ export declare class UserFeedbackComponent extends AppBaseComponent implements O
|
|
|
18
18
|
closeSection(): void;
|
|
19
19
|
private getFeedbackQuestions;
|
|
20
20
|
onSubmit(questionId: number, formValue: any): void;
|
|
21
|
-
trackByQuestion(_index: number, item:
|
|
21
|
+
trackByQuestion(_index: number, item: {
|
|
22
|
+
id: number;
|
|
23
|
+
}): number;
|
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
|
|
23
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, false, never>;
|
|
24
26
|
}
|