@smartbit4all/ng-client 3.2.36 → 3.2.38
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/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
- package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2020/lib/smart-grid/smart-grid.service.mjs +7 -2
- package/esm2020/lib/smart-table/tables/table.mjs +5 -3
- package/fesm2015/smartbit4all-ng-client.mjs +10 -3
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +10 -3
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-grid/api/grid-api/model/gridUpdateData.d.ts +1 -0
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.2.38.tgz +0 -0
- package/smartbit4all-ng-client-3.2.36.tgz +0 -0
|
@@ -5870,8 +5870,10 @@ class Table {
|
|
|
5870
5870
|
return `${this.smartTable.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;
|
|
5871
5871
|
}
|
|
5872
5872
|
isHighlighted(row) {
|
|
5873
|
-
if (
|
|
5874
|
-
|
|
5873
|
+
if (this.smartTable.highlightProperty) {
|
|
5874
|
+
if (row['data'][this.smartTable.highlightProperty]) {
|
|
5875
|
+
return true;
|
|
5876
|
+
}
|
|
5875
5877
|
}
|
|
5876
5878
|
if (!this.highlightedRows || !this.highlightedRows.length) {
|
|
5877
5879
|
return false;
|
|
@@ -11042,7 +11044,12 @@ class SmartGridService {
|
|
|
11042
11044
|
}
|
|
11043
11045
|
async setPage(uuid, gridIdentifier, offset, limit) {
|
|
11044
11046
|
await lastValueFrom(this.api.setPage(uuid, gridIdentifier, offset, limit));
|
|
11045
|
-
await this.
|
|
11047
|
+
await this.update(uuid, gridIdentifier, {
|
|
11048
|
+
orderByList: this.gridModel.view?.orderByList,
|
|
11049
|
+
orderedColumnNames: this.gridModel.view?.orderedColumnNames,
|
|
11050
|
+
pageSize: +limit,
|
|
11051
|
+
});
|
|
11052
|
+
// await this.load(uuid, gridIdentifier);
|
|
11046
11053
|
}
|
|
11047
11054
|
async sort(smartGrid, gridUpdateData) {
|
|
11048
11055
|
let gridModelResult = await this.api
|