@osovitny/anatoly 3.19.36 → 3.19.37
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, provideAppInitializer, inject, NgModule, Directive, ChangeDetectionStrategy, ViewChild, ViewEncapsulation, HostListener, HostBinding } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject,
|
|
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, HttpClientModule } from '@angular/common/http';
|
|
@@ -472,11 +472,11 @@ class AppContextService extends ApiServiceBase {
|
|
|
472
472
|
this.usStates = data;
|
|
473
473
|
}
|
|
474
474
|
}));
|
|
475
|
-
let tasks$ =
|
|
475
|
+
let tasks$ = forkJoin([countries$, languages$, timezones$, usStates$]);
|
|
476
476
|
//Logging
|
|
477
|
-
let stopwatch = new Stopwatch("@osovitny/anatoly. AppContextService: standard json files
|
|
477
|
+
let stopwatch = new Stopwatch("@osovitny/anatoly. AppContextService: loading standard json files");
|
|
478
478
|
stopwatch.start();
|
|
479
|
-
return tasks$.pipe(
|
|
479
|
+
return tasks$.pipe(tap(() => {
|
|
480
480
|
this.fireJsonFilesLoaded();
|
|
481
481
|
//Logging
|
|
482
482
|
stopwatch.stop();
|