@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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "1.21.3",
4
+ "version": "1.21.6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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): AppEditor<T, ID, O>;
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(): Promise<void>;
58
+ ngOnInit(): void;
59
59
  ngAfterViewInit(): void;
60
60
  ngOnDestroy(): void;
61
61
  waitIdle(opts?: WaitForOptions): Promise<void>;