@coding-flow/flow-pc-approval 0.0.7 → 0.0.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.
@@ -32,9 +32,9 @@ const CustomStyleButton = (props)=>{
32
32
  return /*#__PURE__*/ jsx(Button, {
33
33
  onClick: props.onClick,
34
34
  style: style,
35
- icon: /*#__PURE__*/ jsx(Icon, {
35
+ icon: display.icon ? /*#__PURE__*/ jsx(Icon, {
36
36
  type: display.icon
37
- }),
37
+ }) : void 0,
38
38
  children: title
39
39
  });
40
40
  };
@@ -138,7 +138,7 @@ const FlowTimeNode = (props)=>{
138
138
  operators.map((operator)=>/*#__PURE__*/ jsx(FlowOperatorItem, {
139
139
  operator: operator,
140
140
  state: node.state
141
- }))
141
+ }, operator.flowOperator.id))
142
142
  ]
143
143
  });
144
144
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coding-flow/flow-pc-approval",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "flow-engine pc form approval components",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -39,15 +39,15 @@
39
39
  "dayjs": "^1.11.19",
40
40
  "immer": "^11.1.3",
41
41
  "react-redux": "^9.2.0",
42
- "@coding-flow/flow-core": "0.0.7",
43
- "@coding-flow/flow-types": "0.0.7",
44
- "@coding-flow/flow-icons": "0.0.7",
45
- "@coding-flow/flow-approval-presenter": "0.0.7",
46
- "@coding-flow/flow-pc-ui": "0.0.7",
47
- "@coding-flow/flow-pc-form": "0.0.7"
42
+ "@coding-flow/flow-core": "0.0.8",
43
+ "@coding-flow/flow-types": "0.0.8",
44
+ "@coding-flow/flow-icons": "0.0.8",
45
+ "@coding-flow/flow-pc-ui": "0.0.8",
46
+ "@coding-flow/flow-approval-presenter": "0.0.8",
47
+ "@coding-flow/flow-pc-form": "0.0.8"
48
48
  },
49
49
  "devDependencies": {
50
- "@coding-flow/flow-types": "0.0.7"
50
+ "@coding-flow/flow-types": "0.0.8"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "rslib build",