workflow-editor 0.0.87-up → 0.0.87-up-cdnTmp1

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 (292) hide show
  1. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  2. package/es/index.mjs +18 -0
  3. package/es/plugins/formValidatorUtil.mjs +212 -0
  4. package/es/plugins/index.mjs +7 -0
  5. package/es/src/i18n/i18n.mjs +7 -0
  6. package/es/src/i18n/langs/cn.mjs +4 -0
  7. package/es/src/i18n/langs/en.mjs +4 -0
  8. package/es/style.css +1 -0
  9. package/es/workflow-editor/index.mjs +10 -0
  10. package/es/workflow-editor/src/api.mjs +6 -0
  11. package/es/workflow-editor/src/assets/wf-editor-icons.mjs +43 -0
  12. package/es/workflow-editor/src/json-object-templates/auto-task.mjs +7 -0
  13. package/es/workflow-editor/src/json-object-templates/copy-task.mjs +7 -0
  14. package/es/workflow-editor/src/json-object-templates/decision.mjs +7 -0
  15. package/es/workflow-editor/src/json-object-templates/end.mjs +7 -0
  16. package/es/workflow-editor/src/json-object-templates/fork.mjs +7 -0
  17. package/es/workflow-editor/src/json-object-templates/human-decision.mjs +7 -0
  18. package/es/workflow-editor/src/json-object-templates/human-task.mjs +7 -0
  19. package/es/workflow-editor/src/json-object-templates/join.mjs +7 -0
  20. package/es/workflow-editor/src/json-object-templates/process.mjs +9 -0
  21. package/es/workflow-editor/src/json-object-templates/start.mjs +7 -0
  22. package/es/workflow-editor/src/json-object-templates/subprocess.mjs +7 -0
  23. package/es/workflow-editor/src/json-object-templates/transition.mjs +6 -0
  24. package/es/workflow-editor/src/main/admin-save-dialog.vue.mjs +13 -0
  25. package/es/workflow-editor/src/main/canvas.vue.mjs +130 -0
  26. package/es/workflow-editor/src/main/canvas.vue2.mjs +4 -0
  27. package/es/workflow-editor/src/main/context-menu.vue.mjs +33 -0
  28. package/es/workflow-editor/src/main/context-menu.vue2.mjs +4 -0
  29. package/es/workflow-editor/src/main/icon-svg.vue.mjs +12 -0
  30. package/es/workflow-editor/src/main/icon-svg.vue2.mjs +4 -0
  31. package/es/workflow-editor/src/main/selection-region.vue.mjs +17 -0
  32. package/es/workflow-editor/src/main/selection-region.vue2.mjs +4 -0
  33. package/es/workflow-editor/src/main/tache-history-tooltip.vue.mjs +10 -0
  34. package/es/workflow-editor/src/main/tache-history-tooltip.vue2.mjs +4 -0
  35. package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue.mjs +11 -0
  36. package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.mjs +4 -0
  37. package/es/workflow-editor/src/main/toolbox.vue.mjs +16 -0
  38. package/es/workflow-editor/src/main/toolbox.vue2.mjs +4 -0
  39. package/es/workflow-editor/src/main/wf-history-canvas.vue.mjs +86 -0
  40. package/es/workflow-editor/src/main/wf-history-canvas.vue2.mjs +4 -0
  41. package/es/workflow-editor/src/process-service.mjs +20 -0
  42. package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.mjs +25 -0
  43. package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.mjs +4 -0
  44. package/es/workflow-editor/src/properties-editors/auto-task.vue.mjs +22 -0
  45. package/es/workflow-editor/src/properties-editors/auto-task.vue2.mjs +4 -0
  46. package/es/workflow-editor/src/properties-editors/common/additional-condition-utils.mjs +125 -0
  47. package/es/workflow-editor/src/properties-editors/common/additional-condition.vue.mjs +60 -0
  48. package/es/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.mjs +5 -0
  49. package/es/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.mjs +72 -0
  50. package/es/workflow-editor/src/properties-editors/common/common-notice-tool.vue.mjs +18 -0
  51. package/es/workflow-editor/src/properties-editors/common/common-user-condition.vue.mjs +55 -0
  52. package/es/workflow-editor/src/properties-editors/common/form-fields-utils.mjs +14 -0
  53. package/es/workflow-editor/src/properties-editors/common/form-fields.vue.mjs +20 -0
  54. package/es/workflow-editor/src/properties-editors/common/form-fields.vue2.mjs +4 -0
  55. package/es/workflow-editor/src/properties-editors/common/i18n-input.vue.mjs +27 -0
  56. package/es/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.mjs +36 -0
  57. package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue.mjs +27 -0
  58. package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue2.mjs +4 -0
  59. package/es/workflow-editor/src/properties-editors/common/notice.vue.mjs +31 -0
  60. package/es/workflow-editor/src/properties-editors/common/reminder.vue.mjs +46 -0
  61. package/es/workflow-editor/src/properties-editors/common/reminder.vue2.mjs +4 -0
  62. package/es/workflow-editor/src/properties-editors/common/select-mail-template.vue.mjs +20 -0
  63. package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.mjs +95 -0
  64. package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.mjs +4 -0
  65. package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue.mjs +16 -0
  66. package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue2.mjs +4 -0
  67. package/es/workflow-editor/src/properties-editors/common/task-title.vue.mjs +61 -0
  68. package/es/workflow-editor/src/properties-editors/common/task-title.vue2.mjs +4 -0
  69. package/es/workflow-editor/src/properties-editors/common/task-title.vue3.mjs +4 -0
  70. package/es/workflow-editor/src/properties-editors/common/transactor-settings.vue.mjs +43 -0
  71. package/es/workflow-editor/src/properties-editors/common/user-selection.vue.mjs +116 -0
  72. package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.mjs +60 -0
  73. package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.mjs +4 -0
  74. package/es/workflow-editor/src/properties-editors/common/variables.vue.mjs +41 -0
  75. package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.mjs +25 -0
  76. package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.mjs +4 -0
  77. package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.mjs +30 -0
  78. package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.mjs +4 -0
  79. package/es/workflow-editor/src/properties-editors/copy-task.vue.mjs +26 -0
  80. package/es/workflow-editor/src/properties-editors/copy-task.vue2.mjs +4 -0
  81. package/es/workflow-editor/src/properties-editors/decision.vue.mjs +24 -0
  82. package/es/workflow-editor/src/properties-editors/fork.vue.mjs +21 -0
  83. package/es/workflow-editor/src/properties-editors/human-decision.vue.mjs +15 -0
  84. package/es/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.mjs +16 -0
  85. package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue.mjs +38 -0
  86. package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.mjs +4 -0
  87. package/es/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.mjs +84 -0
  88. package/es/workflow-editor/src/properties-editors/human-task/custom-actions.vue.mjs +62 -0
  89. package/es/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.mjs +80 -0
  90. package/es/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.mjs +86 -0
  91. package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.mjs +43 -0
  92. package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.mjs +4 -0
  93. package/es/workflow-editor/src/properties-editors/human-task/editable-fields.vue.mjs +67 -0
  94. package/es/workflow-editor/src/properties-editors/human-task/events.vue.mjs +18 -0
  95. package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue.mjs +33 -0
  96. package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.mjs +4 -0
  97. package/es/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.mjs +56 -0
  98. package/es/workflow-editor/src/properties-editors/human-task.vue.mjs +28 -0
  99. package/es/workflow-editor/src/properties-editors/human-task.vue2.mjs +4 -0
  100. package/es/workflow-editor/src/properties-editors/join.vue.mjs +15 -0
  101. package/es/workflow-editor/src/properties-editors/process/basic-properties.vue.mjs +88 -0
  102. package/es/workflow-editor/src/properties-editors/process/events.vue.mjs +21 -0
  103. package/es/workflow-editor/src/properties-editors/process/notice-settings.vue.mjs +25 -0
  104. package/es/workflow-editor/src/properties-editors/process/parameter-settings.vue.mjs +17 -0
  105. package/es/workflow-editor/src/properties-editors/process/permission-settings.vue.mjs +10 -0
  106. package/es/workflow-editor/src/properties-editors/process/selectPage.vue.mjs +28 -0
  107. package/es/workflow-editor/src/properties-editors/process.vue.mjs +34 -0
  108. package/es/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.mjs +64 -0
  109. package/es/workflow-editor/src/properties-editors/subprocess/events.vue.mjs +9 -0
  110. package/es/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.mjs +55 -0
  111. package/es/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.mjs +20 -0
  112. package/es/workflow-editor/src/properties-editors/subprocess.vue.mjs +22 -0
  113. package/es/workflow-editor/src/properties-editors/subprocess.vue2.mjs +4 -0
  114. package/es/workflow-editor/src/properties-editors/transition/basic-properties.vue.mjs +14 -0
  115. package/es/workflow-editor/src/properties-editors/transition.vue.mjs +17 -0
  116. package/es/workflow-editor/src/properties-editors/transition.vue2.mjs +4 -0
  117. package/es/workflow-editor/src/properties-editors/user-condition.mjs +49 -0
  118. package/es/workflow-editor/src/store/getters.mjs +4 -0
  119. package/es/workflow-editor/src/store/workflow-editor.mjs +73 -0
  120. package/es/workflow-editor/src/taches/auto-task.vue.mjs +25 -0
  121. package/es/workflow-editor/src/taches/common-methods.mjs +13 -0
  122. package/es/workflow-editor/src/taches/copy-task.vue.mjs +25 -0
  123. package/es/workflow-editor/src/taches/custom-task.vue.mjs +16 -0
  124. package/es/workflow-editor/src/taches/decision.vue.mjs +25 -0
  125. package/es/workflow-editor/src/taches/decision.vue2.mjs +4 -0
  126. package/es/workflow-editor/src/taches/end.vue.mjs +14 -0
  127. package/es/workflow-editor/src/taches/end.vue2.mjs +4 -0
  128. package/es/workflow-editor/src/taches/fork.vue.mjs +25 -0
  129. package/es/workflow-editor/src/taches/fork.vue2.mjs +4 -0
  130. package/es/workflow-editor/src/taches/human-decision.vue.mjs +25 -0
  131. package/es/workflow-editor/src/taches/human-decision.vue2.mjs +4 -0
  132. package/es/workflow-editor/src/taches/human-task.vue.mjs +25 -0
  133. package/es/workflow-editor/src/taches/join.vue.mjs +16 -0
  134. package/es/workflow-editor/src/taches/join.vue2.mjs +4 -0
  135. package/es/workflow-editor/src/taches/joint.vue.mjs +54 -0
  136. package/es/workflow-editor/src/taches/joint.vue2.mjs +4 -0
  137. package/es/workflow-editor/src/taches/start.vue.mjs +14 -0
  138. package/es/workflow-editor/src/taches/start.vue2.mjs +4 -0
  139. package/es/workflow-editor/src/taches/subprocess.vue.mjs +25 -0
  140. package/es/workflow-editor/src/taches/tache-resizer.vue.mjs +30 -0
  141. package/es/workflow-editor/src/taches/tache-resizer.vue2.mjs +4 -0
  142. package/es/workflow-editor/src/transitions/broken-line.vue.mjs +32 -0
  143. package/es/workflow-editor/src/transitions/broken-line.vue2.mjs +4 -0
  144. package/es/workflow-editor/src/transitions/curve-line.vue.mjs +33 -0
  145. package/es/workflow-editor/src/transitions/curve-line.vue2.mjs +4 -0
  146. package/es/workflow-editor/src/transitions/straight-line.vue.mjs +13 -0
  147. package/es/workflow-editor/src/transitions/transition.vue.mjs +77 -0
  148. package/es/workflow-editor/src/transitions/transition.vue2.mjs +4 -0
  149. package/es/workflow-editor/src/transitions/virtual-transition.vue.mjs +17 -0
  150. package/es/workflow-editor/src/transitions/virtual-transition.vue2.mjs +4 -0
  151. package/es/workflow-editor/src/util.mjs +180 -0
  152. package/es/workflow-editor/src/workflow-editor.vue.mjs +212 -0
  153. package/es/workflow-editor/src/workflow-editor.vue2.mjs +4 -0
  154. package/es/workflow-editor/src/workflow-history.vue.mjs +35 -0
  155. package/es/workflow-editor/src/workflow-history.vue2.mjs +4 -0
  156. package/package.json +16 -8
  157. package/.prettierrc.json +0 -9
  158. package/index.html +0 -13
  159. package/lib/401-6d407e37.js +0 -101
  160. package/lib/404-44e0676c.js +0 -26
  161. package/lib/authredirect-ae6e75b4.js +0 -10
  162. package/lib/iframe-page-adb4ea50.js +0 -33
  163. package/lib/index-1963da8a.js +0 -32637
  164. package/lib/index-369eae4a.js +0 -13
  165. package/lib/tab-content-iframe-index-1468478a.js +0 -33
  166. package/lib/tab-content-index-3bd25899.js +0 -1253
  167. package/lib/tache-subprocess-history-e1b89bed.js +0 -56
  168. package/lib/workflow-editor.css +0 -1
  169. package/lib/workflow-editor.js +0 -5
  170. package/lib/workflow-editor.umd.cjs +0 -90
  171. package/packages/index.js +0 -34
  172. package/packages/plugins/formValidatorUtil.js +0 -745
  173. package/packages/plugins/index.js +0 -8
  174. package/packages/workflow-editor/index.js +0 -14
  175. package/packages/workflow-editor/src/api.js +0 -7
  176. package/packages/workflow-editor/src/assets/tab-select.png +0 -0
  177. package/packages/workflow-editor/src/assets/tab-selectWhite.png +0 -0
  178. package/packages/workflow-editor/src/assets/wf-editor-icons.js +0 -2
  179. package/packages/workflow-editor/src/constant.js +0 -8
  180. package/packages/workflow-editor/src/json-object-templates/auto-task.js +0 -70
  181. package/packages/workflow-editor/src/json-object-templates/copy-task.js +0 -72
  182. package/packages/workflow-editor/src/json-object-templates/decision.js +0 -11
  183. package/packages/workflow-editor/src/json-object-templates/end.js +0 -14
  184. package/packages/workflow-editor/src/json-object-templates/fork.js +0 -10
  185. package/packages/workflow-editor/src/json-object-templates/human-decision.js +0 -9
  186. package/packages/workflow-editor/src/json-object-templates/human-task.js +0 -208
  187. package/packages/workflow-editor/src/json-object-templates/join.js +0 -10
  188. package/packages/workflow-editor/src/json-object-templates/process.js +0 -99
  189. package/packages/workflow-editor/src/json-object-templates/start.js +0 -13
  190. package/packages/workflow-editor/src/json-object-templates/subprocess.js +0 -31
  191. package/packages/workflow-editor/src/json-object-templates/transition.js +0 -26
  192. package/packages/workflow-editor/src/main/admin-save-dialog.vue +0 -67
  193. package/packages/workflow-editor/src/main/canvas.vue +0 -493
  194. package/packages/workflow-editor/src/main/context-menu.vue +0 -147
  195. package/packages/workflow-editor/src/main/icon-svg.vue +0 -32
  196. package/packages/workflow-editor/src/main/selection-region.vue +0 -66
  197. package/packages/workflow-editor/src/main/tache-history-tooltip.vue +0 -38
  198. package/packages/workflow-editor/src/main/tache-name-input.vue +0 -19
  199. package/packages/workflow-editor/src/main/tache-subprocess-history-dialog.vue +0 -40
  200. package/packages/workflow-editor/src/main/toolbox.vue +0 -60
  201. package/packages/workflow-editor/src/main/wf-history-canvas.vue +0 -309
  202. package/packages/workflow-editor/src/process-json.js +0 -624
  203. package/packages/workflow-editor/src/process-service.js +0 -69
  204. package/packages/workflow-editor/src/properties-editors/auto-task/basic-properties.vue +0 -81
  205. package/packages/workflow-editor/src/properties-editors/auto-task/permission-settings.vue +0 -155
  206. package/packages/workflow-editor/src/properties-editors/auto-task.vue +0 -74
  207. package/packages/workflow-editor/src/properties-editors/common/additional-condition-utils.js +0 -636
  208. package/packages/workflow-editor/src/properties-editors/common/additional-condition.vue +0 -300
  209. package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.js +0 -34
  210. package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields.vue +0 -268
  211. package/packages/workflow-editor/src/properties-editors/common/common-notice-tool.vue +0 -81
  212. package/packages/workflow-editor/src/properties-editors/common/common-user-condition.vue +0 -242
  213. package/packages/workflow-editor/src/properties-editors/common/form-fields-utils.js +0 -23
  214. package/packages/workflow-editor/src/properties-editors/common/form-fields.vue +0 -114
  215. package/packages/workflow-editor/src/properties-editors/common/i18n-input.vue +0 -90
  216. package/packages/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue +0 -143
  217. package/packages/workflow-editor/src/properties-editors/common/notice-reminder.vue +0 -144
  218. package/packages/workflow-editor/src/properties-editors/common/notice.vue +0 -108
  219. package/packages/workflow-editor/src/properties-editors/common/reminder.vue +0 -307
  220. package/packages/workflow-editor/src/properties-editors/common/select-mail-template.vue +0 -92
  221. package/packages/workflow-editor/src/properties-editors/common/standard-fields.vue +0 -66
  222. package/packages/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue +0 -354
  223. package/packages/workflow-editor/src/properties-editors/common/system-role-tree.vue +0 -68
  224. package/packages/workflow-editor/src/properties-editors/common/task-title.vue +0 -221
  225. package/packages/workflow-editor/src/properties-editors/common/transactor-settings.vue +0 -275
  226. package/packages/workflow-editor/src/properties-editors/common/user-selection.vue +0 -426
  227. package/packages/workflow-editor/src/properties-editors/common/value-selection-dialog.vue +0 -272
  228. package/packages/workflow-editor/src/properties-editors/common/variables.vue +0 -139
  229. package/packages/workflow-editor/src/properties-editors/copy-task/basic-properties.vue +0 -90
  230. package/packages/workflow-editor/src/properties-editors/copy-task/permission-settings.vue +0 -155
  231. package/packages/workflow-editor/src/properties-editors/copy-task.vue +0 -95
  232. package/packages/workflow-editor/src/properties-editors/decision.vue +0 -88
  233. package/packages/workflow-editor/src/properties-editors/fork.vue +0 -77
  234. package/packages/workflow-editor/src/properties-editors/human-decision.vue +0 -49
  235. package/packages/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue +0 -62
  236. package/packages/workflow-editor/src/properties-editors/human-task/basic-properties.vue +0 -184
  237. package/packages/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.js +0 -359
  238. package/packages/workflow-editor/src/properties-editors/human-task/custom-actions.vue +0 -256
  239. package/packages/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue +0 -405
  240. package/packages/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue +0 -257
  241. package/packages/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue +0 -430
  242. package/packages/workflow-editor/src/properties-editors/human-task/editable-fields.vue +0 -206
  243. package/packages/workflow-editor/src/properties-editors/human-task/events.vue +0 -60
  244. package/packages/workflow-editor/src/properties-editors/human-task/permission-settings.vue +0 -231
  245. package/packages/workflow-editor/src/properties-editors/human-task/selection-conditions.vue +0 -499
  246. package/packages/workflow-editor/src/properties-editors/human-task.vue +0 -107
  247. package/packages/workflow-editor/src/properties-editors/join.vue +0 -49
  248. package/packages/workflow-editor/src/properties-editors/process/basic-properties.vue +0 -336
  249. package/packages/workflow-editor/src/properties-editors/process/events.vue +0 -79
  250. package/packages/workflow-editor/src/properties-editors/process/notice-settings.vue +0 -68
  251. package/packages/workflow-editor/src/properties-editors/process/parameter-settings.vue +0 -106
  252. package/packages/workflow-editor/src/properties-editors/process/permission-settings.vue +0 -28
  253. package/packages/workflow-editor/src/properties-editors/process/selectPage.vue +0 -88
  254. package/packages/workflow-editor/src/properties-editors/process.vue +0 -118
  255. package/packages/workflow-editor/src/properties-editors/subprocess/basic-properties.vue +0 -201
  256. package/packages/workflow-editor/src/properties-editors/subprocess/events.vue +0 -26
  257. package/packages/workflow-editor/src/properties-editors/subprocess/field-mappings.vue +0 -216
  258. package/packages/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue +0 -66
  259. package/packages/workflow-editor/src/properties-editors/subprocess.vue +0 -80
  260. package/packages/workflow-editor/src/properties-editors/transition/basic-properties.vue +0 -53
  261. package/packages/workflow-editor/src/properties-editors/transition.vue +0 -75
  262. package/packages/workflow-editor/src/properties-editors/user-condition.js +0 -183
  263. package/packages/workflow-editor/src/store/getters.js +0 -33
  264. package/packages/workflow-editor/src/store/workflow-editor.js +0 -153
  265. package/packages/workflow-editor/src/taches/auto-task.vue +0 -99
  266. package/packages/workflow-editor/src/taches/common-methods.js +0 -21
  267. package/packages/workflow-editor/src/taches/copy-task.vue +0 -99
  268. package/packages/workflow-editor/src/taches/custom-task.vue +0 -88
  269. package/packages/workflow-editor/src/taches/decision.vue +0 -102
  270. package/packages/workflow-editor/src/taches/end.vue +0 -76
  271. package/packages/workflow-editor/src/taches/fork.vue +0 -102
  272. package/packages/workflow-editor/src/taches/human-decision.vue +0 -102
  273. package/packages/workflow-editor/src/taches/human-task.vue +0 -113
  274. package/packages/workflow-editor/src/taches/join.vue +0 -91
  275. package/packages/workflow-editor/src/taches/joint.vue +0 -177
  276. package/packages/workflow-editor/src/taches/start.vue +0 -76
  277. package/packages/workflow-editor/src/taches/subprocess.vue +0 -99
  278. package/packages/workflow-editor/src/taches/tache-resizer.vue +0 -80
  279. package/packages/workflow-editor/src/transitions/broken-line.vue +0 -91
  280. package/packages/workflow-editor/src/transitions/curve-line.vue +0 -91
  281. package/packages/workflow-editor/src/transitions/straight-line.vue +0 -26
  282. package/packages/workflow-editor/src/transitions/transition.vue +0 -229
  283. package/packages/workflow-editor/src/transitions/virtual-transition.vue +0 -43
  284. package/packages/workflow-editor/src/util.js +0 -499
  285. package/packages/workflow-editor/src/workflow-editor.vue +0 -869
  286. package/packages/workflow-editor/src/workflow-history.vue +0 -153
  287. package/public/vite.svg +0 -1
  288. package/src/i18n/i18n.js +0 -16
  289. package/src/i18n/langs/cn.js +0 -526
  290. package/src/i18n/langs/en.js +0 -534
  291. package/vite.config.js +0 -36
  292. /package/{lib → es}/vite.svg +0 -0
@@ -1,153 +0,0 @@
1
- <template>
2
- <div
3
- ref="wfEditor"
4
- style="position:relative;height:100%;"
5
- >
6
- <div
7
- class="main"
8
- >
9
- <section>
10
- <wf-history-canvas
11
- onselectstart="return false"
12
- :process="process"
13
- :histories="histories"
14
- :current-tasks="currentTasks"
15
- :all-process-i18n="allProcessI18n"
16
- :show-history="true"
17
- class="canvas"
18
- @contextmenu.native.prevent="showContextMenu"
19
- />
20
- </section>
21
- </div>
22
- </div>
23
- </template>
24
- <script>
25
- import './assets/wf-editor-icons.js'
26
- import { mapGetters, mapMutations } from 'vuex'
27
- import { removeTextProperty, initializeProcessData, processTemplate } from './util'
28
- import WfHistoryCanvas from './main/wf-history-canvas'
29
- import convert from 'xml-js'
30
- import ApiJs from './api'
31
- export default {
32
- name: 'WorkflowHistory',
33
- components: {
34
- WfHistoryCanvas
35
- },
36
- props: {
37
- // 实例id
38
- id: {
39
- type: Number,
40
- default: null
41
- }
42
- },
43
- data: function() {
44
- return {
45
- process: null,
46
- histories: [],
47
- currentTasks: [],
48
- allProcessI18n: null
49
- }
50
- },
51
- computed: {
52
- ...mapGetters(
53
- 'wfEditor', ['componentToDraw', 'taches', 'transitions', 'contextMenuVisible']
54
- ),
55
- ...mapGetters([
56
- 'sidebar'
57
- ])
58
-
59
- },
60
- watch: {
61
-
62
- },
63
- created: function() {
64
- this.showHistory()
65
- },
66
- mounted: function() {
67
-
68
- },
69
- methods: {
70
- ...ApiJs,
71
- ...mapMutations('wfEditor', [
72
- 'setComponentToDraw',
73
- 'clearCanvas',
74
- 'setContextMenuVisible',
75
- 'setProcessI18n'
76
- ]),
77
- showHistory() {
78
- // 打开或新建流程图时先清空画布,开发过程中代码热更新的时候可以避免节点重复
79
- this.clearCanvas()
80
- if (this.id) {
81
- this.$http.get(this.baseAPI + '/wf-editor/i18n-settings/get-bundle-info?workflowId=' + this.id).then(processI18n => {
82
- this.allProcessI18n = processI18n
83
- const url = this.baseAPI + '/wf-editor/instance-histories/' + this.id
84
- this.$http.get(url).then(data => {
85
- this.initProcessByXml(data.xml)
86
- let mainBundleCode
87
- if (data.histories && data.histories.length > 0) {
88
- mainBundleCode = data.histories[0].bundleCode
89
- }
90
- if (!mainBundleCode && data.currentTasks && data.currentTasks.length > 0) {
91
- mainBundleCode = data.currentTasks[0].bundleCode
92
- }
93
- if (mainBundleCode) {
94
- this.setProcessI18n(processI18n[mainBundleCode])
95
- }
96
- this.histories = data.histories
97
- this.currentTasks = data.currentTasks
98
- })
99
- })
100
- } else {
101
- this.process = processTemplate.newProcess()
102
- initializeProcessData(this.process)
103
- }
104
- },
105
- showContextMenu(event) {
106
-
107
- },
108
- initProcessByXml(xml) {
109
- const options = { nativeType: true, attributesKey: 'attr', compact: true, ignoreComment: true, spaces: 4 }
110
- const processObj = convert.xml2js(xml, options)
111
- removeTextProperty(processObj.process)
112
- this.process = processObj.process
113
-
114
- initializeProcessData(this.process)
115
- }
116
- }
117
- }
118
- </script>
119
- <style lang="scss" scoped>
120
- .main{
121
- position: relative;
122
- display:flex;
123
- height: 100%;
124
- width:100%;
125
- }
126
- .canvas-container{
127
- position: relative;
128
- // display:flex;
129
- height: 100%;
130
- width:100%;
131
- }
132
-
133
- section{
134
- overflow: hidden;
135
- width:100%;
136
- height:100%;
137
- padding: 0;
138
- // min-height: 500px;
139
- }
140
- .canvas{
141
- overflow: auto;
142
- height:100%;
143
- // border:1px solid red;
144
- // background: #ffffff;
145
- padding: 0;
146
- min-height: 500px;
147
-
148
- }
149
- .canvas :deep(.draggable){
150
- cursor: default;
151
- }
152
- </style>
153
-
package/public/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/src/i18n/i18n.js DELETED
@@ -1,16 +0,0 @@
1
- import { createI18n } from 'vue-i18n'
2
- import en from './langs/en'
3
- import cn from './langs/cn'
4
-
5
- const messages = {
6
- en: en,
7
- cn: cn,
8
- }
9
-
10
- const i18n = createI18n({
11
- locale: 'cn', // 当前语言
12
- messages,
13
- legacy: false,
14
- })
15
-
16
- export default i18n