@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,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t } from "./
|
|
2
|
-
import { t as n } from "./
|
|
1
|
+
import { n as e, o as t } from "./CkLpOk7H.mjs";
|
|
2
|
+
import { t as n } from "./FZqu01np2.mjs";
|
|
3
3
|
import { allProps as r, predicate as i } from "../props/tree-select-multiple.mjs";
|
|
4
4
|
import { createVNode as a, mergeProps as o } from "vue";
|
|
5
5
|
//#endregion
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./
|
|
4
|
-
import { r, t as i } from "./
|
|
5
|
-
import { a, i as o, n as s, r as c, t as l } from "./
|
|
6
|
-
import {
|
|
1
|
+
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
|
+
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
+
import { t as n } from "./mnqSaATq.mjs";
|
|
4
|
+
import { r, t as i } from "./BAG_R87k2.mjs";
|
|
5
|
+
import { a, i as o, n as s, r as c, t as l } from "./BwL9Xz1F.mjs";
|
|
6
|
+
import { ElDivider as u, ElDrawer as d, ElForm as f, ElFormItem as p, ElInput as m, ElMessageBox as h, ElOption as g, ElSelect as _, ElTable as v, ElTableColumn as y } from "element-plus/es";
|
|
7
7
|
import "element-plus/es/components/base/style/css";
|
|
8
8
|
import "element-plus/es/components/input/style/css";
|
|
9
9
|
import { Fragment as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createTextVNode as T, createVNode as E, openBlock as D, renderList as O, withCtx as k, withModifiers as A } from "vue";
|
|
10
10
|
import { fastClone as j } from "@web-utils/core";
|
|
11
|
-
import "element-plus/es/components/
|
|
11
|
+
import "element-plus/es/components/message-box/style/css";
|
|
12
12
|
import "element-plus/es/components/drawer/style/css";
|
|
13
13
|
import "element-plus/es/components/table/style/css";
|
|
14
14
|
import "element-plus/es/components/table-column/style/css";
|
|
15
|
-
import "element-plus/es/components/form/style/css";
|
|
16
15
|
import "element-plus/es/components/form-item/style/css";
|
|
16
|
+
import "element-plus/es/components/form/style/css";
|
|
17
17
|
import "element-plus/es/components/select/style/css";
|
|
18
18
|
import "element-plus/es/components/option/style/css";
|
|
19
19
|
import "element-plus/es/components/divider/style/css";
|
|
20
20
|
//#region src/components/bpmn-process-designer/components/penal/listeners/UserTaskListeners.vue
|
|
21
|
-
var M =
|
|
21
|
+
var M = {
|
|
22
22
|
name: "UserTaskListeners",
|
|
23
23
|
inject: {
|
|
24
24
|
prefix: "prefix",
|
|
@@ -64,7 +64,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = {
|
|
|
64
64
|
},
|
|
65
65
|
async removeListener(e, t) {
|
|
66
66
|
try {
|
|
67
|
-
await
|
|
67
|
+
await h.confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(t, 1), this.elementListenersList.splice(t, 1), r(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
68
68
|
} catch {}
|
|
69
69
|
},
|
|
70
70
|
async saveListenerConfig() {
|
|
@@ -82,64 +82,64 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = {
|
|
|
82
82
|
},
|
|
83
83
|
async removeListenerField(e, t) {
|
|
84
84
|
try {
|
|
85
|
-
await
|
|
85
|
+
await h.confirm("确认移除该字段吗?", "提示"), this.fieldsListOfListener.splice(t, 1), this.listenerForm.fields.splice(t, 1);
|
|
86
86
|
} catch {}
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, N = { class: "panel-tab__content" }, P = { class: "element-drawer__button" }, F = {
|
|
90
90
|
class: "listener-filed__title",
|
|
91
91
|
style: { "padding-bottom": "6px" }
|
|
92
|
-
},
|
|
93
|
-
function
|
|
94
|
-
let
|
|
95
|
-
return D(), C("div",
|
|
92
|
+
}, I = { class: "element-drawer__button" };
|
|
93
|
+
function L(e, r, i, a, o, s) {
|
|
94
|
+
let c = y, l = n, h = u, j = v, M = g, L = _, R = p, z = m, B = f, V = d, H = t;
|
|
95
|
+
return D(), C("div", N, [
|
|
96
96
|
E(j, {
|
|
97
|
-
data:
|
|
97
|
+
data: o.elementListenersList,
|
|
98
98
|
border: ""
|
|
99
99
|
}, {
|
|
100
100
|
default: k(() => [
|
|
101
|
-
E(
|
|
101
|
+
E(c, {
|
|
102
102
|
label: "序号",
|
|
103
103
|
width: "50px",
|
|
104
104
|
type: "index"
|
|
105
105
|
}),
|
|
106
|
-
E(
|
|
106
|
+
E(c, {
|
|
107
107
|
label: "事件类型",
|
|
108
108
|
"min-width": "80px",
|
|
109
109
|
"show-overflow-tooltip": "",
|
|
110
|
-
formatter: (e) =>
|
|
110
|
+
formatter: (e) => o.listenerEventTypeObject[e.event]
|
|
111
111
|
}, null, 8, ["formatter"]),
|
|
112
|
-
E(
|
|
112
|
+
E(c, {
|
|
113
113
|
label: "事件id",
|
|
114
114
|
"min-width": "80px",
|
|
115
115
|
prop: "id",
|
|
116
116
|
"show-overflow-tooltip": ""
|
|
117
117
|
}),
|
|
118
|
-
E(
|
|
118
|
+
E(c, {
|
|
119
119
|
label: "监听器类型",
|
|
120
120
|
"min-width": "80px",
|
|
121
121
|
"show-overflow-tooltip": "",
|
|
122
|
-
formatter: (e) =>
|
|
122
|
+
formatter: (e) => o.listenerTypeObject[e.listenerType]
|
|
123
123
|
}, null, 8, ["formatter"]),
|
|
124
|
-
E(
|
|
124
|
+
E(c, {
|
|
125
125
|
label: "操作",
|
|
126
126
|
width: "90px"
|
|
127
127
|
}, {
|
|
128
|
-
default: k(({ row: e, $index:
|
|
129
|
-
E(
|
|
128
|
+
default: k(({ row: e, $index: t }) => [
|
|
129
|
+
E(l, {
|
|
130
130
|
text: "",
|
|
131
|
-
onClick: (
|
|
131
|
+
onClick: (n) => s.openListenerForm(e, t)
|
|
132
132
|
}, {
|
|
133
|
-
default: k(() => [...
|
|
133
|
+
default: k(() => [...r[24] || (r[24] = [T("编辑", -1)])]),
|
|
134
134
|
_: 1
|
|
135
135
|
}, 8, ["onClick"]),
|
|
136
|
-
E(
|
|
137
|
-
E(
|
|
136
|
+
E(h, { direction: "vertical" }),
|
|
137
|
+
E(l, {
|
|
138
138
|
text: "",
|
|
139
139
|
style: { color: "#ff4d4f" },
|
|
140
|
-
onClick: (
|
|
140
|
+
onClick: (n) => s.removeListener(e, t)
|
|
141
141
|
}, {
|
|
142
|
-
default: k(() => [...
|
|
142
|
+
default: k(() => [...r[25] || (r[25] = [T("移除", -1)])]),
|
|
143
143
|
_: 1
|
|
144
144
|
}, 8, ["onClick"])
|
|
145
145
|
]),
|
|
@@ -148,21 +148,21 @@ function R(e, t, r, i, a, o) {
|
|
|
148
148
|
]),
|
|
149
149
|
_: 1
|
|
150
150
|
}, 8, ["data"]),
|
|
151
|
-
w("div",
|
|
151
|
+
w("div", P, [E(l, {
|
|
152
152
|
type: "primary",
|
|
153
153
|
icon: "el-icon-plus",
|
|
154
|
-
onClick:
|
|
154
|
+
onClick: r[0] || (r[0] = (e) => s.openListenerForm(null))
|
|
155
155
|
}, {
|
|
156
|
-
default: k(() => [...
|
|
156
|
+
default: k(() => [...r[26] || (r[26] = [T("添加监听器", -1)])]),
|
|
157
157
|
_: 1
|
|
158
158
|
})]),
|
|
159
159
|
S(" 监听器 编辑/创建 部分 "),
|
|
160
160
|
E(V, {
|
|
161
|
-
|
|
162
|
-
"onUpdate:
|
|
161
|
+
modelValue: o.listenerFormModelVisible,
|
|
162
|
+
"onUpdate:modelValue": r[16] || (r[16] = (e) => o.listenerFormModelVisible = e),
|
|
163
163
|
class: "flow-drawer",
|
|
164
164
|
title: "任务监听器",
|
|
165
|
-
size: `${
|
|
165
|
+
size: `${s.width}px`,
|
|
166
166
|
"wrapper-closable": !1,
|
|
167
167
|
"append-to-body": "",
|
|
168
168
|
"destroy-on-close": ""
|
|
@@ -170,9 +170,9 @@ function R(e, t, r, i, a, o) {
|
|
|
170
170
|
default: k(() => [
|
|
171
171
|
E(B, {
|
|
172
172
|
ref: "listenerFormRef",
|
|
173
|
-
model:
|
|
173
|
+
model: o.listenerForm,
|
|
174
174
|
"label-width": "96px",
|
|
175
|
-
onSubmit:
|
|
175
|
+
onSubmit: r[13] || (r[13] = A(() => {}, ["prevent"]))
|
|
176
176
|
}, {
|
|
177
177
|
default: k(() => [
|
|
178
178
|
E(R, {
|
|
@@ -183,13 +183,13 @@ function R(e, t, r, i, a, o) {
|
|
|
183
183
|
trigger: ["blur", "change"]
|
|
184
184
|
}
|
|
185
185
|
}, {
|
|
186
|
-
default: k(() => [E(
|
|
187
|
-
modelValue:
|
|
188
|
-
"onUpdate:modelValue":
|
|
186
|
+
default: k(() => [E(L, {
|
|
187
|
+
modelValue: o.listenerForm.event,
|
|
188
|
+
"onUpdate:modelValue": r[1] || (r[1] = (e) => o.listenerForm.event = e)
|
|
189
189
|
}, {
|
|
190
|
-
default: k(() => [(D(!0), C(b, null, O(Object.keys(
|
|
190
|
+
default: k(() => [(D(!0), C(b, null, O(Object.keys(o.listenerEventTypeObject), (e) => (D(), x(M, {
|
|
191
191
|
key: e,
|
|
192
|
-
label:
|
|
192
|
+
label: o.listenerEventTypeObject[e],
|
|
193
193
|
value: e
|
|
194
194
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
195
195
|
_: 1
|
|
@@ -205,8 +205,8 @@ function R(e, t, r, i, a, o) {
|
|
|
205
205
|
}
|
|
206
206
|
}, {
|
|
207
207
|
default: k(() => [E(z, {
|
|
208
|
-
modelValue:
|
|
209
|
-
"onUpdate:modelValue":
|
|
208
|
+
modelValue: o.listenerForm.id,
|
|
209
|
+
"onUpdate:modelValue": r[2] || (r[2] = (e) => o.listenerForm.id = e),
|
|
210
210
|
clearable: ""
|
|
211
211
|
}, null, 8, ["modelValue"])]),
|
|
212
212
|
_: 1
|
|
@@ -219,20 +219,20 @@ function R(e, t, r, i, a, o) {
|
|
|
219
219
|
trigger: ["blur", "change"]
|
|
220
220
|
}
|
|
221
221
|
}, {
|
|
222
|
-
default: k(() => [E(
|
|
223
|
-
modelValue:
|
|
224
|
-
"onUpdate:modelValue":
|
|
222
|
+
default: k(() => [E(L, {
|
|
223
|
+
modelValue: o.listenerForm.listenerType,
|
|
224
|
+
"onUpdate:modelValue": r[3] || (r[3] = (e) => o.listenerForm.listenerType = e)
|
|
225
225
|
}, {
|
|
226
|
-
default: k(() => [(D(!0), C(b, null, O(Object.keys(
|
|
226
|
+
default: k(() => [(D(!0), C(b, null, O(Object.keys(o.listenerTypeObject), (e) => (D(), x(M, {
|
|
227
227
|
key: e,
|
|
228
|
-
label:
|
|
228
|
+
label: o.listenerTypeObject[e],
|
|
229
229
|
value: e
|
|
230
230
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
231
231
|
_: 1
|
|
232
232
|
}, 8, ["modelValue"])]),
|
|
233
233
|
_: 1
|
|
234
234
|
}),
|
|
235
|
-
|
|
235
|
+
o.listenerForm.listenerType === "classListener" ? (D(), x(R, {
|
|
236
236
|
key: "listener-class",
|
|
237
237
|
label: "Java类",
|
|
238
238
|
prop: "class",
|
|
@@ -242,13 +242,13 @@ function R(e, t, r, i, a, o) {
|
|
|
242
242
|
}
|
|
243
243
|
}, {
|
|
244
244
|
default: k(() => [E(z, {
|
|
245
|
-
modelValue:
|
|
246
|
-
"onUpdate:modelValue":
|
|
245
|
+
modelValue: o.listenerForm.class,
|
|
246
|
+
"onUpdate:modelValue": r[4] || (r[4] = (e) => o.listenerForm.class = e),
|
|
247
247
|
clearable: ""
|
|
248
248
|
}, null, 8, ["modelValue"])]),
|
|
249
249
|
_: 1
|
|
250
250
|
})) : S("v-if", !0),
|
|
251
|
-
|
|
251
|
+
o.listenerForm.listenerType === "expressionListener" ? (D(), x(R, {
|
|
252
252
|
key: "listener-expression",
|
|
253
253
|
label: "表达式",
|
|
254
254
|
prop: "expression",
|
|
@@ -258,13 +258,13 @@ function R(e, t, r, i, a, o) {
|
|
|
258
258
|
}
|
|
259
259
|
}, {
|
|
260
260
|
default: k(() => [E(z, {
|
|
261
|
-
modelValue:
|
|
262
|
-
"onUpdate:modelValue":
|
|
261
|
+
modelValue: o.listenerForm.expression,
|
|
262
|
+
"onUpdate:modelValue": r[5] || (r[5] = (e) => o.listenerForm.expression = e),
|
|
263
263
|
clearable: ""
|
|
264
264
|
}, null, 8, ["modelValue"])]),
|
|
265
265
|
_: 1
|
|
266
266
|
})) : S("v-if", !0),
|
|
267
|
-
|
|
267
|
+
o.listenerForm.listenerType === "delegateExpressionListener" ? (D(), x(R, {
|
|
268
268
|
key: "listener-delegate",
|
|
269
269
|
label: "代理表达式",
|
|
270
270
|
prop: "delegateExpression",
|
|
@@ -274,13 +274,13 @@ function R(e, t, r, i, a, o) {
|
|
|
274
274
|
}
|
|
275
275
|
}, {
|
|
276
276
|
default: k(() => [E(z, {
|
|
277
|
-
modelValue:
|
|
278
|
-
"onUpdate:modelValue":
|
|
277
|
+
modelValue: o.listenerForm.delegateExpression,
|
|
278
|
+
"onUpdate:modelValue": r[6] || (r[6] = (e) => o.listenerForm.delegateExpression = e),
|
|
279
279
|
clearable: ""
|
|
280
280
|
}, null, 8, ["modelValue"])]),
|
|
281
281
|
_: 1
|
|
282
282
|
})) : S("v-if", !0),
|
|
283
|
-
|
|
283
|
+
o.listenerForm.listenerType === "scriptListener" ? (D(), C(b, { key: 3 }, [
|
|
284
284
|
E(R, {
|
|
285
285
|
key: "listener-script-format",
|
|
286
286
|
label: "脚本格式",
|
|
@@ -292,8 +292,8 @@ function R(e, t, r, i, a, o) {
|
|
|
292
292
|
}
|
|
293
293
|
}, {
|
|
294
294
|
default: k(() => [E(z, {
|
|
295
|
-
modelValue:
|
|
296
|
-
"onUpdate:modelValue":
|
|
295
|
+
modelValue: o.listenerForm.scriptFormat,
|
|
296
|
+
"onUpdate:modelValue": r[7] || (r[7] = (e) => o.listenerForm.scriptFormat = e),
|
|
297
297
|
clearable: ""
|
|
298
298
|
}, null, 8, ["modelValue"])]),
|
|
299
299
|
_: 1
|
|
@@ -308,9 +308,9 @@ function R(e, t, r, i, a, o) {
|
|
|
308
308
|
message: "请选择脚本类型"
|
|
309
309
|
}
|
|
310
310
|
}, {
|
|
311
|
-
default: k(() => [E(
|
|
312
|
-
modelValue:
|
|
313
|
-
"onUpdate:modelValue":
|
|
311
|
+
default: k(() => [E(L, {
|
|
312
|
+
modelValue: o.listenerForm.scriptType,
|
|
313
|
+
"onUpdate:modelValue": r[8] || (r[8] = (e) => o.listenerForm.scriptType = e)
|
|
314
314
|
}, {
|
|
315
315
|
default: k(() => [E(M, {
|
|
316
316
|
label: "内联脚本",
|
|
@@ -323,7 +323,7 @@ function R(e, t, r, i, a, o) {
|
|
|
323
323
|
}, 8, ["modelValue"])]),
|
|
324
324
|
_: 1
|
|
325
325
|
}),
|
|
326
|
-
|
|
326
|
+
o.listenerForm.scriptType === "inlineScript" ? (D(), x(R, {
|
|
327
327
|
key: "listener-script",
|
|
328
328
|
label: "脚本内容",
|
|
329
329
|
prop: "value",
|
|
@@ -334,13 +334,13 @@ function R(e, t, r, i, a, o) {
|
|
|
334
334
|
}
|
|
335
335
|
}, {
|
|
336
336
|
default: k(() => [E(z, {
|
|
337
|
-
modelValue:
|
|
338
|
-
"onUpdate:modelValue":
|
|
337
|
+
modelValue: o.listenerForm.value,
|
|
338
|
+
"onUpdate:modelValue": r[9] || (r[9] = (e) => o.listenerForm.value = e),
|
|
339
339
|
clearable: ""
|
|
340
340
|
}, null, 8, ["modelValue"])]),
|
|
341
341
|
_: 1
|
|
342
342
|
})) : S("v-if", !0),
|
|
343
|
-
|
|
343
|
+
o.listenerForm.scriptType === "externalScript" ? (D(), x(R, {
|
|
344
344
|
key: "listener-resource",
|
|
345
345
|
label: "资源地址",
|
|
346
346
|
prop: "resource",
|
|
@@ -351,21 +351,21 @@ function R(e, t, r, i, a, o) {
|
|
|
351
351
|
}
|
|
352
352
|
}, {
|
|
353
353
|
default: k(() => [E(z, {
|
|
354
|
-
modelValue:
|
|
355
|
-
"onUpdate:modelValue":
|
|
354
|
+
modelValue: o.listenerForm.resource,
|
|
355
|
+
"onUpdate:modelValue": r[10] || (r[10] = (e) => o.listenerForm.resource = e),
|
|
356
356
|
clearable: ""
|
|
357
357
|
}, null, 8, ["modelValue"])]),
|
|
358
358
|
_: 1
|
|
359
359
|
})) : S("v-if", !0)
|
|
360
360
|
], 64)) : S("v-if", !0),
|
|
361
|
-
|
|
361
|
+
o.listenerForm.event === "timeout" ? (D(), C(b, { key: 4 }, [E(R, {
|
|
362
362
|
key: "eventDefinitionType",
|
|
363
363
|
label: "定时器类型",
|
|
364
364
|
prop: "eventDefinitionType"
|
|
365
365
|
}, {
|
|
366
|
-
default: k(() => [E(
|
|
367
|
-
modelValue:
|
|
368
|
-
"onUpdate:modelValue":
|
|
366
|
+
default: k(() => [E(L, {
|
|
367
|
+
modelValue: o.listenerForm.eventDefinitionType,
|
|
368
|
+
"onUpdate:modelValue": r[11] || (r[11] = (e) => o.listenerForm.eventDefinitionType = e)
|
|
369
369
|
}, {
|
|
370
370
|
default: k(() => [
|
|
371
371
|
E(M, {
|
|
@@ -388,7 +388,7 @@ function R(e, t, r, i, a, o) {
|
|
|
388
388
|
_: 1
|
|
389
389
|
}, 8, ["modelValue"])]),
|
|
390
390
|
_: 1
|
|
391
|
-
}),
|
|
391
|
+
}), o.listenerForm.eventDefinitionType && o.listenerForm.eventDefinitionType !== "null" ? (D(), x(R, {
|
|
392
392
|
key: "eventTimeDefinitions",
|
|
393
393
|
label: "定时器",
|
|
394
394
|
prop: "eventTimeDefinitions",
|
|
@@ -399,8 +399,8 @@ function R(e, t, r, i, a, o) {
|
|
|
399
399
|
}
|
|
400
400
|
}, {
|
|
401
401
|
default: k(() => [E(z, {
|
|
402
|
-
modelValue:
|
|
403
|
-
"onUpdate:modelValue":
|
|
402
|
+
modelValue: o.listenerForm.eventTimeDefinitions,
|
|
403
|
+
"onUpdate:modelValue": r[12] || (r[12] = (e) => o.listenerForm.eventTimeDefinitions = e),
|
|
404
404
|
clearable: ""
|
|
405
405
|
}, null, 8, ["modelValue"])]),
|
|
406
406
|
_: 1
|
|
@@ -408,64 +408,64 @@ function R(e, t, r, i, a, o) {
|
|
|
408
408
|
]),
|
|
409
409
|
_: 1
|
|
410
410
|
}, 8, ["model"]),
|
|
411
|
-
E(
|
|
412
|
-
w("p",
|
|
411
|
+
E(h),
|
|
412
|
+
w("p", F, [r[28] || (r[28] = w("span", null, [w("i", { class: "el-icon-menu" }), T(" 注入字段: ")], -1)), E(l, {
|
|
413
413
|
type: "primary",
|
|
414
414
|
style: { "margin-left": "auto" },
|
|
415
|
-
onClick:
|
|
415
|
+
onClick: r[14] || (r[14] = (e) => s.openListenerFieldForm(null))
|
|
416
416
|
}, {
|
|
417
|
-
default: k(() => [...
|
|
417
|
+
default: k(() => [...r[27] || (r[27] = [T("添加字段", -1)])]),
|
|
418
418
|
_: 1
|
|
419
419
|
})]),
|
|
420
420
|
E(j, {
|
|
421
|
-
data:
|
|
421
|
+
data: o.fieldsListOfListener,
|
|
422
422
|
"max-height": "240",
|
|
423
423
|
border: "",
|
|
424
424
|
fit: "",
|
|
425
425
|
style: { flex: "none" }
|
|
426
426
|
}, {
|
|
427
427
|
default: k(() => [
|
|
428
|
-
E(
|
|
428
|
+
E(c, {
|
|
429
429
|
label: "序号",
|
|
430
430
|
width: "50px",
|
|
431
431
|
type: "index"
|
|
432
432
|
}),
|
|
433
|
-
E(
|
|
433
|
+
E(c, {
|
|
434
434
|
label: "字段名称",
|
|
435
435
|
"min-width": "100px",
|
|
436
436
|
prop: "name"
|
|
437
437
|
}),
|
|
438
|
-
E(
|
|
438
|
+
E(c, {
|
|
439
439
|
label: "字段类型",
|
|
440
440
|
"min-width": "80px",
|
|
441
441
|
"show-overflow-tooltip": "",
|
|
442
|
-
formatter: (e) =>
|
|
442
|
+
formatter: (e) => o.fieldTypeObject[e.fieldType]
|
|
443
443
|
}, null, 8, ["formatter"]),
|
|
444
|
-
E(
|
|
444
|
+
E(c, {
|
|
445
445
|
label: "字段值/表达式",
|
|
446
446
|
"min-width": "100px",
|
|
447
447
|
"show-overflow-tooltip": "",
|
|
448
448
|
formatter: (e) => e.string || e.expression
|
|
449
449
|
}, null, 8, ["formatter"]),
|
|
450
|
-
E(
|
|
450
|
+
E(c, {
|
|
451
451
|
label: "操作",
|
|
452
452
|
width: "100px"
|
|
453
453
|
}, {
|
|
454
|
-
default: k(({ row: e, $index:
|
|
455
|
-
E(
|
|
454
|
+
default: k(({ row: e, $index: t }) => [
|
|
455
|
+
E(l, {
|
|
456
456
|
text: "",
|
|
457
|
-
onClick: (
|
|
457
|
+
onClick: (n) => s.openListenerFieldForm(e, t)
|
|
458
458
|
}, {
|
|
459
|
-
default: k(() => [...
|
|
459
|
+
default: k(() => [...r[29] || (r[29] = [T("编辑", -1)])]),
|
|
460
460
|
_: 1
|
|
461
461
|
}, 8, ["onClick"]),
|
|
462
|
-
E(
|
|
463
|
-
E(
|
|
462
|
+
E(h, { direction: "vertical" }),
|
|
463
|
+
E(l, {
|
|
464
464
|
text: "",
|
|
465
465
|
style: { color: "#ff4d4f" },
|
|
466
|
-
onClick: (
|
|
466
|
+
onClick: (n) => s.removeListenerField(e, t)
|
|
467
467
|
}, {
|
|
468
|
-
default: k(() => [...
|
|
468
|
+
default: k(() => [...r[30] || (r[30] = [T("移除", -1)])]),
|
|
469
469
|
_: 1
|
|
470
470
|
}, 8, ["onClick"])
|
|
471
471
|
]),
|
|
@@ -474,45 +474,45 @@ function R(e, t, r, i, a, o) {
|
|
|
474
474
|
]),
|
|
475
475
|
_: 1
|
|
476
476
|
}, 8, ["data"]),
|
|
477
|
-
w("div",
|
|
478
|
-
default: k(() => [...
|
|
477
|
+
w("div", I, [E(l, { onClick: r[15] || (r[15] = (e) => o.listenerFormModelVisible = !1) }, {
|
|
478
|
+
default: k(() => [...r[31] || (r[31] = [T("取 消", -1)])]),
|
|
479
479
|
_: 1
|
|
480
|
-
}), E(
|
|
480
|
+
}), E(l, {
|
|
481
481
|
type: "primary",
|
|
482
|
-
onClick:
|
|
482
|
+
onClick: s.saveListenerConfig
|
|
483
483
|
}, {
|
|
484
|
-
default: k(() => [...
|
|
484
|
+
default: k(() => [...r[32] || (r[32] = [T("保 存", -1)])]),
|
|
485
485
|
_: 1
|
|
486
486
|
}, 8, ["onClick"])])
|
|
487
487
|
]),
|
|
488
488
|
_: 1
|
|
489
|
-
}, 8, ["
|
|
489
|
+
}, 8, ["modelValue", "size"]),
|
|
490
490
|
S(" 注入西段 编辑/创建 部分 "),
|
|
491
491
|
E(H, {
|
|
492
|
-
|
|
493
|
-
"onUpdate:
|
|
492
|
+
modelValue: o.listenerFieldFormModelVisible,
|
|
493
|
+
"onUpdate:modelValue": r[23] || (r[23] = (e) => o.listenerFieldFormModelVisible = e),
|
|
494
494
|
title: "字段配置",
|
|
495
495
|
class: "flow-dialog",
|
|
496
496
|
width: "600px",
|
|
497
497
|
"append-to-body": "",
|
|
498
498
|
"destroy-on-close": ""
|
|
499
499
|
}, {
|
|
500
|
-
footer: k(() => [E(
|
|
501
|
-
default: k(() => [...
|
|
500
|
+
footer: k(() => [E(l, { onClick: r[22] || (r[22] = (e) => o.listenerFieldFormModelVisible = !1) }, {
|
|
501
|
+
default: k(() => [...r[33] || (r[33] = [T("取 消", -1)])]),
|
|
502
502
|
_: 1
|
|
503
|
-
}), E(
|
|
503
|
+
}), E(l, {
|
|
504
504
|
type: "primary",
|
|
505
|
-
onClick:
|
|
505
|
+
onClick: s.saveListenerFiled
|
|
506
506
|
}, {
|
|
507
|
-
default: k(() => [...
|
|
507
|
+
default: k(() => [...r[34] || (r[34] = [T("确 定", -1)])]),
|
|
508
508
|
_: 1
|
|
509
509
|
}, 8, ["onClick"])]),
|
|
510
510
|
default: k(() => [E(B, {
|
|
511
511
|
ref: "listenerFieldFormRef",
|
|
512
|
-
model:
|
|
512
|
+
model: o.listenerFieldForm,
|
|
513
513
|
"label-width": "96px",
|
|
514
514
|
style: { height: "136px" },
|
|
515
|
-
onSubmit:
|
|
515
|
+
onSubmit: r[21] || (r[21] = A(() => {}, ["prevent"]))
|
|
516
516
|
}, {
|
|
517
517
|
default: k(() => [
|
|
518
518
|
E(R, {
|
|
@@ -524,8 +524,8 @@ function R(e, t, r, i, a, o) {
|
|
|
524
524
|
}
|
|
525
525
|
}, {
|
|
526
526
|
default: k(() => [E(z, {
|
|
527
|
-
modelValue:
|
|
528
|
-
"onUpdate:modelValue":
|
|
527
|
+
modelValue: o.listenerFieldForm.name,
|
|
528
|
+
"onUpdate:modelValue": r[17] || (r[17] = (e) => o.listenerFieldForm.name = e),
|
|
529
529
|
clearable: ""
|
|
530
530
|
}, null, 8, ["modelValue"])]),
|
|
531
531
|
_: 1
|
|
@@ -538,20 +538,20 @@ function R(e, t, r, i, a, o) {
|
|
|
538
538
|
trigger: ["blur", "change"]
|
|
539
539
|
}
|
|
540
540
|
}, {
|
|
541
|
-
default: k(() => [E(
|
|
542
|
-
modelValue:
|
|
543
|
-
"onUpdate:modelValue":
|
|
541
|
+
default: k(() => [E(L, {
|
|
542
|
+
modelValue: o.listenerFieldForm.fieldType,
|
|
543
|
+
"onUpdate:modelValue": r[18] || (r[18] = (e) => o.listenerFieldForm.fieldType = e)
|
|
544
544
|
}, {
|
|
545
|
-
default: k(() => [(D(!0), C(b, null, O(Object.keys(
|
|
545
|
+
default: k(() => [(D(!0), C(b, null, O(Object.keys(o.fieldTypeObject), (e) => (D(), x(M, {
|
|
546
546
|
key: e,
|
|
547
|
-
label:
|
|
547
|
+
label: o.fieldTypeObject[e],
|
|
548
548
|
value: e
|
|
549
549
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
550
550
|
_: 1
|
|
551
551
|
}, 8, ["modelValue"])]),
|
|
552
552
|
_: 1
|
|
553
553
|
}),
|
|
554
|
-
|
|
554
|
+
o.listenerFieldForm.fieldType === "string" ? (D(), x(R, {
|
|
555
555
|
key: "field-string",
|
|
556
556
|
label: "字段值:",
|
|
557
557
|
prop: "string",
|
|
@@ -561,13 +561,13 @@ function R(e, t, r, i, a, o) {
|
|
|
561
561
|
}
|
|
562
562
|
}, {
|
|
563
563
|
default: k(() => [E(z, {
|
|
564
|
-
modelValue:
|
|
565
|
-
"onUpdate:modelValue":
|
|
564
|
+
modelValue: o.listenerFieldForm.string,
|
|
565
|
+
"onUpdate:modelValue": r[19] || (r[19] = (e) => o.listenerFieldForm.string = e),
|
|
566
566
|
clearable: ""
|
|
567
567
|
}, null, 8, ["modelValue"])]),
|
|
568
568
|
_: 1
|
|
569
569
|
})) : S("v-if", !0),
|
|
570
|
-
|
|
570
|
+
o.listenerFieldForm.fieldType === "expression" ? (D(), x(R, {
|
|
571
571
|
key: "field-expression",
|
|
572
572
|
label: "表达式:",
|
|
573
573
|
prop: "expression",
|
|
@@ -577,8 +577,8 @@ function R(e, t, r, i, a, o) {
|
|
|
577
577
|
}
|
|
578
578
|
}, {
|
|
579
579
|
default: k(() => [E(z, {
|
|
580
|
-
modelValue:
|
|
581
|
-
"onUpdate:modelValue":
|
|
580
|
+
modelValue: o.listenerFieldForm.expression,
|
|
581
|
+
"onUpdate:modelValue": r[20] || (r[20] = (e) => o.listenerFieldForm.expression = e),
|
|
582
582
|
clearable: ""
|
|
583
583
|
}, null, 8, ["modelValue"])]),
|
|
584
584
|
_: 1
|
|
@@ -587,9 +587,9 @@ function R(e, t, r, i, a, o) {
|
|
|
587
587
|
_: 1
|
|
588
588
|
}, 8, ["model"])]),
|
|
589
589
|
_: 1
|
|
590
|
-
}, 8, ["
|
|
590
|
+
}, 8, ["modelValue"])
|
|
591
591
|
]);
|
|
592
592
|
}
|
|
593
|
-
var
|
|
593
|
+
var R = /* @__PURE__ */ e(M, [["render", L]]);
|
|
594
594
|
//#endregion
|
|
595
|
-
export {
|
|
595
|
+
export { R as default };
|