@web-utils/form-ui 1.0.0-beta71 → 1.0.0-beta73
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.mjs +1 -1
- package/affix/index.d.ts +0 -2
- package/affix/index.mjs +2 -3
- package/capsule-tab/index.mjs +1 -1
- package/card/index.mjs +15 -14
- package/chunks/-fXBgN9b2.mjs +37 -0
- package/chunks/{B3d4fdGH.mjs → -yfgKY3g.mjs} +1 -1
- package/chunks/{BeWNlclr.mjs → -zgWD713.mjs} +44 -40
- package/chunks/{5itVLmv82.mjs → 8A7LSgb4.mjs} +26 -25
- package/chunks/{DoOkwYtO.mjs → Apjns0ZM.mjs} +72 -67
- package/chunks/B0BOjeph2.mjs +108 -0
- package/chunks/BD6_5FSI.mjs +178 -0
- package/chunks/BE4V5Vf5.mjs +133 -0
- package/chunks/{DfJJr053.mjs → BGJjAw5E.mjs} +1 -1
- package/chunks/{DhQF2ZlD.mjs → BH7VEktl.mjs} +19 -17
- package/chunks/{CjmfMN1X2.mjs → BI6kCG2j2.mjs} +2 -2
- package/chunks/{6kdakei5.mjs → BYtFzO-8.mjs} +138 -133
- package/chunks/{CaRunrOV2.mjs → B_AUZSOW.mjs} +589 -760
- package/chunks/BctSGDgW2.mjs +29 -0
- package/chunks/{B5voIv4_.mjs → Bes1uXng.mjs} +28 -24
- package/chunks/BhIWiH5R.mjs +661 -0
- package/chunks/BhzlH7Az.mjs +90 -0
- package/chunks/{D6vTCC1Z2.mjs → BrelfRGo2.mjs} +14 -13
- package/chunks/{Z0BPDZlb.mjs → BsqIRxSS.mjs} +6 -5
- package/chunks/{TtxSplBB.mjs → C--HDCqy.mjs} +13 -10
- package/chunks/{DTUh8o0p2.mjs → C6mb7Nru2.mjs} +4 -4
- package/chunks/{CIybFvu92.mjs → CFoSvMJ-2.mjs} +1 -1
- package/chunks/{Ch_zaHx9.mjs → CO3taG7t2.mjs} +1 -1
- package/chunks/{DNSPORak.mjs → CZUhA3sf.mjs} +298 -4
- package/chunks/Ccxbv7uz2.mjs +34 -0
- package/chunks/Ce4tNNzg2.mjs +63 -0
- package/chunks/{B1GA44yT2.mjs → CelJ2L8A2.mjs} +2 -2
- package/chunks/CjYOitzM2.mjs +31 -0
- package/chunks/Cknuquqx.mjs +32 -0
- package/chunks/ClVh1Lek.mjs +130 -0
- package/chunks/CwyebsNL2.mjs +39 -0
- package/chunks/{9rQitPz7.mjs → D6DYxngS.mjs} +132 -127
- package/chunks/D6YM84Pf2.mjs +29 -0
- package/chunks/{BkEMJ725.mjs → DTq5QLoT.mjs} +43 -39
- package/chunks/{BvcK4D8A2.mjs → DVMfVn-M.mjs} +14 -10
- package/chunks/DVdQHb_v.mjs +50 -0
- package/chunks/{BaLjN8Ow.mjs → Daa7nl7U.mjs} +19 -15
- package/chunks/{D9qn1x3X2.mjs → Dh_BQpvC2.mjs} +2 -2
- package/chunks/DizOY5i8.mjs +69 -0
- package/chunks/{BQNqBw8h2.mjs → DjaV6_cg2.mjs} +2 -2
- package/chunks/{CbbjpJFg2.mjs → Dm3gQGoV2.mjs} +2 -2
- package/chunks/DqW9QtF3.mjs +68 -0
- package/chunks/{DbtlO6wD.mjs → DqWJCka8.mjs} +9 -7
- package/chunks/{BI-ZFlSw2.mjs → DrWUdRj32.mjs} +2 -2
- package/chunks/Dv7YRB2U2.mjs +25 -0
- package/chunks/DyLQsqWJ.mjs +61 -0
- package/chunks/HsHwYW1a.mjs +99 -0
- package/chunks/KDVLIvaS.mjs +30 -0
- package/chunks/{DxL9oojv2.mjs → Lkg7bYLD2.mjs} +73 -74
- package/chunks/{T_jwNKBr.mjs → Opn85Hlx2.mjs} +1 -1
- package/chunks/{BoId6V9J.mjs → YdNYH25C.mjs} +1 -1
- package/chunks/{BvbjlaN02.mjs → gTgPZrgY2.mjs} +119 -120
- package/chunks/{3gUkQF12.mjs → jsgk7Yse2.mjs} +2 -2
- package/chunks/nL59ZuIk.mjs +58 -0
- package/chunks/{CDqVJ7U3.mjs → neuEq1De.mjs} +70 -67
- package/chunks/{B8wGY5Hs2.mjs → sWVkgzQt2.mjs} +2 -2
- package/chunks/{Wl17p0C82.mjs → tjwOOiNr2.mjs} +31 -30
- package/code-mirror-editor/index.mjs +1 -1
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/context-menu/index.mjs +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +9 -8
- package/data-card/index.mjs +8 -7
- package/data-card-text/index.mjs +8 -7
- package/data-display/index.mjs +9 -8
- package/data-icons/index.mjs +9 -8
- package/data-imgtext/index.mjs +9 -8
- package/data-operatext/index.mjs +8 -7
- package/data-panel/index.mjs +9 -8
- package/data-pay/index.mjs +10 -9
- package/data-price/index.mjs +8 -7
- package/data-progress/index.mjs +10 -9
- package/data-rotate/index.mjs +9 -8
- package/data-table-picker/index.mjs +11 -10
- package/data-tabs/index.mjs +9 -8
- package/dict-render/index.mjs +1 -1
- package/e-charts/index.mjs +2 -2
- package/easy-popup/index.mjs +1 -1
- package/editable-progress/index.mjs +8 -7
- package/editable-tree/index.mjs +595 -2
- package/element-dialog/index.mjs +1 -1
- package/element-resize-observer/index.mjs +1 -1
- package/flex-box/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flex-scroller/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/flow-viewer/index.mjs +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.mjs +3 -3
- package/guide-steps/index.mjs +77 -2
- package/helper/dictionary.mjs +1 -1
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/iframe-window/index.mjs +1 -1
- package/image-cropper/index.mjs +12 -11
- package/image-preview/index.d.ts +1 -153
- package/image-preview/index.mjs +201 -2
- package/image-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +101 -101
- package/input-number-range/index.mjs +7 -6
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.mjs +1 -1
- package/name-avatar/index.mjs +1 -1
- package/nav-bar/index.mjs +3 -2
- package/package.json +5 -1
- package/page-index/index.mjs +14 -13
- package/page-index-top/index.mjs +12 -10
- package/pageable-table/index.mjs +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/props/col.mjs +1 -1
- package/props/form-item.mjs +1 -1
- package/sign-panel/index.mjs +1 -1
- package/skeleton-panel/index.mjs +3 -2
- package/split-pane/index.mjs +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-column-def/index.mjs +1 -1
- package/table-view/index.mjs +108 -106
- package/tag-render/index.mjs +21 -20
- package/text-ellipsis/index.d.ts +1 -1
- package/text-ellipsis/index.mjs +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.d.ts +1 -1
- package/vue-video-player/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +47 -46
- package/year-calendar/index.mjs +1 -1
- package/chunks/49634Q2N2.mjs +0 -936
- package/chunks/77cFhiAz.mjs +0 -13
- package/chunks/7JVbVOff2.mjs +0 -46
- package/chunks/B1ATN2my.mjs +0 -26
- package/chunks/B7O8aGqC2.mjs +0 -58
- package/chunks/BBPczt0U.mjs +0 -4
- package/chunks/BBqq6o072.mjs +0 -243
- package/chunks/BCVhSMZN.mjs +0 -1328
- package/chunks/BDVLN2ly.mjs +0 -105
- package/chunks/BEysX5TF2.mjs +0 -1038
- package/chunks/BIj6pa8Z.mjs +0 -15
- package/chunks/BJby9uHB2.mjs +0 -233
- package/chunks/BUAQybGW.mjs +0 -230
- package/chunks/BVIHqL6g.mjs +0 -17
- package/chunks/BVSQ6DfJ.mjs +0 -17
- package/chunks/B__5L22p2.mjs +0 -346
- package/chunks/Baam4z-g.mjs +0 -275
- package/chunks/Bdeug17L.mjs +0 -42
- package/chunks/BecO0t0_2.mjs +0 -2430
- package/chunks/BffxPn8a.mjs +0 -34
- package/chunks/Bgw_3soo.mjs +0 -35
- package/chunks/BjCfQFUL.mjs +0 -54
- package/chunks/BjWs-r2V.mjs +0 -25
- package/chunks/BlB1fEo92.mjs +0 -8
- package/chunks/BrYtAPbN2.mjs +0 -161
- package/chunks/BsKwchVA.mjs +0 -14
- package/chunks/BsM0L7CS.mjs +0 -132
- package/chunks/C5f3Xfsc2.mjs +0 -36
- package/chunks/C7l9aZGE.mjs +0 -577
- package/chunks/CFvkR9Ze2.mjs +0 -31
- package/chunks/CGM03LI5.mjs +0 -588
- package/chunks/CPejK_GQ2.mjs +0 -383
- package/chunks/CQSTyCVP.mjs +0 -6
- package/chunks/CQxz8uUc.mjs +0 -454
- package/chunks/CR29QUwT2.mjs +0 -28
- package/chunks/CWvo-ucD.mjs +0 -446
- package/chunks/C_eGir-J.mjs +0 -17
- package/chunks/Calzy0Az.mjs +0 -1275
- package/chunks/CbgD7y-5.mjs +0 -5
- package/chunks/CbsGuLZz2.mjs +0 -105
- package/chunks/CcT5SsZk.mjs +0 -48
- package/chunks/CdBytH8S.mjs +0 -266
- package/chunks/CiFlMt6Z.mjs +0 -41
- package/chunks/Cjkq49252.mjs +0 -60
- package/chunks/CnCSm3LY2.mjs +0 -4
- package/chunks/CsLrkldT2.mjs +0 -225
- package/chunks/Csiz_xCa2.mjs +0 -273
- package/chunks/Ctd3_wOH2.mjs +0 -6
- package/chunks/Cu2A_1vk2.mjs +0 -106
- package/chunks/CuoF9V8s.mjs +0 -3091
- package/chunks/CwBq1JZV.mjs +0 -250
- package/chunks/CwWfRmD3.mjs +0 -57
- package/chunks/CwqeV7002.mjs +0 -67
- package/chunks/Cy8jqgun2.mjs +0 -41
- package/chunks/D-hj62se2.mjs +0 -525
- package/chunks/D3Xixh5v.mjs +0 -5
- package/chunks/D4oNQiIK.mjs +0 -461
- package/chunks/D8r81QxD.mjs +0 -732
- package/chunks/DL0o_C092.mjs +0 -1093
- package/chunks/DLgn1tQG2.mjs +0 -60
- package/chunks/DStwh2ne.mjs +0 -281
- package/chunks/DXiLi19u2.mjs +0 -33
- package/chunks/DZ0frL1U.mjs +0 -69
- package/chunks/D_qwjNah.mjs +0 -1094
- package/chunks/Dg9Q-Tbi2.mjs +0 -299
- package/chunks/Dls3rTka2.mjs +0 -24
- package/chunks/DnBzQ-xh.mjs +0 -4
- package/chunks/DoNfjRR1.mjs +0 -68
- package/chunks/DrKq_frR.mjs +0 -98
- package/chunks/DsYXqJLZ.mjs +0 -641
- package/chunks/DsZznbt2.mjs +0 -208
- package/chunks/Dsd58O0g.mjs +0 -25
- package/chunks/Dtq1xYk8.mjs +0 -47
- package/chunks/EA6hte7s2.mjs +0 -49
- package/chunks/FeuisuNY2.mjs +0 -88
- package/chunks/GEtlriHC.mjs +0 -188
- package/chunks/GsvG1yFW.mjs +0 -1919
- package/chunks/KGmxNbpi.mjs +0 -21
- package/chunks/Q2Mal3Qn2.mjs +0 -439
- package/chunks/akEzJ4kG.mjs +0 -18
- package/chunks/cMuWbLPt.mjs +0 -196
- package/chunks/gh52LMTG.mjs +0 -12
- package/chunks/hgAOQY9a.mjs +0 -406
- package/chunks/lGc5ksPb.mjs +0 -279
- package/chunks/mD3gmiOy2.mjs +0 -96
- package/chunks/nLBvkerV2.mjs +0 -621
- package/chunks/pZQfJv282.mjs +0 -4
- package/chunks/qrHhuZXg.mjs +0 -465
- package/chunks/uqKZ4RIo.mjs +0 -222
- /package/chunks/{B31ub5xS.mjs → BBvIPqcc.mjs} +0 -0
- /package/chunks/{e70aZf3z.mjs → BoCxKwBf.mjs} +0 -0
- /package/chunks/{h-Uhst9y.mjs → CE67pCwD.mjs} +0 -0
- /package/chunks/{BMTtnkb7.mjs → CQeEP_Tl.mjs} +0 -0
- /package/chunks/{BwYEpK-u.mjs → CaczibeD.mjs} +0 -0
- /package/chunks/{BPpMbPS8.mjs → DZCryyFG.mjs} +0 -0
- /package/chunks/{BVuwiZGi.mjs → Dq63V0CC.mjs} +0 -0
- /package/chunks/{C1RsHtGI.mjs → OEBJ-trG.mjs} +0 -0
- /package/chunks/{7Cv9Cq-02.mjs → fjtZc9Rq2.mjs} +0 -0
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
import { n as e } from "./CjjJimnU.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { t as d } from "./CsLrkldT2.mjs";
|
|
10
|
-
import { t as f } from "./BwYEpK-u.mjs";
|
|
11
|
-
import { r as p, t as m } from "./BMTtnkb7.mjs";
|
|
12
|
-
import { a as h, i as g, n as _, r as v } from "./B31ub5xS.mjs";
|
|
2
|
+
import { t } from "./CaczibeD.mjs";
|
|
3
|
+
import { t as n } from "./BD6_5FSI.mjs";
|
|
4
|
+
import { r, t as i } from "./CQeEP_Tl.mjs";
|
|
5
|
+
import { a, i as o, n as s, r as c } from "./BBvIPqcc.mjs";
|
|
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";
|
|
7
|
+
import "element-plus/es/components/base/style/css";
|
|
8
|
+
import "element-plus/es/components/input/style/css";
|
|
13
9
|
import { Fragment as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createTextVNode as w, createVNode as T, openBlock as E, renderList as D, withCtx as O, withModifiers as k } from "vue";
|
|
14
10
|
import { capitalize as A, fastClone as j } from "@web-utils/core";
|
|
11
|
+
import "element-plus/es/components/button/style/css";
|
|
12
|
+
import "element-plus/es/components/drawer/style/css";
|
|
13
|
+
import "element-plus/es/components/table/style/css";
|
|
14
|
+
import "element-plus/es/components/table-column/style/css";
|
|
15
|
+
import "element-plus/es/components/form/style/css";
|
|
16
|
+
import "element-plus/es/components/form-item/style/css";
|
|
17
|
+
import "element-plus/es/components/select/style/css";
|
|
18
|
+
import "element-plus/es/components/option/style/css";
|
|
19
|
+
import "element-plus/es/components/divider/style/css";
|
|
15
20
|
//#region src/components/bpmn-process-designer/components/penal/listeners/ElementListeners.vue
|
|
16
21
|
var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
17
22
|
$type: "flowable:ExecutionListener",
|
|
@@ -51,8 +56,8 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
51
56
|
listenerFieldFormModelVisible: !1,
|
|
52
57
|
editingListenerIndex: -1,
|
|
53
58
|
editingListenerFieldIndex: -1,
|
|
54
|
-
listenerTypeObject:
|
|
55
|
-
fieldTypeObject:
|
|
59
|
+
listenerTypeObject: a,
|
|
60
|
+
fieldTypeObject: s
|
|
56
61
|
};
|
|
57
62
|
},
|
|
58
63
|
computed: { apis() {
|
|
@@ -75,7 +80,7 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
75
80
|
methods: {
|
|
76
81
|
resetListenersList() {
|
|
77
82
|
var e;
|
|
78
|
-
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) =>
|
|
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) => o(e));
|
|
79
84
|
},
|
|
80
85
|
changeFiledType(e) {
|
|
81
86
|
e === "string" ? (delete this.listenerFieldForm.expression, this.listenerFieldForm.string = "") : (delete this.listenerFieldForm.string, this.listenerFieldForm.expression = "");
|
|
@@ -89,7 +94,7 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
89
94
|
},
|
|
90
95
|
async openListenerForm(e, t) {
|
|
91
96
|
var n;
|
|
92
|
-
e ? (this.listenerForm =
|
|
97
|
+
e ? (this.listenerForm = c(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();
|
|
93
98
|
},
|
|
94
99
|
openListenerFieldForm(e, t) {
|
|
95
100
|
this.listenerFieldForm = e ? j(e) : { fieldType: "string" }, this.editingListenerFieldIndex = e ? t : -1, this.listenerFieldFormModelVisible = !0, this.$nextTick(() => {
|
|
@@ -106,60 +111,60 @@ var M = /* @__PURE__ */ e({ default: () => H }), N = (e) => ({
|
|
|
106
111
|
},
|
|
107
112
|
async removeListener(e, t) {
|
|
108
113
|
try {
|
|
109
|
-
await this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(t, 1), this.elementListenersList.splice(t, 1),
|
|
114
|
+
await this.$confirm("确认移除该监听器吗?", "提示"), this.bpmnElementListeners.splice(t, 1), this.elementListenersList.splice(t, 1), r(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners));
|
|
110
115
|
} catch {}
|
|
111
116
|
},
|
|
112
117
|
async saveListenerConfig() {
|
|
113
118
|
var e;
|
|
114
119
|
if (!await this.$refs.listenerFormRef.validate()) return;
|
|
115
|
-
let t =
|
|
116
|
-
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`)) ?? [],
|
|
120
|
+
let t = i(this.bpmnInstances, this.listenerForm, !1, this.prefix);
|
|
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`)) ?? [], r(this.bpmnInstances, this.element, this.otherExtensionList.concat(this.bpmnElementListeners)), this.listenerFormModelVisible = !1, this.listenerForm = {};
|
|
117
122
|
}
|
|
118
123
|
}
|
|
119
124
|
}, I = { class: "panel-tab__content element-listeners" }, L = { class: "element-drawer__button" }, R = { class: "listener-filed__title" }, z = { class: "listener-filed__title" }, B = { class: "element-drawer__button" };
|
|
120
|
-
function V(e,
|
|
121
|
-
let
|
|
125
|
+
function V(e, t, r, i, a, o) {
|
|
126
|
+
let s = v, c = l, A = u, j = _, M = h, N = g, P = p, F = m, V = f, H = d, U = n;
|
|
122
127
|
return E(), S("div", I, [
|
|
123
128
|
T(j, {
|
|
124
|
-
data:
|
|
129
|
+
data: a.elementListenersList,
|
|
125
130
|
border: ""
|
|
126
131
|
}, {
|
|
127
132
|
default: O(() => [
|
|
128
|
-
T(
|
|
133
|
+
T(s, {
|
|
129
134
|
label: "序号",
|
|
130
135
|
width: "50px",
|
|
131
136
|
type: "index"
|
|
132
137
|
}),
|
|
133
|
-
T(
|
|
138
|
+
T(s, {
|
|
134
139
|
label: "事件类型",
|
|
135
140
|
"min-width": "100px",
|
|
136
141
|
prop: "event"
|
|
137
142
|
}),
|
|
138
|
-
T(
|
|
143
|
+
T(s, {
|
|
139
144
|
label: "监听器类型",
|
|
140
145
|
"min-width": "100px",
|
|
141
146
|
"show-overflow-tooltip": "",
|
|
142
|
-
formatter: (e) =>
|
|
147
|
+
formatter: (e) => a.listenerTypeObject[e.listenerType]
|
|
143
148
|
}, null, 8, ["formatter"]),
|
|
144
|
-
T(
|
|
149
|
+
T(s, {
|
|
145
150
|
label: "操作",
|
|
146
151
|
width: "90px"
|
|
147
152
|
}, {
|
|
148
|
-
default: O(({ row: e, $index:
|
|
149
|
-
T(
|
|
153
|
+
default: O(({ row: e, $index: n }) => [
|
|
154
|
+
T(c, {
|
|
150
155
|
text: "",
|
|
151
|
-
onClick: (
|
|
156
|
+
onClick: (t) => o.openListenerForm(e, n)
|
|
152
157
|
}, {
|
|
153
|
-
default: O(() => [...
|
|
158
|
+
default: O(() => [...t[26] || (t[26] = [w("编辑", -1)])]),
|
|
154
159
|
_: 1
|
|
155
160
|
}, 8, ["onClick"]),
|
|
156
161
|
T(A, { direction: "vertical" }),
|
|
157
|
-
T(
|
|
162
|
+
T(c, {
|
|
158
163
|
text: "",
|
|
159
164
|
style: { color: "#ff4d4f" },
|
|
160
|
-
onClick: (
|
|
165
|
+
onClick: (t) => o.removeListener(e, n)
|
|
161
166
|
}, {
|
|
162
|
-
default: O(() => [...
|
|
167
|
+
default: O(() => [...t[27] || (t[27] = [w("移除", -1)])]),
|
|
163
168
|
_: 1
|
|
164
169
|
}, 8, ["onClick"])
|
|
165
170
|
]),
|
|
@@ -168,21 +173,21 @@ function V(e, f, p, m, h, g) {
|
|
|
168
173
|
]),
|
|
169
174
|
_: 1
|
|
170
175
|
}, 8, ["data"]),
|
|
171
|
-
C("div", L, [T(
|
|
176
|
+
C("div", L, [T(c, {
|
|
172
177
|
type: "primary",
|
|
173
178
|
icon: "el-icon-plus",
|
|
174
|
-
onClick:
|
|
179
|
+
onClick: t[0] || (t[0] = (e) => o.openListenerForm(null))
|
|
175
180
|
}, {
|
|
176
|
-
default: O(() => [...
|
|
181
|
+
default: O(() => [...t[28] || (t[28] = [w("添加监听器", -1)])]),
|
|
177
182
|
_: 1
|
|
178
183
|
})]),
|
|
179
184
|
x(" 监听器 编辑/创建 部分 "),
|
|
180
185
|
T(H, {
|
|
181
|
-
visible:
|
|
182
|
-
"onUpdate:visible":
|
|
186
|
+
visible: a.listenerFormModelVisible,
|
|
187
|
+
"onUpdate:visible": t[16] || (t[16] = (e) => a.listenerFormModelVisible = e),
|
|
183
188
|
class: "flow-drawer element-listeners-drawer",
|
|
184
189
|
title: "执行监听器",
|
|
185
|
-
size: `${
|
|
190
|
+
size: `${o.width}px`,
|
|
186
191
|
"wrapper-closable": !1,
|
|
187
192
|
"append-to-body": "",
|
|
188
193
|
"destroy-on-close": ""
|
|
@@ -190,35 +195,35 @@ function V(e, f, p, m, h, g) {
|
|
|
190
195
|
default: O(() => [
|
|
191
196
|
T(A),
|
|
192
197
|
C("p", R, [
|
|
193
|
-
|
|
194
|
-
T(
|
|
198
|
+
t[32] || (t[32] = C("span", null, [C("i", { class: "el-icon-menu" }), w(" 监听器类型: ")], -1)),
|
|
199
|
+
T(c, {
|
|
195
200
|
type: "primary",
|
|
196
201
|
style: { "margin-left": "auto" },
|
|
197
|
-
onClick:
|
|
202
|
+
onClick: t[1] || (t[1] = (e) => o.assignListener("start"))
|
|
198
203
|
}, {
|
|
199
|
-
default: O(() => [...
|
|
204
|
+
default: O(() => [...t[29] || (t[29] = [w("开始", -1)])]),
|
|
200
205
|
_: 1
|
|
201
206
|
}),
|
|
202
|
-
T(
|
|
207
|
+
T(c, {
|
|
203
208
|
type: "primary",
|
|
204
|
-
onClick:
|
|
209
|
+
onClick: t[2] || (t[2] = (e) => o.assignListener("end"))
|
|
205
210
|
}, {
|
|
206
|
-
default: O(() => [...
|
|
211
|
+
default: O(() => [...t[30] || (t[30] = [w("结束", -1)])]),
|
|
207
212
|
_: 1
|
|
208
213
|
}),
|
|
209
|
-
T(
|
|
214
|
+
T(c, {
|
|
210
215
|
type: "primary",
|
|
211
|
-
onClick:
|
|
216
|
+
onClick: t[3] || (t[3] = (e) => o.assignListener("draft"))
|
|
212
217
|
}, {
|
|
213
|
-
default: O(() => [...
|
|
218
|
+
default: O(() => [...t[31] || (t[31] = [w("草稿", -1)])]),
|
|
214
219
|
_: 1
|
|
215
220
|
})
|
|
216
221
|
]),
|
|
217
222
|
T(V, {
|
|
218
223
|
ref: "listenerFormRef",
|
|
219
|
-
model:
|
|
224
|
+
model: a.listenerForm,
|
|
220
225
|
"label-width": "96px",
|
|
221
|
-
onSubmit:
|
|
226
|
+
onSubmit: t[13] || (t[13] = k(() => {}, ["prevent"]))
|
|
222
227
|
}, {
|
|
223
228
|
default: O(() => [
|
|
224
229
|
T(P, {
|
|
@@ -230,8 +235,8 @@ function V(e, f, p, m, h, g) {
|
|
|
230
235
|
}
|
|
231
236
|
}, {
|
|
232
237
|
default: O(() => [T(N, {
|
|
233
|
-
modelValue:
|
|
234
|
-
"onUpdate:modelValue":
|
|
238
|
+
modelValue: a.listenerForm.event,
|
|
239
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => a.listenerForm.event = e)
|
|
235
240
|
}, {
|
|
236
241
|
default: O(() => [T(M, {
|
|
237
242
|
label: "开始",
|
|
@@ -253,19 +258,19 @@ function V(e, f, p, m, h, g) {
|
|
|
253
258
|
}
|
|
254
259
|
}, {
|
|
255
260
|
default: O(() => [T(N, {
|
|
256
|
-
modelValue:
|
|
257
|
-
"onUpdate:modelValue":
|
|
261
|
+
modelValue: a.listenerForm.listenerType,
|
|
262
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => a.listenerForm.listenerType = e)
|
|
258
263
|
}, {
|
|
259
|
-
default: O(() => [(E(!0), S(y, null, D(Object.keys(
|
|
264
|
+
default: O(() => [(E(!0), S(y, null, D(Object.keys(a.listenerTypeObject), (e) => (E(), b(M, {
|
|
260
265
|
key: e,
|
|
261
|
-
label:
|
|
266
|
+
label: a.listenerTypeObject[e],
|
|
262
267
|
value: e
|
|
263
268
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
264
269
|
_: 1
|
|
265
270
|
}, 8, ["modelValue"])]),
|
|
266
271
|
_: 1
|
|
267
272
|
}),
|
|
268
|
-
|
|
273
|
+
a.listenerForm.listenerType === "classListener" ? (E(), b(P, {
|
|
269
274
|
key: "listener-class",
|
|
270
275
|
label: "Java类",
|
|
271
276
|
prop: "class",
|
|
@@ -275,13 +280,13 @@ function V(e, f, p, m, h, g) {
|
|
|
275
280
|
}
|
|
276
281
|
}, {
|
|
277
282
|
default: O(() => [T(F, {
|
|
278
|
-
modelValue:
|
|
279
|
-
"onUpdate:modelValue":
|
|
283
|
+
modelValue: a.listenerForm.class,
|
|
284
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => a.listenerForm.class = e),
|
|
280
285
|
clearable: ""
|
|
281
286
|
}, null, 8, ["modelValue"])]),
|
|
282
287
|
_: 1
|
|
283
288
|
})) : x("v-if", !0),
|
|
284
|
-
|
|
289
|
+
a.listenerForm.listenerType === "expressionListener" ? (E(), b(P, {
|
|
285
290
|
key: "listener-expression",
|
|
286
291
|
label: "表达式",
|
|
287
292
|
prop: "expression",
|
|
@@ -291,13 +296,13 @@ function V(e, f, p, m, h, g) {
|
|
|
291
296
|
}
|
|
292
297
|
}, {
|
|
293
298
|
default: O(() => [T(F, {
|
|
294
|
-
modelValue:
|
|
295
|
-
"onUpdate:modelValue":
|
|
299
|
+
modelValue: a.listenerForm.expression,
|
|
300
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => a.listenerForm.expression = e),
|
|
296
301
|
clearable: ""
|
|
297
302
|
}, null, 8, ["modelValue"])]),
|
|
298
303
|
_: 1
|
|
299
304
|
})) : x("v-if", !0),
|
|
300
|
-
|
|
305
|
+
a.listenerForm.listenerType === "delegateExpressionListener" ? (E(), b(P, {
|
|
301
306
|
key: "listener-delegate",
|
|
302
307
|
label: "代理表达式",
|
|
303
308
|
prop: "delegateExpression",
|
|
@@ -307,8 +312,8 @@ function V(e, f, p, m, h, g) {
|
|
|
307
312
|
}
|
|
308
313
|
}, {
|
|
309
314
|
default: O(() => [T(N, {
|
|
310
|
-
modelValue:
|
|
311
|
-
"onUpdate:modelValue":
|
|
315
|
+
modelValue: a.listenerForm.delegateExpression,
|
|
316
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => a.listenerForm.delegateExpression = e),
|
|
312
317
|
"default-first-option": "",
|
|
313
318
|
"allow-create": "",
|
|
314
319
|
filterable: "",
|
|
@@ -316,7 +321,7 @@ function V(e, f, p, m, h, g) {
|
|
|
316
321
|
}, {
|
|
317
322
|
default: O(() => {
|
|
318
323
|
var e;
|
|
319
|
-
return [(E(!0), S(y, null, D(((e =
|
|
324
|
+
return [(E(!0), S(y, null, D(((e = o.context) == null ? void 0 : e.delegateExpressions) || [], (e) => (E(), b(M, {
|
|
320
325
|
key: e,
|
|
321
326
|
value: e,
|
|
322
327
|
label: e
|
|
@@ -326,7 +331,7 @@ function V(e, f, p, m, h, g) {
|
|
|
326
331
|
}, 8, ["modelValue"])]),
|
|
327
332
|
_: 1
|
|
328
333
|
})) : x("v-if", !0),
|
|
329
|
-
|
|
334
|
+
a.listenerForm.listenerType === "scriptListener" ? (E(), S(y, { key: 3 }, [
|
|
330
335
|
T(P, {
|
|
331
336
|
key: "listener-script-format",
|
|
332
337
|
label: "脚本格式",
|
|
@@ -338,8 +343,8 @@ function V(e, f, p, m, h, g) {
|
|
|
338
343
|
}
|
|
339
344
|
}, {
|
|
340
345
|
default: O(() => [T(F, {
|
|
341
|
-
modelValue:
|
|
342
|
-
"onUpdate:modelValue":
|
|
346
|
+
modelValue: a.listenerForm.scriptFormat,
|
|
347
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => a.listenerForm.scriptFormat = e),
|
|
343
348
|
clearable: ""
|
|
344
349
|
}, null, 8, ["modelValue"])]),
|
|
345
350
|
_: 1
|
|
@@ -355,8 +360,8 @@ function V(e, f, p, m, h, g) {
|
|
|
355
360
|
}
|
|
356
361
|
}, {
|
|
357
362
|
default: O(() => [T(N, {
|
|
358
|
-
modelValue:
|
|
359
|
-
"onUpdate:modelValue":
|
|
363
|
+
modelValue: a.listenerForm.scriptType,
|
|
364
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => a.listenerForm.scriptType = e)
|
|
360
365
|
}, {
|
|
361
366
|
default: O(() => [T(M, {
|
|
362
367
|
label: "内联脚本",
|
|
@@ -369,7 +374,7 @@ function V(e, f, p, m, h, g) {
|
|
|
369
374
|
}, 8, ["modelValue"])]),
|
|
370
375
|
_: 1
|
|
371
376
|
}),
|
|
372
|
-
|
|
377
|
+
a.listenerForm.scriptType === "inlineScript" ? (E(), b(P, {
|
|
373
378
|
key: "listener-script",
|
|
374
379
|
label: "脚本内容",
|
|
375
380
|
prop: "value",
|
|
@@ -380,13 +385,13 @@ function V(e, f, p, m, h, g) {
|
|
|
380
385
|
}
|
|
381
386
|
}, {
|
|
382
387
|
default: O(() => [T(F, {
|
|
383
|
-
modelValue:
|
|
384
|
-
"onUpdate:modelValue":
|
|
388
|
+
modelValue: a.listenerForm.value,
|
|
389
|
+
"onUpdate:modelValue": t[11] || (t[11] = (e) => a.listenerForm.value = e),
|
|
385
390
|
clearable: ""
|
|
386
391
|
}, null, 8, ["modelValue"])]),
|
|
387
392
|
_: 1
|
|
388
393
|
})) : x("v-if", !0),
|
|
389
|
-
|
|
394
|
+
a.listenerForm.scriptType === "externalScript" ? (E(), b(P, {
|
|
390
395
|
key: "listener-resource",
|
|
391
396
|
label: "资源地址",
|
|
392
397
|
prop: "resource",
|
|
@@ -397,8 +402,8 @@ function V(e, f, p, m, h, g) {
|
|
|
397
402
|
}
|
|
398
403
|
}, {
|
|
399
404
|
default: O(() => [T(F, {
|
|
400
|
-
modelValue:
|
|
401
|
-
"onUpdate:modelValue":
|
|
405
|
+
modelValue: a.listenerForm.resource,
|
|
406
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => a.listenerForm.resource = e),
|
|
402
407
|
clearable: ""
|
|
403
408
|
}, null, 8, ["modelValue"])]),
|
|
404
409
|
_: 1
|
|
@@ -408,63 +413,63 @@ function V(e, f, p, m, h, g) {
|
|
|
408
413
|
_: 1
|
|
409
414
|
}, 8, ["model"]),
|
|
410
415
|
T(A),
|
|
411
|
-
C("p", z, [
|
|
416
|
+
C("p", z, [t[34] || (t[34] = C("span", null, [C("i", { class: "el-icon-menu" }), w(" 注入字段: ")], -1)), T(c, {
|
|
412
417
|
type: "primary",
|
|
413
418
|
style: { "margin-left": "auto" },
|
|
414
|
-
onClick:
|
|
419
|
+
onClick: t[14] || (t[14] = (e) => o.openListenerFieldForm(null))
|
|
415
420
|
}, {
|
|
416
|
-
default: O(() => [...
|
|
421
|
+
default: O(() => [...t[33] || (t[33] = [w("添加字段", -1)])]),
|
|
417
422
|
_: 1
|
|
418
423
|
})]),
|
|
419
424
|
T(j, {
|
|
420
|
-
data:
|
|
425
|
+
data: a.fieldsListOfListener,
|
|
421
426
|
"max-height": "240",
|
|
422
427
|
border: "",
|
|
423
428
|
fit: "",
|
|
424
429
|
style: { flex: "none" }
|
|
425
430
|
}, {
|
|
426
431
|
default: O(() => [
|
|
427
|
-
T(
|
|
432
|
+
T(s, {
|
|
428
433
|
label: "序号",
|
|
429
434
|
width: "50px",
|
|
430
435
|
type: "index"
|
|
431
436
|
}),
|
|
432
|
-
T(
|
|
437
|
+
T(s, {
|
|
433
438
|
label: "字段名称",
|
|
434
439
|
"min-width": "100px",
|
|
435
440
|
prop: "name"
|
|
436
441
|
}),
|
|
437
|
-
T(
|
|
442
|
+
T(s, {
|
|
438
443
|
label: "字段类型",
|
|
439
444
|
"min-width": "80px",
|
|
440
445
|
"show-overflow-tooltip": "",
|
|
441
|
-
formatter: (e) =>
|
|
446
|
+
formatter: (e) => a.fieldTypeObject[e.fieldType]
|
|
442
447
|
}, null, 8, ["formatter"]),
|
|
443
|
-
T(
|
|
448
|
+
T(s, {
|
|
444
449
|
label: "字段值/表达式",
|
|
445
450
|
"min-width": "100px",
|
|
446
451
|
"show-overflow-tooltip": "",
|
|
447
452
|
formatter: (e) => e.string || e.expression
|
|
448
453
|
}, null, 8, ["formatter"]),
|
|
449
|
-
T(
|
|
454
|
+
T(s, {
|
|
450
455
|
label: "操作",
|
|
451
456
|
width: "100px"
|
|
452
457
|
}, {
|
|
453
|
-
default: O(({ row: e, $index:
|
|
454
|
-
T(
|
|
458
|
+
default: O(({ row: e, $index: n }) => [
|
|
459
|
+
T(c, {
|
|
455
460
|
text: "",
|
|
456
|
-
onClick: (
|
|
461
|
+
onClick: (t) => o.openListenerFieldForm(e, n)
|
|
457
462
|
}, {
|
|
458
|
-
default: O(() => [...
|
|
463
|
+
default: O(() => [...t[35] || (t[35] = [w("编辑", -1)])]),
|
|
459
464
|
_: 1
|
|
460
465
|
}, 8, ["onClick"]),
|
|
461
466
|
T(A, { direction: "vertical" }),
|
|
462
|
-
T(
|
|
467
|
+
T(c, {
|
|
463
468
|
text: "",
|
|
464
469
|
style: { color: "#ff4d4f" },
|
|
465
|
-
onClick: (
|
|
470
|
+
onClick: (t) => o.removeListenerField(e, n)
|
|
466
471
|
}, {
|
|
467
|
-
default: O(() => [...
|
|
472
|
+
default: O(() => [...t[36] || (t[36] = [w("移除", -1)])]),
|
|
468
473
|
_: 1
|
|
469
474
|
}, 8, ["onClick"])
|
|
470
475
|
]),
|
|
@@ -473,14 +478,14 @@ function V(e, f, p, m, h, g) {
|
|
|
473
478
|
]),
|
|
474
479
|
_: 1
|
|
475
480
|
}, 8, ["data"]),
|
|
476
|
-
C("div", B, [T(
|
|
477
|
-
default: O(() => [...
|
|
481
|
+
C("div", B, [T(c, { onClick: t[15] || (t[15] = (e) => a.listenerFormModelVisible = !1) }, {
|
|
482
|
+
default: O(() => [...t[37] || (t[37] = [w("取 消", -1)])]),
|
|
478
483
|
_: 1
|
|
479
|
-
}), T(
|
|
484
|
+
}), T(c, {
|
|
480
485
|
type: "primary",
|
|
481
|
-
onClick:
|
|
486
|
+
onClick: o.saveListenerConfig
|
|
482
487
|
}, {
|
|
483
|
-
default: O(() => [...
|
|
488
|
+
default: O(() => [...t[38] || (t[38] = [w("保 存", -1)])]),
|
|
484
489
|
_: 1
|
|
485
490
|
}, 8, ["onClick"])])
|
|
486
491
|
]),
|
|
@@ -488,30 +493,30 @@ function V(e, f, p, m, h, g) {
|
|
|
488
493
|
}, 8, ["visible", "size"]),
|
|
489
494
|
x(" 注入字段 编辑/创建 部分 "),
|
|
490
495
|
T(U, {
|
|
491
|
-
visible:
|
|
492
|
-
"onUpdate:visible":
|
|
496
|
+
visible: a.listenerFieldFormModelVisible,
|
|
497
|
+
"onUpdate:visible": t[25] || (t[25] = (e) => a.listenerFieldFormModelVisible = e),
|
|
493
498
|
title: "字段配置",
|
|
494
499
|
class: "flow-dialog",
|
|
495
500
|
width: "600px",
|
|
496
501
|
"append-to-body": "",
|
|
497
502
|
"destroy-on-close": ""
|
|
498
503
|
}, {
|
|
499
|
-
footer: O(() => [T(
|
|
500
|
-
default: O(() => [...
|
|
504
|
+
footer: O(() => [T(c, { onClick: t[24] || (t[24] = (e) => a.listenerFieldFormModelVisible = !1) }, {
|
|
505
|
+
default: O(() => [...t[39] || (t[39] = [w("取 消", -1)])]),
|
|
501
506
|
_: 1
|
|
502
|
-
}), T(
|
|
507
|
+
}), T(c, {
|
|
503
508
|
type: "primary",
|
|
504
|
-
onClick:
|
|
509
|
+
onClick: o.saveListenerFiled
|
|
505
510
|
}, {
|
|
506
|
-
default: O(() => [...
|
|
511
|
+
default: O(() => [...t[40] || (t[40] = [w("确 定", -1)])]),
|
|
507
512
|
_: 1
|
|
508
513
|
}, 8, ["onClick"])]),
|
|
509
514
|
default: O(() => [T(V, {
|
|
510
515
|
ref: "listenerFieldFormRef",
|
|
511
|
-
model:
|
|
516
|
+
model: a.listenerFieldForm,
|
|
512
517
|
"label-width": "96px",
|
|
513
518
|
style: { height: "136px" },
|
|
514
|
-
onSubmit:
|
|
519
|
+
onSubmit: t[23] || (t[23] = k(() => {}, ["prevent"]))
|
|
515
520
|
}, {
|
|
516
521
|
default: O(() => [
|
|
517
522
|
T(P, {
|
|
@@ -523,17 +528,17 @@ function V(e, f, p, m, h, g) {
|
|
|
523
528
|
}
|
|
524
529
|
}, {
|
|
525
530
|
default: O(() => [T(N, {
|
|
526
|
-
modelValue:
|
|
527
|
-
"onUpdate:modelValue":
|
|
531
|
+
modelValue: a.listenerFieldForm.name,
|
|
532
|
+
"onUpdate:modelValue": t[17] || (t[17] = (e) => a.listenerFieldForm.name = e),
|
|
528
533
|
"default-first-option": "",
|
|
529
534
|
"allow-create": "",
|
|
530
535
|
filterable: "",
|
|
531
536
|
clearable: "",
|
|
532
|
-
onInput:
|
|
537
|
+
onInput: o.setDefaultFieldValue
|
|
533
538
|
}, {
|
|
534
539
|
default: O(() => {
|
|
535
540
|
var e;
|
|
536
|
-
return [(E(!0), S(y, null, D(((e =
|
|
541
|
+
return [(E(!0), S(y, null, D(((e = o.context) == null ? void 0 : e.fields) || [], (e) => (E(), b(M, {
|
|
537
542
|
key: e,
|
|
538
543
|
value: e,
|
|
539
544
|
label: e
|
|
@@ -552,20 +557,20 @@ function V(e, f, p, m, h, g) {
|
|
|
552
557
|
}
|
|
553
558
|
}, {
|
|
554
559
|
default: O(() => [T(N, {
|
|
555
|
-
modelValue:
|
|
556
|
-
"onUpdate:modelValue":
|
|
557
|
-
onInput:
|
|
560
|
+
modelValue: a.listenerFieldForm.fieldType,
|
|
561
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => a.listenerFieldForm.fieldType = e),
|
|
562
|
+
onInput: o.changeFiledType
|
|
558
563
|
}, {
|
|
559
|
-
default: O(() => [(E(!0), S(y, null, D(Object.keys(
|
|
564
|
+
default: O(() => [(E(!0), S(y, null, D(Object.keys(a.fieldTypeObject), (e) => (E(), b(M, {
|
|
560
565
|
key: e,
|
|
561
|
-
label:
|
|
566
|
+
label: a.fieldTypeObject[e],
|
|
562
567
|
value: e
|
|
563
568
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
564
569
|
_: 1
|
|
565
570
|
}, 8, ["modelValue", "onInput"])]),
|
|
566
571
|
_: 1
|
|
567
572
|
}),
|
|
568
|
-
|
|
573
|
+
a.listenerFieldForm.fieldType === "string" ? (E(), b(P, {
|
|
569
574
|
key: "field-string",
|
|
570
575
|
class: "element-listeners-field-name",
|
|
571
576
|
label: "字段值:",
|
|
@@ -575,25 +580,25 @@ function V(e, f, p, m, h, g) {
|
|
|
575
580
|
trigger: ["blur", "change"]
|
|
576
581
|
}
|
|
577
582
|
}, {
|
|
578
|
-
default: O(() => [
|
|
583
|
+
default: O(() => [a.listenerFieldForm.name === "url" ? (E(), b(N, {
|
|
579
584
|
key: 0,
|
|
580
|
-
modelValue:
|
|
581
|
-
"onUpdate:modelValue":
|
|
585
|
+
modelValue: a.listenerFieldForm.string,
|
|
586
|
+
"onUpdate:modelValue": t[19] || (t[19] = (e) => a.listenerFieldForm.string = e),
|
|
582
587
|
"default-first-option": "",
|
|
583
588
|
"allow-create": "",
|
|
584
589
|
filterable: "",
|
|
585
590
|
clearable: ""
|
|
586
591
|
}, {
|
|
587
|
-
default: O(() => [(E(!0), S(y, null, D(
|
|
592
|
+
default: O(() => [(E(!0), S(y, null, D(o.apis, (e) => (E(), b(M, {
|
|
588
593
|
key: e,
|
|
589
594
|
value: e,
|
|
590
595
|
label: e
|
|
591
596
|
}, null, 8, ["value", "label"]))), 128))]),
|
|
592
597
|
_: 1
|
|
593
|
-
}, 8, ["modelValue"])) :
|
|
598
|
+
}, 8, ["modelValue"])) : a.listenerFieldForm.name === "serviceId" ? (E(), b(N, {
|
|
594
599
|
key: 1,
|
|
595
|
-
modelValue:
|
|
596
|
-
"onUpdate:modelValue":
|
|
600
|
+
modelValue: a.listenerFieldForm.string,
|
|
601
|
+
"onUpdate:modelValue": t[20] || (t[20] = (e) => a.listenerFieldForm.string = e),
|
|
597
602
|
"default-first-option": "",
|
|
598
603
|
"allow-create": "",
|
|
599
604
|
filterable: "",
|
|
@@ -601,7 +606,7 @@ function V(e, f, p, m, h, g) {
|
|
|
601
606
|
}, {
|
|
602
607
|
default: O(() => {
|
|
603
608
|
var e;
|
|
604
|
-
return [(E(!0), S(y, null, D(((e =
|
|
609
|
+
return [(E(!0), S(y, null, D(((e = o.context) == null ? void 0 : e.services) || [], (e) => (E(), b(M, {
|
|
605
610
|
key: e,
|
|
606
611
|
value: e,
|
|
607
612
|
label: e
|
|
@@ -610,13 +615,13 @@ function V(e, f, p, m, h, g) {
|
|
|
610
615
|
_: 1
|
|
611
616
|
}, 8, ["modelValue"])) : (E(), b(F, {
|
|
612
617
|
key: 2,
|
|
613
|
-
modelValue:
|
|
614
|
-
"onUpdate:modelValue":
|
|
618
|
+
modelValue: a.listenerFieldForm.string,
|
|
619
|
+
"onUpdate:modelValue": t[21] || (t[21] = (e) => a.listenerFieldForm.string = e),
|
|
615
620
|
clearable: ""
|
|
616
621
|
}, null, 8, ["modelValue"]))]),
|
|
617
622
|
_: 1
|
|
618
623
|
})) : x("v-if", !0),
|
|
619
|
-
|
|
624
|
+
a.listenerFieldForm.fieldType === "expression" ? (E(), b(P, {
|
|
620
625
|
key: "field-expression",
|
|
621
626
|
label: "表达式:",
|
|
622
627
|
prop: "expression",
|
|
@@ -626,8 +631,8 @@ function V(e, f, p, m, h, g) {
|
|
|
626
631
|
}
|
|
627
632
|
}, {
|
|
628
633
|
default: O(() => [T(F, {
|
|
629
|
-
modelValue:
|
|
630
|
-
"onUpdate:modelValue":
|
|
634
|
+
modelValue: a.listenerFieldForm.expression,
|
|
635
|
+
"onUpdate:modelValue": t[22] || (t[22] = (e) => a.listenerFieldForm.expression = e),
|
|
631
636
|
clearable: ""
|
|
632
637
|
}, null, 8, ["modelValue"])]),
|
|
633
638
|
_: 1
|
|
@@ -639,6 +644,6 @@ function V(e, f, p, m, h, g) {
|
|
|
639
644
|
}, 8, ["visible"])
|
|
640
645
|
]);
|
|
641
646
|
}
|
|
642
|
-
var H = /* @__PURE__ */
|
|
647
|
+
var H = /* @__PURE__ */ t(F, [["render", V]]);
|
|
643
648
|
//#endregion
|
|
644
649
|
export { M as n, H as t };
|