@esvndev/es-react-table-interface 1.4.1 → 1.4.3

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.
@@ -103,6 +103,16 @@ export interface IExternalInterface {
103
103
  queryFilter?: any[];
104
104
  queryOrder?: any[];
105
105
  }) => void;
106
+ selectionSetting?: {
107
+ hideSelectAll?: boolean;
108
+ typeCheckbox?: 'checkbox' | 'radio' | undefined;
109
+ isSelectMulti?: boolean;
110
+ disableChekbox?: (record: any) => boolean;
111
+ width?: number;
112
+ };
113
+ currentPageDefault?: number;
114
+ rowsPerPageDefault?: number;
115
+ pageSizeOptions?: number[];
106
116
  }[];
107
117
  onDataChange?: (data: any[], setData: any) => void;
108
118
  group?: IGroup;
@@ -193,6 +203,13 @@ export interface IExternalInterface {
193
203
  showPrint?: boolean;
194
204
  showSetting?: boolean;
195
205
  };
206
+ selectionSetting?: {
207
+ hideSelectAll?: boolean;
208
+ typeCheckbox?: 'checkbox' | 'radio' | undefined;
209
+ isSelectMulti?: boolean;
210
+ disableChekbox?: (record: any) => boolean;
211
+ width?: number;
212
+ };
196
213
  allowPaging?: boolean;
197
214
  allowResizing?: boolean;
198
215
  allowFilterClient?: boolean;
@@ -27,5 +27,6 @@ export interface IToolbarTemplate {
27
27
  isMulti?: boolean;
28
28
  t: TFunction;
29
29
  position?: string;
30
+ template?: any;
30
31
  loadOption?: (a: any, b: any) => void;
31
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-table-interface",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "This product is designed by ESVN and is only for use in products distributed by ESVN. Any product, whether for non-commercial research or commercial purposes, must have written legal approval and a digital signature from ESVN.",
5
5
  "license": "ESVN Limited Use License",
6
6
  "author": "dev@esvn.com.vn",