new-front-common-library 0.0.26 → 0.0.30
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/assets/css/_dark-theme.scss +8 -4
- package/assets/css/_global.scss +2 -2
- package/assets/css/_light-theme.scss +8 -4
- package/bundles/new-front-common-library.umd.js +52 -108
- package/bundles/new-front-common-library.umd.js.map +1 -1
- package/esm2015/lib/util/component/header/header.component.js +15 -29
- package/esm2015/lib/util/util.module.js +6 -13
- package/fesm2015/new-front-common-library.js +25 -81
- package/fesm2015/new-front-common-library.js.map +1 -1
- package/lib/util/component/header/header.component.d.ts +1 -5
- package/lib/util/util.module.d.ts +1 -2
- package/package.json +3 -5
- package/esm2015/lib/util/services/elasticsearch/elasticsearch.service.js +0 -44
- package/lib/util/services/elasticsearch/elasticsearch.service.d.ts +0 -17
|
@@ -330,7 +330,6 @@
|
|
|
330
330
|
.btn-delete {
|
|
331
331
|
color: $red-primary !important;
|
|
332
332
|
background: transparent !important;
|
|
333
|
-
cursor: pointer;
|
|
334
333
|
}
|
|
335
334
|
|
|
336
335
|
.mat-chip-remove {
|
|
@@ -501,16 +500,21 @@
|
|
|
501
500
|
}
|
|
502
501
|
|
|
503
502
|
.mat-calendar-body-selected {
|
|
504
|
-
background: $
|
|
503
|
+
background: $blue-primary !important;
|
|
504
|
+
border-color: $blue-primary !important;
|
|
505
505
|
color: white !important;
|
|
506
506
|
}
|
|
507
507
|
|
|
508
508
|
.mat-calendar-body-today {
|
|
509
|
-
background:
|
|
510
|
-
border-color:
|
|
509
|
+
background: rgb(0 0 0 / 40%)!important;
|
|
510
|
+
border-color: rgb(0 0 0 / 40%)!important;
|
|
511
511
|
color: white !important;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
+
.mat-calendar-arrow {
|
|
515
|
+
fill: $blue-primary !important;;
|
|
516
|
+
}
|
|
517
|
+
|
|
514
518
|
.mat-datepicker-toggle, .mat-datepicker-content .mat-calendar-next-button, .mat-datepicker-content .mat-calendar-previous-button {
|
|
515
519
|
color: $blue-primary !important;
|
|
516
520
|
}
|
package/assets/css/_global.scss
CHANGED
|
@@ -261,7 +261,7 @@ textarea {
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
.sub-toolbar .title {
|
|
264
|
-
height:
|
|
264
|
+
height: 52px !important;
|
|
265
265
|
|
|
266
266
|
//font-family: Source Sans Pro;
|
|
267
267
|
font-style: normal;
|
|
@@ -322,7 +322,7 @@ textarea {
|
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
.mat-row .mat-select {
|
|
325
|
-
padding:
|
|
325
|
+
padding: 4px 4px 4px 2px;
|
|
326
326
|
border-radius: 4px;
|
|
327
327
|
}
|
|
328
328
|
|
|
@@ -330,7 +330,6 @@
|
|
|
330
330
|
.btn-delete {
|
|
331
331
|
color: $red-primary !important;
|
|
332
332
|
background: transparent !important;
|
|
333
|
-
cursor: pointer;
|
|
334
333
|
}
|
|
335
334
|
|
|
336
335
|
.mat-chip-remove {
|
|
@@ -523,16 +522,21 @@
|
|
|
523
522
|
}
|
|
524
523
|
|
|
525
524
|
.mat-calendar-body-selected {
|
|
526
|
-
background: $
|
|
525
|
+
background: $blue-primary !important;
|
|
526
|
+
border-color: $blue-primary !important;
|
|
527
527
|
color: white !important;
|
|
528
528
|
}
|
|
529
529
|
|
|
530
530
|
.mat-calendar-body-today {
|
|
531
|
-
background: $
|
|
532
|
-
border-color: $
|
|
531
|
+
background: $black-bluish !important;
|
|
532
|
+
border-color: $black-bluish !important;
|
|
533
533
|
color: white !important;
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
+
.mat-calendar-arrow {
|
|
537
|
+
fill: $blue-primary !important;;
|
|
538
|
+
}
|
|
539
|
+
|
|
536
540
|
.mat-datepicker-toggle, .mat-datepicker-content .mat-calendar-next-button, .mat-datepicker-content .mat-calendar-previous-button {
|
|
537
541
|
color: $blue-primary !important;
|
|
538
542
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ngx-translate/core'), require('@angular/common/http'), require('@angular/common'), require('rxjs'), require('rxjs/operators'), require('ngx-cookie-service'), require('@angular/platform-browser'), require('@angular/material/card'), require('ngx-permissions'), require('@angular/material/progress-spinner'), require('@angular/router'), require('@angular/flex-layout/flex'), require('codelyzer/util/isNotNullOrUndefined'), require('@angular/cdk/overlay'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('new-front-common-library', ['exports', '@angular/core', '@ngx-translate/core', '@angular/common/http', '@angular/common', 'rxjs', 'rxjs/operators', 'ngx-cookie-service', '@angular/platform-browser', '@angular/material/card', 'ngx-permissions', '@angular/material/progress-spinner', '@angular/router', '@angular/flex-layout/flex', 'codelyzer/util/isNotNullOrUndefined', '@angular/cdk/overlay', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['new-front-common-library'] = {}, global.ng.core, global.i2$1, global.ng.common.http, global.ng.common, global.rxjs, global.rxjs.operators, global.i1, global.ng.platformBrowser, global.ng.material.card, global.i1$2, global.ng.material.progressSpinner, global.ng.router, global.ng.flexLayout.flex, global.isNotNullOrUndefined, global.ng.cdk.overlay, global.
|
|
5
|
-
}(this, (function (exports, i0, i2$1, i2,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ngx-translate/core'), require('@angular/common/http'), require('@angular/common'), require('rxjs'), require('rxjs/operators'), require('ngx-cookie-service'), require('@angular/platform-browser'), require('@angular/material/card'), require('ngx-permissions'), require('@angular/material/progress-spinner'), require('@angular/router'), require('@angular/flex-layout/flex'), require('codelyzer/util/isNotNullOrUndefined'), require('@angular/cdk/overlay'), require('@angular/material/toolbar'), require('@angular/material/menu'), require('@angular/material/button'), require('@angular/material/icon'), require('@angular/flex-layout/extended'), require('@angular/forms'), require('@angular/material/dialog'), require('crypto-js'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/divider'), require('@angular/material/tooltip'), require('@angular/material/table'), require('@angular/material/select'), require('@angular/flex-layout'), require('@angular/material/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('new-front-common-library', ['exports', '@angular/core', '@ngx-translate/core', '@angular/common/http', '@angular/common', 'rxjs', 'rxjs/operators', 'ngx-cookie-service', '@angular/platform-browser', '@angular/material/card', 'ngx-permissions', '@angular/material/progress-spinner', '@angular/router', '@angular/flex-layout/flex', 'codelyzer/util/isNotNullOrUndefined', '@angular/cdk/overlay', '@angular/material/toolbar', '@angular/material/menu', '@angular/material/button', '@angular/material/icon', '@angular/flex-layout/extended', '@angular/forms', '@angular/material/dialog', 'crypto-js', '@angular/material/form-field', '@angular/material/input', '@angular/material/divider', '@angular/material/tooltip', '@angular/material/table', '@angular/material/select', '@angular/flex-layout', '@angular/material/core'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['new-front-common-library'] = {}, global.ng.core, global.i2$1, global.ng.common.http, global.ng.common, global.rxjs, global.rxjs.operators, global.i1, global.ng.platformBrowser, global.ng.material.card, global.i1$2, global.ng.material.progressSpinner, global.ng.router, global.ng.flexLayout.flex, global.isNotNullOrUndefined, global.ng.cdk.overlay, global.ng.material.toolbar, global.ng.material.menu, global.ng.material.button, global.ng.material.icon, global.ng.flexLayout.extended, global.ng.forms, global.ng.material.dialog, global.CryptoJS, global.ng.material.formField, global.ng.material.input, global.ng.material.divider, global.ng.material.tooltip, global.ng.material.table, global.ng.material.select, global.ng.flexLayout, global.ng.material.core));
|
|
5
|
+
}(this, (function (exports, i0, i2$1, i2, i17, rxjs, operators, i1, i1$1, i4, i1$2, i5, i1$3, i16, isNotNullOrUndefined, i9, i12, i13, i14, i15, i18, i10, i1$4, CryptoJS, i7, i12$1, divider, tooltip, table, select, flexLayout, core) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -27,27 +27,25 @@
|
|
|
27
27
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
28
|
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
29
29
|
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
30
|
-
var
|
|
30
|
+
var i17__namespace = /*#__PURE__*/_interopNamespace(i17);
|
|
31
31
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
32
32
|
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
33
33
|
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
34
34
|
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
35
35
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
36
36
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
37
|
-
var
|
|
37
|
+
var i16__namespace = /*#__PURE__*/_interopNamespace(i16);
|
|
38
38
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
39
|
+
var i12__namespace = /*#__PURE__*/_interopNamespace(i12);
|
|
39
40
|
var i13__namespace = /*#__PURE__*/_interopNamespace(i13);
|
|
40
41
|
var i14__namespace = /*#__PURE__*/_interopNamespace(i14);
|
|
41
|
-
var
|
|
42
|
-
var i16__namespace = /*#__PURE__*/_interopNamespace(i16);
|
|
43
|
-
var i17__namespace = /*#__PURE__*/_interopNamespace(i17);
|
|
42
|
+
var i15__namespace = /*#__PURE__*/_interopNamespace(i15);
|
|
44
43
|
var i18__namespace = /*#__PURE__*/_interopNamespace(i18);
|
|
45
|
-
var i19__namespace = /*#__PURE__*/_interopNamespace(i19);
|
|
46
|
-
var i22__namespace = /*#__PURE__*/_interopNamespace(i22);
|
|
47
|
-
var i24__namespace = /*#__PURE__*/_interopNamespace(i24);
|
|
48
44
|
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
49
45
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
50
46
|
var CryptoJS__namespace = /*#__PURE__*/_interopNamespace(CryptoJS);
|
|
47
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
48
|
+
var i12__namespace$1 = /*#__PURE__*/_interopNamespace(i12$1);
|
|
51
49
|
|
|
52
50
|
var WEB_CONFIG = new i0.InjectionToken('WEB_CONFIG');
|
|
53
51
|
var DEFAULT_WEB_CONFIG = {
|
|
@@ -782,7 +780,7 @@
|
|
|
782
780
|
if (value === '-' || value === this.perpetuityLabel) {
|
|
783
781
|
return this.perpetuityLabel;
|
|
784
782
|
}
|
|
785
|
-
return new
|
|
783
|
+
return new i17.DatePipe(currentLanguage).transform(value, format);
|
|
786
784
|
};
|
|
787
785
|
return LocalDatePipe;
|
|
788
786
|
}());
|
|
@@ -1020,7 +1018,7 @@
|
|
|
1020
1018
|
return OverlayComponent;
|
|
1021
1019
|
}());
|
|
1022
1020
|
OverlayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayComponent, deps: [{ token: i1__namespace$3.Router }, { token: i2__namespace$1.TranslateService }, { token: OverlayService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1023
|
-
OverlayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: OverlayComponent, selector: "sc-overlay", ngImport: i0__namespace, template: "<div class=\"blackshield\" *ngIf=\"show\"></div>\r\n\r\n<div fxLayoutAlign=\"center center\" *ngIf=\"show\">\r\n <mat-card class=\"overshield\" fxLayoutAlign=\"center center\">\r\n <mat-card-content fxLayout=\"row\" fxLayoutAlign=\"space-between center\" style=\"width: 100%\">\r\n <span>{{ message || 'CORE.OVERLAY.LOADING' | translate}}</span>\r\n <mat-spinner diameter=\"40\"></mat-spinner>\r\n </mat-card-content>\r\n </mat-card>\r\n</div>\r\n", styles: [".blackshield{position:fixed;display:block!important;top:0;left:0;width:100%;background:black;opacity:.8;height:100vh;z-index:2000000;padding-top:150px}.overshield{position:fixed;width:30%;min-height:6vh;margin-top:250px;z-index:20000000}\n"], components: [{ type: i4__namespace.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i5__namespace.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type:
|
|
1021
|
+
OverlayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: OverlayComponent, selector: "sc-overlay", ngImport: i0__namespace, template: "<div class=\"blackshield\" *ngIf=\"show\"></div>\r\n\r\n<div fxLayoutAlign=\"center center\" *ngIf=\"show\">\r\n <mat-card class=\"overshield\" fxLayoutAlign=\"center center\">\r\n <mat-card-content fxLayout=\"row\" fxLayoutAlign=\"space-between center\" style=\"width: 100%\">\r\n <span>{{ message || 'CORE.OVERLAY.LOADING' | translate}}</span>\r\n <mat-spinner diameter=\"40\"></mat-spinner>\r\n </mat-card-content>\r\n </mat-card>\r\n</div>\r\n", styles: [".blackshield{position:fixed;display:block!important;top:0;left:0;width:100%;background:black;opacity:.8;height:100vh;z-index:2000000;padding-top:150px}.overshield{position:fixed;width:30%;min-height:6vh;margin-top:250px;z-index:20000000}\n"], components: [{ type: i4__namespace.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { type: i5__namespace.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i17__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i16__namespace.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i4__namespace.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { type: i16__namespace.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
|
|
1024
1022
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayComponent, decorators: [{
|
|
1025
1023
|
type: i0.Component,
|
|
1026
1024
|
args: [{
|
|
@@ -1111,45 +1109,6 @@
|
|
|
1111
1109
|
type: i0.Injectable
|
|
1112
1110
|
}], ctorParameters: function () { return [{ type: i2__namespace$1.TranslateService }, { type: LocalStorageService }]; } });
|
|
1113
1111
|
|
|
1114
|
-
var ElasticsearchService = /** @class */ (function () {
|
|
1115
|
-
function ElasticsearchService(translateService, http) {
|
|
1116
|
-
this.translateService = translateService;
|
|
1117
|
-
this.http = http;
|
|
1118
|
-
this.elasticAPI = 'https://vpc-unity-search-dev-nm5ydumospctjfaatstfjvoqey.eu-west-1.es.amazonaws.com';
|
|
1119
|
-
}
|
|
1120
|
-
ElasticsearchService.prototype.getElasticsearchClient = function () {
|
|
1121
|
-
if (!this.client) {
|
|
1122
|
-
this.client = new elasticsearchBrowser.Client({
|
|
1123
|
-
host: this.elasticAPI
|
|
1124
|
-
});
|
|
1125
|
-
}
|
|
1126
|
-
return this.client;
|
|
1127
|
-
};
|
|
1128
|
-
ElasticsearchService.prototype.getDocuments = function (text, documentIndex) {
|
|
1129
|
-
// @ts-ignore
|
|
1130
|
-
return rxjs.from(this.getElasticsearchClient().search({
|
|
1131
|
-
index: documentIndex,
|
|
1132
|
-
body: {
|
|
1133
|
-
query: {
|
|
1134
|
-
query_string: {
|
|
1135
|
-
query: text + '*',
|
|
1136
|
-
fields: ['poNumber', 'ean', 'title', 'basketNumber', 'works.miloCode', 'works.title']
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
}));
|
|
1141
|
-
};
|
|
1142
|
-
ElasticsearchService.prototype.getDocumentsContent = function (searchResponse) {
|
|
1143
|
-
return searchResponse.hits.hits ? searchResponse.hits.hits.map(function (v) { return v._source; }) : [];
|
|
1144
|
-
};
|
|
1145
|
-
return ElasticsearchService;
|
|
1146
|
-
}());
|
|
1147
|
-
ElasticsearchService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService, deps: [{ token: i2__namespace$1.TranslateService }, { token: i2__namespace.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1148
|
-
ElasticsearchService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService });
|
|
1149
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService, decorators: [{
|
|
1150
|
-
type: i0.Injectable
|
|
1151
|
-
}], ctorParameters: function () { return [{ type: i2__namespace$1.TranslateService }, { type: i2__namespace.HttpClient }]; } });
|
|
1152
|
-
|
|
1153
1112
|
var en = {
|
|
1154
1113
|
//HEADER MENU COMMERCIAL
|
|
1155
1114
|
'COMMON.HEADER.MENU.DASHBOARD': 'Dashboard',
|
|
@@ -1328,7 +1287,7 @@
|
|
|
1328
1287
|
}], ctorParameters: function () { return [{ type: LocalStorageService }]; } });
|
|
1329
1288
|
|
|
1330
1289
|
var HeaderComponent = /** @class */ (function () {
|
|
1331
|
-
function HeaderComponent(router, localStorageEvents, localStorage, toasterService, translate, commonApiService, sessionStorageService, permissionsService, overlayContainer, cookieService, langService,
|
|
1290
|
+
function HeaderComponent(router, localStorageEvents, localStorage, toasterService, translate, commonApiService, sessionStorageService, permissionsService, overlayContainer, cookieService, langService, config) {
|
|
1332
1291
|
this.router = router;
|
|
1333
1292
|
this.localStorageEvents = localStorageEvents;
|
|
1334
1293
|
this.localStorage = localStorage;
|
|
@@ -1340,7 +1299,6 @@
|
|
|
1340
1299
|
this.overlayContainer = overlayContainer;
|
|
1341
1300
|
this.cookieService = cookieService;
|
|
1342
1301
|
this.langService = langService;
|
|
1343
|
-
this.elasticsearchService = elasticsearchService;
|
|
1344
1302
|
this.config = config;
|
|
1345
1303
|
this.toogleMenuEvent = new i0.EventEmitter();
|
|
1346
1304
|
this.isHide = false;
|
|
@@ -1453,19 +1411,10 @@
|
|
|
1453
1411
|
this.translate.use(lang);
|
|
1454
1412
|
this.langService.switchLang();
|
|
1455
1413
|
};
|
|
1456
|
-
HeaderComponent.prototype.rapidSearch = function (event) {
|
|
1457
|
-
var _this = this;
|
|
1458
|
-
if (event && event.target && event.target.value && event.target.value.length >= 2) {
|
|
1459
|
-
this.elasticsearchService.getDocuments(event.target.value, 'unity*').subscribe(function (searchResponse) {
|
|
1460
|
-
// @ts-ignore
|
|
1461
|
-
_this.documents = _this.elasticsearchService.getDocumentsContent(searchResponse);
|
|
1462
|
-
});
|
|
1463
|
-
}
|
|
1464
|
-
};
|
|
1465
1414
|
return HeaderComponent;
|
|
1466
1415
|
}());
|
|
1467
|
-
HeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderComponent, deps: [{ token: i1__namespace$3.Router }, { token: LocalStorageEventsService }, { token: LocalStorageService }, { token: ToasterEventsService }, { token: i2__namespace$1.TranslateService }, { token: CommonApiService }, { token: SessionStorageService }, { token: PermissionsService }, { token: i9__namespace.OverlayContainer }, { token: i1__namespace.CookieService }, { token: LangService }, { token:
|
|
1468
|
-
HeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: HeaderComponent, selector: "sc-header", outputs: { toogleMenuEvent: "toogleMenuEvent" }, host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0__namespace, template: "<mat-toolbar fxFlex=\"row\" fxLayoutAlign=\"space-between center\" class=\"sc-header\" [ngClass]=\"{ 'light-header': theme !== 'dark' }\">\r\n <span fxLayout=\"row\" fxLayoutAlign=\"center end\">\r\n <img class=\"logo-unity\" src=\"./assets/img/unity_logo_48x48.png\">\r\n <span [attr.id]=\"'env-' + env\" class=\"env\" *ngIf=\"env != 'prod'\">{{env}}</span>\r\n </span>\r\n <span fxFlex=\"1\" class=\"header-separator\"></span>\r\n <span fxFlex=\"5\" class=\"material-icons header-icon\" (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\">history</span>\r\n <mat-menu #menuHistory=\"matMenu\" class=\"action-menu\">\r\n <ng-container *ngFor=\"let history of historyList\" [ngSwitch]=\"history.type\">\r\n <button mat-menu-item *ngSwitchCase=\"'PRODUCT'\" (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\">\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n {{ 'COMMON.HEADER.HISTORY.PRODUCT' | commonTranslate : lang }}{{history.type}} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'PO'\" (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >receipt_long</span>\r\n {{ 'COMMON.HEADER.HISTORY.PO' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'DEAL'\" (click)=\"navigate('commercial', '/deal/consult/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >local_offer</span>\r\n {{ 'COMMON.HEADER.HISTORY.DEAL' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'WORK'\" (click)=\"navigate('commercial', '/work-record/consult/'+ history.id +'/general')\">\r\n <span class=\"material-icons-outlined\" >theaters</span>\r\n {{ 'COMMON.HEADER.HISTORY.WORK' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'CONTRACT_ACQ'\" (click)=\"navigate('legal', '/contracts/contract-acq/consult/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >assignment</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT-ACQ' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'CONTRACT_CESS'\" (click)=\"navigate('legal', '/contracts/contract-cess/consult/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >article</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT-CESS' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'BUDGET'\" (click)=\"navigate('expenditure-commitment', '/budget/form/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >payments</span>\r\n {{ 'COMMON.HEADER.HISTORY.BUDGET' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'NO_HISTORY_AVAILABLE'\">\r\n <span class=\"material-icons-outlined\" >not_interested</span>\r\n {{ 'COMMON.HEADER.HISTORY.NO_HISTORY_AVAILABLE' | commonTranslate : lang }}\r\n </button>\r\n </ng-container>\r\n </mat-menu>\r\n <span fxFlex=\"5\" [matMenuTriggerFor]=\"menu_global\" class=\"material-icons header-icon\">grid_view</span>\r\n <mat-menu #menu_global=\"matMenu\" class=\"action-menu\">\r\n <!--DASHBOARD-->\r\n <button mat-menu-item (click)=\"navigate(null, '/dashboard')\">\r\n <span class=\"material-icons-outlined\">apps</span>\r\n <span>{{ 'COMMON.HEADER.MENU.DASHBOARD' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--COMMERCIAL-->\r\n <span *ngxPermissionsOnly=\"['COMMERCIAL']\">\r\n <button mat-menu-item (click)=\"navigate('commercial', '/deal/search')\">\r\n <span class=\"material-icons-outlined\">local_offer</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.DEAL' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/work-record/search')\">\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.WORK_RECORD' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/work-record/vod-search')\">\r\n <span class=\"material-icons-outlined\">manage_search</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.VOD_SEARCH' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n (click)=\"navigate('commercial', '/accounting-closing/consult')\">\r\n <span class=\"material-icons-outlined\">account_balance_wallet</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.ACCOUNTING_CLOSING' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/invoice/search')\">\r\n <span class=\"material-icons-outlined\">receipt</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.INVOICE' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n (click)=\"navigate('commercial', '/turnover/search')\">\r\n <span class=\"material-icons-outlined\">request_quote</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.TURNOVER' | commonTranslate: lang }}</span>\r\n </button>\r\n </span>\r\n <!--USER-->\r\n <button mat-menu-item *ngIf=\"user && user.admin\" (click)=\"navigate('user', '/account/authorization/search')\">\r\n <span class=\"material-icons-outlined\">manage_accounts</span>\r\n <span>{{ 'COMMON.HEADER.MENU.USER.SECTION_TITLE' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--REFERENTIAL-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['MODULE REF']\" (click)=\"navigate('referential', '/support/list')\">\r\n <span class=\"material-icons-outlined\">support</span>\r\n <span>{{ 'COMMON.HEADER.MENU.REFERENTIAL.SUPPORT' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--BATCH-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['MODULE REF']\" (click)=\"navigate('batch', '/jobs/referential')\">\r\n <span class=\"material-icons-outlined\">autorenew</span>\r\n <span>{{ 'COMMON.HEADER.MENU.REFERENTIAL.BATCH' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--TV DATA-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['TVDATA']\" (click)=\"navigate('tvdata', '/infos-center')\">\r\n <span class=\"material-icons-outlined\">source</span>\r\n <span>{{ 'COMMON.HEADER.MENU.TV-DATA' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--EXPENDITURE COMMITMENT-->\r\n <button mat-menu-item *ngxPermissionsExcept=\"['UNIVERSAL_ROLE']\" (click)=\"navigate('expenditure-commitment', '/home/commands')\">\r\n <span class=\"material-icons-outlined\">receipt_long</span>\r\n <span>{{ 'COMMON.HEADER.MENU.EXPENDITURE_COMMITMENT' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--BI-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['MODULE BI']\" (click)=\"navigate('bi', '/simple-search/form')\">\r\n <span class=\"material-icons-outlined\">travel_explore</span>\r\n <span>{{ 'COMMON.HEADER.MENU.BI.SEARCH' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--LEGAL-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['LEGAL']\" (click)=\"navigate('legal', '/contracts/menu/legals-det')\">\r\n <span class=\"material-icons-outlined\">gavel</span>\r\n <span>{{ 'COMMON.HEADER.MENU.LEGAL' | commonTranslate: lang }}</span>\r\n </button>\r\n </mat-menu>\r\n\r\n\r\n <div fxFlex=\"60\" class=\"global-search\">\r\n <i class=\"material-icons global-search-icon header-icon\" (click)=\"search()\">search</i>\r\n <span class=\"global-search-separator\"></span>\r\n <mat-form-field fxFlex=\"100\" floatLabel=\"never\">\r\n <input fxFlex=\"85\" class=\"global-search-input\" placeholder=\"search ...\"\r\n [matAutocomplete]=\"autoSearch\"\r\n [formControlName]=\"'global-search'\"\r\n (keyup)=\"rapidSearch($event)\"\r\n matInput />\r\n <button mat-raised-button class=\"btn advanced-button\" (click)=\"search()\">\r\n <span class=\"material-icons icon\" >flash_on</span>\r\n advanced\r\n </button>\r\n\r\n <mat-autocomplete #autoSearch=\"matAutocomplete\" panelWidth=\"50vw\">\r\n <mat-option\r\n *ngFor=\"let doc of documents\">\r\n <!--PRODUCT-->\r\n <div *ngIf=\"doc.docType === 'PO'\" (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + doc.technicalId)\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt_long</span>\r\n <span>{{ doc.poNumber }} - {{ doc.totalAmount | currency: doc.currencyCode:'symbol':undefined:'fr-FR'}}</span>\r\n </div>\r\n <!--PRODUCT-->\r\n <div *ngIf=\"doc.docType === 'PRODUCT'\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">movie</span>\r\n <span>{{ doc.title }} ( {{ doc.ean }} ) - {{doc.support}}</span>\r\n </div>\r\n </mat-option>\r\n </mat-autocomplete>\r\n </mat-form-field>\r\n </div>\r\n\r\n <span fxFlex=\"10\"></span>\r\n <span fxFlex=\"5\" class=\"material-icons-outlined header-icon\" [matMenuTriggerFor]=\"menu\">add_box</span>\r\n <mat-menu #menu=\"matMenu\" class=\"action-menu\">\r\n <button mat-menu-item (click)=\"navigate('video', '/product/form')\">\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n {{ 'COMMON.HEADER.CREATION.PRODUCT' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('expenditure-commitment', '/purchase-orders/form')\">\r\n <span class=\"material-icons-outlined\">receipt_long</span>\r\n {{ 'COMMON.HEADER.CREATION.PO' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/deal/form')\">\r\n <span class=\"material-icons-outlined\">local_offer</span>\r\n {{ 'COMMON.HEADER.CREATION.DEAL' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('legal', '/contracts/menu/contracts-acq')\">\r\n <span class=\"material-icons-outlined\">assignment</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_ACQ' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('legal', '/contracts/menu/contracts-cess')\">\r\n <span class=\"material-icons-outlined\">article</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_CESS' | commonTranslate: lang }}\r\n </button>\r\n </mat-menu>\r\n\r\n <div *ngIf=\"user && user.secondary\" class=\"connected-as\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"center center\"\r\n fxLayoutGap=\"10px\">\r\n <span>\r\n {{ 'COMMON.HEADER.CONNECTED_AS' | commonTranslate: lang }} {{user.login + ' - ' + user.firstName + ' ' + user.name }}\r\n </span>\r\n\r\n <button *ngIf=\"user.secondary\" color=\"warn\" mat-raised-button (click)=\"stopIdentityTheft()\">\r\n {{ 'CORE.STOP' | commonTranslate: lang }}\r\n </button>\r\n </div>\r\n <span fxFlex=\"1\" class=\"header-separator\"></span>\r\n\r\n <span [matMenuTriggerFor]='settings' class='material-icons-outlined header-icon' fxFlex='5'>settings</span>\r\n\r\n <!-- #enddocregion mat-menu-trigger-for -->\r\n <mat-menu #settings='matMenu' class='action-menu'>\r\n <button (click)='switchTheme()' mat-menu-item>\r\n <mat-icon class='menu-icon mat-icon'>toggle_on</mat-icon>\r\n <span>{{'COMMON.HEADER.PARAMETERS.THEME' | commonTranslate: lang}}</span>\r\n </button>\r\n <button (click)='switchLang(\"en\")' *ngIf='lang !== \"en\"' mat-menu-item>\r\n <img src='assets/img/flag/en-flag.png'>\r\n {{ 'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.ENGLISH' | commonTranslate: lang }}\r\n </button>\r\n <button (click)='switchLang(\"fr\")' *ngIf='lang !== \"fr\"' mat-menu-item>\r\n <img src='assets/img/flag/fr-flag.png'>\r\n {{ 'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.FRENCH' | commonTranslate: lang }}\r\n </button>\r\n <button (click)='switchLang(\"de\")' *ngIf='lang !== \"de\" ' mat-menu-item>\r\n <img src='assets/img/flag/de-flag.png'>\r\n {{ 'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.DEUTCH' | commonTranslate: lang }}\r\n </button>\r\n </mat-menu>\r\n </mat-toolbar>\r\n\r\n", styles: [".sc-header{height:64px;position:fixed;z-index:999}.logo-unity{height:48px;width:48px}.header-icon{width:22px;height:20px}.global-search{height:40px;background:#EFF3F6;padding:0;margin-left:30px;border-radius:8px}:host ::ng-deep .global-search .mat-form-field-appearance-legacy .mat-form-field-label{top:2.1em!important;margin-left:10px;font-family:Sofia Pro;font-style:italic;font-weight:bold;font-size:14px;line-height:14px}.global-search-icon{width:18px;height:18px;margin:10px 12px 10px 10px}.global-search-input{background:#EFF3F6;border:none;margin-left:10px;font-size:14px!important}.global-search-input:focus{outline:none}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC;margin-top:6px}.rapid-search-type-icon{font-size:15px;margin-right:10px;margin-bottom:4px;line-height:15px;vertical-align:middle}.advanced-button{width:90px!important;min-width:90px!important;height:24px!important;background:#7C87FF;border:none;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;border-radius:4px;line-height:12px;color:#fff;margin:auto 5px auto auto;cursor:pointer;padding:0!important}.advanced-button .icon{font-size:12px;vertical-align:middle}.sc-header .header-icon{color:#809ec1;cursor:pointer;text-align:center}.header-separator{display:inline-block;height:25%;margin-top:6px}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-uat{background-color:#809ec1;color:#fff}#env-dev{background-color:#809ec1;color:#fff}#env-sbx{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.center{text-align:center}.mr-10{margin-right:10px}.mr-20{margin-right:20px}.mr-30{margin-right:30px}.mb-2{margin-bottom:2px}.mat-menu-item img{height:12px!important;margin-right:13px;margin-bottom:-2px;margin-left:3px}\n"], components: [{ type: i13__namespace.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i14__namespace.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i14__namespace.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i7__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i16__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i17__namespace.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { type: i18__namespace.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { type: i19__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i20__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i20__namespace.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i21__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i22__namespace.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i20__namespace.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i21__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14__namespace.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: i21__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i21__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i21__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1__namespace$2.NgxPermissionsDirective, selector: "[ngxPermissionsOnly],[ngxPermissionsExcept]", inputs: ["ngxPermissionsOnly", "ngxPermissionsOnlyThen", "ngxPermissionsOnlyElse", "ngxPermissionsExcept", "ngxPermissionsExceptElse", "ngxPermissionsExceptThen", "ngxPermissionsThen", "ngxPermissionsElse", "ngxPermissionsOnlyAuthorisedStrategy", "ngxPermissionsOnlyUnauthorisedStrategy", "ngxPermissionsExceptUnauthorisedStrategy", "ngxPermissionsExceptAuthorisedStrategy", "ngxPermissionsUnauthorisedStrategy", "ngxPermissionsAuthorisedStrategy"], outputs: ["permissionsAuthorized", "permissionsUnauthorized"] }, { type: i24__namespace.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i17__namespace.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i10__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i20__namespace.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }], pipes: { "commonTranslate": CommonTranslatePipe, "currency": i21__namespace.CurrencyPipe } });
|
|
1416
|
+
HeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderComponent, deps: [{ token: i1__namespace$3.Router }, { token: LocalStorageEventsService }, { token: LocalStorageService }, { token: ToasterEventsService }, { token: i2__namespace$1.TranslateService }, { token: CommonApiService }, { token: SessionStorageService }, { token: PermissionsService }, { token: i9__namespace.OverlayContainer }, { token: i1__namespace.CookieService }, { token: LangService }, { token: WEB_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1417
|
+
HeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: HeaderComponent, selector: "sc-header", outputs: { toogleMenuEvent: "toogleMenuEvent" }, host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0__namespace, template: "<mat-toolbar fxFlex=\"row\" fxLayoutAlign=\"space-between center\" class=\"sc-header\" [ngClass]=\"{ 'light-header': theme !== 'dark' }\">\r\n <span fxLayout=\"row\" fxLayoutAlign=\"center end\">\r\n <a href=\"https://unity-sbx.cplus/dashboard\">\r\n <img class=\"logo-unity\" src=\"./assets/img/unity_logo_48x48.png\">\r\n </a>\r\n <span [attr.id]=\"'env-' + env\" class=\"env\" *ngIf=\"env != 'prod'\">{{env}}</span>\r\n </span>\r\n <span fxFlex=\"1\" class=\"header-separator\"></span>\r\n <span fxFlex=\"5\" class=\"material-icons header-icon\" (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\">history</span>\r\n <mat-menu #menuHistory=\"matMenu\" class=\"action-menu\">\r\n <ng-container *ngFor=\"let history of historyList\" [ngSwitch]=\"history.type\">\r\n <button mat-menu-item *ngSwitchCase=\"'PRODUCT'\" (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\">\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n {{ 'COMMON.HEADER.HISTORY.PRODUCT' | commonTranslate : lang }}{{history.type}} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'PO'\" (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >receipt_long</span>\r\n {{ 'COMMON.HEADER.HISTORY.PO' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'DEAL'\" (click)=\"navigate('commercial', '/deal/consult/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >local_offer</span>\r\n {{ 'COMMON.HEADER.HISTORY.DEAL' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'WORK'\" (click)=\"navigate('commercial', '/work-record/consult/'+ history.id +'/general')\">\r\n <span class=\"material-icons-outlined\" >theaters</span>\r\n {{ 'COMMON.HEADER.HISTORY.WORK' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'CONTRACT_ACQ'\" (click)=\"navigate('legal', '/contracts/contract-acq/consult/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >assignment</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT-ACQ' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'CONTRACT_CESS'\" (click)=\"navigate('legal', '/contracts/contract-cess/consult/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >article</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT-CESS' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'BUDGET'\" (click)=\"navigate('expenditure-commitment', '/budget/form/' + history.id)\">\r\n <span class=\"material-icons-outlined\" >payments</span>\r\n {{ 'COMMON.HEADER.HISTORY.BUDGET' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button mat-menu-item *ngSwitchCase=\"'NO_HISTORY_AVAILABLE'\">\r\n <span class=\"material-icons-outlined\" >not_interested</span>\r\n {{ 'COMMON.HEADER.HISTORY.NO_HISTORY_AVAILABLE' | commonTranslate : lang }}\r\n </button>\r\n </ng-container>\r\n </mat-menu>\r\n <span fxFlex=\"5\" [matMenuTriggerFor]=\"menu_global\" class=\"material-icons header-icon\">grid_view</span>\r\n <mat-menu #menu_global=\"matMenu\" class=\"action-menu\">\r\n <!--DASHBOARD-->\r\n <button mat-menu-item (click)=\"navigate(null, '/dashboard')\">\r\n <span class=\"material-icons-outlined\">apps</span>\r\n <span>{{ 'COMMON.HEADER.MENU.DASHBOARD' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--COMMERCIAL-->\r\n <span *ngxPermissionsOnly=\"['COMMERCIAL']\">\r\n <button mat-menu-item (click)=\"navigate('commercial', '/deal/search')\">\r\n <span class=\"material-icons-outlined\">local_offer</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.DEAL' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/work-record/search')\">\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.WORK_RECORD' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/vod/search')\">\r\n <span class=\"material-icons-outlined\">manage_search</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.VOD_SEARCH' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n (click)=\"navigate('commercial', '/accounting-closing/consult')\">\r\n <span class=\"material-icons-outlined\">account_balance_wallet</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.ACCOUNTING_CLOSING' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/invoice/search')\">\r\n <span class=\"material-icons-outlined\">receipt</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.INVOICE' | commonTranslate: lang }}</span>\r\n </button>\r\n <button mat-menu-item *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n (click)=\"navigate('commercial', '/turnover/search')\">\r\n <span class=\"material-icons-outlined\">request_quote</span>\r\n <span>{{ 'COMMON.HEADER.MENU.COMMERCIAL.TURNOVER' | commonTranslate: lang }}</span>\r\n </button>\r\n </span>\r\n <!--USER-->\r\n <button mat-menu-item *ngIf=\"user && user.admin\" (click)=\"navigate('user', '/account/authorization/search')\">\r\n <span class=\"material-icons-outlined\">manage_accounts</span>\r\n <span>{{ 'COMMON.HEADER.MENU.USER.SECTION_TITLE' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--REFERENTIAL-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['MODULE REF']\" (click)=\"navigate('referential', '/support/list')\">\r\n <span class=\"material-icons-outlined\">support</span>\r\n <span>{{ 'COMMON.HEADER.MENU.REFERENTIAL.SUPPORT' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--BATCH-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['MODULE REF']\" (click)=\"navigate('batch', '/jobs/referential')\">\r\n <span class=\"material-icons-outlined\">autorenew</span>\r\n <span>{{ 'COMMON.HEADER.MENU.REFERENTIAL.BATCH' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--TV DATA-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['TVDATA']\" (click)=\"navigate('tvdata', '/infos-center')\">\r\n <span class=\"material-icons-outlined\">source</span>\r\n <span>{{ 'COMMON.HEADER.MENU.TV-DATA' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--EXPENDITURE COMMITMENT-->\r\n <button mat-menu-item *ngxPermissionsExcept=\"['UNIVERSAL_ROLE']\" (click)=\"navigate('expenditure-commitment', '/home/commands')\">\r\n <span class=\"material-icons-outlined\">receipt_long</span>\r\n <span>{{ 'COMMON.HEADER.MENU.EXPENDITURE_COMMITMENT' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--BI-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['MODULE BI']\" (click)=\"navigate('bi', '/simple-search/form')\">\r\n <span class=\"material-icons-outlined\">travel_explore</span>\r\n <span>{{ 'COMMON.HEADER.MENU.BI.SEARCH' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--LEGAL-->\r\n <button mat-menu-item *ngxPermissionsOnly=\"['LEGAL']\" (click)=\"navigate('legal', '/contracts/menu/legals-det')\">\r\n <span class=\"material-icons-outlined\">gavel</span>\r\n <span>{{ 'COMMON.HEADER.MENU.LEGAL' | commonTranslate: lang }}</span>\r\n </button>\r\n </mat-menu>\r\n\r\n <div fxFlex=\"60\" class=\"global-search\">\r\n <i class=\"material-icons global-search-icon header-icon\" (click)=\"search()\">search</i>\r\n <span class=\"global-search-separator\"></span>\r\n\r\n <input fxFlex=\"80\" class=\"global-search-input\" (keyup.enter)=\"search()\" placeholder=\"{{ 'COMMON.HEADER.GLOBAL_SEARCH.PLACEHOLDER' | commonTranslate: lang }}\"\r\n [(ngModel)]=\"inputText\"/>\r\n <button mat-raised-button class=\"btn advanced-button\" (click)=\"search()\">\r\n <span class=\"material-icons icon\" >flash_on</span>\r\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ADVANCED' | commonTranslate: lang }}\r\n </button>\r\n </div>\r\n\r\n <span fxFlex=\"10\"></span>\r\n <span fxFlex=\"5\" class=\"material-icons-outlined header-icon\" [matMenuTriggerFor]=\"menu\">add_box</span>\r\n <mat-menu #menu=\"matMenu\" class=\"action-menu\">\r\n <button mat-menu-item (click)=\"navigate('video', '/product/form')\">\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n {{ 'COMMON.HEADER.CREATION.PRODUCT' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('expenditure-commitment', '/purchase-orders/form')\">\r\n <span class=\"material-icons-outlined\">receipt_long</span>\r\n {{ 'COMMON.HEADER.CREATION.PO' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('commercial', '/deal/form')\">\r\n <span class=\"material-icons-outlined\">local_offer</span>\r\n {{ 'COMMON.HEADER.CREATION.DEAL' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('legal', '/contracts/menu/contracts-acq')\">\r\n <span class=\"material-icons-outlined\">assignment</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_ACQ' | commonTranslate: lang }}\r\n </button>\r\n <button mat-menu-item (click)=\"navigate('legal', '/contracts/menu/contracts-cess')\">\r\n <span class=\"material-icons-outlined\">article</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_CESS' | commonTranslate: lang }}\r\n </button>\r\n </mat-menu>\r\n\r\n <div *ngIf=\"user && user.secondary\" class=\"connected-as\"\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"center center\"\r\n fxLayoutGap=\"10px\">\r\n <span>\r\n {{ 'COMMON.HEADER.CONNECTED_AS' | commonTranslate: lang }} {{user.login + ' - ' + user.firstName + ' ' + user.name }}\r\n </span>\r\n\r\n <button *ngIf=\"user.secondary\" color=\"warn\" mat-raised-button (click)=\"stopIdentityTheft()\">\r\n {{ 'CORE.STOP' | commonTranslate: lang }}\r\n </button>\r\n </div>\r\n <span fxFlex=\"1\" class=\"header-separator\"></span>\r\n\r\n <span [matMenuTriggerFor]='settings' class='material-icons-outlined header-icon' fxFlex='5'>settings</span>\r\n\r\n <!-- #enddocregion mat-menu-trigger-for -->\r\n <mat-menu #settings='matMenu' class='action-menu'>\r\n <button (click)='switchTheme()' mat-menu-item>\r\n <mat-icon class='menu-icon mat-icon'>toggle_on</mat-icon>\r\n <span>{{'COMMON.HEADER.PARAMETERS.THEME' | commonTranslate: lang}}</span>\r\n </button>\r\n <button (click)='switchLang(\"en\")' *ngIf='lang !== \"en\"' mat-menu-item>\r\n <img src='assets/img/flag/en-flag.png'>\r\n {{ 'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.ENGLISH' | commonTranslate: lang }}\r\n </button>\r\n <button (click)='switchLang(\"fr\")' *ngIf='lang !== \"fr\"' mat-menu-item>\r\n <img src='assets/img/flag/fr-flag.png'>\r\n {{ 'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.FRENCH' | commonTranslate: lang }}\r\n </button>\r\n <button (click)='switchLang(\"de\")' *ngIf='lang !== \"de\" ' mat-menu-item>\r\n <img src='assets/img/flag/de-flag.png'>\r\n {{ 'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.DEUTCH' | commonTranslate: lang }}\r\n </button>\r\n </mat-menu>\r\n </mat-toolbar>\r\n\r\n", styles: [".sc-header{height:64px;position:fixed;z-index:999}.logo-unity{height:48px;width:48px}.header-icon{width:22px;height:20px}.global-search{height:40px;background:#EFF3F6;padding:0;margin-left:30px;border-radius:8px}.global-search-icon{width:18px;height:18px;margin:10px 12px 10px 10px}.global-search-input{background:#EFF3F6;border:none;margin-left:10px;font-size:14px!important}.global-search-input:focus{outline:none}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC;margin-top:6px}.advanced-button{width:90px!important;min-width:90px!important;height:24px;background:#7C87FF;border:none;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;border-radius:4px;line-height:12px;color:#fff;margin:auto 5px auto auto;cursor:pointer;padding:0!important}.advanced-button .icon{font-size:12px;vertical-align:middle}.sc-header .header-icon{color:#809ec1;cursor:pointer;text-align:center}.header-separator{display:inline-block;height:25%;margin-top:6px}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-uat{background-color:#809ec1;color:#fff}#env-dev{background-color:#809ec1;color:#fff}#env-sbx{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.center{text-align:center}.mr-10{margin-right:10px}.mr-20{margin-right:20px}.mr-30{margin-right:30px}.mb-2{margin-bottom:2px}.mat-menu-item img{height:12px!important;margin-right:13px;margin-bottom:-2px;margin-left:3px}\n"], components: [{ type: i12__namespace.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { type: i13__namespace.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { type: i13__namespace.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { type: i14__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i15__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i16__namespace.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i16__namespace.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i17__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i18__namespace.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i16__namespace.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i17__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i13__namespace.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["matMenuTriggerRestoreFocus", "mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { type: i17__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i17__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i17__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1__namespace$2.NgxPermissionsDirective, selector: "[ngxPermissionsOnly],[ngxPermissionsExcept]", inputs: ["ngxPermissionsOnly", "ngxPermissionsOnlyThen", "ngxPermissionsOnlyElse", "ngxPermissionsExcept", "ngxPermissionsExceptElse", "ngxPermissionsExceptThen", "ngxPermissionsThen", "ngxPermissionsElse", "ngxPermissionsOnlyAuthorisedStrategy", "ngxPermissionsOnlyUnauthorisedStrategy", "ngxPermissionsExceptUnauthorisedStrategy", "ngxPermissionsExceptAuthorisedStrategy", "ngxPermissionsUnauthorisedStrategy", "ngxPermissionsAuthorisedStrategy"], outputs: ["permissionsAuthorized", "permissionsUnauthorized"] }, { type: i10__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i16__namespace.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }], pipes: { "commonTranslate": CommonTranslatePipe } });
|
|
1469
1418
|
__decorate([
|
|
1470
1419
|
Theme()
|
|
1471
1420
|
], HeaderComponent.prototype, "theme", void 0);
|
|
@@ -1480,7 +1429,7 @@
|
|
|
1480
1429
|
templateUrl: './header.component.html'
|
|
1481
1430
|
}]
|
|
1482
1431
|
}], ctorParameters: function () {
|
|
1483
|
-
return [{ type: i1__namespace$3.Router }, { type: LocalStorageEventsService }, { type: LocalStorageService }, { type: ToasterEventsService }, { type: i2__namespace$1.TranslateService }, { type: CommonApiService }, { type: SessionStorageService }, { type: PermissionsService }, { type: i9__namespace.OverlayContainer }, { type: i1__namespace.CookieService }, { type: LangService }, { type:
|
|
1432
|
+
return [{ type: i1__namespace$3.Router }, { type: LocalStorageEventsService }, { type: LocalStorageService }, { type: ToasterEventsService }, { type: i2__namespace$1.TranslateService }, { type: CommonApiService }, { type: SessionStorageService }, { type: PermissionsService }, { type: i9__namespace.OverlayContainer }, { type: i1__namespace.CookieService }, { type: LangService }, { type: undefined, decorators: [{
|
|
1484
1433
|
type: i0.Inject,
|
|
1485
1434
|
args: [WEB_CONFIG]
|
|
1486
1435
|
}] }];
|
|
@@ -1511,8 +1460,8 @@
|
|
|
1511
1460
|
};
|
|
1512
1461
|
return SubHeaderComponent;
|
|
1513
1462
|
}());
|
|
1514
|
-
SubHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SubHeaderComponent, deps: [{ token:
|
|
1515
|
-
SubHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: SubHeaderComponent, selector: "sc-sub-header", host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0__namespace, template: "<div id=\"template-header-container\">\r\n <div id=\"template-header\" [ngClass]=\"{'header-hide':isHide}\">\r\n\r\n <!-- What you want -->\r\n <div id=\"left-part\">\r\n <ng-content select=[left]></ng-content>\r\n </div>\r\n\r\n <!-- What you want -->\r\n <div id=\"middle-part\">\r\n <ng-content select=[middle]></ng-content>\r\n </div>\r\n\r\n <!-- What you want -->\r\n <div id=\"right-part\">\r\n <ng-content select=[right]></ng-content>\r\n </div>\r\n\r\n </div>\r\n</div>\r\n", styles: ["#template-header-container{position:relative;background:#3F3F3F}#template-header{position:fixed;z-index:300;top:20px;width:100%;padding-top:30px!important;background:#3F3F3F;color:#fff;transition:.3s}#left-part{float:left;margin-left:15px}#right-part{float:right;margin-right:230px;height:100%}a{vertical-align:middle;text-align:center;color:#afafaf}.header-hide{top:-25px!important;transition:.3s}.title{color:#fff!important;font-weight:bold!important}.subtitle{color:#b3b3b3!important;cursor:pointer}@media only screen and (min-width: 64.063em){.title{font-size:23px}.subtitle{font-size:16px}.status{color:#65d39b;margin-left:10px;font-size:12px}.codeMilo{color:#b3b3b3;font-size:15px}.dealNumber{color:#b3b3b3;font-weight:bold;font-size:19px}}@media only screen and (min-width: 40.063em) and (max-width: 64em){.title{font-size:15px}.subtitle{font-size:10px}.status{color:#65d39b;margin-left:10px;font-size:10px}#template-header{padding:45px 0 5px 55px}}@media only screen and (max-width: 40em){.title{font-size:10px}.subtitle{font-size:8px}.status{color:#65d39b;margin-left:10px;font-size:8px}#template-header{padding:45px 0 5px}}\n"], directives: [{ type:
|
|
1463
|
+
SubHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SubHeaderComponent, deps: [{ token: i17.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1464
|
+
SubHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: SubHeaderComponent, selector: "sc-sub-header", host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0__namespace, template: "<div id=\"template-header-container\">\r\n <div id=\"template-header\" [ngClass]=\"{'header-hide':isHide}\">\r\n\r\n <!-- What you want -->\r\n <div id=\"left-part\">\r\n <ng-content select=[left]></ng-content>\r\n </div>\r\n\r\n <!-- What you want -->\r\n <div id=\"middle-part\">\r\n <ng-content select=[middle]></ng-content>\r\n </div>\r\n\r\n <!-- What you want -->\r\n <div id=\"right-part\">\r\n <ng-content select=[right]></ng-content>\r\n </div>\r\n\r\n </div>\r\n</div>\r\n", styles: ["#template-header-container{position:relative;background:#3F3F3F}#template-header{position:fixed;z-index:300;top:20px;width:100%;padding-top:30px!important;background:#3F3F3F;color:#fff;transition:.3s}#left-part{float:left;margin-left:15px}#right-part{float:right;margin-right:230px;height:100%}a{vertical-align:middle;text-align:center;color:#afafaf}.header-hide{top:-25px!important;transition:.3s}.title{color:#fff!important;font-weight:bold!important}.subtitle{color:#b3b3b3!important;cursor:pointer}@media only screen and (min-width: 64.063em){.title{font-size:23px}.subtitle{font-size:16px}.status{color:#65d39b;margin-left:10px;font-size:12px}.codeMilo{color:#b3b3b3;font-size:15px}.dealNumber{color:#b3b3b3;font-weight:bold;font-size:19px}}@media only screen and (min-width: 40.063em) and (max-width: 64em){.title{font-size:15px}.subtitle{font-size:10px}.status{color:#65d39b;margin-left:10px;font-size:10px}#template-header{padding:45px 0 5px 55px}}@media only screen and (max-width: 40em){.title{font-size:10px}.subtitle{font-size:8px}.status{color:#65d39b;margin-left:10px;font-size:8px}#template-header{padding:45px 0 5px}}\n"], directives: [{ type: i17__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i18__namespace.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
|
|
1516
1465
|
__decorate([
|
|
1517
1466
|
Theme()
|
|
1518
1467
|
], SubHeaderComponent.prototype, "theme", void 0);
|
|
@@ -1526,7 +1475,7 @@
|
|
|
1526
1475
|
}], ctorParameters: function () {
|
|
1527
1476
|
return [{ type: undefined, decorators: [{
|
|
1528
1477
|
type: i0.Inject,
|
|
1529
|
-
args: [
|
|
1478
|
+
args: [i17.DOCUMENT]
|
|
1530
1479
|
}] }];
|
|
1531
1480
|
}, propDecorators: { theme: [], onWindowScroll: [{
|
|
1532
1481
|
type: i0.HostListener,
|
|
@@ -1622,7 +1571,7 @@
|
|
|
1622
1571
|
return MyDialogPopupLoginComponent;
|
|
1623
1572
|
}());
|
|
1624
1573
|
MyDialogPopupLoginComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyDialogPopupLoginComponent, deps: [{ token: i1__namespace$4.MatDialogRef }, { token: AesService }, { token: WEB_CONFIG }, { token: i2__namespace.HttpClient }, { token: i2__namespace$1.TranslateService }, { token: i1__namespace.CookieService }, { token: i1$4.MAT_DIALOG_DATA }, { token: CommonApiService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1625
|
-
MyDialogPopupLoginComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: MyDialogPopupLoginComponent, selector: "sc-popup-login", ngImport: i0__namespace, template: "<h3 mat-dialog-title>Log in</h3>\r\n\r\n<mat-dialog-content>\r\n <form [formGroup]=\"userForm\" fxLayout=\"column\" (keyup.enter)=\"onLogin()\">\r\n <div class=\"form-group\">\r\n <mat-label>{{'CORE.LOGIN.USERNAME' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span></mat-label>\r\n <mat-form-field appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"username\" formControlName=\"username\"/>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"form-group\">\r\n <mat-label>{{'CORE.LOGIN.PASSWORD' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span></mat-label>\r\n <mat-form-field appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"password\" formControlName=\"password\" type=\"password\"/>\r\n </mat-form-field>\r\n </div>\r\n </form>\r\n</mat-dialog-content>\r\n\r\n<mat-dialog-actions fxLayout=\"column\" fxLayoutAlign=\"center center\">\r\n <button class=\"primary w-100\" mat-raised-button type=\"submit\" (click)=\"onLogin()\" [disabled]=\"loading\">{{ 'CORE.LOGIN.SIGN_IN' | translate }}</button>\r\n <mat-spinner *ngIf=\"loading\" class=\"not-so-close-from-button login-spinner\" [diameter]=\"30\"></mat-spinner>\r\n <div *ngIf=\"(errorMessage !== null || errorMessage !== '')\" class=\"errorMessage not-so-close-from-button\">\r\n {{errorMessage}} </div>\r\n</mat-dialog-actions>\r\n\r\n", styles: [".w-100{width:100%}\n"], components: [{ type: i7__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type:
|
|
1574
|
+
MyDialogPopupLoginComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: MyDialogPopupLoginComponent, selector: "sc-popup-login", ngImport: i0__namespace, template: "<h3 mat-dialog-title>Log in</h3>\r\n\r\n<mat-dialog-content>\r\n <form [formGroup]=\"userForm\" fxLayout=\"column\" (keyup.enter)=\"onLogin()\">\r\n <div class=\"form-group\">\r\n <mat-label>{{'CORE.LOGIN.USERNAME' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span></mat-label>\r\n <mat-form-field appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"username\" formControlName=\"username\"/>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"form-group\">\r\n <mat-label>{{'CORE.LOGIN.PASSWORD' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span></mat-label>\r\n <mat-form-field appearance=\"outline\">\r\n <input matInput [(ngModel)]=\"password\" formControlName=\"password\" type=\"password\"/>\r\n </mat-form-field>\r\n </div>\r\n </form>\r\n</mat-dialog-content>\r\n\r\n<mat-dialog-actions fxLayout=\"column\" fxLayoutAlign=\"center center\">\r\n <button class=\"primary w-100\" mat-raised-button type=\"submit\" (click)=\"onLogin()\" [disabled]=\"loading\">{{ 'CORE.LOGIN.SIGN_IN' | translate }}</button>\r\n <mat-spinner *ngIf=\"loading\" class=\"not-so-close-from-button login-spinner\" [diameter]=\"30\"></mat-spinner>\r\n <div *ngIf=\"(errorMessage !== null || errorMessage !== '')\" class=\"errorMessage not-so-close-from-button\">\r\n {{errorMessage}} </div>\r\n</mat-dialog-actions>\r\n\r\n", styles: [".w-100{width:100%}\n"], components: [{ type: i7__namespace.MatFormField, selector: "mat-form-field", inputs: ["color", "floatLabel", "appearance", "hideRequiredMarker", "hintLabel"], exportAs: ["matFormField"] }, { type: i14__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5__namespace.MatSpinner, selector: "mat-spinner", inputs: ["color"] }], directives: [{ type: i1__namespace$4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace$4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i10__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i10__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i16__namespace.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { type: i10__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7__namespace.MatLabel, selector: "mat-label" }, { type: i12__namespace$1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["id", "disabled", "required", "type", "value", "readonly", "placeholder", "errorStateMatcher", "aria-describedby"], exportAs: ["matInput"] }, { type: i10__namespace.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i10__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1__namespace$4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }, { type: i16__namespace.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { type: i17__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
|
|
1626
1575
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyDialogPopupLoginComponent, decorators: [{
|
|
1627
1576
|
type: i0.Component,
|
|
1628
1577
|
args: [{
|
|
@@ -1733,14 +1682,14 @@
|
|
|
1733
1682
|
MyDialogPopupLoginComponent,
|
|
1734
1683
|
OverlayComponent,
|
|
1735
1684
|
HeaderComponent,
|
|
1736
|
-
SubHeaderComponent], imports: [
|
|
1685
|
+
SubHeaderComponent], imports: [i12$1.MatInputModule,
|
|
1737
1686
|
select.MatSelectModule,
|
|
1738
1687
|
table.MatTableModule,
|
|
1739
1688
|
tooltip.MatTooltipModule,
|
|
1740
|
-
|
|
1741
|
-
|
|
1689
|
+
i14.MatButtonModule,
|
|
1690
|
+
i12.MatToolbarModule,
|
|
1742
1691
|
i7.MatFormFieldModule,
|
|
1743
|
-
|
|
1692
|
+
i17.CommonModule,
|
|
1744
1693
|
i2$1.TranslateModule,
|
|
1745
1694
|
i4.MatCardModule,
|
|
1746
1695
|
i1$4.MatDialogModule,
|
|
@@ -1748,14 +1697,13 @@
|
|
|
1748
1697
|
i5.MatProgressSpinnerModule,
|
|
1749
1698
|
i1$3.RouterModule,
|
|
1750
1699
|
i10.ReactiveFormsModule,
|
|
1751
|
-
|
|
1700
|
+
i14.MatButtonModule,
|
|
1752
1701
|
i10.FormsModule,
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1702
|
+
i15.MatIconModule,
|
|
1703
|
+
i13.MatMenuModule,
|
|
1704
|
+
i12.MatToolbarModule,
|
|
1756
1705
|
divider.MatDividerModule,
|
|
1757
|
-
flexLayout.FlexLayoutModule,
|
|
1758
|
-
i17.MatAutocompleteModule], exports: [MyNumberFormatterDirective,
|
|
1706
|
+
flexLayout.FlexLayoutModule], exports: [MyNumberFormatterDirective,
|
|
1759
1707
|
CapitalizefirstPipe,
|
|
1760
1708
|
SpacesNumberPipe,
|
|
1761
1709
|
SanitizeHtml,
|
|
@@ -1780,7 +1728,7 @@
|
|
|
1780
1728
|
PermissionsService,
|
|
1781
1729
|
ArrayService,
|
|
1782
1730
|
CommonApiService,
|
|
1783
|
-
|
|
1731
|
+
i17.DatePipe,
|
|
1784
1732
|
LocalDatePipe,
|
|
1785
1733
|
MyNumberPipe,
|
|
1786
1734
|
AesService,
|
|
@@ -1788,17 +1736,16 @@
|
|
|
1788
1736
|
ToasterEventsService,
|
|
1789
1737
|
HeaderEventsService,
|
|
1790
1738
|
HistoryService,
|
|
1791
|
-
LangService
|
|
1792
|
-
ElasticsearchService
|
|
1739
|
+
LangService
|
|
1793
1740
|
], imports: [[
|
|
1794
|
-
|
|
1741
|
+
i12$1.MatInputModule,
|
|
1795
1742
|
select.MatSelectModule,
|
|
1796
1743
|
table.MatTableModule,
|
|
1797
1744
|
tooltip.MatTooltipModule,
|
|
1798
|
-
|
|
1799
|
-
|
|
1745
|
+
i14.MatButtonModule,
|
|
1746
|
+
i12.MatToolbarModule,
|
|
1800
1747
|
i7.MatFormFieldModule,
|
|
1801
|
-
|
|
1748
|
+
i17.CommonModule,
|
|
1802
1749
|
i2$1.TranslateModule,
|
|
1803
1750
|
i4.MatCardModule,
|
|
1804
1751
|
i1$4.MatDialogModule,
|
|
@@ -1806,27 +1753,26 @@
|
|
|
1806
1753
|
i5.MatProgressSpinnerModule,
|
|
1807
1754
|
i1$3.RouterModule,
|
|
1808
1755
|
i10.ReactiveFormsModule,
|
|
1809
|
-
|
|
1756
|
+
i14.MatButtonModule,
|
|
1810
1757
|
i10.FormsModule,
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1758
|
+
i15.MatIconModule,
|
|
1759
|
+
i13.MatMenuModule,
|
|
1760
|
+
i12.MatToolbarModule,
|
|
1814
1761
|
divider.MatDividerModule,
|
|
1815
|
-
flexLayout.FlexLayoutModule
|
|
1816
|
-
i17.MatAutocompleteModule
|
|
1762
|
+
flexLayout.FlexLayoutModule
|
|
1817
1763
|
]] });
|
|
1818
1764
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, decorators: [{
|
|
1819
1765
|
type: i0.NgModule,
|
|
1820
1766
|
args: [{
|
|
1821
1767
|
imports: [
|
|
1822
|
-
|
|
1768
|
+
i12$1.MatInputModule,
|
|
1823
1769
|
select.MatSelectModule,
|
|
1824
1770
|
table.MatTableModule,
|
|
1825
1771
|
tooltip.MatTooltipModule,
|
|
1826
|
-
|
|
1827
|
-
|
|
1772
|
+
i14.MatButtonModule,
|
|
1773
|
+
i12.MatToolbarModule,
|
|
1828
1774
|
i7.MatFormFieldModule,
|
|
1829
|
-
|
|
1775
|
+
i17.CommonModule,
|
|
1830
1776
|
i2$1.TranslateModule,
|
|
1831
1777
|
i4.MatCardModule,
|
|
1832
1778
|
i1$4.MatDialogModule,
|
|
@@ -1834,14 +1780,13 @@
|
|
|
1834
1780
|
i5.MatProgressSpinnerModule,
|
|
1835
1781
|
i1$3.RouterModule,
|
|
1836
1782
|
i10.ReactiveFormsModule,
|
|
1837
|
-
|
|
1783
|
+
i14.MatButtonModule,
|
|
1838
1784
|
i10.FormsModule,
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1785
|
+
i15.MatIconModule,
|
|
1786
|
+
i13.MatMenuModule,
|
|
1787
|
+
i12.MatToolbarModule,
|
|
1842
1788
|
divider.MatDividerModule,
|
|
1843
|
-
flexLayout.FlexLayoutModule
|
|
1844
|
-
i17.MatAutocompleteModule
|
|
1789
|
+
flexLayout.FlexLayoutModule
|
|
1845
1790
|
],
|
|
1846
1791
|
declarations: [
|
|
1847
1792
|
MyNumberFormatterDirective,
|
|
@@ -1872,7 +1817,7 @@
|
|
|
1872
1817
|
PermissionsService,
|
|
1873
1818
|
ArrayService,
|
|
1874
1819
|
CommonApiService,
|
|
1875
|
-
|
|
1820
|
+
i17.DatePipe,
|
|
1876
1821
|
LocalDatePipe,
|
|
1877
1822
|
MyNumberPipe,
|
|
1878
1823
|
AesService,
|
|
@@ -1880,8 +1825,7 @@
|
|
|
1880
1825
|
ToasterEventsService,
|
|
1881
1826
|
HeaderEventsService,
|
|
1882
1827
|
HistoryService,
|
|
1883
|
-
LangService
|
|
1884
|
-
ElasticsearchService
|
|
1828
|
+
LangService
|
|
1885
1829
|
],
|
|
1886
1830
|
exports: [
|
|
1887
1831
|
MyNumberFormatterDirective,
|
|
@@ -2280,7 +2224,7 @@
|
|
|
2280
2224
|
return null;
|
|
2281
2225
|
};
|
|
2282
2226
|
return CustomDateAdapter;
|
|
2283
|
-
}(
|
|
2227
|
+
}(core.NativeDateAdapter));
|
|
2284
2228
|
CustomDateAdapter.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CustomDateAdapter, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2285
2229
|
CustomDateAdapter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CustomDateAdapter });
|
|
2286
2230
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CustomDateAdapter, decorators: [{
|