zmdms-webui 0.0.48 → 0.0.49

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.
@@ -42,6 +42,7 @@ var FillDown = function (_a) {
42
42
  onTableChange &&
43
43
  onTableChange(newDataSource, dataSourceRef.current, {
44
44
  type: "fillDown",
45
+ field: dataKey,
45
46
  });
46
47
  }
47
48
  } }, { children: [jsx(VerticalAlignBottomOutlined, { style: { fontSize: "16px" }, className: "thead-icon" }), "\u5F80\u4E0B\u586B\u5145"] })) })));
@@ -22,6 +22,7 @@ function useEditChange(dataSourceRef, onTableChange) {
22
22
  onTableChange(newDataSource, dataSourceRef.current, {
23
23
  type: "edit",
24
24
  currentIndex: index,
25
+ field: dataIndex,
25
26
  });
26
27
  }, [dataSourceRef, onTableChange]);
27
28
  return onEditableSave;
@@ -128,7 +128,8 @@ interface ITableProps<RecordType> extends Omit<TableProps<RecordType>, "columns"
128
128
  currentIndex?: number;
129
129
  dragIndex?: number;
130
130
  hoverIndex?: number;
131
- type?: "edit" | "move" | "add" | "del" | "delAll" | "fillDown" | "sort";
131
+ type?: "edit" | "move" | "add" | "del" | "delAll" | "fillDown" | "sort" | "custom";
132
+ field?: string;
132
133
  [prop: string]: any;
133
134
  }) => void;
134
135
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",