@propmix/profet-common-header 2.3.0 → 2.3.2

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,5 +1,6 @@
1
1
  import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
2
2
  import { MatSidenav } from '@angular/material/sidenav';
3
+ import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
3
4
  import { PROFET_APPS } from '../utils/apps.enum';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class HeaderComponent implements OnInit {
@@ -17,7 +18,7 @@ export declare class HeaderComponent implements OnInit {
17
18
  userImageLink: any;
18
19
  headerClass: string;
19
20
  currentApp: any;
20
- currentAppLogo: string;
21
+ currentAppLogo: SafeUrl;
21
22
  currentCompany: any;
22
23
  userCompanyLogo: any;
23
24
  enabledApplications: Array<any>;
@@ -41,7 +42,7 @@ export declare class HeaderComponent implements OnInit {
41
42
  private _router;
42
43
  private _snackbar;
43
44
  private _ser;
44
- private _domSanitizer;
45
+ _domSanitizer: DomSanitizer;
45
46
  private _titleCasepipe;
46
47
  private _lowerCasePipe;
47
48
  constructor();
@@ -49,7 +50,7 @@ export declare class HeaderComponent implements OnInit {
49
50
  menuAction(): void;
50
51
  fetchCompanyProfile(): void;
51
52
  fetchCompanyData(allApps: Array<any>): void;
52
- sanitizeUrl(url: string): import("@angular/platform-browser").SafeUrl;
53
+ sanitizeUrl(url: string): SafeUrl;
53
54
  getUserProfile(): void;
54
55
  appRedirect(app: any): void;
55
56
  profile(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propmix/profet-common-header",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=15.2.0",
6
6
  "@angular/core": ">=15.2.0",