@posiwise/admin-module 0.0.113 → 0.0.114
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.mjs +3 -1
- package/esm2022/lib/components/TOS/terms-of-service-details/terms-of-service-details.component.mjs +4 -6
- package/esm2022/lib/components/faqs/add-faq/add-faq.component.mjs +1 -4
- package/esm2022/lib/components/faqs/edit-faq/edit-faq.component.mjs +6 -7
- package/esm2022/lib/components/faqs/faqs-list/faqs-list.component.mjs +3 -1
- package/esm2022/lib/components/generic/generic-misc/generic-misc.component.mjs +1 -1
- package/esm2022/lib/components/incidents/add-edit-incident/add-edit-incident.component.mjs +3 -6
- package/esm2022/lib/components/incidents/incidents-list/incidents-list.component.mjs +1 -1
- package/esm2022/lib/components/login-notifications/login-notification-details/login-notification-details.component.mjs +1 -1
- package/esm2022/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.mjs +4 -6
- package/esm2022/lib/components/newsletters/newsletters-items/newsletters-items.component.mjs +2 -2
- package/esm2022/lib/components/permissions/role-details/role-details.component.mjs +1 -1
- package/esm2022/lib/components/products/product-details/product-details.component.mjs +4 -6
- package/esm2022/lib/components/subscriptions/subscription-agents/subscription-agents.component.mjs +1 -2
- package/esm2022/lib/components/subscriptions/subscription-agents-list/subscription-agents-list.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscription-details/subscription-details.component.mjs +3 -2
- package/esm2022/lib/components/subscriptions/subscription-product-details/subscription-product-details.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-list/invite-users/invite-users.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.mjs +1 -1
- package/esm2022/lib/components/tags/tags-category/tags-category.component.mjs +1 -1
- package/esm2022/lib/components/tags/tags-list/tags-list.component.mjs +1 -1
- package/esm2022/lib/components/tracking/ahoy-events/ahoy-events.component.mjs +1 -1
- package/esm2022/lib/components/tracking/ahoy-messages/ahoy-messages.component.mjs +1 -1
- package/esm2022/lib/components/tracking/ahoy-visits/ahoy-visits.component.mjs +1 -1
- package/esm2022/lib/components/tracking/events/events.component.mjs +1 -1
- package/esm2022/lib/components/tracking/versions/versions.component.mjs +1 -1
- package/esm2022/lib/components/users/user-details/user-details.component.mjs +1 -1
- package/esm2022/lib/components/users/users-list/users-list.component.mjs +1 -1
- package/esm2022/lib/components/users/users-tabs/users-tabs.component.mjs +1 -1
- package/esm2022/lib/shared/interface/admin-module-shared.interface.mjs +2 -0
- package/esm2022/lib/shared/interface/api-response.interface.mjs +2 -0
- package/esm2022/lib/shared/interface/credential.interface.mjs +1 -1
- package/esm2022/lib/shared/interface/newsletter.interface.mjs +1 -1
- package/esm2022/lib/shared/interface/tracking.interface.mjs +1 -1
- package/fesm2022/posiwise-admin-module.mjs +22 -29
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/components/TOS/terms-of-service-details/terms-of-service-details.component.d.ts +0 -1
- package/lib/components/faqs/add-faq/add-faq.component.d.ts +3 -3
- package/lib/components/faqs/edit-faq/edit-faq.component.d.ts +6 -5
- package/lib/components/faqs/faqs-list/faqs-list.component.d.ts +4 -3
- package/lib/components/generic/generic-misc/generic-misc.component.d.ts +2 -1
- package/lib/components/incidents/add-edit-incident/add-edit-incident.component.d.ts +3 -2
- package/lib/components/incidents/incidents-list/incidents-list.component.d.ts +1 -1
- package/lib/components/login-notifications/login-notification-details/login-notification-details.component.d.ts +1 -1
- package/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.d.ts +0 -1
- package/lib/components/newsletters/newsletters-items/newsletters-items.component.d.ts +3 -1
- package/lib/components/permissions/role-details/role-details.component.d.ts +2 -1
- package/lib/components/products/product-details/product-details.component.d.ts +8 -7
- package/lib/components/subscriptions/subscription-agents/subscription-agents.component.d.ts +0 -1
- package/lib/components/subscriptions/subscription-agents-list/subscription-agents-list.component.d.ts +2 -1
- package/lib/components/subscriptions/subscription-details/subscription-details.component.d.ts +6 -5
- package/lib/components/subscriptions/subscription-product-details/subscription-product-details.component.d.ts +2 -1
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-nps/subscription-insight-nps.component.d.ts +2 -1
- package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts +10 -6
- package/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +10 -6
- package/lib/components/tags/tags-category/tags-category.component.d.ts +2 -1
- package/lib/components/tags/tags-list/tags-list.component.d.ts +2 -1
- package/lib/components/tracking/ahoy-events/ahoy-events.component.d.ts +6 -6
- package/lib/components/tracking/ahoy-messages/ahoy-messages.component.d.ts +3 -3
- package/lib/components/tracking/ahoy-visits/ahoy-visits.component.d.ts +3 -3
- package/lib/components/tracking/events/events.component.d.ts +2 -3
- package/lib/components/tracking/versions/versions.component.d.ts +3 -3
- package/lib/components/users/user-details/user-details.component.d.ts +1 -1
- package/lib/components/users/users-list/users-list.component.d.ts +1 -1
- package/lib/components/users/users-tabs/users-tabs.component.d.ts +1 -1
- package/lib/shared/interface/admin-module-shared.interface.d.ts +98 -0
- package/lib/shared/interface/api-response.interface.d.ts +4 -0
- package/lib/shared/interface/credential.interface.d.ts +8 -1
- package/lib/shared/interface/newsletter.interface.d.ts +25 -15
- package/lib/shared/interface/tracking.interface.d.ts +14 -3
- package/package.json +1 -1
|
@@ -8,7 +8,6 @@ export declare class TermsOfServiceDetailsComponent extends AppBaseComponent imp
|
|
|
8
8
|
private adminService;
|
|
9
9
|
form: UntypedFormGroup;
|
|
10
10
|
id: number;
|
|
11
|
-
editorConfig: any;
|
|
12
11
|
data: PrivacyTos;
|
|
13
12
|
submitted: boolean;
|
|
14
13
|
constructor(adminService: AdminService, injector: Injector);
|
|
@@ -4,6 +4,7 @@ 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
6
|
import { FAQ, Product } from '@posiwise/common-utilities';
|
|
7
|
+
import { ProductList } from '../../../shared/interface/admin-module-shared.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class AddFaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
10
|
private commonService;
|
|
@@ -51,7 +52,7 @@ export declare class AddFaqComponent extends AppBaseComponent implements OnInit,
|
|
|
51
52
|
isEdit: boolean;
|
|
52
53
|
categories: any[];
|
|
53
54
|
isProductEnabled: boolean;
|
|
54
|
-
productList:
|
|
55
|
+
productList: ProductList[];
|
|
55
56
|
searchText: string;
|
|
56
57
|
allProducts: Product[];
|
|
57
58
|
allFaqs: any[];
|
|
@@ -65,10 +66,9 @@ export declare class AddFaqComponent extends AppBaseComponent implements OnInit,
|
|
|
65
66
|
selectedFeatureKeys: any[];
|
|
66
67
|
buttonBusy: boolean;
|
|
67
68
|
categoryForBadges: any[];
|
|
68
|
-
slug:
|
|
69
|
+
slug: string;
|
|
69
70
|
faqHashMap: {};
|
|
70
71
|
page: number;
|
|
71
|
-
activeItem: any;
|
|
72
72
|
constructor(commonService: CommonService, adminService: AdminService, productService: ProductService, injector: Injector);
|
|
73
73
|
ngOnInit(): void;
|
|
74
74
|
get f(): {
|
|
@@ -4,6 +4,7 @@ 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
6
|
import { FAQ, Product } from '@posiwise/common-utilities';
|
|
7
|
+
import { ProductList } from '../../../shared/interface/admin-module-shared.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class EditFaqComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
10
|
private commonService;
|
|
@@ -41,15 +42,15 @@ export declare class EditFaqComponent extends AppBaseComponent implements OnInit
|
|
|
41
42
|
subscriptionList: string;
|
|
42
43
|
};
|
|
43
44
|
id: number;
|
|
44
|
-
editorConfig: any;
|
|
45
45
|
submitted: boolean;
|
|
46
46
|
isLoaded: boolean;
|
|
47
47
|
editForm: NgForm;
|
|
48
|
-
|
|
48
|
+
editorConfig: any;
|
|
49
|
+
currentFaq: FAQ | null;
|
|
49
50
|
isEdit: boolean;
|
|
50
51
|
categories: any[];
|
|
51
52
|
isProductEnabled: boolean;
|
|
52
|
-
productList:
|
|
53
|
+
productList: ProductList[];
|
|
53
54
|
searchText: string;
|
|
54
55
|
allProducts: Product[];
|
|
55
56
|
allFaqs: any[];
|
|
@@ -63,10 +64,10 @@ export declare class EditFaqComponent extends AppBaseComponent implements OnInit
|
|
|
63
64
|
selectedFeatureKeys: any[];
|
|
64
65
|
buttonBusy: boolean;
|
|
65
66
|
categoryForBadges: any[];
|
|
66
|
-
slug:
|
|
67
|
+
slug: string | null;
|
|
67
68
|
faqHashMap: {};
|
|
68
69
|
page: number;
|
|
69
|
-
activeItem:
|
|
70
|
+
activeItem: FAQ | null;
|
|
70
71
|
constructor(commonService: CommonService, adminService: AdminService, productService: ProductService, injector: Injector);
|
|
71
72
|
ngOnInit(): void;
|
|
72
73
|
get f(): {
|
|
@@ -5,6 +5,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
5
5
|
import { Product, FAQ } from '@posiwise/common-utilities';
|
|
6
6
|
import { CommonService, ProductService } from '@posiwise/common-services';
|
|
7
7
|
import { LazyLoadEvent } from 'primeng/api';
|
|
8
|
+
import { ProductList } from '../../../shared/interface/admin-module-shared.interface';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class FaqListComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
11
|
private commonService;
|
|
@@ -47,11 +48,11 @@ export declare class FaqListComponent extends AppBaseComponent implements OnInit
|
|
|
47
48
|
submitted: boolean;
|
|
48
49
|
isLoaded: boolean;
|
|
49
50
|
editForm: NgForm;
|
|
50
|
-
currentFaq:
|
|
51
|
+
currentFaq: FAQ | null;
|
|
51
52
|
isEdit: boolean;
|
|
52
53
|
categories: any[];
|
|
53
54
|
isProductEnabled: boolean;
|
|
54
|
-
productList:
|
|
55
|
+
productList: ProductList[];
|
|
55
56
|
searchText: string;
|
|
56
57
|
allProducts: Product[];
|
|
57
58
|
allFaqs: any[];
|
|
@@ -65,7 +66,7 @@ export declare class FaqListComponent extends AppBaseComponent implements OnInit
|
|
|
65
66
|
selectedFeatureKeys: any[];
|
|
66
67
|
buttonBusy: boolean;
|
|
67
68
|
categoryForBadges: any[];
|
|
68
|
-
slug:
|
|
69
|
+
slug: string | null;
|
|
69
70
|
faqHashMap: {};
|
|
70
71
|
page: number;
|
|
71
72
|
constructor(commonService: CommonService, adminService: AdminService, productService: ProductService, injector: Injector);
|
|
@@ -2,11 +2,12 @@ import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
5
|
+
import { InspectedData } from '../../../shared/interface/admin-module-shared.interface';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class GenericMiscComponent extends AppBaseComponent implements OnDestroy, OnInit {
|
|
7
8
|
private adminService;
|
|
8
9
|
passwordValidationModalForInvalidSession: PasswordValidationComponent;
|
|
9
|
-
inspectedData:
|
|
10
|
+
inspectedData: InspectedData;
|
|
10
11
|
subscriptionId: number;
|
|
11
12
|
constructor(adminService: AdminService, injector: Injector);
|
|
12
13
|
ngOnInit(): void;
|
|
@@ -3,6 +3,7 @@ import { NgForm, UntypedFormGroup } from '@angular/forms';
|
|
|
3
3
|
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import { CommonService } from '@posiwise/common-services';
|
|
6
|
+
import { Incident } from '../../../shared/interface/admin-module-shared.interface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class AddEditIncidentComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
9
|
private commonService;
|
|
@@ -42,14 +43,14 @@ export declare class AddEditIncidentComponent extends AppBaseComponent implement
|
|
|
42
43
|
};
|
|
43
44
|
editorConfig: any;
|
|
44
45
|
landing: boolean;
|
|
45
|
-
logo:
|
|
46
|
+
logo: string;
|
|
46
47
|
openIncidents: any[];
|
|
47
48
|
pastIncidents: any[];
|
|
48
49
|
p1: number;
|
|
49
50
|
p: number;
|
|
50
51
|
companyName: any;
|
|
51
52
|
editForm: NgForm;
|
|
52
|
-
currentIncident:
|
|
53
|
+
currentIncident: Incident;
|
|
53
54
|
id: number;
|
|
54
55
|
isSuperAdmin: boolean;
|
|
55
56
|
submitted: boolean;
|
|
@@ -42,7 +42,7 @@ export declare class LoginNotificationDetailsComponent extends AppBaseComponent
|
|
|
42
42
|
subscriptionList: string;
|
|
43
43
|
};
|
|
44
44
|
subscriptionId: number;
|
|
45
|
-
loginNotificationTypes$: Observable<
|
|
45
|
+
loginNotificationTypes$: Observable<string>;
|
|
46
46
|
isLoading: boolean;
|
|
47
47
|
featureKeys: any[];
|
|
48
48
|
constructor(injector: Injector, adminService: AdminService, productService: ProductService);
|
package/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.d.ts
CHANGED
|
@@ -59,7 +59,6 @@ export declare class NewsletterItemDetailsComponent extends AppBaseComponent imp
|
|
|
59
59
|
featureKeys: any[];
|
|
60
60
|
userNameSyntax: string;
|
|
61
61
|
newsletterId: number;
|
|
62
|
-
editorConfig: any;
|
|
63
62
|
constructor(adminService: AdminService, tagService: TagService, productService: ProductService, injector: Injector);
|
|
64
63
|
ngOnInit(): void;
|
|
65
64
|
get f(): {
|
|
@@ -17,7 +17,9 @@ export declare class NewslettersItemsComponent extends AppBaseComponent implemen
|
|
|
17
17
|
isItemsEmpty: boolean;
|
|
18
18
|
user: User;
|
|
19
19
|
newsletterId: number;
|
|
20
|
-
selectedNewsletter:
|
|
20
|
+
selectedNewsletter: {
|
|
21
|
+
label: string;
|
|
22
|
+
};
|
|
21
23
|
isLoaded: boolean;
|
|
22
24
|
totalRecordsUnFiltered: number;
|
|
23
25
|
private page;
|
|
@@ -5,6 +5,7 @@ import { AdminService } from '@posiwise/admin-module-utils';
|
|
|
5
5
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
6
|
import { PermissionTreeComponent } from '@posiwise/shared-components';
|
|
7
7
|
import { Role } from '@posiwise/common-utilities';
|
|
8
|
+
import { PermissionResponse } from '../../../shared/interface/admin-module-shared.interface';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class RoleDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
11
|
private adminService;
|
|
@@ -15,7 +16,7 @@ export declare class RoleDetailsComponent extends AppBaseComponent implements On
|
|
|
15
16
|
role: Role;
|
|
16
17
|
activeItem: MenuItem;
|
|
17
18
|
items: MenuItem[];
|
|
18
|
-
permissions:
|
|
19
|
+
permissions: PermissionResponse;
|
|
19
20
|
subscriptionId: number;
|
|
20
21
|
constructor(adminService: AdminService, injector: Injector);
|
|
21
22
|
ngOnInit(): void;
|
|
@@ -7,6 +7,8 @@ import { AdminService } from '@posiwise/admin-module-utils';
|
|
|
7
7
|
import { PrivacyTos } from '../../../shared/interface/privacy-tos.interface';
|
|
8
8
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
9
9
|
import { ProductService } from '@posiwise/common-services';
|
|
10
|
+
import { Product } from '@posiwise/common-utilities';
|
|
11
|
+
import { SubscriptionRole, SubscriptionsRolesData } from '../../../shared/interface/admin-module-shared.interface';
|
|
10
12
|
import * as i0 from "@angular/core";
|
|
11
13
|
export declare class ProductDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
14
|
private productService;
|
|
@@ -16,7 +18,7 @@ export declare class ProductDetailsComponent extends AppBaseComponent implements
|
|
|
16
18
|
submitted: boolean;
|
|
17
19
|
id: number;
|
|
18
20
|
duplicateId: number;
|
|
19
|
-
data:
|
|
21
|
+
data: Product;
|
|
20
22
|
productsList: SelectItem[];
|
|
21
23
|
selectedProducts: SelectItem[];
|
|
22
24
|
selectedScopes: SelectItem[];
|
|
@@ -28,16 +30,15 @@ export declare class ProductDetailsComponent extends AppBaseComponent implements
|
|
|
28
30
|
}[];
|
|
29
31
|
categories: any[];
|
|
30
32
|
allTos: PrivacyTos[];
|
|
31
|
-
allRoles:
|
|
32
|
-
subscriptionsRolesData:
|
|
33
|
-
productRoles:
|
|
33
|
+
allRoles: SelectItem[];
|
|
34
|
+
subscriptionsRolesData: SubscriptionsRolesData;
|
|
35
|
+
productRoles: SubscriptionRole[];
|
|
34
36
|
slug: string;
|
|
35
37
|
fullLogo: string;
|
|
36
38
|
subscriptionId: number;
|
|
37
39
|
masterProductId: number;
|
|
38
|
-
supportedCurrency$: Observable<
|
|
39
|
-
supportedRegions$: Observable<
|
|
40
|
-
editorConfig: any;
|
|
40
|
+
supportedCurrency$: Observable<string>;
|
|
41
|
+
supportedRegions$: Observable<string>;
|
|
41
42
|
constructor(injector: Injector, productService: ProductService, modalService: NgbModal, adminService: AdminService);
|
|
42
43
|
ngOnInit(): void;
|
|
43
44
|
get f(): {
|
|
@@ -3,6 +3,7 @@ import { UntypedFormGroup } from '@angular/forms';
|
|
|
3
3
|
import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
5
5
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
+
import { AgentUser } from '../../../shared/interface/admin-module-shared.interface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class SubscriptionAgentsListComponent extends AppBaseComponent implements OnInit {
|
|
8
9
|
private adminService;
|
|
@@ -15,7 +16,7 @@ export declare class SubscriptionAgentsListComponent extends AppBaseComponent im
|
|
|
15
16
|
searchText: string;
|
|
16
17
|
newEmbass: boolean;
|
|
17
18
|
formEmbassador: UntypedFormGroup;
|
|
18
|
-
allUsers:
|
|
19
|
+
allUsers: AgentUser[];
|
|
19
20
|
filteredUsers: any[];
|
|
20
21
|
submitted: boolean;
|
|
21
22
|
subscriptionId: number;
|
package/lib/components/subscriptions/subscription-details/subscription-details.component.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { Subscription } from '@posiwise/common-utilities';
|
|
|
8
8
|
import { CommonService } from '@posiwise/common-services';
|
|
9
9
|
import { NgbDateCustomParserFormatter } from '@posiwise/common-services';
|
|
10
10
|
import { SubscriptionService } from '@posiwise/common-services';
|
|
11
|
+
import { SubscriptionRolesSubscribeData } from '../../../shared/interface/admin-module-shared.interface';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class SubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
13
14
|
private subscriptionService;
|
|
@@ -18,14 +19,14 @@ export declare class SubscriptionDetailsComponent extends AppBaseComponent imple
|
|
|
18
19
|
form: UntypedFormGroup;
|
|
19
20
|
submitted: boolean;
|
|
20
21
|
id: number;
|
|
21
|
-
allAgents:
|
|
22
|
+
allAgents: string[];
|
|
22
23
|
currentSubscriber: Subscription;
|
|
23
24
|
allRoles: any[];
|
|
24
25
|
private subscribeRoles;
|
|
25
|
-
subscriptionsRolesData:
|
|
26
|
-
organizationSizes$: Observable<
|
|
27
|
-
organizationTypes$: Observable<
|
|
28
|
-
organizationIndustries$: Observable<
|
|
26
|
+
subscriptionsRolesData: SubscriptionRolesSubscribeData;
|
|
27
|
+
organizationSizes$: Observable<string>;
|
|
28
|
+
organizationTypes$: Observable<string>;
|
|
29
|
+
organizationIndustries$: Observable<string>;
|
|
29
30
|
subscriptionId: number;
|
|
30
31
|
constructor(subscriptionService: SubscriptionService, adminService: AdminService, datePipe: DatePipe, commonService: CommonService, dateFormatService: NgbDateCustomParserFormatter, injector: Injector);
|
|
31
32
|
ngOnInit(): void;
|
|
@@ -6,6 +6,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
6
6
|
import { NgbDateCustomParserFormatter } from '@posiwise/common-services';
|
|
7
7
|
import { ProductService } from '@posiwise/common-services';
|
|
8
8
|
import { AutoComplete } from 'primeng/autocomplete';
|
|
9
|
+
import { SubscriptionProductDetails } from '../../../shared/interface/admin-module-shared.interface';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class SubscriptionProductDetailsComponent extends AppBaseComponent implements OnInit {
|
|
11
12
|
private adminService;
|
|
@@ -15,7 +16,7 @@ export declare class SubscriptionProductDetailsComponent extends AppBaseComponen
|
|
|
15
16
|
form: UntypedFormGroup;
|
|
16
17
|
submitted: boolean;
|
|
17
18
|
id: number;
|
|
18
|
-
data:
|
|
19
|
+
data: SubscriptionProductDetails;
|
|
19
20
|
routers: {
|
|
20
21
|
globalConfigDetails: string;
|
|
21
22
|
adminCredentialsDetails: string;
|
|
@@ -6,13 +6,14 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
6
6
|
import { Plotly } from '@posiwise/common-utilities';
|
|
7
7
|
import { User } from '@posiwise/common-utilities';
|
|
8
8
|
import { CommonService } from '@posiwise/common-services';
|
|
9
|
+
import { CommentContext } from 'libs/admin-module/src/lib/shared/interface/admin-module-shared.interface';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class SubscriptionInsightNpsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
12
|
private adminService;
|
|
12
13
|
private commonService;
|
|
13
14
|
private modalService;
|
|
14
15
|
private cdr;
|
|
15
|
-
content: TemplateRef<
|
|
16
|
+
content: TemplateRef<CommentContext>;
|
|
16
17
|
graph: Plotly.Figure;
|
|
17
18
|
totalRecords: number;
|
|
18
19
|
feedbacks: any[];
|
package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
7
7
|
import { CommonService } from '@posiwise/common-services';
|
|
8
8
|
import { ProductService } from '@posiwise/common-services';
|
|
9
9
|
import { AutoComplete } from 'primeng/autocomplete';
|
|
10
|
+
import { FeatureKey } from 'libs/admin-module/src/lib/shared/interface/newsletter.interface';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class InviteUsersComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
12
13
|
private adminService;
|
|
@@ -20,10 +21,13 @@ export declare class InviteUsersComponent extends AppBaseComponent implements On
|
|
|
20
21
|
subscriptions: any[];
|
|
21
22
|
form: UntypedFormGroup;
|
|
22
23
|
products: any[];
|
|
23
|
-
organizationSizes$: Observable<
|
|
24
|
-
organizationTypes$: Observable<
|
|
25
|
-
organizationIndustries$: Observable<
|
|
26
|
-
searchOptions:
|
|
24
|
+
organizationSizes$: Observable<FeatureKey[]>;
|
|
25
|
+
organizationTypes$: Observable<FeatureKey[]>;
|
|
26
|
+
organizationIndustries$: Observable<FeatureKey[]>;
|
|
27
|
+
searchOptions: {
|
|
28
|
+
id: unknown;
|
|
29
|
+
label: unknown;
|
|
30
|
+
}[];
|
|
27
31
|
filterByFeatureKeys: any[];
|
|
28
32
|
isLoaded: boolean;
|
|
29
33
|
private page;
|
|
@@ -70,8 +74,8 @@ export declare class InviteUsersComponent extends AppBaseComponent implements On
|
|
|
70
74
|
};
|
|
71
75
|
unitsText: string;
|
|
72
76
|
buttonBusy: boolean;
|
|
73
|
-
selectedFeatureKeys:
|
|
74
|
-
subscriptionInsights:
|
|
77
|
+
selectedFeatureKeys: FeatureKey[];
|
|
78
|
+
subscriptionInsights: FeatureKey[];
|
|
75
79
|
refProduct: AutoComplete;
|
|
76
80
|
constructor(adminService: AdminService, fb: UntypedFormBuilder, productService: ProductService, commonService: CommonService, injector: Injector, cdr: ChangeDetectorRef);
|
|
77
81
|
ngOnInit(): void;
|
|
@@ -7,6 +7,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
7
7
|
import { CommonService } from '@posiwise/common-services';
|
|
8
8
|
import { ProductService } from '@posiwise/common-services';
|
|
9
9
|
import { AutoComplete } from 'primeng/autocomplete';
|
|
10
|
+
import { FeatureKey } from '../../../shared/interface/newsletter.interface';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class SubscriptionsListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
12
13
|
private adminService;
|
|
@@ -21,10 +22,13 @@ export declare class SubscriptionsListComponent extends AppBaseComponent impleme
|
|
|
21
22
|
form: UntypedFormGroup;
|
|
22
23
|
showInviteForm: boolean;
|
|
23
24
|
products: any[];
|
|
24
|
-
organizationSizes$: Observable<
|
|
25
|
-
organizationTypes$: Observable<
|
|
26
|
-
organizationIndustries$: Observable<
|
|
27
|
-
searchOptions:
|
|
25
|
+
organizationSizes$: Observable<FeatureKey[]>;
|
|
26
|
+
organizationTypes$: Observable<FeatureKey[]>;
|
|
27
|
+
organizationIndustries$: Observable<FeatureKey[]>;
|
|
28
|
+
searchOptions: {
|
|
29
|
+
id: unknown;
|
|
30
|
+
label: unknown;
|
|
31
|
+
}[];
|
|
28
32
|
filterByFeatureKeys: any[];
|
|
29
33
|
isLoaded: boolean;
|
|
30
34
|
private page;
|
|
@@ -71,8 +75,8 @@ export declare class SubscriptionsListComponent extends AppBaseComponent impleme
|
|
|
71
75
|
};
|
|
72
76
|
unitsText: string;
|
|
73
77
|
buttonBusy: boolean;
|
|
74
|
-
selectedFeatureKeys:
|
|
75
|
-
subscriptionInsights:
|
|
78
|
+
selectedFeatureKeys: FeatureKey[];
|
|
79
|
+
subscriptionInsights: FeatureKey[];
|
|
76
80
|
refProduct: AutoComplete;
|
|
77
81
|
constructor(adminService: AdminService, fb: UntypedFormBuilder, productService: ProductService, commonService: CommonService, injector: Injector, cdr: ChangeDetectorRef);
|
|
78
82
|
ngOnInit(): void;
|
|
@@ -3,6 +3,7 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
3
3
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import { TagService, CustomToastService } from '@posiwise/common-services';
|
|
6
|
+
import { CategoryModel } from '../../../shared/interface/admin-module-shared.interface';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class TagsCategoryComponent extends AppBaseComponent implements OnDestroy, AfterViewChecked {
|
|
8
9
|
private tagService;
|
|
@@ -17,7 +18,7 @@ export declare class TagsCategoryComponent extends AppBaseComponent implements O
|
|
|
17
18
|
totalTagRecords: number;
|
|
18
19
|
loading: boolean;
|
|
19
20
|
isLoaded: boolean;
|
|
20
|
-
categoryModel:
|
|
21
|
+
categoryModel: CategoryModel;
|
|
21
22
|
private tagModel;
|
|
22
23
|
private page;
|
|
23
24
|
initialize(): void;
|
|
@@ -4,6 +4,7 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
4
4
|
import { LazyLoadEvent } from 'primeng/api';
|
|
5
5
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
6
|
import { TagService } from '@posiwise/common-services';
|
|
7
|
+
import { Tag } from '../../../shared/interface/newsletter.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class TagsListComponent extends AppBaseComponent implements OnDestroy, AfterViewChecked {
|
|
9
10
|
private modalService;
|
|
@@ -12,7 +13,7 @@ export declare class TagsListComponent extends AppBaseComponent implements OnDes
|
|
|
12
13
|
form: UntypedFormGroup;
|
|
13
14
|
tagCategories: any[];
|
|
14
15
|
totalCategoryRecords: number;
|
|
15
|
-
tags:
|
|
16
|
+
tags: Tag[];
|
|
16
17
|
totalTagRecords: number;
|
|
17
18
|
loading: boolean;
|
|
18
19
|
isLoaded: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { LazyLoadEvent, SelectItem } from 'primeng/api';
|
|
3
|
-
import { AhoyEventResponse } from '../../../shared/interface/tracking.interface';
|
|
3
|
+
import { AhoyEvent, AhoyEventResponse } from '../../../shared/interface/tracking.interface';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
5
|
import { AhoyService } from '@posiwise/common-services';
|
|
6
6
|
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
@@ -11,7 +11,7 @@ export declare class AhoyEventsComponent extends AppBaseComponent implements OnI
|
|
|
11
11
|
private modalService;
|
|
12
12
|
private cdr;
|
|
13
13
|
private adminDataService;
|
|
14
|
-
ahoyEvents:
|
|
14
|
+
ahoyEvents: AhoyEvent;
|
|
15
15
|
data: AhoyEventResponse;
|
|
16
16
|
loading: boolean;
|
|
17
17
|
isLoaded: boolean;
|
|
@@ -22,12 +22,12 @@ export declare class AhoyEventsComponent extends AppBaseComponent implements OnI
|
|
|
22
22
|
defaultSortOrder: number;
|
|
23
23
|
microServices: any[];
|
|
24
24
|
selectedMicroService: string;
|
|
25
|
-
activeObject:
|
|
26
|
-
startDate:
|
|
27
|
-
endDate:
|
|
25
|
+
activeObject: AhoyEvent;
|
|
26
|
+
startDate: string;
|
|
27
|
+
endDate: string;
|
|
28
28
|
selectedOption: SelectItem[];
|
|
29
29
|
subscriptionId: number;
|
|
30
|
-
filterSource:
|
|
30
|
+
filterSource: string[];
|
|
31
31
|
criteria: any[];
|
|
32
32
|
searchOptions: any[];
|
|
33
33
|
constructor(injector: Injector, ahoyService: AhoyService, modalService: NgbModal, cdr: ChangeDetectorRef, adminDataService: AdminDataService);
|
|
@@ -17,11 +17,11 @@ export declare class AhoyMessagesComponent extends AppBaseComponent implements O
|
|
|
17
17
|
private page;
|
|
18
18
|
microServices: any[];
|
|
19
19
|
selectedMicroService: string;
|
|
20
|
-
startDate:
|
|
21
|
-
endDate:
|
|
20
|
+
startDate: string;
|
|
21
|
+
endDate: string;
|
|
22
22
|
selectedOption: SelectItem[];
|
|
23
23
|
subscriptionId: number;
|
|
24
|
-
filterSource:
|
|
24
|
+
filterSource: string[];
|
|
25
25
|
criteria: any[];
|
|
26
26
|
searchOptions: any[];
|
|
27
27
|
constructor(injector: Injector, ahoyService: AhoyService, cdr: ChangeDetectorRef, adminDataService: AdminDataService);
|
|
@@ -17,11 +17,11 @@ export declare class AhoyVisitsComponent extends AppBaseComponent implements OnI
|
|
|
17
17
|
private page;
|
|
18
18
|
microServices: any[];
|
|
19
19
|
selectedMicroService: string;
|
|
20
|
-
startDate:
|
|
21
|
-
endDate:
|
|
20
|
+
startDate: string;
|
|
21
|
+
endDate: string;
|
|
22
22
|
selectedOption: SelectItem[];
|
|
23
23
|
subscriptionId: number;
|
|
24
|
-
filterSource:
|
|
24
|
+
filterSource: string[];
|
|
25
25
|
criteria: any[];
|
|
26
26
|
searchOptions: any[];
|
|
27
27
|
constructor(injector: Injector, ahoyService: AhoyService, cdr: ChangeDetectorRef, adminDataService: AdminDataService);
|
|
@@ -18,13 +18,12 @@ export declare class EventsComponent extends AppBaseComponent implements OnInit,
|
|
|
18
18
|
private page;
|
|
19
19
|
microServices: any[];
|
|
20
20
|
selectedMicroService: string;
|
|
21
|
-
startDate:
|
|
22
|
-
endDate:
|
|
21
|
+
startDate: string;
|
|
22
|
+
endDate: string;
|
|
23
23
|
selectedOption: SelectItem[];
|
|
24
24
|
subscriptionId: number;
|
|
25
25
|
users: User[];
|
|
26
26
|
totalRecords: number;
|
|
27
|
-
filterSource: any;
|
|
28
27
|
criteria: any[];
|
|
29
28
|
searchOptions: any[];
|
|
30
29
|
constructor(injector: Injector, ahoyService: AhoyService, cdr: ChangeDetectorRef, adminDataService: AdminDataService);
|
|
@@ -22,11 +22,11 @@ export declare class VersionsComponent extends AppBaseComponent implements OnIni
|
|
|
22
22
|
microServices: any[];
|
|
23
23
|
selectedMicroService: string;
|
|
24
24
|
events: string[];
|
|
25
|
-
startDate:
|
|
26
|
-
endDate:
|
|
25
|
+
startDate: string;
|
|
26
|
+
endDate: string;
|
|
27
27
|
selectedOption: SelectItem[];
|
|
28
28
|
subscriptionId: number;
|
|
29
|
-
filterSource:
|
|
29
|
+
filterSource: string[];
|
|
30
30
|
criteria: any[];
|
|
31
31
|
searchOptions: any[];
|
|
32
32
|
constructor(injector: Injector, ahoyService: AhoyService, modalService: NgbModal, cdr: ChangeDetectorRef, adminDataService: AdminDataService);
|
|
@@ -73,7 +73,7 @@ export declare class UserListComponent extends AppBaseComponent implements OnIni
|
|
|
73
73
|
chatPermission: string;
|
|
74
74
|
userToImpersonate: User;
|
|
75
75
|
remove2faUserId: number;
|
|
76
|
-
filterSource:
|
|
76
|
+
filterSource: string[];
|
|
77
77
|
criteria: any[];
|
|
78
78
|
constructor(adminService: AdminService, toaster: CustomToastService, productService: ProductService, injector: Injector, authService: AuthService, cdr: ChangeDetectorRef, windowService: WindowService);
|
|
79
79
|
ngOnInit(): void;
|
|
@@ -5,7 +5,7 @@ export declare class UserTabComponent {
|
|
|
5
5
|
private permission;
|
|
6
6
|
constructor(permission: PermissionService);
|
|
7
7
|
items: MenuItem[];
|
|
8
|
-
view:
|
|
8
|
+
view: string[];
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserTabComponent, never>;
|
|
10
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserTabComponent, "pw-users-management", never, {}, {}, never, never, false, never>;
|
|
11
11
|
}
|