@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,16 +1,16 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
2
4
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
5
|
import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
|
|
4
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SmartCrmCommunicationViewDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
8
8
|
private readonly crmService;
|
|
9
9
|
private readonly sanitizer;
|
|
10
10
|
id: number;
|
|
11
|
+
subscriptionId: number;
|
|
11
12
|
isLoaded: boolean;
|
|
12
13
|
communicationDetails: CrmNewsLetter;
|
|
13
|
-
subscriptionId: number;
|
|
14
14
|
constructor(injector: Injector, crmService: CrmService, sanitizer: DomSanitizer);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
/**subscriptionId */
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { Subscription } from '@posiwise/common-utilities';
|
|
3
5
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
6
|
import { CrmOpportunity } from '../../../../shared/interface/crm-opportunity.interface';
|
|
5
7
|
import { CrmStage } from '../../../../shared/interface/crm-stages.interface';
|
|
6
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
|
-
import { Subscription } from '@posiwise/common-utilities';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class SmartCrmBoardComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
10
10
|
private readonly crmService;
|
|
11
11
|
private draggedOpportunity;
|
|
12
|
+
private changedStage;
|
|
13
|
+
private availableOpportunities;
|
|
14
|
+
private readonly pageSize;
|
|
15
|
+
subscription: Subscription;
|
|
12
16
|
stages: CrmStage[];
|
|
17
|
+
masterStages: CrmStage[];
|
|
13
18
|
allOpportunities: CrmOpportunity[];
|
|
14
19
|
opportunitiesGroup: any[];
|
|
15
|
-
private changedStage;
|
|
16
|
-
isLoaded: boolean;
|
|
17
20
|
categories: any[];
|
|
18
|
-
|
|
19
|
-
subscription: Subscription;
|
|
21
|
+
selectedCategoryId: number;
|
|
20
22
|
totalCount: number;
|
|
23
|
+
isLoaded: boolean;
|
|
21
24
|
routers: {
|
|
22
25
|
accounts: string;
|
|
23
26
|
contacts: string;
|
|
@@ -40,9 +43,6 @@ export declare class SmartCrmBoardComponent extends AppBaseComponent implements
|
|
|
40
43
|
stageDetails: string;
|
|
41
44
|
widgetsDetails: string;
|
|
42
45
|
};
|
|
43
|
-
masterStages: CrmStage[];
|
|
44
|
-
selectedCategoryId: number;
|
|
45
|
-
private readonly pageSize;
|
|
46
46
|
constructor(crmService: CrmService, injector: Injector);
|
|
47
47
|
ngOnInit(): void;
|
|
48
48
|
private getAllOpportunityCategories;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
|
-
import { User } from '@posiwise/common-utilities';
|
|
5
3
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
6
|
-
import { CrmOpportunityContact } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
7
|
-
import { CrmAccount } from 'libs/smart-crm/src/lib/shared/interface/crm-account.interface';
|
|
8
4
|
import { ProductService } from '@posiwise/common-services';
|
|
5
|
+
import { User } from '@posiwise/common-utilities';
|
|
6
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
7
|
+
import { CrmAccount } from 'libs/smart-crm/src/lib/shared/interface/crm-account.interface';
|
|
8
|
+
import { CrmOpportunityContact } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class SmartCrmOpportunitiesDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
11
11
|
private readonly crmService;
|
|
12
12
|
private readonly productService;
|
|
13
13
|
form: UntypedFormGroup;
|
|
14
|
-
user: User;
|
|
15
14
|
id: number;
|
|
16
|
-
onEdit: boolean;
|
|
17
|
-
data: any;
|
|
18
|
-
submitted: boolean;
|
|
19
|
-
buttonBusy: boolean;
|
|
20
|
-
isLoading: boolean;
|
|
21
|
-
searchText: string;
|
|
22
15
|
subscriptionId: number;
|
|
23
|
-
allContacts: CrmOpportunityContact[];
|
|
24
16
|
contactId: number;
|
|
17
|
+
account_id: number;
|
|
18
|
+
user: User;
|
|
19
|
+
isUserSubscriptionSuperAdmin: boolean;
|
|
20
|
+
data: any;
|
|
25
21
|
private opportunityData;
|
|
22
|
+
allContacts: CrmOpportunityContact[];
|
|
26
23
|
filteredUsers: CrmOpportunityContact[];
|
|
27
|
-
cancelledTrue: boolean;
|
|
28
|
-
winChance: number[];
|
|
29
24
|
opportunities: any[];
|
|
30
25
|
masterProductId: number;
|
|
31
|
-
WonField: boolean;
|
|
32
|
-
LostField: boolean;
|
|
33
|
-
isContactChange: boolean;
|
|
34
|
-
TrialStartField: boolean;
|
|
35
26
|
accounts: any[];
|
|
36
27
|
filteredAccounts: CrmAccount[];
|
|
37
|
-
account_id: number;
|
|
38
|
-
masterStages: any[];
|
|
39
|
-
isUserSubscriptionSuperAdmin: boolean;
|
|
40
28
|
stages: any[];
|
|
29
|
+
masterStages: any[];
|
|
41
30
|
categories: any[];
|
|
42
|
-
accountValueCount: number;
|
|
43
|
-
currentAccountId: any;
|
|
44
31
|
featureKeys: any[];
|
|
45
32
|
currencies: any[];
|
|
33
|
+
winChance: number[];
|
|
34
|
+
accountValueCount: number;
|
|
35
|
+
currentAccountId: any;
|
|
36
|
+
searchText: string;
|
|
37
|
+
onEdit: boolean;
|
|
38
|
+
isContactChange: boolean;
|
|
39
|
+
TrialStartField: boolean;
|
|
40
|
+
WonField: boolean;
|
|
41
|
+
LostField: boolean;
|
|
42
|
+
cancelledTrue: boolean;
|
|
43
|
+
submitted: boolean;
|
|
44
|
+
buttonBusy: boolean;
|
|
45
|
+
isLoading: boolean;
|
|
46
46
|
/** Function to get form controls */
|
|
47
47
|
get f(): {
|
|
48
48
|
[key: string]: import("@angular/forms").AbstractControl<any, any>;
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { UploadFile, UploadInput, UploadOutput, UploaderOptions } from 'ngx-uploader';
|
|
3
|
+
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
4
|
+
import { AuthService } from '@posiwise/common-services';
|
|
6
5
|
import { Subscription } from '@posiwise/common-utilities';
|
|
6
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
7
|
+
import { OpportunityComment, OpportunityContact, OpportunityData } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
8
|
+
import { UploaderOptions, UploadFile, UploadInput, UploadOutput } from 'ngx-uploader';
|
|
9
|
+
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
|
|
7
10
|
import { CrmAccount } from '../../../../../shared/interface/crm-account.interface';
|
|
8
11
|
import { CrmAction } from '../../../../../shared/interface/crm-action.interface';
|
|
9
12
|
import { CrmVersion } from '../../../../../shared/interface/crm-opportunity.interface';
|
|
10
|
-
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
11
|
-
import { AuthService } from '@posiwise/common-services';
|
|
12
|
-
import { OpportunityComment, OpportunityContact, OpportunityData } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export declare class SmartCrmOpportunitiesInfoComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
15
15
|
private readonly crmService;
|
|
16
16
|
private readonly modalService;
|
|
17
17
|
private readonly authService;
|
|
18
18
|
private readonly document;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
subscription: Subscription;
|
|
20
|
+
subscriptionId: number;
|
|
21
|
+
userId: number;
|
|
21
22
|
opportunitiesId: number;
|
|
22
23
|
data: OpportunityData;
|
|
23
|
-
aboutControls: UntypedFormGroup;
|
|
24
|
-
submitted: boolean;
|
|
25
|
-
buttonBusy: boolean;
|
|
26
24
|
accounts: CrmAccount[];
|
|
27
25
|
filteredAccounts: CrmAccount[];
|
|
28
|
-
subscriptionId: number;
|
|
29
26
|
actions: CrmAction[];
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
actionId: number;
|
|
28
|
+
allContacts: OpportunityContact[];
|
|
29
|
+
filteredContacts: OpportunityContact[];
|
|
30
|
+
opportunitiesComments: OpportunityComment[];
|
|
31
|
+
opportunitiesVersioning: CrmVersion[];
|
|
32
|
+
contactId: number;
|
|
33
|
+
accountId: number;
|
|
34
|
+
aboutControls: UntypedFormGroup;
|
|
35
|
+
actionControls: UntypedFormGroup;
|
|
32
36
|
options: UploaderOptions;
|
|
33
37
|
uploadInput: EventEmitter<UploadInput>;
|
|
34
38
|
files: UploadFile[];
|
|
35
39
|
token: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
userId: number;
|
|
40
|
-
actionControls: UntypedFormGroup;
|
|
40
|
+
isLoaded: boolean;
|
|
41
|
+
isFormEdit: boolean;
|
|
42
|
+
hasAccess: boolean;
|
|
41
43
|
isDisabled: boolean;
|
|
42
44
|
updating: boolean;
|
|
43
|
-
actionId: number;
|
|
44
45
|
showFullComment: boolean;
|
|
45
|
-
commentId: number;
|
|
46
|
-
opportunitiesComments: OpportunityComment[];
|
|
47
|
-
dangerColor: boolean;
|
|
48
|
-
allContacts: OpportunityContact[];
|
|
49
|
-
filteredContacts: OpportunityContact[];
|
|
50
|
-
opportunitiesVersioning: CrmVersion[];
|
|
51
46
|
submitAction: boolean;
|
|
52
|
-
|
|
47
|
+
buttonDisable: boolean;
|
|
48
|
+
buttonBusy: boolean;
|
|
49
|
+
submitted: boolean;
|
|
50
|
+
dangerColor: boolean;
|
|
51
|
+
dragOver: boolean;
|
|
52
|
+
commentId: number;
|
|
53
53
|
routers: {
|
|
54
54
|
accounts: string;
|
|
55
55
|
contacts: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { AfterViewChecked, ChangeDetectorRef, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
|
-
import { LazyLoadEvent } from 'primeng/api';
|
|
4
|
-
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
-
import { CrmOpportunityResponse } from '../../../../shared/interface/crm-opportunity.interface';
|
|
6
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
7
3
|
import { ProductService } from '@posiwise/common-services';
|
|
4
|
+
import { Plotly, Subscription, User } from '@posiwise/common-utilities';
|
|
5
|
+
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
8
6
|
import { OpportunityInsight } from 'libs/smart-crm/src/lib/shared/interface/smart-crm-module.interface';
|
|
7
|
+
import { LazyLoadEvent } from 'primeng/api';
|
|
8
|
+
import { CrmOpportunityResponse } from '../../../../shared/interface/crm-opportunity.interface';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class SmartCrmOpportunitiesListComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
11
11
|
private readonly crmService;
|
|
@@ -13,23 +13,23 @@ export declare class SmartCrmOpportunitiesListComponent extends AppBaseComponent
|
|
|
13
13
|
private readonly productService;
|
|
14
14
|
subscription: Subscription;
|
|
15
15
|
subscriptionId: number;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
user: User;
|
|
17
|
+
userId: number;
|
|
18
18
|
data: CrmOpportunityResponse;
|
|
19
|
-
id: string;
|
|
20
|
-
isLoaded: boolean;
|
|
21
|
-
loading: boolean;
|
|
22
19
|
opportunitiesInsight: OpportunityInsight[];
|
|
23
20
|
opportunitiesGeography: Plotly.Figure;
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
id: string;
|
|
22
|
+
searchText: string;
|
|
26
23
|
searchStages: object[];
|
|
24
|
+
searchCategories: object[];
|
|
27
25
|
filterByStages: string[];
|
|
28
26
|
filterByCategories: any[];
|
|
29
|
-
searchCategories: object[];
|
|
30
27
|
page: number;
|
|
31
28
|
stages: any[];
|
|
32
29
|
categories: any[];
|
|
30
|
+
loading: boolean;
|
|
31
|
+
isLoaded: boolean;
|
|
32
|
+
hasAccess: boolean;
|
|
33
33
|
routers: {
|
|
34
34
|
accounts: string;
|
|
35
35
|
contacts: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import { MenuItem } from 'primeng/api';
|
|
3
2
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SmartCrmTabsComponent extends AppBaseComponent {
|
|
6
6
|
items: MenuItem[];
|
|
@@ -7,9 +7,9 @@ export declare class CrmNewsletterUnsubscribeComponent {
|
|
|
7
7
|
token: string;
|
|
8
8
|
message: string;
|
|
9
9
|
errorMsg: string;
|
|
10
|
-
error: boolean;
|
|
11
10
|
success: string;
|
|
12
11
|
failure: string;
|
|
12
|
+
error: boolean;
|
|
13
13
|
constructor(route: ActivatedRoute, crmService: CrmService);
|
|
14
14
|
getNewsletterConfirmation(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrmNewsletterUnsubscribeComponent, never>;
|