@esvndev/es-react-table-interface 1.8.19 → 1.8.21

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.
@@ -140,6 +140,8 @@ export interface IExternalInterface {
140
140
  onColumnChange?: (column: ColumnsTable, setColumn: any) => void;
141
141
  /**Có group không*/
142
142
  group?: IGroup;
143
+ /**Khai báo thanh toolbar*/
144
+ toolbarTemplate?: any;
143
145
  /**Khi các tham số tìm kiếm thay đổi*/
144
146
  onChangeParam?: (item: {
145
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.19",
3
+ "version": "1.8.21",
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",