@esvndev/es-react-table-interface 1.4.10 → 1.4.12
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
|
@@ -87,9 +87,12 @@ export interface IExternalInterface {
|
|
|
87
87
|
totalCount?: number;
|
|
88
88
|
allowPaging?: boolean;
|
|
89
89
|
allowResizing?: boolean;
|
|
90
|
-
breakText?:
|
|
90
|
+
breakText?: 'Content' | 'Header' | 'Both';
|
|
91
91
|
hasIndex?: boolean;
|
|
92
|
+
isPrint?: boolean;
|
|
92
93
|
summary?: boolean;
|
|
94
|
+
isShowSearch?: boolean;
|
|
95
|
+
infiniteScroll?: boolean;
|
|
93
96
|
buttons?: IButtonToolbar[];
|
|
94
97
|
rowSelected?: any;
|
|
95
98
|
rowClassName?: any;
|
|
@@ -144,12 +147,15 @@ export interface IExternalInterface {
|
|
|
144
147
|
dataSelected?: any;
|
|
145
148
|
height?: number;
|
|
146
149
|
maxHeight?: number;
|
|
147
|
-
breakText?:
|
|
150
|
+
breakText?: 'Content' | 'Header' | 'Both';
|
|
151
|
+
breakTextHeader?: boolean;
|
|
152
|
+
infiniteScroll?: boolean;
|
|
148
153
|
showToolbar?: boolean;
|
|
149
154
|
typeCheckbox?: 'checkbox' | 'radio' | undefined;
|
|
150
155
|
loading?: boolean;
|
|
151
156
|
showColumnChoose?: boolean;
|
|
152
157
|
showHelp?: boolean;
|
|
158
|
+
settingTable?: ISettingTable;
|
|
153
159
|
querySelectDefault?: IQueryFilter[];
|
|
154
160
|
t: TFunction;
|
|
155
161
|
localeLanguage?: any;
|
|
@@ -185,6 +191,7 @@ export interface IExternalInterface {
|
|
|
185
191
|
updateGeneralSettingApi: any;
|
|
186
192
|
printDocumentApi: any;
|
|
187
193
|
uploadFileApi: any;
|
|
194
|
+
data?: any;
|
|
188
195
|
};
|
|
189
196
|
format?: {
|
|
190
197
|
thousandSeparator?: string;
|
|
@@ -311,11 +318,17 @@ export interface ITableConfigView {
|
|
|
311
318
|
IsHidden?: boolean;
|
|
312
319
|
IsActive?: boolean;
|
|
313
320
|
IsSumary?: boolean;
|
|
321
|
+
More?: string;
|
|
314
322
|
}
|
|
315
|
-
export interface
|
|
323
|
+
export interface IConfigMore {
|
|
324
|
+
widthPicture?: number;
|
|
325
|
+
heightPicture?: number;
|
|
326
|
+
}
|
|
327
|
+
export interface ISettingTable {
|
|
316
328
|
isGroup?: boolean;
|
|
317
329
|
isGroupClient?: boolean;
|
|
318
330
|
hiddenColumnGroup?: boolean;
|
|
319
331
|
showGroupIcon?: boolean;
|
|
332
|
+
breakText?: 'Header' | 'Content' | 'Both';
|
|
320
333
|
}
|
|
321
334
|
export {};
|
|
@@ -2,10 +2,11 @@ import { IGridColumns } from "../IGridColumns";
|
|
|
2
2
|
import { ColumnTable } from "es-grid-template/lib/grid-component/type";
|
|
3
3
|
export declare const renderColumnTableGrid: (res: any[], t: any, more: {
|
|
4
4
|
hasIndex?: boolean;
|
|
5
|
-
breakText?:
|
|
5
|
+
breakText?: "Content" | "Header" | "Both";
|
|
6
6
|
hasWorkflow?: boolean;
|
|
7
7
|
levelGroup?: number;
|
|
8
8
|
responseColumn?: any[];
|
|
9
|
+
settingTable?: any;
|
|
9
10
|
}) => ColumnTable[];
|
|
10
11
|
/**
|
|
11
12
|
* render cột cho table be-table-template
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esvndev/es-react-table-interface",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.12",
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@esvndev/es-react-import-export": "1.0.103",
|
|
31
|
-
"@esvndev/es-template-help": "1.0.
|
|
31
|
+
"@esvndev/es-template-help": "1.0.44",
|
|
32
32
|
"@hookform/resolvers": "^2.8.10",
|
|
33
33
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
34
34
|
"@rollup/plugin-image": "^3.0.3",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"axios": "^1.7.2",
|
|
55
55
|
"becoxy-icons": "1.9.9",
|
|
56
56
|
"classnames": "^2.5.1",
|
|
57
|
-
"es-grid-template": "1.
|
|
57
|
+
"es-grid-template": "1.6.0",
|
|
58
58
|
"es-print-template": "0.0.7",
|
|
59
59
|
"es-workflow-template": "0.4.5",
|
|
60
60
|
"eslint": "^8.25.0",
|