@esvndev/es-react-table-interface 1.6.29 → 1.7.11
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.
package/dist/interface.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ export interface IHeaderToolbar {
|
|
|
36
36
|
* @param rowSelected là dữ liệu của dòng được chọn
|
|
37
37
|
* @param dataSelected là dữ liệu của các dòng đã được chọn
|
|
38
38
|
* @param dataSourceFilter là dữ liệu của các ô tìm kiếm của cột loại checkbox
|
|
39
|
-
* @param listContextShow là danh sách các context menu được hiển thị
|
|
40
39
|
* @param listContextHide là danh sách các context menu bị ẩn
|
|
41
40
|
* @param contextMenuOpen là hàm xử lý khi mở context menu, vd: (props: any) => void
|
|
42
41
|
* @param stateId là viewId của bảng, vd: 'PurchaseRequest, PurchaseOrder, ...'
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { IGridColumns } from "../IGridColumns";
|
|
2
|
+
import { ColumnTable } from "es-grid-template/lib/grid-component/type";
|
|
1
3
|
export declare const renderColumnTableGrid: (res: any[], t: any, more: {
|
|
2
4
|
hasIndex?: boolean;
|
|
3
5
|
breakText?: "Content" | "Header" | "Both";
|
|
@@ -5,4 +7,20 @@ export declare const renderColumnTableGrid: (res: any[], t: any, more: {
|
|
|
5
7
|
levelGroup?: number;
|
|
6
8
|
responseColumn?: any[];
|
|
7
9
|
settingTable?: any;
|
|
8
|
-
}) =>
|
|
10
|
+
}) => ColumnTable[];
|
|
11
|
+
/**
|
|
12
|
+
* render cột cho table be-table-template
|
|
13
|
+
* @param res là dữ liệu cấu hình bảng api trả về
|
|
14
|
+
* @param t là hàm dịch ngôn ngữ
|
|
15
|
+
*/
|
|
16
|
+
export declare const renderColumnTable: (res: any[], t: any, hasIndex?: boolean) => IGridColumns[];
|
|
17
|
+
/**
|
|
18
|
+
* render cột cho table be-table-template
|
|
19
|
+
* @param res là dữ liệu cấu hình bảng api trả về
|
|
20
|
+
* @param listViewId là danh sách viewId của bảng
|
|
21
|
+
* @param isGetDataAuto có lấy dữ liệu tự động hay không
|
|
22
|
+
* @param t là hàm dịch ngôn ngữ
|
|
23
|
+
*/
|
|
24
|
+
export declare const renderColumnTableBe: (res: any[], t: any, listViewId: any[], hasIndex?: boolean) => {
|
|
25
|
+
[key: string]: any[];
|
|
26
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esvndev/es-react-table-interface",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.11",
|
|
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",
|