@posiwise/smart-crm 0.0.25 → 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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/smart-crm",
3
- "version": "0.0.25",
3
+ "version": "0.0.26",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11"