workflow-editor 0.0.81-up-tmp12 → 0.0.81-up-tmp16

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 (281) hide show
  1. package/es/{index.mjs → index.js} +4 -4
  2. package/es/plugins/{formValidatorUtil.mjs → formValidatorUtil.js} +16 -16
  3. package/es/plugins/{index.mjs → index.js} +1 -1
  4. package/es/src/i18n/i18n.js +7 -0
  5. package/es/style.css +152 -152
  6. package/es/workflow-editor/index.js +10 -0
  7. package/es/workflow-editor/src/json-object-templates/{auto-task.mjs → auto-task.js} +1 -1
  8. package/es/workflow-editor/src/json-object-templates/{copy-task.mjs → copy-task.js} +1 -1
  9. package/es/workflow-editor/src/json-object-templates/{decision.mjs → decision.js} +1 -1
  10. package/es/workflow-editor/src/json-object-templates/{end.mjs → end.js} +1 -1
  11. package/es/workflow-editor/src/json-object-templates/{fork.mjs → fork.js} +1 -1
  12. package/es/workflow-editor/src/json-object-templates/{human-decision.mjs → human-decision.js} +1 -1
  13. package/es/workflow-editor/src/json-object-templates/{human-task.mjs → human-task.js} +1 -1
  14. package/es/workflow-editor/src/json-object-templates/{join.mjs → join.js} +1 -1
  15. package/es/workflow-editor/src/json-object-templates/{process.mjs → process.js} +2 -2
  16. package/es/workflow-editor/src/json-object-templates/{start.mjs → start.js} +1 -1
  17. package/es/workflow-editor/src/json-object-templates/{subprocess.mjs → subprocess.js} +1 -1
  18. package/es/workflow-editor/src/main/{admin-save-dialog.vue.mjs → admin-save-dialog.vue.js} +1 -1
  19. package/es/workflow-editor/src/main/{canvas.vue.mjs → canvas.vue.js} +29 -29
  20. package/es/workflow-editor/src/main/{context-menu.vue.mjs → context-menu.vue.js} +3 -3
  21. package/es/workflow-editor/src/main/{icon-svg.vue.mjs → icon-svg.vue.js} +4 -4
  22. package/es/workflow-editor/src/main/{selection-region.vue.mjs → selection-region.vue.js} +3 -3
  23. package/es/workflow-editor/src/main/{tache-history-tooltip.vue.mjs → tache-history-tooltip.vue.js} +2 -2
  24. package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue.mjs → tache-subprocess-history-dialog.vue.js} +2 -2
  25. package/es/workflow-editor/src/main/{toolbox.vue.mjs → toolbox.vue.js} +6 -6
  26. package/es/workflow-editor/src/main/{wf-history-canvas.vue.mjs → wf-history-canvas.vue.js} +17 -17
  27. package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
  28. package/es/workflow-editor/src/properties-editors/{auto-task.vue.mjs → auto-task.vue.js} +3 -3
  29. package/es/workflow-editor/src/properties-editors/common/{additional-condition-utils.mjs → additional-condition-utils.js} +2 -2
  30. package/es/workflow-editor/src/properties-editors/common/{additional-condition.vue.mjs → additional-condition.vue.js} +3 -3
  31. package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields-utils.mjs → auto-filled-fields-utils.js} +1 -1
  32. package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields.vue.mjs → auto-filled-fields.vue.js} +6 -6
  33. package/es/workflow-editor/src/properties-editors/common/{common-notice-tool.vue.mjs → common-notice-tool.vue.js} +3 -3
  34. package/es/workflow-editor/src/properties-editors/common/{common-user-condition.vue.mjs → common-user-condition.vue.js} +4 -4
  35. package/es/workflow-editor/src/properties-editors/common/{form-fields.vue.mjs → form-fields.vue.js} +2 -2
  36. package/es/workflow-editor/src/properties-editors/common/{i18n-input.vue.mjs → i18n-input.vue.js} +6 -6
  37. package/es/workflow-editor/src/properties-editors/common/{i18n-set-dialog.vue.mjs → i18n-set-dialog.vue.js} +2 -2
  38. package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue.mjs → notice-reminder.vue.js} +7 -7
  39. package/es/workflow-editor/src/properties-editors/common/{notice.vue.mjs → notice.vue.js} +4 -4
  40. package/es/workflow-editor/src/properties-editors/common/{reminder.vue.mjs → reminder.vue.js} +5 -5
  41. package/es/workflow-editor/src/properties-editors/common/{select-mail-template.vue.mjs → select-mail-template.vue.js} +1 -1
  42. package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue.mjs → system-role-tree-inline.vue.js} +2 -2
  43. package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue.mjs → system-role-tree.vue.js} +3 -3
  44. package/es/workflow-editor/src/properties-editors/common/{task-title.vue.mjs → task-title.vue.js} +4 -4
  45. package/es/workflow-editor/src/properties-editors/common/{transactor-settings.vue.mjs → transactor-settings.vue.js} +4 -4
  46. package/es/workflow-editor/src/properties-editors/common/{user-selection.vue.mjs → user-selection.vue.js} +4 -4
  47. package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue.mjs → value-selection-dialog.vue.js} +4 -4
  48. package/es/workflow-editor/src/properties-editors/common/{variables.vue.mjs → variables.vue.js} +1 -1
  49. package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
  50. package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue.mjs → permission-settings.vue.js} +4 -4
  51. package/es/workflow-editor/src/properties-editors/{copy-task.vue.mjs → copy-task.vue.js} +11 -11
  52. package/es/workflow-editor/src/properties-editors/{decision.vue.mjs → decision.vue.js} +3 -3
  53. package/es/workflow-editor/src/properties-editors/{fork.vue.mjs → fork.vue.js} +2 -2
  54. package/es/workflow-editor/src/properties-editors/{human-decision.vue.mjs → human-decision.vue.js} +1 -1
  55. package/es/workflow-editor/src/properties-editors/human-task/{additional-condition-dialog.vue.mjs → additional-condition-dialog.vue.js} +2 -2
  56. package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
  57. package/es/workflow-editor/src/properties-editors/human-task/{componentsConfigUtil.mjs → componentsConfigUtil.js} +1 -1
  58. package/es/workflow-editor/src/properties-editors/human-task/{custom-actions.vue.mjs → custom-actions.vue.js} +4 -4
  59. package/es/workflow-editor/src/properties-editors/human-task/{editable-child-field-setting.vue.mjs → editable-child-field-setting.vue.js} +3 -3
  60. package/es/workflow-editor/src/properties-editors/human-task/{editable-child-fields.vue.mjs → editable-child-fields.vue.js} +3 -3
  61. package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue.mjs → editable-field-selection.vue.js} +3 -3
  62. package/es/workflow-editor/src/properties-editors/human-task/{editable-fields.vue.mjs → editable-fields.vue.js} +4 -4
  63. package/es/workflow-editor/src/properties-editors/human-task/{events.vue.mjs → events.vue.js} +1 -1
  64. package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue.mjs → permission-settings.vue.js} +7 -7
  65. package/es/workflow-editor/src/properties-editors/human-task/{selection-conditions.vue.mjs → selection-conditions.vue.js} +4 -4
  66. package/es/workflow-editor/src/properties-editors/{human-task.vue.mjs → human-task.vue.js} +9 -9
  67. package/es/workflow-editor/src/properties-editors/{join.vue.mjs → join.vue.js} +1 -1
  68. package/es/workflow-editor/src/properties-editors/process/{basic-properties.vue.mjs → basic-properties.vue.js} +6 -6
  69. package/es/workflow-editor/src/properties-editors/process/{events.vue.mjs → events.vue.js} +6 -6
  70. package/es/workflow-editor/src/properties-editors/process/{notice-settings.vue.mjs → notice-settings.vue.js} +3 -3
  71. package/es/workflow-editor/src/properties-editors/process/{parameter-settings.vue.mjs → parameter-settings.vue.js} +2 -2
  72. package/es/workflow-editor/src/properties-editors/process/{permission-settings.vue.mjs → permission-settings.vue.js} +2 -2
  73. package/es/workflow-editor/src/properties-editors/process/{selectPage.vue.mjs → selectPage.vue.js} +1 -1
  74. package/es/workflow-editor/src/properties-editors/{process.vue.mjs → process.vue.js} +8 -8
  75. package/es/workflow-editor/src/properties-editors/subprocess/{basic-properties.vue.mjs → basic-properties.vue.js} +8 -8
  76. package/es/workflow-editor/src/properties-editors/subprocess/{events.vue.mjs → events.vue.js} +1 -1
  77. package/es/workflow-editor/src/properties-editors/subprocess/{field-mappings.vue.mjs → field-mappings.vue.js} +5 -5
  78. package/es/workflow-editor/src/properties-editors/subprocess/{transactor-settings.vue.mjs → transactor-settings.vue.js} +7 -7
  79. package/es/workflow-editor/src/properties-editors/{subprocess.vue.mjs → subprocess.vue.js} +5 -5
  80. package/es/workflow-editor/src/properties-editors/transition/{basic-properties.vue.mjs → basic-properties.vue.js} +3 -3
  81. package/es/workflow-editor/src/properties-editors/{transition.vue.mjs → transition.vue.js} +9 -9
  82. package/es/workflow-editor/src/properties-editors/{user-condition.mjs → user-condition.js} +1 -1
  83. package/es/workflow-editor/src/store/{workflow-editor.mjs → workflow-editor.js} +1 -1
  84. package/es/workflow-editor/src/taches/{auto-task.vue.mjs → auto-task.vue.js} +7 -7
  85. package/es/workflow-editor/src/taches/{common-methods.mjs → common-methods.js} +1 -1
  86. package/es/workflow-editor/src/taches/{copy-task.vue.mjs → copy-task.vue.js} +7 -7
  87. package/es/workflow-editor/src/taches/{custom-task.vue.mjs → custom-task.vue.js} +4 -4
  88. package/es/workflow-editor/src/taches/{decision.vue.mjs → decision.vue.js} +5 -5
  89. package/es/workflow-editor/src/taches/{end.vue.mjs → end.vue.js} +4 -4
  90. package/es/workflow-editor/src/taches/{fork.vue.mjs → fork.vue.js} +5 -5
  91. package/es/workflow-editor/src/taches/{human-decision.vue.mjs → human-decision.vue.js} +7 -7
  92. package/es/workflow-editor/src/taches/{human-task.vue.mjs → human-task.vue.js} +5 -5
  93. package/es/workflow-editor/src/taches/{join.vue.mjs → join.vue.js} +4 -4
  94. package/es/workflow-editor/src/taches/{joint.vue.mjs → joint.vue.js} +3 -3
  95. package/es/workflow-editor/src/taches/{start.vue.mjs → start.vue.js} +4 -4
  96. package/es/workflow-editor/src/taches/{subprocess.vue.mjs → subprocess.vue.js} +7 -7
  97. package/es/workflow-editor/src/taches/{tache-resizer.vue.mjs → tache-resizer.vue.js} +2 -2
  98. package/es/workflow-editor/src/transitions/{broken-line.vue.mjs → broken-line.vue.js} +3 -3
  99. package/es/workflow-editor/src/transitions/{curve-line.vue.mjs → curve-line.vue.js} +3 -3
  100. package/es/workflow-editor/src/transitions/{straight-line.vue.mjs → straight-line.vue.js} +2 -2
  101. package/es/workflow-editor/src/transitions/{transition.vue.mjs → transition.vue.js} +8 -8
  102. package/es/workflow-editor/src/transitions/{virtual-transition.vue.mjs → virtual-transition.vue.js} +3 -3
  103. package/es/workflow-editor/src/{util.mjs → util.js} +13 -13
  104. package/es/workflow-editor/src/{workflow-editor.vue.mjs → workflow-editor.vue.js} +16 -16
  105. package/es/workflow-editor/src/{workflow-history.vue.mjs → workflow-history.vue.js} +8 -8
  106. package/lib/style.css +144 -144
  107. package/package.json +7 -1
  108. package/.prettierrc.json +0 -9
  109. package/es/src/i18n/i18n.mjs +0 -7
  110. package/es/workflow-editor/index.mjs +0 -10
  111. package/index.html +0 -13
  112. package/packages/index.js +0 -50
  113. package/packages/plugins/formValidatorUtil.js +0 -723
  114. package/packages/plugins/index.js +0 -8
  115. package/packages/workflow-editor/index.js +0 -14
  116. package/packages/workflow-editor/src/api.js +0 -7
  117. package/packages/workflow-editor/src/assets/tab-select.png +0 -0
  118. package/packages/workflow-editor/src/assets/tab-selectWhite.png +0 -0
  119. package/packages/workflow-editor/src/assets/wf-editor-icons.js +0 -2
  120. package/packages/workflow-editor/src/constant.js +0 -8
  121. package/packages/workflow-editor/src/json-object-templates/auto-task.js +0 -70
  122. package/packages/workflow-editor/src/json-object-templates/copy-task.js +0 -72
  123. package/packages/workflow-editor/src/json-object-templates/decision.js +0 -11
  124. package/packages/workflow-editor/src/json-object-templates/end.js +0 -14
  125. package/packages/workflow-editor/src/json-object-templates/fork.js +0 -10
  126. package/packages/workflow-editor/src/json-object-templates/human-decision.js +0 -9
  127. package/packages/workflow-editor/src/json-object-templates/human-task.js +0 -208
  128. package/packages/workflow-editor/src/json-object-templates/join.js +0 -10
  129. package/packages/workflow-editor/src/json-object-templates/process.js +0 -99
  130. package/packages/workflow-editor/src/json-object-templates/start.js +0 -13
  131. package/packages/workflow-editor/src/json-object-templates/subprocess.js +0 -31
  132. package/packages/workflow-editor/src/json-object-templates/transition.js +0 -26
  133. package/packages/workflow-editor/src/main/admin-save-dialog.vue +0 -67
  134. package/packages/workflow-editor/src/main/canvas.vue +0 -493
  135. package/packages/workflow-editor/src/main/context-menu.vue +0 -147
  136. package/packages/workflow-editor/src/main/icon-svg.vue +0 -32
  137. package/packages/workflow-editor/src/main/selection-region.vue +0 -66
  138. package/packages/workflow-editor/src/main/tache-history-tooltip.vue +0 -38
  139. package/packages/workflow-editor/src/main/tache-name-input.vue +0 -19
  140. package/packages/workflow-editor/src/main/tache-subprocess-history-dialog.vue +0 -40
  141. package/packages/workflow-editor/src/main/toolbox.vue +0 -60
  142. package/packages/workflow-editor/src/main/wf-history-canvas.vue +0 -309
  143. package/packages/workflow-editor/src/process-json.js +0 -624
  144. package/packages/workflow-editor/src/process-service.js +0 -68
  145. package/packages/workflow-editor/src/properties-editors/auto-task/basic-properties.vue +0 -81
  146. package/packages/workflow-editor/src/properties-editors/auto-task/permission-settings.vue +0 -155
  147. package/packages/workflow-editor/src/properties-editors/auto-task.vue +0 -74
  148. package/packages/workflow-editor/src/properties-editors/common/additional-condition-utils.js +0 -568
  149. package/packages/workflow-editor/src/properties-editors/common/additional-condition.vue +0 -320
  150. package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.js +0 -34
  151. package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields.vue +0 -268
  152. package/packages/workflow-editor/src/properties-editors/common/common-notice-tool.vue +0 -81
  153. package/packages/workflow-editor/src/properties-editors/common/common-user-condition.vue +0 -242
  154. package/packages/workflow-editor/src/properties-editors/common/form-fields-utils.js +0 -23
  155. package/packages/workflow-editor/src/properties-editors/common/form-fields.vue +0 -117
  156. package/packages/workflow-editor/src/properties-editors/common/i18n-input.vue +0 -88
  157. package/packages/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue +0 -143
  158. package/packages/workflow-editor/src/properties-editors/common/notice-reminder.vue +0 -149
  159. package/packages/workflow-editor/src/properties-editors/common/notice.vue +0 -108
  160. package/packages/workflow-editor/src/properties-editors/common/reminder.vue +0 -272
  161. package/packages/workflow-editor/src/properties-editors/common/select-mail-template.vue +0 -92
  162. package/packages/workflow-editor/src/properties-editors/common/standard-fields.vue +0 -66
  163. package/packages/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue +0 -354
  164. package/packages/workflow-editor/src/properties-editors/common/system-role-tree.vue +0 -68
  165. package/packages/workflow-editor/src/properties-editors/common/task-title.vue +0 -165
  166. package/packages/workflow-editor/src/properties-editors/common/transactor-settings.vue +0 -275
  167. package/packages/workflow-editor/src/properties-editors/common/user-selection.vue +0 -426
  168. package/packages/workflow-editor/src/properties-editors/common/value-selection-dialog.vue +0 -272
  169. package/packages/workflow-editor/src/properties-editors/common/variables.vue +0 -139
  170. package/packages/workflow-editor/src/properties-editors/copy-task/basic-properties.vue +0 -90
  171. package/packages/workflow-editor/src/properties-editors/copy-task/permission-settings.vue +0 -155
  172. package/packages/workflow-editor/src/properties-editors/copy-task.vue +0 -95
  173. package/packages/workflow-editor/src/properties-editors/decision.vue +0 -95
  174. package/packages/workflow-editor/src/properties-editors/fork.vue +0 -77
  175. package/packages/workflow-editor/src/properties-editors/human-decision.vue +0 -49
  176. package/packages/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue +0 -62
  177. package/packages/workflow-editor/src/properties-editors/human-task/basic-properties.vue +0 -184
  178. package/packages/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.js +0 -359
  179. package/packages/workflow-editor/src/properties-editors/human-task/custom-actions.vue +0 -256
  180. package/packages/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue +0 -405
  181. package/packages/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue +0 -257
  182. package/packages/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue +0 -430
  183. package/packages/workflow-editor/src/properties-editors/human-task/editable-fields.vue +0 -206
  184. package/packages/workflow-editor/src/properties-editors/human-task/events.vue +0 -60
  185. package/packages/workflow-editor/src/properties-editors/human-task/permission-settings.vue +0 -224
  186. package/packages/workflow-editor/src/properties-editors/human-task/selection-conditions.vue +0 -499
  187. package/packages/workflow-editor/src/properties-editors/human-task.vue +0 -107
  188. package/packages/workflow-editor/src/properties-editors/join.vue +0 -49
  189. package/packages/workflow-editor/src/properties-editors/process/basic-properties.vue +0 -336
  190. package/packages/workflow-editor/src/properties-editors/process/events.vue +0 -79
  191. package/packages/workflow-editor/src/properties-editors/process/notice-settings.vue +0 -68
  192. package/packages/workflow-editor/src/properties-editors/process/parameter-settings.vue +0 -106
  193. package/packages/workflow-editor/src/properties-editors/process/permission-settings.vue +0 -28
  194. package/packages/workflow-editor/src/properties-editors/process/selectPage.vue +0 -88
  195. package/packages/workflow-editor/src/properties-editors/process.vue +0 -115
  196. package/packages/workflow-editor/src/properties-editors/subprocess/basic-properties.vue +0 -201
  197. package/packages/workflow-editor/src/properties-editors/subprocess/events.vue +0 -26
  198. package/packages/workflow-editor/src/properties-editors/subprocess/field-mappings.vue +0 -216
  199. package/packages/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue +0 -66
  200. package/packages/workflow-editor/src/properties-editors/subprocess.vue +0 -80
  201. package/packages/workflow-editor/src/properties-editors/transition/basic-properties.vue +0 -53
  202. package/packages/workflow-editor/src/properties-editors/transition.vue +0 -75
  203. package/packages/workflow-editor/src/properties-editors/user-condition.js +0 -183
  204. package/packages/workflow-editor/src/store/getters.js +0 -33
  205. package/packages/workflow-editor/src/store/workflow-editor.js +0 -153
  206. package/packages/workflow-editor/src/taches/auto-task.vue +0 -99
  207. package/packages/workflow-editor/src/taches/common-methods.js +0 -21
  208. package/packages/workflow-editor/src/taches/copy-task.vue +0 -99
  209. package/packages/workflow-editor/src/taches/custom-task.vue +0 -88
  210. package/packages/workflow-editor/src/taches/decision.vue +0 -102
  211. package/packages/workflow-editor/src/taches/end.vue +0 -76
  212. package/packages/workflow-editor/src/taches/fork.vue +0 -102
  213. package/packages/workflow-editor/src/taches/human-decision.vue +0 -102
  214. package/packages/workflow-editor/src/taches/human-task.vue +0 -113
  215. package/packages/workflow-editor/src/taches/join.vue +0 -91
  216. package/packages/workflow-editor/src/taches/joint.vue +0 -177
  217. package/packages/workflow-editor/src/taches/start.vue +0 -76
  218. package/packages/workflow-editor/src/taches/subprocess.vue +0 -99
  219. package/packages/workflow-editor/src/taches/tache-resizer.vue +0 -80
  220. package/packages/workflow-editor/src/transitions/broken-line.vue +0 -91
  221. package/packages/workflow-editor/src/transitions/curve-line.vue +0 -91
  222. package/packages/workflow-editor/src/transitions/straight-line.vue +0 -26
  223. package/packages/workflow-editor/src/transitions/transition.vue +0 -209
  224. package/packages/workflow-editor/src/transitions/virtual-transition.vue +0 -43
  225. package/packages/workflow-editor/src/util.js +0 -499
  226. package/packages/workflow-editor/src/workflow-editor.vue +0 -852
  227. package/packages/workflow-editor/src/workflow-history.vue +0 -153
  228. package/public/vite.svg +0 -1
  229. package/src/i18n/i18n.js +0 -16
  230. package/src/i18n/langs/cn.js +0 -521
  231. package/src/i18n/langs/en.js +0 -529
  232. package/vite.config.js +0 -103
  233. /package/es/_virtual/{_plugin-vue_export-helper.mjs → _plugin-vue_export-helper.js} +0 -0
  234. /package/es/src/i18n/langs/{cn.mjs → cn.js} +0 -0
  235. /package/es/src/i18n/langs/{en.mjs → en.js} +0 -0
  236. /package/es/workflow-editor/src/{api.mjs → api.js} +0 -0
  237. /package/es/workflow-editor/src/assets/{wf-editor-icons.mjs → wf-editor-icons.js} +0 -0
  238. /package/es/workflow-editor/src/json-object-templates/{transition.mjs → transition.js} +0 -0
  239. /package/es/workflow-editor/src/main/{canvas.vue2.mjs → canvas.vue2.js} +0 -0
  240. /package/es/workflow-editor/src/main/{context-menu.vue2.mjs → context-menu.vue2.js} +0 -0
  241. /package/es/workflow-editor/src/main/{icon-svg.vue2.mjs → icon-svg.vue2.js} +0 -0
  242. /package/es/workflow-editor/src/main/{selection-region.vue2.mjs → selection-region.vue2.js} +0 -0
  243. /package/es/workflow-editor/src/main/{tache-history-tooltip.vue2.mjs → tache-history-tooltip.vue2.js} +0 -0
  244. /package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue2.mjs → tache-subprocess-history-dialog.vue2.js} +0 -0
  245. /package/es/workflow-editor/src/main/{toolbox.vue2.mjs → toolbox.vue2.js} +0 -0
  246. /package/es/workflow-editor/src/main/{wf-history-canvas.vue2.mjs → wf-history-canvas.vue2.js} +0 -0
  247. /package/es/workflow-editor/src/{process-service.mjs → process-service.js} +0 -0
  248. /package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
  249. /package/es/workflow-editor/src/properties-editors/{auto-task.vue2.mjs → auto-task.vue2.js} +0 -0
  250. /package/es/workflow-editor/src/properties-editors/common/{form-fields-utils.mjs → form-fields-utils.js} +0 -0
  251. /package/es/workflow-editor/src/properties-editors/common/{form-fields.vue2.mjs → form-fields.vue2.js} +0 -0
  252. /package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue2.mjs → notice-reminder.vue2.js} +0 -0
  253. /package/es/workflow-editor/src/properties-editors/common/{reminder.vue2.mjs → reminder.vue2.js} +0 -0
  254. /package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue2.mjs → system-role-tree-inline.vue2.js} +0 -0
  255. /package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue2.mjs → system-role-tree.vue2.js} +0 -0
  256. /package/es/workflow-editor/src/properties-editors/common/{task-title.vue2.mjs → task-title.vue2.js} +0 -0
  257. /package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue2.mjs → value-selection-dialog.vue2.js} +0 -0
  258. /package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
  259. /package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue2.mjs → permission-settings.vue2.js} +0 -0
  260. /package/es/workflow-editor/src/properties-editors/{copy-task.vue2.mjs → copy-task.vue2.js} +0 -0
  261. /package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
  262. /package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue2.mjs → editable-field-selection.vue2.js} +0 -0
  263. /package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue2.mjs → permission-settings.vue2.js} +0 -0
  264. /package/es/workflow-editor/src/properties-editors/{human-task.vue2.mjs → human-task.vue2.js} +0 -0
  265. /package/es/workflow-editor/src/properties-editors/{subprocess.vue2.mjs → subprocess.vue2.js} +0 -0
  266. /package/es/workflow-editor/src/properties-editors/{transition.vue2.mjs → transition.vue2.js} +0 -0
  267. /package/es/workflow-editor/src/store/{getters.mjs → getters.js} +0 -0
  268. /package/es/workflow-editor/src/taches/{decision.vue2.mjs → decision.vue2.js} +0 -0
  269. /package/es/workflow-editor/src/taches/{end.vue2.mjs → end.vue2.js} +0 -0
  270. /package/es/workflow-editor/src/taches/{fork.vue2.mjs → fork.vue2.js} +0 -0
  271. /package/es/workflow-editor/src/taches/{human-decision.vue2.mjs → human-decision.vue2.js} +0 -0
  272. /package/es/workflow-editor/src/taches/{join.vue2.mjs → join.vue2.js} +0 -0
  273. /package/es/workflow-editor/src/taches/{joint.vue2.mjs → joint.vue2.js} +0 -0
  274. /package/es/workflow-editor/src/taches/{start.vue2.mjs → start.vue2.js} +0 -0
  275. /package/es/workflow-editor/src/taches/{tache-resizer.vue2.mjs → tache-resizer.vue2.js} +0 -0
  276. /package/es/workflow-editor/src/transitions/{broken-line.vue2.mjs → broken-line.vue2.js} +0 -0
  277. /package/es/workflow-editor/src/transitions/{curve-line.vue2.mjs → curve-line.vue2.js} +0 -0
  278. /package/es/workflow-editor/src/transitions/{transition.vue2.mjs → transition.vue2.js} +0 -0
  279. /package/es/workflow-editor/src/transitions/{virtual-transition.vue2.mjs → virtual-transition.vue2.js} +0 -0
  280. /package/es/workflow-editor/src/{workflow-editor.vue2.mjs → workflow-editor.vue2.js} +0 -0
  281. /package/es/workflow-editor/src/{workflow-history.vue2.mjs → workflow-history.vue2.js} +0 -0
@@ -1,26 +1,26 @@
1
- import "./assets/wf-editor-icons.mjs";
1
+ import "./assets/wf-editor-icons.js";
2
2
  import { mapGetters as e, mapMutations as t } from "vuex";
3
- import { getComponentInfo as s, processTemplate as o, initializeProcessData as i, removeTextProperty as n, getMousePosition as r } from "./util.mjs";
4
- import a from "./main/toolbox.vue.mjs";
5
- import l from "./main/canvas.vue.mjs";
6
- import d from "./main/icon-svg.vue.mjs";
7
- import c from "./main/context-menu.vue.mjs";
3
+ import { getComponentInfo as s, processTemplate as o, initializeProcessData as i, removeTextProperty as n, getMousePosition as r } from "./util.js";
4
+ import a from "./main/toolbox.vue.js";
5
+ import l from "./main/canvas.vue.js";
6
+ import d from "./main/icon-svg.vue.js";
7
+ import c from "./main/context-menu.vue.js";
8
8
  import h from "xml-js";
9
- import f from "./process-service.mjs";
10
- import m from "file-saver";
11
- import p from "prismjs";
12
- import u from "./main/admin-save-dialog.vue.mjs";
9
+ import f from "./process-service.js";
10
+ import p from "file-saver";
11
+ import m from "prismjs";
12
+ import u from "./main/admin-save-dialog.vue.js";
13
13
  import { authApi as w, http as b } from "agilebuilder-ui";
14
14
  import { resolveComponent as y, resolveDirective as g, openBlock as C, createElementBlock as v, createVNode as x, withCtx as P, createBlock as k, createTextVNode as S, toDisplayString as V, createCommentVNode as I, withDirectives as $, createElementVNode as D, Fragment as E, renderList as T, withModifiers as M, normalizeStyle as A } from "vue";
15
- import "./workflow-editor.vue2.mjs";
16
- import F from "../../_virtual/_plugin-vue_export-helper.mjs";
15
+ import "./workflow-editor.vue2.js";
16
+ import F from "../../_virtual/_plugin-vue_export-helper.js";
17
17
  const X = { name: "WorkflowEditor", components: { WorkflowCanvas: l, Toolbox: a, IconSvg: d, ContextMenu: c, AdminSaveDialog: u }, props: { code: { type: String, default: null }, version: { type: Number, default: null }, id: { type: Number, default: null }, readonly: { type: Boolean, default: false }, systemCode: { type: String, default: null }, systemPublishVersion: { type: Number, default: null }, pageCode: { type: String, default: null } }, data: function() {
18
18
  return { activeTab: "canvas", count: 1, currentPosition: { x: 0, y: 0 }, process: null, definitionId: null, xml: "", contextMenuPosition: null, isAdminSave: false, isShowEnable: false, defVersion: 0, workflowDefVersionList: [], isShowDefVersionList: false, canvasKey: 0 };
19
19
  }, computed: { ...e("wfEditor", ["componentToDraw", "taches", "selectedTaches", "transitions", "contextMenuVisible", "systemVersion", "tableCode", "pageCode", "sourceComponentType"]), ...e(["sidebar"]), componentInfo() {
20
20
  return s(this.componentToDraw);
21
21
  } }, watch: { activeTab(e2) {
22
22
  "xml" === e2 && (this.xml = this.getProcessXml(), this.$nextTick(function() {
23
- p.highlightElement(this.$refs.xml);
23
+ m.highlightElement(this.$refs.xml);
24
24
  }));
25
25
  }, sourceComponentType(e2) {
26
26
  e2 && this.copyTache();
@@ -134,7 +134,7 @@ const X = { name: "WorkflowEditor", components: { WorkflowCanvas: l, Toolbox: a,
134
134
  });
135
135
  }, exportProcessFromClient() {
136
136
  const e2 = new Blob([this.getProcessXml()], { type: "text/xml;charset=utf-8" });
137
- m.saveAs(e2, this.process.attr.name + ".xml");
137
+ p.saveAs(e2, this.process.attr.name + ".xml");
138
138
  }, exportProcess() {
139
139
  const e2 = this.getProcessXml();
140
140
  this.$http({ method: "post", url: this.baseAPI + "/wf-editor/save-as-xmls", data: { xmlContent: e2 } }).then((e3) => {
@@ -197,8 +197,8 @@ const X = { name: "WorkflowEditor", components: { WorkflowCanvas: l, Toolbox: a,
197
197
  });
198
198
  } } }, _ = { style: { width: "100%", height: "100%", background: "#fff" } }, L = { key: 0, class: "xml line-numbers" };
199
199
  const W = F(X, [["render", function(e2, t2, s2, o2, i2, n2) {
200
- const r2 = y("el-button"), a2 = y("el-option"), l2 = y("el-select"), d2 = y("el-row"), c2 = y("toolbox"), h2 = y("workflow-canvas"), f2 = y("el-tab-pane"), m2 = y("el-tabs"), p2 = y("icon-svg"), u2 = y("context-menu"), w2 = y("admin-save-dialog"), b2 = g("permission");
201
- return C(), v("div", { ref: "wfEditor", style: { position: "relative", height: "100%" }, onMousedown: t2[9] || (t2[9] = (t3) => e2.setContextMenuVisible(false)), onMousewheel: t2[10] || (t2[10] = (t3) => e2.setContextMenuVisible(false)) }, [x(d2, { class: "button-area" }, { default: P(() => [s2.readonly ? I("", true) : (C(), k(r2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), s2.readonly ? I("", true) : $((C(), k(r2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[b2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (C(), k(r2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : I("", true), x(r2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), s2.readonly ? I("", true) : (C(), k(r2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.open")) + " ", 1), D("input", { ref: "processFile", type: "file", name: "processFile", accept: ".xml", style: { display: "none" }, onChange: t2[0] || (t2[0] = (...e3) => n2.openXmlFromClient && n2.openXmlFromClient(...e3)) }, null, 544)]), _: 1 }, 8, ["onClick"])), x(r2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (C(), k(l2, { key: 4, modelValue: e2.defVersion, "onUpdate:modelValue": t2[2] || (t2[2] = (t3) => e2.defVersion = t3), style: { "padding-left": "10px", width: "200px" }, onChange: n2.changeDefVersion }, { default: P(() => [(C(true), v(E, null, T(e2.workflowDefVersionList, (e3) => (C(), k(a2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : I("", true)]), _: 1 }), D("div", { class: "main", onMousedown: t2[4] || (t2[4] = (...e3) => n2.startDrag && n2.startDrag(...e3)), onMousemove: t2[5] || (t2[5] = (...e3) => n2.drag && n2.drag(...e3)), onMouseup: t2[6] || (t2[6] = (...e3) => n2.endDrag && n2.endDrag(...e3)), onMouseleave: t2[7] || (t2[7] = (...e3) => n2.clearStatus && n2.clearStatus(...e3)) }, [s2.readonly ? I("", true) : (C(), k(c2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (C(), v("section", { class: "tabBox", key: e2.canvasKey }, [x(m2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: P(() => [x(f2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: P(() => [x(h2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: M(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), x(f2, { label: "XML", name: "xml", class: "tab-pane" }, { default: P(() => [D("div", _, ["xml" === e2.activeTab ? (C(), v("pre", L, [D("code", { ref: "xml", class: "language-xml" }, V(e2.xml), 513)])) : I("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (C(), k(p2, { key: 0, style: A({ height: n2.componentInfo.height, width: n2.componentInfo.width, color: n2.componentInfo.color, left: e2.currentPosition.x + "px", top: e2.currentPosition.y + "px" }), icon: n2.componentInfo.icon, class: "component-icon" }, null, 8, ["style", "icon"])) : I("", true), e2.contextMenuVisible ? (C(), k(u2, { key: 1, style: A({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : I("", true), e2.isAdminSave ? (C(), k(w2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : I("", true)], 544);
200
+ const r2 = y("el-button"), a2 = y("el-option"), l2 = y("el-select"), d2 = y("el-row"), c2 = y("toolbox"), h2 = y("workflow-canvas"), f2 = y("el-tab-pane"), p2 = y("el-tabs"), m2 = y("icon-svg"), u2 = y("context-menu"), w2 = y("admin-save-dialog"), b2 = g("permission");
201
+ return C(), v("div", { ref: "wfEditor", style: { position: "relative", height: "100%" }, onMousedown: t2[9] || (t2[9] = (t3) => e2.setContextMenuVisible(false)), onMousewheel: t2[10] || (t2[10] = (t3) => e2.setContextMenuVisible(false)) }, [x(d2, { class: "button-area" }, { default: P(() => [s2.readonly ? I("", true) : (C(), k(r2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), s2.readonly ? I("", true) : $((C(), k(r2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[b2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (C(), k(r2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : I("", true), x(r2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), s2.readonly ? I("", true) : (C(), k(r2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.open")) + " ", 1), D("input", { ref: "processFile", type: "file", name: "processFile", accept: ".xml", style: { display: "none" }, onChange: t2[0] || (t2[0] = (...e3) => n2.openXmlFromClient && n2.openXmlFromClient(...e3)) }, null, 544)]), _: 1 }, 8, ["onClick"])), x(r2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (C(), k(l2, { key: 4, modelValue: e2.defVersion, "onUpdate:modelValue": t2[2] || (t2[2] = (t3) => e2.defVersion = t3), style: { "padding-left": "10px", width: "200px" }, onChange: n2.changeDefVersion }, { default: P(() => [(C(true), v(E, null, T(e2.workflowDefVersionList, (e3) => (C(), k(a2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : I("", true)]), _: 1 }), D("div", { class: "main", onMousedown: t2[4] || (t2[4] = (...e3) => n2.startDrag && n2.startDrag(...e3)), onMousemove: t2[5] || (t2[5] = (...e3) => n2.drag && n2.drag(...e3)), onMouseup: t2[6] || (t2[6] = (...e3) => n2.endDrag && n2.endDrag(...e3)), onMouseleave: t2[7] || (t2[7] = (...e3) => n2.clearStatus && n2.clearStatus(...e3)) }, [s2.readonly ? I("", true) : (C(), k(c2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (C(), v("section", { class: "tabBox", key: e2.canvasKey }, [x(p2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: P(() => [x(f2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: P(() => [x(h2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: M(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), x(f2, { label: "XML", name: "xml", class: "tab-pane" }, { default: P(() => [D("div", _, ["xml" === e2.activeTab ? (C(), v("pre", L, [D("code", { ref: "xml", class: "language-xml" }, V(e2.xml), 513)])) : I("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (C(), k(m2, { key: 0, style: A({ height: n2.componentInfo.height, width: n2.componentInfo.width, color: n2.componentInfo.color, left: e2.currentPosition.x + "px", top: e2.currentPosition.y + "px" }), icon: n2.componentInfo.icon, class: "component-icon" }, null, 8, ["style", "icon"])) : I("", true), e2.contextMenuVisible ? (C(), k(u2, { key: 1, style: A({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : I("", true), e2.isAdminSave ? (C(), k(w2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : I("", true)], 544);
202
202
  }], ["__scopeId", "data-v-865cb4ee"]]);
203
203
  export {
204
204
  W as default
@@ -1,12 +1,12 @@
1
- import "./assets/wf-editor-icons.mjs";
1
+ import "./assets/wf-editor-icons.js";
2
2
  import { mapGetters as s, mapMutations as t } from "vuex";
3
- import { processTemplate as e, initializeProcessData as o, removeTextProperty as r } from "./util.mjs";
4
- import i from "./main/wf-history-canvas.vue.mjs";
3
+ import { processTemplate as e, initializeProcessData as o, removeTextProperty as r } from "./util.js";
4
+ import i from "./main/wf-history-canvas.vue.js";
5
5
  import n from "xml-js";
6
- import a from "./api.mjs";
7
- import { resolveComponent as c, openBlock as l, createElementBlock as h, createElementVNode as u, createVNode as m, withModifiers as p } from "vue";
8
- import "./workflow-history.vue2.mjs";
9
- import d from "../../_virtual/_plugin-vue_export-helper.mjs";
6
+ import a from "./api.js";
7
+ import { resolveComponent as c, openBlock as l, createElementBlock as h, createElementVNode as u, createVNode as p, withModifiers as m } from "vue";
8
+ import "./workflow-history.vue2.js";
9
+ import d from "../../_virtual/_plugin-vue_export-helper.js";
10
10
  const f = { name: "WorkflowHistory", components: { WfHistoryCanvas: i }, props: { id: { type: Number, default: null } }, data: function() {
11
11
  return { process: null, histories: [], currentTasks: [], allProcessI18n: null };
12
12
  }, computed: { ...s("wfEditor", ["componentToDraw", "taches", "transitions", "contextMenuVisible"]), ...s(["sidebar"]) }, watch: {}, created: function() {
@@ -28,7 +28,7 @@ const f = { name: "WorkflowHistory", components: { WfHistoryCanvas: i }, props:
28
28
  } } }, w = { ref: "wfEditor", style: { position: "relative", height: "100%" } }, v = { class: "main" };
29
29
  const y = d(f, [["render", function(s2, t2, e2, o2, r2, i2) {
30
30
  const n2 = c("wf-history-canvas");
31
- return l(), h("div", w, [u("div", v, [u("section", null, [m(n2, { onselectstart: "return false", process: s2.process, histories: s2.histories, "current-tasks": s2.currentTasks, "all-process-i18n": s2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: p(i2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
31
+ return l(), h("div", w, [u("div", v, [u("section", null, [p(n2, { onselectstart: "return false", process: s2.process, histories: s2.histories, "current-tasks": s2.currentTasks, "all-process-i18n": s2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: m(i2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
32
32
  }], ["__scopeId", "data-v-6658e14b"]]);
33
33
  export {
34
34
  y as default
package/lib/style.css CHANGED
@@ -1,29 +1,4 @@
1
- @charset "UTF-8";.main[data-v-6658e14b] {
2
- position: relative;
3
- display: flex;
4
- height: 100%;
5
- width: 100%;
6
- }
7
- .canvas-container[data-v-6658e14b] {
8
- position: relative;
9
- height: 100%;
10
- width: 100%;
11
- }
12
- section[data-v-6658e14b] {
13
- overflow: hidden;
14
- width: 100%;
15
- height: 100%;
16
- padding: 0;
17
- }
18
- .canvas[data-v-6658e14b] {
19
- overflow: auto;
20
- height: 100%;
21
- padding: 0;
22
- min-height: 500px;
23
- }
24
- .canvas[data-v-6658e14b] .draggable {
25
- cursor: default;
26
- }
1
+ @charset "UTF-8";
27
2
  .button-area[data-v-865cb4ee] {
28
3
  padding: 5px 0 5px 5px;
29
4
  height: 50px;
@@ -125,20 +100,31 @@ pre[data-v-865cb4ee] {
125
100
  /* 去掉卡片和tab表头的距离 */
126
101
  [data-v-865cb4ee] .el-tabs__header {
127
102
  margin: 0;
128
- }h3[data-v-0d941719] {
129
- color: #999999;
130
- margin: 0;
103
+ }.main[data-v-6658e14b] {
104
+ position: relative;
105
+ display: flex;
106
+ height: 100%;
107
+ width: 100%;
108
+ }
109
+ .canvas-container[data-v-6658e14b] {
110
+ position: relative;
111
+ height: 100%;
112
+ width: 100%;
113
+ }
114
+ section[data-v-6658e14b] {
115
+ overflow: hidden;
116
+ width: 100%;
117
+ height: 100%;
131
118
  padding: 0;
132
- font-weight: bold;
133
- font-size: 18px;
134
119
  }
135
- .el-button[data-v-0d941719] {
136
- margin: 6px 0;
137
- min-width: 110px;
138
- padding: 9px 15px;
120
+ .canvas[data-v-6658e14b] {
121
+ overflow: auto;
122
+ height: 100%;
123
+ padding: 0;
124
+ min-height: 500px;
139
125
  }
140
- .el-button i[data-v-0d941719] {
141
- padding-right: 4px;
126
+ .canvas[data-v-6658e14b] .draggable {
127
+ cursor: default;
142
128
  }
143
129
  #svg{
144
130
  /* border:1px solid red; */
@@ -169,6 +155,22 @@ g text{
169
155
  fill: #fff;
170
156
  stroke: #666;
171
157
  stroke-width: 2;
158
+ }
159
+ .passed-tache .task-tache{
160
+ fill: green;
161
+ stroke: green;
162
+ stroke-width: 2;
163
+ }
164
+ .current-tache .task-tache{
165
+ fill: red;
166
+ stroke: red;
167
+ stroke-width: 2;
168
+ }
169
+ .passed-tache text{
170
+ fill:white;
171
+ }
172
+ .current-tache text{
173
+ fill: white
172
174
  }
173
175
 
174
176
  #svg{
@@ -200,24 +202,30 @@ g text{
200
202
  fill: #fff;
201
203
  stroke: #666;
202
204
  stroke-width: 2;
205
+ }
206
+
207
+ .svg-icon {
208
+ width: 1em;
209
+ height: 1em;
210
+ vertical-align: -0.15em;
211
+ fill: currentColor;
212
+ overflow: hidden;
213
+ }
214
+ h3[data-v-0d941719] {
215
+ color: #999999;
216
+ margin: 0;
217
+ padding: 0;
218
+ font-weight: bold;
219
+ font-size: 18px;
203
220
  }
204
- .passed-tache .task-tache{
205
- fill: green;
206
- stroke: green;
207
- stroke-width: 2;
208
- }
209
- .current-tache .task-tache{
210
- fill: red;
211
- stroke: red;
212
- stroke-width: 2;
213
- }
214
- .passed-tache text{
215
- fill:white;
221
+ .el-button[data-v-0d941719] {
222
+ margin: 6px 0;
223
+ min-width: 110px;
224
+ padding: 9px 15px;
216
225
  }
217
- .current-tache text{
218
- fill: white
219
- }
220
- li[data-v-7e8a1cf6] {
226
+ .el-button i[data-v-0d941719] {
227
+ padding-right: 4px;
228
+ }li[data-v-7e8a1cf6] {
221
229
  color: #333;
222
230
  }
223
231
  .context-menu[data-v-7e8a1cf6] {
@@ -266,9 +274,23 @@ li[data-v-7e8a1cf6] {
266
274
  fill:#fff;
267
275
  }
268
276
 
269
- .decision{
270
- stroke-width: 0;
271
- fill:#fff;
277
+ .transition[data-v-a1576cad] {
278
+ stroke-width: 2;
279
+ stroke: #666;
280
+ fill: none;
281
+ cursor: pointer;
282
+ }
283
+ .selected[data-v-a1576cad] {
284
+ stroke: red;
285
+ }
286
+ .transition-dragger[data-v-a1576cad] {
287
+ stroke: red;
288
+ stroke-width: 1;
289
+ fill: white;
290
+ cursor: move;
291
+ }
292
+ .no-events[data-v-a1576cad] {
293
+ pointer-events: none;
272
294
  }
273
295
 
274
296
  .human-decision{
@@ -276,6 +298,28 @@ li[data-v-7e8a1cf6] {
276
298
  fill:#fff;
277
299
  }
278
300
 
301
+ .decision{
302
+ stroke-width: 0;
303
+ fill:#fff;
304
+ }
305
+ #_subprocess-content[data-v-2b195c05] {
306
+ width: 100%;
307
+ height: calc(100vh - 200px);
308
+ }.tooltip[data-v-ac799913] {
309
+ position: absolute;
310
+ background: #fff;
311
+ min-width: 150px;
312
+ border-radius: 4px;
313
+ border: 1px solid #ebeef5;
314
+ padding: 12px;
315
+ z-index: 2000;
316
+ color: #606266;
317
+ line-height: 1.4;
318
+ text-align: justify;
319
+ font-size: 14px;
320
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
321
+ word-break: break-all;
322
+ }
279
323
  .virtual-transition{
280
324
  stroke-width: 2;
281
325
  stroke:#000;
@@ -283,19 +327,6 @@ li[data-v-7e8a1cf6] {
283
327
  fill: none;
284
328
  }
285
329
 
286
- .svg-icon {
287
- width: 1em;
288
- height: 1em;
289
- vertical-align: -0.15em;
290
- fill: currentColor;
291
- overflow: hidden;
292
- }
293
-
294
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
295
- .properties-editor[data-v-1651d82a] .el-dialog__body {
296
- padding-top: 0;
297
- }
298
-
299
330
  .selection-region{
300
331
  stroke: blue;
301
332
  stroke-width: 1;
@@ -309,24 +340,10 @@ li[data-v-7e8a1cf6] {
309
340
  /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
310
341
  pointer-events:none;
311
342
  }
312
-
313
- .transition[data-v-a1576cad] {
314
- stroke-width: 2;
315
- stroke: #666;
316
- fill: none;
317
- cursor: pointer;
318
- }
319
- .selected[data-v-a1576cad] {
320
- stroke: red;
321
- }
322
- .transition-dragger[data-v-a1576cad] {
323
- stroke: red;
324
- stroke-width: 1;
325
- fill: white;
326
- cursor: move;
327
- }
328
- .no-events[data-v-a1576cad] {
329
- pointer-events: none;
343
+
344
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
345
+ .properties-editor[data-v-1651d82a] .el-dialog__body {
346
+ padding-top: 0;
330
347
  }
331
348
 
332
349
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
@@ -340,32 +357,15 @@ li[data-v-7e8a1cf6] {
340
357
  }
341
358
 
342
359
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
343
- .properties-editor[data-v-af76d417] .el-dialog__body{
360
+ .properties-editor[data-v-bd66d235] .el-dialog__body{
344
361
  padding-top: 0
345
362
  }
346
363
 
347
364
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
348
- .properties-editor[data-v-bd66d235] .el-dialog__body{
365
+ .properties-editor[data-v-af76d417] .el-dialog__body{
349
366
  padding-top: 0
350
367
  }
351
- .tooltip[data-v-ac799913] {
352
- position: absolute;
353
- background: #fff;
354
- min-width: 150px;
355
- border-radius: 4px;
356
- border: 1px solid #ebeef5;
357
- padding: 12px;
358
- z-index: 2000;
359
- color: #606266;
360
- line-height: 1.4;
361
- text-align: justify;
362
- font-size: 14px;
363
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
364
- word-break: break-all;
365
- }#_subprocess-content[data-v-2b195c05] {
366
- width: 100%;
367
- height: calc(100vh - 200px);
368
- }
368
+
369
369
  .joint-container{
370
370
  stroke-width: 0;
371
371
  fill: #fff;
@@ -381,6 +381,32 @@ li[data-v-7e8a1cf6] {
381
381
  fill-opacity: 1;
382
382
  }
383
383
 
384
+ .control-point[data-v-0ff53a0a]{
385
+ fill: #fff;
386
+ cursor: move;
387
+ }
388
+ .control-line[data-v-0ff53a0a] {
389
+ stroke-dasharray: 2 2
390
+ }
391
+
392
+ .control-point[data-v-788fb0ae]{
393
+ fill: #fff;
394
+ cursor: move;
395
+ }
396
+ .control-line[data-v-788fb0ae] {
397
+ stroke-dasharray: 2 2
398
+ }
399
+
400
+ .el-checkbox[data-v-c019538f]{
401
+ margin-left: 20px;
402
+ }
403
+
404
+ .percent[data-v-a219b06d] {
405
+ margin-left: 10px;
406
+ color: red;
407
+ font-size: 1.2em;
408
+ }
409
+
384
410
  .resizer{
385
411
  stroke: blue;
386
412
  stroke-width: 1;
@@ -396,33 +422,7 @@ ul li[data-v-39fac73c] {
396
422
  .sub-li[data-v-39fac73c] {
397
423
  padding-left: 10px;
398
424
  }
399
- .percent[data-v-a219b06d] {
400
- margin-left: 10px;
401
- color: red;
402
- font-size: 1.2em;
403
- }
404
-
405
- .el-checkbox[data-v-c019538f]{
406
- margin-left: 20px;
407
- }
408
-
409
- .control-point[data-v-788fb0ae]{
410
- fill: #fff;
411
- cursor: move;
412
- }
413
- .control-line[data-v-788fb0ae] {
414
- stroke-dasharray: 2 2
415
- }
416
-
417
- .control-point[data-v-0ff53a0a]{
418
- fill: #fff;
419
- cursor: move;
420
- }
421
- .control-line[data-v-0ff53a0a] {
422
- stroke-dasharray: 2 2
423
- }
424
-
425
- .percent[data-v-c1c7385b]{
425
+ .percent[data-v-6aef99ff]{
426
426
  margin-left: 10px;
427
427
  color:red;
428
428
  font-size:1.2em;
@@ -432,7 +432,7 @@ ul li[data-v-39fac73c] {
432
432
  margin-left: 20px;
433
433
  }
434
434
 
435
- .percent[data-v-6aef99ff]{
435
+ .percent[data-v-c1c7385b]{
436
436
  margin-left: 10px;
437
437
  color:red;
438
438
  font-size:1.2em;
@@ -459,10 +459,6 @@ select[data-v-aaf48aff]{
459
459
  height: 32px;
460
460
  line-height: 32px;
461
461
  }
462
-
463
- span[data-v-4e29ea06] {
464
- margin: 0 10px;
465
- }
466
462
  .group[data-v-98300543] {
467
463
  font-size: 14px;
468
464
  width: 100%;
@@ -478,11 +474,8 @@ span[data-v-4e29ea06] {
478
474
  padding-left: 20px;
479
475
  overflow: auto;
480
476
  }
481
- .searchResult {
482
- color:red
483
- }
484
- .inline-input-custom {
485
- width : 90%
477
+ span[data-v-4e29ea06] {
478
+ margin: 0 10px;
486
479
  }
487
480
 
488
481
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
@@ -523,3 +516,10 @@ span[data-v-4e29ea06] {
523
516
  .inline-input-custom {
524
517
  width : 90%
525
518
  }
519
+
520
+ .searchResult {
521
+ color:red
522
+ }
523
+ .inline-input-custom {
524
+ width : 90%
525
+ }
package/package.json CHANGED
@@ -1,10 +1,16 @@
1
1
  {
2
2
  "name": "workflow-editor",
3
3
  "private": false,
4
- "version": "0.0.81-up-tmp12",
4
+ "version": "0.0.81-up-tmp16",
5
5
  "type": "module",
6
6
  "main": "./lib/index.cjs",
7
7
  "module": "./es/index.mjs",
8
+ "files": [
9
+ "dist/*",
10
+ "es/*",
11
+ "lib/*",
12
+ "package.json"
13
+ ],
8
14
  "scripts": {
9
15
  "lib": "vite build --mode production",
10
16
  "preview": "vite preview"
package/.prettierrc.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/prettierrc",
3
- "semi": false,
4
- "tabWidth": 2,
5
- "singleQuote": true,
6
- "printWidth": 120,
7
- "trailingComma": "none",
8
- "spaceBeforeFunctionParen": true
9
- }
@@ -1,7 +0,0 @@
1
- import { createI18n as e } from "vue-i18n";
2
- import m from "./langs/en.mjs";
3
- import n from "./langs/cn.mjs";
4
- const o = e({ locale: "cn", messages: { en: m, cn: n }, legacy: false });
5
- export {
6
- o as default
7
- };
@@ -1,10 +0,0 @@
1
- import o from "./src/workflow-editor.vue.mjs";
2
- import r from "./src/store/workflow-editor.mjs";
3
- import t from "./src/workflow-history.vue.mjs";
4
- o.install = function(r2) {
5
- r2.component(o.name, o), r2.component(t.name, t);
6
- };
7
- const m = { WorkflowEditor: o, WorkflowHistory: t, wfEditorStore: r };
8
- export {
9
- m as default
10
- };
package/index.html DELETED
@@ -1,13 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Vite + Vue</title>
8
- </head>
9
- <body>
10
- <div id="app"></div>
11
- <script type="module" src="/src/main.js"></script>
12
- </body>
13
- </html>
package/packages/index.js DELETED
@@ -1,50 +0,0 @@
1
- // 依次导入组件库的各个组件
2
- import workflow from './workflow-editor'
3
-
4
- // import WorkflowEditor from './workflow-editor/src/workflow-editor'
5
- // import wfEditorStore from './workflow-editor/src/store/workflow-editor'
6
- // import WorkflowHistory from './workflow-editor/src/workflow-history'
7
-
8
- import formValidator from './../packages/plugins/index'
9
- import wfEditorCn from '../src/i18n/langs/cn'
10
- import wfEditorEn from '../src/i18n/langs/en'
11
- const WorkflowEditor = workflow.WorkflowEditor
12
- const WorkflowHistory = workflow.WorkflowHistory
13
- const wfEditorStore = workflow.wfEditorStore
14
-
15
- // 将所有组件都存储起来,方便后续统一注册
16
- const components = [
17
- WorkflowEditor,
18
- WorkflowHistory
19
- ]
20
-
21
- // 定义 install 方法,接收 Vue 作为参数。如果使用 use 注册插件,则所有的组件都将被注册
22
- const wfEditorInstall = function(Vue) {
23
- if (wfEditorInstall.installed) return
24
- components.forEach(component => {
25
- Vue.component(component.name, component)
26
- })
27
- // components.map(component => Vue.component(component.name, component))
28
- Vue.use(formValidator)
29
- }
30
- // 影响cdn打包
31
- // // 判断是否是直接引入vue的js文件,即全局引用可自动安装所有组件
32
- // if (typeof window !== 'undefined' && window.Vue) {
33
- // install(window.Vue)
34
- // }
35
-
36
- export {wfEditorCn, wfEditorEn}
37
- export {
38
- WorkflowEditor,
39
- WorkflowHistory
40
- }
41
- export {wfEditorInstall}
42
-
43
- export {wfEditorStore}
44
-
45
- // export default {
46
- // // 导出的对象必须具有 install,才能被 Vue.use() 方法安装
47
- // install,
48
- // WorkflowEditor,
49
- // wfEditorStore
50
- // }