@web-utils/form-ui 1.0.0-beta10 → 1.0.0-beta101

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