es-grid-template 1.8.30 → 1.8.32
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.
|
@@ -101,7 +101,7 @@ export type ColumnTable<RecordType = AnyObject> = Omit<RcColumnType<RecordType>,
|
|
|
101
101
|
maxWidth?: string | number;
|
|
102
102
|
format?: IFormat | ((rowData: any) => IFormat);
|
|
103
103
|
allowFiltering?: boolean;
|
|
104
|
-
|
|
104
|
+
allowSortering?: boolean;
|
|
105
105
|
operator?: FilterOperator;
|
|
106
106
|
hideOperator?: boolean;
|
|
107
107
|
placeholder?: string;
|
|
@@ -218,6 +218,7 @@ export interface TableProps<RecordType = AnyObject> extends Omit<RcTableProps<Re
|
|
|
218
218
|
toolbarItems?: ToolbarItem[];
|
|
219
219
|
showColumnChoose?: boolean;
|
|
220
220
|
showAdvanceFilter?: boolean;
|
|
221
|
+
allowFiltering?: boolean;
|
|
221
222
|
onFilter?: (query: {
|
|
222
223
|
field: string;
|
|
223
224
|
key: string;
|
|
@@ -225,6 +226,7 @@ export interface TableProps<RecordType = AnyObject> extends Omit<RcTableProps<Re
|
|
|
225
226
|
predicate: 'and' | 'or';
|
|
226
227
|
value: any;
|
|
227
228
|
}[]) => void;
|
|
229
|
+
allowSortering?: boolean;
|
|
228
230
|
onSorter?: (args: {
|
|
229
231
|
column: ColumnTable<RecordType>;
|
|
230
232
|
columnKey: string;
|
|
@@ -101,7 +101,7 @@ export type ColumnTable<RecordType = AnyObject> = Omit<RcColumnType<RecordType>,
|
|
|
101
101
|
maxWidth?: string | number;
|
|
102
102
|
format?: IFormat | ((rowData: any) => IFormat);
|
|
103
103
|
allowFiltering?: boolean;
|
|
104
|
-
|
|
104
|
+
allowSortering?: boolean;
|
|
105
105
|
operator?: FilterOperator;
|
|
106
106
|
hideOperator?: boolean;
|
|
107
107
|
placeholder?: string;
|
|
@@ -218,6 +218,7 @@ export interface TableProps<RecordType = AnyObject> extends Omit<RcTableProps<Re
|
|
|
218
218
|
toolbarItems?: ToolbarItem[];
|
|
219
219
|
showColumnChoose?: boolean;
|
|
220
220
|
showAdvanceFilter?: boolean;
|
|
221
|
+
allowFiltering?: boolean;
|
|
221
222
|
onFilter?: (query: {
|
|
222
223
|
field: string;
|
|
223
224
|
key: string;
|
|
@@ -225,6 +226,7 @@ export interface TableProps<RecordType = AnyObject> extends Omit<RcTableProps<Re
|
|
|
225
226
|
predicate: 'and' | 'or';
|
|
226
227
|
value: any;
|
|
227
228
|
}[]) => void;
|
|
229
|
+
allowSortering?: boolean;
|
|
228
230
|
onSorter?: (args: {
|
|
229
231
|
column: ColumnTable<RecordType>;
|
|
230
232
|
columnKey: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-grid-template",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.32",
|
|
4
4
|
"description": "es-grid-template",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"sweetalert2": "^11.4.14",
|
|
82
82
|
"sweetalert2-react-content": "^5.0.0",
|
|
83
83
|
"throttle-debounce": "^5.0.2",
|
|
84
|
+
"usehooks-ts": "^3.1.1",
|
|
84
85
|
"vitest": "^2.0.5",
|
|
85
86
|
"yup": "1.6.1"
|
|
86
87
|
},
|
|
@@ -104,8 +105,7 @@
|
|
|
104
105
|
"rc-test": "^7.0.9",
|
|
105
106
|
"react": "^18.2.0",
|
|
106
107
|
"react-dom": "^18.2.0",
|
|
107
|
-
"typescript": "^4.0.5"
|
|
108
|
-
"usehooks-ts": "^3.1.1"
|
|
108
|
+
"typescript": "^4.0.5"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
111
|
"react": ">=16.9.0",
|