hlyc-web-pack 3.6.53 → 3.6.55
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.
|
@@ -29,13 +29,12 @@ export interface EditableColumnsType {
|
|
|
29
29
|
}
|
|
30
30
|
/** 可编辑单元格 */
|
|
31
31
|
export declare type EditableCellProps = {
|
|
32
|
-
controlled: boolean;
|
|
33
32
|
title: React.ReactNode;
|
|
34
33
|
children: React.ReactNode;
|
|
35
34
|
dataIndex: string;
|
|
36
35
|
record: AnyObjectType;
|
|
37
36
|
/** 保存表单的值 */
|
|
38
|
-
handleSave: (record: AnyObjectType) => void;
|
|
37
|
+
handleSave: (record: AnyObjectType, dataIndex: string) => void;
|
|
39
38
|
columns: TableColumns[];
|
|
40
39
|
} & EditableColumnsType;
|
|
41
40
|
interface DraggableBodyRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
@@ -44,6 +43,5 @@ interface DraggableBodyRowProps extends React.HTMLAttributes<HTMLTableRowElement
|
|
|
44
43
|
moveRow: (dragIndex: number, hoverIndex: number) => void;
|
|
45
44
|
}
|
|
46
45
|
export declare const EditableRow: ({ open, index, moveRow, className, style, ...restProps }: DraggableBodyRowProps) => JSX.Element;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
export default EditableCell;
|
|
46
|
+
declare const _default: React.NamedExoticComponent<EditableCellProps>;
|
|
47
|
+
export default _default;
|