react-table-edit 1.5.14 → 1.5.16
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/sidebar-setting-column/index.d.ts +2 -0
- package/dist/component/table-view/content.d.ts +1 -0
- package/dist/component/table-view/header.d.ts +1 -1
- package/dist/component/table-view/index.d.ts +1 -0
- package/dist/component/tree-table/key-handlers.d.ts +8 -8
- package/dist/component/type/index.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +104 -94
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +104 -94
- package/dist/index.mjs.map +1 -1
- package/dist/styles/index.css +0 -3
- package/dist/styles/index.css.map +1 -1
- package/package.json +1 -1
- package/dist/component/input/input-date-gange/index.d.ts +0 -21
|
@@ -4,6 +4,8 @@ export interface IFPropsDetail {
|
|
|
4
4
|
setColumn: any;
|
|
5
5
|
openSidebar: boolean;
|
|
6
6
|
handleSidebar: any;
|
|
7
|
+
resetDefaultColumns?: () => void;
|
|
8
|
+
formatSetting?: any;
|
|
7
9
|
}
|
|
8
10
|
declare const SidebarSetColumn: (props: IFPropsDetail) => import("react/jsx-runtime").JSX.Element;
|
|
9
11
|
export default SidebarSetColumn;
|
|
@@ -15,6 +15,7 @@ type IContentColProps = {
|
|
|
15
15
|
selectEnable?: boolean;
|
|
16
16
|
isMulti?: boolean;
|
|
17
17
|
fieldKey: string;
|
|
18
|
+
zeroVisiable?: boolean;
|
|
18
19
|
setSelectedRows: (value: any[]) => void;
|
|
19
20
|
};
|
|
20
21
|
export declare const RenderContentCol: (props: IContentColProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -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
|
+
moveIndexRowToNewPage: () => 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) => string | undefined;
|
|
26
|
+
export declare const handleArrowLeft: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
|
|
27
|
+
export declare const handleArrowUp: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
|
|
28
|
+
export declare const handleArrowDown: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
|
|
29
|
+
export declare const handleTab: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
|
|
30
|
+
export declare const handleEnter: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
|
|
31
|
+
export declare const handleCtrlD: (e: KeyboardEvent<any>, params: KeyHandlerParams) => string | undefined;
|
|
@@ -169,6 +169,8 @@ export type IColumnTable = {
|
|
|
169
169
|
editEnable?: boolean;
|
|
170
170
|
/** Có hiển thị không */
|
|
171
171
|
visible?: boolean;
|
|
172
|
+
/** Có cho cho phép điều chỉnh hiển thị không */
|
|
173
|
+
visibleLocked?: boolean;
|
|
172
174
|
/** Kiểu chỉnh sửa */
|
|
173
175
|
type?: IColumnType;
|
|
174
176
|
/** Căn lề */
|
package/dist/index.d.ts
CHANGED
|
@@ -173,6 +173,8 @@ type IColumnTable = {
|
|
|
173
173
|
editEnable?: boolean;
|
|
174
174
|
/** Có hiển thị không */
|
|
175
175
|
visible?: boolean;
|
|
176
|
+
/** Có cho cho phép điều chỉnh hiển thị không */
|
|
177
|
+
visibleLocked?: boolean;
|
|
176
178
|
/** Kiểu chỉnh sửa */
|
|
177
179
|
type?: IColumnType;
|
|
178
180
|
/** Căn lề */
|
|
@@ -702,6 +704,7 @@ type TableViewProps = {
|
|
|
702
704
|
updatedByName?: string;
|
|
703
705
|
value: IFSettingColumns[];
|
|
704
706
|
};
|
|
707
|
+
zeroVisiable?: boolean;
|
|
705
708
|
groupSetting?: {
|
|
706
709
|
client?: boolean;
|
|
707
710
|
groupColumns: string[];
|