@web-utils/component 4.0.16 → 5.0.0-beta01

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.
Files changed (314) hide show
  1. package/address-input/index.mjs +76 -74
  2. package/affix/index.mjs +71 -78
  3. package/aside-menu/index.mjs +20 -31
  4. package/avatar/index.mjs +94 -82
  5. package/awesome-button/index.mjs +54 -71
  6. package/capsule-tab/index.mjs +27 -32
  7. package/card/index.mjs +86 -69
  8. package/carousel/index.mjs +45 -32
  9. package/chat/index.mjs +441 -266
  10. package/chunk-file-uploader/index.mjs +2 -103
  11. package/chunks/ChunkFileUploader.C3EA0e5t.mjs +114 -0
  12. package/chunks/EditableTree.C_IJBL5b.mjs +648 -0
  13. package/chunks/ElementBaseInfo.DyuFR6fE.mjs +209 -0
  14. package/chunks/ElementDialog.C0IjriTW.mjs +681 -0
  15. package/chunks/ElementForm.ButuYDPA.mjs +627 -0
  16. package/chunks/ElementListeners.Dg3e_dmp.mjs +656 -0
  17. package/chunks/ElementMultiInstance.Dmi79FqA.mjs +290 -0
  18. package/chunks/ElementOtherConfig.C2AddGTp.mjs +51 -0
  19. package/chunks/ElementProperties.CfV8UF7L.mjs +196 -0
  20. package/chunks/ElementTaskConfig.Bn7ycGGn.mjs +446 -0
  21. package/chunks/FlowCondition.C6PdqOAW.mjs +194 -0
  22. package/chunks/FlowDesigner.uJYFfKpR.mjs +5101 -0
  23. package/chunks/FormBlock.BEENc22F.mjs +117 -0
  24. package/chunks/FormCascader.CaM-oEhv.mjs +1226 -0
  25. package/chunks/FormInputTime.Bg3UIP8H.mjs +1773 -0
  26. package/chunks/FormItem.H9OOvNzT.mjs +90 -0
  27. package/chunks/FormItemGroup.D9eRy-cZ.mjs +147 -0
  28. package/chunks/FormSelect.CanodoAI.mjs +1472 -0
  29. package/chunks/FormSwitch.DTqdaFjv.mjs +296 -0
  30. package/chunks/FormTemp.DiI5EfgK.mjs +139 -0
  31. package/chunks/FyCurd.DMj1dMK9.mjs +2622 -0
  32. package/chunks/FyForm.vgR8ujEF.mjs +904 -0
  33. package/chunks/FyFormDesign.DEWT6LsX.mjs +5600 -0
  34. package/chunks/FyUEditor.D_rEYfll.mjs +221 -0
  35. package/chunks/FyUpload.B2QKfTxF.mjs +504 -0
  36. package/chunks/Keyboard.ItiRy7Gb.mjs +379 -0
  37. package/chunks/MonacoEditor.Bd5Kui-Y.mjs +301 -0
  38. package/chunks/PageableTable.Bujb0NUx.mjs +658 -0
  39. package/chunks/RecordVideo.B35_dLty.mjs +116 -0
  40. package/chunks/SignalAndMessage.CYVzlFuL.mjs +198 -0
  41. package/chunks/SplitPane.Dw96M0Yf.mjs +219 -0
  42. package/chunks/TableColumn.DJYkznbJ.mjs +180 -0
  43. package/chunks/TableView.DyIdIxAg.mjs +484 -0
  44. package/chunks/Toolbar.DHuXJAoG.mjs +219 -0
  45. package/chunks/UserTaskListeners.Bp-2qkHs.mjs +599 -0
  46. package/chunks/VueCron.GfjodnyM.mjs +1766 -0
  47. package/chunks/VueTreeSelect.9Ywl-I8e.mjs +1872 -0
  48. package/chunks/_plugin-vue_export-helper.7vrlOII_.mjs +8 -0
  49. package/chunks/checkbox.emIuFmnt.mjs +437 -0
  50. package/chunks/confirmable-mixin.BBil7dto.mjs +1646 -0
  51. package/chunks/core.DJv6Qrae.mjs +51 -0
  52. package/chunks/dataformat.Bfr4nOcA.mjs +144 -0
  53. package/chunks/dic.DgDfnovD.mjs +116 -0
  54. package/chunks/dictionary.5eKjWeAp.mjs +19 -0
  55. package/chunks/dictionary.DxZxP0ej.mjs +87 -0
  56. package/chunks/event.B4iwtUNO.mjs +4 -0
  57. package/chunks/event.eJ-c1Z3a.mjs +224 -0
  58. package/chunks/focus-trap.DT4GnqQI.mjs +211 -0
  59. package/chunks/form-input.D25eDRMq.mjs +34 -0
  60. package/chunks/form-item.CgmUuw_n.mjs +714 -0
  61. package/chunks/form-pick.Axem0gOO.mjs +7 -0
  62. package/chunks/form-validate.B1KPCHqN.mjs +11 -0
  63. package/chunks/icon.CbS8-322.mjs +259 -0
  64. package/chunks/init.DwpukyOB.mjs +115 -0
  65. package/chunks/input.PejnqwSH.mjs +547 -0
  66. package/chunks/install.yLcn5MLL.mjs +84 -0
  67. package/chunks/message.BCmee5N0.mjs +400 -0
  68. package/chunks/overlay.DubSnqma.mjs +122 -0
  69. package/chunks/packages.BGjydzjm.mjs +56 -0
  70. package/chunks/permission.DgEVNWlh.mjs +16 -0
  71. package/chunks/photo-swipe.BB0SJZg9.mjs +55 -0
  72. package/chunks/radio.BotKXqJr.mjs +274 -0
  73. package/chunks/scroll.CzORc5Zk.mjs +28 -0
  74. package/chunks/scrollbar.CAmrlKi9.mjs +345 -0
  75. package/chunks/slot.C6Ozd2e7.mjs +25 -0
  76. package/chunks/style.BmlGmjpO.mjs +325 -0
  77. package/chunks/sub-table-plus-props.B_lLth3j.mjs +28 -0
  78. package/chunks/tab-mixin.u0EZpx3j.mjs +70 -0
  79. package/chunks/tag.DPi-PLbb.mjs +141 -0
  80. package/chunks/teleport._VGEzK4d.mjs +22 -0
  81. package/chunks/tooltip.D50x7Rva.mjs +1926 -0
  82. package/chunks/typescript.DiWBU4nj.mjs +4 -0
  83. package/chunks/use-aria.BW7nWOl1.mjs +17 -0
  84. package/chunks/use-composition.mUaomyno.mjs +47 -0
  85. package/chunks/use-deprecated.BfDSbZS9.mjs +12 -0
  86. package/chunks/use-empty-values.Dy_r78F6.mjs +263 -0
  87. package/chunks/use-form-item.wsRjehHp.mjs +47 -0
  88. package/chunks/use-global-config.C9hs-O_x.mjs +56 -0
  89. package/chunks/use-id.CFO5NeoV.mjs +15 -0
  90. package/chunks/use-size.DxrwTUwf.mjs +18 -0
  91. package/chunks/util.B3sjVZoZ.mjs +103 -0
  92. package/chunks/util.g-WQEec9.mjs +223 -0
  93. package/chunks/utilSelf.ZED4DmCU.mjs +46 -0
  94. package/chunks/utils.Cs2fYBrT.mjs +60 -0
  95. package/chunks/utils.DsGhtCIO.mjs +14 -0
  96. package/chunks/validator.C4-z_t9p.mjs +5 -0
  97. package/chunks/vnode.D_SioRnx.mjs +14 -0
  98. package/code-mirror-editor/index.mjs +89 -88
  99. package/comment/index.mjs +62 -57
  100. package/configComponents.mjs +40 -50
  101. package/confirm-button/index.mjs +34 -46
  102. package/confirmable/index.mjs +7 -17
  103. package/context-menu/index.mjs +195 -174
  104. package/count-up/index.mjs +97 -105
  105. package/custom-scrollbar/index.mjs +91 -98
  106. package/data-box/index.mjs +64 -44
  107. package/data-card/index.mjs +60 -47
  108. package/data-card-text/index.mjs +63 -49
  109. package/data-display/index.mjs +71 -51
  110. package/data-icons/index.mjs +70 -50
  111. package/data-imgtext/index.mjs +67 -43
  112. package/data-operatext/index.mjs +51 -40
  113. package/data-panel/index.mjs +57 -44
  114. package/data-pay/index.mjs +105 -48
  115. package/data-price/index.mjs +48 -40
  116. package/data-progress/index.mjs +67 -44
  117. package/data-rotate/index.mjs +61 -44
  118. package/data-table-picker/index.mjs +119 -71
  119. package/data-tabs/index.mjs +67 -44
  120. package/dialog-form/index.mjs +139 -87
  121. package/dynamic-table/index.mjs +166 -109
  122. package/e-charts/index.mjs +174 -200
  123. package/easy-popup/index.mjs +91 -102
  124. package/editable-progress/index.mjs +112 -83
  125. package/editable-tree/index.mjs +2 -481
  126. package/element-dialog/index.mjs +2 -306
  127. package/ellipsis/index.mjs +124 -148
  128. package/empty-view/index.mjs +48 -65
  129. package/error-view/index.mjs +39 -51
  130. package/flex-column/index.mjs +32 -51
  131. package/flex-item/index.mjs +54 -64
  132. package/flex-row/index.mjs +32 -39
  133. package/flex-scroller/index.mjs +29 -30
  134. package/flow/index.mjs +240 -247
  135. package/flow-designer/index.mjs +2 -4709
  136. package/flow-node/index.mjs +56 -64
  137. package/flow-viewer/index.mjs +159 -157
  138. package/form-block/index.mjs +2 -147
  139. package/form-button/index.mjs +35 -47
  140. package/form-card/index.mjs +14 -25
  141. package/form-cascader/index.mjs +2 -115
  142. package/form-checkbox/index.mjs +89 -70
  143. package/form-checkbox-group/index.mjs +161 -113
  144. package/form-date-picker/index.mjs +155 -142
  145. package/form-holder/index.mjs +137 -109
  146. package/form-input/index.mjs +113 -86
  147. package/form-input-cron-expression/index.mjs +97 -76
  148. package/form-input-email/index.mjs +64 -51
  149. package/form-input-id-card/index.mjs +72 -54
  150. package/form-input-phone-number/index.mjs +71 -56
  151. package/form-input-tag/index.mjs +88 -61
  152. package/form-input-time/index.mjs +2 -73
  153. package/form-item/index.mjs +2 -142
  154. package/form-item-config-provider/index.mjs +46 -60
  155. package/form-item-group/index.mjs +2 -157
  156. package/form-radio-group/index.mjs +161 -121
  157. package/form-select/index.mjs +2 -179
  158. package/form-switch/index.mjs +2 -54
  159. package/form-table/index.mjs +131 -84
  160. package/form-table-plus/index.mjs +164 -108
  161. package/form-textarea/index.mjs +90 -56
  162. package/form-tree-select/index.mjs +89 -71
  163. package/form-tree-select-multiple/index.mjs +92 -77
  164. package/form-view/index.mjs +275 -207
  165. package/fy-array/index.mjs +121 -70
  166. package/fy-article/index.mjs +73 -60
  167. package/fy-cascader/index.mjs +113 -90
  168. package/fy-checkbox/index.mjs +96 -64
  169. package/fy-code/index.mjs +48 -50
  170. package/fy-curd/index.mjs +2 -1879
  171. package/fy-date/index.mjs +76 -41
  172. package/fy-draggable/index.mjs +322 -317
  173. package/fy-dynamic/index.mjs +259 -224
  174. package/fy-empty/index.mjs +35 -36
  175. package/fy-form/index.mjs +2 -640
  176. package/fy-form-design/index.mjs +2 -2852
  177. package/fy-form-design/style.css +1 -1
  178. package/fy-from/crud/zh.d.ts +1 -1
  179. package/fy-input/index.mjs +117 -97
  180. package/fy-input-color/index.mjs +77 -54
  181. package/fy-input-icon/index.mjs +129 -82
  182. package/fy-input-map/index.mjs +242 -183
  183. package/fy-input-number/index.mjs +74 -49
  184. package/fy-input-table/index.mjs +160 -105
  185. package/fy-input-tree/index.mjs +259 -178
  186. package/fy-progress/index.mjs +36 -39
  187. package/fy-radio/index.mjs +53 -37
  188. package/fy-rate/index.mjs +86 -70
  189. package/fy-select/index.mjs +224 -137
  190. package/fy-slider/index.mjs +68 -43
  191. package/fy-switch/index.mjs +67 -41
  192. package/fy-tabs/index.mjs +46 -46
  193. package/fy-time/index.mjs +81 -53
  194. package/fy-title/index.mjs +18 -27
  195. package/fy-tree/index.mjs +382 -286
  196. package/fy-u-editor/index.mjs +2 -357
  197. package/fy-upload/index.mjs +2 -421
  198. package/guide-steps/index.mjs +72 -71
  199. package/helper-function.d.ts +2 -30
  200. package/helper-function.mjs +41 -67
  201. package/highlight-j-s/index.mjs +50 -59
  202. package/icon-card/index.mjs +34 -36
  203. package/icon-temp/index.mjs +27 -27
  204. package/iframe-window/index.mjs +39 -32
  205. package/image-cropper/index.mjs +171 -73
  206. package/image-preview/index.mjs +187 -116
  207. package/image-viewer/index.mjs +69 -66
  208. package/index.d.ts +3 -9
  209. package/index.mjs +174 -489
  210. package/input-number-range/index.mjs +78 -58
  211. package/j-s-x-component/index.mjs +13 -15
  212. package/keyboard/index.mjs +2 -369
  213. package/license/index.mjs +106 -115
  214. package/loading-view/index.mjs +39 -51
  215. package/login/index.mjs +252 -120
  216. package/monaco-editor/index.mjs +2 -7
  217. package/name-avatar/index.mjs +61 -53
  218. package/nav-bar/index.mjs +33 -30
  219. package/not-implement/index.mjs +10 -22
  220. package/notice/index.mjs +100 -93
  221. package/package.json +3 -3
  222. package/page/index.mjs +18 -25
  223. package/page-header/index.mjs +27 -33
  224. package/page-index/index.mjs +121 -99
  225. package/page-index-top/index.mjs +79 -74
  226. package/page-skeleton/index.mjs +47 -44
  227. package/page-skeleton-new/index.mjs +79 -49
  228. package/pageable-table/index.mjs +2 -512
  229. package/pageable-view/index.mjs +279 -274
  230. package/photo-swipe/index.d.ts +4 -0
  231. package/photo-swipe/index.mjs +33 -36
  232. package/picker-table-view/index.mjs +224 -117
  233. package/present-view/index.mjs +266 -196
  234. package/queue/index.mjs +45 -53
  235. package/record-video/index.mjs +2 -134
  236. package/resize-observer/index.mjs +43 -46
  237. package/search/index.mjs +116 -107
  238. package/sign/index.mjs +103 -110
  239. package/sign-panel/index.mjs +182 -141
  240. package/skeleton/index.mjs +51 -54
  241. package/skeleton-panel/index.mjs +33 -37
  242. package/split-pane/index.mjs +3 -196
  243. package/stateful/index.mjs +69 -73
  244. package/static-pageable-table/index.mjs +72 -64
  245. package/sub-table/index.mjs +508 -206
  246. package/sub-table-plus/index.mjs +592 -230
  247. package/swiper/index.mjs +128 -120
  248. package/tab/index.mjs +117 -119
  249. package/tab-item/index.mjs +48 -56
  250. package/table-column/index.mjs +2 -225
  251. package/table-view/index.mjs +3 -326
  252. package/tabs-view/index.mjs +109 -104
  253. package/tag-render/index.mjs +79 -67
  254. package/text-ellipsis/index.mjs +94 -77
  255. package/toolbar/index.mjs +2 -254
  256. package/toolbar-button/index.mjs +145 -120
  257. package/verify/index.mjs +58 -64
  258. package/vue-cron/index.mjs +2 -1180
  259. package/vue-qr-code/index.mjs +30 -54
  260. package/vue-quill-editor/index.mjs +123 -99
  261. package/vue-tags-input/index.mjs +348 -431
  262. package/vue-tree-select/index.mjs +2 -2627
  263. package/vue-video-player/index.mjs +135 -136
  264. package/watermark/index.mjs +46 -74
  265. package/web-types.json +197 -975
  266. package/x-input-tag/index.mjs +144 -106
  267. package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
  268. package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
  269. package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
  270. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
  271. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
  272. package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
  273. package/chunks/ElementTaskConfig.Bko0kgTp.mjs +0 -317
  274. package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
  275. package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
  276. package/chunks/MonacoEditor.D31t4FTy.mjs +0 -327
  277. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
  278. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
  279. package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +0 -10
  280. package/chunks/confirmable-mixin.B2TtLAdk.mjs +0 -86
  281. package/chunks/core.0Exl13Mz.mjs +0 -54
  282. package/chunks/dataformat.CpqOeGBl.mjs +0 -154
  283. package/chunks/dic.Dkl-leRW.mjs +0 -128
  284. package/chunks/dictionary.DGt59Ir7.mjs +0 -68
  285. package/chunks/dictionary.DqiP9x2m.mjs +0 -25
  286. package/chunks/event.9aDS6jcw.mjs +0 -236
  287. package/chunks/form-input.CvFdwlEV.mjs +0 -31
  288. package/chunks/form-item.LWjePsPa.mjs +0 -233
  289. package/chunks/form-pick.BFTIVn_i.mjs +0 -11
  290. package/chunks/form-validate.CVarNHKX.mjs +0 -12
  291. package/chunks/helper.BiMLcEEk.mjs +0 -41
  292. package/chunks/index.9OxHjTIE.mjs +0 -16
  293. package/chunks/index.B2TRddqf.mjs +0 -184
  294. package/chunks/index.BmYCjxZQ.mjs +0 -47
  295. package/chunks/init.DAsXSoLW.mjs +0 -122
  296. package/chunks/packages.ByyangTp.mjs +0 -58
  297. package/chunks/permission.CO31YIkD.mjs +0 -16
  298. package/chunks/slot.DXIbhGat.mjs +0 -27
  299. package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
  300. package/chunks/tab-mixin.BNK6dxLN.mjs +0 -81
  301. package/chunks/util.DqFv_pWg.mjs +0 -241
  302. package/chunks/utilSelf.Csq1766E.mjs +0 -48
  303. package/chunks/utils.DRcxC1Fb.mjs +0 -60
  304. package/color-picker/index.mjs +0 -78
  305. package/egd-collapse/index.mjs +0 -62
  306. package/egd-collapse-item/index.mjs +0 -72
  307. package/form-input-number/index.mjs +0 -69
  308. package/form-input-number/style.css +0 -1
  309. package/input-number/index.mjs +0 -232
  310. package/input-number/style.css +0 -1
  311. package/keep-view-alive/index.mjs +0 -117
  312. package/search-popover/index.mjs +0 -118
  313. package/search-popover/style.css +0 -1
  314. /package/{base.css → utils/style.css} +0 -0
@@ -0,0 +1,5101 @@
1
+ import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
2
+ import t from "../highlight-j-s/index.mjs";
3
+ import { createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, markRaw as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderSlot as p, resolveComponent as m, toDisplayString as h, vShow as g, withCtx as _, withDirectives as v, withModifiers as y } from "vue";
4
+ import { isArray as b } from "@web-utils/core";
5
+ import { assign as x, forEach as S, isArray as C, isFunction as w, isObject as T, some as E } from "min-dash";
6
+ import { is as D } from "bpmn-js/lib/util/ModelUtil";
7
+ import { isEventSubProcess as O, isExpanded as k } from "bpmn-js/lib/util/DiUtil";
8
+ import { isAny as A } from "bpmn-js/lib/features/modeling/util/ModelingUtil";
9
+ import { getChildLanes as j } from "bpmn-js/lib/features/modeling/util/LaneUtil";
10
+ import { hasPrimaryModifier as M } from "diagram-js/lib/util/Mouse";
11
+ import N from "bpmn-js/lib/features/palette/PaletteProvider";
12
+ import P from "diagram-js/lib/features/auto-place/AutoPlace";
13
+ import { asTRBL as F, getMid as I } from "diagram-js/lib/layout/LayoutUtil";
14
+ import "bpmn-js/dist/assets/bpmn-js.css";
15
+ import "bpmn-js/dist/assets/diagram-js.css";
16
+ import "bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css";
17
+ import "bpmn-js-token-simulation/assets/css/bpmn-js-token-simulation.css";
18
+ import L from "bpmn-js/lib/Modeler";
19
+ import ee from "bpmn-js/lib/features/drilldown";
20
+ import te from "bpmn-js-token-simulation";
21
+ import R from "x2js";
22
+ import ne from "highlight.js/lib/core";
23
+ import re from "highlight.js/lib/languages/xml";
24
+ import ie from "highlight.js/lib/languages/json";
25
+ //#region src/components/bpmn-process-designer/plugins/content-pad/contentPadProvider.js
26
+ function z(e, t, n, r, i, a, o, s, c, l, u, d, f) {
27
+ 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) {
28
+ let t = e.context.shape;
29
+ if (!M(e) || !r.isOpen(t)) return;
30
+ let n = r.getEntries(t);
31
+ n.replace && n.replace.action.click(e, t);
32
+ });
33
+ }
34
+ z.$inject = [
35
+ "config.contextPad",
36
+ "injector",
37
+ "eventBus",
38
+ "contextPad",
39
+ "modeling",
40
+ "elementFactory",
41
+ "connect",
42
+ "create",
43
+ "popupMenu",
44
+ "canvas",
45
+ "rules",
46
+ "translate",
47
+ "elementRegistry"
48
+ ], z.prototype.getContextPadEntries = function(e) {
49
+ 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 = {};
50
+ if (e.type === "label") return d;
51
+ let f = e.businessObject;
52
+ function p(e, t) {
53
+ i.start(e, t);
54
+ }
55
+ function m() {
56
+ n.removeElements([e]);
57
+ }
58
+ function h(e) {
59
+ let n = s.getContainer(), r = t.getPad(e).html, i = n.getBoundingClientRect(), a = r.getBoundingClientRect(), o = a.top - i.top;
60
+ return {
61
+ x: a.left - i.left,
62
+ y: o + a.height + 5
63
+ };
64
+ }
65
+ function g(e, t, n, i) {
66
+ typeof n != "string" && (i = n, n = u("Append {type}", { type: e.replace(/^bpmn:/, "") }));
67
+ function o(t, n) {
68
+ let o = r.createShape(x({ type: e }, i));
69
+ a.start(t, o, { source: n });
70
+ }
71
+ return {
72
+ group: "model",
73
+ className: t,
74
+ title: n,
75
+ action: {
76
+ dragstart: o,
77
+ click: l ? function(t, n) {
78
+ let a = r.createShape(x({ type: e }, i));
79
+ l.append(n, a);
80
+ } : o
81
+ }
82
+ };
83
+ }
84
+ function _(e) {
85
+ return function(r, i) {
86
+ n.splitLane(i, e), t.open(i, !0);
87
+ };
88
+ }
89
+ if (A(f, ["bpmn:Lane", "bpmn:Participant"]) && k(f)) {
90
+ let t = j(e);
91
+ x(d, { "lane-insert-above": {
92
+ group: "lane-insert-above",
93
+ className: "bpmn-icon-lane-insert-above",
94
+ title: u("Add Lane above"),
95
+ action: { click: function(e, t) {
96
+ n.addLane(t, "top");
97
+ } }
98
+ } }), t.length < 2 && (e.height >= 120 && x(d, { "lane-divide-two": {
99
+ group: "lane-divide",
100
+ className: "bpmn-icon-lane-divide-two",
101
+ title: u("Divide into two Lanes"),
102
+ action: { click: _(2) }
103
+ } }), e.height >= 180 && x(d, { "lane-divide-three": {
104
+ group: "lane-divide",
105
+ className: "bpmn-icon-lane-divide-three",
106
+ title: u("Divide into three Lanes"),
107
+ action: { click: _(3) }
108
+ } })), x(d, { "lane-insert-below": {
109
+ group: "lane-insert-below",
110
+ className: "bpmn-icon-lane-insert-below",
111
+ title: u("Add Lane below"),
112
+ action: { click: function(e, t) {
113
+ n.addLane(t, "bottom");
114
+ } }
115
+ } });
116
+ }
117
+ D(f, "bpmn:FlowNode") && (D(f, "bpmn:EventBasedGateway") ? x(d, {
118
+ "append.receive-task": g("bpmn:ReceiveTask", "bpmn-icon-receive-task", u("Append ReceiveTask")),
119
+ "append.message-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-message", u("Append MessageIntermediateCatchEvent"), { eventDefinitionType: "bpmn:MessageEventDefinition" }),
120
+ "append.timer-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-timer", u("Append TimerIntermediateCatchEvent"), { eventDefinitionType: "bpmn:TimerEventDefinition" }),
121
+ "append.condition-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-condition", u("Append ConditionIntermediateCatchEvent"), { eventDefinitionType: "bpmn:ConditionalEventDefinition" }),
122
+ "append.signal-intermediate-event": g("bpmn:IntermediateCatchEvent", "bpmn-icon-intermediate-event-catch-signal", u("Append SignalIntermediateCatchEvent"), { eventDefinitionType: "bpmn:SignalEventDefinition" })
123
+ }) : ae(f, "bpmn:BoundaryEvent", "bpmn:CompensateEventDefinition") ? x(d, { "append.compensation-activity": g("bpmn:Task", "bpmn-icon-task", u("Append compensation activity"), { isForCompensation: !0 }) }) : !D(f, "bpmn:EndEvent") && !f.isForCompensation && !ae(f, "bpmn:IntermediateThrowEvent", "bpmn:LinkEventDefinition") && !O(f) && x(d, {
124
+ "append.end-event": g("bpmn:EndEvent", "bpmn-icon-end-event-none", u("Append EndEvent")),
125
+ "append.gateway": g("bpmn:ExclusiveGateway", "bpmn-icon-gateway-none", u("Append Gateway")),
126
+ "append.append-task": g("bpmn:UserTask", "bpmn-icon-user-task", u("Append Task")),
127
+ "append.intermediate-event": g("bpmn:IntermediateThrowEvent", "bpmn-icon-intermediate-event-none", u("Append Intermediate/Boundary Event"))
128
+ })), o.isEmpty(e, "bpmn-replace") || x(d, { replace: {
129
+ group: "edit",
130
+ className: "bpmn-icon-screw-wrench",
131
+ title: u("Change type"),
132
+ action: { click: function(e, t) {
133
+ let n = x(h(t), { cursor: {
134
+ x: e.x,
135
+ y: e.y
136
+ } });
137
+ o.open(t, "bpmn-replace", n);
138
+ } }
139
+ } }), A(f, [
140
+ "bpmn:FlowNode",
141
+ "bpmn:InteractionNode",
142
+ "bpmn:DataObjectReference",
143
+ "bpmn:DataStoreReference"
144
+ ]) && x(d, {
145
+ "append.text-annotation": g("bpmn:TextAnnotation", "bpmn-icon-text-annotation"),
146
+ connect: {
147
+ group: "connect",
148
+ className: "bpmn-icon-connection-multi",
149
+ title: u(`Connect using ${f.isForCompensation ? "" : "Sequence/MessageFlow or "}Association`),
150
+ action: {
151
+ click: p,
152
+ dragstart: p
153
+ }
154
+ }
155
+ }), A(f, ["bpmn:DataObjectReference", "bpmn:DataStoreReference"]) && x(d, { connect: {
156
+ group: "connect",
157
+ className: "bpmn-icon-connection-multi",
158
+ title: u("Connect using DataInputAssociation"),
159
+ action: {
160
+ click: p,
161
+ dragstart: p
162
+ }
163
+ } }), D(f, "bpmn:Group") && x(d, { "append.text-annotation": g("bpmn:TextAnnotation", "bpmn-icon-text-annotation") });
164
+ let v = c.allowed("elements.delete", { elements: [e] });
165
+ return C(v) && (v = v[0] === e), v && x(d, { delete: {
166
+ group: "edit",
167
+ className: "bpmn-icon-trash",
168
+ title: u("Remove"),
169
+ action: { click: m }
170
+ } }), d;
171
+ };
172
+ function ae(e, t, n) {
173
+ let r = e.$instanceOf(t), i = !1;
174
+ return S(e.eventDefinitions || [], function(e) {
175
+ e.$type === n && (i = !0);
176
+ }), r && i;
177
+ }
178
+ //#endregion
179
+ //#region src/components/bpmn-process-designer/plugins/content-pad/index.js
180
+ var oe = {
181
+ __init__: ["contextPadProvider"],
182
+ contextPadProvider: ["type", z]
183
+ };
184
+ //#endregion
185
+ //#region src/components/bpmn-process-designer/plugins/palette/CustomPalette.js
186
+ function B(e, t, n, r, i, a, o, s, c) {
187
+ N.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;
188
+ }
189
+ var V = function() {};
190
+ V.prototype = N.prototype, V.prototype.getPaletteEntries = function() {
191
+ let e = {}, t = this._create, n = this._elementFactory, r = this._spaceTool, i = this._lassoTool, a = this._handTool, o = this._globalConnect, s = this._translate;
192
+ function c(e, r, i, a, o) {
193
+ function c(r) {
194
+ let i = n.createShape(x({ type: e }, o));
195
+ e === "bpmn:UserTask" && (i.businessObject.candidateUsers = "${handlers}"), o && (i.businessObject.di.isExpanded = o.isExpanded), t.start(r, i);
196
+ }
197
+ let l = e.replace(/^bpmn:/, "");
198
+ return {
199
+ group: r,
200
+ className: i,
201
+ title: a || s("Create {type}", { type: l }),
202
+ action: {
203
+ dragstart: c,
204
+ click: c
205
+ }
206
+ };
207
+ }
208
+ function l(e) {
209
+ let r = n.createShape({
210
+ type: "bpmn:SubProcess",
211
+ x: 0,
212
+ y: 0,
213
+ isExpanded: !0
214
+ }), i = n.createShape({
215
+ type: "bpmn:StartEvent",
216
+ x: 40,
217
+ y: 82,
218
+ parent: r
219
+ });
220
+ t.start(e, [r, i], { hints: { autoSelect: [i] } });
221
+ }
222
+ function u(e) {
223
+ t.start(e, n.createParticipantShape());
224
+ }
225
+ return x(e, {
226
+ "hand-tool": {
227
+ group: "tools",
228
+ className: "bpmn-icon-hand-tool",
229
+ title: s("Activate the hand tool"),
230
+ action: { click: function(e) {
231
+ a.activateHand(e);
232
+ } }
233
+ },
234
+ "lasso-tool": {
235
+ group: "tools",
236
+ className: "bpmn-icon-lasso-tool",
237
+ title: s("Activate the lasso tool"),
238
+ action: { click: function(e) {
239
+ i.activateSelection(e);
240
+ } }
241
+ },
242
+ "space-tool": {
243
+ group: "tools",
244
+ className: "bpmn-icon-space-tool",
245
+ title: s("Activate the create/remove space tool"),
246
+ action: { click: function(e) {
247
+ r.activateSelection(e);
248
+ } }
249
+ },
250
+ "global-connect-tool": {
251
+ group: "tools",
252
+ className: "bpmn-icon-connection-multi",
253
+ title: s("Activate the global connect tool"),
254
+ action: { click: function(e) {
255
+ o.toggle(e);
256
+ } }
257
+ },
258
+ "tool-separator": {
259
+ group: "tools",
260
+ separator: !0
261
+ },
262
+ "create.start-event": c("bpmn:StartEvent", "event", "bpmn-icon-start-event-none", s("Create StartEvent")),
263
+ "create.intermediate-event": c("bpmn:IntermediateThrowEvent", "event", "bpmn-icon-intermediate-event-none", s("Create Intermediate/Boundary Event")),
264
+ "create.user-task": c("bpmn:UserTask", "activity", "bpmn-icon-user-task", s("Create User Task")),
265
+ "create.exclusive-gateway": c("bpmn:ExclusiveGateway", "activity", "bpmn-icon-gateway-none", s("Create Gateway")),
266
+ "create.end-event": c("bpmn:EndEvent", "activity", "bpmn-icon-end-event-none", s("Create EndEvent")),
267
+ "activity-separator": {
268
+ group: "activity",
269
+ separator: !0
270
+ },
271
+ "create.subprocess-expanded": {
272
+ group: "activity",
273
+ className: "bpmn-icon-subprocess-expanded",
274
+ title: s("Create expanded SubProcess"),
275
+ action: {
276
+ dragstart: l,
277
+ click: l
278
+ }
279
+ },
280
+ "create.participant-expanded": {
281
+ group: "collaboration",
282
+ className: "bpmn-icon-participant",
283
+ title: s("Create Pool/Participant"),
284
+ action: {
285
+ dragstart: u,
286
+ click: u
287
+ }
288
+ }
289
+ }), e;
290
+ }, B.$inject = [
291
+ "palette",
292
+ "create",
293
+ "elementFactory",
294
+ "spaceTool",
295
+ "lassoTool",
296
+ "handTool",
297
+ "globalConnect",
298
+ "moddle",
299
+ "translate"
300
+ ], B.prototype = new V(), B.prototype.constructor = B;
301
+ //#endregion
302
+ //#region src/components/bpmn-process-designer/plugins/palette/index.js
303
+ var se = {
304
+ __init__: ["customPalette"],
305
+ customPalette: ["type", B]
306
+ };
307
+ //#endregion
308
+ //#region src/components/bpmn-process-designer/modules/auto-place/CustomAutoPlace.js
309
+ function ce(e, t) {
310
+ P.call(this, e, t, 3e3), e.on("autoPlace", 3e3, function(e) {
311
+ let t = e.shape, n = e.source;
312
+ return fe(n, t);
313
+ }), this.append = function(n, r, i) {
314
+ e.fire("autoPlace.start", {
315
+ source: n,
316
+ shape: r
317
+ });
318
+ let a = e.fire("autoPlace", {
319
+ source: n,
320
+ shape: r
321
+ });
322
+ console.log("hints", i, "position", a);
323
+ let o = t.appendShape(n, r, a, n.parent, i);
324
+ return e.fire("autoPlace.end", {
325
+ source: n,
326
+ shape: o
327
+ }), o;
328
+ };
329
+ }
330
+ function le(e) {
331
+ return {
332
+ top: e.y,
333
+ right: e.x + (e.width || 0),
334
+ bottom: e.y + (e.height || 0),
335
+ left: e.x
336
+ };
337
+ }
338
+ function ue(e) {
339
+ return {
340
+ x: Math.round(e.x),
341
+ y: Math.round(e.y)
342
+ };
343
+ }
344
+ function de(e) {
345
+ return ue({
346
+ x: e.x + (e.width || 0) / 2,
347
+ y: e.y + (e.height || 0) / 2
348
+ });
349
+ }
350
+ function fe(e, t, n) {
351
+ n || (n = {});
352
+ let r = n.defaultDistance || 50, i = de(e), a = le(e);
353
+ return {
354
+ x: i.x,
355
+ y: a.bottom + r + t.height / 2
356
+ };
357
+ }
358
+ var pe = function() {};
359
+ pe.prototype = P.prototype, ce.prototype = new pe(), ce.prototype.constructor = P;
360
+ //#endregion
361
+ //#region src/components/bpmn-process-designer/modules/auto-place/rewriteAutoPlace.js
362
+ var me = 200, he = 100;
363
+ function ge(e, t, n) {
364
+ e.on("autoPlace", he, function(e) {
365
+ let t = e.shape, n = e.source;
366
+ return _e(n, t);
367
+ }), e.on("autoPlace.end", function(e) {
368
+ n.scrollToElement(e.shape);
369
+ }), this.append = function(n, r, i) {
370
+ e.fire("autoPlace.start", {
371
+ source: n,
372
+ shape: r
373
+ });
374
+ let a = e.fire("autoPlace", {
375
+ source: n,
376
+ shape: r
377
+ }), o = t.appendShape(n, r, a, n.parent, i);
378
+ return e.fire("autoPlace.end", {
379
+ source: n,
380
+ shape: o
381
+ }), o;
382
+ };
383
+ }
384
+ ge.$inject = [
385
+ "eventBus",
386
+ "modeling",
387
+ "canvas"
388
+ ];
389
+ function _e(e, t) {
390
+ let n = me, r = I(e);
391
+ return {
392
+ x: F(e).right + n + t.width / 2,
393
+ y: r.y
394
+ };
395
+ }
396
+ //#endregion
397
+ //#region src/components/bpmn-process-designer/modules/auto-place/index.js
398
+ var ve = {
399
+ __init__: ["autoPlaceSelectionBehavior"],
400
+ autoPlace: ["type", ge]
401
+ }, ye = [
402
+ "base",
403
+ "task",
404
+ "form",
405
+ "multiInstance"
406
+ ], be = {
407
+ name: "PropertiesPanel",
408
+ componentName: "MyPropertiesPanel",
409
+ components: {
410
+ UserTaskListeners: () => import("./UserTaskListeners.Bp-2qkHs.mjs"),
411
+ ElementForm: () => import("./ElementForm.ButuYDPA.mjs"),
412
+ ElementProperties: () => import("./ElementProperties.CfV8UF7L.mjs"),
413
+ ElementListeners: () => import("./ElementListeners.Dg3e_dmp.mjs"),
414
+ SignalAndMassage: () => import("./SignalAndMessage.CYVzlFuL.mjs"),
415
+ FlowCondition: () => import("./FlowCondition.C6PdqOAW.mjs"),
416
+ ElementMultiInstance: () => import("./ElementMultiInstance.Dmi79FqA.mjs"),
417
+ ElementTask: () => import("./ElementTaskConfig.Bn7ycGGn.mjs"),
418
+ ElementOtherConfig: () => import("./ElementOtherConfig.C2AddGTp.mjs"),
419
+ ElementBaseInfo: () => import("./ElementBaseInfo.DyuFR6fE.mjs")
420
+ },
421
+ provide() {
422
+ return {
423
+ prefix: this.prefix,
424
+ width: this.width,
425
+ context: this.context,
426
+ bpmnInstances: this.bpmnInstances
427
+ };
428
+ },
429
+ props: {
430
+ activeTabs: {
431
+ type: Array,
432
+ default: () => [
433
+ "base",
434
+ "task",
435
+ "form",
436
+ "multiInstance"
437
+ ]
438
+ },
439
+ useTabs: Array,
440
+ bpmnModeler: Object,
441
+ context: Object,
442
+ prefix: {
443
+ type: String,
444
+ default: "camunda"
445
+ },
446
+ width: {
447
+ type: Number,
448
+ default: 480
449
+ },
450
+ idEditDisabled: {
451
+ type: Boolean,
452
+ default: !1
453
+ },
454
+ panelType: { type: String }
455
+ },
456
+ emits: ["initModels"],
457
+ data() {
458
+ return {
459
+ element: {},
460
+ bpmnInstances: {},
461
+ activeTab: this.panelType === "tab" ? "base" : ["base"],
462
+ elementId: "",
463
+ elementType: "",
464
+ conditionFormVisible: !1,
465
+ formVisible: !1,
466
+ isPanelVisible: !0
467
+ };
468
+ },
469
+ computed: {
470
+ isArray() {
471
+ return Array.isArray(this.useTabs);
472
+ },
473
+ isNullOrUndefined() {
474
+ return this.useTabs === null || this.useTabs === void 0;
475
+ },
476
+ isTab() {
477
+ return this.panelType === "tab";
478
+ }
479
+ },
480
+ watch: {
481
+ activeTabs: {
482
+ immediate: !0,
483
+ handler() {
484
+ this.activeTab = this.isTab ? "base" : ye;
485
+ }
486
+ },
487
+ elementId: { handler() {
488
+ this.activeTab = this.isTab ? "base" : ye;
489
+ } },
490
+ isTab: {
491
+ immediate: !0,
492
+ handler(e) {
493
+ e ? this.activeTab = "base" : this.activeTab = ["base"];
494
+ }
495
+ }
496
+ },
497
+ created() {
498
+ this.initModels();
499
+ },
500
+ methods: {
501
+ initModels() {
502
+ if (!this.bpmnModeler) {
503
+ this.timer = setTimeout(() => this.initModels(), 10);
504
+ return;
505
+ }
506
+ this.timer && clearTimeout(this.timer), this.bpmnInstances = c({
507
+ modeler: this.bpmnModeler,
508
+ modeling: this.bpmnModeler.get("modeling"),
509
+ moddle: this.bpmnModeler.get("moddle"),
510
+ eventBus: this.bpmnModeler.get("eventBus"),
511
+ bpmnFactory: this.bpmnModeler.get("bpmnFactory"),
512
+ elementFactory: this.bpmnModeler.get("elementFactory"),
513
+ elementRegistry: this.bpmnModeler.get("elementRegistry"),
514
+ replace: this.bpmnModeler.get("replace"),
515
+ selection: this.bpmnModeler.get("selection")
516
+ }), this.$emit("initModels", this.bpmnInstances), this.getActiveElement();
517
+ },
518
+ getActiveElement() {
519
+ this.initFormOnChanged(null), this.bpmnModeler.on("import.done", () => {
520
+ this.bpmnModeler.get("canvas").zoom("fit-viewport", "center"), this.initFormOnChanged(null);
521
+ }), this.bpmnModeler.on("selection.changed", ({ newSelection: e }) => {
522
+ this.initFormOnChanged(e[0] || null);
523
+ }), this.bpmnModeler.on("element.changed", ({ element: e }) => {
524
+ e && e.id === this.elementId && this.initFormOnChanged(e);
525
+ });
526
+ },
527
+ initFormOnChanged(e) {
528
+ let t = e;
529
+ t || (t = this.bpmnInstances.elementRegistry.find((e) => e.type === "bpmn:Process") ?? this.bpmnInstances.elementRegistry.find((e) => e.type === "bpmn:Collaboration")), t && (this.element = c(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");
530
+ }
531
+ }
532
+ }, xe = { style: {
533
+ height: "40px",
534
+ "line-height": "40px"
535
+ } }, Se = { class: "panel-tab__title" }, Ce = { class: "panel-tab__title" };
536
+ function we(e, t, c, l, b, x) {
537
+ var S;
538
+ let C = m("ElementBaseInfo"), w = m("ElTabPane"), T = m("SignalAndMassage"), E = m("ElementForm"), D = m("ElementTask"), O = m("ElementMultiInstance"), k = m("ElementListeners"), A = m("UserTaskListeners"), j = m("ElementProperties"), M = m("ElementOtherConfig"), N = m("ElTabs"), P = m("ElCollapseItem"), F = m("FlowCondition"), I = m("ElTooltip"), L = m("ElCollapse");
539
+ return f(), i("div", {
540
+ class: u(["process-panel__container", {
541
+ show: b.isPanelVisible,
542
+ hide: !b.isPanelVisible
543
+ }]),
544
+ style: d({ width: `${b.isPanelVisible ? c.width : 34}px` }),
545
+ onClick: t[3] || (t[3] = (e) => b.isPanelVisible = !0)
546
+ }, [a("div", xe, [a("i", {
547
+ class: u(["open-properties-handel", b.isPanelVisible ? "el-icon-caret-right" : "el-icon-caret-left"]),
548
+ onClick: t[0] || (t[0] = y((e) => b.isPanelVisible = !b.isPanelVisible, ["stop"]))
549
+ }, null, 2), o(" " + h(b.isPanelVisible ? (S = b.element) == null || (S = S.businessObject) == null ? void 0 : S.name : ""), 1)]), c.panelType === "tab" ? v((f(), n(N, {
550
+ key: 0,
551
+ modelValue: b.activeTab,
552
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => b.activeTab = e)
553
+ }, {
554
+ default: _(() => [
555
+ r(" 常规 "),
556
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("base") ? (f(), n(w, {
557
+ key: 0,
558
+ label: "常规",
559
+ name: "base",
560
+ lazy: ""
561
+ }, {
562
+ default: _(() => [s(C, {
563
+ id: b.elementId,
564
+ "id-edit-disabled": c.idEditDisabled,
565
+ type: b.elementType,
566
+ element: b.element,
567
+ "bpmn-instances": b.bpmnInstances
568
+ }, null, 8, [
569
+ "id",
570
+ "id-edit-disabled",
571
+ "type",
572
+ "element",
573
+ "bpmn-instances"
574
+ ])]),
575
+ _: 1
576
+ })) : r("v-if", !0),
577
+ r(" 消息与信号 "),
578
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("message")) && b.elementType === "Process" ? (f(), n(w, {
579
+ key: 1,
580
+ label: "消息与信号",
581
+ name: "message",
582
+ lazy: ""
583
+ }, {
584
+ default: _(() => [s(T, { "bpmn-instances": b.bpmnInstances }, null, 8, ["bpmn-instances"])]),
585
+ _: 1
586
+ })) : r("v-if", !0),
587
+ r(" 流转条件 "),
588
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("condition")) && b.conditionFormVisible ? (f(), n(w, {
589
+ key: 2,
590
+ label: "流转条件",
591
+ name: "condition",
592
+ lazy: ""
593
+ }, {
594
+ default: _(() => [s(T, { "bpmn-instances": b.bpmnInstances }, null, 8, ["bpmn-instances"])]),
595
+ _: 1
596
+ })) : r("v-if", !0),
597
+ r(" 表单 "),
598
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("form") ? p(e.$slots, "form", {
599
+ key: 3,
600
+ id: b.elementId,
601
+ bpmnInstances: b.bpmnInstances,
602
+ element: b.element,
603
+ type: b.elementType
604
+ }, () => [(x.isNullOrUndefined || x.isArray && c.useTabs.includes("base")) && b.formVisible ? (f(), n(w, {
605
+ key: "form",
606
+ label: "表单",
607
+ name: "form",
608
+ lazy: ""
609
+ }, {
610
+ default: _(() => [s(E, {
611
+ id: b.elementId,
612
+ "bpmn-instances": b.bpmnInstances,
613
+ element: b.element,
614
+ type: b.elementType
615
+ }, null, 8, [
616
+ "id",
617
+ "bpmn-instances",
618
+ "element",
619
+ "type"
620
+ ])]),
621
+ _: 1
622
+ })) : r("v-if", !0)]) : r("v-if", !0),
623
+ r(" 任务 "),
624
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("task") ? p(e.$slots, "task", {
625
+ key: 4,
626
+ id: b.elementId,
627
+ bpmnInstances: b.bpmnInstances,
628
+ element: b.element,
629
+ type: b.elementType
630
+ }, () => [b.elementType.indexOf("Task") === -1 ? r("v-if", !0) : (f(), n(w, {
631
+ key: "task",
632
+ label: "任务",
633
+ name: "task",
634
+ lazy: ""
635
+ }, {
636
+ default: _(() => [s(D, {
637
+ id: b.elementId,
638
+ "bpmn-instances": b.bpmnInstances,
639
+ element: b.element,
640
+ type: b.elementType
641
+ }, null, 8, [
642
+ "id",
643
+ "bpmn-instances",
644
+ "element",
645
+ "type"
646
+ ])]),
647
+ _: 1
648
+ }))]) : r("v-if", !0),
649
+ r(" 多实例 "),
650
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("multiInstance")) && b.elementType.indexOf("Task") !== -1 ? (f(), n(w, {
651
+ key: "multiInstance",
652
+ label: "多实例",
653
+ name: "multiInstance",
654
+ lazy: ""
655
+ }, {
656
+ default: _(() => [s(O, {
657
+ id: b.elementId,
658
+ "bpmn-instances": b.bpmnInstances,
659
+ element: b.element,
660
+ type: b.elementType
661
+ }, null, 8, [
662
+ "id",
663
+ "bpmn-instances",
664
+ "element",
665
+ "type"
666
+ ])]),
667
+ _: 1
668
+ })) : r("v-if", !0),
669
+ r(" 执行监听器 "),
670
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("listeners") ? (f(), n(w, {
671
+ key: "listeners",
672
+ label: "执行监听器",
673
+ name: "listeners",
674
+ lazy: ""
675
+ }, {
676
+ default: _(() => [s(k, {
677
+ id: b.elementId,
678
+ "bpmn-instances": b.bpmnInstances,
679
+ element: b.element,
680
+ type: b.elementType
681
+ }, null, 8, [
682
+ "id",
683
+ "bpmn-instances",
684
+ "element",
685
+ "type"
686
+ ])]),
687
+ _: 1
688
+ })) : r("v-if", !0),
689
+ r(" 任务监听器 "),
690
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("taskListeners")) && b.elementType === "UserTask" ? (f(), n(w, {
691
+ key: "taskListeners",
692
+ label: "任务监听器",
693
+ name: "taskListeners",
694
+ lazy: ""
695
+ }, {
696
+ default: _(() => [s(A, {
697
+ id: b.elementId,
698
+ "bpmn-instances": b.bpmnInstances,
699
+ element: b.element,
700
+ type: b.elementType
701
+ }, null, 8, [
702
+ "id",
703
+ "bpmn-instances",
704
+ "element",
705
+ "type"
706
+ ])]),
707
+ _: 1
708
+ })) : r("v-if", !0),
709
+ r(" 扩展属性 "),
710
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("extensions") ? (f(), n(w, {
711
+ key: "extensions",
712
+ label: "扩展属性",
713
+ name: "extensions",
714
+ lazy: ""
715
+ }, {
716
+ default: _(() => [s(j, {
717
+ id: b.elementId,
718
+ "bpmn-instances": b.bpmnInstances,
719
+ element: b.element,
720
+ type: b.elementType
721
+ }, null, 8, [
722
+ "id",
723
+ "bpmn-instances",
724
+ "element",
725
+ "type"
726
+ ])]),
727
+ _: 1
728
+ })) : r("v-if", !0),
729
+ r(" 其他 "),
730
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("other") ? (f(), n(w, {
731
+ key: "other",
732
+ label: "其他",
733
+ name: "other",
734
+ lazy: ""
735
+ }, {
736
+ default: _(() => [s(M, {
737
+ id: b.elementId,
738
+ element: b.element,
739
+ "bpmn-instances": b.bpmnInstances
740
+ }, null, 8, [
741
+ "id",
742
+ "element",
743
+ "bpmn-instances"
744
+ ])]),
745
+ _: 1
746
+ })) : r("v-if", !0),
747
+ r(" 拓展 "),
748
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("extend") ? p(e.$slots, "extend", {
749
+ key: 10,
750
+ id: b.elementId,
751
+ bpmnInstances: b.bpmnInstances,
752
+ element: b.element,
753
+ type: b.elementType
754
+ }) : r("v-if", !0)
755
+ ]),
756
+ _: 3
757
+ }, 8, ["modelValue"])), [[g, b.isPanelVisible]]) : v((f(), n(L, {
758
+ key: 1,
759
+ modelValue: b.activeTab,
760
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => b.activeTab = e)
761
+ }, {
762
+ default: _(() => [
763
+ r(" 常规 "),
764
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("base") ? (f(), n(P, {
765
+ key: 0,
766
+ name: "base"
767
+ }, {
768
+ title: _(() => [...t[4] || (t[4] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-info" }), o("常规")], -1)])]),
769
+ default: _(() => [s(C, {
770
+ id: b.elementId,
771
+ "id-edit-disabled": c.idEditDisabled,
772
+ type: b.elementType,
773
+ element: b.element,
774
+ "bpmn-instances": b.bpmnInstances
775
+ }, null, 8, [
776
+ "id",
777
+ "id-edit-disabled",
778
+ "type",
779
+ "element",
780
+ "bpmn-instances"
781
+ ])]),
782
+ _: 1
783
+ })) : r("v-if", !0),
784
+ r(" 消息与信号 "),
785
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("message")) && b.elementType === "Process" ? (f(), n(P, {
786
+ key: "message",
787
+ name: "message"
788
+ }, {
789
+ title: _(() => [...t[5] || (t[5] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-s-comment" }), o("消息与信号")], -1)])]),
790
+ default: _(() => [s(T, { "bpmn-instances": b.bpmnInstances }, null, 8, ["bpmn-instances"])]),
791
+ _: 1
792
+ })) : r("v-if", !0),
793
+ r(" 流转条件 "),
794
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("condition")) && b.conditionFormVisible ? (f(), n(P, {
795
+ key: "condition",
796
+ name: "condition"
797
+ }, {
798
+ title: _(() => [...t[6] || (t[6] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-s-promotion" }), o("流转条件")], -1)])]),
799
+ default: _(() => [s(F, {
800
+ id: b.elementId,
801
+ element: b.element,
802
+ "bpmn-instances": b.bpmnInstances,
803
+ type: b.elementType
804
+ }, null, 8, [
805
+ "id",
806
+ "element",
807
+ "bpmn-instances",
808
+ "type"
809
+ ])]),
810
+ _: 1
811
+ })) : r("v-if", !0),
812
+ r(" 表单 "),
813
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("form") ? p(e.$slots, "form", {
814
+ key: 3,
815
+ id: b.elementId,
816
+ bpmnInstances: b.bpmnInstances,
817
+ element: b.element,
818
+ type: b.elementType
819
+ }, () => [(x.isNullOrUndefined || x.isArray && c.useTabs.includes("base")) && b.formVisible ? (f(), n(P, {
820
+ key: "form",
821
+ name: "form"
822
+ }, {
823
+ title: _(() => [...t[7] || (t[7] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-s-order" }), o("表单")], -1)])]),
824
+ default: _(() => [s(E, {
825
+ id: b.elementId,
826
+ "bpmn-instances": b.bpmnInstances,
827
+ element: b.element,
828
+ type: b.elementType
829
+ }, null, 8, [
830
+ "id",
831
+ "bpmn-instances",
832
+ "element",
833
+ "type"
834
+ ])]),
835
+ _: 1
836
+ })) : r("v-if", !0)]) : r("v-if", !0),
837
+ r(" 任务 "),
838
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("task") ? p(e.$slots, "task", {
839
+ key: 4,
840
+ id: b.elementId,
841
+ bpmnInstances: b.bpmnInstances,
842
+ element: b.element,
843
+ type: b.elementType
844
+ }, () => [b.elementType.indexOf("Task") === -1 ? r("v-if", !0) : (f(), n(P, {
845
+ key: "task",
846
+ name: "task"
847
+ }, {
848
+ title: _(() => [...t[8] || (t[8] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-s-claim" }), o("任务")], -1)])]),
849
+ default: _(() => [s(D, {
850
+ id: b.elementId,
851
+ "bpmn-instances": b.bpmnInstances,
852
+ element: b.element,
853
+ type: b.elementType
854
+ }, null, 8, [
855
+ "id",
856
+ "bpmn-instances",
857
+ "element",
858
+ "type"
859
+ ])]),
860
+ _: 1
861
+ }))]) : r("v-if", !0),
862
+ r(" 多实例 "),
863
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("multiInstance")) && b.elementType.indexOf("Task") !== -1 ? (f(), n(P, {
864
+ key: "multiInstance",
865
+ name: "multiInstance"
866
+ }, {
867
+ title: _(() => [...t[9] || (t[9] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-s-help" }), o("多实例")], -1)])]),
868
+ default: _(() => [s(O, {
869
+ id: b.elementId,
870
+ "bpmn-instances": b.bpmnInstances,
871
+ element: b.element,
872
+ type: b.elementType
873
+ }, null, 8, [
874
+ "id",
875
+ "bpmn-instances",
876
+ "element",
877
+ "type"
878
+ ])]),
879
+ _: 1
880
+ })) : r("v-if", !0),
881
+ r(" 执行监听器 "),
882
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("listeners") ? (f(), n(P, {
883
+ key: "listeners",
884
+ name: "listeners"
885
+ }, {
886
+ title: _(() => [a("div", Se, [
887
+ t[12] || (t[12] = a("i", { class: "el-icon-message-solid" }, null, -1)),
888
+ t[13] || (t[13] = o("执行监听器", -1)),
889
+ s(I, { effect: "light" }, {
890
+ content: _(() => [...t[10] || (t[10] = [a("p", null, "发送和退回时会触发", -1)])]),
891
+ default: _(() => [t[11] || (t[11] = a("i", { class: "el-icon-info" }, null, -1))]),
892
+ _: 1
893
+ })
894
+ ])]),
895
+ default: _(() => [s(k, {
896
+ id: b.elementId,
897
+ "bpmn-instances": b.bpmnInstances,
898
+ element: b.element,
899
+ type: b.elementType
900
+ }, null, 8, [
901
+ "id",
902
+ "bpmn-instances",
903
+ "element",
904
+ "type"
905
+ ])]),
906
+ _: 1
907
+ })) : r("v-if", !0),
908
+ r(" 任务监听器 "),
909
+ (x.isNullOrUndefined || x.isArray && c.useTabs.includes("taskListeners")) && b.elementType === "UserTask" ? (f(), n(P, {
910
+ key: "taskListeners",
911
+ name: "taskListeners"
912
+ }, {
913
+ title: _(() => [a("div", Ce, [
914
+ t[16] || (t[16] = a("i", { class: "el-icon-message-solid" }, null, -1)),
915
+ t[17] || (t[17] = o("任务监听器", -1)),
916
+ s(I, { effect: "light" }, {
917
+ content: _(() => [...t[14] || (t[14] = [a("p", null, "任务实例的创建、指派、完成、删除、更新、超时会触发", -1)])]),
918
+ default: _(() => [t[15] || (t[15] = a("i", { class: "el-icon-info" }, null, -1))]),
919
+ _: 1
920
+ })
921
+ ])]),
922
+ default: _(() => [s(A, {
923
+ id: b.elementId,
924
+ "bpmn-instances": b.bpmnInstances,
925
+ element: b.element,
926
+ type: b.elementType
927
+ }, null, 8, [
928
+ "id",
929
+ "bpmn-instances",
930
+ "element",
931
+ "type"
932
+ ])]),
933
+ _: 1
934
+ })) : r("v-if", !0),
935
+ r(" 扩展属性 "),
936
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("extensions") ? (f(), n(P, {
937
+ key: "extensions",
938
+ name: "extensions"
939
+ }, {
940
+ title: _(() => [...t[18] || (t[18] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-circle-plus" }), o("扩展属性")], -1)])]),
941
+ default: _(() => [s(j, {
942
+ id: b.elementId,
943
+ "bpmn-instances": b.bpmnInstances,
944
+ element: b.element,
945
+ type: b.elementType
946
+ }, null, 8, [
947
+ "id",
948
+ "bpmn-instances",
949
+ "element",
950
+ "type"
951
+ ])]),
952
+ _: 1
953
+ })) : r("v-if", !0),
954
+ r(" 其他 "),
955
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("other") ? (f(), n(P, {
956
+ key: "other",
957
+ name: "other"
958
+ }, {
959
+ title: _(() => [...t[19] || (t[19] = [a("div", { class: "panel-tab__title" }, [a("i", { class: "el-icon-s-promotion" }), o("其他")], -1)])]),
960
+ default: _(() => [s(M, {
961
+ id: b.elementId,
962
+ element: b.element,
963
+ "bpmn-instances": b.bpmnInstances
964
+ }, null, 8, [
965
+ "id",
966
+ "element",
967
+ "bpmn-instances"
968
+ ])]),
969
+ _: 1
970
+ })) : r("v-if", !0),
971
+ r(" 拓展 "),
972
+ x.isNullOrUndefined || x.isArray && c.useTabs.includes("extend") ? p(e.$slots, "extend", {
973
+ key: 10,
974
+ id: b.elementId,
975
+ bpmnInstances: b.bpmnInstances,
976
+ element: b.element,
977
+ type: b.elementType
978
+ }) : r("v-if", !0)
979
+ ]),
980
+ _: 3
981
+ }, 8, ["modelValue"])), [[g, b.isPanelVisible]])], 6);
982
+ }
983
+ var Te = /* @__PURE__ */ e(be, [["render", we]]), Ee = (e, t, n) => (n = n || "camunda", `<?xml version="1.0" encoding="UTF-8"?>
984
+ <bpmn2:definitions
985
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
986
+ xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL"
987
+ xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
988
+ xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
989
+ xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
990
+ id="diagram_${e}"
991
+ targetNamespace="${{
992
+ activiti: "http://activiti.org/bpmn",
993
+ camunda: "http://bpmn.io/schema/bpmn",
994
+ flowable: "http://flowable.org/bpmn"
995
+ }[n]}">
996
+ <bpmn2:process id="${e}" name="${t}" isExecutable="true">
997
+ </bpmn2:process>
998
+ <bpmndi:BPMNDiagram id="BPMNDiagram_1">
999
+ <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="${e}">
1000
+ </bpmndi:BPMNPlane>
1001
+ </bpmndi:BPMNDiagram>
1002
+ </bpmn2:definitions>`);
1003
+ //#endregion
1004
+ //#region src/components/bpmn-process-designer/plugins/translate/customTranslate.js
1005
+ function De(e) {
1006
+ return function(t, n) {
1007
+ return n = n || {}, t = e[t] || t, t.replace(/{([^}]+)}/g, function(t, r) {
1008
+ let i = n[r];
1009
+ return e[n[r]] !== null && e[n[r]] !== void 0 && (i = e[n[r]]), i || `{${r}}`;
1010
+ });
1011
+ };
1012
+ }
1013
+ //#endregion
1014
+ //#region src/components/bpmn-process-designer/plugins/translate/zh.js
1015
+ var Oe = {
1016
+ "Append EndEvent": "追加结束事件",
1017
+ "Append Gateway": "追加网关",
1018
+ "Append Task": "追加任务",
1019
+ "Append Intermediate/Boundary Event": "追加中间抛出事件/边界事件",
1020
+ "Activate the global connect tool": "激活全局连接工具",
1021
+ "Append {type}": "添加 {type}",
1022
+ "Add Lane above": "在上面添加道",
1023
+ "Divide into two Lanes": "分割成两个道",
1024
+ "Divide into three Lanes": "分割成三个道",
1025
+ "Add Lane below": "在下面添加道",
1026
+ "Append compensation activity": "追加补偿活动",
1027
+ "Change type": "修改类型",
1028
+ "Connect using Association": "使用关联连接",
1029
+ "Connect using Sequence/MessageFlow or Association": "使用顺序/消息流或者关联连接",
1030
+ "Connect using DataInputAssociation": "使用数据输入关联连接",
1031
+ Remove: "移除",
1032
+ "Activate the hand tool": "激活抓手工具",
1033
+ "Activate the lasso tool": "激活套索工具",
1034
+ "Activate the create/remove space tool": "激活创建/删除空间工具",
1035
+ "Create expanded SubProcess": "创建扩展子过程",
1036
+ "Create IntermediateThrowEvent/BoundaryEvent": "创建中间抛出事件/边界事件",
1037
+ "Create Pool/Participant": "创建池/参与者",
1038
+ "Parallel Multi Instance": "并行多重事件",
1039
+ "Sequential Multi Instance": "时序多重事件",
1040
+ DataObjectReference: "数据对象参考",
1041
+ DataStoreReference: "数据存储参考",
1042
+ Loop: "循环",
1043
+ "Ad-hoc": "即席",
1044
+ "Create {type}": "创建 {type}",
1045
+ Task: "任务",
1046
+ "Send Task": "发送任务",
1047
+ "Receive Task": "接收任务",
1048
+ "User Task": "用户任务",
1049
+ "Manual Task": "手工任务",
1050
+ "Business Rule Task": "业务规则任务",
1051
+ "Service Task": "服务任务",
1052
+ "Script Task": "脚本任务",
1053
+ "Call Activity": "调用活动",
1054
+ "Sub Process (collapsed)": "子流程(折叠的)",
1055
+ "Sub Process (expanded)": "子流程(展开的)",
1056
+ "Start Event": "开始事件",
1057
+ StartEvent: "开始事件",
1058
+ "Intermediate Throw Event": "中间事件",
1059
+ "End Event": "结束事件",
1060
+ EndEvent: "结束事件",
1061
+ "Create StartEvent": "创建开始事件",
1062
+ "Create EndEvent": "创建结束事件",
1063
+ "Create Task": "创建任务",
1064
+ "Create User Task": "创建用户任务",
1065
+ "Create Gateway": "创建网关",
1066
+ "Create DataObjectReference": "创建数据对象",
1067
+ "Create DataStoreReference": "创建数据存储",
1068
+ "Create Group": "创建分组",
1069
+ "Create Intermediate/Boundary Event": "创建中间/边界事件",
1070
+ "Message Start Event": "消息开始事件",
1071
+ "Timer Start Event": "定时开始事件",
1072
+ "Conditional Start Event": "条件开始事件",
1073
+ "Signal Start Event": "信号开始事件",
1074
+ "Error Start Event": "错误开始事件",
1075
+ "Escalation Start Event": "升级开始事件",
1076
+ "Compensation Start Event": "补偿开始事件",
1077
+ "Message Start Event (non-interrupting)": "消息开始事件(非中断)",
1078
+ "Timer Start Event (non-interrupting)": "定时开始事件(非中断)",
1079
+ "Conditional Start Event (non-interrupting)": "条件开始事件(非中断)",
1080
+ "Signal Start Event (non-interrupting)": "信号开始事件(非中断)",
1081
+ "Escalation Start Event (non-interrupting)": "升级开始事件(非中断)",
1082
+ "Message Intermediate Catch Event": "消息中间捕获事件",
1083
+ "Message Intermediate Throw Event": "消息中间抛出事件",
1084
+ "Timer Intermediate Catch Event": "定时中间捕获事件",
1085
+ "Escalation Intermediate Throw Event": "升级中间抛出事件",
1086
+ "Conditional Intermediate Catch Event": "条件中间捕获事件",
1087
+ "Link Intermediate Catch Event": "链接中间捕获事件",
1088
+ "Link Intermediate Throw Event": "链接中间抛出事件",
1089
+ "Compensation Intermediate Throw Event": "补偿中间抛出事件",
1090
+ "Signal Intermediate Catch Event": "信号中间捕获事件",
1091
+ "Signal Intermediate Throw Event": "信号中间抛出事件",
1092
+ "Message End Event": "消息结束事件",
1093
+ "Escalation End Event": "定时结束事件",
1094
+ "Error End Event": "错误结束事件",
1095
+ "Cancel End Event": "取消结束事件",
1096
+ "Compensation End Event": "补偿结束事件",
1097
+ "Signal End Event": "信号结束事件",
1098
+ "Terminate End Event": "终止结束事件",
1099
+ "Message Boundary Event": "消息边界事件",
1100
+ "Message Boundary Event (non-interrupting)": "消息边界事件(非中断)",
1101
+ "Timer Boundary Event": "定时边界事件",
1102
+ "Timer Boundary Event (non-interrupting)": "定时边界事件(非中断)",
1103
+ "Escalation Boundary Event": "升级边界事件",
1104
+ "Escalation Boundary Event (non-interrupting)": "升级边界事件(非中断)",
1105
+ "Conditional Boundary Event": "条件边界事件",
1106
+ "Conditional Boundary Event (non-interrupting)": "条件边界事件(非中断)",
1107
+ "Error Boundary Event": "错误边界事件",
1108
+ "Cancel Boundary Event": "取消边界事件",
1109
+ "Signal Boundary Event": "信号边界事件",
1110
+ "Signal Boundary Event (non-interrupting)": "信号边界事件(非中断)",
1111
+ "Compensation Boundary Event": "补偿边界事件",
1112
+ "Exclusive Gateway": "互斥网关",
1113
+ "Parallel Gateway": "并行网关",
1114
+ "Inclusive Gateway": "相容网关",
1115
+ "Complex Gateway": "复杂网关",
1116
+ "Event based Gateway": "事件网关",
1117
+ Transaction: "转运",
1118
+ "Sub Process": "子流程",
1119
+ "Event Sub Process": "事件子流程",
1120
+ "Collapsed Pool": "折叠池",
1121
+ "Expanded Pool": "展开池",
1122
+ "no parent for {element} in {parent}": "在{parent}里,{element}没有父类",
1123
+ "no shape type specified": "没有指定的形状类型",
1124
+ "flow elements must be children of pools/participants": "流元素必须是池/参与者的子类",
1125
+ "out of bounds release": "out of bounds release",
1126
+ "more than {count} child lanes": "子道大于{count} ",
1127
+ "element required": "元素不能为空",
1128
+ "diagram not part of bpmn:Definitions": "流程图不符合bpmn规范",
1129
+ "no diagram to display": "没有可展示的流程图",
1130
+ "no process or collaboration to display": "没有可展示的流程/协作",
1131
+ "element {element} referenced by {referenced}#{property} not yet drawn": "由{referenced}#{property}引用的{element}元素仍未绘制",
1132
+ "already rendered {element}": "{element} 已被渲染",
1133
+ "failed to import {element}": "导入{element}失败",
1134
+ Id: "编号",
1135
+ Name: "名称",
1136
+ General: "常规",
1137
+ Details: "详情",
1138
+ "Message Name": "消息名称",
1139
+ Message: "消息",
1140
+ Initiator: "创建者",
1141
+ "Asynchronous Continuations": "持续异步",
1142
+ "Asynchronous Before": "异步前",
1143
+ "Asynchronous After": "异步后",
1144
+ "Job Configuration": "工作配置",
1145
+ Exclusive: "排除",
1146
+ "Job Priority": "工作优先级",
1147
+ "Retry Time Cycle": "重试时间周期",
1148
+ Documentation: "文档",
1149
+ "Element Documentation": "元素文档",
1150
+ "History Configuration": "历史配置",
1151
+ "History Time To Live": "历史的生存时间",
1152
+ Forms: "表单",
1153
+ "Form Key": "表单key",
1154
+ "Form Fields": "表单字段",
1155
+ "Business Key": "业务key",
1156
+ "Form Field": "表单字段",
1157
+ ID: "编号",
1158
+ Type: "类型",
1159
+ Label: "名称",
1160
+ "Default Value": "默认值",
1161
+ "Default Flow": "默认流转路径",
1162
+ "Conditional Flow": "条件流转路径",
1163
+ "Sequence Flow": "普通流转路径",
1164
+ Validation: "校验",
1165
+ "Add Constraint": "添加约束",
1166
+ Config: "配置",
1167
+ Properties: "属性",
1168
+ "Add Property": "添加属性",
1169
+ Value: "值",
1170
+ Listeners: "监听器",
1171
+ "Execution Listener": "执行监听",
1172
+ "Event Type": "事件类型",
1173
+ "Listener Type": "监听器类型",
1174
+ "Java Class": "Java类",
1175
+ Expression: "表达式",
1176
+ "Must provide a value": "必须提供一个值",
1177
+ "Delegate Expression": "代理表达式",
1178
+ Script: "脚本",
1179
+ "Script Format": "脚本格式",
1180
+ "Script Type": "脚本类型",
1181
+ "Inline Script": "内联脚本",
1182
+ "External Script": "外部脚本",
1183
+ Resource: "资源",
1184
+ "Field Injection": "字段注入",
1185
+ Extensions: "扩展",
1186
+ "Input/Output": "输入/输出",
1187
+ "Input Parameters": "输入参数",
1188
+ "Output Parameters": "输出参数",
1189
+ Parameters: "参数",
1190
+ "Output Parameter": "输出参数",
1191
+ "Timer Definition Type": "定时器定义类型",
1192
+ "Timer Definition": "定时器定义",
1193
+ Date: "日期",
1194
+ Duration: "持续",
1195
+ Cycle: "循环",
1196
+ Signal: "信号",
1197
+ "Signal Name": "信号名称",
1198
+ Escalation: "升级",
1199
+ Error: "错误",
1200
+ "Link Name": "链接名称",
1201
+ Condition: "条件名称",
1202
+ "Variable Name": "变量名称",
1203
+ "Variable Event": "变量事件",
1204
+ "Specify more than one variable change event as a comma separated list.": "多个变量事件以逗号隔开",
1205
+ "Wait for Completion": "等待完成",
1206
+ "Activity Ref": "活动参考",
1207
+ "Version Tag": "版本标签",
1208
+ Executable: "可执行文件",
1209
+ "External Task Configuration": "扩展任务配置",
1210
+ "Task Priority": "任务优先级",
1211
+ External: "外部",
1212
+ Connector: "连接器",
1213
+ "Must configure Connector": "必须配置连接器",
1214
+ "Connector Id": "连接器编号",
1215
+ Implementation: "实现方式",
1216
+ "Field Injections": "字段注入",
1217
+ Fields: "字段",
1218
+ "Result Variable": "结果变量",
1219
+ Topic: "主题",
1220
+ "Configure Connector": "配置连接器",
1221
+ "Input Parameter": "输入参数",
1222
+ Assignee: "代理人",
1223
+ "Candidate Users": "候选用户",
1224
+ "Candidate Groups": "候选组",
1225
+ "Due Date": "到期时间",
1226
+ "Follow Up Date": "跟踪日期",
1227
+ Priority: "优先级",
1228
+ "The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": "跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00",
1229
+ "The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)": "跟踪日期必须符合EL表达式,如: ${someDate} ,或者一个ISO标准日期,如:2015-06-26T09:54:00",
1230
+ Variables: "变量",
1231
+ "Candidate Starter Configuration": "候选人起动器配置",
1232
+ "Candidate Starter Groups": "候选人起动器组",
1233
+ "This maps to the process definition key.": "这映射到流程定义键。",
1234
+ "Candidate Starter Users": "候选人起动器的用户",
1235
+ "Specify more than one user as a comma separated list.": "指定多个用户作为逗号分隔的列表。",
1236
+ "Tasklist Configuration": "Tasklist配置",
1237
+ Startable: "启动",
1238
+ "Specify more than one group as a comma separated list.": "指定多个组作为逗号分隔的列表。",
1239
+ "Create element": "创建元素",
1240
+ "Empty Pool": "空池",
1241
+ Gateways: "网关",
1242
+ "Sub Processes": "子流程",
1243
+ "Append element": "追加元素",
1244
+ "Boundary Event": "边界事件",
1245
+ "Data Store Reference": "数据存储引用",
1246
+ "Data Object Reference": "数据对象引用",
1247
+ Participants: "参与者",
1248
+ Events: "事件",
1249
+ Data: "数据",
1250
+ TextAnnotation: "文本说明",
1251
+ Tasks: "任务"
1252
+ }, H = [
1253
+ {
1254
+ name: "commentInForm",
1255
+ isAttr: !0,
1256
+ type: "Boolean"
1257
+ },
1258
+ {
1259
+ name: "commentOrder",
1260
+ isAttr: !0,
1261
+ type: "Number"
1262
+ },
1263
+ {
1264
+ name: "commentNodeIds",
1265
+ isAttr: !0,
1266
+ type: "String"
1267
+ },
1268
+ {
1269
+ name: "commentLabel",
1270
+ isAttr: !0,
1271
+ type: "String"
1272
+ },
1273
+ {
1274
+ name: "requiredComment",
1275
+ isAttr: !0,
1276
+ type: "String"
1277
+ }
1278
+ ], ke = {
1279
+ name: "Camunda",
1280
+ uri: "http://camunda.org/schema/1.0/bpmn",
1281
+ prefix: "camunda",
1282
+ xml: { tagAlias: "lowerCase" },
1283
+ associations: [],
1284
+ types: [
1285
+ {
1286
+ name: "Definitions",
1287
+ isAbstract: !0,
1288
+ extends: ["bpmn:Definitions"],
1289
+ properties: [{
1290
+ name: "diagramRelationId",
1291
+ isAttr: !0,
1292
+ type: "String"
1293
+ }]
1294
+ },
1295
+ {
1296
+ name: "InOutBinding",
1297
+ superClass: ["Element"],
1298
+ isAbstract: !0,
1299
+ properties: [
1300
+ {
1301
+ name: "source",
1302
+ isAttr: !0,
1303
+ type: "String"
1304
+ },
1305
+ {
1306
+ name: "sourceExpression",
1307
+ isAttr: !0,
1308
+ type: "String"
1309
+ },
1310
+ {
1311
+ name: "target",
1312
+ isAttr: !0,
1313
+ type: "String"
1314
+ },
1315
+ {
1316
+ name: "businessKey",
1317
+ isAttr: !0,
1318
+ type: "String"
1319
+ },
1320
+ {
1321
+ name: "local",
1322
+ isAttr: !0,
1323
+ type: "Boolean",
1324
+ default: !1
1325
+ },
1326
+ {
1327
+ name: "variables",
1328
+ isAttr: !0,
1329
+ type: "String"
1330
+ }
1331
+ ]
1332
+ },
1333
+ {
1334
+ name: "In",
1335
+ superClass: ["InOutBinding"],
1336
+ meta: { allowedIn: ["bpmn:CallActivity", "bpmn:SignalEventDefinition"] }
1337
+ },
1338
+ {
1339
+ name: "Out",
1340
+ superClass: ["InOutBinding"],
1341
+ meta: { allowedIn: ["bpmn:CallActivity"] }
1342
+ },
1343
+ {
1344
+ name: "AsyncCapable",
1345
+ isAbstract: !0,
1346
+ extends: [
1347
+ "bpmn:Activity",
1348
+ "bpmn:Gateway",
1349
+ "bpmn:Event"
1350
+ ],
1351
+ properties: [
1352
+ {
1353
+ name: "async",
1354
+ isAttr: !0,
1355
+ type: "Boolean",
1356
+ default: !1
1357
+ },
1358
+ {
1359
+ name: "asyncBefore",
1360
+ isAttr: !0,
1361
+ type: "Boolean",
1362
+ default: !1
1363
+ },
1364
+ {
1365
+ name: "asyncAfter",
1366
+ isAttr: !0,
1367
+ type: "Boolean",
1368
+ default: !1
1369
+ },
1370
+ {
1371
+ name: "exclusive",
1372
+ isAttr: !0,
1373
+ type: "Boolean",
1374
+ default: !0
1375
+ }
1376
+ ]
1377
+ },
1378
+ {
1379
+ name: "JobPriorized",
1380
+ isAbstract: !0,
1381
+ extends: ["bpmn:Process", "camunda:AsyncCapable"],
1382
+ properties: [{
1383
+ name: "jobPriority",
1384
+ isAttr: !0,
1385
+ type: "String"
1386
+ }]
1387
+ },
1388
+ {
1389
+ name: "SignalEventDefinition",
1390
+ isAbstract: !0,
1391
+ extends: ["bpmn:SignalEventDefinition"],
1392
+ properties: [{
1393
+ name: "async",
1394
+ isAttr: !0,
1395
+ type: "Boolean",
1396
+ default: !1
1397
+ }]
1398
+ },
1399
+ {
1400
+ name: "ErrorEventDefinition",
1401
+ isAbstract: !0,
1402
+ extends: ["bpmn:ErrorEventDefinition"],
1403
+ properties: [{
1404
+ name: "errorCodeVariable",
1405
+ isAttr: !0,
1406
+ type: "String"
1407
+ }, {
1408
+ name: "errorMessageVariable",
1409
+ isAttr: !0,
1410
+ type: "String"
1411
+ }]
1412
+ },
1413
+ {
1414
+ name: "Error",
1415
+ isAbstract: !0,
1416
+ extends: ["bpmn:Error"],
1417
+ properties: [{
1418
+ name: "camunda:errorMessage",
1419
+ isAttr: !0,
1420
+ type: "String"
1421
+ }]
1422
+ },
1423
+ {
1424
+ name: "PotentialStarter",
1425
+ superClass: ["Element"],
1426
+ properties: [{
1427
+ name: "resourceAssignmentExpression",
1428
+ type: "bpmn:ResourceAssignmentExpression"
1429
+ }]
1430
+ },
1431
+ {
1432
+ name: "FormSupported",
1433
+ isAbstract: !0,
1434
+ extends: ["bpmn:StartEvent", "bpmn:UserTask"],
1435
+ properties: [{
1436
+ name: "formHandlerClass",
1437
+ isAttr: !0,
1438
+ type: "String"
1439
+ }, {
1440
+ name: "formKey",
1441
+ isAttr: !0,
1442
+ type: "String"
1443
+ }]
1444
+ },
1445
+ {
1446
+ name: "TemplateSupported",
1447
+ isAbstract: !0,
1448
+ extends: ["bpmn:Process", "bpmn:FlowElement"],
1449
+ properties: [{
1450
+ name: "modelerTemplate",
1451
+ isAttr: !0,
1452
+ type: "String"
1453
+ }, {
1454
+ name: "modelerTemplateVersion",
1455
+ isAttr: !0,
1456
+ type: "Integer"
1457
+ }]
1458
+ },
1459
+ {
1460
+ name: "Initiator",
1461
+ isAbstract: !0,
1462
+ extends: ["bpmn:StartEvent"],
1463
+ properties: [{
1464
+ name: "initiator",
1465
+ isAttr: !0,
1466
+ type: "String"
1467
+ }]
1468
+ },
1469
+ {
1470
+ name: "ScriptTask",
1471
+ isAbstract: !0,
1472
+ extends: ["bpmn:ScriptTask"],
1473
+ properties: [{
1474
+ name: "resultVariable",
1475
+ isAttr: !0,
1476
+ type: "String"
1477
+ }, {
1478
+ name: "resource",
1479
+ isAttr: !0,
1480
+ type: "String"
1481
+ }]
1482
+ },
1483
+ {
1484
+ name: "Process",
1485
+ isAbstract: !0,
1486
+ extends: ["bpmn:Process"],
1487
+ properties: [
1488
+ {
1489
+ name: "candidateStarterGroups",
1490
+ isAttr: !0,
1491
+ type: "String"
1492
+ },
1493
+ {
1494
+ name: "candidateStarterUsers",
1495
+ isAttr: !0,
1496
+ type: "String"
1497
+ },
1498
+ {
1499
+ name: "versionTag",
1500
+ isAttr: !0,
1501
+ type: "String"
1502
+ },
1503
+ {
1504
+ name: "historyTimeToLive",
1505
+ isAttr: !0,
1506
+ type: "String"
1507
+ },
1508
+ {
1509
+ name: "isStartableInTasklist",
1510
+ isAttr: !0,
1511
+ type: "Boolean",
1512
+ default: !0
1513
+ }
1514
+ ]
1515
+ },
1516
+ {
1517
+ name: "EscalationEventDefinition",
1518
+ isAbstract: !0,
1519
+ extends: ["bpmn:EscalationEventDefinition"],
1520
+ properties: [{
1521
+ name: "escalationCodeVariable",
1522
+ isAttr: !0,
1523
+ type: "String"
1524
+ }]
1525
+ },
1526
+ {
1527
+ name: "FormalExpression",
1528
+ isAbstract: !0,
1529
+ extends: ["bpmn:FormalExpression"],
1530
+ properties: [{
1531
+ name: "resource",
1532
+ isAttr: !0,
1533
+ type: "String"
1534
+ }]
1535
+ },
1536
+ {
1537
+ name: "Assignable",
1538
+ extends: ["bpmn:UserTask"],
1539
+ properties: [
1540
+ {
1541
+ name: "assignee",
1542
+ isAttr: !0,
1543
+ type: "String"
1544
+ },
1545
+ {
1546
+ name: "candidateUsers",
1547
+ isAttr: !0,
1548
+ type: "String"
1549
+ },
1550
+ {
1551
+ name: "candidateGroups",
1552
+ isAttr: !0,
1553
+ type: "String"
1554
+ },
1555
+ {
1556
+ name: "dueDate",
1557
+ isAttr: !0,
1558
+ type: "String"
1559
+ },
1560
+ {
1561
+ name: "followUpDate",
1562
+ isAttr: !0,
1563
+ type: "String"
1564
+ },
1565
+ {
1566
+ name: "priority",
1567
+ isAttr: !0,
1568
+ type: "String"
1569
+ },
1570
+ ...H
1571
+ ]
1572
+ },
1573
+ {
1574
+ name: "CallActivity",
1575
+ extends: ["bpmn:CallActivity"],
1576
+ properties: [
1577
+ {
1578
+ name: "calledElementBinding",
1579
+ isAttr: !0,
1580
+ type: "String",
1581
+ default: "latest"
1582
+ },
1583
+ {
1584
+ name: "calledElementVersion",
1585
+ isAttr: !0,
1586
+ type: "String"
1587
+ },
1588
+ {
1589
+ name: "calledElementVersionTag",
1590
+ isAttr: !0,
1591
+ type: "String"
1592
+ },
1593
+ {
1594
+ name: "calledElementTenantId",
1595
+ isAttr: !0,
1596
+ type: "String"
1597
+ },
1598
+ {
1599
+ name: "caseRef",
1600
+ isAttr: !0,
1601
+ type: "String"
1602
+ },
1603
+ {
1604
+ name: "caseBinding",
1605
+ isAttr: !0,
1606
+ type: "String",
1607
+ default: "latest"
1608
+ },
1609
+ {
1610
+ name: "caseVersion",
1611
+ isAttr: !0,
1612
+ type: "String"
1613
+ },
1614
+ {
1615
+ name: "caseTenantId",
1616
+ isAttr: !0,
1617
+ type: "String"
1618
+ },
1619
+ {
1620
+ name: "variableMappingClass",
1621
+ isAttr: !0,
1622
+ type: "String"
1623
+ },
1624
+ {
1625
+ name: "variableMappingDelegateExpression",
1626
+ isAttr: !0,
1627
+ type: "String"
1628
+ }
1629
+ ]
1630
+ },
1631
+ {
1632
+ name: "ServiceTaskLike",
1633
+ extends: [
1634
+ "bpmn:ServiceTask",
1635
+ "bpmn:BusinessRuleTask",
1636
+ "bpmn:SendTask",
1637
+ "bpmn:MessageEventDefinition"
1638
+ ],
1639
+ properties: [
1640
+ {
1641
+ name: "expression",
1642
+ isAttr: !0,
1643
+ type: "String"
1644
+ },
1645
+ {
1646
+ name: "class",
1647
+ isAttr: !0,
1648
+ type: "String"
1649
+ },
1650
+ {
1651
+ name: "delegateExpression",
1652
+ isAttr: !0,
1653
+ type: "String"
1654
+ },
1655
+ {
1656
+ name: "resultVariable",
1657
+ isAttr: !0,
1658
+ type: "String"
1659
+ }
1660
+ ]
1661
+ },
1662
+ {
1663
+ name: "DmnCapable",
1664
+ extends: ["bpmn:BusinessRuleTask"],
1665
+ properties: [
1666
+ {
1667
+ name: "decisionRef",
1668
+ isAttr: !0,
1669
+ type: "String"
1670
+ },
1671
+ {
1672
+ name: "decisionRefBinding",
1673
+ isAttr: !0,
1674
+ type: "String",
1675
+ default: "latest"
1676
+ },
1677
+ {
1678
+ name: "decisionRefVersion",
1679
+ isAttr: !0,
1680
+ type: "String"
1681
+ },
1682
+ {
1683
+ name: "mapDecisionResult",
1684
+ isAttr: !0,
1685
+ type: "String",
1686
+ default: "resultList"
1687
+ },
1688
+ {
1689
+ name: "decisionRefTenantId",
1690
+ isAttr: !0,
1691
+ type: "String"
1692
+ }
1693
+ ]
1694
+ },
1695
+ {
1696
+ name: "ExternalCapable",
1697
+ extends: ["camunda:ServiceTaskLike"],
1698
+ properties: [{
1699
+ name: "type",
1700
+ isAttr: !0,
1701
+ type: "String"
1702
+ }, {
1703
+ name: "topic",
1704
+ isAttr: !0,
1705
+ type: "String"
1706
+ }]
1707
+ },
1708
+ {
1709
+ name: "TaskPriorized",
1710
+ extends: ["bpmn:Process", "camunda:ExternalCapable"],
1711
+ properties: [{
1712
+ name: "taskPriority",
1713
+ isAttr: !0,
1714
+ type: "String"
1715
+ }]
1716
+ },
1717
+ {
1718
+ name: "Properties",
1719
+ superClass: ["Element"],
1720
+ meta: { allowedIn: ["*"] },
1721
+ properties: [{
1722
+ name: "values",
1723
+ type: "Property",
1724
+ isMany: !0
1725
+ }]
1726
+ },
1727
+ {
1728
+ name: "Property",
1729
+ superClass: ["Element"],
1730
+ properties: [
1731
+ {
1732
+ name: "id",
1733
+ type: "String",
1734
+ isAttr: !0
1735
+ },
1736
+ {
1737
+ name: "name",
1738
+ type: "String",
1739
+ isAttr: !0
1740
+ },
1741
+ {
1742
+ name: "value",
1743
+ type: "String",
1744
+ isAttr: !0
1745
+ }
1746
+ ]
1747
+ },
1748
+ {
1749
+ name: "Connector",
1750
+ superClass: ["Element"],
1751
+ meta: { allowedIn: ["camunda:ServiceTaskLike"] },
1752
+ properties: [{
1753
+ name: "inputOutput",
1754
+ type: "InputOutput"
1755
+ }, {
1756
+ name: "connectorId",
1757
+ type: "String"
1758
+ }]
1759
+ },
1760
+ {
1761
+ name: "InputOutput",
1762
+ superClass: ["Element"],
1763
+ meta: { allowedIn: ["bpmn:FlowNode", "camunda:Connector"] },
1764
+ properties: [
1765
+ {
1766
+ name: "inputOutput",
1767
+ type: "InputOutput"
1768
+ },
1769
+ {
1770
+ name: "connectorId",
1771
+ type: "String"
1772
+ },
1773
+ {
1774
+ name: "inputParameters",
1775
+ isMany: !0,
1776
+ type: "InputParameter"
1777
+ },
1778
+ {
1779
+ name: "outputParameters",
1780
+ isMany: !0,
1781
+ type: "OutputParameter"
1782
+ }
1783
+ ]
1784
+ },
1785
+ {
1786
+ name: "InputOutputParameter",
1787
+ properties: [
1788
+ {
1789
+ name: "name",
1790
+ isAttr: !0,
1791
+ type: "String"
1792
+ },
1793
+ {
1794
+ name: "value",
1795
+ isBody: !0,
1796
+ type: "String"
1797
+ },
1798
+ {
1799
+ name: "definition",
1800
+ type: "InputOutputParameterDefinition"
1801
+ }
1802
+ ]
1803
+ },
1804
+ {
1805
+ name: "InputOutputParameterDefinition",
1806
+ isAbstract: !0
1807
+ },
1808
+ {
1809
+ name: "List",
1810
+ superClass: ["InputOutputParameterDefinition"],
1811
+ properties: [{
1812
+ name: "items",
1813
+ isMany: !0,
1814
+ type: "InputOutputParameterDefinition"
1815
+ }]
1816
+ },
1817
+ {
1818
+ name: "Map",
1819
+ superClass: ["InputOutputParameterDefinition"],
1820
+ properties: [{
1821
+ name: "entries",
1822
+ isMany: !0,
1823
+ type: "Entry"
1824
+ }]
1825
+ },
1826
+ {
1827
+ name: "Entry",
1828
+ properties: [
1829
+ {
1830
+ name: "key",
1831
+ isAttr: !0,
1832
+ type: "String"
1833
+ },
1834
+ {
1835
+ name: "value",
1836
+ isBody: !0,
1837
+ type: "String"
1838
+ },
1839
+ {
1840
+ name: "definition",
1841
+ type: "InputOutputParameterDefinition"
1842
+ }
1843
+ ]
1844
+ },
1845
+ {
1846
+ name: "Value",
1847
+ superClass: ["InputOutputParameterDefinition"],
1848
+ properties: [
1849
+ {
1850
+ name: "id",
1851
+ isAttr: !0,
1852
+ type: "String"
1853
+ },
1854
+ {
1855
+ name: "name",
1856
+ isAttr: !0,
1857
+ type: "String"
1858
+ },
1859
+ {
1860
+ name: "value",
1861
+ isBody: !0,
1862
+ type: "String"
1863
+ }
1864
+ ]
1865
+ },
1866
+ {
1867
+ name: "Script",
1868
+ superClass: ["InputOutputParameterDefinition"],
1869
+ properties: [
1870
+ {
1871
+ name: "scriptFormat",
1872
+ isAttr: !0,
1873
+ type: "String"
1874
+ },
1875
+ {
1876
+ name: "resource",
1877
+ isAttr: !0,
1878
+ type: "String"
1879
+ },
1880
+ {
1881
+ name: "value",
1882
+ isBody: !0,
1883
+ type: "String"
1884
+ }
1885
+ ]
1886
+ },
1887
+ {
1888
+ name: "Field",
1889
+ superClass: ["Element"],
1890
+ meta: { allowedIn: [
1891
+ "camunda:ServiceTaskLike",
1892
+ "camunda:ExecutionListener",
1893
+ "camunda:TaskListener"
1894
+ ] },
1895
+ properties: [
1896
+ {
1897
+ name: "name",
1898
+ isAttr: !0,
1899
+ type: "String"
1900
+ },
1901
+ {
1902
+ name: "expression",
1903
+ type: "String"
1904
+ },
1905
+ {
1906
+ name: "stringValue",
1907
+ isAttr: !0,
1908
+ type: "String"
1909
+ },
1910
+ {
1911
+ name: "string",
1912
+ type: "String"
1913
+ }
1914
+ ]
1915
+ },
1916
+ {
1917
+ name: "InputParameter",
1918
+ superClass: ["InputOutputParameter"]
1919
+ },
1920
+ {
1921
+ name: "OutputParameter",
1922
+ superClass: ["InputOutputParameter"]
1923
+ },
1924
+ {
1925
+ name: "Collectable",
1926
+ isAbstract: !0,
1927
+ extends: ["bpmn:MultiInstanceLoopCharacteristics"],
1928
+ superClass: ["camunda:AsyncCapable"],
1929
+ properties: [{
1930
+ name: "collection",
1931
+ isAttr: !0,
1932
+ type: "String"
1933
+ }, {
1934
+ name: "elementVariable",
1935
+ isAttr: !0,
1936
+ type: "String"
1937
+ }]
1938
+ },
1939
+ {
1940
+ name: "FailedJobRetryTimeCycle",
1941
+ superClass: ["Element"],
1942
+ meta: { allowedIn: ["camunda:AsyncCapable", "bpmn:MultiInstanceLoopCharacteristics"] },
1943
+ properties: [{
1944
+ name: "body",
1945
+ isBody: !0,
1946
+ type: "String"
1947
+ }]
1948
+ },
1949
+ {
1950
+ name: "ExecutionListener",
1951
+ superClass: ["Element"],
1952
+ meta: { allowedIn: [
1953
+ "bpmn:Task",
1954
+ "bpmn:ServiceTask",
1955
+ "bpmn:UserTask",
1956
+ "bpmn:BusinessRuleTask",
1957
+ "bpmn:ScriptTask",
1958
+ "bpmn:ReceiveTask",
1959
+ "bpmn:ManualTask",
1960
+ "bpmn:ExclusiveGateway",
1961
+ "bpmn:SequenceFlow",
1962
+ "bpmn:ParallelGateway",
1963
+ "bpmn:InclusiveGateway",
1964
+ "bpmn:EventBasedGateway",
1965
+ "bpmn:StartEvent",
1966
+ "bpmn:IntermediateCatchEvent",
1967
+ "bpmn:IntermediateThrowEvent",
1968
+ "bpmn:EndEvent",
1969
+ "bpmn:BoundaryEvent",
1970
+ "bpmn:CallActivity",
1971
+ "bpmn:SubProcess",
1972
+ "bpmn:Process"
1973
+ ] },
1974
+ properties: [
1975
+ {
1976
+ name: "expression",
1977
+ isAttr: !0,
1978
+ type: "String"
1979
+ },
1980
+ {
1981
+ name: "class",
1982
+ isAttr: !0,
1983
+ type: "String"
1984
+ },
1985
+ {
1986
+ name: "delegateExpression",
1987
+ isAttr: !0,
1988
+ type: "String"
1989
+ },
1990
+ {
1991
+ name: "event",
1992
+ isAttr: !0,
1993
+ type: "String"
1994
+ },
1995
+ {
1996
+ name: "script",
1997
+ type: "Script"
1998
+ },
1999
+ {
2000
+ name: "fields",
2001
+ type: "Field",
2002
+ isMany: !0
2003
+ }
2004
+ ]
2005
+ },
2006
+ {
2007
+ name: "TaskListener",
2008
+ superClass: ["Element"],
2009
+ meta: { allowedIn: ["bpmn:UserTask"] },
2010
+ properties: [
2011
+ {
2012
+ name: "expression",
2013
+ isAttr: !0,
2014
+ type: "String"
2015
+ },
2016
+ {
2017
+ name: "class",
2018
+ isAttr: !0,
2019
+ type: "String"
2020
+ },
2021
+ {
2022
+ name: "delegateExpression",
2023
+ isAttr: !0,
2024
+ type: "String"
2025
+ },
2026
+ {
2027
+ name: "event",
2028
+ isAttr: !0,
2029
+ type: "String"
2030
+ },
2031
+ {
2032
+ name: "script",
2033
+ type: "Script"
2034
+ },
2035
+ {
2036
+ name: "fields",
2037
+ type: "Field",
2038
+ isMany: !0
2039
+ },
2040
+ {
2041
+ name: "id",
2042
+ type: "String",
2043
+ isAttr: !0
2044
+ },
2045
+ {
2046
+ name: "eventDefinitions",
2047
+ type: "bpmn:TimerEventDefinition",
2048
+ isMany: !0
2049
+ }
2050
+ ]
2051
+ },
2052
+ {
2053
+ name: "FormProperty",
2054
+ superClass: ["Element"],
2055
+ meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
2056
+ properties: [
2057
+ {
2058
+ name: "id",
2059
+ type: "String",
2060
+ isAttr: !0
2061
+ },
2062
+ {
2063
+ name: "name",
2064
+ type: "String",
2065
+ isAttr: !0
2066
+ },
2067
+ {
2068
+ name: "type",
2069
+ type: "String",
2070
+ isAttr: !0
2071
+ },
2072
+ {
2073
+ name: "required",
2074
+ type: "String",
2075
+ isAttr: !0
2076
+ },
2077
+ {
2078
+ name: "readable",
2079
+ type: "String",
2080
+ isAttr: !0
2081
+ },
2082
+ {
2083
+ name: "writable",
2084
+ type: "String",
2085
+ isAttr: !0
2086
+ },
2087
+ {
2088
+ name: "variable",
2089
+ type: "String",
2090
+ isAttr: !0
2091
+ },
2092
+ {
2093
+ name: "expression",
2094
+ type: "String",
2095
+ isAttr: !0
2096
+ },
2097
+ {
2098
+ name: "datePattern",
2099
+ type: "String",
2100
+ isAttr: !0
2101
+ },
2102
+ {
2103
+ name: "default",
2104
+ type: "String",
2105
+ isAttr: !0
2106
+ },
2107
+ {
2108
+ name: "values",
2109
+ type: "Value",
2110
+ isMany: !0
2111
+ }
2112
+ ]
2113
+ },
2114
+ {
2115
+ name: "FormData",
2116
+ superClass: ["Element"],
2117
+ meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
2118
+ properties: [{
2119
+ name: "fields",
2120
+ type: "FormField",
2121
+ isMany: !0
2122
+ }, {
2123
+ name: "businessKey",
2124
+ type: "String",
2125
+ isAttr: !0
2126
+ }]
2127
+ },
2128
+ {
2129
+ name: "FormField",
2130
+ superClass: ["Element"],
2131
+ properties: [
2132
+ {
2133
+ name: "id",
2134
+ type: "String",
2135
+ isAttr: !0
2136
+ },
2137
+ {
2138
+ name: "label",
2139
+ type: "String",
2140
+ isAttr: !0
2141
+ },
2142
+ {
2143
+ name: "type",
2144
+ type: "String",
2145
+ isAttr: !0
2146
+ },
2147
+ {
2148
+ name: "datePattern",
2149
+ type: "String",
2150
+ isAttr: !0
2151
+ },
2152
+ {
2153
+ name: "defaultValue",
2154
+ type: "String",
2155
+ isAttr: !0
2156
+ },
2157
+ {
2158
+ name: "properties",
2159
+ type: "Properties"
2160
+ },
2161
+ {
2162
+ name: "validation",
2163
+ type: "Validation"
2164
+ },
2165
+ {
2166
+ name: "values",
2167
+ type: "Value",
2168
+ isMany: !0
2169
+ }
2170
+ ]
2171
+ },
2172
+ {
2173
+ name: "Validation",
2174
+ superClass: ["Element"],
2175
+ properties: [{
2176
+ name: "constraints",
2177
+ type: "Constraint",
2178
+ isMany: !0
2179
+ }]
2180
+ },
2181
+ {
2182
+ name: "Constraint",
2183
+ superClass: ["Element"],
2184
+ properties: [{
2185
+ name: "name",
2186
+ type: "String",
2187
+ isAttr: !0
2188
+ }, {
2189
+ name: "config",
2190
+ type: "String",
2191
+ isAttr: !0
2192
+ }]
2193
+ },
2194
+ {
2195
+ name: "ConditionalEventDefinition",
2196
+ isAbstract: !0,
2197
+ extends: ["bpmn:ConditionalEventDefinition"],
2198
+ properties: [{
2199
+ name: "variableName",
2200
+ isAttr: !0,
2201
+ type: "String"
2202
+ }, {
2203
+ name: "variableEvents",
2204
+ isAttr: !0,
2205
+ type: "String"
2206
+ }]
2207
+ }
2208
+ ],
2209
+ emumerations: []
2210
+ }, Ae = {
2211
+ name: "Activiti",
2212
+ uri: "http://activiti.org/bpmn",
2213
+ prefix: "activiti",
2214
+ xml: { tagAlias: "lowerCase" },
2215
+ associations: [],
2216
+ types: [
2217
+ {
2218
+ name: "Definitions",
2219
+ isAbstract: !0,
2220
+ extends: ["bpmn:Definitions"],
2221
+ properties: [{
2222
+ name: "diagramRelationId",
2223
+ isAttr: !0,
2224
+ type: "String"
2225
+ }]
2226
+ },
2227
+ {
2228
+ name: "InOutBinding",
2229
+ superClass: ["Element"],
2230
+ isAbstract: !0,
2231
+ properties: [
2232
+ {
2233
+ name: "source",
2234
+ isAttr: !0,
2235
+ type: "String"
2236
+ },
2237
+ {
2238
+ name: "sourceExpression",
2239
+ isAttr: !0,
2240
+ type: "String"
2241
+ },
2242
+ {
2243
+ name: "target",
2244
+ isAttr: !0,
2245
+ type: "String"
2246
+ },
2247
+ {
2248
+ name: "businessKey",
2249
+ isAttr: !0,
2250
+ type: "String"
2251
+ },
2252
+ {
2253
+ name: "local",
2254
+ isAttr: !0,
2255
+ type: "Boolean",
2256
+ default: !1
2257
+ },
2258
+ {
2259
+ name: "variables",
2260
+ isAttr: !0,
2261
+ type: "String"
2262
+ }
2263
+ ]
2264
+ },
2265
+ {
2266
+ name: "In",
2267
+ superClass: ["InOutBinding"],
2268
+ meta: { allowedIn: ["bpmn:CallActivity"] }
2269
+ },
2270
+ {
2271
+ name: "Out",
2272
+ superClass: ["InOutBinding"],
2273
+ meta: { allowedIn: ["bpmn:CallActivity"] }
2274
+ },
2275
+ {
2276
+ name: "AsyncCapable",
2277
+ isAbstract: !0,
2278
+ extends: [
2279
+ "bpmn:Activity",
2280
+ "bpmn:Gateway",
2281
+ "bpmn:Event"
2282
+ ],
2283
+ properties: [
2284
+ {
2285
+ name: "async",
2286
+ isAttr: !0,
2287
+ type: "Boolean",
2288
+ default: !1
2289
+ },
2290
+ {
2291
+ name: "asyncBefore",
2292
+ isAttr: !0,
2293
+ type: "Boolean",
2294
+ default: !1
2295
+ },
2296
+ {
2297
+ name: "asyncAfter",
2298
+ isAttr: !0,
2299
+ type: "Boolean",
2300
+ default: !1
2301
+ },
2302
+ {
2303
+ name: "exclusive",
2304
+ isAttr: !0,
2305
+ type: "Boolean",
2306
+ default: !0
2307
+ }
2308
+ ]
2309
+ },
2310
+ {
2311
+ name: "JobPriorized",
2312
+ isAbstract: !0,
2313
+ extends: ["bpmn:Process", "activiti:AsyncCapable"],
2314
+ properties: [{
2315
+ name: "jobPriority",
2316
+ isAttr: !0,
2317
+ type: "String"
2318
+ }]
2319
+ },
2320
+ {
2321
+ name: "SignalEventDefinition",
2322
+ isAbstract: !0,
2323
+ extends: ["bpmn:SignalEventDefinition"],
2324
+ properties: [{
2325
+ name: "async",
2326
+ isAttr: !0,
2327
+ type: "Boolean",
2328
+ default: !1
2329
+ }]
2330
+ },
2331
+ {
2332
+ name: "ErrorEventDefinition",
2333
+ isAbstract: !0,
2334
+ extends: ["bpmn:ErrorEventDefinition"],
2335
+ properties: [{
2336
+ name: "errorCodeVariable",
2337
+ isAttr: !0,
2338
+ type: "String"
2339
+ }, {
2340
+ name: "errorMessageVariable",
2341
+ isAttr: !0,
2342
+ type: "String"
2343
+ }]
2344
+ },
2345
+ {
2346
+ name: "Error",
2347
+ isAbstract: !0,
2348
+ extends: ["bpmn:Error"],
2349
+ properties: [{
2350
+ name: "activiti:errorMessage",
2351
+ isAttr: !0,
2352
+ type: "String"
2353
+ }]
2354
+ },
2355
+ {
2356
+ name: "PotentialStarter",
2357
+ superClass: ["Element"],
2358
+ properties: [{
2359
+ name: "resourceAssignmentExpression",
2360
+ type: "bpmn:ResourceAssignmentExpression"
2361
+ }]
2362
+ },
2363
+ {
2364
+ name: "FormSupported",
2365
+ isAbstract: !0,
2366
+ extends: ["bpmn:StartEvent", "bpmn:UserTask"],
2367
+ properties: [{
2368
+ name: "formHandlerClass",
2369
+ isAttr: !0,
2370
+ type: "String"
2371
+ }, {
2372
+ name: "formKey",
2373
+ isAttr: !0,
2374
+ type: "String"
2375
+ }]
2376
+ },
2377
+ {
2378
+ name: "TemplateSupported",
2379
+ isAbstract: !0,
2380
+ extends: ["bpmn:Process", "bpmn:FlowElement"],
2381
+ properties: [{
2382
+ name: "modelerTemplate",
2383
+ isAttr: !0,
2384
+ type: "String"
2385
+ }]
2386
+ },
2387
+ {
2388
+ name: "Initiator",
2389
+ isAbstract: !0,
2390
+ extends: ["bpmn:StartEvent"],
2391
+ properties: [{
2392
+ name: "initiator",
2393
+ isAttr: !0,
2394
+ type: "String"
2395
+ }]
2396
+ },
2397
+ {
2398
+ name: "ScriptTask",
2399
+ isAbstract: !0,
2400
+ extends: ["bpmn:ScriptTask"],
2401
+ properties: [{
2402
+ name: "resultVariable",
2403
+ isAttr: !0,
2404
+ type: "String"
2405
+ }, {
2406
+ name: "resource",
2407
+ isAttr: !0,
2408
+ type: "String"
2409
+ }]
2410
+ },
2411
+ {
2412
+ name: "Process",
2413
+ isAbstract: !0,
2414
+ extends: ["bpmn:Process"],
2415
+ properties: [
2416
+ {
2417
+ name: "candidateStarterGroups",
2418
+ isAttr: !0,
2419
+ type: "String"
2420
+ },
2421
+ {
2422
+ name: "candidateStarterUsers",
2423
+ isAttr: !0,
2424
+ type: "String"
2425
+ },
2426
+ {
2427
+ name: "versionTag",
2428
+ isAttr: !0,
2429
+ type: "String"
2430
+ },
2431
+ {
2432
+ name: "historyTimeToLive",
2433
+ isAttr: !0,
2434
+ type: "String"
2435
+ },
2436
+ {
2437
+ name: "isStartableInTasklist",
2438
+ isAttr: !0,
2439
+ type: "Boolean",
2440
+ default: !0
2441
+ },
2442
+ {
2443
+ name: "executionListener",
2444
+ isAbstract: !0,
2445
+ type: "Expression"
2446
+ }
2447
+ ]
2448
+ },
2449
+ {
2450
+ name: "EscalationEventDefinition",
2451
+ isAbstract: !0,
2452
+ extends: ["bpmn:EscalationEventDefinition"],
2453
+ properties: [{
2454
+ name: "escalationCodeVariable",
2455
+ isAttr: !0,
2456
+ type: "String"
2457
+ }]
2458
+ },
2459
+ {
2460
+ name: "FormalExpression",
2461
+ isAbstract: !0,
2462
+ extends: ["bpmn:FormalExpression"],
2463
+ properties: [{
2464
+ name: "resource",
2465
+ isAttr: !0,
2466
+ type: "String"
2467
+ }]
2468
+ },
2469
+ {
2470
+ name: "multiinstance_type",
2471
+ superClass: ["Element"]
2472
+ },
2473
+ {
2474
+ name: "multiinstance_condition",
2475
+ superClass: ["Element"]
2476
+ },
2477
+ {
2478
+ name: "Assignable",
2479
+ extends: ["bpmn:UserTask"],
2480
+ properties: [
2481
+ {
2482
+ name: "assignee",
2483
+ isAttr: !0,
2484
+ type: "String"
2485
+ },
2486
+ {
2487
+ name: "candidateUsers",
2488
+ isAttr: !0,
2489
+ type: "String"
2490
+ },
2491
+ {
2492
+ name: "candidateGroups",
2493
+ isAttr: !0,
2494
+ type: "String"
2495
+ },
2496
+ {
2497
+ name: "dueDate",
2498
+ isAttr: !0,
2499
+ type: "String"
2500
+ },
2501
+ {
2502
+ name: "followUpDate",
2503
+ isAttr: !0,
2504
+ type: "String"
2505
+ },
2506
+ {
2507
+ name: "priority",
2508
+ isAttr: !0,
2509
+ type: "String"
2510
+ },
2511
+ {
2512
+ name: "multiinstance_condition",
2513
+ isAttr: !0,
2514
+ type: "String"
2515
+ },
2516
+ ...H
2517
+ ]
2518
+ },
2519
+ {
2520
+ name: "CallActivity",
2521
+ extends: ["bpmn:CallActivity"],
2522
+ properties: [
2523
+ {
2524
+ name: "calledElementBinding",
2525
+ isAttr: !0,
2526
+ type: "String",
2527
+ default: "latest"
2528
+ },
2529
+ {
2530
+ name: "calledElementVersion",
2531
+ isAttr: !0,
2532
+ type: "String"
2533
+ },
2534
+ {
2535
+ name: "calledElementVersionTag",
2536
+ isAttr: !0,
2537
+ type: "String"
2538
+ },
2539
+ {
2540
+ name: "calledElementTenantId",
2541
+ isAttr: !0,
2542
+ type: "String"
2543
+ },
2544
+ {
2545
+ name: "caseRef",
2546
+ isAttr: !0,
2547
+ type: "String"
2548
+ },
2549
+ {
2550
+ name: "caseBinding",
2551
+ isAttr: !0,
2552
+ type: "String",
2553
+ default: "latest"
2554
+ },
2555
+ {
2556
+ name: "caseVersion",
2557
+ isAttr: !0,
2558
+ type: "String"
2559
+ },
2560
+ {
2561
+ name: "caseTenantId",
2562
+ isAttr: !0,
2563
+ type: "String"
2564
+ },
2565
+ {
2566
+ name: "variableMappingClass",
2567
+ isAttr: !0,
2568
+ type: "String"
2569
+ },
2570
+ {
2571
+ name: "variableMappingDelegateExpression",
2572
+ isAttr: !0,
2573
+ type: "String"
2574
+ }
2575
+ ]
2576
+ },
2577
+ {
2578
+ name: "ServiceTaskLike",
2579
+ extends: [
2580
+ "bpmn:ServiceTask",
2581
+ "bpmn:BusinessRuleTask",
2582
+ "bpmn:SendTask",
2583
+ "bpmn:MessageEventDefinition"
2584
+ ],
2585
+ properties: [
2586
+ {
2587
+ name: "expression",
2588
+ isAttr: !0,
2589
+ type: "String"
2590
+ },
2591
+ {
2592
+ name: "class",
2593
+ isAttr: !0,
2594
+ type: "String"
2595
+ },
2596
+ {
2597
+ name: "delegateExpression",
2598
+ isAttr: !0,
2599
+ type: "String"
2600
+ },
2601
+ {
2602
+ name: "resultVariable",
2603
+ isAttr: !0,
2604
+ type: "String"
2605
+ }
2606
+ ]
2607
+ },
2608
+ {
2609
+ name: "DmnCapable",
2610
+ extends: ["bpmn:BusinessRuleTask"],
2611
+ properties: [
2612
+ {
2613
+ name: "decisionRef",
2614
+ isAttr: !0,
2615
+ type: "String"
2616
+ },
2617
+ {
2618
+ name: "decisionRefBinding",
2619
+ isAttr: !0,
2620
+ type: "String",
2621
+ default: "latest"
2622
+ },
2623
+ {
2624
+ name: "decisionRefVersion",
2625
+ isAttr: !0,
2626
+ type: "String"
2627
+ },
2628
+ {
2629
+ name: "mapDecisionResult",
2630
+ isAttr: !0,
2631
+ type: "String",
2632
+ default: "resultList"
2633
+ },
2634
+ {
2635
+ name: "decisionRefTenantId",
2636
+ isAttr: !0,
2637
+ type: "String"
2638
+ }
2639
+ ]
2640
+ },
2641
+ {
2642
+ name: "ExternalCapable",
2643
+ extends: ["activiti:ServiceTaskLike"],
2644
+ properties: [{
2645
+ name: "type",
2646
+ isAttr: !0,
2647
+ type: "String"
2648
+ }, {
2649
+ name: "topic",
2650
+ isAttr: !0,
2651
+ type: "String"
2652
+ }]
2653
+ },
2654
+ {
2655
+ name: "TaskPriorized",
2656
+ extends: ["bpmn:Process", "activiti:ExternalCapable"],
2657
+ properties: [{
2658
+ name: "taskPriority",
2659
+ isAttr: !0,
2660
+ type: "String"
2661
+ }]
2662
+ },
2663
+ {
2664
+ name: "Properties",
2665
+ superClass: ["Element"],
2666
+ meta: { allowedIn: ["*"] },
2667
+ properties: [{
2668
+ name: "values",
2669
+ type: "Property",
2670
+ isMany: !0
2671
+ }]
2672
+ },
2673
+ {
2674
+ name: "Property",
2675
+ superClass: ["Element"],
2676
+ properties: [
2677
+ {
2678
+ name: "id",
2679
+ type: "String",
2680
+ isAttr: !0
2681
+ },
2682
+ {
2683
+ name: "name",
2684
+ type: "String",
2685
+ isAttr: !0
2686
+ },
2687
+ {
2688
+ name: "value",
2689
+ type: "String",
2690
+ isAttr: !0
2691
+ }
2692
+ ]
2693
+ },
2694
+ {
2695
+ name: "Connector",
2696
+ superClass: ["Element"],
2697
+ meta: { allowedIn: ["activiti:ServiceTaskLike"] },
2698
+ properties: [{
2699
+ name: "inputOutput",
2700
+ type: "InputOutput"
2701
+ }, {
2702
+ name: "connectorId",
2703
+ type: "String"
2704
+ }]
2705
+ },
2706
+ {
2707
+ name: "InputOutput",
2708
+ superClass: ["Element"],
2709
+ meta: { allowedIn: ["bpmn:FlowNode", "activiti:Connector"] },
2710
+ properties: [
2711
+ {
2712
+ name: "inputOutput",
2713
+ type: "InputOutput"
2714
+ },
2715
+ {
2716
+ name: "connectorId",
2717
+ type: "String"
2718
+ },
2719
+ {
2720
+ name: "inputParameters",
2721
+ isMany: !0,
2722
+ type: "InputParameter"
2723
+ },
2724
+ {
2725
+ name: "outputParameters",
2726
+ isMany: !0,
2727
+ type: "OutputParameter"
2728
+ }
2729
+ ]
2730
+ },
2731
+ {
2732
+ name: "InputOutputParameter",
2733
+ properties: [
2734
+ {
2735
+ name: "name",
2736
+ isAttr: !0,
2737
+ type: "String"
2738
+ },
2739
+ {
2740
+ name: "value",
2741
+ isBody: !0,
2742
+ type: "String"
2743
+ },
2744
+ {
2745
+ name: "definition",
2746
+ type: "InputOutputParameterDefinition"
2747
+ }
2748
+ ]
2749
+ },
2750
+ {
2751
+ name: "InputOutputParameterDefinition",
2752
+ isAbstract: !0
2753
+ },
2754
+ {
2755
+ name: "List",
2756
+ superClass: ["InputOutputParameterDefinition"],
2757
+ properties: [{
2758
+ name: "items",
2759
+ isMany: !0,
2760
+ type: "InputOutputParameterDefinition"
2761
+ }]
2762
+ },
2763
+ {
2764
+ name: "Map",
2765
+ superClass: ["InputOutputParameterDefinition"],
2766
+ properties: [{
2767
+ name: "entries",
2768
+ isMany: !0,
2769
+ type: "Entry"
2770
+ }]
2771
+ },
2772
+ {
2773
+ name: "Entry",
2774
+ properties: [
2775
+ {
2776
+ name: "key",
2777
+ isAttr: !0,
2778
+ type: "String"
2779
+ },
2780
+ {
2781
+ name: "value",
2782
+ isBody: !0,
2783
+ type: "String"
2784
+ },
2785
+ {
2786
+ name: "definition",
2787
+ type: "InputOutputParameterDefinition"
2788
+ }
2789
+ ]
2790
+ },
2791
+ {
2792
+ name: "Value",
2793
+ superClass: ["InputOutputParameterDefinition"],
2794
+ properties: [
2795
+ {
2796
+ name: "id",
2797
+ isAttr: !0,
2798
+ type: "String"
2799
+ },
2800
+ {
2801
+ name: "name",
2802
+ isAttr: !0,
2803
+ type: "String"
2804
+ },
2805
+ {
2806
+ name: "value",
2807
+ isBody: !0,
2808
+ type: "String"
2809
+ }
2810
+ ]
2811
+ },
2812
+ {
2813
+ name: "Script",
2814
+ superClass: ["InputOutputParameterDefinition"],
2815
+ properties: [
2816
+ {
2817
+ name: "scriptFormat",
2818
+ isAttr: !0,
2819
+ type: "String"
2820
+ },
2821
+ {
2822
+ name: "resource",
2823
+ isAttr: !0,
2824
+ type: "String"
2825
+ },
2826
+ {
2827
+ name: "value",
2828
+ isBody: !0,
2829
+ type: "String"
2830
+ }
2831
+ ]
2832
+ },
2833
+ {
2834
+ name: "Field",
2835
+ superClass: ["Element"],
2836
+ meta: { allowedIn: [
2837
+ "activiti:ServiceTaskLike",
2838
+ "activiti:ExecutionListener",
2839
+ "activiti:TaskListener"
2840
+ ] },
2841
+ properties: [
2842
+ {
2843
+ name: "name",
2844
+ isAttr: !0,
2845
+ type: "String"
2846
+ },
2847
+ {
2848
+ name: "expression",
2849
+ type: "String"
2850
+ },
2851
+ {
2852
+ name: "stringValue",
2853
+ isAttr: !0,
2854
+ type: "String"
2855
+ },
2856
+ {
2857
+ name: "string",
2858
+ type: "String"
2859
+ }
2860
+ ]
2861
+ },
2862
+ {
2863
+ name: "InputParameter",
2864
+ superClass: ["InputOutputParameter"]
2865
+ },
2866
+ {
2867
+ name: "OutputParameter",
2868
+ superClass: ["InputOutputParameter"]
2869
+ },
2870
+ {
2871
+ name: "Collectable",
2872
+ isAbstract: !0,
2873
+ extends: ["bpmn:MultiInstanceLoopCharacteristics"],
2874
+ superClass: ["activiti:AsyncCapable"],
2875
+ properties: [{
2876
+ name: "collection",
2877
+ isAttr: !0,
2878
+ type: "String"
2879
+ }, {
2880
+ name: "elementVariable",
2881
+ isAttr: !0,
2882
+ type: "String"
2883
+ }]
2884
+ },
2885
+ {
2886
+ name: "FailedJobRetryTimeCycle",
2887
+ superClass: ["Element"],
2888
+ meta: { allowedIn: ["activiti:AsyncCapable", "bpmn:MultiInstanceLoopCharacteristics"] },
2889
+ properties: [{
2890
+ name: "body",
2891
+ isBody: !0,
2892
+ type: "String"
2893
+ }]
2894
+ },
2895
+ {
2896
+ name: "ExecutionListener",
2897
+ superClass: ["Element"],
2898
+ meta: { allowedIn: [
2899
+ "bpmn:Task",
2900
+ "bpmn:ServiceTask",
2901
+ "bpmn:UserTask",
2902
+ "bpmn:BusinessRuleTask",
2903
+ "bpmn:ScriptTask",
2904
+ "bpmn:ReceiveTask",
2905
+ "bpmn:ManualTask",
2906
+ "bpmn:ExclusiveGateway",
2907
+ "bpmn:SequenceFlow",
2908
+ "bpmn:ParallelGateway",
2909
+ "bpmn:InclusiveGateway",
2910
+ "bpmn:EventBasedGateway",
2911
+ "bpmn:StartEvent",
2912
+ "bpmn:IntermediateCatchEvent",
2913
+ "bpmn:IntermediateThrowEvent",
2914
+ "bpmn:EndEvent",
2915
+ "bpmn:BoundaryEvent",
2916
+ "bpmn:CallActivity",
2917
+ "bpmn:SubProcess",
2918
+ "bpmn:Process"
2919
+ ] },
2920
+ properties: [
2921
+ {
2922
+ name: "expression",
2923
+ isAttr: !0,
2924
+ type: "String"
2925
+ },
2926
+ {
2927
+ name: "class",
2928
+ isAttr: !0,
2929
+ type: "String"
2930
+ },
2931
+ {
2932
+ name: "delegateExpression",
2933
+ isAttr: !0,
2934
+ type: "String"
2935
+ },
2936
+ {
2937
+ name: "event",
2938
+ isAttr: !0,
2939
+ type: "String"
2940
+ },
2941
+ {
2942
+ name: "script",
2943
+ type: "Script"
2944
+ },
2945
+ {
2946
+ name: "fields",
2947
+ type: "Field",
2948
+ isMany: !0
2949
+ }
2950
+ ]
2951
+ },
2952
+ {
2953
+ name: "TaskListener",
2954
+ superClass: ["Element"],
2955
+ meta: { allowedIn: ["bpmn:UserTask"] },
2956
+ properties: [
2957
+ {
2958
+ name: "expression",
2959
+ isAttr: !0,
2960
+ type: "String"
2961
+ },
2962
+ {
2963
+ name: "class",
2964
+ isAttr: !0,
2965
+ type: "String"
2966
+ },
2967
+ {
2968
+ name: "delegateExpression",
2969
+ isAttr: !0,
2970
+ type: "String"
2971
+ },
2972
+ {
2973
+ name: "event",
2974
+ isAttr: !0,
2975
+ type: "String"
2976
+ },
2977
+ {
2978
+ name: "script",
2979
+ type: "Script"
2980
+ },
2981
+ {
2982
+ name: "fields",
2983
+ type: "Field",
2984
+ isMany: !0
2985
+ }
2986
+ ]
2987
+ },
2988
+ {
2989
+ name: "FormProperty",
2990
+ superClass: ["Element"],
2991
+ meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
2992
+ properties: [
2993
+ {
2994
+ name: "id",
2995
+ type: "String",
2996
+ isAttr: !0
2997
+ },
2998
+ {
2999
+ name: "name",
3000
+ type: "String",
3001
+ isAttr: !0
3002
+ },
3003
+ {
3004
+ name: "type",
3005
+ type: "String",
3006
+ isAttr: !0
3007
+ },
3008
+ {
3009
+ name: "required",
3010
+ type: "String",
3011
+ isAttr: !0
3012
+ },
3013
+ {
3014
+ name: "readable",
3015
+ type: "String",
3016
+ isAttr: !0
3017
+ },
3018
+ {
3019
+ name: "writable",
3020
+ type: "String",
3021
+ isAttr: !0
3022
+ },
3023
+ {
3024
+ name: "variable",
3025
+ type: "String",
3026
+ isAttr: !0
3027
+ },
3028
+ {
3029
+ name: "expression",
3030
+ type: "String",
3031
+ isAttr: !0
3032
+ },
3033
+ {
3034
+ name: "datePattern",
3035
+ type: "String",
3036
+ isAttr: !0
3037
+ },
3038
+ {
3039
+ name: "default",
3040
+ type: "String",
3041
+ isAttr: !0
3042
+ },
3043
+ {
3044
+ name: "values",
3045
+ type: "Value",
3046
+ isMany: !0
3047
+ }
3048
+ ]
3049
+ },
3050
+ {
3051
+ name: "FormProperty",
3052
+ superClass: ["Element"],
3053
+ properties: [
3054
+ {
3055
+ name: "id",
3056
+ type: "String",
3057
+ isAttr: !0
3058
+ },
3059
+ {
3060
+ name: "label",
3061
+ type: "String",
3062
+ isAttr: !0
3063
+ },
3064
+ {
3065
+ name: "type",
3066
+ type: "String",
3067
+ isAttr: !0
3068
+ },
3069
+ {
3070
+ name: "datePattern",
3071
+ type: "String",
3072
+ isAttr: !0
3073
+ },
3074
+ {
3075
+ name: "defaultValue",
3076
+ type: "String",
3077
+ isAttr: !0
3078
+ },
3079
+ {
3080
+ name: "properties",
3081
+ type: "Properties"
3082
+ },
3083
+ {
3084
+ name: "validation",
3085
+ type: "Validation"
3086
+ },
3087
+ {
3088
+ name: "values",
3089
+ type: "Value",
3090
+ isMany: !0
3091
+ }
3092
+ ]
3093
+ },
3094
+ {
3095
+ name: "Validation",
3096
+ superClass: ["Element"],
3097
+ properties: [{
3098
+ name: "constraints",
3099
+ type: "Constraint",
3100
+ isMany: !0
3101
+ }]
3102
+ },
3103
+ {
3104
+ name: "Constraint",
3105
+ superClass: ["Element"],
3106
+ properties: [{
3107
+ name: "name",
3108
+ type: "String",
3109
+ isAttr: !0
3110
+ }, {
3111
+ name: "config",
3112
+ type: "String",
3113
+ isAttr: !0
3114
+ }]
3115
+ },
3116
+ {
3117
+ name: "ConditionalEventDefinition",
3118
+ isAbstract: !0,
3119
+ extends: ["bpmn:ConditionalEventDefinition"],
3120
+ properties: [{
3121
+ name: "variableName",
3122
+ isAttr: !0,
3123
+ type: "String"
3124
+ }, {
3125
+ name: "variableEvent",
3126
+ isAttr: !0,
3127
+ type: "String"
3128
+ }]
3129
+ }
3130
+ ],
3131
+ emumerations: []
3132
+ }, je = {
3133
+ name: "Flowable",
3134
+ uri: "http://flowable.org/bpmn",
3135
+ prefix: "flowable",
3136
+ xml: { tagAlias: "lowerCase" },
3137
+ associations: [],
3138
+ emumerations: [],
3139
+ types: [
3140
+ {
3141
+ name: "InOutBinding",
3142
+ superClass: ["Element"],
3143
+ isAbstract: !0,
3144
+ properties: [
3145
+ {
3146
+ name: "source",
3147
+ isAttr: !0,
3148
+ type: "String"
3149
+ },
3150
+ {
3151
+ name: "sourceExpression",
3152
+ isAttr: !0,
3153
+ type: "String"
3154
+ },
3155
+ {
3156
+ name: "target",
3157
+ isAttr: !0,
3158
+ type: "String"
3159
+ },
3160
+ {
3161
+ name: "businessKey",
3162
+ isAttr: !0,
3163
+ type: "String"
3164
+ },
3165
+ {
3166
+ name: "local",
3167
+ isAttr: !0,
3168
+ type: "Boolean",
3169
+ default: !1
3170
+ },
3171
+ {
3172
+ name: "variables",
3173
+ isAttr: !0,
3174
+ type: "String"
3175
+ }
3176
+ ]
3177
+ },
3178
+ {
3179
+ name: "In",
3180
+ superClass: ["InOutBinding"],
3181
+ meta: { allowedIn: ["bpmn:CallActivity"] }
3182
+ },
3183
+ {
3184
+ name: "Out",
3185
+ superClass: ["InOutBinding"],
3186
+ meta: { allowedIn: ["bpmn:CallActivity"] }
3187
+ },
3188
+ {
3189
+ name: "AsyncCapable",
3190
+ isAbstract: !0,
3191
+ extends: [
3192
+ "bpmn:Activity",
3193
+ "bpmn:Gateway",
3194
+ "bpmn:Event"
3195
+ ],
3196
+ properties: [
3197
+ {
3198
+ name: "async",
3199
+ isAttr: !0,
3200
+ type: "Boolean",
3201
+ default: !1
3202
+ },
3203
+ {
3204
+ name: "asyncBefore",
3205
+ isAttr: !0,
3206
+ type: "Boolean",
3207
+ default: !1
3208
+ },
3209
+ {
3210
+ name: "asyncAfter",
3211
+ isAttr: !0,
3212
+ type: "Boolean",
3213
+ default: !1
3214
+ },
3215
+ {
3216
+ name: "exclusive",
3217
+ isAttr: !0,
3218
+ type: "Boolean",
3219
+ default: !0
3220
+ }
3221
+ ]
3222
+ },
3223
+ {
3224
+ name: "JobPriorized",
3225
+ isAbstract: !0,
3226
+ extends: ["bpmn:Process", "flowable:AsyncCapable"],
3227
+ properties: [{
3228
+ name: "jobPriority",
3229
+ isAttr: !0,
3230
+ type: "String"
3231
+ }]
3232
+ },
3233
+ {
3234
+ name: "SignalEventDefinition",
3235
+ isAbstract: !0,
3236
+ extends: ["bpmn:SignalEventDefinition"],
3237
+ properties: [{
3238
+ name: "async",
3239
+ isAttr: !0,
3240
+ type: "Boolean",
3241
+ default: !1
3242
+ }]
3243
+ },
3244
+ {
3245
+ name: "ErrorEventDefinition",
3246
+ isAbstract: !0,
3247
+ extends: ["bpmn:ErrorEventDefinition"],
3248
+ properties: [{
3249
+ name: "errorCodeVariable",
3250
+ isAttr: !0,
3251
+ type: "String"
3252
+ }, {
3253
+ name: "errorMessageVariable",
3254
+ isAttr: !0,
3255
+ type: "String"
3256
+ }]
3257
+ },
3258
+ {
3259
+ name: "Error",
3260
+ isAbstract: !0,
3261
+ extends: ["bpmn:Error"],
3262
+ properties: [{
3263
+ name: "flowable:errorMessage",
3264
+ isAttr: !0,
3265
+ type: "String"
3266
+ }]
3267
+ },
3268
+ {
3269
+ name: "PotentialStarter",
3270
+ superClass: ["Element"],
3271
+ properties: [{
3272
+ name: "resourceAssignmentExpression",
3273
+ type: "bpmn:ResourceAssignmentExpression"
3274
+ }]
3275
+ },
3276
+ {
3277
+ name: "FormSupported",
3278
+ isAbstract: !0,
3279
+ extends: ["bpmn:StartEvent", "bpmn:UserTask"],
3280
+ properties: [
3281
+ {
3282
+ name: "formHandlerClass",
3283
+ isAttr: !0,
3284
+ type: "String"
3285
+ },
3286
+ {
3287
+ name: "formKey",
3288
+ isAttr: !0,
3289
+ type: "String"
3290
+ },
3291
+ {
3292
+ name: "formType",
3293
+ isAttr: !0,
3294
+ type: "String"
3295
+ },
3296
+ {
3297
+ name: "formReadOnly",
3298
+ isAttr: !0,
3299
+ type: "Boolean",
3300
+ default: !1
3301
+ },
3302
+ {
3303
+ name: "formInit",
3304
+ isAttr: !0,
3305
+ type: "Boolean",
3306
+ default: !0
3307
+ }
3308
+ ]
3309
+ },
3310
+ {
3311
+ name: "TemplateSupported",
3312
+ isAbstract: !0,
3313
+ extends: ["bpmn:Process", "bpmn:FlowElement"],
3314
+ properties: [{
3315
+ name: "modelerTemplate",
3316
+ isAttr: !0,
3317
+ type: "String"
3318
+ }]
3319
+ },
3320
+ {
3321
+ name: "Initiator",
3322
+ isAbstract: !0,
3323
+ extends: ["bpmn:StartEvent"],
3324
+ properties: [{
3325
+ name: "initiator",
3326
+ isAttr: !0,
3327
+ type: "String"
3328
+ }]
3329
+ },
3330
+ {
3331
+ name: "ScriptTask",
3332
+ isAbstract: !0,
3333
+ extends: ["bpmn:ScriptTask"],
3334
+ properties: [{
3335
+ name: "resultVariable",
3336
+ isAttr: !0,
3337
+ type: "String"
3338
+ }, {
3339
+ name: "resource",
3340
+ isAttr: !0,
3341
+ type: "String"
3342
+ }]
3343
+ },
3344
+ {
3345
+ name: "Process",
3346
+ isAbstract: !0,
3347
+ extends: ["bpmn:Process"],
3348
+ properties: [
3349
+ {
3350
+ name: "candidateStarterGroups",
3351
+ isAttr: !0,
3352
+ type: "String"
3353
+ },
3354
+ {
3355
+ name: "candidateStarterUsers",
3356
+ isAttr: !0,
3357
+ type: "String"
3358
+ },
3359
+ {
3360
+ name: "versionTag",
3361
+ isAttr: !0,
3362
+ type: "String"
3363
+ },
3364
+ {
3365
+ name: "historyTimeToLive",
3366
+ isAttr: !0,
3367
+ type: "String"
3368
+ },
3369
+ {
3370
+ name: "isStartableInTasklist",
3371
+ isAttr: !0,
3372
+ type: "Boolean",
3373
+ default: !0
3374
+ }
3375
+ ]
3376
+ },
3377
+ {
3378
+ name: "EscalationEventDefinition",
3379
+ isAbstract: !0,
3380
+ extends: ["bpmn:EscalationEventDefinition"],
3381
+ properties: [{
3382
+ name: "escalationCodeVariable",
3383
+ isAttr: !0,
3384
+ type: "String"
3385
+ }]
3386
+ },
3387
+ {
3388
+ name: "FormalExpression",
3389
+ isAbstract: !0,
3390
+ extends: ["bpmn:FormalExpression"],
3391
+ properties: [{
3392
+ name: "resource",
3393
+ isAttr: !0,
3394
+ type: "String"
3395
+ }]
3396
+ },
3397
+ {
3398
+ name: "Assignable",
3399
+ extends: ["bpmn:UserTask"],
3400
+ properties: [
3401
+ {
3402
+ name: "assignee",
3403
+ isAttr: !0,
3404
+ type: "String"
3405
+ },
3406
+ {
3407
+ name: "candidateUsers",
3408
+ isAttr: !0,
3409
+ type: "String"
3410
+ },
3411
+ {
3412
+ name: "candidateGroups",
3413
+ isAttr: !0,
3414
+ type: "String"
3415
+ },
3416
+ {
3417
+ name: "dueDate",
3418
+ isAttr: !0,
3419
+ type: "String"
3420
+ },
3421
+ {
3422
+ name: "followUpDate",
3423
+ isAttr: !0,
3424
+ type: "String"
3425
+ },
3426
+ {
3427
+ name: "priority",
3428
+ isAttr: !0,
3429
+ type: "String"
3430
+ },
3431
+ ...H
3432
+ ]
3433
+ },
3434
+ {
3435
+ name: "CallActivity",
3436
+ extends: ["bpmn:CallActivity"],
3437
+ properties: [
3438
+ {
3439
+ name: "calledElementBinding",
3440
+ isAttr: !0,
3441
+ type: "String",
3442
+ default: "latest"
3443
+ },
3444
+ {
3445
+ name: "calledElementVersion",
3446
+ isAttr: !0,
3447
+ type: "String"
3448
+ },
3449
+ {
3450
+ name: "calledElementVersionTag",
3451
+ isAttr: !0,
3452
+ type: "String"
3453
+ },
3454
+ {
3455
+ name: "calledElementTenantId",
3456
+ isAttr: !0,
3457
+ type: "String"
3458
+ },
3459
+ {
3460
+ name: "caseRef",
3461
+ isAttr: !0,
3462
+ type: "String"
3463
+ },
3464
+ {
3465
+ name: "caseBinding",
3466
+ isAttr: !0,
3467
+ type: "String",
3468
+ default: "latest"
3469
+ },
3470
+ {
3471
+ name: "caseVersion",
3472
+ isAttr: !0,
3473
+ type: "String"
3474
+ },
3475
+ {
3476
+ name: "caseTenantId",
3477
+ isAttr: !0,
3478
+ type: "String"
3479
+ },
3480
+ {
3481
+ name: "variableMappingClass",
3482
+ isAttr: !0,
3483
+ type: "String"
3484
+ },
3485
+ {
3486
+ name: "variableMappingDelegateExpression",
3487
+ isAttr: !0,
3488
+ type: "String"
3489
+ }
3490
+ ]
3491
+ },
3492
+ {
3493
+ name: "ServiceTaskLike",
3494
+ extends: [
3495
+ "bpmn:ServiceTask",
3496
+ "bpmn:BusinessRuleTask",
3497
+ "bpmn:SendTask",
3498
+ "bpmn:MessageEventDefinition"
3499
+ ],
3500
+ properties: [
3501
+ {
3502
+ name: "expression",
3503
+ isAttr: !0,
3504
+ type: "String"
3505
+ },
3506
+ {
3507
+ name: "class",
3508
+ isAttr: !0,
3509
+ type: "String"
3510
+ },
3511
+ {
3512
+ name: "delegateExpression",
3513
+ isAttr: !0,
3514
+ type: "String"
3515
+ },
3516
+ {
3517
+ name: "resultVariable",
3518
+ isAttr: !0,
3519
+ type: "String"
3520
+ }
3521
+ ]
3522
+ },
3523
+ {
3524
+ name: "DmnCapable",
3525
+ extends: ["bpmn:BusinessRuleTask"],
3526
+ properties: [
3527
+ {
3528
+ name: "decisionRef",
3529
+ isAttr: !0,
3530
+ type: "String"
3531
+ },
3532
+ {
3533
+ name: "decisionRefBinding",
3534
+ isAttr: !0,
3535
+ type: "String",
3536
+ default: "latest"
3537
+ },
3538
+ {
3539
+ name: "decisionRefVersion",
3540
+ isAttr: !0,
3541
+ type: "String"
3542
+ },
3543
+ {
3544
+ name: "mapDecisionResult",
3545
+ isAttr: !0,
3546
+ type: "String",
3547
+ default: "resultList"
3548
+ },
3549
+ {
3550
+ name: "decisionRefTenantId",
3551
+ isAttr: !0,
3552
+ type: "String"
3553
+ }
3554
+ ]
3555
+ },
3556
+ {
3557
+ name: "ExternalCapable",
3558
+ extends: ["flowable:ServiceTaskLike"],
3559
+ properties: [{
3560
+ name: "type",
3561
+ isAttr: !0,
3562
+ type: "String"
3563
+ }, {
3564
+ name: "topic",
3565
+ isAttr: !0,
3566
+ type: "String"
3567
+ }]
3568
+ },
3569
+ {
3570
+ name: "TaskPriorized",
3571
+ extends: ["bpmn:Process", "flowable:ExternalCapable"],
3572
+ properties: [{
3573
+ name: "taskPriority",
3574
+ isAttr: !0,
3575
+ type: "String"
3576
+ }]
3577
+ },
3578
+ {
3579
+ name: "Properties",
3580
+ superClass: ["Element"],
3581
+ meta: { allowedIn: ["*"] },
3582
+ properties: [{
3583
+ name: "values",
3584
+ type: "Property",
3585
+ isMany: !0
3586
+ }]
3587
+ },
3588
+ {
3589
+ name: "Property",
3590
+ superClass: ["Element"],
3591
+ properties: [
3592
+ {
3593
+ name: "id",
3594
+ type: "String",
3595
+ isAttr: !0
3596
+ },
3597
+ {
3598
+ name: "name",
3599
+ type: "String",
3600
+ isAttr: !0
3601
+ },
3602
+ {
3603
+ name: "value",
3604
+ type: "String",
3605
+ isAttr: !0
3606
+ }
3607
+ ]
3608
+ },
3609
+ {
3610
+ name: "Button",
3611
+ superClass: ["Element"],
3612
+ meta: { allowedIn: ["bpmn:UserTask"] },
3613
+ properties: [
3614
+ {
3615
+ name: "id",
3616
+ type: "String",
3617
+ isAttr: !0
3618
+ },
3619
+ {
3620
+ name: "name",
3621
+ type: "String",
3622
+ isAttr: !0
3623
+ },
3624
+ {
3625
+ name: "code",
3626
+ type: "String",
3627
+ isAttr: !0
3628
+ },
3629
+ {
3630
+ name: "isHide",
3631
+ type: "String",
3632
+ isAttr: !0
3633
+ },
3634
+ {
3635
+ name: "next",
3636
+ type: "String",
3637
+ isAttr: !0
3638
+ },
3639
+ {
3640
+ name: "sort",
3641
+ type: "Integer",
3642
+ isAttr: !0
3643
+ }
3644
+ ]
3645
+ },
3646
+ {
3647
+ name: "Assignee",
3648
+ superClass: ["Element"],
3649
+ meta: { allowedIn: ["bpmn:UserTask"] },
3650
+ properties: [
3651
+ {
3652
+ name: "id",
3653
+ type: "String",
3654
+ isAttr: !0
3655
+ },
3656
+ {
3657
+ name: "type",
3658
+ type: "String",
3659
+ isAttr: !0
3660
+ },
3661
+ {
3662
+ name: "value",
3663
+ type: "String",
3664
+ isAttr: !0
3665
+ },
3666
+ {
3667
+ name: "condition",
3668
+ type: "String",
3669
+ isAttr: !0
3670
+ },
3671
+ {
3672
+ name: "operationType",
3673
+ type: "String",
3674
+ isAttr: !0
3675
+ },
3676
+ {
3677
+ name: "sort",
3678
+ type: "Integer",
3679
+ isAttr: !0
3680
+ }
3681
+ ]
3682
+ },
3683
+ {
3684
+ name: "Connector",
3685
+ superClass: ["Element"],
3686
+ meta: { allowedIn: ["flowable:ServiceTaskLike"] },
3687
+ properties: [{
3688
+ name: "inputOutput",
3689
+ type: "InputOutput"
3690
+ }, {
3691
+ name: "connectorId",
3692
+ type: "String"
3693
+ }]
3694
+ },
3695
+ {
3696
+ name: "InputOutput",
3697
+ superClass: ["Element"],
3698
+ meta: { allowedIn: ["bpmn:FlowNode", "flowable:Connector"] },
3699
+ properties: [
3700
+ {
3701
+ name: "inputOutput",
3702
+ type: "InputOutput"
3703
+ },
3704
+ {
3705
+ name: "connectorId",
3706
+ type: "String"
3707
+ },
3708
+ {
3709
+ name: "inputParameters",
3710
+ isMany: !0,
3711
+ type: "InputParameter"
3712
+ },
3713
+ {
3714
+ name: "outputParameters",
3715
+ isMany: !0,
3716
+ type: "OutputParameter"
3717
+ }
3718
+ ]
3719
+ },
3720
+ {
3721
+ name: "InputOutputParameter",
3722
+ properties: [
3723
+ {
3724
+ name: "name",
3725
+ isAttr: !0,
3726
+ type: "String"
3727
+ },
3728
+ {
3729
+ name: "value",
3730
+ isBody: !0,
3731
+ type: "String"
3732
+ },
3733
+ {
3734
+ name: "definition",
3735
+ type: "InputOutputParameterDefinition"
3736
+ }
3737
+ ]
3738
+ },
3739
+ {
3740
+ name: "InputOutputParameterDefinition",
3741
+ isAbstract: !0
3742
+ },
3743
+ {
3744
+ name: "List",
3745
+ superClass: ["InputOutputParameterDefinition"],
3746
+ properties: [{
3747
+ name: "items",
3748
+ isMany: !0,
3749
+ type: "InputOutputParameterDefinition"
3750
+ }]
3751
+ },
3752
+ {
3753
+ name: "Map",
3754
+ superClass: ["InputOutputParameterDefinition"],
3755
+ properties: [{
3756
+ name: "entries",
3757
+ isMany: !0,
3758
+ type: "Entry"
3759
+ }]
3760
+ },
3761
+ {
3762
+ name: "Entry",
3763
+ properties: [
3764
+ {
3765
+ name: "key",
3766
+ isAttr: !0,
3767
+ type: "String"
3768
+ },
3769
+ {
3770
+ name: "value",
3771
+ isBody: !0,
3772
+ type: "String"
3773
+ },
3774
+ {
3775
+ name: "definition",
3776
+ type: "InputOutputParameterDefinition"
3777
+ }
3778
+ ]
3779
+ },
3780
+ {
3781
+ name: "Value",
3782
+ superClass: ["InputOutputParameterDefinition"],
3783
+ properties: [
3784
+ {
3785
+ name: "id",
3786
+ isAttr: !0,
3787
+ type: "String"
3788
+ },
3789
+ {
3790
+ name: "name",
3791
+ isAttr: !0,
3792
+ type: "String"
3793
+ },
3794
+ {
3795
+ name: "value",
3796
+ isBody: !0,
3797
+ type: "String"
3798
+ }
3799
+ ]
3800
+ },
3801
+ {
3802
+ name: "Script",
3803
+ superClass: ["InputOutputParameterDefinition"],
3804
+ properties: [
3805
+ {
3806
+ name: "scriptFormat",
3807
+ isAttr: !0,
3808
+ type: "String"
3809
+ },
3810
+ {
3811
+ name: "resource",
3812
+ isAttr: !0,
3813
+ type: "String"
3814
+ },
3815
+ {
3816
+ name: "value",
3817
+ isBody: !0,
3818
+ type: "String"
3819
+ }
3820
+ ]
3821
+ },
3822
+ {
3823
+ name: "Field",
3824
+ superClass: ["Element"],
3825
+ meta: { allowedIn: [
3826
+ "flowable:ServiceTaskLike",
3827
+ "flowable:ExecutionListener",
3828
+ "flowable:TaskListener",
3829
+ "bpmn:ServiceTask"
3830
+ ] },
3831
+ properties: [
3832
+ {
3833
+ name: "name",
3834
+ isAttr: !0,
3835
+ type: "String"
3836
+ },
3837
+ {
3838
+ name: "expression",
3839
+ type: "String"
3840
+ },
3841
+ {
3842
+ name: "stringValue",
3843
+ isAttr: !0,
3844
+ type: "String"
3845
+ },
3846
+ {
3847
+ name: "string",
3848
+ type: "String"
3849
+ },
3850
+ {
3851
+ name: "htmlVar",
3852
+ type: "Expression"
3853
+ }
3854
+ ]
3855
+ },
3856
+ {
3857
+ name: "ChildField",
3858
+ superClass: ["Element"],
3859
+ properties: [
3860
+ {
3861
+ name: "id",
3862
+ type: "String",
3863
+ isAttr: !0
3864
+ },
3865
+ {
3866
+ name: "name",
3867
+ type: "String",
3868
+ isAttr: !0
3869
+ },
3870
+ {
3871
+ name: "type",
3872
+ type: "String",
3873
+ isAttr: !0
3874
+ },
3875
+ {
3876
+ name: "required",
3877
+ type: "String",
3878
+ isAttr: !0
3879
+ },
3880
+ {
3881
+ name: "readable",
3882
+ type: "String",
3883
+ isAttr: !0
3884
+ },
3885
+ {
3886
+ name: "writable",
3887
+ type: "String",
3888
+ isAttr: !0
3889
+ },
3890
+ {
3891
+ name: "variable",
3892
+ type: "String",
3893
+ isAttr: !0
3894
+ },
3895
+ {
3896
+ name: "expression",
3897
+ type: "String",
3898
+ isAttr: !0
3899
+ },
3900
+ {
3901
+ name: "datePattern",
3902
+ type: "String",
3903
+ isAttr: !0
3904
+ },
3905
+ {
3906
+ name: "default",
3907
+ type: "String",
3908
+ isAttr: !0
3909
+ },
3910
+ {
3911
+ name: "values",
3912
+ type: "Value",
3913
+ isMany: !0
3914
+ }
3915
+ ]
3916
+ },
3917
+ {
3918
+ name: "InputParameter",
3919
+ superClass: ["InputOutputParameter"]
3920
+ },
3921
+ {
3922
+ name: "OutputParameter",
3923
+ superClass: ["InputOutputParameter"]
3924
+ },
3925
+ {
3926
+ name: "Collectable",
3927
+ isAbstract: !0,
3928
+ extends: ["bpmn:MultiInstanceLoopCharacteristics"],
3929
+ superClass: ["flowable:AsyncCapable"],
3930
+ properties: [{
3931
+ name: "collection",
3932
+ isAttr: !0,
3933
+ type: "String"
3934
+ }, {
3935
+ name: "elementVariable",
3936
+ isAttr: !0,
3937
+ type: "String"
3938
+ }]
3939
+ },
3940
+ {
3941
+ name: "FailedJobRetryTimeCycle",
3942
+ superClass: ["Element"],
3943
+ meta: { allowedIn: ["flowable:AsyncCapable", "bpmn:MultiInstanceLoopCharacteristics"] },
3944
+ properties: [{
3945
+ name: "body",
3946
+ isBody: !0,
3947
+ type: "String"
3948
+ }]
3949
+ },
3950
+ {
3951
+ name: "ExecutionListener",
3952
+ superClass: ["Element"],
3953
+ meta: { allowedIn: [
3954
+ "bpmn:Task",
3955
+ "bpmn:ServiceTask",
3956
+ "bpmn:UserTask",
3957
+ "bpmn:BusinessRuleTask",
3958
+ "bpmn:ScriptTask",
3959
+ "bpmn:ReceiveTask",
3960
+ "bpmn:ManualTask",
3961
+ "bpmn:ExclusiveGateway",
3962
+ "bpmn:SequenceFlow",
3963
+ "bpmn:ParallelGateway",
3964
+ "bpmn:InclusiveGateway",
3965
+ "bpmn:EventBasedGateway",
3966
+ "bpmn:StartEvent",
3967
+ "bpmn:IntermediateCatchEvent",
3968
+ "bpmn:IntermediateThrowEvent",
3969
+ "bpmn:EndEvent",
3970
+ "bpmn:BoundaryEvent",
3971
+ "bpmn:CallActivity",
3972
+ "bpmn:SubProcess",
3973
+ "bpmn:Process"
3974
+ ] },
3975
+ properties: [
3976
+ {
3977
+ name: "expression",
3978
+ isAttr: !0,
3979
+ type: "String"
3980
+ },
3981
+ {
3982
+ name: "class",
3983
+ isAttr: !0,
3984
+ type: "String"
3985
+ },
3986
+ {
3987
+ name: "delegateExpression",
3988
+ isAttr: !0,
3989
+ type: "String"
3990
+ },
3991
+ {
3992
+ name: "event",
3993
+ isAttr: !0,
3994
+ type: "String"
3995
+ },
3996
+ {
3997
+ name: "script",
3998
+ type: "Script"
3999
+ },
4000
+ {
4001
+ name: "fields",
4002
+ type: "Field",
4003
+ isMany: !0
4004
+ }
4005
+ ]
4006
+ },
4007
+ {
4008
+ name: "TaskListener",
4009
+ superClass: ["Element"],
4010
+ meta: { allowedIn: ["bpmn:UserTask"] },
4011
+ properties: [
4012
+ {
4013
+ name: "expression",
4014
+ isAttr: !0,
4015
+ type: "String"
4016
+ },
4017
+ {
4018
+ name: "class",
4019
+ isAttr: !0,
4020
+ type: "String"
4021
+ },
4022
+ {
4023
+ name: "delegateExpression",
4024
+ isAttr: !0,
4025
+ type: "String"
4026
+ },
4027
+ {
4028
+ name: "event",
4029
+ isAttr: !0,
4030
+ type: "String"
4031
+ },
4032
+ {
4033
+ name: "script",
4034
+ type: "Script"
4035
+ },
4036
+ {
4037
+ name: "fields",
4038
+ type: "Field",
4039
+ isMany: !0
4040
+ }
4041
+ ]
4042
+ },
4043
+ {
4044
+ name: "FormProperty",
4045
+ superClass: ["Element"],
4046
+ meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
4047
+ properties: [
4048
+ {
4049
+ name: "id",
4050
+ type: "String",
4051
+ isAttr: !0
4052
+ },
4053
+ {
4054
+ name: "name",
4055
+ type: "String",
4056
+ isAttr: !0
4057
+ },
4058
+ {
4059
+ name: "type",
4060
+ type: "String",
4061
+ isAttr: !0
4062
+ },
4063
+ {
4064
+ name: "required",
4065
+ type: "String",
4066
+ isAttr: !0
4067
+ },
4068
+ {
4069
+ name: "readable",
4070
+ type: "String",
4071
+ isAttr: !0
4072
+ },
4073
+ {
4074
+ name: "writable",
4075
+ type: "String",
4076
+ isAttr: !0
4077
+ },
4078
+ {
4079
+ name: "variable",
4080
+ type: "String",
4081
+ isAttr: !0
4082
+ },
4083
+ {
4084
+ name: "expression",
4085
+ type: "String",
4086
+ isAttr: !0
4087
+ },
4088
+ {
4089
+ name: "datePattern",
4090
+ type: "String",
4091
+ isAttr: !0
4092
+ },
4093
+ {
4094
+ name: "default",
4095
+ type: "String",
4096
+ isAttr: !0
4097
+ },
4098
+ {
4099
+ name: "values",
4100
+ type: "Value",
4101
+ isMany: !0
4102
+ },
4103
+ {
4104
+ name: "children",
4105
+ type: "ChildField",
4106
+ isMany: !0
4107
+ },
4108
+ {
4109
+ name: "extensionElements",
4110
+ type: "bpmn:ExtensionElements",
4111
+ isMany: !0
4112
+ }
4113
+ ]
4114
+ },
4115
+ {
4116
+ name: "FormData",
4117
+ superClass: ["Element"],
4118
+ meta: { allowedIn: ["bpmn:StartEvent", "bpmn:UserTask"] },
4119
+ properties: [{
4120
+ name: "fields",
4121
+ type: "FormField",
4122
+ isMany: !0
4123
+ }, {
4124
+ name: "businessKey",
4125
+ type: "String",
4126
+ isAttr: !0
4127
+ }]
4128
+ },
4129
+ {
4130
+ name: "FormField",
4131
+ superClass: ["Element"],
4132
+ properties: [
4133
+ {
4134
+ name: "id",
4135
+ type: "String",
4136
+ isAttr: !0
4137
+ },
4138
+ {
4139
+ name: "label",
4140
+ type: "String",
4141
+ isAttr: !0
4142
+ },
4143
+ {
4144
+ name: "type",
4145
+ type: "String",
4146
+ isAttr: !0
4147
+ },
4148
+ {
4149
+ name: "datePattern",
4150
+ type: "String",
4151
+ isAttr: !0
4152
+ },
4153
+ {
4154
+ name: "defaultValue",
4155
+ type: "String",
4156
+ isAttr: !0
4157
+ },
4158
+ {
4159
+ name: "properties",
4160
+ type: "Properties"
4161
+ },
4162
+ {
4163
+ name: "validation",
4164
+ type: "Validation"
4165
+ },
4166
+ {
4167
+ name: "values",
4168
+ type: "Value",
4169
+ isMany: !0
4170
+ }
4171
+ ]
4172
+ },
4173
+ {
4174
+ name: "Validation",
4175
+ superClass: ["Element"],
4176
+ properties: [{
4177
+ name: "constraints",
4178
+ type: "Constraint",
4179
+ isMany: !0
4180
+ }]
4181
+ },
4182
+ {
4183
+ name: "Constraint",
4184
+ superClass: ["Element"],
4185
+ properties: [{
4186
+ name: "name",
4187
+ type: "String",
4188
+ isAttr: !0
4189
+ }, {
4190
+ name: "config",
4191
+ type: "String",
4192
+ isAttr: !0
4193
+ }]
4194
+ },
4195
+ {
4196
+ name: "ConditionalEventDefinition",
4197
+ isAbstract: !0,
4198
+ extends: ["bpmn:ConditionalEventDefinition"],
4199
+ properties: [{
4200
+ name: "variableName",
4201
+ isAttr: !0,
4202
+ type: "String"
4203
+ }, {
4204
+ name: "variableEvent",
4205
+ isAttr: !0,
4206
+ type: "String"
4207
+ }]
4208
+ },
4209
+ {
4210
+ name: "Condition",
4211
+ superClass: ["Element"],
4212
+ meta: { allowedIn: ["bpmn:SequenceFlow"] },
4213
+ properties: [
4214
+ {
4215
+ name: "id",
4216
+ type: "String",
4217
+ isAttr: !0
4218
+ },
4219
+ {
4220
+ name: "field",
4221
+ type: "String",
4222
+ isAttr: !0
4223
+ },
4224
+ {
4225
+ name: "compare",
4226
+ type: "String",
4227
+ isAttr: !0
4228
+ },
4229
+ {
4230
+ name: "value",
4231
+ type: "String",
4232
+ isAttr: !0
4233
+ },
4234
+ {
4235
+ name: "logic",
4236
+ type: "String",
4237
+ isAttr: !0
4238
+ },
4239
+ {
4240
+ name: "sort",
4241
+ type: "Integer",
4242
+ isAttr: !0
4243
+ }
4244
+ ]
4245
+ },
4246
+ {
4247
+ name: "AssigneeType",
4248
+ superClass: ["Element"],
4249
+ properties: [{
4250
+ name: "body",
4251
+ isBody: !0,
4252
+ type: "String"
4253
+ }]
4254
+ },
4255
+ {
4256
+ name: "AssigneeGroups",
4257
+ superClass: ["Element"],
4258
+ properties: [{
4259
+ name: "body",
4260
+ isBody: !0,
4261
+ type: "String"
4262
+ }]
4263
+ },
4264
+ {
4265
+ name: "AssigneeUsers",
4266
+ superClass: ["Element"],
4267
+ properties: [{
4268
+ name: "body",
4269
+ isBody: !0,
4270
+ type: "String"
4271
+ }]
4272
+ },
4273
+ {
4274
+ name: "AssigneeRules",
4275
+ superClass: ["Element"],
4276
+ properties: [{
4277
+ name: "body",
4278
+ isBody: !0,
4279
+ type: "String"
4280
+ }]
4281
+ }
4282
+ ]
4283
+ }, Me = "*";
4284
+ function U(e) {
4285
+ let t = this;
4286
+ e.on("moddleCopy.canCopyProperty", function(e) {
4287
+ let n = e.property, r = e.parent;
4288
+ return t.canCopyProperty(n, r);
4289
+ });
4290
+ }
4291
+ U.$inject = ["eventBus"], U.prototype.canCopyProperty = function(e, t) {
4292
+ if (T(e) && !Pe(e, t) || W(e, "camunda:InputOutput") && !this.canHostInputOutput(t) || Ne(e, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(t) || W(e, "camunda:In") && !this.canHostIn(t)) return !1;
4293
+ }, U.prototype.canHostInputOutput = function(e) {
4294
+ if (G(e, "camunda:Connector")) return !0;
4295
+ let t = G(e, "bpmn:FlowNode");
4296
+ return !(!t || Ne(t, [
4297
+ "bpmn:StartEvent",
4298
+ "bpmn:Gateway",
4299
+ "bpmn:BoundaryEvent"
4300
+ ]) || W(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
4301
+ }, U.prototype.canHostConnector = function(e) {
4302
+ return W(G(e, "camunda:ServiceTaskLike"), "bpmn:MessageEventDefinition") ? G(e, "bpmn:IntermediateThrowEvent") || G(e, "bpmn:EndEvent") : !0;
4303
+ }, U.prototype.canHostIn = function(e) {
4304
+ return G(e, "bpmn:CallActivity") ? !0 : G(e, "bpmn:SignalEventDefinition") ? G(e, "bpmn:IntermediateThrowEvent") || G(e, "bpmn:EndEvent") : !0;
4305
+ };
4306
+ function W(e, t) {
4307
+ return e && w(e.$instanceOf) && e.$instanceOf(t);
4308
+ }
4309
+ function Ne(e, t) {
4310
+ return E(t, function(t) {
4311
+ return W(e, t);
4312
+ });
4313
+ }
4314
+ function G(e, t) {
4315
+ if (!t) return e.$parent;
4316
+ if (W(e, t)) return e;
4317
+ if (e.$parent) return G(e.$parent, t);
4318
+ }
4319
+ function Pe(e, t) {
4320
+ let n = e.$type && e.$model.getTypeDescriptor(e.$type), r = n && n.meta && n.meta.allowedIn;
4321
+ return !r || Fe(r) ? !0 : E(r, function(e) {
4322
+ return G(t, e);
4323
+ });
4324
+ }
4325
+ function Fe(e) {
4326
+ return e.indexOf(Me) !== -1;
4327
+ }
4328
+ //#endregion
4329
+ //#region src/components/bpmn-process-designer/plugins/extension-moddle/camunda/index.js
4330
+ var Ie = {
4331
+ __init__: ["camundaModdleExtension"],
4332
+ camundaModdleExtension: ["type", U]
4333
+ }, Le = {
4334
+ FailedJobRetryTimeCycle: [
4335
+ "bpmn:StartEvent",
4336
+ "bpmn:BoundaryEvent",
4337
+ "bpmn:IntermediateCatchEvent",
4338
+ "bpmn:Activity"
4339
+ ],
4340
+ Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
4341
+ Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
4342
+ };
4343
+ function K(e, t) {
4344
+ return e && typeof e.$instanceOf == "function" && e.$instanceOf(t);
4345
+ }
4346
+ function Re(e) {
4347
+ return e && e.length;
4348
+ }
4349
+ function q(e, t) {
4350
+ return Re(e) && E(e, function(e) {
4351
+ return K(e, t);
4352
+ });
4353
+ }
4354
+ function ze(e, t) {
4355
+ return E(t, function(t) {
4356
+ return K(e, t);
4357
+ });
4358
+ }
4359
+ function J(e, t, n) {
4360
+ let r = t.name, i = Le[r.replace(/activiti:/, "")];
4361
+ return r === e && ze(n, i);
4362
+ }
4363
+ function Y(e) {
4364
+ e.on("property.clone", function(e) {
4365
+ let t = e.newElement, n = e.propertyDescriptor;
4366
+ this.canCloneProperty(t, n);
4367
+ }, this);
4368
+ }
4369
+ Y.$inject = ["eventBus"], Y.prototype.canCloneProperty = function(e, t) {
4370
+ if (J("activiti:FailedJobRetryTimeCycle", t, e)) return q(e.eventDefinitions, "bpmn:TimerEventDefinition") || q(e.eventDefinitions, "bpmn:SignalEventDefinition") || K(e.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
4371
+ if (J("activiti:Connector", t, e) || J("activiti:Field", t, e)) return q(e.eventDefinitions, "bpmn:MessageEventDefinition");
4372
+ };
4373
+ //#endregion
4374
+ //#region src/components/bpmn-process-designer/plugins/extension-moddle/activiti/index.js
4375
+ var Be = {
4376
+ __init__: ["ActivitiModdleExtension"],
4377
+ ActivitiModdleExtension: ["type", Y]
4378
+ }, Ve = {
4379
+ FailedJobRetryTimeCycle: [
4380
+ "bpmn:StartEvent",
4381
+ "bpmn:BoundaryEvent",
4382
+ "bpmn:IntermediateCatchEvent",
4383
+ "bpmn:Activity"
4384
+ ],
4385
+ Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
4386
+ Field: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"]
4387
+ };
4388
+ function X(e, t) {
4389
+ return e && typeof e.$instanceOf == "function" && e.$instanceOf(t);
4390
+ }
4391
+ function He(e) {
4392
+ return e && e.length;
4393
+ }
4394
+ function Z(e, t) {
4395
+ return He(e) && E(e, function(e) {
4396
+ return X(e, t);
4397
+ });
4398
+ }
4399
+ function Ue(e, t) {
4400
+ return E(t, function(t) {
4401
+ return X(e, t);
4402
+ });
4403
+ }
4404
+ function Q(e, t, n) {
4405
+ let r = t.name, i = Ve[r.replace(/flowable:/, "")];
4406
+ return r === e && Ue(n, i);
4407
+ }
4408
+ function $(e) {
4409
+ e.on("property.clone", function(e) {
4410
+ let t = e.newElement, n = e.propertyDescriptor;
4411
+ this.canCloneProperty(t, n);
4412
+ }, this);
4413
+ }
4414
+ $.$inject = ["eventBus"], $.prototype.canCloneProperty = function(e, t) {
4415
+ if (Q("flowable:FailedJobRetryTimeCycle", t, e)) return Z(e.eventDefinitions, "bpmn:TimerEventDefinition") || Z(e.eventDefinitions, "bpmn:SignalEventDefinition") || X(e.loopCharacteristics, "bpmn:MultiInstanceLoopCharacteristics");
4416
+ if (Q("flowable:Connector", t, e) || Q("flowable:Field", t, e)) return Z(e.eventDefinitions, "bpmn:MessageEventDefinition");
4417
+ };
4418
+ //#endregion
4419
+ //#region src/components/bpmn-process-designer/plugins/extension-moddle/flowable/index.js
4420
+ var We = {
4421
+ __init__: ["FlowableModdleExtension"],
4422
+ FlowableModdleExtension: ["type", $]
4423
+ };
4424
+ ne.registerLanguage("xml", re), ne.registerLanguage("json", ie);
4425
+ var Ge = {
4426
+ name: "ProcessDesigner",
4427
+ components: { HighlightJS: t },
4428
+ componentName: "MyProcessDesigner",
4429
+ props: {
4430
+ modelValue: String,
4431
+ processId: String,
4432
+ processName: String,
4433
+ translations: Object,
4434
+ options: {
4435
+ type: Object,
4436
+ default: () => ({})
4437
+ },
4438
+ additionalModel: [Object, Array],
4439
+ moddleExtension: Object,
4440
+ onlyCustomizeAddi: {
4441
+ type: Boolean,
4442
+ default: !1
4443
+ },
4444
+ onlyCustomizeModdle: {
4445
+ type: Boolean,
4446
+ default: !1
4447
+ },
4448
+ simulation: {
4449
+ type: Boolean,
4450
+ default: !0
4451
+ },
4452
+ keyboard: {
4453
+ type: Boolean,
4454
+ default: !0
4455
+ },
4456
+ prefix: {
4457
+ type: String,
4458
+ default: "camunda"
4459
+ },
4460
+ events: {
4461
+ type: Array,
4462
+ default: () => ["element.click"]
4463
+ },
4464
+ headerButtonSize: {
4465
+ type: String,
4466
+ default: "small",
4467
+ validator: (e) => [
4468
+ "default",
4469
+ "medium",
4470
+ "small",
4471
+ "mini"
4472
+ ].indexOf(e) !== -1
4473
+ },
4474
+ headerButtonType: {
4475
+ type: String,
4476
+ default: "primary",
4477
+ validator: (e) => [
4478
+ "default",
4479
+ "primary",
4480
+ "success",
4481
+ "warning",
4482
+ "danger",
4483
+ "info"
4484
+ ].indexOf(e) !== -1
4485
+ },
4486
+ extendTypes: Array
4487
+ },
4488
+ emits: [
4489
+ "destroy",
4490
+ "init-finished",
4491
+ "commandStack-changed",
4492
+ "canvas-viewbox-changed",
4493
+ "change",
4494
+ "update:modelValue"
4495
+ ],
4496
+ data() {
4497
+ return {
4498
+ defaultZoom: 1,
4499
+ previewModelVisible: !1,
4500
+ simulationStatus: !1,
4501
+ previewResult: "",
4502
+ previewType: "xml",
4503
+ recoverable: !1,
4504
+ revocable: !1
4505
+ };
4506
+ },
4507
+ computed: {
4508
+ additionalModules() {
4509
+ let e = [];
4510
+ if (this.onlyCustomizeAddi) return b(this.additionalModel) ? this.additionalModel || [] : [this.additionalModel];
4511
+ b(this.additionalModel) ? e.push(...this.additionalModel) : this.additionalModel && e.push(this.additionalModel);
4512
+ let t = { translate: ["value", De(this.translations || Oe)] };
4513
+ return e.push(t), this.simulation && e.push(te), e.push(ee), this.prefix === "camunda" && e.push(Ie), this.prefix === "flowable" && e.push(We), this.prefix === "activiti" && e.push(Be), e;
4514
+ },
4515
+ moddleExtensions() {
4516
+ let e = {};
4517
+ if (this.onlyCustomizeModdle) return this.moddleExtension || null;
4518
+ if (this.moddleExtension) for (let t in this.moddleExtension) e[t] = this.moddleExtension[t];
4519
+ return this.prefix === "activiti" && (e.activiti = {
4520
+ ...Ae,
4521
+ types: [...Ae.types, ...this.extendTypes || []]
4522
+ }), this.prefix === "flowable" && (e.flowable = {
4523
+ ...je,
4524
+ types: [...je.types, ...this.extendTypes || []]
4525
+ }), this.prefix === "camunda" && (e.camunda = {
4526
+ ...ke,
4527
+ types: [...ke.types, ...this.extendTypes || []]
4528
+ }), e;
4529
+ }
4530
+ },
4531
+ mounted() {
4532
+ this.initBpmnModeler(), this.createNewDiagram(this.modelValue);
4533
+ },
4534
+ beforeUnmount() {
4535
+ this.bpmnModeler && this.bpmnModeler.destroy(), this.$emit("destroy", this.bpmnModeler), this.bpmnModeler = null;
4536
+ },
4537
+ methods: {
4538
+ initBpmnModeler() {
4539
+ this.bpmnModeler || (this.bpmnModeler = c(new L({
4540
+ container: this.$refs["bpmn-canvas"],
4541
+ keyboard: this.keyboard ? { bindTo: document } : null,
4542
+ additionalModules: this.additionalModules,
4543
+ moddleExtensions: this.moddleExtensions,
4544
+ ...this.options
4545
+ })), this.$emit("init-finished", this.bpmnModeler), this.initModelListeners());
4546
+ },
4547
+ initModelListeners() {
4548
+ let e = this.bpmnModeler.get("eventBus"), t = this;
4549
+ this.events.forEach((n) => {
4550
+ e.on(n, (e) => {
4551
+ let r = n.replace(/\./g, "-"), i = e ? e.element : null;
4552
+ t.$emit(r, i, e);
4553
+ });
4554
+ }), e.on("commandStack.changed", async (e) => {
4555
+ try {
4556
+ this.recoverable = this.bpmnModeler.get("commandStack").canRedo(), this.revocable = this.bpmnModeler.get("commandStack").canUndo();
4557
+ let { xml: t } = await this.bpmnModeler.saveXML({ format: !0 });
4558
+ this.$emit("commandStack-changed", e), this.$emit("update:modelValue", t), this.$emit("change", t);
4559
+ } catch (e) {
4560
+ console.error(`[Process Designer Warn]: ${e.message || e}`);
4561
+ }
4562
+ }), this.bpmnModeler.on("canvas.viewbox.changed", ({ viewbox: e }) => {
4563
+ this.$emit("canvas-viewbox-changed", { viewbox: e });
4564
+ let { scale: t } = e;
4565
+ this.defaultZoom = Math.floor(t * 100) / 100;
4566
+ });
4567
+ },
4568
+ async createNewDiagram(e) {
4569
+ let t = this.processId || `Process_${(/* @__PURE__ */ new Date()).getTime()}`, n = this.processName || `业务流程_${(/* @__PURE__ */ new Date()).getTime()}`, r = e || Ee(t, n, this.prefix);
4570
+ try {
4571
+ let { warnings: e } = await this.bpmnModeler.importXML(r);
4572
+ this.bpmnModeler.get("canvas").zoom("fit-viewport", "center"), e != null && e.length;
4573
+ } catch (e) {
4574
+ console.error(`[Process Designer Warn]: ${(e == null ? void 0 : e.message) || e}`);
4575
+ }
4576
+ },
4577
+ async downloadProcess(e, t = "diagram") {
4578
+ try {
4579
+ let { err: r, xml: i } = await this.bpmnModeler.saveXML();
4580
+ r && console.error(`[Process Designer Warn ]: ${r.message || r}`);
4581
+ let { definitions: a } = new R().xml2js(i);
4582
+ if (t = a.process._name || t, e === "xml" || e === "bpmn") {
4583
+ let { href: r, filename: a } = this.setEncoded(e.toUpperCase(), t, i);
4584
+ n(r, a);
4585
+ } else {
4586
+ let { err: e, svg: r } = await this.bpmnModeler.saveSVG();
4587
+ if (e) return console.error(e);
4588
+ let { href: i, filename: a } = this.setEncoded("SVG", t, r);
4589
+ n(i, a);
4590
+ }
4591
+ } catch (e) {
4592
+ console.error(`[Process Designer Warn ]: ${e.message || e}`);
4593
+ }
4594
+ function n(e, t) {
4595
+ if (e && t) {
4596
+ let n = document.createElement("a");
4597
+ n.download = t, n.href = e, n.click(), URL.revokeObjectURL(n.href);
4598
+ }
4599
+ }
4600
+ },
4601
+ setEncoded(e, t = "diagram", n) {
4602
+ let r = encodeURIComponent(n);
4603
+ return {
4604
+ filename: `${t}.${e}`,
4605
+ href: `data:application/${e === "svg" ? "text/xml" : "bpmn20-xml"};charset=UTF-8,${r}`,
4606
+ data: n
4607
+ };
4608
+ },
4609
+ importLocalFile() {
4610
+ let e = this, t = this.$refs.refFile.files[0], n = new FileReader();
4611
+ n.readAsText(t), n.onload = function() {
4612
+ let t = this.result;
4613
+ e.createNewDiagram(t);
4614
+ };
4615
+ },
4616
+ downloadProcessAsXml() {
4617
+ this.downloadProcess("xml");
4618
+ },
4619
+ downloadProcessAsBpmn() {
4620
+ this.downloadProcess("bpmn");
4621
+ },
4622
+ downloadProcessAsSvg() {
4623
+ this.downloadProcess("svg");
4624
+ },
4625
+ processSimulation() {
4626
+ if (this.simulationStatus = !this.simulationStatus, this.simulation) {
4627
+ var e;
4628
+ (e = this.bpmnModeler) == null || e.get("toggleMode").toggleMode();
4629
+ }
4630
+ },
4631
+ processRedo() {
4632
+ this.bpmnModeler.get("commandStack").redo();
4633
+ },
4634
+ processUndo() {
4635
+ this.bpmnModeler.get("commandStack").undo();
4636
+ },
4637
+ processZoomIn(e = .1) {
4638
+ let t = Math.floor(this.defaultZoom * 100 + e * 100) / 100;
4639
+ if (t > 4) throw Error("[Process Designer Warn ]: The zoom ratio cannot be greater than 4");
4640
+ this.defaultZoom = t, this.bpmnModeler.get("canvas").zoom(this.defaultZoom);
4641
+ },
4642
+ processZoomOut(e = .1) {
4643
+ let t = Math.floor(this.defaultZoom * 100 - e * 100) / 100;
4644
+ if (t < .2) throw Error("[Process Designer Warn ]: The zoom ratio cannot be less than 0.2");
4645
+ this.defaultZoom = t, this.bpmnModeler.get("canvas").zoom(this.defaultZoom);
4646
+ },
4647
+ processZoomTo(e = 1) {
4648
+ if (e < .2) throw Error("[Process Designer Warn ]: The zoom ratio cannot be less than 0.2");
4649
+ if (e > 4) throw Error("[Process Designer Warn ]: The zoom ratio cannot be greater than 4");
4650
+ this.defaultZoom = e, this.bpmnModeler.get("canvas").zoom(e);
4651
+ },
4652
+ processReZoom() {
4653
+ this.defaultZoom = 1, this.bpmnModeler.get("canvas").zoom("fit-viewport", "auto");
4654
+ },
4655
+ processRestart() {
4656
+ this.recoverable = !1, this.revocable = !1, this.createNewDiagram(null);
4657
+ },
4658
+ elementsAlign(e) {
4659
+ let t = this.bpmnModeler.get("alignElements"), n = this.bpmnModeler.get("selection").get();
4660
+ if (!n || n.length <= 1) {
4661
+ this.$message.warning("请按住 Shift 键选择多个元素对齐");
4662
+ return;
4663
+ }
4664
+ this.$confirm("自动对齐可能造成图形变形,是否继续?", "警告", {
4665
+ confirmButtonText: "确定",
4666
+ cancelButtonText: "取消",
4667
+ type: "warning"
4668
+ }).then(() => t.trigger(n, e));
4669
+ },
4670
+ previewProcessXML() {
4671
+ this.bpmnModeler.saveXML({ format: !0 }).then(({ xml: e }) => {
4672
+ this.previewResult = e, this.previewType = "xml", this.previewModelVisible = !0;
4673
+ });
4674
+ },
4675
+ previewProcessJson() {
4676
+ let e = new R();
4677
+ this.bpmnModeler.saveXML({ format: !0 }).then(({ xml: t }) => {
4678
+ let { definitions: n } = e.xml2js(t);
4679
+ n ? this.previewResult = JSON.stringify(n, null, 4) : this.previewResult = "", this.previewType = "json", this.previewModelVisible = !0;
4680
+ });
4681
+ }
4682
+ }
4683
+ }, Ke = { class: "my-process-designer" }, qe = { class: "my-process-designer__header" }, Je = { class: "my-process-designer__container" }, Ye = {
4684
+ ref: "bpmn-canvas",
4685
+ class: "my-process-designer__canvas flow-background-image"
4686
+ };
4687
+ function Xe(e, t, c, l, u, d) {
4688
+ let g = m("ElButton"), v = m("ElTooltip"), y = m("ElButtonGroup"), b = m("HighlightJS"), x = m("ElementDialog");
4689
+ return f(), i("div", Ke, [
4690
+ a("div", qe, [
4691
+ p(e.$slots, "control-header", {}, () => [
4692
+ s(y, { key: "file-control" }, {
4693
+ default: _(() => [
4694
+ p(e.$slots, "toolbar-buttons"),
4695
+ c.simulation ? (f(), n(v, {
4696
+ key: 0,
4697
+ effect: "light",
4698
+ content: "导入流程"
4699
+ }, {
4700
+ default: _(() => [s(g, {
4701
+ size: c.headerButtonSize,
4702
+ type: c.headerButtonType,
4703
+ icon: "el-icon-folder-opened",
4704
+ onClick: t[0] || (t[0] = (t) => e.$refs.refFile.click())
4705
+ }, {
4706
+ default: _(() => [...t[17] || (t[17] = [o(" 导入 ", -1)])]),
4707
+ _: 1
4708
+ }, 8, ["size", "type"])]),
4709
+ _: 1
4710
+ })) : r("v-if", !0),
4711
+ s(v, { effect: "light" }, {
4712
+ content: _(() => [
4713
+ s(g, {
4714
+ size: c.headerButtonSize,
4715
+ type: "text",
4716
+ onClick: t[1] || (t[1] = (e) => d.downloadProcessAsXml())
4717
+ }, {
4718
+ default: _(() => [...t[19] || (t[19] = [o("下载为XML文件", -1)])]),
4719
+ _: 1
4720
+ }, 8, ["size"]),
4721
+ t[22] || (t[22] = a("br", null, null, -1)),
4722
+ s(g, {
4723
+ size: c.headerButtonSize,
4724
+ type: "text",
4725
+ onClick: t[2] || (t[2] = (e) => d.downloadProcessAsSvg())
4726
+ }, {
4727
+ default: _(() => [...t[20] || (t[20] = [o("下载为SVG文件", -1)])]),
4728
+ _: 1
4729
+ }, 8, ["size"]),
4730
+ t[23] || (t[23] = a("br", null, null, -1)),
4731
+ s(g, {
4732
+ size: c.headerButtonSize,
4733
+ type: "text",
4734
+ onClick: t[3] || (t[3] = (e) => d.downloadProcessAsBpmn())
4735
+ }, {
4736
+ default: _(() => [...t[21] || (t[21] = [o("下载为BPMN文件", -1)])]),
4737
+ _: 1
4738
+ }, 8, ["size"])
4739
+ ]),
4740
+ default: _(() => [s(g, {
4741
+ size: c.headerButtonSize,
4742
+ type: c.headerButtonType,
4743
+ icon: "el-icon-download"
4744
+ }, {
4745
+ default: _(() => [...t[18] || (t[18] = [o("下载", -1)])]),
4746
+ _: 1
4747
+ }, 8, ["size", "type"])]),
4748
+ _: 1
4749
+ }),
4750
+ s(v, { effect: "light" }, {
4751
+ content: _(() => [
4752
+ s(g, {
4753
+ size: c.headerButtonSize,
4754
+ type: "text",
4755
+ onClick: d.previewProcessXML
4756
+ }, {
4757
+ default: _(() => [...t[24] || (t[24] = [o("预览XML", -1)])]),
4758
+ _: 1
4759
+ }, 8, ["size", "onClick"]),
4760
+ t[26] || (t[26] = a("br", null, null, -1)),
4761
+ s(g, {
4762
+ size: c.headerButtonSize,
4763
+ type: "text",
4764
+ onClick: d.previewProcessJson
4765
+ }, {
4766
+ default: _(() => [...t[25] || (t[25] = [o("预览JSON", -1)])]),
4767
+ _: 1
4768
+ }, 8, ["size", "onClick"])
4769
+ ]),
4770
+ default: _(() => [s(g, {
4771
+ size: c.headerButtonSize,
4772
+ type: c.headerButtonType,
4773
+ icon: "el-icon-view"
4774
+ }, {
4775
+ default: _(() => [...t[27] || (t[27] = [o("预览", -1)])]),
4776
+ _: 1
4777
+ }, 8, ["size", "type"])]),
4778
+ _: 1
4779
+ }),
4780
+ c.simulation ? (f(), n(v, {
4781
+ key: 1,
4782
+ effect: "light",
4783
+ content: u.simulationStatus ? "退出模拟" : "开启模拟"
4784
+ }, {
4785
+ default: _(() => [s(g, {
4786
+ size: c.headerButtonSize,
4787
+ type: c.headerButtonType,
4788
+ icon: "el-icon-cpu",
4789
+ onClick: d.processSimulation
4790
+ }, {
4791
+ default: _(() => [...t[28] || (t[28] = [o(" 模拟 ", -1)])]),
4792
+ _: 1
4793
+ }, 8, [
4794
+ "size",
4795
+ "type",
4796
+ "onClick"
4797
+ ])]),
4798
+ _: 1
4799
+ }, 8, ["content"])) : r("v-if", !0)
4800
+ ]),
4801
+ _: 3
4802
+ }),
4803
+ s(y, { key: "align-control" }, {
4804
+ default: _(() => [
4805
+ s(v, {
4806
+ effect: "light",
4807
+ content: "向左对齐"
4808
+ }, {
4809
+ default: _(() => [s(g, {
4810
+ size: c.headerButtonSize,
4811
+ class: "align align-left",
4812
+ icon: "el-icon-s-data",
4813
+ onClick: t[4] || (t[4] = (e) => d.elementsAlign("left"))
4814
+ }, null, 8, ["size"])]),
4815
+ _: 1
4816
+ }),
4817
+ s(v, {
4818
+ effect: "light",
4819
+ content: "向右对齐"
4820
+ }, {
4821
+ default: _(() => [s(g, {
4822
+ size: c.headerButtonSize,
4823
+ class: "align align-right",
4824
+ icon: "el-icon-s-data",
4825
+ onClick: t[5] || (t[5] = (e) => d.elementsAlign("right"))
4826
+ }, null, 8, ["size"])]),
4827
+ _: 1
4828
+ }),
4829
+ s(v, {
4830
+ effect: "light",
4831
+ content: "向上对齐"
4832
+ }, {
4833
+ default: _(() => [s(g, {
4834
+ size: c.headerButtonSize,
4835
+ class: "align align-top",
4836
+ icon: "el-icon-s-data",
4837
+ onClick: t[6] || (t[6] = (e) => d.elementsAlign("top"))
4838
+ }, null, 8, ["size"])]),
4839
+ _: 1
4840
+ }),
4841
+ s(v, {
4842
+ effect: "light",
4843
+ content: "向下对齐"
4844
+ }, {
4845
+ default: _(() => [s(g, {
4846
+ size: c.headerButtonSize,
4847
+ class: "align align-bottom",
4848
+ icon: "el-icon-s-data",
4849
+ onClick: t[7] || (t[7] = (e) => d.elementsAlign("bottom"))
4850
+ }, null, 8, ["size"])]),
4851
+ _: 1
4852
+ }),
4853
+ s(v, {
4854
+ effect: "light",
4855
+ content: "水平居中"
4856
+ }, {
4857
+ default: _(() => [s(g, {
4858
+ size: c.headerButtonSize,
4859
+ class: "align align-center",
4860
+ icon: "el-icon-s-data",
4861
+ onClick: t[8] || (t[8] = (e) => d.elementsAlign("center"))
4862
+ }, null, 8, ["size"])]),
4863
+ _: 1
4864
+ }),
4865
+ s(v, {
4866
+ effect: "light",
4867
+ content: "垂直居中"
4868
+ }, {
4869
+ default: _(() => [s(g, {
4870
+ size: c.headerButtonSize,
4871
+ class: "align align-middle",
4872
+ icon: "el-icon-s-data",
4873
+ onClick: t[9] || (t[9] = (e) => d.elementsAlign("middle"))
4874
+ }, null, 8, ["size"])]),
4875
+ _: 1
4876
+ })
4877
+ ]),
4878
+ _: 1
4879
+ }),
4880
+ s(y, { key: "scale-control" }, {
4881
+ default: _(() => [
4882
+ s(v, {
4883
+ effect: "light",
4884
+ content: "缩小视图"
4885
+ }, {
4886
+ default: _(() => [s(g, {
4887
+ size: c.headerButtonSize,
4888
+ disabled: u.defaultZoom < .2,
4889
+ icon: "el-icon-zoom-out",
4890
+ onClick: t[10] || (t[10] = (e) => d.processZoomOut())
4891
+ }, null, 8, ["size", "disabled"])]),
4892
+ _: 1
4893
+ }),
4894
+ s(g, { size: c.headerButtonSize }, {
4895
+ default: _(() => [o(h(`${Math.floor(u.defaultZoom * 10 * 10)}%`), 1)]),
4896
+ _: 1
4897
+ }, 8, ["size"]),
4898
+ s(v, {
4899
+ effect: "light",
4900
+ content: "放大视图"
4901
+ }, {
4902
+ default: _(() => [s(g, {
4903
+ size: c.headerButtonSize,
4904
+ disabled: u.defaultZoom > 4,
4905
+ icon: "el-icon-zoom-in",
4906
+ onClick: t[11] || (t[11] = (e) => d.processZoomIn())
4907
+ }, null, 8, ["size", "disabled"])]),
4908
+ _: 1
4909
+ }),
4910
+ s(v, {
4911
+ effect: "light",
4912
+ content: "重置视图并居中"
4913
+ }, {
4914
+ default: _(() => [s(g, {
4915
+ size: c.headerButtonSize,
4916
+ icon: "el-icon-c-scale-to-original",
4917
+ onClick: t[12] || (t[12] = (e) => d.processReZoom())
4918
+ }, null, 8, ["size"])]),
4919
+ _: 1
4920
+ })
4921
+ ]),
4922
+ _: 1
4923
+ }),
4924
+ s(y, { key: "stack-control" }, {
4925
+ default: _(() => [
4926
+ s(v, {
4927
+ effect: "light",
4928
+ content: "撤销"
4929
+ }, {
4930
+ default: _(() => [s(g, {
4931
+ size: c.headerButtonSize,
4932
+ disabled: !u.revocable,
4933
+ icon: "el-icon-refresh-left",
4934
+ onClick: t[13] || (t[13] = (e) => d.processUndo())
4935
+ }, null, 8, ["size", "disabled"])]),
4936
+ _: 1
4937
+ }),
4938
+ s(v, {
4939
+ effect: "light",
4940
+ content: "恢复"
4941
+ }, {
4942
+ default: _(() => [s(g, {
4943
+ size: c.headerButtonSize,
4944
+ disabled: !u.recoverable,
4945
+ icon: "el-icon-refresh-right",
4946
+ onClick: t[14] || (t[14] = (e) => d.processRedo())
4947
+ }, null, 8, ["size", "disabled"])]),
4948
+ _: 1
4949
+ }),
4950
+ s(v, {
4951
+ effect: "light",
4952
+ content: "重新绘制"
4953
+ }, {
4954
+ default: _(() => [s(g, {
4955
+ size: c.headerButtonSize,
4956
+ icon: "el-icon-refresh",
4957
+ onClick: d.processRestart
4958
+ }, null, 8, ["size", "onClick"])]),
4959
+ _: 1
4960
+ })
4961
+ ]),
4962
+ _: 1
4963
+ })
4964
+ ]),
4965
+ r(" 用于打开本地文件"),
4966
+ a("input", {
4967
+ id: "files",
4968
+ ref: "refFile",
4969
+ type: "file",
4970
+ style: { display: "none" },
4971
+ accept: ".xml, .bpmn",
4972
+ onChange: t[15] || (t[15] = (...e) => d.importLocalFile && d.importLocalFile(...e))
4973
+ }, null, 544)
4974
+ ]),
4975
+ a("div", Je, [a("div", Ye, null, 512)]),
4976
+ s(x, {
4977
+ visible: u.previewModelVisible,
4978
+ "onUpdate:visible": t[16] || (t[16] = (e) => u.previewModelVisible = e),
4979
+ title: "预览",
4980
+ class: "flow-dialog",
4981
+ width: "60vw",
4982
+ height: "60vh",
4983
+ "body-padding": !1,
4984
+ "destroy-on-close": ""
4985
+ }, {
4986
+ default: _(() => [s(b, {
4987
+ language: u.previewType,
4988
+ code: u.previewResult
4989
+ }, null, 8, ["language", "code"])]),
4990
+ _: 1
4991
+ }, 8, ["visible"])
4992
+ ]);
4993
+ }
4994
+ //#endregion
4995
+ //#region src/components/bpmn-process-designer/FlowDesigner.vue
4996
+ var Ze = {
4997
+ name: "FlowDesigner",
4998
+ components: {
4999
+ PropertiesPanel: Te,
5000
+ ProcessDesigner: /* @__PURE__ */ e(Ge, [["render", Xe]])
5001
+ },
5002
+ props: {
5003
+ modelValue: String,
5004
+ usePanel: {
5005
+ type: Boolean,
5006
+ default: !0
5007
+ },
5008
+ useTabs: Array,
5009
+ extendTypes: Array,
5010
+ context: Object,
5011
+ panelType: { type: String }
5012
+ },
5013
+ emits: ["update:modelValue"],
5014
+ data() {
5015
+ return {
5016
+ modeler: null,
5017
+ reloadIndex: 0,
5018
+ controlForm: {
5019
+ processId: "",
5020
+ processName: "",
5021
+ simulation: !0,
5022
+ labelEditing: !1,
5023
+ labelVisible: !1,
5024
+ prefix: "flowable",
5025
+ headerButtonSize: "mini",
5026
+ additionalModel: c([
5027
+ oe,
5028
+ se,
5029
+ ve
5030
+ ])
5031
+ }
5032
+ };
5033
+ },
5034
+ methods: {
5035
+ initModeler(e) {
5036
+ this.modeler = e;
5037
+ },
5038
+ async refresh() {
5039
+ await this.$nextTick(), await this.$refs.processDesigner.createNewDiagram(this.modelValue);
5040
+ }
5041
+ }
5042
+ }, Qe = { class: "flow-designer" };
5043
+ function $e(e, t, a, o, s, c) {
5044
+ let u = m("ProcessDesigner"), d = m("PropertiesPanel");
5045
+ return f(), i("div", Qe, [(f(), n(u, l({ key: `designer-${s.reloadIndex}` }, s.controlForm, {
5046
+ ref: "processDesigner",
5047
+ "model-value": a.modelValue,
5048
+ "extend-types": a.extendTypes,
5049
+ options: {
5050
+ taskResizingEnabled: !0,
5051
+ eventResizingEnabled: !0
5052
+ },
5053
+ keyboard: "",
5054
+ onInput: t[0] || (t[0] = (t) => e.$emit("update:modelValue", t)),
5055
+ onInitFinished: c.initModeler
5056
+ }), {
5057
+ "toolbar-buttons": _(() => [p(e.$slots, "toolbar-buttons", { modeler: s.modeler })]),
5058
+ _: 3
5059
+ }, 16, [
5060
+ "model-value",
5061
+ "extend-types",
5062
+ "onInitFinished"
5063
+ ])), a.usePanel && (a.useTabs === null || a.useTabs === void 0 || a.useTabs.length > 0) ? (f(), n(d, {
5064
+ key: `penal-${s.reloadIndex}`,
5065
+ "panel-type": a.panelType,
5066
+ "use-tabs": a.useTabs,
5067
+ "bpmn-modeler": s.modeler,
5068
+ context: a.context,
5069
+ prefix: s.controlForm.prefix,
5070
+ class: "process-panel"
5071
+ }, {
5072
+ task: _(({ id: t, bpmnInstances: n, element: r, type: i }) => [p(e.$slots, "task", {
5073
+ id: t,
5074
+ bpmnInstances: n,
5075
+ element: r,
5076
+ type: i
5077
+ })]),
5078
+ form: _(({ id: t, bpmnInstances: n, element: r, type: i }) => [p(e.$slots, "form", {
5079
+ id: t,
5080
+ bpmnInstances: n,
5081
+ element: r,
5082
+ type: i
5083
+ })]),
5084
+ extend: _(({ id: t, bpmnInstances: n, element: r, type: i }) => [p(e.$slots, "extend", {
5085
+ id: t,
5086
+ bpmnInstances: n,
5087
+ element: r,
5088
+ type: i
5089
+ })]),
5090
+ _: 3
5091
+ }, 8, [
5092
+ "panel-type",
5093
+ "use-tabs",
5094
+ "bpmn-modeler",
5095
+ "context",
5096
+ "prefix"
5097
+ ])) : r("v-if", !0)]);
5098
+ }
5099
+ var et = /* @__PURE__ */ e(Ze, [["render", $e]]);
5100
+ //#endregion
5101
+ export { et as t };