inviton-powerduck 0.0.133 → 0.0.134

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.
@@ -155,9 +155,9 @@ export enum RowIndexMode {
155
155
  }
156
156
 
157
157
  export interface DataTableLoadedRowset {
158
- TotalCount: number;
159
- TotalFilteredCount: number;
160
- Rows: any[];
158
+ totalCount: number;
159
+ totalFilteredCount: number;
160
+ rows: any[];
161
161
  }
162
162
 
163
163
  interface StoredState {
@@ -1413,13 +1413,13 @@ class DataTableComponent extends TsxComponent<DataTableArgs> implements DataTabl
1413
1413
 
1414
1414
  if (mySelf.parseLoadedRowset != null) {
1415
1415
  const rowset = mySelf.parseLoadedRowset(data);
1416
- mySelf.totalCount = rowset.TotalCount;
1417
- mySelf.totalFilteredCount = rowset.TotalFilteredCount;
1418
- mySelf.rows = rowset.Rows;
1416
+ mySelf.totalCount = rowset.totalCount;
1417
+ mySelf.totalFilteredCount = rowset.totalFilteredCount;
1418
+ mySelf.rows = rowset.rows;
1419
1419
  } else {
1420
- mySelf.totalCount = data.TotalCount;
1421
- mySelf.totalFilteredCount = data.TotalFilteredCount;
1422
- mySelf.rows = data.Rows;
1420
+ mySelf.totalCount = data.totalCount ?? data.TotalCount;
1421
+ mySelf.totalFilteredCount = data.totalFilteredCount ?? data.TotalFilteredCount;
1422
+ mySelf.rows = data.rows ?? data.Rows;
1423
1423
  }
1424
1424
 
1425
1425
  mySelf.loadedRows = mySelf.rows;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "inviton-powerduck",
3
3
  "type": "module",
4
- "version": "0.0.133",
4
+ "version": "0.0.134",
5
5
  "files": [
6
6
  "app/",
7
7
  "common/",