@posiwise/smart-crm 0.0.25 → 0.0.27
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-files/smart-crm-account-files.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-account-info/smart-crm-account-info.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.mjs +3 -29
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-actions/smart-crm-actions.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-opportunity-categories/smart-crm-opportunity-categories.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-source/smart-crm-source.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-stages/smart-crm-stages.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-configuration/smart-crm-widgets/smart-crm-widgets.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-contacts/smart-crm-contacts.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +8 -3
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.mjs +7 -3
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-view-details/smart-crm-marketing-view-details.component.mjs +17 -8
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-board/smart-crm-board.component.mjs +2 -2
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-info/smart-crm-opportunities-info.component.mjs +23 -16
- package/esm2022/lib/private/components/smart-crm-opportunities/smart-crm-opportunities-list/smart-crm-opportunities-list.component.mjs +3 -4
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-actions/smart-crm-summary-actions.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.mjs +18 -8
- package/fesm2022/posiwise-smart-crm.mjs +84 -82
- package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
- package/lib/private/components/smart-crm-accounts/smart-crm-accounts.component.d.ts +0 -6
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +3 -2
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-list.component.d.ts +1 -0
- 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 -1
- package/lib/private/components/smart-crm-summary/smart-crm-summary-others/smart-crm-summary-others.component.d.ts +24 -0
- package/package.json +1 -1
|
@@ -34,8 +34,6 @@ export declare class SmartCrmCompaniesComponent extends AppBaseComponent impleme
|
|
|
34
34
|
private filterByLocation;
|
|
35
35
|
accountGeography: Plotly.Figure;
|
|
36
36
|
accountActivities: any[];
|
|
37
|
-
accountLastInvoices: string[];
|
|
38
|
-
accountInsight: string[];
|
|
39
37
|
private page;
|
|
40
38
|
subscription: Subscription;
|
|
41
39
|
routers: {
|
|
@@ -93,10 +91,6 @@ export declare class SmartCrmCompaniesComponent extends AppBaseComponent impleme
|
|
|
93
91
|
formatMRR(mrrInCents: number): string;
|
|
94
92
|
/** Function to call account activities */
|
|
95
93
|
private getAccountActivities;
|
|
96
|
-
/** Function to call last invoice */
|
|
97
|
-
private getAccountLastInvoices;
|
|
98
|
-
/** Function to call account insight */
|
|
99
|
-
private getAccountInsight;
|
|
100
94
|
getCountryFromLocation(location: string): string;
|
|
101
95
|
getAccountLogo(url: string): string;
|
|
102
96
|
ngOnDestroy(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
4
4
|
import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
|
|
@@ -6,7 +6,7 @@ import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
|
6
6
|
import { User, Product } from '@posiwise/common-utilities';
|
|
7
7
|
import { CommonService } from '@posiwise/common-services';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
9
|
+
export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
10
10
|
private crmService;
|
|
11
11
|
private commonService;
|
|
12
12
|
subscriptionId: number;
|
|
@@ -35,6 +35,7 @@ export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseCompo
|
|
|
35
35
|
daysToNewsletterField: boolean;
|
|
36
36
|
userNameSyntax: string;
|
|
37
37
|
constructor(injector: Injector, crmService: CrmService, commonService: CommonService);
|
|
38
|
+
ngAfterViewInit(): void;
|
|
38
39
|
ngOnInit(): void;
|
|
39
40
|
private getAllCrmNewsletters;
|
|
40
41
|
private getUserInfo;
|
|
@@ -48,6 +48,7 @@ export declare class SmartCrmCommunicationsComponent extends AppBaseComponent im
|
|
|
48
48
|
private getUserInfo;
|
|
49
49
|
/** Function to call all communications */
|
|
50
50
|
private getAllCommunications;
|
|
51
|
+
onNavigate(subscription: any, item: any): void;
|
|
51
52
|
/** Function to delete communication */
|
|
52
53
|
onDelete(id: number): void;
|
|
53
54
|
/** Function to send mail */
|
|
@@ -2,14 +2,16 @@ import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
|
2
2
|
import { CrmService } from '@posiwise/smart-crm-shared';
|
|
3
3
|
import { CrmNewsLetter } from '../../../../../shared/interface/crm-newsletter.interface';
|
|
4
4
|
import { AppBaseComponent } from '@posiwise/app-base-component';
|
|
5
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class SmartCrmCommunicationViewDetailsComponent extends AppBaseComponent implements OnInit, OnDestroy {
|
|
7
8
|
private crmService;
|
|
9
|
+
private sanitizer;
|
|
8
10
|
id: number;
|
|
9
11
|
isLoaded: boolean;
|
|
10
12
|
communicationDetails: CrmNewsLetter;
|
|
11
13
|
subscriptionId: number;
|
|
12
|
-
constructor(injector: Injector, crmService: CrmService);
|
|
14
|
+
constructor(injector: Injector, crmService: CrmService, sanitizer: DomSanitizer);
|
|
13
15
|
ngOnInit(): void;
|
|
14
16
|
/**subscriptionId */
|
|
15
17
|
getSubscription(): void;
|
|
@@ -9,6 +9,27 @@ export declare class SmartCrmSummaryOthersComponent extends AppBaseComponent imp
|
|
|
9
9
|
activeOpportunities: activeOpportunities[];
|
|
10
10
|
accountAtRisk: [];
|
|
11
11
|
ContractRenewal: [];
|
|
12
|
+
routers: {
|
|
13
|
+
accounts: string;
|
|
14
|
+
contacts: string;
|
|
15
|
+
accountInfo: string;
|
|
16
|
+
addAccount: string;
|
|
17
|
+
contactInfo: string;
|
|
18
|
+
contactAdd: string;
|
|
19
|
+
contactDetails: string;
|
|
20
|
+
opportunityAdd: string;
|
|
21
|
+
opportunities: string;
|
|
22
|
+
opportunityInfo: string;
|
|
23
|
+
configurationDetails: string;
|
|
24
|
+
configurations: string;
|
|
25
|
+
leadsDetails: string;
|
|
26
|
+
marketingDetails: string;
|
|
27
|
+
marketing: string;
|
|
28
|
+
categoryDetails: string;
|
|
29
|
+
sourceDetails: string;
|
|
30
|
+
stageDetails: string;
|
|
31
|
+
widgetsDetails: string;
|
|
32
|
+
};
|
|
12
33
|
creditCardExpiring: [];
|
|
13
34
|
magicMoment: [];
|
|
14
35
|
user: User;
|
|
@@ -19,6 +40,8 @@ export declare class SmartCrmSummaryOthersComponent extends AppBaseComponent imp
|
|
|
19
40
|
creditCardExpiringDetailsLoaded: boolean;
|
|
20
41
|
magicMomentLoaded: boolean;
|
|
21
42
|
subscription: Subscription;
|
|
43
|
+
hasAccess: boolean;
|
|
44
|
+
userId: number;
|
|
22
45
|
constructor(crmService: CrmService, injector: Injector);
|
|
23
46
|
ngOnInit(): void;
|
|
24
47
|
private getUserInfo;
|
|
@@ -34,6 +57,7 @@ export declare class SmartCrmSummaryOthersComponent extends AppBaseComponent imp
|
|
|
34
57
|
private getCreditCardExpiringDetails;
|
|
35
58
|
/** Function to call magic moment */
|
|
36
59
|
private getMagicMoment;
|
|
60
|
+
checkPermission(permission: string): boolean;
|
|
37
61
|
ngOnDestroy(): void;
|
|
38
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartCrmSummaryOthersComponent, never>;
|
|
39
63
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartCrmSummaryOthersComponent, "pw-smart-crm-summary-others", never, {}, {}, never, never, false, never>;
|