@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/bundles/ngx-sumaris-components.umd.js +23 -7
- package/bundles/ngx-sumaris-components.umd.js.map +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js +1 -1
- package/bundles/ngx-sumaris-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/editor.class.js +20 -8
- package/esm2015/src/app/shared/material/boolean/material.boolean.js +2 -2
- package/esm2015/src/app/shared/observables.js +1 -1
- package/fesm2015/ngx-sumaris-components.js +19 -7
- package/fesm2015/ngx-sumaris-components.js.map +1 -1
- package/ngx-sumaris-components.metadata.json +1 -1
- package/package.json +1 -1
- package/src/app/core/form/editor.class.d.ts +5 -2
package/package.json
CHANGED
|
@@ -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;
|