@posiwise/smart-crm 0.0.36 → 0.0.38
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/index.mjs +2 -3
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-details/smart-crm-account-details.component.mjs +35 -20
- 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 +40 -31
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.mjs +23 -25
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +12 -12
- package/esm2022/lib/private/components/smart-crm-actions/smart-crm-actions.component.mjs +260 -0
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions-details/smart-crm-actions-details.component.mjs +24 -19
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +7 -7
- 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 +4 -4
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +8 -8
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source-details/smart-crm-source-details.component.mjs +4 -4
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +11 -11
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stage-details/smart-crm-stage-details.component.mjs +6 -6
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +34 -17
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets-details/smart-crm-widgets-details.component.mjs +4 -4
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +10 -10
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contact-details/smart-crm-contact-details.component.mjs +10 -10
- 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 +42 -11
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.mjs +28 -54
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.mjs +24 -18
- 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 +7 -7
- package/esm2022/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.mjs +39 -31
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.mjs +8 -8
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +9 -9
- 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 +8 -8
- 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 +16 -13
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.mjs +63 -31
- 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 +15 -12
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.mjs +7 -7
- package/esm2022/lib/private/smart-crm-private.module.mjs +37 -42
- package/esm2022/lib/private/smart-crm-private.routing.module.mjs +24 -24
- 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/esm2022/lib/shared/interface/smart-crm-module.interface.mjs +1 -1
- package/esm2022/lib/shared/models/smart-crm.model.mjs +3 -2
- package/esm2022/lib/shared/routers/routers.mjs +9 -8
- package/fesm2022/posiwise-smart-crm.mjs +471 -373
- package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
- package/index.d.ts +1 -2
- 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 +13 -12
- package/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.d.ts +47 -47
- package/lib/private/components/smart-crm-accounts/smart-crm-account-invoices/smart-crm-account-invoices.component.d.ts +11 -13
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +13 -12
- package/lib/private/components/{smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.d.ts → smart-crm-actions/smart-crm-actions.component.d.ts} +20 -18
- 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 +6 -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 +8 -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 +7 -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 +12 -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 +10 -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 +28 -27
- package/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.d.ts +20 -19
- package/lib/private/components/smart-crm-insight/smart-crm-account-insight/smart-crm-account-insight.component.d.ts +26 -20
- package/lib/private/components/smart-crm-insight/smart-crm-analysis-insight/smart-crm-analysis.component.d.ts +12 -12
- package/lib/private/components/smart-crm-insight/smart-crm-contact-insight/smart-crm-contact-insight.component.d.ts +18 -15
- package/lib/private/components/smart-crm-insight/smart-crm-marketing-insight/smart-crm-marketing-insight.component.d.ts +9 -8
- package/lib/private/components/smart-crm-insight/smart-crm-opportunities-insight/smart-crm-opportunities-insight.component.d.ts +23 -20
- 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 +10 -9
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-contacts/smart-crm-marketing-contacts.component.d.ts +8 -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 +9 -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 +13 -11
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-details/smart-crm-opportunities-details.component.d.ts +29 -22
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.d.ts +28 -27
- package/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.d.ts +14 -12
- package/lib/private/components/smart-crm-tabs/smart-crm-tabs.component.d.ts +1 -1
- package/lib/private/smart-crm-private.module.d.ts +60 -61
- package/lib/public/components/smart-crm-newsletter-unsubscribe/smart-crm-newsletter-unsubscribe.component.d.ts +1 -1
- package/lib/shared/interface/smart-crm-module.interface.d.ts +3 -1
- package/lib/shared/routers/routers.d.ts +1 -0
- package/package.json +1 -1
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.mjs +0 -256
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary.component.mjs +0 -14
- package/lib/private/components/smart-crm-summary/smart-crm-summary.component.d.ts +0 -5
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { Paging, Subscription } from '@posiwise/common-utilities';
|
|
2
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
5
|
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Paging, Subscription } from '@posiwise/common-utilities';
|
|
5
6
|
import { CrmStageResponse } from '../../../../shared/interface/crm-stages.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class SmartCrmStagesComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
9
9
|
private readonly crmService;
|
|
10
10
|
private readonly cdr;
|
|
11
|
-
searchText: string;
|
|
12
|
-
loading: boolean;
|
|
13
|
-
data: CrmStageResponse;
|
|
14
|
-
hasAccess: boolean;
|
|
15
|
-
isLoaded: boolean;
|
|
16
|
-
subscriptionId: number;
|
|
17
11
|
private page;
|
|
12
|
+
data: CrmStageResponse;
|
|
18
13
|
subscription: Subscription;
|
|
14
|
+
subscriptionId: number;
|
|
15
|
+
filterByCategory: any[];
|
|
19
16
|
stageNames: any[];
|
|
20
17
|
categories: any[];
|
|
18
|
+
availableCategories: any[];
|
|
19
|
+
searchText: string;
|
|
20
|
+
loading: boolean;
|
|
21
|
+
hasAccess: boolean;
|
|
22
|
+
isLoaded: boolean;
|
|
21
23
|
routers: {
|
|
22
24
|
accounts: string;
|
|
23
25
|
contacts: string;
|
|
26
|
+
accountContacts: string;
|
|
24
27
|
accountInfo: string;
|
|
25
28
|
addAccount: string;
|
|
26
29
|
contactInfo: string;
|
|
@@ -52,6 +55,7 @@ export declare class SmartCrmStagesComponent extends AppBaseComponent implements
|
|
|
52
55
|
onDelete(id: number): void;
|
|
53
56
|
/** Function to get all categories */
|
|
54
57
|
private getAllOpportunityCategories;
|
|
58
|
+
onSearchOptionChange(event: any): void;
|
|
55
59
|
ngOnDestroy(): void;
|
|
56
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmStagesComponent, never>;
|
|
57
61
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmStagesComponent, "pw-smart-crm-stages", never, {}, {}, never, never, false, never>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { User } from '@posiwise/common-utilities';
|
|
3
5
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
6
|
import { Observable } from 'rxjs';
|
|
5
7
|
import { CrmWidget } from '../../../../../shared/interface/crm-widget.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
-
import { User } from '@posiwise/common-utilities';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SmartCrmWidgetsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
10
|
private readonly crmService;
|
|
11
|
+
private widgetId;
|
|
11
12
|
form: UntypedFormGroup;
|
|
12
|
-
data: CrmWidget;
|
|
13
13
|
subscriptionId: number;
|
|
14
|
-
hasAccess: boolean;
|
|
15
14
|
user: User;
|
|
15
|
+
data: CrmWidget;
|
|
16
|
+
positions$: Observable<string>;
|
|
17
|
+
allWidgets$: Observable<string>;
|
|
18
|
+
hasAccess: boolean;
|
|
16
19
|
submitted: boolean;
|
|
17
20
|
buttonBusy: boolean;
|
|
18
21
|
isLoading: boolean;
|
|
19
|
-
positions$: Observable<string>;
|
|
20
|
-
allWidgets$: Observable<string>;
|
|
21
|
-
private widgetId;
|
|
22
22
|
constructor(injector: Injector, crmService: CrmService);
|
|
23
23
|
ngOnInit(): void;
|
|
24
24
|
private getUserInfo;
|
|
@@ -1,27 +1,28 @@
|
|
|
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;
|
|
25
|
+
accountContacts: string;
|
|
25
26
|
accountInfo: string;
|
|
26
27
|
addAccount: string;
|
|
27
28
|
contactInfo: 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,45 +19,46 @@ 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;
|
|
61
|
+
accountContacts: string;
|
|
61
62
|
accountInfo: string;
|
|
62
63
|
addAccount: string;
|
|
63
64
|
contactInfo: string;
|
|
@@ -1,37 +1,42 @@
|
|
|
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;
|
|
39
|
+
accountContacts: string;
|
|
35
40
|
accountInfo: string;
|
|
36
41
|
addAccount: string;
|
|
37
42
|
contactInfo: string;
|
|
@@ -50,10 +55,6 @@ export declare class SmartCrmContactComponent extends AppBaseComponent implement
|
|
|
50
55
|
stageDetails: string;
|
|
51
56
|
widgetsDetails: string;
|
|
52
57
|
};
|
|
53
|
-
selectedLabels: any[];
|
|
54
|
-
selectedAccount: any[];
|
|
55
|
-
accountDropDown: any[];
|
|
56
|
-
crmAccountIds: string;
|
|
57
58
|
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef);
|
|
58
59
|
ngOnInit(): void;
|
|
59
60
|
ngAfterViewChecked(): void;
|
|
@@ -1,21 +1,42 @@
|
|
|
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: [];
|
|
11
15
|
ContractRenewal: [];
|
|
12
16
|
accountInsight: [];
|
|
13
|
-
accountGeography:
|
|
17
|
+
accountGeography: {
|
|
18
|
+
data: [];
|
|
19
|
+
layout: object;
|
|
20
|
+
};
|
|
14
21
|
churnedAccounts: [];
|
|
15
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;
|
|
16
36
|
routers: {
|
|
17
37
|
accounts: string;
|
|
18
38
|
contacts: string;
|
|
39
|
+
accountContacts: string;
|
|
19
40
|
accountInfo: string;
|
|
20
41
|
addAccount: string;
|
|
21
42
|
contactInfo: string;
|
|
@@ -34,23 +55,6 @@ export declare class SmartCrmAccountInsightComponent extends AppBaseComponent im
|
|
|
34
55
|
stageDetails: string;
|
|
35
56
|
widgetsDetails: string;
|
|
36
57
|
};
|
|
37
|
-
creditCardExpiring: [];
|
|
38
|
-
magicMoment: [];
|
|
39
|
-
user: User;
|
|
40
|
-
signUpLastNinetyDaysLoaded: boolean;
|
|
41
|
-
accountLastActivitiesLoaded: boolean;
|
|
42
|
-
churnedAccountLoaded: boolean;
|
|
43
|
-
activeOpportunitiesLoaded: boolean;
|
|
44
|
-
accountAtRiskDetailsLoaded: boolean;
|
|
45
|
-
contactRenewalLoaded: boolean;
|
|
46
|
-
creditCardExpiringDetailsLoaded: boolean;
|
|
47
|
-
accountGeographyLoaded: boolean;
|
|
48
|
-
accountInsightLoaded: boolean;
|
|
49
|
-
magicMomentLoaded: boolean;
|
|
50
|
-
subscription: Subscription;
|
|
51
|
-
hasAccess: boolean;
|
|
52
|
-
userId: number;
|
|
53
|
-
actionNames: any;
|
|
54
58
|
constructor(crmService: CrmService, injector: Injector);
|
|
55
59
|
ngOnInit(): void;
|
|
56
60
|
private getUserInfo;
|
|
@@ -60,6 +64,8 @@ export declare class SmartCrmAccountInsightComponent extends AppBaseComponent im
|
|
|
60
64
|
private getChurnedAccounts;
|
|
61
65
|
/** Function to call Active Opportunities details */
|
|
62
66
|
private getActiveOpportunities;
|
|
67
|
+
private getMagicMoment;
|
|
68
|
+
private getCreditCardExpiringDetails;
|
|
63
69
|
/** Function to call Account At Risk details */
|
|
64
70
|
private getAccountAtRiskDetails;
|
|
65
71
|
/** Function to call Contract renewal details */
|
|
@@ -1,25 +1,27 @@
|
|
|
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
|
-
revenueGrapgh: Plotly.Figure;
|
|
11
|
-
creditCardExpiring: [];
|
|
12
|
-
magicMoment: [];
|
|
9
|
+
subscription: Subscription;
|
|
13
10
|
subscriptionId: number;
|
|
11
|
+
userId: number;
|
|
14
12
|
hasAccess: boolean;
|
|
13
|
+
graph: Plotly.Figure;
|
|
14
|
+
revenueGraph: Plotly.Figure;
|
|
15
15
|
startDate: NgbDateStruct;
|
|
16
16
|
endDate: NgbDateStruct;
|
|
17
|
-
|
|
17
|
+
selectedDateRange: any;
|
|
18
|
+
dateRanges: any;
|
|
18
19
|
isLoaded: boolean;
|
|
19
20
|
isRevenueGraphLoaded: boolean;
|
|
20
21
|
routers: {
|
|
21
22
|
accounts: string;
|
|
22
23
|
contacts: string;
|
|
24
|
+
accountContacts: string;
|
|
23
25
|
accountInfo: string;
|
|
24
26
|
addAccount: string;
|
|
25
27
|
contactInfo: string;
|
|
@@ -38,18 +40,16 @@ export declare class SmartCrmAnalysisComponent extends AppBaseComponent implemen
|
|
|
38
40
|
stageDetails: string;
|
|
39
41
|
widgetsDetails: string;
|
|
40
42
|
};
|
|
41
|
-
magicMomentLoaded: boolean;
|
|
42
|
-
subscription: Subscription;
|
|
43
|
-
creditCardExpiringDetailsLoaded: boolean;
|
|
44
43
|
constructor(crmService: CrmService, injector: Injector);
|
|
45
44
|
ngOnInit(): void;
|
|
46
45
|
private getUserInfo;
|
|
47
46
|
/** Function to get the data for the graph */
|
|
48
47
|
private getChartData;
|
|
49
48
|
private getRevenueGraph;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
onDateRangeSelect(event: {
|
|
50
|
+
startDate: moment.Moment;
|
|
51
|
+
endDate: moment.Moment;
|
|
52
|
+
}): void;
|
|
53
53
|
ngOnDestroy(): void;
|
|
54
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmAnalysisComponent, never>;
|
|
55
55
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmAnalysisComponent, "pw-smart-crm-analysis", never, {}, {}, never, never, false, never>;
|
|
@@ -1,30 +1,33 @@
|
|
|
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
|
-
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SmartCrmContactInsightComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
|
+
export declare class SmartCrmContactInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
10
9
|
private readonly crmService;
|
|
11
10
|
private readonly cdr;
|
|
12
11
|
private readonly adminService;
|
|
13
|
-
|
|
14
|
-
startDate: NgbDateStruct;
|
|
15
|
-
endDate: NgbDateStruct;
|
|
16
|
-
contactId: number;
|
|
17
|
-
accountId: number;
|
|
12
|
+
subscription: Subscription;
|
|
18
13
|
subscriptionId: number;
|
|
19
14
|
userId: number;
|
|
20
15
|
user: User;
|
|
16
|
+
contactId: number;
|
|
17
|
+
accountId: number;
|
|
21
18
|
contactInsight: OpportunityInsight[];
|
|
22
19
|
contactGeography: Plotly.Figure;
|
|
23
20
|
userBaseData: Plotly.Figure;
|
|
24
|
-
|
|
21
|
+
selectedDateRange: any;
|
|
22
|
+
dateRanges: any;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
contactInsightLoaded: boolean;
|
|
25
|
+
geographyLoaded: boolean;
|
|
26
|
+
userBaseLoaded: boolean;
|
|
25
27
|
routers: {
|
|
26
28
|
accounts: string;
|
|
27
29
|
contacts: string;
|
|
30
|
+
accountContacts: string;
|
|
28
31
|
accountInfo: string;
|
|
29
32
|
addAccount: string;
|
|
30
33
|
contactInfo: string;
|
|
@@ -43,9 +46,6 @@ export declare class SmartCrmContactInsightComponent extends AppBaseComponent im
|
|
|
43
46
|
stageDetails: string;
|
|
44
47
|
widgetsDetails: string;
|
|
45
48
|
};
|
|
46
|
-
contactInsightLoaded: boolean;
|
|
47
|
-
geographyLoaded: boolean;
|
|
48
|
-
userBaseLoaded: boolean;
|
|
49
49
|
crmAccountIds: string;
|
|
50
50
|
constructor(crmService: CrmService, injector: Injector, cdr: ChangeDetectorRef, adminService: AdminService);
|
|
51
51
|
ngOnInit(): void;
|
|
@@ -54,7 +54,10 @@ export declare class SmartCrmContactInsightComponent extends AppBaseComponent im
|
|
|
54
54
|
/** Function to call contact geography */
|
|
55
55
|
getContactGeography(): void;
|
|
56
56
|
getUserBaseData(): void;
|
|
57
|
-
|
|
57
|
+
onDateRangeSelect(event: {
|
|
58
|
+
startDate: moment.Moment;
|
|
59
|
+
endDate: moment.Moment;
|
|
60
|
+
}): void;
|
|
58
61
|
ngOnDestroy(): void;
|
|
59
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmContactInsightComponent, never>;
|
|
60
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmContactInsightComponent, "pw-smart-crm-contact-insight", never, {}, {}, never, never, false, never>;
|
|
@@ -1,26 +1,27 @@
|
|
|
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;
|
|
24
|
+
accountContacts: string;
|
|
24
25
|
accountInfo: string;
|
|
25
26
|
addAccount: string;
|
|
26
27
|
contactInfo: string;
|
|
@@ -1,11 +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';
|
|
8
|
-
import {
|
|
7
|
+
import { CrmOpportunityResponse } from '../../../../shared/interface/crm-opportunity.interface';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare class SmartCrmOpportunitiesInsightComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
10
|
private readonly crmService;
|
|
@@ -13,31 +12,37 @@ export declare class SmartCrmOpportunitiesInsightComponent extends AppBaseCompon
|
|
|
13
12
|
private readonly productService;
|
|
14
13
|
subscription: Subscription;
|
|
15
14
|
subscriptionId: number;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
startDate: NgbDateStruct;
|
|
19
|
-
endDate: NgbDateStruct;
|
|
15
|
+
user: User;
|
|
16
|
+
userId: number;
|
|
20
17
|
data: CrmOpportunityResponse;
|
|
21
|
-
id: string;
|
|
22
|
-
isLoaded: boolean;
|
|
23
|
-
loading: boolean;
|
|
24
18
|
opportunitiesInsight: OpportunityInsight[];
|
|
25
19
|
opportunitiesCategory: any;
|
|
26
20
|
opportunitiesStage: any;
|
|
27
21
|
opportunitiesGraphData: any;
|
|
28
22
|
opportunitiesGeography: Plotly.Figure;
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
selectedDateRange: any;
|
|
24
|
+
dateRanges: any;
|
|
25
|
+
searchText: string;
|
|
31
26
|
searchStages: object[];
|
|
27
|
+
searchCategories: object[];
|
|
32
28
|
filterByStages: string[];
|
|
33
29
|
filterByCategories: any[];
|
|
34
|
-
searchCategories: object[];
|
|
35
30
|
page: number;
|
|
36
31
|
stages: any[];
|
|
37
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;
|
|
38
42
|
routers: {
|
|
39
43
|
accounts: string;
|
|
40
44
|
contacts: string;
|
|
45
|
+
accountContacts: string;
|
|
41
46
|
accountInfo: string;
|
|
42
47
|
addAccount: string;
|
|
43
48
|
contactInfo: 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;
|
|
@@ -71,7 +71,10 @@ export declare class SmartCrmOpportunitiesInsightComponent extends AppBaseCompon
|
|
|
71
71
|
private getOpportunityCategory;
|
|
72
72
|
private getOpportunityStage;
|
|
73
73
|
private getOpportunityGraph;
|
|
74
|
-
|
|
74
|
+
onDateRangeSelect(event: {
|
|
75
|
+
startDate: moment.Moment;
|
|
76
|
+
endDate: moment.Moment;
|
|
77
|
+
}): void;
|
|
75
78
|
checkPermission(permission: string): boolean;
|
|
76
79
|
ngOnDestroy(): void;
|
|
77
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmOpportunitiesInsightComponent, never>;
|