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.
@@ -37,6 +37,7 @@ interface IEditableCellProps {
37
37
  columns: any;
38
38
  onTableChange: any;
39
39
  currentpage: ICurrentPage;
40
+ [prop: string]: any;
40
41
  }
41
42
  declare const TableEnhanceCell: React.FC<IEditableCellProps>;
42
43
  export default TableEnhanceCell;
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.2.24",
3
+ "version": "4.2.25",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",