new-front-common-library 0.0.94 → 0.0.96

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.
Files changed (58) hide show
  1. package/bundles/new-front-common-library.umd.js +321 -153
  2. package/bundles/new-front-common-library.umd.js.map +1 -1
  3. package/esm2015/lib/util/array.service.js +4 -4
  4. package/esm2015/lib/util/component/header/header.component.js +12 -4
  5. package/esm2015/lib/util/component/overlay/overlay.component.js +4 -4
  6. package/esm2015/lib/util/component/overlay/overlay.service.js +4 -4
  7. package/esm2015/lib/util/component/popup/popup-login/popup-login.component.js +4 -4
  8. package/esm2015/lib/util/component/sub-header/sub-header.component.js +4 -4
  9. package/esm2015/lib/util/date/date-adapter.js +4 -4
  10. package/esm2015/lib/util/directives/my-number-formatter-directive.js +4 -4
  11. package/esm2015/lib/util/directives/show-if-truncated.directive.js +4 -4
  12. package/esm2015/lib/util/event/header/header-events.service.js +4 -4
  13. package/esm2015/lib/util/event/storage/local-storage-events.service.js +4 -4
  14. package/esm2015/lib/util/event/storage/session-storage-events.service.js +4 -4
  15. package/esm2015/lib/util/i18n/de.js +3 -2
  16. package/esm2015/lib/util/i18n/en.js +3 -2
  17. package/esm2015/lib/util/i18n/fr.js +3 -2
  18. package/esm2015/lib/util/models/commercial/invoice-rapid-search-model.js +9 -0
  19. package/esm2015/lib/util/models/commercial/work-record-rapid-search-model.js +1 -12
  20. package/esm2015/lib/util/models/legal/contract-rapid-search-model.js +1 -1
  21. package/esm2015/lib/util/permissions/permissions.service.js +4 -4
  22. package/esm2015/lib/util/pipes/capitalizefirst.pipe.js +4 -4
  23. package/esm2015/lib/util/pipes/comma-separated-number.pipe.js +4 -4
  24. package/esm2015/lib/util/pipes/common-translate.pipe.js +4 -4
  25. package/esm2015/lib/util/pipes/display-html.pipe.js +4 -4
  26. package/esm2015/lib/util/pipes/display-null.pipe.js +4 -4
  27. package/esm2015/lib/util/pipes/format-duration.pipe.js +4 -4
  28. package/esm2015/lib/util/pipes/format-number-input.pipe.js +4 -4
  29. package/esm2015/lib/util/pipes/local-date.pipe.js +4 -4
  30. package/esm2015/lib/util/pipes/my-number.pipe.js +4 -4
  31. package/esm2015/lib/util/pipes/third-party-address.pipe.js +4 -4
  32. package/esm2015/lib/util/pipes/trim-string.pipe.js +4 -4
  33. package/esm2015/lib/util/regex/regex.service.js +4 -4
  34. package/esm2015/lib/util/services/api/common-api.service.js +4 -4
  35. package/esm2015/lib/util/services/elasticsearch/elasticsearch.service.js +20 -9
  36. package/esm2015/lib/util/services/form-action/form-actions-events.service.js +4 -4
  37. package/esm2015/lib/util/services/guard/auth.guard.js +4 -4
  38. package/esm2015/lib/util/services/guard/login.guard.js +4 -4
  39. package/esm2015/lib/util/services/history/history.service.js +4 -4
  40. package/esm2015/lib/util/services/interceptor/auth.interceptor.js +4 -4
  41. package/esm2015/lib/util/services/jwt-security/aes.service.js +4 -4
  42. package/esm2015/lib/util/services/jwt-security/interceptorhttp.service.js +4 -4
  43. package/esm2015/lib/util/services/storage/local-storage.service.js +4 -4
  44. package/esm2015/lib/util/services/storage/session-storage.service.js +4 -4
  45. package/esm2015/lib/util/services/translate-language/lang.service.js +4 -4
  46. package/esm2015/lib/util/theme/theme-event.service.js +4 -4
  47. package/esm2015/lib/util/toaster/toaster-events.service.js +4 -4
  48. package/esm2015/lib/util/util.module.js +5 -5
  49. package/fesm2015/new-front-common-library.js +159 -140
  50. package/fesm2015/new-front-common-library.js.map +1 -1
  51. package/lib/util/component/header/header.component.d.ts +2 -1
  52. package/lib/util/i18n/de.d.ts +2 -1
  53. package/lib/util/i18n/en.d.ts +2 -1
  54. package/lib/util/i18n/fr.d.ts +2 -1
  55. package/lib/util/models/commercial/invoice-rapid-search-model.d.ts +18 -0
  56. package/lib/util/models/commercial/work-record-rapid-search-model.d.ts +0 -1
  57. package/lib/util/models/legal/contract-rapid-search-model.d.ts +2 -1
  58. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
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/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/material/input'), require('@angular/material/dialog'), require('crypto-js'), require('@angular/material/divider'), require('@angular/material/tooltip'), require('@angular/material/table'), require('@angular/material/select'), require('@ng-select/ng-select'), require('deepmerge')) :
3
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/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/material/input', '@angular/material/dialog', 'crypto-js', '@angular/material/divider', '@angular/material/tooltip', '@angular/material/table', '@angular/material/select', '@ng-select/ng-select', 'deepmerge'], 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.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.material.input, global.ng.material.dialog, global.CryptoJS, global.ng.material.divider, global.ng.material.tooltip, global.ng.material.table, global.ng.material.select, global.ngSelect, global.merge));
5
- }(this, (function (exports, i0, i2$1, i2, i20, rxjs, operators, i1, i1$1, i4, i1$2, i5, i1$3, i10, i9, elasticsearchBrowser, i13, i14, i7, i16, i17, i18, i19, i22, i1$4, CryptoJS, divider, i1$5, table, select, ngSelect, merge) { 'use strict';
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.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.material.input, global.ng.material.dialog, global.CryptoJS, global.ng.material.divider, global.ng.material.tooltip, global.ng.material.table, global.ng.material.select, global.ngSelect, global.merge));
5
+ })(this, (function (exports, i0, i2$1, i2, i20, rxjs, operators, i1, i1$1, i4, i1$2, i5, i1$3, i10, i9, elasticsearchBrowser, i13, i14, i7, i16, i17, i18, i19, i22, i1$4, CryptoJS, divider, i1$5, table, select, ngSelect, merge) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -15,14 +15,12 @@
15
15
  var d = Object.getOwnPropertyDescriptor(e, k);
16
16
  Object.defineProperty(n, k, d.get ? d : {
17
17
  enumerable: true,
18
- get: function () {
19
- return e[k];
20
- }
18
+ get: function () { return e[k]; }
21
19
  });
22
20
  }
23
21
  });
24
22
  }
25
- n['default'] = e;
23
+ n["default"] = e;
26
24
  return Object.freeze(n);
27
25
  }
28
26
 
@@ -175,9 +173,9 @@
175
173
  };
176
174
  return CommonApiService;
177
175
  }());
178
- 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 });
179
- CommonApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonApiService });
180
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonApiService, decorators: [{
176
+ CommonApiService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CommonApiService, deps: [{ token: WEB_CONFIG }, { token: i1__namespace.CookieService }, { token: i2__namespace.HttpClient }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
177
+ CommonApiService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CommonApiService });
178
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CommonApiService, decorators: [{
181
179
  type: i0.Injectable
182
180
  }], ctorParameters: function () {
183
181
  return [{ type: undefined, decorators: [{
@@ -196,9 +194,9 @@
196
194
  };
197
195
  return LocalStorageEventsService;
198
196
  }());
199
- LocalStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
200
- LocalStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageEventsService });
201
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageEventsService, decorators: [{
197
+ LocalStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalStorageEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
198
+ LocalStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalStorageEventsService });
199
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalStorageEventsService, decorators: [{
202
200
  type: i0.Injectable
203
201
  }], ctorParameters: function () { return []; } });
204
202
 
@@ -230,9 +228,9 @@
230
228
  };
231
229
  return LocalStorageService;
232
230
  }());
233
- 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 });
234
- LocalStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageService });
235
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalStorageService, decorators: [{
231
+ LocalStorageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalStorageService, deps: [{ token: LocalStorageEventsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
232
+ LocalStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalStorageService });
233
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalStorageService, decorators: [{
236
234
  type: i0.Injectable
237
235
  }], ctorParameters: function () { return [{ type: LocalStorageEventsService }]; } });
238
236
 
@@ -249,13 +247,13 @@
249
247
  };
250
248
  return InterceptorHttpService;
251
249
  }());
252
- InterceptorHttpService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: InterceptorHttpService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
253
- InterceptorHttpService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: InterceptorHttpService });
254
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: InterceptorHttpService, decorators: [{
250
+ InterceptorHttpService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: InterceptorHttpService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
251
+ InterceptorHttpService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: InterceptorHttpService });
252
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: InterceptorHttpService, decorators: [{
255
253
  type: i0.Injectable
256
254
  }] });
257
255
 
258
- /*! *****************************************************************************
256
+ /******************************************************************************
259
257
  Copyright (c) Microsoft Corporation.
260
258
 
261
259
  Permission to use, copy, modify, and/or distribute this software for any
@@ -269,7 +267,7 @@
269
267
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
270
268
  PERFORMANCE OF THIS SOFTWARE.
271
269
  ***************************************************************************** */
272
- /* global Reflect, Promise */
270
+ /* global Reflect, Promise, SuppressedError, Symbol */
273
271
  var extendStatics = function (d, b) {
274
272
  extendStatics = Object.setPrototypeOf ||
275
273
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -322,6 +320,64 @@
322
320
  function __param(paramIndex, decorator) {
323
321
  return function (target, key) { decorator(target, key, paramIndex); };
324
322
  }
323
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
324
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
325
+ throw new TypeError("Function expected"); return f; }
326
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
327
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
328
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
329
+ var _, done = false;
330
+ for (var i = decorators.length - 1; i >= 0; i--) {
331
+ var context = {};
332
+ for (var p in contextIn)
333
+ context[p] = p === "access" ? {} : contextIn[p];
334
+ for (var p in contextIn.access)
335
+ context.access[p] = contextIn.access[p];
336
+ context.addInitializer = function (f) { if (done)
337
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
338
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
339
+ if (kind === "accessor") {
340
+ if (result === void 0)
341
+ continue;
342
+ if (result === null || typeof result !== "object")
343
+ throw new TypeError("Object expected");
344
+ if (_ = accept(result.get))
345
+ descriptor.get = _;
346
+ if (_ = accept(result.set))
347
+ descriptor.set = _;
348
+ if (_ = accept(result.init))
349
+ initializers.unshift(_);
350
+ }
351
+ else if (_ = accept(result)) {
352
+ if (kind === "field")
353
+ initializers.unshift(_);
354
+ else
355
+ descriptor[key] = _;
356
+ }
357
+ }
358
+ if (target)
359
+ Object.defineProperty(target, contextIn.name, descriptor);
360
+ done = true;
361
+ }
362
+ ;
363
+ function __runInitializers(thisArg, initializers, value) {
364
+ var useValue = arguments.length > 2;
365
+ for (var i = 0; i < initializers.length; i++) {
366
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
367
+ }
368
+ return useValue ? value : void 0;
369
+ }
370
+ ;
371
+ function __propKey(x) {
372
+ return typeof x === "symbol" ? x : "".concat(x);
373
+ }
374
+ ;
375
+ function __setFunctionName(f, name, prefix) {
376
+ if (typeof name === "symbol")
377
+ name = name.description ? "[".concat(name.description, "]") : "";
378
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
379
+ }
380
+ ;
325
381
  function __metadata(metadataKey, metadataValue) {
326
382
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
327
383
  return Reflect.metadata(metadataKey, metadataValue);
@@ -353,7 +409,7 @@
353
409
  function step(op) {
354
410
  if (f)
355
411
  throw new TypeError("Generator is already executing.");
356
- while (_)
412
+ while (g && (g = 0, op[0] && (_ = 0)), _)
357
413
  try {
358
414
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
359
415
  return t;
@@ -417,7 +473,11 @@
417
473
  var __createBinding = Object.create ? (function (o, m, k, k2) {
418
474
  if (k2 === undefined)
419
475
  k2 = k;
420
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
476
+ var desc = Object.getOwnPropertyDescriptor(m, k);
477
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
478
+ desc = { enumerable: true, get: function () { return m[k]; } };
479
+ }
480
+ Object.defineProperty(o, k2, desc);
421
481
  }) : (function (o, m, k, k2) {
422
482
  if (k2 === undefined)
423
483
  k2 = k;
@@ -517,7 +577,7 @@
517
577
  function __asyncDelegator(o) {
518
578
  var i, p;
519
579
  return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
520
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
580
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
521
581
  }
522
582
  function __asyncValues(o) {
523
583
  if (!Symbol.asyncIterator)
@@ -571,7 +631,91 @@
571
631
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
572
632
  throw new TypeError("Cannot write private member to an object whose class did not declare it");
573
633
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
574
- }
634
+ }
635
+ function __classPrivateFieldIn(state, receiver) {
636
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
637
+ throw new TypeError("Cannot use 'in' operator on non-object");
638
+ return typeof state === "function" ? receiver === state : state.has(receiver);
639
+ }
640
+ function __addDisposableResource(env, value, async) {
641
+ if (value !== null && value !== void 0) {
642
+ if (typeof value !== "object" && typeof value !== "function")
643
+ throw new TypeError("Object expected.");
644
+ var dispose;
645
+ if (async) {
646
+ if (!Symbol.asyncDispose)
647
+ throw new TypeError("Symbol.asyncDispose is not defined.");
648
+ dispose = value[Symbol.asyncDispose];
649
+ }
650
+ if (dispose === void 0) {
651
+ if (!Symbol.dispose)
652
+ throw new TypeError("Symbol.dispose is not defined.");
653
+ dispose = value[Symbol.dispose];
654
+ }
655
+ if (typeof dispose !== "function")
656
+ throw new TypeError("Object not disposable.");
657
+ env.stack.push({ value: value, dispose: dispose, async: async });
658
+ }
659
+ else if (async) {
660
+ env.stack.push({ async: true });
661
+ }
662
+ return value;
663
+ }
664
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
665
+ var e = new Error(message);
666
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
667
+ };
668
+ function __disposeResources(env) {
669
+ function fail(e) {
670
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
671
+ env.hasError = true;
672
+ }
673
+ function next() {
674
+ while (env.stack.length) {
675
+ var rec = env.stack.pop();
676
+ try {
677
+ var result = rec.dispose && rec.dispose.call(rec.value);
678
+ if (rec.async)
679
+ return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
680
+ }
681
+ catch (e) {
682
+ fail(e);
683
+ }
684
+ }
685
+ if (env.hasError)
686
+ throw env.error;
687
+ }
688
+ return next();
689
+ }
690
+ var tslib_es6 = {
691
+ __extends: __extends,
692
+ __assign: __assign,
693
+ __rest: __rest,
694
+ __decorate: __decorate,
695
+ __param: __param,
696
+ __metadata: __metadata,
697
+ __awaiter: __awaiter,
698
+ __generator: __generator,
699
+ __createBinding: __createBinding,
700
+ __exportStar: __exportStar,
701
+ __values: __values,
702
+ __read: __read,
703
+ __spread: __spread,
704
+ __spreadArrays: __spreadArrays,
705
+ __spreadArray: __spreadArray,
706
+ __await: __await,
707
+ __asyncGenerator: __asyncGenerator,
708
+ __asyncDelegator: __asyncDelegator,
709
+ __asyncValues: __asyncValues,
710
+ __makeTemplateObject: __makeTemplateObject,
711
+ __importStar: __importStar,
712
+ __importDefault: __importDefault,
713
+ __classPrivateFieldGet: __classPrivateFieldGet,
714
+ __classPrivateFieldSet: __classPrivateFieldSet,
715
+ __classPrivateFieldIn: __classPrivateFieldIn,
716
+ __addDisposableResource: __addDisposableResource,
717
+ __disposeResources: __disposeResources,
718
+ };
575
719
 
576
720
  var PADDING = '000000';
577
721
  var MyNumberPipe = /** @class */ (function () {
@@ -609,9 +753,9 @@
609
753
  };
610
754
  return MyNumberPipe;
611
755
  }());
612
- MyNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
613
- MyNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberPipe, name: "myNumberFormat" });
614
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberPipe, decorators: [{
756
+ MyNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MyNumberPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
757
+ MyNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MyNumberPipe, name: "myNumberFormat" });
758
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MyNumberPipe, decorators: [{
615
759
  type: i0.Pipe,
616
760
  args: [{ name: 'myNumberFormat' }]
617
761
  }], ctorParameters: function () { return []; } });
@@ -633,9 +777,9 @@
633
777
  };
634
778
  return MyNumberFormatterDirective;
635
779
  }());
636
- 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 });
637
- 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 });
638
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyNumberFormatterDirective, decorators: [{
780
+ MyNumberFormatterDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MyNumberFormatterDirective, deps: [{ token: i0__namespace.ElementRef }, { token: MyNumberPipe }], target: i0__namespace.ɵɵFactoryTarget.Directive });
781
+ MyNumberFormatterDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: MyNumberFormatterDirective, selector: "[myNumberFormatter]", inputs: { decimalNumber: "decimalNumber" }, host: { listeners: { "focus": "onFocus($event.target.value)", "blur": "onBlur($event.target.value)" } }, ngImport: i0__namespace });
782
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MyNumberFormatterDirective, decorators: [{
639
783
  type: i0.Directive,
640
784
  args: [{ selector: '[myNumberFormatter]' }]
641
785
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: MyNumberPipe }]; }, propDecorators: { decimalNumber: [{
@@ -679,9 +823,9 @@
679
823
  };
680
824
  return CapitalizefirstPipe;
681
825
  }());
682
- CapitalizefirstPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CapitalizefirstPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
683
- CapitalizefirstPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CapitalizefirstPipe, name: "myCapitalizeFirst" });
684
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CapitalizefirstPipe, decorators: [{
826
+ CapitalizefirstPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CapitalizefirstPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
827
+ CapitalizefirstPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CapitalizefirstPipe, name: "myCapitalizeFirst" });
828
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CapitalizefirstPipe, decorators: [{
685
829
  type: i0.Pipe,
686
830
  args: [{
687
831
  name: 'myCapitalizeFirst'
@@ -697,9 +841,9 @@
697
841
  };
698
842
  return SpacesNumberPipe;
699
843
  }());
700
- SpacesNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SpacesNumberPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
701
- SpacesNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SpacesNumberPipe, name: "mySpacesNumberPipe" });
702
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SpacesNumberPipe, decorators: [{
844
+ SpacesNumberPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SpacesNumberPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
845
+ SpacesNumberPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SpacesNumberPipe, name: "mySpacesNumberPipe" });
846
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SpacesNumberPipe, decorators: [{
703
847
  type: i0.Pipe,
704
848
  args: [{ name: 'mySpacesNumberPipe' }]
705
849
  }] });
@@ -713,9 +857,9 @@
713
857
  };
714
858
  return SanitizeHtml;
715
859
  }());
716
- 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 });
717
- SanitizeHtml.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SanitizeHtml, name: "mySanitizeHtml" });
718
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SanitizeHtml, decorators: [{
860
+ SanitizeHtml.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SanitizeHtml, deps: [{ token: i1__namespace$1.DomSanitizer }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
861
+ SanitizeHtml.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SanitizeHtml, name: "mySanitizeHtml" });
862
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SanitizeHtml, decorators: [{
719
863
  type: i0.Pipe,
720
864
  args: [{
721
865
  name: 'mySanitizeHtml'
@@ -741,9 +885,9 @@
741
885
  };
742
886
  return DisplayNullPipe;
743
887
  }());
744
- DisplayNullPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: DisplayNullPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
745
- DisplayNullPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: DisplayNullPipe, name: "myDisplayNullPipe" });
746
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: DisplayNullPipe, decorators: [{
888
+ DisplayNullPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DisplayNullPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
889
+ DisplayNullPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DisplayNullPipe, name: "myDisplayNullPipe" });
890
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: DisplayNullPipe, decorators: [{
747
891
  type: i0.Pipe,
748
892
  args: [{ name: 'myDisplayNullPipe' }]
749
893
  }] });
@@ -764,9 +908,9 @@
764
908
  };
765
909
  return FormatNumberInput;
766
910
  }());
767
- FormatNumberInput.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatNumberInput, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
768
- FormatNumberInput.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatNumberInput, name: "myAddSpacesInputPipe" });
769
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatNumberInput, decorators: [{
911
+ FormatNumberInput.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormatNumberInput, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
912
+ FormatNumberInput.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormatNumberInput, name: "myAddSpacesInputPipe" });
913
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormatNumberInput, decorators: [{
770
914
  type: i0.Pipe,
771
915
  args: [{ name: 'myAddSpacesInputPipe' }]
772
916
  }] });
@@ -789,9 +933,9 @@
789
933
  };
790
934
  return LocalDatePipe;
791
935
  }());
792
- LocalDatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalDatePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
793
- LocalDatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalDatePipe, name: "myLocalDateFormat" });
794
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LocalDatePipe, decorators: [{
936
+ LocalDatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalDatePipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
937
+ LocalDatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalDatePipe, name: "myLocalDateFormat" });
938
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LocalDatePipe, decorators: [{
795
939
  type: i0.Pipe,
796
940
  args: [{ name: 'myLocalDateFormat' }]
797
941
  }], ctorParameters: function () { return []; } });
@@ -815,9 +959,9 @@
815
959
  };
816
960
  return TrimStringPipe;
817
961
  }());
818
- TrimStringPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: TrimStringPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
819
- TrimStringPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: TrimStringPipe, name: "myTrimString" });
820
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: TrimStringPipe, decorators: [{
962
+ TrimStringPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TrimStringPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
963
+ TrimStringPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TrimStringPipe, name: "myTrimString" });
964
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TrimStringPipe, decorators: [{
821
965
  type: i0.Pipe,
822
966
  args: [{ name: 'myTrimString' }]
823
967
  }] });
@@ -832,9 +976,9 @@
832
976
  };
833
977
  return ThemeEventsService;
834
978
  }());
835
- ThemeEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThemeEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
836
- ThemeEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThemeEventsService });
837
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThemeEventsService, decorators: [{
979
+ ThemeEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ThemeEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
980
+ ThemeEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ThemeEventsService });
981
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ThemeEventsService, decorators: [{
838
982
  type: i0.Injectable
839
983
  }], ctorParameters: function () { return []; } });
840
984
 
@@ -849,9 +993,9 @@
849
993
  };
850
994
  return SessionStorageEventsService;
851
995
  }());
852
- SessionStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
853
- SessionStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageEventsService });
854
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageEventsService, decorators: [{
996
+ SessionStorageEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SessionStorageEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
997
+ SessionStorageEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SessionStorageEventsService });
998
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SessionStorageEventsService, decorators: [{
855
999
  type: i0.Injectable
856
1000
  }], ctorParameters: function () { return []; } });
857
1001
 
@@ -885,9 +1029,9 @@
885
1029
  };
886
1030
  return SessionStorageService;
887
1031
  }());
888
- 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 });
889
- SessionStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageService });
890
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SessionStorageService, decorators: [{
1032
+ SessionStorageService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SessionStorageService, deps: [{ token: SessionStorageEventsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1033
+ SessionStorageService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SessionStorageService });
1034
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SessionStorageService, decorators: [{
891
1035
  type: i0.Injectable
892
1036
  }], ctorParameters: function () { return [{ type: SessionStorageEventsService }]; } });
893
1037
 
@@ -943,12 +1087,12 @@
943
1087
  };
944
1088
  return PermissionsService;
945
1089
  }());
946
- 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 });
947
- PermissionsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: PermissionsService });
1090
+ PermissionsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PermissionsService, deps: [{ token: i1__namespace$2.NgxPermissionsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1091
+ PermissionsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PermissionsService });
948
1092
  __decorate([
949
1093
  User()
950
1094
  ], PermissionsService.prototype, "user", void 0);
951
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: PermissionsService, decorators: [{
1095
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PermissionsService, decorators: [{
952
1096
  type: i0.Injectable
953
1097
  }], ctorParameters: function () { return [{ type: i1__namespace$2.NgxPermissionsService }]; }, propDecorators: { user: [] } });
954
1098
 
@@ -966,9 +1110,9 @@
966
1110
  };
967
1111
  return ArrayService;
968
1112
  }());
969
- ArrayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ArrayService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
970
- ArrayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ArrayService });
971
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ArrayService, decorators: [{
1113
+ ArrayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ArrayService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1114
+ ArrayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ArrayService });
1115
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ArrayService, decorators: [{
972
1116
  type: i0.Injectable
973
1117
  }] });
974
1118
 
@@ -989,9 +1133,9 @@
989
1133
  };
990
1134
  return OverlayService;
991
1135
  }());
992
- OverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
993
- OverlayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayService });
994
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayService, decorators: [{
1136
+ OverlayService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OverlayService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1137
+ OverlayService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OverlayService });
1138
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OverlayService, decorators: [{
995
1139
  type: i0.Injectable
996
1140
  }], ctorParameters: function () { return []; } });
997
1141
 
@@ -1022,9 +1166,9 @@
1022
1166
  };
1023
1167
  return OverlayComponent;
1024
1168
  }());
1025
- 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 });
1026
- 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\" class=\"d-flex justify-content-center align-items-center\">\r\n <mat-card class=\"overshield\">\r\n <mat-card-content class=\"d-flex justify-content-between align-items-center\">\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: i20__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
1027
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: OverlayComponent, decorators: [{
1169
+ OverlayComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
1170
+ OverlayComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: OverlayComponent, selector: "sc-overlay", ngImport: i0__namespace, template: "<div *ngIf=\"show\" class=\"blackshield\"></div>\r\n\r\n<div *ngIf=\"show\" class=\"d-flex justify-content-center align-items-center\">\r\n <mat-card class=\"overshield\">\r\n <mat-card-content class=\"d-flex justify-content-between align-items-center\">\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: i20__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
1171
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OverlayComponent, decorators: [{
1028
1172
  type: i0.Component,
1029
1173
  args: [{
1030
1174
  selector: 'sc-overlay',
@@ -1092,9 +1236,9 @@
1092
1236
  };
1093
1237
  return ToasterEventsService;
1094
1238
  }());
1095
- ToasterEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ToasterEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1096
- ToasterEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ToasterEventsService });
1097
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ToasterEventsService, decorators: [{
1239
+ ToasterEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ToasterEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1240
+ ToasterEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ToasterEventsService });
1241
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ToasterEventsService, decorators: [{
1098
1242
  type: i0.Injectable
1099
1243
  }], ctorParameters: function () { return []; } });
1100
1244
 
@@ -1120,23 +1264,14 @@
1120
1264
  };
1121
1265
  return LangService;
1122
1266
  }());
1123
- 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 });
1124
- LangService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LangService });
1125
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LangService, decorators: [{
1267
+ LangService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LangService, deps: [{ token: i2__namespace$1.TranslateService }, { token: LocalStorageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1268
+ LangService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LangService });
1269
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LangService, decorators: [{
1126
1270
  type: i0.Injectable
1127
1271
  }], ctorParameters: function () { return [{ type: i2__namespace$1.TranslateService }, { type: LocalStorageService }]; } });
1128
1272
 
1129
1273
  var WorkRecordRapidSearchModel = /** @class */ (function () {
1130
- function WorkRecordRapidSearchModel(copy) {
1131
- this.id = copy.id;
1132
- this.workRecordId = copy.workRecordId;
1133
- this.dealNumber = copy.dealNumber;
1134
- this.thirdPartyClientName = copy.thirdPartyClientName;
1135
- this.miloCode = copy.miloCode;
1136
- this.amount = copy.amount;
1137
- this.currencyCode = copy.currencyCode;
1138
- this.titles = copy.titles;
1139
- this.docType = copy.docType;
1274
+ function WorkRecordRapidSearchModel() {
1140
1275
  }
1141
1276
  /**
1142
1277
  * Returns the title for the language. If the language is undefined or unsupported, returns the VO title.
@@ -1151,6 +1286,18 @@
1151
1286
  return WorkRecordRapidSearchModel;
1152
1287
  }());
1153
1288
 
1289
+ var InvoiceRapidSearchModel = /** @class */ (function () {
1290
+ function InvoiceRapidSearchModel() {
1291
+ }
1292
+ InvoiceRapidSearchModel.prototype.getTitle = function (language) {
1293
+ if (!language || !this.titles[language] || this.titles[language].length === 0) {
1294
+ return this.titles.vo;
1295
+ }
1296
+ return this.titles[language];
1297
+ };
1298
+ return InvoiceRapidSearchModel;
1299
+ }());
1300
+
1154
1301
  var ElasticsearchService = /** @class */ (function () {
1155
1302
  function ElasticsearchService(config) {
1156
1303
  this.config = config;
@@ -1200,6 +1347,12 @@
1200
1347
  sort: [{ 'workRecordId.keyword': { order: 'asc' } }],
1201
1348
  size: 50
1202
1349
  },
1350
+ { index: 'unity-invoice*' },
1351
+ {
1352
+ query: { dis_max: { queries: [{ wildcard: { number: { value: '*' + text + '*' } } }] } },
1353
+ sort: [{ 'number.keyword': { order: 'asc' } }],
1354
+ size: 50
1355
+ },
1203
1356
  { index: 'unity-third-party*' },
1204
1357
  {
1205
1358
  query: {
@@ -1213,8 +1366,8 @@
1213
1366
  },
1214
1367
  { index: 'unity-contract*' },
1215
1368
  {
1216
- query: { dis_max: { queries: [{ wildcard: { contractId: { value: '*' + text + '*' } } }] } },
1217
- sort: [{ 'contractId.keyword': { order: 'asc' } }],
1369
+ query: { dis_max: { queries: [{ wildcard: { lisaId: { value: '*' + text + '*' } } }] } },
1370
+ sort: [{ 'lisaId.keyword': { order: 'asc' } }],
1218
1371
  size: 50
1219
1372
  },
1220
1373
  ]
@@ -1246,16 +1399,20 @@
1246
1399
  return results;
1247
1400
  };
1248
1401
  ElasticsearchService.prototype.mapDocument = function (doc) {
1249
- if (doc._source.titles) {
1250
- return new WorkRecordRapidSearchModel(doc._source);
1402
+ switch (doc._source.docType) {
1403
+ case 'INVOICE':
1404
+ return Object.assign(new InvoiceRapidSearchModel(), doc._source);
1405
+ case 'WORK_RECORD':
1406
+ return Object.assign(new WorkRecordRapidSearchModel(), doc._source);
1407
+ default:
1408
+ return doc._source;
1251
1409
  }
1252
- return doc._source;
1253
1410
  };
1254
1411
  return ElasticsearchService;
1255
1412
  }());
1256
- 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 });
1257
- ElasticsearchService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService });
1258
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ElasticsearchService, decorators: [{
1413
+ ElasticsearchService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ElasticsearchService, deps: [{ token: WEB_CONFIG }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1414
+ ElasticsearchService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ElasticsearchService });
1415
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ElasticsearchService, decorators: [{
1259
1416
  type: i0.Injectable
1260
1417
  }], ctorParameters: function () {
1261
1418
  return [{ type: undefined, decorators: [{
@@ -1303,8 +1460,9 @@
1303
1460
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT': 'Contract N',
1304
1461
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE': 'Type',
1305
1462
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS': 'Status',
1306
- 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSEE': 'Licensee',
1463
+ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CUSTOMER': 'Customer',
1307
1464
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR': 'Licensor',
1465
+ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE': 'Invoice',
1308
1466
  // HEADER HISTORY
1309
1467
  'COMMON.HEADER.HISTORY.PRODUCT': 'Product',
1310
1468
  'COMMON.HEADER.HISTORY.PO': 'PO',
@@ -1373,8 +1531,9 @@
1373
1531
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT': 'Contrat N',
1374
1532
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE': 'Type',
1375
1533
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS': 'Statut',
1376
- 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSEE': 'Cessionnaire',
1534
+ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CUSTOMER': 'Client',
1377
1535
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR': 'Cedant',
1536
+ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE': 'Facture',
1378
1537
  // HEADER HISTORY
1379
1538
  'COMMON.HEADER.HISTORY.PRODUCT': 'Produit',
1380
1539
  'COMMON.HEADER.HISTORY.PO': 'Commande',
@@ -1443,8 +1602,9 @@
1443
1602
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT': 'Contract N',
1444
1603
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE': 'Type',
1445
1604
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS': 'Status',
1446
- 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSEE': 'Licensee',
1605
+ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CUSTOMER': 'Customer',
1447
1606
  'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR': 'Licensor',
1607
+ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE': 'Invoice',
1448
1608
  // HEADER HISTORY
1449
1609
  'COMMON.HEADER.HISTORY.PRODUCT': 'Product',
1450
1610
  'COMMON.HEADER.HISTORY.PO': 'PO',
@@ -1500,9 +1660,9 @@
1500
1660
  };
1501
1661
  return CommonTranslatePipe;
1502
1662
  }());
1503
- 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 });
1504
- CommonTranslatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonTranslatePipe, name: "commonTranslate" });
1505
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CommonTranslatePipe, decorators: [{
1663
+ CommonTranslatePipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CommonTranslatePipe, deps: [{ token: LocalStorageService }], target: i0__namespace.ɵɵFactoryTarget.Pipe });
1664
+ CommonTranslatePipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CommonTranslatePipe, name: "commonTranslate" });
1665
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CommonTranslatePipe, decorators: [{
1506
1666
  type: i0.Pipe,
1507
1667
  args: [{ name: 'commonTranslate' }]
1508
1668
  }], ctorParameters: function () { return [{ type: LocalStorageService }]; } });
@@ -1654,19 +1814,27 @@
1654
1814
  case RapidSearchItemType.CONTRACT:
1655
1815
  this.navigate(null, '/legal/contracts-details/' + this.getContractType(doc.type.labelEn) + '/' + doc.contractId);
1656
1816
  break;
1817
+ case RapidSearchItemType.INVOICE:
1818
+ if (doc.right) {
1819
+ this.navigate(null, '/commercial/invoice/right-payment-consult?idEcheance=' + doc.invoiceId);
1820
+ }
1821
+ else {
1822
+ this.navigate(null, '/commercial/invoice/material-payment-consult?idEcheance=' + doc.invoiceId);
1823
+ }
1824
+ break;
1657
1825
  }
1658
1826
  };
1659
1827
  return HeaderComponent;
1660
1828
  }());
1661
- 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 });
1662
- 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' }\"\r\n class=\"sc-header d-flex align-items-center\">\r\n <span class=\"d-flex align-items-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\"></span>\r\n <span [matMenuTriggerFor]=\"menu_global\" class=\"material-icons header-icon max-width-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' | 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.FINANCE' | 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 <!--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 <!--CALENDAR-->\r\n <button (click)=\"navigate('calendar', '')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">calendar_month</span>\r\n <span>{{ 'COMMON.HEADER.MENU.CALENDAR' | commonTranslate: lang }}</span>\r\n </button>\r\n </mat-menu>\r\n <span class=\"header-separator\"></span>\r\n <span [matMenuTriggerFor]=\"menu\" class=\"material-icons-outlined header-icon max-width-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', '/createContract/acq')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">shop_two</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_ACQ' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('legal', '/createContract/sales')\" 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\t <button (click)=\"navigate('legal', '/createContract/auth')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">account_circle</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_AUTH' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('pa', '/campaign/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">campaign</span>\r\n {{ 'COMMON.HEADER.CREATION.CAMPAIGN' | commonTranslate: lang }}\r\n </button>\r\n </mat-menu>\r\n <span class=\"header-separator\"></span>\r\n <span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\"\r\n class=\"material-icons header-icon max-width-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\">assignment</span>\r\n {{ 'COMMON.HEADER.HISTORY.WORK_RECORD' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts-details/acq/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_ACQ'\"\r\n mat-menu-item>\r\n <span class=\"material-icons-outlined\">shop_two</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_ACQ' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts-details/cess/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_CESS'\"\r\n mat-menu-item>\r\n <span class=\"material-icons-outlined\">receipt</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_CESS' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts-details/auth/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_AUTH'\"\r\n mat-menu-item>\r\n <span class=\"material-icons-outlined\">account_circle</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_AUTH' | 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 class=\"global-search d-flex max-width-60\">\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 class=\"max-width-100\" floatLabel=\"never\">\r\n <div class=\"d-flex\">\r\n <input [formControl]=\"formControlSearch\" [matAutocomplete]=\"autoSearch\"\r\n class=\"global-search-input max-width-85\"\r\n id=\"search-input\"\r\n matInput\r\n placeholder=\"search ...\"/>\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 (onSelectionChange)=\"onSelectSearch($event, doc)\"\r\n *ngFor=\"let doc of documents$ | async\"\r\n class=\"mat-option-global-search\">\r\n <!--PURCHASE_ORDER-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.PURCHASE_ORDER\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt_long</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-70\">\r\n <span\r\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PURCHASE_ORDER' | commonTranslate: lang }}</span>\r\n <span>{{ doc.poNumber }}\r\n - {{ doc.totalAmount | currency: doc.currencyCode:'symbol':undefined:'fr-FR'}}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">movie</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"ellipsis d-flex flex-column max-width-60\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-10\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">theaters</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-75 ellipsis\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-10\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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 <!--DEAL-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.DEAL\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">local_offer</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-70 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.dealNumber }} - {{doc.thirdPartyClientName}} ({{doc.thirdPartyClientSap}})</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang\r\n }}</span>\r\n <span>{{doc.calculatedAmount | currency: doc.currencyCode:'symbol'}}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.VALIDATION_DATE' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.validationDate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--WORK_RECORD-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.WORK_RECORD\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">assignment</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK_RECORD' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.id }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.dealNumber }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-30 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.thirdPartyClientName }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-35\">\r\n <span class=\"auto-complete-label\">\r\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE' | commonTranslate: lang }}\r\n ({{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang }})\r\n </span>\r\n <span class=\"ellipsis\">{{ doc.getTitle(lang) }} ({{ doc.miloCode }})</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang\r\n }}</span>\r\n <span>{{doc.amount | currency: doc.currencyCode:'symbol'}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--THIRD_PARTY-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.THIRD_PARTY\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">person</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-85 ellipsis\">\r\n <span\r\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.THIRD_PARTY' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.companyOrPersonName }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span\r\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CODE' | commonTranslate: lang }}</span>\r\n <span>{{doc.code}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--CONTRACT-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.CONTRACT\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span *ngIf=\"getContractType(doc.type.labelEn) === 'cess'\" class=\"material-icons-outlined rapid-search-type-icon\">shop_two</span>\r\n <span *ngIf=\"getContractType(doc.type.labelEn) === 'acq'\" class=\"material-icons-outlined rapid-search-type-icon\">receipt</span>\r\n <span *ngIf=\"getContractType(doc.type.labelEn) === 'auth'\" class=\"material-icons-outlined rapid-search-type-icon\">account_circle</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.contractId }} </span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.type[labelLang] }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-30\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.status[labelLang] }}</span>\r\n </div>\r\n <div *ngIf=\"doc.type.labelEn !== 'Sale'\" class=\"d-flex flex-column max-width-70\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.licensor }}</span>\r\n </div>\r\n <div *ngIf=\"doc.type.labelEn === 'Sale'\" class=\"d-flex flex-column max-width-70\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSEE' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.licensee }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-option>\r\n </mat-autocomplete>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <span class=\"d-flex flex-column max-width-15\"></span>\r\n <div *ngIf=\"user && user.secondary\" class=\"connected-as d-flex justify-content-between align-items-center\">\r\n <span style=\"margin-right: 10px\">\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\"></span>\r\n\r\n <span [matMenuTriggerFor]=\"settings\" class=\"material-icons-outlined header-icon max-width-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:Roboto;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}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}\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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i20__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: i20__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i20__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i22__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.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: i17__namespace.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i10__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "commonTranslate": CommonTranslatePipe, "async": i20__namespace.AsyncPipe, "currency": i20__namespace.CurrencyPipe } });
1829
+ HeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
1830
+ HeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: HeaderComponent, selector: "sc-header", outputs: { toogleMenuEvent: "toogleMenuEvent" }, host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0__namespace, template: "<mat-toolbar [ngClass]=\"{ 'light-header': theme !== 'dark' }\"\r\n class=\"sc-header d-flex align-items-center\">\r\n <span class=\"d-flex align-items-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\"></span>\r\n <span [matMenuTriggerFor]=\"menu_global\" class=\"material-icons header-icon max-width-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' | 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.FINANCE' | 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 <!--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 <!--CALENDAR-->\r\n <button (click)=\"navigate('calendar', '')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">calendar_month</span>\r\n <span>{{ 'COMMON.HEADER.MENU.CALENDAR' | commonTranslate: lang }}</span>\r\n </button>\r\n </mat-menu>\r\n <span class=\"header-separator\"></span>\r\n <span [matMenuTriggerFor]=\"menu\" class=\"material-icons-outlined header-icon max-width-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', '/createContract/acq')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">shop_two</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_ACQ' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('legal', '/createContract/sales')\" 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\t <button (click)=\"navigate('legal', '/createContract/auth')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">account_circle</span>\r\n {{ 'COMMON.HEADER.CREATION.CREATION_AUTH' | commonTranslate: lang }}\r\n </button>\r\n <button (click)=\"navigate('pa', '/campaign/form')\" mat-menu-item>\r\n <span class=\"material-icons-outlined\">campaign</span>\r\n {{ 'COMMON.HEADER.CREATION.CAMPAIGN' | commonTranslate: lang }}\r\n </button>\r\n </mat-menu>\r\n <span class=\"header-separator\"></span>\r\n <span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\"\r\n class=\"material-icons header-icon max-width-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\">assignment</span>\r\n {{ 'COMMON.HEADER.HISTORY.WORK_RECORD' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts-details/acq/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_ACQ'\"\r\n mat-menu-item>\r\n <span class=\"material-icons-outlined\">shop_two</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_ACQ' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts-details/cess/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_CESS'\"\r\n mat-menu-item>\r\n <span class=\"material-icons-outlined\">receipt</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_CESS' | commonTranslate : lang }} {{history.ref}}\r\n </button>\r\n <button (click)=\"navigate('legal', '/contracts-details/auth/' + history.id)\"\r\n *ngSwitchCase=\"'CONTRACT_AUTH'\"\r\n mat-menu-item>\r\n <span class=\"material-icons-outlined\">account_circle</span>\r\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_AUTH' | 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 class=\"global-search d-flex max-width-60\">\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 class=\"max-width-100\" floatLabel=\"never\">\r\n <div class=\"d-flex\">\r\n <input [formControl]=\"formControlSearch\" [matAutocomplete]=\"autoSearch\"\r\n class=\"global-search-input max-width-85\"\r\n id=\"search-input\"\r\n matInput\r\n placeholder=\"search ...\"/>\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 (onSelectionChange)=\"onSelectSearch($event, doc)\"\r\n *ngFor=\"let doc of documents$ | async\"\r\n class=\"mat-option-global-search\">\r\n <!--PURCHASE_ORDER-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.PURCHASE_ORDER\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt_long</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-70\">\r\n <span\r\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PURCHASE_ORDER' | commonTranslate: lang }}</span>\r\n <span>{{ doc.poNumber }}\r\n - {{ doc.totalAmount | currency: doc.currencyCode:'symbol':undefined:'fr-FR'}}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">movie</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"ellipsis d-flex flex-column max-width-60\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-10\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">theaters</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-75 ellipsis\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-10\">\r\n <span\r\n 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 class=\"d-flex flex-column max-width-15\">\r\n <span\r\n 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 <!--DEAL-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.DEAL\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">local_offer</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-70 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.dealNumber }} - {{doc.thirdPartyClientName}} ({{doc.thirdPartyClientSap}})</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang\r\n }}</span>\r\n <span>{{doc.calculatedAmount | currency: doc.currencyCode:'symbol'}}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.VALIDATION_DATE' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.validationDate }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--WORK_RECORD-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.WORK_RECORD\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">assignment</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK_RECORD' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.id }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.dealNumber }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-30 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.thirdPartyClientName }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-35\">\r\n <span class=\"auto-complete-label\">\r\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE' | commonTranslate: lang }}\r\n ({{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang }})\r\n </span>\r\n <span class=\"ellipsis\">{{ doc.getTitle(lang) }} ({{ doc.miloCode }})</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang\r\n }}</span>\r\n <span>{{doc.amount | currency: doc.currencyCode:'symbol'}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--INVOICE-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.INVOICE\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.number }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.dealNumber }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.thirdPartyClientName }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-35\">\r\n <span class=\"auto-complete-label\">\r\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE' | commonTranslate: lang }}\r\n ({{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang }})\r\n </span>\r\n <span class=\"ellipsis\">{{ doc.getTitle(lang) }} ({{ doc.miloCode }})</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang\r\n }}</span>\r\n <span>{{doc.amount | currency: doc.currencyCode:'symbol'}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--THIRD_PARTY-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.THIRD_PARTY\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span class=\"material-icons-outlined rapid-search-type-icon\">person</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-85 ellipsis\">\r\n <span\r\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.THIRD_PARTY' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.companyOrPersonName }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-15\">\r\n <span\r\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CODE' | commonTranslate: lang }}</span>\r\n <span>{{doc.code}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n <!--CONTRACT-->\r\n <div *ngIf=\"doc.docType === RapidSearchItemType.CONTRACT\" class=\"d-flex align-items-center\">\r\n <div class=\"max-width-5\">\r\n <span *ngIf=\"getContractType(doc.type.labelEn) === 'cess'\" class=\"material-icons-outlined rapid-search-type-icon\">receipt</span>\r\n <span *ngIf=\"getContractType(doc.type.labelEn) === 'acq'\" class=\"material-icons-outlined rapid-search-type-icon\">shop_two</span>\r\n <span *ngIf=\"getContractType(doc.type.labelEn) === 'auth'\" class=\"material-icons-outlined rapid-search-type-icon\">account_circle</span>\r\n </div>\r\n <div class=\"d-flex max-width-95\">\r\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang }}</span>\r\n <span class=\"ellipsis\">{{ doc.lisaId }} </span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-10\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.type[labelLang] }}</span>\r\n </div>\r\n <div class=\"d-flex flex-column max-width-30\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.status[labelLang] }}</span>\r\n </div>\r\n <div *ngIf=\"doc.type.labelEn !== 'Sale'\" class=\"d-flex flex-column max-width-40 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.licensor ? doc.licensor : '-' }}</span>\r\n </div>\r\n <div *ngIf=\"doc.type.labelEn === 'Sale'\" class=\"d-flex flex-column max-width-40 ellipsis\">\r\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CUSTOMER' | commonTranslate: lang\r\n }}</span>\r\n <span>{{ doc.customer ? doc.customer : '-' }}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-option>\r\n </mat-autocomplete>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <span class=\"d-flex flex-column max-width-15\"></span>\r\n <div *ngIf=\"user && user.secondary\" class=\"connected-as d-flex justify-content-between align-items-center\">\r\n <span style=\"margin-right: 10px\">\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\"></span>\r\n\r\n <span [matMenuTriggerFor]=\"settings\" class=\"material-icons-outlined header-icon max-width-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:Roboto;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}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}\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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i20__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: i20__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i20__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i22__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.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: i17__namespace.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i10__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i10__namespace.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "commonTranslate": CommonTranslatePipe, "async": i20__namespace.AsyncPipe, "currency": i20__namespace.CurrencyPipe } });
1663
1831
  __decorate([
1664
1832
  Theme()
1665
1833
  ], HeaderComponent.prototype, "theme", void 0);
1666
1834
  __decorate([
1667
1835
  User()
1668
1836
  ], HeaderComponent.prototype, "user", void 0);
1669
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderComponent, decorators: [{
1837
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HeaderComponent, decorators: [{
1670
1838
  type: i0.Component,
1671
1839
  args: [{
1672
1840
  selector: 'sc-header',
@@ -1706,12 +1874,12 @@
1706
1874
  };
1707
1875
  return SubHeaderComponent;
1708
1876
  }());
1709
- SubHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SubHeaderComponent, deps: [{ token: i20.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Component });
1710
- 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: i20__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1877
+ SubHeaderComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SubHeaderComponent, deps: [{ token: i20.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Component });
1878
+ SubHeaderComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: i20__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
1711
1879
  __decorate([
1712
1880
  Theme()
1713
1881
  ], SubHeaderComponent.prototype, "theme", void 0);
1714
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: SubHeaderComponent, decorators: [{
1882
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: SubHeaderComponent, decorators: [{
1715
1883
  type: i0.Component,
1716
1884
  args: [{
1717
1885
  selector: 'sc-sub-header',
@@ -1754,9 +1922,9 @@
1754
1922
  };
1755
1923
  return AesService;
1756
1924
  }());
1757
- AesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AesService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1758
- AesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AesService });
1759
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AesService, decorators: [{
1925
+ AesService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AesService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1926
+ AesService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AesService });
1927
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AesService, decorators: [{
1760
1928
  type: i0.Injectable
1761
1929
  }], ctorParameters: function () { return []; } });
1762
1930
 
@@ -1817,9 +1985,9 @@
1817
1985
  };
1818
1986
  return MyDialogPopupLoginComponent;
1819
1987
  }());
1820
- 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 });
1821
- 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\" class=\"d-flex flex-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>\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: 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: i22__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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
1822
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: MyDialogPopupLoginComponent, decorators: [{
1988
+ MyDialogPopupLoginComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
1989
+ MyDialogPopupLoginComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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\" class=\"d-flex flex-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>\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: 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: i22__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.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "translate": i2__namespace$1.TranslatePipe } });
1990
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MyDialogPopupLoginComponent, decorators: [{
1823
1991
  type: i0.Component,
1824
1992
  args: [{
1825
1993
  selector: 'sc-popup-login',
@@ -1850,9 +2018,9 @@
1850
2018
  };
1851
2019
  return HeaderEventsService;
1852
2020
  }());
1853
- HeaderEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1854
- HeaderEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderEventsService });
1855
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HeaderEventsService, decorators: [{
2021
+ HeaderEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HeaderEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2022
+ HeaderEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HeaderEventsService });
2023
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HeaderEventsService, decorators: [{
1856
2024
  type: i0.Injectable
1857
2025
  }], ctorParameters: function () { return []; } });
1858
2026
 
@@ -1888,9 +2056,9 @@
1888
2056
  };
1889
2057
  return HistoryService;
1890
2058
  }());
1891
- 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 });
1892
- HistoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HistoryService });
1893
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: HistoryService, decorators: [{
2059
+ HistoryService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HistoryService, deps: [{ token: LocalStorageService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2060
+ HistoryService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HistoryService });
2061
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: HistoryService, decorators: [{
1894
2062
  type: i0.Injectable
1895
2063
  }], ctorParameters: function () { return [{ type: LocalStorageService }]; } });
1896
2064
 
@@ -1905,9 +2073,9 @@
1905
2073
  };
1906
2074
  return ShowIfTruncatedDirective;
1907
2075
  }());
1908
- 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 });
1909
- 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 });
1910
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ShowIfTruncatedDirective, decorators: [{
2076
+ ShowIfTruncatedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ShowIfTruncatedDirective, deps: [{ token: i1__namespace$5.MatTooltip }, { token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
2077
+ ShowIfTruncatedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: ShowIfTruncatedDirective, selector: "[matTooltip][appShowIfTruncated]", host: { listeners: { "mouseenter": "setTooltipState($event)" } }, ngImport: i0__namespace });
2078
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ShowIfTruncatedDirective, decorators: [{
1911
2079
  type: i0.Directive,
1912
2080
  args: [{
1913
2081
  selector: '[matTooltip][appShowIfTruncated]'
@@ -1930,9 +2098,9 @@
1930
2098
  };
1931
2099
  return ThirdPartyAddressPipe;
1932
2100
  }());
1933
- ThirdPartyAddressPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThirdPartyAddressPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
1934
- ThirdPartyAddressPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThirdPartyAddressPipe, name: "thirdPartyAddress" });
1935
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: ThirdPartyAddressPipe, decorators: [{
2101
+ ThirdPartyAddressPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ThirdPartyAddressPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2102
+ ThirdPartyAddressPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ThirdPartyAddressPipe, name: "thirdPartyAddress" });
2103
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ThirdPartyAddressPipe, decorators: [{
1936
2104
  type: i0.Pipe,
1937
2105
  args: [{
1938
2106
  name: 'thirdPartyAddress'
@@ -1954,9 +2122,9 @@
1954
2122
  };
1955
2123
  return FormatDurationPipe;
1956
2124
  }());
1957
- FormatDurationPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatDurationPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
1958
- FormatDurationPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatDurationPipe, name: "formatDuration" });
1959
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormatDurationPipe, decorators: [{
2125
+ FormatDurationPipe.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormatDurationPipe, deps: [], target: i0__namespace.ɵɵFactoryTarget.Pipe });
2126
+ FormatDurationPipe.ɵpipe = i0__namespace.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormatDurationPipe, name: "formatDuration" });
2127
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormatDurationPipe, decorators: [{
1960
2128
  type: i0.Pipe,
1961
2129
  args: [{
1962
2130
  name: 'formatDuration'
@@ -1984,8 +2152,8 @@
1984
2152
  };
1985
2153
  return UtilModule;
1986
2154
  }());
1987
- 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 });
1988
- UtilModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, declarations: [MyNumberFormatterDirective,
2155
+ UtilModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UtilModule, deps: [{ token: LangService }], target: i0__namespace.ɵɵFactoryTarget.NgModule });
2156
+ UtilModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UtilModule, declarations: [MyNumberFormatterDirective,
1989
2157
  CapitalizefirstPipe,
1990
2158
  SpacesNumberPipe,
1991
2159
  SanitizeHtml,
@@ -2037,7 +2205,7 @@
2037
2205
  OverlayComponent,
2038
2206
  SubHeaderComponent,
2039
2207
  ShowIfTruncatedDirective] });
2040
- UtilModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, providers: [
2208
+ UtilModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UtilModule, providers: [
2041
2209
  {
2042
2210
  provide: i2.HTTP_INTERCEPTORS,
2043
2211
  useClass: InterceptorHttpService,
@@ -2084,7 +2252,7 @@
2084
2252
  i17.MatAutocompleteModule,
2085
2253
  ngSelect.NgSelectModule
2086
2254
  ]] });
2087
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: UtilModule, decorators: [{
2255
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: UtilModule, decorators: [{
2088
2256
  type: i0.NgModule,
2089
2257
  args: [{
2090
2258
  imports: [
@@ -2273,9 +2441,9 @@
2273
2441
  };
2274
2442
  return RegexService;
2275
2443
  }());
2276
- RegexService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: RegexService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2277
- RegexService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: RegexService });
2278
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: RegexService, decorators: [{
2444
+ RegexService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RegexService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
2445
+ RegexService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RegexService });
2446
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: RegexService, decorators: [{
2279
2447
  type: i0.Injectable
2280
2448
  }] });
2281
2449
 
@@ -2555,9 +2723,9 @@
2555
2723
  };
2556
2724
  return CustomDateAdapter;
2557
2725
  }(i18.NativeDateAdapter));
2558
- 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 });
2559
- CustomDateAdapter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CustomDateAdapter });
2560
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: CustomDateAdapter, decorators: [{
2726
+ CustomDateAdapter.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CustomDateAdapter, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
2727
+ CustomDateAdapter.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CustomDateAdapter });
2728
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: CustomDateAdapter, decorators: [{
2561
2729
  type: i0.Injectable
2562
2730
  }] });
2563
2731
 
@@ -4957,9 +5125,9 @@
4957
5125
  };
4958
5126
  return FormActionsEventsService;
4959
5127
  }());
4960
- FormActionsEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormActionsEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
4961
- FormActionsEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormActionsEventsService });
4962
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: FormActionsEventsService, decorators: [{
5128
+ FormActionsEventsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormActionsEventsService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
5129
+ FormActionsEventsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormActionsEventsService });
5130
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FormActionsEventsService, decorators: [{
4963
5131
  type: i0.Injectable
4964
5132
  }], ctorParameters: function () { return []; } });
4965
5133
 
@@ -5028,9 +5196,9 @@
5028
5196
  };
5029
5197
  return AuthGuard;
5030
5198
  }());
5031
- 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 });
5032
- AuthGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthGuard });
5033
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthGuard, decorators: [{
5199
+ AuthGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
5200
+ AuthGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AuthGuard });
5201
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AuthGuard, decorators: [{
5034
5202
  type: i0.Injectable
5035
5203
  }], ctorParameters: function () {
5036
5204
  return [{ type: i1__namespace$3.Router }, { type: i2__namespace.HttpClient }, { type: i1__namespace.CookieService }, { type: CommonApiService }, { type: undefined, decorators: [{
@@ -5058,9 +5226,9 @@
5058
5226
  };
5059
5227
  return LoginGuard;
5060
5228
  }());
5061
- 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 });
5062
- LoginGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LoginGuard });
5063
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: LoginGuard, decorators: [{
5229
+ LoginGuard.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", 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 });
5230
+ LoginGuard.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LoginGuard });
5231
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: LoginGuard, decorators: [{
5064
5232
  type: i0.Injectable
5065
5233
  }], ctorParameters: function () {
5066
5234
  return [{ type: i2__namespace.HttpClient }, { type: i2__namespace$1.TranslateService }, { type: i1__namespace$4.MatDialog }, { type: undefined, decorators: [{
@@ -5139,9 +5307,9 @@
5139
5307
  };
5140
5308
  return AuthInterceptor;
5141
5309
  }());
5142
- 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 });
5143
- AuthInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthInterceptor });
5144
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.2", ngImport: i0__namespace, type: AuthInterceptor, decorators: [{
5310
+ AuthInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AuthInterceptor, deps: [{ token: CommonApiService }, { token: i1__namespace.CookieService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
5311
+ AuthInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AuthInterceptor });
5312
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: AuthInterceptor, decorators: [{
5145
5313
  type: i0.Injectable
5146
5314
  }], ctorParameters: function () { return [{ type: CommonApiService }, { type: i1__namespace.CookieService }]; } });
5147
5315
 
@@ -5171,7 +5339,7 @@
5171
5339
  return rxjs.of({});
5172
5340
  }));
5173
5341
  });
5174
- return rxjs.forkJoin(requests).pipe(operators.map(function (response) { return merge__default['default'].all(response); }));
5342
+ return rxjs.forkJoin(requests).pipe(operators.map(function (response) { return merge__default["default"].all(response); }));
5175
5343
  };
5176
5344
  return MultiTranslateHttpLoader;
5177
5345
  }());
@@ -5334,5 +5502,5 @@
5334
5502
 
5335
5503
  Object.defineProperty(exports, '__esModule', { value: true });
5336
5504
 
5337
- })));
5505
+ }));
5338
5506
  //# sourceMappingURL=new-front-common-library.umd.js.map