@esvndev/es-react-table-interface 1.7.34 → 1.7.36

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.
@@ -84,6 +84,7 @@ export interface IExternalInterface {
84
84
  stateChildId?: {
85
85
  /**Mã bảng*/
86
86
  stateId: string;
87
+ height?: number;
87
88
  total?: number;
88
89
  /**Tên tab*/
89
90
  stateName: string;
@@ -117,6 +118,8 @@ export interface IExternalInterface {
117
118
  buttons?: IButtonToolbar[];
118
119
  /**Dữ liệu của dòng được chọn*/
119
120
  rowSelected?: any;
121
+ /**Dữ liệu của các dòng đã được chọn*/
122
+ dataSelected?: any;
120
123
  /**Thêm class css cho hàng*/
121
124
  rowClassName?: any;
122
125
  /**Nội dung hiển thị thay thế tabcontent*/
@@ -157,7 +160,7 @@ export interface IExternalInterface {
157
160
  /**Các lựa chọn số dòng trên mỗi trang*/
158
161
  pageSizeOptions?: number[];
159
162
  }[];
160
- /**Hàm sau khi dữ liệu thay đổi*/
163
+ /**Hàm sau khi dữ liệu cột thay đổi*/
161
164
  onDataChange?: (data: any[], setData: any) => void;
162
165
  /**Hàm sau khi dữ liệu cột thay đổi*/
163
166
  onColumnChange?: (column: ColumnsTable, setColumn: any) => void;
@@ -223,7 +226,8 @@ export interface IExternalInterface {
223
226
  showColumnChoose?: boolean;
224
227
  /**Có hiện nút help không*/
225
228
  showHelp?: boolean;
226
- settingTable?: ISettingTable;
229
+ settingTb?: ISettingTable;
230
+ setSettingTb?: (a: ISettingTable) => void;
227
231
  /**Các tham số tìm kiếm mặc định*/
228
232
  querySelectDefault?: IQueryFilter[];
229
233
  /**Hàm biên dịch ngôn ngữ*/
@@ -455,6 +459,7 @@ export interface IConfigMore {
455
459
  isShowPrint?: boolean;
456
460
  }
457
461
  export interface ISettingTable {
462
+ displayChildSidebar?: boolean;
458
463
  isTree?: boolean;
459
464
  isGroup?: boolean;
460
465
  isGroupClient?: boolean;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface IFDataProps {
3
+ open: boolean;
4
+ children: any;
5
+ toggleSidebar: any;
6
+ width?: string | number;
7
+ keyboard?: boolean;
8
+ }
9
+ declare const Sidebar: (props: IFDataProps) => React.JSX.Element;
10
+ export default Sidebar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-table-interface",
3
- "version": "1.7.34",
3
+ "version": "1.7.36",
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",