@posiwise/dashboard-module 0.0.146 → 0.0.148

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.
@@ -1,346 +1,382 @@
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
- import * as i18 from 'primeng/tooltip';
20
- import * as i19 from '@posiwise/shared-components';
21
-
22
- declare class DocumentationComponent implements OnInit {
23
- private readonly sanitizer;
24
- iframeUrl: SafeResourceUrl;
25
- isLoaded: boolean;
26
- constructor(sanitizer: DomSanitizer);
27
- ngOnInit(): void;
28
- onIframeLoad(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<DocumentationComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<DocumentationComponent, "pw-documentation", never, {}, {}, never, never, false, never>;
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from "@angular/core";
3
+ import * as i10 from "@angular/common";
4
+ import * as i11 from "@angular/forms";
5
+ import * as i15 from "@posiwise/pipes";
6
+ import * as i4 from "primeng/select";
7
+ import * as i14 from "@posiwise/directives";
8
+ import * as i13 from "@posiwise/core-transloco";
9
+ import * as i17 from "@ng-bootstrap/ng-bootstrap";
10
+ import * as i8 from "@posiwise/user-module";
11
+ import * as i18 from "primeng/radiobutton";
12
+ import * as i16 from "primeng/progressspinner";
13
+ import { DomSanitizer, SafeHtml, SafeResourceUrl } from "@angular/platform-browser";
14
+ import { AppBaseComponent } from "@posiwise/app-base-component";
15
+ import { CommonService, DashboardService, HopscotchService, NotificationService, ProductService } from "@posiwise/common-services";
16
+ import { FAQ, GlobalSearchResponse, Product, User } from "@posiwise/common-utilities";
17
+ import * as i12 from "@angular/router";
18
+ import { ActivatedRoute } from "@angular/router";
19
+ import * as i19 from "primeng/tooltip";
20
+ import * as i20 from "@posiwise/shared-components";
21
+ declare namespace documentation_view_component_d_exports {
22
+ export { DocumentationComponent };
31
23
  }
32
-
33
- interface GroupedFaqs {
34
- [category: string]: FAQ[];
24
+ export declare class DocumentationComponent implements OnInit {
25
+ private readonly sanitizer;
26
+ iframeUrl: SafeResourceUrl;
27
+ isLoaded: boolean;
28
+ constructor(sanitizer: DomSanitizer);
29
+ ngOnInit(): void;
30
+ onIframeLoad(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<DocumentationComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<DocumentationComponent, "pw-documentation", never, {}, {}, never, never, false, never>;
35
33
  }
36
-
37
- declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
38
- private readonly commonService;
39
- private readonly productService;
40
- private readonly sanitizer;
41
- private readonly cdr;
42
- private readonly searchSubject;
43
- private readonly destroy$;
44
- faqs: GroupedFaqs;
45
- search_term: any;
46
- sanitizedFaqAnswers: {
47
- [key: string]: SafeHtml;
48
- };
49
- productFaq: FAQ[];
50
- private nonProductFaqs;
51
- private allProductFaqs;
52
- subscriptions: any[];
53
- objectKeys: {
54
- (o: object): string[];
55
- (o: {}): string[];
56
- };
57
- isLoaded: boolean;
58
- masterProductId: any;
59
- totalRecords: number;
60
- products: Product[];
61
- private faqsResponse;
62
- allFaqFalse: boolean;
63
- subscriptionId: number;
64
- showSupport: boolean;
65
- showDocumentation: any;
66
- faqHashMap: {};
67
- slug: any;
68
- readonly routers: {
69
- globalConfigDetails: string;
70
- adminCredentialsDetails: string;
71
- subscriptionCredentialDetails: string;
72
- newsletter: string;
73
- mailerDetails: string;
74
- newsletterItemDetails: string;
75
- newsletterItemView: string;
76
- newslettersUserList: string;
77
- newsletterDetails: string;
78
- permissionsList: string;
79
- permissionsDetails: string;
80
- rolesDetails: string;
81
- productDetails: string;
82
- productsUserList: string;
83
- feedbackQuestions: string;
84
- feedbackQuestionsDetails: string;
85
- subscriptionDetails: string;
86
- subscriptionProductDetails: string;
87
- tipsDetails: string;
88
- tosAndPrivacyDetails: string;
89
- tosAndPrivacyView: string;
90
- usersDetails: string;
91
- domainConfig: string;
92
- domainConfigDetails: string;
93
- loginNotifications: string;
94
- incidentConfig: string;
95
- incidentDetails: string;
96
- faqConfig: string;
97
- faqDetails: string;
98
- inviteUsers: string;
99
- subscriptionList: string;
100
- createResource: string;
101
- createTag: string;
102
- tags: string;
103
- posts: string;
104
- resourcesList: string;
105
- };
106
- canEditFaq: boolean;
107
- constructor(commonService: CommonService, injector: Injector, productService: ProductService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
108
- ngOnInit(): void;
109
- loadFaqData(): void;
110
- private faqValidation;
111
- private getProducts;
112
- filter(searchValue: string): void;
113
- navigateToSupport(): void;
114
- navigateToDocumentation(): void;
115
- trackByProductFaqId(_index: number, item: {
116
- id: number;
117
- }): number;
118
- onCollapseToggle(key: string, answer: string): void;
119
- sanitizeFaqAnswer(body: string): any;
120
- ngOnDestroy(): void;
121
- static ɵfac: i0.ɵɵFactoryDeclaration<FaqComponent, never>;
122
- static ɵcmp: i0.ɵɵComponentDeclaration<FaqComponent, "pw-faq", never, {}, {}, never, never, false, never>;
34
+ export interface GroupedFaqs {
35
+ [category: string]: FAQ[];
123
36
  }
124
-
125
- declare class FaqDetailsComponent extends AppBaseComponent implements OnInit {
126
- private readonly commonService;
127
- private readonly sanitizer;
128
- private readonly cdr;
129
- faqRef: string;
130
- faq: FAQ;
131
- isLoading: boolean;
132
- slug: string;
133
- readonly routers: {
134
- globalConfigDetails: string;
135
- adminCredentialsDetails: string;
136
- subscriptionCredentialDetails: string;
137
- newsletter: string;
138
- mailerDetails: string;
139
- newsletterItemDetails: string;
140
- newsletterItemView: string;
141
- newslettersUserList: string;
142
- newsletterDetails: string;
143
- permissionsList: string;
144
- permissionsDetails: string;
145
- rolesDetails: string;
146
- productDetails: string;
147
- productsUserList: string;
148
- feedbackQuestions: string;
149
- feedbackQuestionsDetails: string;
150
- subscriptionDetails: string;
151
- subscriptionProductDetails: string;
152
- tipsDetails: string;
153
- tosAndPrivacyDetails: string;
154
- tosAndPrivacyView: string;
155
- usersDetails: string;
156
- domainConfig: string;
157
- domainConfigDetails: string;
158
- loginNotifications: string;
159
- incidentConfig: string;
160
- incidentDetails: string;
161
- faqConfig: string;
162
- faqDetails: string;
163
- inviteUsers: string;
164
- subscriptionList: string;
165
- createResource: string;
166
- createTag: string;
167
- tags: string;
168
- posts: string;
169
- resourcesList: string;
170
- };
171
- canEditFaq: boolean;
172
- editFaqId: number | null;
173
- constructor(commonService: CommonService, injector: Injector, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
174
- ngOnInit(): void;
175
- getFaq(): void;
176
- private resolveEditFaqId;
177
- static ɵfac: i0.ɵɵFactoryDeclaration<FaqDetailsComponent, never>;
178
- static ɵcmp: i0.ɵɵComponentDeclaration<FaqDetailsComponent, "pw-faq-details", never, {}, {}, never, never, false, never>;
37
+ declare function groupFaqsByCategory(nonProductFaqs: FAQ[], productFaqs: FAQ[]): GroupedFaqs;
38
+ declare function buildSanitizedAnswers<T>(faqs: GroupedFaqs, sanitize: (body: string) => T): {
39
+ [key: string]: T;
40
+ };
41
+ declare namespace faq_component_d_exports {
42
+ export { FaqComponent, GroupedFaqs };
179
43
  }
180
-
181
- declare class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {
182
- private readonly hopscotchService;
183
- private readonly cdr;
184
- user: User;
185
- userSlug: string;
186
- componentActive: boolean;
187
- selectedSubscriptionSlug: string;
188
- subscriptionId: number;
189
- constructor(injector: Injector, hopscotchService: HopscotchService, cdr: ChangeDetectorRef);
190
- sanitizeContent(jsonString: any): any;
191
- ngOnInit(): void;
192
- ngOnDestroy(): void;
193
- static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent, never>;
194
- static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "pw-home", never, {}, {}, never, never, false, never>;
44
+ export declare class FaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
45
+ private readonly commonService;
46
+ private readonly productService;
47
+ private readonly sanitizer;
48
+ private readonly cdr;
49
+ private readonly searchSubject;
50
+ private readonly destroy$;
51
+ faqs: GroupedFaqs;
52
+ search_term: any;
53
+ sanitizedFaqAnswers: {
54
+ [key: string]: SafeHtml;
55
+ };
56
+ productFaq: FAQ[];
57
+ private nonProductFaqs;
58
+ private allProductFaqs;
59
+ subscriptions: any[];
60
+ objectKeys: {
61
+ (o: object): string[];
62
+ (o: {}): string[];
63
+ };
64
+ isLoaded: boolean;
65
+ masterProductId: any;
66
+ totalRecords: number;
67
+ products: Product[];
68
+ private faqsResponse;
69
+ allFaqFalse: boolean;
70
+ subscriptionId: number;
71
+ showSupport: boolean;
72
+ showDocumentation: any;
73
+ faqHashMap: {};
74
+ slug: any;
75
+ readonly routers: {
76
+ globalConfigDetails: string;
77
+ adminCredentialsDetails: string;
78
+ subscriptionCredentialDetails: string;
79
+ newsletter: string;
80
+ mailerDetails: string;
81
+ newsletterItemDetails: string;
82
+ newsletterItemView: string;
83
+ newslettersUserList: string;
84
+ newsletterDetails: string;
85
+ permissionsList: string;
86
+ permissionsDetails: string;
87
+ rolesDetails: string;
88
+ productDetails: string;
89
+ productsUserList: string;
90
+ feedbackQuestions: string;
91
+ feedbackQuestionsDetails: string;
92
+ subscriptionDetails: string;
93
+ subscriptionProductDetails: string;
94
+ tipsDetails: string;
95
+ tosAndPrivacyDetails: string;
96
+ tosAndPrivacyView: string;
97
+ usersDetails: string;
98
+ domainConfig: string;
99
+ domainConfigDetails: string;
100
+ loginNotifications: string;
101
+ incidentConfig: string;
102
+ incidentDetails: string;
103
+ faqConfig: string;
104
+ faqDetails: string;
105
+ inviteUsers: string;
106
+ subscriptionList: string;
107
+ createResource: string;
108
+ createTag: string;
109
+ tags: string;
110
+ posts: string;
111
+ resourcesList: string;
112
+ };
113
+ canEditFaq: boolean;
114
+ constructor(commonService: CommonService, injector: Injector, productService: ProductService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
115
+ ngOnInit(): void;
116
+ loadFaqData(): void;
117
+ private faqValidation;
118
+ private getProducts;
119
+ filter(searchValue: string): void;
120
+ navigateToSupport(): void;
121
+ navigateToDocumentation(): void;
122
+ trackByProductFaqId(_index: number, item: {
123
+ id: number;
124
+ }): number;
125
+ onCollapseToggle(key: string, answer: string): void;
126
+ sanitizeFaqAnswer(body: string): any;
127
+ ngOnDestroy(): void;
128
+ static ɵfac: i0.ɵɵFactoryDeclaration<FaqComponent, never>;
129
+ static ɵcmp: i0.ɵɵComponentDeclaration<FaqComponent, "pw-faq", never, {}, {}, never, never, false, never>;
195
130
  }
196
-
197
- declare class NotificationsPageComponent {
198
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsPageComponent, never>;
199
- static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPageComponent, "pw-notifications-page", never, {}, {}, never, never, false, never>;
131
+ interface FaqCategory {
132
+ key: string;
133
+ name: string;
134
+ description?: string;
200
135
  }
201
-
202
- declare class CurrentNotificationsComponent implements OnInit {
203
- private readonly notificationService;
204
- private readonly cdr;
205
- notificationCount: number;
206
- noNoti: boolean;
207
- itemsPerPage: number;
208
- notifications: any[];
209
- currentPage: number;
210
- isLoaded: boolean;
211
- totalPages: number;
212
- totalRecords: number;
213
- constructor(notificationService: NotificationService, cdr: ChangeDetectorRef);
214
- ngOnInit(): void;
215
- private getNotifications;
216
- nextPage(): void;
217
- previousPage(): void;
218
- dismiss(id: number, e: any): void;
219
- trackByNotification(_index: number, item: {
220
- id: number;
221
- }): number;
222
- static ɵfac: i0.ɵɵFactoryDeclaration<CurrentNotificationsComponent, never>;
223
- static ɵcmp: i0.ɵɵComponentDeclaration<CurrentNotificationsComponent, "pw-current-notifications", never, {}, {}, never, never, false, never>;
136
+ interface FaqStatusBadges {
137
+ isPublic: boolean;
138
+ isHidden: boolean;
139
+ category: string;
140
+ categoryLabel: string;
141
+ categoryKeys: string[];
142
+ featureKeys: string[];
224
143
  }
225
-
226
- declare class DismissedNotificationsComponent implements OnInit {
227
- private readonly notificationService;
228
- private readonly cdr;
229
- notificationCount: number;
230
- noNoti: boolean;
231
- dismissedNotifications: any[];
232
- isLoaded: boolean;
233
- itemsPerPage: number;
234
- currentPage: number;
235
- totalPages: number;
236
- totalRecords: number;
237
- constructor(notificationService: NotificationService, cdr: ChangeDetectorRef);
238
- ngOnInit(): void;
239
- private getNotifications;
240
- nextPage(): void;
241
- previousPage(): void;
242
- dismiss(id: number, e: any): void;
243
- restoreNotification(id: number, e: any): void;
244
- trackByNotification(_index: number, item: {
245
- id: number;
246
- }): number;
247
- static ɵfac: i0.ɵɵFactoryDeclaration<DismissedNotificationsComponent, never>;
248
- static ɵcmp: i0.ɵɵComponentDeclaration<DismissedNotificationsComponent, "pw-dismissed-notifications", never, {}, {}, never, never, false, never>;
144
+ declare const EMPTY_FAQ_STATUS_BADGES: FaqStatusBadges;
145
+ declare function buildStatusBadges(faq: any, categories: FaqCategory[] | null): FaqStatusBadges;
146
+ declare namespace faq_details_component_d_exports {
147
+ export { FaqDetailsComponent };
249
148
  }
250
-
251
- declare class SearchComponent implements OnInit {
252
- private readonly route;
253
- private readonly service;
254
- private readonly cdr;
255
- private readonly emptySearchResult;
256
- keyword: string;
257
- result: GlobalSearchResponse;
258
- isLoaded: boolean;
259
- objectKeys: {
260
- (o: object): string[];
261
- (o: {}): string[];
262
- };
263
- subscriptionId: number;
264
- constructor(route: ActivatedRoute, service: DashboardService, cdr: ChangeDetectorRef);
265
- ngOnInit(): void;
266
- search(): void;
267
- get hasResults(): boolean;
268
- private get searchGroups();
269
- getResultGroup(group: keyof GlobalSearchResponse | string): unknown[];
270
- private isSearchGroupKey;
271
- private isRenderableResult;
272
- handleImageError(event: Event, fallbackPath: any): void;
273
- trackByUserId(_index: number, item: {
274
- id: number;
275
- }): number;
276
- trackByFaqId(_index: number, item: {
277
- id: number;
278
- }): number;
279
- trackBySkill(_index: number, item: {
280
- id: number;
281
- }): number;
282
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
283
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never, false, never>;
149
+ export declare class FaqDetailsComponent extends AppBaseComponent implements OnInit {
150
+ private readonly commonService;
151
+ private readonly sanitizer;
152
+ private readonly cdr;
153
+ faqRef: string;
154
+ faq: FAQ;
155
+ isLoading: boolean;
156
+ slug: string;
157
+ readonly routers: {
158
+ globalConfigDetails: string;
159
+ adminCredentialsDetails: string;
160
+ subscriptionCredentialDetails: string;
161
+ newsletter: string;
162
+ mailerDetails: string;
163
+ newsletterItemDetails: string;
164
+ newsletterItemView: string;
165
+ newslettersUserList: string;
166
+ newsletterDetails: string;
167
+ permissionsList: string;
168
+ permissionsDetails: string;
169
+ rolesDetails: string;
170
+ productDetails: string;
171
+ productsUserList: string;
172
+ feedbackQuestions: string;
173
+ feedbackQuestionsDetails: string;
174
+ subscriptionDetails: string;
175
+ subscriptionProductDetails: string;
176
+ tipsDetails: string;
177
+ tosAndPrivacyDetails: string;
178
+ tosAndPrivacyView: string;
179
+ usersDetails: string;
180
+ domainConfig: string;
181
+ domainConfigDetails: string;
182
+ loginNotifications: string;
183
+ incidentConfig: string;
184
+ incidentDetails: string;
185
+ faqConfig: string;
186
+ faqDetails: string;
187
+ inviteUsers: string;
188
+ subscriptionList: string;
189
+ createResource: string;
190
+ createTag: string;
191
+ tags: string;
192
+ posts: string;
193
+ resourcesList: string;
194
+ };
195
+ canEditFaq: boolean;
196
+ editFaqId: number | null;
197
+ badges: FaqStatusBadges;
198
+ private hasFaqAdminPermission;
199
+ constructor(commonService: CommonService, injector: Injector, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
200
+ ngOnInit(): void;
201
+ get showStatusBadges(): boolean;
202
+ getFaq(): void;
203
+ private faqCategories$;
204
+ private sanitizeAnswer;
205
+ private resolveEditFaqId;
206
+ static ɵfac: i0.ɵɵFactoryDeclaration<FaqDetailsComponent, never>;
207
+ static ɵcmp: i0.ɵɵComponentDeclaration<FaqDetailsComponent, "pw-faq-details", never, {}, {}, never, never, false, never>;
284
208
  }
285
-
286
- declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
287
- private readonly commonService;
288
- private readonly cdr;
289
- rating: number;
290
- selectedValue: number | null;
291
- questions: any[];
292
- counter: ArrayConstructor;
293
- subscriptionId: number;
294
- user: User;
295
- showSection: boolean;
296
- constructor(injector: Injector, commonService: CommonService, cdr: ChangeDetectorRef);
297
- ngOnInit(): void;
298
- checkFeedBackExpiry(): void;
299
- closeSection(): void;
300
- private getFeedbackQuestions;
301
- onSubmit(questionId: number, formValue: any): void;
302
- trackByQuestion(_index: number, item: {
303
- id: number;
304
- }): number;
305
- static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
306
- static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, false, never>;
209
+ declare namespace home_component_d_exports {
210
+ export { HomeComponent };
307
211
  }
308
-
309
- declare class DashboardContentModule {
310
- static ɵfac: i0.ɵɵFactoryDeclaration<DashboardContentModule, never>;
311
- 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 i18.TooltipModule, typeof i19.ResourceSharedComponentsModule], [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof i17.RadioButtonModule]>;
312
- static ɵinj: i0.ɵɵInjectorDeclaration<DashboardContentModule>;
212
+ export declare class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {
213
+ private readonly hopscotchService;
214
+ private readonly cdr;
215
+ user: User;
216
+ userSlug: string;
217
+ componentActive: boolean;
218
+ selectedSubscriptionSlug: string;
219
+ subscriptionId: number;
220
+ constructor(injector: Injector, hopscotchService: HopscotchService, cdr: ChangeDetectorRef);
221
+ sanitizeContent(jsonString: any): any;
222
+ ngOnInit(): void;
223
+ ngOnDestroy(): void;
224
+ static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent, never>;
225
+ static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "pw-home", never, {}, {}, never, never, false, never>;
313
226
  }
314
-
315
- declare class DashboardLibModule {
316
- static ɵfac: i0.ɵɵFactoryDeclaration<DashboardLibModule, never>;
317
- 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>;
318
- static ɵinj: i0.ɵɵInjectorDeclaration<DashboardLibModule>;
227
+ declare namespace notifications_page_component_d_exports {
228
+ export { NotificationsPageComponent };
319
229
  }
320
-
321
- interface RouteInfo {
322
- permission: string;
323
- path: string;
324
- title: string;
325
- icon: string;
326
- class: string;
327
- badge: string;
328
- badgeClass: string;
329
- isExternalLink: boolean;
330
- submenu: RouteInfo[];
331
- visible?: boolean;
332
- permissionKeys?: string[];
333
- order?: number;
334
- menus?: RouteInfo[];
335
- featureFlag?: string;
230
+ export declare class NotificationsPageComponent {
231
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsPageComponent, never>;
232
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPageComponent, "pw-notifications-page", never, {}, {}, never, never, false, never>;
336
233
  }
337
-
338
- declare const ROUTES: RouteInfo[];
339
- declare const FAQ_Menu: RouteInfo;
340
- declare const ENTERPRISE_MENU: RouteInfo;
341
- declare const CHAT_MENU: RouteInfo;
342
- declare const BLOG_MENU: RouteInfo;
343
-
234
+ declare namespace current_notifications_component_d_exports {
235
+ export { CurrentNotificationsComponent };
236
+ }
237
+ export declare class CurrentNotificationsComponent implements OnInit {
238
+ private readonly notificationService;
239
+ private readonly cdr;
240
+ notificationCount: number;
241
+ noNoti: boolean;
242
+ itemsPerPage: number;
243
+ notifications: any[];
244
+ currentPage: number;
245
+ isLoaded: boolean;
246
+ totalPages: number;
247
+ totalRecords: number;
248
+ constructor(notificationService: NotificationService, cdr: ChangeDetectorRef);
249
+ ngOnInit(): void;
250
+ private getNotifications;
251
+ nextPage(): void;
252
+ previousPage(): void;
253
+ dismiss(id: number, e: any): void;
254
+ trackByNotification(_index: number, item: {
255
+ id: number;
256
+ }): number;
257
+ static ɵfac: i0.ɵɵFactoryDeclaration<CurrentNotificationsComponent, never>;
258
+ static ɵcmp: i0.ɵɵComponentDeclaration<CurrentNotificationsComponent, "pw-current-notifications", never, {}, {}, never, never, false, never>;
259
+ }
260
+ declare namespace dismissed_notifications_component_d_exports {
261
+ export { DismissedNotificationsComponent };
262
+ }
263
+ export declare class DismissedNotificationsComponent implements OnInit {
264
+ private readonly notificationService;
265
+ private readonly cdr;
266
+ notificationCount: number;
267
+ noNoti: boolean;
268
+ dismissedNotifications: any[];
269
+ isLoaded: boolean;
270
+ itemsPerPage: number;
271
+ currentPage: number;
272
+ totalPages: number;
273
+ totalRecords: number;
274
+ constructor(notificationService: NotificationService, cdr: ChangeDetectorRef);
275
+ ngOnInit(): void;
276
+ private getNotifications;
277
+ nextPage(): void;
278
+ previousPage(): void;
279
+ dismiss(id: number, e: any): void;
280
+ restoreNotification(id: number, e: any): void;
281
+ trackByNotification(_index: number, item: {
282
+ id: number;
283
+ }): number;
284
+ static ɵfac: i0.ɵɵFactoryDeclaration<DismissedNotificationsComponent, never>;
285
+ static ɵcmp: i0.ɵɵComponentDeclaration<DismissedNotificationsComponent, "pw-dismissed-notifications", never, {}, {}, never, never, false, never>;
286
+ }
287
+ declare namespace search_component_d_exports {
288
+ export { SearchComponent };
289
+ }
290
+ export declare class SearchComponent implements OnInit {
291
+ private readonly route;
292
+ private readonly service;
293
+ private readonly cdr;
294
+ private readonly emptySearchResult;
295
+ keyword: string;
296
+ result: GlobalSearchResponse;
297
+ isLoaded: boolean;
298
+ objectKeys: {
299
+ (o: object): string[];
300
+ (o: {}): string[];
301
+ };
302
+ subscriptionId: number;
303
+ constructor(route: ActivatedRoute, service: DashboardService, cdr: ChangeDetectorRef);
304
+ ngOnInit(): void;
305
+ search(): void;
306
+ get hasResults(): boolean;
307
+ private get searchGroups();
308
+ getResultGroup(group: keyof GlobalSearchResponse | string): unknown[];
309
+ private isSearchGroupKey;
310
+ private isRenderableResult;
311
+ handleImageError(event: Event, fallbackPath: any): void;
312
+ trackByUserId(_index: number, item: {
313
+ id: number;
314
+ }): number;
315
+ trackByFaqId(_index: number, item: {
316
+ id: number;
317
+ }): number;
318
+ trackBySkill(_index: number, item: {
319
+ id: number;
320
+ }): number;
321
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
322
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never, false, never>;
323
+ }
324
+ declare namespace user_feedback_component_d_exports {
325
+ export { UserFeedbackComponent };
326
+ }
327
+ export declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
328
+ private readonly commonService;
329
+ private readonly cdr;
330
+ rating: number;
331
+ selectedValue: number | null;
332
+ questions: any[];
333
+ counter: ArrayConstructor;
334
+ subscriptionId: number;
335
+ user: User;
336
+ showSection: boolean;
337
+ constructor(injector: Injector, commonService: CommonService, cdr: ChangeDetectorRef);
338
+ ngOnInit(): void;
339
+ checkFeedBackExpiry(): void;
340
+ closeSection(): void;
341
+ private getFeedbackQuestions;
342
+ onSubmit(questionId: number, formValue: any): void;
343
+ trackByQuestion(_index: number, item: {
344
+ id: number;
345
+ }): number;
346
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
347
+ static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, false, never>;
348
+ }
349
+ declare namespace dashboard_content_module_d_exports {
350
+ export { DashboardContentModule };
351
+ }
352
+ export declare class DashboardContentModule {
353
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardContentModule, never>;
354
+ 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 i11.FormsModule, typeof i12.RouterModule, typeof i13.CoreTranslocoModule, typeof i14.DirectivesModule, typeof i15.PipesModule, typeof i16.ProgressSpinnerModule, typeof i17.NgbNavModule, typeof i18.RadioButtonModule, typeof i19.TooltipModule, typeof i20.ResourceSharedComponentsModule], [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof i18.RadioButtonModule]>;
355
+ static ɵinj: i0.ɵɵInjectorDeclaration<DashboardContentModule>;
356
+ }
357
+ export declare class DashboardLibModule {
358
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardLibModule, never>;
359
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardLibModule, never, [typeof i10.CommonModule, typeof i11.FormsModule, typeof i15.PipesModule, typeof i4.SelectModule, typeof i14.DirectivesModule, typeof i11.ReactiveFormsModule, typeof i13.CoreTranslocoModule, typeof i17.NgbNavModule, typeof i17.NgbDropdownModule, typeof i8.UserModuleModule, typeof i18.RadioButtonModule, typeof i16.ProgressSpinnerModule, typeof DashboardContentModule], never>;
360
+ static ɵinj: i0.ɵɵInjectorDeclaration<DashboardLibModule>;
361
+ }
362
+ export interface RouteInfo {
363
+ permission: string;
364
+ path: string;
365
+ title: string;
366
+ icon: string;
367
+ class: string;
368
+ badge: string;
369
+ badgeClass: string;
370
+ isExternalLink: boolean;
371
+ submenu: RouteInfo[];
372
+ visible?: boolean;
373
+ permissionKeys?: string[];
374
+ order?: number;
375
+ menus?: RouteInfo[];
376
+ featureFlag?: string;
377
+ }
378
+ export declare const ROUTES: RouteInfo[];
379
+ export declare const FAQ_Menu: RouteInfo, ENTERPRISE_MENU: RouteInfo, CHAT_MENU: RouteInfo, BLOG_MENU: RouteInfo;
344
380
  /**
345
381
  * Drops menu items gated behind a feature flag the current user isn't entitled
346
382
  * to. An item with no `featureFlag` always passes; one with a `featureFlag`
@@ -353,7 +389,25 @@ declare const BLOG_MENU: RouteInfo;
353
389
  * @param menus - the menu items to filter (one level; pass the specific list to gate)
354
390
  * @param isEnabled - predicate resolving a flag key to enabled/disabled for the user
355
391
  */
356
- declare const filterMenusByFeatureFlag: (menus: RouteInfo[], isEnabled: (flagKey: string) => boolean) => RouteInfo[];
357
-
358
- export { BLOG_MENU, CHAT_MENU, CurrentNotificationsComponent, DashboardContentModule, DashboardLibModule, DismissedNotificationsComponent, DocumentationComponent, ENTERPRISE_MENU, FAQ_Menu, FaqComponent, FaqDetailsComponent, HomeComponent, NotificationsPageComponent, ROUTES, SearchComponent, UserFeedbackComponent, filterMenusByFeatureFlag };
359
- export type { GroupedFaqs, RouteInfo };
392
+ export declare const filterMenusByFeatureFlag: (menus: RouteInfo[], isEnabled: (flagKey: string) => boolean) => RouteInfo[];
393
+ /**
394
+ * Helper function to create menu items with default values
395
+ * @param overrides - Partial RouteInfo object with overrides
396
+ * @returns RouteInfo object with defaults applied
397
+ */
398
+ declare const createMenuItem: (overrides: Partial<RouteInfo>) => RouteInfo;
399
+ /**
400
+ * Helper function to create submenu items with default values
401
+ * @param overrides - Partial RouteInfo object with overrides
402
+ * @returns RouteInfo object with defaults applied
403
+ */
404
+ declare const createSubMenuItem: (overrides: Partial<RouteInfo>) => RouteInfo;
405
+ /**
406
+ * Common menu items that can be reused across modules
407
+ */
408
+ declare const COMMON_MENUS: {
409
+ FAQ_Menu: RouteInfo;
410
+ ENTERPRISE_MENU: RouteInfo;
411
+ CHAT_MENU: RouteInfo;
412
+ BLOG_MENU: RouteInfo;
413
+ };