workflow-editor 0.0.81-up-tmp10 → 0.0.81-up-tmp11

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 (316) hide show
  1. package/.vscode/extensions.json +3 -0
  2. package/package.json +1 -1
  3. package/vite.config.js +3 -3
  4. package/dist/index.full.min.js +0 -3504
  5. package/dist/style.css +0 -526
  6. package/es/_virtual/_plugin-vue_export-helper.mjs +0 -9
  7. package/es/index.mjs +0 -17
  8. package/es/plugins/formValidatorUtil.mjs +0 -206
  9. package/es/plugins/index.mjs +0 -7
  10. package/es/src/i18n/i18n.mjs +0 -7
  11. package/es/src/i18n/langs/cn.mjs +0 -4
  12. package/es/src/i18n/langs/en.mjs +0 -4
  13. package/es/style.css +0 -525
  14. package/es/vite.svg +0 -1
  15. package/es/workflow-editor/index.mjs +0 -10
  16. package/es/workflow-editor/src/api.mjs +0 -6
  17. package/es/workflow-editor/src/assets/wf-editor-icons.mjs +0 -43
  18. package/es/workflow-editor/src/json-object-templates/auto-task.mjs +0 -7
  19. package/es/workflow-editor/src/json-object-templates/copy-task.mjs +0 -7
  20. package/es/workflow-editor/src/json-object-templates/decision.mjs +0 -7
  21. package/es/workflow-editor/src/json-object-templates/end.mjs +0 -7
  22. package/es/workflow-editor/src/json-object-templates/fork.mjs +0 -7
  23. package/es/workflow-editor/src/json-object-templates/human-decision.mjs +0 -7
  24. package/es/workflow-editor/src/json-object-templates/human-task.mjs +0 -7
  25. package/es/workflow-editor/src/json-object-templates/join.mjs +0 -7
  26. package/es/workflow-editor/src/json-object-templates/process.mjs +0 -9
  27. package/es/workflow-editor/src/json-object-templates/start.mjs +0 -7
  28. package/es/workflow-editor/src/json-object-templates/subprocess.mjs +0 -7
  29. package/es/workflow-editor/src/json-object-templates/transition.mjs +0 -6
  30. package/es/workflow-editor/src/main/admin-save-dialog.vue.mjs +0 -13
  31. package/es/workflow-editor/src/main/canvas.vue.mjs +0 -130
  32. package/es/workflow-editor/src/main/canvas.vue2.mjs +0 -4
  33. package/es/workflow-editor/src/main/context-menu.vue.mjs +0 -33
  34. package/es/workflow-editor/src/main/context-menu.vue2.mjs +0 -4
  35. package/es/workflow-editor/src/main/icon-svg.vue.mjs +0 -12
  36. package/es/workflow-editor/src/main/icon-svg.vue2.mjs +0 -4
  37. package/es/workflow-editor/src/main/selection-region.vue.mjs +0 -17
  38. package/es/workflow-editor/src/main/selection-region.vue2.mjs +0 -4
  39. package/es/workflow-editor/src/main/tache-history-tooltip.vue.mjs +0 -10
  40. package/es/workflow-editor/src/main/tache-history-tooltip.vue2.mjs +0 -4
  41. package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue.mjs +0 -11
  42. package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.mjs +0 -4
  43. package/es/workflow-editor/src/main/toolbox.vue.mjs +0 -16
  44. package/es/workflow-editor/src/main/toolbox.vue2.mjs +0 -4
  45. package/es/workflow-editor/src/main/wf-history-canvas.vue.mjs +0 -86
  46. package/es/workflow-editor/src/main/wf-history-canvas.vue2.mjs +0 -4
  47. package/es/workflow-editor/src/process-service.mjs +0 -21
  48. package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.mjs +0 -25
  49. package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.mjs +0 -4
  50. package/es/workflow-editor/src/properties-editors/auto-task.vue.mjs +0 -22
  51. package/es/workflow-editor/src/properties-editors/auto-task.vue2.mjs +0 -4
  52. package/es/workflow-editor/src/properties-editors/common/additional-condition-utils.mjs +0 -125
  53. package/es/workflow-editor/src/properties-editors/common/additional-condition.vue.mjs +0 -60
  54. package/es/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.mjs +0 -5
  55. package/es/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.mjs +0 -72
  56. package/es/workflow-editor/src/properties-editors/common/common-notice-tool.vue.mjs +0 -18
  57. package/es/workflow-editor/src/properties-editors/common/common-user-condition.vue.mjs +0 -55
  58. package/es/workflow-editor/src/properties-editors/common/form-fields-utils.mjs +0 -14
  59. package/es/workflow-editor/src/properties-editors/common/form-fields.vue.mjs +0 -20
  60. package/es/workflow-editor/src/properties-editors/common/form-fields.vue2.mjs +0 -4
  61. package/es/workflow-editor/src/properties-editors/common/i18n-input.vue.mjs +0 -25
  62. package/es/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.mjs +0 -36
  63. package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue.mjs +0 -27
  64. package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue2.mjs +0 -4
  65. package/es/workflow-editor/src/properties-editors/common/notice.vue.mjs +0 -31
  66. package/es/workflow-editor/src/properties-editors/common/reminder.vue.mjs +0 -36
  67. package/es/workflow-editor/src/properties-editors/common/reminder.vue2.mjs +0 -4
  68. package/es/workflow-editor/src/properties-editors/common/select-mail-template.vue.mjs +0 -20
  69. package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.mjs +0 -95
  70. package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.mjs +0 -4
  71. package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue.mjs +0 -16
  72. package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue2.mjs +0 -4
  73. package/es/workflow-editor/src/properties-editors/common/task-title.vue.mjs +0 -46
  74. package/es/workflow-editor/src/properties-editors/common/task-title.vue2.mjs +0 -4
  75. package/es/workflow-editor/src/properties-editors/common/transactor-settings.vue.mjs +0 -43
  76. package/es/workflow-editor/src/properties-editors/common/user-selection.vue.mjs +0 -116
  77. package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.mjs +0 -60
  78. package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.mjs +0 -4
  79. package/es/workflow-editor/src/properties-editors/common/variables.vue.mjs +0 -41
  80. package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.mjs +0 -25
  81. package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.mjs +0 -4
  82. package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.mjs +0 -30
  83. package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.mjs +0 -4
  84. package/es/workflow-editor/src/properties-editors/copy-task.vue.mjs +0 -26
  85. package/es/workflow-editor/src/properties-editors/copy-task.vue2.mjs +0 -4
  86. package/es/workflow-editor/src/properties-editors/decision.vue.mjs +0 -24
  87. package/es/workflow-editor/src/properties-editors/fork.vue.mjs +0 -21
  88. package/es/workflow-editor/src/properties-editors/human-decision.vue.mjs +0 -15
  89. package/es/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.mjs +0 -16
  90. package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue.mjs +0 -38
  91. package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.mjs +0 -4
  92. package/es/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.mjs +0 -84
  93. package/es/workflow-editor/src/properties-editors/human-task/custom-actions.vue.mjs +0 -62
  94. package/es/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.mjs +0 -80
  95. package/es/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.mjs +0 -86
  96. package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.mjs +0 -43
  97. package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.mjs +0 -4
  98. package/es/workflow-editor/src/properties-editors/human-task/editable-fields.vue.mjs +0 -67
  99. package/es/workflow-editor/src/properties-editors/human-task/events.vue.mjs +0 -18
  100. package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue.mjs +0 -33
  101. package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.mjs +0 -4
  102. package/es/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.mjs +0 -56
  103. package/es/workflow-editor/src/properties-editors/human-task.vue.mjs +0 -28
  104. package/es/workflow-editor/src/properties-editors/human-task.vue2.mjs +0 -4
  105. package/es/workflow-editor/src/properties-editors/join.vue.mjs +0 -15
  106. package/es/workflow-editor/src/properties-editors/process/basic-properties.vue.mjs +0 -88
  107. package/es/workflow-editor/src/properties-editors/process/events.vue.mjs +0 -21
  108. package/es/workflow-editor/src/properties-editors/process/notice-settings.vue.mjs +0 -25
  109. package/es/workflow-editor/src/properties-editors/process/parameter-settings.vue.mjs +0 -17
  110. package/es/workflow-editor/src/properties-editors/process/permission-settings.vue.mjs +0 -10
  111. package/es/workflow-editor/src/properties-editors/process/selectPage.vue.mjs +0 -28
  112. package/es/workflow-editor/src/properties-editors/process.vue.mjs +0 -34
  113. package/es/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.mjs +0 -64
  114. package/es/workflow-editor/src/properties-editors/subprocess/events.vue.mjs +0 -9
  115. package/es/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.mjs +0 -55
  116. package/es/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.mjs +0 -20
  117. package/es/workflow-editor/src/properties-editors/subprocess.vue.mjs +0 -22
  118. package/es/workflow-editor/src/properties-editors/subprocess.vue2.mjs +0 -4
  119. package/es/workflow-editor/src/properties-editors/transition/basic-properties.vue.mjs +0 -14
  120. package/es/workflow-editor/src/properties-editors/transition.vue.mjs +0 -17
  121. package/es/workflow-editor/src/properties-editors/transition.vue2.mjs +0 -4
  122. package/es/workflow-editor/src/properties-editors/user-condition.mjs +0 -49
  123. package/es/workflow-editor/src/store/getters.mjs +0 -4
  124. package/es/workflow-editor/src/store/workflow-editor.mjs +0 -73
  125. package/es/workflow-editor/src/taches/auto-task.vue.mjs +0 -25
  126. package/es/workflow-editor/src/taches/common-methods.mjs +0 -13
  127. package/es/workflow-editor/src/taches/copy-task.vue.mjs +0 -25
  128. package/es/workflow-editor/src/taches/custom-task.vue.mjs +0 -16
  129. package/es/workflow-editor/src/taches/decision.vue.mjs +0 -25
  130. package/es/workflow-editor/src/taches/decision.vue2.mjs +0 -4
  131. package/es/workflow-editor/src/taches/end.vue.mjs +0 -14
  132. package/es/workflow-editor/src/taches/end.vue2.mjs +0 -4
  133. package/es/workflow-editor/src/taches/fork.vue.mjs +0 -25
  134. package/es/workflow-editor/src/taches/fork.vue2.mjs +0 -4
  135. package/es/workflow-editor/src/taches/human-decision.vue.mjs +0 -25
  136. package/es/workflow-editor/src/taches/human-decision.vue2.mjs +0 -4
  137. package/es/workflow-editor/src/taches/human-task.vue.mjs +0 -25
  138. package/es/workflow-editor/src/taches/join.vue.mjs +0 -16
  139. package/es/workflow-editor/src/taches/join.vue2.mjs +0 -4
  140. package/es/workflow-editor/src/taches/joint.vue.mjs +0 -54
  141. package/es/workflow-editor/src/taches/joint.vue2.mjs +0 -4
  142. package/es/workflow-editor/src/taches/start.vue.mjs +0 -14
  143. package/es/workflow-editor/src/taches/start.vue2.mjs +0 -4
  144. package/es/workflow-editor/src/taches/subprocess.vue.mjs +0 -25
  145. package/es/workflow-editor/src/taches/tache-resizer.vue.mjs +0 -30
  146. package/es/workflow-editor/src/taches/tache-resizer.vue2.mjs +0 -4
  147. package/es/workflow-editor/src/transitions/broken-line.vue.mjs +0 -32
  148. package/es/workflow-editor/src/transitions/broken-line.vue2.mjs +0 -4
  149. package/es/workflow-editor/src/transitions/curve-line.vue.mjs +0 -33
  150. package/es/workflow-editor/src/transitions/curve-line.vue2.mjs +0 -4
  151. package/es/workflow-editor/src/transitions/straight-line.vue.mjs +0 -13
  152. package/es/workflow-editor/src/transitions/transition.vue.mjs +0 -70
  153. package/es/workflow-editor/src/transitions/transition.vue2.mjs +0 -4
  154. package/es/workflow-editor/src/transitions/virtual-transition.vue.mjs +0 -17
  155. package/es/workflow-editor/src/transitions/virtual-transition.vue2.mjs +0 -4
  156. package/es/workflow-editor/src/util.mjs +0 -180
  157. package/es/workflow-editor/src/workflow-editor.vue.mjs +0 -205
  158. package/es/workflow-editor/src/workflow-editor.vue2.mjs +0 -4
  159. package/es/workflow-editor/src/workflow-history.vue.mjs +0 -35
  160. package/es/workflow-editor/src/workflow-history.vue2.mjs +0 -4
  161. package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -7
  162. package/lib/index.cjs +0 -8
  163. package/lib/plugins/formValidatorUtil.cjs +0 -203
  164. package/lib/plugins/index.cjs +0 -5
  165. package/lib/src/i18n/i18n.cjs +0 -3
  166. package/lib/src/i18n/langs/cn.cjs +0 -2
  167. package/lib/src/i18n/langs/en.cjs +0 -2
  168. package/lib/style.css +0 -525
  169. package/lib/vite.svg +0 -1
  170. package/lib/workflow-editor/index.cjs +0 -7
  171. package/lib/workflow-editor/src/api.cjs +0 -5
  172. package/lib/workflow-editor/src/assets/wf-editor-icons.cjs +0 -44
  173. package/lib/workflow-editor/src/json-object-templates/auto-task.cjs +0 -5
  174. package/lib/workflow-editor/src/json-object-templates/copy-task.cjs +0 -5
  175. package/lib/workflow-editor/src/json-object-templates/decision.cjs +0 -5
  176. package/lib/workflow-editor/src/json-object-templates/end.cjs +0 -5
  177. package/lib/workflow-editor/src/json-object-templates/fork.cjs +0 -5
  178. package/lib/workflow-editor/src/json-object-templates/human-decision.cjs +0 -5
  179. package/lib/workflow-editor/src/json-object-templates/human-task.cjs +0 -5
  180. package/lib/workflow-editor/src/json-object-templates/join.cjs +0 -5
  181. package/lib/workflow-editor/src/json-object-templates/process.cjs +0 -6
  182. package/lib/workflow-editor/src/json-object-templates/start.cjs +0 -5
  183. package/lib/workflow-editor/src/json-object-templates/subprocess.cjs +0 -5
  184. package/lib/workflow-editor/src/json-object-templates/transition.cjs +0 -4
  185. package/lib/workflow-editor/src/main/admin-save-dialog.vue.cjs +0 -11
  186. package/lib/workflow-editor/src/main/canvas.vue.cjs +0 -101
  187. package/lib/workflow-editor/src/main/canvas.vue2.cjs +0 -2
  188. package/lib/workflow-editor/src/main/context-menu.vue.cjs +0 -29
  189. package/lib/workflow-editor/src/main/context-menu.vue2.cjs +0 -2
  190. package/lib/workflow-editor/src/main/icon-svg.vue.cjs +0 -10
  191. package/lib/workflow-editor/src/main/icon-svg.vue2.cjs +0 -2
  192. package/lib/workflow-editor/src/main/selection-region.vue.cjs +0 -13
  193. package/lib/workflow-editor/src/main/selection-region.vue2.cjs +0 -2
  194. package/lib/workflow-editor/src/main/tache-history-tooltip.vue.cjs +0 -8
  195. package/lib/workflow-editor/src/main/tache-history-tooltip.vue2.cjs +0 -2
  196. package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue.cjs +0 -9
  197. package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.cjs +0 -2
  198. package/lib/workflow-editor/src/main/toolbox.vue.cjs +0 -11
  199. package/lib/workflow-editor/src/main/toolbox.vue2.cjs +0 -2
  200. package/lib/workflow-editor/src/main/wf-history-canvas.vue.cjs +0 -67
  201. package/lib/workflow-editor/src/main/wf-history-canvas.vue2.cjs +0 -2
  202. package/lib/workflow-editor/src/process-service.cjs +0 -20
  203. package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.cjs +0 -20
  204. package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.cjs +0 -2
  205. package/lib/workflow-editor/src/properties-editors/auto-task.vue.cjs +0 -19
  206. package/lib/workflow-editor/src/properties-editors/auto-task.vue2.cjs +0 -2
  207. package/lib/workflow-editor/src/properties-editors/common/additional-condition-utils.cjs +0 -94
  208. package/lib/workflow-editor/src/properties-editors/common/additional-condition.vue.cjs +0 -54
  209. package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.cjs +0 -4
  210. package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.cjs +0 -67
  211. package/lib/workflow-editor/src/properties-editors/common/common-notice-tool.vue.cjs +0 -16
  212. package/lib/workflow-editor/src/properties-editors/common/common-user-condition.vue.cjs +0 -50
  213. package/lib/workflow-editor/src/properties-editors/common/form-fields-utils.cjs +0 -11
  214. package/lib/workflow-editor/src/properties-editors/common/form-fields.vue.cjs +0 -17
  215. package/lib/workflow-editor/src/properties-editors/common/form-fields.vue2.cjs +0 -2
  216. package/lib/workflow-editor/src/properties-editors/common/i18n-input.vue.cjs +0 -20
  217. package/lib/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.cjs +0 -31
  218. package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue.cjs +0 -22
  219. package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue2.cjs +0 -2
  220. package/lib/workflow-editor/src/properties-editors/common/notice.vue.cjs +0 -25
  221. package/lib/workflow-editor/src/properties-editors/common/reminder.vue.cjs +0 -31
  222. package/lib/workflow-editor/src/properties-editors/common/reminder.vue2.cjs +0 -2
  223. package/lib/workflow-editor/src/properties-editors/common/select-mail-template.vue.cjs +0 -17
  224. package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.cjs +0 -93
  225. package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.cjs +0 -2
  226. package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue.cjs +0 -13
  227. package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue2.cjs +0 -2
  228. package/lib/workflow-editor/src/properties-editors/common/task-title.vue.cjs +0 -42
  229. package/lib/workflow-editor/src/properties-editors/common/task-title.vue2.cjs +0 -2
  230. package/lib/workflow-editor/src/properties-editors/common/transactor-settings.vue.cjs +0 -37
  231. package/lib/workflow-editor/src/properties-editors/common/user-selection.vue.cjs +0 -110
  232. package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.cjs +0 -55
  233. package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.cjs +0 -2
  234. package/lib/workflow-editor/src/properties-editors/common/variables.vue.cjs +0 -39
  235. package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.cjs +0 -20
  236. package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.cjs +0 -2
  237. package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.cjs +0 -26
  238. package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.cjs +0 -2
  239. package/lib/workflow-editor/src/properties-editors/copy-task.vue.cjs +0 -19
  240. package/lib/workflow-editor/src/properties-editors/copy-task.vue2.cjs +0 -2
  241. package/lib/workflow-editor/src/properties-editors/decision.vue.cjs +0 -20
  242. package/lib/workflow-editor/src/properties-editors/fork.vue.cjs +0 -18
  243. package/lib/workflow-editor/src/properties-editors/human-decision.vue.cjs +0 -13
  244. package/lib/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.cjs +0 -13
  245. package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue.cjs +0 -31
  246. package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.cjs +0 -2
  247. package/lib/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.cjs +0 -82
  248. package/lib/workflow-editor/src/properties-editors/human-task/custom-actions.vue.cjs +0 -56
  249. package/lib/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.cjs +0 -75
  250. package/lib/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.cjs +0 -80
  251. package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.cjs +0 -39
  252. package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.cjs +0 -2
  253. package/lib/workflow-editor/src/properties-editors/human-task/editable-fields.vue.cjs +0 -60
  254. package/lib/workflow-editor/src/properties-editors/human-task/events.vue.cjs +0 -15
  255. package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue.cjs +0 -26
  256. package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.cjs +0 -2
  257. package/lib/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.cjs +0 -49
  258. package/lib/workflow-editor/src/properties-editors/human-task.vue.cjs +0 -19
  259. package/lib/workflow-editor/src/properties-editors/human-task.vue2.cjs +0 -2
  260. package/lib/workflow-editor/src/properties-editors/join.vue.cjs +0 -13
  261. package/lib/workflow-editor/src/properties-editors/process/basic-properties.vue.cjs +0 -81
  262. package/lib/workflow-editor/src/properties-editors/process/events.vue.cjs +0 -18
  263. package/lib/workflow-editor/src/properties-editors/process/notice-settings.vue.cjs +0 -21
  264. package/lib/workflow-editor/src/properties-editors/process/parameter-settings.vue.cjs +0 -13
  265. package/lib/workflow-editor/src/properties-editors/process/permission-settings.vue.cjs +0 -7
  266. package/lib/workflow-editor/src/properties-editors/process/selectPage.vue.cjs +0 -23
  267. package/lib/workflow-editor/src/properties-editors/process.vue.cjs +0 -24
  268. package/lib/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.cjs +0 -57
  269. package/lib/workflow-editor/src/properties-editors/subprocess/events.vue.cjs +0 -7
  270. package/lib/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.cjs +0 -50
  271. package/lib/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.cjs +0 -16
  272. package/lib/workflow-editor/src/properties-editors/subprocess.vue.cjs +0 -17
  273. package/lib/workflow-editor/src/properties-editors/subprocess.vue2.cjs +0 -2
  274. package/lib/workflow-editor/src/properties-editors/transition/basic-properties.vue.cjs +0 -10
  275. package/lib/workflow-editor/src/properties-editors/transition.vue.cjs +0 -12
  276. package/lib/workflow-editor/src/properties-editors/transition.vue2.cjs +0 -2
  277. package/lib/workflow-editor/src/properties-editors/user-condition.cjs +0 -33
  278. package/lib/workflow-editor/src/store/getters.cjs +0 -2
  279. package/lib/workflow-editor/src/store/workflow-editor.cjs +0 -71
  280. package/lib/workflow-editor/src/taches/auto-task.vue.cjs +0 -17
  281. package/lib/workflow-editor/src/taches/common-methods.cjs +0 -11
  282. package/lib/workflow-editor/src/taches/copy-task.vue.cjs +0 -17
  283. package/lib/workflow-editor/src/taches/custom-task.vue.cjs +0 -9
  284. package/lib/workflow-editor/src/taches/decision.vue.cjs +0 -19
  285. package/lib/workflow-editor/src/taches/decision.vue2.cjs +0 -2
  286. package/lib/workflow-editor/src/taches/end.vue.cjs +0 -9
  287. package/lib/workflow-editor/src/taches/end.vue2.cjs +0 -2
  288. package/lib/workflow-editor/src/taches/fork.vue.cjs +0 -19
  289. package/lib/workflow-editor/src/taches/fork.vue2.cjs +0 -2
  290. package/lib/workflow-editor/src/taches/human-decision.vue.cjs +0 -19
  291. package/lib/workflow-editor/src/taches/human-decision.vue2.cjs +0 -2
  292. package/lib/workflow-editor/src/taches/human-task.vue.cjs +0 -17
  293. package/lib/workflow-editor/src/taches/join.vue.cjs +0 -11
  294. package/lib/workflow-editor/src/taches/join.vue2.cjs +0 -2
  295. package/lib/workflow-editor/src/taches/joint.vue.cjs +0 -50
  296. package/lib/workflow-editor/src/taches/joint.vue2.cjs +0 -2
  297. package/lib/workflow-editor/src/taches/start.vue.cjs +0 -9
  298. package/lib/workflow-editor/src/taches/start.vue2.cjs +0 -2
  299. package/lib/workflow-editor/src/taches/subprocess.vue.cjs +0 -17
  300. package/lib/workflow-editor/src/taches/tache-resizer.vue.cjs +0 -27
  301. package/lib/workflow-editor/src/taches/tache-resizer.vue2.cjs +0 -2
  302. package/lib/workflow-editor/src/transitions/broken-line.vue.cjs +0 -28
  303. package/lib/workflow-editor/src/transitions/broken-line.vue2.cjs +0 -2
  304. package/lib/workflow-editor/src/transitions/curve-line.vue.cjs +0 -29
  305. package/lib/workflow-editor/src/transitions/curve-line.vue2.cjs +0 -2
  306. package/lib/workflow-editor/src/transitions/straight-line.vue.cjs +0 -9
  307. package/lib/workflow-editor/src/transitions/transition.vue.cjs +0 -63
  308. package/lib/workflow-editor/src/transitions/transition.vue2.cjs +0 -2
  309. package/lib/workflow-editor/src/transitions/virtual-transition.vue.cjs +0 -13
  310. package/lib/workflow-editor/src/transitions/virtual-transition.vue2.cjs +0 -2
  311. package/lib/workflow-editor/src/util.cjs +0 -139
  312. package/lib/workflow-editor/src/workflow-editor.vue.cjs +0 -191
  313. package/lib/workflow-editor/src/workflow-editor.vue2.cjs +0 -2
  314. package/lib/workflow-editor/src/workflow-history.vue.cjs +0 -28
  315. package/lib/workflow-editor/src/workflow-history.vue2.cjs +0 -2
  316. /package/{dist → public}/vite.svg +0 -0
@@ -1,7 +0,0 @@
1
- import r from "../../../src/i18n/i18n.mjs";
2
- function t() {
3
- return { attr: { id: "", name: r.global.t("workflowEditor.task.branch") }, g: {} };
4
- }
5
- export {
6
- t as default
7
- };
@@ -1,7 +0,0 @@
1
- import t from "../../../src/i18n/i18n.mjs";
2
- function r() {
3
- return { attr: { name: t.global.t("workflowEditor.task.manualJudgment") }, g: {} };
4
- }
5
- export {
6
- r as default
7
- };
@@ -1,7 +0,0 @@
1
- import n from "../../../src/i18n/i18n.mjs";
2
- function i() {
3
- return { attr: { id: "newHumanTask", name: n.global.t("workflowEditor.task.newTask") }, g: {}, basicProperties: { processingMode: { type: "EDIT", passRate: 0, moreTransactor: false, actions: { action: [] } }, taskCode: "", taskTitle: "", remark: "", mailNotice: false, taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, permissionSettings: { editForm: { permission: false, field: [], subTablePermission: [{ tableName: "sub_table1", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }, { tableName: "sub_table2", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } }, autoFilledFields: { field: [] }, reminder: null, events: { afterComplete: false }, variables: { variable: [] } };
4
- }
5
- export {
6
- i as default
7
- };
@@ -1,7 +0,0 @@
1
- import r from "../../../src/i18n/i18n.mjs";
2
- function t() {
3
- return { attr: { id: "", name: r.global.t("workflowEditor.task.converge") }, g: {} };
4
- }
5
- export {
6
- t as default
7
- };
@@ -1,9 +0,0 @@
1
- import e from "./human-task.mjs";
2
- import r from "../../../src/i18n/i18n.mjs";
3
- function t() {
4
- const t2 = e();
5
- return t2.g = { x: 200, y: 150, width: 80, height: 40 }, { attr: { name: r.global.t("workflowEditor.task.newProcess"), code: "" }, properties: { basicProperties: { admin: "", formVersion: 1, formCode: "", processTypeCode: "", systemCode: "", creator: "", customType: "", branchCode: "" }, permissionSettings: { viewFlowHistory: "", viewSubscribeResult: "", viewVoteResult: "" }, reminder: null, parameterSettings: { doTask: { url: "", parameterName: "" }, viewForm: { url: "", parameterName: "" }, startProcess: { url: "", parameterName: "", parameterValue: "" }, handleEmergency: { url: "", parameterName: "" } }, events: { event: [] }, variables: { variable: [] } }, start: { attr: { id: "start" }, g: { x: 50, y: 50, width: 48, height: 48 } }, humanTask: t2, end: { attr: { id: "end" }, g: { x: 500, y: 300, width: 48, height: 48 } } };
6
- }
7
- export {
8
- t as default
9
- };
@@ -1,7 +0,0 @@
1
- import t from "../../../src/i18n/i18n.mjs";
2
- function r() {
3
- return { attr: { id: "", name: t.global.t("workflowEditor.task.start") }, g: {} };
4
- }
5
- export {
6
- r as default
7
- };
@@ -1,7 +0,0 @@
1
- import t from "../../../src/i18n/i18n.mjs";
2
- function e() {
3
- return { attr: { id: "", name: t.global.t("workflowEditor.task.subprocess"), taskTitle: "" }, g: {}, processCode: "", processVersion: "", events: { beforeStart: "", end: false }, transactorSettings: { userCondition: "", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, parameters: { field: [] }, result: { field: [] } };
4
- }
5
- export {
6
- e as default
7
- };
@@ -1,6 +0,0 @@
1
- function i() {
2
- return { attr: { id: "", from: "", to: "" }, g: {}, basicProperties: { remark: "", isOriginalUser: false, condition: "" }, inform: { informType: "mail", userCondition: "", subject: "", content: "" }, autoFilledFields: { field: [] }, onTransit: false };
3
- }
4
- export {
5
- i as default
6
- };
@@ -1,13 +0,0 @@
1
- import { resolveComponent as e, openBlock as o, createBlock as i, withCtx as l, createVNode as t, createTextVNode as d, toDisplayString as a, createElementVNode as n } from "vue";
2
- import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
3
- const s = r({ name: "AdminSaveDialog", data: () => ({ dialogVisible: true }), methods: { updateWfVersion() {
4
- this.$emit("update");
5
- }, addWfVersion() {
6
- this.$emit("add");
7
- } } }, [["render", function(r2, s2, u, p, f, m) {
8
- const w = e("el-button"), $ = e("el-dialog");
9
- return o(), i($, { "model-value": "", title: r2.$t("workflowEditorPublicModel.tipTitle"), center: true, top: "10vh", "append-to-body": "", onOpen: s2[1] || (s2[1] = (e2) => r2.$emit("open")), onOpend: s2[2] || (s2[2] = (e2) => r2.$emit("opend")), onClose: s2[3] || (s2[3] = (e2) => r2.$emit("close")), onClosed: s2[4] || (s2[4] = (e2) => r2.$emit("closed")) }, { footer: l(() => [t(w, { onClick: m.updateWfVersion }, { default: l(() => [d(a(r2.$t("workflowEditorMessage.updateVersion")), 1)]), _: 1 }, 8, ["onClick"]), t(w, { type: "primary", onClick: m.addWfVersion }, { default: l(() => [d(a(r2.$t("workflowEditorMessage.addVersion")), 1)]), _: 1 }, 8, ["onClick"]), t(w, { onClick: s2[0] || (s2[0] = (e2) => r2.$emit("close")) }, { default: l(() => [d(a(r2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: l(() => [n("div", null, a(r2.$t("workflowEditorMessage.adminSaveTip")), 1), n("ul", null, [n("li", null, a(r2.$t("workflowEditorMessage.adminSaveTip1")), 1), n("li", null, a(r2.$t("workflowEditorMessage.adminSaveTip2")), 1), n("li", null, a(r2.$t("workflowEditorMessage.adminSaveTip3")), 1), n("li", null, a(r2.$t("workflowEditorMessage.adminSaveTip4")), 1)]), n("div", null, a(r2.$t("workflowEditorMessage.adminSaveTip5")), 1)]), _: 1 }, 8, ["title"]);
10
- }]]);
11
- export {
12
- s as default
13
- };
@@ -1,130 +0,0 @@
1
- import o from "../taches/start.vue.mjs";
2
- import i from "../taches/end.vue.mjs";
3
- import t from "../taches/human-task.vue.mjs";
4
- import e from "../taches/decision.vue.mjs";
5
- import s from "../taches/subprocess.vue.mjs";
6
- import r from "../taches/custom-task.vue.mjs";
7
- import n from "../taches/fork.vue.mjs";
8
- import h from "../taches/join.vue.mjs";
9
- import a from "../taches/human-decision.vue.mjs";
10
- import l from "../taches/copy-task.vue.mjs";
11
- import u from "../taches/auto-task.vue.mjs";
12
- import c from "../transitions/transition.vue.mjs";
13
- import m from "../transitions/virtual-transition.vue.mjs";
14
- import d from "./selection-region.vue.mjs";
15
- import p from "../properties-editors/human-task.vue.mjs";
16
- import g from "../properties-editors/process.vue.mjs";
17
- import v from "../properties-editors/decision.vue.mjs";
18
- import T from "../properties-editors/transition.vue.mjs";
19
- import f from "../properties-editors/fork.vue.mjs";
20
- import P from "../properties-editors/join.vue.mjs";
21
- import y from "../properties-editors/human-decision.vue.mjs";
22
- import w from "../properties-editors/copy-task.vue.mjs";
23
- import M from "../properties-editors/auto-task.vue.mjs";
24
- import j from "../properties-editors/subprocess.vue.mjs";
25
- import k from "./tache-history-tooltip.vue.mjs";
26
- import { mapGetters as x, mapMutations as R } from "vuex";
27
- import { getMousePosition as E, clearAllSelectedComponents as S, getVirtualRegion as H, getRealRegion as I } from "../util.mjs";
28
- import { resolveComponent as D, openBlock as C, createElementBlock as J, Fragment as b, renderList as z, createBlock as L, resolveDynamicComponent as F, createVNode as W, createCommentVNode as A, normalizeStyle as N, createElementVNode as V } from "vue";
29
- import "./canvas.vue2.mjs";
30
- import B from "../../../_virtual/_plugin-vue_export-helper.mjs";
31
- const _ = { name: "Canvas", components: { Start: o, End: i, HumanTask: t, Decision: e, Subprocess: s, CustomTask: r, Fork: n, Join: h, HumanDecision: a, CopyTask: l, Transition: c, VirtualTransition: m, SelectionRegion: d, HumanTaskPropertiesEditor: p, ProcessPropertiesEditor: g, DecisionPropertiesEditor: v, TransitionPropertiesEditor: T, ForkPropertiesEditor: f, JoinPropertiesEditor: P, HumanDecisionPropertiesEditor: y, CopyTaskPropertiesEditor: w, SubprocessPropertiesEditor: j, TacheHistoryTooltip: k, AutoTask: u, AutoTaskPropertiesEditor: M }, props: { process: { type: Object, default: null }, showHistory: { type: Boolean, default: false } }, data: function() {
32
- return { inputArea: null, currentPosition: null, originPosition: null, offset: null, startPoint: null, region: null, endPoint: null, transitionsInRegion: [], showTacheHistory: false, tooltipPosition: null };
33
- }, computed: { ...x("wfEditor", ["taches", "transitions", "isMovingTache", "mouseDownPosition", "startJoint", "endJoint", "isDrawingRegion", "isMovingRegion", "selectedTransition", "selectedTaches", "resizerToMove", "draggerToMove", "controlPointToMove", "propertiesEditorFor", "contextMenuVisible"]) }, watch: { propertiesEditorFor(o2, i2) {
34
- } }, mounted: function() {
35
- }, methods: { ...R("wfEditor", ["setTaches", "setTransitions", "resetState", "setMovingTache", "stopDrawingLine", "setSelectedTaches", "setDrawingRegion", "setResizerToMove", "setDraggerToMove", "setControlPointToMove", "setPropertiesEditorFor"]), forbidSelection: () => false, add: function() {
36
- }, mousedown(o2) {
37
- this.unselectAll(), this.setDrawingRegion(true), this.startPoint = E(o2);
38
- }, mousemove(o2) {
39
- this.showHistory || (!this.originPosition && this.mouseDownPosition && (this.originPosition = this.mouseDownPosition), this.currentPosition = E(o2), this.isMovingTache && this.moveTache(this.selectedTaches[0]), this.drawVirtualSelectionRegion(), this.moveSelectionRegion(), this.resizeSelectedTache(), this.moveTransition(), this.adjustCurveLine(), this.originPosition = this.currentPosition);
40
- }, mouseup(o2) {
41
- this.isMovingTache && this.setMovingTache(false), this.startJoint && this.stopDrawingLine(), this.drawRegionWhenNeeded(), this.resizerToMove && this.setResizerToMove(null), this.resetMovedTransition();
42
- }, mouseleave(o2) {
43
- this.drawRegionWhenNeeded(), this.resetMovedTransition(), this.resetState();
44
- }, drawRegionWhenNeeded() {
45
- this.isDrawingRegion && (this.selectComponents(), this.drawRealSelectionRegion(), this.setDrawingRegion(false));
46
- }, resetMovedTransition() {
47
- this.draggerToMove && (this.draggerToMove.owner.startJoint = this.draggerToMove.originStartJoint, this.draggerToMove.owner.endJoint = this.draggerToMove.originEndJoint, this.setDraggerToMove(null));
48
- }, unselectAll() {
49
- S(), this.transitionsInRegion = [], this.startPoint = null, this.region = null;
50
- }, selectComponents() {
51
- if (!this.startPoint || !this.region)
52
- return this.startPoint = null, void (this.region = null);
53
- for (const o2 of this.taches)
54
- this.isInsideSelectionRegion(o2) && (o2.isSelected = true, this.selectedTaches.push(o2));
55
- for (const o2 of this.transitions)
56
- o2.startJoint.parent.isSelected && o2.endJoint.parent.isSelected && this.transitionsInRegion.push(o2);
57
- }, isInsideSelectionRegion(o2) {
58
- const i2 = o2.x >= this.region.x && o2.y >= this.region.y, t2 = o2.x + o2.width <= this.region.x + this.region.width && o2.y + o2.height <= this.region.y + this.region.height;
59
- return i2 && t2;
60
- }, moveTache(o2) {
61
- const i2 = this.currentPosition.x - this.originPosition.x, t2 = this.currentPosition.y - this.originPosition.y;
62
- o2.x += i2, o2.y += t2, o2.x < 0 && (o2.x = 2), o2.y < 0 && (o2.y = 2);
63
- }, drawVirtualSelectionRegion() {
64
- this.isDrawingRegion && this.startPoint && (this.region = H(this.startPoint, this.currentPosition));
65
- }, drawRealSelectionRegion() {
66
- if (this.selectedTaches.length <= 1)
67
- return this.startPoint = null, void (this.region = null);
68
- this.region = I(this.selectedTaches);
69
- }, moveSelectionRegion() {
70
- if (!this.isMovingRegion)
71
- return;
72
- let o2 = this.currentPosition.x - this.originPosition.x, i2 = this.currentPosition.y - this.originPosition.y;
73
- this.region.x + o2 < 0 && (o2 = 2 - this.region.x), this.region.y + i2 < 0 && (i2 = 2 - this.region.y), this.region.x = this.region.x + o2, this.region.y = this.region.y + i2, this.moveTachesInRegion(o2, i2), this.moveTransitionControlPoints(o2, i2);
74
- }, moveTachesInRegion(o2, i2) {
75
- for (const t2 of this.selectedTaches)
76
- t2.x += o2, t2.y += i2;
77
- }, moveTransitionControlPoints(o2, i2) {
78
- for (const t2 of this.transitionsInRegion)
79
- "CurveLine" === t2.lineInfo.type ? (t2.lineInfo.controlPoint.x += o2, t2.lineInfo.controlPoint.y += i2) : "BrokenLine" === t2.lineInfo.type && t2.lineInfo.controlPoint.forEach((t3) => {
80
- t3.x += o2, t3.y += i2;
81
- });
82
- }, resizeSelectedTache() {
83
- if (!this.resizerToMove)
84
- return;
85
- let o2 = this.currentPosition.x - this.originPosition.x, i2 = this.currentPosition.y - this.originPosition.y;
86
- const t2 = this.resizerToMove.owner;
87
- switch (this.resizerToMove.position) {
88
- case "NW":
89
- t2.width - o2 < 80 && (o2 = t2.width - 80), t2.height - i2 < 40 && (i2 = t2.height - 40), t2.width -= o2, t2.height -= i2, t2.x += o2, t2.y += i2;
90
- break;
91
- case "NE":
92
- t2.width + o2 < 80 && (o2 = 80 - t2.width), t2.height - i2 < 40 && (i2 = t2.height - 40), t2.width += o2, t2.height -= i2, t2.y += i2;
93
- break;
94
- case "SW":
95
- t2.width - o2 < 80 && (o2 = t2.width - 80), t2.height + i2 < 40 && (i2 = 40 - t2.height), t2.width -= o2, t2.height += i2, t2.x += o2;
96
- break;
97
- case "SE":
98
- t2.width + o2 < 80 && (o2 = 80 - t2.width), t2.height + i2 < 40 && (i2 = 40 - t2.height), t2.width += o2, t2.height += i2;
99
- }
100
- }, moveTransition() {
101
- if (!this.draggerToMove)
102
- return;
103
- const o2 = this.draggerToMove.owner, i2 = this.draggerToMove.position, t2 = { parent: this.currentPosition, position: "" };
104
- "start" === i2 ? o2.startJoint = t2 : o2.endJoint = t2;
105
- }, adjustCurveLine() {
106
- if (!this.controlPointToMove)
107
- return;
108
- const o2 = this.controlPointToMove.owner;
109
- if (o2.lineInfo && "CurveLine" === o2.lineInfo.type)
110
- o2.lineInfo.controlPoint = this.currentPosition;
111
- else if (o2.lineInfo && "BrokenLine" === o2.lineInfo.type) {
112
- const i2 = this.controlPointToMove.pointIndex;
113
- o2.lineInfo.controlPoint[i2] = this.currentPosition;
114
- }
115
- }, endDrag(o2) {
116
- }, showTacheHistoryTooltip(o2) {
117
- this.showTacheHistory = true;
118
- }, hideTacheHistoryTooltip() {
119
- this.showTacheHistory = false;
120
- }, updateTacheHistoryTooltipPosition(o2) {
121
- const i2 = E(o2);
122
- this.tooltipPosition = { left: i2.x + "px", top: i2.y + "px" };
123
- } } }, O = { ref: "svgContainer", style: { position: "relative" } }, U = V("defs", null, [V("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [V("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
124
- const X = B(_, [["render", function(o2, i2, t2, e2, s2, r2) {
125
- const n2 = D("virtual-transition"), h2 = D("selection-region"), a2 = D("tache-history-tooltip");
126
- return C(), J("div", O, [(C(), J("svg", { id: "svg", width: "2000", height: "2000", onMousedown: i2[0] || (i2[0] = (...o3) => r2.mousedown && r2.mousedown(...o3)), onMousemove: i2[1] || (i2[1] = (...o3) => r2.mousemove && r2.mousemove(...o3)), onMouseup: i2[2] || (i2[2] = (...o3) => r2.mouseup && r2.mouseup(...o3)), onMouseleave: i2[3] || (i2[3] = (...o3) => r2.mouseleave && r2.mouseleave(...o3)), onDblclick: i2[4] || (i2[4] = (i3) => o2.setPropertiesEditorFor("Process")) }, [U, (C(true), J(b, null, z(o2.taches, (o3) => (C(), L(F(o3.type), { key: o3.id, model: o3, onMouseenter: r2.showTacheHistoryTooltip, onMouseleave: r2.hideTacheHistoryTooltip, onMousemove: r2.updateTacheHistoryTooltipPosition }, null, 40, ["model", "onMouseenter", "onMouseleave", "onMousemove"]))), 128)), (C(true), J(b, null, z(o2.transitions, (o3) => (C(), L(F("transition"), { key: o3.id, model: o3 }, null, 8, ["model"]))), 128)), W(n2, { toPosition: o2.currentPosition }, null, 8, ["toPosition"]), W(h2, { region: o2.region }, null, 8, ["region"])], 32)), !t2.showHistory && o2.propertiesEditorFor ? (C(), L(F(o2.propertiesEditorFor + "PropertiesEditor"), { key: 0, model: o2.selectedTaches[0] || o2.selectedTransition || t2.process, onClose: i2[5] || (i2[5] = (i3) => o2.setPropertiesEditorFor("")) }, null, 40, ["model"])) : A("", true), t2.showHistory && o2.showTacheHistory ? (C(), L(a2, { key: 1, style: N(o2.tooltipPosition) }, null, 8, ["style"])) : A("", true)], 512);
127
- }]]);
128
- export {
129
- X as default
130
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,33 +0,0 @@
1
- import { mapGetters as e, mapMutations as t } from "vuex";
2
- import i from "./icon-svg.vue.mjs";
3
- import { resolveComponent as o, openBlock as s, createElementBlock as n, Fragment as r, renderList as c, withModifiers as h, createVNode as l, createElementVNode as a, toDisplayString as p } from "vue";
4
- import "./context-menu.vue2.mjs";
5
- import m from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
- const u = { name: "ContextMenu", components: { IconSvg: i }, data() {
7
- return { menusForTransition: [{ name: "switch-line-type-StraightLine", label: this.$t("workflowEditor.main.straightLine"), icon: "switch" }, { name: "switch-line-type-CurveLine", label: this.$t("workflowEditor.main.curveLine"), icon: "switch" }, { name: "switch-line-type-BrokenLine", label: this.$t("workflowEditor.main.brokenLine"), icon: "switch" }, { name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForTache: [{ name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForProcess: [{ name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], componentsWithoutPropertiesEditor: ["Start", "End"] };
8
- }, computed: { ...e("wfEditor", ["taches", "transitions", "selectedTransition", "selectedTaches"]), menuType() {
9
- let e2 = "";
10
- return this.selectedTransition ? e2 = "Transition" : 1 === this.selectedTaches.length && (e2 = "Tache"), null === this.selectedTransition && 0 === this.selectedTaches.length && (e2 = "Process"), e2;
11
- }, menus() {
12
- return this.menuType ? this["menusFor" + this.menuType] : [];
13
- } }, created() {
14
- if (this.selectedTaches.length > 0) {
15
- const e2 = this.componentsWithoutPropertiesEditor.indexOf(this.selectedTaches[0].type) >= 0 ? "" : this.selectedTaches[0].type;
16
- this.menuType && "Tache" === this.menuType && e2 && this.menusForTache.push({ name: "copy", label: this.$t("workflowEditor.common.copy"), icon: "fuzhi" });
17
- }
18
- }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible", "setSourceComponentForCopy"]), switchLineType(e2) {
19
- this.selectedTransition.lineInfo.controlPoint = null, this.selectedTransition.lineInfo.type = e2;
20
- }, execute(e2) {
21
- if (e2.indexOf("switch-line-type-") >= 0) {
22
- const t2 = e2.substring(e2.lastIndexOf("-") + 1);
23
- this.switchLineType(t2);
24
- }
25
- "remove" === e2 && ("Tache" === this.menuType ? this.taches.splice(this.taches.indexOf(this.selectedTaches[0]), 1) : "Transition" === this.menuType && this.transitions.splice(this.transitions.indexOf(this.selectedTransition), 1)), "properties" === e2 && ("Tache" === this.menuType ? this.setPropertiesEditorFor(this.componentsWithoutPropertiesEditor.indexOf(this.selectedTaches[0].type) >= 0 ? "" : this.selectedTaches[0].type) : "Transition" === this.menuType ? this.setPropertiesEditorFor("Transition") : this.setPropertiesEditorFor("Process")), "copy" === e2 && this.setSourceComponentForCopy(this.componentsWithoutPropertiesEditor.indexOf(this.selectedTaches[0].type) >= 0 ? "" : this.selectedTaches[0].type), this.setContextMenuVisible(false);
26
- } } }, d = { class: "context-menu" }, T = ["onMousedown"];
27
- const w = m(u, [["render", function(e2, t2, i2, m2, u2, w2) {
28
- const f = o("icon-svg");
29
- return s(), n("ul", d, [(s(true), n(r, null, c(w2.menus, (e3) => (s(), n("li", { key: e3.name, onMousedown: h((t3) => w2.execute(e3.name), ["stop"]) }, [l(f, { icon: e3.icon }, null, 8, ["icon"]), a("span", null, p(e3.label), 1)], 40, T))), 128))]);
30
- }], ["__scopeId", "data-v-7e8a1cf6"]]);
31
- export {
32
- w as default
33
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,12 +0,0 @@
1
- import { openBlock as e, createElementBlock as r, createElementVNode as n } from "vue";
2
- import "./icon-svg.vue2.mjs";
3
- import i from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const o = { class: "svg-icon", "aria-hidden": "true" }, t = ["xlink:href"];
5
- const u = i({ name: "IconSvg", props: { icon: { type: String, required: true } }, computed: { iconName() {
6
- return `#icon-${this.icon}`;
7
- } } }, [["render", function(i2, u2, c, s, m, p) {
8
- return e(), r("svg", o, [n("use", { "xlink:href": p.iconName }, null, 8, t)]);
9
- }]]);
10
- export {
11
- u as default
12
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,17 +0,0 @@
1
- import { mapGetters as e, mapMutations as o } from "vuex";
2
- import { getMousePosition as t } from "../util.mjs";
3
- import { openBlock as i, createElementBlock as n, normalizeClass as s, withModifiers as r, createCommentVNode as g } from "vue";
4
- import "./selection-region.vue2.mjs";
5
- import l from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
- const u = { name: "SelectionRegion", props: { region: { type: Object, default: null } }, computed: { ...e("wfEditor", ["selectedTaches"]) }, methods: { ...o("wfEditor", ["setDrawingRegion", "setMovingRegion", "setMouseDownPosition"]), startDrag(e2) {
7
- const o2 = t(e2);
8
- this.setMouseDownPosition(o2), this.setMovingRegion(true);
9
- }, endDrag(e2) {
10
- this.setMovingRegion(false), this.setMouseDownPosition(null);
11
- } } }, a = ["x", "y", "width", "height"];
12
- const d = l(u, [["render", function(e2, o2, t2, l2, u2, d2) {
13
- return i(), n("g", null, [t2.region ? (i(), n("rect", { key: 0, x: t2.region.x, y: t2.region.y, width: t2.region.width, height: t2.region.height, class: s({ draggable: true, "selection-region": true, dashed: e2.selectedTaches.length < 1 }), onMousedown: o2[0] || (o2[0] = r((...e3) => d2.startDrag && d2.startDrag(...e3), ["stop"])), onMouseup: o2[1] || (o2[1] = r((...e3) => d2.endDrag && d2.endDrag(...e3), ["stop"])) }, null, 42, a)) : g("", true)]);
14
- }]]);
15
- export {
16
- d as default
17
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,10 +0,0 @@
1
- import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
- import "./tache-history-tooltip.vue2.mjs";
3
- import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const n = { class: "tooltip" }, i = ["innerHTML"];
5
- const p = r({ name: "TacheHistoryTooltip", props: { content: { type: String, default: "" } }, methods: {} }, [["render", function(r2, p2, s, a, l, c) {
6
- return t(), o("div", n, [e("div", { innerHTML: s.content }, null, 8, i)]);
7
- }], ["__scopeId", "data-v-ac799913"]]);
8
- export {
9
- p as default
10
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,11 +0,0 @@
1
- import { resolveComponent as o, openBlock as e, createBlock as t, withCtx as s, createElementVNode as l } from "vue";
2
- import "./tache-subprocess-history-dialog.vue2.mjs";
3
- import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const i = ["src"];
5
- const n = r({ name: "TacheSubprocessHistoryDialog", props: { workflowId: { type: Number, default: null } }, data: () => ({ dialogVisible: true }) }, [["render", function(r2, n2, d, c, p, a) {
6
- const u = o("el-dialog");
7
- return e(), t(u, { "model-value": "", title: r2.$t("workflowEditorPublicModel.subprocessTitle"), "close-on-click-modal": false, "append-to-body": "", width: "90%", top: "5vh", onOpen: n2[0] || (n2[0] = (o2) => r2.$emit("open")), onOpend: n2[1] || (n2[1] = (o2) => r2.$emit("opend")), onClose: n2[2] || (n2[2] = (o2) => r2.$emit("close")), onClosed: n2[3] || (n2[3] = (o2) => r2.$emit("closed")) }, { default: s(() => [l("iframe", { id: "_subprocess-content", src: "#/show-sub-wf-history?workflowId=" + d.workflowId, name: "_subprocess-content", title: "Subprocess Content", frameborder: "0" }, null, 8, i)]), _: 1 }, 8, ["title"]);
8
- }], ["__scopeId", "data-v-2b195c05"]]);
9
- export {
10
- n as default
11
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,16 +0,0 @@
1
- import { mapGetters as o, mapMutations as t } from "vuex";
2
- import e from "./icon-svg.vue.mjs";
3
- import { getComponentList as n } from "../util.mjs";
4
- import { resolveComponent as r, openBlock as s, createElementBlock as m, createElementVNode as c, toDisplayString as l, Fragment as i, renderList as p, createBlock as u, normalizeClass as a, withCtx as d, createVNode as v, createTextVNode as f } from "vue";
5
- import "./toolbox.vue2.mjs";
6
- import w from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
- const h = { name: "Toolbox", components: { IconSvg: e }, data: () => ({ componentList: n() }), computed: { ...o("wfEditor", ["componentToDraw"]) }, methods: { ...t("wfEditor", ["setComponentToDraw"]), select(o2) {
8
- this.setComponentToDraw(o2);
9
- } } }, g = { style: { height: "calc(100vh - 98px)", "background-color": "#FFFFFF" } };
10
- const x = w(h, [["render", function(o2, t2, e2, n2, w2, h2) {
11
- const x2 = r("icon-svg"), y = r("el-button");
12
- return s(), m("div", g, [c("h3", null, l(o2.$t("workflowEditor.main.tacheType")), 1), (s(true), m(i, null, p(w2.componentList, (o3) => (s(), u(y, { key: o3.name, type: o3.type, class: a(o3.class), round: o3.round, onMousedown: (t3) => h2.select(o3.name) }, { default: d(() => [v(x2, { icon: o3.icon }, null, 8, ["icon"]), f(" " + l(o3.label), 1)]), _: 2 }, 1032, ["type", "class", "round", "onMousedown"]))), 128))]);
13
- }], ["__scopeId", "data-v-0d941719"]]);
14
- export {
15
- x as default
16
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,86 +0,0 @@
1
- import o from "../taches/start.vue.mjs";
2
- import e from "../taches/end.vue.mjs";
3
- import t from "../taches/human-task.vue.mjs";
4
- import s from "../taches/decision.vue.mjs";
5
- import r from "../taches/subprocess.vue.mjs";
6
- import i from "../taches/custom-task.vue.mjs";
7
- import a from "../taches/fork.vue.mjs";
8
- import n from "../taches/join.vue.mjs";
9
- import u from "../taches/human-decision.vue.mjs";
10
- import l from "../taches/copy-task.vue.mjs";
11
- import h from "../taches/auto-task.vue.mjs";
12
- import c from "../transitions/transition.vue.mjs";
13
- import m from "./tache-history-tooltip.vue.mjs";
14
- import { mapGetters as p } from "vuex";
15
- import { getMousePosition as d } from "../util.mjs";
16
- import { getLanguageWithLocale as f, i18nOperation as y } from "agilebuilder-ui";
17
- import T from "./tache-subprocess-history-dialog.vue.mjs";
18
- import { resolveComponent as v, openBlock as k, createElementBlock as g, Fragment as w, renderList as H, createBlock as b, resolveDynamicComponent as S, normalizeClass as j, normalizeStyle as C, createCommentVNode as P, createElementVNode as M } from "vue";
19
- import "./wf-history-canvas.vue2.mjs";
20
- import I from "../../../_virtual/_plugin-vue_export-helper.mjs";
21
- const D = { name: "WfHistoryCanvas", components: { Start: o, End: e, HumanTask: t, Decision: s, Subprocess: r, CustomTask: i, Fork: a, Join: n, HumanDecision: u, CopyTask: l, Transition: c, TacheHistoryTooltip: m, TacheSubprocessHistoryDialog: T, AutoTask: h }, props: { process: { type: Object, default: null }, histories: { type: Array, default: null }, currentTasks: { type: Array, default: null }, allProcessI18n: { type: Object, default: null } }, data: function() {
22
- return { showHistory: false, tooltipPosition: null, tacheHistoryInfo: null, showSubprocessDialog: false, subWorkflowId: null };
23
- }, computed: { ...p("wfEditor", ["taches", "transitions", "processI18n"]) }, mounted: function() {
24
- }, methods: { getTacheClass(o2) {
25
- if (this.getCurrentTache(o2))
26
- return "current-tache";
27
- {
28
- const e2 = this.getPassedTache(o2);
29
- return e2 && e2.current ? "current-tache" : e2 ? "passed-tache" : "";
30
- }
31
- }, getPassedTache(o2) {
32
- let e2 = null;
33
- for (const t2 of this.histories)
34
- if ("PROCESS_START" === t2.historyType && o2.ref.attr.id && "start" === o2.ref.attr.id || "PROCESS_END" === t2.historyType && o2.ref.attr.id && "end" === o2.ref.attr.id || o2.ref.attr.name && t2.taskName && t2.taskName === o2.ref.attr.name) {
35
- e2 = t2;
36
- break;
37
- }
38
- return e2;
39
- }, getPassedTacheHistories(o2) {
40
- const e2 = [];
41
- for (const t2 of this.histories)
42
- ("PROCESS_START" === t2.historyType && o2.ref.attr.id && "start" === o2.ref.attr.id || "PROCESS_END" === t2.historyType && o2.ref.attr.id && "end" === o2.ref.attr.id || o2.ref.attr.name && t2.taskName && t2.taskName === o2.ref.attr.name) && e2.push(this.i18nOperation(t2));
43
- return e2;
44
- }, i18nOperation(o2) {
45
- let e2, t2;
46
- const s2 = f(), r2 = o2.bundleCode;
47
- return r2 && "" !== r2 && this.processI18n && (e2 = this.processI18n[r2]), e2 && e2.processName && (t2 = e2.processName[s2]), y(o2, t2, e2, s2);
48
- }, getCurrentTache(o2) {
49
- let e2 = null;
50
- for (const t2 of this.currentTasks)
51
- if (t2.taskName === o2.ref.attr.name) {
52
- e2 = t2;
53
- break;
54
- }
55
- return e2;
56
- }, getTacheHistory(o2) {
57
- let e2, t2 = null;
58
- const s2 = this.getPassedTacheHistories(o2);
59
- s2 && s2.length > 0 && (e2 = s2.join("</br>"));
60
- const r2 = this.getCurrentTache(o2);
61
- return r2 ? (t2 = this.$t("workflowEditorMessage.currentHandlingPersonnel") + ": " + r2.transactionResult, e2 && (t2 += "</br>" + e2)) : t2 = e2, t2;
62
- }, forbidSelection: () => false, mousedown(o2) {
63
- }, mousemove(o2) {
64
- }, mouseup(o2) {
65
- }, mouseleave(o2) {
66
- }, endDrag(o2) {
67
- }, showTacheHistoryTooltip(o2, e2) {
68
- this.tacheHistoryInfo = this.getTacheHistory(o2), this.showHistory = true;
69
- }, hideTacheHistoryTooltip() {
70
- this.showHistory = false;
71
- }, updateTacheHistoryTooltipPosition(o2) {
72
- const e2 = d(o2);
73
- this.tooltipPosition = { left: e2.x + 5 + "px", top: e2.y + 5 + "px" };
74
- }, showSubprocessHistory(o2) {
75
- const e2 = this.getPassedTache(o2);
76
- e2 && void 0 !== e2.hasChildren && true === e2.hasChildren && (e2.children && e2.children.length > 0 && (this.subWorkflowId = e2.children[0].workflowId), this.showSubprocessDialog = true);
77
- }, closeSubprocessHistory() {
78
- this.showSubprocessDialog = false;
79
- } } }, E = { ref: "svgContainer", style: { position: "relative" } }, N = M("defs", null, [M("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [M("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
80
- const O = I(D, [["render", function(o2, e2, t2, s2, r2, i2) {
81
- const a2 = v("tache-history-tooltip"), n2 = v("tache-subprocess-history-dialog");
82
- return k(), g("div", E, [(k(), g("svg", { id: "svg", width: "2000", height: "2000", onMousedown: e2[0] || (e2[0] = (...o3) => i2.mousedown && i2.mousedown(...o3)), onMousemove: e2[1] || (e2[1] = (...o3) => i2.mousemove && i2.mousemove(...o3)), onMouseup: e2[2] || (e2[2] = (...o3) => i2.mouseup && i2.mouseup(...o3)), onMouseleave: e2[3] || (e2[3] = (...o3) => i2.mouseleave && i2.mouseleave(...o3)) }, [N, (k(true), g(w, null, H(o2.taches, (o3) => (k(), b(S(o3.type), { key: o3.id, model: o3, class: j([i2.getTacheClass(o3)]), "display-mode": o3.displayMode, onMouseenter: (e3) => i2.showTacheHistoryTooltip(o3, e3), onMouseleave: (e3) => i2.hideTacheHistoryTooltip(o3), onMousemove: i2.updateTacheHistoryTooltipPosition, onClick: (e3) => i2.showSubprocessHistory(o3) }, null, 40, ["model", "class", "display-mode", "onMouseenter", "onMouseleave", "onMousemove", "onClick"]))), 128)), (k(true), g(w, null, H(o2.transitions, (o3) => (k(), b(S("transition"), { key: o3.id, model: o3 }, null, 8, ["model"]))), 128))], 32)), o2.showHistory && o2.tacheHistoryInfo ? (k(), b(a2, { key: 0, style: C(o2.tooltipPosition), content: o2.tacheHistoryInfo }, null, 8, ["style", "content"])) : P("", true), o2.showSubprocessDialog ? (k(), b(n2, { key: 1, "workflow-id": o2.subWorkflowId, onClose: i2.closeSubprocessHistory }, null, 8, ["workflow-id", "onClose"])) : P("", true)], 512);
83
- }]]);
84
- export {
85
- O as default
86
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,21 +0,0 @@
1
- import "vue";
2
- function o() {
3
- return window.$store;
4
- }
5
- function e() {
6
- return window.$http;
7
- }
8
- const t = { fetchFormFields: (t2, i, s, r) => new Promise((d, n) => {
9
- let f;
10
- t2 ? f = e().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields?formCode=" + t2 + "&formVersion=" + i + "&publishVersion=" + r) : s && (f = e().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/table-fields?tableName=" + s + "&publishVersion=" + r)), f ? f.then((e2) => {
11
- const i2 = e2.formFields;
12
- e2.subFormFields, o().commit("wfEditor/setFormCode", t2), o().commit("wfEditor/setTableCode", e2.tableCode), o().commit("wfEditor/setFormFields", i2), o().commit("wfEditor/setFormFieldsWithSub", i2);
13
- const s2 = e2.subtableConditionMap;
14
- o().commit("wfEditor/setSubtableConditionMap", s2);
15
- const r2 = e2.systemPropSettingList;
16
- o().commit("wfEditor/setPropSettingKeyList", r2), d(e2);
17
- }) : d({});
18
- }), fetchSubprocessFormFields: (o2, t2) => e().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields-with-processes?processCode=" + o2 + "&processVersion=" + t2) };
19
- export {
20
- t as default
21
- };
@@ -1,25 +0,0 @@
1
- import e from "../common/task-title.vue.mjs";
2
- import { validateTacheCode as l } from "../../util.mjs";
3
- import t from "../common/i18n-input.vue.mjs";
4
- import { resolveComponent as o, openBlock as a, createBlock as m, withCtx as n, createVNode as d } from "vue";
5
- import "./basic-properties.vue2.mjs";
6
- import i from "../../../../_virtual/_plugin-vue_export-helper.mjs";
7
- const u = i({ name: "BasicProperties", components: { TaskTitle: e, i18nInput: t }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
8
- return { formModel: { name: this.name, id: this.id, tache: this.model } };
9
- }, computed: { tache() {
10
- return this.model;
11
- } }, mounted() {
12
- this.$watch("formModel.name", function(e2, l2) {
13
- this.$emit("update:name", e2);
14
- });
15
- }, methods: { validateId() {
16
- l(this);
17
- }, setI18nValue(e2) {
18
- this.tache.i18nKey = e2;
19
- } } }, [["render", function(e2, l2, t2, i2, u2, r) {
20
- const f = o("i18n-input"), s = o("el-form-item"), p = o("el-col"), c = o("el-input"), h = o("el-row"), b = o("el-form");
21
- return a(), m(b, { model: u2.formModel, "label-width": "110px" }, { default: n(() => [d(h, null, { default: n(() => [d(p, { span: 12 }, { default: n(() => [d(s, { label: e2.$t("workflowEditor.task.name") }, { default: n(() => [d(f, { modelValue: u2.formModel.name, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => u2.formModel.name = e3), "i18n-key": r.tache.i18nKey ? r.tache.i18nKey : "name." + u2.formModel.id, onSetI18n: r.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), d(p, { span: 12 }, { default: n(() => [d(s, { label: e2.$t("workflowEditor.task.code") }, { default: n(() => [d(c, { modelValue: u2.formModel.id, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => u2.formModel.id = e3), onBlur: r.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), d(s, { label: e2.$t("workflowEditor.task.custombeanName") }, { default: n(() => [d(c, { modelValue: r.tache.beanName, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => r.tache.beanName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
22
- }], ["__scopeId", "data-v-6aef99ff"]]);
23
- export {
24
- u as default
25
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,22 +0,0 @@
1
- import e from "./auto-task/basic-properties.vue.mjs";
2
- import { resolveComponent as t, openBlock as o, createBlock as a, withCtx as r, createVNode as i } from "vue";
3
- import "./auto-task.vue2.mjs";
4
- import l from "../../../_virtual/_plugin-vue_export-helper.mjs";
5
- const d = l({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: e }, props: { model: { type: Object, default: null } }, data() {
6
- return this.model, this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
7
- }, computed: { formModel() {
8
- return this.model.ref;
9
- } }, mounted() {
10
- this.$watch("model.ref.attr.id", function(e2, t2) {
11
- this.model.id = e2;
12
- }), this.$watch("model.ref.attr.name", function(e2, t2) {
13
- this.model.name = e2;
14
- });
15
- }, methods: { handleClick(e2, t2) {
16
- } } }, [["render", function(e2, l2, d2, s, m, n) {
17
- const p = t("basic-properties"), c = t("el-tab-pane"), u = t("el-tabs"), f = t("el-dialog");
18
- return o(), a(f, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfAutoTask"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: l2[3] || (l2[3] = (t2) => e2.$emit("open")), onOpend: l2[4] || (l2[4] = (t2) => e2.$emit("opend")), onClose: l2[5] || (l2[5] = (t2) => e2.$emit("close")), onClosed: l2[6] || (l2[6] = (t2) => e2.$emit("closed")) }, { default: r(() => [i(u, { modelValue: m.activeTab, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => m.activeTab = e3), type: "border-card", onTabClick: n.handleClick }, { default: r(() => [i(c, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: r(() => [i(p, { id: d2.model.ref.attr.id, "onUpdate:id": l2[0] || (l2[0] = (e3) => d2.model.ref.attr.id = e3), name: d2.model.ref.attr.name, "onUpdate:name": l2[1] || (l2[1] = (e3) => d2.model.ref.attr.name = e3), model: d2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
19
- }], ["__scopeId", "data-v-adb7c2ff"]]);
20
- export {
21
- d as default
22
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };