new-front-common-library 0.0.64 → 0.0.65
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/bundles/new-front-common-library.umd.js +157 -151
- package/bundles/new-front-common-library.umd.js.map +1 -1
- package/esm2015/lib/util/array.service.js +4 -4
- package/esm2015/lib/util/component/header/header.component.js +33 -15
- package/esm2015/lib/util/component/overlay/overlay.component.js +4 -4
- package/esm2015/lib/util/component/overlay/overlay.service.js +4 -4
- package/esm2015/lib/util/component/popup/popup-login/popup-login.component.js +4 -4
- package/esm2015/lib/util/component/sub-header/sub-header.component.js +4 -4
- package/esm2015/lib/util/date/date-adapter.js +4 -4
- package/esm2015/lib/util/directives/my-number-formatter-directive.js +4 -4
- package/esm2015/lib/util/directives/show-if-truncated.directive.js +4 -4
- package/esm2015/lib/util/event/header/header-events.service.js +4 -4
- package/esm2015/lib/util/event/storage/local-storage-events.service.js +4 -4
- package/esm2015/lib/util/event/storage/session-storage-events.service.js +4 -4
- package/esm2015/lib/util/permissions/permissions.service.js +4 -4
- package/esm2015/lib/util/pipes/capitalizefirst.pipe.js +4 -4
- package/esm2015/lib/util/pipes/comma-separated-number.pipe.js +4 -4
- package/esm2015/lib/util/pipes/common-translate.pipe.js +4 -4
- package/esm2015/lib/util/pipes/display-html.pipe.js +4 -4
- package/esm2015/lib/util/pipes/display-null.pipe.js +4 -4
- package/esm2015/lib/util/pipes/format-duration.pipe.js +4 -4
- package/esm2015/lib/util/pipes/format-number-input.pipe.js +4 -4
- package/esm2015/lib/util/pipes/local-date.pipe.js +4 -4
- package/esm2015/lib/util/pipes/my-number.pipe.js +4 -4
- package/esm2015/lib/util/pipes/third-party-address.pipe.js +4 -4
- package/esm2015/lib/util/pipes/trim-string.pipe.js +4 -4
- package/esm2015/lib/util/regex/regex.service.js +4 -4
- package/esm2015/lib/util/services/api/common-api.service.js +4 -4
- package/esm2015/lib/util/services/elasticsearch/elasticsearch.service.js +4 -4
- package/esm2015/lib/util/services/form-action/form-actions-events.service.js +4 -4
- package/esm2015/lib/util/services/guard/auth.guard.js +4 -4
- package/esm2015/lib/util/services/guard/login.guard.js +4 -4
- package/esm2015/lib/util/services/history/history.service.js +4 -4
- package/esm2015/lib/util/services/interceptor/auth.interceptor.js +4 -4
- package/esm2015/lib/util/services/jwt-security/aes.service.js +4 -4
- package/esm2015/lib/util/services/jwt-security/interceptorhttp.service.js +4 -4
- package/esm2015/lib/util/services/storage/local-storage.service.js +4 -4
- package/esm2015/lib/util/services/storage/session-storage.service.js +4 -4
- package/esm2015/lib/util/services/translate-language/lang.service.js +4 -4
- package/esm2015/lib/util/theme/theme-event.service.js +4 -4
- package/esm2015/lib/util/toaster/toaster-events.service.js +4 -4
- package/esm2015/lib/util/util.module.js +5 -5
- package/fesm2015/new-front-common-library.js +149 -135
- package/fesm2015/new-front-common-library.js.map +1 -1
- package/lib/util/component/header/header.component.d.ts +6 -3
- package/package.json +1 -1
|
@@ -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('@angular/cdk/overlay'), require('elasticsearch-browser'), require('@angular/material/toolbar'), require('@angular/material/menu'), require('@angular/material/form-field'), require('@angular/material/button'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@angular/material/icon'), require('@angular/flex-layout/extended'), require('@angular/material/input'), require('@angular/material/dialog'), 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', '@angular/cdk/overlay', 'elasticsearch-browser', '@angular/material/toolbar', '@angular/material/menu', '@angular/material/form-field', '@angular/material/button', '@angular/material/autocomplete', '@angular/material/core', '@angular/material/icon', '@angular/flex-layout/extended', '@angular/material/input', '@angular/material/dialog', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global[
|
|
5
|
-
}
|
|
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('@angular/forms'), require('@angular/cdk/overlay'), require('elasticsearch-browser'), require('@angular/material/toolbar'), require('@angular/material/menu'), require('@angular/material/form-field'), require('@angular/material/button'), require('@angular/material/autocomplete'), require('@angular/material/core'), require('@angular/material/icon'), require('@angular/flex-layout/extended'), require('@angular/material/input'), require('@angular/material/dialog'), require('codelyzer/util/isNotNullOrUndefined'), require('crypto-js'), require('@angular/material/divider'), require('@angular/material/tooltip'), require('@angular/material/table'), require('@angular/material/select'), require('@angular/flex-layout'), require('@ng-select/ng-select')) :
|
|
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', '@angular/forms', '@angular/cdk/overlay', 'elasticsearch-browser', '@angular/material/toolbar', '@angular/material/menu', '@angular/material/form-field', '@angular/material/button', '@angular/material/autocomplete', '@angular/material/core', '@angular/material/icon', '@angular/flex-layout/extended', '@angular/material/input', '@angular/material/dialog', 'codelyzer/util/isNotNullOrUndefined', 'crypto-js', '@angular/material/divider', '@angular/material/tooltip', '@angular/material/table', '@angular/material/select', '@angular/flex-layout', '@ng-select/ng-select'], 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.ng.forms, global.ng.cdk.overlay, global.elasticsearchBrowser, global.ng.material.toolbar, global.ng.material.menu, global.ng.material.formField, global.ng.material.button, global.ng.material.autocomplete, global.ng.material.core, global.ng.material.icon, global.ng.flexLayout.extended, global.ng.material.input, global.ng.material.dialog, global.isNotNullOrUndefined, global.CryptoJS, global.ng.material.divider, global.ng.material.tooltip, global.ng.material.table, global.ng.material.select, global.ng.flexLayout, global.ngSelect));
|
|
5
|
+
}(this, (function (exports, i0, i2$1, i2, i21, rxjs, operators, i1, i1$1, i4, i1$2, i5, i1$3, i20, i10, i9, elasticsearchBrowser, i13, i14, i7, i16, i17, i18, i19, i22, i24, i1$4, isNotNullOrUndefined, CryptoJS, divider, i1$5, table, select, flexLayout, ngSelect) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
14
|
Object.defineProperty(n, k, d.get ? d : {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () {
|
|
16
|
+
get: function () {
|
|
17
|
+
return e[k];
|
|
18
|
+
}
|
|
17
19
|
});
|
|
18
20
|
}
|
|
19
21
|
});
|
|
20
22
|
}
|
|
21
|
-
n[
|
|
23
|
+
n['default'] = e;
|
|
22
24
|
return Object.freeze(n);
|
|
23
25
|
}
|
|
24
26
|
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
34
36
|
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
35
37
|
var i20__namespace = /*#__PURE__*/_interopNamespace(i20);
|
|
38
|
+
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
36
39
|
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
37
40
|
var i13__namespace = /*#__PURE__*/_interopNamespace(i13);
|
|
38
41
|
var i14__namespace = /*#__PURE__*/_interopNamespace(i14);
|
|
@@ -44,7 +47,6 @@
|
|
|
44
47
|
var i22__namespace = /*#__PURE__*/_interopNamespace(i22);
|
|
45
48
|
var i24__namespace = /*#__PURE__*/_interopNamespace(i24);
|
|
46
49
|
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
47
|
-
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
48
50
|
var CryptoJS__namespace = /*#__PURE__*/_interopNamespace(CryptoJS);
|
|
49
51
|
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
50
52
|
|
|
@@ -172,9 +174,9 @@
|
|
|
172
174
|
};
|
|
173
175
|
return CommonApiService;
|
|
174
176
|
}());
|
|
175
|
-
CommonApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
176
|
-
CommonApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
177
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
177
|
+
CommonApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonApiService, deps: [{ token: WEB_CONFIG }, { token: i1__namespace.CookieService }, { token: i2__namespace.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
178
|
+
CommonApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonApiService });
|
|
179
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonApiService, decorators: [{
|
|
178
180
|
type: i0.Injectable
|
|
179
181
|
}], ctorParameters: function () {
|
|
180
182
|
return [{ type: undefined, decorators: [{
|
|
@@ -193,9 +195,9 @@
|
|
|
193
195
|
};
|
|
194
196
|
return LocalStorageEventsService;
|
|
195
197
|
}());
|
|
196
|
-
LocalStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
197
|
-
LocalStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
198
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
198
|
+
LocalStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
199
|
+
LocalStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageEventsService });
|
|
200
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageEventsService, decorators: [{
|
|
199
201
|
type: i0.Injectable
|
|
200
202
|
}], ctorParameters: function () { return []; } });
|
|
201
203
|
|
|
@@ -227,9 +229,9 @@
|
|
|
227
229
|
};
|
|
228
230
|
return LocalStorageService;
|
|
229
231
|
}());
|
|
230
|
-
LocalStorageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
231
|
-
LocalStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
232
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
232
|
+
LocalStorageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageService, deps: [{ token: LocalStorageEventsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
233
|
+
LocalStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageService });
|
|
234
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageService, decorators: [{
|
|
233
235
|
type: i0.Injectable
|
|
234
236
|
}], ctorParameters: function () { return [{ type: LocalStorageEventsService }]; } });
|
|
235
237
|
|
|
@@ -246,13 +248,13 @@
|
|
|
246
248
|
};
|
|
247
249
|
return InterceptorHttpService;
|
|
248
250
|
}());
|
|
249
|
-
InterceptorHttpService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
250
|
-
InterceptorHttpService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
251
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
251
|
+
InterceptorHttpService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: InterceptorHttpService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
252
|
+
InterceptorHttpService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: InterceptorHttpService });
|
|
253
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: InterceptorHttpService, decorators: [{
|
|
252
254
|
type: i0.Injectable
|
|
253
255
|
}] });
|
|
254
256
|
|
|
255
|
-
|
|
257
|
+
/*! *****************************************************************************
|
|
256
258
|
Copyright (c) Microsoft Corporation.
|
|
257
259
|
|
|
258
260
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -414,11 +416,7 @@
|
|
|
414
416
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
415
417
|
if (k2 === undefined)
|
|
416
418
|
k2 = k;
|
|
417
|
-
|
|
418
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
419
|
-
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
420
|
-
}
|
|
421
|
-
Object.defineProperty(o, k2, desc);
|
|
419
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
|
|
422
420
|
}) : (function (o, m, k, k2) {
|
|
423
421
|
if (k2 === undefined)
|
|
424
422
|
k2 = k;
|
|
@@ -572,11 +570,6 @@
|
|
|
572
570
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
573
571
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
574
572
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
575
|
-
}
|
|
576
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
577
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
578
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
579
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
580
573
|
}
|
|
581
574
|
|
|
582
575
|
var PADDING = '000000';
|
|
@@ -615,9 +608,9 @@
|
|
|
615
608
|
};
|
|
616
609
|
return MyNumberPipe;
|
|
617
610
|
}());
|
|
618
|
-
MyNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
619
|
-
MyNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
620
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
611
|
+
MyNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
612
|
+
MyNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberPipe, name: "myNumberFormat" });
|
|
613
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberPipe, decorators: [{
|
|
621
614
|
type: i0.Pipe,
|
|
622
615
|
args: [{ name: 'myNumberFormat' }]
|
|
623
616
|
}], ctorParameters: function () { return []; } });
|
|
@@ -639,9 +632,9 @@
|
|
|
639
632
|
};
|
|
640
633
|
return MyNumberFormatterDirective;
|
|
641
634
|
}());
|
|
642
|
-
MyNumberFormatterDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
643
|
-
MyNumberFormatterDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
644
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
635
|
+
MyNumberFormatterDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberFormatterDirective, deps: [{ token: i0__namespace.ElementRef }, { token: MyNumberPipe }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
636
|
+
MyNumberFormatterDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.2", type: MyNumberFormatterDirective, selector: "[myNumberFormatter]", inputs: { decimalNumber: "decimalNumber" }, host: { listeners: { "focus": "onFocus($event.target.value)", "blur": "onBlur($event.target.value)" } }, ngImport: i0__namespace });
|
|
637
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberFormatterDirective, decorators: [{
|
|
645
638
|
type: i0.Directive,
|
|
646
639
|
args: [{ selector: '[myNumberFormatter]' }]
|
|
647
640
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: MyNumberPipe }]; }, propDecorators: { decimalNumber: [{
|
|
@@ -685,9 +678,9 @@
|
|
|
685
678
|
};
|
|
686
679
|
return CapitalizefirstPipe;
|
|
687
680
|
}());
|
|
688
|
-
CapitalizefirstPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
689
|
-
CapitalizefirstPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
690
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
681
|
+
CapitalizefirstPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CapitalizefirstPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
682
|
+
CapitalizefirstPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CapitalizefirstPipe, name: "myCapitalizeFirst" });
|
|
683
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CapitalizefirstPipe, decorators: [{
|
|
691
684
|
type: i0.Pipe,
|
|
692
685
|
args: [{
|
|
693
686
|
name: 'myCapitalizeFirst'
|
|
@@ -703,9 +696,9 @@
|
|
|
703
696
|
};
|
|
704
697
|
return SpacesNumberPipe;
|
|
705
698
|
}());
|
|
706
|
-
SpacesNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
707
|
-
SpacesNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
708
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
699
|
+
SpacesNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SpacesNumberPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
700
|
+
SpacesNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SpacesNumberPipe, name: "mySpacesNumberPipe" });
|
|
701
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SpacesNumberPipe, decorators: [{
|
|
709
702
|
type: i0.Pipe,
|
|
710
703
|
args: [{ name: 'mySpacesNumberPipe' }]
|
|
711
704
|
}] });
|
|
@@ -719,9 +712,9 @@
|
|
|
719
712
|
};
|
|
720
713
|
return SanitizeHtml;
|
|
721
714
|
}());
|
|
722
|
-
SanitizeHtml.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
723
|
-
SanitizeHtml.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
724
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
715
|
+
SanitizeHtml.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SanitizeHtml, deps: [{ token: i1__namespace$1.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
716
|
+
SanitizeHtml.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SanitizeHtml, name: "mySanitizeHtml" });
|
|
717
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SanitizeHtml, decorators: [{
|
|
725
718
|
type: i0.Pipe,
|
|
726
719
|
args: [{
|
|
727
720
|
name: 'mySanitizeHtml'
|
|
@@ -747,9 +740,9 @@
|
|
|
747
740
|
};
|
|
748
741
|
return DisplayNullPipe;
|
|
749
742
|
}());
|
|
750
|
-
DisplayNullPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
751
|
-
DisplayNullPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
752
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
743
|
+
DisplayNullPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: DisplayNullPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
744
|
+
DisplayNullPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: DisplayNullPipe, name: "myDisplayNullPipe" });
|
|
745
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: DisplayNullPipe, decorators: [{
|
|
753
746
|
type: i0.Pipe,
|
|
754
747
|
args: [{ name: 'myDisplayNullPipe' }]
|
|
755
748
|
}] });
|
|
@@ -770,9 +763,9 @@
|
|
|
770
763
|
};
|
|
771
764
|
return FormatNumberInput;
|
|
772
765
|
}());
|
|
773
|
-
FormatNumberInput.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
774
|
-
FormatNumberInput.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
775
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
766
|
+
FormatNumberInput.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatNumberInput, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
767
|
+
FormatNumberInput.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatNumberInput, name: "myAddSpacesInputPipe" });
|
|
768
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatNumberInput, decorators: [{
|
|
776
769
|
type: i0.Pipe,
|
|
777
770
|
args: [{ name: 'myAddSpacesInputPipe' }]
|
|
778
771
|
}] });
|
|
@@ -795,9 +788,9 @@
|
|
|
795
788
|
};
|
|
796
789
|
return LocalDatePipe;
|
|
797
790
|
}());
|
|
798
|
-
LocalDatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
799
|
-
LocalDatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
800
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
791
|
+
LocalDatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalDatePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
792
|
+
LocalDatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalDatePipe, name: "myLocalDateFormat" });
|
|
793
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalDatePipe, decorators: [{
|
|
801
794
|
type: i0.Pipe,
|
|
802
795
|
args: [{ name: 'myLocalDateFormat' }]
|
|
803
796
|
}], ctorParameters: function () { return []; } });
|
|
@@ -821,9 +814,9 @@
|
|
|
821
814
|
};
|
|
822
815
|
return TrimStringPipe;
|
|
823
816
|
}());
|
|
824
|
-
TrimStringPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
825
|
-
TrimStringPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
826
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
817
|
+
TrimStringPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: TrimStringPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
818
|
+
TrimStringPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: TrimStringPipe, name: "myTrimString" });
|
|
819
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: TrimStringPipe, decorators: [{
|
|
827
820
|
type: i0.Pipe,
|
|
828
821
|
args: [{ name: 'myTrimString' }]
|
|
829
822
|
}] });
|
|
@@ -838,9 +831,9 @@
|
|
|
838
831
|
};
|
|
839
832
|
return ThemeEventsService;
|
|
840
833
|
}());
|
|
841
|
-
ThemeEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
842
|
-
ThemeEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
843
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
834
|
+
ThemeEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThemeEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
835
|
+
ThemeEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThemeEventsService });
|
|
836
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThemeEventsService, decorators: [{
|
|
844
837
|
type: i0.Injectable
|
|
845
838
|
}], ctorParameters: function () { return []; } });
|
|
846
839
|
|
|
@@ -855,9 +848,9 @@
|
|
|
855
848
|
};
|
|
856
849
|
return SessionStorageEventsService;
|
|
857
850
|
}());
|
|
858
|
-
SessionStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
859
|
-
SessionStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
860
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
851
|
+
SessionStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
852
|
+
SessionStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageEventsService });
|
|
853
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageEventsService, decorators: [{
|
|
861
854
|
type: i0.Injectable
|
|
862
855
|
}], ctorParameters: function () { return []; } });
|
|
863
856
|
|
|
@@ -891,9 +884,9 @@
|
|
|
891
884
|
};
|
|
892
885
|
return SessionStorageService;
|
|
893
886
|
}());
|
|
894
|
-
SessionStorageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
895
|
-
SessionStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
896
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
887
|
+
SessionStorageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageService, deps: [{ token: SessionStorageEventsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
888
|
+
SessionStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageService });
|
|
889
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageService, decorators: [{
|
|
897
890
|
type: i0.Injectable
|
|
898
891
|
}], ctorParameters: function () { return [{ type: SessionStorageEventsService }]; } });
|
|
899
892
|
|
|
@@ -949,12 +942,12 @@
|
|
|
949
942
|
};
|
|
950
943
|
return PermissionsService;
|
|
951
944
|
}());
|
|
952
|
-
PermissionsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
953
|
-
PermissionsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
945
|
+
PermissionsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: PermissionsService, deps: [{ token: i1__namespace$2.NgxPermissionsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
946
|
+
PermissionsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: PermissionsService });
|
|
954
947
|
__decorate([
|
|
955
948
|
User()
|
|
956
949
|
], PermissionsService.prototype, "user", void 0);
|
|
957
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
950
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: PermissionsService, decorators: [{
|
|
958
951
|
type: i0.Injectable
|
|
959
952
|
}], ctorParameters: function () { return [{ type: i1__namespace$2.NgxPermissionsService }]; }, propDecorators: { user: [] } });
|
|
960
953
|
|
|
@@ -972,9 +965,9 @@
|
|
|
972
965
|
};
|
|
973
966
|
return ArrayService;
|
|
974
967
|
}());
|
|
975
|
-
ArrayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
976
|
-
ArrayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
977
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
968
|
+
ArrayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ArrayService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
969
|
+
ArrayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ArrayService });
|
|
970
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ArrayService, decorators: [{
|
|
978
971
|
type: i0.Injectable
|
|
979
972
|
}] });
|
|
980
973
|
|
|
@@ -995,9 +988,9 @@
|
|
|
995
988
|
};
|
|
996
989
|
return OverlayService;
|
|
997
990
|
}());
|
|
998
|
-
OverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
999
|
-
OverlayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1000
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
991
|
+
OverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
992
|
+
OverlayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayService });
|
|
993
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayService, decorators: [{
|
|
1001
994
|
type: i0.Injectable
|
|
1002
995
|
}], ctorParameters: function () { return []; } });
|
|
1003
996
|
|
|
@@ -1028,9 +1021,9 @@
|
|
|
1028
1021
|
};
|
|
1029
1022
|
return OverlayComponent;
|
|
1030
1023
|
}());
|
|
1031
|
-
OverlayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1032
|
-
OverlayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1033
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1024
|
+
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 });
|
|
1025
|
+
OverlayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.2", type: OverlayComponent, selector: "sc-overlay", ngImport: i0__namespace, template: "<div *ngIf=\"show\" class=\"blackshield\"></div>\r\n\r\n<div *ngIf=\"show\" fxLayoutAlign=\"center center\">\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: i21__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: i4__namespace.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { 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"] }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
|
|
1026
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayComponent, decorators: [{
|
|
1034
1027
|
type: i0.Component,
|
|
1035
1028
|
args: [{
|
|
1036
1029
|
selector: 'sc-overlay',
|
|
@@ -1096,9 +1089,9 @@
|
|
|
1096
1089
|
};
|
|
1097
1090
|
return ToasterEventsService;
|
|
1098
1091
|
}());
|
|
1099
|
-
ToasterEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1100
|
-
ToasterEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1101
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1092
|
+
ToasterEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ToasterEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1093
|
+
ToasterEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ToasterEventsService });
|
|
1094
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ToasterEventsService, decorators: [{
|
|
1102
1095
|
type: i0.Injectable
|
|
1103
1096
|
}], ctorParameters: function () { return []; } });
|
|
1104
1097
|
|
|
@@ -1124,9 +1117,9 @@
|
|
|
1124
1117
|
};
|
|
1125
1118
|
return LangService;
|
|
1126
1119
|
}());
|
|
1127
|
-
LangService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1128
|
-
LangService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1129
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1120
|
+
LangService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LangService, deps: [{ token: i2__namespace$1.TranslateService }, { token: LocalStorageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1121
|
+
LangService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LangService });
|
|
1122
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LangService, decorators: [{
|
|
1130
1123
|
type: i0.Injectable
|
|
1131
1124
|
}], ctorParameters: function () { return [{ type: i2__namespace$1.TranslateService }, { type: LocalStorageService }]; } });
|
|
1132
1125
|
|
|
@@ -1199,9 +1192,9 @@
|
|
|
1199
1192
|
};
|
|
1200
1193
|
return ElasticsearchService;
|
|
1201
1194
|
}());
|
|
1202
|
-
ElasticsearchService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1203
|
-
ElasticsearchService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1204
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1195
|
+
ElasticsearchService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService, deps: [{ token: WEB_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1196
|
+
ElasticsearchService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService });
|
|
1197
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService, decorators: [{
|
|
1205
1198
|
type: i0.Injectable
|
|
1206
1199
|
}], ctorParameters: function () {
|
|
1207
1200
|
return [{ type: undefined, decorators: [{
|
|
@@ -1407,9 +1400,9 @@
|
|
|
1407
1400
|
};
|
|
1408
1401
|
return CommonTranslatePipe;
|
|
1409
1402
|
}());
|
|
1410
|
-
CommonTranslatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1411
|
-
CommonTranslatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
1412
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1403
|
+
CommonTranslatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonTranslatePipe, deps: [{ token: LocalStorageService }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1404
|
+
CommonTranslatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonTranslatePipe, name: "commonTranslate" });
|
|
1405
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonTranslatePipe, decorators: [{
|
|
1413
1406
|
type: i0.Pipe,
|
|
1414
1407
|
args: [{ name: 'commonTranslate' }]
|
|
1415
1408
|
}], ctorParameters: function () { return [{ type: LocalStorageService }]; } });
|
|
@@ -1433,13 +1426,13 @@
|
|
|
1433
1426
|
this.labelLang = 'labelFr';
|
|
1434
1427
|
this.isHide = false;
|
|
1435
1428
|
this.currentScroll = 0;
|
|
1436
|
-
this.searchText = '';
|
|
1437
1429
|
this.historyList = [];
|
|
1438
1430
|
this.RapidSearchItemType = RapidSearchItemType;
|
|
1439
1431
|
this.apiUrl = this.config.api_url;
|
|
1440
1432
|
}
|
|
1441
1433
|
HeaderComponent.prototype.ngOnInit = function () {
|
|
1442
1434
|
var _this = this;
|
|
1435
|
+
this.formControlSearch = new i10.FormControl(null);
|
|
1443
1436
|
this.initPermissionsService();
|
|
1444
1437
|
this.lang = this.localStorage.get('lang') || 'fr';
|
|
1445
1438
|
this.updateLabelLang(this.lang);
|
|
@@ -1448,6 +1441,16 @@
|
|
|
1448
1441
|
_this.lang = _this.localStorage.get('lang');
|
|
1449
1442
|
_this.updateLabelLang(_this.lang);
|
|
1450
1443
|
});
|
|
1444
|
+
this.documents$ = this.formControlSearch.valueChanges.pipe(operators.debounceTime(500), operators.switchMap(function (term) {
|
|
1445
|
+
if (!term) {
|
|
1446
|
+
return rxjs.of([]);
|
|
1447
|
+
}
|
|
1448
|
+
return _this.elasticsearchService
|
|
1449
|
+
.getSearchResponse(term)
|
|
1450
|
+
.pipe(operators.map(function (searchResponse) {
|
|
1451
|
+
return _this.elasticsearchService.getDocuments(searchResponse);
|
|
1452
|
+
}));
|
|
1453
|
+
}));
|
|
1451
1454
|
};
|
|
1452
1455
|
HeaderComponent.prototype.onWindowScroll = function () {
|
|
1453
1456
|
var numberVar = document.documentElement.scrollTop;
|
|
@@ -1459,16 +1462,6 @@
|
|
|
1459
1462
|
}
|
|
1460
1463
|
this.currentScroll = numberVar;
|
|
1461
1464
|
};
|
|
1462
|
-
HeaderComponent.prototype.rapidSearch = function (event) {
|
|
1463
|
-
var _this = this;
|
|
1464
|
-
this.searchText = '';
|
|
1465
|
-
if (event && event.target && event.target.value && event.target.value.length > 0) {
|
|
1466
|
-
this.searchText = event.target.value;
|
|
1467
|
-
this.elasticsearchService.getSearchResponse(this.searchText).subscribe(function (searchResponse) {
|
|
1468
|
-
_this.documents = _this.elasticsearchService.getDocuments(searchResponse);
|
|
1469
|
-
});
|
|
1470
|
-
}
|
|
1471
|
-
};
|
|
1472
1465
|
HeaderComponent.prototype.initPermissionsService = function () {
|
|
1473
1466
|
this.permissionsService.init();
|
|
1474
1467
|
};
|
|
@@ -1532,17 +1525,30 @@
|
|
|
1532
1525
|
this.labelLang = 'labelFr';
|
|
1533
1526
|
}
|
|
1534
1527
|
};
|
|
1528
|
+
HeaderComponent.prototype.onSelectSearch = function ($event, doc) {
|
|
1529
|
+
switch (doc.docType) {
|
|
1530
|
+
case RapidSearchItemType.PURCHASE_ORDER:
|
|
1531
|
+
this.navigate('expenditure-commitment', '/purchase-orders/' + doc.poId);
|
|
1532
|
+
break;
|
|
1533
|
+
case RapidSearchItemType.PRODUCT:
|
|
1534
|
+
this.navigate('video', '/product/consult/' + doc.productId);
|
|
1535
|
+
break;
|
|
1536
|
+
case RapidSearchItemType.WORK_VERSION:
|
|
1537
|
+
this.navigate(null, '/work-summary/' + doc.id + '/info');
|
|
1538
|
+
break;
|
|
1539
|
+
}
|
|
1540
|
+
};
|
|
1535
1541
|
return HeaderComponent;
|
|
1536
1542
|
}());
|
|
1537
|
-
HeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1538
|
-
HeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: HeaderComponent, selector: "sc-header", outputs: { toogleMenuEvent: "toogleMenuEvent" }, host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0__namespace, template: "<mat-toolbar [ngClass]=\"{ 'light-header': theme !== 'dark' }\" class=\"sc-header\" fxFlex=\"row\"\r\n fxLayoutAlign=\"space-between center\">\r\n <span fxLayout=\"row\" fxLayoutAlign=\"center end\">\r\n <a\r\n [href]=\"env === 'prod' ? 'https://unity.studiocanal.com/dashboard' : (env === 'sbx' ? 'https://unity-sbx.cplus/dashboard' : 'https://unity-' + env + '.studiocanal.com/dashboard')\">\r\n <img class=\"logo-unity\" src=\"./assets/img/unity_logo_48x48.png\">\r\n </a>\r\n <span *ngIf=\"env != 'prod'\" [attr.id]=\"'env-' + env\" class=\"env\">{{env}}</span>\r\n </span>\r\n <span class=\"header-separator\" fxFlex=\"1\"></span>\r\n <span [matMenuTriggerFor]=\"menu_global\" class=\"material-icons header-icon\" fxFlex=\"5\">apps</span>\r\n <mat-menu #menu_global=\"matMenu\" class=\"action-menu\">\r\n <!--DASHBOARD-->\r\n <button (click)=\"navigate(null, '/dashboard')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/deal/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/work-record/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/vod/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/accounting-closing/consult')\"\r\n *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n mat-menu-item>\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 (click)=\"navigate('commercial', '/invoice/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/turnover/search')\"\r\n *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n mat-menu-item>\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 (click)=\"navigate('user', '/account/authorization/search')\" *ngIf=\"user && user.admin\" mat-menu-item>\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 (click)=\"navigate('referential', '/support/list')\" *ngxPermissionsOnly=\"['MODULE REF']\" mat-menu-item>\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 <!--MY PREFERENCES-->\r\n <button (click)=\"navigate('user', '/account/settings')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">settings</span>\r\n <span>{{ 'COMMON.HEADER.MENU.USER.SETTINGS' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--BATCH-->\r\n <button (click)=\"navigate('batch', '/jobs/referential')\" *ngxPermissionsOnly=\"['MODULE REF']\" mat-menu-item>\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 (click)=\"navigate('tvdata', '/infos-center')\" *ngxPermissionsOnly=\"['TVDATA']\" mat-menu-item>\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 (click)=\"navigate('expenditure-commitment', '/home/commands')\" *ngxPermissionsExcept=\"['UNIVERSAL_ROLE']\"\r\n mat-menu-item>\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 (click)=\"navigate('bi', '/simple-search/form')\" *ngxPermissionsOnly=\"['MODULE BI']\" mat-menu-item>\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 (click)=\"navigate('legal', '/contracts/menu/legals-det')\" *ngxPermissionsOnly=\"['LEGAL']\" mat-menu-item>\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 <span class=\"header-separator\" fxFlex=\"1\"></span>\r\n <span [matMenuTriggerFor]=\"menu\" class=\"material-icons-outlined header-icon\" fxFlex=\"5\">add_box</span>\r\n <mat-menu #menu=\"matMenu\" class=\"action-menu\">\r\n <button (click)=\"navigate('video', '/product/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n {{ 'COMMON.HEADER.CREATION.PRODUCT' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('expenditure-commitment', '/purchase-orders/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">receipt_long</span>\r\n {{ 'COMMON.HEADER.CREATION.PO' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('commercial', '/deal/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">local_offer</span>\r\n {{ 'COMMON.HEADER.CREATION.DEAL' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts/menu/contracts-acq')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">assignment</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_ACQ' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts/menu/contracts-cess')\" mat-menu-item>\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 <span class=\"header-separator\" fxFlex=\"1\"></span>\r\n <span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\" class=\"material-icons header-icon\"\r\n fxFlex=\"5\">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 (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\" *ngSwitchCase=\"'PRODUCT'\"\r\n mat-menu-item>\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 (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\" *ngSwitchCase=\"'PO'\"\r\n mat-menu-item>\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 (click)=\"navigate('commercial', '/deal/consult/' + history.id)\" *ngSwitchCase=\"'DEAL'\"\r\n mat-menu-item>\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 (click)=\"navigate('commercial', '/work-record/consult/'+ history.id +'/general')\" *ngSwitchCase=\"'WORK'\"\r\n mat-menu-item>\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 (click)=\"navigate('legal', '/contracts/contract-acq/consult/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_ACQ'\"\r\n mat-menu-item>\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 (click)=\"navigate('legal', '/contracts/contract-cess/consult/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_CESS'\"\r\n mat-menu-item>\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 (click)=\"navigate('expenditure-commitment', '/budget/form/' + history.id)\" *ngSwitchCase=\"'BUDGET'\"\r\n mat-menu-item>\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 *ngSwitchCase=\"'NO_HISTORY_AVAILABLE'\" mat-menu-item>\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\r\n <div fxFlex=\"60\" class=\"global-search\">\r\n <i class=\"material-icons global-search-icon header-icon\">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 (keyup)=\"rapidSearch($event)\"\r\n matInput />\r\n <button (click)=\"navigate(null, '/advanced-search')\"\r\n class=\"btn advanced-button\" mat-raised-button>\r\n <span class=\"material-icons icon\">flash_on</span>\r\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ADVANCED' | commonTranslate: lang }}\r\n </button>\r\n\r\n <mat-autocomplete #autoSearch=\"matAutocomplete\" class=\"mat-autocomplete-global-search\" panelWidth=\"56vw\">\r\n <mat-option class=\"mat-option-global-search\"\r\n *ngFor=\"let doc of documents\">\r\n <!--PURCHASE_ORDER-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.PURCHASE_ORDER\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\"\r\n (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + doc.poId)\">\r\n <div fxFlex=\"5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt_long</span>\r\n </div>\r\n <div fxFlex=\"95\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxLayout=\"column\" fxFlex=\"70\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PURCHASE_ORDER' | commonTranslate: lang }}</span>\r\n <span>{{ doc.poNumber }} - {{ doc.totalAmount | currency: doc.currencyCode:'symbol':undefined:'fr-FR'}}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.BASKET_NUMBER' | commonTranslate: lang }}</span>\r\n <span>{{ doc?.basketNumber ? doc.basketNumber : '-' }}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang }}</span>\r\n <span>{{ doc?.ean ? doc.ean : '-' }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--PRODUCT-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.PRODUCT\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\"\r\n (click)=\"navigate('video', '/product/consult/' + doc.productId)\">\r\n <div fxFlex=\"5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">movie</span>\r\n </div>\r\n <div fxFlex=\"95\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxLayout=\"column\" fxFlex=\"60\" class=\"ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCT' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.title }}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"10\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.SUPPORT' | commonTranslate: lang }}</span>\r\n <span>{{doc.support[labelLang]}}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang }}</span>\r\n <span>{{ doc.ean }}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.RELEASE_DATE' | commonTranslate: lang }}</span>\r\n <span>{{ doc?.releaseDate ? doc.releaseDate : '-' }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--WORK-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.WORK_VERSION\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\"\r\n (click)=\"navigate(null, '/work-summary/' + doc.id + '/info')\">\r\n <div fxFlex=\"5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">theaters</span>\r\n </div>\r\n <div fxFlex=\"95\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxLayout=\"column\" fxFlex=\"75\" class=\"ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.title }} ({{doc.codeIso}})</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"10\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang }}</span>\r\n <span>{{doc.miloCode}}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCTION_YEAR' | commonTranslate: lang }}</span>\r\n <span>{{ doc.yearOfProduction }}</span>\r\n </div>\r\n </div>\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 <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 (click)=\"stopIdentityTheft()\" *ngIf=\"user.secondary\" color=\"warn\" mat-raised-button>\r\n {{ 'CORE.STOP' | commonTranslate: lang }}\r\n </button>\r\n </div>\r\n <span class=\"header-separator\" fxFlex=\"1\"></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}mat-toolbar{width:100%}.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}.rapid-search-type-icon{font-size:1.4em;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:#009ef7;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}:host ::ng-deep .global-search .mat-form-field-appearance-legacy .mat-form-field-label{top:2.2em!important;margin-left:10px;font-family:Sofia Pro;font-style:italic;font-weight:bold;font-size:14px;line-height:14px}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}.auto-complete-label{font-size:8px}.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]", exportAs: ["matMenuTrigger"] }, { 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: 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: 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: 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 } });
|
|
1543
|
+
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: ElasticsearchService }, { token: WEB_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1544
|
+
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 [ngClass]=\"{ 'light-header': theme !== 'dark' }\" class=\"sc-header\" fxFlex=\"row\"\r\n fxLayoutAlign=\"space-between center\">\r\n <span fxLayout=\"row\" fxLayoutAlign=\"center end\">\r\n <a\r\n [href]=\"env === 'prod' ? 'https://unity.studiocanal.com/dashboard' : (env === 'sbx' ? 'https://unity-sbx.cplus/dashboard' : 'https://unity-' + env + '.studiocanal.com/dashboard')\">\r\n <img class=\"logo-unity\" src=\"./assets/img/unity_logo_48x48.png\">\r\n </a>\r\n <span *ngIf=\"env != 'prod'\" [attr.id]=\"'env-' + env\" class=\"env\">{{env}}</span>\r\n </span>\r\n <span class=\"header-separator\" fxFlex=\"1\"></span>\r\n <span [matMenuTriggerFor]=\"menu_global\" class=\"material-icons header-icon\" fxFlex=\"5\">apps</span>\r\n <mat-menu #menu_global=\"matMenu\" class=\"action-menu\">\r\n <!--DASHBOARD-->\r\n <button (click)=\"navigate(null, '/dashboard')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/deal/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/work-record/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/vod/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/accounting-closing/consult')\"\r\n *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n mat-menu-item>\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 (click)=\"navigate('commercial', '/invoice/search')\" mat-menu-item>\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 (click)=\"navigate('commercial', '/turnover/search')\"\r\n *ngxPermissionsOnly=\"['ACCOUNTANT', 'ADMINISTRATIVE_CONTROLLER']\"\r\n mat-menu-item>\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 (click)=\"navigate('user', '/account/authorization/search')\" *ngIf=\"user && user.admin\" mat-menu-item>\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 (click)=\"navigate('referential', '/support/list')\" *ngxPermissionsOnly=\"['MODULE REF']\" mat-menu-item>\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 <!--MY PREFERENCES-->\r\n <button (click)=\"navigate('user', '/account/settings')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">settings</span>\r\n <span>{{ 'COMMON.HEADER.MENU.USER.SETTINGS' | commonTranslate: lang }}</span>\r\n </button>\r\n <!--BATCH-->\r\n <button (click)=\"navigate('batch', '/jobs/referential')\" *ngxPermissionsOnly=\"['MODULE REF']\" mat-menu-item>\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 (click)=\"navigate('tvdata', '/infos-center')\" *ngxPermissionsOnly=\"['TVDATA']\" mat-menu-item>\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 (click)=\"navigate('expenditure-commitment', '/home/commands')\" *ngxPermissionsExcept=\"['UNIVERSAL_ROLE']\"\r\n mat-menu-item>\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 (click)=\"navigate('bi', '/simple-search/form')\" *ngxPermissionsOnly=\"['MODULE BI']\" mat-menu-item>\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 (click)=\"navigate('legal', '/contracts/menu/legals-det')\" *ngxPermissionsOnly=\"['LEGAL']\" mat-menu-item>\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 <span class=\"header-separator\" fxFlex=\"1\"></span>\r\n <span [matMenuTriggerFor]=\"menu\" class=\"material-icons-outlined header-icon\" fxFlex=\"5\">add_box</span>\r\n <mat-menu #menu=\"matMenu\" class=\"action-menu\">\r\n <button (click)=\"navigate('video', '/product/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">theaters</span>\r\n {{ 'COMMON.HEADER.CREATION.PRODUCT' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('expenditure-commitment', '/purchase-orders/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">receipt_long</span>\r\n {{ 'COMMON.HEADER.CREATION.PO' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('commercial', '/deal/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">local_offer</span>\r\n {{ 'COMMON.HEADER.CREATION.DEAL' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts/menu/contracts-acq')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">assignment</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_ACQ' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts/menu/contracts-cess')\" mat-menu-item>\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 <span class=\"header-separator\" fxFlex=\"1\"></span>\r\n <span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\" class=\"material-icons header-icon\"\r\n fxFlex=\"5\">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 (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\" *ngSwitchCase=\"'PRODUCT'\"\r\n mat-menu-item>\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 (click)=\"navigate('expenditure-commitment', '/purchase-orders/' + history.id)\" *ngSwitchCase=\"'PO'\"\r\n mat-menu-item>\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 (click)=\"navigate('commercial', '/deal/consult/' + history.id)\" *ngSwitchCase=\"'DEAL'\"\r\n mat-menu-item>\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 (click)=\"navigate('commercial', '/work-record/consult/'+ history.id +'/general')\" *ngSwitchCase=\"'WORK'\"\r\n mat-menu-item>\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 (click)=\"navigate('legal', '/contracts/contract-acq/consult/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_ACQ'\"\r\n mat-menu-item>\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 (click)=\"navigate('legal', '/contracts/contract-cess/consult/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_CESS'\"\r\n mat-menu-item>\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 (click)=\"navigate('expenditure-commitment', '/budget/form/' + history.id)\" *ngSwitchCase=\"'BUDGET'\"\r\n mat-menu-item>\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 *ngSwitchCase=\"'NO_HISTORY_AVAILABLE'\" mat-menu-item>\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\r\n <div fxFlex=\"60\" class=\"global-search\">\r\n <i class=\"material-icons global-search-icon header-icon\">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 [formControl]=\"formControlSearch\"\r\n matInput />\r\n <button (click)=\"navigate(null, '/advanced-search')\"\r\n class=\"btn advanced-button\" mat-raised-button>\r\n <span class=\"material-icons icon\">flash_on</span>\r\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ADVANCED' | commonTranslate: lang }}\r\n </button>\r\n\r\n <mat-autocomplete #autoSearch=\"matAutocomplete\" class=\"mat-autocomplete-global-search\" panelWidth=\"56vw\">\r\n <mat-option class=\"mat-option-global-search\"\r\n *ngFor=\"let doc of documents$ | async\"\r\n (onSelectionChange)=\"onSelectSearch($event, doc)\">\r\n <!--PURCHASE_ORDER-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.PURCHASE_ORDER\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxFlex=\"5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt_long</span>\r\n </div>\r\n <div fxFlex=\"95\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxLayout=\"column\" fxFlex=\"70\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PURCHASE_ORDER' | commonTranslate: lang }}</span>\r\n <span>{{ doc.poNumber }} - {{ doc.totalAmount | currency: doc.currencyCode:'symbol':undefined:'fr-FR'}}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.BASKET_NUMBER' | commonTranslate: lang }}</span>\r\n <span>{{ doc?.basketNumber ? doc.basketNumber : '-' }}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang }}</span>\r\n <span>{{ doc?.ean ? doc.ean : '-' }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--PRODUCT-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.PRODUCT\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxFlex=\"5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">movie</span>\r\n </div>\r\n <div fxFlex=\"95\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxLayout=\"column\" fxFlex=\"60\" class=\"ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCT' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.title }}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"10\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.SUPPORT' | commonTranslate: lang }}</span>\r\n <span>{{doc.support[labelLang]}}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang }}</span>\r\n <span>{{ doc.ean }}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.RELEASE_DATE' | commonTranslate: lang }}</span>\r\n <span>{{ doc?.releaseDate ? doc.releaseDate : '-' }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--WORK-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.WORK_VERSION\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxFlex=\"5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">theaters</span>\r\n </div>\r\n <div fxFlex=\"95\" fxLayout=\"row\" fxLayoutAlign=\"space-between center\">\r\n <div fxLayout=\"column\" fxFlex=\"75\" class=\"ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.title }} ({{doc.codeIso}})</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"10\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang }}</span>\r\n <span>{{doc.miloCode}}</span>\r\n </div>\r\n <div fxLayout=\"column\" fxFlex=\"15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCTION_YEAR' | commonTranslate: lang }}</span>\r\n <span>{{ doc.yearOfProduction }}</span>\r\n </div>\r\n </div>\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 <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 (click)=\"stopIdentityTheft()\" *ngIf=\"user.secondary\" color=\"warn\" mat-raised-button>\r\n {{ 'CORE.STOP' | commonTranslate: lang }}\r\n </button>\r\n </div>\r\n <span class=\"header-separator\" fxFlex=\"1\"></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}mat-toolbar{width:100%}.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}.rapid-search-type-icon{font-size:1.4em;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:#009ef7;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}:host ::ng-deep .global-search .mat-form-field-appearance-legacy .mat-form-field-label{top:2.2em!important;margin-left:10px;font-family:Sofia Pro;font-style:italic;font-weight:bold;font-size:14px;line-height:14px}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}.auto-complete-label{font-size:8px}.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: 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: 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: 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.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { 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, "async": i21__namespace.AsyncPipe, "currency": i21__namespace.CurrencyPipe } });
|
|
1539
1545
|
__decorate([
|
|
1540
1546
|
Theme()
|
|
1541
1547
|
], HeaderComponent.prototype, "theme", void 0);
|
|
1542
1548
|
__decorate([
|
|
1543
1549
|
User()
|
|
1544
1550
|
], HeaderComponent.prototype, "user", void 0);
|
|
1545
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1551
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderComponent, decorators: [{
|
|
1546
1552
|
type: i0.Component,
|
|
1547
1553
|
args: [{
|
|
1548
1554
|
selector: 'sc-header',
|
|
@@ -1582,12 +1588,12 @@
|
|
|
1582
1588
|
};
|
|
1583
1589
|
return SubHeaderComponent;
|
|
1584
1590
|
}());
|
|
1585
|
-
SubHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1586
|
-
SubHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1591
|
+
SubHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SubHeaderComponent, deps: [{ token: i21.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1592
|
+
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 [ngClass]=\"{'header-hide':isHide}\" id=\"template-header\">\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: 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"] }] });
|
|
1587
1593
|
__decorate([
|
|
1588
1594
|
Theme()
|
|
1589
1595
|
], SubHeaderComponent.prototype, "theme", void 0);
|
|
1590
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1596
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SubHeaderComponent, decorators: [{
|
|
1591
1597
|
type: i0.Component,
|
|
1592
1598
|
args: [{
|
|
1593
1599
|
selector: 'sc-sub-header',
|
|
@@ -1630,9 +1636,9 @@
|
|
|
1630
1636
|
};
|
|
1631
1637
|
return AesService;
|
|
1632
1638
|
}());
|
|
1633
|
-
AesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1634
|
-
AesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1635
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1639
|
+
AesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AesService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1640
|
+
AesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AesService });
|
|
1641
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AesService, decorators: [{
|
|
1636
1642
|
type: i0.Injectable
|
|
1637
1643
|
}], ctorParameters: function () { return []; } });
|
|
1638
1644
|
|
|
@@ -1693,9 +1699,9 @@
|
|
|
1693
1699
|
};
|
|
1694
1700
|
return MyDialogPopupLoginComponent;
|
|
1695
1701
|
}());
|
|
1696
|
-
MyDialogPopupLoginComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1697
|
-
MyDialogPopupLoginComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
1698
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1702
|
+
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 });
|
|
1703
|
+
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 (keyup.enter)=\"onLogin()\" [formGroup]=\"userForm\" fxLayout=\"column\">\r\n <div class=\"form-group\">\r\n <mat-label>{{'CORE.LOGIN.USERNAME' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span>\r\n </mat-label>\r\n <mat-form-field appearance=\"outline\">\r\n <input [(ngModel)]=\"username\" formControlName=\"username\" matInput/>\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>\r\n </mat-label>\r\n <mat-form-field appearance=\"outline\">\r\n <input [(ngModel)]=\"password\" formControlName=\"password\" matInput 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 (click)=\"onLogin()\" [disabled]=\"loading\" class=\"primary w-100\" mat-raised-button\r\n type=\"submit\">{{ 'CORE.LOGIN.SIGN_IN' | translate }}</button>\r\n <mat-spinner *ngIf=\"loading\" [diameter]=\"30\" class=\"not-so-close-from-button login-spinner\"></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: 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: 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: 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: i10__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i7__namespace.MatLabel, selector: "mat-label" }, { 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: 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: 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: 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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
|
|
1704
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyDialogPopupLoginComponent, decorators: [{
|
|
1699
1705
|
type: i0.Component,
|
|
1700
1706
|
args: [{
|
|
1701
1707
|
selector: 'sc-popup-login',
|
|
@@ -1726,9 +1732,9 @@
|
|
|
1726
1732
|
};
|
|
1727
1733
|
return HeaderEventsService;
|
|
1728
1734
|
}());
|
|
1729
|
-
HeaderEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1730
|
-
HeaderEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1731
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1735
|
+
HeaderEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1736
|
+
HeaderEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderEventsService });
|
|
1737
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderEventsService, decorators: [{
|
|
1732
1738
|
type: i0.Injectable
|
|
1733
1739
|
}], ctorParameters: function () { return []; } });
|
|
1734
1740
|
|
|
@@ -1764,9 +1770,9 @@
|
|
|
1764
1770
|
};
|
|
1765
1771
|
return HistoryService;
|
|
1766
1772
|
}());
|
|
1767
|
-
HistoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1768
|
-
HistoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
1769
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1773
|
+
HistoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HistoryService, deps: [{ token: LocalStorageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
1774
|
+
HistoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HistoryService });
|
|
1775
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HistoryService, decorators: [{
|
|
1770
1776
|
type: i0.Injectable
|
|
1771
1777
|
}], ctorParameters: function () { return [{ type: LocalStorageService }]; } });
|
|
1772
1778
|
|
|
@@ -1781,9 +1787,9 @@
|
|
|
1781
1787
|
};
|
|
1782
1788
|
return ShowIfTruncatedDirective;
|
|
1783
1789
|
}());
|
|
1784
|
-
ShowIfTruncatedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1785
|
-
ShowIfTruncatedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.
|
|
1786
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1790
|
+
ShowIfTruncatedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ShowIfTruncatedDirective, deps: [{ token: i1__namespace$5.MatTooltip }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1791
|
+
ShowIfTruncatedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.2", type: ShowIfTruncatedDirective, selector: "[matTooltip][appShowIfTruncated]", host: { listeners: { "mouseenter": "setTooltipState($event)" } }, ngImport: i0__namespace });
|
|
1792
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ShowIfTruncatedDirective, decorators: [{
|
|
1787
1793
|
type: i0.Directive,
|
|
1788
1794
|
args: [{
|
|
1789
1795
|
selector: '[matTooltip][appShowIfTruncated]'
|
|
@@ -1806,9 +1812,9 @@
|
|
|
1806
1812
|
};
|
|
1807
1813
|
return ThirdPartyAddressPipe;
|
|
1808
1814
|
}());
|
|
1809
|
-
ThirdPartyAddressPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1810
|
-
ThirdPartyAddressPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
1811
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1815
|
+
ThirdPartyAddressPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThirdPartyAddressPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1816
|
+
ThirdPartyAddressPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThirdPartyAddressPipe, name: "thirdPartyAddress" });
|
|
1817
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThirdPartyAddressPipe, decorators: [{
|
|
1812
1818
|
type: i0.Pipe,
|
|
1813
1819
|
args: [{
|
|
1814
1820
|
name: 'thirdPartyAddress'
|
|
@@ -1830,9 +1836,9 @@
|
|
|
1830
1836
|
};
|
|
1831
1837
|
return FormatDurationPipe;
|
|
1832
1838
|
}());
|
|
1833
|
-
FormatDurationPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1834
|
-
FormatDurationPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
1835
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1839
|
+
FormatDurationPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatDurationPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
|
|
1840
|
+
FormatDurationPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatDurationPipe, name: "formatDuration" });
|
|
1841
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatDurationPipe, decorators: [{
|
|
1836
1842
|
type: i0.Pipe,
|
|
1837
1843
|
args: [{
|
|
1838
1844
|
name: 'formatDuration'
|
|
@@ -1860,8 +1866,8 @@
|
|
|
1860
1866
|
};
|
|
1861
1867
|
return UtilModule;
|
|
1862
1868
|
}());
|
|
1863
|
-
UtilModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
1864
|
-
UtilModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
1869
|
+
UtilModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, deps: [{ token: LangService }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1870
|
+
UtilModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, declarations: [MyNumberFormatterDirective,
|
|
1865
1871
|
CapitalizefirstPipe,
|
|
1866
1872
|
SpacesNumberPipe,
|
|
1867
1873
|
SanitizeHtml,
|
|
@@ -1914,7 +1920,7 @@
|
|
|
1914
1920
|
OverlayComponent,
|
|
1915
1921
|
SubHeaderComponent,
|
|
1916
1922
|
ShowIfTruncatedDirective] });
|
|
1917
|
-
UtilModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
1923
|
+
UtilModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, providers: [
|
|
1918
1924
|
{
|
|
1919
1925
|
provide: i2.HTTP_INTERCEPTORS,
|
|
1920
1926
|
useClass: InterceptorHttpService,
|
|
@@ -1962,7 +1968,7 @@
|
|
|
1962
1968
|
i17.MatAutocompleteModule,
|
|
1963
1969
|
ngSelect.NgSelectModule
|
|
1964
1970
|
]] });
|
|
1965
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
1971
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, decorators: [{
|
|
1966
1972
|
type: i0.NgModule,
|
|
1967
1973
|
args: [{
|
|
1968
1974
|
imports: [
|
|
@@ -2152,9 +2158,9 @@
|
|
|
2152
2158
|
};
|
|
2153
2159
|
return RegexService;
|
|
2154
2160
|
}());
|
|
2155
|
-
RegexService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2156
|
-
RegexService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2157
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2161
|
+
RegexService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: RegexService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
2162
|
+
RegexService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: RegexService });
|
|
2163
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: RegexService, decorators: [{
|
|
2158
2164
|
type: i0.Injectable
|
|
2159
2165
|
}] });
|
|
2160
2166
|
|
|
@@ -2434,9 +2440,9 @@
|
|
|
2434
2440
|
};
|
|
2435
2441
|
return CustomDateAdapter;
|
|
2436
2442
|
}(i18.NativeDateAdapter));
|
|
2437
|
-
CustomDateAdapter.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
2438
|
-
CustomDateAdapter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
2439
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
2443
|
+
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 });
|
|
2444
|
+
CustomDateAdapter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CustomDateAdapter });
|
|
2445
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CustomDateAdapter, decorators: [{
|
|
2440
2446
|
type: i0.Injectable
|
|
2441
2447
|
}] });
|
|
2442
2448
|
|
|
@@ -4822,9 +4828,9 @@
|
|
|
4822
4828
|
};
|
|
4823
4829
|
return FormActionsEventsService;
|
|
4824
4830
|
}());
|
|
4825
|
-
FormActionsEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4826
|
-
FormActionsEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4827
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4831
|
+
FormActionsEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormActionsEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4832
|
+
FormActionsEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormActionsEventsService });
|
|
4833
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormActionsEventsService, decorators: [{
|
|
4828
4834
|
type: i0.Injectable
|
|
4829
4835
|
}], ctorParameters: function () { return []; } });
|
|
4830
4836
|
|
|
@@ -4893,9 +4899,9 @@
|
|
|
4893
4899
|
};
|
|
4894
4900
|
return AuthGuard;
|
|
4895
4901
|
}());
|
|
4896
|
-
AuthGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4897
|
-
AuthGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4898
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4902
|
+
AuthGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthGuard, deps: [{ token: i1__namespace$3.Router }, { token: i2__namespace.HttpClient }, { token: i1__namespace.CookieService }, { token: CommonApiService }, { token: WEB_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4903
|
+
AuthGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthGuard });
|
|
4904
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthGuard, decorators: [{
|
|
4899
4905
|
type: i0.Injectable
|
|
4900
4906
|
}], ctorParameters: function () {
|
|
4901
4907
|
return [{ type: i1__namespace$3.Router }, { type: i2__namespace.HttpClient }, { type: i1__namespace.CookieService }, { type: CommonApiService }, { type: undefined, decorators: [{
|
|
@@ -4923,9 +4929,9 @@
|
|
|
4923
4929
|
};
|
|
4924
4930
|
return LoginGuard;
|
|
4925
4931
|
}());
|
|
4926
|
-
LoginGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
4927
|
-
LoginGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
4928
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
4932
|
+
LoginGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LoginGuard, deps: [{ token: i2__namespace.HttpClient }, { token: i2__namespace$1.TranslateService }, { token: i1__namespace$4.MatDialog }, { token: WEB_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
4933
|
+
LoginGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LoginGuard });
|
|
4934
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LoginGuard, decorators: [{
|
|
4929
4935
|
type: i0.Injectable
|
|
4930
4936
|
}], ctorParameters: function () {
|
|
4931
4937
|
return [{ type: i2__namespace.HttpClient }, { type: i2__namespace$1.TranslateService }, { type: i1__namespace$4.MatDialog }, { type: undefined, decorators: [{
|
|
@@ -5004,9 +5010,9 @@
|
|
|
5004
5010
|
};
|
|
5005
5011
|
return AuthInterceptor;
|
|
5006
5012
|
}());
|
|
5007
|
-
AuthInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
5008
|
-
AuthInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.
|
|
5009
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
5013
|
+
AuthInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthInterceptor, deps: [{ token: CommonApiService }, { token: i1__namespace.CookieService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
5014
|
+
AuthInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthInterceptor });
|
|
5015
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthInterceptor, decorators: [{
|
|
5010
5016
|
type: i0.Injectable
|
|
5011
5017
|
}], ctorParameters: function () { return [{ type: CommonApiService }, { type: i1__namespace.CookieService }]; } });
|
|
5012
5018
|
|
|
@@ -5177,5 +5183,5 @@
|
|
|
5177
5183
|
|
|
5178
5184
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5179
5185
|
|
|
5180
|
-
}));
|
|
5186
|
+
})));
|
|
5181
5187
|
//# sourceMappingURL=new-front-common-library.umd.js.map
|