@sumaris-net/ngx-components 18.9.2 → 18.9.3
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/doc/changelog.md +4 -0
- package/esm2022/src/app/core/table/async-table.class.mjs +2 -2
- package/esm2022/src/app/core/table/table.class.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
|
@@ -34065,7 +34065,7 @@ class AppTable {
|
|
|
34065
34065
|
this.registerSubscription(this.dirtySubject.subscribe((value) => this.onDirty.emit(value)));
|
|
34066
34066
|
// Propagate row dirty state to table
|
|
34067
34067
|
this.registerSubscription(this.onStartEditingRow
|
|
34068
|
-
.pipe(filter((row) => row?.validator && true), mergeMap((row) => row.validator.valueChanges.pipe(filter((
|
|
34068
|
+
.pipe(filter((row) => row?.validator && true), mergeMap((row) => row.validator.valueChanges.pipe(filter(() => row.validator.dirty), first(),
|
|
34069
34069
|
// DEBUG
|
|
34070
34070
|
//tap(() => console.debug("Propagate row's dirty to table..."))
|
|
34071
34071
|
// Stop if next another row, or destroying
|
|
@@ -36852,7 +36852,7 @@ class AppAsyncTable {
|
|
|
36852
36852
|
this.registerSubscription(this.dirtySubject.subscribe((value) => this.onDirty.emit(value)));
|
|
36853
36853
|
// Propagate row dirty state to table
|
|
36854
36854
|
this.registerSubscription(this.onStartEditingRow
|
|
36855
|
-
.pipe(filter((row) => row?.validator && true), mergeMap((row) => row.validator.valueChanges.pipe(filter((
|
|
36855
|
+
.pipe(filter((row) => row?.validator && true), mergeMap((row) => row.validator.valueChanges.pipe(filter(() => row.validator.dirty), first(),
|
|
36856
36856
|
// DEBUG
|
|
36857
36857
|
//tap(() => console.debug("Propagate row's dirty to table..."))
|
|
36858
36858
|
// Stop if next another row, or destroying
|