@posiwise/smart-crm 0.0.24 → 0.0.26
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-info/smart-crm-account-info.component.mjs +3 -3
- package/esm2022/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.mjs +14 -1
- package/esm2022/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.mjs +11 -4
- 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/fesm2022/posiwise-smart-crm.mjs +45 -16
- package/fesm2022/posiwise-smart-crm.mjs.map +1 -1
- package/lib/private/components/smart-crm-leads/smart-crm-leads-details/smart-crm-leads-details.component.d.ts +1 -0
- package/lib/private/components/smart-crm-marketing/smart-crm-marketing-list/smart-crm-marketing-details/smart-crm-marketing-details.component.d.ts +4 -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/package.json +1 -1
|
@@ -24,6 +24,7 @@ export declare class SmartCrmLeadsDetailsComponent extends AppBaseComponent impl
|
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
/** Function to get the specific contact details on edit form */
|
|
26
26
|
private getLeadDetails;
|
|
27
|
+
private markAllAsTouched;
|
|
27
28
|
/** Function to execute on form submission */
|
|
28
29
|
onSave(): void;
|
|
29
30
|
/** Function to get form controls */
|
|
@@ -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;
|
|
@@ -31,9 +31,11 @@ export declare class SmartCrmCommunicationsDetailsComponent extends AppBaseCompo
|
|
|
31
31
|
allCommunications: any[];
|
|
32
32
|
id: number;
|
|
33
33
|
isLoading: boolean;
|
|
34
|
+
editorConfig: any;
|
|
34
35
|
daysToNewsletterField: boolean;
|
|
35
36
|
userNameSyntax: string;
|
|
36
37
|
constructor(injector: Injector, crmService: CrmService, commonService: CommonService);
|
|
38
|
+
ngAfterViewInit(): void;
|
|
37
39
|
ngOnInit(): void;
|
|
38
40
|
private getAllCrmNewsletters;
|
|
39
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;
|