@web-utils/component 2.7.20 → 2.7.21

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