@sumaris-net/ngx-components 2.18.0-alpha1 → 2.18.0-alpha2
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 +3 -0
- package/esm2022/src/app/core/table/table.class.mjs +8 -5
- package/fesm2022/sumaris-net.ngx-components.mjs +7 -4
- 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
|
@@ -30418,7 +30418,8 @@ class AppTable {
|
|
|
30418
30418
|
//event?.preventDefault();
|
|
30419
30419
|
event?.stopPropagation();
|
|
30420
30420
|
this.selection.toggle(row);
|
|
30421
|
-
|
|
30421
|
+
// FIXME
|
|
30422
|
+
//this.detectChanges(); // Workaround need by for SUMARiS (eg samples tables)
|
|
30422
30423
|
}
|
|
30423
30424
|
clickRow(event, row) {
|
|
30424
30425
|
if (this.loading) {
|
|
@@ -30577,7 +30578,8 @@ class AppTable {
|
|
|
30577
30578
|
}
|
|
30578
30579
|
this.editedRow = row;
|
|
30579
30580
|
this.onStartEditingRow.emit(row);
|
|
30580
|
-
|
|
30581
|
+
// FIXME
|
|
30582
|
+
//this.detectChanges(); // Workaround need by SUMARiS (e.g. for samples tables) otherwise the row will not be editable
|
|
30581
30583
|
return true;
|
|
30582
30584
|
}
|
|
30583
30585
|
/**
|
|
@@ -30857,8 +30859,9 @@ class AppTable {
|
|
|
30857
30859
|
this.markAsDirty({ emitEvent: false /*markForCheck() is called just after*/ });
|
|
30858
30860
|
// Emit event
|
|
30859
30861
|
if (!opts || opts.emitEvent !== false) {
|
|
30860
|
-
|
|
30861
|
-
|
|
30862
|
+
this.markForCheck();
|
|
30863
|
+
// FIXME
|
|
30864
|
+
//this.detectChanges(); // Workaround need by SUMARiS (e.g. samples tables) otherwise new row is not visible
|
|
30862
30865
|
}
|
|
30863
30866
|
return row;
|
|
30864
30867
|
}
|