@posiwise/admin-module 0.0.151 → 0.0.153
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 +20 -10
- package/esm2022/lib/admin.module.mjs +4 -1
- package/esm2022/lib/components/config/global-config-details/global-config-details.component.mjs +7 -4
- package/esm2022/lib/components/config/global-config-list/global-config-list.component.mjs +1 -1
- package/esm2022/lib/components/contact-us/contact-us-list/contact-us-list.component.mjs +3 -3
- package/esm2022/lib/components/credentials/credentials/credentials.component.mjs +1 -1
- package/esm2022/lib/components/credentials/subscription-credentials-details/subscription-credentials-details.component.mjs +3 -3
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.mjs +135 -21
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-core/domain-config-core.component.mjs +1 -2
- package/esm2022/lib/components/domain-config/domain-config-list/domain-config-list.component.mjs +1 -1
- package/esm2022/lib/components/faqs/faqs-list/faqs-list.component.mjs +1 -1
- package/esm2022/lib/components/login-notifications/login-notification-details/login-notification-details.component.mjs +3 -3
- 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 +1 -1
- package/esm2022/lib/components/newsletters/newsletters-insight/newsletters-insight.component.mjs +3 -3
- package/esm2022/lib/components/newsletters/newsletters-items/newsletters-items.component.mjs +1 -1
- package/esm2022/lib/components/newsletters/newsletters-list/newsletters-list.component.mjs +1 -1
- package/esm2022/lib/components/permissions/permissions-list/permissions-list.component.mjs +1 -1
- package/esm2022/lib/components/permissions/roles-list/roles-list.component.mjs +1 -1
- package/esm2022/lib/components/products/product-details/product-details.component.mjs +1 -1
- package/esm2022/lib/components/products/products-list/products-list.component.mjs +1 -1
- package/esm2022/lib/components/resources/resources-admin-details/resources-admin-details.component.mjs +67 -6
- package/esm2022/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.mjs +51 -20
- package/esm2022/lib/components/resources/resources-admin-tabs/resources-insight/resources-insight.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscription-details/subscription-details.component.mjs +28 -6
- package/esm2022/lib/components/subscriptions/subscription-products/subscription-products.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscription-users/subscription-users.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-price/subscription-insight-average-price.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-user/subscription-insight-average-user.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-churn/subscription-insight-churn.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-nps/subscription-insight-nps.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-product-session/subscription-insight-product-session.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-revenue/subscription-insight-revenue.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-user-session/subscription-insight-user-session.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscriptions-insight.component.mjs +3 -3
- package/esm2022/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.mjs +1 -1
- package/esm2022/lib/components/tags/tags-details/tags-details.component.mjs +135 -0
- package/esm2022/lib/components/tags/tags-list/tags-list.component.mjs +18 -45
- package/esm2022/lib/components/tips/tips-list/tips-list.component.mjs +1 -1
- package/esm2022/lib/components/tracking/versions/versions.component.mjs +1 -1
- package/esm2022/lib/components/users/users-insight/users-insight.component.mjs +3 -3
- package/esm2022/lib/components/users/users-list/users-list.component.mjs +3 -3
- package/esm2022/lib/shared/interface/domain-config.interface.mjs +1 -1
- package/esm2022/lib/shared/routers/routers.mjs +3 -1
- package/fesm2022/posiwise-admin-module.mjs +518 -188
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/admin.module.d.ts +72 -71
- package/lib/components/TOS/terms-of-service/terms-of-service.component.d.ts +2 -0
- package/lib/components/config/global-config-details/global-config-details.component.d.ts +1 -1
- package/lib/components/config/global-config-list/global-config-list.component.d.ts +2 -0
- package/lib/components/credentials/credentials/credentials.component.d.ts +2 -0
- package/lib/components/credentials/subscription-credentials/subscription-credentials.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.d.ts +16 -2
- package/lib/components/domain-config/domain-config-details/domain-config-core/domain-config-core.component.d.ts +4 -2
- package/lib/components/domain-config/domain-config-details/domain-config-details.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-details/domain-config-integrations/domain-config-integrations.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-details/domain-config-interface/domain-config-interface.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-details/domain-config-organization/domain-config-organization.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-details/domain-config-security/domain-config-security.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-details/domain-config-social/domain-config-social.component.d.ts +2 -0
- package/lib/components/domain-config/domain-config-list/domain-config-list.component.d.ts +2 -0
- package/lib/components/faqs/add-faq/add-faq.component.d.ts +2 -0
- package/lib/components/faqs/edit-faq/edit-faq.component.d.ts +2 -0
- package/lib/components/faqs/faqs-list/faqs-list.component.d.ts +2 -0
- package/lib/components/feedback-questions/feedback-questions-details/feedback-questions-details.component.d.ts +2 -0
- package/lib/components/feedback-questions/feedback-questions-list/feedback-questions-list.component.d.ts +2 -0
- package/lib/components/incidents/add-edit-incident/add-edit-incident.component.d.ts +2 -0
- package/lib/components/incidents/incidents-list/incidents-list.component.d.ts +2 -0
- package/lib/components/login-notifications/login-notification-details/login-notification-details.component.d.ts +2 -0
- package/lib/components/login-notifications/login-notifications-list/login-notifications-list.component.d.ts +2 -0
- package/lib/components/mailer/mailer-details/mailer-details.component.d.ts +2 -0
- package/lib/components/mailer/mailer-list/mailer-list.component.d.ts +2 -0
- package/lib/components/newsletters/newsletter-details/newsletter-details.component.d.ts +2 -0
- package/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.d.ts +2 -0
- package/lib/components/newsletters/newsletters-items/newsletters-items-view-details/newsletters-items-view-details.component.d.ts +2 -0
- package/lib/components/newsletters/newsletters-items/newsletters-items.component.d.ts +2 -0
- package/lib/components/newsletters/newsletters-list/newsletters-list.component.d.ts +2 -0
- package/lib/components/permissions/permissions-details/permissions-details.component.d.ts +2 -0
- package/lib/components/permissions/permissions-list/permissions-list.component.d.ts +2 -0
- package/lib/components/permissions/roles-list/roles-list.component.d.ts +2 -0
- package/lib/components/products/products-list/products-list.component.d.ts +2 -0
- package/lib/components/resources/resources-admin-details/resources-admin-details.component.d.ts +8 -0
- package/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.d.ts +9 -1
- package/lib/components/subscriptions/subscription-details/subscription-details.component.d.ts +5 -3
- package/lib/components/subscriptions/subscription-product-details/subscription-product-details.component.d.ts +2 -0
- package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts +2 -0
- package/lib/components/subscriptions/subscription-users/subscription-users.component.d.ts +2 -0
- package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts +2 -0
- package/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +2 -0
- package/lib/components/tags/tags-details/tags-details.component.d.ts +32 -0
- package/lib/components/tags/tags-list/tags-list.component.d.ts +39 -1
- package/lib/components/tips/tips-list/tips-list.component.d.ts +2 -0
- package/lib/components/users/users-list/users-list.component.d.ts +2 -0
- package/lib/shared/interface/domain-config.interface.d.ts +17 -0
- package/lib/shared/routers/routers.d.ts +2 -0
- package/package.json +1 -1
package/lib/components/resources/resources-admin-tabs/resources-index/resources-index.component.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, 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
|
+
import { TagService } from '@posiwise/common-services';
|
|
4
5
|
import { ResourcePost, Subscription } from '@posiwise/common-utilities';
|
|
5
6
|
import { LazyLoadEvent } from 'primeng/api';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ResourcesIndexComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
9
|
private readonly adminService;
|
|
10
|
+
private readonly tagService;
|
|
9
11
|
private readonly cdr;
|
|
10
12
|
private readonly postsTotal;
|
|
11
13
|
private page;
|
|
@@ -16,6 +18,8 @@ export declare class ResourcesIndexComponent extends AppBaseComponent implements
|
|
|
16
18
|
};
|
|
17
19
|
loading: boolean;
|
|
18
20
|
isLoaded: boolean;
|
|
21
|
+
tagOptions: any[];
|
|
22
|
+
selectedTags: string[];
|
|
19
23
|
searchTextItems: string;
|
|
20
24
|
subscriptionId: any;
|
|
21
25
|
subscription: Subscription;
|
|
@@ -52,13 +56,17 @@ export declare class ResourcesIndexComponent extends AppBaseComponent implements
|
|
|
52
56
|
inviteUsers: string;
|
|
53
57
|
subscriptionList: string;
|
|
54
58
|
createResource: string;
|
|
59
|
+
createTag: string;
|
|
60
|
+
tags: string;
|
|
55
61
|
posts: string;
|
|
56
62
|
resourcesList: string;
|
|
57
63
|
};
|
|
58
64
|
blogPermission: string;
|
|
59
65
|
isBlogAdmin: string;
|
|
60
|
-
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
66
|
+
constructor(adminService: AdminService, tagService: TagService, injector: Injector, cdr: ChangeDetectorRef);
|
|
61
67
|
ngOnInit(): void;
|
|
68
|
+
getTags(): void;
|
|
69
|
+
onTagChange(): void;
|
|
62
70
|
ngAfterViewChecked(): void;
|
|
63
71
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
64
72
|
private getPosts;
|
package/lib/components/subscriptions/subscription-details/subscription-details.component.d.ts
CHANGED
|
@@ -15,9 +15,11 @@ export declare class SubscriptionDetailsComponent extends AppBaseComponent imple
|
|
|
15
15
|
private readonly commonService;
|
|
16
16
|
private readonly dateFormatService;
|
|
17
17
|
private subscribeRoles;
|
|
18
|
-
organizationSizes$: Observable<
|
|
19
|
-
organizationTypes$: Observable<
|
|
20
|
-
organizationIndustries$: Observable<
|
|
18
|
+
organizationSizes$: Observable<unknown>;
|
|
19
|
+
organizationTypes$: Observable<unknown>;
|
|
20
|
+
organizationIndustries$: Observable<{
|
|
21
|
+
organization_industries: unknown[];
|
|
22
|
+
}>;
|
|
21
23
|
form: UntypedFormGroup;
|
|
22
24
|
id: number;
|
|
23
25
|
submitted: boolean;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { TagService } from '@posiwise/common-services';
|
|
5
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TagDetailsComponent extends AppBaseComponent implements OnInit {
|
|
8
|
+
private readonly tagService;
|
|
9
|
+
private cdRef;
|
|
10
|
+
private modalService;
|
|
11
|
+
form: UntypedFormGroup;
|
|
12
|
+
tagTypes: any[];
|
|
13
|
+
tagCategories: any[];
|
|
14
|
+
buttonBusy: boolean;
|
|
15
|
+
subscriptionId: number;
|
|
16
|
+
currentTag: any;
|
|
17
|
+
image: string | null;
|
|
18
|
+
file: File;
|
|
19
|
+
constructor(injector: Injector, tagService: TagService, cdRef: ChangeDetectorRef, modalService: NgbModal);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
openModal(modalRef: any): void;
|
|
22
|
+
onClose(): void;
|
|
23
|
+
onImageSelected(dataUrl: string): void;
|
|
24
|
+
dataURLtoBlob(dataUrl: string): Blob;
|
|
25
|
+
handleImageError(event: Event, fallbackPath: string): void;
|
|
26
|
+
patchForm(data: any): void;
|
|
27
|
+
onSave(): void;
|
|
28
|
+
private getTagTypes;
|
|
29
|
+
private getTagCategories;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagDetailsComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagDetailsComponent, "pw-tag-details", never, {}, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -24,15 +24,53 @@ export declare class TagsListComponent extends AppBaseComponent implements OnDes
|
|
|
24
24
|
tagTypes: any[];
|
|
25
25
|
tagCategoryNames: any[];
|
|
26
26
|
totalTagRecordsUnFilter: number;
|
|
27
|
+
routers: {
|
|
28
|
+
globalConfigDetails: string;
|
|
29
|
+
adminCredentialsDetails: string;
|
|
30
|
+
subscriptionCredentialDetails: string;
|
|
31
|
+
newsletter: string;
|
|
32
|
+
mailerDetails: string;
|
|
33
|
+
newsletterItemDetails: string;
|
|
34
|
+
newsletterItemView: string;
|
|
35
|
+
newslettersUserList: string;
|
|
36
|
+
newsletterDetails: string;
|
|
37
|
+
permissionsList: string;
|
|
38
|
+
permissionsDetails: string;
|
|
39
|
+
rolesDetails: string;
|
|
40
|
+
productDetails: string;
|
|
41
|
+
productsUserList: string;
|
|
42
|
+
feedbackQuestions: string;
|
|
43
|
+
feedbackQuestionsDetails: string;
|
|
44
|
+
subscriptionDetails: string;
|
|
45
|
+
subscriptionProductDetails: string;
|
|
46
|
+
tipsDetails: string;
|
|
47
|
+
tosAndPrivacyDetails: string;
|
|
48
|
+
tosAndPrivacyView: string;
|
|
49
|
+
usersDetails: string;
|
|
50
|
+
domainConfig: string;
|
|
51
|
+
domainConfigDetails: string;
|
|
52
|
+
loginNotifications: string;
|
|
53
|
+
incidentConfig: string;
|
|
54
|
+
incidentDetails: string;
|
|
55
|
+
faqConfig: string;
|
|
56
|
+
faqDetails: string;
|
|
57
|
+
inviteUsers: string;
|
|
58
|
+
subscriptionList: string;
|
|
59
|
+
createResource: string;
|
|
60
|
+
createTag: string;
|
|
61
|
+
tags: string;
|
|
62
|
+
posts: string;
|
|
63
|
+
resourcesList: string;
|
|
64
|
+
};
|
|
27
65
|
constructor(injector: Injector, modalService: NgbModal, tagService: TagService, cdr: ChangeDetectorRef);
|
|
28
66
|
ngAfterViewChecked(): void;
|
|
29
67
|
ngOnInit(): void;
|
|
68
|
+
navigateToEdit(item: any): void;
|
|
30
69
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
31
70
|
private getTags;
|
|
32
71
|
private getTagTypes;
|
|
33
72
|
onDelete(tag: any): void;
|
|
34
73
|
onTagEdit(content: any, item: any): void;
|
|
35
|
-
onSave(): void;
|
|
36
74
|
ngOnDestroy(): void;
|
|
37
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagsListComponent, never>;
|
|
38
76
|
static ɵcmp: i0.ɵɵComponentDeclaration<TagsListComponent, "pw-admin-tags-list", never, {}, {}, never, never, false, never>;
|
|
@@ -10,7 +10,24 @@ interface Logo {
|
|
|
10
10
|
url: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
+
export interface BookDemoLink {
|
|
14
|
+
title: string;
|
|
15
|
+
url: string;
|
|
16
|
+
}
|
|
17
|
+
export interface BookDemo {
|
|
18
|
+
title: string;
|
|
19
|
+
description: string;
|
|
20
|
+
items: BookDemoLink[];
|
|
21
|
+
}
|
|
13
22
|
export interface DomainConfig {
|
|
23
|
+
partners: {
|
|
24
|
+
description: string;
|
|
25
|
+
title: string;
|
|
26
|
+
items: Array<{
|
|
27
|
+
image_url: string;
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
book_demo: BookDemo;
|
|
14
31
|
id: number;
|
|
15
32
|
active: boolean;
|
|
16
33
|
frontend_repo_name?: string;
|