@sumaris-net/ngx-components 18.18.38 → 18.19.1

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.
@@ -4344,6 +4344,7 @@ class AppNullForm {
4344
4344
  markAsLoading(opts) { }
4345
4345
  markAsLoaded(opts) { }
4346
4346
  markAsReady(opts) { }
4347
+ markAsNotReady(opts) { }
4347
4348
  waitIdle(opts) {
4348
4349
  return Promise.reject(false);
4349
4350
  }
@@ -4437,6 +4438,9 @@ class AppFormProvider {
4437
4438
  markAsReady(opts) {
4438
4439
  return this.delegate.markAsReady(opts);
4439
4440
  }
4441
+ markAsNotReady(opts) {
4442
+ return this.delegate.markAsNotReady(opts);
4443
+ }
4440
4444
  async save() {
4441
4445
  if (AppFormUtils.canSave(this.delegate)) {
4442
4446
  return this.delegate.save();
@@ -17390,6 +17394,11 @@ class AppForm {
17390
17394
  }
17391
17395
  }
17392
17396
  }
17397
+ markAsNotReady(opts) {
17398
+ if (!this.readySubject.closed && this.readySubject.value !== false) {
17399
+ this.readySubject.next(false);
17400
+ }
17401
+ }
17393
17402
  /**
17394
17403
  * Wait form is ready
17395
17404
  *
@@ -37875,6 +37884,11 @@ class AppTable {
37875
37884
  }
37876
37885
  }
37877
37886
  }
37887
+ markAsNotReady(opts) {
37888
+ if (!this.readySubject.closed && this.readySubject.value !== false) {
37889
+ this.readySubject.next(false);
37890
+ }
37891
+ }
37878
37892
  get loading() {
37879
37893
  return this.loadingSubject.value;
37880
37894
  }
@@ -40687,6 +40701,11 @@ class AppAsyncTable {
40687
40701
  }
40688
40702
  }
40689
40703
  }
40704
+ markAsNotReady(opts) {
40705
+ if (!this.readySubject.closed && this.readySubject.value !== false) {
40706
+ this.readySubject.next(false);
40707
+ }
40708
+ }
40690
40709
  get loading() {
40691
40710
  return this.loadingSubject.value;
40692
40711
  }
@@ -43109,6 +43128,12 @@ class AppFormContainer {
43109
43128
  }
43110
43129
  }
43111
43130
  }
43131
+ markAsNotReady(opts) {
43132
+ this._children?.forEach((c) => c.markAsNotReady(opts));
43133
+ if (!this.readySubject.closed && this.readySubject.value !== false) {
43134
+ this.readySubject.next(false);
43135
+ }
43136
+ }
43112
43137
  /**
43113
43138
  * Wait form is ready
43114
43139
  *