@sumaris-net/ngx-components 1.23.53 → 1.23.54
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 +25 -21
- 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 +2 -2
- package/esm2015/src/app/core/form/form.class.js +2 -2
- package/esm2015/src/app/core/table/table.class.js +4 -12
- package/fesm2015/sumaris-net.ngx-components.js +5 -13
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/editor.class.d.ts +1 -1
- package/src/app/core/form/form.class.d.ts +1 -1
- package/src/app/core/table/table.class.d.ts +1 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -31,7 +31,7 @@ import { MatDialogModule, MAT_DIALOG_DATA, MatDialog } from '@angular/material/d
|
|
|
31
31
|
import { MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteModule, MAT_AUTOCOMPLETE_SCROLL_STRATEGY, MAT_AUTOCOMPLETE_DEFAULT_OPTIONS } from '@angular/material/autocomplete';
|
|
32
32
|
import { __awaiter, __decorate } from 'tslib';
|
|
33
33
|
import { Validators, NG_VALUE_ACCESSOR, FormGroupDirective, AbstractControl, FormGroup, FormArray, FormControl, ReactiveFormsModule, FormBuilder } from '@angular/forms';
|
|
34
|
-
import { timer, merge, fromEvent, BehaviorSubject, Subscription, Subject, isObservable, from, of, noop as noop$9, Observable, defer, forkJoin, interval,
|
|
34
|
+
import { timer, merge, fromEvent, BehaviorSubject, Subscription, Subject, isObservable, from, of, noop as noop$9, Observable, defer, forkJoin, interval, EMPTY } from 'rxjs';
|
|
35
35
|
import { filter, map, takeUntil, first, switchMap, tap, debounceTime, startWith, distinctUntilChanged, mergeMap, catchError, throttleTime, skip, bufferWhen, take } from 'rxjs/operators';
|
|
36
36
|
import { trigger, transition, style, animate, state } from '@angular/animations';
|
|
37
37
|
import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
@@ -17826,7 +17826,7 @@ class AppForm {
|
|
|
17826
17826
|
this.markForCheck();
|
|
17827
17827
|
}
|
|
17828
17828
|
}
|
|
17829
|
-
destroyed() {
|
|
17829
|
+
get destroyed() {
|
|
17830
17830
|
var _a;
|
|
17831
17831
|
return ((_a = this.destroySubject) === null || _a === void 0 ? void 0 : _a.closed) !== false;
|
|
17832
17832
|
}
|
|
@@ -23267,7 +23267,7 @@ class AppTable {
|
|
|
23267
23267
|
get paginator() {
|
|
23268
23268
|
return this._paginator || this.childPaginator;
|
|
23269
23269
|
}
|
|
23270
|
-
destroyed() {
|
|
23270
|
+
get destroyed() {
|
|
23271
23271
|
var _a;
|
|
23272
23272
|
return ((_a = this.destroySubject) === null || _a === void 0 ? void 0 : _a.closed) !== false;
|
|
23273
23273
|
}
|
|
@@ -23310,15 +23310,7 @@ class AppTable {
|
|
|
23310
23310
|
// DEBUG
|
|
23311
23311
|
//tap(() => console.debug("Propagate row's dirty to table..."))
|
|
23312
23312
|
// Stop if next another row, or destroying
|
|
23313
|
-
takeUntil(
|
|
23314
|
-
this.onStartEditingRow,
|
|
23315
|
-
this.destroySubject
|
|
23316
|
-
]))
|
|
23317
|
-
// DEBUG
|
|
23318
|
-
//.pipe(
|
|
23319
|
-
// tap(() => console.debug('TODO stopping previous row listener'))
|
|
23320
|
-
//)
|
|
23321
|
-
)))
|
|
23313
|
+
takeUntil(this.onStartEditingRow), takeUntil(this.destroySubject))))
|
|
23322
23314
|
.subscribe(() => this.markAsDirty()));
|
|
23323
23315
|
// Call datasource refresh, on each refresh events
|
|
23324
23316
|
this.registerSubscription(this.onRefresh
|
|
@@ -24698,7 +24690,7 @@ class AppEditor {
|
|
|
24698
24690
|
var _a;
|
|
24699
24691
|
return this.savingSubject.value || ((_a = this.editors) === null || _a === void 0 ? void 0 : _a.some(e => e.saving));
|
|
24700
24692
|
}
|
|
24701
|
-
destroyed() {
|
|
24693
|
+
get destroyed() {
|
|
24702
24694
|
var _a;
|
|
24703
24695
|
return ((_a = this.destroySubject) === null || _a === void 0 ? void 0 : _a.closed) !== false;
|
|
24704
24696
|
}
|