@posiwise/admin-module 0.0.160 → 0.0.162
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/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.mjs +198 -102
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-details.component.mjs +2 -2
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-integrations/domain-config-integrations.component.mjs +3 -2
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-interface/domain-config-interface.component.mjs +3 -2
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-organization/domain-config-organization.component.mjs +3 -2
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-security/domain-config-security.component.mjs +3 -2
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-social/domain-config-social.component.mjs +3 -2
- package/esm2022/lib/components/faqs/add-faq/add-faq.component.mjs +3 -3
- package/esm2022/lib/components/faqs/edit-faq/edit-faq.component.mjs +3 -3
- package/esm2022/lib/components/faqs/faqs-list/faqs-list.component.mjs +4 -4
- package/esm2022/lib/components/login-notifications/login-notification-details/login-notification-details.component.mjs +2 -2
- 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 +57 -28
- package/esm2022/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.mjs +5 -5
- package/esm2022/lib/components/subscriptions/subscription-agents/subscription-agents.component.mjs +4 -4
- package/esm2022/lib/components/subscriptions/subscription-agents-list/subscription-agents-list.component.mjs +2 -2
- package/esm2022/lib/components/subscriptions/subscription-details/subscription-details.component.mjs +4 -4
- package/esm2022/lib/components/subscriptions/subscription-product-details/subscription-product-details.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscription-products/subscription-products.component.mjs +2 -2
- package/esm2022/lib/components/subscriptions/subscription-users/add-members/add-members.component.mjs +16 -5
- package/esm2022/lib/components/subscriptions/subscription-users/subscription-users.component.mjs +38 -8
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-price/subscription-insight-average-price.component.mjs +2 -7
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-user/subscription-insight-average-user.component.mjs +2 -7
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-nps/subscription-insight-nps.component.mjs +2 -7
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-product-session/subscription-insight-product-session.component.mjs +2 -7
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-user-session/subscription-insight-user-session.component.mjs +2 -7
- package/esm2022/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.mjs +6 -6
- package/esm2022/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.mjs +11 -10
- package/esm2022/lib/components/tags/tags-details/tags-details.component.mjs +15 -5
- package/esm2022/lib/components/tags/tags-list/tags-list.component.mjs +4 -4
- package/esm2022/lib/components/tracking/ahoy-events/ahoy-events.component.mjs +5 -6
- package/esm2022/lib/components/tracking/ahoy-messages/ahoy-messages.component.mjs +5 -6
- package/esm2022/lib/components/tracking/ahoy-visits/ahoy-visits.component.mjs +4 -3
- package/esm2022/lib/components/tracking/events/events.component.mjs +4 -3
- package/esm2022/lib/components/tracking/versions/versions.component.mjs +3 -3
- package/esm2022/lib/components/users/user-details/user-details.component.mjs +6 -3
- package/esm2022/lib/components/users/users-list/users-list.component.mjs +11 -11
- package/fesm2022/posiwise-admin-module.mjs +399 -247
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.d.ts +9 -0
- package/lib/components/resources/resources-admin-details/resources-admin-details.component.d.ts +14 -1
- package/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.d.ts +1 -1
- package/lib/components/subscriptions/subscription-users/add-members/add-members.component.d.ts +2 -1
- package/lib/components/subscriptions/subscription-users/subscription-users.component.d.ts +3 -0
- package/lib/components/tags/tags-details/tags-details.component.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
1
2
|
import { AfterViewInit, Injector, OnInit, QueryList } from '@angular/core';
|
|
2
3
|
import { FormArray, FormBuilder, FormGroup, UntypedFormGroup } from '@angular/forms';
|
|
3
4
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
@@ -75,6 +76,9 @@ export declare class DomainConfigBuildComponent extends AppBaseComponent impleme
|
|
|
75
76
|
addBookDemoLink(): void;
|
|
76
77
|
get integrations(): FormGroup;
|
|
77
78
|
get integrationsItems(): FormArray;
|
|
79
|
+
get abTests(): FormArray;
|
|
80
|
+
addAbTest(): void;
|
|
81
|
+
removeAbTest(index: number): void;
|
|
78
82
|
addIntegrationItem(): void;
|
|
79
83
|
get guidesItems(): FormArray;
|
|
80
84
|
addGuideItem(): void;
|
|
@@ -138,6 +142,11 @@ export declare class DomainConfigBuildComponent extends AppBaseComponent impleme
|
|
|
138
142
|
searchProduct(event: any): void;
|
|
139
143
|
private groupProducts;
|
|
140
144
|
onSaveFile(event: any): void;
|
|
145
|
+
dropFooterSubtitles(i: number, event: CdkDragDrop<FormGroup[]>): void;
|
|
146
|
+
dropNavbarSubtitles(i: number, event: CdkDragDrop<FormGroup[]>): void;
|
|
147
|
+
dropBookDemoLinks(event: CdkDragDrop<FormGroup[]>): void;
|
|
148
|
+
dropContactUsOptions(questionIndex: number, event: CdkDragDrop<FormGroup[]>): void;
|
|
149
|
+
dropItems(control: FormArray, event: CdkDragDrop<FormGroup[]>): void;
|
|
141
150
|
onSave(): void;
|
|
142
151
|
static ɵfac: i0.ɵɵFactoryDeclaration<DomainConfigBuildComponent, never>;
|
|
143
152
|
static ɵcmp: i0.ɵɵComponentDeclaration<DomainConfigBuildComponent, "pw-domain-config-build", never, {}, {}, never, never, false, never>;
|
package/lib/components/resources/resources-admin-details/resources-admin-details.component.d.ts
CHANGED
|
@@ -42,7 +42,6 @@ export declare class ResourceAdminDetailsComponent extends AppBaseComponent impl
|
|
|
42
42
|
isLoading: boolean;
|
|
43
43
|
isBlogAdmin: boolean;
|
|
44
44
|
editorConfig: any;
|
|
45
|
-
filterData: any;
|
|
46
45
|
routers: {
|
|
47
46
|
globalConfigDetails: string;
|
|
48
47
|
adminCredentialsDetails: string;
|
|
@@ -81,6 +80,10 @@ export declare class ResourceAdminDetailsComponent extends AppBaseComponent impl
|
|
|
81
80
|
posts: string;
|
|
82
81
|
resourcesList: string;
|
|
83
82
|
};
|
|
83
|
+
filterData: {
|
|
84
|
+
source: string;
|
|
85
|
+
value: number;
|
|
86
|
+
};
|
|
84
87
|
constructor(modalService: NgbModal, adminService: AdminService, injector: Injector, tagService: TagService);
|
|
85
88
|
ngAfterViewInit(): void;
|
|
86
89
|
ngOnInit(): void;
|
|
@@ -100,6 +103,16 @@ export declare class ResourceAdminDetailsComponent extends AppBaseComponent impl
|
|
|
100
103
|
onAdd(): void;
|
|
101
104
|
getAspectRatio(): number;
|
|
102
105
|
onUpdate(): void;
|
|
106
|
+
private handleRectangularPicture;
|
|
107
|
+
private handlePicture;
|
|
108
|
+
private handlePublishedAt;
|
|
109
|
+
private handleAcceptedAt;
|
|
110
|
+
private handleOptionalFields;
|
|
111
|
+
private handleRemovals;
|
|
112
|
+
updatePost(data: any): void;
|
|
113
|
+
navigateToResourceList(): void;
|
|
114
|
+
deleteCoverImage(): void;
|
|
115
|
+
deleteRectangularImage(): void;
|
|
103
116
|
private getPostTags;
|
|
104
117
|
search(event: any): void;
|
|
105
118
|
postTags(id: number | string): void;
|
package/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export declare class ResourcesIndexComponent extends AppBaseComponent implements
|
|
|
70
70
|
ngAfterViewChecked(): void;
|
|
71
71
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
72
72
|
private getPosts;
|
|
73
|
-
|
|
73
|
+
navigateToResourceDetails(item: ResourcePost): void;
|
|
74
74
|
onDeletePost(item: ResourcePost): void;
|
|
75
75
|
ngOnDestroy(): void;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourcesIndexComponent, never>;
|
package/lib/components/subscriptions/subscription-users/add-members/add-members.component.d.ts
CHANGED
|
@@ -18,11 +18,12 @@ export declare class AddMembersComponent extends AppBaseComponent implements OnI
|
|
|
18
18
|
dragOver: boolean;
|
|
19
19
|
options: UploaderOptions;
|
|
20
20
|
humanizeBytes: typeof humanizeBytes;
|
|
21
|
-
private token;
|
|
21
|
+
private readonly token;
|
|
22
22
|
id: number;
|
|
23
23
|
page: number;
|
|
24
24
|
constructor(injector: Injector, formBuilder: UntypedFormBuilder, subscriptionService: SubscriptionService, authService: AuthService);
|
|
25
25
|
ngOnInit(): void;
|
|
26
|
+
get emailsFormArrayElements(): UntypedFormArray;
|
|
26
27
|
private createItem;
|
|
27
28
|
addItem(): void;
|
|
28
29
|
private getSubscriptionDetails;
|
|
@@ -19,6 +19,7 @@ export declare class SubscriptionUsersComponent extends AppBaseComponent impleme
|
|
|
19
19
|
private userToDelete;
|
|
20
20
|
id: number;
|
|
21
21
|
subscriptionMembers: any;
|
|
22
|
+
subscriptionAdmins: any;
|
|
22
23
|
totalRecords: number;
|
|
23
24
|
isLoaded: boolean;
|
|
24
25
|
loading: boolean;
|
|
@@ -70,10 +71,12 @@ export declare class SubscriptionUsersComponent extends AppBaseComponent impleme
|
|
|
70
71
|
hasAccess: boolean;
|
|
71
72
|
isAddEnabled: boolean;
|
|
72
73
|
user: any;
|
|
74
|
+
isUserSubscriptionSuperAdmin: boolean;
|
|
73
75
|
constructor(subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef, authService: AuthService, windowService: WindowService, adminService: AdminService, toaster: CustomToastService);
|
|
74
76
|
ngOnInit(): void;
|
|
75
77
|
ngAfterViewChecked(): void;
|
|
76
78
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
79
|
+
makeAdmin(user: any, value: boolean): void;
|
|
77
80
|
onImpersonate(user: User): void;
|
|
78
81
|
onChangeOwner(user: User): void;
|
|
79
82
|
onUserImpersonation(_event: any): void;
|
|
@@ -6,8 +6,8 @@ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class TagDetailsComponent extends AppBaseComponent implements OnInit {
|
|
8
8
|
private readonly tagService;
|
|
9
|
-
private cdRef;
|
|
10
|
-
private modalService;
|
|
9
|
+
private readonly cdRef;
|
|
10
|
+
private readonly modalService;
|
|
11
11
|
form: UntypedFormGroup;
|
|
12
12
|
tagTypes: any[];
|
|
13
13
|
tagCategories: any[];
|
|
@@ -23,6 +23,8 @@ export declare class TagDetailsComponent extends AppBaseComponent implements OnI
|
|
|
23
23
|
onImageSelected(dataUrl: string): void;
|
|
24
24
|
dataURLtoBlob(dataUrl: string): Blob;
|
|
25
25
|
handleImageError(event: Event, fallbackPath: string): void;
|
|
26
|
+
deleteTagImage(): void;
|
|
27
|
+
private handleRemovals;
|
|
26
28
|
patchForm(data: any): void;
|
|
27
29
|
onSave(): void;
|
|
28
30
|
private getTagTypes;
|