@coolon/angular-ui-powerups 14.7.0 → 14.8.0
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/esm2020/lib/components/tables/abstract-table-model.mjs +4 -2
- package/esm2020/lib/components/tables/table/table-model.mjs +6 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs +8 -1
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +8 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3352,7 +3352,9 @@ class AbstractTableModel extends GarbageCollector {
|
|
|
3352
3352
|
this.rowSelectionDisabledOnAllColumns$ = chain(this._columnList).select(column => column.isRowSelectionEnabled()).count().equals(0);
|
|
3353
3353
|
when(chain(this._rawDataSource).first()).becomesTruthy(it => {
|
|
3354
3354
|
if (it === this.identityOf(it)) {
|
|
3355
|
-
console.warn("Table model identity function is using reference equality. This can cause lots of table re-rendering"
|
|
3355
|
+
console.warn("Table model identity function is using reference equality. This can cause lots of table re-rendering", {
|
|
3356
|
+
row: it
|
|
3357
|
+
});
|
|
3356
3358
|
}
|
|
3357
3359
|
}, { once: true });
|
|
3358
3360
|
}
|
|
@@ -3794,6 +3796,11 @@ class TableModel extends AbstractTableModel {
|
|
|
3794
3796
|
this._pageController = pagedListModel.pageController;
|
|
3795
3797
|
}
|
|
3796
3798
|
}
|
|
3799
|
+
// TODO: the selection model needs the option to limit selecction to the filtered items. Currently the selection remains
|
|
3800
|
+
// when the item is no longer in the visible list of items.
|
|
3801
|
+
// addSingleSelectionColumn<Id>(options: SingleSelectionModel.Options<Row, Id>, showSelectionColumn?: ValueModel<boolean> | boolean): SingleSelectionModel<Row> {
|
|
3802
|
+
// return null;
|
|
3803
|
+
// }
|
|
3797
3804
|
addSelectionColumn(selectionModel, showSelectionColumn) {
|
|
3798
3805
|
return this._addSelectionColumn(selectionModel, showSelectionColumn);
|
|
3799
3806
|
}
|