@posiwise/smart-crm 0.0.37 → 0.0.39
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/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.mjs +10 -10
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.mjs +8 -8
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.mjs +23 -23
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.mjs +10 -10
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +9 -9
- package/esm2022/lib/private/components/smart-crm-actions/smart-crm-actions.component.mjs +20 -18
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.mjs +5 -5
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +5 -5
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-configuration.component.mjs +4 -4
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +6 -6
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +9 -9
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.mjs +4 -4
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +9 -9
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +8 -8
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.mjs +8 -8
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.mjs +17 -17
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +13 -13
- package/esm2022/lib/private/components/smart-crm-customer/smart-crm-customer-success/smart-crm-customer-success.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.mjs +7 -7
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-insight.component.mjs +4 -4
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.mjs +5 -5
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.mjs +10 -10
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.mjs +6 -6
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +7 -7
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.mjs +7 -7
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +6 -6
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +10 -10
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.mjs +9 -9
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.mjs +17 -17
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.mjs +13 -11
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +10 -10
- package/esm2022/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.mjs +3 -3
- package/esm2022/lib/private/smart-crm-private.module.mjs +33 -33
- package/esm2022/lib/private/smart-crm-private.routing.module.mjs +8 -8
- package/esm2022/lib/public/components/smart-crm-newsletter-confirmation/smart-crm-newsletter-confirmation.component.mjs +1 -1
- package/esm2022/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.mjs +3 -3
- package/esm2022/lib/public/components/smart-crm-signup/smart-crm-signup.component.mjs +2 -2
- package/esm2022/lib/public/smart-crm-public.module.mjs +4 -4
- package/esm2022/lib/public/smart-crm-public.routing.module.mjs +1 -1
- package/fesm2022/posiwise-smart-crm.mjs +162 -159
- package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
- package/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.d.ts +16 -16
- package/lib/private/components/smart-crm-accounts/smart-crm-account-files/smart-crm-account-files.component.d.ts +12 -12
- package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +46 -47
- package/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.d.ts +10 -10
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +12 -12
- package/lib/private/components/smart-crm-actions/smart-crm-actions.component.d.ts +15 -15
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.d.ts +8 -8
- package/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.d.ts +5 -5
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories-details/smart-crm-opportunity-categories-details.component.d.ts +4 -4
- package/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.d.ts +7 -7
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.d.ts +1 -1
- package/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.d.ts +6 -6
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.d.ts +5 -5
- package/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.d.ts +8 -8
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.d.ts +7 -7
- package/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.d.ts +9 -9
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.d.ts +11 -11
- package/lib/private/components/smart-crm-contacts/smart-crm-contact-info/smart-crm-contact-info.component.d.ts +27 -27
- package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +19 -19
- package/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.d.ts +19 -19
- package/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.d.ts +7 -7
- package/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.d.ts +13 -13
- package/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.d.ts +8 -8
- package/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.d.ts +18 -18
- package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +6 -6
- package/lib/private/components/smart-crm-leads/smart-crm-leads.component.d.ts +9 -9
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +7 -7
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +10 -10
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +8 -8
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.d.ts +3 -3
- package/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.d.ts +10 -10
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +23 -23
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +27 -27
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +12 -12
- package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +1 -1
- package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
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';
|
|
2
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
+
import { FilteredData } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
3
6
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
5
7
|
import { CrmWidgetResponse } from '../../../../shared/interface/crm-widget.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
-
import { FilteredData } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SmartCrmWidgetsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
10
10
|
private readonly crmService;
|
|
11
11
|
private readonly cdr;
|
|
12
|
-
|
|
13
|
-
loading: boolean;
|
|
12
|
+
private page;
|
|
14
13
|
data: CrmWidgetResponse;
|
|
15
|
-
|
|
16
|
-
isLoaded: boolean;
|
|
14
|
+
subscription: Subscription;
|
|
17
15
|
subscriptionId: number;
|
|
18
16
|
allWidgets: FilteredData[];
|
|
19
17
|
positions: any[];
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
searchText: string;
|
|
19
|
+
loading: boolean;
|
|
20
|
+
hasAccess: boolean;
|
|
21
|
+
isLoaded: boolean;
|
|
22
22
|
routers: {
|
|
23
23
|
accounts: string;
|
|
24
24
|
contacts: string;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { CommonService } from '@posiwise/common-services';
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
3
6
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
7
|
import { Observable } from 'rxjs';
|
|
5
8
|
import { CrmAccount } from '../../../../shared/interface/crm-account.interface';
|
|
6
9
|
import { CrmContact } from '../../../../shared/interface/crm-contact.interface';
|
|
7
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
8
|
-
import { User } from '@posiwise/common-utilities';
|
|
9
|
-
import { CommonService } from '@posiwise/common-services';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class SmartCrmContactDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
12
12
|
private readonly commonService;
|
|
13
13
|
private readonly crmService;
|
|
14
14
|
private readonly cdr;
|
|
15
15
|
form: UntypedFormGroup;
|
|
16
|
-
data: CrmContact;
|
|
17
16
|
id: number;
|
|
18
|
-
user: User;
|
|
19
|
-
submitted: boolean;
|
|
20
|
-
buttonBusy: boolean;
|
|
21
|
-
isLoading: boolean;
|
|
22
|
-
departments$: Observable<string>;
|
|
23
|
-
accounts: CrmAccount[];
|
|
24
17
|
subscriptionId: number;
|
|
25
18
|
accountId: number;
|
|
19
|
+
user: User;
|
|
20
|
+
data: CrmContact;
|
|
21
|
+
accounts: CrmAccount[];
|
|
26
22
|
filteredAccounts: CrmAccount[];
|
|
23
|
+
departments$: Observable<string>;
|
|
24
|
+
crmSources$: Observable<string>;
|
|
27
25
|
potentials: any[];
|
|
28
26
|
labels: any[];
|
|
29
|
-
|
|
27
|
+
submitted: boolean;
|
|
28
|
+
buttonBusy: boolean;
|
|
29
|
+
isLoading: boolean;
|
|
30
30
|
/** Function to get form controls */
|
|
31
31
|
get f(): {
|
|
32
32
|
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { NgbCalendar, NgbDateStruct, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
4
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
|
-
import { UploadFile, UploadInput, UploadOutput, UploaderOptions } from 'ngx-uploader';
|
|
6
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
7
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
8
4
|
import { AuthService } from '@posiwise/common-services';
|
|
9
|
-
import {
|
|
5
|
+
import { Subscription } from '@posiwise/common-utilities';
|
|
6
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
10
7
|
import { CrmAccount } from 'libs/smart-crm/src/lib/shared/interface/crm-account.interface';
|
|
11
8
|
import { CrmContact } from 'libs/smart-crm/src/lib/shared/interface/crm-contact.interface';
|
|
9
|
+
import { SmartCrmAction } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
10
|
+
import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
|
|
11
|
+
import { NgbCalendar, NgbDateStruct, NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class SmartCrmContactInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
14
14
|
private readonly crmService;
|
|
@@ -19,42 +19,42 @@ export declare class SmartCrmContactInfoComponent extends AppBaseComponent imple
|
|
|
19
19
|
actionControls: UntypedFormGroup;
|
|
20
20
|
aboutControls: UntypedFormGroup;
|
|
21
21
|
contactId: number;
|
|
22
|
+
accountId: number;
|
|
23
|
+
userId: number;
|
|
24
|
+
subscriptionId: number;
|
|
22
25
|
data: CrmContact;
|
|
23
|
-
|
|
26
|
+
subscription: Subscription;
|
|
24
27
|
actions: SmartCrmAction[];
|
|
28
|
+
filteredAccounts: CrmAccount[];
|
|
29
|
+
accounts: any[];
|
|
30
|
+
contactComments: any[];
|
|
31
|
+
contactVersioning: any[];
|
|
25
32
|
model: NgbDateStruct;
|
|
26
33
|
date: {
|
|
27
34
|
year: number;
|
|
28
35
|
month: number;
|
|
29
36
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
options: UploaderOptions;
|
|
38
|
+
uploadInput: EventEmitter<UploadInput>;
|
|
39
|
+
files: UploadFile[];
|
|
40
|
+
token: string;
|
|
41
|
+
potentials: string[];
|
|
42
|
+
labels: any[];
|
|
33
43
|
submitted: boolean;
|
|
34
44
|
buttonBusy: boolean;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
contactVersioning: any[];
|
|
45
|
+
isDisabled: boolean;
|
|
46
|
+
isFormEdit: boolean;
|
|
47
|
+
isLoaded: boolean;
|
|
39
48
|
isDataLoaded: boolean;
|
|
49
|
+
hasAccess: boolean;
|
|
40
50
|
updating: boolean;
|
|
41
|
-
actionId: number;
|
|
42
|
-
dangerColor: boolean;
|
|
43
|
-
potentials: string[];
|
|
44
|
-
labels: any[];
|
|
45
51
|
buttonDisable: boolean;
|
|
46
|
-
|
|
52
|
+
dangerColor: boolean;
|
|
47
53
|
showFullComment: boolean;
|
|
48
|
-
commentId: number;
|
|
49
|
-
accountId: number;
|
|
50
|
-
options: UploaderOptions;
|
|
51
|
-
uploadInput: EventEmitter<UploadInput>;
|
|
52
|
-
files: UploadFile[];
|
|
53
|
-
token: string;
|
|
54
|
-
dragOver: boolean;
|
|
55
|
-
isLoaded: boolean;
|
|
56
54
|
submitAction: boolean;
|
|
57
|
-
|
|
55
|
+
dragOver: boolean;
|
|
56
|
+
actionId: number;
|
|
57
|
+
commentId: number;
|
|
58
58
|
routers: {
|
|
59
59
|
accounts: string;
|
|
60
60
|
contacts: string;
|
|
@@ -1,34 +1,38 @@
|
|
|
1
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';
|
|
2
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
5
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import {
|
|
6
|
+
import { CrmAccount } from '../../../shared/interface/crm-account.interface';
|
|
5
7
|
import { CrmContactResponse } from '../../../shared/interface/crm-contact.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
8
|
import { OpportunityInsight } from '../../../shared/interface/smart-crm-module.interface';
|
|
8
|
-
import { CrmAccount } from '../../../shared/interface/crm-account.interface';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class SmartCrmContactComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
11
|
private readonly crmService;
|
|
12
12
|
private readonly cdr;
|
|
13
|
+
private page;
|
|
13
14
|
data: CrmContactResponse;
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
subscription: Subscription;
|
|
16
|
+
subscriptionId: number;
|
|
16
17
|
contactId: number;
|
|
17
|
-
accountData: CrmAccount;
|
|
18
18
|
accountId: number;
|
|
19
|
-
|
|
20
|
-
hasAccess: boolean;
|
|
19
|
+
accountData: CrmAccount;
|
|
21
20
|
userId: number;
|
|
22
|
-
isLoaded: boolean;
|
|
23
|
-
filterByPotentials: string;
|
|
24
|
-
potential: any[];
|
|
25
|
-
labels: any[];
|
|
26
|
-
filterByStatus: string;
|
|
27
21
|
user: User;
|
|
28
22
|
contactInsight: OpportunityInsight[];
|
|
29
23
|
contactGeography: Plotly.Figure;
|
|
30
|
-
|
|
31
|
-
|
|
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;
|
|
32
36
|
routers: {
|
|
33
37
|
accounts: string;
|
|
34
38
|
contacts: string;
|
|
@@ -51,10 +55,6 @@ export declare class SmartCrmContactComponent extends AppBaseComponent implement
|
|
|
51
55
|
stageDetails: string;
|
|
52
56
|
widgetsDetails: string;
|
|
53
57
|
};
|
|
54
|
-
selectedLabels: any[];
|
|
55
|
-
selectedAccount: any[];
|
|
56
|
-
accountDropDown: any[];
|
|
57
|
-
crmAccountIds: string;
|
|
58
58
|
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
59
59
|
ngOnInit(): void;
|
|
60
60
|
ngAfterViewChecked(): void;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
-
import {
|
|
3
|
+
import { activeOpportunities, signedUpLastThirtyDays, Subscription, User } from '@posiwise/common-utilities';
|
|
4
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SmartCrmAccountInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
7
|
private readonly crmService;
|
|
8
|
+
subscription: Subscription;
|
|
9
|
+
userId: number;
|
|
10
|
+
user: User;
|
|
11
|
+
hasAccess: boolean;
|
|
8
12
|
signedUpLastThirtyDays: signedUpLastThirtyDays[];
|
|
9
13
|
activeOpportunities: activeOpportunities[];
|
|
10
14
|
accountAtRisk: [];
|
|
@@ -16,6 +20,19 @@ export declare class SmartCrmAccountInsightComponent extends AppBaseComponent im
|
|
|
16
20
|
};
|
|
17
21
|
churnedAccounts: [];
|
|
18
22
|
accountLastActivities: [];
|
|
23
|
+
creditCardExpiring: [];
|
|
24
|
+
magicMoment: [];
|
|
25
|
+
signUpLastNinetyDaysLoaded: boolean;
|
|
26
|
+
accountLastActivitiesLoaded: boolean;
|
|
27
|
+
churnedAccountLoaded: boolean;
|
|
28
|
+
activeOpportunitiesLoaded: boolean;
|
|
29
|
+
accountAtRiskDetailsLoaded: boolean;
|
|
30
|
+
contactRenewalLoaded: boolean;
|
|
31
|
+
creditCardExpiringDetailsLoaded: boolean;
|
|
32
|
+
accountGeographyLoaded: boolean;
|
|
33
|
+
accountInsightLoaded: boolean;
|
|
34
|
+
magicMomentLoaded: boolean;
|
|
35
|
+
actionNames: any;
|
|
19
36
|
routers: {
|
|
20
37
|
accounts: string;
|
|
21
38
|
contacts: string;
|
|
@@ -38,23 +55,6 @@ export declare class SmartCrmAccountInsightComponent extends AppBaseComponent im
|
|
|
38
55
|
stageDetails: string;
|
|
39
56
|
widgetsDetails: string;
|
|
40
57
|
};
|
|
41
|
-
creditCardExpiring: [];
|
|
42
|
-
magicMoment: [];
|
|
43
|
-
user: User;
|
|
44
|
-
signUpLastNinetyDaysLoaded: boolean;
|
|
45
|
-
accountLastActivitiesLoaded: boolean;
|
|
46
|
-
churnedAccountLoaded: boolean;
|
|
47
|
-
activeOpportunitiesLoaded: boolean;
|
|
48
|
-
accountAtRiskDetailsLoaded: boolean;
|
|
49
|
-
contactRenewalLoaded: boolean;
|
|
50
|
-
creditCardExpiringDetailsLoaded: boolean;
|
|
51
|
-
accountGeographyLoaded: boolean;
|
|
52
|
-
accountInsightLoaded: boolean;
|
|
53
|
-
magicMomentLoaded: boolean;
|
|
54
|
-
subscription: Subscription;
|
|
55
|
-
hasAccess: boolean;
|
|
56
|
-
userId: number;
|
|
57
|
-
actionNames: any;
|
|
58
58
|
constructor(crmService: CrmService, injector: Injector);
|
|
59
59
|
ngOnInit(): void;
|
|
60
60
|
private getUserInfo;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
3
|
import { Plotly, Subscription } from '@posiwise/common-utilities';
|
|
4
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
5
|
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SmartCrmAnalysisComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
8
|
private readonly crmService;
|
|
9
|
-
|
|
10
|
-
revenueGraph: Plotly.Figure;
|
|
9
|
+
subscription: Subscription;
|
|
11
10
|
subscriptionId: number;
|
|
11
|
+
userId: number;
|
|
12
12
|
hasAccess: boolean;
|
|
13
|
+
graph: Plotly.Figure;
|
|
14
|
+
revenueGraph: Plotly.Figure;
|
|
13
15
|
startDate: NgbDateStruct;
|
|
14
16
|
endDate: NgbDateStruct;
|
|
15
|
-
|
|
17
|
+
selectedDateRange: any;
|
|
18
|
+
dateRanges: any;
|
|
16
19
|
isLoaded: boolean;
|
|
17
20
|
isRevenueGraphLoaded: boolean;
|
|
18
21
|
routers: {
|
|
@@ -37,9 +40,6 @@ export declare class SmartCrmAnalysisComponent extends AppBaseComponent implemen
|
|
|
37
40
|
stageDetails: string;
|
|
38
41
|
widgetsDetails: string;
|
|
39
42
|
};
|
|
40
|
-
subscription: Subscription;
|
|
41
|
-
selectedDateRange: any;
|
|
42
|
-
dateRanges: any;
|
|
43
43
|
constructor(crmService: CrmService, injector: Injector);
|
|
44
44
|
ngOnInit(): void;
|
|
45
45
|
private getUserInfo;
|
|
@@ -1,24 +1,29 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AdminService } from '@posiwise/admin-module-utils';
|
|
3
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
4
|
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
5
6
|
import { OpportunityInsight } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
6
|
-
import { AdminService } from '@posiwise/admin-module-utils';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class SmartCrmContactInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
+
export declare class SmartCrmContactInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
9
|
private readonly crmService;
|
|
10
10
|
private readonly cdr;
|
|
11
11
|
private readonly adminService;
|
|
12
|
-
|
|
13
|
-
contactId: number;
|
|
14
|
-
accountId: number;
|
|
12
|
+
subscription: Subscription;
|
|
15
13
|
subscriptionId: number;
|
|
16
14
|
userId: number;
|
|
17
15
|
user: User;
|
|
16
|
+
contactId: number;
|
|
17
|
+
accountId: number;
|
|
18
18
|
contactInsight: OpportunityInsight[];
|
|
19
19
|
contactGeography: Plotly.Figure;
|
|
20
20
|
userBaseData: Plotly.Figure;
|
|
21
|
-
|
|
21
|
+
selectedDateRange: any;
|
|
22
|
+
dateRanges: any;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
contactInsightLoaded: boolean;
|
|
25
|
+
geographyLoaded: boolean;
|
|
26
|
+
userBaseLoaded: boolean;
|
|
22
27
|
routers: {
|
|
23
28
|
accounts: string;
|
|
24
29
|
contacts: string;
|
|
@@ -41,11 +46,6 @@ export declare class SmartCrmContactInsightComponent extends AppBaseComponent im
|
|
|
41
46
|
stageDetails: string;
|
|
42
47
|
widgetsDetails: string;
|
|
43
48
|
};
|
|
44
|
-
contactInsightLoaded: boolean;
|
|
45
|
-
geographyLoaded: boolean;
|
|
46
|
-
userBaseLoaded: boolean;
|
|
47
|
-
selectedDateRange: any;
|
|
48
|
-
dateRanges: any;
|
|
49
49
|
crmAccountIds: string;
|
|
50
50
|
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, adminService: AdminService);
|
|
51
51
|
ngOnInit(): void;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
3
|
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
4
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
5
|
import { CrmNewsLetterResponse } from '../../../../shared/interface/crm-newsletter.interface';
|
|
5
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SmartCrmCommunicationsInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
8
8
|
private readonly crmService;
|
|
9
9
|
private readonly cdr;
|
|
10
|
+
subscription: Subscription;
|
|
10
11
|
subscriptionId: number;
|
|
11
|
-
|
|
12
|
+
user: User;
|
|
12
13
|
data: CrmNewsLetterResponse;
|
|
13
|
-
|
|
14
|
+
communicationsInsight: any;
|
|
15
|
+
communicationEngagement: Plotly.Figure;
|
|
16
|
+
searchText: string;
|
|
14
17
|
loading: boolean;
|
|
18
|
+
isLoaded: boolean;
|
|
15
19
|
communicationsInsightLoaded: boolean;
|
|
16
20
|
geographyLoaded: boolean;
|
|
17
|
-
user: User;
|
|
18
|
-
communicationsInsight: any;
|
|
19
|
-
communicationEngagement: Plotly.Figure;
|
|
20
|
-
subscription: Subscription;
|
|
21
21
|
routers: {
|
|
22
22
|
accounts: string;
|
|
23
23
|
contacts: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
|
-
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
4
|
-
import { CrmOpportunityResponse } from '../../../../shared/interface/crm-opportunity.interface';
|
|
5
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
3
|
import { ProductService } from '@posiwise/common-services';
|
|
4
|
+
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
7
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
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SmartCrmOpportunitiesInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
10
10
|
private readonly crmService;
|
|
@@ -12,28 +12,33 @@ export declare class SmartCrmOpportunitiesInsightComponent extends AppBaseCompon
|
|
|
12
12
|
private readonly productService;
|
|
13
13
|
subscription: Subscription;
|
|
14
14
|
subscriptionId: number;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
selectedDateRange: any;
|
|
18
|
-
dateRanges: any;
|
|
15
|
+
user: User;
|
|
16
|
+
userId: number;
|
|
19
17
|
data: CrmOpportunityResponse;
|
|
20
|
-
id: string;
|
|
21
|
-
isLoaded: boolean;
|
|
22
|
-
loading: boolean;
|
|
23
18
|
opportunitiesInsight: OpportunityInsight[];
|
|
24
19
|
opportunitiesCategory: any;
|
|
25
20
|
opportunitiesStage: any;
|
|
26
21
|
opportunitiesGraphData: any;
|
|
27
22
|
opportunitiesGeography: Plotly.Figure;
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
selectedDateRange: any;
|
|
24
|
+
dateRanges: any;
|
|
25
|
+
searchText: string;
|
|
30
26
|
searchStages: object[];
|
|
27
|
+
searchCategories: object[];
|
|
31
28
|
filterByStages: string[];
|
|
32
29
|
filterByCategories: any[];
|
|
33
|
-
searchCategories: object[];
|
|
34
30
|
page: number;
|
|
35
31
|
stages: any[];
|
|
36
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;
|
|
37
42
|
routers: {
|
|
38
43
|
accounts: string;
|
|
39
44
|
contacts: string;
|
|
@@ -56,11 +61,6 @@ export declare class SmartCrmOpportunitiesInsightComponent extends AppBaseCompon
|
|
|
56
61
|
stageDetails: string;
|
|
57
62
|
widgetsDetails: string;
|
|
58
63
|
};
|
|
59
|
-
opportunitiesInsightLoaded: boolean;
|
|
60
|
-
opportunitiesGeographyLoaded: boolean;
|
|
61
|
-
opportunitiesCategoryLoaded: boolean;
|
|
62
|
-
opportunitiesStageLoaded: boolean;
|
|
63
|
-
opportunitiesGraphLoaded: boolean;
|
|
64
64
|
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, productService: ProductService);
|
|
65
65
|
ngOnInit(): void;
|
|
66
66
|
ngAfterViewChecked(): void;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
5
|
import { Observable } from 'rxjs';
|
|
5
6
|
import { CrmAccount } from '../../../../shared/interface/crm-account.interface';
|
|
6
7
|
import { CrmLead } from '../../../../shared/interface/crm-lead.interface';
|
|
7
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SmartCrmLeadsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
10
|
private readonly crmService;
|
|
11
11
|
form: UntypedFormGroup;
|
|
12
|
-
data: CrmLead;
|
|
13
|
-
submitted: boolean;
|
|
14
|
-
buttonBusy: boolean;
|
|
15
|
-
isLoading: boolean;
|
|
16
12
|
id: number;
|
|
17
13
|
subscriptionId: number;
|
|
14
|
+
data: CrmLead;
|
|
15
|
+
source$: Observable<string>;
|
|
18
16
|
accounts: CrmAccount[];
|
|
19
17
|
filteredAccounts: string[];
|
|
20
|
-
source$: Observable<string>;
|
|
21
18
|
potentials: any[];
|
|
22
19
|
labels: any[];
|
|
20
|
+
submitted: boolean;
|
|
21
|
+
buttonBusy: boolean;
|
|
22
|
+
isLoading: boolean;
|
|
23
23
|
constructor(injector: Injector, crmService: CrmService);
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
/** Function to get the specific contact details on edit form */
|
|
@@ -1,23 +1,25 @@
|
|
|
1
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';
|
|
2
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
5
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
5
6
|
import { CrmLeadResponse } from '../../../shared/interface/crm-lead.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SmartCrmLeadsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
9
|
private readonly crmService;
|
|
10
10
|
private readonly cdr;
|
|
11
|
+
subscription: Subscription;
|
|
11
12
|
subscriptionId: number;
|
|
12
|
-
|
|
13
|
+
userId: number;
|
|
13
14
|
data: CrmLeadResponse;
|
|
15
|
+
allSource: any[];
|
|
16
|
+
crmSources: any[];
|
|
17
|
+
filterBySource: string;
|
|
14
18
|
searchText: string;
|
|
15
|
-
isLoaded: boolean;
|
|
16
19
|
loading: boolean;
|
|
17
|
-
|
|
20
|
+
isLoaded: boolean;
|
|
21
|
+
hasAccess: boolean;
|
|
18
22
|
page: number;
|
|
19
|
-
subscription: Subscription;
|
|
20
|
-
allSource: any[];
|
|
21
23
|
routers: {
|
|
22
24
|
accounts: string;
|
|
23
25
|
contacts: string;
|
|
@@ -40,8 +42,6 @@ export declare class SmartCrmLeadsComponent extends AppBaseComponent implements
|
|
|
40
42
|
stageDetails: string;
|
|
41
43
|
widgetsDetails: string;
|
|
42
44
|
};
|
|
43
|
-
filterBySource: string;
|
|
44
|
-
crmSources: any[];
|
|
45
45
|
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
46
46
|
ngOnInit(): void;
|
|
47
47
|
ngAfterViewChecked(): void;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
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';
|
|
2
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
5
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
5
6
|
import { NewsLetterContactResponse } from '../../../../../shared/interface/crm-newsletter.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SmartCrmMarketingUsersListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
9
|
private readonly crmService;
|
|
10
10
|
private readonly cdr;
|
|
11
|
+
private page;
|
|
12
|
+
subscription: Subscription;
|
|
11
13
|
subscriptionId: number;
|
|
12
|
-
searchText: string;
|
|
13
14
|
data: NewsLetterContactResponse;
|
|
14
|
-
isLoaded: boolean;
|
|
15
|
-
loading: boolean;
|
|
16
15
|
id: number;
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
searchText: string;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
isLoaded: boolean;
|
|
19
19
|
routers: {
|
|
20
20
|
accounts: string;
|
|
21
21
|
contacts: string;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
|
-
import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
|
|
5
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
-
import { User, Product } from '@posiwise/common-utilities';
|
|
7
4
|
import { CommonService } from '@posiwise/common-services';
|
|
5
|
+
import { Product, User } from '@posiwise/common-utilities';
|
|
6
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
7
|
+
import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
10
10
|
private readonly crmService;
|
|
11
11
|
private readonly commonService;
|
|
12
|
-
subscriptionId: number;
|
|
13
|
-
hasAccess: boolean;
|
|
14
12
|
form: UntypedFormGroup;
|
|
13
|
+
subscriptionId: number;
|
|
15
14
|
user: User;
|
|
15
|
+
id: number;
|
|
16
16
|
data: CrmNewsLetter;
|
|
17
|
-
submitted: boolean;
|
|
18
|
-
buttonBusy: boolean;
|
|
19
17
|
crmProduct: Product;
|
|
20
18
|
status: any[];
|
|
21
19
|
priority: any[];
|
|
@@ -29,11 +27,13 @@ export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseCompo
|
|
|
29
27
|
value: string;
|
|
30
28
|
}[];
|
|
31
29
|
allCommunications: any[];
|
|
32
|
-
id: number;
|
|
33
|
-
isLoading: boolean;
|
|
34
30
|
editorConfig: any;
|
|
35
|
-
daysToNewsletterField: boolean;
|
|
36
31
|
userNameSyntax: string;
|
|
32
|
+
submitted: boolean;
|
|
33
|
+
buttonBusy: boolean;
|
|
34
|
+
isLoading: boolean;
|
|
35
|
+
daysToNewsletterField: boolean;
|
|
36
|
+
hasAccess: boolean;
|
|
37
37
|
constructor(injector: Injector, crmService: CrmService, commonService: CommonService);
|
|
38
38
|
ngAfterViewInit(): void;
|
|
39
39
|
ngOnInit(): void;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
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';
|
|
2
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
5
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
5
6
|
import { CrmNewsLetter, CrmNewsLetterResponse } from '../../../../shared/interface/crm-newsletter.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SmartCrmCommunicationsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
9
|
private readonly crmService;
|
|
10
10
|
private readonly cdr;
|
|
11
|
+
private page;
|
|
12
|
+
subscription: Subscription;
|
|
11
13
|
subscriptionId: number;
|
|
12
|
-
searchText: string;
|
|
13
|
-
data: CrmNewsLetterResponse;
|
|
14
|
-
isLoaded: boolean;
|
|
15
|
-
loading: boolean;
|
|
16
14
|
user: User;
|
|
15
|
+
data: CrmNewsLetterResponse;
|
|
17
16
|
communicationsInsight: any;
|
|
18
17
|
communicationEngagement: Plotly.Figure;
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
searchText: string;
|
|
19
|
+
loading: boolean;
|
|
20
|
+
isLoaded: boolean;
|
|
21
21
|
routers: {
|
|
22
22
|
accounts: string;
|
|
23
23
|
contacts: string;
|