@web-utils/form-ui 1.0.0-beta72 → 1.0.0-beta74
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 -16
- package/chunks/-fXBgN9b2.mjs +37 -0
- package/chunks/{-UHCmZBh.mjs → -yfgKY3g.mjs} +1 -1
- package/chunks/{Ciy3EJGG2.mjs → -zgWD713.mjs} +44 -45
- package/chunks/{qFn9SqfB2.mjs → 7_9hAeqb.mjs} +72 -73
- package/chunks/{CidE_6Q52.mjs → 8A7LSgb4.mjs} +26 -27
- package/chunks/B0BOjeph2.mjs +108 -0
- package/chunks/BE4V5Vf5.mjs +133 -0
- package/chunks/{Diidem-9.mjs → BGJjAw5E.mjs} +1 -1
- package/chunks/{BJNI7n9Z.mjs → BH7VEktl.mjs} +19 -19
- package/chunks/{BrJzSp9f.mjs → BI6kCG2j2.mjs} +2 -2
- package/chunks/BctSGDgW2.mjs +29 -0
- package/chunks/BhIWiH5R.mjs +661 -0
- package/chunks/BhzlH7Az.mjs +90 -0
- package/chunks/{DWjZMJ1e2.mjs → Bj0kgDOA.mjs} +132 -133
- package/chunks/{DmEOzzaP2.mjs → BrelfRGo2.mjs} +14 -14
- package/chunks/{X6BItEt1.mjs → BsqIRxSS.mjs} +6 -7
- package/chunks/{Bnm0osro.mjs → Byy1rvPO.mjs} +13 -16
- package/chunks/{iPHgzcZ0.mjs → C6mb7Nru2.mjs} +4 -4
- package/chunks/{Bhkk9TmJ2.mjs → CFoSvMJ-2.mjs} +1 -1
- package/chunks/{Vrr45MGv.mjs → CO3taG7t2.mjs} +1 -1
- package/chunks/{QAHALDuF2.mjs → CWBRpkHy.mjs} +138 -139
- package/chunks/Ccxbv7uz2.mjs +34 -0
- package/chunks/Ce4tNNzg2.mjs +63 -0
- package/chunks/{SEQG09ut.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/{CJl5ZiUq2.mjs → D4Pd8rZi.mjs} +28 -30
- package/chunks/D6YM84Pf2.mjs +29 -0
- package/chunks/{DlROUHPJ2.mjs → DTq5QLoT.mjs} +43 -43
- package/chunks/{5oaTzHT-2.mjs → DVMfVn-M.mjs} +14 -13
- package/chunks/DVdQHb_v.mjs +50 -0
- package/chunks/{YS7hFnUB2.mjs → Daa7nl7U.mjs} +19 -19
- package/chunks/{D6TSUCGL.mjs → Dh_BQpvC2.mjs} +2 -2
- package/chunks/DizOY5i8.mjs +69 -0
- package/chunks/{Czi7_tAe.mjs → DjaV6_cg2.mjs} +2 -2
- package/chunks/{CKWgRCN52.mjs → Dm3gQGoV2.mjs} +2 -2
- package/chunks/DqW9QtF3.mjs +68 -0
- package/chunks/{CKbOqPFm2.mjs → DqWJCka8.mjs} +9 -9
- package/chunks/{CIerTjpq2.mjs → DrWUdRj32.mjs} +2 -2
- package/chunks/{BrSZZNRc.mjs → DucSg7Mt.mjs} +70 -72
- 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/{BHwRv4F0.mjs → Lkg7bYLD2.mjs} +73 -74
- package/chunks/OBTStTaa.mjs +179 -0
- package/chunks/{DSnICEQN.mjs → Opn85Hlx2.mjs} +1 -1
- package/chunks/{C9nRNgwm2.mjs → QTy8g5MS.mjs} +589 -763
- package/chunks/{CsA_9MVv.mjs → YdNYH25C.mjs} +1 -1
- package/chunks/_q6JzJYp.mjs +773 -0
- package/chunks/{BiYsC43_.mjs → gTgPZrgY2.mjs} +119 -120
- package/chunks/{D2FNAA1a.mjs → jsgk7Yse2.mjs} +2 -2
- package/chunks/nL59ZuIk.mjs +58 -0
- package/chunks/{BJuAz5lX2.mjs → sWVkgzQt2.mjs} +2 -2
- package/chunks/{DN2qkQvd.mjs → tjwOOiNr2.mjs} +31 -32
- 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 -10
- package/data-card/index.mjs +8 -9
- package/data-card-text/index.mjs +8 -9
- package/data-display/index.mjs +9 -10
- package/data-icons/index.mjs +9 -10
- package/data-imgtext/index.mjs +9 -11
- package/data-operatext/index.mjs +8 -9
- package/data-panel/index.mjs +9 -10
- package/data-pay/index.mjs +10 -12
- package/data-price/index.mjs +8 -9
- package/data-progress/index.mjs +10 -11
- package/data-rotate/index.mjs +9 -10
- package/data-table-picker/index.mjs +11 -12
- package/data-tabs/index.mjs +9 -10
- 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 -8
- package/editable-tree/index.mjs +595 -2
- package/editable-tree/style.css +1 -1
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +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-designer/style.css +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-checkbox-group/style.css +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/guide-steps/style.css +1 -1
- 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-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/index.css +1 -1
- package/index.mjs +101 -101
- package/input-number-range/index.mjs +7 -7
- 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 -4
- package/package.json +5 -1
- package/page-index/index.mjs +14 -14
- package/page-index-top/index.mjs +12 -12
- package/pageable-table/index.mjs +1 -1
- package/pageable-table/style.css +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 -3
- 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 +109 -110
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +21 -23
- 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 -50
- package/year-calendar/index.mjs +1 -1
- package/year-calendar/style.css +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/BCwAowl1.mjs +0 -589
- package/chunks/BDVLN2ly.mjs +0 -105
- package/chunks/BEIlrURf.mjs +0 -251
- package/chunks/BEysX5TF2.mjs +0 -1038
- package/chunks/BHVyaqk0.mjs +0 -736
- package/chunks/BIj6pa8Z.mjs +0 -15
- package/chunks/BMWg0Wyj.mjs +0 -223
- package/chunks/BOsml5YC.mjs +0 -69
- package/chunks/BPwFiWYl2.mjs +0 -226
- package/chunks/BVIHqL6g.mjs +0 -17
- package/chunks/BVSQ6DfJ.mjs +0 -17
- package/chunks/BWqFKbFT.mjs +0 -1
- package/chunks/B__5L22p2.mjs +0 -346
- package/chunks/Bcpewc6H.mjs +0 -1279
- package/chunks/Bdeug17L.mjs +0 -42
- package/chunks/BffxPn8a.mjs +0 -34
- package/chunks/BgKQXQO_.mjs +0 -3093
- 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/BmP9lQmT.mjs +0 -1
- package/chunks/BrYtAPbN2.mjs +0 -161
- package/chunks/BsKwchVA.mjs +0 -14
- package/chunks/Bxo1Of95.mjs +0 -479
- package/chunks/BzFYbCpR.mjs +0 -25
- package/chunks/C6puxasG.mjs +0 -34
- package/chunks/C7l9aZGE.mjs +0 -577
- package/chunks/CDRNaOEg2.mjs +0 -274
- package/chunks/CG7AYiWy.mjs +0 -1
- package/chunks/CLzc_j7_.mjs +0 -234
- package/chunks/CQSTyCVP.mjs +0 -6
- package/chunks/CQxz8uUc.mjs +0 -454
- package/chunks/CU8bKuD12.mjs +0 -237
- package/chunks/CUF58PQ6.mjs +0 -1
- package/chunks/CUMFv5zJ2.mjs +0 -136
- package/chunks/C_eGir-J.mjs +0 -17
- package/chunks/Cb6Zx6UC.mjs +0 -29
- package/chunks/Cb_S4x_i2.mjs +0 -1098
- package/chunks/CbgD7y-5.mjs +0 -5
- package/chunks/CbsGuLZz2.mjs +0 -105
- package/chunks/CcT5SsZk.mjs +0 -48
- package/chunks/CcnjxILx.mjs +0 -1
- package/chunks/ChkCT6Mm.mjs +0 -4
- package/chunks/CiFlMt6Z.mjs +0 -41
- package/chunks/CiOqOUkG.mjs +0 -1
- package/chunks/CkXf_DVJ2.mjs +0 -1
- package/chunks/CnCSm3LY2.mjs +0 -4
- package/chunks/CnqWFDqp2.mjs +0 -244
- package/chunks/Cq0oEWRi2.mjs +0 -384
- package/chunks/CtBIjjQc2.mjs +0 -58
- package/chunks/Ctd3_wOH2.mjs +0 -6
- package/chunks/CuoYjthQ.mjs +0 -643
- package/chunks/CwhXr2Qc.mjs +0 -1
- package/chunks/D-hj62se2.mjs +0 -525
- package/chunks/D3VpXXqv.mjs +0 -1331
- package/chunks/D3Xixh5v.mjs +0 -5
- package/chunks/D4oNQiIK.mjs +0 -461
- package/chunks/D7O9ov79.mjs +0 -447
- package/chunks/D8fid28s2.mjs +0 -42
- package/chunks/DJdhVUFO2.mjs +0 -2435
- package/chunks/DJo_1CEK2.mjs +0 -61
- package/chunks/DMBx2EQl.mjs +0 -107
- package/chunks/DOCwznnS.mjs +0 -62
- package/chunks/DStwh2ne.mjs +0 -281
- package/chunks/D_5z5Xeq2.mjs +0 -37
- package/chunks/Df9VO_Wn2.mjs +0 -2
- package/chunks/Dg9Q-Tbi2.mjs +0 -299
- package/chunks/Diyl8upM.mjs +0 -277
- package/chunks/DjIPzCCR.mjs +0 -2
- package/chunks/DnBzQ-xh.mjs +0 -4
- package/chunks/Dp195RgF.mjs +0 -2
- package/chunks/Dqu1Etz62.mjs +0 -52
- package/chunks/DrKq_frR.mjs +0 -98
- package/chunks/DrXfCf172.mjs +0 -440
- package/chunks/DsZznbt2.mjs +0 -208
- package/chunks/Dsd58O0g.mjs +0 -25
- package/chunks/DssopN-n2.mjs +0 -97
- package/chunks/Dtq1xYk8.mjs +0 -47
- package/chunks/FeuisuNY2.mjs +0 -88
- package/chunks/GEtlriHC.mjs +0 -188
- package/chunks/GsvG1yFW.mjs +0 -1919
- package/chunks/IheQdJ0z.mjs +0 -267
- package/chunks/KGmxNbpi.mjs +0 -21
- package/chunks/PNyFONog2.mjs +0 -69
- package/chunks/T70m4caR.mjs +0 -1095
- package/chunks/ZBsqmcIN2.mjs +0 -622
- package/chunks/akEzJ4kG.mjs +0 -18
- package/chunks/fX1GD0G5.mjs +0 -70
- package/chunks/gh52LMTG.mjs +0 -12
- package/chunks/hgAOQY9a.mjs +0 -406
- package/chunks/iu5J8EF_.mjs +0 -197
- package/chunks/lGc5ksPb.mjs +0 -279
- package/chunks/pZQfJv282.mjs +0 -4
- package/chunks/qrHhuZXg.mjs +0 -465
- package/chunks/r8gDbwly.mjs +0 -1
- package/chunks/vpwjmKdg2.mjs +0 -32
- package/css/style.css +0 -1
- package/css/style10.css +0 -1
- package/css/style11.css +0 -1
- package/css/style12.css +0 -1
- package/css/style13.css +0 -1
- package/css/style14.css +0 -1
- package/css/style15.css +0 -1
- package/css/style16.css +0 -1
- package/css/style17.css +0 -1
- package/css/style18.css +0 -1
- package/css/style19.css +0 -1
- package/css/style2.css +0 -1
- package/css/style20.css +0 -1
- package/css/style21.css +0 -1
- package/css/style22.css +0 -1
- package/css/style23.css +0 -1
- package/css/style24.css +0 -1
- package/css/style25.css +0 -1
- package/css/style26.css +0 -1
- package/css/style27.css +0 -1
- package/css/style28.css +0 -1
- package/css/style29.css +0 -1
- package/css/style3.css +0 -1
- package/css/style4.css +0 -1
- package/css/style5.css +0 -1
- package/css/style6.css +0 -1
- package/css/style7.css +0 -1
- package/css/style8.css +0 -1
- package/css/style9.css +0 -1
- package/form-date-picker/style.css +0 -1
- package/form-image/style.css +0 -1
- package/form-input-time/style.css +0 -1
- package/form-radio-group/style.css +0 -1
- package/form-rate/style.css +0 -1
- package/form-time-select/style.css +0 -1
- /package/chunks/{CZnBtJW02.mjs → BBvIPqcc.mjs} +0 -0
- /package/chunks/{iIozz7ce.mjs → BoCxKwBf.mjs} +0 -0
- /package/chunks/{BxRjXAwz.mjs → CE67pCwD.mjs} +0 -0
- /package/chunks/{DWhGFQkb2.mjs → CQeEP_Tl.mjs} +0 -0
- /package/chunks/{BQ0e8kIi.mjs → CaczibeD.mjs} +0 -0
- /package/chunks/{B_80qPvY.mjs → DZCryyFG.mjs} +0 -0
- /package/chunks/{q5iCsXNv.mjs → Dq63V0CC.mjs} +0 -0
- /package/chunks/{CRjUGi_-.mjs → OEBJ-trG.mjs} +0 -0
- /package/chunks/{GYddfy8T.mjs → fjtZc9Rq2.mjs} +0 -0
|
@@ -1,23 +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 "./BPwFiWYl2.mjs";
|
|
10
|
-
/* empty css */
|
|
11
|
-
import "./CiOqOUkG.mjs";
|
|
12
|
-
import { t as f } from "./BQ0e8kIi.mjs";
|
|
13
|
-
import "./CwhXr2Qc.mjs";
|
|
14
|
-
import "./ChkCT6Mm.mjs";
|
|
15
|
-
import "./BWqFKbFT.mjs";
|
|
16
|
-
import "./r8gDbwly.mjs";
|
|
17
|
-
import { r as p, t as m } from "./DWhGFQkb2.mjs";
|
|
18
|
-
import { a as h, i as g, n as _, r as v, t as y } from "./CZnBtJW02.mjs";
|
|
2
|
+
import { t } from "./CaczibeD.mjs";
|
|
3
|
+
import { t as n } from "./OBTStTaa.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";
|
|
19
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";
|
|
20
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";
|
|
21
20
|
//#region src/components/bpmn-process-designer/components/penal/listeners/UserTaskListeners.vue
|
|
22
21
|
var M = /* @__PURE__ */ e({ default: () => z }), N = {
|
|
23
22
|
name: "UserTaskListeners",
|
|
@@ -33,11 +32,11 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = {
|
|
|
33
32
|
data() {
|
|
34
33
|
return {
|
|
35
34
|
elementListenersList: [],
|
|
36
|
-
listenerEventTypeObject:
|
|
37
|
-
listenerTypeObject:
|
|
35
|
+
listenerEventTypeObject: l,
|
|
36
|
+
listenerTypeObject: a,
|
|
38
37
|
listenerFormModelVisible: !1,
|
|
39
38
|
listenerForm: {},
|
|
40
|
-
fieldTypeObject:
|
|
39
|
+
fieldTypeObject: s,
|
|
41
40
|
fieldsListOfListener: [],
|
|
42
41
|
listenerFieldFormModelVisible: !1,
|
|
43
42
|
editingListenerIndex: -1,
|
|
@@ -54,25 +53,25 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = {
|
|
|
54
53
|
methods: {
|
|
55
54
|
resetListenersList() {
|
|
56
55
|
var e;
|
|
57
|
-
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));
|
|
58
57
|
},
|
|
59
58
|
async openListenerForm(e, t) {
|
|
60
59
|
var n;
|
|
61
|
-
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) => ({
|
|
62
61
|
...e,
|
|
63
62
|
fieldType: e.string ? "string" : "expression"
|
|
64
63
|
})) : (this.fieldsListOfListener = [], this.listenerForm.fields = []), this.listenerFormModelVisible = !0, await this.$nextTick(), (n = this.$refs.listenerFormRef) == null || n.clearValidate();
|
|
65
64
|
},
|
|
66
65
|
async removeListener(e, t) {
|
|
67
66
|
try {
|
|
68
|
-
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));
|
|
69
68
|
} catch {}
|
|
70
69
|
},
|
|
71
70
|
async saveListenerConfig() {
|
|
72
71
|
var e;
|
|
73
72
|
if (!await this.$refs.listenerFormRef.validate()) return;
|
|
74
|
-
let t =
|
|
75
|
-
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 = {};
|
|
76
75
|
},
|
|
77
76
|
async openListenerFieldForm(e, t) {
|
|
78
77
|
var n;
|
|
@@ -91,56 +90,56 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = {
|
|
|
91
90
|
class: "listener-filed__title",
|
|
92
91
|
style: { "padding-bottom": "6px" }
|
|
93
92
|
}, L = { class: "element-drawer__button" };
|
|
94
|
-
function R(e,
|
|
95
|
-
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;
|
|
96
95
|
return D(), C("div", P, [
|
|
97
96
|
E(j, {
|
|
98
|
-
data:
|
|
97
|
+
data: a.elementListenersList,
|
|
99
98
|
border: ""
|
|
100
99
|
}, {
|
|
101
100
|
default: k(() => [
|
|
102
|
-
E(
|
|
101
|
+
E(s, {
|
|
103
102
|
label: "序号",
|
|
104
103
|
width: "50px",
|
|
105
104
|
type: "index"
|
|
106
105
|
}),
|
|
107
|
-
E(
|
|
106
|
+
E(s, {
|
|
108
107
|
label: "事件类型",
|
|
109
108
|
"min-width": "80px",
|
|
110
109
|
"show-overflow-tooltip": "",
|
|
111
|
-
formatter: (e) =>
|
|
110
|
+
formatter: (e) => a.listenerEventTypeObject[e.event]
|
|
112
111
|
}, null, 8, ["formatter"]),
|
|
113
|
-
E(
|
|
112
|
+
E(s, {
|
|
114
113
|
label: "事件id",
|
|
115
114
|
"min-width": "80px",
|
|
116
115
|
prop: "id",
|
|
117
116
|
"show-overflow-tooltip": ""
|
|
118
117
|
}),
|
|
119
|
-
E(
|
|
118
|
+
E(s, {
|
|
120
119
|
label: "监听器类型",
|
|
121
120
|
"min-width": "80px",
|
|
122
121
|
"show-overflow-tooltip": "",
|
|
123
|
-
formatter: (e) =>
|
|
122
|
+
formatter: (e) => a.listenerTypeObject[e.listenerType]
|
|
124
123
|
}, null, 8, ["formatter"]),
|
|
125
|
-
E(
|
|
124
|
+
E(s, {
|
|
126
125
|
label: "操作",
|
|
127
126
|
width: "90px"
|
|
128
127
|
}, {
|
|
129
|
-
default: k(({ row: e, $index:
|
|
130
|
-
E(
|
|
128
|
+
default: k(({ row: e, $index: n }) => [
|
|
129
|
+
E(c, {
|
|
131
130
|
text: "",
|
|
132
|
-
onClick: (
|
|
131
|
+
onClick: (t) => o.openListenerForm(e, n)
|
|
133
132
|
}, {
|
|
134
|
-
default: k(() => [...
|
|
133
|
+
default: k(() => [...t[24] || (t[24] = [T("编辑", -1)])]),
|
|
135
134
|
_: 1
|
|
136
135
|
}, 8, ["onClick"]),
|
|
137
|
-
E(
|
|
138
|
-
E(
|
|
136
|
+
E(l, { direction: "vertical" }),
|
|
137
|
+
E(c, {
|
|
139
138
|
text: "",
|
|
140
139
|
style: { color: "#ff4d4f" },
|
|
141
|
-
onClick: (
|
|
140
|
+
onClick: (t) => o.removeListener(e, n)
|
|
142
141
|
}, {
|
|
143
|
-
default: k(() => [...
|
|
142
|
+
default: k(() => [...t[25] || (t[25] = [T("移除", -1)])]),
|
|
144
143
|
_: 1
|
|
145
144
|
}, 8, ["onClick"])
|
|
146
145
|
]),
|
|
@@ -149,21 +148,21 @@ function R(e, f, p, m, h, g) {
|
|
|
149
148
|
]),
|
|
150
149
|
_: 1
|
|
151
150
|
}, 8, ["data"]),
|
|
152
|
-
w("div", F, [E(
|
|
151
|
+
w("div", F, [E(c, {
|
|
153
152
|
type: "primary",
|
|
154
153
|
icon: "el-icon-plus",
|
|
155
|
-
onClick:
|
|
154
|
+
onClick: t[0] || (t[0] = (e) => o.openListenerForm(null))
|
|
156
155
|
}, {
|
|
157
|
-
default: k(() => [...
|
|
156
|
+
default: k(() => [...t[26] || (t[26] = [T("添加监听器", -1)])]),
|
|
158
157
|
_: 1
|
|
159
158
|
})]),
|
|
160
159
|
S(" 监听器 编辑/创建 部分 "),
|
|
161
160
|
E(V, {
|
|
162
|
-
visible:
|
|
163
|
-
"onUpdate:visible":
|
|
161
|
+
visible: a.listenerFormModelVisible,
|
|
162
|
+
"onUpdate:visible": t[16] || (t[16] = (e) => a.listenerFormModelVisible = e),
|
|
164
163
|
class: "flow-drawer",
|
|
165
164
|
title: "任务监听器",
|
|
166
|
-
size: `${
|
|
165
|
+
size: `${o.width}px`,
|
|
167
166
|
"wrapper-closable": !1,
|
|
168
167
|
"append-to-body": "",
|
|
169
168
|
"destroy-on-close": ""
|
|
@@ -171,9 +170,9 @@ function R(e, f, p, m, h, g) {
|
|
|
171
170
|
default: k(() => [
|
|
172
171
|
E(B, {
|
|
173
172
|
ref: "listenerFormRef",
|
|
174
|
-
model:
|
|
173
|
+
model: a.listenerForm,
|
|
175
174
|
"label-width": "96px",
|
|
176
|
-
onSubmit:
|
|
175
|
+
onSubmit: t[13] || (t[13] = A(() => {}, ["prevent"]))
|
|
177
176
|
}, {
|
|
178
177
|
default: k(() => [
|
|
179
178
|
E(R, {
|
|
@@ -185,12 +184,12 @@ function R(e, f, p, m, h, g) {
|
|
|
185
184
|
}
|
|
186
185
|
}, {
|
|
187
186
|
default: k(() => [E(N, {
|
|
188
|
-
modelValue:
|
|
189
|
-
"onUpdate:modelValue":
|
|
187
|
+
modelValue: a.listenerForm.event,
|
|
188
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => a.listenerForm.event = e)
|
|
190
189
|
}, {
|
|
191
|
-
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, {
|
|
192
191
|
key: e,
|
|
193
|
-
label:
|
|
192
|
+
label: a.listenerEventTypeObject[e],
|
|
194
193
|
value: e
|
|
195
194
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
196
195
|
_: 1
|
|
@@ -206,8 +205,8 @@ function R(e, f, p, m, h, g) {
|
|
|
206
205
|
}
|
|
207
206
|
}, {
|
|
208
207
|
default: k(() => [E(z, {
|
|
209
|
-
modelValue:
|
|
210
|
-
"onUpdate:modelValue":
|
|
208
|
+
modelValue: a.listenerForm.id,
|
|
209
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => a.listenerForm.id = e),
|
|
211
210
|
clearable: ""
|
|
212
211
|
}, null, 8, ["modelValue"])]),
|
|
213
212
|
_: 1
|
|
@@ -221,19 +220,19 @@ function R(e, f, p, m, h, g) {
|
|
|
221
220
|
}
|
|
222
221
|
}, {
|
|
223
222
|
default: k(() => [E(N, {
|
|
224
|
-
modelValue:
|
|
225
|
-
"onUpdate:modelValue":
|
|
223
|
+
modelValue: a.listenerForm.listenerType,
|
|
224
|
+
"onUpdate:modelValue": t[3] || (t[3] = (e) => a.listenerForm.listenerType = e)
|
|
226
225
|
}, {
|
|
227
|
-
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, {
|
|
228
227
|
key: e,
|
|
229
|
-
label:
|
|
228
|
+
label: a.listenerTypeObject[e],
|
|
230
229
|
value: e
|
|
231
230
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
232
231
|
_: 1
|
|
233
232
|
}, 8, ["modelValue"])]),
|
|
234
233
|
_: 1
|
|
235
234
|
}),
|
|
236
|
-
|
|
235
|
+
a.listenerForm.listenerType === "classListener" ? (D(), x(R, {
|
|
237
236
|
key: "listener-class",
|
|
238
237
|
label: "Java类",
|
|
239
238
|
prop: "class",
|
|
@@ -243,13 +242,13 @@ function R(e, f, p, m, h, g) {
|
|
|
243
242
|
}
|
|
244
243
|
}, {
|
|
245
244
|
default: k(() => [E(z, {
|
|
246
|
-
modelValue:
|
|
247
|
-
"onUpdate:modelValue":
|
|
245
|
+
modelValue: a.listenerForm.class,
|
|
246
|
+
"onUpdate:modelValue": t[4] || (t[4] = (e) => a.listenerForm.class = e),
|
|
248
247
|
clearable: ""
|
|
249
248
|
}, null, 8, ["modelValue"])]),
|
|
250
249
|
_: 1
|
|
251
250
|
})) : S("v-if", !0),
|
|
252
|
-
|
|
251
|
+
a.listenerForm.listenerType === "expressionListener" ? (D(), x(R, {
|
|
253
252
|
key: "listener-expression",
|
|
254
253
|
label: "表达式",
|
|
255
254
|
prop: "expression",
|
|
@@ -259,13 +258,13 @@ function R(e, f, p, m, h, g) {
|
|
|
259
258
|
}
|
|
260
259
|
}, {
|
|
261
260
|
default: k(() => [E(z, {
|
|
262
|
-
modelValue:
|
|
263
|
-
"onUpdate:modelValue":
|
|
261
|
+
modelValue: a.listenerForm.expression,
|
|
262
|
+
"onUpdate:modelValue": t[5] || (t[5] = (e) => a.listenerForm.expression = e),
|
|
264
263
|
clearable: ""
|
|
265
264
|
}, null, 8, ["modelValue"])]),
|
|
266
265
|
_: 1
|
|
267
266
|
})) : S("v-if", !0),
|
|
268
|
-
|
|
267
|
+
a.listenerForm.listenerType === "delegateExpressionListener" ? (D(), x(R, {
|
|
269
268
|
key: "listener-delegate",
|
|
270
269
|
label: "代理表达式",
|
|
271
270
|
prop: "delegateExpression",
|
|
@@ -275,13 +274,13 @@ function R(e, f, p, m, h, g) {
|
|
|
275
274
|
}
|
|
276
275
|
}, {
|
|
277
276
|
default: k(() => [E(z, {
|
|
278
|
-
modelValue:
|
|
279
|
-
"onUpdate:modelValue":
|
|
277
|
+
modelValue: a.listenerForm.delegateExpression,
|
|
278
|
+
"onUpdate:modelValue": t[6] || (t[6] = (e) => a.listenerForm.delegateExpression = e),
|
|
280
279
|
clearable: ""
|
|
281
280
|
}, null, 8, ["modelValue"])]),
|
|
282
281
|
_: 1
|
|
283
282
|
})) : S("v-if", !0),
|
|
284
|
-
|
|
283
|
+
a.listenerForm.listenerType === "scriptListener" ? (D(), C(b, { key: 3 }, [
|
|
285
284
|
E(R, {
|
|
286
285
|
key: "listener-script-format",
|
|
287
286
|
label: "脚本格式",
|
|
@@ -293,8 +292,8 @@ function R(e, f, p, m, h, g) {
|
|
|
293
292
|
}
|
|
294
293
|
}, {
|
|
295
294
|
default: k(() => [E(z, {
|
|
296
|
-
modelValue:
|
|
297
|
-
"onUpdate:modelValue":
|
|
295
|
+
modelValue: a.listenerForm.scriptFormat,
|
|
296
|
+
"onUpdate:modelValue": t[7] || (t[7] = (e) => a.listenerForm.scriptFormat = e),
|
|
298
297
|
clearable: ""
|
|
299
298
|
}, null, 8, ["modelValue"])]),
|
|
300
299
|
_: 1
|
|
@@ -310,8 +309,8 @@ function R(e, f, p, m, h, g) {
|
|
|
310
309
|
}
|
|
311
310
|
}, {
|
|
312
311
|
default: k(() => [E(N, {
|
|
313
|
-
modelValue:
|
|
314
|
-
"onUpdate:modelValue":
|
|
312
|
+
modelValue: a.listenerForm.scriptType,
|
|
313
|
+
"onUpdate:modelValue": t[8] || (t[8] = (e) => a.listenerForm.scriptType = e)
|
|
315
314
|
}, {
|
|
316
315
|
default: k(() => [E(M, {
|
|
317
316
|
label: "内联脚本",
|
|
@@ -324,7 +323,7 @@ function R(e, f, p, m, h, g) {
|
|
|
324
323
|
}, 8, ["modelValue"])]),
|
|
325
324
|
_: 1
|
|
326
325
|
}),
|
|
327
|
-
|
|
326
|
+
a.listenerForm.scriptType === "inlineScript" ? (D(), x(R, {
|
|
328
327
|
key: "listener-script",
|
|
329
328
|
label: "脚本内容",
|
|
330
329
|
prop: "value",
|
|
@@ -335,13 +334,13 @@ function R(e, f, p, m, h, g) {
|
|
|
335
334
|
}
|
|
336
335
|
}, {
|
|
337
336
|
default: k(() => [E(z, {
|
|
338
|
-
modelValue:
|
|
339
|
-
"onUpdate:modelValue":
|
|
337
|
+
modelValue: a.listenerForm.value,
|
|
338
|
+
"onUpdate:modelValue": t[9] || (t[9] = (e) => a.listenerForm.value = e),
|
|
340
339
|
clearable: ""
|
|
341
340
|
}, null, 8, ["modelValue"])]),
|
|
342
341
|
_: 1
|
|
343
342
|
})) : S("v-if", !0),
|
|
344
|
-
|
|
343
|
+
a.listenerForm.scriptType === "externalScript" ? (D(), x(R, {
|
|
345
344
|
key: "listener-resource",
|
|
346
345
|
label: "资源地址",
|
|
347
346
|
prop: "resource",
|
|
@@ -352,21 +351,21 @@ function R(e, f, p, m, h, g) {
|
|
|
352
351
|
}
|
|
353
352
|
}, {
|
|
354
353
|
default: k(() => [E(z, {
|
|
355
|
-
modelValue:
|
|
356
|
-
"onUpdate:modelValue":
|
|
354
|
+
modelValue: a.listenerForm.resource,
|
|
355
|
+
"onUpdate:modelValue": t[10] || (t[10] = (e) => a.listenerForm.resource = e),
|
|
357
356
|
clearable: ""
|
|
358
357
|
}, null, 8, ["modelValue"])]),
|
|
359
358
|
_: 1
|
|
360
359
|
})) : S("v-if", !0)
|
|
361
360
|
], 64)) : S("v-if", !0),
|
|
362
|
-
|
|
361
|
+
a.listenerForm.event === "timeout" ? (D(), C(b, { key: 4 }, [E(R, {
|
|
363
362
|
key: "eventDefinitionType",
|
|
364
363
|
label: "定时器类型",
|
|
365
364
|
prop: "eventDefinitionType"
|
|
366
365
|
}, {
|
|
367
366
|
default: k(() => [E(N, {
|
|
368
|
-
modelValue:
|
|
369
|
-
"onUpdate:modelValue":
|
|
367
|
+
modelValue: a.listenerForm.eventDefinitionType,
|
|
368
|
+
"onUpdate:modelValue": t[11] || (t[11] = (e) => a.listenerForm.eventDefinitionType = e)
|
|
370
369
|
}, {
|
|
371
370
|
default: k(() => [
|
|
372
371
|
E(M, {
|
|
@@ -389,7 +388,7 @@ function R(e, f, p, m, h, g) {
|
|
|
389
388
|
_: 1
|
|
390
389
|
}, 8, ["modelValue"])]),
|
|
391
390
|
_: 1
|
|
392
|
-
}),
|
|
391
|
+
}), a.listenerForm.eventDefinitionType && a.listenerForm.eventDefinitionType !== "null" ? (D(), x(R, {
|
|
393
392
|
key: "eventTimeDefinitions",
|
|
394
393
|
label: "定时器",
|
|
395
394
|
prop: "eventTimeDefinitions",
|
|
@@ -400,8 +399,8 @@ function R(e, f, p, m, h, g) {
|
|
|
400
399
|
}
|
|
401
400
|
}, {
|
|
402
401
|
default: k(() => [E(z, {
|
|
403
|
-
modelValue:
|
|
404
|
-
"onUpdate:modelValue":
|
|
402
|
+
modelValue: a.listenerForm.eventTimeDefinitions,
|
|
403
|
+
"onUpdate:modelValue": t[12] || (t[12] = (e) => a.listenerForm.eventTimeDefinitions = e),
|
|
405
404
|
clearable: ""
|
|
406
405
|
}, null, 8, ["modelValue"])]),
|
|
407
406
|
_: 1
|
|
@@ -409,64 +408,64 @@ function R(e, f, p, m, h, g) {
|
|
|
409
408
|
]),
|
|
410
409
|
_: 1
|
|
411
410
|
}, 8, ["model"]),
|
|
412
|
-
E(
|
|
413
|
-
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, {
|
|
414
413
|
type: "primary",
|
|
415
414
|
style: { "margin-left": "auto" },
|
|
416
|
-
onClick:
|
|
415
|
+
onClick: t[14] || (t[14] = (e) => o.openListenerFieldForm(null))
|
|
417
416
|
}, {
|
|
418
|
-
default: k(() => [...
|
|
417
|
+
default: k(() => [...t[27] || (t[27] = [T("添加字段", -1)])]),
|
|
419
418
|
_: 1
|
|
420
419
|
})]),
|
|
421
420
|
E(j, {
|
|
422
|
-
data:
|
|
421
|
+
data: a.fieldsListOfListener,
|
|
423
422
|
"max-height": "240",
|
|
424
423
|
border: "",
|
|
425
424
|
fit: "",
|
|
426
425
|
style: { flex: "none" }
|
|
427
426
|
}, {
|
|
428
427
|
default: k(() => [
|
|
429
|
-
E(
|
|
428
|
+
E(s, {
|
|
430
429
|
label: "序号",
|
|
431
430
|
width: "50px",
|
|
432
431
|
type: "index"
|
|
433
432
|
}),
|
|
434
|
-
E(
|
|
433
|
+
E(s, {
|
|
435
434
|
label: "字段名称",
|
|
436
435
|
"min-width": "100px",
|
|
437
436
|
prop: "name"
|
|
438
437
|
}),
|
|
439
|
-
E(
|
|
438
|
+
E(s, {
|
|
440
439
|
label: "字段类型",
|
|
441
440
|
"min-width": "80px",
|
|
442
441
|
"show-overflow-tooltip": "",
|
|
443
|
-
formatter: (e) =>
|
|
442
|
+
formatter: (e) => a.fieldTypeObject[e.fieldType]
|
|
444
443
|
}, null, 8, ["formatter"]),
|
|
445
|
-
E(
|
|
444
|
+
E(s, {
|
|
446
445
|
label: "字段值/表达式",
|
|
447
446
|
"min-width": "100px",
|
|
448
447
|
"show-overflow-tooltip": "",
|
|
449
448
|
formatter: (e) => e.string || e.expression
|
|
450
449
|
}, null, 8, ["formatter"]),
|
|
451
|
-
E(
|
|
450
|
+
E(s, {
|
|
452
451
|
label: "操作",
|
|
453
452
|
width: "100px"
|
|
454
453
|
}, {
|
|
455
|
-
default: k(({ row: e, $index:
|
|
456
|
-
E(
|
|
454
|
+
default: k(({ row: e, $index: n }) => [
|
|
455
|
+
E(c, {
|
|
457
456
|
text: "",
|
|
458
|
-
onClick: (
|
|
457
|
+
onClick: (t) => o.openListenerFieldForm(e, n)
|
|
459
458
|
}, {
|
|
460
|
-
default: k(() => [...
|
|
459
|
+
default: k(() => [...t[29] || (t[29] = [T("编辑", -1)])]),
|
|
461
460
|
_: 1
|
|
462
461
|
}, 8, ["onClick"]),
|
|
463
|
-
E(
|
|
464
|
-
E(
|
|
462
|
+
E(l, { direction: "vertical" }),
|
|
463
|
+
E(c, {
|
|
465
464
|
text: "",
|
|
466
465
|
style: { color: "#ff4d4f" },
|
|
467
|
-
onClick: (
|
|
466
|
+
onClick: (t) => o.removeListenerField(e, n)
|
|
468
467
|
}, {
|
|
469
|
-
default: k(() => [...
|
|
468
|
+
default: k(() => [...t[30] || (t[30] = [T("移除", -1)])]),
|
|
470
469
|
_: 1
|
|
471
470
|
}, 8, ["onClick"])
|
|
472
471
|
]),
|
|
@@ -475,14 +474,14 @@ function R(e, f, p, m, h, g) {
|
|
|
475
474
|
]),
|
|
476
475
|
_: 1
|
|
477
476
|
}, 8, ["data"]),
|
|
478
|
-
w("div", L, [E(
|
|
479
|
-
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)])]),
|
|
480
479
|
_: 1
|
|
481
|
-
}), E(
|
|
480
|
+
}), E(c, {
|
|
482
481
|
type: "primary",
|
|
483
|
-
onClick:
|
|
482
|
+
onClick: o.saveListenerConfig
|
|
484
483
|
}, {
|
|
485
|
-
default: k(() => [...
|
|
484
|
+
default: k(() => [...t[32] || (t[32] = [T("保 存", -1)])]),
|
|
486
485
|
_: 1
|
|
487
486
|
}, 8, ["onClick"])])
|
|
488
487
|
]),
|
|
@@ -490,30 +489,30 @@ function R(e, f, p, m, h, g) {
|
|
|
490
489
|
}, 8, ["visible", "size"]),
|
|
491
490
|
S(" 注入西段 编辑/创建 部分 "),
|
|
492
491
|
E(H, {
|
|
493
|
-
visible:
|
|
494
|
-
"onUpdate:visible":
|
|
492
|
+
visible: a.listenerFieldFormModelVisible,
|
|
493
|
+
"onUpdate:visible": t[23] || (t[23] = (e) => a.listenerFieldFormModelVisible = e),
|
|
495
494
|
title: "字段配置",
|
|
496
495
|
class: "flow-dialog",
|
|
497
496
|
width: "600px",
|
|
498
497
|
"append-to-body": "",
|
|
499
498
|
"destroy-on-close": ""
|
|
500
499
|
}, {
|
|
501
|
-
footer: k(() => [E(
|
|
502
|
-
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)])]),
|
|
503
502
|
_: 1
|
|
504
|
-
}), E(
|
|
503
|
+
}), E(c, {
|
|
505
504
|
type: "primary",
|
|
506
|
-
onClick:
|
|
505
|
+
onClick: o.saveListenerFiled
|
|
507
506
|
}, {
|
|
508
|
-
default: k(() => [...
|
|
507
|
+
default: k(() => [...t[34] || (t[34] = [T("确 定", -1)])]),
|
|
509
508
|
_: 1
|
|
510
509
|
}, 8, ["onClick"])]),
|
|
511
510
|
default: k(() => [E(B, {
|
|
512
511
|
ref: "listenerFieldFormRef",
|
|
513
|
-
model:
|
|
512
|
+
model: a.listenerFieldForm,
|
|
514
513
|
"label-width": "96px",
|
|
515
514
|
style: { height: "136px" },
|
|
516
|
-
onSubmit:
|
|
515
|
+
onSubmit: t[21] || (t[21] = A(() => {}, ["prevent"]))
|
|
517
516
|
}, {
|
|
518
517
|
default: k(() => [
|
|
519
518
|
E(R, {
|
|
@@ -525,8 +524,8 @@ function R(e, f, p, m, h, g) {
|
|
|
525
524
|
}
|
|
526
525
|
}, {
|
|
527
526
|
default: k(() => [E(z, {
|
|
528
|
-
modelValue:
|
|
529
|
-
"onUpdate:modelValue":
|
|
527
|
+
modelValue: a.listenerFieldForm.name,
|
|
528
|
+
"onUpdate:modelValue": t[17] || (t[17] = (e) => a.listenerFieldForm.name = e),
|
|
530
529
|
clearable: ""
|
|
531
530
|
}, null, 8, ["modelValue"])]),
|
|
532
531
|
_: 1
|
|
@@ -540,19 +539,19 @@ function R(e, f, p, m, h, g) {
|
|
|
540
539
|
}
|
|
541
540
|
}, {
|
|
542
541
|
default: k(() => [E(N, {
|
|
543
|
-
modelValue:
|
|
544
|
-
"onUpdate:modelValue":
|
|
542
|
+
modelValue: a.listenerFieldForm.fieldType,
|
|
543
|
+
"onUpdate:modelValue": t[18] || (t[18] = (e) => a.listenerFieldForm.fieldType = e)
|
|
545
544
|
}, {
|
|
546
|
-
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, {
|
|
547
546
|
key: e,
|
|
548
|
-
label:
|
|
547
|
+
label: a.fieldTypeObject[e],
|
|
549
548
|
value: e
|
|
550
549
|
}, null, 8, ["label", "value"]))), 128))]),
|
|
551
550
|
_: 1
|
|
552
551
|
}, 8, ["modelValue"])]),
|
|
553
552
|
_: 1
|
|
554
553
|
}),
|
|
555
|
-
|
|
554
|
+
a.listenerFieldForm.fieldType === "string" ? (D(), x(R, {
|
|
556
555
|
key: "field-string",
|
|
557
556
|
label: "字段值:",
|
|
558
557
|
prop: "string",
|
|
@@ -562,13 +561,13 @@ function R(e, f, p, m, h, g) {
|
|
|
562
561
|
}
|
|
563
562
|
}, {
|
|
564
563
|
default: k(() => [E(z, {
|
|
565
|
-
modelValue:
|
|
566
|
-
"onUpdate:modelValue":
|
|
564
|
+
modelValue: a.listenerFieldForm.string,
|
|
565
|
+
"onUpdate:modelValue": t[19] || (t[19] = (e) => a.listenerFieldForm.string = e),
|
|
567
566
|
clearable: ""
|
|
568
567
|
}, null, 8, ["modelValue"])]),
|
|
569
568
|
_: 1
|
|
570
569
|
})) : S("v-if", !0),
|
|
571
|
-
|
|
570
|
+
a.listenerFieldForm.fieldType === "expression" ? (D(), x(R, {
|
|
572
571
|
key: "field-expression",
|
|
573
572
|
label: "表达式:",
|
|
574
573
|
prop: "expression",
|
|
@@ -578,8 +577,8 @@ function R(e, f, p, m, h, g) {
|
|
|
578
577
|
}
|
|
579
578
|
}, {
|
|
580
579
|
default: k(() => [E(z, {
|
|
581
|
-
modelValue:
|
|
582
|
-
"onUpdate:modelValue":
|
|
580
|
+
modelValue: a.listenerFieldForm.expression,
|
|
581
|
+
"onUpdate:modelValue": t[20] || (t[20] = (e) => a.listenerFieldForm.expression = e),
|
|
583
582
|
clearable: ""
|
|
584
583
|
}, null, 8, ["modelValue"])]),
|
|
585
584
|
_: 1
|
|
@@ -591,6 +590,6 @@ function R(e, f, p, m, h, g) {
|
|
|
591
590
|
}, 8, ["visible"])
|
|
592
591
|
]);
|
|
593
592
|
}
|
|
594
|
-
var z = /* @__PURE__ */
|
|
593
|
+
var z = /* @__PURE__ */ t(N, [["render", R]]);
|
|
595
594
|
//#endregion
|
|
596
595
|
export { M as n, z as t };
|