@propmix/profet-common-header 3.4.1 → 3.5.0-beta.0

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.
@@ -20,6 +20,7 @@ export interface HeaderConfig {
20
20
  enableLastUrlRedirection?: boolean;
21
21
  disableAppMenu?: boolean;
22
22
  appLogoNavigationUrl?: string;
23
+ hideViewProfile?: boolean;
23
24
  }
24
25
  export interface Company {
25
26
  id: number;
@@ -37,3 +38,11 @@ export interface Company {
37
38
  export interface SessionOutInfo {
38
39
  sessionOutTimeInMins?: number;
39
40
  }
41
+ export declare enum LogoutReason {
42
+ USER_INITIATED = "USER_INITIATED",
43
+ SESSION_TIMEOUT = "SESSION_TIMEOUT"
44
+ }
45
+ export declare enum LogoutStatus {
46
+ INITIATED = "INITIATED",
47
+ COMPLETED = "COMPLETED"
48
+ }
@@ -4,7 +4,7 @@ import { MatMenuTrigger } from '@angular/material/menu';
4
4
  import { MatSidenav } from '@angular/material/sidenav';
5
5
  import { DomSanitizer } from '@angular/platform-browser';
6
6
  import { Router } from '@angular/router';
7
- import { AppMenu, Company } from '../common-header.interface';
7
+ import { AppMenu, Company, LogoutReason, LogoutStatus } from '../common-header.interface';
8
8
  import { CommonHeaderService } from '../common-header.service';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class HeaderComponent implements OnInit, OnDestroy {
@@ -38,7 +38,10 @@ export declare class HeaderComponent implements OnInit, OnDestroy {
38
38
  private componentInitTime;
39
39
  private lastProcessedLogoutTimestamp;
40
40
  INACTIVITY_LIMIT: number;
41
- logoutEvent: EventEmitter<void>;
41
+ logoutEvent: EventEmitter<{
42
+ reason: LogoutReason;
43
+ status: LogoutStatus;
44
+ }>;
42
45
  companyControl: FormControl<any>;
43
46
  appConfig: any;
44
47
  companyList: Company[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@propmix/profet-common-header",
3
- "version": "3.4.1",
3
+ "version": "3.5.0-beta.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=15.2.0",
6
6
  "@angular/core": ">=15.2.0",