@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.
- package/esm2020/lib/header/header.component.mjs +5 -1
- package/esm2020/lib/utils/apps.enum.mjs +8 -0
- package/esm2020/public-api.mjs +4 -3
- package/fesm2015/propmix-profet-common-header.mjs +15 -3
- package/fesm2015/propmix-profet-common-header.mjs.map +1 -1
- package/fesm2020/propmix-profet-common-header.mjs +15 -3
- package/fesm2020/propmix-profet-common-header.mjs.map +1 -1
- package/lib/utils/apps.enum.d.ts +6 -0
- package/package.json +2 -2
- package/public-api.d.ts +3 -2
|
@@ -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
|