@osovitny/anatoly 3.20.19 → 3.20.20
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, EventEmitter, Component, Output, Input, Inject, Pipe, NgModule, Directive, ChangeDetectionStrategy, ViewChild, ViewEncapsulation, HostListener, HostBinding, provideAppInitializer, inject } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject, forkJoin, Subject, filter, takeUntil, map as map$1, catchError, of, merge, timer, fromEvent, firstValueFrom
|
|
3
|
+
import { BehaviorSubject, forkJoin, Subject, filter, takeUntil, map as map$1, catchError, of, merge, timer, fromEvent, firstValueFrom } from 'rxjs';
|
|
4
4
|
import { map, tap, mergeMap } from 'rxjs/operators';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
6
6
|
import { HttpResponse, HttpClient, HTTP_INTERCEPTORS, provideHttpClient } from '@angular/common/http';
|
|
@@ -11275,7 +11275,7 @@ class AnatolyModule {
|
|
|
11275
11275
|
provideHttpClient(),
|
|
11276
11276
|
provideAppInitializer(() => {
|
|
11277
11277
|
const appService = inject(AppService);
|
|
11278
|
-
return
|
|
11278
|
+
return firstValueFrom(appService.loadAppInitializerSettings().pipe(map$1(() => {
|
|
11279
11279
|
//Localization
|
|
11280
11280
|
const translate = InjectorInstance.get(TranslateService);
|
|
11281
11281
|
const localizationService = InjectorInstance.get(LocalizationService);
|
|
@@ -11284,9 +11284,9 @@ class AnatolyModule {
|
|
|
11284
11284
|
//IAM
|
|
11285
11285
|
const msalInstance = InjectorInstance.get(MsalService);
|
|
11286
11286
|
const auth = InjectorInstance.get(AuthService);
|
|
11287
|
-
msalInstance.initialize().
|
|
11287
|
+
firstValueFrom(msalInstance.initialize()).then(() => {
|
|
11288
11288
|
auth.init();
|
|
11289
|
-
})
|
|
11289
|
+
});
|
|
11290
11290
|
})));
|
|
11291
11291
|
}),
|
|
11292
11292
|
AppService
|
|
@@ -11319,7 +11319,7 @@ class AnatolyModule {
|
|
|
11319
11319
|
provideHttpClient(),
|
|
11320
11320
|
provideAppInitializer(() => {
|
|
11321
11321
|
const appService = inject(AppService);
|
|
11322
|
-
return
|
|
11322
|
+
return firstValueFrom(appService.loadAppInitializerSettings().pipe(map$1(() => {
|
|
11323
11323
|
//Localization
|
|
11324
11324
|
const translate = InjectorInstance.get(TranslateService);
|
|
11325
11325
|
const localizationService = InjectorInstance.get(LocalizationService);
|
|
@@ -11328,9 +11328,9 @@ class AnatolyModule {
|
|
|
11328
11328
|
//IAM
|
|
11329
11329
|
const msalInstance = InjectorInstance.get(MsalService);
|
|
11330
11330
|
const auth = InjectorInstance.get(AuthService);
|
|
11331
|
-
msalInstance.initialize().
|
|
11331
|
+
firstValueFrom(msalInstance.initialize()).then(() => {
|
|
11332
11332
|
auth.init();
|
|
11333
|
-
})
|
|
11333
|
+
});
|
|
11334
11334
|
})));
|
|
11335
11335
|
}),
|
|
11336
11336
|
AppService
|