react-table-edit 1.5.9 → 1.5.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/component/input/input-date/index.d.ts +8 -5
- package/dist/component/input/input-date-gange/index.d.ts +21 -0
- package/dist/component/input/input-date-range/index.d.ts +21 -0
- package/dist/component/select-table/index.d.ts +2 -2
- package/dist/component/sidebar-setting-column/index.d.ts +0 -2
- package/dist/component/table/edit-element.d.ts +1 -1
- package/dist/component/table/filter-element.d.ts +13 -0
- package/dist/component/table/index.d.ts +2 -2
- package/dist/component/table/toolbar-top.d.ts +3 -1
- package/dist/component/table-view/header.d.ts +1 -1
- package/dist/component/tree-table/key-handlers.d.ts +8 -8
- package/dist/component/type/index.d.ts +16 -16
- package/dist/index.d.ts +15 -15
- package/dist/index.js +4975 -9806
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4976 -9807
- package/dist/index.mjs.map +1 -1
- package/dist/styles/date-picker.css +74 -771
- package/dist/styles/date-picker.css.map +1 -1
- package/dist/styles/index.css +79 -770
- package/dist/styles/index.css.map +1 -1
- package/package.json +2 -3
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import { ClipboardEvent } from 'react';
|
|
1
|
+
import React, { ClipboardEvent } from 'react';
|
|
2
|
+
import 'react-day-picker/dist/style.css';
|
|
2
3
|
interface IFFormInput {
|
|
3
4
|
id?: string;
|
|
4
|
-
dateFormat:
|
|
5
|
-
onChange: any;
|
|
5
|
+
dateFormat: 'dd/MM/yyyy' | 'dd/MM/yyyy HH:mm' | 'MM/yyyy';
|
|
6
6
|
className?: string;
|
|
7
|
+
invalid?: boolean;
|
|
7
8
|
value: Date;
|
|
9
|
+
container?: any;
|
|
10
|
+
onChange: (range: Date | undefined) => void;
|
|
8
11
|
onKeyDown?: (e: React.KeyboardEvent<any>) => void | any;
|
|
9
12
|
onPaste?: (e: ClipboardEvent<HTMLElement>) => void;
|
|
10
13
|
}
|
|
11
|
-
declare const
|
|
12
|
-
export default
|
|
14
|
+
declare const DatePicker: React.ForwardRefExoticComponent<IFFormInput & React.RefAttributes<unknown>>;
|
|
15
|
+
export default DatePicker;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { ClipboardEvent } from 'react';
|
|
2
|
+
import 'react-day-picker/dist/style.css';
|
|
3
|
+
interface IFDateRange {
|
|
4
|
+
id?: string;
|
|
5
|
+
dateFormat?: 'dd/MM/yyyy' | 'dd/MM/yyyy HH:mm' | 'MM/yyyy';
|
|
6
|
+
className?: string;
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
value?: {
|
|
9
|
+
from?: Date;
|
|
10
|
+
to?: Date;
|
|
11
|
+
};
|
|
12
|
+
container?: any;
|
|
13
|
+
onChange: (value: {
|
|
14
|
+
from?: Date | string;
|
|
15
|
+
to?: Date | string;
|
|
16
|
+
}) => void;
|
|
17
|
+
onKeyDown?: (e: React.KeyboardEvent<any>) => void | any;
|
|
18
|
+
onPaste?: (e: ClipboardEvent<HTMLElement>) => void;
|
|
19
|
+
}
|
|
20
|
+
declare const DateRangePicker: React.ForwardRefExoticComponent<IFDateRange & React.RefAttributes<unknown>>;
|
|
21
|
+
export default DateRangePicker;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { ClipboardEvent } from 'react';
|
|
2
|
+
import 'react-day-picker/dist/style.css';
|
|
3
|
+
interface IFDateRange {
|
|
4
|
+
id?: string;
|
|
5
|
+
dateFormat?: 'dd/MM/yyyy' | 'dd/MM/yyyy HH:mm' | 'MM/yyyy';
|
|
6
|
+
className?: string;
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
value?: {
|
|
9
|
+
from?: Date;
|
|
10
|
+
to?: Date;
|
|
11
|
+
};
|
|
12
|
+
container?: any;
|
|
13
|
+
onChange: (value: {
|
|
14
|
+
from?: Date | string;
|
|
15
|
+
to?: Date | string;
|
|
16
|
+
}) => void;
|
|
17
|
+
onKeyDown?: (e: React.KeyboardEvent<any>) => void | any;
|
|
18
|
+
onPaste?: (e: ClipboardEvent<HTMLElement>) => void;
|
|
19
|
+
}
|
|
20
|
+
declare const DateRangePicker: React.ForwardRefExoticComponent<IFDateRange & React.RefAttributes<unknown>>;
|
|
21
|
+
export default DateRangePicker;
|
|
@@ -4,8 +4,6 @@ export interface IFPropsDetail {
|
|
|
4
4
|
setColumn: any;
|
|
5
5
|
openSidebar: boolean;
|
|
6
6
|
handleSidebar: any;
|
|
7
|
-
resetDefaultColumns?: () => void;
|
|
8
|
-
formatSetting?: any;
|
|
9
7
|
}
|
|
10
8
|
declare const SidebarSetColumn: (props: IFPropsDetail) => import("react/jsx-runtime").JSX.Element;
|
|
11
9
|
export default SidebarSetColumn;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Dispatch } from 'react';
|
|
2
|
+
import 'react-resizable/css/styles.css';
|
|
3
|
+
import { IColumnTable, IFFilterTable, IFTableEditFormat } from '../type';
|
|
4
|
+
type IFilterProps = {
|
|
5
|
+
column: IColumnTable;
|
|
6
|
+
optionsFilter: any;
|
|
7
|
+
filterBy: IFFilterTable[];
|
|
8
|
+
setOpenFilter: Dispatch<boolean>;
|
|
9
|
+
formatSetting?: IFTableEditFormat;
|
|
10
|
+
changeFilter: (data: IFFilterTable[]) => void;
|
|
11
|
+
};
|
|
12
|
+
declare const FilterComponent: ({ optionsFilter, formatSetting, filterBy, setOpenFilter, changeFilter, column }: IFilterProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default FilterComponent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Dispatch, SetStateAction } from
|
|
2
|
-
import { IColumnTable, IFSettingColumns, IFTableEditButton, IFTableEditFormat, IFTableEditPaging, IFTableEditSearchSetting, IFTableEditToolbar } from
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { IColumnTable, IFSettingColumns, IFTableEditButton, IFTableEditFormat, IFTableEditPaging, IFTableEditSearchSetting, IFTableEditToolbar } from '../type';
|
|
3
3
|
export type IFTableEditProps = {
|
|
4
4
|
idTable?: string;
|
|
5
5
|
dataSource: any[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
1
2
|
import { IFToolbarOptions } from "../type";
|
|
2
3
|
type IFDataProps = {
|
|
3
4
|
toolbarTopOption?: IFToolbarOptions[];
|
|
5
|
+
setOpenPopupSetupColumn: Dispatch<SetStateAction<boolean>>;
|
|
4
6
|
};
|
|
5
|
-
declare const RenderToolbarTop: ({ toolbarTopOption }: IFDataProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const RenderToolbarTop: ({ toolbarTopOption, setOpenPopupSetupColumn }: IFDataProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export default RenderToolbarTop;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
import 'react-resizable/css/styles.css';
|
|
3
|
-
import { IColumnTable, IFFilterTable, IFOrderTable, IFTableEditFormat } from
|
|
3
|
+
import { IColumnTable, IFFilterTable, IFOrderTable, IFTableEditFormat } from '../type';
|
|
4
4
|
type IFDataProps = {
|
|
5
5
|
idTable: string;
|
|
6
6
|
selectEnable: boolean;
|
|
@@ -12,7 +12,7 @@ export interface KeyHandlerParams {
|
|
|
12
12
|
pagingClient?: boolean;
|
|
13
13
|
totalCount: number;
|
|
14
14
|
columnLastEdit: number;
|
|
15
|
-
|
|
15
|
+
addMoveNewCell: () => void;
|
|
16
16
|
editDisable?: boolean;
|
|
17
17
|
addDisable?: boolean;
|
|
18
18
|
handleDuplicate: () => void;
|
|
@@ -22,10 +22,10 @@ export interface KeyHandlerParams {
|
|
|
22
22
|
getNewParents: (parent: string, index: number) => string;
|
|
23
23
|
fieldChildren?: string;
|
|
24
24
|
}
|
|
25
|
-
export declare const handleArrowRight: (e: KeyboardEvent<any>, params: KeyHandlerParams) =>
|
|
26
|
-
export declare const handleArrowLeft: (e: KeyboardEvent<any>, params: KeyHandlerParams) =>
|
|
27
|
-
export declare const handleArrowUp: (e: KeyboardEvent<any>, params: KeyHandlerParams) =>
|
|
28
|
-
export declare const handleArrowDown: (e: KeyboardEvent<any>, params: KeyHandlerParams) =>
|
|
29
|
-
export declare const handleTab: (e: KeyboardEvent<any>, params: KeyHandlerParams) =>
|
|
30
|
-
export declare const handleEnter: (e: KeyboardEvent<any>, params: KeyHandlerParams) =>
|
|
31
|
-
export declare const handleCtrlD: (e: KeyboardEvent<any>, params: KeyHandlerParams) =>
|
|
25
|
+
export declare const handleArrowRight: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
|
|
26
|
+
export declare const handleArrowLeft: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
|
|
27
|
+
export declare const handleArrowUp: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
|
|
28
|
+
export declare const handleArrowDown: (e: KeyboardEvent<any>, params: KeyHandlerParams) => "" | undefined;
|
|
29
|
+
export declare const handleTab: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
|
|
30
|
+
export declare const handleEnter: (e: KeyboardEvent<any>, params: KeyHandlerParams) => "" | undefined;
|
|
31
|
+
export declare const handleCtrlD: (e: KeyboardEvent<any>, params: KeyHandlerParams) => void;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Dispatch, JSX, ReactNode, SetStateAction } from
|
|
2
|
-
import { UseFormGetValues, UseFormReset, UseFormSetValue } from
|
|
1
|
+
import { Dispatch, JSX, ReactNode, SetStateAction } from 'react';
|
|
2
|
+
import { UseFormGetValues, UseFormReset, UseFormSetValue } from 'react-hook-form';
|
|
3
3
|
/** Căn lề văn bản trong bảng */
|
|
4
|
-
type ITextAlign =
|
|
4
|
+
type ITextAlign = 'center' | 'left' | 'right';
|
|
5
5
|
/**
|
|
6
6
|
* Loại cột hiển thị trong hệ thống.
|
|
7
7
|
*
|
|
8
8
|
* Lưu ý:
|
|
9
9
|
* - Các loại 'text', 'numeric', 'datetime' không được dùng cho view.
|
|
10
10
|
*/
|
|
11
|
-
export type IColumnType =
|
|
11
|
+
export type IColumnType = '#' | 'command' | 'text' | 'numeric' | 'datetime' | 'date' | 'checkbox' | 'select' | 'form' | 'formInline' | 'color' | 'selectTree';
|
|
12
12
|
/** Loại lọc của cột */
|
|
13
|
-
type IFilterType =
|
|
13
|
+
export type IFilterType = 'text' | 'numeric' | 'date' | 'select';
|
|
14
14
|
export type ICellInfo = {
|
|
15
15
|
/** index hàng */
|
|
16
16
|
row: number;
|
|
@@ -34,7 +34,7 @@ export type ICommandItem = {
|
|
|
34
34
|
export type IFToolbarOptions = {
|
|
35
35
|
id?: string;
|
|
36
36
|
/** Vị trí hiển thị (trái, phải, giữa) */
|
|
37
|
-
align:
|
|
37
|
+
align: 'left' | 'right' | 'center';
|
|
38
38
|
/** Template toolbar */
|
|
39
39
|
template?: () => JSX.Element | string | number | undefined;
|
|
40
40
|
};
|
|
@@ -47,7 +47,7 @@ export type IFSettingColumns = {
|
|
|
47
47
|
/** Có hiển thị không */
|
|
48
48
|
visible?: boolean;
|
|
49
49
|
/** Cố định trái/phải */
|
|
50
|
-
fixedType?:
|
|
50
|
+
fixedType?: 'left' | 'right';
|
|
51
51
|
/** Chiều rộng cột */
|
|
52
52
|
width?: number | string;
|
|
53
53
|
/** Sắp xếp */
|
|
@@ -58,7 +58,7 @@ export type ISettingFormElement = {
|
|
|
58
58
|
/** Schema định nghĩa cấu trúc form */
|
|
59
59
|
schema: any;
|
|
60
60
|
/** Kích thước nhãn */
|
|
61
|
-
labelSize?:
|
|
61
|
+
labelSize?: 'label-small' | 'label-medium' | 'label-large';
|
|
62
62
|
/** Chiều rộng popup form */
|
|
63
63
|
menuWidth?: number;
|
|
64
64
|
/** Chiều cao popup form */
|
|
@@ -143,7 +143,7 @@ export type ISettingNumericElement = {
|
|
|
143
143
|
/** Định nghĩa cột bảng */
|
|
144
144
|
export type IColumnTable = {
|
|
145
145
|
/** Tên thuộc tính */
|
|
146
|
-
field:
|
|
146
|
+
field: '#' | 'checkbox' | 'command' | string;
|
|
147
147
|
/** Tên thuộc tính lọc*/
|
|
148
148
|
fieldFilter?: string;
|
|
149
149
|
/** Tiêu đề cột */
|
|
@@ -173,7 +173,7 @@ export type IColumnTable = {
|
|
|
173
173
|
/** Căn lề */
|
|
174
174
|
textAlign?: ITextAlign;
|
|
175
175
|
/** Cố định trái/phải */
|
|
176
|
-
fixedType?:
|
|
176
|
+
fixedType?: 'left' | 'right' | undefined;
|
|
177
177
|
/** Danh sách thao tác */
|
|
178
178
|
commandItems?: ICommandItem[];
|
|
179
179
|
/** Placeholder trong ô input */
|
|
@@ -322,7 +322,7 @@ export type IHeaderColumnTable = {
|
|
|
322
322
|
/** Cho phép lọc cột */
|
|
323
323
|
allowFilter?: boolean;
|
|
324
324
|
/** Cố định trái/phải */
|
|
325
|
-
fixedType?:
|
|
325
|
+
fixedType?: 'left' | 'right' | undefined;
|
|
326
326
|
/** Cấu hình cho kiểu numeric */
|
|
327
327
|
numericSettings?: ISettingNumericElement;
|
|
328
328
|
/** Kiểu chỉnh sửa */
|
|
@@ -338,9 +338,9 @@ export type IFColumnSelectTable = {
|
|
|
338
338
|
/** Cờ cho phép hiển thị hoặc ẩn cột (mặc định là true) */
|
|
339
339
|
visible?: boolean;
|
|
340
340
|
/** Căn lề nội dung trong cột: trái, phải, giữa */
|
|
341
|
-
textAlign?:
|
|
341
|
+
textAlign?: 'left' | 'right' | 'center';
|
|
342
342
|
/** Loại dữ liệu của cột: văn bản, số, ngày, ngày giờ */
|
|
343
|
-
type?:
|
|
343
|
+
type?: 'text' | 'numeric' | 'date' | 'datetime';
|
|
344
344
|
/** Template tùy chỉnh nội dung hiển thị trong ô */
|
|
345
345
|
template?: any;
|
|
346
346
|
/** Điều kiện thay đổi kiểu dữ liệu của cột */
|
|
@@ -376,7 +376,7 @@ export type FromItemsField = {
|
|
|
376
376
|
/** Nhãn hiển thị cho trường dữ liệu */
|
|
377
377
|
label: string;
|
|
378
378
|
/** Loại trường dữ liệu: văn bản, số, chọn, chọn có thể tạo mới */
|
|
379
|
-
type:
|
|
379
|
+
type: 'text' | 'numeric' | 'select' | 'selectCreatable';
|
|
380
380
|
/** Trường có bị disable hay không (không cho chỉnh sửa) */
|
|
381
381
|
disabled?: boolean;
|
|
382
382
|
/** Số chữ số sau dấu phẩy (chỉ áp dụng với loại 'numeric') */
|
|
@@ -396,11 +396,11 @@ export type IColumnsAgg = {
|
|
|
396
396
|
};
|
|
397
397
|
export type IFOrderTable = {
|
|
398
398
|
key: string;
|
|
399
|
-
direction:
|
|
399
|
+
direction: 'asc' | 'desc';
|
|
400
400
|
};
|
|
401
401
|
export type IFFilterTable = {
|
|
402
402
|
key: string;
|
|
403
403
|
value: any;
|
|
404
|
-
ope:
|
|
404
|
+
ope: 'startswith' | 'endswith' | 'contains' | 'equal' | 'notequal' | 'greaterthan' | 'greaterthanorequal' | 'lessthan' | 'lessthanorequal';
|
|
405
405
|
};
|
|
406
406
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -5,16 +5,16 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
5
5
|
import { TFunction } from 'react-i18next';
|
|
6
6
|
|
|
7
7
|
/** Căn lề văn bản trong bảng */
|
|
8
|
-
type ITextAlign =
|
|
8
|
+
type ITextAlign = 'center' | 'left' | 'right';
|
|
9
9
|
/**
|
|
10
10
|
* Loại cột hiển thị trong hệ thống.
|
|
11
11
|
*
|
|
12
12
|
* Lưu ý:
|
|
13
13
|
* - Các loại 'text', 'numeric', 'datetime' không được dùng cho view.
|
|
14
14
|
*/
|
|
15
|
-
type IColumnType =
|
|
15
|
+
type IColumnType = '#' | 'command' | 'text' | 'numeric' | 'datetime' | 'date' | 'checkbox' | 'select' | 'form' | 'formInline' | 'color' | 'selectTree';
|
|
16
16
|
/** Loại lọc của cột */
|
|
17
|
-
type IFilterType =
|
|
17
|
+
type IFilterType = 'text' | 'numeric' | 'date' | 'select';
|
|
18
18
|
type ICellInfo = {
|
|
19
19
|
/** index hàng */
|
|
20
20
|
row: number;
|
|
@@ -38,7 +38,7 @@ type ICommandItem = {
|
|
|
38
38
|
type IFToolbarOptions = {
|
|
39
39
|
id?: string;
|
|
40
40
|
/** Vị trí hiển thị (trái, phải, giữa) */
|
|
41
|
-
align:
|
|
41
|
+
align: 'left' | 'right' | 'center';
|
|
42
42
|
/** Template toolbar */
|
|
43
43
|
template?: () => JSX.Element | string | number | undefined;
|
|
44
44
|
};
|
|
@@ -51,7 +51,7 @@ type IFSettingColumns = {
|
|
|
51
51
|
/** Có hiển thị không */
|
|
52
52
|
visible?: boolean;
|
|
53
53
|
/** Cố định trái/phải */
|
|
54
|
-
fixedType?:
|
|
54
|
+
fixedType?: 'left' | 'right';
|
|
55
55
|
/** Chiều rộng cột */
|
|
56
56
|
width?: number | string;
|
|
57
57
|
/** Sắp xếp */
|
|
@@ -62,7 +62,7 @@ type ISettingFormElement = {
|
|
|
62
62
|
/** Schema định nghĩa cấu trúc form */
|
|
63
63
|
schema: any;
|
|
64
64
|
/** Kích thước nhãn */
|
|
65
|
-
labelSize?:
|
|
65
|
+
labelSize?: 'label-small' | 'label-medium' | 'label-large';
|
|
66
66
|
/** Chiều rộng popup form */
|
|
67
67
|
menuWidth?: number;
|
|
68
68
|
/** Chiều cao popup form */
|
|
@@ -147,7 +147,7 @@ type ISettingNumericElement = {
|
|
|
147
147
|
/** Định nghĩa cột bảng */
|
|
148
148
|
type IColumnTable = {
|
|
149
149
|
/** Tên thuộc tính */
|
|
150
|
-
field:
|
|
150
|
+
field: '#' | 'checkbox' | 'command' | string;
|
|
151
151
|
/** Tên thuộc tính lọc*/
|
|
152
152
|
fieldFilter?: string;
|
|
153
153
|
/** Tiêu đề cột */
|
|
@@ -177,7 +177,7 @@ type IColumnTable = {
|
|
|
177
177
|
/** Căn lề */
|
|
178
178
|
textAlign?: ITextAlign;
|
|
179
179
|
/** Cố định trái/phải */
|
|
180
|
-
fixedType?:
|
|
180
|
+
fixedType?: 'left' | 'right' | undefined;
|
|
181
181
|
/** Danh sách thao tác */
|
|
182
182
|
commandItems?: ICommandItem[];
|
|
183
183
|
/** Placeholder trong ô input */
|
|
@@ -326,7 +326,7 @@ type IHeaderColumnTable = {
|
|
|
326
326
|
/** Cho phép lọc cột */
|
|
327
327
|
allowFilter?: boolean;
|
|
328
328
|
/** Cố định trái/phải */
|
|
329
|
-
fixedType?:
|
|
329
|
+
fixedType?: 'left' | 'right' | undefined;
|
|
330
330
|
/** Cấu hình cho kiểu numeric */
|
|
331
331
|
numericSettings?: ISettingNumericElement;
|
|
332
332
|
/** Kiểu chỉnh sửa */
|
|
@@ -342,9 +342,9 @@ type IFColumnSelectTable = {
|
|
|
342
342
|
/** Cờ cho phép hiển thị hoặc ẩn cột (mặc định là true) */
|
|
343
343
|
visible?: boolean;
|
|
344
344
|
/** Căn lề nội dung trong cột: trái, phải, giữa */
|
|
345
|
-
textAlign?:
|
|
345
|
+
textAlign?: 'left' | 'right' | 'center';
|
|
346
346
|
/** Loại dữ liệu của cột: văn bản, số, ngày, ngày giờ */
|
|
347
|
-
type?:
|
|
347
|
+
type?: 'text' | 'numeric' | 'date' | 'datetime';
|
|
348
348
|
/** Template tùy chỉnh nội dung hiển thị trong ô */
|
|
349
349
|
template?: any;
|
|
350
350
|
/** Điều kiện thay đổi kiểu dữ liệu của cột */
|
|
@@ -380,7 +380,7 @@ type FromItemsField = {
|
|
|
380
380
|
/** Nhãn hiển thị cho trường dữ liệu */
|
|
381
381
|
label: string;
|
|
382
382
|
/** Loại trường dữ liệu: văn bản, số, chọn, chọn có thể tạo mới */
|
|
383
|
-
type:
|
|
383
|
+
type: 'text' | 'numeric' | 'select' | 'selectCreatable';
|
|
384
384
|
/** Trường có bị disable hay không (không cho chỉnh sửa) */
|
|
385
385
|
disabled?: boolean;
|
|
386
386
|
/** Số chữ số sau dấu phẩy (chỉ áp dụng với loại 'numeric') */
|
|
@@ -400,12 +400,12 @@ type IColumnsAgg = {
|
|
|
400
400
|
};
|
|
401
401
|
type IFOrderTable = {
|
|
402
402
|
key: string;
|
|
403
|
-
direction:
|
|
403
|
+
direction: 'asc' | 'desc';
|
|
404
404
|
};
|
|
405
405
|
type IFFilterTable = {
|
|
406
406
|
key: string;
|
|
407
407
|
value: any;
|
|
408
|
-
ope:
|
|
408
|
+
ope: 'startswith' | 'endswith' | 'contains' | 'equal' | 'notequal' | 'greaterthan' | 'greaterthanorequal' | 'lessthan' | 'lessthanorequal';
|
|
409
409
|
};
|
|
410
410
|
|
|
411
411
|
type IFTableEditProps = {
|
|
@@ -807,4 +807,4 @@ type IFProps = {
|
|
|
807
807
|
declare const Wizard: React.ForwardRefExoticComponent<IFProps & React.RefAttributes<unknown>>;
|
|
808
808
|
|
|
809
809
|
export { CheckRowMatch, ExportExcelComponent, FindNodeByPath, InputStyleComponent, ModalImportComponent, SelectTable, SelectTableTree, TableView, TabsMenuComponent, Wizard, calculateTableStructure, checkDecimalSeparator, checkThousandSeparator, TableEdit as default, formartNumberic, formatDateTime, generateUUID, isNullOrUndefined, messageBoxConfirm, messageBoxConfirmAsync, messageBoxConfirmDelete, messageBoxError, messageHtmlBoxConfirm, messageHtmlBoxConfirmAsync, messageHtmlBoxError, notificationError, notificationSuccess, roundNumber, useOnClickOutside };
|
|
810
|
-
export type { FromItemsField, ICellInfo, IColumnTable, IColumnType, IColumnsAgg, ICommandItem, IFColumnSelectTable, IFColumnSelectTableTree, IFCurrentPage, IFCurrentPageConfig, IFFilterTable, IFOrderTable, IFPageSize, IFSettingColumns, IFTableEditButton, IFTableEditFormat, IFTableEditPaging, IFTableEditSearchSetting, IFTableEditToolbar, IFTableSelectFormat, IFTableTreeSelectFormat, IFToolbarOptions, IHeaderColumnTable, ISettingFormElement, ISettingNumericElement, ISettingSelectElement };
|
|
810
|
+
export type { FromItemsField, ICellInfo, IColumnTable, IColumnType, IColumnsAgg, ICommandItem, IFColumnSelectTable, IFColumnSelectTableTree, IFCurrentPage, IFCurrentPageConfig, IFFilterTable, IFOrderTable, IFPageSize, IFSettingColumns, IFTableEditButton, IFTableEditFormat, IFTableEditPaging, IFTableEditSearchSetting, IFTableEditToolbar, IFTableSelectFormat, IFTableTreeSelectFormat, IFToolbarOptions, IFilterType, IHeaderColumnTable, ISettingFormElement, ISettingNumericElement, ISettingSelectElement };
|