@propmix/profet-common-header 1.0.22 → 1.0.23

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,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, Injectable, Inject, EventEmitter, Component, ViewEncapsulation, Input, Output, NgModule } from '@angular/core';
3
- import { HttpClient, HttpClientModule } from '@angular/common/http';
4
- import { Observable, reduce, forkJoin } from 'rxjs';
5
3
  import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
6
4
  import { DomSanitizer } from '@angular/platform-browser';
7
5
  import { Router } from '@angular/router';
8
6
  import { Auth, Amplify } from 'aws-amplify';
7
+ import { Observable, reduce, forkJoin } from 'rxjs';
8
+ import { HttpClient, HttpClientModule } from '@angular/common/http';
9
9
  import * as i1 from '@angular/common';
10
10
  import { CommonModule } from '@angular/common';
11
11
  import * as i2 from '@angular/material/toolbar';
@@ -256,6 +256,10 @@ class HeaderComponent {
256
256
  active: currentApp
257
257
  });
258
258
  });
259
+ let appData = {
260
+ enabledApps: this.appList
261
+ };
262
+ this.infoEvent.emit(appData);
259
263
  }
260
264
  },
261
265
  error: (e) => {
@@ -460,6 +464,14 @@ const APP_DOMAIN = [
460
464
  { domain: 'valuation', appCode: 'appraisal_valuation' }
461
465
  ];
462
466
 
467
+ var PROFET_APPS;
468
+ (function (PROFET_APPS) {
469
+ PROFET_APPS["profet_portal"] = "profet_portal";
470
+ PROFET_APPS["appraisal_management"] = "appraisal_management";
471
+ PROFET_APPS["appraisal_review"] = "appraisal_review";
472
+ PROFET_APPS["appraisal_valuation"] = "appraisal_valuation";
473
+ })(PROFET_APPS || (PROFET_APPS = {}));
474
+
463
475
  /*
464
476
  * Public API Surface of common-header
465
477
  */
@@ -468,5 +480,5 @@ const APP_DOMAIN = [
468
480
  * Generated bundle index. Do not edit.
469
481
  */
470
482
 
471
- export { APP_DOMAIN, CommonHeaderModule, CommonHeaderService, HeaderComponent, HeaderConfig };
483
+ export { APP_DOMAIN, CommonHeaderModule, CommonHeaderService, HeaderComponent, HeaderConfig, PROFET_APPS };
472
484
  //# sourceMappingURL=propmix-profet-common-header.mjs.map