@etsoo/react 1.8.5 → 1.8.7

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.
@@ -1,4 +1,4 @@
1
- import { QueryPagingData } from "@etsoo/appscript";
1
+ import { QueryPagingData, QueryPagingOrder } from "@etsoo/appscript";
2
2
  import { DataTypes } from "@etsoo/shared";
3
3
  /**
4
4
  * Grid size
@@ -68,7 +68,7 @@ export interface GridLoader<T extends object> {
68
68
  /**
69
69
  * Default order by
70
70
  */
71
- defaultOrderBy?: Record<string, boolean>;
71
+ defaultOrderBy?: QueryPagingOrder[];
72
72
  /**
73
73
  * Batch size when load data, default will be calcuated with height and itemSize
74
74
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.8.5",
3
+ "version": "1.8.7",
4
4
  "description": "TypeScript ReactJs UI Independent Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -48,12 +48,12 @@
48
48
  "@emotion/css": "^11.13.5",
49
49
  "@emotion/react": "^11.13.5",
50
50
  "@emotion/styled": "^11.13.5",
51
- "@etsoo/appscript": "^1.5.76",
51
+ "@etsoo/appscript": "^1.5.78",
52
52
  "@etsoo/notificationbase": "^1.1.54",
53
53
  "@etsoo/shared": "^1.2.55",
54
54
  "react": "^18.3.1",
55
55
  "react-dom": "^18.3.1",
56
- "react-router-dom": "^7.0.1",
56
+ "react-router-dom": "^7.0.2",
57
57
  "react-window": "^1.8.10"
58
58
  },
59
59
  "devDependencies": {
@@ -1,4 +1,4 @@
1
- import { QueryPagingData } from "@etsoo/appscript";
1
+ import { QueryPagingData, QueryPagingOrder } from "@etsoo/appscript";
2
2
  import { DataTypes, DomUtils } from "@etsoo/shared";
3
3
 
4
4
  /**
@@ -106,7 +106,7 @@ export interface GridLoader<T extends object> {
106
106
  /**
107
107
  * Default order by
108
108
  */
109
- defaultOrderBy?: Record<string, boolean>;
109
+ defaultOrderBy?: QueryPagingOrder[];
110
110
 
111
111
  /**
112
112
  * Batch size when load data, default will be calcuated with height and itemSize