@coding-flow/flow-design 0.1.7 → 0.1.8
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import react from "react";
|
|
3
|
-
import { Button, Form, Popconfirm, Space, Switch } from "antd";
|
|
3
|
+
import { Button, Form, Popconfirm, Space, Switch, Typography } from "antd";
|
|
4
4
|
import { Table } from "@coding-flow/flow-pc-ui";
|
|
5
5
|
import { useNodeRenderContext } from "../../hooks/use-node-render-context.js";
|
|
6
6
|
import { PlusOutlined } from "@ant-design/icons";
|
|
@@ -16,10 +16,19 @@ const ActionTable = (props)=>{
|
|
|
16
16
|
const [form] = Form.useForm();
|
|
17
17
|
const columns = react.useCallback(()=>[
|
|
18
18
|
{
|
|
19
|
-
title: '
|
|
19
|
+
title: 'ID',
|
|
20
20
|
dataIndex: 'id',
|
|
21
21
|
key: 'id',
|
|
22
|
-
|
|
22
|
+
render: (value)=>/*#__PURE__*/ jsx(Typography.Text, {
|
|
23
|
+
copyable: {
|
|
24
|
+
text: value,
|
|
25
|
+
tooltips: [
|
|
26
|
+
"复制按钮 ID",
|
|
27
|
+
"已复制"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
children: value
|
|
31
|
+
})
|
|
23
32
|
},
|
|
24
33
|
{
|
|
25
34
|
title: '标题',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coding-flow/flow-design",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "flow-engine design components ",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
"nanoid": "^5.1.6",
|
|
55
55
|
"react-redux": "^9.2.0",
|
|
56
56
|
"styled-components": "^5.3.11",
|
|
57
|
-
"@coding-flow/flow-core": "0.1.
|
|
58
|
-
"@coding-flow/flow-icons": "0.1.
|
|
59
|
-
"@coding-flow/flow-types": "0.1.
|
|
60
|
-
"@coding-flow/flow-pc-ui": "0.1.
|
|
57
|
+
"@coding-flow/flow-core": "0.1.8",
|
|
58
|
+
"@coding-flow/flow-icons": "0.1.8",
|
|
59
|
+
"@coding-flow/flow-types": "0.1.8",
|
|
60
|
+
"@coding-flow/flow-pc-ui": "0.1.8"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/lodash-es": "^4.17.12",
|
|
64
64
|
"@types/styled-components": "^5.1.36",
|
|
65
|
-
"@coding-flow/flow-core": "0.1.
|
|
66
|
-
"@coding-flow/flow-types": "0.1.
|
|
65
|
+
"@coding-flow/flow-core": "0.1.8",
|
|
66
|
+
"@coding-flow/flow-types": "0.1.8"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "rslib build",
|