@sumaris-net/ngx-components 0.27.3 → 0.27.4

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.27.3",
4
+ "version": "0.27.4",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
3
+ import { BehaviorSubject, Subscription } from 'rxjs';
4
4
  import { IAppForm } from './form.utils';
5
5
  import { LocalSettingsService } from '../services/local-settings.service';
6
6
  import { MatAutocompleteConfigHolder, MatAutocompleteFieldAddOptions, MatAutocompleteFieldConfig } from '../../shared/material/autocomplete/material.autocomplete';
@@ -16,7 +16,7 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
16
16
  protected errorTranslator: FormErrorTranslator;
17
17
  protected _enable: boolean;
18
18
  protected _loading: boolean;
19
- protected _ready: boolean;
19
+ protected _$ready: BehaviorSubject<boolean>;
20
20
  protected i18nFieldPrefix: string;
21
21
  private _subscription;
22
22
  private _form;
@@ -54,7 +54,7 @@ export declare abstract class AppForm<T> implements IAppForm, OnInit, OnDestroy,
54
54
  setValue(data: T, opts?: {
55
55
  emitEvent?: boolean;
56
56
  onlySelf?: boolean;
57
- }): void;
57
+ }): Promise<void> | void;
58
58
  reset(data?: T, opts?: {
59
59
  emitEvent?: boolean;
60
60
  onlySelf?: boolean;