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,28 +0,0 @@
1
- import { resolveComponent as e, openBlock as t, createBlock as o, withCtx as s, createElementVNode as i, createVNode as l, toDisplayString as a } from "vue";
2
- import { mapGetters as r } from "vuex";
3
- import { authApi as n } from "agilebuilder-ui";
4
- import d from "../../../../_virtual/_plugin-vue_export-helper.mjs";
5
- const c = { props: { pageFormCode: { type: String, default: null } }, data: () => ({ baseURL: "", listURL: "", selection: [], dialogVisible: true }), computed: { ...r("wfEditor", ["systemVersion"]) }, watch: { conditionList: { handler(e2, t2) {
6
- this.judgeHeavyData = e2;
7
- } } }, created() {
8
- this.baseURL = window.$vueApp.config.globalProperties.baseURL, this.pageFormCode && (this.listURL = "/wf-editor/workflow-editors/modulePages/" + this.pageFormCode + "/" + parseInt(n.getSessionCache("wf_editor_systemVersion")));
9
- }, methods: { savePage() {
10
- if (this.selection && this.selection.length > 0)
11
- if (1 !== this.selection.length)
12
- this.$message({ showClose: true, type: "error", message: this.$t("message.pleaseSelectARecord") });
13
- else {
14
- const e2 = "page:" + this.selection[0].code;
15
- this.$emit("setPage", e2);
16
- }
17
- else
18
- this.$emit("setPage", "");
19
- }, select(e2, t2) {
20
- this.selection = e2;
21
- } } }, u = { style: { "overflow-y": "auto", "max-height": "500px" } }, g = { class: "operation-area" };
22
- const p = d(c, [["render", function(r2, n2, d2, c2, p2, h) {
23
- const m = e("el-button"), f = e("super-grid"), w = e("el-dialog");
24
- return t(), o(w, { "show-close": true, "append-to-body": true, title: r2.$t("workflowEditorPublicModel.selectPage"), width: "60%", "model-value": "", onClose: h.savePage }, { default: s(() => [i("div", u, [i("div", g, [l(m, { size: "small", onClick: h.savePage }, { default: s(() => [i("span", null, a(r2.$t("workflowEditorPublicModel.close")), 1)]), _: 1 }, 8, ["onClick"])]), i("div", null, [l(f, { ref: "grid", url: p2.baseURL + p2.listURL, code: "MMS_MODULE_PAGE", onSelect: h.select }, null, 8, ["url", "onSelect"])])])]), _: 1 }, 8, ["title", "onClose"]);
25
- }]]);
26
- export {
27
- p as default
28
- };
@@ -1,34 +0,0 @@
1
- import e from "xml-js";
2
- import o from "./process/basic-properties.vue.mjs";
3
- import r from "./process/permission-settings.vue.mjs";
4
- import t from "./process/parameter-settings.vue.mjs";
5
- import s from "./process/events.vue.mjs";
6
- import i from "./common/variables.vue.mjs";
7
- import l from "./process/notice-settings.vue.mjs";
8
- import a from "./common/notice-reminder.vue.mjs";
9
- import { resolveComponent as m, openBlock as p, createBlock as n, withCtx as d, createVNode as c } from "vue";
10
- import u from "../../../_virtual/_plugin-vue_export-helper.mjs";
11
- const b = u({ name: "ProcessPropertiesEditor", components: { BasicProperties: o, PermissionSettings: r, ParameterSettings: t, Events: s, Variables: i, NoticeSettings: l, NoticeReminder: a }, props: { model: { type: Object, default: null } }, data() {
12
- return void 0 === this.model.properties.taskNotice && (this.model.properties.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
13
- }, computed: { basicProperties() {
14
- return this.model.properties.basicProperties;
15
- }, accessRight() {
16
- return this.model.properties.accessRight;
17
- }, reminder() {
18
- return this.model.properties.reminder;
19
- }, parameterSettings() {
20
- return this.model.properties.parameterSettings;
21
- }, events() {
22
- return this.model.properties.events;
23
- }, variables() {
24
- return this.model.properties.variables;
25
- } }, methods: { toXml() {
26
- e.js2xml({ basicProperties: this.basicProperties }, { compact: true, ignoreComment: true, spaces: 4 });
27
- }, handleClick(e2, o2) {
28
- } } }, [["render", function(e2, o2, r2, t2, s2, i2) {
29
- const l2 = m("basic-properties"), a2 = m("el-tab-pane"), u2 = m("permission-settings"), b2 = m("notice-settings"), v = m("notice-reminder"), f = m("parameter-settings"), g = m("events"), k = m("variables"), h = m("el-tabs"), w = m("el-dialog");
30
- return p(), n(w, { "model-value": "", title: e2.$t("workflowEditor.process.processProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: o2[7] || (o2[7] = (o3) => e2.$emit("open")), onOpend: o2[8] || (o2[8] = (o3) => e2.$emit("opend")), onClose: o2[9] || (o2[9] = (o3) => e2.$emit("close")), onClosed: o2[10] || (o2[10] = (o3) => e2.$emit("closed")) }, { default: d(() => [c(h, { modelValue: s2.activeTab, "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => s2.activeTab = e3), type: "border-card", onTabClick: i2.handleClick }, { default: d(() => [c(a2, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: d(() => [c(l2, { name: r2.model.attr.name, "onUpdate:name": o2[0] || (o2[0] = (e3) => r2.model.attr.name = e3), code: r2.model.attr.code, "onUpdate:code": o2[1] || (o2[1] = (e3) => r2.model.attr.code = e3), model: r2.model.properties.basicProperties }, null, 8, ["name", "code", "model"])]), _: 1 }, 8, ["label"]), c(a2, { label: e2.$t("workflowEditor.process.permissionSettings"), name: "permissions" }, { default: d(() => [c(u2, { modelValue: r2.model.properties.permissionSettings, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => r2.model.properties.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), c(a2, { label: e2.$t("workflowEditor.process.notificationSettings"), name: "inform" }, { default: d(() => [c(b2, { modelValue: r2.model.properties.inform, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => r2.model.properties.inform = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), c(a2, { label: e2.$t("workflowEditor.process.reminderSettings"), name: "reminders" }, { default: d(() => [c(v, { "reminder-value": r2.model.properties.reminder, "onUpdate:reminderValue": o2[4] || (o2[4] = (e3) => r2.model.properties.reminder = e3), "task-notice-value": r2.model.properties.taskNotice, isProcess: true }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), c(a2, { label: e2.$t("workflowEditor.process.parameterSsetting"), name: "parameterSettings" }, { default: d(() => [c(f, { model: r2.model.properties.parameterSettings }, null, 8, ["model"])]), _: 1 }, 8, ["label"]), c(a2, { label: e2.$t("workflowEditor.process.event"), name: "events" }, { default: d(() => [c(g, { modelValue: r2.model.properties.events, "onUpdate:modelValue": o2[5] || (o2[5] = (e3) => r2.model.properties.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), c(a2, { label: e2.$t("workflowEditor.process.processVariables"), name: "variables" }, { default: d(() => [c(k, { model: r2.model.properties.variables }, null, 8, ["model"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
31
- }]]);
32
- export {
33
- b as default
34
- };
@@ -1,64 +0,0 @@
1
- import e from "./field-mappings.vue.mjs";
2
- import l from "../../process-service.mjs";
3
- import { validateTacheCode as o } from "../../util.mjs";
4
- import t from "../common/i18n-input.vue.mjs";
5
- import s from "../common/task-title.vue.mjs";
6
- import { resolveComponent as r, openBlock as a, createBlock as d, withCtx as i, createVNode as m, createTextVNode as n, toDisplayString as u } from "vue";
7
- import c from "../../../../_virtual/_plugin-vue_export-helper.mjs";
8
- const f = c({ name: "BasicProperties", components: { FieldMappings: e, i18nInput: t, TaskTitle: s }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
9
- return { selectedProcess: [], processes: [], subprocessFormFields: [], formModel: { name: this.name, id: this.id, tache: this.model } };
10
- }, computed: { tache() {
11
- return this.model;
12
- } }, created() {
13
- this.listAllProcesses().then(() => {
14
- this.fetchSubprocessFormFields();
15
- }), "" === this.formModel.tache.parameters && (this.formModel.tache.parameters = {}), "" === this.formModel.tache.result && (this.formModel.tache.result = {});
16
- }, mounted() {
17
- this.$watch("formModel.name", function(e2, l2) {
18
- this.$emit("update:name", e2);
19
- });
20
- }, methods: { fetchSubprocessFormFields() {
21
- this.model.processCode && l.fetchSubprocessFormFields(this.model.processCode, this.model.processVersion).then((e2) => {
22
- this.subprocessFormFields = e2;
23
- });
24
- }, handleChange(e2) {
25
- const l2 = e2[1];
26
- this.model.processCode = l2.substring(l2.indexOf("/") + 1, l2.lastIndexOf("/")), this.model.processVersion = l2.substring(l2.lastIndexOf("/") + 1), this.fetchSubprocessFormFields();
27
- }, listAllProcesses() {
28
- return new Promise((e2, l2) => {
29
- this.$http.get(this.baseAPI + "/wf-editor/workflow-editors/all-active-definitions").then((l3) => {
30
- if (l3.length > 0) {
31
- const o2 = this.model.processCode + "/" + this.model.processVersion;
32
- this.setDefaultSelectedProcessWhenUpdate(l3, o2), this.processes = l3, e2();
33
- }
34
- }).catch((e3) => {
35
- l2(e3);
36
- });
37
- });
38
- }, setDefaultSelectedProcessWhenUpdate(e2, l2) {
39
- let o2, t2;
40
- for (var s2 = 0; s2 < e2.length; s2++) {
41
- const r2 = e2[s2].value, a2 = e2[s2].children.filter(this.filterProcess(l2));
42
- if (a2.length > 0) {
43
- t2 = r2, o2 = a2[0];
44
- break;
45
- }
46
- }
47
- if (o2) {
48
- const e3 = [];
49
- e3.push(t2), e3.push(o2.value), this.selectedProcess = e3;
50
- }
51
- }, filterProcess: (e2) => (l2) => {
52
- const o2 = l2.value, t2 = o2.substring(o2.indexOf("/") + 1);
53
- return e2 === t2;
54
- }, validateId() {
55
- o(this);
56
- }, setI18nValue(e2) {
57
- this.formModel.tache.i18nKey = e2;
58
- } } }, [["render", function(e2, l2, o2, t2, s2, c2) {
59
- const f2 = r("i18n-input"), p = r("el-form-item"), h = r("el-col"), b = r("el-input"), w = r("el-row"), V = r("task-title"), M = r("el-cascader"), k = r("el-switch"), F = r("el-radio"), g = r("el-radio-group"), _ = r("field-mappings"), S = r("el-form");
60
- return a(), d(S, { model: s2.formModel }, { default: i(() => [m(w, null, { default: i(() => [m(h, { span: 12 }, { default: i(() => [m(p, { label: e2.$t("workflowEditor.process.name"), "label-width": "50px" }, { default: i(() => [m(f2, { modelValue: s2.formModel.name, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => s2.formModel.name = e3), "i18n-key": s2.formModel.tache.i18nKey ? s2.formModel.tache.i18nKey : "name." + s2.formModel.id, onSetI18n: c2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), m(h, { span: 12 }, { default: i(() => [m(p, { label: e2.$t("workflowEditor.process.code"), "label-width": "50px" }, { default: i(() => [m(b, { modelValue: s2.formModel.id, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => s2.formModel.id = e3), onBlur: c2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), m(p, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: i(() => [m(V, { modelValue: c2.tache.taskTitle, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => c2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), m(p, { label: e2.$t("workflowEditor.process.subprocess"), "label-width": "60px" }, { default: i(() => [m(M, { modelValue: s2.selectedProcess, "onUpdate:modelValue": l2[3] || (l2[3] = (e3) => s2.selectedProcess = e3), "show-all-levels": false, options: s2.processes, onChange: c2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label"]), m(p, { label: e2.$t("workflowEditor.process.subprocessIsSharedForm"), "label-width": "140px" }, { default: i(() => [m(k, { modelValue: s2.formModel.tache.isSharedForm, "onUpdate:modelValue": l2[4] || (l2[4] = (e3) => s2.formModel.tache.isSharedForm = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), m(g, { modelValue: s2.formModel.tache.moreTransactor, "onUpdate:modelValue": l2[5] || (l2[5] = (e3) => s2.formModel.tache.moreTransactor = e3) }, { default: i(() => [m(F, { label: false }, { default: i(() => [n(u(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), m(F, { label: true }, { default: i(() => [n(u(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"]), m(p, null, { default: i(() => [m(_, { "label-tittle": e2.$t("workflowEditor.process.transferValueFromMainFormToSubForm"), modelValue: s2.formModel.tache.parameters, "onUpdate:modelValue": l2[6] || (l2[6] = (e3) => s2.formModel.tache.parameters = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "target-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-fields": s2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "target-fields"])]), _: 1 }), m(p, null, { default: i(() => [m(_, { "label-tittle": e2.$t("workflowEditor.process.subformReturnsResultsToMainForm"), modelValue: s2.formModel.tache.result, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => s2.formModel.tache.result = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "src-fields": s2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "src-fields"])]), _: 1 })]), _: 1 }, 8, ["model"]);
61
- }]]);
62
- export {
63
- f as default
64
- };
@@ -1,9 +0,0 @@
1
- import { resolveComponent as e, openBlock as l, createBlock as o, withCtx as t, createVNode as r } from "vue";
2
- import a from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
- const u = a({ name: "Events", props: { modelValue: { type: Object, default: null } } }, [["render", function(a2, u2, d, n, m, p) {
4
- const s = e("el-switch"), f = e("el-form-item"), i = e("el-form");
5
- return l(), o(i, null, { default: t(() => [r(f, { label: a2.$t("workflowEditor.process.eventsTriggeredBeforeStartingASubprocess"), "label-width": "150px" }, { default: t(() => [r(s, { modelValue: d.modelValue.beforeStart, "onUpdate:modelValue": u2[0] || (u2[0] = (e2) => d.modelValue.beforeStart = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r(f, { label: a2.$t("workflowEditor.process.triggerSubprocessEndEvent") }, { default: t(() => [r(s, { modelValue: d.modelValue.end, "onUpdate:modelValue": u2[1] || (u2[1] = (e2) => d.modelValue.end = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 });
6
- }]]);
7
- export {
8
- u as default
9
- };
@@ -1,55 +0,0 @@
1
- import e from "../common/form-fields.vue.mjs";
2
- import { getFormFieldLabel as t } from "../common/form-fields-utils.mjs";
3
- import { resolveComponent as l, openBlock as a, createElementBlock as r, createVNode as s, withCtx as i, toDisplayString as o, createCommentVNode as d, createTextVNode as h, createBlock as n } from "vue";
4
- import u from "../../../../_virtual/_plugin-vue_export-helper.mjs";
5
- const c = { style: { width: "100%" } }, w = { key: 0, style: { "margin-right": "12px" } };
6
- const b = u({ name: "FieldMappings", components: { FormFields: e }, props: { modelValue: { type: Object, default: null }, srcLabel: { type: String, default: null }, targetLabel: { type: String, default: null }, srcFields: { type: Array, default: null }, targetFields: { type: Array, default: null }, labelTittle: { type: String, default: null } }, data() {
7
- let e2 = [];
8
- return void 0 !== this.modelValue.field && (Array.isArray(this.modelValue.field) ? e2 = this.modelValue.field : e2.push(this.modelValue.field)), { tableData: e2, currentRow: null, showSourceFields: false, showTargetFields: false };
9
- }, computed: { formFields() {
10
- return this.showSourceFields ? this.srcFields : this.showTargetFields ? this.targetFields : [];
11
- } }, watch: {}, mounted() {
12
- this.tableData.length > 0 && this.setCurrentRow(this.tableData[0]), this.$watch("tableData", function() {
13
- const e2 = this.tableData.filter((e3) => "" !== e3.source && "" !== e3.target);
14
- this.$emit("update:modelValue", { field: e2 });
15
- }, { deep: true });
16
- }, methods: { getSubFormFieldLabel(e2) {
17
- const t2 = (this.srcFields || this.targetFields).filter((t3) => t3.name === e2);
18
- return t2.length > 0 ? t2[0].label : e2;
19
- }, showSourceFieldLabel(e2) {
20
- return this.srcFields ? this.getSubFormFieldLabel(e2) : t(e2);
21
- }, showTargetFieldLabel(e2) {
22
- return this.targetFields ? this.getSubFormFieldLabel(e2) : t(e2);
23
- }, add() {
24
- for (let e3 = 0; e3 < this.tableData.length; e3++)
25
- if ("" === this.tableData[e3].source || "" === this.tableData[e3].target)
26
- return void this.$alert(this.$t("workflowEditorMessage.dataInLineCannotBeEmpty", { row: e3 + 1, data1: this.srcLabel, data2: this.targetLabel }));
27
- const e2 = { source: "", target: "" };
28
- this.tableData.push(e2), this.setCurrentRow(e2);
29
- }, remove() {
30
- if (null === this.currentRow)
31
- return void this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"));
32
- let e2;
33
- for (let t2 = 0; t2 < this.tableData.length; t2++)
34
- if (this.tableData[t2].source === this.currentRow.source) {
35
- e2 = t2;
36
- break;
37
- }
38
- this.tableData.splice(e2, 1), e2 = e2 <= this.tableData.length - 1 ? e2 : this.tableData.length - 1, this.setCurrentRow(this.tableData[e2]);
39
- }, setCurrentRow(e2) {
40
- this.$refs.table.setCurrentRow(e2);
41
- }, handleCurrentChange(e2) {
42
- this.currentRow = e2;
43
- }, checkSource(e2) {
44
- "" === e2 && this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty", { data: this.srcLabel }));
45
- }, checkTarget(e2) {
46
- "" === e2 && this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty", { data: this.targetLabel }));
47
- }, selectField(e2) {
48
- this.showSourceFields && (this.currentRow.source = e2, this.showSourceFields = false), this.showTargetFields && (this.currentRow.target = e2, this.showTargetFields = false), this.tableData, this.srcFields, this.targetFields;
49
- } } }, [["render", function(e2, t2, u2, b2, g, f) {
50
- const m = l("el-button"), p = l("el-row"), F = l("el-table-column"), C = l("el-input"), y = l("el-table"), k = l("form-fields");
51
- return a(), r("div", c, [s(p, { style: { "align-items": "center" } }, { default: i(() => [u2.labelTittle ? (a(), r("span", w, o(u2.labelTittle), 1)) : d("", true), s(m, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: f.add }, { default: i(() => [h(o(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), s(m, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: f.remove }, { default: i(() => [h(o(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), s(y, { ref: "table", data: g.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: f.handleCurrentChange }, { default: i(() => [s(F, { type: "index", width: "50" }), s(F, { prop: "source", label: u2.srcLabel }, { default: i((l2) => [s(C, { value: f.showSourceFieldLabel(l2.row.source), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[0] || (t2[0] = (e3) => g.showSourceFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"]), s(F, { prop: "target", label: u2.targetLabel }, { default: i((l2) => [s(C, { value: f.showTargetFieldLabel(l2.row.target), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[1] || (t2[1] = (e3) => g.showTargetFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), g.showSourceFields || g.showTargetFields ? (a(), n(k, { key: 0, fields: f.formFields, onClose: f.selectField }, null, 8, ["fields", "onClose"])) : d("", true)]);
52
- }]]);
53
- export {
54
- b as default
55
- };
@@ -1,20 +0,0 @@
1
- import t from "../common/transactor-settings.vue.mjs";
2
- import { deepCopy as e } from "../../util.mjs";
3
- import { resolveComponent as o, openBlock as r, createElementBlock as s, createVNode as n, withCtx as a, createTextVNode as l, toDisplayString as i, createBlock as m, createCommentVNode as u } from "vue";
4
- import d from "../../../../_virtual/_plugin-vue_export-helper.mjs";
5
- const c = d({ name: "SubprocessTransactorSettings", components: { TransactorSettings: t }, props: { modelValue: { type: Object, default: null } }, data() {
6
- let t2 = false;
7
- this.modelValue.userCondition && (t2 = true);
8
- let o2 = e(this.modelValue);
9
- return o2.userCondition || (o2 = { userCondition: "${instanceCreator}", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }), { model: { showTransactorSettings: t2, transactorSettings: o2 } };
10
- }, mounted() {
11
- this.$watch("model", function(t2) {
12
- t2.showTransactorSettings ? this.$emit("update:modelValue", t2.transactorSettings) : this.$emit("update:modelValue", {});
13
- }, { deep: true });
14
- } }, [["render", function(t2, e2, d2, c2, p, h) {
15
- const g = o("el-switch"), f = o("el-row"), S = o("transactor-settings", true);
16
- return r(), s("div", null, [n(f, null, { default: a(() => [l(i(t2.$t("workflowEditor.process.setTheHandlerOfTheFirstPhaseOfTheSubProcess")), 1), n(g, { modelValue: p.model.showTransactorSettings, "onUpdate:modelValue": e2[0] || (e2[0] = (t3) => p.model.showTransactorSettings = t3) }, null, 8, ["modelValue"])]), _: 1 }), p.model.showTransactorSettings ? (r(), m(S, { key: 0, "is-subprocess": true, model: p.model.transactorSettings }, null, 8, ["model"])) : u("", true)]);
17
- }]]);
18
- export {
19
- c as default
20
- };
@@ -1,22 +0,0 @@
1
- import e from "./subprocess/basic-properties.vue.mjs";
2
- import t from "./subprocess/events.vue.mjs";
3
- import o from "./subprocess/transactor-settings.vue.mjs";
4
- import { resolveComponent as r, openBlock as s, createBlock as l, withCtx as a, createVNode as d } from "vue";
5
- import "./subprocess.vue2.mjs";
6
- import n from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
- const i = n({ name: "SubprocessPropertiesEditor", components: { BasicProperties: e, SubprocessTransactorSettings: o, Events: t }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), 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, t2, o2, n2, i2, m) {
17
- const p = r("basic-properties"), c = r("el-tab-pane"), u = r("subprocess-transactor-settings"), f = r("events"), b = r("el-tabs"), v = r("el-dialog");
18
- return s(), l(v, { "model-value": "", title: e2.$t("workflowEditor.process.propertiesOfSubprocesses"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: a(() => [d(b, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: m.handleClick }, { default: a(() => [d(c, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: a(() => [d(p, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), d(c, { label: e2.$t("workflowEditor.process.settingOfHandler"), name: "transactors" }, { default: a(() => [d(u, { modelValue: o2.model.ref.transactorSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.transactorSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(c, { label: e2.$t("workflowEditor.process.eventProcessing"), name: "events" }, { default: a(() => [d(f, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
19
- }], ["__scopeId", "data-v-bd66d235"]]);
20
- export {
21
- i as default
22
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,14 +0,0 @@
1
- import e from "../common/additional-condition.vue.mjs";
2
- import l from "../common/i18n-input.vue.mjs";
3
- import { resolveComponent as o, openBlock as n, createBlock as t, withCtx as i, createVNode as d, createElementVNode as a, toDisplayString as r, createCommentVNode as m } from "vue";
4
- import u from "../../../../_virtual/_plugin-vue_export-helper.mjs";
5
- const s = u({ name: "BasicProperties", components: { AdditionalCondition: e, i18nInput: l }, props: { model: { type: Object, default: null }, sourceTacheType: { type: String, default: null }, id: { type: String, default: null } }, created() {
6
- }, methods: { setI18nValue(e2) {
7
- this.model.i18nKey = e2;
8
- } } }, [["render", function(e2, l2, u2, s2, p, c) {
9
- const f = o("el-switch"), h = o("el-form-item"), k = o("additional-condition"), y = o("i18n-input"), V = o("el-form");
10
- return n(), t(V, null, { default: i(() => [d(h, { label: e2.$t("workflowEditor.process.keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly"), "label-width": "240px" }, { default: i(() => [d(f, { modelValue: u2.model.isOriginalUser, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => u2.model.isOriginalUser = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "Decision" === u2.sourceTacheType ? (n(), t(h, { key: 0 }, { default: i(() => [a("span", null, r(e2.$t("workflowEditor.process.branchingCondition")), 1), d(k, { modelValue: u2.model.condition, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => u2.model.condition = e3), "is-transition": true }, null, 8, ["modelValue"])]), _: 1 })) : m("", true), d(h, { label: e2.$t("workflowEditor.task.remarks"), "label-width": "40px" }, { default: i(() => [d(y, { modelValue: u2.model.remark, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => u2.model.remark = e3), "i18n-key": u2.model.i18nKey ? u2.model.i18nKey : "name." + u2.id, onSetI18n: c.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 });
11
- }]]);
12
- export {
13
- s as default
14
- };
@@ -1,17 +0,0 @@
1
- import e from "./common/notice.vue.mjs";
2
- import o from "./common/auto-filled-fields.vue.mjs";
3
- import l from "./transition/basic-properties.vue.mjs";
4
- import { resolveComponent as t, openBlock as i, createBlock as a, withCtx as r, createVNode as d } from "vue";
5
- import "./transition.vue2.mjs";
6
- import n from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
- const m = n({ name: "TransitionPropertiesEditor", components: { Notice: e, AutoFilledFields: o, BasicProperties: l }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), mounted() {
8
- this.$watch("model.ref.basicProperties.remark", function(e2) {
9
- this.model.remark = e2;
10
- });
11
- } }, [["render", function(e2, o2, l2, n2, m2, s) {
12
- const u = t("basic-properties"), f = t("el-tab-pane"), p = t("notice"), c = t("auto-filled-fields"), b = t("el-switch"), w = t("el-form-item"), v = t("el-input"), V = t("el-form"), _ = t("el-tabs"), $ = t("el-dialog");
13
- return i(), a($, { "model-value": "", title: e2.$t("workflowEditor.transition.flowProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: o2[5] || (o2[5] = (o3) => e2.$emit("open")), onOpend: o2[6] || (o2[6] = (o3) => e2.$emit("opend")), onClose: o2[7] || (o2[7] = (o3) => e2.$emit("close")), onClosed: o2[8] || (o2[8] = (o3) => e2.$emit("closed")) }, { default: r(() => [d(_, { modelValue: m2.activeTab, "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => m2.activeTab = e3), type: "border-card" }, { default: r(() => [d(f, { label: e2.$t("workflowEditor.transition.basicProperties"), name: "basicProperties" }, { default: r(() => [d(u, { id: l2.model.ref.attr.id, model: l2.model.ref.basicProperties, "source-tache-type": l2.model.startJoint.parent.type }, null, 8, ["id", "model", "source-tache-type"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.notificationSettings"), name: "inform" }, { default: r(() => [d(p, { modelValue: l2.model.ref.inform, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => l2.model.ref.inform = e3), "switch-label": e2.$t("workflowEditor.transition.sendNotificationAfterFlow") }, null, 8, ["modelValue", "switch-label"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: r(() => [d(c, { modelValue: l2.model.ref.autoFilledFields, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => l2.model.ref.autoFilledFields = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.eventProcessing"), name: "events" }, { default: r(() => [d(V, null, { default: r(() => [d(w, { label: e2.$t("workflowEditor.transition.triggerFlowThroughEvent") }, { default: r(() => [d(b, { modelValue: l2.model.ref.onTransit, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => l2.model.ref.onTransit = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(w, { label: e2.$t("workflowEditor.transition.beanName") }, { default: r(() => [d(v, { modelValue: l2.model.ref.beanName, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => l2.model.ref.beanName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["title"]);
14
- }], ["__scopeId", "data-v-0e44fe8c"]]);
15
- export {
16
- m as default
17
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,49 +0,0 @@
1
- import { getI18n as r } from "../util.mjs";
2
- const o = { "${instanceCreatorName}": r().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": r().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": r().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": r().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": r().t("workflowEditor.process.superiorDeptLeader"), "${currentTransactorName}": r().t("workflowEditor.process.nameOfCurrentHandler"), "${currentTransactorDirectSuperiorName}": r().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler") }, e = { "${instanceCreatorDepartment}": r().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": r().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": r().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": r().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${currentTransactorDepartment}": r().t("workflowEditor.process.currentHandlerDepartment"), "${currentTransactorSuperiorDepartment}": r().t("workflowEditor.process.currentHandlerSuperiorDepartment"), "${currentTransactorUpstageDepartment}": r().t("workflowEditor.process.topDepartmentOfCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": r().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment") }, t = { "${instanceCreatorrWorkGroup}": r().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${currentTransactorWorkGroup}": r().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler") }, n = { "${user}": r().t("workflowEditor.common.user"), "${department}": r().t("workflowEditor.common.department"), "${role}": r().t("workflowEditor.common.role"), "${workgroup}": r().t("workflowEditor.common.workgroup") }, s = { "condition.operator.or": r().t("workflowEditor.process.perhaps"), "condition.operator.and": r().t("workflowEditor.process.also") }, p = { "operator.text.eq": r().t("workflowEditor.process.beEqualTo"), "operator.text.neq": r().t("workflowEditor.process.notEqualTo") }, i = { ...o, ...e, ...t }, a = { "${instanceCreatorName}": r().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": r().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": r().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": r().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": r().t("workflowEditor.process.superiorDeptLeader") }, c = { "${upstageDepartment}": r().t("workflowEditor.process.topDepartments"), "${instanceCreatorDepartment}": r().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": r().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": r().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": r().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${previousTransactorDepartment}": r().t("workflowEditor.process.lastLinkHandlerDepartment"), "${previousTransactorSuperiorDepartment}": r().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"), "${previousTransactorUpstageDepartment}": r().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"), "${previousTransactorDirectSuperiorDepartment}": r().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment") }, u = { "${instanceCreatorrWorkGroup}": r().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${previousTransactorWorkGroup}": r().t("workflowEditor.process.previousLinkHandlerWorkingGroup"), "${previousTransactorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink") };
3
- function l(r2) {
4
- return void 0 !== i[r2] ? i[r2] : "";
5
- }
6
- function d(r2, o2) {
7
- let e2 = o2.replace(/ condition.operator.or /g, " condition.operator.or^_^");
8
- e2 = e2.replace(/ condition.operator.and /g, " condition.operator.and^_^");
9
- const t2 = e2.split("^_^");
10
- let n2 = 0;
11
- for (const o3 of t2) {
12
- if ("" === o3)
13
- continue;
14
- let e3 = "", t3 = "", s2 = "", p2 = "", i2 = "", a2 = "condition.operator.or";
15
- const c2 = o3.split(" ");
16
- let u2 = c2[0].indexOf("${");
17
- u2 > 0 ? (e3 = c2[0].substring(0, u2), t3 = c2[0].substring(u2)) : t3 = c2[0], s2 = c2[1], u2 = c2[2].indexOf(")"), u2 > 0 ? (p2 = c2[2].substring(0, u2), i2 = c2[2].substring(u2)) : p2 = c2[2], 4 === c2.length && (a2 = c2[3]), r2.push({ id: n2, leftBracket: e3, key: t3, operator: s2, value: p2, rightBracket: i2, logicOperator: a2 }), n2++;
18
- }
19
- return n2;
20
- }
21
- function w(r2) {
22
- let o2 = "";
23
- for (const e3 of r2)
24
- "" !== e3.value && (o2 = o2 + e3.leftBracket + e3.key + " " + e3.operator + " " + e3.value + e3.rightBracket + " " + e3.logicOperator + " ");
25
- const e2 = " condition.operator.or ", t2 = " condition.operator.and ";
26
- return o2.lastIndexOf(e2) + 23 === o2.length ? o2 = o2.substring(0, o2.lastIndexOf(e2)) : o2.lastIndexOf(t2) + 24 === o2.length && (o2 = o2.substring(0, o2.lastIndexOf(t2))), o2;
27
- }
28
- function k(o2) {
29
- let e2 = "";
30
- for (const r2 of o2)
31
- "" !== r2.value && (e2 = e2 + r2.leftBracket + n[r2.key] + " " + p[r2.operator] + " " + l(r2.value) + r2.rightBracket + " " + s[r2.logicOperator] + " ");
32
- const t2 = " " + r().t("workflowEditor.process.perhaps") + " ", i2 = " " + r().t("workflowEditor.process.also") + " ";
33
- return e2.lastIndexOf(t2) + t2.length === e2.length ? e2 = e2.substring(0, e2.lastIndexOf(t2)) : e2.lastIndexOf(i2) + i2.length === e2.length && (e2 = e2.substring(0, e2.lastIndexOf(i2))), e2;
34
- }
35
- export {
36
- n as conditionTypes,
37
- e as departmentStandardFieldsForReminder,
38
- c as departmentStandardFieldsForTransactor,
39
- k as displayUserCondition,
40
- l as formatStandardValue,
41
- w as generateUserCondition,
42
- s as logicOperators,
43
- p as operators,
44
- d as parseCondition,
45
- o as userStandardFieldsForReminder,
46
- a as userStandardFieldsForTransactor,
47
- t as workgroupStandardFieldsForReminder,
48
- u as workgroupStandardFieldsForTransactor
49
- };
@@ -1,4 +0,0 @@
1
- const e = { taches: (e2) => e2.taches, transitions: (e2) => e2.transitions, startJoint: (e2) => e2.startJoint, endJoint: (e2) => e2.endJoint, isMovingTache: (e2) => e2.isMovingTache, mouseDownPosition: (e2) => e2.mouseDownPosition, isDrawingRegion: (e2) => e2.isDrawingRegion, isMovingRegion: (e2) => e2.isMovingRegion, selectedTaches: (e2) => e2.selectedTaches, selectedTransition: (e2) => e2.selectedTransition, resizerToMove: (e2) => e2.resizerToMove, draggerToMove: (e2) => e2.draggerToMove, propertiesEditorFor: (e2) => e2.propertiesEditorFor, componentToDraw: (e2) => e2.componentToDraw, controlPointToMove: (e2) => e2.controlPointToMove, formFields: (e2) => e2.formFields, formCode: (e2) => e2.formCode, formFieldsWithSub: (e2) => e2.formFieldsWithSub, contextMenuVisible: (e2) => e2.contextMenuVisible, systemCode: (e2) => e2.systemCode, processCode: (e2) => e2.processCode, processI18n: (e2) => e2.processI18n, subtableConditionMap: (e2) => e2.subtableConditionMap, propSettingKeyList: (e2) => e2.propSettingKeyList, systemVersion: (e2) => e2.systemVersion, tableCode: (e2) => e2.tableCode, isHandleCreate: (e2) => e2.isHandleCreate, isCreateDefinition: (e2) => e2.isCreateDefinition, pageCode: (e2) => e2.pageCode, sourceComponentType: (e2) => e2.sourceComponentType };
2
- export {
3
- e as default
4
- };
@@ -1,73 +0,0 @@
1
- import e from "./getters.mjs";
2
- const o = { namespaced: true, state: { taches: [], transitions: [], startJoint: null, endJoint: null, isMovingTache: false, mouseDownPosition: null, isDrawingRegion: false, isMovingRegion: false, selectedTaches: [], selectedTransition: null, resizerToMove: null, draggerToMove: null, propertiesEditorFor: "", componentToDraw: "", controlPointToMove: null, formFields: [], formFieldsWithSub: [], contextMenuVisible: false, formCode: null, systemCode: null, systemVersion: null, processCode: null, processI18n: null, subtableConditionMap: null, propSettingKeyList: null, tableCode: null, isCreateDefinition: "", isHandleCreate: "", pageCode: null, sourceComponentType: "" }, getters: e, mutations: { setTaches(e2, o2) {
3
- e2.taches = o2;
4
- }, setTransitions(e2, o2) {
5
- e2.transitions = o2;
6
- }, clearCanvas(e2) {
7
- e2.taches = [], e2.transitions = [];
8
- }, resetState(e2) {
9
- e2.isMovingTache = false, e2.startJoint = null, e2.endJoint = null, e2.isDrawingRegion = false, e2.isMovingRegion = false, e2.resizerToMove = null, e2.draggerToMove = null, e2.controlPointToMove = null;
10
- }, stopDrawingLine(e2) {
11
- e2.startJoint = null, e2.endJoint = null;
12
- }, setStartJoint(e2, o2) {
13
- e2.startJoint = o2;
14
- }, setEndJoint(e2, o2) {
15
- e2.endJoint = o2;
16
- }, setMovingTache(e2, o2) {
17
- e2.isMovingTache = o2;
18
- }, setMouseDownPosition(e2, o2) {
19
- e2.mouseDownPosition = o2;
20
- }, setDrawingRegion(e2, o2) {
21
- e2.isDrawingRegion = o2;
22
- }, setMovingRegion(e2, o2) {
23
- e2.isMovingRegion = o2;
24
- }, setSelectedTaches(e2, o2) {
25
- e2.selectedTaches = o2;
26
- }, setSelectedTransition(e2, o2) {
27
- e2.selectedTransition = o2;
28
- }, setResizerToMove(e2, o2) {
29
- e2.resizerToMove = o2;
30
- }, setDraggerToMove(e2, o2) {
31
- e2.draggerToMove = o2;
32
- }, setPropertiesEditorFor(e2, o2) {
33
- e2.propertiesEditorFor = o2;
34
- }, setComponentToDraw(e2, o2) {
35
- e2.componentToDraw = o2;
36
- }, setControlPointToMove(e2, o2) {
37
- e2.controlPointToMove = o2;
38
- }, setFormFields(e2, o2) {
39
- e2.formFields = o2;
40
- }, setFormCode(e2, o2) {
41
- e2.formCode = o2;
42
- }, setFormFieldsWithSub(e2, o2) {
43
- e2.formFieldsWithSub = o2;
44
- }, setContextMenuVisible(e2, o2) {
45
- e2.contextMenuVisible = o2;
46
- }, setSystemCode(e2, o2) {
47
- e2.systemCode = o2;
48
- }, setProcessCode(e2, o2) {
49
- e2.processCode = o2;
50
- }, setProcessI18n(e2, o2) {
51
- e2.processI18n = o2;
52
- }, setSubtableConditionMap(e2, o2) {
53
- e2.subtableConditionMap = o2;
54
- }, setPropSettingKeyList(e2, o2) {
55
- e2.propSettingKeyList = o2;
56
- }, setSystemVersion(e2, o2) {
57
- e2.systemVersion = o2;
58
- }, setTableCode(e2, o2) {
59
- e2.tableCode = o2;
60
- }, setTableCode(e2, o2) {
61
- e2.tableCode = o2;
62
- }, setIsCreateDefinition(e2, o2) {
63
- e2.isCreateDefinition = o2;
64
- }, setIsHandleCreate(e2, o2) {
65
- e2.isHandleCreate = o2;
66
- }, setPageCode(e2, o2) {
67
- e2.pageCode = o2;
68
- }, setSourceComponentForCopy(e2, o2) {
69
- e2.sourceComponentType = o2;
70
- } } };
71
- export {
72
- o as default
73
- };
@@ -1,25 +0,0 @@
1
- import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import i from "./common-methods.mjs";
5
- import { watchShowName as r } from "../util.mjs";
6
- import { resolveComponent as n, openBlock as m, createElementBlock as l, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as u, Fragment as p, renderList as c, createBlock as x } from "vue";
7
- import f from "../../../_virtual/_plugin-vue_export-helper.mjs";
8
- const g = { name: "AutoTask", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data() {
9
- return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
10
- }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
11
- return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
12
- } }, created() {
13
- this.name = r(this, this.name);
14
- }, mounted() {
15
- this.$watch("model.name", function(e2) {
16
- this.name = r(this, e2);
17
- });
18
- }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, w = ["width", "height", "x", "y"], y = ["x", "y"];
19
- const j = f(g, [["render", function(e2, t2, o2, s2, i2, r2) {
20
- const f2 = n("joint"), g2 = n("tache-resizer");
21
- return m(), l("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("AutoTask"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, w), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, u(i2.name), 9, y), (m(true), l(p, null, c(i2.jointPoints, (e3) => (m(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (m(true), l(p, null, c(i2.resizers, (e3) => (m(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
22
- }]]);
23
- export {
24
- j as default
25
- };
@@ -1,13 +0,0 @@
1
- import { startDragTache as t, endDragTache as i } from "../util.mjs";
2
- const s = { startDrag(i2) {
3
- this.model.name, this.setContextMenuVisible(false), t(i2, this);
4
- }, endDrag() {
5
- this.model.name, i();
6
- }, showJoints() {
7
- this.$parent.showHistory || (this.jointPoints = ["up", "right", "down", "left"]);
8
- }, hideJoints() {
9
- this.jointPoints = [];
10
- } };
11
- export {
12
- s as default
13
- };
@@ -1,25 +0,0 @@
1
- import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import i from "./common-methods.mjs";
5
- import { watchShowName as r } from "../util.mjs";
6
- import { resolveComponent as n, openBlock as m, createElementBlock as l, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as p, Fragment as u, renderList as c, createBlock as x } from "vue";
7
- import f from "../../../_virtual/_plugin-vue_export-helper.mjs";
8
- const g = { name: "CopyTask", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data() {
9
- return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
10
- }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
11
- return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
12
- } }, created() {
13
- this.name = r(this, this.name);
14
- }, mounted() {
15
- this.$watch("model.name", function(e2) {
16
- this.name = r(this, e2);
17
- });
18
- }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, y = ["width", "height", "x", "y"], w = ["x", "y"];
19
- const j = f(g, [["render", function(e2, t2, o2, s2, i2, r2) {
20
- const f2 = n("joint"), g2 = n("tache-resizer");
21
- return m(), l("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("CopyTask"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, y), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, p(i2.name), 9, w), (m(true), l(u, null, c(i2.jointPoints, (e3) => (m(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (m(true), l(u, null, c(i2.resizers, (e3) => (m(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
22
- }]]);
23
- export {
24
- j as default
25
- };
@@ -1,16 +0,0 @@
1
- import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import r from "./common-methods.mjs";
5
- import { resolveComponent as i, openBlock as n, createElementBlock as l, withModifiers as d, createElementVNode as m, normalizeClass as a, toDisplayString as h, Fragment as u, renderList as p, createBlock as c } from "vue";
6
- import x from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
- const g = { name: "CustomTask", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [], resizers: ["NW", "NE", "SW", "SE"] }), computed: { ...e("wfEditor", ["selectedTaches"]), text() {
8
- return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
9
- } }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...r } }, f = ["width", "height", "x", "y"], y = ["x", "y"];
10
- const w = x(g, [["render", function(e2, t2, o2, s2, r2, x2) {
11
- const g2 = i("joint"), w2 = i("tache-resizer");
12
- return n(), l("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("HumanTask"), ["stop"])) }, [m("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: a({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, f), m("text", { x: x2.text.x, y: x2.text.y, "text-anchor": "middle", class: "draggable" }, h(o2.model.name), 9, y), (n(true), l(u, null, p(r2.jointPoints, (e3) => (n(), c(g2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (n(true), l(u, null, p(r2.resizers, (e3) => (n(), c(w2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
13
- }]]);
14
- export {
15
- w as default
16
- };
@@ -1,25 +0,0 @@
1
- import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
4
- import { watchShowName as s } from "../util.mjs";
5
- import { resolveComponent as n, openBlock as d, createElementBlock as r, withModifiers as l, createElementVNode as m, normalizeClass as h, toDisplayString as a, Fragment as c, renderList as u, createBlock as p } from "vue";
6
- import "./decision.vue2.mjs";
7
- import x from "../../../_virtual/_plugin-vue_export-helper.mjs";
8
- const g = { name: "Decision", components: { Joint: o }, props: { model: { type: Object, default: null } }, data() {
9
- return { jointPoints: [], name: this.model.name };
10
- }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
11
- return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height + 12 };
12
- } }, created() {
13
- this.name = s(this, this.name);
14
- }, mounted() {
15
- this.$watch("model.name", function(e2) {
16
- this.name = s(this, e2);
17
- });
18
- }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, f = ["width", "height", "x", "y"], y = ["x", "y", "width", "height"], w = ["x", "y"];
19
- const j = x(g, [["render", function(e2, t2, o2, i2, s2, x2) {
20
- const g2 = n("joint");
21
- return d(), r("g", { onMousedown: t2[0] || (t2[0] = l((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = l((t3) => e2.setPropertiesEditorFor("Decision"), ["stop"])) }, [m("rect", { width: o2.model.width, height: o2.model.height, class: h({ draggable: true, decision: !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, f), m("use", { "xlink:href": "#icon-decision", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, y), m("text", { x: x2.text.x, y: x2.text.y, "text-anchor": "middle", class: "draggable" }, a(s2.name), 9, w), (d(true), r(c, null, u(s2.jointPoints, (e3) => (d(), p(g2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
22
- }]]);
23
- export {
24
- j as default
25
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };
@@ -1,14 +0,0 @@
1
- import { mapGetters as e, mapMutations as o } from "vuex";
2
- import t from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
4
- import { resolveComponent as n, openBlock as s, createElementBlock as r, withModifiers as d, createElementVNode as l, normalizeClass as m, Fragment as h, renderList as p, createBlock as u } from "vue";
5
- import "./end.vue2.mjs";
6
- import a from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
- const c = { name: "End", components: { Joint: t }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...e("wfEditor", ["selectedTaches"]) }, methods: { ...o("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, g = ["width", "height", "x", "y"], f = ["x", "y", "width", "height"];
8
- const x = a(c, [["render", function(e2, o2, t2, i2, a2, c2) {
9
- const x2 = n("joint");
10
- return s(), r("g", { onMousedown: o2[0] || (o2[0] = d((...o3) => e2.startDrag && e2.startDrag(...o3), ["stop"])), onMouseup: o2[1] || (o2[1] = (...o3) => e2.endDrag && e2.endDrag(...o3)), onMouseenter: o2[2] || (o2[2] = (...o3) => e2.showJoints && e2.showJoints(...o3)), onMouseleave: o2[3] || (o2[3] = (...o3) => e2.hideJoints && e2.hideJoints(...o3)), onDblclick: o2[4] || (o2[4] = d((o3) => e2.setPropertiesEditorFor(""), ["stop"])) }, [l("rect", { width: t2.model.width, height: t2.model.height, class: m({ draggable: true, end: !t2.model.isSelected, selected: t2.model.isSelected }), x: t2.model.x, y: t2.model.y, rx: "6", ry: "6" }, null, 10, g), l("use", { "xlink:href": "#icon-end", x: t2.model.x, y: t2.model.y, width: t2.model.width, height: t2.model.height, fill: "#F56C6C", class: "draggable" }, null, 8, f), (s(true), r(h, null, p(a2.jointPoints, (e3) => (s(), u(x2, { key: e3, parent: t2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
11
- }]]);
12
- export {
13
- x as default
14
- };
@@ -1,4 +0,0 @@
1
- const t = "";
2
- export {
3
- t as default
4
- };