@elite.framework/ng.core 2.0.26 → 2.0.28
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/package.json
CHANGED
package/services/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as rxjs from 'rxjs';
|
|
|
2
2
|
import { Observable, Subscription, PartialObserver, BehaviorSubject } from 'rxjs';
|
|
3
3
|
import { HttpClient, HttpRequest, HttpErrorResponse } from '@angular/common/http';
|
|
4
4
|
import * as _elite_framework_ng_core_models from '@elite.framework/ng.core/models';
|
|
5
|
-
import { Root, Rest, PaginatedResult, ApplicationLocalizationRequestDto, ApplicationLocalizationDto, ApplicationConfigurationRequestOptions, ApplicationConfigurationDto, ApplicationGlobalFeatureConfigurationDto, RedirectTo, RedirectToFn, CurrentTenantDto, Session, Localization, LocalizationWithDefault, ApplicationLocalizationResourceDto, Nav, Route as Route$1, Environment, TenantLoginInfoDto, NavItem, SortableItem, UserMenu, ReplaceableComponents } from '@elite.framework/ng.core/models';
|
|
5
|
+
import { Root, Rest, PaginatedResult, ApplicationLocalizationRequestDto, ApplicationLocalizationDto, ApplicationConfigurationRequestOptions, ApplicationConfigurationDto, Navigation, ApplicationGlobalFeatureConfigurationDto, RedirectTo, RedirectToFn, CurrentTenantDto, Session, Localization, LocalizationWithDefault, ApplicationLocalizationResourceDto, Nav, Route as Route$1, Environment, TenantLoginInfoDto, NavItem, SortableItem, UserMenu, ReplaceableComponents } from '@elite.framework/ng.core/models';
|
|
6
6
|
import * as i0 from '@angular/core';
|
|
7
7
|
import { InjectionToken, Injector, OnDestroy, Type, NgZone } from '@angular/core';
|
|
8
8
|
import * as qs from 'qs';
|
|
@@ -778,6 +778,8 @@ declare class ConfigStateService {
|
|
|
778
778
|
getAll(): ApplicationConfigurationDto;
|
|
779
779
|
getDeep$(keys: string[] | string): Observable<any>;
|
|
780
780
|
getDeep(keys: string[] | string): any;
|
|
781
|
+
getNavigation(): Navigation | null;
|
|
782
|
+
getNavigation$(): Observable<Navigation | null>;
|
|
781
783
|
getFeature(key: string): string;
|
|
782
784
|
getFeature$(key: string): Observable<string>;
|
|
783
785
|
getFeatures(keys: string[]): {} | null;
|
|
@@ -1244,6 +1246,8 @@ declare abstract class AbstractNavTreeService<T extends Nav> extends AbstractTre
|
|
|
1244
1246
|
readonly hide: (item: T) => boolean;
|
|
1245
1247
|
readonly sort: (a: T, b: T) => number;
|
|
1246
1248
|
constructor(injector: Injector);
|
|
1249
|
+
private convertNavigationToRoutes;
|
|
1250
|
+
private extractPathFromUrl;
|
|
1247
1251
|
protected isGranted({ requiredPolicy }: T): boolean;
|
|
1248
1252
|
hasChildren(identifier: string): boolean;
|
|
1249
1253
|
hasInvisibleChild(identifier: string): boolean;
|
|
@@ -1549,7 +1553,7 @@ declare class WindowService {
|
|
|
1549
1553
|
}
|
|
1550
1554
|
|
|
1551
1555
|
declare const SORT_COMPARE_FUNC: InjectionToken<(a: SortableItem, b: SortableItem) => number>;
|
|
1552
|
-
declare function compareFuncFactory(): (a: SortableItem | any, b: SortableItem | any) =>
|
|
1556
|
+
declare function compareFuncFactory(): (a: SortableItem | any, b: SortableItem | any) => 0 | 1 | -1;
|
|
1553
1557
|
|
|
1554
1558
|
declare function getRemoteEnv(injector: Injector, environment: Partial<Environment>): Promise<void> | Promise<Environment | null | undefined>;
|
|
1555
1559
|
|