@sumaris-net/ngx-components 0.27.4 → 0.27.5

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.
@@ -19033,9 +19033,9 @@
19033
19033
  this.error = null;
19034
19034
  this._enable = false;
19035
19035
  this._loading = true;
19036
- this._$ready = new rxjs.BehaviorSubject(true);
19037
19036
  this.i18nFieldPrefix = null;
19038
19037
  this._subscription = new rxjs.Subscription();
19038
+ this._$ready = new rxjs.BehaviorSubject(true);
19039
19039
  this.debug = false;
19040
19040
  this.onCancel = new i0.EventEmitter();
19041
19041
  this.onSubmit = new i0.EventEmitter();
@@ -19154,6 +19154,7 @@
19154
19154
  this.onCancel.unsubscribe();
19155
19155
  this.onSubmit.complete();
19156
19156
  this.onSubmit.unsubscribe();
19157
+ this._$ready.complete();
19157
19158
  };
19158
19159
  AppForm.prototype.cancel = function () {
19159
19160
  this.onCancel.emit();
@@ -19247,6 +19248,10 @@
19247
19248
  AppForm.prototype.markAsReady = function (opts) {
19248
19249
  if (!this._$ready.value) {
19249
19250
  this._$ready.next(true);
19251
+ // If subclasses implements OnReady
19252
+ if (typeof this['nngOnReady'] === 'function') {
19253
+ this.ngOnReady();
19254
+ }
19250
19255
  }
19251
19256
  };
19252
19257
  /**