@esvndev/es-react-table-interface 1.8.18 → 1.8.20

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.
@@ -83,6 +83,7 @@ export interface IExternalInterface {
83
83
  listColumn?: any;
84
84
  /**Khai báo danh sách bảng con*/
85
85
  stateChildId?: {
86
+ hidden?: boolean;
86
87
  /**Mã bảng*/
87
88
  stateId: string;
88
89
  height?: number;
@@ -139,6 +140,8 @@ export interface IExternalInterface {
139
140
  onColumnChange?: (column: ColumnsTable, setColumn: any) => void;
140
141
  /**Có group không*/
141
142
  group?: IGroup;
143
+ /**Khai báo thanh toolbar*/
144
+ toolbarTemplate?: any;
142
145
  /**Khi các tham số tìm kiếm thay đổi*/
143
146
  onChangeParam?: (item: {
144
147
  keyword?: string;
@@ -14,19 +14,20 @@ export interface IButtonToolbar {
14
14
  }
15
15
  export interface IToolbarTemplate {
16
16
  width?: number;
17
- type: 'date' | 'daterange' | 'select' | 'selecttree' | 'input' | 'listDate';
17
+ type?: 'date' | 'daterange' | 'select' | 'selecttree' | 'input' | 'listDate';
18
18
  placeholder?: string;
19
19
  fieldLabel?: string;
20
20
  fieldValue?: string;
21
- keyCode: string;
22
- data: any;
23
- setData: any;
21
+ keyCode?: string;
22
+ data?: any;
23
+ setData?: any;
24
24
  option?: any[];
25
25
  isClearable?: boolean;
26
26
  columns?: any[];
27
27
  isMulti?: boolean;
28
28
  t: TFunction;
29
- position?: string;
29
+ position?: 'Top' | 'Bottom' | 'left';
30
+ align?: 'center' | 'left' | 'right';
30
31
  template?: any;
31
32
  showFooter?: any;
32
33
  loadOption?: (a: any, b: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-table-interface",
3
- "version": "1.8.18",
3
+ "version": "1.8.20",
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",