@yuuvis/client-core 2.20.0 → 3.0.0-beta.20.0

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 (102) hide show
  1. package/fesm2022/yuuvis-client-core.mjs +173 -169
  2. package/fesm2022/yuuvis-client-core.mjs.map +1 -1
  3. package/index.d.ts +3255 -68
  4. package/package.json +6 -6
  5. package/lib/common/pipes/filesize.pipe.d.ts +0 -18
  6. package/lib/common/pipes/index.d.ts +0 -5
  7. package/lib/common/pipes/keys.pipe.d.ts +0 -10
  8. package/lib/common/pipes/locale-date.pipe.d.ts +0 -12
  9. package/lib/common/pipes/locale-number.pipe.d.ts +0 -47
  10. package/lib/common/pipes/safe-html.pipe.d.ts +0 -28
  11. package/lib/common/services/native-notifications.d.ts +0 -8
  12. package/lib/common/services/native-notifications.interface.d.ts +0 -5
  13. package/lib/model/dms-object.interface.d.ts +0 -22
  14. package/lib/model/dms-object.model.d.ts +0 -26
  15. package/lib/model/file-upload-options.model.d.ts +0 -5
  16. package/lib/model/object-flavor.interface.d.ts +0 -46
  17. package/lib/model/range-value.interface.d.ts +0 -9
  18. package/lib/model/yuv-error.model.d.ts +0 -18
  19. package/lib/model/yuv-user.model.d.ts +0 -42
  20. package/lib/provider/available-backend-apps/available-backend-apps.model.d.ts +0 -6
  21. package/lib/provider/available-backend-apps/available-backend-apps.provider.d.ts +0 -6
  22. package/lib/provider/available-backend-apps/index.d.ts +0 -2
  23. package/lib/provider/index.d.ts +0 -3
  24. package/lib/provider/navigation/index.d.ts +0 -3
  25. package/lib/provider/navigation/provide.before.unload.guard.d.ts +0 -12
  26. package/lib/provider/navigation/provide.navigation-protection.d.ts +0 -2
  27. package/lib/provider/navigation/provide.popstate-dialog.guard.d.ts +0 -14
  28. package/lib/provider/provide.client.core.d.ts +0 -5
  29. package/lib/service/audit/audit.interface.d.ts +0 -47
  30. package/lib/service/audit/audit.service.d.ts +0 -37
  31. package/lib/service/auth/auth.interceptor.d.ts +0 -6
  32. package/lib/service/auth/auth.interface.d.ts +0 -34
  33. package/lib/service/auth/auth.service.d.ts +0 -54
  34. package/lib/service/backend/api.enum.d.ts +0 -7
  35. package/lib/service/backend/backend.interface.d.ts +0 -21
  36. package/lib/service/backend/backend.service.d.ts +0 -145
  37. package/lib/service/bpm/bpm.interface.d.ts +0 -87
  38. package/lib/service/bpm/bpm.service.d.ts +0 -19
  39. package/lib/service/cache/app-cache.service.d.ts +0 -43
  40. package/lib/service/catalog/catalog.interface.d.ts +0 -12
  41. package/lib/service/catalog/catalog.service.d.ts +0 -5
  42. package/lib/service/client-cache/client-cache.interface.d.ts +0 -5
  43. package/lib/service/client-cache/client-cache.service.d.ts +0 -35
  44. package/lib/service/clipboard/clipboard.interface.d.ts +0 -11
  45. package/lib/service/clipboard/clipboard.service.d.ts +0 -24
  46. package/lib/service/config/config.interface.d.ts +0 -34
  47. package/lib/service/config/config.service.d.ts +0 -37
  48. package/lib/service/config/core-config.d.ts +0 -12
  49. package/lib/service/config/core-config.tokens.d.ts +0 -7
  50. package/lib/service/connection/connection.service.d.ts +0 -31
  51. package/lib/service/connection/offline.interceptor.d.ts +0 -6
  52. package/lib/service/core-init/core-init.service.d.ts +0 -5
  53. package/lib/service/core-init/missing-translation-handler.d.ts +0 -8
  54. package/lib/service/core-init/translate-json-loader.d.ts +0 -20
  55. package/lib/service/device/device.interface.d.ts +0 -15
  56. package/lib/service/device/device.service.d.ts +0 -62
  57. package/lib/service/dms/dms.service.d.ts +0 -207
  58. package/lib/service/dms/dms.service.interface.d.ts +0 -60
  59. package/lib/service/event/custom.events.token.d.ts +0 -3
  60. package/lib/service/event/event.interface.d.ts +0 -36
  61. package/lib/service/event/event.service.d.ts +0 -30
  62. package/lib/service/event/events.d.ts +0 -22
  63. package/lib/service/idm/idm.service.d.ts +0 -43
  64. package/lib/service/idm/models/idm-cached-user.model.d.ts +0 -11
  65. package/lib/service/idm/models/idm-user-cache.model.d.ts +0 -9
  66. package/lib/service/idm/models/idm-user-response.model.d.ts +0 -24
  67. package/lib/service/idm/models/index.d.ts +0 -4
  68. package/lib/service/idm/models/organization-set-entry.model.d.ts +0 -12
  69. package/lib/service/logger/logger.interface.d.ts +0 -10
  70. package/lib/service/logger/logger.service.d.ts +0 -20
  71. package/lib/service/notification/notification.service.d.ts +0 -71
  72. package/lib/service/object-config/object-config.interface.d.ts +0 -62
  73. package/lib/service/object-config/object-config.service.d.ts +0 -40
  74. package/lib/service/object-form/object-form.interface.d.ts +0 -46
  75. package/lib/service/object-form/object-form.model.d.ts +0 -45
  76. package/lib/service/pending-changes/index.d.ts +0 -4
  77. package/lib/service/pending-changes/pending-changes-component.interface.d.ts +0 -6
  78. package/lib/service/pending-changes/pending-changes-dialog.guard.service.d.ts +0 -128
  79. package/lib/service/pending-changes/pending-changes-guard.service.d.ts +0 -14
  80. package/lib/service/pending-changes/pending-changes-tab.guard.directive.d.ts +0 -9
  81. package/lib/service/pending-changes/pending-changes.service.d.ts +0 -58
  82. package/lib/service/prediction/prediction.interface.d.ts +0 -18
  83. package/lib/service/prediction/prediction.service.d.ts +0 -15
  84. package/lib/service/retention/retention.interface.d.ts +0 -5
  85. package/lib/service/retention/retention.service.d.ts +0 -26
  86. package/lib/service/search/search.service.d.ts +0 -55
  87. package/lib/service/search/search.service.interface.d.ts +0 -123
  88. package/lib/service/search/search.utils.d.ts +0 -18
  89. package/lib/service/session-storage/session-storage.service.d.ts +0 -15
  90. package/lib/service/system/system.enum.d.ts +0 -143
  91. package/lib/service/system/system.interface.d.ts +0 -165
  92. package/lib/service/system/system.service.d.ts +0 -175
  93. package/lib/service/toast/toast.interface.d.ts +0 -8
  94. package/lib/service/toast/toast.service.d.ts +0 -17
  95. package/lib/service/toast/toast.styles.d.ts +0 -1
  96. package/lib/service/upload/upload.interface.d.ts +0 -56
  97. package/lib/service/upload/upload.service.d.ts +0 -160
  98. package/lib/service/user/user-storage.service.d.ts +0 -18
  99. package/lib/service/user/user.providers.d.ts +0 -4
  100. package/lib/service/user/user.service.d.ts +0 -67
  101. package/lib/util/utils.d.ts +0 -123
  102. package/lib/util/utils.helper.enum.d.ts +0 -13
@@ -1,19 +1,20 @@
1
1
  import * as i1 from '@ngx-translate/core';
2
- import { TranslateService, TranslateLoader, MissingTranslationHandler, TranslateModule } from '@ngx-translate/core';
2
+ import { TranslateService, provideTranslateService, provideMissingTranslationHandler, provideTranslateLoader } from '@ngx-translate/core';
3
3
  export { TranslateDirective, TranslateLoader, TranslateModule, TranslatePipe, TranslateService } from '@ngx-translate/core';
4
+ import * as i1$2 from '@angular/common/http';
4
5
  import { HttpErrorResponse, HttpClient, HttpHeaders, HttpRequest, HttpParams, HttpResponse, HttpEventType, provideHttpClient, withInterceptors } from '@angular/common/http';
5
6
  import * as i0 from '@angular/core';
6
- import { inject, Injectable, InjectionToken, NgZone, Inject, signal, Directive, Pipe, provideEnvironmentInitializer, makeEnvironmentProviders, importProvidersFrom, provideAppInitializer } from '@angular/core';
7
+ import { inject, Injectable, InjectionToken, NgZone, DOCUMENT, Inject, signal, Directive, Pipe, provideEnvironmentInitializer, makeEnvironmentProviders, provideAppInitializer } from '@angular/core';
7
8
  import { tap, finalize, shareReplay, catchError, map, switchMap, first, filter, scan, delay } from 'rxjs/operators';
8
9
  import { EMPTY, Subject, of, forkJoin, Observable, ReplaySubject, BehaviorSubject, tap as tap$1, map as map$1, merge, fromEvent, filter as filter$1, debounceTime, throwError, catchError as catchError$1, switchMap as switchMap$1, isObservable } from 'rxjs';
9
10
  import { StorageMap } from '@ngx-pwa/local-storage';
10
- import { DOCUMENT, DecimalPipe, PercentPipe, CurrencyPipe, registerLocaleData } from '@angular/common';
11
11
  import { __decorate, __param, __metadata } from 'tslib';
12
12
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
13
13
  import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
14
14
  import { DeviceDetectorService } from 'ngx-device-detector';
15
15
  import { FormGroup, FormControl } from '@angular/forms';
16
16
  import { MatTabGroup } from '@angular/material/tabs';
17
+ import { DecimalPipe, PercentPipe, CurrencyPipe, registerLocaleData } from '@angular/common';
17
18
  import * as i1$1 from '@angular/platform-browser';
18
19
  import { MatDialog } from '@angular/material/dialog';
19
20
  import { Router, NavigationEnd } from '@angular/router';
@@ -844,16 +845,15 @@ class ConfigService {
844
845
  this.translate.addLangs(languages);
845
846
  const browserLang = this.translate.getBrowserLang();
846
847
  const defaultLang = browserLang && languages.includes(browserLang) ? browserLang : this.getDefaultClientLocale();
847
- this.translate.setDefaultLang(defaultLang);
848
+ this.translate.setFallbackLang(defaultLang);
848
849
  this.translate.use(defaultLang);
849
850
  this.extendTranslations(defaultLang);
850
851
  }
851
852
  get(configKey) {
852
853
  return configKey ? Utils.getProperty(this.cfg, configKey) : null;
853
854
  }
854
- extendTranslations(translations, lang = this.translate.currentLang) {
855
- const allKeys = translations && Object.keys(this.translate.store?.translations[lang] || {});
856
- if (translations && !Object.keys(translations).every((k) => allKeys.includes(k))) {
855
+ extendTranslations(translations, lang = this.translate.getCurrentLang()) {
856
+ if (translations) {
857
857
  this.translate.setTranslation(lang, translations, true);
858
858
  }
859
859
  }
@@ -891,10 +891,10 @@ class ConfigService {
891
891
  _getCoreConfig(key) {
892
892
  return this.cfg ? this.cfg.core[key] : undefined;
893
893
  }
894
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
895
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ConfigService, providedIn: 'root' }); }
894
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
895
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ConfigService, providedIn: 'root' }); }
896
896
  }
897
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ConfigService, decorators: [{
897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ConfigService, decorators: [{
898
898
  type: Injectable,
899
899
  args: [{
900
900
  providedIn: 'root'
@@ -960,10 +960,10 @@ class Logger {
960
960
  }
961
961
  return should;
962
962
  }
963
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: Logger, deps: [{ token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
964
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: Logger, providedIn: 'root' }); }
963
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: Logger, deps: [{ token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
964
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: Logger, providedIn: 'root' }); }
965
965
  }
966
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: Logger, decorators: [{
966
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: Logger, decorators: [{
967
967
  type: Injectable,
968
968
  args: [{
969
969
  providedIn: 'root'
@@ -1244,10 +1244,10 @@ class BackendService {
1244
1244
  .pipe(catchError((err) => of({ _error: err }))));
1245
1245
  return forkJoin(httpRequests);
1246
1246
  }
1247
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BackendService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1248
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BackendService, providedIn: 'root' }); }
1247
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: BackendService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1248
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: BackendService, providedIn: 'root' }); }
1249
1249
  }
1250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BackendService, decorators: [{
1250
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: BackendService, decorators: [{
1251
1251
  type: Injectable,
1252
1252
  args: [{ providedIn: 'root' }]
1253
1253
  }] });
@@ -1352,10 +1352,10 @@ class AppCacheService {
1352
1352
  setStorage(options) {
1353
1353
  return forkJoin(Object.keys(options || {}).map((k) => this.setItem(k, options[k])));
1354
1354
  }
1355
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AppCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1356
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AppCacheService, providedIn: 'root' }); }
1355
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AppCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1356
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AppCacheService, providedIn: 'root' }); }
1357
1357
  }
1358
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AppCacheService, decorators: [{
1358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AppCacheService, decorators: [{
1359
1359
  type: Injectable,
1360
1360
  args: [{
1361
1361
  providedIn: 'root'
@@ -2024,10 +2024,10 @@ class SystemService {
2024
2024
  ])
2025
2025
  .pipe(map(([global, tenant]) => ({ global, tenant })));
2026
2026
  }
2027
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SystemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2028
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SystemService, providedIn: 'root' }); }
2027
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SystemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2028
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SystemService, providedIn: 'root' }); }
2029
2029
  }
2030
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SystemService, decorators: [{
2030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SystemService, decorators: [{
2031
2031
  type: Injectable,
2032
2032
  args: [{
2033
2033
  providedIn: 'root'
@@ -2313,10 +2313,10 @@ class SearchService {
2313
2313
  return isoDateString;
2314
2314
  }
2315
2315
  }
2316
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2317
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SearchService, providedIn: 'root' }); }
2316
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2317
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SearchService, providedIn: 'root' }); }
2318
2318
  }
2319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SearchService, decorators: [{
2319
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SearchService, decorators: [{
2320
2320
  type: Injectable,
2321
2321
  args: [{
2322
2322
  providedIn: 'root'
@@ -2402,10 +2402,10 @@ class EventService {
2402
2402
  on(...types) {
2403
2403
  return this.event$.pipe(filter((event) => event && !!types.find((t) => t === event.type)));
2404
2404
  }
2405
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: EventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2406
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: EventService, providedIn: 'root' }); }
2405
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2406
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EventService, providedIn: 'root' }); }
2407
2407
  }
2408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: EventService, decorators: [{
2408
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EventService, decorators: [{
2409
2409
  type: Injectable,
2410
2410
  args: [{
2411
2411
  providedIn: 'root'
@@ -2516,7 +2516,7 @@ class UserService {
2516
2516
  this.#document.body.dir = this.#user.uiDirection;
2517
2517
  this.#document.documentElement.lang = iso;
2518
2518
  this.#user.userSettings.locale = iso;
2519
- if (this.translate.currentLang !== iso || this.system.authData?.language !== iso) {
2519
+ if (this.translate.getCurrentLang() !== iso || this.system.authData?.language !== iso) {
2520
2520
  const ob = persist
2521
2521
  ? forkJoin([
2522
2522
  this.translate.use(iso),
@@ -2603,10 +2603,10 @@ class UserService {
2603
2603
  loadObjectConfig() {
2604
2604
  return this.getSettings(this.#SETTINGS_SECTION_OBJECTCONFIG).pipe(catchError(() => of(undefined)));
2605
2605
  }
2606
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UserService, deps: [{ token: BackendService }, { token: i1.TranslateService }, { token: Logger }, { token: SystemService }, { token: EventService }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2607
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UserService, providedIn: 'root' }); }
2606
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UserService, deps: [{ token: BackendService }, { token: i1.TranslateService }, { token: Logger }, { token: SystemService }, { token: EventService }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
2607
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UserService, providedIn: 'root' }); }
2608
2608
  }
2609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UserService, decorators: [{
2609
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UserService, decorators: [{
2610
2610
  type: Injectable,
2611
2611
  args: [{
2612
2612
  providedIn: 'root'
@@ -2733,10 +2733,10 @@ class AuditService {
2733
2733
  return -1;
2734
2734
  }
2735
2735
  }
2736
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AuditService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2737
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AuditService, providedIn: 'root' }); }
2736
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AuditService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2737
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AuditService, providedIn: 'root' }); }
2738
2738
  }
2739
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AuditService, decorators: [{
2739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AuditService, decorators: [{
2740
2740
  type: Injectable,
2741
2741
  args: [{
2742
2742
  providedIn: 'root'
@@ -3029,10 +3029,10 @@ class ObjectConfigService {
3029
3029
  }
3030
3030
  : undefined;
3031
3031
  }
3032
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ObjectConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3033
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ObjectConfigService, providedIn: 'root' }); }
3032
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObjectConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3033
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObjectConfigService, providedIn: 'root' }); }
3034
3034
  }
3035
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ObjectConfigService, decorators: [{
3035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObjectConfigService, decorators: [{
3036
3036
  type: Injectable,
3037
3037
  args: [{
3038
3038
  providedIn: 'root'
@@ -3119,16 +3119,20 @@ class AuthService {
3119
3119
  */
3120
3120
  setInitialRequestUri() {
3121
3121
  const ignore = ['/', '/index.html'];
3122
- let uri = `${location.pathname}${location.search}`.replace(Utils.getBaseHref(), '');
3123
- uri = !uri.startsWith('/') ? `/${uri}` : uri;
3124
- if (!ignore.includes(uri)) {
3125
- this.#appCache
3126
- .setItem(this.#INITIAL_REQUEST_STORAGE_KEY, {
3122
+ const baseHref = Utils.getBaseHref();
3123
+ // Check only the pathname against the ignore list so that auth callback
3124
+ // query params (e.g. ?session_state=…) don't bypass the check.
3125
+ let path = location.pathname.replace(baseHref, '');
3126
+ path = !path.startsWith('/') ? `/${path}` : path;
3127
+ if (!ignore.includes(path)) {
3128
+ let uri = `${location.pathname}${location.search}`.replace(baseHref, '');
3129
+ uri = !uri.startsWith('/') ? `/${uri}` : uri;
3130
+ return this.#appCache.setItem(this.#INITIAL_REQUEST_STORAGE_KEY, {
3127
3131
  uri: uri,
3128
3132
  timestamp: Date.now()
3129
- })
3130
- .subscribe();
3133
+ });
3131
3134
  }
3135
+ return of(false);
3132
3136
  }
3133
3137
  /**
3134
3138
  * Get the URL that entered the app. May be a deep link that could then be
@@ -3156,10 +3160,10 @@ class AuthService {
3156
3160
  return this.#systemService.getSystemDefinition(this.#authData).pipe(switchMap(() => this.#objectConfigService.init()), map(() => currentUser));
3157
3161
  }));
3158
3162
  }
3159
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AuthService, deps: [{ token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
3160
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AuthService, providedIn: 'root' }); }
3163
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AuthService, deps: [{ token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
3164
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AuthService, providedIn: 'root' }); }
3161
3165
  }
3162
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: AuthService, decorators: [{
3166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: AuthService, decorators: [{
3163
3167
  type: Injectable,
3164
3168
  args: [{
3165
3169
  providedIn: 'root'
@@ -3210,10 +3214,10 @@ class BpmService {
3210
3214
  const pl = { ...payload, action: action };
3211
3215
  return this.#backend.put(`/bpm/tasks/${taskId}`, pl, ApiBase.apiWeb);
3212
3216
  }
3213
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BpmService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3214
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BpmService, providedIn: 'root' }); }
3217
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: BpmService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3218
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: BpmService, providedIn: 'root' }); }
3215
3219
  }
3216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: BpmService, decorators: [{
3220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: BpmService, decorators: [{
3217
3221
  type: Injectable,
3218
3222
  args: [{
3219
3223
  providedIn: 'root'
@@ -3221,10 +3225,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
3221
3225
  }] });
3222
3226
 
3223
3227
  class CatalogService {
3224
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CatalogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3225
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CatalogService, providedIn: 'root' }); }
3228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: CatalogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3229
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: CatalogService, providedIn: 'root' }); }
3226
3230
  }
3227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CatalogService, decorators: [{
3231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: CatalogService, decorators: [{
3228
3232
  type: Injectable,
3229
3233
  args: [{
3230
3234
  providedIn: 'root'
@@ -3282,10 +3286,10 @@ class ClientCacheService {
3282
3286
  clear() {
3283
3287
  return this.#appCacheService.clear((k) => k.startsWith(this.#CLIENT_CACHE_PREFIX));
3284
3288
  }
3285
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ClientCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3286
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ClientCacheService, providedIn: 'root' }); }
3289
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ClientCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3290
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ClientCacheService, providedIn: 'root' }); }
3287
3291
  }
3288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ClientCacheService, decorators: [{
3292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ClientCacheService, decorators: [{
3289
3293
  type: Injectable,
3290
3294
  args: [{
3291
3295
  providedIn: 'root'
@@ -3377,10 +3381,10 @@ class ClipboardService {
3377
3381
  console.error('Failed to copy text: ', error);
3378
3382
  }
3379
3383
  }
3380
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ClipboardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3381
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ClipboardService, providedIn: 'root' }); }
3384
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ClipboardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3385
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ClipboardService, providedIn: 'root' }); }
3382
3386
  }
3383
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ClipboardService, decorators: [{
3387
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ClipboardService, decorators: [{
3384
3388
  type: Injectable,
3385
3389
  args: [{
3386
3390
  providedIn: 'root'
@@ -3416,10 +3420,10 @@ class ConnectionService {
3416
3420
  this.connectionStateSource.next(this.currentState);
3417
3421
  });
3418
3422
  }
3419
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ConnectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3420
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ConnectionService, providedIn: 'root' }); }
3423
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ConnectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3424
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ConnectionService, providedIn: 'root' }); }
3421
3425
  }
3422
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ConnectionService, decorators: [{
3426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ConnectionService, decorators: [{
3423
3427
  type: Injectable,
3424
3428
  args: [{
3425
3429
  providedIn: 'root'
@@ -3435,8 +3439,7 @@ const init_moduleFnc = () => {
3435
3439
  const http = inject(HttpClient);
3436
3440
  const configService = inject(ConfigService);
3437
3441
  const authService = inject(AuthService);
3438
- authService.setInitialRequestUri();
3439
- return coreConfig.main
3442
+ return authService.setInitialRequestUri().pipe(switchMap(() => coreConfig.main
3440
3443
  ? !Array.isArray(coreConfig.main)
3441
3444
  ? of([coreConfig.main])
3442
3445
  : forkJoin([...coreConfig.main].map((uri) => http.get(`${Utils.getBaseHref()}${uri}`).pipe(catchError((e) => {
@@ -3451,7 +3454,7 @@ const init_moduleFnc = () => {
3451
3454
  };
3452
3455
  return of(true);
3453
3456
  }))))
3454
- : of(false);
3457
+ : of(false)));
3455
3458
  };
3456
3459
 
3457
3460
  var DeviceScreenOrientation;
@@ -3513,8 +3516,8 @@ class DeviceService {
3513
3516
  * This will only be triggered if `supportsSmallScreens` is set to true.
3514
3517
  * Major components will use this metric to adapt to 'small screen behavior' and so can you
3515
3518
  */
3516
- this.smallScreenLayout = signal(false);
3517
- this.#supportsSmallScreens = signal(false);
3519
+ this.smallScreenLayout = signal(false, ...(ngDevMode ? [{ debugName: "smallScreenLayout" }] : []));
3520
+ this.#supportsSmallScreens = signal(false, ...(ngDevMode ? [{ debugName: "#supportsSmallScreens" }] : []));
3518
3521
  /**
3519
3522
  * if the device is a mobile device (android / iPhone / windows-phone etc)
3520
3523
  */
@@ -3601,10 +3604,10 @@ class DeviceService {
3601
3604
  // keyboard appears, so we dont't need to debounce
3602
3605
  return this.isMobile ? 0 : 500;
3603
3606
  }
3604
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3605
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeviceService, providedIn: 'root' }); }
3607
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DeviceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3608
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DeviceService, providedIn: 'root' }); }
3606
3609
  }
3607
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DeviceService, decorators: [{
3610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DeviceService, decorators: [{
3608
3611
  type: Injectable,
3609
3612
  args: [{
3610
3613
  providedIn: 'root'
@@ -3971,10 +3974,10 @@ class UploadService {
3971
3974
  this.#statusSource.next(this.#status);
3972
3975
  });
3973
3976
  }
3974
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3975
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UploadService, providedIn: 'root' }); }
3977
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UploadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
3978
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UploadService, providedIn: 'root' }); }
3976
3979
  }
3977
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UploadService, decorators: [{
3980
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UploadService, decorators: [{
3978
3981
  type: Injectable,
3979
3982
  args: [{
3980
3983
  providedIn: 'root'
@@ -4500,10 +4503,10 @@ class DmsService {
4500
4503
  #searchResultToDmsObject(resItem) {
4501
4504
  return new DmsObject(resItem);
4502
4505
  }
4503
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DmsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4504
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DmsService, providedIn: 'root' }); }
4506
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DmsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4507
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DmsService, providedIn: 'root' }); }
4505
4508
  }
4506
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DmsService, decorators: [{
4509
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DmsService, decorators: [{
4507
4510
  type: Injectable,
4508
4511
  args: [{
4509
4512
  providedIn: 'root'
@@ -4598,10 +4601,10 @@ class IdmService {
4598
4601
  }
4599
4602
  });
4600
4603
  }
4601
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IdmService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4602
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IdmService, providedIn: 'root' }); }
4604
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: IdmService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4605
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: IdmService, providedIn: 'root' }); }
4603
4606
  }
4604
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: IdmService, decorators: [{
4607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: IdmService, decorators: [{
4605
4608
  type: Injectable,
4606
4609
  args: [{
4607
4610
  providedIn: 'root'
@@ -4783,10 +4786,10 @@ class ToastService {
4783
4786
  style.innerHTML = YuvToastStyles;
4784
4787
  this.document.head.appendChild(style);
4785
4788
  }
4786
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToastService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
4787
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToastService, providedIn: 'root' }); }
4789
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ToastService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
4790
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ToastService, providedIn: 'root' }); }
4788
4791
  }
4789
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ToastService, decorators: [{
4792
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ToastService, decorators: [{
4790
4793
  type: Injectable,
4791
4794
  args: [{
4792
4795
  providedIn: 'root'
@@ -4911,10 +4914,10 @@ class NotificationService {
4911
4914
  }
4912
4915
  }
4913
4916
  }
4914
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4915
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NotificationService, providedIn: 'root' }); }
4917
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4918
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NotificationService, providedIn: 'root' }); }
4916
4919
  }
4917
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NotificationService, decorators: [{
4920
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NotificationService, decorators: [{
4918
4921
  type: Injectable,
4919
4922
  args: [{
4920
4923
  providedIn: 'root'
@@ -5051,10 +5054,10 @@ class PendingChangesService {
5051
5054
  this.#tasks = [];
5052
5055
  this.#tasksSource.next(this.#tasks);
5053
5056
  }
5054
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PendingChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5055
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PendingChangesService, providedIn: 'root' }); }
5057
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PendingChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5058
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PendingChangesService, providedIn: 'root' }); }
5056
5059
  }
5057
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PendingChangesService, decorators: [{
5060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PendingChangesService, decorators: [{
5058
5061
  type: Injectable,
5059
5062
  args: [{
5060
5063
  providedIn: 'root'
@@ -5072,10 +5075,10 @@ class PendingChangesGuard {
5072
5075
  // if there are no pending changes, just allow deactivation; else confirm first
5073
5076
  return !this.pendingChanges.check(component);
5074
5077
  }
5075
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PendingChangesGuard, deps: [{ token: PendingChangesService }], target: i0.ɵɵFactoryTarget.Injectable }); }
5076
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PendingChangesGuard, providedIn: 'root' }); }
5078
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PendingChangesGuard, deps: [{ token: PendingChangesService }], target: i0.ɵɵFactoryTarget.Injectable }); }
5079
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PendingChangesGuard, providedIn: 'root' }); }
5077
5080
  }
5078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PendingChangesGuard, decorators: [{
5081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PendingChangesGuard, decorators: [{
5079
5082
  type: Injectable,
5080
5083
  args: [{
5081
5084
  providedIn: 'root'
@@ -5230,10 +5233,10 @@ class DialogCloseGuard {
5230
5233
  dialogRef.disableClose = true;
5231
5234
  return merge(dialogRef.backdropClick(), dialogRef.keydownEvents().pipe(filter$1((event) => event.key === 'Escape'))).pipe(switchMap$1(() => of(this.#pendingChangesService.check())), map$1((canClose) => !canClose && dialogRef.close()));
5232
5235
  }
5233
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DialogCloseGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5234
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DialogCloseGuard }); }
5236
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogCloseGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5237
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogCloseGuard }); }
5235
5238
  }
5236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: DialogCloseGuard, decorators: [{
5239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogCloseGuard, decorators: [{
5237
5240
  type: Injectable
5238
5241
  }] });
5239
5242
 
@@ -5251,10 +5254,10 @@ class TabGuardDirective {
5251
5254
  const hasPending = this.#pending.hasPendingTask();
5252
5255
  this.#tabGroup._tabs.forEach((tab, i) => (tab.disabled = hasPending && i !== activeIndex));
5253
5256
  }
5254
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TabGuardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5255
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.20", type: TabGuardDirective, isStandalone: true, selector: "mat-tab-group[yuvTabGuardDisable]", ngImport: i0 }); }
5257
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: TabGuardDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5258
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: TabGuardDirective, isStandalone: true, selector: "mat-tab-group[yuvTabGuardDisable]", ngImport: i0 }); }
5256
5259
  }
5257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TabGuardDirective, decorators: [{
5260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: TabGuardDirective, decorators: [{
5258
5261
  type: Directive,
5259
5262
  args: [{
5260
5263
  selector: 'mat-tab-group[yuvTabGuardDisable]'
@@ -5305,10 +5308,10 @@ class PredictionService {
5305
5308
  }
5306
5309
  }), {})));
5307
5310
  }
5308
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PredictionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5309
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PredictionService, providedIn: 'root' }); }
5311
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PredictionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5312
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PredictionService, providedIn: 'root' }); }
5310
5313
  }
5311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PredictionService, decorators: [{
5314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PredictionService, decorators: [{
5312
5315
  type: Injectable,
5313
5316
  args: [{
5314
5317
  providedIn: 'root'
@@ -5367,10 +5370,10 @@ class RetentionService {
5367
5370
  else
5368
5371
  return { underRetention: false };
5369
5372
  }
5370
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: RetentionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5371
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: RetentionService, providedIn: 'root' }); }
5373
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: RetentionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5374
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: RetentionService, providedIn: 'root' }); }
5372
5375
  }
5373
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: RetentionService, decorators: [{
5376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: RetentionService, decorators: [{
5374
5377
  type: Injectable,
5375
5378
  args: [{
5376
5379
  providedIn: 'root'
@@ -5559,10 +5562,10 @@ class SessionStorageService {
5559
5562
  }
5560
5563
  return res;
5561
5564
  }
5562
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SessionStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5563
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SessionStorageService, providedIn: 'root' }); }
5565
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SessionStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5566
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SessionStorageService, providedIn: 'root' }); }
5564
5567
  }
5565
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SessionStorageService, decorators: [{
5568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SessionStorageService, decorators: [{
5566
5569
  type: Injectable,
5567
5570
  args: [{
5568
5571
  providedIn: 'root'
@@ -5593,10 +5596,10 @@ class UserStorageService {
5593
5596
  #sanitizeSection(section) {
5594
5597
  return encodeURIComponent(section);
5595
5598
  }
5596
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UserStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5597
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UserStorageService, providedIn: 'root' }); }
5599
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UserStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5600
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UserStorageService, providedIn: 'root' }); }
5598
5601
  }
5599
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: UserStorageService, decorators: [{
5602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UserStorageService, decorators: [{
5600
5603
  type: Injectable,
5601
5604
  args: [{
5602
5605
  providedIn: 'root'
@@ -5608,16 +5611,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
5608
5611
  */
5609
5612
  class LocaleDecimalPipe extends DecimalPipe {
5610
5613
  constructor(translate) {
5611
- super(translate.currentLang || 'en');
5614
+ super(translate.getCurrentLang() || 'en');
5612
5615
  this.translate = translate;
5613
5616
  }
5614
5617
  transform(value, digits, locale) {
5615
- return super.transform(value, digits, locale || this.translate.currentLang || 'en');
5618
+ return super.transform(value, digits, locale || this.translate.getCurrentLang() || 'en');
5616
5619
  }
5617
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleDecimalPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5618
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: LocaleDecimalPipe, isStandalone: true, name: "localeDecimal" }); }
5620
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleDecimalPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5621
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: LocaleDecimalPipe, isStandalone: true, name: "localeDecimal" }); }
5619
5622
  }
5620
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleDecimalPipe, decorators: [{
5623
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleDecimalPipe, decorators: [{
5621
5624
  type: Pipe,
5622
5625
  args: [{
5623
5626
  name: 'localeDecimal',
@@ -5629,16 +5632,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
5629
5632
  */
5630
5633
  class LocalePercentPipe extends PercentPipe {
5631
5634
  constructor(translate) {
5632
- super(translate.currentLang || 'en');
5635
+ super(translate.getCurrentLang() || 'en');
5633
5636
  this.translate = translate;
5634
5637
  }
5635
5638
  transform(value, digits, locale) {
5636
- return super.transform(value, digits, locale || this.translate.currentLang || 'en');
5639
+ return super.transform(value, digits, locale || this.translate.getCurrentLang() || 'en');
5637
5640
  }
5638
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocalePercentPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5639
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: LocalePercentPipe, isStandalone: true, name: "localePercent", pure: false }); }
5641
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocalePercentPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5642
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: LocalePercentPipe, isStandalone: true, name: "localePercent", pure: false }); }
5640
5643
  }
5641
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocalePercentPipe, decorators: [{
5644
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocalePercentPipe, decorators: [{
5642
5645
  type: Pipe,
5643
5646
  args: [{
5644
5647
  name: 'localePercent',
@@ -5651,16 +5654,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
5651
5654
  */
5652
5655
  class LocaleCurrencyPipe extends CurrencyPipe {
5653
5656
  constructor(translate) {
5654
- super(translate.currentLang || 'en');
5657
+ super(translate.getCurrentLang() || 'en');
5655
5658
  this.translate = translate;
5656
5659
  }
5657
5660
  transform(value, currencyCode, display, digits, locale) {
5658
- return super.transform(value, currencyCode, display, digits, locale || this.translate.currentLang || 'en');
5661
+ return super.transform(value, currencyCode, display, digits, locale || this.translate.getCurrentLang() || 'en');
5659
5662
  }
5660
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleCurrencyPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5661
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: LocaleCurrencyPipe, isStandalone: true, name: "localeCurrency" }); }
5663
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleCurrencyPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5664
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: LocaleCurrencyPipe, isStandalone: true, name: "localeCurrency" }); }
5662
5665
  }
5663
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleCurrencyPipe, decorators: [{
5666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleCurrencyPipe, decorators: [{
5664
5667
  type: Pipe,
5665
5668
  args: [{
5666
5669
  name: 'localeCurrency',
@@ -5673,7 +5676,7 @@ class LocaleNumberPipe {
5673
5676
  this.decimalSeparator = '.';
5674
5677
  this.separator = ',';
5675
5678
  this.decimalPipe = new LocaleDecimalPipe(this.translate);
5676
- this.updateSeparators(this.translate.currentLang);
5679
+ this.updateSeparators(this.translate.getCurrentLang());
5677
5680
  }
5678
5681
  transform(value, grouping, pattern, scale, digits, locale) {
5679
5682
  value = Array.isArray(value) ? value[0] : value;
@@ -5702,10 +5705,10 @@ class LocaleNumberPipe {
5702
5705
  scale = typeof scale === 'number' ? scale : 2;
5703
5706
  return this.transform(value, grouping, pattern, scale, `1.${scale}-${scale}`);
5704
5707
  }
5705
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleNumberPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5706
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: LocaleNumberPipe, isStandalone: true, name: "localeNumber" }); }
5708
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleNumberPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5709
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: LocaleNumberPipe, isStandalone: true, name: "localeNumber" }); }
5707
5710
  }
5708
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleNumberPipe, decorators: [{
5711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleNumberPipe, decorators: [{
5709
5712
  type: Pipe,
5710
5713
  args: [{
5711
5714
  name: 'localeNumber',
@@ -5739,10 +5742,10 @@ class FileSizePipe extends LocaleNumberPipe {
5739
5742
  const number = super.stringToNumber((match ? match[1] : value).trim());
5740
5743
  return isNaN(number) ? number : Math.round(number * Math.pow(1024, match ? sizes.indexOf(match[2]) : 0));
5741
5744
  }
5742
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FileSizePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
5743
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: FileSizePipe, isStandalone: true, name: "fileSize" }); }
5745
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FileSizePipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
5746
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: FileSizePipe, isStandalone: true, name: "fileSize" }); }
5744
5747
  }
5745
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: FileSizePipe, decorators: [{
5748
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FileSizePipe, decorators: [{
5746
5749
  type: Pipe,
5747
5750
  args: [{ name: 'fileSize', standalone: true }]
5748
5751
  }] });
@@ -5769,7 +5772,7 @@ class LocaleDatePipe {
5769
5772
  return '';
5770
5773
  else {
5771
5774
  try {
5772
- return new Intl.DateTimeFormat(this.translate.currentLang, predefinedFormats[format]).format(!(value instanceof Date) ? new Date(value) : value);
5775
+ return new Intl.DateTimeFormat(this.translate.getCurrentLang(), predefinedFormats[format]).format(!(value instanceof Date) ? new Date(value) : value);
5773
5776
  }
5774
5777
  catch (e) {
5775
5778
  console.error(e);
@@ -5777,10 +5780,10 @@ class LocaleDatePipe {
5777
5780
  }
5778
5781
  }
5779
5782
  }
5780
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleDatePipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5781
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: LocaleDatePipe, isStandalone: true, name: "localeDate" }); }
5783
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleDatePipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe }); }
5784
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: LocaleDatePipe, isStandalone: true, name: "localeDate" }); }
5782
5785
  }
5783
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: LocaleDatePipe, decorators: [{
5786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: LocaleDatePipe, decorators: [{
5784
5787
  type: Pipe,
5785
5788
  args: [{
5786
5789
  name: 'localeDate',
@@ -5801,10 +5804,10 @@ class SafeHtmlPipe {
5801
5804
  transform(style) {
5802
5805
  return this.sanitizer.bypassSecurityTrustHtml(style);
5803
5806
  }
5804
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
5805
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" }); }
5807
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
5808
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" }); }
5806
5809
  }
5807
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SafeHtmlPipe, decorators: [{
5810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SafeHtmlPipe, decorators: [{
5808
5811
  type: Pipe,
5809
5812
  args: [{ name: 'safeHtml', standalone: true }]
5810
5813
  }], ctorParameters: () => [{ type: i1$1.DomSanitizer }] });
@@ -5820,10 +5823,10 @@ class SafeUrlPipe {
5820
5823
  transform(url) {
5821
5824
  return this.sanitizer.bypassSecurityTrustResourceUrl(url);
5822
5825
  }
5823
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
5824
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
5826
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
5827
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
5825
5828
  }
5826
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SafeUrlPipe, decorators: [{
5829
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SafeUrlPipe, decorators: [{
5827
5830
  type: Pipe,
5828
5831
  args: [{ name: 'safeUrl', standalone: true }]
5829
5832
  }], ctorParameters: () => [{ type: i1$1.DomSanitizer }] });
@@ -5835,10 +5838,10 @@ class KeysPipe {
5835
5838
  transform(value) {
5836
5839
  return Object.keys(value);
5837
5840
  }
5838
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5839
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys", pure: false }); }
5841
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
5842
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: KeysPipe, isStandalone: true, name: "keys", pure: false }); }
5840
5843
  }
5841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: KeysPipe, decorators: [{
5844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: KeysPipe, decorators: [{
5842
5845
  type: Pipe,
5843
5846
  args: [{ name: 'keys', pure: false, standalone: true }]
5844
5847
  }] });
@@ -5871,10 +5874,10 @@ class NativeNotificationService {
5871
5874
  };
5872
5875
  }
5873
5876
  }
5874
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NativeNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5875
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NativeNotificationService, providedIn: 'root' }); }
5877
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NativeNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
5878
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NativeNotificationService, providedIn: 'root' }); }
5876
5879
  }
5877
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: NativeNotificationService, decorators: [{
5880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: NativeNotificationService, decorators: [{
5878
5881
  type: Injectable,
5879
5882
  args: [{
5880
5883
  providedIn: 'root'
@@ -6003,13 +6006,21 @@ class EoxMissingTranslationHandler {
6003
6006
  handle(params) {
6004
6007
  return '!missing key: ' + params.key;
6005
6008
  }
6009
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EoxMissingTranslationHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
6010
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EoxMissingTranslationHandler }); }
6006
6011
  }
6012
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EoxMissingTranslationHandler, decorators: [{
6013
+ type: Injectable
6014
+ }] });
6007
6015
 
6016
+ /**
6017
+ * i18n packages
6018
+ */
6008
6019
  /**
6009
6020
  * Loader that fetches translations based on the configured locations
6010
6021
  * @ignore
6011
6022
  */
6012
- let EoxTranslateJsonLoader = class EoxTranslateJsonLoader {
6023
+ class EoxTranslateJsonLoader {
6013
6024
  constructor(http, config) {
6014
6025
  this.http = http;
6015
6026
  this.config = config;
@@ -6057,34 +6068,27 @@ let EoxTranslateJsonLoader = class EoxTranslateJsonLoader {
6057
6068
  return lang.length > 2 ? this.loadTranslationFile(path, lang.substring(0, 2)) : of({});
6058
6069
  }));
6059
6070
  }
6060
- };
6061
- EoxTranslateJsonLoader = __decorate([
6062
- __param(1, Inject(CORE_CONFIG)),
6063
- __metadata("design:paramtypes", [HttpClient,
6064
- CoreConfig])
6065
- ], EoxTranslateJsonLoader);
6071
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EoxTranslateJsonLoader, deps: [{ token: i1$2.HttpClient }, { token: CORE_CONFIG }], target: i0.ɵɵFactoryTarget.Injectable }); }
6072
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EoxTranslateJsonLoader }); }
6073
+ }
6074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: EoxTranslateJsonLoader, decorators: [{
6075
+ type: Injectable
6076
+ }], ctorParameters: () => [{ type: i1$2.HttpClient }, { type: CoreConfig, decorators: [{
6077
+ type: Inject,
6078
+ args: [CORE_CONFIG]
6079
+ }] }] });
6066
6080
 
6067
6081
  const provideYuvClientCore = (options = { translations: [] }, customEvents, customEventsTrustedOrigin, disableBeforeUnloadProtection = false, disablePopstateDialogProtection = false) => {
6068
6082
  return makeEnvironmentProviders([
6069
- importProvidersFrom(TranslateModule.forRoot()),
6083
+ provideTranslateService({
6084
+ loader: provideTranslateLoader(EoxTranslateJsonLoader),
6085
+ missingTranslationHandler: provideMissingTranslationHandler(EoxMissingTranslationHandler)
6086
+ }),
6070
6087
  provideHttpClient(withInterceptors([AuthInterceptorFnc, OfflineInterceptorFnc])),
6071
6088
  ...(disableBeforeUnloadProtection ? [] : [provideBeforeUnloadProtection()]),
6072
6089
  ...(disablePopstateDialogProtection ? [] : [providePopstateDialogProtection()]),
6073
6090
  { provide: CORE_CONFIG, useClass: CoreConfig, deps: [CUSTOM_CONFIG] },
6074
6091
  provideAppInitializer(init_moduleFnc),
6075
- /**
6076
- * overriding translate modules defaults
6077
- * this works because providers are singletons
6078
- */
6079
- {
6080
- provide: TranslateLoader,
6081
- useClass: EoxTranslateJsonLoader,
6082
- deps: [HttpClient, CORE_CONFIG]
6083
- },
6084
- {
6085
- provide: MissingTranslationHandler,
6086
- useClass: EoxMissingTranslationHandler
6087
- },
6088
6092
  {
6089
6093
  provide: CUSTOM_CONFIG,
6090
6094
  useValue: {