@posiwise/dashboard-module 0.0.133 → 0.0.135

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.
@@ -0,0 +1,258 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnInit, OnDestroy, Injector, ChangeDetectorRef } from '@angular/core';
3
+ import * as i10 from '@angular/common';
4
+ import * as i2 from '@angular/forms';
5
+ import * as i14 from '@posiwise/pipes';
6
+ import * as i4 from 'primeng/select';
7
+ import * as i5 from '@posiwise/directives';
8
+ import * as i13 from '@posiwise/core-transloco';
9
+ import * as i7 from '@ng-bootstrap/ng-bootstrap';
10
+ import * as i8 from '@posiwise/user-module';
11
+ import * as i17 from 'primeng/radiobutton';
12
+ import * as i15 from 'primeng/progressspinner';
13
+ import { SafeResourceUrl, DomSanitizer, SafeHtml } from '@angular/platform-browser';
14
+ import { AppBaseComponent } from '@posiwise/app-base-component';
15
+ import { CommonService, ProductService, HopscotchService, NotificationService, DashboardService } from '@posiwise/common-services';
16
+ import { FAQ, Product, User, GlobalSearchResponse } from '@posiwise/common-utilities';
17
+ import * as i12 from '@angular/router';
18
+ import { ActivatedRoute } from '@angular/router';
19
+
20
+ declare class DocumentationComponent implements OnInit {
21
+ private readonly sanitizer;
22
+ iframeUrl: SafeResourceUrl;
23
+ isLoaded: boolean;
24
+ constructor(sanitizer: DomSanitizer);
25
+ ngOnInit(): void;
26
+ onIframeLoad(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentationComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentationComponent, "pw-documentation", never, {}, {}, never, never, false, never>;
29
+ }
30
+
31
+ interface GroupedFaqs {
32
+ [category: string]: FAQ[];
33
+ }
34
+ declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
35
+ private readonly commonService;
36
+ private readonly productService;
37
+ private readonly sanitizer;
38
+ private readonly cdr;
39
+ private readonly searchSubject;
40
+ private readonly destroy$;
41
+ faqs: GroupedFaqs;
42
+ search_term: any;
43
+ sanitizedFaqAnswers: {
44
+ [key: string]: SafeHtml;
45
+ };
46
+ productFaq: FAQ[];
47
+ private nonProductFaqs;
48
+ private allProductFaqs;
49
+ subscriptions: any[];
50
+ objectKeys: {
51
+ (o: object): string[];
52
+ (o: {}): string[];
53
+ };
54
+ isLoaded: boolean;
55
+ masterProductId: any;
56
+ totalRecords: number;
57
+ products: Product[];
58
+ private faqsResponse;
59
+ allFaqFalse: boolean;
60
+ subscriptionId: number;
61
+ showSupport: boolean;
62
+ showDocumentation: any;
63
+ faqHashMap: {};
64
+ slug: any;
65
+ constructor(commonService: CommonService, injector: Injector, productService: ProductService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
66
+ ngOnInit(): void;
67
+ loadFaqData(): void;
68
+ private faqValidation;
69
+ private getProducts;
70
+ filter(searchValue: string): void;
71
+ navigateToSupport(): void;
72
+ navigateToDocumentation(): void;
73
+ trackByProductFaqId(_index: number, item: {
74
+ id: number;
75
+ }): number;
76
+ trackByNonProductFaqId(_index: number, item: {
77
+ id: number;
78
+ }): number;
79
+ onCollapseToggle(key: string, answer: string): void;
80
+ sanitizeFaqAnswer(body: string): any;
81
+ ngOnDestroy(): void;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<FaqComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<FaqComponent, "pw-faq", never, {}, {}, never, never, false, never>;
84
+ }
85
+
86
+ declare class FaqDetailsComponent extends AppBaseComponent implements OnInit {
87
+ private readonly commonService;
88
+ private readonly sanitizer;
89
+ private readonly cdr;
90
+ id: number;
91
+ faq: FAQ;
92
+ isLoading: boolean;
93
+ slug: string;
94
+ constructor(commonService: CommonService, injector: Injector, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
95
+ ngOnInit(): void;
96
+ getFaq(): void;
97
+ static ɵfac: i0.ɵɵFactoryDeclaration<FaqDetailsComponent, never>;
98
+ static ɵcmp: i0.ɵɵComponentDeclaration<FaqDetailsComponent, "pw-faq-details", never, {}, {}, never, never, false, never>;
99
+ }
100
+
101
+ declare class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {
102
+ private readonly hopscotchService;
103
+ private readonly cdr;
104
+ user: User;
105
+ userSlug: string;
106
+ componentActive: boolean;
107
+ selectedSubscriptionSlug: string;
108
+ subscriptionId: number;
109
+ constructor(injector: Injector, hopscotchService: HopscotchService, cdr: ChangeDetectorRef);
110
+ sanitizeContent(jsonString: any): any;
111
+ ngOnInit(): void;
112
+ ngOnDestroy(): void;
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "pw-home", never, {}, {}, never, never, false, never>;
115
+ }
116
+
117
+ declare class NotificationsPageComponent {
118
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsPageComponent, never>;
119
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPageComponent, "pw-notifications-page", never, {}, {}, never, never, false, never>;
120
+ }
121
+
122
+ declare class CurrentNotificationsComponent implements OnInit {
123
+ private readonly notificationService;
124
+ private readonly cdr;
125
+ notificationCount: number;
126
+ noNoti: boolean;
127
+ itemsPerPage: number;
128
+ notifications: any[];
129
+ currentPage: number;
130
+ isLoaded: boolean;
131
+ totalPages: number;
132
+ totalRecords: number;
133
+ constructor(notificationService: NotificationService, cdr: ChangeDetectorRef);
134
+ ngOnInit(): void;
135
+ private getNotifications;
136
+ nextPage(): void;
137
+ previousPage(): void;
138
+ dismiss(id: number, e: any): void;
139
+ trackByNotification(_index: number, item: {
140
+ id: number;
141
+ }): number;
142
+ static ɵfac: i0.ɵɵFactoryDeclaration<CurrentNotificationsComponent, never>;
143
+ static ɵcmp: i0.ɵɵComponentDeclaration<CurrentNotificationsComponent, "pw-current-notifications", never, {}, {}, never, never, false, never>;
144
+ }
145
+
146
+ declare class DismissedNotificationsComponent implements OnInit {
147
+ private readonly notificationService;
148
+ private readonly cdr;
149
+ notificationCount: number;
150
+ noNoti: boolean;
151
+ dismissedNotifications: any[];
152
+ isLoaded: boolean;
153
+ itemsPerPage: number;
154
+ currentPage: number;
155
+ totalPages: number;
156
+ totalRecords: number;
157
+ constructor(notificationService: NotificationService, cdr: ChangeDetectorRef);
158
+ ngOnInit(): void;
159
+ private getNotifications;
160
+ nextPage(): void;
161
+ previousPage(): void;
162
+ dismiss(id: number, e: any): void;
163
+ restoreNotification(id: number, e: any): void;
164
+ trackByNotification(_index: number, item: {
165
+ id: number;
166
+ }): number;
167
+ static ɵfac: i0.ɵɵFactoryDeclaration<DismissedNotificationsComponent, never>;
168
+ static ɵcmp: i0.ɵɵComponentDeclaration<DismissedNotificationsComponent, "pw-dismissed-notifications", never, {}, {}, never, never, false, never>;
169
+ }
170
+
171
+ declare class SearchComponent implements OnInit {
172
+ private readonly route;
173
+ private readonly service;
174
+ private readonly cdr;
175
+ keyword: string;
176
+ result: GlobalSearchResponse;
177
+ isLoaded: boolean;
178
+ objectKeys: {
179
+ (o: object): string[];
180
+ (o: {}): string[];
181
+ };
182
+ subscriptionId: number;
183
+ constructor(route: ActivatedRoute, service: DashboardService, cdr: ChangeDetectorRef);
184
+ ngOnInit(): void;
185
+ search(): void;
186
+ handleImageError(event: Event, fallbackPath: any): void;
187
+ trackByUserId(_index: number, item: {
188
+ id: number;
189
+ }): number;
190
+ trackByFaqId(_index: number, item: {
191
+ id: number;
192
+ }): number;
193
+ trackBySkill(_index: number, item: {
194
+ id: number;
195
+ }): number;
196
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never, false, never>;
198
+ }
199
+
200
+ declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
201
+ private readonly commonService;
202
+ private readonly cdr;
203
+ rating: number;
204
+ selectedValue: number | null;
205
+ questions: any[];
206
+ counter: ArrayConstructor;
207
+ subscriptionId: number;
208
+ user: User;
209
+ showSection: boolean;
210
+ constructor(injector: Injector, commonService: CommonService, cdr: ChangeDetectorRef);
211
+ ngOnInit(): void;
212
+ checkFeedBackExpiry(): void;
213
+ closeSection(): void;
214
+ private getFeedbackQuestions;
215
+ onSubmit(questionId: number, formValue: any): void;
216
+ trackByQuestion(_index: number, item: {
217
+ id: number;
218
+ }): number;
219
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
220
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, false, never>;
221
+ }
222
+
223
+ declare class DashboardContentModule {
224
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardContentModule, never>;
225
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardContentModule, [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof UserFeedbackComponent], [typeof i10.CommonModule, typeof i2.FormsModule, typeof i12.RouterModule, typeof i13.CoreTranslocoModule, typeof i14.PipesModule, typeof i15.ProgressSpinnerModule, typeof i7.NgbNavModule, typeof i17.RadioButtonModule], [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof i17.RadioButtonModule]>;
226
+ static ɵinj: i0.ɵɵInjectorDeclaration<DashboardContentModule>;
227
+ }
228
+
229
+ declare class DashboardLibModule {
230
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardLibModule, never>;
231
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardLibModule, never, [typeof i10.CommonModule, typeof i2.FormsModule, typeof i14.PipesModule, typeof i4.SelectModule, typeof i5.DirectivesModule, typeof i2.ReactiveFormsModule, typeof i13.CoreTranslocoModule, typeof i7.NgbNavModule, typeof i7.NgbDropdownModule, typeof i8.UserModuleModule, typeof i17.RadioButtonModule, typeof i15.ProgressSpinnerModule, typeof DashboardContentModule], never>;
232
+ static ɵinj: i0.ɵɵInjectorDeclaration<DashboardLibModule>;
233
+ }
234
+
235
+ interface RouteInfo {
236
+ permission: string;
237
+ path: string;
238
+ title: string;
239
+ icon: string;
240
+ class: string;
241
+ badge: string;
242
+ badgeClass: string;
243
+ isExternalLink: boolean;
244
+ submenu: RouteInfo[];
245
+ visible?: boolean;
246
+ permissionKeys?: string[];
247
+ order?: number;
248
+ menus?: RouteInfo[];
249
+ }
250
+
251
+ declare const ROUTES: RouteInfo[];
252
+ declare const FAQ_Menu: RouteInfo;
253
+ declare const ENTERPRISE_MENU: RouteInfo;
254
+ declare const CHAT_MENU: RouteInfo;
255
+ declare const BLOG_MENU: RouteInfo;
256
+
257
+ export { BLOG_MENU, CHAT_MENU, CurrentNotificationsComponent, DashboardContentModule, DashboardLibModule, DismissedNotificationsComponent, DocumentationComponent, ENTERPRISE_MENU, FAQ_Menu, FaqComponent, FaqDetailsComponent, HomeComponent, NotificationsPageComponent, ROUTES, SearchComponent, UserFeedbackComponent };
258
+ export type { GroupedFaqs, RouteInfo };
package/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- export * from './lib/dashboard.module';
2
- export * from './lib/dashboard-content.module';
3
- export * from './lib/faq/faq.component';
4
- export * from './lib/faq-details/faq-details.component';
5
- export * from './lib/home/home.component';
6
- export * from './lib/notifications-page/notifications-page.component';
7
- export * from './lib/notifications-page/current-notifications/current-notifications.component';
8
- export * from './lib/notifications-page/dismissed-notifications/dismissed-notifications.component';
9
- export * from './lib/search/search.component';
10
- export * from './lib/sidebar/sidebar.metadata';
11
- export * from './lib/sidebar/sidebar-routes.config';
12
- export * from './lib/user-feedback/user-feedback.component';
13
- export * from './lib/documentation-view/documentation-view.component';
@@ -1,22 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./documentation-view/documentation-view.component";
3
- import * as i2 from "./faq/faq.component";
4
- import * as i3 from "./faq-details/faq-details.component";
5
- import * as i4 from "./home/home.component";
6
- import * as i5 from "./notifications-page/notifications-page.component";
7
- import * as i6 from "./notifications-page/current-notifications/current-notifications.component";
8
- import * as i7 from "./notifications-page/dismissed-notifications/dismissed-notifications.component";
9
- import * as i8 from "./search/search.component";
10
- import * as i9 from "./user-feedback/user-feedback.component";
11
- import * as i10 from "@angular/common";
12
- import * as i11 from "@angular/forms";
13
- import * as i12 from "@angular/router";
14
- import * as i13 from "@posiwise/core-transloco";
15
- import * as i14 from "@posiwise/pipes";
16
- import * as i15 from "primeng/progressspinner";
17
- import * as i16 from "@ng-bootstrap/ng-bootstrap";
18
- export declare class DashboardContentModule {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<DashboardContentModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardContentModule, [typeof i1.DocumentationComponent, typeof i2.FaqComponent, typeof i3.FaqDetailsComponent, typeof i4.HomeComponent, typeof i5.NotificationsPageComponent, typeof i6.CurrentNotificationsComponent, typeof i5.NotificationsPageComponent, typeof i7.DismissedNotificationsComponent, typeof i8.SearchComponent, typeof i9.UserFeedbackComponent], [typeof i10.CommonModule, typeof i11.FormsModule, typeof i12.RouterModule, typeof i13.CoreTranslocoModule, typeof i14.PipesModule, typeof i15.ProgressSpinnerModule, typeof i16.NgbNavModule], [typeof i1.DocumentationComponent, typeof i2.FaqComponent, typeof i3.FaqDetailsComponent, typeof i4.HomeComponent, typeof i5.NotificationsPageComponent, typeof i6.CurrentNotificationsComponent, typeof i5.NotificationsPageComponent, typeof i7.DismissedNotificationsComponent, typeof i8.SearchComponent]>;
21
- static ɵinj: i0.ɵɵInjectorDeclaration<DashboardContentModule>;
22
- }
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "@angular/forms";
4
- import * as i3 from "@posiwise/pipes";
5
- import * as i4 from "primeng/select";
6
- import * as i5 from "@posiwise/directives";
7
- import * as i6 from "@posiwise/core-transloco";
8
- import * as i7 from "@ng-bootstrap/ng-bootstrap";
9
- import * as i8 from "@posiwise/user-module";
10
- import * as i9 from "primeng/radiobutton";
11
- import * as i10 from "primeng/progressspinner";
12
- import * as i11 from "./dashboard-content.module";
13
- export declare class DashboardLibModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DashboardLibModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardLibModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.PipesModule, typeof i4.SelectModule, typeof i5.DirectivesModule, typeof i2.ReactiveFormsModule, typeof i6.CoreTranslocoModule, typeof i7.NgbNavModule, typeof i7.NgbDropdownModule, typeof i8.UserModuleModule, typeof i9.RadioButtonModule, typeof i10.ProgressSpinnerModule, typeof i11.DashboardContentModule], never>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<DashboardLibModule>;
17
- }
@@ -1,13 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class DocumentationComponent implements OnInit {
5
- private readonly sanitizer;
6
- iframeUrl: SafeResourceUrl;
7
- isLoaded: boolean;
8
- constructor(sanitizer: DomSanitizer);
9
- ngOnInit(): void;
10
- onIframeLoad(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DocumentationComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<DocumentationComponent, "pw-documentation", never, {}, {}, never, never, false, never>;
13
- }
@@ -1,59 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { CommonService, ProductService } from '@posiwise/common-services';
5
- import { FAQ, Product } from '@posiwise/common-utilities';
6
- import * as i0 from "@angular/core";
7
- export interface GroupedFaqs {
8
- [category: string]: FAQ[];
9
- }
10
- export declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
11
- private readonly commonService;
12
- private readonly productService;
13
- private readonly sanitizer;
14
- private readonly searchSubject;
15
- private readonly destroy$;
16
- faqs: GroupedFaqs;
17
- search_term: any;
18
- sanitizedFaqAnswers: {
19
- [key: string]: SafeHtml;
20
- };
21
- productFaq: FAQ[];
22
- private nonProductFaqs;
23
- private allProductFaqs;
24
- subscriptions: any[];
25
- objectKeys: {
26
- (o: object): string[];
27
- (o: {}): string[];
28
- };
29
- isLoaded: boolean;
30
- masterProductId: any;
31
- totalRecords: number;
32
- products: Product[];
33
- private faqsResponse;
34
- allFaqFalse: boolean;
35
- subscriptionId: number;
36
- showSupport: boolean;
37
- showDocumentation: any;
38
- faqHashMap: {};
39
- slug: any;
40
- constructor(commonService: CommonService, injector: Injector, productService: ProductService, sanitizer: DomSanitizer);
41
- ngOnInit(): void;
42
- loadFaqData(): void;
43
- private faqValidation;
44
- private getProducts;
45
- filter(searchValue: string): void;
46
- navigateToSupport(): void;
47
- navigateToDocumentation(): void;
48
- trackByProductFaqId(_index: number, item: {
49
- id: number;
50
- }): number;
51
- trackByNonProductFaqId(_index: number, item: {
52
- id: number;
53
- }): number;
54
- onCollapseToggle(key: string, answer: string): void;
55
- sanitizeFaqAnswer(body: string): any;
56
- ngOnDestroy(): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<FaqComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<FaqComponent, "pw-faq", never, {}, {}, never, never, false, never>;
59
- }
@@ -1,19 +0,0 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { DomSanitizer } from '@angular/platform-browser';
3
- import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import { CommonService } from '@posiwise/common-services';
5
- import { FAQ } from '@posiwise/common-utilities';
6
- import * as i0 from "@angular/core";
7
- export declare class FaqDetailsComponent extends AppBaseComponent implements OnInit {
8
- private readonly commonService;
9
- private readonly sanitizer;
10
- id: number;
11
- faq: FAQ;
12
- isLoading: boolean;
13
- slug: string;
14
- constructor(commonService: CommonService, injector: Injector, sanitizer: DomSanitizer);
15
- ngOnInit(): void;
16
- getFaq(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<FaqDetailsComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<FaqDetailsComponent, "pw-faq-details", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,19 +0,0 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { HopscotchService } from '@posiwise/common-services';
4
- import { User } from '@posiwise/common-utilities';
5
- import * as i0 from "@angular/core";
6
- export declare class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {
7
- private readonly hopscotchService;
8
- user: User;
9
- userSlug: string;
10
- componentActive: boolean;
11
- selectedSubscriptionSlug: string;
12
- subscriptionId: number;
13
- constructor(injector: Injector, hopscotchService: HopscotchService);
14
- sanitizeContent(jsonString: any): any;
15
- ngOnInit(): void;
16
- ngOnDestroy(): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "pw-home", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,25 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NotificationService } from '@posiwise/common-services';
3
- import * as i0 from "@angular/core";
4
- export declare class CurrentNotificationsComponent implements OnInit {
5
- private readonly notificationService;
6
- notificationCount: number;
7
- noNoti: boolean;
8
- itemsPerPage: number;
9
- notifications: any[];
10
- currentPage: number;
11
- isLoaded: boolean;
12
- totalPages: number;
13
- totalRecords: number;
14
- constructor(notificationService: NotificationService);
15
- ngOnInit(): void;
16
- private getNotifications;
17
- nextPage(): void;
18
- previousPage(): void;
19
- dismiss(id: number, e: any): void;
20
- trackByNotification(_index: number, item: {
21
- id: number;
22
- }): number;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<CurrentNotificationsComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<CurrentNotificationsComponent, "pw-current-notifications", never, {}, {}, never, never, false, never>;
25
- }
@@ -1,26 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { NotificationService } from '@posiwise/common-services';
3
- import * as i0 from "@angular/core";
4
- export declare class DismissedNotificationsComponent implements OnInit {
5
- private readonly notificationService;
6
- notificationCount: number;
7
- noNoti: boolean;
8
- dismissedNotifications: any[];
9
- isLoaded: boolean;
10
- itemsPerPage: number;
11
- currentPage: number;
12
- totalPages: number;
13
- totalRecords: number;
14
- constructor(notificationService: NotificationService);
15
- ngOnInit(): void;
16
- private getNotifications;
17
- nextPage(): void;
18
- previousPage(): void;
19
- dismiss(id: number, e: any): void;
20
- restoreNotification(id: number, e: any): void;
21
- trackByNotification(_index: number, item: {
22
- id: number;
23
- }): number;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<DismissedNotificationsComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<DismissedNotificationsComponent, "pw-dismissed-notifications", never, {}, {}, never, never, false, never>;
26
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NotificationsPageComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsPageComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPageComponent, "pw-notifications-page", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,32 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { DashboardService } from '@posiwise/common-services';
4
- import { GlobalSearchResponse } from '@posiwise/common-utilities';
5
- import * as i0 from "@angular/core";
6
- export declare class SearchComponent implements OnInit {
7
- private readonly route;
8
- private readonly service;
9
- keyword: string;
10
- result: GlobalSearchResponse;
11
- isLoaded: boolean;
12
- objectKeys: {
13
- (o: object): string[];
14
- (o: {}): string[];
15
- };
16
- subscriptionId: number;
17
- constructor(route: ActivatedRoute, service: DashboardService);
18
- ngOnInit(): void;
19
- search(): void;
20
- handleImageError(event: Event, fallbackPath: any): void;
21
- trackByUserId(_index: number, item: {
22
- id: number;
23
- }): number;
24
- trackByFaqId(_index: number, item: {
25
- id: number;
26
- }): number;
27
- trackBySkill(_index: number, item: {
28
- id: number;
29
- }): number;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never, false, never>;
32
- }
@@ -1,22 +0,0 @@
1
- import { RouteInfo } from './sidebar.metadata';
2
- /**
3
- * Helper function to create menu items with default values
4
- * @param overrides - Partial RouteInfo object with overrides
5
- * @returns RouteInfo object with defaults applied
6
- */
7
- export declare const createMenuItem: (overrides: Partial<RouteInfo>) => RouteInfo;
8
- /**
9
- * Helper function to create submenu items with default values
10
- * @param overrides - Partial RouteInfo object with overrides
11
- * @returns RouteInfo object with defaults applied
12
- */
13
- export declare const createSubMenuItem: (overrides: Partial<RouteInfo>) => RouteInfo;
14
- /**
15
- * Common menu items that can be reused across modules
16
- */
17
- export declare const COMMON_MENUS: {
18
- FAQ_Menu: RouteInfo;
19
- ENTERPRISE_MENU: RouteInfo;
20
- CHAT_MENU: RouteInfo;
21
- BLOG_MENU: RouteInfo;
22
- };
@@ -1,3 +0,0 @@
1
- import { RouteInfo } from './sidebar.metadata';
2
- export declare const ROUTES: RouteInfo[];
3
- export declare const FAQ_Menu: RouteInfo, ENTERPRISE_MENU: RouteInfo, CHAT_MENU: RouteInfo, BLOG_MENU: RouteInfo;
@@ -1,15 +0,0 @@
1
- export interface RouteInfo {
2
- permission: string;
3
- path: string;
4
- title: string;
5
- icon: string;
6
- class: string;
7
- badge: string;
8
- badgeClass: string;
9
- isExternalLink: boolean;
10
- submenu: RouteInfo[];
11
- visible?: boolean;
12
- permissionKeys?: string[];
13
- order?: number;
14
- menus?: RouteInfo[];
15
- }
@@ -1,26 +0,0 @@
1
- import { Injector, OnInit } from '@angular/core';
2
- import { AppBaseComponent } from '@posiwise/app-base-component';
3
- import { CommonService } from '@posiwise/common-services';
4
- import { User } from '@posiwise/common-utilities';
5
- import * as i0 from "@angular/core";
6
- export declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
7
- private readonly commonService;
8
- rating: number;
9
- selectedValue: number | null;
10
- questions: any[];
11
- counter: ArrayConstructor;
12
- subscriptionId: number;
13
- user: User;
14
- showSection: boolean;
15
- constructor(injector: Injector, commonService: CommonService);
16
- ngOnInit(): void;
17
- checkFeedBackExpiry(): void;
18
- closeSection(): void;
19
- private getFeedbackQuestions;
20
- onSubmit(questionId: number, formValue: any): void;
21
- trackByQuestion(_index: number, item: {
22
- id: number;
23
- }): number;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, false, never>;
26
- }