@web-utils/component 2.7.20 → 2.7.22

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