@sumaris-net/ngx-components 2.12.25-rc3 → 2.12.25-rc4
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.
|
@@ -29565,6 +29565,7 @@ class AppTable {
|
|
|
29565
29565
|
previouslyEditedRowId;
|
|
29566
29566
|
formErrorAdapter;
|
|
29567
29567
|
destroySubject = new Subject();
|
|
29568
|
+
forceDetectChanges = false;
|
|
29568
29569
|
excludesColumns = [];
|
|
29569
29570
|
displayedColumns;
|
|
29570
29571
|
totalRowCount = null;
|
|
@@ -30420,6 +30421,9 @@ class AppTable {
|
|
|
30420
30421
|
toggleSelectRow(event, row) {
|
|
30421
30422
|
event?.stopPropagation();
|
|
30422
30423
|
this.selection.toggle(row);
|
|
30424
|
+
if (this.forceDetectChanges) {
|
|
30425
|
+
this.detectChanges();
|
|
30426
|
+
}
|
|
30423
30427
|
}
|
|
30424
30428
|
clickRow(event, row) {
|
|
30425
30429
|
if (this.loading) {
|
|
@@ -30578,6 +30582,9 @@ class AppTable {
|
|
|
30578
30582
|
}
|
|
30579
30583
|
this.editedRow = row;
|
|
30580
30584
|
this.onStartEditingRow.emit(row);
|
|
30585
|
+
if (this.forceDetectChanges) {
|
|
30586
|
+
this.detectChanges();
|
|
30587
|
+
}
|
|
30581
30588
|
return true;
|
|
30582
30589
|
}
|
|
30583
30590
|
/**
|
|
@@ -30908,6 +30915,9 @@ class AppTable {
|
|
|
30908
30915
|
markForCheck() {
|
|
30909
30916
|
// Should be overridden by subclasses, depending on ChangeDetectionStrategy
|
|
30910
30917
|
}
|
|
30918
|
+
detectChanges() {
|
|
30919
|
+
// Should be overridden by subclasses, depending on ChangeDetectionStrategy
|
|
30920
|
+
}
|
|
30911
30921
|
async askDeleteConfirmation(event, rows) {
|
|
30912
30922
|
if (this.undoableDeletion) {
|
|
30913
30923
|
// Special message, for undoable deletion
|