@posiwise/smart-crm 0.0.70 → 0.0.72
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/fesm2022/posiwise-smart-crm.mjs +611 -309
- package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
- package/package.json +5 -5
- package/types/posiwise-smart-crm.d.ts +2506 -0
- package/index.d.ts +0 -49
- package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +0 -61
- package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +0 -73
- package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +0 -175
- package/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.d.ts +0 -28
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -109
- package/lib/private/components/smart-crm-actions/smart-crm-actions.component.d.ts +0 -75
- package/lib/private/components/smart-crm-competition/smart-crm-competition/smart-crm-competition.component.d.ts +0 -5
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +0 -37
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +0 -58
- package/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.d.ts +0 -11
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.d.ts +0 -31
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +0 -56
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +0 -28
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +0 -53
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +0 -34
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +0 -62
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +0 -36
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +0 -59
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +0 -54
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +0 -127
- package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +0 -91
- package/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.d.ts +0 -5
- package/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.d.ts +0 -101
- package/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.d.ts +0 -56
- package/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.d.ts +0 -64
- package/lib/private/components/smart-crm-insight/smart-crm-insight.component.d.ts +0 -9
- package/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.d.ts +0 -53
- package/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.d.ts +0 -82
- package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +0 -54
- package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +0 -64
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +0 -50
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +0 -65
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +0 -62
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.d.ts +0 -23
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing.component.d.ts +0 -8
- package/lib/private/components/smart-crm-media/smart-crm-social-media/smart-crm-social-media.component.d.ts +0 -5
- package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +0 -66
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +0 -74
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +0 -123
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +0 -84
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.d.ts +0 -5
- package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +0 -10
- package/lib/private/smart-crm-private.module.d.ts +0 -66
- package/lib/private/smart-crm-private.routing.module.d.ts +0 -7
- package/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.d.ts +0 -18
- package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +0 -17
- package/lib/public/components/smart-crm-signup/smart-crm-signup.component.d.ts +0 -15
- package/lib/public/smart-crm-public.module.d.ts +0 -14
- package/lib/public/smart-crm-public.routing.module.d.ts +0 -7
- package/lib/shared/interface/crm-account.interface.d.ts +0 -61
- package/lib/shared/interface/crm-action.interface.d.ts +0 -15
- package/lib/shared/interface/crm-contact.interface.d.ts +0 -30
- package/lib/shared/interface/crm-lead.interface.d.ts +0 -27
- package/lib/shared/interface/crm-newsletter.interface.d.ts +0 -59
- package/lib/shared/interface/crm-opportunity.interface.d.ts +0 -63
- package/lib/shared/interface/crm-source.interface.d.ts +0 -11
- package/lib/shared/interface/crm-stages.interface.d.ts +0 -14
- package/lib/shared/interface/crm-widget.interface.d.ts +0 -14
- package/lib/shared/interface/smart-crm-module.interface.d.ts +0 -171
- package/lib/shared/models/smart-crm.model.d.ts +0 -16
- package/lib/shared/routers/routers.d.ts +0 -22
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
-
import { CrmAccount } from '../../../shared/interface/crm-account.interface';
|
|
7
|
-
import { CrmContactResponse } from '../../../shared/interface/crm-contact.interface';
|
|
8
|
-
import { OpportunityInsight } from '../../../shared/interface/smart-crm-module.interface';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class SmartCrmContactComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
|
-
private readonly crmService;
|
|
12
|
-
private readonly cdr;
|
|
13
|
-
private page;
|
|
14
|
-
data: CrmContactResponse;
|
|
15
|
-
subscription: Subscription;
|
|
16
|
-
subscriptionId: number;
|
|
17
|
-
contactId: number;
|
|
18
|
-
accountId: number;
|
|
19
|
-
accountData: CrmAccount;
|
|
20
|
-
userId: number;
|
|
21
|
-
user: User;
|
|
22
|
-
contactInsight: OpportunityInsight[];
|
|
23
|
-
contactGeography: Plotly.Figure;
|
|
24
|
-
filterByPotentials: string;
|
|
25
|
-
filterByStatus: string;
|
|
26
|
-
potential: any[];
|
|
27
|
-
labels: any[];
|
|
28
|
-
selectedLabels: any[];
|
|
29
|
-
selectedAccount: any[];
|
|
30
|
-
accountDropDown: any[];
|
|
31
|
-
crmAccountIds: string;
|
|
32
|
-
searchText: string;
|
|
33
|
-
loading: boolean;
|
|
34
|
-
hasAccess: boolean;
|
|
35
|
-
isLoaded: boolean;
|
|
36
|
-
routers: {
|
|
37
|
-
accounts: string;
|
|
38
|
-
contacts: string;
|
|
39
|
-
accountContacts: string;
|
|
40
|
-
accountInfo: string;
|
|
41
|
-
addAccount: string;
|
|
42
|
-
contactInfo: string;
|
|
43
|
-
contactAdd: string;
|
|
44
|
-
contactDetails: string;
|
|
45
|
-
opportunityAdd: string;
|
|
46
|
-
opportunities: string;
|
|
47
|
-
opportunityInfo: string;
|
|
48
|
-
configurationDetails: string;
|
|
49
|
-
configurations: string;
|
|
50
|
-
leadsDetails: string;
|
|
51
|
-
marketingDetails: string;
|
|
52
|
-
marketing: string;
|
|
53
|
-
categoryDetails: string;
|
|
54
|
-
sourceDetails: string;
|
|
55
|
-
stageDetails: string;
|
|
56
|
-
widgetsDetails: string;
|
|
57
|
-
};
|
|
58
|
-
lastSeenAtTextClass(value?: string | null): string;
|
|
59
|
-
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
60
|
-
ngOnInit(): void;
|
|
61
|
-
ngAfterViewChecked(): void;
|
|
62
|
-
/**get accounts dropdown */
|
|
63
|
-
getAccountsDropdown(): void;
|
|
64
|
-
/**select option from account dropdown */
|
|
65
|
-
onSelectAccount(): void;
|
|
66
|
-
private getTableState;
|
|
67
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
68
|
-
private getData;
|
|
69
|
-
/** Function to get user details */
|
|
70
|
-
private getUserInfo;
|
|
71
|
-
/** Function to get all contacts */
|
|
72
|
-
private getAllContacts;
|
|
73
|
-
/** Function to get the contacts related to accounts */
|
|
74
|
-
private getAccountContacts;
|
|
75
|
-
/** Function to get the account name */
|
|
76
|
-
private getAccountDetail;
|
|
77
|
-
/** Function to delete contact */
|
|
78
|
-
onDelete(id: number): void;
|
|
79
|
-
/** Function to filter by potential */
|
|
80
|
-
filterByPotential(event: any): void;
|
|
81
|
-
/** Function to call contact insight */
|
|
82
|
-
private getContactInsight;
|
|
83
|
-
/** Function to call contact geography */
|
|
84
|
-
getContactGeography(): void;
|
|
85
|
-
navigateToOpportunities(): void;
|
|
86
|
-
getDefaultValues(id: number): void;
|
|
87
|
-
onLabelChange(event: any): void;
|
|
88
|
-
ngOnDestroy(): void;
|
|
89
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactComponent, "pw-crm-contacts", never, {}, {}, never, never, false, never>;
|
|
91
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SmartCrmCustomerSuccessComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCustomerSuccessComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCustomerSuccessComponent, "pw-smart-crm-customer-success", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { activeOpportunities, signedUpLastThirtyDays, Subscription, User } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SmartCrmAccountInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
|
-
private readonly crmService;
|
|
8
|
-
subscription: Subscription;
|
|
9
|
-
userId: number;
|
|
10
|
-
user: User;
|
|
11
|
-
hasAccess: boolean;
|
|
12
|
-
canViewMrr: boolean;
|
|
13
|
-
signedUpLastThirtyDays: signedUpLastThirtyDays[];
|
|
14
|
-
activeOpportunities: activeOpportunities[];
|
|
15
|
-
accountAtRisk: any;
|
|
16
|
-
ContractRenewal: any;
|
|
17
|
-
accountInsight: any;
|
|
18
|
-
accountGeography: {
|
|
19
|
-
data: [];
|
|
20
|
-
layout: object;
|
|
21
|
-
};
|
|
22
|
-
churnedAccounts: any;
|
|
23
|
-
accountLastActivities: any;
|
|
24
|
-
creditCardExpiring: any;
|
|
25
|
-
magicMoment: any;
|
|
26
|
-
signUpLastNinetyDaysLoaded: boolean;
|
|
27
|
-
accountLastActivitiesLoaded: boolean;
|
|
28
|
-
churnedAccountLoaded: boolean;
|
|
29
|
-
activeOpportunitiesLoaded: boolean;
|
|
30
|
-
accountAtRiskDetailsLoaded: boolean;
|
|
31
|
-
contactRenewalLoaded: boolean;
|
|
32
|
-
creditCardExpiringDetailsLoaded: boolean;
|
|
33
|
-
accountGeographyLoaded: boolean;
|
|
34
|
-
accountInsightLoaded: boolean;
|
|
35
|
-
magicMomentLoaded: boolean;
|
|
36
|
-
actionNames: any;
|
|
37
|
-
activeOpportunitiesTotal: {
|
|
38
|
-
total_mrr: number;
|
|
39
|
-
};
|
|
40
|
-
accountAtRiskTotal: {
|
|
41
|
-
total_mrr: number;
|
|
42
|
-
};
|
|
43
|
-
contractRenewalTotal: {
|
|
44
|
-
total_mrr: number;
|
|
45
|
-
};
|
|
46
|
-
creditCardExpiringTotal: {
|
|
47
|
-
total_mrr: number;
|
|
48
|
-
};
|
|
49
|
-
magicMomentTotal: {
|
|
50
|
-
total_mrr: number;
|
|
51
|
-
};
|
|
52
|
-
signedUpLastNinetyDaysTotal: {
|
|
53
|
-
total_mrr: number;
|
|
54
|
-
};
|
|
55
|
-
churnedAccountsTotal: {
|
|
56
|
-
total_mrr: number;
|
|
57
|
-
};
|
|
58
|
-
routers: {
|
|
59
|
-
accounts: string;
|
|
60
|
-
contacts: string;
|
|
61
|
-
accountContacts: string;
|
|
62
|
-
accountInfo: string;
|
|
63
|
-
addAccount: string;
|
|
64
|
-
contactInfo: string;
|
|
65
|
-
contactAdd: string;
|
|
66
|
-
contactDetails: string;
|
|
67
|
-
opportunityAdd: string;
|
|
68
|
-
opportunities: string;
|
|
69
|
-
opportunityInfo: string;
|
|
70
|
-
configurationDetails: string;
|
|
71
|
-
configurations: string;
|
|
72
|
-
leadsDetails: string;
|
|
73
|
-
marketingDetails: string;
|
|
74
|
-
marketing: string;
|
|
75
|
-
categoryDetails: string;
|
|
76
|
-
sourceDetails: string;
|
|
77
|
-
stageDetails: string;
|
|
78
|
-
widgetsDetails: string;
|
|
79
|
-
};
|
|
80
|
-
constructor(crmService: CrmService, injector: Injector);
|
|
81
|
-
ngOnInit(): void;
|
|
82
|
-
private getUserInfo;
|
|
83
|
-
/** Function to call signed up last 90 days details */
|
|
84
|
-
private getSignedUpLastNinetyDays;
|
|
85
|
-
private getAccountLastActivities;
|
|
86
|
-
private getChurnedAccounts;
|
|
87
|
-
/** Function to call Active Opportunities details */
|
|
88
|
-
private getActiveOpportunities;
|
|
89
|
-
private getMagicMoment;
|
|
90
|
-
private getCreditCardExpiringDetails;
|
|
91
|
-
/** Function to call Account At Risk details */
|
|
92
|
-
private getAccountAtRiskDetails;
|
|
93
|
-
/** Function to call Contract renewal details */
|
|
94
|
-
private getContactRenewal;
|
|
95
|
-
private getAccountInsights;
|
|
96
|
-
private getAccountGeography;
|
|
97
|
-
checkPermission(permission: string): boolean;
|
|
98
|
-
ngOnDestroy(): void;
|
|
99
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmAccountInsightComponent, never>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmAccountInsightComponent, "pw-smart-crm-account-insight", never, {}, {}, never, never, false, never>;
|
|
101
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Plotly, Subscription } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SmartCrmAnalysisComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
-
private readonly crmService;
|
|
9
|
-
subscription: Subscription;
|
|
10
|
-
subscriptionId: number;
|
|
11
|
-
userId: number;
|
|
12
|
-
hasAccess: boolean;
|
|
13
|
-
graph: Plotly.Figure;
|
|
14
|
-
revenueGraph: Plotly.Figure;
|
|
15
|
-
startDate: NgbDateStruct;
|
|
16
|
-
endDate: NgbDateStruct;
|
|
17
|
-
selectedDateRange: any;
|
|
18
|
-
dateRanges: any;
|
|
19
|
-
isLoaded: boolean;
|
|
20
|
-
isRevenueGraphLoaded: boolean;
|
|
21
|
-
routers: {
|
|
22
|
-
accounts: string;
|
|
23
|
-
contacts: string;
|
|
24
|
-
accountContacts: string;
|
|
25
|
-
accountInfo: string;
|
|
26
|
-
addAccount: string;
|
|
27
|
-
contactInfo: string;
|
|
28
|
-
contactAdd: string;
|
|
29
|
-
contactDetails: string;
|
|
30
|
-
opportunityAdd: string;
|
|
31
|
-
opportunities: string;
|
|
32
|
-
opportunityInfo: string;
|
|
33
|
-
configurationDetails: string;
|
|
34
|
-
configurations: string;
|
|
35
|
-
leadsDetails: string;
|
|
36
|
-
marketingDetails: string;
|
|
37
|
-
marketing: string;
|
|
38
|
-
categoryDetails: string;
|
|
39
|
-
sourceDetails: string;
|
|
40
|
-
stageDetails: string;
|
|
41
|
-
widgetsDetails: string;
|
|
42
|
-
};
|
|
43
|
-
constructor(crmService: CrmService, injector: Injector);
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
private getUserInfo;
|
|
46
|
-
/** Function to get the data for the graph */
|
|
47
|
-
private getChartData;
|
|
48
|
-
private getRevenueGraph;
|
|
49
|
-
onDateRangeSelect(event: {
|
|
50
|
-
startDate: moment.Moment;
|
|
51
|
-
endDate: moment.Moment;
|
|
52
|
-
}): void;
|
|
53
|
-
ngOnDestroy(): void;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmAnalysisComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmAnalysisComponent, "pw-smart-crm-analysis", never, {}, {}, never, never, false, never>;
|
|
56
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
6
|
-
import { OpportunityInsight } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmContactInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
private readonly adminService;
|
|
12
|
-
subscription: Subscription;
|
|
13
|
-
subscriptionId: number;
|
|
14
|
-
userId: number;
|
|
15
|
-
user: User;
|
|
16
|
-
contactId: number;
|
|
17
|
-
accountId: number;
|
|
18
|
-
contactInsight: OpportunityInsight[];
|
|
19
|
-
contactGeography: Plotly.Figure;
|
|
20
|
-
userBaseData: Plotly.Figure;
|
|
21
|
-
selectedDateRange: any;
|
|
22
|
-
dateRanges: any;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
contactInsightLoaded: boolean;
|
|
25
|
-
geographyLoaded: boolean;
|
|
26
|
-
userBaseLoaded: boolean;
|
|
27
|
-
routers: {
|
|
28
|
-
accounts: string;
|
|
29
|
-
contacts: string;
|
|
30
|
-
accountContacts: string;
|
|
31
|
-
accountInfo: string;
|
|
32
|
-
addAccount: string;
|
|
33
|
-
contactInfo: string;
|
|
34
|
-
contactAdd: string;
|
|
35
|
-
contactDetails: string;
|
|
36
|
-
opportunityAdd: string;
|
|
37
|
-
opportunities: string;
|
|
38
|
-
opportunityInfo: string;
|
|
39
|
-
configurationDetails: string;
|
|
40
|
-
configurations: string;
|
|
41
|
-
leadsDetails: string;
|
|
42
|
-
marketingDetails: string;
|
|
43
|
-
marketing: string;
|
|
44
|
-
categoryDetails: string;
|
|
45
|
-
sourceDetails: string;
|
|
46
|
-
stageDetails: string;
|
|
47
|
-
widgetsDetails: string;
|
|
48
|
-
};
|
|
49
|
-
crmAccountIds: string;
|
|
50
|
-
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, adminService: AdminService);
|
|
51
|
-
ngOnInit(): void;
|
|
52
|
-
ngAfterViewChecked(): void;
|
|
53
|
-
private getContactInsight;
|
|
54
|
-
/** Function to call contact geography */
|
|
55
|
-
getContactGeography(): void;
|
|
56
|
-
getUserBaseData(): void;
|
|
57
|
-
onDateRangeSelect(event: {
|
|
58
|
-
startDate: moment.Moment;
|
|
59
|
-
endDate: moment.Moment;
|
|
60
|
-
}): void;
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactInsightComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactInsightComponent, "pw-smart-crm-contact-insight", never, {}, {}, never, never, false, never>;
|
|
64
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class SmartCrmInsightComponent {
|
|
3
|
-
tabs: {
|
|
4
|
-
id: number;
|
|
5
|
-
title: string;
|
|
6
|
-
}[];
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmInsightComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmInsightComponent, "pw-smart-crm-insight", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { CrmNewsLetterResponse } from '../../../../shared/interface/crm-newsletter.interface';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class SmartCrmCommunicationsInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
|
-
private readonly crmService;
|
|
9
|
-
private readonly cdr;
|
|
10
|
-
subscription: Subscription;
|
|
11
|
-
subscriptionId: number;
|
|
12
|
-
user: User;
|
|
13
|
-
data: CrmNewsLetterResponse;
|
|
14
|
-
communicationsInsight: any;
|
|
15
|
-
communicationEngagement: Plotly.Figure;
|
|
16
|
-
searchText: string;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
isLoaded: boolean;
|
|
19
|
-
communicationsInsightLoaded: boolean;
|
|
20
|
-
geographyLoaded: boolean;
|
|
21
|
-
routers: {
|
|
22
|
-
accounts: string;
|
|
23
|
-
contacts: string;
|
|
24
|
-
accountContacts: string;
|
|
25
|
-
accountInfo: string;
|
|
26
|
-
addAccount: string;
|
|
27
|
-
contactInfo: string;
|
|
28
|
-
contactAdd: string;
|
|
29
|
-
contactDetails: string;
|
|
30
|
-
opportunityAdd: string;
|
|
31
|
-
opportunities: string;
|
|
32
|
-
opportunityInfo: string;
|
|
33
|
-
configurationDetails: string;
|
|
34
|
-
configurations: string;
|
|
35
|
-
leadsDetails: string;
|
|
36
|
-
marketingDetails: string;
|
|
37
|
-
marketing: string;
|
|
38
|
-
categoryDetails: string;
|
|
39
|
-
sourceDetails: string;
|
|
40
|
-
stageDetails: string;
|
|
41
|
-
widgetsDetails: string;
|
|
42
|
-
};
|
|
43
|
-
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
44
|
-
ngOnInit(): void;
|
|
45
|
-
ngAfterViewChecked(): void;
|
|
46
|
-
/** Function to call communication insight */
|
|
47
|
-
private getCommunicationInsight;
|
|
48
|
-
/** Function to call communication engagement */
|
|
49
|
-
private getCommunicationEngagement;
|
|
50
|
-
ngOnDestroy(): void;
|
|
51
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmCommunicationsInsightComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmCommunicationsInsightComponent, "pw-smart-crm-communications-insight", never, {}, {}, never, never, false, never>;
|
|
53
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { ProductService } from '@posiwise/common-services';
|
|
4
|
-
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
6
|
-
import { OpportunityInsight } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
7
|
-
import { CrmOpportunityResponse } from '../../../../shared/interface/crm-opportunity.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SmartCrmOpportunitiesInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
10
|
-
private readonly crmService;
|
|
11
|
-
private readonly cdr;
|
|
12
|
-
private readonly productService;
|
|
13
|
-
subscription: Subscription;
|
|
14
|
-
subscriptionId: number;
|
|
15
|
-
user: User;
|
|
16
|
-
userId: number;
|
|
17
|
-
data: CrmOpportunityResponse;
|
|
18
|
-
opportunitiesInsight: OpportunityInsight[];
|
|
19
|
-
opportunitiesCategory: any;
|
|
20
|
-
opportunitiesStage: any;
|
|
21
|
-
opportunitiesGraphData: any;
|
|
22
|
-
opportunitiesGeography: Plotly.Figure;
|
|
23
|
-
selectedDateRange: any;
|
|
24
|
-
dateRanges: any;
|
|
25
|
-
searchText: string;
|
|
26
|
-
searchStages: object[];
|
|
27
|
-
searchCategories: object[];
|
|
28
|
-
filterByStages: string[];
|
|
29
|
-
filterByCategories: any[];
|
|
30
|
-
page: number;
|
|
31
|
-
stages: any[];
|
|
32
|
-
categories: any[];
|
|
33
|
-
id: string;
|
|
34
|
-
loading: boolean;
|
|
35
|
-
isLoaded: boolean;
|
|
36
|
-
hasAccess: boolean;
|
|
37
|
-
opportunitiesInsightLoaded: boolean;
|
|
38
|
-
opportunitiesGeographyLoaded: boolean;
|
|
39
|
-
opportunitiesCategoryLoaded: boolean;
|
|
40
|
-
opportunitiesStageLoaded: boolean;
|
|
41
|
-
opportunitiesGraphLoaded: boolean;
|
|
42
|
-
routers: {
|
|
43
|
-
accounts: string;
|
|
44
|
-
contacts: string;
|
|
45
|
-
accountContacts: string;
|
|
46
|
-
accountInfo: string;
|
|
47
|
-
addAccount: string;
|
|
48
|
-
contactInfo: string;
|
|
49
|
-
contactAdd: string;
|
|
50
|
-
contactDetails: string;
|
|
51
|
-
opportunityAdd: string;
|
|
52
|
-
opportunities: string;
|
|
53
|
-
opportunityInfo: string;
|
|
54
|
-
configurationDetails: string;
|
|
55
|
-
configurations: string;
|
|
56
|
-
leadsDetails: string;
|
|
57
|
-
marketingDetails: string;
|
|
58
|
-
marketing: string;
|
|
59
|
-
categoryDetails: string;
|
|
60
|
-
sourceDetails: string;
|
|
61
|
-
stageDetails: string;
|
|
62
|
-
widgetsDetails: string;
|
|
63
|
-
};
|
|
64
|
-
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, productService: ProductService);
|
|
65
|
-
ngOnInit(): void;
|
|
66
|
-
ngAfterViewChecked(): void;
|
|
67
|
-
/** Function to call opportunities insight */
|
|
68
|
-
private getOpportunitiesInsight;
|
|
69
|
-
/** Function to call contact geography */
|
|
70
|
-
private getContactGeography;
|
|
71
|
-
private getOpportunityCategory;
|
|
72
|
-
private getOpportunityStage;
|
|
73
|
-
private getOpportunityGraph;
|
|
74
|
-
onDateRangeSelect(event: {
|
|
75
|
-
startDate: moment.Moment;
|
|
76
|
-
endDate: moment.Moment;
|
|
77
|
-
}): void;
|
|
78
|
-
checkPermission(permission: string): boolean;
|
|
79
|
-
ngOnDestroy(): void;
|
|
80
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesInsightComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmOpportunitiesInsightComponent, "pw-smart-crm-opportunities-insight", never, {}, {}, never, never, false, never>;
|
|
82
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import { GeoService } from '@posiwise/common-services';
|
|
5
|
-
import { Country } from '@posiwise/common-utilities';
|
|
6
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
7
|
-
import { Observable } from 'rxjs';
|
|
8
|
-
import { CrmAccount } from '../../../../shared/interface/crm-account.interface';
|
|
9
|
-
import { CrmLead } from '../../../../shared/interface/crm-lead.interface';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class SmartCrmLeadsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
|
-
private readonly crmService;
|
|
13
|
-
private readonly geoService;
|
|
14
|
-
private countries$;
|
|
15
|
-
form: UntypedFormGroup;
|
|
16
|
-
id: number;
|
|
17
|
-
subscriptionId: number;
|
|
18
|
-
data: CrmLead;
|
|
19
|
-
source$: Observable<unknown>;
|
|
20
|
-
accounts: CrmAccount[];
|
|
21
|
-
filteredAccounts: string[];
|
|
22
|
-
filteredCountries: Country[];
|
|
23
|
-
countryNames: any[];
|
|
24
|
-
potentials: any[];
|
|
25
|
-
labels: any[];
|
|
26
|
-
submitted: boolean;
|
|
27
|
-
buttonBusy: boolean;
|
|
28
|
-
isLoading: boolean;
|
|
29
|
-
constructor(injector: Injector, crmService: CrmService, geoService: GeoService);
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
onSearchCountry(event: any): void;
|
|
32
|
-
/** Function to get the specific contact details on edit form */
|
|
33
|
-
private getLeadDetails;
|
|
34
|
-
handleAddressChange(event: any): void;
|
|
35
|
-
private markAllAsTouched;
|
|
36
|
-
/** Function to execute on form submission */
|
|
37
|
-
onSave(): void;
|
|
38
|
-
/** Function to get form controls */
|
|
39
|
-
get f(): {
|
|
40
|
-
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
41
|
-
};
|
|
42
|
-
/** Function to post the new lead */
|
|
43
|
-
private onPostLead;
|
|
44
|
-
/** Function to update the leads */
|
|
45
|
-
private onUpdateLead;
|
|
46
|
-
/** Function to get the list of accounts by subscriptionId */
|
|
47
|
-
private getAccountsBySubscription;
|
|
48
|
-
/** search accounts */
|
|
49
|
-
search(event: any): void;
|
|
50
|
-
getDefaultValues(id: number): void;
|
|
51
|
-
ngOnDestroy(): void;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmLeadsDetailsComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmLeadsDetailsComponent, "pw-smart-crm-leads-details", never, {}, {}, never, never, false, never>;
|
|
54
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { GeoService } from '@posiwise/common-services';
|
|
4
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
6
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
7
|
-
import { CrmLeadResponse } from '../../../shared/interface/crm-lead.interface';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SmartCrmLeadsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
10
|
-
private readonly crmService;
|
|
11
|
-
private readonly cdr;
|
|
12
|
-
private readonly geoService;
|
|
13
|
-
subscription: Subscription;
|
|
14
|
-
countries$: any;
|
|
15
|
-
subscriptionId: number;
|
|
16
|
-
userId: number;
|
|
17
|
-
countryData: any;
|
|
18
|
-
data: CrmLeadResponse;
|
|
19
|
-
allSource: any[];
|
|
20
|
-
crmSources: any[];
|
|
21
|
-
filterBySource: string;
|
|
22
|
-
searchText: string;
|
|
23
|
-
loading: boolean;
|
|
24
|
-
isLoaded: boolean;
|
|
25
|
-
hasAccess: boolean;
|
|
26
|
-
page: number;
|
|
27
|
-
routers: {
|
|
28
|
-
accounts: string;
|
|
29
|
-
contacts: string;
|
|
30
|
-
accountContacts: string;
|
|
31
|
-
accountInfo: string;
|
|
32
|
-
addAccount: string;
|
|
33
|
-
contactInfo: string;
|
|
34
|
-
contactAdd: string;
|
|
35
|
-
contactDetails: string;
|
|
36
|
-
opportunityAdd: string;
|
|
37
|
-
opportunities: string;
|
|
38
|
-
opportunityInfo: string;
|
|
39
|
-
configurationDetails: string;
|
|
40
|
-
configurations: string;
|
|
41
|
-
leadsDetails: string;
|
|
42
|
-
marketingDetails: string;
|
|
43
|
-
marketing: string;
|
|
44
|
-
categoryDetails: string;
|
|
45
|
-
sourceDetails: string;
|
|
46
|
-
stageDetails: string;
|
|
47
|
-
widgetsDetails: string;
|
|
48
|
-
};
|
|
49
|
-
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, geoService: GeoService);
|
|
50
|
-
ngOnInit(): void;
|
|
51
|
-
getCountryName(code: string): string;
|
|
52
|
-
ngAfterViewChecked(): void;
|
|
53
|
-
private getUserInfo;
|
|
54
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
55
|
-
private getAllCrmLeads;
|
|
56
|
-
/** Function to delete Lead */
|
|
57
|
-
onDelete(id: number): void;
|
|
58
|
-
/** Function to all account source */
|
|
59
|
-
private getAllSource;
|
|
60
|
-
onSourceChange(event: any): void;
|
|
61
|
-
ngOnDestroy(): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmLeadsComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmLeadsComponent, "pw-smart-crm-leads", never, {}, {}, never, never, false, never>;
|
|
64
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
6
|
-
import { NewsLetterContactResponse } from '../../../../../shared/interface/crm-newsletter.interface';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmMarketingUsersListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
|
-
private readonly crmService;
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
private page;
|
|
12
|
-
subscription: Subscription;
|
|
13
|
-
subscriptionId: number;
|
|
14
|
-
data: NewsLetterContactResponse;
|
|
15
|
-
id: number;
|
|
16
|
-
searchText: string;
|
|
17
|
-
loading: boolean;
|
|
18
|
-
isLoaded: boolean;
|
|
19
|
-
routers: {
|
|
20
|
-
accounts: string;
|
|
21
|
-
contacts: string;
|
|
22
|
-
accountContacts: string;
|
|
23
|
-
accountInfo: string;
|
|
24
|
-
addAccount: string;
|
|
25
|
-
contactInfo: string;
|
|
26
|
-
contactAdd: string;
|
|
27
|
-
contactDetails: string;
|
|
28
|
-
opportunityAdd: string;
|
|
29
|
-
opportunities: string;
|
|
30
|
-
opportunityInfo: string;
|
|
31
|
-
configurationDetails: string;
|
|
32
|
-
configurations: string;
|
|
33
|
-
leadsDetails: string;
|
|
34
|
-
marketingDetails: string;
|
|
35
|
-
marketing: string;
|
|
36
|
-
categoryDetails: string;
|
|
37
|
-
sourceDetails: string;
|
|
38
|
-
stageDetails: string;
|
|
39
|
-
widgetsDetails: string;
|
|
40
|
-
};
|
|
41
|
-
constructor(injector: Injector, crmService: CrmService, cdr: ChangeDetectorRef);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
ngAfterViewChecked(): void;
|
|
44
|
-
onLazyLoad(event: LazyLoadEvent): void;
|
|
45
|
-
/** Function to call users list for newsletter */
|
|
46
|
-
private getNewsletterInsight;
|
|
47
|
-
ngOnDestroy(): void;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmMarketingUsersListComponent, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmMarketingUsersListComponent, "pw-smart-crm-marketing-users-list", never, {}, {}, never, never, false, never>;
|
|
50
|
-
}
|