@sumaris-net/ngx-components 0.17.2 → 0.17.6

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": "0.17.2",
4
+ "version": "0.17.6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
1
+ import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ActivatedRoute, Params, Router } from '@angular/router';
3
3
  import { MatTabChangeEvent, MatTabGroup } from '@angular/material/tabs';
4
4
  import { AlertController, IonContent, ToastController } from '@ionic/angular';
@@ -40,13 +40,13 @@ export declare abstract class AppTabEditor<T = any, ID = number, O = any> implem
40
40
  protected _enabled: boolean;
41
41
  protected _dirty: boolean;
42
42
  protected _loading: boolean;
43
+ protected _selectedTabIndex: number;
43
44
  protected toastController: ToastController;
44
45
  tabCount: number;
45
46
  enableSwipe: boolean;
46
47
  tabGroupAnimationDuration: string;
47
48
  debug: boolean;
48
49
  previousDataId: ID;
49
- selectedTabIndex: number;
50
50
  submitted: boolean;
51
51
  error: string;
52
52
  queryParams: Params;
@@ -72,6 +72,9 @@ export declare abstract class AppTabEditor<T = any, ID = number, O = any> implem
72
72
  get disabled(): boolean;
73
73
  get children(): IAppForm[];
74
74
  get empty(): boolean;
75
+ get selectedTabIndex(): number;
76
+ set selectedTabIndex(value: number);
77
+ readonly selectedTabIndexChange: EventEmitter<number>;
75
78
  abstract get isNewData(): boolean;
76
79
  protected constructor(route: ActivatedRoute, router: Router, alertCtrl: AlertController, translate: TranslateService, options?: AppTabEditorOptions);
77
80
  ngOnInit(): void;