@sumaris-net/ngx-components 1.21.3 → 1.21.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/sumaris-net.ngx-components.umd.js +31 -41
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/form/editor.class.js +1 -1
- package/esm2015/src/app/core/form/entity-editor-modal.class.js +22 -29
- package/fesm2015/sumaris-net.ngx-components.js +21 -28
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/editor.class.d.ts +2 -1
- package/src/app/core/form/entity-editor-modal.class.d.ts +1 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ import { WaitForOptions } from '../../shared/observables';
|
|
|
17
17
|
export interface IAppEditor extends CanLeave, IAppForm {
|
|
18
18
|
save(event?: Event, options?: any): Promise<boolean>;
|
|
19
19
|
cancel(event?: Event): Promise<void>;
|
|
20
|
+
addChildForm(form: IAppForm | IAppFormGetter): void;
|
|
20
21
|
}
|
|
21
22
|
export interface IAppTabEditor extends IAppEditor {
|
|
22
23
|
selectedTabIndex: number;
|
|
@@ -104,7 +105,7 @@ export declare abstract class AppEditor<T = any, ID = number, O = any> implement
|
|
|
104
105
|
ngOnInit(): void;
|
|
105
106
|
ngAfterViewInit(): void;
|
|
106
107
|
ngOnDestroy(): void;
|
|
107
|
-
addChildForm(form: IAppForm | IAppFormGetter):
|
|
108
|
+
addChildForm(form: IAppForm | IAppFormGetter): this;
|
|
108
109
|
addChildForms(forms: (IAppForm | IAppFormGetter)[]): AppEditor<T, ID, O>;
|
|
109
110
|
disable(opts?: {
|
|
110
111
|
onlySelf?: boolean;
|
|
@@ -55,7 +55,7 @@ export declare abstract class AppEntityEditorModal<T extends Entity<T, ID>, ID =
|
|
|
55
55
|
emitEvent?: boolean;
|
|
56
56
|
}): void;
|
|
57
57
|
protected constructor(injector: Injector, dataType: new () => T, options?: O);
|
|
58
|
-
ngOnInit():
|
|
58
|
+
ngOnInit(): void;
|
|
59
59
|
ngAfterViewInit(): void;
|
|
60
60
|
ngOnDestroy(): void;
|
|
61
61
|
waitIdle(opts?: WaitForOptions): Promise<void>;
|