@web-utils/form-ui 1.0.0-beta77 → 1.0.0-beta78
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/{BkoWiWEW.mjs → 8i6khBvL2.mjs} +187 -188
- package/chunks/{DRXM1Mt22.mjs → B4GsYMXo.mjs} +1 -1
- package/chunks/{CWaId08S2.mjs → BEghYt1s2.mjs} +1 -1
- package/chunks/{DS4Iw8Y42.mjs → BPkYHRo52.mjs} +9 -9
- package/chunks/{CGVBF4Ml.mjs → BQytQPLa.mjs} +58 -51
- package/chunks/{CyQmVphZ.mjs → BUdSoC0y.mjs} +51 -52
- 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/{CeEYChF4.mjs → Bvn6wnku.mjs} +2 -2
- package/chunks/{BK6DiJfX2.mjs → C4TRh7-t2.mjs} +3 -3
- 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/{BTNnujZA2.mjs → CTYReSXN.mjs} +1 -1
- package/chunks/{CVM0lwn22.mjs → CfZWeZDD.mjs} +2 -2
- 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/{DFa2J7ul.mjs → Cwh7YPxJ.mjs} +151 -152
- package/chunks/{BVsvRLea2.mjs → D4FXesiK2.mjs} +2 -2
- package/chunks/{BM8snKHN2.mjs → DH-B0Lkz2.mjs} +2 -2
- package/chunks/{l5bfIjYm.mjs → DOdaQmeD.mjs} +576 -855
- package/chunks/{Cg6ahpHk.mjs → DQMWqQFe2.mjs} +2 -2
- package/chunks/{DyGddGTO.mjs → DbcxJ45j.mjs} +96 -97
- package/chunks/{B-WTB0ce2.mjs → DcgE9SF_2.mjs} +1 -1
- package/chunks/{285I1DfO.mjs → Dnb8jUG_.mjs} +14 -15
- package/chunks/{BaB0bq4I2.mjs → DxeRdYI82.mjs} +1 -1
- package/chunks/{Bq9KMIsC.mjs → YuRYvOxL.mjs} +162 -163
- 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/{DP7eF99m2.mjs → oXiNltCq.mjs} +1 -1
- package/chunks/{x2jJ6cfy2.mjs → shY1VkIE2.mjs} +1 -1
- package/chunks/{ohCkWdwS.mjs → tSaeUhnr.mjs} +1 -1
- package/chunks/{JjnlFlI02.mjs → xe1XzZUE2.mjs} +9 -9
- 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-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/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 +311 -0
- package/flow-designer/index.mjs +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.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 +3 -3
- 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/{C0gLPKS8.mjs → D9p3yGUu.mjs} +1 -1
- package/chunks/{Bh2SlzOo.mjs → DDcaXGrf2.mjs} +0 -0
- package/chunks/{B2Y1LWJ3.mjs → Dkw6LNCq2.mjs} +0 -0
- package/chunks/{C3pzNRoU2.mjs → DvGAwr6C.mjs} +2 -2
- package/chunks/{CeI6Qrij.mjs → DydcNRkF.mjs} +1 -1
- /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,30 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ElButton as l, ElDivider as u, ElDrawer as d, ElForm as f, ElFormItem as p, ElInput as m, ElOption as h, ElSelect as g, ElTable as _, ElTableColumn as v } from "element-plus/es";
|
|
1
|
+
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
|
+
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
+
import { r as n, t as r } from "./BAG_R87k2.mjs";
|
|
4
|
+
import { a as i, i as a, n as o, r as s } from "./BwL9Xz1F.mjs";
|
|
5
|
+
import { ElButton as c, ElDivider as l, ElDrawer as u, ElForm as d, ElFormItem as f, ElInput as p, ElOption as m, ElSelect as h, ElTable as g, ElTableColumn as _ } from "element-plus/es";
|
|
7
6
|
import "element-plus/es/components/base/style/css";
|
|
8
7
|
import "element-plus/es/components/input/style/css";
|
|
9
|
-
import { Fragment as
|
|
10
|
-
import { capitalize as
|
|
8
|
+
import { Fragment as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createTextVNode as C, createVNode as w, openBlock as T, renderList as E, withCtx as D, withModifiers as O } from "vue";
|
|
9
|
+
import { capitalize as k, fastClone as A } from "@web-utils/core";
|
|
11
10
|
import "element-plus/es/components/button/style/css";
|
|
12
11
|
import "element-plus/es/components/drawer/style/css";
|
|
13
12
|
import "element-plus/es/components/table/style/css";
|
|
14
13
|
import "element-plus/es/components/table-column/style/css";
|
|
15
|
-
import "element-plus/es/components/form/style/css";
|
|
16
14
|
import "element-plus/es/components/form-item/style/css";
|
|
15
|
+
import "element-plus/es/components/form/style/css";
|
|
17
16
|
import "element-plus/es/components/select/style/css";
|
|
18
17
|
import "element-plus/es/components/option/style/css";
|
|
19
18
|
import "element-plus/es/components/divider/style/css";
|
|
20
19
|
//#region src/components/bpmn-process-designer/components/penal/listeners/ElementListeners.vue
|
|
21
|
-
var
|
|
20
|
+
var j = (e) => ({
|
|
22
21
|
$type: "flowable:ExecutionListener",
|
|
23
22
|
event: e === "draft" ? "start" : e,
|
|
24
23
|
delegateExpression: "${httpInvokeExecutionListener}",
|
|
25
24
|
fields: [],
|
|
26
25
|
listenerType: "delegateExpressionListener"
|
|
27
|
-
}),
|
|
26
|
+
}), M = (e, t) => [{
|
|
28
27
|
$type: "flowable:Field",
|
|
29
28
|
name: "serviceId",
|
|
30
29
|
string: t.serviceId,
|
|
@@ -32,9 +31,9 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
32
31
|
}, {
|
|
33
32
|
$type: "flowable:Field",
|
|
34
33
|
name: "url",
|
|
35
|
-
string: `${t != null && t.url ? `/${t.url}` : ""}/flow${
|
|
34
|
+
string: `${t != null && t.url ? `/${t.url}` : ""}/flow${k(e)}`,
|
|
36
35
|
fieldType: "string"
|
|
37
|
-
}],
|
|
36
|
+
}], N = {
|
|
38
37
|
name: "ElementListeners",
|
|
39
38
|
inject: {
|
|
40
39
|
prefix: "prefix",
|
|
@@ -56,8 +55,8 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
56
55
|
listenerFieldFormModelVisible: !1,
|
|
57
56
|
editingListenerIndex: -1,
|
|
58
57
|
editingListenerFieldIndex: -1,
|
|
59
|
-
listenerTypeObject:
|
|
60
|
-
fieldTypeObject:
|
|
58
|
+
listenerTypeObject: i,
|
|
59
|
+
fieldTypeObject: o
|
|
61
60
|
};
|
|
62
61
|
},
|
|
63
62
|
computed: { apis() {
|
|
@@ -80,24 +79,24 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
80
79
|
methods: {
|
|
81
80
|
resetListenersList() {
|
|
82
81
|
var e;
|
|
83
|
-
this.otherExtensionList = [], this.bpmnElementListeners = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type === `${this.prefix}:ExecutionListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((e) =>
|
|
82
|
+
this.otherExtensionList = [], this.bpmnElementListeners = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type === `${this.prefix}:ExecutionListener`)) ?? [], this.elementListenersList = this.bpmnElementListeners.map((e) => a(e));
|
|
84
83
|
},
|
|
85
84
|
changeFiledType(e) {
|
|
86
85
|
e === "string" ? (delete this.listenerFieldForm.expression, this.listenerFieldForm.string = "") : (delete this.listenerFieldForm.string, this.listenerFieldForm.expression = "");
|
|
87
86
|
},
|
|
88
87
|
assignListener(e) {
|
|
89
|
-
let t =
|
|
90
|
-
t.fields =
|
|
88
|
+
let t = j(e, this.context);
|
|
89
|
+
t.fields = M(e, this.context), this.listenerForm = t, this.fieldsListOfListener = t.fields;
|
|
91
90
|
},
|
|
92
91
|
setDefaultFieldValue(e) {
|
|
93
92
|
e === "url" ? this.listenerFieldForm.string = "" : this.listenerFieldForm.string = this.context[e] || "";
|
|
94
93
|
},
|
|
95
94
|
async openListenerForm(e, t) {
|
|
96
95
|
var n;
|
|
97
|
-
e ? (this.listenerForm =
|
|
96
|
+
e ? (this.listenerForm = s(e), this.fieldsListOfListener = e.fields ? e.fields.map((e) => ({ ...e })) : [], this.editingListenerIndex = t) : (this.listenerForm = { fields: [] }, this.fieldsListOfListener = [], this.editingListenerIndex = -1), this.listenerFormModelVisible = !0, await this.$nextTick(), (n = this.$refs.listenerFormRef) == null || n.clearValidate();
|
|
98
97
|
},
|
|
99
98
|
openListenerFieldForm(e, t) {
|
|
100
|
-
this.listenerFieldForm = e ?
|
|
99
|
+
this.listenerFieldForm = e ? A(e) : { fieldType: "string" }, this.editingListenerFieldIndex = e ? t : -1, this.listenerFieldFormModelVisible = !0, this.$nextTick(() => {
|
|
101
100
|
this.$refs.listenerFieldFormRef && this.$refs.listenerFieldFormRef.clearValidate();
|
|
102
101
|
});
|
|
103
102
|
},
|
|
@@ -111,60 +110,60 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
111
110
|
},
|
|
112
111
|
async removeListener(e, t) {
|
|
113
112
|
try {
|
|
114
|
-
await this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(t, 1), this.elementListenersList.splice(t, 1),
|
|
113
|
+
await this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(t, 1), this.elementListenersList.splice(t, 1), n(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
115
114
|
} catch {}
|
|
116
115
|
},
|
|
117
116
|
async saveListenerConfig() {
|
|
118
117
|
var e;
|
|
119
118
|
if (!await this.$refs.listenerFormRef.validate()) return;
|
|
120
|
-
let t =
|
|
121
|
-
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(t), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, t), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type !== `${this.prefix}:ExecutionListener`)) ?? [],
|
|
119
|
+
let t = r(this.bpmnInstances, this.listenerForm, !1, this.prefix);
|
|
120
|
+
this.editingListenerIndex === -1 ? (this.bpmnElementListeners.push(t), this.elementListenersList.push(this.listenerForm)) : (this.bpmnElementListeners.splice(this.editingListenerIndex, 1, t), this.elementListenersList.splice(this.editingListenerIndex, 1, this.listenerForm)), this.otherExtensionList = ((e = this.element.businessObject) == null || (e = e.extensionElements) == null || (e = e.values) == null ? void 0 : e.filter((e) => e.$type !== `${this.prefix}:ExecutionListener`)) ?? [], n(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
|
-
},
|
|
125
|
-
function
|
|
126
|
-
let s =
|
|
127
|
-
return
|
|
128
|
-
|
|
123
|
+
}, P = { class: "panel-tab__content element-listeners" }, F = { class: "element-drawer__button" }, I = { class: "listener-filed__title" }, L = { class: "listener-filed__title" }, R = { class: "element-drawer__button" };
|
|
124
|
+
function z(e, n, r, i, a, o) {
|
|
125
|
+
let s = _, k = c, A = l, j = g, M = m, N = h, z = f, B = p, V = d, H = u, U = t;
|
|
126
|
+
return T(), x("div", P, [
|
|
127
|
+
w(j, {
|
|
129
128
|
data: a.elementListenersList,
|
|
130
129
|
border: ""
|
|
131
130
|
}, {
|
|
132
|
-
default:
|
|
133
|
-
|
|
131
|
+
default: D(() => [
|
|
132
|
+
w(s, {
|
|
134
133
|
label: "序号",
|
|
135
134
|
width: "50px",
|
|
136
135
|
type: "index"
|
|
137
136
|
}),
|
|
138
|
-
|
|
137
|
+
w(s, {
|
|
139
138
|
label: "事件类型",
|
|
140
139
|
"min-width": "100px",
|
|
141
140
|
prop: "event"
|
|
142
141
|
}),
|
|
143
|
-
|
|
142
|
+
w(s, {
|
|
144
143
|
label: "监听器类型",
|
|
145
144
|
"min-width": "100px",
|
|
146
145
|
"show-overflow-tooltip": "",
|
|
147
146
|
formatter: (e) => a.listenerTypeObject[e.listenerType]
|
|
148
147
|
}, null, 8, ["formatter"]),
|
|
149
|
-
|
|
148
|
+
w(s, {
|
|
150
149
|
label: "操作",
|
|
151
150
|
width: "90px"
|
|
152
151
|
}, {
|
|
153
|
-
default:
|
|
154
|
-
|
|
152
|
+
default: D(({ row: e, $index: t }) => [
|
|
153
|
+
w(k, {
|
|
155
154
|
text: "",
|
|
156
|
-
onClick: (
|
|
155
|
+
onClick: (n) => o.openListenerForm(e, t)
|
|
157
156
|
}, {
|
|
158
|
-
default:
|
|
157
|
+
default: D(() => [...n[26] || (n[26] = [C("编辑", -1)])]),
|
|
159
158
|
_: 1
|
|
160
159
|
}, 8, ["onClick"]),
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
w(A, { direction: "vertical" }),
|
|
161
|
+
w(k, {
|
|
163
162
|
text: "",
|
|
164
163
|
style: { color: "#ff4d4f" },
|
|
165
|
-
onClick: (
|
|
164
|
+
onClick: (n) => o.removeListener(e, t)
|
|
166
165
|
}, {
|
|
167
|
-
default:
|
|
166
|
+
default: D(() => [...n[27] || (n[27] = [C("移除", -1)])]),
|
|
168
167
|
_: 1
|
|
169
168
|
}, 8, ["onClick"])
|
|
170
169
|
]),
|
|
@@ -173,18 +172,18 @@ function V(e, t, r, i, a, o) {
|
|
|
173
172
|
]),
|
|
174
173
|
_: 1
|
|
175
174
|
}, 8, ["data"]),
|
|
176
|
-
|
|
175
|
+
S("div", F, [w(k, {
|
|
177
176
|
type: "primary",
|
|
178
177
|
icon: "el-icon-plus",
|
|
179
|
-
onClick:
|
|
178
|
+
onClick: n[0] || (n[0] = (e) => o.openListenerForm(null))
|
|
180
179
|
}, {
|
|
181
|
-
default:
|
|
180
|
+
default: D(() => [...n[28] || (n[28] = [C("添加监听器", -1)])]),
|
|
182
181
|
_: 1
|
|
183
182
|
})]),
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
b(" 监听器 编辑/创建 部分 "),
|
|
184
|
+
w(H, {
|
|
186
185
|
visible: a.listenerFormModelVisible,
|
|
187
|
-
"onUpdate:visible":
|
|
186
|
+
"onUpdate:visible": n[16] || (n[16] = (e) => a.listenerFormModelVisible = e),
|
|
188
187
|
class: "flow-drawer element-listeners-drawer",
|
|
189
188
|
title: "执行监听器",
|
|
190
189
|
size: `${o.width}px`,
|
|
@@ -192,41 +191,41 @@ function V(e, t, r, i, a, o) {
|
|
|
192
191
|
"append-to-body": "",
|
|
193
192
|
"destroy-on-close": ""
|
|
194
193
|
}, {
|
|
195
|
-
default:
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
194
|
+
default: D(() => [
|
|
195
|
+
w(A),
|
|
196
|
+
S("p", I, [
|
|
197
|
+
n[32] || (n[32] = S("span", null, [S("i", { class: "el-icon-menu" }), C(" 监听器类型: ")], -1)),
|
|
198
|
+
w(k, {
|
|
200
199
|
type: "primary",
|
|
201
200
|
style: { "margin-left": "auto" },
|
|
202
|
-
onClick:
|
|
201
|
+
onClick: n[1] || (n[1] = (e) => o.assignListener("start"))
|
|
203
202
|
}, {
|
|
204
|
-
default:
|
|
203
|
+
default: D(() => [...n[29] || (n[29] = [C("开始", -1)])]),
|
|
205
204
|
_: 1
|
|
206
205
|
}),
|
|
207
|
-
|
|
206
|
+
w(k, {
|
|
208
207
|
type: "primary",
|
|
209
|
-
onClick:
|
|
208
|
+
onClick: n[2] || (n[2] = (e) => o.assignListener("end"))
|
|
210
209
|
}, {
|
|
211
|
-
default:
|
|
210
|
+
default: D(() => [...n[30] || (n[30] = [C("结束", -1)])]),
|
|
212
211
|
_: 1
|
|
213
212
|
}),
|
|
214
|
-
|
|
213
|
+
w(k, {
|
|
215
214
|
type: "primary",
|
|
216
|
-
onClick:
|
|
215
|
+
onClick: n[3] || (n[3] = (e) => o.assignListener("draft"))
|
|
217
216
|
}, {
|
|
218
|
-
default:
|
|
217
|
+
default: D(() => [...n[31] || (n[31] = [C("草稿", -1)])]),
|
|
219
218
|
_: 1
|
|
220
219
|
})
|
|
221
220
|
]),
|
|
222
|
-
|
|
221
|
+
w(V, {
|
|
223
222
|
ref: "listenerFormRef",
|
|
224
223
|
model: a.listenerForm,
|
|
225
224
|
"label-width": "96px",
|
|
226
|
-
onSubmit:
|
|
225
|
+
onSubmit: n[13] || (n[13] = O(() => {}, ["prevent"]))
|
|
227
226
|
}, {
|
|
228
|
-
default:
|
|
229
|
-
|
|
227
|
+
default: D(() => [
|
|
228
|
+
w(z, {
|
|
230
229
|
label: "事件类型",
|
|
231
230
|
prop: "event",
|
|
232
231
|
rules: {
|
|
@@ -234,14 +233,14 @@ function V(e, t, r, i, a, o) {
|
|
|
234
233
|
trigger: ["blur", "change"]
|
|
235
234
|
}
|
|
236
235
|
}, {
|
|
237
|
-
default:
|
|
236
|
+
default: D(() => [w(N, {
|
|
238
237
|
modelValue: a.listenerForm.event,
|
|
239
|
-
"onUpdate:modelValue":
|
|
238
|
+
"onUpdate:modelValue": n[4] || (n[4] = (e) => a.listenerForm.event = e)
|
|
240
239
|
}, {
|
|
241
|
-
default:
|
|
240
|
+
default: D(() => [w(M, {
|
|
242
241
|
label: "开始",
|
|
243
242
|
value: "start"
|
|
244
|
-
}),
|
|
243
|
+
}), w(M, {
|
|
245
244
|
label: "结束",
|
|
246
245
|
value: "end"
|
|
247
246
|
})]),
|
|
@@ -249,7 +248,7 @@ function V(e, t, r, i, a, o) {
|
|
|
249
248
|
}, 8, ["modelValue"])]),
|
|
250
249
|
_: 1
|
|
251
250
|
}),
|
|
252
|
-
|
|
251
|
+
w(z, {
|
|
253
252
|
label: "监听器类型",
|
|
254
253
|
prop: "listenerType",
|
|
255
254
|
rules: {
|
|
@@ -257,11 +256,11 @@ function V(e, t, r, i, a, o) {
|
|
|
257
256
|
trigger: ["blur", "change"]
|
|
258
257
|
}
|
|
259
258
|
}, {
|
|
260
|
-
default:
|
|
259
|
+
default: D(() => [w(N, {
|
|
261
260
|
modelValue: a.listenerForm.listenerType,
|
|
262
|
-
"onUpdate:modelValue":
|
|
261
|
+
"onUpdate:modelValue": n[5] || (n[5] = (e) => a.listenerForm.listenerType = e)
|
|
263
262
|
}, {
|
|
264
|
-
default:
|
|
263
|
+
default: D(() => [(T(!0), x(v, null, E(Object.keys(a.listenerTypeObject), (e) => (T(), y(M, {
|
|
265
264
|
key: e,
|
|
266
265
|
label: a.listenerTypeObject[e],
|
|
267
266
|
value: e
|
|
@@ -270,7 +269,7 @@ function V(e, t, r, i, a, o) {
|
|
|
270
269
|
}, 8, ["modelValue"])]),
|
|
271
270
|
_: 1
|
|
272
271
|
}),
|
|
273
|
-
a.listenerForm.listenerType === "classListener" ? (
|
|
272
|
+
a.listenerForm.listenerType === "classListener" ? (T(), y(z, {
|
|
274
273
|
key: "listener-class",
|
|
275
274
|
label: "Java类",
|
|
276
275
|
prop: "class",
|
|
@@ -279,14 +278,14 @@ function V(e, t, r, i, a, o) {
|
|
|
279
278
|
trigger: ["blur", "change"]
|
|
280
279
|
}
|
|
281
280
|
}, {
|
|
282
|
-
default:
|
|
281
|
+
default: D(() => [w(B, {
|
|
283
282
|
modelValue: a.listenerForm.class,
|
|
284
|
-
"onUpdate:modelValue":
|
|
283
|
+
"onUpdate:modelValue": n[6] || (n[6] = (e) => a.listenerForm.class = e),
|
|
285
284
|
clearable: ""
|
|
286
285
|
}, null, 8, ["modelValue"])]),
|
|
287
286
|
_: 1
|
|
288
|
-
})) :
|
|
289
|
-
a.listenerForm.listenerType === "expressionListener" ? (
|
|
287
|
+
})) : b("v-if", !0),
|
|
288
|
+
a.listenerForm.listenerType === "expressionListener" ? (T(), y(z, {
|
|
290
289
|
key: "listener-expression",
|
|
291
290
|
label: "表达式",
|
|
292
291
|
prop: "expression",
|
|
@@ -295,14 +294,14 @@ function V(e, t, r, i, a, o) {
|
|
|
295
294
|
trigger: ["blur", "change"]
|
|
296
295
|
}
|
|
297
296
|
}, {
|
|
298
|
-
default:
|
|
297
|
+
default: D(() => [w(B, {
|
|
299
298
|
modelValue: a.listenerForm.expression,
|
|
300
|
-
"onUpdate:modelValue":
|
|
299
|
+
"onUpdate:modelValue": n[7] || (n[7] = (e) => a.listenerForm.expression = e),
|
|
301
300
|
clearable: ""
|
|
302
301
|
}, null, 8, ["modelValue"])]),
|
|
303
302
|
_: 1
|
|
304
|
-
})) :
|
|
305
|
-
a.listenerForm.listenerType === "delegateExpressionListener" ? (
|
|
303
|
+
})) : b("v-if", !0),
|
|
304
|
+
a.listenerForm.listenerType === "delegateExpressionListener" ? (T(), y(z, {
|
|
306
305
|
key: "listener-delegate",
|
|
307
306
|
label: "代理表达式",
|
|
308
307
|
prop: "delegateExpression",
|
|
@@ -311,17 +310,17 @@ function V(e, t, r, i, a, o) {
|
|
|
311
310
|
trigger: ["blur", "change"]
|
|
312
311
|
}
|
|
313
312
|
}, {
|
|
314
|
-
default:
|
|
313
|
+
default: D(() => [w(N, {
|
|
315
314
|
modelValue: a.listenerForm.delegateExpression,
|
|
316
|
-
"onUpdate:modelValue":
|
|
315
|
+
"onUpdate:modelValue": n[8] || (n[8] = (e) => a.listenerForm.delegateExpression = e),
|
|
317
316
|
"default-first-option": "",
|
|
318
317
|
"allow-create": "",
|
|
319
318
|
filterable: "",
|
|
320
319
|
clearable: ""
|
|
321
320
|
}, {
|
|
322
|
-
default:
|
|
321
|
+
default: D(() => {
|
|
323
322
|
var e;
|
|
324
|
-
return [(
|
|
323
|
+
return [(T(!0), x(v, null, E(((e = o.context) == null ? void 0 : e.delegateExpressions) || [], (e) => (T(), y(M, {
|
|
325
324
|
key: e,
|
|
326
325
|
value: e,
|
|
327
326
|
label: e
|
|
@@ -330,9 +329,9 @@ function V(e, t, r, i, a, o) {
|
|
|
330
329
|
_: 1
|
|
331
330
|
}, 8, ["modelValue"])]),
|
|
332
331
|
_: 1
|
|
333
|
-
})) :
|
|
334
|
-
a.listenerForm.listenerType === "scriptListener" ? (
|
|
335
|
-
|
|
332
|
+
})) : b("v-if", !0),
|
|
333
|
+
a.listenerForm.listenerType === "scriptListener" ? (T(), x(v, { key: 3 }, [
|
|
334
|
+
w(z, {
|
|
336
335
|
key: "listener-script-format",
|
|
337
336
|
label: "脚本格式",
|
|
338
337
|
prop: "scriptFormat",
|
|
@@ -342,14 +341,14 @@ function V(e, t, r, i, a, o) {
|
|
|
342
341
|
message: "请填写脚本格式"
|
|
343
342
|
}
|
|
344
343
|
}, {
|
|
345
|
-
default:
|
|
344
|
+
default: D(() => [w(B, {
|
|
346
345
|
modelValue: a.listenerForm.scriptFormat,
|
|
347
|
-
"onUpdate:modelValue":
|
|
346
|
+
"onUpdate:modelValue": n[9] || (n[9] = (e) => a.listenerForm.scriptFormat = e),
|
|
348
347
|
clearable: ""
|
|
349
348
|
}, null, 8, ["modelValue"])]),
|
|
350
349
|
_: 1
|
|
351
350
|
}),
|
|
352
|
-
|
|
351
|
+
w(z, {
|
|
353
352
|
key: "listener-script-type",
|
|
354
353
|
label: "脚本类型",
|
|
355
354
|
prop: "scriptType",
|
|
@@ -359,14 +358,14 @@ function V(e, t, r, i, a, o) {
|
|
|
359
358
|
message: "请选择脚本类型"
|
|
360
359
|
}
|
|
361
360
|
}, {
|
|
362
|
-
default:
|
|
361
|
+
default: D(() => [w(N, {
|
|
363
362
|
modelValue: a.listenerForm.scriptType,
|
|
364
|
-
"onUpdate:modelValue":
|
|
363
|
+
"onUpdate:modelValue": n[10] || (n[10] = (e) => a.listenerForm.scriptType = e)
|
|
365
364
|
}, {
|
|
366
|
-
default:
|
|
365
|
+
default: D(() => [w(M, {
|
|
367
366
|
label: "内联脚本",
|
|
368
367
|
value: "inlineScript"
|
|
369
|
-
}),
|
|
368
|
+
}), w(M, {
|
|
370
369
|
label: "外部脚本",
|
|
371
370
|
value: "externalScript"
|
|
372
371
|
})]),
|
|
@@ -374,7 +373,7 @@ function V(e, t, r, i, a, o) {
|
|
|
374
373
|
}, 8, ["modelValue"])]),
|
|
375
374
|
_: 1
|
|
376
375
|
}),
|
|
377
|
-
a.listenerForm.scriptType === "inlineScript" ? (
|
|
376
|
+
a.listenerForm.scriptType === "inlineScript" ? (T(), y(z, {
|
|
378
377
|
key: "listener-script",
|
|
379
378
|
label: "脚本内容",
|
|
380
379
|
prop: "value",
|
|
@@ -384,14 +383,14 @@ function V(e, t, r, i, a, o) {
|
|
|
384
383
|
message: "请填写脚本内容"
|
|
385
384
|
}
|
|
386
385
|
}, {
|
|
387
|
-
default:
|
|
386
|
+
default: D(() => [w(B, {
|
|
388
387
|
modelValue: a.listenerForm.value,
|
|
389
|
-
"onUpdate:modelValue":
|
|
388
|
+
"onUpdate:modelValue": n[11] || (n[11] = (e) => a.listenerForm.value = e),
|
|
390
389
|
clearable: ""
|
|
391
390
|
}, null, 8, ["modelValue"])]),
|
|
392
391
|
_: 1
|
|
393
|
-
})) :
|
|
394
|
-
a.listenerForm.scriptType === "externalScript" ? (
|
|
392
|
+
})) : b("v-if", !0),
|
|
393
|
+
a.listenerForm.scriptType === "externalScript" ? (T(), y(z, {
|
|
395
394
|
key: "listener-resource",
|
|
396
395
|
label: "资源地址",
|
|
397
396
|
prop: "resource",
|
|
@@ -401,75 +400,75 @@ function V(e, t, r, i, a, o) {
|
|
|
401
400
|
message: "请填写资源地址"
|
|
402
401
|
}
|
|
403
402
|
}, {
|
|
404
|
-
default:
|
|
403
|
+
default: D(() => [w(B, {
|
|
405
404
|
modelValue: a.listenerForm.resource,
|
|
406
|
-
"onUpdate:modelValue":
|
|
405
|
+
"onUpdate:modelValue": n[12] || (n[12] = (e) => a.listenerForm.resource = e),
|
|
407
406
|
clearable: ""
|
|
408
407
|
}, null, 8, ["modelValue"])]),
|
|
409
408
|
_: 1
|
|
410
|
-
})) :
|
|
411
|
-
], 64)) :
|
|
409
|
+
})) : b("v-if", !0)
|
|
410
|
+
], 64)) : b("v-if", !0)
|
|
412
411
|
]),
|
|
413
412
|
_: 1
|
|
414
413
|
}, 8, ["model"]),
|
|
415
|
-
|
|
416
|
-
|
|
414
|
+
w(A),
|
|
415
|
+
S("p", L, [n[34] || (n[34] = S("span", null, [S("i", { class: "el-icon-menu" }), C(" 注入字段: ")], -1)), w(k, {
|
|
417
416
|
type: "primary",
|
|
418
417
|
style: { "margin-left": "auto" },
|
|
419
|
-
onClick:
|
|
418
|
+
onClick: n[14] || (n[14] = (e) => o.openListenerFieldForm(null))
|
|
420
419
|
}, {
|
|
421
|
-
default:
|
|
420
|
+
default: D(() => [...n[33] || (n[33] = [C("添加字段", -1)])]),
|
|
422
421
|
_: 1
|
|
423
422
|
})]),
|
|
424
|
-
|
|
423
|
+
w(j, {
|
|
425
424
|
data: a.fieldsListOfListener,
|
|
426
425
|
"max-height": "240",
|
|
427
426
|
border: "",
|
|
428
427
|
fit: "",
|
|
429
428
|
style: { flex: "none" }
|
|
430
429
|
}, {
|
|
431
|
-
default:
|
|
432
|
-
|
|
430
|
+
default: D(() => [
|
|
431
|
+
w(s, {
|
|
433
432
|
label: "序号",
|
|
434
433
|
width: "50px",
|
|
435
434
|
type: "index"
|
|
436
435
|
}),
|
|
437
|
-
|
|
436
|
+
w(s, {
|
|
438
437
|
label: "字段名称",
|
|
439
438
|
"min-width": "100px",
|
|
440
439
|
prop: "name"
|
|
441
440
|
}),
|
|
442
|
-
|
|
441
|
+
w(s, {
|
|
443
442
|
label: "字段类型",
|
|
444
443
|
"min-width": "80px",
|
|
445
444
|
"show-overflow-tooltip": "",
|
|
446
445
|
formatter: (e) => a.fieldTypeObject[e.fieldType]
|
|
447
446
|
}, null, 8, ["formatter"]),
|
|
448
|
-
|
|
447
|
+
w(s, {
|
|
449
448
|
label: "字段值/表达式",
|
|
450
449
|
"min-width": "100px",
|
|
451
450
|
"show-overflow-tooltip": "",
|
|
452
451
|
formatter: (e) => e.string || e.expression
|
|
453
452
|
}, null, 8, ["formatter"]),
|
|
454
|
-
|
|
453
|
+
w(s, {
|
|
455
454
|
label: "操作",
|
|
456
455
|
width: "100px"
|
|
457
456
|
}, {
|
|
458
|
-
default:
|
|
459
|
-
|
|
457
|
+
default: D(({ row: e, $index: t }) => [
|
|
458
|
+
w(k, {
|
|
460
459
|
text: "",
|
|
461
|
-
onClick: (
|
|
460
|
+
onClick: (n) => o.openListenerFieldForm(e, t)
|
|
462
461
|
}, {
|
|
463
|
-
default:
|
|
462
|
+
default: D(() => [...n[35] || (n[35] = [C("编辑", -1)])]),
|
|
464
463
|
_: 1
|
|
465
464
|
}, 8, ["onClick"]),
|
|
466
|
-
|
|
467
|
-
|
|
465
|
+
w(A, { direction: "vertical" }),
|
|
466
|
+
w(k, {
|
|
468
467
|
text: "",
|
|
469
468
|
style: { color: "#ff4d4f" },
|
|
470
|
-
onClick: (
|
|
469
|
+
onClick: (n) => o.removeListenerField(e, t)
|
|
471
470
|
}, {
|
|
472
|
-
default:
|
|
471
|
+
default: D(() => [...n[36] || (n[36] = [C("移除", -1)])]),
|
|
473
472
|
_: 1
|
|
474
473
|
}, 8, ["onClick"])
|
|
475
474
|
]),
|
|
@@ -478,48 +477,48 @@ function V(e, t, r, i, a, o) {
|
|
|
478
477
|
]),
|
|
479
478
|
_: 1
|
|
480
479
|
}, 8, ["data"]),
|
|
481
|
-
|
|
482
|
-
default:
|
|
480
|
+
S("div", R, [w(k, { onClick: n[15] || (n[15] = (e) => a.listenerFormModelVisible = !1) }, {
|
|
481
|
+
default: D(() => [...n[37] || (n[37] = [C("取 消", -1)])]),
|
|
483
482
|
_: 1
|
|
484
|
-
}),
|
|
483
|
+
}), w(k, {
|
|
485
484
|
type: "primary",
|
|
486
485
|
onClick: o.saveListenerConfig
|
|
487
486
|
}, {
|
|
488
|
-
default:
|
|
487
|
+
default: D(() => [...n[38] || (n[38] = [C("保 存", -1)])]),
|
|
489
488
|
_: 1
|
|
490
489
|
}, 8, ["onClick"])])
|
|
491
490
|
]),
|
|
492
491
|
_: 1
|
|
493
492
|
}, 8, ["visible", "size"]),
|
|
494
|
-
|
|
495
|
-
|
|
493
|
+
b(" 注入字段 编辑/创建 部分 "),
|
|
494
|
+
w(U, {
|
|
496
495
|
visible: a.listenerFieldFormModelVisible,
|
|
497
|
-
"onUpdate:visible":
|
|
496
|
+
"onUpdate:visible": n[25] || (n[25] = (e) => a.listenerFieldFormModelVisible = e),
|
|
498
497
|
title: "字段配置",
|
|
499
498
|
class: "flow-dialog",
|
|
500
499
|
width: "600px",
|
|
501
500
|
"append-to-body": "",
|
|
502
501
|
"destroy-on-close": ""
|
|
503
502
|
}, {
|
|
504
|
-
footer:
|
|
505
|
-
default:
|
|
503
|
+
footer: D(() => [w(k, { onClick: n[24] || (n[24] = (e) => a.listenerFieldFormModelVisible = !1) }, {
|
|
504
|
+
default: D(() => [...n[39] || (n[39] = [C("取 消", -1)])]),
|
|
506
505
|
_: 1
|
|
507
|
-
}),
|
|
506
|
+
}), w(k, {
|
|
508
507
|
type: "primary",
|
|
509
508
|
onClick: o.saveListenerFiled
|
|
510
509
|
}, {
|
|
511
|
-
default:
|
|
510
|
+
default: D(() => [...n[40] || (n[40] = [C("确 定", -1)])]),
|
|
512
511
|
_: 1
|
|
513
512
|
}, 8, ["onClick"])]),
|
|
514
|
-
default:
|
|
513
|
+
default: D(() => [w(V, {
|
|
515
514
|
ref: "listenerFieldFormRef",
|
|
516
515
|
model: a.listenerFieldForm,
|
|
517
516
|
"label-width": "96px",
|
|
518
517
|
style: { height: "136px" },
|
|
519
|
-
onSubmit:
|
|
518
|
+
onSubmit: n[23] || (n[23] = O(() => {}, ["prevent"]))
|
|
520
519
|
}, {
|
|
521
|
-
default:
|
|
522
|
-
|
|
520
|
+
default: D(() => [
|
|
521
|
+
w(z, {
|
|
523
522
|
label: "字段名称:",
|
|
524
523
|
prop: "name",
|
|
525
524
|
rules: {
|
|
@@ -527,18 +526,18 @@ function V(e, t, r, i, a, o) {
|
|
|
527
526
|
trigger: ["blur", "change"]
|
|
528
527
|
}
|
|
529
528
|
}, {
|
|
530
|
-
default:
|
|
529
|
+
default: D(() => [w(N, {
|
|
531
530
|
modelValue: a.listenerFieldForm.name,
|
|
532
|
-
"onUpdate:modelValue":
|
|
531
|
+
"onUpdate:modelValue": n[17] || (n[17] = (e) => a.listenerFieldForm.name = e),
|
|
533
532
|
"default-first-option": "",
|
|
534
533
|
"allow-create": "",
|
|
535
534
|
filterable: "",
|
|
536
535
|
clearable: "",
|
|
537
536
|
onInput: o.setDefaultFieldValue
|
|
538
537
|
}, {
|
|
539
|
-
default:
|
|
538
|
+
default: D(() => {
|
|
540
539
|
var e;
|
|
541
|
-
return [(
|
|
540
|
+
return [(T(!0), x(v, null, E(((e = o.context) == null ? void 0 : e.fields) || [], (e) => (T(), y(M, {
|
|
542
541
|
key: e,
|
|
543
542
|
value: e,
|
|
544
543
|
label: e
|
|
@@ -548,7 +547,7 @@ function V(e, t, r, i, a, o) {
|
|
|
548
547
|
}, 8, ["modelValue", "onInput"])]),
|
|
549
548
|
_: 1
|
|
550
549
|
}),
|
|
551
|
-
|
|
550
|
+
w(z, {
|
|
552
551
|
label: "字段类型:",
|
|
553
552
|
prop: "fieldType",
|
|
554
553
|
rules: {
|
|
@@ -556,12 +555,12 @@ function V(e, t, r, i, a, o) {
|
|
|
556
555
|
trigger: ["blur", "change"]
|
|
557
556
|
}
|
|
558
557
|
}, {
|
|
559
|
-
default:
|
|
558
|
+
default: D(() => [w(N, {
|
|
560
559
|
modelValue: a.listenerFieldForm.fieldType,
|
|
561
|
-
"onUpdate:modelValue":
|
|
560
|
+
"onUpdate:modelValue": n[18] || (n[18] = (e) => a.listenerFieldForm.fieldType = e),
|
|
562
561
|
onInput: o.changeFiledType
|
|
563
562
|
}, {
|
|
564
|
-
default:
|
|
563
|
+
default: D(() => [(T(!0), x(v, null, E(Object.keys(a.fieldTypeObject), (e) => (T(), y(M, {
|
|
565
564
|
key: e,
|
|
566
565
|
label: a.fieldTypeObject[e],
|
|
567
566
|
value: e
|
|
@@ -570,7 +569,7 @@ function V(e, t, r, i, a, o) {
|
|
|
570
569
|
}, 8, ["modelValue", "onInput"])]),
|
|
571
570
|
_: 1
|
|
572
571
|
}),
|
|
573
|
-
a.listenerFieldForm.fieldType === "string" ? (
|
|
572
|
+
a.listenerFieldForm.fieldType === "string" ? (T(), y(z, {
|
|
574
573
|
key: "field-string",
|
|
575
574
|
class: "element-listeners-field-name",
|
|
576
575
|
label: "字段值:",
|
|
@@ -580,48 +579,48 @@ function V(e, t, r, i, a, o) {
|
|
|
580
579
|
trigger: ["blur", "change"]
|
|
581
580
|
}
|
|
582
581
|
}, {
|
|
583
|
-
default:
|
|
582
|
+
default: D(() => [a.listenerFieldForm.name === "url" ? (T(), y(N, {
|
|
584
583
|
key: 0,
|
|
585
584
|
modelValue: a.listenerFieldForm.string,
|
|
586
|
-
"onUpdate:modelValue":
|
|
585
|
+
"onUpdate:modelValue": n[19] || (n[19] = (e) => a.listenerFieldForm.string = e),
|
|
587
586
|
"default-first-option": "",
|
|
588
587
|
"allow-create": "",
|
|
589
588
|
filterable: "",
|
|
590
589
|
clearable: ""
|
|
591
590
|
}, {
|
|
592
|
-
default:
|
|
591
|
+
default: D(() => [(T(!0), x(v, null, E(o.apis, (e) => (T(), y(M, {
|
|
593
592
|
key: e,
|
|
594
593
|
value: e,
|
|
595
594
|
label: e
|
|
596
595
|
}, null, 8, ["value", "label"]))), 128))]),
|
|
597
596
|
_: 1
|
|
598
|
-
}, 8, ["modelValue"])) : a.listenerFieldForm.name === "serviceId" ? (
|
|
597
|
+
}, 8, ["modelValue"])) : a.listenerFieldForm.name === "serviceId" ? (T(), y(N, {
|
|
599
598
|
key: 1,
|
|
600
599
|
modelValue: a.listenerFieldForm.string,
|
|
601
|
-
"onUpdate:modelValue":
|
|
600
|
+
"onUpdate:modelValue": n[20] || (n[20] = (e) => a.listenerFieldForm.string = e),
|
|
602
601
|
"default-first-option": "",
|
|
603
602
|
"allow-create": "",
|
|
604
603
|
filterable: "",
|
|
605
604
|
clearable: ""
|
|
606
605
|
}, {
|
|
607
|
-
default:
|
|
606
|
+
default: D(() => {
|
|
608
607
|
var e;
|
|
609
|
-
return [(
|
|
608
|
+
return [(T(!0), x(v, null, E(((e = o.context) == null ? void 0 : e.services) || [], (e) => (T(), y(M, {
|
|
610
609
|
key: e,
|
|
611
610
|
value: e,
|
|
612
611
|
label: e
|
|
613
612
|
}, null, 8, ["value", "label"]))), 128))];
|
|
614
613
|
}),
|
|
615
614
|
_: 1
|
|
616
|
-
}, 8, ["modelValue"])) : (
|
|
615
|
+
}, 8, ["modelValue"])) : (T(), y(B, {
|
|
617
616
|
key: 2,
|
|
618
617
|
modelValue: a.listenerFieldForm.string,
|
|
619
|
-
"onUpdate:modelValue":
|
|
618
|
+
"onUpdate:modelValue": n[21] || (n[21] = (e) => a.listenerFieldForm.string = e),
|
|
620
619
|
clearable: ""
|
|
621
620
|
}, null, 8, ["modelValue"]))]),
|
|
622
621
|
_: 1
|
|
623
|
-
})) :
|
|
624
|
-
a.listenerFieldForm.fieldType === "expression" ? (
|
|
622
|
+
})) : b("v-if", !0),
|
|
623
|
+
a.listenerFieldForm.fieldType === "expression" ? (T(), y(z, {
|
|
625
624
|
key: "field-expression",
|
|
626
625
|
label: "表达式:",
|
|
627
626
|
prop: "expression",
|
|
@@ -630,13 +629,13 @@ function V(e, t, r, i, a, o) {
|
|
|
630
629
|
trigger: ["blur", "change"]
|
|
631
630
|
}
|
|
632
631
|
}, {
|
|
633
|
-
default:
|
|
632
|
+
default: D(() => [w(B, {
|
|
634
633
|
modelValue: a.listenerFieldForm.expression,
|
|
635
|
-
"onUpdate:modelValue":
|
|
634
|
+
"onUpdate:modelValue": n[22] || (n[22] = (e) => a.listenerFieldForm.expression = e),
|
|
636
635
|
clearable: ""
|
|
637
636
|
}, null, 8, ["modelValue"])]),
|
|
638
637
|
_: 1
|
|
639
|
-
})) :
|
|
638
|
+
})) : b("v-if", !0)
|
|
640
639
|
]),
|
|
641
640
|
_: 1
|
|
642
641
|
}, 8, ["model"])]),
|
|
@@ -644,6 +643,6 @@ function V(e, t, r, i, a, o) {
|
|
|
644
643
|
}, 8, ["visible"])
|
|
645
644
|
]);
|
|
646
645
|
}
|
|
647
|
-
var
|
|
646
|
+
var B = /* @__PURE__ */ e(N, [["render", z]]);
|
|
648
647
|
//#endregion
|
|
649
|
-
export {
|
|
648
|
+
export { B as default };
|