@sumaris-net/ngx-components 2.4.121 → 2.4.122-alpha1
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/src/app/core/menu/menu.service.mjs +20 -24
- package/fesm2015/sumaris-net.ngx-components.mjs +19 -23
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +19 -23
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/menu/menu.service.d.ts +1 -1
package/package.json
CHANGED
|
@@ -45,6 +45,7 @@ export declare class MenuService extends StartableObservableService<MenuItem[]>
|
|
|
45
45
|
_markAsClosed(): void;
|
|
46
46
|
addSubMenuItems(newItems: MenuItem[], opts?: AddSubMenuItemsOption): Promise<boolean[]>;
|
|
47
47
|
addSubMenuItem(newItem: MenuItem, opts?: AddSubMenuItemsOption): Promise<boolean>;
|
|
48
|
+
detachSubMenus(currentPathParam: MenuPathParam, items?: MenuItem[], excludedItems?: MenuItem[]): MenuItem[];
|
|
48
49
|
protected _addSubMenuItem(newItem: MenuItem, opts?: AddSubMenuItemsOption): boolean;
|
|
49
50
|
protected ngOnStart(): Promise<MenuItem[]>;
|
|
50
51
|
protected loadMenuItems(config: Configuration, account: Account): Promise<void>;
|
|
@@ -52,7 +53,6 @@ export declare class MenuService extends StartableObservableService<MenuItem[]>
|
|
|
52
53
|
protected findExistingItem(item: MenuItem, items?: MenuItem[]): MenuItem;
|
|
53
54
|
protected findParent(childItem: MenuItem, availableParents?: MenuItem[]): MenuItem;
|
|
54
55
|
protected addMenuToParent(parent: MenuItem, child: MenuItem): void;
|
|
55
|
-
protected detachSubMenus(currentPathParam: MenuPathParam, items?: MenuItem[], excludedItems?: MenuItem[]): MenuItem[];
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuService, [null, null, null, null, null, { optional: true; }]>;
|
|
57
57
|
static ɵprov: i0.ɵɵInjectableDeclaration<MenuService>;
|
|
58
58
|
}
|