@esfaenza/core 15.2.284 → 15.2.285
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/components/base/embedding.component.mjs +4 -3
- package/esm2020/lib/app.component.mjs +2 -2
- package/fesm2015/esfaenza-core-components.mjs +3 -2
- package/fesm2015/esfaenza-core-components.mjs.map +1 -1
- package/fesm2015/esfaenza-core.mjs +2 -2
- package/fesm2015/esfaenza-core.mjs.map +1 -1
- package/fesm2020/esfaenza-core-components.mjs +3 -2
- package/fesm2020/esfaenza-core-components.mjs.map +1 -1
- package/fesm2020/esfaenza-core.mjs +2 -2
- package/fesm2020/esfaenza-core.mjs.map +1 -1
- package/package.json +1 -2
|
@@ -5,7 +5,7 @@ import { NavigationEnd, RouterLink, RouterLinkActive, RouterOutlet, ActivatedRou
|
|
|
5
5
|
import * as i2 from '@angular/common';
|
|
6
6
|
import { NgIf, NgFor, NgTemplateOutlet, NgClass, Location, CommonModule } from '@angular/common';
|
|
7
7
|
import { filter, map, mergeMap, takeUntil as takeUntil$1 } from 'rxjs/operators';
|
|
8
|
-
import { combineLatest, of, firstValueFrom, ReplaySubject, interval, startWith, takeUntil, takeWhile,
|
|
8
|
+
import { combineLatest, of, firstValueFrom, ReplaySubject, interval, startWith, takeUntil, takeWhile, debounceTime } from 'rxjs';
|
|
9
9
|
import * as i1 from '@esfaenza/core/services';
|
|
10
10
|
import { AppState } from '@esfaenza/core/services';
|
|
11
11
|
import * as i3 from '@angular/platform-browser';
|
|
@@ -1328,10 +1328,11 @@ class EmbeddingComponent extends BaseComponent {
|
|
|
1328
1328
|
}
|
|
1329
1329
|
ngOnInit() {
|
|
1330
1330
|
let route = this.injector.get(ActivatedRoute);
|
|
1331
|
-
|
|
1331
|
+
combineLatest([route.url, route.params]).pipe(debounceTime(100)).subscribe((res) => {
|
|
1332
1332
|
this.Module = res[1]["module"];
|
|
1333
1333
|
this.Localhost = this.LocalhostModuleMap[this.Module];
|
|
1334
1334
|
this.gatherRouteInformations(route);
|
|
1335
|
+
console.log(`Recognized a new navigation to the embedding component: ${this.Module} - ${this.CompletePath}`);
|
|
1335
1336
|
if (this.Page && this.emb.IsReloadAllowed()) {
|
|
1336
1337
|
this.Page = this.Pars = null;
|
|
1337
1338
|
requestAnimationFrame(() => { this.assignPageLoadParameters(); });
|