@web-utils/form-ui 1.0.0-beta78 → 1.0.0-beta79
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.
- package/chunks/{DOdaQmeD.mjs → B8NokGUg.mjs} +2941 -2981
- package/chunks/{D4FXesiK2.mjs → Bu1M7um22.mjs} +1 -1
- package/chunks/{BUdSoC0y.mjs → C-zPVdz-.mjs} +46 -45
- package/chunks/{CfZWeZDD.mjs → CONqKD47.mjs} +1 -1
- package/chunks/{C4TRh7-t2.mjs → ChP-pNSi2.mjs} +1 -1
- package/chunks/{BPkYHRo52.mjs → D6mInNk02.mjs} +71 -69
- package/chunks/{YuRYvOxL.mjs → DMSbDBCP.mjs} +194 -193
- package/chunks/{Cwh7YPxJ.mjs → D_q3C3v4.mjs} +184 -183
- package/chunks/{DDcaXGrf2.mjs → DgH_4qOn2.mjs} +3 -0
- package/chunks/{DydcNRkF.mjs → DhqOVe4S.mjs} +99 -98
- package/chunks/{xe1XzZUE2.mjs → Dz_TTgwF2.mjs} +91 -89
- package/chunks/{DvGAwr6C.mjs → T2V8nxIu.mjs} +361 -360
- package/chunks/{8i6khBvL2.mjs → mqi8hesW2.mjs} +8 -8
- package/chunks/{D9p3yGUu.mjs → tqW2DSco.mjs} +47 -46
- package/data-table-picker/index.mjs +16 -15
- package/editable-tree/index.mjs +111 -110
- package/flow-designer/index.d.ts +1 -26
- package/flow-designer/index.mjs +1 -1
- package/flow-designer/style.css +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-view/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +8 -8
- package/package.json +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/table-view/index.mjs +90 -88
- package/toolbar/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/web-types.json +1 -1
|
@@ -2,8 +2,11 @@ import { s as e } from "./ClVh1Lek.mjs";
|
|
|
2
2
|
import { goBack as t, hasAuthority as n } from "../api/index.mjs";
|
|
3
3
|
import { toolbarContextKey as r } from "../constants/index.mjs";
|
|
4
4
|
import { t as i } from "./mnqSaATq.mjs";
|
|
5
|
+
import "element-plus/es";
|
|
6
|
+
import "element-plus/es/components/base/style/css";
|
|
5
7
|
import { Comment as a, createVNode as o } from "vue";
|
|
6
8
|
import { NOOP as s, capitalize as c } from "@web-utils/core";
|
|
9
|
+
import "element-plus/es/components/message/style/css";
|
|
7
10
|
//#region src/components/toolbar/Toolbar.vue?vue&type=script&lang.jsx
|
|
8
11
|
var l = {
|
|
9
12
|
back: {
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
2
|
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { t as n } from "./mnqSaATq.mjs";
|
|
4
|
+
import { ElCheckbox as r, ElForm as i, ElFormItem as a, ElInput as o, ElMessage as s, ElOption as c, ElSelect as l } from "element-plus/es";
|
|
4
5
|
import "element-plus/es/components/base/style/css";
|
|
5
6
|
import "element-plus/es/components/input/style/css";
|
|
6
|
-
import { Fragment as
|
|
7
|
-
import "element-plus/es/components/
|
|
7
|
+
import { Fragment as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, normalizeProps as v, openBlock as y, renderList as b, resolveDynamicComponent as x, vShow as S, withCtx as C, withDirectives as w, withModifiers as T } from "vue";
|
|
8
|
+
import "element-plus/es/components/message/style/css";
|
|
8
9
|
import "element-plus/es/components/checkbox/style/css";
|
|
9
10
|
import "element-plus/es/components/form-item/style/css";
|
|
10
11
|
import "element-plus/es/components/form/style/css";
|
|
11
12
|
import "element-plus/es/components/select/style/css";
|
|
12
13
|
import "element-plus/es/components/option/style/css";
|
|
13
14
|
//#region src/components/bpmn-process-designer/components/penal/task/task-components/UserTask.vue
|
|
14
|
-
var
|
|
15
|
+
var E = {
|
|
15
16
|
name: "UserTask",
|
|
16
17
|
props: {
|
|
17
18
|
id: String,
|
|
@@ -62,17 +63,17 @@ var T = {
|
|
|
62
63
|
e === "candidateUsers" || e === "candidateGroups" ? t[e] = this.userTaskForm[e] && this.userTaskForm[e].length ? this.userTaskForm[e].join() : null : t[e] = this.userTaskForm[e] || null, this.bpmnInstances.modeling.updateProperties(this.element, t);
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
|
-
},
|
|
66
|
-
function
|
|
67
|
-
let
|
|
68
|
-
return
|
|
69
|
-
h
|
|
70
|
-
default:
|
|
66
|
+
}, D = { style: { "margin-top": "16px" } };
|
|
67
|
+
function O(e, t, n, r, i, s) {
|
|
68
|
+
let f = c, m = l, h = a, _ = o;
|
|
69
|
+
return y(), p("div", D, [
|
|
70
|
+
g(h, { label: "处理用户" }, {
|
|
71
|
+
default: C(() => [g(m, {
|
|
71
72
|
modelValue: i.userTaskForm.assignee,
|
|
72
73
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.userTaskForm.assignee = e),
|
|
73
|
-
onChange: t[1] || (t[1] = (e) =>
|
|
74
|
+
onChange: t[1] || (t[1] = (e) => s.updateElementTask("assignee"))
|
|
74
75
|
}, {
|
|
75
|
-
default:
|
|
76
|
+
default: C(() => [(y(!0), p(u, null, b(i.mockData, (e) => (y(), d(f, {
|
|
76
77
|
key: `ass-${e}`,
|
|
77
78
|
label: `用户${e}`,
|
|
78
79
|
value: `user${e}`
|
|
@@ -81,15 +82,15 @@ function D(e, t, n, r, i, d) {
|
|
|
81
82
|
}, 8, ["modelValue"])]),
|
|
82
83
|
_: 1
|
|
83
84
|
}),
|
|
84
|
-
h
|
|
85
|
-
default:
|
|
85
|
+
g(h, { label: "候选用户" }, {
|
|
86
|
+
default: C(() => [g(m, {
|
|
86
87
|
modelValue: i.userTaskForm.candidateUsers,
|
|
87
88
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => i.userTaskForm.candidateUsers = e),
|
|
88
89
|
multiple: "",
|
|
89
90
|
"collapse-tags": "",
|
|
90
|
-
onChange: t[3] || (t[3] = (e) =>
|
|
91
|
+
onChange: t[3] || (t[3] = (e) => s.updateElementTask("candidateUsers"))
|
|
91
92
|
}, {
|
|
92
|
-
default:
|
|
93
|
+
default: C(() => [(y(!0), p(u, null, b(i.mockData, (e) => (y(), d(f, {
|
|
93
94
|
key: `user-${e}`,
|
|
94
95
|
label: `用户${e}`,
|
|
95
96
|
value: `user${e}`
|
|
@@ -98,15 +99,15 @@ function D(e, t, n, r, i, d) {
|
|
|
98
99
|
}, 8, ["modelValue"])]),
|
|
99
100
|
_: 1
|
|
100
101
|
}),
|
|
101
|
-
h
|
|
102
|
-
default:
|
|
102
|
+
g(h, { label: "候选分组" }, {
|
|
103
|
+
default: C(() => [g(m, {
|
|
103
104
|
modelValue: i.userTaskForm.candidateGroups,
|
|
104
105
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => i.userTaskForm.candidateGroups = e),
|
|
105
106
|
multiple: "",
|
|
106
107
|
"collapse-tags": "",
|
|
107
|
-
onChange: t[5] || (t[5] = (e) =>
|
|
108
|
+
onChange: t[5] || (t[5] = (e) => s.updateElementTask("candidateGroups"))
|
|
108
109
|
}, {
|
|
109
|
-
default:
|
|
110
|
+
default: C(() => [(y(!0), p(u, null, b(i.mockData, (e) => (y(), d(f, {
|
|
110
111
|
key: `ass-${e}`,
|
|
111
112
|
label: `分组${e}`,
|
|
112
113
|
value: `group${e}`
|
|
@@ -115,36 +116,36 @@ function D(e, t, n, r, i, d) {
|
|
|
115
116
|
}, 8, ["modelValue"])]),
|
|
116
117
|
_: 1
|
|
117
118
|
}),
|
|
118
|
-
h
|
|
119
|
-
default:
|
|
119
|
+
g(h, { label: "到期时间" }, {
|
|
120
|
+
default: C(() => [g(_, {
|
|
120
121
|
modelValue: i.userTaskForm.dueDate,
|
|
121
122
|
"onUpdate:modelValue": t[6] || (t[6] = (e) => i.userTaskForm.dueDate = e),
|
|
122
123
|
clearable: "",
|
|
123
|
-
onChange: t[7] || (t[7] = (e) =>
|
|
124
|
+
onChange: t[7] || (t[7] = (e) => s.updateElementTask("dueDate"))
|
|
124
125
|
}, null, 8, ["modelValue"])]),
|
|
125
126
|
_: 1
|
|
126
127
|
}),
|
|
127
|
-
h
|
|
128
|
-
default:
|
|
128
|
+
g(h, { label: "跟踪时间" }, {
|
|
129
|
+
default: C(() => [g(_, {
|
|
129
130
|
modelValue: i.userTaskForm.followUpDate,
|
|
130
131
|
"onUpdate:modelValue": t[8] || (t[8] = (e) => i.userTaskForm.followUpDate = e),
|
|
131
132
|
clearable: "",
|
|
132
|
-
onChange: t[9] || (t[9] = (e) =>
|
|
133
|
+
onChange: t[9] || (t[9] = (e) => s.updateElementTask("followUpDate"))
|
|
133
134
|
}, null, 8, ["modelValue"])]),
|
|
134
135
|
_: 1
|
|
135
136
|
}),
|
|
136
|
-
h
|
|
137
|
-
default:
|
|
137
|
+
g(h, { label: "优先级" }, {
|
|
138
|
+
default: C(() => [g(_, {
|
|
138
139
|
modelValue: i.userTaskForm.priority,
|
|
139
140
|
"onUpdate:modelValue": t[10] || (t[10] = (e) => i.userTaskForm.priority = e),
|
|
140
141
|
clearable: "",
|
|
141
|
-
onChange: t[11] || (t[11] = (e) =>
|
|
142
|
+
onChange: t[11] || (t[11] = (e) => s.updateElementTask("priority"))
|
|
142
143
|
}, null, 8, ["modelValue"])]),
|
|
143
144
|
_: 1
|
|
144
145
|
})
|
|
145
146
|
]);
|
|
146
147
|
}
|
|
147
|
-
var
|
|
148
|
+
var k = /* @__PURE__ */ e(E, [["render", O]]), A = {
|
|
148
149
|
name: "ScriptTask",
|
|
149
150
|
props: {
|
|
150
151
|
id: String,
|
|
@@ -182,29 +183,29 @@ var O = /* @__PURE__ */ e(T, [["render", D]]), k = {
|
|
|
182
183
|
e.scriptFormat = this.scriptTaskForm.scriptFormat || null, e.resultVariable = this.scriptTaskForm.resultVariable || null, this.scriptTaskForm.scriptType === "inline" ? (e.script = this.scriptTaskForm.script || null, e.resource = null) : (e.resource = this.scriptTaskForm.resource || null, e.script = null), this.bpmnInstances.modeling.updateProperties(this.element, e);
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
|
-
},
|
|
186
|
-
function
|
|
187
|
-
let u = o, d = a,
|
|
188
|
-
return
|
|
189
|
-
|
|
190
|
-
default:
|
|
186
|
+
}, j = { style: { "margin-top": "16px" } };
|
|
187
|
+
function M(e, t, n, r, i, s) {
|
|
188
|
+
let u = o, d = a, f = c, m = l;
|
|
189
|
+
return y(), p("div", j, [
|
|
190
|
+
g(d, { label: "脚本格式" }, {
|
|
191
|
+
default: C(() => [g(u, {
|
|
191
192
|
modelValue: i.scriptTaskForm.scriptFormat,
|
|
192
193
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => i.scriptTaskForm.scriptFormat = e),
|
|
193
194
|
clearable: "",
|
|
194
|
-
onInput: t[1] || (t[1] = (e) =>
|
|
195
|
-
onChange: t[2] || (t[2] = (e) =>
|
|
195
|
+
onInput: t[1] || (t[1] = (e) => s.updateElementTask()),
|
|
196
|
+
onChange: t[2] || (t[2] = (e) => s.updateElementTask())
|
|
196
197
|
}, null, 8, ["modelValue"])]),
|
|
197
198
|
_: 1
|
|
198
199
|
}),
|
|
199
|
-
|
|
200
|
-
default:
|
|
200
|
+
g(d, { label: "脚本类型" }, {
|
|
201
|
+
default: C(() => [g(m, {
|
|
201
202
|
modelValue: i.scriptTaskForm.scriptType,
|
|
202
203
|
"onUpdate:modelValue": t[3] || (t[3] = (e) => i.scriptTaskForm.scriptType = e)
|
|
203
204
|
}, {
|
|
204
|
-
default:
|
|
205
|
+
default: C(() => [g(f, {
|
|
205
206
|
label: "内联脚本",
|
|
206
207
|
value: "inline"
|
|
207
|
-
}),
|
|
208
|
+
}), g(f, {
|
|
208
209
|
label: "外部资源",
|
|
209
210
|
value: "external"
|
|
210
211
|
})]),
|
|
@@ -212,8 +213,8 @@ function j(e, t, n, r, i, l) {
|
|
|
212
213
|
}, 8, ["modelValue"])]),
|
|
213
214
|
_: 1
|
|
214
215
|
}),
|
|
215
|
-
|
|
216
|
-
default:
|
|
216
|
+
w(g(d, { label: "脚本" }, {
|
|
217
|
+
default: C(() => [g(u, {
|
|
217
218
|
modelValue: i.scriptTaskForm.script,
|
|
218
219
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => i.scriptTaskForm.script = e),
|
|
219
220
|
type: "textarea",
|
|
@@ -223,34 +224,34 @@ function j(e, t, n, r, i, l) {
|
|
|
223
224
|
maxRows: 4
|
|
224
225
|
},
|
|
225
226
|
clearable: "",
|
|
226
|
-
onInput: t[5] || (t[5] = (e) =>
|
|
227
|
-
onChange: t[6] || (t[6] = (e) =>
|
|
227
|
+
onInput: t[5] || (t[5] = (e) => s.updateElementTask()),
|
|
228
|
+
onChange: t[6] || (t[6] = (e) => s.updateElementTask())
|
|
228
229
|
}, null, 8, ["modelValue"])]),
|
|
229
230
|
_: 1
|
|
230
|
-
}, 512), [[
|
|
231
|
-
|
|
232
|
-
default:
|
|
231
|
+
}, 512), [[S, i.scriptTaskForm.scriptType === "inline"]]),
|
|
232
|
+
w(g(d, { label: "资源地址" }, {
|
|
233
|
+
default: C(() => [g(u, {
|
|
233
234
|
modelValue: i.scriptTaskForm.resource,
|
|
234
235
|
"onUpdate:modelValue": t[7] || (t[7] = (e) => i.scriptTaskForm.resource = e),
|
|
235
236
|
clearable: "",
|
|
236
|
-
onInput: t[8] || (t[8] = (e) =>
|
|
237
|
-
onChange: t[9] || (t[9] = (e) =>
|
|
237
|
+
onInput: t[8] || (t[8] = (e) => s.updateElementTask()),
|
|
238
|
+
onChange: t[9] || (t[9] = (e) => s.updateElementTask())
|
|
238
239
|
}, null, 8, ["modelValue"])]),
|
|
239
240
|
_: 1
|
|
240
|
-
}, 512), [[
|
|
241
|
-
|
|
242
|
-
default:
|
|
241
|
+
}, 512), [[S, i.scriptTaskForm.scriptType === "external"]]),
|
|
242
|
+
g(d, { label: "结果变量" }, {
|
|
243
|
+
default: C(() => [g(u, {
|
|
243
244
|
modelValue: i.scriptTaskForm.resultVariable,
|
|
244
245
|
"onUpdate:modelValue": t[10] || (t[10] = (e) => i.scriptTaskForm.resultVariable = e),
|
|
245
246
|
clearable: "",
|
|
246
|
-
onInput: t[11] || (t[11] = (e) =>
|
|
247
|
-
onChange: t[12] || (t[12] = (e) =>
|
|
247
|
+
onInput: t[11] || (t[11] = (e) => s.updateElementTask()),
|
|
248
|
+
onChange: t[12] || (t[12] = (e) => s.updateElementTask())
|
|
248
249
|
}, null, 8, ["modelValue"])]),
|
|
249
250
|
_: 1
|
|
250
251
|
})
|
|
251
252
|
]);
|
|
252
253
|
}
|
|
253
|
-
var
|
|
254
|
+
var N = /* @__PURE__ */ e(A, [["render", M]]), P = {
|
|
254
255
|
name: "ReceiveTask",
|
|
255
256
|
props: {
|
|
256
257
|
id: String,
|
|
@@ -286,7 +287,7 @@ var M = /* @__PURE__ */ e(k, [["render", j]]), N = {
|
|
|
286
287
|
},
|
|
287
288
|
createNewMessage() {
|
|
288
289
|
if (this.messageMap[this.newMessageForm.id]) {
|
|
289
|
-
|
|
290
|
+
s.error("该消息已存在,请修改id后重新保存");
|
|
290
291
|
return;
|
|
291
292
|
}
|
|
292
293
|
let e = this.bpmnInstances.moddle.create("bpmn:Message", this.newMessageForm);
|
|
@@ -296,36 +297,36 @@ var M = /* @__PURE__ */ e(k, [["render", j]]), N = {
|
|
|
296
297
|
e === "-1" ? this.bpmnInstances.modeling.updateProperties(this.element, { messageRef: null }) : this.bpmnInstances.modeling.updateProperties(this.element, { messageRef: this.bpmnMessageRefsMap[e] });
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
|
-
},
|
|
300
|
+
}, F = { style: { "margin-top": "16px" } }, I = { style: {
|
|
300
301
|
display: "flex",
|
|
301
302
|
"flex-wrap": "nowrap",
|
|
302
303
|
"align-items": "center",
|
|
303
304
|
"justify-content": "space-between"
|
|
304
305
|
} };
|
|
305
|
-
function
|
|
306
|
-
let x =
|
|
307
|
-
return
|
|
308
|
-
default:
|
|
306
|
+
function L(e, r, s, f, _, v) {
|
|
307
|
+
let x = c, S = l, w = n, E = a, D = o, O = i, k = t;
|
|
308
|
+
return y(), p("div", F, [g(E, { label: "消息实例" }, {
|
|
309
|
+
default: C(() => [m("div", I, [g(S, {
|
|
309
310
|
modelValue: _.bindMessageId,
|
|
310
311
|
"onUpdate:modelValue": r[0] || (r[0] = (e) => _.bindMessageId = e),
|
|
311
|
-
onChange:
|
|
312
|
+
onChange: v.updateTaskMessage
|
|
312
313
|
}, {
|
|
313
|
-
default:
|
|
314
|
+
default: C(() => [(y(!0), p(u, null, b(Object.keys(_.messageMap), (e) => (y(), d(x, {
|
|
314
315
|
key: e,
|
|
315
316
|
value: e,
|
|
316
317
|
label: _.messageMap[e]
|
|
317
318
|
}, null, 8, ["value", "label"]))), 128))]),
|
|
318
319
|
_: 1
|
|
319
|
-
}, 8, ["modelValue", "onChange"]),
|
|
320
|
+
}, 8, ["modelValue", "onChange"]), g(w, {
|
|
320
321
|
type: "primary",
|
|
321
322
|
icon: "el-icon-plus",
|
|
322
323
|
style: { "margin-left": "8px" },
|
|
323
|
-
onClick:
|
|
324
|
+
onClick: v.openMessageModel
|
|
324
325
|
}, null, 8, ["onClick"])])]),
|
|
325
326
|
_: 1
|
|
326
|
-
}),
|
|
327
|
-
|
|
328
|
-
"onUpdate:
|
|
327
|
+
}), g(k, {
|
|
328
|
+
modelValue: _.messageModelVisible,
|
|
329
|
+
"onUpdate:modelValue": r[4] || (r[4] = (e) => _.messageModelVisible = e),
|
|
329
330
|
class: "flow-dialog",
|
|
330
331
|
"close-on-click-modal": !1,
|
|
331
332
|
title: "创建新消息",
|
|
@@ -333,27 +334,27 @@ function I(e, r, d, g, _, b) {
|
|
|
333
334
|
"append-to-body": "",
|
|
334
335
|
"destroy-on-close": ""
|
|
335
336
|
}, {
|
|
336
|
-
footer:
|
|
337
|
+
footer: C(() => [g(w, {
|
|
337
338
|
type: "primary",
|
|
338
|
-
onClick:
|
|
339
|
+
onClick: v.createNewMessage
|
|
339
340
|
}, {
|
|
340
|
-
default:
|
|
341
|
+
default: C(() => [...r[5] || (r[5] = [h("确 认", -1)])]),
|
|
341
342
|
_: 1
|
|
342
343
|
}, 8, ["onClick"])]),
|
|
343
|
-
default:
|
|
344
|
+
default: C(() => [g(O, {
|
|
344
345
|
model: _.newMessageForm,
|
|
345
346
|
"label-width": "90px",
|
|
346
|
-
onSubmit: r[3] || (r[3] =
|
|
347
|
+
onSubmit: r[3] || (r[3] = T(() => {}, ["prevent"]))
|
|
347
348
|
}, {
|
|
348
|
-
default:
|
|
349
|
-
default:
|
|
349
|
+
default: C(() => [g(E, { label: "消息ID" }, {
|
|
350
|
+
default: C(() => [g(D, {
|
|
350
351
|
modelValue: _.newMessageForm.id,
|
|
351
352
|
"onUpdate:modelValue": r[1] || (r[1] = (e) => _.newMessageForm.id = e),
|
|
352
353
|
clearable: ""
|
|
353
354
|
}, null, 8, ["modelValue"])]),
|
|
354
355
|
_: 1
|
|
355
|
-
}),
|
|
356
|
-
default:
|
|
356
|
+
}), g(E, { label: "消息名称" }, {
|
|
357
|
+
default: C(() => [g(D, {
|
|
357
358
|
modelValue: _.newMessageForm.name,
|
|
358
359
|
"onUpdate:modelValue": r[2] || (r[2] = (e) => _.newMessageForm.name = e),
|
|
359
360
|
clearable: ""
|
|
@@ -363,16 +364,16 @@ function I(e, r, d, g, _, b) {
|
|
|
363
364
|
_: 1
|
|
364
365
|
}, 8, ["model"])]),
|
|
365
366
|
_: 1
|
|
366
|
-
}, 8, ["
|
|
367
|
+
}, 8, ["modelValue"])]);
|
|
367
368
|
}
|
|
368
369
|
//#endregion
|
|
369
370
|
//#region src/components/bpmn-process-designer/components/penal/task/ElementTaskConfig.vue
|
|
370
|
-
var
|
|
371
|
+
var R = {
|
|
371
372
|
name: "ElementTaskConfig",
|
|
372
373
|
components: {
|
|
373
|
-
UserTask:
|
|
374
|
-
ScriptTask:
|
|
375
|
-
ReceiveTask: /* @__PURE__ */ e(
|
|
374
|
+
UserTask: k,
|
|
375
|
+
ScriptTask: N,
|
|
376
|
+
ReceiveTask: /* @__PURE__ */ e(P, [["render", L]])
|
|
376
377
|
},
|
|
377
378
|
props: {
|
|
378
379
|
id: String,
|
|
@@ -413,40 +414,40 @@ var L = {
|
|
|
413
414
|
methods: { changeTaskAsync() {
|
|
414
415
|
!this.taskConfigForm.asyncBefore && !this.taskConfigForm.asyncAfter && (this.taskConfigForm.exclusive = !1), this.bpmnInstances.modeling.updateProperties(this.element, { ...this.taskConfigForm });
|
|
415
416
|
} }
|
|
416
|
-
},
|
|
417
|
-
function
|
|
418
|
-
let l = r,
|
|
419
|
-
return
|
|
417
|
+
}, z = { class: "panel-tab__content" };
|
|
418
|
+
function B(e, t, n, o, s, c) {
|
|
419
|
+
let l = r, u = a, m = i;
|
|
420
|
+
return y(), p("div", z, [g(m, {
|
|
420
421
|
"label-width": "90px",
|
|
421
|
-
onSubmit: t[3] || (t[3] =
|
|
422
|
+
onSubmit: t[3] || (t[3] = T(() => {}, ["prevent"]))
|
|
422
423
|
}, {
|
|
423
|
-
default:
|
|
424
|
-
default:
|
|
425
|
-
|
|
424
|
+
default: C(() => [g(u, { label: "异步延续" }, {
|
|
425
|
+
default: C(() => [
|
|
426
|
+
g(l, {
|
|
426
427
|
modelValue: s.taskConfigForm.asyncBefore,
|
|
427
428
|
"onUpdate:modelValue": t[0] || (t[0] = (e) => s.taskConfigForm.asyncBefore = e),
|
|
428
429
|
label: "异步前",
|
|
429
430
|
onChange: c.changeTaskAsync
|
|
430
431
|
}, null, 8, ["modelValue", "onChange"]),
|
|
431
|
-
|
|
432
|
+
g(l, {
|
|
432
433
|
modelValue: s.taskConfigForm.asyncAfter,
|
|
433
434
|
"onUpdate:modelValue": t[1] || (t[1] = (e) => s.taskConfigForm.asyncAfter = e),
|
|
434
435
|
label: "异步后",
|
|
435
436
|
onChange: c.changeTaskAsync
|
|
436
437
|
}, null, 8, ["modelValue", "onChange"]),
|
|
437
|
-
s.taskConfigForm.asyncAfter || s.taskConfigForm.asyncBefore ? (
|
|
438
|
+
s.taskConfigForm.asyncAfter || s.taskConfigForm.asyncBefore ? (y(), d(l, {
|
|
438
439
|
key: 0,
|
|
439
440
|
modelValue: s.taskConfigForm.exclusive,
|
|
440
441
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => s.taskConfigForm.exclusive = e),
|
|
441
442
|
label: "排除",
|
|
442
443
|
onChange: c.changeTaskAsync
|
|
443
|
-
}, null, 8, ["modelValue", "onChange"])) :
|
|
444
|
+
}, null, 8, ["modelValue", "onChange"])) : f("v-if", !0)
|
|
444
445
|
]),
|
|
445
446
|
_: 1
|
|
446
|
-
}), (
|
|
447
|
+
}), (y(), d(x(s.witchTaskComponent), v(_(e.$props)), null, 16))]),
|
|
447
448
|
_: 1
|
|
448
449
|
})]);
|
|
449
450
|
}
|
|
450
|
-
var
|
|
451
|
+
var V = /* @__PURE__ */ e(R, [["render", B]]);
|
|
451
452
|
//#endregion
|
|
452
|
-
export {
|
|
453
|
+
export { V as default };
|