ztxkui 4.2.24 → 4.2.25
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.
|
@@ -86,7 +86,7 @@ function transformData(data, config) {
|
|
|
86
86
|
return newData;
|
|
87
87
|
}
|
|
88
88
|
var TableEnhanceCell = memo(function (_a) {
|
|
89
|
-
var title = _a.title, index = _a.index, editable = _a.editable, editableConfig = _a.editableConfig, children = _a.children, dataIndex = _a.dataIndex, record = _a.record, handleSave = _a.handleSave, onTableChange = _a.onTableChange, columns = _a.columns, currentpage = _a.currentpage, restProps = __rest(_a, ["title", "index", "editable", "editableConfig", "children", "dataIndex", "record", "handleSave", "onTableChange", "columns", "currentpage"]);
|
|
89
|
+
var title = _a.title, index = _a.index, editable = _a.editable, editableConfig = _a.editableConfig, children = _a.children, dataIndex = _a.dataIndex, record = _a.record, handleSave = _a.handleSave, onTableChange = _a.onTableChange, columns = _a.columns, currentpage = _a.currentpage, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave, restProps = __rest(_a, ["title", "index", "editable", "editableConfig", "children", "dataIndex", "record", "handleSave", "onTableChange", "columns", "currentpage", "onMouseEnter", "onMouseLeave"]);
|
|
90
90
|
var form = useContext(EditableContext);
|
|
91
91
|
var tdRef = useRef();
|
|
92
92
|
useEffect(function () {
|
|
@@ -27,7 +27,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
27
27
|
import React from 'react';
|
|
28
28
|
import { Resizable } from 'react-resizable';
|
|
29
29
|
var TableResizableTitle = function (props) {
|
|
30
|
-
var onResize = props.onResize, width = props.width, restProps = __rest(props, ["onResize", "width"]);
|
|
30
|
+
var onResize = props.onResize, width = props.width, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave, restProps = __rest(props, ["onResize", "width", "onMouseEnter", "onMouseLeave"]);
|
|
31
31
|
if (!width) {
|
|
32
32
|
return React.createElement("th", __assign({}, restProps));
|
|
33
33
|
}
|