@web-utils/form-ui 1.0.0-beta77 → 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/address-input/index.d.ts +52 -0
- package/affix/index.d.ts +30 -0
- package/awesome-button/index.d.ts +60 -0
- package/capsule-tab/index.d.ts +30 -0
- package/card/index.d.ts +41 -0
- package/chunks/{Dhdoa4M6.mjs → 22GsbC-1.mjs} +1 -1
- package/chunks/{DRXM1Mt22.mjs → B4GsYMXo.mjs} +1 -1
- package/chunks/{l5bfIjYm.mjs → B8NokGUg.mjs} +4715 -5034
- package/chunks/{CWaId08S2.mjs → BEghYt1s2.mjs} +1 -1
- package/chunks/{CGVBF4Ml.mjs → BQytQPLa.mjs} +58 -51
- package/chunks/{D5_ezGUV2.mjs → BVUClQOx.mjs} +2 -2
- package/chunks/{Dpzw7Rtp.mjs → BWTQ3qdg.mjs} +1 -1
- package/chunks/{uDwSrV7X2.mjs → Bo8lYN4n2.mjs} +2 -2
- package/chunks/{D6qJXu04.mjs → Bs926z902.mjs} +48 -49
- package/chunks/{BVsvRLea2.mjs → Bu1M7um22.mjs} +2 -2
- package/chunks/{CeEYChF4.mjs → Bvn6wnku.mjs} +2 -2
- package/chunks/{CyQmVphZ.mjs → C-zPVdz-.mjs} +35 -35
- package/chunks/{BZRmdKBG.mjs → CDalOJtl2.mjs} +65 -66
- package/chunks/{lPQBM7xc2.mjs → CGmbnjKL.mjs} +2 -2
- package/chunks/{kAaQhLJs2.mjs → COA3tHyu2.mjs} +1 -1
- package/chunks/{CVM0lwn22.mjs → CONqKD47.mjs} +2 -2
- package/chunks/{BTNnujZA2.mjs → CTYReSXN.mjs} +1 -1
- package/chunks/{BK6DiJfX2.mjs → ChP-pNSi2.mjs} +3 -3
- package/chunks/{DMDsZeqv.mjs → CiMBKxeJ.mjs} +1 -1
- package/chunks/{Dgwcljur.mjs → CkLpOk7H.mjs} +1 -1
- package/chunks/{CI-pH-gR2.mjs → Co0M4G3P.mjs} +1 -1
- package/chunks/{DS4Iw8Y42.mjs → D6mInNk02.mjs} +80 -78
- package/chunks/{BM8snKHN2.mjs → DH-B0Lkz2.mjs} +2 -2
- package/chunks/{Bq9KMIsC.mjs → DMSbDBCP.mjs} +143 -143
- package/chunks/{Cg6ahpHk.mjs → DQMWqQFe2.mjs} +2 -2
- package/chunks/{DFa2J7ul.mjs → D_q3C3v4.mjs} +130 -130
- package/chunks/{DyGddGTO.mjs → DbcxJ45j.mjs} +96 -97
- package/chunks/{B-WTB0ce2.mjs → DcgE9SF_2.mjs} +1 -1
- package/chunks/{Bh2SlzOo.mjs → DgH_4qOn2.mjs} +3 -0
- package/chunks/{CeI6Qrij.mjs → DhqOVe4S.mjs} +100 -99
- package/chunks/{285I1DfO.mjs → Dnb8jUG_.mjs} +14 -15
- package/chunks/{BaB0bq4I2.mjs → DxeRdYI82.mjs} +1 -1
- package/chunks/{JjnlFlI02.mjs → Dz_TTgwF2.mjs} +92 -90
- package/chunks/{C3pzNRoU2.mjs → T2V8nxIu.mjs} +363 -362
- package/chunks/{BLBHnUme2.mjs → Zdhb_SRi2.mjs} +1 -1
- package/chunks/{BvlU_Z6D2.mjs → eX0Esdvw2.mjs} +1 -1
- package/chunks/{CoPlnbwi2.mjs → hBvPGqka.mjs} +2 -2
- package/chunks/{BkoWiWEW.mjs → mqi8hesW2.mjs} +190 -191
- package/chunks/{DP7eF99m2.mjs → oXiNltCq.mjs} +1 -1
- package/chunks/{x2jJ6cfy2.mjs → shY1VkIE2.mjs} +1 -1
- package/chunks/{ohCkWdwS.mjs → tSaeUhnr.mjs} +1 -1
- package/chunks/{C0gLPKS8.mjs → tqW2DSco.mjs} +48 -47
- package/code-mirror-editor/index.d.ts +50 -0
- package/confirm-button/index.d.ts +122 -0
- package/confirmable/index.d.ts +93 -0
- package/context-menu/index.d.ts +183 -0
- package/count-up/index.d.ts +70 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/data-box/index.d.ts +30 -0
- package/data-card/index.d.ts +20 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-display/index.d.ts +20 -0
- package/data-icons/index.d.ts +21 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-panel/index.d.ts +19 -0
- package/data-pay/index.d.ts +19 -0
- package/data-price/index.d.ts +17 -0
- package/data-progress/index.d.ts +19 -0
- package/data-rotate/index.d.ts +21 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-table-picker/index.mjs +16 -15
- package/data-tabs/index.d.ts +21 -0
- package/dict-render/index.d.ts +28 -0
- package/e-charts/index.d.ts +79 -0
- package/easy-popup/index.d.ts +114 -0
- package/editable-progress/index.d.ts +68 -0
- package/editable-tree/index.d.ts +281 -0
- package/editable-tree/index.mjs +111 -110
- package/element-dialog/index.d.ts +376 -0
- package/element-resize-observer/index.d.ts +8 -0
- package/empty-view/index.d.ts +29 -0
- package/error-view/index.d.ts +25 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-column/index.d.ts +41 -0
- package/flex-item/index.d.ts +77 -0
- package/flex-row/index.d.ts +41 -0
- package/flex-scroll-area/index.d.ts +22 -0
- package/flex-scroller/index.d.ts +26 -0
- package/flow-designer/index.d.ts +286 -0
- package/flow-designer/index.mjs +1 -1
- package/flow-designer/style.css +1 -1
- package/flow-viewer/index.d.ts +62 -0
- package/form-advice/index.d.ts +9 -0
- package/form-button/index.d.ts +123 -0
- package/form-card/index.d.ts +14 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.mjs +1 -1
- package/form-cell/index.d.ts +25 -0
- package/form-checkbox/index.d.ts +314 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.d.ts +480 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +162 -0
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +220 -0
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +378 -0
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +376 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +376 -0
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +329 -0
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +376 -0
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +270 -0
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.d.ts +441 -0
- package/form-input-time/index.mjs +1 -1
- package/form-item-config-provider/index.d.ts +40 -0
- package/form-item-group/index.d.ts +92 -0
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +190 -0
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +374 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +325 -0
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.d.ts +21 -0
- package/form-row/index.d.ts +11 -0
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +606 -0
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +352 -0
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +343 -0
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +287 -0
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.d.ts +235 -0
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.d.ts +717 -0
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.d.ts +226 -0
- package/form-view/index.mjs +2 -2
- package/guide-steps/index.d.ts +31 -0
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.d.ts +18 -0
- package/iframe-window/index.d.ts +9 -0
- package/image-cropper/index.d.ts +365 -0
- package/image-preview/index.d.ts +61 -0
- package/image-viewer/index.d.ts +25 -0
- package/index.css +1 -1
- package/index.d.ts +119 -119
- package/index.mjs +121 -121
- package/input-number-range/index.d.ts +41 -0
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.d.ts +65 -0
- package/name-avatar/index.d.ts +62 -0
- package/nav-bar/index.d.ts +21 -0
- package/package.json +1 -1
- package/page/index.d.ts +21 -0
- package/page-header/index.d.ts +27 -0
- package/page-index/index.d.ts +82 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/pageable-table/index.d.ts +400 -0
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.mjs +1 -1
- package/props/date.d.ts +1 -4
- package/props/date.mjs +18 -5
- package/sign-panel/index.d.ts +85 -0
- package/skeleton-panel/index.d.ts +27 -0
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.mjs +1 -1
- package/stateful/index.d.ts +92 -0
- package/sub-table/index.d.ts +109 -0
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.d.ts +109 -0
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.d.ts +27 -0
- package/table-column/index.d.ts +163 -0
- package/table-column-def/index.d.ts +97 -0
- package/table-view/index.d.ts +346 -0
- package/table-view/index.mjs +92 -90
- package/tag-render/index.d.ts +48 -0
- package/text-ellipsis/index.d.ts +111 -0
- package/toolbar/index.d.ts +129 -0
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.d.ts +189 -0
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +1 -1
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tree-select/index.d.ts +1489 -0
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.d.ts +117 -0
- package/watermark/index.d.ts +97 -0
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +1 -1
- package/chunks/CjjJimnU.mjs +0 -20
- /package/chunks/{tJ_t87kJ.mjs → 6dNVtIN32.mjs} +0 -0
- /package/chunks/{CJ7Ai-mH2.mjs → B1luuf_A2.mjs} +0 -0
- /package/chunks/{B1jgu0ci.mjs → BAG_R87k2.mjs} +0 -0
- /package/chunks/{gNfZhMJk2.mjs → BM5LdxU72.mjs} +0 -0
- /package/chunks/{CZeL7oiY2.mjs → BhHMGhJ8.mjs} +0 -0
- /package/chunks/{z6tpYT0z.mjs → BwL9Xz1F.mjs} +0 -0
- /package/chunks/{B2Y1LWJ3.mjs → Dkw6LNCq2.mjs} +0 -0
- /package/chunks/{b_78-Wov2.mjs → FZqu01np2.mjs} +0 -0
- /package/chunks/{hPAfGilD.mjs → KOJEsarR2.mjs} +0 -0
- /package/chunks/{3UWcbJcG.mjs → PEU1JRcN2.mjs} +0 -0
|
@@ -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
|
-
import "element-plus/es/components/form/style/css";
|
|
10
10
|
import "element-plus/es/components/form-item/style/css";
|
|
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 };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "
|
|
3
|
-
import { ElInput as n } from "element-plus/es";
|
|
1
|
+
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
|
+
import { ElInput as t } from "element-plus/es";
|
|
4
3
|
import "element-plus/es/components/base/style/css";
|
|
5
4
|
import "element-plus/es/components/input/style/css";
|
|
6
|
-
import { createElementBlock as
|
|
7
|
-
import { isBlank as
|
|
5
|
+
import { createElementBlock as n, createElementVNode as r, createVNode as i, openBlock as a } from "vue";
|
|
6
|
+
import { isBlank as o } from "@web-utils/core";
|
|
8
7
|
//#region src/components/bpmn-process-designer/components/penal/other/ElementOtherConfig.vue
|
|
9
|
-
var
|
|
8
|
+
var s = {
|
|
10
9
|
name: "ElementOtherConfig",
|
|
11
10
|
props: {
|
|
12
11
|
id: String,
|
|
@@ -19,7 +18,7 @@ var c = /* @__PURE__ */ e({ default: () => m }), l = {
|
|
|
19
18
|
watch: { id: {
|
|
20
19
|
immediate: !0,
|
|
21
20
|
handler() {
|
|
22
|
-
if (
|
|
21
|
+
if (o(this.element)) this.documentation = "";
|
|
23
22
|
else {
|
|
24
23
|
let { businessObject: { documentation: e } } = this.element;
|
|
25
24
|
this.documentation = (e == null ? void 0 : e[0].text) || "";
|
|
@@ -34,12 +33,12 @@ var c = /* @__PURE__ */ e({ default: () => m }), l = {
|
|
|
34
33
|
e.updateProperties(this.element, { documentation: [n] });
|
|
35
34
|
}
|
|
36
35
|
} }
|
|
37
|
-
},
|
|
38
|
-
function
|
|
39
|
-
let m =
|
|
40
|
-
return
|
|
41
|
-
modelValue:
|
|
42
|
-
"onUpdate:modelValue":
|
|
36
|
+
}, c = { class: "panel-tab__content" }, l = { class: "element-property input-property" }, u = { class: "element-property__value" };
|
|
37
|
+
function d(e, o, s, d, f, p) {
|
|
38
|
+
let m = t;
|
|
39
|
+
return a(), n("div", c, [r("div", l, [o[1] || (o[1] = r("div", { class: "element-property__label" }, "元素文档:", -1)), r("div", u, [i(m, {
|
|
40
|
+
modelValue: f.documentation,
|
|
41
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => f.documentation = e),
|
|
43
42
|
type: "textarea",
|
|
44
43
|
resize: "vertical",
|
|
45
44
|
autosize: {
|
|
@@ -49,6 +48,6 @@ function p(e, t, s, c, l, p) {
|
|
|
49
48
|
onInput: p.updateDocumentation
|
|
50
49
|
}, null, 8, ["modelValue", "onInput"])])])]);
|
|
51
50
|
}
|
|
52
|
-
var
|
|
51
|
+
var f = /* @__PURE__ */ e(s, [["render", d]]);
|
|
53
52
|
//#endregion
|
|
54
|
-
export {
|
|
53
|
+
export { f as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, o as t } from "./
|
|
1
|
+
import { n as e, o as t } from "./CkLpOk7H.mjs";
|
|
2
2
|
import { useDictionary as n } from "../hook/useDictionary.mjs";
|
|
3
3
|
import { allProps as r, predicate as i } from "../props/select.mjs";
|
|
4
4
|
import { ElOption as a, ElSelect as o } from "element-plus/es";
|