@openmfp/portal-ui-lib 0.184.0 → 0.184.1
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,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, inject, Optional, Inject, provideAppInitializer, signal, ChangeDetectionStrategy, Component, ViewEncapsulation,
|
|
2
|
+
import { Injectable, inject, Optional, Inject, provideAppInitializer, signal, ChangeDetectionStrategy, Component, ViewEncapsulation, makeEnvironmentProviders } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common/http';
|
|
4
4
|
import { HttpHeaders, HttpErrorResponse, HttpClient, provideHttpClient } from '@angular/common/http';
|
|
5
5
|
import { firstValueFrom, Subject, lastValueFrom, tap, filter } from 'rxjs';
|
|
@@ -2308,7 +2308,7 @@ class NodesProcessingService {
|
|
|
2308
2308
|
directChildren.forEach((child) => {
|
|
2309
2309
|
this.applyEntityChildrenRecursively(child, childrenByEntity, parentEntityPath);
|
|
2310
2310
|
});
|
|
2311
|
-
node.children =
|
|
2311
|
+
node.children = (ctx) => Promise.all(directChildren
|
|
2312
2312
|
.filter((child) => visibleForContext(ctx, child))
|
|
2313
2313
|
.map((child) => this.customNodeProcessingService?.processNode(ctx, child) ||
|
|
2314
2314
|
child));
|
|
@@ -2536,8 +2536,8 @@ class LifecycleHooksConfigService {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
getLifecycleHooksConfig() {
|
|
2538
2538
|
return {
|
|
2539
|
-
luigiAfterInit:
|
|
2540
|
-
|
|
2539
|
+
luigiAfterInit: () => {
|
|
2540
|
+
return this.constructLuigiConfiguration();
|
|
2541
2541
|
},
|
|
2542
2542
|
};
|
|
2543
2543
|
}
|
|
@@ -2656,7 +2656,6 @@ class CustomReuseStrategy {
|
|
|
2656
2656
|
function providePortal(options = {}) {
|
|
2657
2657
|
const providers = [
|
|
2658
2658
|
provideHttpClient(),
|
|
2659
|
-
provideZoneChangeDetection({ eventCoalescing: true }),
|
|
2660
2659
|
provideBootstrap(),
|
|
2661
2660
|
provideSessionRefresh(),
|
|
2662
2661
|
provideNavigationTracker(),
|