@posiwise/dashboard-module 0.0.2
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/README.md +7 -0
- package/assets/scss/_bootstrap_modules.scss +40 -0
- package/assets/scss/_custom-bootstrap.scss +13 -0
- package/assets/scss/_dashboard.scss +31 -0
- package/assets/scss/_dynamic-styles.scss +534 -0
- package/assets/scss/_plugins.scss +3 -0
- package/assets/scss/_public-pages.scss +7 -0
- package/assets/scss/_shared.scss +3 -0
- package/assets/scss/_variables.scss +5 -0
- package/assets/scss/common/landing-page-a/landing-page-style-1.scss +670 -0
- package/assets/scss/common/landing-page-b/banner.scss +141 -0
- package/assets/scss/common/landing-page-b/contact-us.scss +167 -0
- package/assets/scss/common/landing-page-b/explainer.scss +75 -0
- package/assets/scss/common/landing-page-b/explainer2.scss +35 -0
- package/assets/scss/common/landing-page-b/header.scss +56 -0
- package/assets/scss/common/landing-page-b/landing-page-style-2.scss +20 -0
- package/assets/scss/custom-bootstrap/_badge.scss +468 -0
- package/assets/scss/custom-bootstrap/_bootstrap_variables.scss +30 -0
- package/assets/scss/custom-bootstrap/_buttons.scss +84 -0
- package/assets/scss/custom-bootstrap/_card.scss +319 -0
- package/assets/scss/custom-bootstrap/_carousel.scss +6 -0
- package/assets/scss/custom-bootstrap/_form_select.scss +7 -0
- package/assets/scss/custom-bootstrap/_forms.scss +337 -0
- package/assets/scss/custom-bootstrap/_links.scss +7 -0
- package/assets/scss/custom-bootstrap/_modal.scss +16 -0
- package/assets/scss/custom-bootstrap/_navbar.scss +42 -0
- package/assets/scss/custom-bootstrap/_popover.scss +10 -0
- package/assets/scss/custom-bootstrap/_progress.scss +12 -0
- package/assets/scss/custom-bootstrap/_reboot.scss +93 -0
- package/assets/scss/custom-bootstrap/_type.scss +202 -0
- package/assets/scss/dashboard/_admin.scss +15 -0
- package/assets/scss/dashboard/_animations.scss +20 -0
- package/assets/scss/dashboard/_bootstrap-social.scss +641 -0
- package/assets/scss/dashboard/_chat.scss +250 -0
- package/assets/scss/dashboard/_coming-soon.scss +34 -0
- package/assets/scss/dashboard/_components.scss +229 -0
- package/assets/scss/dashboard/_email.scss +184 -0
- package/assets/scss/dashboard/_fixed-navbar.scss +18 -0
- package/assets/scss/dashboard/_gallery.scss +1201 -0
- package/assets/scss/dashboard/_helper.scss +736 -0
- package/assets/scss/dashboard/_horizontal-timeline.scss +314 -0
- package/assets/scss/dashboard/_icons.scss +107 -0
- package/assets/scss/dashboard/_layout.scss +23 -0
- package/assets/scss/dashboard/_misc.scss +220 -0
- package/assets/scss/dashboard/_notifications.scss +27 -0
- package/assets/scss/dashboard/_palette.scss +308 -0
- package/assets/scss/dashboard/_profile.scss +36 -0
- package/assets/scss/dashboard/_responsive.scss +209 -0
- package/assets/scss/dashboard/_search.scss +33 -0
- package/assets/scss/dashboard/_select.scss +16 -0
- package/assets/scss/dashboard/_sidebar-content.scss +632 -0
- package/assets/scss/dashboard/_tables.scss +17 -0
- package/assets/scss/dashboard/_tabs.scss +151 -0
- package/assets/scss/dashboard/_ui-switch.scss +6 -0
- package/assets/scss/dashboard/_upload.scss +249 -0
- package/assets/scss/dashboard/_utilities.scss +105 -0
- package/assets/scss/dashboard/_vertical-timeline.scss +1261 -0
- package/assets/scss/dashboard/mixins/_buttons.scss +78 -0
- package/assets/scss/dashboard/mixins/_colors.scss +29 -0
- package/assets/scss/dashboard/mixins/_custom.scss +34 -0
- package/assets/scss/dashboard/mixins/_shadows.scss +62 -0
- package/assets/scss/dashboard/mixins/_type.scss +16 -0
- package/assets/scss/dashboard/mixins/_typography.scss +29 -0
- package/assets/scss/dashboard/mixins/_utilities.scss +129 -0
- package/assets/scss/dashboard/mixins/_vendor-prefixes.scss +71 -0
- package/assets/scss/plugins/_plugin-nouislider.scss +199 -0
- package/assets/scss/plugins/_toastr.scss +71 -0
- package/assets/scss/plugins/perfect-scrollbar/_main.scss +3 -0
- package/assets/scss/plugins/perfect-scrollbar/_mixins.scss +135 -0
- package/assets/scss/plugins/perfect-scrollbar/_ps-custom.scss +134 -0
- package/assets/scss/plugins/perfect-scrollbar/_themes.scss +23 -0
- package/assets/scss/plugins/perfect-scrollbar/_variables.scss +19 -0
- package/assets/scss/public-pages/_buttons.scss +136 -0
- package/assets/scss/public-pages/_input-fields.scss +29 -0
- package/assets/scss/public-pages/_layout.scss +108 -0
- package/assets/scss/public-pages/mixins/_buttons.scss +28 -0
- package/assets/scss/shared/_modal.scss +28 -0
- package/assets/scss/shared/_prime-ng-tables.scss +107 -0
- package/assets/scss/shared/_prime-ng.scss +5100 -0
- package/assets/scss/variables/_app-colors-variables.scss +760 -0
- package/assets/scss/variables/_branding-variables.scss +93 -0
- package/assets/scss/variables/_dashboard-variables.scss +96 -0
- package/assets/scss/variables/_generic-variables.scss +33 -0
- package/assets/scss/variables/_landing-page-new-variables.scss +11 -0
- package/assets/scss/variables/_primeng-variables.scss +190 -0
- package/esm2020/dashboard-module.mjs +5 -0
- package/esm2020/index.mjs +17 -0
- package/esm2020/lib/customizer/customizer.component.mjs +16 -0
- package/esm2020/lib/dashboard-routing.module.mjs +316 -0
- package/esm2020/lib/dashboard.module.mjs +99 -0
- package/esm2020/lib/faq/faq.component.mjs +105 -0
- package/esm2020/lib/faq-details/faq-details.component.mjs +33 -0
- package/esm2020/lib/footer/footer.component.mjs +22 -0
- package/esm2020/lib/home/home.component.mjs +78 -0
- package/esm2020/lib/navbar/navbar.component.mjs +157 -0
- package/esm2020/lib/notifications-page/current-notifications/current-notifications.component.mjs +56 -0
- package/esm2020/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.mjs +71 -0
- package/esm2020/lib/notifications-page/notifications-page.component.mjs +14 -0
- package/esm2020/lib/search/search.component.mjs +44 -0
- package/esm2020/lib/sidebar/sidebar-routes.config.mjs +338 -0
- package/esm2020/lib/sidebar/sidebar.component.mjs +297 -0
- package/esm2020/lib/sidebar/sidebar.metadata.mjs +2 -0
- package/esm2020/lib/user-feedback/user-feedback.component.mjs +71 -0
- package/esm2020/lib/user-notifications/user-notifications.component.mjs +63 -0
- package/fesm2015/dashboard-module.mjs +1701 -0
- package/fesm2015/dashboard-module.mjs.map +1 -0
- package/fesm2020/dashboard-module.mjs +1682 -0
- package/fesm2020/dashboard-module.mjs.map +1 -0
- package/index.d.ts +16 -0
- package/lib/customizer/customizer.component.d.ts +7 -0
- package/lib/dashboard-routing.module.d.ts +7 -0
- package/lib/dashboard.module.d.ts +25 -0
- package/lib/faq/faq.component.d.ts +37 -0
- package/lib/faq-details/faq-details.component.d.ts +15 -0
- package/lib/footer/footer.component.d.ts +11 -0
- package/lib/home/home.component.d.ts +18 -0
- package/lib/navbar/navbar.component.d.ts +35 -0
- package/lib/notifications-page/current-notifications/current-notifications.component.d.ts +17 -0
- package/lib/notifications-page/dismissed-notifications/dismissed-notifications.component.d.ts +18 -0
- package/lib/notifications-page/notifications-page.component.d.ts +5 -0
- package/lib/search/search.component.d.ts +24 -0
- package/lib/sidebar/sidebar-routes.config.d.ts +64 -0
- package/lib/sidebar/sidebar.component.d.ts +55 -0
- package/lib/sidebar/sidebar.metadata.d.ts +15 -0
- package/lib/user-feedback/user-feedback.component.d.ts +23 -0
- package/lib/user-notifications/user-notifications.component.d.ts +20 -0
- package/package.json +47 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { User } from '@posiwise/common-utilities';
|
|
4
|
+
import { ScriptLoaderService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class HomeComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
+
private scriptLoader;
|
|
8
|
+
user: User;
|
|
9
|
+
private tour;
|
|
10
|
+
userSlug: string;
|
|
11
|
+
componentActive: boolean;
|
|
12
|
+
selectedSubscriptionSlug: string;
|
|
13
|
+
constructor(injector: Injector, scriptLoader: ScriptLoaderService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomeComponent, "pw-home", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Injector, OnDestroy } from '@angular/core';
|
|
2
|
+
import { NgbDropdown, NgbDropdownConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
4
|
+
import { AppState } from '@posiwise/app-store';
|
|
5
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
+
import { ScriptLoaderService, NotificationService } from '@posiwise/common-services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class NavbarComponent extends AppBaseComponent implements OnDestroy, OnDestroy {
|
|
9
|
+
private notificationService;
|
|
10
|
+
private scriptLoader;
|
|
11
|
+
private store;
|
|
12
|
+
logo: any;
|
|
13
|
+
notiDrop: NgbDropdown;
|
|
14
|
+
notificationCount: number;
|
|
15
|
+
noNoti: boolean;
|
|
16
|
+
notifications: any[];
|
|
17
|
+
private notiInterval;
|
|
18
|
+
slug: string;
|
|
19
|
+
constructor(injector: Injector, notificationService: NotificationService, config: NgbDropdownConfig, scriptLoader: ScriptLoaderService, store: Store<AppState>);
|
|
20
|
+
ngOnDestroy(): void;
|
|
21
|
+
get isSupportMenu(): any;
|
|
22
|
+
private loadExternalScripts;
|
|
23
|
+
private getNotifications;
|
|
24
|
+
private notificationsCount;
|
|
25
|
+
private sortNotifications;
|
|
26
|
+
private updateNotifications;
|
|
27
|
+
checkNoti(): void;
|
|
28
|
+
dismiss(id: number, _e: any): void;
|
|
29
|
+
onLangChange(lang: string): void;
|
|
30
|
+
logout(): void;
|
|
31
|
+
redirectToNotification(): void;
|
|
32
|
+
onSearch(search: any): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "pw-navbar", never, { "logo": "logo"; }, {}, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 notificationService;
|
|
6
|
+
notificationCount: number;
|
|
7
|
+
noNoti: boolean;
|
|
8
|
+
notifications: any[];
|
|
9
|
+
isLoaded: boolean;
|
|
10
|
+
constructor(notificationService: NotificationService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
private getNotifications;
|
|
13
|
+
dismiss(id: number, e: any): void;
|
|
14
|
+
trackByNotification(_index: number, item: any): any;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CurrentNotificationsComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CurrentNotificationsComponent, "pw-current-notifications", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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 notificationService;
|
|
6
|
+
notificationCount: number;
|
|
7
|
+
noNoti: boolean;
|
|
8
|
+
dismissedNotifications: any[];
|
|
9
|
+
isLoaded: boolean;
|
|
10
|
+
constructor(notificationService: NotificationService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
private getNotifications;
|
|
13
|
+
dismiss(id: number, e: any): void;
|
|
14
|
+
restoreNotification(id: number, e: any): void;
|
|
15
|
+
trackByNotification(_index: number, item: any): any;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DismissedNotificationsComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DismissedNotificationsComponent, "pw-dismissed-notifications", never, {}, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from '@angular/router';
|
|
3
|
+
import { GlobalSearchResponse } from '@posiwise/common-utilities';
|
|
4
|
+
import { DashboardService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SearchComponent implements OnInit {
|
|
7
|
+
private route;
|
|
8
|
+
private service;
|
|
9
|
+
keyword: string;
|
|
10
|
+
result: GlobalSearchResponse;
|
|
11
|
+
objectKeys: {
|
|
12
|
+
(o: object): string[];
|
|
13
|
+
(o: {}): string[];
|
|
14
|
+
};
|
|
15
|
+
subscriptionId: number;
|
|
16
|
+
constructor(route: ActivatedRoute, service: DashboardService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
search(): void;
|
|
19
|
+
trackByUserId(_index: number, item: any): any;
|
|
20
|
+
trackByFaqId(_index: number, item: any): any;
|
|
21
|
+
trackBySkill(_index: number, item: any): any;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchComponent, "pw-search", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { RouteInfo } from './sidebar.metadata';
|
|
2
|
+
export declare const ROUTES: RouteInfo[];
|
|
3
|
+
export declare const FAQ_Menu: {
|
|
4
|
+
permission: string;
|
|
5
|
+
path: string;
|
|
6
|
+
title: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
class: string;
|
|
9
|
+
badge: string;
|
|
10
|
+
badgeClass: string;
|
|
11
|
+
isExternalLink: boolean;
|
|
12
|
+
submenu: any[];
|
|
13
|
+
visible: boolean;
|
|
14
|
+
order: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const ENTERPRISE_MENU: {
|
|
17
|
+
permission: string;
|
|
18
|
+
path: string;
|
|
19
|
+
title: string;
|
|
20
|
+
icon: string;
|
|
21
|
+
class: string;
|
|
22
|
+
badge: string;
|
|
23
|
+
badgeClass: string;
|
|
24
|
+
isExternalLink: boolean;
|
|
25
|
+
order: number;
|
|
26
|
+
submenu: {
|
|
27
|
+
permission: string;
|
|
28
|
+
path: string;
|
|
29
|
+
title: string;
|
|
30
|
+
icon: string;
|
|
31
|
+
class: string;
|
|
32
|
+
badge: string;
|
|
33
|
+
badgeClass: string;
|
|
34
|
+
isExternalLink: boolean;
|
|
35
|
+
submenu: any[];
|
|
36
|
+
visible: boolean;
|
|
37
|
+
}[];
|
|
38
|
+
visible: boolean;
|
|
39
|
+
};
|
|
40
|
+
export declare const CHAT_MENU: {
|
|
41
|
+
permission: string;
|
|
42
|
+
path: string;
|
|
43
|
+
title: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
class: string;
|
|
46
|
+
badge: string;
|
|
47
|
+
badgeClass: string;
|
|
48
|
+
isExternalLink: boolean;
|
|
49
|
+
submenu: any[];
|
|
50
|
+
order: number;
|
|
51
|
+
visible: boolean;
|
|
52
|
+
};
|
|
53
|
+
export declare const BLOG_MENU: {
|
|
54
|
+
permission: string;
|
|
55
|
+
path: string;
|
|
56
|
+
title: string;
|
|
57
|
+
icon: string;
|
|
58
|
+
class: string;
|
|
59
|
+
badge: string;
|
|
60
|
+
badgeClass: string;
|
|
61
|
+
isExternalLink: boolean;
|
|
62
|
+
submenu: any[];
|
|
63
|
+
visible: boolean;
|
|
64
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { User } from '@posiwise/common-utilities';
|
|
4
|
+
import { RouteInfo } from './sidebar.metadata';
|
|
5
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
+
import { GoogleAnalyticsService, MailBoxService, WebsocketService } from '@posiwise/common-services';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class SidebarComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
+
private mailboxService;
|
|
10
|
+
private cdr;
|
|
11
|
+
private googleAnalyticService;
|
|
12
|
+
private webSocket;
|
|
13
|
+
private document;
|
|
14
|
+
sidebarRenderEvent: EventEmitter<object>;
|
|
15
|
+
user: User;
|
|
16
|
+
subscription: Subscription;
|
|
17
|
+
productMenus: any[];
|
|
18
|
+
companyName: string;
|
|
19
|
+
menus: RouteInfo[];
|
|
20
|
+
logo: {
|
|
21
|
+
square: string;
|
|
22
|
+
full: string;
|
|
23
|
+
};
|
|
24
|
+
constructor(mailboxService: MailBoxService, cdr: ChangeDetectorRef, googleAnalyticService: GoogleAnalyticsService, webSocket: WebsocketService, document: Document, injector: Injector);
|
|
25
|
+
get selectedSubscription(): any;
|
|
26
|
+
get selectedProduct(): any;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
/** *
|
|
29
|
+
* Appends all the products menus and assign the first default product
|
|
30
|
+
*/
|
|
31
|
+
private populateSidebarMenus;
|
|
32
|
+
private constructProductsMenus;
|
|
33
|
+
/**
|
|
34
|
+
* Performing search functionality & closing the sidebar
|
|
35
|
+
* */
|
|
36
|
+
onSearch(search: any): void;
|
|
37
|
+
navigateToProductDashboard(product: any): void;
|
|
38
|
+
private addProductMenusOnPermission;
|
|
39
|
+
private appendAdminMenu;
|
|
40
|
+
private setLogo;
|
|
41
|
+
/**
|
|
42
|
+
* Populates the Enterprise option to the side bar menu
|
|
43
|
+
* Enterprise is not populated from the auth.granted.
|
|
44
|
+
* If user subscription has more than 4 units
|
|
45
|
+
*/
|
|
46
|
+
private appendSlugForNonProductMenus;
|
|
47
|
+
/**
|
|
48
|
+
* Gets the unread message count to bind the the message badge
|
|
49
|
+
*/
|
|
50
|
+
private getUnreadMessages;
|
|
51
|
+
onSidebarToggle(event: any): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "pw-sidebar", never, {}, { "sidebarRenderEvent": "sidebarRenderEvent"; }, never, never, false, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { User } from '@posiwise/common-utilities';
|
|
4
|
+
import { CommonService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserFeedbackComponent extends AppBaseComponent implements OnInit {
|
|
7
|
+
private commonService;
|
|
8
|
+
rating: number;
|
|
9
|
+
questions: any[];
|
|
10
|
+
counter: ArrayConstructor;
|
|
11
|
+
subscriptionId: number;
|
|
12
|
+
user: User;
|
|
13
|
+
showSection: boolean;
|
|
14
|
+
constructor(injector: Injector, commonService: CommonService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
checkFeedBackExpiry(): void;
|
|
17
|
+
closeSection(): void;
|
|
18
|
+
private getFeedbackQuestions;
|
|
19
|
+
onSubmit(questionId: number, formValue: any): void;
|
|
20
|
+
trackByQuestion(_index: number, item: any): any;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserFeedbackComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserFeedbackComponent, "pw-user-feedback", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { CommonService } from '@posiwise/common-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserNotificationsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
+
private commonService;
|
|
8
|
+
notifications: any[];
|
|
9
|
+
notifier: Subject<unknown>;
|
|
10
|
+
isHomePage: boolean;
|
|
11
|
+
previousUrl: string;
|
|
12
|
+
currentUrl: string;
|
|
13
|
+
constructor(injector: Injector, commonService: CommonService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
getUserNotifications(): void;
|
|
16
|
+
hideNoty(id: number): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserNotificationsComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserNotificationsComponent, "pw-user-notifications", never, {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@posiwise/dashboard-module",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "15.2.5",
|
|
6
|
+
"@angular/core": "15.2.5",
|
|
7
|
+
"@posiwise/app-base-component": "^0.0.12",
|
|
8
|
+
"@posiwise/common-services": "^0.0.53",
|
|
9
|
+
"@posiwise/core-styles": "^1.0.0",
|
|
10
|
+
"@posiwise/core-guards": "^0.0.12",
|
|
11
|
+
"@posiwise/user-module": "^0.0.5",
|
|
12
|
+
"@angular/router": "15.2.5"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"tslib": "^2.3.0"
|
|
16
|
+
},
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"module": "fesm2015/dashboard-module.mjs",
|
|
19
|
+
"es2020": "fesm2020/dashboard-module.mjs",
|
|
20
|
+
"esm2020": "esm2020/dashboard-module.mjs",
|
|
21
|
+
"fesm2020": "fesm2020/dashboard-module.mjs",
|
|
22
|
+
"fesm2015": "fesm2015/dashboard-module.mjs",
|
|
23
|
+
"typings": "index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
"./package.json": {
|
|
26
|
+
"default": "./package.json"
|
|
27
|
+
},
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./index.d.ts",
|
|
30
|
+
"esm2020": "./esm2020/dashboard-module.mjs",
|
|
31
|
+
"es2020": "./fesm2020/dashboard-module.mjs",
|
|
32
|
+
"es2015": "./fesm2015/dashboard-module.mjs",
|
|
33
|
+
"node": "./fesm2015/dashboard-module.mjs",
|
|
34
|
+
"default": "./fesm2020/dashboard-module.mjs"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"description": "This library was generated with [Nx](https://nx.dev).",
|
|
38
|
+
"main": "index.js",
|
|
39
|
+
"directories": {
|
|
40
|
+
"lib": "lib"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
44
|
+
},
|
|
45
|
+
"author": "",
|
|
46
|
+
"license": "ISC"
|
|
47
|
+
}
|