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