@posiwise/dashboard-module 0.0.155 → 0.0.156
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/package.json
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter, InjectionToken,
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, InjectionToken, OnDestroy, OnInit, Type } from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/forms";
|
|
5
|
+
import * as i6 from "@posiwise/pipes";
|
|
6
6
|
import * as i4 from "primeng/select";
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
7
|
+
import * as i5 from "@posiwise/directives";
|
|
8
|
+
import * as i4$1 from "@posiwise/core-transloco";
|
|
9
|
+
import * as i8$1 from "@ng-bootstrap/ng-bootstrap";
|
|
10
10
|
import * as i8 from "@posiwise/user-module";
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
13
|
-
import
|
|
11
|
+
import * as i9 from "primeng/radiobutton";
|
|
12
|
+
import * as i7 from "primeng/progressspinner";
|
|
13
|
+
import * as i3 from "@angular/router";
|
|
14
|
+
import * as i10 from "primeng/tooltip";
|
|
15
|
+
import * as i11 from "@posiwise/shared-components";
|
|
16
|
+
import { NotificationNote } from "@posiwise/shared-components";
|
|
17
|
+
import { SafeHtml, SafeResourceUrl } from "@angular/platform-browser";
|
|
14
18
|
import { AppBaseComponent } from "@posiwise/app-base-component";
|
|
15
|
-
import { CommonService, DashboardService, HopscotchService, NotificationCounts, NotificationService, ProductService } from "@posiwise/common-services";
|
|
16
19
|
import { FAQ, GlobalSearchResponse, Product, User } from "@posiwise/common-utilities";
|
|
20
|
+
import { NotificationCounts } from "@posiwise/common-services";
|
|
17
21
|
import { Observable, Subscription } from "rxjs";
|
|
18
|
-
import * as i20 from "@posiwise/shared-components";
|
|
19
|
-
import { ConfirmDialogService, NotificationNote, NotificationOpenerService } from "@posiwise/shared-components";
|
|
20
|
-
import * as i12 from "@angular/router";
|
|
21
|
-
import { ActivatedRoute } from "@angular/router";
|
|
22
|
-
import * as i19 from "primeng/tooltip";
|
|
23
22
|
declare namespace documentation_view_component_d_exports {
|
|
24
23
|
export { DocumentationComponent };
|
|
25
24
|
}
|
|
@@ -27,11 +26,10 @@ export declare class DocumentationComponent implements OnInit {
|
|
|
27
26
|
private readonly sanitizer;
|
|
28
27
|
iframeUrl: SafeResourceUrl;
|
|
29
28
|
isLoaded: boolean;
|
|
30
|
-
constructor(sanitizer: DomSanitizer);
|
|
31
29
|
ngOnInit(): void;
|
|
32
30
|
onIframeLoad(): void;
|
|
33
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentationComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentationComponent, "pw-documentation", never, {}, {}, never, never,
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentationComponent, "pw-documentation", never, {}, {}, never, never, true, never>;
|
|
35
33
|
}
|
|
36
34
|
export interface GroupedFaqs {
|
|
37
35
|
[category: string]: FAQ[];
|
|
@@ -113,7 +111,6 @@ export declare class FaqComponent extends AppBaseComponent implements OnInit, On
|
|
|
113
111
|
resourcesList: string;
|
|
114
112
|
};
|
|
115
113
|
canEditFaq: boolean;
|
|
116
|
-
constructor(commonService: CommonService, injector: Injector, productService: ProductService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
117
114
|
ngOnInit(): void;
|
|
118
115
|
loadFaqData(): void;
|
|
119
116
|
private faqValidation;
|
|
@@ -128,7 +125,7 @@ export declare class FaqComponent extends AppBaseComponent implements OnInit, On
|
|
|
128
125
|
sanitizeFaqAnswer(body: string): any;
|
|
129
126
|
ngOnDestroy(): void;
|
|
130
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqComponent, never>;
|
|
131
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FaqComponent, "pw-faq", never, {}, {}, never, never,
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FaqComponent, "pw-faq", never, {}, {}, never, never, true, never>;
|
|
132
129
|
}
|
|
133
130
|
interface FaqCategory {
|
|
134
131
|
key: string;
|
|
@@ -198,7 +195,7 @@ export declare class FaqDetailsComponent extends AppBaseComponent implements OnI
|
|
|
198
195
|
editFaqId: number | null;
|
|
199
196
|
badges: FaqStatusBadges;
|
|
200
197
|
private hasFaqAdminPermission;
|
|
201
|
-
constructor(
|
|
198
|
+
constructor();
|
|
202
199
|
ngOnInit(): void;
|
|
203
200
|
get showStatusBadges(): boolean;
|
|
204
201
|
getFaq(): void;
|
|
@@ -206,7 +203,7 @@ export declare class FaqDetailsComponent extends AppBaseComponent implements OnI
|
|
|
206
203
|
private sanitizeAnswer;
|
|
207
204
|
private resolveEditFaqId;
|
|
208
205
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqDetailsComponent, never>;
|
|
209
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FaqDetailsComponent, "pw-faq-details", never, {}, {}, never, never,
|
|
206
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FaqDetailsComponent, "pw-faq-details", never, {}, {}, never, never, true, never>;
|
|
210
207
|
}
|
|
211
208
|
declare namespace home_component_d_exports {
|
|
212
209
|
export { HomeComponent };
|
|
@@ -214,20 +211,17 @@ declare namespace home_component_d_exports {
|
|
|
214
211
|
export declare class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
215
212
|
private readonly hopscotchService;
|
|
216
213
|
private readonly cdr;
|
|
217
|
-
readonly productSections?: Type<unknown>[]
|
|
214
|
+
readonly productSections?: import("@angular/core").Type<unknown>[];
|
|
218
215
|
user: User;
|
|
219
216
|
userSlug: string;
|
|
220
217
|
componentActive: boolean;
|
|
221
218
|
selectedSubscriptionSlug: string;
|
|
222
219
|
subscriptionId: number;
|
|
223
|
-
constructor(injector: Injector, hopscotchService: HopscotchService, cdr: ChangeDetectorRef, productSections?: Type<unknown>[] | null);
|
|
224
220
|
sanitizeContent(jsonString: any): any;
|
|
225
221
|
ngOnInit(): void;
|
|
226
222
|
ngOnDestroy(): void;
|
|
227
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent,
|
|
228
|
-
|
|
229
|
-
}]>;
|
|
230
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "pw-home", never, {}, {}, never, never, false, never>;
|
|
223
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent, never>;
|
|
224
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "pw-home", never, {}, {}, never, never, true, never>;
|
|
231
225
|
}
|
|
232
226
|
type RowActionName = 'dismiss' | 'delete' | 'restore';
|
|
233
227
|
/** What a finished row action did, so the page can move its tab counts. */
|
|
@@ -252,11 +246,10 @@ export declare class NotificationsPageComponent implements OnInit {
|
|
|
252
246
|
private readonly notificationService;
|
|
253
247
|
private readonly cdr;
|
|
254
248
|
counts: NotificationCounts | null;
|
|
255
|
-
constructor(notificationService: NotificationService, cdr: ChangeDetectorRef);
|
|
256
249
|
ngOnInit(): void;
|
|
257
250
|
onMoved(moved: NoteMoved): void;
|
|
258
251
|
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsPageComponent, never>;
|
|
259
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPageComponent, "pw-notifications-page", never, {}, {}, never, never,
|
|
252
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsPageComponent, "pw-notifications-page", never, {}, {}, never, never, true, never>;
|
|
260
253
|
}
|
|
261
254
|
declare namespace current_notifications_component_d_exports {
|
|
262
255
|
export { CurrentNotificationsComponent };
|
|
@@ -277,7 +270,6 @@ export declare class CurrentNotificationsComponent implements OnInit, RowActionH
|
|
|
277
270
|
isLoaded: boolean;
|
|
278
271
|
totalPages: number;
|
|
279
272
|
totalRecords: number;
|
|
280
|
-
constructor(notificationService: NotificationService, opener: NotificationOpenerService, cdr: ChangeDetectorRef);
|
|
281
273
|
ngOnInit(): void;
|
|
282
274
|
private getNotifications;
|
|
283
275
|
nextPage(): void;
|
|
@@ -290,7 +282,7 @@ export declare class CurrentNotificationsComponent implements OnInit, RowActionH
|
|
|
290
282
|
static ɵfac: i0.ɵɵFactoryDeclaration<CurrentNotificationsComponent, never>;
|
|
291
283
|
static ɵcmp: i0.ɵɵComponentDeclaration<CurrentNotificationsComponent, "pw-current-notifications", never, {}, {
|
|
292
284
|
"moved": "moved";
|
|
293
|
-
}, never, never,
|
|
285
|
+
}, never, never, true, never>;
|
|
294
286
|
}
|
|
295
287
|
declare namespace dismissed_notifications_component_d_exports {
|
|
296
288
|
export { DismissedNotificationsComponent };
|
|
@@ -312,7 +304,6 @@ export declare class DismissedNotificationsComponent implements OnInit, RowActio
|
|
|
312
304
|
currentPage: number;
|
|
313
305
|
totalPages: number;
|
|
314
306
|
totalRecords: number;
|
|
315
|
-
constructor(notificationService: NotificationService, opener: NotificationOpenerService, confirmDialog: ConfirmDialogService, cdr: ChangeDetectorRef);
|
|
316
307
|
ngOnInit(): void;
|
|
317
308
|
private getNotifications;
|
|
318
309
|
nextPage(): void;
|
|
@@ -327,7 +318,7 @@ export declare class DismissedNotificationsComponent implements OnInit, RowActio
|
|
|
327
318
|
static ɵfac: i0.ɵɵFactoryDeclaration<DismissedNotificationsComponent, never>;
|
|
328
319
|
static ɵcmp: i0.ɵɵComponentDeclaration<DismissedNotificationsComponent, "pw-dismissed-notifications", never, {}, {
|
|
329
320
|
"moved": "moved";
|
|
330
|
-
}, never, never,
|
|
321
|
+
}, never, never, true, never>;
|
|
331
322
|
}
|
|
332
323
|
declare namespace search_component_d_exports {
|
|
333
324
|
export { SearchComponent };
|
|
@@ -345,7 +336,6 @@ export declare class SearchComponent implements OnInit {
|
|
|
345
336
|
(o: {}): string[];
|
|
346
337
|
};
|
|
347
338
|
subscriptionId: number;
|
|
348
|
-
constructor(route: ActivatedRoute, service: DashboardService, cdr: ChangeDetectorRef);
|
|
349
339
|
ngOnInit(): void;
|
|
350
340
|
search(): void;
|
|
351
341
|
get hasResults(): boolean;
|
|
@@ -364,7 +354,7 @@ export declare class SearchComponent implements OnInit {
|
|
|
364
354
|
id: number;
|
|
365
355
|
}): number;
|
|
366
356
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
367
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never,
|
|
357
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never, true, never>;
|
|
368
358
|
}
|
|
369
359
|
declare namespace user_feedback_component_d_exports {
|
|
370
360
|
export { UserFeedbackComponent };
|
|
@@ -379,7 +369,6 @@ export declare class UserFeedbackComponent extends AppBaseComponent implements O
|
|
|
379
369
|
subscriptionId: number;
|
|
380
370
|
user: User;
|
|
381
371
|
showSection: boolean;
|
|
382
|
-
constructor(injector: Injector, commonService: CommonService, cdr: ChangeDetectorRef);
|
|
383
372
|
ngOnInit(): void;
|
|
384
373
|
checkFeedBackExpiry(): void;
|
|
385
374
|
closeSection(): void;
|
|
@@ -389,19 +378,19 @@ export declare class UserFeedbackComponent extends AppBaseComponent implements O
|
|
|
389
378
|
id: number;
|
|
390
379
|
}): number;
|
|
391
380
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
|
|
392
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never,
|
|
381
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, true, never>;
|
|
393
382
|
}
|
|
394
383
|
declare namespace dashboard_content_module_d_exports {
|
|
395
384
|
export { DashboardContentModule };
|
|
396
385
|
}
|
|
397
386
|
export declare class DashboardContentModule {
|
|
398
387
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardContentModule, never>;
|
|
399
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardContentModule,
|
|
388
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardContentModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.RouterModule, typeof i4$1.CoreTranslocoModule, typeof i5.DirectivesModule, typeof i6.PipesModule, typeof i7.ProgressSpinnerModule, typeof i8$1.NgbNavModule, typeof i9.RadioButtonModule, typeof i10.TooltipModule, typeof i11.ResourceSharedComponentsModule, typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof UserFeedbackComponent], [typeof DocumentationComponent, typeof FaqComponent, typeof FaqDetailsComponent, typeof HomeComponent, typeof NotificationsPageComponent, typeof CurrentNotificationsComponent, typeof NotificationsPageComponent, typeof DismissedNotificationsComponent, typeof SearchComponent, typeof i9.RadioButtonModule]>;
|
|
400
389
|
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardContentModule>;
|
|
401
390
|
}
|
|
402
391
|
export declare class DashboardLibModule {
|
|
403
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardLibModule, never>;
|
|
404
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardLibModule, never, [typeof
|
|
393
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DashboardLibModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i6.PipesModule, typeof i4.SelectModule, typeof i5.DirectivesModule, typeof i2.ReactiveFormsModule, typeof i4$1.CoreTranslocoModule, typeof i8$1.NgbNavModule, typeof i8$1.NgbDropdownModule, typeof i8.UserModuleModule, typeof i9.RadioButtonModule, typeof i7.ProgressSpinnerModule, typeof DashboardContentModule], never>;
|
|
405
394
|
static ɵinj: i0.ɵɵInjectorDeclaration<DashboardLibModule>;
|
|
406
395
|
}
|
|
407
396
|
/**
|