@sumaris-net/ngx-components 2.4.129 → 2.4.131

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "2.4.129",
4
+ "version": "2.4.131",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -29,6 +29,7 @@ export declare class MenuService extends StartableObservableService<MenuItem[]>
29
29
  protected environment: Environment;
30
30
  readonly accountChanges: BehaviorSubject<Account>;
31
31
  private _staticItems;
32
+ private _detachedItems;
32
33
  private _itemCounter;
33
34
  private readonly _logPrefix;
34
35
  private readonly _$opened;
@@ -50,7 +51,7 @@ export declare class MenuService extends StartableObservableService<MenuItem[]>
50
51
  detachSubMenuItem(pathParam: MenuPathParam): void;
51
52
  protected ngOnStart(): Promise<MenuItem[]>;
52
53
  protected _addSubMenuItem(newItem: MenuItem, opts?: AddSubMenuItemsOption): MenuItem;
53
- protected _loadMenuItems(config: Configuration | null, account: Account | null): Promise<void>;
54
+ protected _loadMenuItems(config: Configuration | null, account: Account | null): Promise<MenuItem[]>;
54
55
  protected _findExistingItem(item: MenuItem, items?: MenuItem[]): MenuItem;
55
56
  protected _findParent(childItem: MenuItem, availableParents?: MenuItem[]): MenuItem;
56
57
  protected _addMenuToParent(parent: MenuItem, child: MenuItem): void;
@@ -8,6 +8,8 @@ export declare class OtherMenuTestingPage extends MenuTestingPage {
8
8
  constructor(route: ActivatedRoute, // Modal editor give 'null'
9
9
  router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, menuService: MenuService);
10
10
  initSubMenu(): Promise<void>;
11
+ protected getDefaultTitle(): string;
12
+ protected computeTitle(): Promise<string>;
11
13
  static ɵfac: i0.ɵɵFactoryDeclaration<OtherMenuTestingPage, never>;
12
14
  static ɵcmp: i0.ɵɵComponentDeclaration<OtherMenuTestingPage, "app-testing-menu-other", never, {}, {}, never, never, false>;
13
15
  }
@@ -11,11 +11,13 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
11
11
  toggleThird: IonToggle;
12
12
  protected logPrefix: string;
13
13
  protected childPath: string;
14
- protected title: string;
15
14
  protected thirdTabTitle: string;
16
15
  protected parentPath: string;
17
16
  protected showOtherLinks: boolean;
17
+ protected $title: BehaviorSubject<string>;
18
18
  protected $secondTabTitle: BehaviorSubject<string>;
19
+ protected set title(value: string);
20
+ protected get title(): string;
19
21
  protected set secondTabTitle(value: string);
20
22
  protected get secondTabTitle(): string;
21
23
  constructor(route: ActivatedRoute, // Modal editor give 'null'
@@ -27,10 +29,14 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
27
29
  get isNewData(): boolean;
28
30
  reload(): Promise<void>;
29
31
  save(event: Event | undefined, options: any): Promise<boolean>;
32
+ changeTitle(event?: UIEvent): void;
33
+ changeSecondTabTitle(event?: UIEvent): void;
30
34
  protected enableMenu(value: boolean): void;
31
35
  protected toggleSplitPaneWhen(): void;
32
36
  protected initSubMenu(): Promise<void>;
33
37
  protected getFirstInvalidTabIndex(): number;
38
+ protected getDefaultTitle(): string;
39
+ protected computeTitle(): Promise<string>;
34
40
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuTestingPage, never>;
35
41
  static ɵcmp: i0.ɵɵComponentDeclaration<MenuTestingPage, "app-testing-menu", never, {}, {}, never, never, false>;
36
42
  }