@esvndev/es-react-table-interface 1.9.31 → 1.9.32
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interface.d.ts +12 -3
- package/package.json +1 -1
package/dist/interface.d.ts
CHANGED
|
@@ -2,9 +2,10 @@ import { currencies } from './ultility/any/constantConfigNumeric';
|
|
|
2
2
|
import { IButtonToolbar, IToolbarTemplate } from './ultility/Export/InterfaceExport';
|
|
3
3
|
import { ColumnsTable, ColumnTable } from 'es-grid-template/lib/grid-component/type';
|
|
4
4
|
import { IFDataSetup } from './ultility/any/ISetup';
|
|
5
|
-
import { IFColumnSelectTable } from './component/export';
|
|
6
5
|
import { CommandItem } from 'rc-master-ui/es/table/interface';
|
|
7
6
|
import { TEsExternalTranslator } from './i18n';
|
|
7
|
+
import { Key } from 'react';
|
|
8
|
+
import { CheckboxProps } from 'rc-master-ui';
|
|
8
9
|
export interface IBreadCrumbsNotLinkProps {
|
|
9
10
|
breadCrumbTitle?: string;
|
|
10
11
|
breadCrumbActive: string;
|
|
@@ -337,7 +338,7 @@ export interface IExternalInterface {
|
|
|
337
338
|
label: string;
|
|
338
339
|
isClearable?: boolean | undefined;
|
|
339
340
|
loadOptions?: any;
|
|
340
|
-
columns?:
|
|
341
|
+
columns?: any[] | undefined;
|
|
341
342
|
fieldLabel?: string;
|
|
342
343
|
fieldValue?: string;
|
|
343
344
|
options: any[];
|
|
@@ -384,7 +385,6 @@ export interface IExternalInterface {
|
|
|
384
385
|
/**Cài đặt lựa chọn*/
|
|
385
386
|
selectionSetting?: {
|
|
386
387
|
/**Ẩn chọn tất cả*/
|
|
387
|
-
hideSelectAll?: boolean;
|
|
388
388
|
/**Loại chọn hàng*/
|
|
389
389
|
typeCheckbox?: 'checkbox' | 'radio' | undefined;
|
|
390
390
|
/**Chọn nhiều*/
|
|
@@ -393,7 +393,16 @@ export interface IExternalInterface {
|
|
|
393
393
|
disableChekbox?: (record: any) => boolean;
|
|
394
394
|
/**Kích thước cột*/
|
|
395
395
|
width?: number;
|
|
396
|
+
mode?: 'checkbox' | 'radio';
|
|
397
|
+
type?: 'single' | 'multiple';
|
|
396
398
|
checkboxOnly?: boolean;
|
|
399
|
+
checkStrictly?: boolean;
|
|
400
|
+
checkedStrategy?: 'all' | 'parent' | 'child';
|
|
401
|
+
columnWidth?: number;
|
|
402
|
+
hideSelectAll?: boolean;
|
|
403
|
+
selectedRowKeys?: Key[];
|
|
404
|
+
defaultSelectedRowKeys?: Key[];
|
|
405
|
+
getCheckboxProps?: (record: any) => Partial<Omit<CheckboxProps, 'checked' | 'defaultChecked'>>;
|
|
397
406
|
};
|
|
398
407
|
/**Có filter theo cột không*/
|
|
399
408
|
allowFiltering?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esvndev/es-react-table-interface",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.32",
|
|
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",
|