@esvndev/es-react-table-interface 1.0.5 → 1.0.7

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.
@@ -54,7 +54,6 @@ export interface IHeaderToolbar {
54
54
  * @param totalCount tổng số bản ghi (khi truyền vào sẽ không gọi dữ liệu mặc định)
55
55
  * @param stateChildId Mã các bảng con vd ['Table1', 'Table2'], bảng con đính kém: 'AttachFile'
56
56
  * @param titleChild Tiêu đề của tabChild
57
- * @param isEdit cho phép bật tính năng sửa trực tiếp trên bảng
58
57
  */
59
58
  export interface IExternalInterface {
60
59
  rowDataBound?: any;
@@ -63,6 +62,7 @@ export interface IExternalInterface {
63
62
  stateChildId?: {
64
63
  stateId: string;
65
64
  stateName: string;
65
+ querySelectDefault?: IQueryFilter[];
66
66
  dataSource?: any[];
67
67
  columns?: ColumnsType;
68
68
  totalCount?: number;
@@ -92,15 +92,15 @@ export interface IExternalInterface {
92
92
  dataSelected?: any;
93
93
  height?: number;
94
94
  maxHeight?: number;
95
- loading?: boolean;
96
95
  breakText?: boolean;
97
96
  showToolbar?: boolean;
98
97
  typeCheckbox?: 'checkbox' | 'radio' | undefined;
98
+ loading?: boolean;
99
99
  showColumnChoose?: boolean;
100
100
  querySelectDefault?: IQueryFilter[];
101
101
  t: TFunction;
102
102
  localeLanguage?: any;
103
- api?: {
103
+ api: {
104
104
  apiGetColumns: any;
105
105
  apiGetOption: any;
106
106
  apiGetDataView: any;
@@ -125,6 +125,9 @@ export interface IExternalInterface {
125
125
  summary?: boolean;
126
126
  rowClassName?: any;
127
127
  dataSource?: any[];
128
+ checkInit?: any;
129
+ checkInit1?: any;
130
+ checkInit2?: any;
128
131
  columns?: ColumnsType;
129
132
  totalCount?: number;
130
133
  hideSelectAll?: boolean;
@@ -154,7 +157,6 @@ export interface IExternalInterface {
154
157
  renderCell?: (value: boolean, record: any, index: number, originNode: React.ReactNode) => React.ReactNode | any;
155
158
  onCell?: any;
156
159
  };
157
- isEdit?: boolean | false;
158
160
  }
159
161
  export interface IQueryFilter {
160
162
  key: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  interface Iprop {
3
- listFile: any[];
3
+ listFile: string;
4
4
  height: any;
5
5
  }
6
6
  declare const TabAttachFile: (props: Iprop) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-table-interface",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
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",
@@ -48,7 +48,7 @@
48
48
  "axios": "^1.7.2",
49
49
  "becoxy-icons": "1.9.9",
50
50
  "classnames": "^2.5.1",
51
- "es-grid-template": "1.2.1",
51
+ "es-grid-template": "1.2.5",
52
52
  "eslint": "^8.25.0",
53
53
  "eslint-config-prettier": "^8.5.0",
54
54
  "eslint-plugin-prettier": "^4.2.1",
@@ -101,4 +101,4 @@
101
101
  "dependencies": {
102
102
  "postcss": "^8.4.35"
103
103
  }
104
- }
104
+ }