@sumaris-net/ngx-components 2.4.128 → 2.4.130

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.128",
4
+ "version": "2.4.130",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -44,12 +44,12 @@ export declare class MenuService extends StartableObservableService<MenuItem[]>
44
44
  toggleSplitPaneWhen(): void;
45
45
  _markAsOpened(): void;
46
46
  _markAsClosed(): void;
47
- addSubMenuItems(newItems: MenuItem[], opts?: AddSubMenuItemsOption): Promise<boolean[]>;
48
- addSubMenuItem(newItem: MenuItem, opts?: AddSubMenuItemsOption): Promise<boolean>;
47
+ addSubMenuItems(newItems: MenuItem[], opts?: AddSubMenuItemsOption): Promise<MenuItem[]>;
48
+ addSubMenuItem(newItem: MenuItem, opts?: AddSubMenuItemsOption): Promise<MenuItem>;
49
49
  removeSubMenuItem(item: MenuItem): void;
50
50
  detachSubMenuItem(pathParam: MenuPathParam): void;
51
51
  protected ngOnStart(): Promise<MenuItem[]>;
52
- protected _addSubMenuItem(newItem: MenuItem, opts?: AddSubMenuItemsOption): boolean;
52
+ protected _addSubMenuItem(newItem: MenuItem, opts?: AddSubMenuItemsOption): MenuItem;
53
53
  protected _loadMenuItems(config: Configuration | null, account: Account | null): Promise<void>;
54
54
  protected _findExistingItem(item: MenuItem, items?: MenuItem[]): MenuItem;
55
55
  protected _findParent(childItem: MenuItem, availableParents?: MenuItem[]): MenuItem;
@@ -4,6 +4,7 @@ import { AppTabEditor } from '../../form/entity/editor.class';
4
4
  import { ActivatedRoute, Router } from '@angular/router';
5
5
  import { AlertController, IonToggle, NavController } from '@ionic/angular';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
+ import { BehaviorSubject } from 'rxjs';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnDestroy, AfterViewInit {
9
10
  protected menuService: MenuService;
@@ -11,9 +12,12 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
11
12
  protected logPrefix: string;
12
13
  protected childPath: string;
13
14
  protected title: string;
14
- protected secondTabTitle: string;
15
15
  protected thirdTabTitle: string;
16
16
  protected parentPath: string;
17
+ protected showOtherLinks: boolean;
18
+ protected $secondTabTitle: BehaviorSubject<string>;
19
+ protected set secondTabTitle(value: string);
20
+ protected get secondTabTitle(): string;
17
21
  constructor(route: ActivatedRoute, // Modal editor give 'null'
18
22
  router: Router, navController: NavController, alertCtrl: AlertController, translate: TranslateService, menuService: MenuService);
19
23
  ngOnInit(): void;
@@ -23,6 +27,7 @@ export declare class MenuTestingPage extends AppTabEditor implements OnInit, OnD
23
27
  get isNewData(): boolean;
24
28
  reload(): Promise<void>;
25
29
  save(event: Event | undefined, options: any): Promise<boolean>;
30
+ changeSecondTabTitle(event?: UIEvent): void;
26
31
  protected enableMenu(value: boolean): void;
27
32
  protected toggleSplitPaneWhen(): void;
28
33
  protected initSubMenu(): Promise<void>;