@posiwise/admin-module 0.0.149 → 0.0.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/admin-module.routing.mjs +50 -5
- package/esm2022/lib/admin.module.mjs +19 -1
- package/esm2022/lib/components/TOS/terms-of-service/terms-of-service.component.mjs +3 -3
- package/esm2022/lib/components/config/global-config-details/global-config-details.component.mjs +11 -10
- package/esm2022/lib/components/contact-us/contact-us-list/contact-us-list.component.mjs +12 -11
- package/esm2022/lib/components/credentials/credentials/credentials.component.mjs +3 -3
- package/esm2022/lib/components/credentials/credentials-tab/credentials-tab.component.mjs +2 -2
- package/esm2022/lib/components/credentials/subscription-credentials-details/subscription-credentials-details.component.mjs +21 -9
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.mjs +17 -14
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-core/domain-config-core.component.mjs +45 -10
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-details.component.mjs +3 -3
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-integrations/domain-config-integrations.component.mjs +7 -3
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-interface/domain-config-interface.component.mjs +20 -5
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-organization/domain-config-organization.component.mjs +22 -5
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-security/domain-config-security.component.mjs +9 -5
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-social/domain-config-social.component.mjs +7 -3
- package/esm2022/lib/components/domain-config/domain-config-list/domain-config-list.component.mjs +3 -3
- package/esm2022/lib/components/domain-config/domain-config-tabs/domain-config-tabs.component.mjs +2 -2
- package/esm2022/lib/components/faqs/add-faq/add-faq.component.mjs +3 -3
- package/esm2022/lib/components/faqs/faqs-list/faqs-list.component.mjs +2 -2
- package/esm2022/lib/components/generic/generic-misc/generic-misc.component.mjs +1 -1
- package/esm2022/lib/components/incidents/incidents-list/incidents-list.component.mjs +3 -3
- package/esm2022/lib/components/login-notifications/login-notification-details/login-notification-details.component.mjs +14 -13
- package/esm2022/lib/components/login-notifications/login-notifications-list/login-notifications-list.component.mjs +3 -3
- package/esm2022/lib/components/mailer/mailer-list/mailer-list.component.mjs +3 -3
- package/esm2022/lib/components/newsletters/newsletter-details/newsletter-details.component.mjs +3 -3
- package/esm2022/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.mjs +3 -3
- package/esm2022/lib/components/newsletters/newsletters-items/newsletters-items.component.mjs +5 -3
- package/esm2022/lib/components/newsletters/newsletters-list/newsletters-list.component.mjs +3 -3
- package/esm2022/lib/components/newsletters/newsletters-tabs/newsletters-tabs.component.mjs +3 -3
- package/esm2022/lib/components/permissions/permissions-list/permissions-list.component.mjs +3 -3
- package/esm2022/lib/components/products/product-details/product-details.component.mjs +3 -3
- package/esm2022/lib/components/products/products-list/products-list.component.mjs +3 -3
- package/esm2022/lib/components/resources/resources-admin-details/resources-admin-details.component.mjs +231 -0
- package/esm2022/lib/components/resources/resources-admin-tabs/resources-admin-tabs.component.mjs +33 -0
- package/esm2022/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.mjs +108 -0
- package/esm2022/lib/components/resources/resources-admin-tabs/resources-insight/resources-insight.component.mjs +54 -0
- package/esm2022/lib/components/resources/resources-lists-insight/resources-lists-insight.component.mjs +61 -0
- package/esm2022/lib/components/subscriptions/subscription-details/subscription-details.component.mjs +16 -15
- package/esm2022/lib/components/subscriptions/subscription-users/subscription-users.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-price/subscription-insight-average-price.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-user/subscription-insight-average-user.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-nps/subscription-insight-nps.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-product-session/subscription-insight-product-session.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-tabs/subscription-insight-tabs.component.mjs +7 -6
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-user-session/subscription-insight-user-session.component.mjs +68 -0
- package/esm2022/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.mjs +8 -7
- package/esm2022/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.mjs +42 -15
- package/esm2022/lib/components/tags/tags-list/tags-list.component.mjs +11 -7
- package/esm2022/lib/components/tips/tips-list/tips-list.component.mjs +3 -3
- package/esm2022/lib/components/tracking/ahoy-events/ahoy-events.component.mjs +16 -15
- package/esm2022/lib/components/tracking/ahoy-messages/ahoy-messages.component.mjs +15 -14
- package/esm2022/lib/components/tracking/ahoy-visits/ahoy-visits.component.mjs +16 -14
- package/esm2022/lib/components/tracking/events/events.component.mjs +15 -14
- package/esm2022/lib/components/tracking/versions/versions.component.mjs +16 -15
- package/esm2022/lib/components/users/users-list/users-list.component.mjs +3 -3
- package/esm2022/lib/shared/routers/routers.mjs +5 -2
- package/fesm2022/posiwise-admin-module.mjs +857 -216
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/admin.module.d.ts +79 -73
- package/lib/components/TOS/terms-of-service/terms-of-service.component.d.ts +3 -0
- package/lib/components/config/global-config-list/global-config-list.component.d.ts +3 -0
- package/lib/components/credentials/credentials/credentials.component.d.ts +3 -0
- package/lib/components/credentials/subscription-credentials/subscription-credentials.component.d.ts +3 -0
- package/lib/components/credentials/subscription-credentials-details/subscription-credentials-details.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.d.ts +4 -0
- package/lib/components/domain-config/domain-config-details/domain-config-core/domain-config-core.component.d.ts +10 -0
- package/lib/components/domain-config/domain-config-details/domain-config-details.component.d.ts +3 -0
- package/lib/components/domain-config/domain-config-details/domain-config-integrations/domain-config-integrations.component.d.ts +4 -0
- package/lib/components/domain-config/domain-config-details/domain-config-interface/domain-config-interface.component.d.ts +7 -0
- package/lib/components/domain-config/domain-config-details/domain-config-organization/domain-config-organization.component.d.ts +5 -0
- package/lib/components/domain-config/domain-config-details/domain-config-security/domain-config-security.component.d.ts +4 -0
- package/lib/components/domain-config/domain-config-details/domain-config-social/domain-config-social.component.d.ts +4 -0
- package/lib/components/domain-config/domain-config-list/domain-config-list.component.d.ts +3 -0
- package/lib/components/faqs/add-faq/add-faq.component.d.ts +3 -0
- package/lib/components/faqs/edit-faq/edit-faq.component.d.ts +3 -0
- package/lib/components/faqs/faqs-list/faqs-list.component.d.ts +3 -0
- package/lib/components/feedback-questions/feedback-questions-details/feedback-questions-details.component.d.ts +3 -0
- package/lib/components/feedback-questions/feedback-questions-list/feedback-questions-list.component.d.ts +3 -0
- package/lib/components/incidents/add-edit-incident/add-edit-incident.component.d.ts +3 -0
- package/lib/components/incidents/incidents-list/incidents-list.component.d.ts +3 -0
- package/lib/components/login-notifications/login-notification-details/login-notification-details.component.d.ts +3 -0
- package/lib/components/login-notifications/login-notifications-list/login-notifications-list.component.d.ts +3 -0
- package/lib/components/mailer/mailer-details/mailer-details.component.d.ts +3 -0
- package/lib/components/mailer/mailer-list/mailer-list.component.d.ts +3 -0
- package/lib/components/newsletters/newsletter-details/newsletter-details.component.d.ts +3 -0
- package/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.d.ts +3 -0
- package/lib/components/newsletters/newsletters-items/newsletters-items-view-details/newsletters-items-view-details.component.d.ts +3 -0
- package/lib/components/newsletters/newsletters-items/newsletters-items.component.d.ts +4 -0
- package/lib/components/newsletters/newsletters-list/newsletters-list.component.d.ts +3 -0
- package/lib/components/permissions/permissions-details/permissions-details.component.d.ts +3 -0
- package/lib/components/permissions/permissions-list/permissions-list.component.d.ts +3 -0
- package/lib/components/permissions/roles-list/roles-list.component.d.ts +3 -0
- package/lib/components/products/products-list/products-list.component.d.ts +3 -0
- package/lib/components/resources/resources-admin-details/resources-admin-details.component.d.ts +62 -0
- package/lib/components/resources/resources-admin-tabs/resources-admin-tabs.component.d.ts +10 -0
- package/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.d.ts +69 -0
- package/lib/components/resources/resources-admin-tabs/resources-insight/resources-insight.component.d.ts +24 -0
- package/lib/components/resources/resources-lists-insight/resources-lists-insight.component.d.ts +21 -0
- package/lib/components/subscriptions/subscription-product-details/subscription-product-details.component.d.ts +3 -0
- package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts +3 -0
- package/lib/components/subscriptions/subscription-users/subscription-users.component.d.ts +3 -0
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-price/subscription-insight-average-price.component.d.ts +1 -1
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-user/subscription-insight-average-user.component.d.ts +1 -1
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-nps/subscription-insight-nps.component.d.ts +1 -1
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-product-session/subscription-insight-product-session.component.d.ts +1 -1
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-user-session/subscription-insight-user-session.component.d.ts +34 -0
- package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts +4 -1
- package/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +9 -1
- package/lib/components/tips/tips-list/tips-list.component.d.ts +3 -0
- package/lib/components/users/users-list/users-list.component.d.ts +3 -0
- package/lib/shared/routers/routers.d.ts +3 -0
- package/package.json +1 -1
|
@@ -44,6 +44,9 @@ export declare class PermissionsListComponent extends AppBaseComponent implement
|
|
|
44
44
|
faqDetails: string;
|
|
45
45
|
inviteUsers: string;
|
|
46
46
|
subscriptionList: string;
|
|
47
|
+
createResource: string;
|
|
48
|
+
posts: string;
|
|
49
|
+
resourcesList: string;
|
|
47
50
|
};
|
|
48
51
|
searchText: string;
|
|
49
52
|
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
@@ -46,6 +46,9 @@ export declare class RolesListComponent extends AppBaseComponent implements OnIn
|
|
|
46
46
|
faqDetails: string;
|
|
47
47
|
inviteUsers: string;
|
|
48
48
|
subscriptionList: string;
|
|
49
|
+
createResource: string;
|
|
50
|
+
posts: string;
|
|
51
|
+
resourcesList: string;
|
|
49
52
|
};
|
|
50
53
|
subscriptionId: number;
|
|
51
54
|
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
@@ -49,6 +49,9 @@ export declare class ProductsListComponent extends AppBaseComponent implements O
|
|
|
49
49
|
faqDetails: string;
|
|
50
50
|
inviteUsers: string;
|
|
51
51
|
subscriptionList: string;
|
|
52
|
+
createResource: string;
|
|
53
|
+
posts: string;
|
|
54
|
+
resourcesList: string;
|
|
52
55
|
};
|
|
53
56
|
userLoggedIn: boolean;
|
|
54
57
|
totalRecords: number;
|
package/lib/components/resources/resources-admin-details/resources-admin-details.component.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { TagService } from '@posiwise/common-services';
|
|
6
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ResourceAdminDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
9
|
+
private readonly modalService;
|
|
10
|
+
private readonly adminService;
|
|
11
|
+
private readonly tagService;
|
|
12
|
+
form: UntypedFormGroup;
|
|
13
|
+
submitted: boolean;
|
|
14
|
+
id: number;
|
|
15
|
+
slug: string;
|
|
16
|
+
blog: {
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
body: string;
|
|
20
|
+
view: string;
|
|
21
|
+
slug: string;
|
|
22
|
+
published_at: string;
|
|
23
|
+
accepted_at: string;
|
|
24
|
+
picture: {
|
|
25
|
+
url: string;
|
|
26
|
+
};
|
|
27
|
+
post_comments: any[];
|
|
28
|
+
};
|
|
29
|
+
file: File;
|
|
30
|
+
image: string;
|
|
31
|
+
allTags: {
|
|
32
|
+
name: string;
|
|
33
|
+
}[];
|
|
34
|
+
tagsSuggestion: any[];
|
|
35
|
+
selectedTags: any[];
|
|
36
|
+
subscriptionId: number;
|
|
37
|
+
isLoading: boolean;
|
|
38
|
+
isBlogAdmin: boolean;
|
|
39
|
+
editorConfig: any;
|
|
40
|
+
constructor(modalService: NgbModal, adminService: AdminService, injector: Injector, tagService: TagService);
|
|
41
|
+
ngAfterViewInit(): void;
|
|
42
|
+
ngOnInit(): void;
|
|
43
|
+
get f(): {
|
|
44
|
+
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
45
|
+
};
|
|
46
|
+
private getBlogItem;
|
|
47
|
+
fileChangeListener($event: any): void;
|
|
48
|
+
openModal(content: any): void;
|
|
49
|
+
onClose(): void;
|
|
50
|
+
handleImageError(event: Event, fallbackPath: any): void;
|
|
51
|
+
onImageSelection(event: any): void;
|
|
52
|
+
dataURLtoBlob(dataUrl: string): Blob;
|
|
53
|
+
onSave(): void;
|
|
54
|
+
onAdd(): void;
|
|
55
|
+
onUpdate(): void;
|
|
56
|
+
private getPostTags;
|
|
57
|
+
search(event: any): void;
|
|
58
|
+
postTags(id: number | string): void;
|
|
59
|
+
ngOnDestroy(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceAdminDetailsComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceAdminDetailsComponent, "pw-resources-details-index", never, {}, {}, never, never, false, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourcesAdminIndexComponent extends AppBaseComponent {
|
|
6
|
+
constructor(injector: Injector);
|
|
7
|
+
items: MenuItem[];
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourcesAdminIndexComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourcesAdminIndexComponent, "pw-post-admin-tabs", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
package/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { ResourcePost, Subscription } from '@posiwise/common-utilities';
|
|
5
|
+
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ResourcesIndexComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
|
+
private readonly adminService;
|
|
9
|
+
private readonly cdr;
|
|
10
|
+
private readonly postsTotal;
|
|
11
|
+
private page;
|
|
12
|
+
data: {
|
|
13
|
+
posts: any[];
|
|
14
|
+
object_count: number;
|
|
15
|
+
unfiltered_count: number;
|
|
16
|
+
};
|
|
17
|
+
loading: boolean;
|
|
18
|
+
isLoaded: boolean;
|
|
19
|
+
searchTextItems: string;
|
|
20
|
+
subscriptionId: any;
|
|
21
|
+
subscription: Subscription;
|
|
22
|
+
routers: {
|
|
23
|
+
globalConfigDetails: string;
|
|
24
|
+
adminCredentialsDetails: string;
|
|
25
|
+
subscriptionCredentialDetails: string;
|
|
26
|
+
newsletter: string;
|
|
27
|
+
mailerDetails: string;
|
|
28
|
+
newsletterItemDetails: string;
|
|
29
|
+
newsletterItemView: string;
|
|
30
|
+
newslettersUserList: string;
|
|
31
|
+
newsletterDetails: string;
|
|
32
|
+
permissionsList: string;
|
|
33
|
+
permissionsDetails: string;
|
|
34
|
+
rolesDetails: string;
|
|
35
|
+
productDetails: string;
|
|
36
|
+
productsUserList: string;
|
|
37
|
+
feedbackQuestions: string;
|
|
38
|
+
feedbackQuestionsDetails: string;
|
|
39
|
+
subscriptionDetails: string;
|
|
40
|
+
subscriptionProductDetails: string;
|
|
41
|
+
tipsDetails: string;
|
|
42
|
+
tosAndPrivacyDetails: string;
|
|
43
|
+
tosAndPrivacyView: string;
|
|
44
|
+
usersDetails: string;
|
|
45
|
+
domainConfig: string;
|
|
46
|
+
domainConfigDetails: string;
|
|
47
|
+
loginNotifications: string;
|
|
48
|
+
incidentConfig: string;
|
|
49
|
+
incidentDetails: string;
|
|
50
|
+
faqConfig: string;
|
|
51
|
+
faqDetails: string;
|
|
52
|
+
inviteUsers: string;
|
|
53
|
+
subscriptionList: string;
|
|
54
|
+
createResource: string;
|
|
55
|
+
posts: string;
|
|
56
|
+
resourcesList: string;
|
|
57
|
+
};
|
|
58
|
+
blogPermission: string;
|
|
59
|
+
isBlogAdmin: string;
|
|
60
|
+
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
61
|
+
ngOnInit(): void;
|
|
62
|
+
ngAfterViewChecked(): void;
|
|
63
|
+
onLazyLoad(event: LazyLoadEvent): void;
|
|
64
|
+
private getPosts;
|
|
65
|
+
onDeletePost(item: ResourcePost): void;
|
|
66
|
+
ngOnDestroy(): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourcesIndexComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourcesIndexComponent, "pw-resources-index", never, {}, {}, never, never, false, never>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Plotly } from '@posiwise/common-utilities';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ResourcesInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly blogService;
|
|
8
|
+
graph: Plotly.Figure;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
subscriptionId: number;
|
|
11
|
+
selectedDateRange: any;
|
|
12
|
+
dateRanges: any;
|
|
13
|
+
constructor(blogService: AdminService, injector: Injector);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
/** Function to get the data for the graph */
|
|
16
|
+
private getChartData;
|
|
17
|
+
onDateRangeSelect(event: {
|
|
18
|
+
startDate: moment.Moment;
|
|
19
|
+
endDate: moment.Moment;
|
|
20
|
+
}): void;
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourcesInsightComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourcesInsightComponent, "pw-resources-insight", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
package/lib/components/resources/resources-lists-insight/resources-lists-insight.component.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { ResourceInsightResponse, Subscription } from '@posiwise/common-utilities';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ResourcesListsInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly adminService;
|
|
8
|
+
data: ResourceInsightResponse;
|
|
9
|
+
searchText: string;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
isLoaded: boolean;
|
|
12
|
+
id: number;
|
|
13
|
+
insightName: string;
|
|
14
|
+
subscription: Subscription;
|
|
15
|
+
constructor(adminService: AdminService, injector: Injector);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
private getPostsInsight;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourcesListsInsightComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourcesListsInsightComponent, "resources-posts-lists-insight", never, {}, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -48,6 +48,9 @@ export declare class SubscriptionProductDetailsComponent extends AppBaseComponen
|
|
|
48
48
|
faqDetails: string;
|
|
49
49
|
inviteUsers: string;
|
|
50
50
|
subscriptionList: string;
|
|
51
|
+
createResource: string;
|
|
52
|
+
posts: string;
|
|
53
|
+
resourcesList: string;
|
|
51
54
|
};
|
|
52
55
|
isLoading: boolean;
|
|
53
56
|
id: number;
|
package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts
CHANGED
|
@@ -46,6 +46,9 @@ export declare class SubscriptionProductsComponent extends AppBaseComponent impl
|
|
|
46
46
|
faqDetails: string;
|
|
47
47
|
inviteUsers: string;
|
|
48
48
|
subscriptionList: string;
|
|
49
|
+
createResource: string;
|
|
50
|
+
posts: string;
|
|
51
|
+
resourcesList: string;
|
|
49
52
|
};
|
|
50
53
|
subscriptionProducts: any[];
|
|
51
54
|
currency: any[];
|
|
@@ -57,6 +57,9 @@ export declare class SubscriptionUsersComponent extends AppBaseComponent impleme
|
|
|
57
57
|
faqDetails: string;
|
|
58
58
|
inviteUsers: string;
|
|
59
59
|
subscriptionList: string;
|
|
60
|
+
createResource: string;
|
|
61
|
+
posts: string;
|
|
62
|
+
resourcesList: string;
|
|
60
63
|
};
|
|
61
64
|
totalUnfilteredCount: number;
|
|
62
65
|
subscriptionId: number;
|
|
@@ -2,7 +2,7 @@ import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, Templ
|
|
|
2
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import { Plotly, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CommentContext } from '
|
|
5
|
+
import { CommentContext } from '../../../../shared/interface/admin-module-shared.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SubscriptionInsightAveragePriceComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
8
|
private readonly adminService;
|
|
@@ -2,7 +2,7 @@ import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, Templ
|
|
|
2
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import { Plotly, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CommentContext } from '
|
|
5
|
+
import { CommentContext } from '../../../../shared/interface/admin-module-shared.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SubscriptionInsightAverageUserComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
8
|
private readonly adminService;
|
|
@@ -3,9 +3,9 @@ import { AdminService } from '@posiwise/admin-module-utils';
|
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import { CommonService } from '@posiwise/common-services';
|
|
5
5
|
import { Plotly, User } from '@posiwise/common-utilities';
|
|
6
|
-
import { CommentContext } from 'libs/admin-module/src/lib/shared/interface/admin-module-shared.interface';
|
|
7
6
|
import { LazyLoadEvent } from 'primeng/api';
|
|
8
7
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
8
|
+
import { CommentContext } from '../../../../shared/interface/admin-module-shared.interface';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class SubscriptionInsightNpsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
11
|
private readonly adminService;
|
|
@@ -2,7 +2,7 @@ import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, Templ
|
|
|
2
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import { Plotly, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CommentContext } from '
|
|
5
|
+
import { CommentContext } from '../../../../shared/interface/admin-module-shared.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SubscriptionInsightProcuctSessionComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
8
|
private readonly adminService;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Plotly, User } from '@posiwise/common-utilities';
|
|
5
|
+
import { CommentContext } from '../../../../shared/interface/admin-module-shared.interface';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SubscriptionInsightUserSessionComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
|
+
private readonly adminService;
|
|
9
|
+
private readonly cdr;
|
|
10
|
+
content: TemplateRef<CommentContext>;
|
|
11
|
+
graph: Plotly.Figure;
|
|
12
|
+
totalRecords: number;
|
|
13
|
+
feedbacks: any[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
isLoaded: boolean;
|
|
16
|
+
page: number;
|
|
17
|
+
graphLoading: boolean;
|
|
18
|
+
subscriptionId: number;
|
|
19
|
+
currentUser: User;
|
|
20
|
+
commentToShow: string;
|
|
21
|
+
selectedDateRange: any;
|
|
22
|
+
dateRanges: any;
|
|
23
|
+
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
24
|
+
ngAfterViewChecked(): void;
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private getChartData;
|
|
27
|
+
onDateRangeSelect(event: {
|
|
28
|
+
startDate: moment.Moment;
|
|
29
|
+
endDate: moment.Moment;
|
|
30
|
+
}): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionInsightUserSessionComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionInsightUserSessionComponent, "pw-subscription-insight-user-session", never, {}, {}, never, never, false, never>;
|
|
34
|
+
}
|
package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
|
3
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import { CommonService, ProductService } from '@posiwise/common-services';
|
|
6
|
-
import { FeatureKey } from 'libs/admin-module/src/lib/shared/interface/newsletter.interface';
|
|
7
6
|
import { LazyLoadEvent } from 'primeng/api';
|
|
8
7
|
import { AutoComplete } from 'primeng/autocomplete';
|
|
9
8
|
import { Observable } from 'rxjs';
|
|
9
|
+
import { FeatureKey } from '../../../../shared/interface/newsletter.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class InviteUsersComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
12
12
|
private readonly fb;
|
|
@@ -65,6 +65,9 @@ export declare class InviteUsersComponent extends AppBaseComponent implements On
|
|
|
65
65
|
faqDetails: string;
|
|
66
66
|
inviteUsers: string;
|
|
67
67
|
subscriptionList: string;
|
|
68
|
+
createResource: string;
|
|
69
|
+
posts: string;
|
|
70
|
+
resourcesList: string;
|
|
68
71
|
};
|
|
69
72
|
status: string;
|
|
70
73
|
unitsText: string;
|
|
@@ -3,6 +3,7 @@ import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
|
3
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import { CommonService, ProductService } from '@posiwise/common-services';
|
|
6
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
6
7
|
import { LazyLoadEvent } from 'primeng/api';
|
|
7
8
|
import { AutoComplete } from 'primeng/autocomplete';
|
|
8
9
|
import { Observable } from 'rxjs';
|
|
@@ -15,6 +16,8 @@ export declare class SubscriptionsListComponent extends AppBaseComponent impleme
|
|
|
15
16
|
private readonly cdr;
|
|
16
17
|
private readonly commonService;
|
|
17
18
|
refProduct: AutoComplete;
|
|
19
|
+
recoverSubscriptionPasswordModal: PasswordValidationComponent;
|
|
20
|
+
recoveringItem: any;
|
|
18
21
|
organizationSizes$: Observable<FeatureKey[]>;
|
|
19
22
|
organizationTypes$: Observable<FeatureKey[]>;
|
|
20
23
|
organizationIndustries$: Observable<FeatureKey[]>;
|
|
@@ -65,6 +68,9 @@ export declare class SubscriptionsListComponent extends AppBaseComponent impleme
|
|
|
65
68
|
faqDetails: string;
|
|
66
69
|
inviteUsers: string;
|
|
67
70
|
subscriptionList: string;
|
|
71
|
+
createResource: string;
|
|
72
|
+
posts: string;
|
|
73
|
+
resourcesList: string;
|
|
68
74
|
};
|
|
69
75
|
subscriptionStatus: string[];
|
|
70
76
|
status: string;
|
|
@@ -82,6 +88,8 @@ export declare class SubscriptionsListComponent extends AppBaseComponent impleme
|
|
|
82
88
|
subscriptionInsights: FeatureKey[];
|
|
83
89
|
constructor(productService: ProductService, adminService: AdminService, fb: UntypedFormBuilder, injector: Injector, cdr: ChangeDetectorRef, commonService: CommonService);
|
|
84
90
|
ngOnInit(): void;
|
|
91
|
+
openRecoverSubscriptionModal(item: any): void;
|
|
92
|
+
onRecoverConfirmed(): void;
|
|
85
93
|
getTableState(): void;
|
|
86
94
|
ngAfterViewChecked(): void;
|
|
87
95
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
@@ -91,7 +99,7 @@ export declare class SubscriptionsListComponent extends AppBaseComponent impleme
|
|
|
91
99
|
onDelete(item: any): void;
|
|
92
100
|
private getProductsList;
|
|
93
101
|
onSearchOptionChange(event: any): void;
|
|
94
|
-
filterByStatus(
|
|
102
|
+
filterByStatus(value: string): void;
|
|
95
103
|
sortObj(obj: any): {};
|
|
96
104
|
searchProduct(event: any): void;
|
|
97
105
|
onProductChange(event: any): void;
|
|
@@ -39,6 +39,9 @@ export declare class TipsComponent extends AppBaseComponent implements OnInit, O
|
|
|
39
39
|
faqDetails: string;
|
|
40
40
|
inviteUsers: string;
|
|
41
41
|
subscriptionList: string;
|
|
42
|
+
createResource: string;
|
|
43
|
+
posts: string;
|
|
44
|
+
resourcesList: string;
|
|
42
45
|
};
|
|
43
46
|
subscription_id: number;
|
|
44
47
|
constructor(tipService: TipsService, inject: Injector);
|
|
@@ -71,6 +71,9 @@ export declare class UserListComponent extends AppBaseComponent implements OnIni
|
|
|
71
71
|
faqDetails: string;
|
|
72
72
|
inviteUsers: string;
|
|
73
73
|
subscriptionList: string;
|
|
74
|
+
createResource: string;
|
|
75
|
+
posts: string;
|
|
76
|
+
resourcesList: string;
|
|
74
77
|
};
|
|
75
78
|
masterProductId: any;
|
|
76
79
|
totalRecordsUnFiltered: number;
|