@web-utils/form-ui 1.0.0-beta72 → 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 -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/{CidE_6Q52.mjs → 8A7LSgb4.mjs} +26 -27
- package/chunks/{qFn9SqfB2.mjs → Apjns0ZM.mjs} +72 -73
- package/chunks/B0BOjeph2.mjs +108 -0
- package/chunks/BD6_5FSI.mjs +178 -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/{QAHALDuF2.mjs → BYtFzO-8.mjs} +138 -139
- package/chunks/{C9nRNgwm2.mjs → B_AUZSOW.mjs} +589 -763
- package/chunks/BctSGDgW2.mjs +29 -0
- package/chunks/{CJl5ZiUq2.mjs → Bes1uXng.mjs} +28 -30
- package/chunks/BhIWiH5R.mjs +661 -0
- package/chunks/BhzlH7Az.mjs +90 -0
- package/chunks/{DmEOzzaP2.mjs → BrelfRGo2.mjs} +14 -14
- package/chunks/{X6BItEt1.mjs → BsqIRxSS.mjs} +6 -7
- package/chunks/{Bnm0osro.mjs → C--HDCqy.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/{Bxo1Of95.mjs → CZUhA3sf.mjs} +298 -4
- 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/{DWjZMJ1e2.mjs → D6DYxngS.mjs} +132 -133
- 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/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/{DSnICEQN.mjs → Opn85Hlx2.mjs} +1 -1
- package/chunks/{CsA_9MVv.mjs → YdNYH25C.mjs} +1 -1
- package/chunks/{BiYsC43_.mjs → gTgPZrgY2.mjs} +119 -120
- package/chunks/{D2FNAA1a.mjs → jsgk7Yse2.mjs} +2 -2
- package/chunks/nL59ZuIk.mjs +58 -0
- package/chunks/{BrSZZNRc.mjs → neuEq1De.mjs} +70 -72
- 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 +108 -109
- 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/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/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,239 +1,65 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
import {
|
|
17
|
-
import "
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import { t as fe } from "./Ciy3EJGG2.mjs";
|
|
25
|
-
import { t as pe } from "./qFn9SqfB2.mjs";
|
|
26
|
-
import "./CkXf_DVJ2.mjs";
|
|
27
|
-
import { t as me } from "./DlROUHPJ2.mjs";
|
|
28
|
-
import he from "../highlight-j-s/index.mjs";
|
|
29
|
-
import { computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createTextVNode as E, createVNode as D, defineComponent as ge, inject as _e, markRaw as O, mergeProps as ve, normalizeClass as k, normalizeStyle as ye, openBlock as A, provide as be, ref as j, renderSlot as M, resolveComponent as xe, resolveDynamicComponent as Se, toDisplayString as N, unref as P, vShow as F, watch as Ce, withCtx as I, withDirectives as we, withKeys as Te, withModifiers as Ee } from "vue";
|
|
30
|
-
import { isArray as De } from "@web-utils/core";
|
|
31
|
-
import Oe from "highlight.js/lib/core";
|
|
1
|
+
import { t as e } from "./CaczibeD.mjs";
|
|
2
|
+
import { t } from "./BD6_5FSI.mjs";
|
|
3
|
+
import { t as n } from "./BH7VEktl.mjs";
|
|
4
|
+
import { t as r } from "./Daa7nl7U.mjs";
|
|
5
|
+
import { t as i } from "./DqWJCka8.mjs";
|
|
6
|
+
import { t as a } from "./Bes1uXng.mjs";
|
|
7
|
+
import { t as o } from "./D6DYxngS.mjs";
|
|
8
|
+
import { t as s } from "./BYtFzO-8.mjs";
|
|
9
|
+
import { t as c } from "./-zgWD713.mjs";
|
|
10
|
+
import { t as l } from "./Apjns0ZM.mjs";
|
|
11
|
+
import { t as u } from "./DTq5QLoT.mjs";
|
|
12
|
+
import d from "../highlight-j-s/index.mjs";
|
|
13
|
+
import { ElButtonGroup as f, ElCollapse as p, ElCollapseItem as m, ElTabPane as ee, ElTabs as h, ElTooltip as g } from "element-plus/es";
|
|
14
|
+
import "element-plus/es/components/base/style/css";
|
|
15
|
+
import { createBlock as _, createCommentVNode as v, createElementBlock as te, createElementVNode as y, createTextVNode as b, createVNode as x, markRaw as S, mergeProps as C, normalizeClass as ne, normalizeStyle as re, openBlock as w, renderSlot as T, resolveComponent as ie, toDisplayString as ae, vShow as oe, withCtx as E, withDirectives as se, withModifiers as ce } from "vue";
|
|
16
|
+
import { isArray as D } from "@web-utils/core";
|
|
17
|
+
import "element-plus/es/components/tooltip/style/css";
|
|
18
|
+
import "element-plus/es/components/collapse/style/css";
|
|
19
|
+
import "element-plus/es/components/collapse-item/style/css";
|
|
20
|
+
import "element-plus/es/components/tabs/style/css";
|
|
21
|
+
import "element-plus/es/components/tab-pane/style/css";
|
|
22
|
+
import O from "highlight.js/lib/core";
|
|
23
|
+
import "element-plus/es/components/button-group/style/css";
|
|
32
24
|
import "bpmn-js/dist/assets/bpmn-js.css";
|
|
33
25
|
import "bpmn-js/dist/assets/diagram-js.css";
|
|
34
26
|
import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
|
|
35
27
|
import "bpmn-js-token-simulation/assets/css/bpmn-js-token-simulation.css";
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import { assign as
|
|
43
|
-
import { is as
|
|
44
|
-
import { isEventSubProcess as
|
|
45
|
-
import { isAny as
|
|
46
|
-
import { getChildLanes as
|
|
47
|
-
import { hasPrimaryModifier as
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import { asTRBL as
|
|
51
|
-
//#region
|
|
52
|
-
var
|
|
53
|
-
accordion: Boolean,
|
|
54
|
-
modelValue: {
|
|
55
|
-
type: p([
|
|
56
|
-
Array,
|
|
57
|
-
String,
|
|
58
|
-
Number
|
|
59
|
-
]),
|
|
60
|
-
default: () => ee([])
|
|
61
|
-
},
|
|
62
|
-
expandIconPosition: {
|
|
63
|
-
type: p([String]),
|
|
64
|
-
default: "right"
|
|
65
|
-
},
|
|
66
|
-
beforeCollapse: { type: p(Function) }
|
|
67
|
-
}), Je = {
|
|
68
|
-
[e]: Ke,
|
|
69
|
-
[t]: Ke
|
|
70
|
-
}, Ye = Symbol("collapseContextKey"), Xe = l({
|
|
71
|
-
title: {
|
|
72
|
-
type: String,
|
|
73
|
-
default: ""
|
|
74
|
-
},
|
|
75
|
-
name: {
|
|
76
|
-
type: p([String, Number]),
|
|
77
|
-
default: void 0
|
|
78
|
-
},
|
|
79
|
-
icon: {
|
|
80
|
-
type: v,
|
|
81
|
-
default: m
|
|
82
|
-
},
|
|
83
|
-
disabled: Boolean
|
|
84
|
-
}), Ze = "ElCollapse", Qe = (i, a) => {
|
|
85
|
-
let o = j(y(i.modelValue)), s = (n) => {
|
|
86
|
-
o.value = n;
|
|
87
|
-
let r = i.accordion ? o.value[0] : o.value;
|
|
88
|
-
a(e, r), a(t, r);
|
|
89
|
-
}, l = (e) => {
|
|
90
|
-
if (i.accordion) s([o.value[0] === e ? "" : e]);
|
|
91
|
-
else {
|
|
92
|
-
let t = [...o.value], n = t.indexOf(e);
|
|
93
|
-
n > -1 ? t.splice(n, 1) : t.push(e), s(t);
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
return Ce(() => i.modelValue, () => o.value = y(i.modelValue), { deep: !0 }), be(Ye, {
|
|
97
|
-
activeNames: o,
|
|
98
|
-
handleItemClick: async (e) => {
|
|
99
|
-
let { beforeCollapse: t } = i;
|
|
100
|
-
if (!t) {
|
|
101
|
-
l(e);
|
|
102
|
-
return;
|
|
103
|
-
}
|
|
104
|
-
let a = t(e);
|
|
105
|
-
[c(a), u(a)].includes(!0) || n(Ze, "beforeCollapse must return type `Promise<boolean>` or `boolean`"), c(a) ? a.then((t) => {
|
|
106
|
-
t !== !1 && l(e);
|
|
107
|
-
}).catch((e) => {
|
|
108
|
-
r(Ze, `some error occurred: ${e}`);
|
|
109
|
-
}) : a && l(e);
|
|
110
|
-
}
|
|
111
|
-
}), {
|
|
112
|
-
activeNames: o,
|
|
113
|
-
setActiveNames: s
|
|
114
|
-
};
|
|
115
|
-
}, $e = (e) => {
|
|
116
|
-
let t = d("collapse");
|
|
117
|
-
return { rootKls: x(() => [t.b(), t.b(`icon-position-${e.expandIconPosition}`)]) };
|
|
118
|
-
}, et = /* @__PURE__ */ ge({
|
|
119
|
-
name: "ElCollapse",
|
|
120
|
-
__name: "collapse",
|
|
121
|
-
props: qe,
|
|
122
|
-
emits: Je,
|
|
123
|
-
setup(e, { expose: t, emit: n }) {
|
|
124
|
-
let r = e, { activeNames: i, setActiveNames: a } = Qe(r, n), { rootKls: o } = $e(r);
|
|
125
|
-
return t({
|
|
126
|
-
activeNames: i,
|
|
127
|
-
setActiveNames: a
|
|
128
|
-
}), (e, t) => (A(), w("div", { class: k(P(o)) }, [M(e.$slots, "default")], 2));
|
|
129
|
-
}
|
|
130
|
-
}), tt = (e) => {
|
|
131
|
-
let t = _e(Ye), { namespace: n } = d("collapse"), r = j(!1), i = j(!1), a = _(), o = x(() => a.current++), s = x(() => e.name ?? `${n.value}-id-${a.prefix}-${P(o)}`);
|
|
132
|
-
return {
|
|
133
|
-
focusing: r,
|
|
134
|
-
id: o,
|
|
135
|
-
isActive: x(() => t == null ? void 0 : t.activeNames.value.includes(P(s))),
|
|
136
|
-
handleFocus: () => {
|
|
137
|
-
setTimeout(() => {
|
|
138
|
-
i.value ? i.value = !1 : r.value = !0;
|
|
139
|
-
}, 50);
|
|
140
|
-
},
|
|
141
|
-
handleHeaderClick: (n) => {
|
|
142
|
-
var a;
|
|
143
|
-
e.disabled || (a = n.target) != null && a.closest("input, textarea, select") || (t == null || t.handleItemClick(P(s)), r.value = !1, i.value = !0);
|
|
144
|
-
},
|
|
145
|
-
handleEnterClick: (e) => {
|
|
146
|
-
var n;
|
|
147
|
-
(n = e.target) != null && n.closest("input, textarea, select") || (e.preventDefault(), t == null || t.handleItemClick(P(s)));
|
|
148
|
-
}
|
|
149
|
-
};
|
|
150
|
-
}, nt = (e, { focusing: t, isActive: n, id: r }) => {
|
|
151
|
-
let i = d("collapse"), a = x(() => [
|
|
152
|
-
i.b("item"),
|
|
153
|
-
i.is("active", P(n)),
|
|
154
|
-
i.is("disabled", e.disabled)
|
|
155
|
-
]), o = x(() => [
|
|
156
|
-
i.be("item", "header"),
|
|
157
|
-
i.is("active", P(n)),
|
|
158
|
-
{ focusing: P(t) && !e.disabled }
|
|
159
|
-
]), s = x(() => [i.be("item", "arrow"), i.is("active", P(n))]);
|
|
160
|
-
return {
|
|
161
|
-
itemTitleKls: x(() => [i.be("item", "title")]),
|
|
162
|
-
arrowKls: s,
|
|
163
|
-
headKls: o,
|
|
164
|
-
rootKls: a,
|
|
165
|
-
itemWrapperKls: x(() => i.be("item", "wrap")),
|
|
166
|
-
itemContentKls: x(() => i.be("item", "content")),
|
|
167
|
-
scopedContentId: x(() => i.b(`content-${P(r)}`)),
|
|
168
|
-
scopedHeadId: x(() => i.b(`head-${P(r)}`))
|
|
169
|
-
};
|
|
170
|
-
}, rt = [
|
|
171
|
-
"id",
|
|
172
|
-
"aria-expanded",
|
|
173
|
-
"aria-controls",
|
|
174
|
-
"aria-describedby",
|
|
175
|
-
"tabindex",
|
|
176
|
-
"aria-disabled"
|
|
177
|
-
], it = [
|
|
178
|
-
"id",
|
|
179
|
-
"aria-hidden",
|
|
180
|
-
"aria-labelledby"
|
|
181
|
-
], at = /* @__PURE__ */ ge({
|
|
182
|
-
name: "ElCollapseItem",
|
|
183
|
-
__name: "collapse-item",
|
|
184
|
-
props: Xe,
|
|
185
|
-
setup(e, { expose: t }) {
|
|
186
|
-
let n = e, { focusing: r, id: i, isActive: a, handleFocus: o, handleHeaderClick: s, handleEnterClick: c } = tt(n), { arrowKls: l, headKls: u, rootKls: d, itemTitleKls: f, itemWrapperKls: p, itemContentKls: m, scopedContentId: g, scopedHeadId: _ } = nt(n, {
|
|
187
|
-
focusing: r,
|
|
188
|
-
isActive: a,
|
|
189
|
-
id: i
|
|
190
|
-
});
|
|
191
|
-
return t({ isActive: a }), (t, n) => (A(), w("div", { class: k(P(d)) }, [T("div", {
|
|
192
|
-
id: P(_),
|
|
193
|
-
class: k(P(u)),
|
|
194
|
-
"aria-expanded": P(a),
|
|
195
|
-
"aria-controls": P(g),
|
|
196
|
-
"aria-describedby": P(g),
|
|
197
|
-
tabindex: e.disabled ? void 0 : 0,
|
|
198
|
-
"aria-disabled": e.disabled,
|
|
199
|
-
role: "button",
|
|
200
|
-
onClick: n[0] || (n[0] = (...e) => P(s) && P(s)(...e)),
|
|
201
|
-
onKeydown: n[1] || (n[1] = Te(Ee((...e) => P(c) && P(c)(...e), ["stop"]), ["space", "enter"])),
|
|
202
|
-
onFocus: n[2] || (n[2] = (...e) => P(o) && P(o)(...e)),
|
|
203
|
-
onBlur: n[3] || (n[3] = (e) => r.value = !1)
|
|
204
|
-
}, [T("span", { class: k(P(f)) }, [M(t.$slots, "title", { isActive: P(a) }, () => [E(N(e.title), 1)])], 2), M(t.$slots, "icon", { isActive: P(a) }, () => [D(P(h), { class: k(P(l)) }, {
|
|
205
|
-
default: I(() => [(A(), S(Se(e.icon)))]),
|
|
206
|
-
_: 1
|
|
207
|
-
}, 8, ["class"])])], 42, rt), D(P(te), null, {
|
|
208
|
-
default: I(() => [we(T("div", {
|
|
209
|
-
id: P(g),
|
|
210
|
-
role: "region",
|
|
211
|
-
class: k(P(p)),
|
|
212
|
-
"aria-hidden": !P(a),
|
|
213
|
-
"aria-labelledby": P(_)
|
|
214
|
-
}, [T("div", { class: k(P(m)) }, [M(t.$slots, "default")], 2)], 10, it), [[F, P(a)]])]),
|
|
215
|
-
_: 3
|
|
216
|
-
})], 2));
|
|
217
|
-
}
|
|
218
|
-
}), ot = f(et, { CollapseItem: at }), st = s(at), ct = [
|
|
28
|
+
import k from "bpmn-js/lib/Modeler";
|
|
29
|
+
import le from "bpmn-js/lib/features/drilldown";
|
|
30
|
+
import A from "bpmn-js-token-simulation";
|
|
31
|
+
import j from "x2js";
|
|
32
|
+
import M from "highlight.js/lib/languages/xml";
|
|
33
|
+
import N from "highlight.js/lib/languages/json";
|
|
34
|
+
import { assign as P, forEach as F, isArray as ue, isFunction as I, isObject as de, some as L } from "min-dash";
|
|
35
|
+
import { is as R } from "bpmn-js/lib/util/ModelUtil";
|
|
36
|
+
import { isEventSubProcess as fe, isExpanded as pe } from "bpmn-js/lib/util/DiUtil";
|
|
37
|
+
import { isAny as z } from "bpmn-js/lib/features/modeling/util/ModelingUtil";
|
|
38
|
+
import { getChildLanes as me } from "bpmn-js/lib/features/modeling/util/LaneUtil";
|
|
39
|
+
import { hasPrimaryModifier as he } from "diagram-js/lib/util/Mouse";
|
|
40
|
+
import ge from "bpmn-js/lib/features/palette/PaletteProvider";
|
|
41
|
+
import B from "diagram-js/lib/features/auto-place/AutoPlace";
|
|
42
|
+
import { asTRBL as _e, getMid as ve } from "diagram-js/lib/layout/LayoutUtil";
|
|
43
|
+
//#region src/components/bpmn-process-designer/components/PropertiesPanel.vue
|
|
44
|
+
var ye = [
|
|
219
45
|
"base",
|
|
220
46
|
"task",
|
|
221
47
|
"form",
|
|
222
48
|
"multiInstance"
|
|
223
|
-
],
|
|
49
|
+
], be = {
|
|
224
50
|
name: "PropertiesPanel",
|
|
225
51
|
componentName: "MyPropertiesPanel",
|
|
226
52
|
components: {
|
|
227
|
-
UserTaskListeners: () => import("./
|
|
228
|
-
ElementForm: () => import("./
|
|
229
|
-
ElementProperties: () => import("./
|
|
230
|
-
ElementListeners: () => import("./
|
|
231
|
-
SignalAndMassage: () => import("./
|
|
232
|
-
FlowCondition: () => import("./
|
|
233
|
-
ElementMultiInstance: () => import("
|
|
234
|
-
ElementTask: () => import("./
|
|
235
|
-
ElementOtherConfig: () => import("./
|
|
236
|
-
ElementBaseInfo: () => import("./
|
|
53
|
+
UserTaskListeners: () => import("./D6DYxngS.mjs").then((e) => e.n),
|
|
54
|
+
ElementForm: () => import("./Apjns0ZM.mjs").then((e) => e.n),
|
|
55
|
+
ElementProperties: () => import("./Bes1uXng.mjs").then((e) => e.n),
|
|
56
|
+
ElementListeners: () => import("./BYtFzO-8.mjs").then((e) => e.n),
|
|
57
|
+
SignalAndMassage: () => import("./C--HDCqy.mjs"),
|
|
58
|
+
FlowCondition: () => import("./Daa7nl7U.mjs").then((e) => e.n),
|
|
59
|
+
ElementMultiInstance: () => import("./-zgWD713.mjs").then((e) => e.n),
|
|
60
|
+
ElementTask: () => import("./neuEq1De.mjs"),
|
|
61
|
+
ElementOtherConfig: () => import("./DqWJCka8.mjs").then((e) => e.n),
|
|
62
|
+
ElementBaseInfo: () => import("./DTq5QLoT.mjs").then((e) => e.n)
|
|
237
63
|
},
|
|
238
64
|
provide() {
|
|
239
65
|
return {
|
|
@@ -298,11 +124,11 @@ var Ke = (e) => o(e) || a(e) || i(e), qe = l({
|
|
|
298
124
|
activeTabs: {
|
|
299
125
|
immediate: !0,
|
|
300
126
|
handler() {
|
|
301
|
-
this.activeTab = this.isTab ? "base" :
|
|
127
|
+
this.activeTab = this.isTab ? "base" : ye;
|
|
302
128
|
}
|
|
303
129
|
},
|
|
304
130
|
elementId: { handler() {
|
|
305
|
-
this.activeTab = this.isTab ? "base" :
|
|
131
|
+
this.activeTab = this.isTab ? "base" : ye;
|
|
306
132
|
} },
|
|
307
133
|
isTab: {
|
|
308
134
|
immediate: !0,
|
|
@@ -320,7 +146,7 @@ var Ke = (e) => o(e) || a(e) || i(e), qe = l({
|
|
|
320
146
|
this.timer = setTimeout(() => this.initModels(), 10);
|
|
321
147
|
return;
|
|
322
148
|
}
|
|
323
|
-
this.timer && clearTimeout(this.timer), this.bpmnInstances =
|
|
149
|
+
this.timer && clearTimeout(this.timer), this.bpmnInstances = S({
|
|
324
150
|
modeler: this.bpmnModeler,
|
|
325
151
|
modeling: this.bpmnModeler.get("modeling"),
|
|
326
152
|
moddle: this.bpmnModeler.get("moddle"),
|
|
@@ -343,45 +169,45 @@ var Ke = (e) => o(e) || a(e) || i(e), qe = l({
|
|
|
343
169
|
},
|
|
344
170
|
initFormOnChanged(e) {
|
|
345
171
|
let t = e;
|
|
346
|
-
t || (t = this.bpmnInstances.elementRegistry.find((e) => e.type === "bpmn:Process") ?? this.bpmnInstances.elementRegistry.find((e) => e.type === "bpmn:Collaboration")), t && (this.element =
|
|
172
|
+
t || (t = this.bpmnInstances.elementRegistry.find((e) => e.type === "bpmn:Process") ?? this.bpmnInstances.elementRegistry.find((e) => e.type === "bpmn:Collaboration")), t && (this.element = S(t), this.elementId = t.id, this.elementType = t.type.split(":")[1] || "", this.conditionFormVisible = !!(this.elementType === "SequenceFlow" && t.source && t.source.type.indexOf("StartEvent") === -1), this.formVisible = this.elementType === "UserTask");
|
|
347
173
|
}
|
|
348
174
|
}
|
|
349
|
-
},
|
|
175
|
+
}, xe = { style: {
|
|
350
176
|
height: "40px",
|
|
351
177
|
"line-height": "40px"
|
|
352
|
-
} },
|
|
353
|
-
function
|
|
354
|
-
var
|
|
355
|
-
let
|
|
356
|
-
return
|
|
357
|
-
class:
|
|
358
|
-
show:
|
|
359
|
-
hide: !
|
|
178
|
+
} }, Se = { class: "panel-tab__title" }, Ce = { class: "panel-tab__title" };
|
|
179
|
+
function we(e, t, n, d, f, S) {
|
|
180
|
+
var C;
|
|
181
|
+
let D = u, O = ee, k = ie("SignalAndMassage"), le = l, A = ie("ElementTask"), j = c, M = s, N = o, P = a, F = i, ue = h, I = m, de = r, L = g, R = p;
|
|
182
|
+
return w(), te("div", {
|
|
183
|
+
class: ne(["process-panel__container", {
|
|
184
|
+
show: f.isPanelVisible,
|
|
185
|
+
hide: !f.isPanelVisible
|
|
360
186
|
}]),
|
|
361
|
-
style:
|
|
362
|
-
onClick: t[3] || (t[3] = (e) =>
|
|
363
|
-
}, [
|
|
364
|
-
class:
|
|
365
|
-
onClick: t[0] || (t[0] =
|
|
366
|
-
}, null, 2),
|
|
187
|
+
style: re({ width: `${f.isPanelVisible ? n.width : 34}px` }),
|
|
188
|
+
onClick: t[3] || (t[3] = (e) => f.isPanelVisible = !0)
|
|
189
|
+
}, [y("div", xe, [y("i", {
|
|
190
|
+
class: ne(["open-properties-handel", f.isPanelVisible ? "el-icon-caret-right" : "el-icon-caret-left"]),
|
|
191
|
+
onClick: t[0] || (t[0] = ce((e) => f.isPanelVisible = !f.isPanelVisible, ["stop"]))
|
|
192
|
+
}, null, 2), b(" " + ae(f.isPanelVisible ? (C = f.element) == null || (C = C.businessObject) == null ? void 0 : C.name : ""), 1)]), n.panelType === "tab" ? se((w(), _(ue, {
|
|
367
193
|
key: 0,
|
|
368
|
-
modelValue:
|
|
369
|
-
"onUpdate:modelValue": t[1] || (t[1] = (e) =>
|
|
194
|
+
modelValue: f.activeTab,
|
|
195
|
+
"onUpdate:modelValue": t[1] || (t[1] = (e) => f.activeTab = e)
|
|
370
196
|
}, {
|
|
371
|
-
default:
|
|
372
|
-
|
|
373
|
-
|
|
197
|
+
default: E(() => [
|
|
198
|
+
v(" 常规 "),
|
|
199
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("base") ? (w(), _(O, {
|
|
374
200
|
key: 0,
|
|
375
201
|
label: "常规",
|
|
376
202
|
name: "base",
|
|
377
203
|
lazy: ""
|
|
378
204
|
}, {
|
|
379
|
-
default:
|
|
380
|
-
id:
|
|
205
|
+
default: E(() => [x(D, {
|
|
206
|
+
id: f.elementId,
|
|
381
207
|
"id-edit-disabled": n.idEditDisabled,
|
|
382
|
-
type:
|
|
383
|
-
element:
|
|
384
|
-
"bpmn-instances":
|
|
208
|
+
type: f.elementType,
|
|
209
|
+
element: f.element,
|
|
210
|
+
"bpmn-instances": f.bpmnInstances
|
|
385
211
|
}, null, 8, [
|
|
386
212
|
"id",
|
|
387
213
|
"id-edit-disabled",
|
|
@@ -390,45 +216,45 @@ function pt(e, t, n, r, i, a) {
|
|
|
390
216
|
"bpmn-instances"
|
|
391
217
|
])]),
|
|
392
218
|
_: 1
|
|
393
|
-
})) :
|
|
394
|
-
|
|
395
|
-
(
|
|
219
|
+
})) : v("v-if", !0),
|
|
220
|
+
v(" 消息与信号 "),
|
|
221
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("message")) && f.elementType === "Process" ? (w(), _(O, {
|
|
396
222
|
key: 1,
|
|
397
223
|
label: "消息与信号",
|
|
398
224
|
name: "message",
|
|
399
225
|
lazy: ""
|
|
400
226
|
}, {
|
|
401
|
-
default:
|
|
227
|
+
default: E(() => [x(k, { "bpmn-instances": f.bpmnInstances }, null, 8, ["bpmn-instances"])]),
|
|
402
228
|
_: 1
|
|
403
|
-
})) :
|
|
404
|
-
|
|
405
|
-
(
|
|
229
|
+
})) : v("v-if", !0),
|
|
230
|
+
v(" 流转条件 "),
|
|
231
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("condition")) && f.conditionFormVisible ? (w(), _(O, {
|
|
406
232
|
key: 2,
|
|
407
233
|
label: "流转条件",
|
|
408
234
|
name: "condition",
|
|
409
235
|
lazy: ""
|
|
410
236
|
}, {
|
|
411
|
-
default:
|
|
237
|
+
default: E(() => [x(k, { "bpmn-instances": f.bpmnInstances }, null, 8, ["bpmn-instances"])]),
|
|
412
238
|
_: 1
|
|
413
|
-
})) :
|
|
414
|
-
|
|
415
|
-
|
|
239
|
+
})) : v("v-if", !0),
|
|
240
|
+
v(" 表单 "),
|
|
241
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("form") ? T(e.$slots, "form", {
|
|
416
242
|
key: 3,
|
|
417
|
-
id:
|
|
418
|
-
bpmnInstances:
|
|
419
|
-
element:
|
|
420
|
-
type:
|
|
421
|
-
}, () => [(
|
|
243
|
+
id: f.elementId,
|
|
244
|
+
bpmnInstances: f.bpmnInstances,
|
|
245
|
+
element: f.element,
|
|
246
|
+
type: f.elementType
|
|
247
|
+
}, () => [(S.isNullOrUndefined || S.isArray && n.useTabs.includes("base")) && f.formVisible ? (w(), _(O, {
|
|
422
248
|
key: "form",
|
|
423
249
|
label: "表单",
|
|
424
250
|
name: "form",
|
|
425
251
|
lazy: ""
|
|
426
252
|
}, {
|
|
427
|
-
default:
|
|
428
|
-
id:
|
|
429
|
-
"bpmn-instances":
|
|
430
|
-
element:
|
|
431
|
-
type:
|
|
253
|
+
default: E(() => [x(le, {
|
|
254
|
+
id: f.elementId,
|
|
255
|
+
"bpmn-instances": f.bpmnInstances,
|
|
256
|
+
element: f.element,
|
|
257
|
+
type: f.elementType
|
|
432
258
|
}, null, 8, [
|
|
433
259
|
"id",
|
|
434
260
|
"bpmn-instances",
|
|
@@ -436,25 +262,25 @@ function pt(e, t, n, r, i, a) {
|
|
|
436
262
|
"type"
|
|
437
263
|
])]),
|
|
438
264
|
_: 1
|
|
439
|
-
})) :
|
|
440
|
-
|
|
441
|
-
|
|
265
|
+
})) : v("v-if", !0)]) : v("v-if", !0),
|
|
266
|
+
v(" 任务 "),
|
|
267
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("task") ? T(e.$slots, "task", {
|
|
442
268
|
key: 4,
|
|
443
|
-
id:
|
|
444
|
-
bpmnInstances:
|
|
445
|
-
element:
|
|
446
|
-
type:
|
|
447
|
-
}, () => [
|
|
269
|
+
id: f.elementId,
|
|
270
|
+
bpmnInstances: f.bpmnInstances,
|
|
271
|
+
element: f.element,
|
|
272
|
+
type: f.elementType
|
|
273
|
+
}, () => [f.elementType.indexOf("Task") === -1 ? v("v-if", !0) : (w(), _(O, {
|
|
448
274
|
key: "task",
|
|
449
275
|
label: "任务",
|
|
450
276
|
name: "task",
|
|
451
277
|
lazy: ""
|
|
452
278
|
}, {
|
|
453
|
-
default:
|
|
454
|
-
id:
|
|
455
|
-
"bpmn-instances":
|
|
456
|
-
element:
|
|
457
|
-
type:
|
|
279
|
+
default: E(() => [x(A, {
|
|
280
|
+
id: f.elementId,
|
|
281
|
+
"bpmn-instances": f.bpmnInstances,
|
|
282
|
+
element: f.element,
|
|
283
|
+
type: f.elementType
|
|
458
284
|
}, null, 8, [
|
|
459
285
|
"id",
|
|
460
286
|
"bpmn-instances",
|
|
@@ -462,19 +288,19 @@ function pt(e, t, n, r, i, a) {
|
|
|
462
288
|
"type"
|
|
463
289
|
])]),
|
|
464
290
|
_: 1
|
|
465
|
-
}))]) :
|
|
466
|
-
|
|
467
|
-
(
|
|
291
|
+
}))]) : v("v-if", !0),
|
|
292
|
+
v(" 多实例 "),
|
|
293
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("multiInstance")) && f.elementType.indexOf("Task") !== -1 ? (w(), _(O, {
|
|
468
294
|
key: "multiInstance",
|
|
469
295
|
label: "多实例",
|
|
470
296
|
name: "multiInstance",
|
|
471
297
|
lazy: ""
|
|
472
298
|
}, {
|
|
473
|
-
default:
|
|
474
|
-
id:
|
|
475
|
-
"bpmn-instances":
|
|
476
|
-
element:
|
|
477
|
-
type:
|
|
299
|
+
default: E(() => [x(j, {
|
|
300
|
+
id: f.elementId,
|
|
301
|
+
"bpmn-instances": f.bpmnInstances,
|
|
302
|
+
element: f.element,
|
|
303
|
+
type: f.elementType
|
|
478
304
|
}, null, 8, [
|
|
479
305
|
"id",
|
|
480
306
|
"bpmn-instances",
|
|
@@ -482,19 +308,19 @@ function pt(e, t, n, r, i, a) {
|
|
|
482
308
|
"type"
|
|
483
309
|
])]),
|
|
484
310
|
_: 1
|
|
485
|
-
})) :
|
|
486
|
-
|
|
487
|
-
|
|
311
|
+
})) : v("v-if", !0),
|
|
312
|
+
v(" 执行监听器 "),
|
|
313
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("listeners") ? (w(), _(O, {
|
|
488
314
|
key: "listeners",
|
|
489
315
|
label: "执行监听器",
|
|
490
316
|
name: "listeners",
|
|
491
317
|
lazy: ""
|
|
492
318
|
}, {
|
|
493
|
-
default:
|
|
494
|
-
id:
|
|
495
|
-
"bpmn-instances":
|
|
496
|
-
element:
|
|
497
|
-
type:
|
|
319
|
+
default: E(() => [x(M, {
|
|
320
|
+
id: f.elementId,
|
|
321
|
+
"bpmn-instances": f.bpmnInstances,
|
|
322
|
+
element: f.element,
|
|
323
|
+
type: f.elementType
|
|
498
324
|
}, null, 8, [
|
|
499
325
|
"id",
|
|
500
326
|
"bpmn-instances",
|
|
@@ -502,19 +328,19 @@ function pt(e, t, n, r, i, a) {
|
|
|
502
328
|
"type"
|
|
503
329
|
])]),
|
|
504
330
|
_: 1
|
|
505
|
-
})) :
|
|
506
|
-
|
|
507
|
-
(
|
|
331
|
+
})) : v("v-if", !0),
|
|
332
|
+
v(" 任务监听器 "),
|
|
333
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("taskListeners")) && f.elementType === "UserTask" ? (w(), _(O, {
|
|
508
334
|
key: "taskListeners",
|
|
509
335
|
label: "任务监听器",
|
|
510
336
|
name: "taskListeners",
|
|
511
337
|
lazy: ""
|
|
512
338
|
}, {
|
|
513
|
-
default:
|
|
514
|
-
id:
|
|
515
|
-
"bpmn-instances":
|
|
516
|
-
element:
|
|
517
|
-
type:
|
|
339
|
+
default: E(() => [x(N, {
|
|
340
|
+
id: f.elementId,
|
|
341
|
+
"bpmn-instances": f.bpmnInstances,
|
|
342
|
+
element: f.element,
|
|
343
|
+
type: f.elementType
|
|
518
344
|
}, null, 8, [
|
|
519
345
|
"id",
|
|
520
346
|
"bpmn-instances",
|
|
@@ -522,19 +348,19 @@ function pt(e, t, n, r, i, a) {
|
|
|
522
348
|
"type"
|
|
523
349
|
])]),
|
|
524
350
|
_: 1
|
|
525
|
-
})) :
|
|
526
|
-
|
|
527
|
-
|
|
351
|
+
})) : v("v-if", !0),
|
|
352
|
+
v(" 扩展属性 "),
|
|
353
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("extensions") ? (w(), _(O, {
|
|
528
354
|
key: "extensions",
|
|
529
355
|
label: "扩展属性",
|
|
530
356
|
name: "extensions",
|
|
531
357
|
lazy: ""
|
|
532
358
|
}, {
|
|
533
|
-
default:
|
|
534
|
-
id:
|
|
535
|
-
"bpmn-instances":
|
|
536
|
-
element:
|
|
537
|
-
type:
|
|
359
|
+
default: E(() => [x(P, {
|
|
360
|
+
id: f.elementId,
|
|
361
|
+
"bpmn-instances": f.bpmnInstances,
|
|
362
|
+
element: f.element,
|
|
363
|
+
type: f.elementType
|
|
538
364
|
}, null, 8, [
|
|
539
365
|
"id",
|
|
540
366
|
"bpmn-instances",
|
|
@@ -542,53 +368,53 @@ function pt(e, t, n, r, i, a) {
|
|
|
542
368
|
"type"
|
|
543
369
|
])]),
|
|
544
370
|
_: 1
|
|
545
|
-
})) :
|
|
546
|
-
|
|
547
|
-
|
|
371
|
+
})) : v("v-if", !0),
|
|
372
|
+
v(" 其他 "),
|
|
373
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("other") ? (w(), _(O, {
|
|
548
374
|
key: "other",
|
|
549
375
|
label: "其他",
|
|
550
376
|
name: "other",
|
|
551
377
|
lazy: ""
|
|
552
378
|
}, {
|
|
553
|
-
default:
|
|
554
|
-
id:
|
|
555
|
-
element:
|
|
556
|
-
"bpmn-instances":
|
|
379
|
+
default: E(() => [x(F, {
|
|
380
|
+
id: f.elementId,
|
|
381
|
+
element: f.element,
|
|
382
|
+
"bpmn-instances": f.bpmnInstances
|
|
557
383
|
}, null, 8, [
|
|
558
384
|
"id",
|
|
559
385
|
"element",
|
|
560
386
|
"bpmn-instances"
|
|
561
387
|
])]),
|
|
562
388
|
_: 1
|
|
563
|
-
})) :
|
|
564
|
-
|
|
565
|
-
|
|
389
|
+
})) : v("v-if", !0),
|
|
390
|
+
v(" 拓展 "),
|
|
391
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("extend") ? T(e.$slots, "extend", {
|
|
566
392
|
key: 10,
|
|
567
|
-
id:
|
|
568
|
-
bpmnInstances:
|
|
569
|
-
element:
|
|
570
|
-
type:
|
|
571
|
-
}) :
|
|
393
|
+
id: f.elementId,
|
|
394
|
+
bpmnInstances: f.bpmnInstances,
|
|
395
|
+
element: f.element,
|
|
396
|
+
type: f.elementType
|
|
397
|
+
}) : v("v-if", !0)
|
|
572
398
|
]),
|
|
573
399
|
_: 3
|
|
574
|
-
}, 8, ["modelValue"])), [[
|
|
400
|
+
}, 8, ["modelValue"])), [[oe, f.isPanelVisible]]) : se((w(), _(R, {
|
|
575
401
|
key: 1,
|
|
576
|
-
modelValue:
|
|
577
|
-
"onUpdate:modelValue": t[2] || (t[2] = (e) =>
|
|
402
|
+
modelValue: f.activeTab,
|
|
403
|
+
"onUpdate:modelValue": t[2] || (t[2] = (e) => f.activeTab = e)
|
|
578
404
|
}, {
|
|
579
|
-
default:
|
|
580
|
-
|
|
581
|
-
|
|
405
|
+
default: E(() => [
|
|
406
|
+
v(" 常规 "),
|
|
407
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("base") ? (w(), _(I, {
|
|
582
408
|
key: 0,
|
|
583
409
|
name: "base"
|
|
584
410
|
}, {
|
|
585
|
-
title:
|
|
586
|
-
default:
|
|
587
|
-
id:
|
|
411
|
+
title: E(() => [...t[4] || (t[4] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-info" }), b(" 常规 ")], -1)])]),
|
|
412
|
+
default: E(() => [x(D, {
|
|
413
|
+
id: f.elementId,
|
|
588
414
|
"id-edit-disabled": n.idEditDisabled,
|
|
589
|
-
type:
|
|
590
|
-
element:
|
|
591
|
-
"bpmn-instances":
|
|
415
|
+
type: f.elementType,
|
|
416
|
+
element: f.element,
|
|
417
|
+
"bpmn-instances": f.bpmnInstances
|
|
592
418
|
}, null, 8, [
|
|
593
419
|
"id",
|
|
594
420
|
"id-edit-disabled",
|
|
@@ -597,27 +423,27 @@ function pt(e, t, n, r, i, a) {
|
|
|
597
423
|
"bpmn-instances"
|
|
598
424
|
])]),
|
|
599
425
|
_: 1
|
|
600
|
-
})) :
|
|
601
|
-
|
|
602
|
-
(
|
|
426
|
+
})) : v("v-if", !0),
|
|
427
|
+
v(" 消息与信号 "),
|
|
428
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("message")) && f.elementType === "Process" ? (w(), _(I, {
|
|
603
429
|
key: "message",
|
|
604
430
|
name: "message"
|
|
605
431
|
}, {
|
|
606
|
-
title:
|
|
607
|
-
default:
|
|
432
|
+
title: E(() => [...t[5] || (t[5] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-s-comment" }), b(" 消息与信号 ")], -1)])]),
|
|
433
|
+
default: E(() => [x(k, { "bpmn-instances": f.bpmnInstances }, null, 8, ["bpmn-instances"])]),
|
|
608
434
|
_: 1
|
|
609
|
-
})) :
|
|
610
|
-
|
|
611
|
-
(
|
|
435
|
+
})) : v("v-if", !0),
|
|
436
|
+
v(" 流转条件 "),
|
|
437
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("condition")) && f.conditionFormVisible ? (w(), _(I, {
|
|
612
438
|
key: "condition",
|
|
613
439
|
name: "condition"
|
|
614
440
|
}, {
|
|
615
|
-
title:
|
|
616
|
-
default:
|
|
617
|
-
id:
|
|
618
|
-
element:
|
|
619
|
-
"bpmn-instances":
|
|
620
|
-
type:
|
|
441
|
+
title: E(() => [...t[6] || (t[6] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-s-promotion" }), b(" 流转条件 ")], -1)])]),
|
|
442
|
+
default: E(() => [x(de, {
|
|
443
|
+
id: f.elementId,
|
|
444
|
+
element: f.element,
|
|
445
|
+
"bpmn-instances": f.bpmnInstances,
|
|
446
|
+
type: f.elementType
|
|
621
447
|
}, null, 8, [
|
|
622
448
|
"id",
|
|
623
449
|
"element",
|
|
@@ -625,24 +451,24 @@ function pt(e, t, n, r, i, a) {
|
|
|
625
451
|
"type"
|
|
626
452
|
])]),
|
|
627
453
|
_: 1
|
|
628
|
-
})) :
|
|
629
|
-
|
|
630
|
-
|
|
454
|
+
})) : v("v-if", !0),
|
|
455
|
+
v(" 表单 "),
|
|
456
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("form") ? T(e.$slots, "form", {
|
|
631
457
|
key: 3,
|
|
632
|
-
id:
|
|
633
|
-
bpmnInstances:
|
|
634
|
-
element:
|
|
635
|
-
type:
|
|
636
|
-
}, () => [(
|
|
458
|
+
id: f.elementId,
|
|
459
|
+
bpmnInstances: f.bpmnInstances,
|
|
460
|
+
element: f.element,
|
|
461
|
+
type: f.elementType
|
|
462
|
+
}, () => [(S.isNullOrUndefined || S.isArray && n.useTabs.includes("base")) && f.formVisible ? (w(), _(I, {
|
|
637
463
|
key: "form",
|
|
638
464
|
name: "form"
|
|
639
465
|
}, {
|
|
640
|
-
title:
|
|
641
|
-
default:
|
|
642
|
-
id:
|
|
643
|
-
"bpmn-instances":
|
|
644
|
-
element:
|
|
645
|
-
type:
|
|
466
|
+
title: E(() => [...t[7] || (t[7] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-s-order" }), b(" 表单 ")], -1)])]),
|
|
467
|
+
default: E(() => [x(le, {
|
|
468
|
+
id: f.elementId,
|
|
469
|
+
"bpmn-instances": f.bpmnInstances,
|
|
470
|
+
element: f.element,
|
|
471
|
+
type: f.elementType
|
|
646
472
|
}, null, 8, [
|
|
647
473
|
"id",
|
|
648
474
|
"bpmn-instances",
|
|
@@ -650,24 +476,24 @@ function pt(e, t, n, r, i, a) {
|
|
|
650
476
|
"type"
|
|
651
477
|
])]),
|
|
652
478
|
_: 1
|
|
653
|
-
})) :
|
|
654
|
-
|
|
655
|
-
|
|
479
|
+
})) : v("v-if", !0)]) : v("v-if", !0),
|
|
480
|
+
v(" 任务 "),
|
|
481
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("task") ? T(e.$slots, "task", {
|
|
656
482
|
key: 4,
|
|
657
|
-
id:
|
|
658
|
-
bpmnInstances:
|
|
659
|
-
element:
|
|
660
|
-
type:
|
|
661
|
-
}, () => [
|
|
483
|
+
id: f.elementId,
|
|
484
|
+
bpmnInstances: f.bpmnInstances,
|
|
485
|
+
element: f.element,
|
|
486
|
+
type: f.elementType
|
|
487
|
+
}, () => [f.elementType.indexOf("Task") === -1 ? v("v-if", !0) : (w(), _(I, {
|
|
662
488
|
key: "task",
|
|
663
489
|
name: "task"
|
|
664
490
|
}, {
|
|
665
|
-
title:
|
|
666
|
-
default:
|
|
667
|
-
id:
|
|
668
|
-
"bpmn-instances":
|
|
669
|
-
element:
|
|
670
|
-
type:
|
|
491
|
+
title: E(() => [...t[8] || (t[8] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-s-claim" }), b(" 任务 ")], -1)])]),
|
|
492
|
+
default: E(() => [x(A, {
|
|
493
|
+
id: f.elementId,
|
|
494
|
+
"bpmn-instances": f.bpmnInstances,
|
|
495
|
+
element: f.element,
|
|
496
|
+
type: f.elementType
|
|
671
497
|
}, null, 8, [
|
|
672
498
|
"id",
|
|
673
499
|
"bpmn-instances",
|
|
@@ -675,18 +501,18 @@ function pt(e, t, n, r, i, a) {
|
|
|
675
501
|
"type"
|
|
676
502
|
])]),
|
|
677
503
|
_: 1
|
|
678
|
-
}))]) :
|
|
679
|
-
|
|
680
|
-
(
|
|
504
|
+
}))]) : v("v-if", !0),
|
|
505
|
+
v(" 多实例 "),
|
|
506
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("multiInstance")) && f.elementType.indexOf("Task") !== -1 ? (w(), _(I, {
|
|
681
507
|
key: "multiInstance",
|
|
682
508
|
name: "multiInstance"
|
|
683
509
|
}, {
|
|
684
|
-
title:
|
|
685
|
-
default:
|
|
686
|
-
id:
|
|
687
|
-
"bpmn-instances":
|
|
688
|
-
element:
|
|
689
|
-
type:
|
|
510
|
+
title: E(() => [...t[9] || (t[9] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-s-help" }), b(" 多实例 ")], -1)])]),
|
|
511
|
+
default: E(() => [x(j, {
|
|
512
|
+
id: f.elementId,
|
|
513
|
+
"bpmn-instances": f.bpmnInstances,
|
|
514
|
+
element: f.element,
|
|
515
|
+
type: f.elementType
|
|
690
516
|
}, null, 8, [
|
|
691
517
|
"id",
|
|
692
518
|
"bpmn-instances",
|
|
@@ -694,26 +520,26 @@ function pt(e, t, n, r, i, a) {
|
|
|
694
520
|
"type"
|
|
695
521
|
])]),
|
|
696
522
|
_: 1
|
|
697
|
-
})) :
|
|
698
|
-
|
|
699
|
-
|
|
523
|
+
})) : v("v-if", !0),
|
|
524
|
+
v(" 执行监听器 "),
|
|
525
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("listeners") ? (w(), _(I, {
|
|
700
526
|
key: "listeners",
|
|
701
527
|
name: "listeners"
|
|
702
528
|
}, {
|
|
703
|
-
title:
|
|
704
|
-
t[12] || (t[12] =
|
|
705
|
-
t[13] || (t[13] =
|
|
706
|
-
|
|
707
|
-
content:
|
|
708
|
-
default:
|
|
529
|
+
title: E(() => [y("div", Se, [
|
|
530
|
+
t[12] || (t[12] = y("i", { class: "el-icon-message-solid" }, null, -1)),
|
|
531
|
+
t[13] || (t[13] = b(" 执行监听器 ", -1)),
|
|
532
|
+
x(L, { effect: "light" }, {
|
|
533
|
+
content: E(() => [...t[10] || (t[10] = [y("p", null, "发送和退回时会触发", -1)])]),
|
|
534
|
+
default: E(() => [t[11] || (t[11] = y("i", { class: "el-icon-info" }, null, -1))]),
|
|
709
535
|
_: 1
|
|
710
536
|
})
|
|
711
537
|
])]),
|
|
712
|
-
default:
|
|
713
|
-
id:
|
|
714
|
-
"bpmn-instances":
|
|
715
|
-
element:
|
|
716
|
-
type:
|
|
538
|
+
default: E(() => [x(M, {
|
|
539
|
+
id: f.elementId,
|
|
540
|
+
"bpmn-instances": f.bpmnInstances,
|
|
541
|
+
element: f.element,
|
|
542
|
+
type: f.elementType
|
|
717
543
|
}, null, 8, [
|
|
718
544
|
"id",
|
|
719
545
|
"bpmn-instances",
|
|
@@ -721,26 +547,26 @@ function pt(e, t, n, r, i, a) {
|
|
|
721
547
|
"type"
|
|
722
548
|
])]),
|
|
723
549
|
_: 1
|
|
724
|
-
})) :
|
|
725
|
-
|
|
726
|
-
(
|
|
550
|
+
})) : v("v-if", !0),
|
|
551
|
+
v(" 任务监听器 "),
|
|
552
|
+
(S.isNullOrUndefined || S.isArray && n.useTabs.includes("taskListeners")) && f.elementType === "UserTask" ? (w(), _(I, {
|
|
727
553
|
key: "taskListeners",
|
|
728
554
|
name: "taskListeners"
|
|
729
555
|
}, {
|
|
730
|
-
title:
|
|
731
|
-
t[16] || (t[16] =
|
|
732
|
-
t[17] || (t[17] =
|
|
733
|
-
|
|
734
|
-
content:
|
|
735
|
-
default:
|
|
556
|
+
title: E(() => [y("div", Ce, [
|
|
557
|
+
t[16] || (t[16] = y("i", { class: "el-icon-message-solid" }, null, -1)),
|
|
558
|
+
t[17] || (t[17] = b(" 任务监听器 ", -1)),
|
|
559
|
+
x(L, { effect: "light" }, {
|
|
560
|
+
content: E(() => [...t[14] || (t[14] = [y("p", null, "任务实例的创建、指派、完成、删除、更新、超时会触发", -1)])]),
|
|
561
|
+
default: E(() => [t[15] || (t[15] = y("i", { class: "el-icon-info" }, null, -1))]),
|
|
736
562
|
_: 1
|
|
737
563
|
})
|
|
738
564
|
])]),
|
|
739
|
-
default:
|
|
740
|
-
id:
|
|
741
|
-
"bpmn-instances":
|
|
742
|
-
element:
|
|
743
|
-
type:
|
|
565
|
+
default: E(() => [x(N, {
|
|
566
|
+
id: f.elementId,
|
|
567
|
+
"bpmn-instances": f.bpmnInstances,
|
|
568
|
+
element: f.element,
|
|
569
|
+
type: f.elementType
|
|
744
570
|
}, null, 8, [
|
|
745
571
|
"id",
|
|
746
572
|
"bpmn-instances",
|
|
@@ -748,18 +574,18 @@ function pt(e, t, n, r, i, a) {
|
|
|
748
574
|
"type"
|
|
749
575
|
])]),
|
|
750
576
|
_: 1
|
|
751
|
-
})) :
|
|
752
|
-
|
|
753
|
-
|
|
577
|
+
})) : v("v-if", !0),
|
|
578
|
+
v(" 扩展属性 "),
|
|
579
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("extensions") ? (w(), _(I, {
|
|
754
580
|
key: "extensions",
|
|
755
581
|
name: "extensions"
|
|
756
582
|
}, {
|
|
757
|
-
title:
|
|
758
|
-
default:
|
|
759
|
-
id:
|
|
760
|
-
"bpmn-instances":
|
|
761
|
-
element:
|
|
762
|
-
type:
|
|
583
|
+
title: E(() => [...t[18] || (t[18] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-circle-plus" }), b(" 扩展属性 ")], -1)])]),
|
|
584
|
+
default: E(() => [x(P, {
|
|
585
|
+
id: f.elementId,
|
|
586
|
+
"bpmn-instances": f.bpmnInstances,
|
|
587
|
+
element: f.element,
|
|
588
|
+
type: f.elementType
|
|
763
589
|
}, null, 8, [
|
|
764
590
|
"id",
|
|
765
591
|
"bpmn-instances",
|
|
@@ -767,37 +593,37 @@ function pt(e, t, n, r, i, a) {
|
|
|
767
593
|
"type"
|
|
768
594
|
])]),
|
|
769
595
|
_: 1
|
|
770
|
-
})) :
|
|
771
|
-
|
|
772
|
-
|
|
596
|
+
})) : v("v-if", !0),
|
|
597
|
+
v(" 其他 "),
|
|
598
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("other") ? (w(), _(I, {
|
|
773
599
|
key: "other",
|
|
774
600
|
name: "other"
|
|
775
601
|
}, {
|
|
776
|
-
title:
|
|
777
|
-
default:
|
|
778
|
-
id:
|
|
779
|
-
element:
|
|
780
|
-
"bpmn-instances":
|
|
602
|
+
title: E(() => [...t[19] || (t[19] = [y("div", { class: "panel-tab__title" }, [y("i", { class: "el-icon-s-promotion" }), b(" 其他 ")], -1)])]),
|
|
603
|
+
default: E(() => [x(F, {
|
|
604
|
+
id: f.elementId,
|
|
605
|
+
element: f.element,
|
|
606
|
+
"bpmn-instances": f.bpmnInstances
|
|
781
607
|
}, null, 8, [
|
|
782
608
|
"id",
|
|
783
609
|
"element",
|
|
784
610
|
"bpmn-instances"
|
|
785
611
|
])]),
|
|
786
612
|
_: 1
|
|
787
|
-
})) :
|
|
788
|
-
|
|
789
|
-
|
|
613
|
+
})) : v("v-if", !0),
|
|
614
|
+
v(" 拓展 "),
|
|
615
|
+
S.isNullOrUndefined || S.isArray && n.useTabs.includes("extend") ? T(e.$slots, "extend", {
|
|
790
616
|
key: 10,
|
|
791
|
-
id:
|
|
792
|
-
bpmnInstances:
|
|
793
|
-
element:
|
|
794
|
-
type:
|
|
795
|
-
}) :
|
|
617
|
+
id: f.elementId,
|
|
618
|
+
bpmnInstances: f.bpmnInstances,
|
|
619
|
+
element: f.element,
|
|
620
|
+
type: f.elementType
|
|
621
|
+
}) : v("v-if", !0)
|
|
796
622
|
]),
|
|
797
623
|
_: 3
|
|
798
|
-
}, 8, ["modelValue"])), [[
|
|
624
|
+
}, 8, ["modelValue"])), [[oe, f.isPanelVisible]])], 6);
|
|
799
625
|
}
|
|
800
|
-
var
|
|
626
|
+
var Te = /* @__PURE__ */ e(be, [["render", we]]), Ee = (e, t, n) => (n = n || "camunda", `<?xml version="1.0" encoding="UTF-8"?>
|
|
801
627
|
<bpmn2:definitions
|
|
802
628
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
803
629
|
xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
@@ -819,7 +645,7 @@ var mt = /* @__PURE__ */ ae(lt, [["render", pt]]), ht = (e, t, n) => (n = n || "
|
|
|
819
645
|
</bpmn2:definitions>`);
|
|
820
646
|
//#endregion
|
|
821
647
|
//#region src/components/bpmn-process-designer/plugins/translate/customTranslate.js
|
|
822
|
-
function
|
|
648
|
+
function De(e) {
|
|
823
649
|
return function(t, n) {
|
|
824
650
|
return n = n || {}, t = e[t] || t, t.replace(/{([^}]+)}/g, function(t, r) {
|
|
825
651
|
let i = n[r];
|
|
@@ -829,7 +655,7 @@ function gt(e) {
|
|
|
829
655
|
}
|
|
830
656
|
//#endregion
|
|
831
657
|
//#region src/components/bpmn-process-designer/plugins/translate/zh.js
|
|
832
|
-
var
|
|
658
|
+
var Oe = {
|
|
833
659
|
"Append EndEvent": "追加结束事件",
|
|
834
660
|
"Append Gateway": "追加网关",
|
|
835
661
|
"Append Task": "追加任务",
|
|
@@ -1066,7 +892,7 @@ var _t = {
|
|
|
1066
892
|
Data: "数据",
|
|
1067
893
|
TextAnnotation: "文本说明",
|
|
1068
894
|
Tasks: "任务"
|
|
1069
|
-
},
|
|
895
|
+
}, V = [
|
|
1070
896
|
{
|
|
1071
897
|
name: "commentInForm",
|
|
1072
898
|
isAttr: !0,
|
|
@@ -1092,7 +918,7 @@ var _t = {
|
|
|
1092
918
|
isAttr: !0,
|
|
1093
919
|
type: "String"
|
|
1094
920
|
}
|
|
1095
|
-
],
|
|
921
|
+
], ke = {
|
|
1096
922
|
name: "Camunda",
|
|
1097
923
|
uri: "http://camunda.org/schema/1.0/bpmn",
|
|
1098
924
|
prefix: "camunda",
|
|
@@ -1384,7 +1210,7 @@ var _t = {
|
|
|
1384
1210
|
isAttr: !0,
|
|
1385
1211
|
type: "String"
|
|
1386
1212
|
},
|
|
1387
|
-
...
|
|
1213
|
+
...V
|
|
1388
1214
|
]
|
|
1389
1215
|
},
|
|
1390
1216
|
{
|
|
@@ -2024,7 +1850,7 @@ var _t = {
|
|
|
2024
1850
|
}
|
|
2025
1851
|
],
|
|
2026
1852
|
emumerations: []
|
|
2027
|
-
},
|
|
1853
|
+
}, Ae = {
|
|
2028
1854
|
name: "Activiti",
|
|
2029
1855
|
uri: "http://activiti.org/bpmn",
|
|
2030
1856
|
prefix: "activiti",
|
|
@@ -2330,7 +2156,7 @@ var _t = {
|
|
|
2330
2156
|
isAttr: !0,
|
|
2331
2157
|
type: "String"
|
|
2332
2158
|
},
|
|
2333
|
-
...
|
|
2159
|
+
...V
|
|
2334
2160
|
]
|
|
2335
2161
|
},
|
|
2336
2162
|
{
|
|
@@ -2946,7 +2772,7 @@ var _t = {
|
|
|
2946
2772
|
}
|
|
2947
2773
|
],
|
|
2948
2774
|
emumerations: []
|
|
2949
|
-
},
|
|
2775
|
+
}, je = {
|
|
2950
2776
|
name: "Flowable",
|
|
2951
2777
|
uri: "http://flowable.org/bpmn",
|
|
2952
2778
|
prefix: "flowable",
|
|
@@ -3245,7 +3071,7 @@ var _t = {
|
|
|
3245
3071
|
isAttr: !0,
|
|
3246
3072
|
type: "String"
|
|
3247
3073
|
},
|
|
3248
|
-
...
|
|
3074
|
+
...V
|
|
3249
3075
|
]
|
|
3250
3076
|
},
|
|
3251
3077
|
{
|
|
@@ -4097,57 +3923,57 @@ var _t = {
|
|
|
4097
3923
|
}]
|
|
4098
3924
|
}
|
|
4099
3925
|
]
|
|
4100
|
-
},
|
|
4101
|
-
function
|
|
3926
|
+
}, Me = "*";
|
|
3927
|
+
function H(e) {
|
|
4102
3928
|
let t = this;
|
|
4103
3929
|
e.on("moddleCopy.canCopyProperty", function(e) {
|
|
4104
3930
|
let n = e.property, r = e.parent;
|
|
4105
3931
|
return t.canCopyProperty(n, r);
|
|
4106
3932
|
});
|
|
4107
3933
|
}
|
|
4108
|
-
|
|
4109
|
-
if (
|
|
4110
|
-
},
|
|
4111
|
-
if (
|
|
4112
|
-
let t =
|
|
4113
|
-
return !(!t ||
|
|
3934
|
+
H.$inject = ["eventBus"], H.prototype.canCopyProperty = function(e, t) {
|
|
3935
|
+
if (de(e) && !Pe(e, t) || U(e, "camunda:InputOutput") && !this.canHostInputOutput(t) || Ne(e, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(t) || U(e, "camunda:In") && !this.canHostIn(t)) return !1;
|
|
3936
|
+
}, H.prototype.canHostInputOutput = function(e) {
|
|
3937
|
+
if (W(e, "camunda:Connector")) return !0;
|
|
3938
|
+
let t = W(e, "bpmn:FlowNode");
|
|
3939
|
+
return !(!t || Ne(t, [
|
|
4114
3940
|
"bpmn:StartEvent",
|
|
4115
3941
|
"bpmn:Gateway",
|
|
4116
3942
|
"bpmn:BoundaryEvent"
|
|
4117
|
-
]) ||
|
|
4118
|
-
},
|
|
4119
|
-
return W(
|
|
4120
|
-
},
|
|
4121
|
-
return
|
|
3943
|
+
]) || U(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
|
|
3944
|
+
}, H.prototype.canHostConnector = function(e) {
|
|
3945
|
+
return U(W(e, "camunda:ServiceTaskLike"), "bpmn:MessageEventDefinition") ? W(e, "bpmn:IntermediateThrowEvent") || W(e, "bpmn:EndEvent") : !0;
|
|
3946
|
+
}, H.prototype.canHostIn = function(e) {
|
|
3947
|
+
return W(e, "bpmn:CallActivity") ? !0 : W(e, "bpmn:SignalEventDefinition") ? W(e, "bpmn:IntermediateThrowEvent") || W(e, "bpmn:EndEvent") : !0;
|
|
4122
3948
|
};
|
|
4123
|
-
function
|
|
4124
|
-
return e &&
|
|
3949
|
+
function U(e, t) {
|
|
3950
|
+
return e && I(e.$instanceOf) && e.$instanceOf(t);
|
|
4125
3951
|
}
|
|
4126
|
-
function
|
|
4127
|
-
return
|
|
4128
|
-
return
|
|
3952
|
+
function Ne(e, t) {
|
|
3953
|
+
return L(t, function(t) {
|
|
3954
|
+
return U(e, t);
|
|
4129
3955
|
});
|
|
4130
3956
|
}
|
|
4131
|
-
function
|
|
3957
|
+
function W(e, t) {
|
|
4132
3958
|
if (!t) return e.$parent;
|
|
4133
|
-
if (
|
|
4134
|
-
if (e.$parent) return
|
|
3959
|
+
if (U(e, t)) return e;
|
|
3960
|
+
if (e.$parent) return W(e.$parent, t);
|
|
4135
3961
|
}
|
|
4136
|
-
function
|
|
3962
|
+
function Pe(e, t) {
|
|
4137
3963
|
let n = e.$type && e.$model.getTypeDescriptor(e.$type), r = n && n.meta && n.meta.allowedIn;
|
|
4138
|
-
return !r ||
|
|
4139
|
-
return
|
|
3964
|
+
return !r || Fe(r) ? !0 : L(r, function(e) {
|
|
3965
|
+
return W(t, e);
|
|
4140
3966
|
});
|
|
4141
3967
|
}
|
|
4142
|
-
function
|
|
4143
|
-
return e.indexOf(
|
|
3968
|
+
function Fe(e) {
|
|
3969
|
+
return e.indexOf(Me) !== -1;
|
|
4144
3970
|
}
|
|
4145
3971
|
//#endregion
|
|
4146
3972
|
//#region src/components/bpmn-process-designer/plugins/extension-moddle/camunda/index.js
|
|
4147
|
-
var
|
|
3973
|
+
var Ie = {
|
|
4148
3974
|
__init__: ["camundaModdleExtension"],
|
|
4149
|
-
camundaModdleExtension: ["type",
|
|
4150
|
-
},
|
|
3975
|
+
camundaModdleExtension: ["type", H]
|
|
3976
|
+
}, Le = {
|
|
4151
3977
|
FailedJobRetryTimeCycle: [
|
|
4152
3978
|
"bpmn:StartEvent",
|
|
4153
3979
|
"bpmn:BoundaryEvent",
|
|
@@ -4157,42 +3983,42 @@ var Tt = {
|
|
|
4157
3983
|
Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
|
|
4158
3984
|
Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
|
|
4159
3985
|
};
|
|
4160
|
-
function
|
|
3986
|
+
function G(e, t) {
|
|
4161
3987
|
return e && typeof e.$instanceOf == "function" && e.$instanceOf(t);
|
|
4162
3988
|
}
|
|
4163
|
-
function
|
|
3989
|
+
function Re(e) {
|
|
4164
3990
|
return e && e.length;
|
|
4165
3991
|
}
|
|
4166
|
-
function
|
|
4167
|
-
return
|
|
4168
|
-
return
|
|
3992
|
+
function K(e, t) {
|
|
3993
|
+
return Re(e) && L(e, function(e) {
|
|
3994
|
+
return G(e, t);
|
|
4169
3995
|
});
|
|
4170
3996
|
}
|
|
4171
|
-
function
|
|
4172
|
-
return
|
|
4173
|
-
return
|
|
3997
|
+
function ze(e, t) {
|
|
3998
|
+
return L(t, function(t) {
|
|
3999
|
+
return G(e, t);
|
|
4174
4000
|
});
|
|
4175
4001
|
}
|
|
4176
|
-
function
|
|
4177
|
-
let r = t.name, i =
|
|
4178
|
-
return r === e &&
|
|
4002
|
+
function q(e, t, n) {
|
|
4003
|
+
let r = t.name, i = Le[r.replace(/activiti:/, "")];
|
|
4004
|
+
return r === e && ze(n, i);
|
|
4179
4005
|
}
|
|
4180
|
-
function
|
|
4006
|
+
function J(e) {
|
|
4181
4007
|
e.on("property.clone", function(e) {
|
|
4182
4008
|
let t = e.newElement, n = e.propertyDescriptor;
|
|
4183
4009
|
this.canCloneProperty(t, n);
|
|
4184
4010
|
}, this);
|
|
4185
4011
|
}
|
|
4186
|
-
|
|
4187
|
-
if (
|
|
4188
|
-
if (
|
|
4012
|
+
J.$inject = ["eventBus"], J.prototype.canCloneProperty = function(e, t) {
|
|
4013
|
+
if (q("activiti:FailedJobRetryTimeCycle", t, e)) return K(e.eventDefinitions, "bpmn:TimerEventDefinition") || K(e.eventDefinitions, "bpmn:SignalEventDefinition") || G(e.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
|
|
4014
|
+
if (q("activiti:Connector", t, e) || q("activiti:Field", t, e)) return K(e.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4189
4015
|
};
|
|
4190
4016
|
//#endregion
|
|
4191
4017
|
//#region src/components/bpmn-process-designer/plugins/extension-moddle/activiti/index.js
|
|
4192
|
-
var
|
|
4018
|
+
var Be = {
|
|
4193
4019
|
__init__: ["ActivitiModdleExtension"],
|
|
4194
|
-
ActivitiModdleExtension: ["type",
|
|
4195
|
-
},
|
|
4020
|
+
ActivitiModdleExtension: ["type", J]
|
|
4021
|
+
}, Ve = {
|
|
4196
4022
|
FailedJobRetryTimeCycle: [
|
|
4197
4023
|
"bpmn:StartEvent",
|
|
4198
4024
|
"bpmn:BoundaryEvent",
|
|
@@ -4202,44 +4028,44 @@ var kt = {
|
|
|
4202
4028
|
Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
|
|
4203
4029
|
Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
|
|
4204
4030
|
};
|
|
4205
|
-
function
|
|
4031
|
+
function Y(e, t) {
|
|
4206
4032
|
return e && typeof e.$instanceOf == "function" && e.$instanceOf(t);
|
|
4207
4033
|
}
|
|
4208
|
-
function
|
|
4034
|
+
function He(e) {
|
|
4209
4035
|
return e && e.length;
|
|
4210
4036
|
}
|
|
4211
|
-
function
|
|
4212
|
-
return
|
|
4213
|
-
return
|
|
4037
|
+
function X(e, t) {
|
|
4038
|
+
return He(e) && L(e, function(e) {
|
|
4039
|
+
return Y(e, t);
|
|
4214
4040
|
});
|
|
4215
4041
|
}
|
|
4216
|
-
function
|
|
4217
|
-
return
|
|
4218
|
-
return
|
|
4042
|
+
function Ue(e, t) {
|
|
4043
|
+
return L(t, function(t) {
|
|
4044
|
+
return Y(e, t);
|
|
4219
4045
|
});
|
|
4220
4046
|
}
|
|
4221
|
-
function
|
|
4222
|
-
let r = t.name, i =
|
|
4223
|
-
return r === e &&
|
|
4047
|
+
function Z(e, t, n) {
|
|
4048
|
+
let r = t.name, i = Ve[r.replace(/flowable:/, "")];
|
|
4049
|
+
return r === e && Ue(n, i);
|
|
4224
4050
|
}
|
|
4225
|
-
function
|
|
4051
|
+
function We(e) {
|
|
4226
4052
|
e.on("property.clone", function(e) {
|
|
4227
4053
|
let t = e.newElement, n = e.propertyDescriptor;
|
|
4228
4054
|
this.canCloneProperty(t, n);
|
|
4229
4055
|
}, this);
|
|
4230
4056
|
}
|
|
4231
|
-
|
|
4232
|
-
if (
|
|
4233
|
-
if (
|
|
4057
|
+
We.$inject = ["eventBus"], We.prototype.canCloneProperty = function(e, t) {
|
|
4058
|
+
if (Z("flowable:FailedJobRetryTimeCycle", t, e)) return X(e.eventDefinitions, "bpmn:TimerEventDefinition") || X(e.eventDefinitions, "bpmn:SignalEventDefinition") || Y(e.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
|
|
4059
|
+
if (Z("flowable:Connector", t, e) || Z("flowable:Field", t, e)) return X(e.eventDefinitions, "bpmn:MessageEventDefinition");
|
|
4234
4060
|
};
|
|
4235
4061
|
//#endregion
|
|
4236
4062
|
//#region src/components/bpmn-process-designer/plugins/extension-moddle/flowable/index.js
|
|
4237
|
-
var
|
|
4063
|
+
var Ge = {
|
|
4238
4064
|
__init__: ["FlowableModdleExtension"],
|
|
4239
|
-
FlowableModdleExtension: ["type",
|
|
4065
|
+
FlowableModdleExtension: ["type", We]
|
|
4240
4066
|
};
|
|
4241
|
-
|
|
4242
|
-
var
|
|
4067
|
+
O.registerLanguage("xml", M), O.registerLanguage("json", N);
|
|
4068
|
+
var Ke = {
|
|
4243
4069
|
name: "ProcessDesigner",
|
|
4244
4070
|
componentName: "MyProcessDesigner",
|
|
4245
4071
|
props: {
|
|
@@ -4322,24 +4148,24 @@ var It = {
|
|
|
4322
4148
|
computed: {
|
|
4323
4149
|
additionalModules() {
|
|
4324
4150
|
let e = [];
|
|
4325
|
-
if (this.onlyCustomizeAddi) return
|
|
4326
|
-
|
|
4327
|
-
let t = { translate: ["value",
|
|
4328
|
-
return e.push(t), this.simulation && e.push(
|
|
4151
|
+
if (this.onlyCustomizeAddi) return D(this.additionalModel) ? this.additionalModel || [] : [this.additionalModel];
|
|
4152
|
+
D(this.additionalModel) ? e.push(...this.additionalModel) : this.additionalModel && e.push(this.additionalModel);
|
|
4153
|
+
let t = { translate: ["value", De(this.translations || Oe)] };
|
|
4154
|
+
return e.push(t), this.simulation && e.push(A), e.push(le), this.prefix === "camunda" && e.push(Ie), this.prefix === "flowable" && e.push(Ge), this.prefix === "activiti" && e.push(Be), e;
|
|
4329
4155
|
},
|
|
4330
4156
|
moddleExtensions() {
|
|
4331
4157
|
let e = {};
|
|
4332
4158
|
if (this.onlyCustomizeModdle) return this.moddleExtension || null;
|
|
4333
4159
|
if (this.moddleExtension) for (let t in this.moddleExtension) e[t] = this.moddleExtension[t];
|
|
4334
4160
|
return this.prefix === "activiti" && (e.activiti = {
|
|
4335
|
-
...
|
|
4336
|
-
types: [...
|
|
4161
|
+
...Ae,
|
|
4162
|
+
types: [...Ae.types, ...this.extendTypes || []]
|
|
4337
4163
|
}), this.prefix === "flowable" && (e.flowable = {
|
|
4338
|
-
...
|
|
4339
|
-
types: [...
|
|
4164
|
+
...je,
|
|
4165
|
+
types: [...je.types, ...this.extendTypes || []]
|
|
4340
4166
|
}), this.prefix === "camunda" && (e.camunda = {
|
|
4341
|
-
...
|
|
4342
|
-
types: [...
|
|
4167
|
+
...ke,
|
|
4168
|
+
types: [...ke.types, ...this.extendTypes || []]
|
|
4343
4169
|
}), e;
|
|
4344
4170
|
}
|
|
4345
4171
|
},
|
|
@@ -4351,7 +4177,7 @@ var It = {
|
|
|
4351
4177
|
},
|
|
4352
4178
|
methods: {
|
|
4353
4179
|
initBpmnModeler() {
|
|
4354
|
-
this.bpmnModeler || (this.bpmnModeler =
|
|
4180
|
+
this.bpmnModeler || (this.bpmnModeler = S(new k({
|
|
4355
4181
|
container: this.$refs["bpmn-canvas"],
|
|
4356
4182
|
keyboard: this.keyboard ? { bindTo: document } : null,
|
|
4357
4183
|
additionalModules: this.additionalModules,
|
|
@@ -4381,7 +4207,7 @@ var It = {
|
|
|
4381
4207
|
});
|
|
4382
4208
|
},
|
|
4383
4209
|
async createNewDiagram(e) {
|
|
4384
|
-
let t = this.processId || `Process_${(/* @__PURE__ */ new Date()).getTime()}`, n = this.processName || `业务流程_${(/* @__PURE__ */ new Date()).getTime()}`, r = e ||
|
|
4210
|
+
let t = this.processId || `Process_${(/* @__PURE__ */ new Date()).getTime()}`, n = this.processName || `业务流程_${(/* @__PURE__ */ new Date()).getTime()}`, r = e || Ee(t, n, this.prefix);
|
|
4385
4211
|
try {
|
|
4386
4212
|
let { warnings: e } = await this.bpmnModeler.importXML(r);
|
|
4387
4213
|
this.bpmnModeler.get("canvas").zoom("fit-viewport", "center"), e != null && e.length;
|
|
@@ -4393,7 +4219,7 @@ var It = {
|
|
|
4393
4219
|
try {
|
|
4394
4220
|
let { err: r, xml: i } = await this.bpmnModeler.saveXML();
|
|
4395
4221
|
r && console.error(`[Process Designer Warn ]: ${r.message || r}`);
|
|
4396
|
-
let { definitions: a } = new
|
|
4222
|
+
let { definitions: a } = new j().xml2js(i);
|
|
4397
4223
|
if (t = a.process._name || t, e === "xml" || e === "bpmn") {
|
|
4398
4224
|
let { href: r, filename: a } = this.setEncoded(e.toUpperCase(), t, i);
|
|
4399
4225
|
n(r, a);
|
|
@@ -4488,122 +4314,122 @@ var It = {
|
|
|
4488
4314
|
});
|
|
4489
4315
|
},
|
|
4490
4316
|
previewProcessJson() {
|
|
4491
|
-
let e = new
|
|
4317
|
+
let e = new j();
|
|
4492
4318
|
this.bpmnModeler.saveXML({ format: !0 }).then(({ xml: t }) => {
|
|
4493
4319
|
let { definitions: n } = e.xml2js(t);
|
|
4494
4320
|
n ? this.previewResult = JSON.stringify(n, null, 4) : this.previewResult = "", this.previewType = "json", this.previewModelVisible = !0;
|
|
4495
4321
|
});
|
|
4496
4322
|
}
|
|
4497
4323
|
}
|
|
4498
|
-
},
|
|
4324
|
+
}, qe = { class: "my-process-designer" }, Je = { class: "my-process-designer__header" }, Ye = { class: "my-process-designer__container" }, Xe = {
|
|
4499
4325
|
ref: "bpmn-canvas",
|
|
4500
4326
|
class: "my-process-designer__canvas flow-background-image"
|
|
4501
4327
|
};
|
|
4502
|
-
function
|
|
4503
|
-
let
|
|
4504
|
-
return
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
default:
|
|
4509
|
-
|
|
4510
|
-
|
|
4328
|
+
function Ze(e, r, i, a, o, s) {
|
|
4329
|
+
let c = n, l = g, u = f, p = d, m = t;
|
|
4330
|
+
return w(), te("div", qe, [
|
|
4331
|
+
y("div", Je, [
|
|
4332
|
+
T(e.$slots, "control-header", {}, () => [
|
|
4333
|
+
x(u, { key: "file-control" }, {
|
|
4334
|
+
default: E(() => [
|
|
4335
|
+
T(e.$slots, "toolbar-buttons"),
|
|
4336
|
+
i.simulation ? (w(), _(l, {
|
|
4511
4337
|
key: 0,
|
|
4512
4338
|
effect: "light",
|
|
4513
4339
|
content: "导入流程"
|
|
4514
4340
|
}, {
|
|
4515
|
-
default:
|
|
4516
|
-
size:
|
|
4517
|
-
type:
|
|
4341
|
+
default: E(() => [x(c, {
|
|
4342
|
+
size: i.headerButtonSize,
|
|
4343
|
+
type: i.headerButtonType,
|
|
4518
4344
|
icon: "el-icon-folder-opened",
|
|
4519
|
-
onClick:
|
|
4345
|
+
onClick: r[0] || (r[0] = (t) => e.$refs.refFile.click())
|
|
4520
4346
|
}, {
|
|
4521
|
-
default:
|
|
4347
|
+
default: E(() => [...r[17] || (r[17] = [b(" 导入 ", -1)])]),
|
|
4522
4348
|
_: 1
|
|
4523
4349
|
}, 8, ["size", "type"])]),
|
|
4524
4350
|
_: 1
|
|
4525
|
-
})) :
|
|
4526
|
-
|
|
4527
|
-
content:
|
|
4528
|
-
|
|
4529
|
-
size:
|
|
4351
|
+
})) : v("v-if", !0),
|
|
4352
|
+
x(l, { effect: "light" }, {
|
|
4353
|
+
content: E(() => [
|
|
4354
|
+
x(c, {
|
|
4355
|
+
size: i.headerButtonSize,
|
|
4530
4356
|
text: "",
|
|
4531
|
-
onClick:
|
|
4357
|
+
onClick: r[1] || (r[1] = (e) => s.downloadProcessAsXml())
|
|
4532
4358
|
}, {
|
|
4533
|
-
default:
|
|
4359
|
+
default: E(() => [...r[19] || (r[19] = [b("下载为XML文件", -1)])]),
|
|
4534
4360
|
_: 1
|
|
4535
4361
|
}, 8, ["size"]),
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
size:
|
|
4362
|
+
r[22] || (r[22] = y("br", null, null, -1)),
|
|
4363
|
+
x(c, {
|
|
4364
|
+
size: i.headerButtonSize,
|
|
4539
4365
|
text: "",
|
|
4540
|
-
onClick:
|
|
4366
|
+
onClick: r[2] || (r[2] = (e) => s.downloadProcessAsSvg())
|
|
4541
4367
|
}, {
|
|
4542
|
-
default:
|
|
4368
|
+
default: E(() => [...r[20] || (r[20] = [b("下载为SVG文件", -1)])]),
|
|
4543
4369
|
_: 1
|
|
4544
4370
|
}, 8, ["size"]),
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
size:
|
|
4371
|
+
r[23] || (r[23] = y("br", null, null, -1)),
|
|
4372
|
+
x(c, {
|
|
4373
|
+
size: i.headerButtonSize,
|
|
4548
4374
|
text: "",
|
|
4549
|
-
onClick:
|
|
4375
|
+
onClick: r[3] || (r[3] = (e) => s.downloadProcessAsBpmn())
|
|
4550
4376
|
}, {
|
|
4551
|
-
default:
|
|
4377
|
+
default: E(() => [...r[21] || (r[21] = [b(" 下载为BPMN文件 ", -1)])]),
|
|
4552
4378
|
_: 1
|
|
4553
4379
|
}, 8, ["size"])
|
|
4554
4380
|
]),
|
|
4555
|
-
default:
|
|
4556
|
-
size:
|
|
4557
|
-
type:
|
|
4381
|
+
default: E(() => [x(c, {
|
|
4382
|
+
size: i.headerButtonSize,
|
|
4383
|
+
type: i.headerButtonType,
|
|
4558
4384
|
icon: "el-icon-download"
|
|
4559
4385
|
}, {
|
|
4560
|
-
default:
|
|
4386
|
+
default: E(() => [...r[18] || (r[18] = [b(" 下载 ", -1)])]),
|
|
4561
4387
|
_: 1
|
|
4562
4388
|
}, 8, ["size", "type"])]),
|
|
4563
4389
|
_: 1
|
|
4564
4390
|
}),
|
|
4565
|
-
|
|
4566
|
-
content:
|
|
4567
|
-
|
|
4568
|
-
size:
|
|
4391
|
+
x(l, { effect: "light" }, {
|
|
4392
|
+
content: E(() => [
|
|
4393
|
+
x(c, {
|
|
4394
|
+
size: i.headerButtonSize,
|
|
4569
4395
|
text: "",
|
|
4570
|
-
onClick:
|
|
4396
|
+
onClick: s.previewProcessXML
|
|
4571
4397
|
}, {
|
|
4572
|
-
default:
|
|
4398
|
+
default: E(() => [...r[24] || (r[24] = [b("预览XML", -1)])]),
|
|
4573
4399
|
_: 1
|
|
4574
4400
|
}, 8, ["size", "onClick"]),
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
size:
|
|
4401
|
+
r[26] || (r[26] = y("br", null, null, -1)),
|
|
4402
|
+
x(c, {
|
|
4403
|
+
size: i.headerButtonSize,
|
|
4578
4404
|
text: "",
|
|
4579
|
-
onClick:
|
|
4405
|
+
onClick: s.previewProcessJson
|
|
4580
4406
|
}, {
|
|
4581
|
-
default:
|
|
4407
|
+
default: E(() => [...r[25] || (r[25] = [b("预览JSON", -1)])]),
|
|
4582
4408
|
_: 1
|
|
4583
4409
|
}, 8, ["size", "onClick"])
|
|
4584
4410
|
]),
|
|
4585
|
-
default:
|
|
4586
|
-
size:
|
|
4587
|
-
type:
|
|
4411
|
+
default: E(() => [x(c, {
|
|
4412
|
+
size: i.headerButtonSize,
|
|
4413
|
+
type: i.headerButtonType,
|
|
4588
4414
|
icon: "el-icon-view"
|
|
4589
4415
|
}, {
|
|
4590
|
-
default:
|
|
4416
|
+
default: E(() => [...r[27] || (r[27] = [b("预览", -1)])]),
|
|
4591
4417
|
_: 1
|
|
4592
4418
|
}, 8, ["size", "type"])]),
|
|
4593
4419
|
_: 1
|
|
4594
4420
|
}),
|
|
4595
|
-
|
|
4421
|
+
i.simulation ? (w(), _(l, {
|
|
4596
4422
|
key: 1,
|
|
4597
4423
|
effect: "light",
|
|
4598
|
-
content:
|
|
4424
|
+
content: o.simulationStatus ? "退出模拟" : "开启模拟"
|
|
4599
4425
|
}, {
|
|
4600
|
-
default:
|
|
4601
|
-
size:
|
|
4602
|
-
type:
|
|
4426
|
+
default: E(() => [x(c, {
|
|
4427
|
+
size: i.headerButtonSize,
|
|
4428
|
+
type: i.headerButtonType,
|
|
4603
4429
|
icon: "el-icon-cpu",
|
|
4604
|
-
onClick:
|
|
4430
|
+
onClick: s.processSimulation
|
|
4605
4431
|
}, {
|
|
4606
|
-
default:
|
|
4432
|
+
default: E(() => [...r[28] || (r[28] = [b(" 模拟 ", -1)])]),
|
|
4607
4433
|
_: 1
|
|
4608
4434
|
}, 8, [
|
|
4609
4435
|
"size",
|
|
@@ -4611,165 +4437,165 @@ function Vt(e, t, n, r, i, a) {
|
|
|
4611
4437
|
"onClick"
|
|
4612
4438
|
])]),
|
|
4613
4439
|
_: 1
|
|
4614
|
-
}, 8, ["content"])) :
|
|
4440
|
+
}, 8, ["content"])) : v("v-if", !0)
|
|
4615
4441
|
]),
|
|
4616
4442
|
_: 3
|
|
4617
4443
|
}),
|
|
4618
|
-
|
|
4619
|
-
default:
|
|
4620
|
-
|
|
4444
|
+
x(u, { key: "align-control" }, {
|
|
4445
|
+
default: E(() => [
|
|
4446
|
+
x(l, {
|
|
4621
4447
|
effect: "light",
|
|
4622
4448
|
content: "向左对齐"
|
|
4623
4449
|
}, {
|
|
4624
|
-
default:
|
|
4625
|
-
size:
|
|
4450
|
+
default: E(() => [x(c, {
|
|
4451
|
+
size: i.headerButtonSize,
|
|
4626
4452
|
class: "align align-left",
|
|
4627
4453
|
icon: "el-icon-s-data",
|
|
4628
|
-
onClick:
|
|
4454
|
+
onClick: r[4] || (r[4] = (e) => s.elementsAlign("left"))
|
|
4629
4455
|
}, null, 8, ["size"])]),
|
|
4630
4456
|
_: 1
|
|
4631
4457
|
}),
|
|
4632
|
-
|
|
4458
|
+
x(l, {
|
|
4633
4459
|
effect: "light",
|
|
4634
4460
|
content: "向右对齐"
|
|
4635
4461
|
}, {
|
|
4636
|
-
default:
|
|
4637
|
-
size:
|
|
4462
|
+
default: E(() => [x(c, {
|
|
4463
|
+
size: i.headerButtonSize,
|
|
4638
4464
|
class: "align align-right",
|
|
4639
4465
|
icon: "el-icon-s-data",
|
|
4640
|
-
onClick:
|
|
4466
|
+
onClick: r[5] || (r[5] = (e) => s.elementsAlign("right"))
|
|
4641
4467
|
}, null, 8, ["size"])]),
|
|
4642
4468
|
_: 1
|
|
4643
4469
|
}),
|
|
4644
|
-
|
|
4470
|
+
x(l, {
|
|
4645
4471
|
effect: "light",
|
|
4646
4472
|
content: "向上对齐"
|
|
4647
4473
|
}, {
|
|
4648
|
-
default:
|
|
4649
|
-
size:
|
|
4474
|
+
default: E(() => [x(c, {
|
|
4475
|
+
size: i.headerButtonSize,
|
|
4650
4476
|
class: "align align-top",
|
|
4651
4477
|
icon: "el-icon-s-data",
|
|
4652
|
-
onClick:
|
|
4478
|
+
onClick: r[6] || (r[6] = (e) => s.elementsAlign("top"))
|
|
4653
4479
|
}, null, 8, ["size"])]),
|
|
4654
4480
|
_: 1
|
|
4655
4481
|
}),
|
|
4656
|
-
|
|
4482
|
+
x(l, {
|
|
4657
4483
|
effect: "light",
|
|
4658
4484
|
content: "向下对齐"
|
|
4659
4485
|
}, {
|
|
4660
|
-
default:
|
|
4661
|
-
size:
|
|
4486
|
+
default: E(() => [x(c, {
|
|
4487
|
+
size: i.headerButtonSize,
|
|
4662
4488
|
class: "align align-bottom",
|
|
4663
4489
|
icon: "el-icon-s-data",
|
|
4664
|
-
onClick:
|
|
4490
|
+
onClick: r[7] || (r[7] = (e) => s.elementsAlign("bottom"))
|
|
4665
4491
|
}, null, 8, ["size"])]),
|
|
4666
4492
|
_: 1
|
|
4667
4493
|
}),
|
|
4668
|
-
|
|
4494
|
+
x(l, {
|
|
4669
4495
|
effect: "light",
|
|
4670
4496
|
content: "水平居中"
|
|
4671
4497
|
}, {
|
|
4672
|
-
default:
|
|
4673
|
-
size:
|
|
4498
|
+
default: E(() => [x(c, {
|
|
4499
|
+
size: i.headerButtonSize,
|
|
4674
4500
|
class: "align align-center",
|
|
4675
4501
|
icon: "el-icon-s-data",
|
|
4676
|
-
onClick:
|
|
4502
|
+
onClick: r[8] || (r[8] = (e) => s.elementsAlign("center"))
|
|
4677
4503
|
}, null, 8, ["size"])]),
|
|
4678
4504
|
_: 1
|
|
4679
4505
|
}),
|
|
4680
|
-
|
|
4506
|
+
x(l, {
|
|
4681
4507
|
effect: "light",
|
|
4682
4508
|
content: "垂直居中"
|
|
4683
4509
|
}, {
|
|
4684
|
-
default:
|
|
4685
|
-
size:
|
|
4510
|
+
default: E(() => [x(c, {
|
|
4511
|
+
size: i.headerButtonSize,
|
|
4686
4512
|
class: "align align-middle",
|
|
4687
4513
|
icon: "el-icon-s-data",
|
|
4688
|
-
onClick:
|
|
4514
|
+
onClick: r[9] || (r[9] = (e) => s.elementsAlign("middle"))
|
|
4689
4515
|
}, null, 8, ["size"])]),
|
|
4690
4516
|
_: 1
|
|
4691
4517
|
})
|
|
4692
4518
|
]),
|
|
4693
4519
|
_: 1
|
|
4694
4520
|
}),
|
|
4695
|
-
|
|
4696
|
-
default:
|
|
4697
|
-
|
|
4521
|
+
x(u, { key: "scale-control" }, {
|
|
4522
|
+
default: E(() => [
|
|
4523
|
+
x(l, {
|
|
4698
4524
|
effect: "light",
|
|
4699
4525
|
content: "缩小视图"
|
|
4700
4526
|
}, {
|
|
4701
|
-
default:
|
|
4702
|
-
size:
|
|
4703
|
-
disabled:
|
|
4527
|
+
default: E(() => [x(c, {
|
|
4528
|
+
size: i.headerButtonSize,
|
|
4529
|
+
disabled: o.defaultZoom < .2,
|
|
4704
4530
|
icon: "el-icon-zoom-out",
|
|
4705
|
-
onClick:
|
|
4531
|
+
onClick: r[10] || (r[10] = (e) => s.processZoomOut())
|
|
4706
4532
|
}, null, 8, ["size", "disabled"])]),
|
|
4707
4533
|
_: 1
|
|
4708
4534
|
}),
|
|
4709
|
-
|
|
4710
|
-
default:
|
|
4535
|
+
x(c, { size: i.headerButtonSize }, {
|
|
4536
|
+
default: E(() => [b(ae(`${Math.floor(o.defaultZoom * 10 * 10)}%`), 1)]),
|
|
4711
4537
|
_: 1
|
|
4712
4538
|
}, 8, ["size"]),
|
|
4713
|
-
|
|
4539
|
+
x(l, {
|
|
4714
4540
|
effect: "light",
|
|
4715
4541
|
content: "放大视图"
|
|
4716
4542
|
}, {
|
|
4717
|
-
default:
|
|
4718
|
-
size:
|
|
4719
|
-
disabled:
|
|
4543
|
+
default: E(() => [x(c, {
|
|
4544
|
+
size: i.headerButtonSize,
|
|
4545
|
+
disabled: o.defaultZoom > 4,
|
|
4720
4546
|
icon: "el-icon-zoom-in",
|
|
4721
|
-
onClick:
|
|
4547
|
+
onClick: r[11] || (r[11] = (e) => s.processZoomIn())
|
|
4722
4548
|
}, null, 8, ["size", "disabled"])]),
|
|
4723
4549
|
_: 1
|
|
4724
4550
|
}),
|
|
4725
|
-
|
|
4551
|
+
x(l, {
|
|
4726
4552
|
effect: "light",
|
|
4727
4553
|
content: "重置视图并居中"
|
|
4728
4554
|
}, {
|
|
4729
|
-
default:
|
|
4730
|
-
size:
|
|
4555
|
+
default: E(() => [x(c, {
|
|
4556
|
+
size: i.headerButtonSize,
|
|
4731
4557
|
icon: "el-icon-c-scale-to-original",
|
|
4732
|
-
onClick:
|
|
4558
|
+
onClick: r[12] || (r[12] = (e) => s.processReZoom())
|
|
4733
4559
|
}, null, 8, ["size"])]),
|
|
4734
4560
|
_: 1
|
|
4735
4561
|
})
|
|
4736
4562
|
]),
|
|
4737
4563
|
_: 1
|
|
4738
4564
|
}),
|
|
4739
|
-
|
|
4740
|
-
default:
|
|
4741
|
-
|
|
4565
|
+
x(u, { key: "stack-control" }, {
|
|
4566
|
+
default: E(() => [
|
|
4567
|
+
x(l, {
|
|
4742
4568
|
effect: "light",
|
|
4743
4569
|
content: "撤销"
|
|
4744
4570
|
}, {
|
|
4745
|
-
default:
|
|
4746
|
-
size:
|
|
4747
|
-
disabled: !
|
|
4571
|
+
default: E(() => [x(c, {
|
|
4572
|
+
size: i.headerButtonSize,
|
|
4573
|
+
disabled: !o.revocable,
|
|
4748
4574
|
icon: "el-icon-refresh-left",
|
|
4749
|
-
onClick:
|
|
4575
|
+
onClick: r[13] || (r[13] = (e) => s.processUndo())
|
|
4750
4576
|
}, null, 8, ["size", "disabled"])]),
|
|
4751
4577
|
_: 1
|
|
4752
4578
|
}),
|
|
4753
|
-
|
|
4579
|
+
x(l, {
|
|
4754
4580
|
effect: "light",
|
|
4755
4581
|
content: "恢复"
|
|
4756
4582
|
}, {
|
|
4757
|
-
default:
|
|
4758
|
-
size:
|
|
4759
|
-
disabled: !
|
|
4583
|
+
default: E(() => [x(c, {
|
|
4584
|
+
size: i.headerButtonSize,
|
|
4585
|
+
disabled: !o.recoverable,
|
|
4760
4586
|
icon: "el-icon-refresh-right",
|
|
4761
|
-
onClick:
|
|
4587
|
+
onClick: r[14] || (r[14] = (e) => s.processRedo())
|
|
4762
4588
|
}, null, 8, ["size", "disabled"])]),
|
|
4763
4589
|
_: 1
|
|
4764
4590
|
}),
|
|
4765
|
-
|
|
4591
|
+
x(l, {
|
|
4766
4592
|
effect: "light",
|
|
4767
4593
|
content: "重新绘制"
|
|
4768
4594
|
}, {
|
|
4769
|
-
default:
|
|
4770
|
-
size:
|
|
4595
|
+
default: E(() => [x(c, {
|
|
4596
|
+
size: i.headerButtonSize,
|
|
4771
4597
|
icon: "el-icon-refresh",
|
|
4772
|
-
onClick:
|
|
4598
|
+
onClick: s.processRestart
|
|
4773
4599
|
}, null, 8, ["size", "onClick"])]),
|
|
4774
4600
|
_: 1
|
|
4775
4601
|
})
|
|
@@ -4777,20 +4603,20 @@ function Vt(e, t, n, r, i, a) {
|
|
|
4777
4603
|
_: 1
|
|
4778
4604
|
})
|
|
4779
4605
|
]),
|
|
4780
|
-
|
|
4781
|
-
|
|
4606
|
+
v(" 用于打开本地文件"),
|
|
4607
|
+
y("input", {
|
|
4782
4608
|
id: "files",
|
|
4783
4609
|
ref: "refFile",
|
|
4784
4610
|
type: "file",
|
|
4785
4611
|
style: { display: "none" },
|
|
4786
4612
|
accept: ".xml, .bpmn",
|
|
4787
|
-
onChange:
|
|
4613
|
+
onChange: r[15] || (r[15] = (...e) => s.importLocalFile && s.importLocalFile(...e))
|
|
4788
4614
|
}, null, 544)
|
|
4789
4615
|
]),
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
modelValue:
|
|
4793
|
-
"onUpdate:modelValue":
|
|
4616
|
+
y("div", Ye, [y("div", Xe, null, 512)]),
|
|
4617
|
+
x(m, {
|
|
4618
|
+
modelValue: o.previewModelVisible,
|
|
4619
|
+
"onUpdate:modelValue": r[16] || (r[16] = (e) => o.previewModelVisible = e),
|
|
4794
4620
|
title: "预览",
|
|
4795
4621
|
class: "flow-dialog",
|
|
4796
4622
|
width: "60vw",
|
|
@@ -4798,26 +4624,26 @@ function Vt(e, t, n, r, i, a) {
|
|
|
4798
4624
|
"body-padding": !1,
|
|
4799
4625
|
"destroy-on-close": ""
|
|
4800
4626
|
}, {
|
|
4801
|
-
default:
|
|
4802
|
-
language:
|
|
4803
|
-
code:
|
|
4627
|
+
default: E(() => [x(p, {
|
|
4628
|
+
language: o.previewType,
|
|
4629
|
+
code: o.previewResult
|
|
4804
4630
|
}, null, 8, ["language", "code"])]),
|
|
4805
4631
|
_: 1
|
|
4806
4632
|
}, 8, ["modelValue"])
|
|
4807
4633
|
]);
|
|
4808
4634
|
}
|
|
4809
|
-
var
|
|
4635
|
+
var Qe = /* @__PURE__ */ e(Ke, [["render", Ze]]);
|
|
4810
4636
|
//#endregion
|
|
4811
4637
|
//#region src/components/bpmn-process-designer/plugins/content-pad/contentPadProvider.js
|
|
4812
|
-
function
|
|
4638
|
+
function Q(e, t, n, r, i, a, o, s, c, l, u, d, f) {
|
|
4813
4639
|
e = e || {}, r.registerProvider(this), this._contextPad = r, this._modeling = i, this._elementFactory = a, this._connect = o, this._create = s, this._popupMenu = c, this._canvas = l, this._rules = u, this._translate = d, e.autoPlace !== !1 && (this._autoPlace = t.get("autoPlace", !1)), n.on("create.end", 250, function(e) {
|
|
4814
4640
|
let t = e.context.shape;
|
|
4815
|
-
if (!
|
|
4641
|
+
if (!he(e) || !r.isOpen(t)) return;
|
|
4816
4642
|
let n = r.getEntries(t);
|
|
4817
4643
|
n.replace && n.replace.action.click(e, t);
|
|
4818
4644
|
});
|
|
4819
4645
|
}
|
|
4820
|
-
|
|
4646
|
+
Q.$inject = [
|
|
4821
4647
|
"config.contextPad",
|
|
4822
4648
|
"injector",
|
|
4823
4649
|
"eventBus",
|
|
@@ -4831,7 +4657,7 @@ Ut.$inject = [
|
|
|
4831
4657
|
"rules",
|
|
4832
4658
|
"translate",
|
|
4833
4659
|
"elementRegistry"
|
|
4834
|
-
],
|
|
4660
|
+
], Q.prototype.getContextPadEntries = function(e) {
|
|
4835
4661
|
let t = this._contextPad, n = this._modeling, r = this._elementFactory, i = this._connect, a = this._create, o = this._popupMenu, s = this._canvas, c = this._rules, l = this._autoPlace, u = this._translate, d = {};
|
|
4836
4662
|
if (e.type === "label") return d;
|
|
4837
4663
|
let f = e.businessObject;
|
|
@@ -4841,17 +4667,17 @@ Ut.$inject = [
|
|
|
4841
4667
|
function m() {
|
|
4842
4668
|
n.removeElements([e]);
|
|
4843
4669
|
}
|
|
4844
|
-
function
|
|
4670
|
+
function ee(e) {
|
|
4845
4671
|
let n = s.getContainer(), r = t.getPad(e).html, i = n.getBoundingClientRect(), a = r.getBoundingClientRect(), o = a.top - i.top;
|
|
4846
4672
|
return {
|
|
4847
4673
|
x: a.left - i.left,
|
|
4848
4674
|
y: o + a.height + 5
|
|
4849
4675
|
};
|
|
4850
4676
|
}
|
|
4851
|
-
function
|
|
4677
|
+
function h(e, t, n, i) {
|
|
4852
4678
|
typeof n != "string" && (i = n, n = u("Append {type}", { type: e.replace(/^bpmn:/, "") }));
|
|
4853
4679
|
function o(t, n) {
|
|
4854
|
-
let o = r.createShape(
|
|
4680
|
+
let o = r.createShape(P({ type: e }, i));
|
|
4855
4681
|
a.start(t, o, { source: n });
|
|
4856
4682
|
}
|
|
4857
4683
|
return {
|
|
@@ -4861,37 +4687,37 @@ Ut.$inject = [
|
|
|
4861
4687
|
action: {
|
|
4862
4688
|
dragstart: o,
|
|
4863
4689
|
click: l ? function(t, n) {
|
|
4864
|
-
let a = r.createShape(
|
|
4690
|
+
let a = r.createShape(P({ type: e }, i));
|
|
4865
4691
|
l.append(n, a);
|
|
4866
4692
|
} : o
|
|
4867
4693
|
}
|
|
4868
4694
|
};
|
|
4869
4695
|
}
|
|
4870
|
-
function
|
|
4696
|
+
function g(e) {
|
|
4871
4697
|
return function(r, i) {
|
|
4872
4698
|
n.splitLane(i, e), t.open(i, !0);
|
|
4873
4699
|
};
|
|
4874
4700
|
}
|
|
4875
|
-
if (
|
|
4876
|
-
let t =
|
|
4877
|
-
|
|
4701
|
+
if (z(f, ["bpmn:Lane", "bpmn:Participant"]) && pe(f)) {
|
|
4702
|
+
let t = me(e);
|
|
4703
|
+
P(d, { "lane-insert-above": {
|
|
4878
4704
|
group: "lane-insert-above",
|
|
4879
4705
|
className: "bpmn-icon-lane-insert-above",
|
|
4880
4706
|
title: u("Add Lane above"),
|
|
4881
4707
|
action: { click: function(e, t) {
|
|
4882
4708
|
n.addLane(t, "top");
|
|
4883
4709
|
} }
|
|
4884
|
-
} }), t.length < 2 && (e.height >= 120 &&
|
|
4710
|
+
} }), t.length < 2 && (e.height >= 120 && P(d, { "lane-divide-two": {
|
|
4885
4711
|
group: "lane-divide",
|
|
4886
4712
|
className: "bpmn-icon-lane-divide-two",
|
|
4887
4713
|
title: u("Divide into two Lanes"),
|
|
4888
|
-
action: { click:
|
|
4889
|
-
} }), e.height >= 180 &&
|
|
4714
|
+
action: { click: g(2) }
|
|
4715
|
+
} }), e.height >= 180 && P(d, { "lane-divide-three": {
|
|
4890
4716
|
group: "lane-divide",
|
|
4891
4717
|
className: "bpmn-icon-lane-divide-three",
|
|
4892
4718
|
title: u("Divide into three Lanes"),
|
|
4893
|
-
action: { click:
|
|
4894
|
-
} })),
|
|
4719
|
+
action: { click: g(3) }
|
|
4720
|
+
} })), P(d, { "lane-insert-below": {
|
|
4895
4721
|
group: "lane-insert-below",
|
|
4896
4722
|
className: "bpmn-icon-lane-insert-below",
|
|
4897
4723
|
title: u("Add Lane below"),
|
|
@@ -4900,35 +4726,35 @@ Ut.$inject = [
|
|
|
4900
4726
|
} }
|
|
4901
4727
|
} });
|
|
4902
4728
|
}
|
|
4903
|
-
|
|
4904
|
-
"append.receive-task":
|
|
4905
|
-
"append.message-intermediate-event":
|
|
4906
|
-
"append.timer-intermediate-event":
|
|
4907
|
-
"append.condition-intermediate-event":
|
|
4908
|
-
"append.signal-intermediate-event":
|
|
4909
|
-
}) :
|
|
4910
|
-
"append.end-event":
|
|
4911
|
-
"append.gateway":
|
|
4912
|
-
"append.append-task":
|
|
4913
|
-
"append.intermediate-event":
|
|
4914
|
-
})), o.isEmpty(e, "bpmn-replace") ||
|
|
4729
|
+
R(f, "bpmn:FlowNode") && (R(f, "bpmn:EventBasedGateway") ? P(d, {
|
|
4730
|
+
"append.receive-task": h("bpmn:ReceiveTask", "bpmn-icon-receive-task", u("Append ReceiveTask")),
|
|
4731
|
+
"append.message-intermediate-event": h("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-message", u("Append MessageIntermediateCatchEvent"), { eventDefinitionType: "bpmn:MessageEventDefinition" }),
|
|
4732
|
+
"append.timer-intermediate-event": h("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-timer", u("Append TimerIntermediateCatchEvent"), { eventDefinitionType: "bpmn:TimerEventDefinition" }),
|
|
4733
|
+
"append.condition-intermediate-event": h("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-condition", u("Append ConditionIntermediateCatchEvent"), { eventDefinitionType: "bpmn:ConditionalEventDefinition" }),
|
|
4734
|
+
"append.signal-intermediate-event": h("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-signal", u("Append SignalIntermediateCatchEvent"), { eventDefinitionType: "bpmn:SignalEventDefinition" })
|
|
4735
|
+
}) : $e(f, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? P(d, { "append.compensation-activity": h("bpmn:Task", "bpmn-icon-task", u("Append compensation activity"), { isForCompensation: !0 }) }) : !R(f, "bpmn:EndEvent") && !f.isForCompensation && !$e(f, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !fe(f) && P(d, {
|
|
4736
|
+
"append.end-event": h("bpmn:EndEvent", "bpmn-icon-end-event-none", u("Append EndEvent")),
|
|
4737
|
+
"append.gateway": h("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", u("Append Gateway")),
|
|
4738
|
+
"append.append-task": h("bpmn:UserTask", "bpmn-icon-user-task", u("Append Task")),
|
|
4739
|
+
"append.intermediate-event": h("bpmn:IntermediateThrowEvent", "bpmn-icon-intermediate-event-none", u("Append Intermediate/Boundary Event"))
|
|
4740
|
+
})), o.isEmpty(e, "bpmn-replace") || P(d, { replace: {
|
|
4915
4741
|
group: "edit",
|
|
4916
4742
|
className: "bpmn-icon-screw-wrench",
|
|
4917
4743
|
title: u("Change type"),
|
|
4918
4744
|
action: { click: function(e, t) {
|
|
4919
|
-
let n =
|
|
4745
|
+
let n = P(ee(t), { cursor: {
|
|
4920
4746
|
x: e.x,
|
|
4921
4747
|
y: e.y
|
|
4922
4748
|
} });
|
|
4923
4749
|
o.open(t, "bpmn-replace", n);
|
|
4924
4750
|
} }
|
|
4925
|
-
} }),
|
|
4751
|
+
} }), z(f, [
|
|
4926
4752
|
"bpmn:FlowNode",
|
|
4927
4753
|
"bpmn:InteractionNode",
|
|
4928
4754
|
"bpmn:DataObjectReference",
|
|
4929
4755
|
"bpmn:DataStoreReference"
|
|
4930
|
-
]) &&
|
|
4931
|
-
"append.text-annotation":
|
|
4756
|
+
]) && P(d, {
|
|
4757
|
+
"append.text-annotation": h("bpmn:TextAnnotation", "bpmn-icon-text-annotation"),
|
|
4932
4758
|
connect: {
|
|
4933
4759
|
group: "connect",
|
|
4934
4760
|
className: "bpmn-icon-connection-multi",
|
|
@@ -4938,7 +4764,7 @@ Ut.$inject = [
|
|
|
4938
4764
|
dragstart: p
|
|
4939
4765
|
}
|
|
4940
4766
|
}
|
|
4941
|
-
}),
|
|
4767
|
+
}), z(f, ["bpmn:DataObjectReference", "bpmn:DataStoreReference"]) && P(d, { connect: {
|
|
4942
4768
|
group: "connect",
|
|
4943
4769
|
className: "bpmn-icon-connection-multi",
|
|
4944
4770
|
title: u("Connect using DataInputAssociation"),
|
|
@@ -4946,38 +4772,38 @@ Ut.$inject = [
|
|
|
4946
4772
|
click: p,
|
|
4947
4773
|
dragstart: p
|
|
4948
4774
|
}
|
|
4949
|
-
} }),
|
|
4950
|
-
let
|
|
4951
|
-
return
|
|
4775
|
+
} }), R(f, "bpmn:Group") && P(d, { "append.text-annotation": h("bpmn:TextAnnotation", "bpmn-icon-text-annotation") });
|
|
4776
|
+
let _ = c.allowed("elements.delete", { elements: [e] });
|
|
4777
|
+
return ue(_) && (_ = _[0] === e), _ && P(d, { delete: {
|
|
4952
4778
|
group: "edit",
|
|
4953
4779
|
className: "bpmn-icon-trash",
|
|
4954
4780
|
title: u("Remove"),
|
|
4955
4781
|
action: { click: m }
|
|
4956
4782
|
} }), d;
|
|
4957
4783
|
};
|
|
4958
|
-
function
|
|
4784
|
+
function $e(e, t, n) {
|
|
4959
4785
|
let r = e.$instanceOf(t), i = !1;
|
|
4960
|
-
return
|
|
4786
|
+
return F(e.eventDefinitions || [], function(e) {
|
|
4961
4787
|
e.$type === n && (i = !0);
|
|
4962
4788
|
}), r && i;
|
|
4963
4789
|
}
|
|
4964
4790
|
//#endregion
|
|
4965
4791
|
//#region src/components/bpmn-process-designer/plugins/content-pad/index.js
|
|
4966
|
-
var
|
|
4792
|
+
var et = {
|
|
4967
4793
|
__init__: ["contextPadProvider"],
|
|
4968
|
-
contextPadProvider: ["type",
|
|
4794
|
+
contextPadProvider: ["type", Q]
|
|
4969
4795
|
};
|
|
4970
4796
|
//#endregion
|
|
4971
4797
|
//#region src/components/bpmn-process-designer/plugins/palette/CustomPalette.js
|
|
4972
|
-
function
|
|
4973
|
-
|
|
4798
|
+
function $(e, t, n, r, i, a, o, s, c) {
|
|
4799
|
+
ge.call(this, e, t, n, r, i, a, o, s, c, 2e3), this._create = t, this._elementFactory = n, this._spaceTool = r, this._lassoTool = i, this._handTool = a, this._globalConnect = o, this._moddle = s, this._translate = c;
|
|
4974
4800
|
}
|
|
4975
|
-
var
|
|
4976
|
-
|
|
4801
|
+
var tt = function() {};
|
|
4802
|
+
tt.prototype = ge.prototype, tt.prototype.getPaletteEntries = function() {
|
|
4977
4803
|
let e = {}, t = this._create, n = this._elementFactory, r = this._spaceTool, i = this._lassoTool, a = this._handTool, o = this._globalConnect, s = this._translate;
|
|
4978
4804
|
function c(e, r, i, a, o) {
|
|
4979
4805
|
function c(r) {
|
|
4980
|
-
let i = n.createShape(
|
|
4806
|
+
let i = n.createShape(P({ type: e }, o));
|
|
4981
4807
|
e === "bpmn:UserTask" && (i.businessObject.candidateUsers = "${handlers}"), o && (i.businessObject.di.isExpanded = o.isExpanded), t.start(r, i);
|
|
4982
4808
|
}
|
|
4983
4809
|
let l = e.replace(/^bpmn:/, "");
|
|
@@ -5008,7 +4834,7 @@ $.prototype = Ue.prototype, $.prototype.getPaletteEntries = function() {
|
|
|
5008
4834
|
function u(e) {
|
|
5009
4835
|
t.start(e, n.createParticipantShape());
|
|
5010
4836
|
}
|
|
5011
|
-
return
|
|
4837
|
+
return P(e, {
|
|
5012
4838
|
"hand-tool": {
|
|
5013
4839
|
group: "tools",
|
|
5014
4840
|
className: "bpmn-icon-hand-tool",
|
|
@@ -5073,7 +4899,7 @@ $.prototype = Ue.prototype, $.prototype.getPaletteEntries = function() {
|
|
|
5073
4899
|
}
|
|
5074
4900
|
}
|
|
5075
4901
|
}), e;
|
|
5076
|
-
},
|
|
4902
|
+
}, $.$inject = [
|
|
5077
4903
|
"palette",
|
|
5078
4904
|
"create",
|
|
5079
4905
|
"elementFactory",
|
|
@@ -5083,19 +4909,19 @@ $.prototype = Ue.prototype, $.prototype.getPaletteEntries = function() {
|
|
|
5083
4909
|
"globalConnect",
|
|
5084
4910
|
"moddle",
|
|
5085
4911
|
"translate"
|
|
5086
|
-
],
|
|
4912
|
+
], $.prototype = new tt(), $.prototype.constructor = $;
|
|
5087
4913
|
//#endregion
|
|
5088
4914
|
//#region src/components/bpmn-process-designer/plugins/palette/index.js
|
|
5089
|
-
var
|
|
4915
|
+
var nt = {
|
|
5090
4916
|
__init__: ["customPalette"],
|
|
5091
|
-
customPalette: ["type",
|
|
4917
|
+
customPalette: ["type", $]
|
|
5092
4918
|
};
|
|
5093
4919
|
//#endregion
|
|
5094
4920
|
//#region src/components/bpmn-process-designer/modules/auto-place/CustomAutoPlace.js
|
|
5095
|
-
function
|
|
5096
|
-
|
|
4921
|
+
function rt(e, t) {
|
|
4922
|
+
B.call(this, e, t, 3e3), e.on("autoPlace", 3e3, function(e) {
|
|
5097
4923
|
let t = e.shape, n = e.source;
|
|
5098
|
-
return
|
|
4924
|
+
return st(n, t);
|
|
5099
4925
|
}), this.append = function(n, r, i) {
|
|
5100
4926
|
e.fire("autoPlace.start", {
|
|
5101
4927
|
source: n,
|
|
@@ -5113,7 +4939,7 @@ function qt(e, t) {
|
|
|
5113
4939
|
}), o;
|
|
5114
4940
|
};
|
|
5115
4941
|
}
|
|
5116
|
-
function
|
|
4942
|
+
function it(e) {
|
|
5117
4943
|
return {
|
|
5118
4944
|
top: e.y,
|
|
5119
4945
|
right: e.x + (e.width || 0),
|
|
@@ -5121,35 +4947,35 @@ function Jt(e) {
|
|
|
5121
4947
|
left: e.x
|
|
5122
4948
|
};
|
|
5123
4949
|
}
|
|
5124
|
-
function
|
|
4950
|
+
function at(e) {
|
|
5125
4951
|
return {
|
|
5126
4952
|
x: Math.round(e.x),
|
|
5127
4953
|
y: Math.round(e.y)
|
|
5128
4954
|
};
|
|
5129
4955
|
}
|
|
5130
|
-
function
|
|
5131
|
-
return
|
|
4956
|
+
function ot(e) {
|
|
4957
|
+
return at({
|
|
5132
4958
|
x: e.x + (e.width || 0) / 2,
|
|
5133
4959
|
y: e.y + (e.height || 0) / 2
|
|
5134
4960
|
});
|
|
5135
4961
|
}
|
|
5136
|
-
function
|
|
4962
|
+
function st(e, t, n) {
|
|
5137
4963
|
n || (n = {});
|
|
5138
|
-
let r = n.defaultDistance || 50, i =
|
|
4964
|
+
let r = n.defaultDistance || 50, i = ot(e), a = it(e);
|
|
5139
4965
|
return {
|
|
5140
4966
|
x: i.x,
|
|
5141
4967
|
y: a.bottom + r + t.height / 2
|
|
5142
4968
|
};
|
|
5143
4969
|
}
|
|
5144
|
-
var
|
|
5145
|
-
|
|
4970
|
+
var ct = function() {};
|
|
4971
|
+
ct.prototype = B.prototype, rt.prototype = new ct(), rt.prototype.constructor = B;
|
|
5146
4972
|
//#endregion
|
|
5147
4973
|
//#region src/components/bpmn-process-designer/modules/auto-place/rewriteAutoPlace.js
|
|
5148
|
-
var
|
|
5149
|
-
function
|
|
5150
|
-
e.on("autoPlace",
|
|
4974
|
+
var lt = 200, ut = 100;
|
|
4975
|
+
function dt(e, t, n) {
|
|
4976
|
+
e.on("autoPlace", ut, function(e) {
|
|
5151
4977
|
let t = e.shape, n = e.source;
|
|
5152
|
-
return
|
|
4978
|
+
return ft(n, t);
|
|
5153
4979
|
}), e.on("autoPlace.end", function(e) {
|
|
5154
4980
|
n.scrollToElement(e.shape);
|
|
5155
4981
|
}), this.append = function(n, r, i) {
|
|
@@ -5167,28 +4993,28 @@ function tn(e, t, n) {
|
|
|
5167
4993
|
}), o;
|
|
5168
4994
|
};
|
|
5169
4995
|
}
|
|
5170
|
-
|
|
4996
|
+
dt.$inject = [
|
|
5171
4997
|
"eventBus",
|
|
5172
4998
|
"modeling",
|
|
5173
4999
|
"canvas"
|
|
5174
5000
|
];
|
|
5175
|
-
function
|
|
5176
|
-
let n =
|
|
5001
|
+
function ft(e, t) {
|
|
5002
|
+
let n = lt, r = ve(e);
|
|
5177
5003
|
return {
|
|
5178
|
-
x:
|
|
5004
|
+
x: _e(e).right + n + t.width / 2,
|
|
5179
5005
|
y: r.y
|
|
5180
5006
|
};
|
|
5181
5007
|
}
|
|
5182
5008
|
//#endregion
|
|
5183
5009
|
//#region src/components/bpmn-process-designer/modules/auto-place/index.js
|
|
5184
|
-
var
|
|
5010
|
+
var pt = {
|
|
5185
5011
|
__init__: ["autoPlaceSelectionBehavior"],
|
|
5186
|
-
autoPlace: ["type",
|
|
5187
|
-
},
|
|
5012
|
+
autoPlace: ["type", dt]
|
|
5013
|
+
}, mt = {
|
|
5188
5014
|
name: "FlowDesigner",
|
|
5189
5015
|
components: {
|
|
5190
|
-
PropertiesPanel:
|
|
5191
|
-
ProcessDesigner:
|
|
5016
|
+
PropertiesPanel: Te,
|
|
5017
|
+
ProcessDesigner: Qe
|
|
5192
5018
|
},
|
|
5193
5019
|
props: {
|
|
5194
5020
|
modelValue: String,
|
|
@@ -5214,10 +5040,10 @@ var rn = {
|
|
|
5214
5040
|
labelVisible: !1,
|
|
5215
5041
|
prefix: "flowable",
|
|
5216
5042
|
headerButtonSize: "small",
|
|
5217
|
-
additionalModel:
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5043
|
+
additionalModel: S([
|
|
5044
|
+
et,
|
|
5045
|
+
nt,
|
|
5046
|
+
pt
|
|
5221
5047
|
])
|
|
5222
5048
|
}
|
|
5223
5049
|
};
|
|
@@ -5230,10 +5056,10 @@ var rn = {
|
|
|
5230
5056
|
await this.$nextTick(), await this.$refs.processDesigner.createNewDiagram(this.modelValue);
|
|
5231
5057
|
}
|
|
5232
5058
|
}
|
|
5233
|
-
},
|
|
5234
|
-
function
|
|
5235
|
-
let o =
|
|
5236
|
-
return
|
|
5059
|
+
}, ht = { class: "flow-designer" };
|
|
5060
|
+
function gt(e, t, n, r, i, a) {
|
|
5061
|
+
let o = Qe, s = Te;
|
|
5062
|
+
return w(), te("div", ht, [(w(), _(o, C({ key: `designer-${i.reloadIndex}` }, i.controlForm, {
|
|
5237
5063
|
ref: "processDesigner",
|
|
5238
5064
|
"model-value": n.modelValue,
|
|
5239
5065
|
"extend-types": n.extendTypes,
|
|
@@ -5245,13 +5071,13 @@ function sn(e, t, n, r, i, a) {
|
|
|
5245
5071
|
onInput: t[0] || (t[0] = (t) => e.$emit("update:modelValue", t)),
|
|
5246
5072
|
onInitFinished: a.initModeler
|
|
5247
5073
|
}), {
|
|
5248
|
-
"toolbar-buttons":
|
|
5074
|
+
"toolbar-buttons": E(() => [T(e.$slots, "toolbar-buttons", { modeler: i.modeler })]),
|
|
5249
5075
|
_: 3
|
|
5250
5076
|
}, 16, [
|
|
5251
5077
|
"model-value",
|
|
5252
5078
|
"extend-types",
|
|
5253
5079
|
"onInitFinished"
|
|
5254
|
-
])), n.usePanel && (n.useTabs === null || n.useTabs === void 0 || n.useTabs.length > 0) ? (
|
|
5080
|
+
])), n.usePanel && (n.useTabs === null || n.useTabs === void 0 || n.useTabs.length > 0) ? (w(), _(s, {
|
|
5255
5081
|
key: `penal-${i.reloadIndex}`,
|
|
5256
5082
|
"panel-type": n.panelType,
|
|
5257
5083
|
"use-tabs": n.useTabs,
|
|
@@ -5260,19 +5086,19 @@ function sn(e, t, n, r, i, a) {
|
|
|
5260
5086
|
prefix: i.controlForm.prefix,
|
|
5261
5087
|
class: "process-panel"
|
|
5262
5088
|
}, {
|
|
5263
|
-
task:
|
|
5089
|
+
task: E(({ id: t, bpmnInstances: n, element: r, type: i }) => [T(e.$slots, "task", {
|
|
5264
5090
|
id: t,
|
|
5265
5091
|
bpmnInstances: n,
|
|
5266
5092
|
element: r,
|
|
5267
5093
|
type: i
|
|
5268
5094
|
})]),
|
|
5269
|
-
form:
|
|
5095
|
+
form: E(({ id: t, bpmnInstances: n, element: r, type: i }) => [T(e.$slots, "form", {
|
|
5270
5096
|
id: t,
|
|
5271
5097
|
bpmnInstances: n,
|
|
5272
5098
|
element: r,
|
|
5273
5099
|
type: i
|
|
5274
5100
|
})]),
|
|
5275
|
-
extend:
|
|
5101
|
+
extend: E(({ id: t, bpmnInstances: n, element: r, type: i }) => [T(e.$slots, "extend", {
|
|
5276
5102
|
id: t,
|
|
5277
5103
|
bpmnInstances: n,
|
|
5278
5104
|
element: r,
|
|
@@ -5285,8 +5111,8 @@ function sn(e, t, n, r, i, a) {
|
|
|
5285
5111
|
"bpmn-modeler",
|
|
5286
5112
|
"context",
|
|
5287
5113
|
"prefix"
|
|
5288
|
-
])) :
|
|
5114
|
+
])) : v("v-if", !0)]);
|
|
5289
5115
|
}
|
|
5290
|
-
var
|
|
5116
|
+
var _t = /* @__PURE__ */ e(mt, [["render", gt]]);
|
|
5291
5117
|
//#endregion
|
|
5292
|
-
export {
|
|
5118
|
+
export { _t as t };
|