@posiwise/admin-module 0.0.140 → 0.0.142
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-guard.service.mjs +2 -2
- package/esm2022/lib/admin-module.routing.mjs +27 -27
- package/esm2022/lib/admin.module.mjs +50 -43
- package/esm2022/lib/components/TOS/terms-of-service/terms-of-service.component.mjs +5 -5
- package/esm2022/lib/components/TOS/terms-of-service-details/terms-of-service-details.component.mjs +2 -2
- package/esm2022/lib/components/TOS/terms-of-service-tabs/terms-of-service-tabs.component.mjs +1 -1
- package/esm2022/lib/components/config/global-config-details/global-config-details.component.mjs +2 -2
- package/esm2022/lib/components/config/global-config-list/global-config-list.component.mjs +3 -3
- package/esm2022/lib/components/config/global-config-tabs/global-config-tabs.component.mjs +1 -1
- package/esm2022/lib/components/contact-us/contact-us-list/contact-us-list.component.mjs +6 -6
- package/esm2022/lib/components/contact-us/contact-us-tabs/contact-us-tabs.component.mjs +1 -1
- package/esm2022/lib/components/credentials/credentials/credentials.component.mjs +4 -4
- package/esm2022/lib/components/credentials/credentials-details/credentials-details.component.mjs +2 -2
- package/esm2022/lib/components/credentials/credentials-tab/credentials-tab.component.mjs +1 -1
- package/esm2022/lib/components/credentials/subscription-credentials/subscription-credentials.component.mjs +7 -7
- package/esm2022/lib/components/credentials/subscription-credentials-details/subscription-credentials-details.component.mjs +2 -2
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.mjs +6 -6
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-core/domain-config-core.component.mjs +4 -4
- 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 +4 -4
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-interface/domain-config-interface.component.mjs +6 -6
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-organization/domain-config-organization.component.mjs +4 -4
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-security/domain-config-security.component.mjs +4 -4
- package/esm2022/lib/components/domain-config/domain-config-details/domain-config-social/domain-config-social.component.mjs +4 -4
- package/esm2022/lib/components/domain-config/domain-config-list/domain-config-list.component.mjs +8 -8
- package/esm2022/lib/components/domain-config/domain-config-tabs/domain-config-tabs.component.mjs +1 -1
- package/esm2022/lib/components/faqs/add-faq/add-faq.component.mjs +25 -26
- package/esm2022/lib/components/faqs/edit-faq/edit-faq.component.mjs +27 -26
- package/esm2022/lib/components/faqs/faqs-list/faqs-list.component.mjs +11 -11
- package/esm2022/lib/components/faqs/faqs-tabs/faqs-tabs.component.mjs +1 -1
- package/esm2022/lib/components/feedback-questions/feedback-questions-details/feedback-questions-details.component.mjs +3 -3
- package/esm2022/lib/components/feedback-questions/feedback-questions-list/feedback-questions-list.component.mjs +5 -5
- package/esm2022/lib/components/generic/generic-misc/generic-misc.component.mjs +3 -3
- package/esm2022/lib/components/generic/generic-tabs/generic-tabs.component.mjs +1 -1
- package/esm2022/lib/components/incidents/add-edit-incident/add-edit-incident.component.mjs +4 -4
- package/esm2022/lib/components/incidents/incidents-list/incidents-list.component.mjs +3 -3
- package/esm2022/lib/components/incidents/incidents-tabs/incidents-tabs.component.mjs +1 -1
- package/esm2022/lib/components/login-notifications/login-notification-details/login-notification-details.component.mjs +4 -4
- package/esm2022/lib/components/login-notifications/login-notification-tabs/login-notification-tabs.component.mjs +1 -1
- package/esm2022/lib/components/login-notifications/login-notifications-list/login-notifications-list.component.mjs +11 -7
- package/esm2022/lib/components/mailer/mailer-details/mailer-details.component.mjs +5 -5
- package/esm2022/lib/components/mailer/mailer-list/mailer-list.component.mjs +6 -6
- package/esm2022/lib/components/mailer/mailer-tabs/mailer-tabs.component.mjs +1 -1
- package/esm2022/lib/components/newsletters/newsletter-details/newsletter-details.component.mjs +4 -4
- package/esm2022/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.mjs +10 -10
- package/esm2022/lib/components/newsletters/newsletter-users-list/newsletter-users-list.component.mjs +5 -5
- package/esm2022/lib/components/newsletters/newsletters-insight/newsletters-insight.component.mjs +26 -4
- package/esm2022/lib/components/newsletters/newsletters-items/newsletters-items-view-details/newsletters-items-view-details.component.mjs +4 -4
- package/esm2022/lib/components/newsletters/newsletters-items/newsletters-items.component.mjs +6 -6
- package/esm2022/lib/components/newsletters/newsletters-list/newsletters-list.component.mjs +5 -5
- package/esm2022/lib/components/newsletters/newsletters-tabs/newsletters-tabs.component.mjs +2 -2
- package/esm2022/lib/components/permissions/permissions-details/permissions-details.component.mjs +2 -2
- package/esm2022/lib/components/permissions/permissions-list/permissions-list.component.mjs +5 -5
- package/esm2022/lib/components/permissions/permissions-tabs/permissions-tabs.component.mjs +1 -1
- package/esm2022/lib/components/permissions/role-details/role-details.component.mjs +2 -2
- package/esm2022/lib/components/permissions/roles-list/roles-list.component.mjs +5 -5
- package/esm2022/lib/components/products/product-details/product-details.component.mjs +10 -11
- package/esm2022/lib/components/products/products-insight/products-insight.component.mjs +16 -11
- package/esm2022/lib/components/products/products-list/products-list.component.mjs +7 -7
- package/esm2022/lib/components/products/products-tabs/products-tabs.component.mjs +1 -1
- package/esm2022/lib/components/products/users-list-for-product/users-list-for-product.component.mjs +1 -1
- package/esm2022/lib/components/subscriptions/subscription-agents/subscription-agents.component.mjs +2 -2
- package/esm2022/lib/components/subscriptions/subscription-agents-list/subscription-agents-list.component.mjs +7 -7
- 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 +4 -4
- package/esm2022/lib/components/subscriptions/subscription-products/subscription-products.component.mjs +4 -4
- package/esm2022/lib/components/subscriptions/subscription-users/subscription-users.component.mjs +30 -7
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-price/subscription-insight-average-price.component.mjs +17 -12
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-user/subscription-insight-average-user.component.mjs +17 -12
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-churn/subscription-insight-churn.component.mjs +55 -0
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-nps/subscription-insight-nps.component.mjs +20 -15
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-product-session/subscription-insight-product-session.component.mjs +17 -12
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-revenue/subscription-insight-revenue.component.mjs +17 -12
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscription-insight-tabs/subscription-insight-tabs.component.mjs +4 -3
- package/esm2022/lib/components/subscriptions/subscriptions-insight/subscriptions-insight.component.mjs +17 -12
- package/esm2022/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.mjs +8 -8
- package/esm2022/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.mjs +9 -9
- package/esm2022/lib/components/subscriptions/subscriptions-tabs/subscriptions-tabs.component.mjs +1 -1
- package/esm2022/lib/components/tags/tags-category/tags-category.component.mjs +6 -6
- package/esm2022/lib/components/tags/tags-list/tags-list.component.mjs +8 -8
- package/esm2022/lib/components/tags/tags-tabs/tags-tabs.component.mjs +1 -1
- package/esm2022/lib/components/tips/tip-detail/tip-detail.component.mjs +2 -2
- package/esm2022/lib/components/tips/tips-list/tips-list.component.mjs +2 -2
- package/esm2022/lib/components/tips/tips-tabs/tips-tabs.component.mjs +1 -1
- package/esm2022/lib/components/tracking/ahoy-events/ahoy-events.component.mjs +7 -7
- package/esm2022/lib/components/tracking/ahoy-messages/ahoy-messages.component.mjs +7 -7
- package/esm2022/lib/components/tracking/ahoy-visits/ahoy-visits.component.mjs +7 -7
- package/esm2022/lib/components/tracking/events/events.component.mjs +4 -4
- package/esm2022/lib/components/tracking/tracking-tabs/tracking-tabs.component.mjs +1 -1
- package/esm2022/lib/components/tracking/versions/versions.component.mjs +4 -4
- package/esm2022/lib/components/users/user-details/user-details.component.mjs +3 -3
- package/esm2022/lib/components/users/users-insight/users-insight.component.mjs +18 -5
- package/esm2022/lib/components/users/users-list/users-list.component.mjs +13 -13
- package/esm2022/lib/components/users/users-tabs/users-tabs.component.mjs +1 -1
- package/esm2022/lib/shared/routers/routers.mjs +2 -2
- package/fesm2022/posiwise-admin-module.mjs +5621 -5484
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/admin-guard.service.d.ts +1 -1
- package/lib/admin.module.d.ts +71 -69
- package/lib/components/TOS/terms-of-service/terms-of-service.component.d.ts +3 -3
- package/lib/components/TOS/terms-of-service-details/terms-of-service-details.component.d.ts +1 -1
- package/lib/components/config/global-config-details/global-config-details.component.d.ts +2 -2
- package/lib/components/config/global-config-list/global-config-list.component.d.ts +2 -2
- package/lib/components/contact-us/contact-us-list/contact-us-list.component.d.ts +4 -4
- package/lib/components/credentials/credentials/credentials.component.d.ts +3 -3
- package/lib/components/credentials/credentials-details/credentials-details.component.d.ts +1 -1
- package/lib/components/credentials/subscription-credentials/subscription-credentials.component.d.ts +5 -5
- package/lib/components/credentials/subscription-credentials-details/subscription-credentials-details.component.d.ts +2 -2
- package/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.d.ts +4 -4
- package/lib/components/domain-config/domain-config-details/domain-config-core/domain-config-core.component.d.ts +2 -2
- package/lib/components/domain-config/domain-config-details/domain-config-details.component.d.ts +2 -2
- package/lib/components/domain-config/domain-config-details/domain-config-integrations/domain-config-integrations.component.d.ts +2 -2
- package/lib/components/domain-config/domain-config-details/domain-config-interface/domain-config-interface.component.d.ts +3 -3
- package/lib/components/domain-config/domain-config-details/domain-config-organization/domain-config-organization.component.d.ts +2 -2
- package/lib/components/domain-config/domain-config-details/domain-config-security/domain-config-security.component.d.ts +1 -1
- package/lib/components/domain-config/domain-config-details/domain-config-social/domain-config-social.component.d.ts +2 -2
- package/lib/components/domain-config/domain-config-list/domain-config-list.component.d.ts +4 -4
- package/lib/components/faqs/add-faq/add-faq.component.d.ts +11 -11
- package/lib/components/faqs/edit-faq/edit-faq.component.d.ts +14 -11
- package/lib/components/faqs/faqs-list/faqs-list.component.d.ts +10 -10
- package/lib/components/feedback-questions/feedback-questions-details/feedback-questions-details.component.d.ts +4 -4
- package/lib/components/feedback-questions/feedback-questions-list/feedback-questions-list.component.d.ts +4 -4
- package/lib/components/incidents/add-edit-incident/add-edit-incident.component.d.ts +3 -3
- package/lib/components/incidents/incidents-list/incidents-list.component.d.ts +3 -3
- package/lib/components/login-notifications/login-notification-details/login-notification-details.component.d.ts +1 -1
- package/lib/components/login-notifications/login-notifications-list/login-notifications-list.component.d.ts +3 -3
- package/lib/components/mailer/mailer-list/mailer-list.component.d.ts +2 -2
- package/lib/components/mailer/mailer-tabs/mailer-tabs.component.d.ts +1 -1
- package/lib/components/newsletters/newsletter-details/newsletter-details.component.d.ts +1 -1
- package/lib/components/newsletters/newsletter-item-details/newsletter-item-details.component.d.ts +7 -7
- package/lib/components/newsletters/newsletter-users-list/newsletter-users-list.component.d.ts +5 -5
- package/lib/components/newsletters/newsletters-insight/newsletters-insight.component.d.ts +8 -0
- package/lib/components/newsletters/newsletters-items/newsletters-items-view-details/newsletters-items-view-details.component.d.ts +2 -2
- package/lib/components/newsletters/newsletters-items/newsletters-items.component.d.ts +6 -6
- package/lib/components/newsletters/newsletters-list/newsletters-list.component.d.ts +2 -2
- package/lib/components/newsletters/newsletters-tabs/newsletters-tabs.component.d.ts +1 -1
- package/lib/components/permissions/permissions-details/permissions-details.component.d.ts +3 -3
- package/lib/components/permissions/permissions-list/permissions-list.component.d.ts +4 -4
- package/lib/components/permissions/role-details/role-details.component.d.ts +4 -4
- package/lib/components/permissions/roles-list/roles-list.component.d.ts +2 -2
- package/lib/components/products/product-details/product-details.component.d.ts +14 -13
- package/lib/components/products/products-insight/products-insight.component.d.ts +8 -5
- package/lib/components/products/products-list/products-list.component.d.ts +6 -6
- package/lib/components/products/users-list-for-product/users-list-for-product.component.d.ts +2 -2
- package/lib/components/subscriptions/subscription-agents/subscription-agents.component.d.ts +2 -2
- package/lib/components/subscriptions/subscription-agents-list/subscription-agents-list.component.d.ts +2 -2
- package/lib/components/subscriptions/subscription-details/subscription-details.component.d.ts +7 -7
- package/lib/components/subscriptions/subscription-product-details/subscription-product-details.component.d.ts +2 -2
- package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts +5 -5
- package/lib/components/subscriptions/subscription-users/subscription-users.component.d.ts +7 -5
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-price/subscription-insight-average-price.component.d.ts +7 -5
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-average-user/subscription-insight-average-user.component.d.ts +7 -5
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-churn/subscription-insight-churn.component.d.ts +24 -0
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-nps/subscription-insight-nps.component.d.ts +9 -6
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-product-session/subscription-insight-product-session.component.d.ts +7 -5
- package/lib/components/subscriptions/subscriptions-insight/subscription-insight-revenue/subscription-insight-revenue.component.d.ts +7 -5
- package/lib/components/subscriptions/subscriptions-insight/subscriptions-insight.component.d.ts +7 -5
- package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts +10 -10
- package/lib/components/subscriptions/subscriptions-list/subscriptions-list.component.d.ts +7 -7
- package/lib/components/subscriptions/subscriptions-tabs/subscriptions-tabs.component.d.ts +1 -1
- package/lib/components/tags/tags-category/tags-category.component.d.ts +4 -4
- package/lib/components/tags/tags-list/tags-list.component.d.ts +6 -6
- package/lib/components/tips/tips-list/tips-list.component.d.ts +1 -1
- package/lib/components/tracking/ahoy-events/ahoy-events.component.d.ts +9 -9
- package/lib/components/tracking/ahoy-messages/ahoy-messages.component.d.ts +9 -9
- package/lib/components/tracking/ahoy-visits/ahoy-visits.component.d.ts +9 -9
- package/lib/components/tracking/events/events.component.d.ts +6 -6
- package/lib/components/tracking/versions/versions.component.d.ts +6 -6
- package/lib/components/users/user-details/user-details.component.d.ts +2 -2
- package/lib/components/users/users-insight/users-insight.component.d.ts +6 -0
- package/lib/components/users/users-list/users-list.component.d.ts +13 -13
- package/lib/components/users/users-tabs/users-tabs.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,45 +1,46 @@
|
|
|
1
1
|
import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { SelectItem } from 'primeng/api';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
7
|
-
import { PrivacyTos } from '../../../shared/interface/privacy-tos.interface';
|
|
8
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
9
5
|
import { ProductService } from '@posiwise/common-services';
|
|
10
6
|
import { Product } from '@posiwise/common-utilities';
|
|
7
|
+
import { SelectItem } from 'primeng/api';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
11
10
|
import { SubscriptionRole, SubscriptionsRolesData } from '../../../shared/interface/admin-module-shared.interface';
|
|
11
|
+
import { PrivacyTos } from '../../../shared/interface/privacy-tos.interface';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class ProductDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
14
14
|
private readonly productService;
|
|
15
15
|
private readonly modalService;
|
|
16
16
|
private readonly adminService;
|
|
17
|
+
supportedCurrency$: Observable<string>;
|
|
18
|
+
supportedRegions$: Observable<string>;
|
|
19
|
+
s: any;
|
|
17
20
|
form: UntypedFormGroup;
|
|
18
21
|
submitted: boolean;
|
|
19
|
-
id: number;
|
|
20
22
|
isLoading: boolean;
|
|
21
|
-
duplicateId: number;
|
|
22
23
|
data: Product;
|
|
23
24
|
productsList: SelectItem[];
|
|
25
|
+
categories: any[];
|
|
26
|
+
allTos: PrivacyTos[];
|
|
27
|
+
allRoles: SelectItem[];
|
|
28
|
+
productRoles: SubscriptionRole[];
|
|
24
29
|
selectedProducts: SelectItem[];
|
|
25
30
|
selectedScopes: SelectItem[];
|
|
26
31
|
selectedPartnerProducts: SelectItem[];
|
|
27
|
-
squaredLogo: string;
|
|
28
32
|
frequency: {
|
|
29
33
|
label: string;
|
|
30
34
|
value: string;
|
|
31
35
|
}[];
|
|
32
|
-
categories: any[];
|
|
33
|
-
allTos: PrivacyTos[];
|
|
34
|
-
allRoles: SelectItem[];
|
|
35
36
|
subscriptionsRolesData: SubscriptionsRolesData;
|
|
36
|
-
productRoles: SubscriptionRole[];
|
|
37
37
|
slug: string;
|
|
38
38
|
fullLogo: string;
|
|
39
|
+
squaredLogo: string;
|
|
39
40
|
subscriptionId: number;
|
|
40
41
|
masterProductId: number;
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
id: number;
|
|
43
|
+
duplicateId: number;
|
|
43
44
|
editorConfig: any;
|
|
44
45
|
constructor(injector: Injector, productService: ProductService, modalService: NgbModal, adminService: AdminService);
|
|
45
46
|
ngAfterViewInit(): void;
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { Plotly } from '@posiwise/common-utilities';
|
|
5
3
|
import { ProductService } from '@posiwise/common-services';
|
|
4
|
+
import { Plotly } from '@posiwise/common-utilities';
|
|
5
|
+
import moment from 'moment';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ProductInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
8
|
private readonly productService;
|
|
9
9
|
graph: Plotly.Figure;
|
|
10
10
|
isLoading: boolean;
|
|
11
11
|
subscriptionId: number;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
selectedDateRange: any;
|
|
13
|
+
dateRanges: any;
|
|
14
14
|
constructor(productService: ProductService, injector: Injector);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
private getChartData;
|
|
17
|
-
|
|
17
|
+
onDateRangeSelect(event: {
|
|
18
|
+
startDate: moment.Moment;
|
|
19
|
+
endDate: moment.Moment;
|
|
20
|
+
}): void;
|
|
18
21
|
ngOnDestroy(): void;
|
|
19
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductInsightComponent, never>;
|
|
20
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductInsightComponent, "pw-admin-product-insight", never, {}, {}, never, never, false, never>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
3
|
-
import { Product } from '@posiwise/common-utilities';
|
|
4
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
6
3
|
import { ProductService } from '@posiwise/common-services';
|
|
4
|
+
import { Product } from '@posiwise/common-utilities';
|
|
5
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
6
|
+
import { LazyLoadEvent } from 'primeng/api';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ProductsListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
9
|
private readonly productService;
|
|
10
10
|
private readonly cdr;
|
|
11
11
|
passwordValidationModalForProductDelete: PasswordValidationComponent;
|
|
12
|
-
|
|
12
|
+
private productToDelete;
|
|
13
13
|
loading: boolean;
|
|
14
14
|
searchText: string;
|
|
15
15
|
products: any[];
|
|
16
16
|
page: number;
|
|
17
|
+
totalRecordsUnFiltered: number;
|
|
17
18
|
billingFrequency: string[];
|
|
18
19
|
categories: any[];
|
|
19
|
-
totalRecordsUnFiltered: number;
|
|
20
20
|
routers: {
|
|
21
21
|
globalConfigDetails: string;
|
|
22
22
|
adminCredentialsDetails: string;
|
|
@@ -51,12 +51,12 @@ export declare class ProductsListComponent extends AppBaseComponent implements O
|
|
|
51
51
|
subscriptionList: string;
|
|
52
52
|
};
|
|
53
53
|
userLoggedIn: boolean;
|
|
54
|
+
totalRecords: number;
|
|
54
55
|
subscriptionId: number;
|
|
55
56
|
currency: any[];
|
|
56
57
|
regions: any[];
|
|
57
58
|
filterByFeatureKeys: any[];
|
|
58
59
|
featureKeysList: any[];
|
|
59
|
-
private productToDelete;
|
|
60
60
|
constructor(productService: ProductService, injector: Injector, cdr: ChangeDetectorRef);
|
|
61
61
|
ngOnInit(): void;
|
|
62
62
|
ngAfterViewChecked(): void;
|
package/lib/components/products/users-list-for-product/users-list-for-product.component.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { SubscriptionMember, User } from '@posiwise/common-utilities';
|
|
4
3
|
import { ProductService } from '@posiwise/common-services';
|
|
4
|
+
import { SubscriptionMember, User } from '@posiwise/common-utilities';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UsersListForProductComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
7
|
private readonly productService;
|
|
8
8
|
totalRecords: number;
|
|
9
|
+
id: number;
|
|
9
10
|
loading: boolean;
|
|
10
11
|
searchText: string;
|
|
11
|
-
id: number;
|
|
12
12
|
users: SubscriptionMember[];
|
|
13
13
|
productName: string;
|
|
14
14
|
currentUser: User;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbDatepickerConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
4
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
5
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
5
|
import { GroupService } from '@posiwise/common-services';
|
|
6
|
+
import { NgbDatepickerConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AgentDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
9
|
private readonly adminService;
|
|
10
10
|
private readonly groupService;
|
|
11
11
|
private readonly config;
|
|
12
|
+
private agentDetails;
|
|
12
13
|
form: UntypedFormGroup;
|
|
13
14
|
submitted: boolean;
|
|
14
15
|
subscriptionId: number;
|
|
15
16
|
agentId: number;
|
|
16
|
-
private agentDetails;
|
|
17
17
|
allUsers: any[];
|
|
18
18
|
filteredUsers: any[];
|
|
19
19
|
constructor(adminService: AdminService, groupService: GroupService, config: NgbDatepickerConfig, injector: Injector);
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
4
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
5
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { NgbDateParserFormatter } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
import { AgentUser } from '../../../shared/interface/admin-module-shared.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SubscriptionAgentsListComponent extends AppBaseComponent implements OnInit {
|
|
9
9
|
private readonly adminService;
|
|
10
10
|
private readonly parserFormatter;
|
|
11
11
|
id: number;
|
|
12
|
-
allAgents: any[];
|
|
13
12
|
totalRecords: number;
|
|
14
13
|
isLoaded: boolean;
|
|
15
14
|
loading: boolean;
|
|
16
15
|
searchText: string;
|
|
17
16
|
newEmbass: boolean;
|
|
18
17
|
formEmbassador: UntypedFormGroup;
|
|
18
|
+
allAgents: any[];
|
|
19
19
|
allUsers: AgentUser[];
|
|
20
20
|
filteredUsers: any[];
|
|
21
21
|
submitted: boolean;
|
package/lib/components/subscriptions/subscription-details/subscription-details.component.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { DatePipe } from '@angular/common';
|
|
2
2
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { UntypedFormGroup } from '@angular/forms';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
4
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
6
5
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
8
6
|
import { CommonService, NgbDateCustomParserFormatter, SubscriptionService } from '@posiwise/common-services';
|
|
7
|
+
import { Subscription } from '@posiwise/common-utilities';
|
|
8
|
+
import { Observable } from 'rxjs';
|
|
9
9
|
import { SubscriptionRolesSubscribeData } from '../../../shared/interface/admin-module-shared.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class SubscriptionDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
@@ -14,18 +14,18 @@ export declare class SubscriptionDetailsComponent extends AppBaseComponent imple
|
|
|
14
14
|
private readonly datePipe;
|
|
15
15
|
private readonly commonService;
|
|
16
16
|
private readonly dateFormatService;
|
|
17
|
+
private subscribeRoles;
|
|
18
|
+
organizationSizes$: Observable<string>;
|
|
19
|
+
organizationTypes$: Observable<string>;
|
|
20
|
+
organizationIndustries$: Observable<string>;
|
|
17
21
|
form: UntypedFormGroup;
|
|
18
|
-
submitted: boolean;
|
|
19
22
|
id: number;
|
|
23
|
+
submitted: boolean;
|
|
20
24
|
isLoading: boolean;
|
|
21
25
|
allAgents: string[];
|
|
22
26
|
currentSubscriber: Subscription;
|
|
23
27
|
allRoles: any[];
|
|
24
|
-
private subscribeRoles;
|
|
25
28
|
subscriptionsRolesData: SubscriptionRolesSubscribeData;
|
|
26
|
-
organizationSizes$: Observable<string>;
|
|
27
|
-
organizationTypes$: Observable<string>;
|
|
28
|
-
organizationIndustries$: Observable<string>;
|
|
29
29
|
subscriptionId: number;
|
|
30
30
|
constructor(subscriptionService: SubscriptionService, adminService: AdminService, datePipe: DatePipe, commonService: CommonService, dateFormatService: NgbDateCustomParserFormatter, injector: Injector);
|
|
31
31
|
ngOnInit(): void;
|
|
@@ -12,9 +12,9 @@ export declare class SubscriptionProductDetailsComponent extends AppBaseComponen
|
|
|
12
12
|
private readonly productService;
|
|
13
13
|
private readonly dateFormatService;
|
|
14
14
|
private readonly datePipe;
|
|
15
|
+
private isPurchasedUnitsDisable;
|
|
15
16
|
form: UntypedFormGroup;
|
|
16
17
|
submitted: boolean;
|
|
17
|
-
id: number;
|
|
18
18
|
data: SubscriptionProductDetails;
|
|
19
19
|
routers: {
|
|
20
20
|
globalConfigDetails: string;
|
|
@@ -50,13 +50,13 @@ export declare class SubscriptionProductDetailsComponent extends AppBaseComponen
|
|
|
50
50
|
subscriptionList: string;
|
|
51
51
|
};
|
|
52
52
|
isLoading: boolean;
|
|
53
|
+
id: number;
|
|
53
54
|
subscriptionId: number;
|
|
54
55
|
minDate: {
|
|
55
56
|
year: number;
|
|
56
57
|
month: number;
|
|
57
58
|
day: number;
|
|
58
59
|
};
|
|
59
|
-
private isPurchasedUnitsDisable;
|
|
60
60
|
filteredProducts: any[];
|
|
61
61
|
productsList: any[];
|
|
62
62
|
disableExpiresAt: boolean;
|
package/lib/components/subscriptions/subscription-products/subscription-products.component.d.ts
CHANGED
|
@@ -5,8 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class SubscriptionProductsComponent extends AppBaseComponent implements OnInit {
|
|
6
6
|
private readonly subscriptionService;
|
|
7
7
|
private readonly productService;
|
|
8
|
+
objectKeys: {
|
|
9
|
+
(o: object): string[];
|
|
10
|
+
(o: {}): string[];
|
|
11
|
+
};
|
|
8
12
|
id: number;
|
|
9
|
-
subscriptionProducts: any[];
|
|
10
13
|
totalRecords: number;
|
|
11
14
|
isLoaded: boolean;
|
|
12
15
|
loading: boolean;
|
|
@@ -44,12 +47,9 @@ export declare class SubscriptionProductsComponent extends AppBaseComponent impl
|
|
|
44
47
|
inviteUsers: string;
|
|
45
48
|
subscriptionList: string;
|
|
46
49
|
};
|
|
50
|
+
subscriptionProducts: any[];
|
|
47
51
|
currency: any[];
|
|
48
52
|
totalRecordsUnFiltered: number;
|
|
49
|
-
objectKeys: {
|
|
50
|
-
(o: object): string[];
|
|
51
|
-
(o: {}): string[];
|
|
52
|
-
};
|
|
53
53
|
constructor(subscriptionService: SubscriptionService, injector: Injector, productService: ProductService);
|
|
54
54
|
ngOnInit(): void;
|
|
55
55
|
private getSupportedCurrency;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { User } from '@posiwise/common-utilities';
|
|
2
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
6
4
|
import { AuthService, CustomToastService, SubscriptionService, WindowService } from '@posiwise/common-services';
|
|
7
|
-
import {
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
6
|
+
import { PasswordValidationComponent } from '@posiwise/shared-components';
|
|
7
|
+
import { LazyLoadEvent } from 'primeng/api';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SubscriptionUsersComponent extends AppBaseComponent implements OnInit, AfterViewChecked {
|
|
10
10
|
private readonly subscriptionService;
|
|
@@ -16,9 +16,9 @@ export declare class SubscriptionUsersComponent extends AppBaseComponent impleme
|
|
|
16
16
|
passwordValidationModalForImpersonate: PasswordValidationComponent;
|
|
17
17
|
passwordValidationModalForUserDelete: PasswordValidationComponent;
|
|
18
18
|
passwordValidationModalForRemove2fa: PasswordValidationComponent;
|
|
19
|
+
private userToDelete;
|
|
19
20
|
id: number;
|
|
20
21
|
subscriptionMembers: any[];
|
|
21
|
-
private userToDelete;
|
|
22
22
|
totalRecords: number;
|
|
23
23
|
isLoaded: boolean;
|
|
24
24
|
loading: boolean;
|
|
@@ -61,11 +61,13 @@ export declare class SubscriptionUsersComponent extends AppBaseComponent impleme
|
|
|
61
61
|
totalUnfilteredCount: number;
|
|
62
62
|
subscriptionId: number;
|
|
63
63
|
remove2faUserId: number;
|
|
64
|
+
subscriptionOwnerUserId: any;
|
|
64
65
|
constructor(subscriptionService: SubscriptionService, injector: Injector, cdr: ChangeDetectorRef, authService: AuthService, windowService: WindowService, adminService: AdminService, toaster: CustomToastService);
|
|
65
66
|
ngOnInit(): void;
|
|
66
67
|
ngAfterViewChecked(): void;
|
|
67
68
|
onLazyLoad(event: LazyLoadEvent): void;
|
|
68
69
|
onImpersonate(user: User): void;
|
|
70
|
+
onChangeOwner(user: User): void;
|
|
69
71
|
onUserImpersonation(_event: any): void;
|
|
70
72
|
disable2fa(id: number): void;
|
|
71
73
|
remove2fa(_event: any): void;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
-
import { Plotly, User } from '@posiwise/common-utilities';
|
|
5
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Plotly, User } from '@posiwise/common-utilities';
|
|
6
5
|
import { CommentContext } from 'libs/admin-module/src/lib/shared/interface/admin-module-shared.interface';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SubscriptionInsightAveragePriceComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
@@ -19,14 +18,17 @@ export declare class SubscriptionInsightAveragePriceComponent extends AppBaseCom
|
|
|
19
18
|
subscriptionId: number;
|
|
20
19
|
currentUser: User;
|
|
21
20
|
commentToShow: string;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
selectedDateRange: any;
|
|
22
|
+
dateRanges: any;
|
|
24
23
|
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
25
24
|
ngAfterViewChecked(): void;
|
|
26
25
|
ngOnInit(): void;
|
|
27
26
|
/** Function to get the data for the graph */
|
|
28
27
|
private getChartData;
|
|
29
|
-
|
|
28
|
+
onDateRangeSelect(event: {
|
|
29
|
+
startDate: moment.Moment;
|
|
30
|
+
endDate: moment.Moment;
|
|
31
|
+
}): void;
|
|
30
32
|
ngOnDestroy(): void;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionInsightAveragePriceComponent, never>;
|
|
32
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionInsightAveragePriceComponent, "pw-subscription-insight-average-price", never, {}, {}, never, never, false, never>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
-
import { Plotly, User } from '@posiwise/common-utilities';
|
|
5
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Plotly, User } from '@posiwise/common-utilities';
|
|
6
5
|
import { CommentContext } from 'libs/admin-module/src/lib/shared/interface/admin-module-shared.interface';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SubscriptionInsightAverageUserComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
@@ -19,14 +18,17 @@ export declare class SubscriptionInsightAverageUserComponent extends AppBaseComp
|
|
|
19
18
|
subscriptionId: number;
|
|
20
19
|
currentUser: User;
|
|
21
20
|
commentToShow: string;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
selectedDateRange: any;
|
|
22
|
+
dateRanges: any;
|
|
24
23
|
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
25
24
|
ngAfterViewChecked(): void;
|
|
26
25
|
ngOnInit(): void;
|
|
27
26
|
/** Function to get the data for the graph */
|
|
28
27
|
private getChartData;
|
|
29
|
-
|
|
28
|
+
onDateRangeSelect(event: {
|
|
29
|
+
startDate: moment.Moment;
|
|
30
|
+
endDate: moment.Moment;
|
|
31
|
+
}): void;
|
|
30
32
|
ngOnDestroy(): void;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionInsightAverageUserComponent, never>;
|
|
32
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionInsightAverageUserComponent, "pw-subscription-insight-average-user", never, {}, {}, never, never, false, never>;
|
|
@@ -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 SubscriptionInsightChurnComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
+
private readonly adminService;
|
|
8
|
+
graph: Plotly.Figure;
|
|
9
|
+
subscriptionId: number;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
selectedDateRange: any;
|
|
12
|
+
dateRanges: any;
|
|
13
|
+
constructor(adminService: 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<SubscriptionInsightChurnComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionInsightChurnComponent, "pw-subscription-insight-churn", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgbDateStruct, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
4
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
5
|
-
import { Plotly, User } from '@posiwise/common-utilities';
|
|
6
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
4
|
import { CommonService } from '@posiwise/common-services';
|
|
5
|
+
import { Plotly, User } from '@posiwise/common-utilities';
|
|
8
6
|
import { CommentContext } from 'libs/admin-module/src/lib/shared/interface/admin-module-shared.interface';
|
|
7
|
+
import { LazyLoadEvent } from 'primeng/api';
|
|
8
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
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;
|
|
@@ -23,8 +23,8 @@ export declare class SubscriptionInsightNpsComponent extends AppBaseComponent im
|
|
|
23
23
|
subscriptionId: number;
|
|
24
24
|
currentUser: User;
|
|
25
25
|
commentToShow: string;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
selectedDateRange: any;
|
|
27
|
+
dateRanges: any;
|
|
28
28
|
constructor(adminService: AdminService, injector: Injector, commonService: CommonService, modalService: NgbModal, cdr: ChangeDetectorRef);
|
|
29
29
|
ngAfterViewChecked(): void;
|
|
30
30
|
ngOnInit(): void;
|
|
@@ -33,7 +33,10 @@ export declare class SubscriptionInsightNpsComponent extends AppBaseComponent im
|
|
|
33
33
|
openComment(val: string): void;
|
|
34
34
|
/** Function to get the data for the graph */
|
|
35
35
|
private getChartData;
|
|
36
|
-
|
|
36
|
+
onDateRangeSelect(event: {
|
|
37
|
+
startDate: moment.Moment;
|
|
38
|
+
endDate: moment.Moment;
|
|
39
|
+
}): void;
|
|
37
40
|
ngOnDestroy(): void;
|
|
38
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionInsightNpsComponent, never>;
|
|
39
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionInsightNpsComponent, "pw-subscription-insight-nps", never, {}, {}, never, never, false, never>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
-
import { Plotly, User } from '@posiwise/common-utilities';
|
|
5
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Plotly, User } from '@posiwise/common-utilities';
|
|
6
5
|
import { CommentContext } from 'libs/admin-module/src/lib/shared/interface/admin-module-shared.interface';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SubscriptionInsightProcuctSessionComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
@@ -19,14 +18,17 @@ export declare class SubscriptionInsightProcuctSessionComponent extends AppBaseC
|
|
|
19
18
|
subscriptionId: number;
|
|
20
19
|
currentUser: User;
|
|
21
20
|
commentToShow: string;
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
selectedDateRange: any;
|
|
22
|
+
dateRanges: any;
|
|
24
23
|
constructor(adminService: AdminService, injector: Injector, cdr: ChangeDetectorRef);
|
|
25
24
|
ngAfterViewChecked(): void;
|
|
26
25
|
ngOnInit(): void;
|
|
27
26
|
/** Function to get the data for the graph */
|
|
28
27
|
private getChartData;
|
|
29
|
-
|
|
28
|
+
onDateRangeSelect(event: {
|
|
29
|
+
startDate: moment.Moment;
|
|
30
|
+
endDate: moment.Moment;
|
|
31
|
+
}): void;
|
|
30
32
|
ngOnDestroy(): void;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionInsightProcuctSessionComponent, never>;
|
|
32
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionInsightProcuctSessionComponent, "pw-subscription-insight-product-session", never, {}, {}, never, never, false, never>;
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { Plotly } from '@posiwise/common-utilities';
|
|
4
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
5
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Plotly } from '@posiwise/common-utilities';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class SubscriptionInsightRevenueComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
7
|
private readonly adminService;
|
|
9
8
|
graph: Plotly.Figure;
|
|
10
9
|
subscriptionId: number;
|
|
11
10
|
loading: boolean;
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
selectedDateRange: any;
|
|
12
|
+
dateRanges: any;
|
|
14
13
|
constructor(adminService: AdminService, injector: Injector);
|
|
15
14
|
ngOnInit(): void;
|
|
16
15
|
/** Function to get the data for the graph */
|
|
17
16
|
private getChartData;
|
|
18
|
-
|
|
17
|
+
onDateRangeSelect(event: {
|
|
18
|
+
startDate: moment.Moment;
|
|
19
|
+
endDate: moment.Moment;
|
|
20
|
+
}): void;
|
|
19
21
|
ngOnDestroy(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubscriptionInsightRevenueComponent, never>;
|
|
21
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<SubscriptionInsightRevenueComponent, "pw-subscription-insight-revenue", never, {}, {}, never, never, false, never>;
|
package/lib/components/subscriptions/subscriptions-insight/subscriptions-insight.component.d.ts
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
2
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
4
|
-
import { Plotly } from '@posiwise/common-utilities';
|
|
5
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Plotly } from '@posiwise/common-utilities';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class InsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
7
|
private readonly adminService;
|
|
9
8
|
graph: Plotly.Figure;
|
|
10
9
|
subscriptionId: number;
|
|
11
10
|
loading: boolean;
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
selectedDateRange: any;
|
|
12
|
+
dateRanges: any;
|
|
14
13
|
constructor(adminService: AdminService, injector: Injector);
|
|
15
14
|
ngOnInit(): void;
|
|
16
15
|
/** Function to get the data for the graph */
|
|
17
16
|
private getChartData;
|
|
18
|
-
|
|
17
|
+
onDateRangeSelect(event: {
|
|
18
|
+
startDate: moment.Moment;
|
|
19
|
+
endDate: moment.Moment;
|
|
20
|
+
}): void;
|
|
19
21
|
ngOnDestroy(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<InsightComponent, never>;
|
|
21
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<InsightComponent, "pw-admin-subscription-insight", never, {}, {}, never, never, false, never>;
|
package/lib/components/subscriptions/subscriptions-list/invite-users/invite-users.component.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
3
|
import { AdminService } from '@posiwise/admin-module-utils';
|
|
6
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
5
|
import { CommonService, ProductService } from '@posiwise/common-services';
|
|
8
|
-
import { AutoComplete } from 'primeng/autocomplete';
|
|
9
6
|
import { FeatureKey } from 'libs/admin-module/src/lib/shared/interface/newsletter.interface';
|
|
7
|
+
import { LazyLoadEvent } from 'primeng/api';
|
|
8
|
+
import { AutoComplete } from 'primeng/autocomplete';
|
|
9
|
+
import { Observable } from 'rxjs';
|
|
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;
|
|
@@ -14,23 +14,25 @@ export declare class InviteUsersComponent extends AppBaseComponent implements On
|
|
|
14
14
|
private readonly productService;
|
|
15
15
|
private readonly commonService;
|
|
16
16
|
private readonly cdr;
|
|
17
|
+
refProduct: AutoComplete;
|
|
18
|
+
organizationSizes$: Observable<FeatureKey[]>;
|
|
19
|
+
organizationTypes$: Observable<FeatureKey[]>;
|
|
20
|
+
organizationIndustries$: Observable<FeatureKey[]>;
|
|
21
|
+
private page;
|
|
17
22
|
totalRecords: number;
|
|
18
23
|
loading: boolean;
|
|
19
24
|
searchText: string;
|
|
20
25
|
subscriptions: any[];
|
|
21
26
|
form: UntypedFormGroup;
|
|
22
27
|
products: any[];
|
|
23
|
-
organizationSizes$: Observable<FeatureKey[]>;
|
|
24
|
-
organizationTypes$: Observable<FeatureKey[]>;
|
|
25
|
-
organizationIndustries$: Observable<FeatureKey[]>;
|
|
26
28
|
searchOptions: {
|
|
27
29
|
id: unknown;
|
|
28
30
|
label: unknown;
|
|
29
31
|
}[];
|
|
30
32
|
filterByFeatureKeys: any[];
|
|
31
33
|
isLoaded: boolean;
|
|
32
|
-
private page;
|
|
33
34
|
billingFrequency: string[];
|
|
35
|
+
subscriptionStatus: string[];
|
|
34
36
|
routers: {
|
|
35
37
|
globalConfigDetails: string;
|
|
36
38
|
adminCredentialsDetails: string;
|
|
@@ -64,8 +66,8 @@ export declare class InviteUsersComponent extends AppBaseComponent implements On
|
|
|
64
66
|
inviteUsers: string;
|
|
65
67
|
subscriptionList: string;
|
|
66
68
|
};
|
|
67
|
-
subscriptionStatus: string[];
|
|
68
69
|
status: string;
|
|
70
|
+
unitsText: string;
|
|
69
71
|
subscriptionId: number;
|
|
70
72
|
totalRecordsUnFiltered: number;
|
|
71
73
|
filteredProducts: any[];
|
|
@@ -74,11 +76,9 @@ export declare class InviteUsersComponent extends AppBaseComponent implements On
|
|
|
74
76
|
(o: object): string[];
|
|
75
77
|
(o: {}): string[];
|
|
76
78
|
};
|
|
77
|
-
unitsText: string;
|
|
78
79
|
buttonBusy: boolean;
|
|
79
80
|
selectedFeatureKeys: FeatureKey[];
|
|
80
81
|
subscriptionInsights: FeatureKey[];
|
|
81
|
-
refProduct: AutoComplete;
|
|
82
82
|
constructor(fb: UntypedFormBuilder, adminService: AdminService, productService: ProductService, injector: Injector, commonService: CommonService, cdr: ChangeDetectorRef);
|
|
83
83
|
ngOnInit(): void;
|
|
84
84
|
getTableState(): void;
|