@elite.framework/ng.core 2.0.28 → 2.0.30

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/models/index.d.ts CHANGED
@@ -152,6 +152,7 @@ interface Route extends Nav {
152
152
  path?: string;
153
153
  layout?: eLayoutType;
154
154
  iconClass?: string;
155
+ key?: string;
155
156
  group?: string;
156
157
  breadcrumbText?: string;
157
158
  children?: Route[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elite.framework/ng.core",
3
- "version": "2.0.28",
3
+ "version": "2.0.30",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"
@@ -1246,8 +1246,6 @@ declare abstract class AbstractNavTreeService<T extends Nav> extends AbstractTre
1246
1246
  readonly hide: (item: T) => boolean;
1247
1247
  readonly sort: (a: T, b: T) => number;
1248
1248
  constructor(injector: Injector);
1249
- private convertNavigationToRoutes;
1250
- private extractPathFromUrl;
1251
1249
  protected isGranted({ requiredPolicy }: T): boolean;
1252
1250
  hasChildren(identifier: string): boolean;
1253
1251
  hasInvisibleChild(identifier: string): boolean;
@@ -1256,6 +1254,12 @@ declare abstract class AbstractNavTreeService<T extends Nav> extends AbstractTre
1256
1254
  static ɵprov: i0.ɵɵInjectableDeclaration<AbstractNavTreeService<any>>;
1257
1255
  }
1258
1256
  declare class RoutesService extends AbstractNavTreeService<Route$1> {
1257
+ /**
1258
+ *
1259
+ */
1260
+ constructor(injector: Injector);
1261
+ private convertNavigationToRoutes;
1262
+ private extractPathFromUrl;
1259
1263
  private hasPathOrChild;
1260
1264
  get groupedVisible(): RouteGroup<Route$1>[] | undefined;
1261
1265
  get groupedVisible$(): Observable<RouteGroup<Route$1>[] | undefined>;
@@ -1553,7 +1557,7 @@ declare class WindowService {
1553
1557
  }
1554
1558
 
1555
1559
  declare const SORT_COMPARE_FUNC: InjectionToken<(a: SortableItem, b: SortableItem) => number>;
1556
- declare function compareFuncFactory(): (a: SortableItem | any, b: SortableItem | any) => 0 | 1 | -1;
1560
+ declare function compareFuncFactory(): (a: SortableItem | any, b: SortableItem | any) => 1 | -1 | 0;
1557
1561
 
1558
1562
  declare function getRemoteEnv(injector: Injector, environment: Partial<Environment>): Promise<void> | Promise<Environment | null | undefined>;
1559
1563