@coding-flow/flow-design 0.0.2 → 0.0.3

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.
@@ -100,15 +100,19 @@ const GroovyCodeEditor = (props)=>{
100
100
  }),
101
101
  EditorView.theme({
102
102
  '&': {
103
- fontSize: `${fontSize}px`,
104
- minHeight: `${minHeight}px`,
105
- maxHeight: `${maxHeight}px`
103
+ fontSize: `${fontSize}px`
106
104
  },
107
105
  '.cm-scroller': {
108
- overflow: 'auto'
106
+ overflow: 'auto',
107
+ minHeight: `${minHeight}px`,
108
+ maxHeight: `${maxHeight}px`
109
109
  },
110
110
  '.cm-content': {
111
- fontFamily: 'monospace'
111
+ fontFamily: 'monospace',
112
+ minHeight: `${minHeight}px`
113
+ },
114
+ '.cm-gutters': {
115
+ minHeight: `${minHeight}px`
112
116
  }
113
117
  })
114
118
  ];
@@ -6,7 +6,7 @@ const ActionConfigModal = (props)=>/*#__PURE__*/ jsx(Modal, {
6
6
  open: props.open,
7
7
  onCancel: props.onCancel,
8
8
  title: "编辑按钮",
9
- width: "65%",
9
+ width: "70%",
10
10
  destroyOnHidden: true,
11
11
  onOk: ()=>{
12
12
  props.form.submit();
@@ -23,6 +23,7 @@ const ErrorTriggerConfigContent = (props)=>{
23
23
  const ErrorTriggerConfigModal = (props)=>/*#__PURE__*/ jsx(GroovyScriptModal, {
24
24
  type: ScriptType.ERROR_TRIGGER,
25
25
  open: props.open,
26
+ width: "70%",
26
27
  script: props.script,
27
28
  variables: props.variables || [],
28
29
  onConfirm: props.onConfirm,
@@ -23,6 +23,7 @@ const NodeTitleConfigContent = (props)=>{
23
23
  const NodeTitleConfigModal = (props)=>/*#__PURE__*/ jsx(GroovyScriptModal, {
24
24
  type: ScriptType.TITLE,
25
25
  open: props.open,
26
+ width: "70%",
26
27
  script: props.script,
27
28
  variables: props.variables || [],
28
29
  onConfirm: props.onConfirm,
@@ -23,6 +23,7 @@ const OperatorCreateConfigContent = (props)=>{
23
23
  };
24
24
  const OperatorCreateConfigModal = (props)=>/*#__PURE__*/ jsx(GroovyScriptModal, {
25
25
  title: "发起人员配置",
26
+ width: "70%",
26
27
  type: ScriptType.OPERATOR_CREATE,
27
28
  variables: [],
28
29
  script: props.script,
@@ -23,6 +23,7 @@ const OperatorLoadConfigContent = (props)=>{
23
23
  };
24
24
  const OperatorLoadConfigModal = (props)=>/*#__PURE__*/ jsx(GroovyScriptModal, {
25
25
  title: "操作人配置",
26
+ width: "70%",
26
27
  type: ScriptType.OPERATOR_LOAD,
27
28
  variables: [],
28
29
  script: props.script,
@@ -22,6 +22,7 @@ const RouterConfigContent = (props)=>{
22
22
  };
23
23
  const RouterConfigModal = (props)=>/*#__PURE__*/ jsx(GroovyScriptModal, {
24
24
  type: ScriptType.ROUTER,
25
+ width: "70%",
25
26
  open: props.open,
26
27
  script: props.script,
27
28
  variables: props.variables || [],
@@ -22,6 +22,7 @@ const SubProcessConfigContent = (props)=>{
22
22
  };
23
23
  const SubProcessConfigModal = (props)=>/*#__PURE__*/ jsx(GroovyScriptModal, {
24
24
  type: ScriptType.SUB_PROCESS,
25
+ width: "70%",
25
26
  open: props.open,
26
27
  script: props.script,
27
28
  variables: props.variables || [],
@@ -22,6 +22,7 @@ const TriggerConfigContent = (props)=>{
22
22
  };
23
23
  const TriggerConfigModal = (props)=>/*#__PURE__*/ jsx(GroovyScriptModal, {
24
24
  type: ScriptType.TRIGGER,
25
+ width: "70%",
25
26
  open: props.open,
26
27
  script: props.script,
27
28
  variables: props.variables || [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coding-flow/flow-design",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "flow-engine design components ",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -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-icons": "0.0.2",
58
- "@coding-flow/flow-pc-ui": "0.0.2",
59
- "@coding-flow/flow-core": "0.0.2",
60
- "@coding-flow/flow-types": "0.0.2"
57
+ "@coding-flow/flow-core": "0.0.3",
58
+ "@coding-flow/flow-icons": "0.0.3",
59
+ "@coding-flow/flow-types": "0.0.3",
60
+ "@coding-flow/flow-pc-ui": "0.0.3"
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.0.2",
66
- "@coding-flow/flow-types": "0.0.2"
65
+ "@coding-flow/flow-core": "0.0.3",
66
+ "@coding-flow/flow-types": "0.0.3"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "rslib build",