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,31 +0,0 @@
1
- "use strict";
2
- const e = require("../common/task-title.vue.cjs"), t = require("./custom-actions.vue.cjs"), o = require("../../util.cjs"), l = require("../common/i18n-input.vue.cjs"), a = require("../common/select-mail-template.vue.cjs"), d = require("vue");
3
- require("./basic-properties.vue2.cjs");
4
- const r = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), i = { name: "BasicProperties", components: { TaskTitle: e, CustomActions: t, i18nInput: l, SelectMailTemplates: a }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
5
- let e2 = false;
6
- const t2 = this.model.processingMode.actions.action;
7
- return t2 && (e2 = !Array.isArray(t2) || 0 !== t2.length), { showActions: e2, formModel: { name: this.name, id: this.id, tache: this.model } };
8
- }, computed: { tache() {
9
- return this.model;
10
- } }, created() {
11
- this.tache.processingMode.actions || (this.tache.processingMode.actions = {});
12
- }, mounted() {
13
- this.$watch("formModel.name", function(e2, t2) {
14
- this.$emit("update:name", e2);
15
- });
16
- }, methods: { validateId() {
17
- o.validateTacheCode(this);
18
- }, setMailTemplateCode(e2) {
19
- this.tache.mailTemplateCode = e2;
20
- }, setMailPointTemplateCode(e2) {
21
- this.tache.mailPointTemplateCode = e2;
22
- }, setI18nValue(e2) {
23
- this.tache.i18nKey = e2;
24
- }, updateAction(e2) {
25
- this.tache.processingMode.actions.action = e2;
26
- } } }, n = ((e2) => (d.pushScopeId("data-v-a219b06d"), e2 = e2(), d.popScopeId(), e2))(() => d.createElementVNode("span", { class: "percent" }, " % ", -1));
27
- const c = r(i, [["render", function(e2, t2, o2, l2, a2, r2) {
28
- const i2 = d.resolveComponent("i18n-input"), c2 = d.resolveComponent("el-form-item"), s = d.resolveComponent("el-col"), m = d.resolveComponent("el-input"), u = d.resolveComponent("el-row"), p = d.resolveComponent("task-title"), h = d.resolveComponent("el-switch"), V = d.resolveComponent("select-mail-templates"), w = d.resolveComponent("el-radio"), k = d.resolveComponent("el-radio-group"), f = d.resolveComponent("el-input-number"), C = d.resolveComponent("custom-actions"), N = d.resolveComponent("el-form");
29
- return d.openBlock(), d.createBlock(N, { model: a2.formModel, "label-width": "110px" }, { default: d.withCtx(() => [d.createVNode(u, null, { default: d.withCtx(() => [d.createVNode(s, { span: 12 }, { default: d.withCtx(() => [d.createVNode(c2, { label: e2.$t("workflowEditor.task.name") }, { default: d.withCtx(() => [d.createVNode(i2, { modelValue: a2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => a2.formModel.name = e3), "i18n-key": r2.tache.i18nKey ? r2.tache.i18nKey : "name." + a2.formModel.id, onSetI18n: r2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), d.createVNode(s, { span: 12 }, { default: d.withCtx(() => [d.createVNode(c2, { label: e2.$t("workflowEditor.task.code") }, { default: d.withCtx(() => [d.createVNode(m, { modelValue: a2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => a2.formModel.id = e3), onBlur: r2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), d.createVNode(c2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: d.withCtx(() => [d.createVNode(p, { modelValue: r2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => r2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d.createVNode(c2, { label: e2.$t("workflowEditor.task.canItBeRejected") }, { default: d.withCtx(() => [d.createVNode(h, { modelValue: r2.tache.rebuttable, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => r2.tache.rebuttable = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d.createVNode(c2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: d.withCtx(() => [d.createVNode(h, { modelValue: r2.tache.mailNotice, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => r2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r2.tache.mailNotice ? (d.openBlock(), d.createBlock(c2, { key: 0, label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: d.withCtx(() => [d.createVNode(V, { modelValue: r2.tache.mailTemplateCode, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => r2.tache.mailTemplateCode = e3), onSetValue: r2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : d.createCommentVNode("", true), r2.tache.mailNotice ? (d.openBlock(), d.createBlock(c2, { key: 1, label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: d.withCtx(() => [d.createVNode(V, { modelValue: r2.tache.mailPointTemplateCode, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => r2.tache.mailPointTemplateCode = e3), onSetValue: r2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : d.createCommentVNode("", true), d.createVNode(c2, { label: e2.$t("workflowEditor.task.HandlingMethod") }, { default: d.withCtx(() => [d.createVNode(k, { modelValue: r2.tache.processingMode.type, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => r2.tache.processingMode.type = e3) }, { default: d.withCtx(() => [d.createVNode(w, { label: "EDIT" }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.editorial")), 1)]), _: 1 }), d.createVNode(w, { label: "APPROVE" }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.approvalType")), 1)]), _: 1 }), d.createVNode(w, { label: "COUNTERSIGN" }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.countersign")), 1)]), _: 1 }), d.createVNode(w, { label: "VOTE" }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.voting")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "EDIT" === r2.tache.processingMode.type || "APPROVE" === r2.tache.processingMode.type ? (d.openBlock(), d.createBlock(c2, { key: 2, label: e2.$t("workflowEditorMessage.whenThereAreMultipleManagers") }, { default: d.withCtx(() => [d.createVNode(k, { modelValue: r2.tache.processingMode.moreTransactor, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => r2.tache.processingMode.moreTransactor = e3) }, { default: d.withCtx(() => [d.createVNode(w, { label: false }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), d.createVNode(w, { label: true }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : d.createCommentVNode("", true), "COUNTERSIGN" === r2.tache.processingMode.type || "VOTE" === r2.tache.processingMode.type ? (d.openBlock(), d.createBlock(c2, { key: 3, label: e2.$t("workflowEditor.task.passRate") }, { default: d.withCtx(() => [d.createVNode(f, { modelValue: r2.tache.processingMode.passRate, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => r2.tache.processingMode.passRate = e3), step: 10, size: "small", min: 0, max: 100 }, null, 8, ["modelValue"]), n]), _: 1 }, 8, ["label"])) : d.createCommentVNode("", true), d.createVNode(c2, { label: e2.$t("workflowEditor.task.modifyOperationName") }, { default: d.withCtx(() => [d.createVNode(h, { modelValue: a2.showActions, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => a2.showActions = e3) }, null, 8, ["modelValue"]), a2.showActions ? (d.openBlock(), d.createBlock(C, { key: 0, model: r2.tache.processingMode.actions, onUpdateAction: r2.updateAction }, null, 8, ["model", "onUpdateAction"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.createVNode(c2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: d.withCtx(() => [d.createVNode(m, { modelValue: r2.tache.taskUrl, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => r2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d.createVNode(c2, { label: e2.$t("workflowEditor.task.remarks") }, { default: d.withCtx(() => [d.createVNode(m, { modelValue: r2.tache.remark, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => r2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
30
- }], ["__scopeId", "data-v-a219b06d"]]);
31
- module.exports = c;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- module.exports = "";
@@ -1,82 +0,0 @@
1
- "use strict";
2
- const e = require("../../util.cjs"), t = { xmlToData(e2) {
3
- const t2 = [];
4
- if (e2) {
5
- const a = e2.split(" ");
6
- if (a && a.length > 0) {
7
- let e3 = 1, l = "", n = "", i = "", p = "", s = "", f = "", c = null;
8
- for (var o = 0; o < a.length; o++) {
9
- var r = a[o];
10
- if (-1 !== r.indexOf("(")) {
11
- this.operationArr && this.operationArr.push([]), l = "", n = "", i = "", p = "", s = "", f = "";
12
- const t3 = r.split("${field[");
13
- if (l = t3[0], n = t3[1].replace("]}", ""), this.operationArr) {
14
- const t4 = this.getOperators(this.fieldMap[n]);
15
- this.operationArr[e3 - 1] = t4;
16
- }
17
- continue;
18
- }
19
- if (-1 !== r.indexOf("(") || -1 === r.indexOf("${field["))
20
- -1 === r.indexOf("operator.") || -1 !== r.indexOf("condition.") ? "" === i || "" !== p ? -1 !== r.indexOf("condition.") ? (f = r, t2.push({ id: e3, leftBracket: l, propName: n, operator: i, propValue: p, rightBracket: s, logicOperator: f, propValueType: c }), e3 += 1) : p && "" !== p && (f && "" !== f || (f = "condition.operator.or", t2.push({ id: e3, leftBracket: l, propName: n, operator: i, propValue: p, rightBracket: s, logicOperator: f, propValueType: c }), e3 += 1)) : (-1 !== r.indexOf(")") ? -1 !== r.indexOf(")))") ? (p = r.replace(")))", ""), s = ")))") : -1 !== r.indexOf("))") ? (p = r.replace("))", ""), s = "))") : -1 !== r.indexOf(")") && (p = r.replace(")", ""), s = ")") : p = r, p && "" !== p && (-1 !== p.indexOf("${task.") ? c = "task" : -1 !== p.indexOf("${context.") ? c = "context" : -1 !== p.indexOf("${obj.") ? c = "obj" : -1 !== p.indexOf("${subObj.") ? c = "subObj" : -1 !== p.indexOf("${request.") ? c = "request" : -1 !== p.indexOf("${input.") ? c = "input" : -1 !== p.indexOf("${custom.") && (c = "custom"))) : i = r;
21
- else if (this.operationArr && this.operationArr.push([]), l = "", n = "", i = "", p = "", s = "", f = "", n = r.replace("${field[", "").replace("]}", ""), this.operationArr) {
22
- const t3 = this.getOperators(this.fieldMap[n]);
23
- this.operationArr[e3 - 1] = t3;
24
- }
25
- }
26
- }
27
- }
28
- return t2;
29
- }, getOperatorsArr(e2) {
30
- if (e2 && e2.length > 0)
31
- for (var t2 = 0; t2 < e2.length; t2++) {
32
- this.operationArr.push([]);
33
- const o = e2[t2], r = this.getOperators(this.fieldMap[o.propName]);
34
- this.operationArr[t2] = r;
35
- }
36
- }, getRetunrOperatorsArr(e2, t2) {
37
- const o = [];
38
- if (e2 && e2.length > 0)
39
- for (var r = 0; r < e2.length; r++) {
40
- o.push([]);
41
- const a = e2[r], l = this.getOperators(t2[a.propName]);
42
- o[r] = l;
43
- }
44
- return o;
45
- }, dataToXml(e2) {
46
- let t2 = "";
47
- if (e2 && e2.length > 0)
48
- for (var o = 0; o < e2.length; o++) {
49
- var r = e2[o];
50
- let a = r.logicOperator;
51
- o === e2.length - 1 && (a = ""), t2 = t2 + r.leftBracket + "${field[" + r.propName + "]} " + r.operator + " " + r.propValue + r.rightBracket + " " + a + " ";
52
- }
53
- return t2;
54
- }, formatConditionList(e2) {
55
- let t2 = "";
56
- if (e2)
57
- if ("string" == typeof e2) {
58
- const o = this.xmlToData(e2);
59
- t2 = this.formatConditionListTwo(o);
60
- } else
61
- t2 = this.formatConditionListTwo(e2);
62
- if (t2 && "" !== t2) {
63
- const e3 = t2.substring(t2.length - 1);
64
- "者" !== e3 && "且" !== e3 || (t2 = t2.substring(0, t2.length - 2));
65
- }
66
- return t2;
67
- }, formatConditionListTwo(e2) {
68
- let t2 = "";
69
- if (e2 && e2.length > 0)
70
- for (var o = 0; o < e2.length; o++) {
71
- const r = e2[o];
72
- if (r && r.propName) {
73
- const e3 = this.getOperators(this.fieldMap[r.propName]);
74
- if (e3 && e3.length > 0) {
75
- const o2 = e3.filter((e4) => e4.name === r.operator);
76
- t2 += r.leftBracket, this.fieldMap[r.propName] && this.fieldMap[r.propName].label && (t2 += this.fieldMap[r.propName].label + " "), o2 && o2.length > 0 && (t2 += o2[0].label + " "), t2 += r.propValue + r.rightBracket + " ", r.logicOperator && ("or" === r.logicOperator ? t2 += "或者" : t2 += "并且");
77
- }
78
- }
79
- }
80
- return t2;
81
- }, getOperators: (t2) => t2 ? "INTEGER" === t2.type || "LONG" === t2.type || "DOUBLE" === t2.type || "FLOAT" === t2.type ? [{ name: "operator.number.gt", label: e.getI18n().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: e.getI18n().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: e.getI18n().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: e.getI18n().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: e.getI18n().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: e.getI18n().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: e.getI18n().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e.getI18n().t("workflowEditor.process.isNotNull") }] : "DATE" === t2.type || "TIME" === t2.type ? [{ name: "operator.date.gt", label: e.getI18n().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: e.getI18n().t("workflowEditor.process.earlierThan") }, { name: "operator.date.eq", label: e.getI18n().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: e.getI18n().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: e.getI18n().t("workflowEditor.process.noEarlierThan") }, { name: "operator.text.is.null", label: e.getI18n().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e.getI18n().t("workflowEditor.process.isNotNull") }] : "TEXT" === t2.type ? [{ name: "operator.text.eq", label: e.getI18n().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: e.getI18n().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: e.getI18n().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: e.getI18n().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: e.getI18n().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e.getI18n().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: e.getI18n().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: e.getI18n().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: e.getI18n().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e.getI18n().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: e.getI18n().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: e.getI18n().t("workflowEditor.process.notEqualTo") }] };
82
- module.exports = t;
@@ -1,56 +0,0 @@
1
- "use strict";
2
- const e = require("vue"), t = require("../../../../node_modules/@element-plus/icons-vue/dist/index.cjs"), o = require("../../util.cjs"), l = require("./additional-condition-dialog.vue.cjs"), i = require("../common/additional-condition-utils.cjs"), n = { name: "CustomActions", components: { AdditionalConditionDialog: l }, props: { model: { type: Object, default: null } }, data() {
3
- const e2 = [];
4
- let t2 = 1;
5
- if (this.model.action)
6
- if (Array.isArray(this.model.action))
7
- for (const o2 of this.model.action)
8
- e2.push({ ...o2, id: t2 }), t2++;
9
- else
10
- e2.push({ ...this.model.action, id: t2 }), t2++;
11
- return { actions: e2, actionTypes: [{ type: "SAVE", label: o.getI18n().t("workflowEditor.task.save") }, { type: "SUBMIT", label: o.getI18n().t("workflowEditor.task.submission") }, { type: "APPROVE", label: o.getI18n().t("workflowEditor.task.agree") }, { type: "REFUSE", label: o.getI18n().t("workflowEditor.task.disagree") }, { type: "AGREEMENT", label: o.getI18n().t("workflowEditor.task.favor") }, { type: "OPPOSE", label: o.getI18n().t("workflowEditor.task.opposition") }, { type: "KIKEN", label: o.getI18n().t("workflowEditor.task.waiver") }, { type: "DRAW", label: o.getI18n().t("workflowEditor.task.receive") }, { type: "ABANDON_DRAW", label: o.getI18n().t("workflowEditor.task.giveUp") }, { type: "ADD_SIGN", label: o.getI18n().t("workflowEditor.task.additionalSignature") }, { type: "REMOVE_SIGN", label: o.getI18n().t("workflowEditor.task.reductionOfSignature") }, { type: "ASSIGN_TASK", label: o.getI18n().t("workflowEditor.task.assignTask") }, { type: "COPY", label: o.getI18n().t("workflowEditor.task.copyTask") }, { type: "GET_BACK_BUTTON", label: o.getI18n().t("workflowEditor.task.retrieveTask") }, { type: "READED", label: o.getI18n().t("workflowEditor.task.readTask") }, { type: "EXPORT_REPORT", label: o.getI18n().t("workflowEditor.task.exportReport") }], currentRow: null, count: t2, showAdditionalCondition: false };
12
- }, mounted() {
13
- this.actions.length > 0 && this.selectRow(this.actions[this.actions.length - 1]), this.$watch("actions", function(e2, t2) {
14
- const o2 = [];
15
- for (const e3 of this.actions) {
16
- const t3 = { ...e3 };
17
- delete t3.id, o2.push(t3);
18
- }
19
- this.$emit("updateAction", o2);
20
- }, { deep: true });
21
- }, methods: { selectRow(e2) {
22
- this.$refs.table.setCurrentRow(e2);
23
- }, getRowIndex(e2) {
24
- for (let t2 = 0; t2 < this.actions.length; t2++)
25
- if (this.actions[t2].id === e2.id)
26
- return t2;
27
- return -1;
28
- }, handleCurrentChange(e2) {
29
- this.currentRow = e2;
30
- }, isDuplicated(e2) {
31
- const t2 = this.getRowIndex(this.currentRow);
32
- for (let o2 = 0; o2 < this.actions.length; o2++)
33
- o2 !== t2 && this.actions[o2].type === e2 && (this.$alert(this.$t("workflowEditorMessage.duplicateOperationTypeWithLinePleaseReselect", { row: o2 + 1 })), this.currentRow.type = "");
34
- }, add() {
35
- for (let e3 = 0; e3 < this.actions.length; e3++) {
36
- const t2 = this.actions[e3];
37
- if ("" === t2.type || "" === t2.label)
38
- return void this.$alert(this.$t("workflowEditorMessage.theOperationTypeOrNameInLineIsEmpty", { row: e3 + 1 }));
39
- }
40
- const e2 = { id: this.count, type: "", label: "", visible: true, condition: "" };
41
- this.actions.push(e2), this.selectRow(e2), this.count++;
42
- }, remove() {
43
- let e2 = this.getRowIndex(this.currentRow);
44
- this.actions.splice(e2, 1), this.actions.length > 0 && (e2 = e2 <= this.actions.length - 1 ? e2 : this.actions.length - 1, this.$refs.table.setCurrentRow(this.actions[e2]));
45
- }, formatCondition(e2) {
46
- if ("" === e2 || !e2)
47
- return this.$t("workflowEditor.task.nothing");
48
- const t2 = [];
49
- return i.parseCondition(t2, e2), i.displayCondition(t2);
50
- }, selectCondition(e2) {
51
- this.selectRow(e2), this.currentRow || (this.currentRow.condition = ""), this.showAdditionalCondition = true;
52
- } } }, a = Object.assign(n, { setup: (o2) => (o3, i2) => {
53
- const n2 = e.resolveComponent("el-button"), a2 = e.resolveComponent("el-table-column"), r = e.resolveComponent("el-option"), s = e.resolveComponent("el-select"), d = e.resolveComponent("el-input"), c = e.resolveComponent("el-checkbox"), u = e.resolveComponent("el-table"), w = e.resolveComponent("el-row");
54
- return e.openBlock(), e.createElementBlock("div", null, [e.createVNode(w, null, { default: e.withCtx(() => [e.createVNode(n2, { type: "primary", size: "small", plain: "", icon: e.unref(t.CirclePlus), onClick: o3.add }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(o3.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["icon", "onClick"]), e.createVNode(n2, { type: "primary", size: "small", plain: "", icon: e.unref(t.Delete), onClick: o3.remove }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(o3.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["icon", "onClick"]), e.createVNode(u, { ref: "table", data: o3.actions, "row-key": "type", border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: o3.handleCurrentChange }, { default: e.withCtx(() => [e.createVNode(a2, { type: "index" }), e.createVNode(a2, { label: o3.$t("workflowEditor.task.operationType"), width: "180" }, { default: e.withCtx((t2) => [e.createVNode(s, { modelValue: t2.row.type, "onUpdate:modelValue": (e2) => t2.row.type = e2, onChange: o3.isDuplicated }, { default: e.withCtx(() => [(e.openBlock(true), e.createElementBlock(e.Fragment, null, e.renderList(o3.actionTypes, (t3) => (e.openBlock(), e.createBlock(r, { key: t3.id, value: t3.type, label: t3.label }, null, 8, ["value", "label"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), e.createVNode(a2, { prop: "label", label: o3.$t("workflowEditor.task.name"), width: "180" }, { default: e.withCtx((t2) => [e.createVNode(d, { modelValue: t2.row.label, "onUpdate:modelValue": (e2) => t2.row.label = e2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), e.createVNode(a2, { prop: "visible", label: o3.$t("workflowEditor.task.visibleOrNot") }, { default: e.withCtx((t2) => [e.createVNode(c, { modelValue: t2.row.visible, "onUpdate:modelValue": (e2) => t2.row.visible = e2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), e.createVNode(a2, { prop: "condition", label: o3.$t("workflowEditor.task.condition") }, { default: e.withCtx((t2) => [e.createVNode(d, { value: o3.formatCondition(t2.row.condition), type: "textarea", autosize: "", onFocus: (e2) => o3.selectCondition(t2.row) }, null, 8, ["value", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), o3.showAdditionalCondition ? (e.openBlock(), e.createBlock(e.unref(l), { key: 0, modelValue: o3.currentRow.condition, "onUpdate:modelValue": i2[0] || (i2[0] = (e2) => o3.currentRow.condition = e2), onClose: i2[1] || (i2[1] = (e2) => o3.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : e.createCommentVNode("", true)]);
55
- } });
56
- module.exports = a;
@@ -1,75 +0,0 @@
1
- "use strict";
2
- const t = require("vuex"), e = require("./selection-conditions.vue.cjs"), i = require("./componentsConfigUtil.cjs"), o = require("vue");
3
- const n = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "EditableChildFieldSetting", components: { selectionConditions: e }, props: { setting: { type: Object, default: null }, tableName: { type: String, default: null } }, data() {
4
- let t2 = [];
5
- this.setting && this.setting.actionArr && (t2 = this.setting.actionArr);
6
- let e2, i2, o2, n2 = [];
7
- return this.setting && this.setting.fieldArr && (n2 = this.setting.fieldArr), this.setting && this.setting.visibleConditionArr && (e2 = this.setting.visibleConditionArr), this.setting && this.setting.modelName && (i2 = this.setting.modelName), this.setting && null !== this.setting.sumPermission && (o2 = this.setting.sumPermission), { sumPermission: o2, subtableConditionItem: null, attributeArr: null, showAdditionalCondition: false, currentRow: null, multipleSelection: null, actionArr: t2, fieldArr: n2, queryList: null, fieldMap: null, fieldNameMap: null, actionVisibleConditionArr: e2, buttonType: null, buttonVisibleCon: null, showButtonVisibleFlag: false, clickButton: false, operationArr: [], modelName: i2 };
8
- }, watch: { setting: { handler(t2, e2) {
9
- t2 && t2.actionArr && (this.actionArr = t2.actionArr), t2 && t2.fieldArr && (this.fieldArr = t2.fieldArr), t2 && t2.actionVisibleConditionArr && (this.actionVisibleConditionArr = t2.actionVisibleConditionArr), this.modelName = t2.modelName, this.sumPermission = t2.sumPermission, this.combinationParameters();
10
- }, deep: true } }, computed: { ...t.mapGetters("wfEditor", ["subtableConditionMap"]) }, created() {
11
- this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.getAttributeArr());
12
- }, mounted() {
13
- this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.subtableConditionMap[this.tableName] && (this.attributeArr = this.subtableConditionItem.attributeArr));
14
- }, methods: { ...i, getAttributeArr() {
15
- this.subtableConditionItem && this.subtableConditionItem.attributeArr && (this.queryList = this.subtableConditionItem.attributeArr, this.fieldMap = this.subtableConditionItem.fieldMap, this.fieldNameMap = this.subtableConditionItem.fieldNameMap);
16
- }, savebuttonSetting(t2) {
17
- t2 && (this.currentRow.condition = t2.condition, this.currentRow.userCondition = t2.userCondition, this.currentRow.parentCondition = t2.parentCondition, this.combinationParameters()), this.showAdditionalCondition = false;
18
- }, handleCurrentChange(t2) {
19
- this.currentRow = t2;
20
- }, handleSelectionChange(t2) {
21
- this.multipleSelection = t2;
22
- }, selectRow(t2) {
23
- this.$refs.table.setCurrentRow(t2);
24
- }, add() {
25
- this.fieldArr || (this.fieldArr = []), this.fieldArr.push({ name: null, constraintRule: null, condition: null }), this.combinationParameters();
26
- }, getCurrentRowIndex() {
27
- let t2 = -1;
28
- for (let e2 = 0; e2 < this.fieldArr.length; e2++)
29
- if (this.fieldArr[e2].name === this.currentRow.name) {
30
- t2 = e2;
31
- break;
32
- }
33
- return t2;
34
- }, remove() {
35
- if (this.multipleSelection && this.multipleSelection.length > 0) {
36
- for (var t2 = 0; t2 < this.multipleSelection.length; t2++) {
37
- const e2 = this.multipleSelection[t2];
38
- this.selectRow(e2);
39
- const i2 = this.getCurrentRowIndex();
40
- this.fieldArr.splice(i2, 1);
41
- }
42
- this.combinationParameters();
43
- }
44
- }, selectCondition(t2) {
45
- this.selectRow(t2), this.showAdditionalCondition = true;
46
- }, showButtonVisible(t2) {
47
- this.clickButton = true, this.buttonType = t2, this.actionVisibleConditionArr && this.actionVisibleConditionArr[t2] ? this.buttonVisibleCon = this.actionVisibleConditionArr[t2] : this.buttonVisibleCon = {}, this.showButtonVisibleFlag = true;
48
- }, saveButtonVisible(t2) {
49
- t2 && (this.actionVisibleConditionArr || (this.actionVisibleConditionArr = {}), this.actionVisibleConditionArr[this.buttonType] = t2, this.combinationParameters()), this.showButtonVisibleFlag = false;
50
- }, changeActionArr() {
51
- this.clickButton ? (this.actionArr.push(this.buttonType), this.clickButton = false) : this.combinationParameters();
52
- }, combinationParameters() {
53
- const t2 = {};
54
- t2.modelName = this.modelName, t2.tableName = this.tableName, t2.permission = this.sumPermission;
55
- const e2 = [];
56
- if (this.actionArr && this.actionArr.length > 0 && (this.actionArr.forEach((t3) => {
57
- const i2 = {};
58
- if (i2.name = t3, this.actionVisibleConditionArr && this.actionVisibleConditionArr[t3]) {
59
- const e3 = this.actionVisibleConditionArr[t3];
60
- i2.condition = this.dataToXml(e3.condition), i2.parentCondition = e3.parentCondition, i2.userCondition = e3.userCondition;
61
- }
62
- e2.push(i2);
63
- }), t2.action = e2), this.fieldArr && this.fieldArr.length > 0) {
64
- const e3 = [];
65
- this.fieldArr.forEach((t3) => {
66
- const i2 = {};
67
- i2.name = t3.name, i2.constraintRule = t3.constraintRule, t3.condition && (i2.condition = this.dataToXml(t3.condition)), i2.userCondition = t3.userCondition, i2.parentCondition = t3.parentCondition, e3.push(i2);
68
- }), t2.field = e3;
69
- }
70
- this.$emit("combinationParameters", t2);
71
- } } }, [["render", function(t2, e2, i2, n2, l, r) {
72
- const a = o.resolveComponent("Tools"), s = o.resolveComponent("el-icon"), d = o.resolveComponent("el-checkbox"), c = o.resolveComponent("el-col"), u = o.resolveComponent("el-row"), h = o.resolveComponent("el-checkbox-group"), m = o.resolveComponent("selection-conditions"), C = o.resolveComponent("el-button"), b = o.resolveComponent("el-table-column"), p = o.resolveComponent("el-option"), w = o.resolveComponent("el-select"), V = o.resolveComponent("el-radio"), f = o.resolveComponent("el-radio-group"), g = o.resolveComponent("el-table");
73
- return o.openBlock(), o.createElementBlock("div", null, [o.createElementVNode("div", null, [o.createVNode(h, { modelValue: l.actionArr, "onUpdate:modelValue": e2[4] || (e2[4] = (t3) => l.actionArr = t3), onChange: r.changeActionArr }, { default: o.withCtx(() => [o.createVNode(u, null, { default: o.withCtx(() => [o.createVNode(c, { span: 6 }, { default: o.withCtx(() => [o.createVNode(d, { label: "notEmpty" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditor.condition.tableDataNotEmpty")) + " ", 1), l.actionArr && -1 !== l.actionArr.indexOf("notEmpty") ? (o.openBlock(), o.createBlock(s, { key: 0, onClick: e2[0] || (e2[0] = (t3) => r.showButtonVisible("notEmpty")) }, { default: o.withCtx(() => [o.createVNode(a)]), _: 1 })) : o.createCommentVNode("", true)]), _: 1 })]), _: 1 }), o.createVNode(c, { span: 6 }, { default: o.withCtx(() => [o.createVNode(d, { label: "add" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditor.condition.rowsCanBeAdded")) + " ", 1), l.actionArr && -1 !== l.actionArr.indexOf("add") ? (o.openBlock(), o.createBlock(s, { key: 0, onClick: e2[1] || (e2[1] = (t3) => r.showButtonVisible("add")) }, { default: o.withCtx(() => [o.createVNode(a)]), _: 1 })) : o.createCommentVNode("", true)]), _: 1 })]), _: 1 }), o.createVNode(c, { span: 6 }, { default: o.withCtx(() => [o.createVNode(d, { label: "delete" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditor.condition.deleteLine")) + " ", 1), l.actionArr && -1 !== l.actionArr.indexOf("delete") ? (o.openBlock(), o.createBlock(s, { key: 0, onClick: e2[2] || (e2[2] = (t3) => r.showButtonVisible("delete")) }, { default: o.withCtx(() => [o.createVNode(a)]), _: 1 })) : o.createCommentVNode("", true)]), _: 1 })]), _: 1 }), o.createVNode(c, { span: 6 }, { default: o.withCtx(() => [o.createVNode(d, { label: "update" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditor.condition.modifiableHistoricalData")) + " ", 1), l.actionArr && -1 !== l.actionArr.indexOf("update") ? (o.openBlock(), o.createBlock(s, { key: 0, onClick: e2[3] || (e2[3] = (t3) => r.showButtonVisible("update")) }, { default: o.withCtx(() => [o.createVNode(a)]), _: 1 })) : o.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"]), l.showButtonVisibleFlag ? (o.openBlock(), o.createBlock(m, { key: 0, "attribute-map": l.subtableConditionItem, "condition-list": l.buttonVisibleCon.condition, "parent-condition": l.buttonVisibleCon.parentCondition, "user-condition": l.buttonVisibleCon.userCondition, "button-type": l.buttonType, onClose: r.saveButtonVisible }, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "button-type", "onClose"])) : o.createCommentVNode("", true)]), o.createElementVNode("div", null, [o.createVNode(u, null, { default: o.withCtx(() => [o.createVNode(C, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: r.add }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), o.createVNode(C, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: r.remove }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), o.createVNode(g, { ref: "table", data: l.fieldArr, border: "", "highlight-current-row": "", style: { width: "100%" }, onSelectionChange: r.handleSelectionChange, onCurrentChange: r.handleCurrentChange }, { default: o.withCtx(() => [o.createVNode(b, { type: "selection", width: "55", align: "center" }), o.createVNode(b, { type: "index", width: "50", align: "center" }), o.createVNode(b, { prop: "name", label: t2.$t("workflowEditor.task.propertyName"), width: "280", align: "center" }, { default: o.withCtx((e3) => [o.createVNode(w, { modelValue: e3.row.name, "onUpdate:modelValue": (t3) => e3.row.name = t3, size: "small", filterable: "", onChange: r.combinationParameters }, { default: o.withCtx(() => [o.createVNode(p, { label: t2.$t("workflowEditor.condition.allFields"), value: "all_fields" }, null, 8, ["label"]), (o.openBlock(true), o.createElementBlock(o.Fragment, null, o.renderList(l.attributeArr, (t3) => (o.openBlock(), o.createBlock(p, { key: t3.value, label: t3.label, value: t3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), o.createVNode(b, { prop: "constraintRule", label: t2.$t("workflowEditor.task.editingMethod"), width: "380", align: "center" }, { default: o.withCtx((e3) => [o.createVNode(f, { modelValue: e3.row.constraintRule, "onUpdate:modelValue": (t3) => e3.row.constraintRule = t3, onChange: r.combinationParameters }, { default: o.withCtx(() => [o.createVNode(V, { label: "REQUIRED" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), o.createVNode(V, { label: "READ_ONLY" }, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(t2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), o.createVNode(b, { prop: "condition", label: t2.$t("workflowEditor.task.condition"), align: "center" }, { default: o.withCtx((t3) => [o.createVNode(s, { onClick: (e3) => r.selectCondition(t3.row) }, { default: o.withCtx(() => [o.createVNode(a)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), l.showAdditionalCondition ? (o.openBlock(), o.createBlock(m, { key: 0, "attribute-map": l.subtableConditionItem, "condition-list": l.currentRow.condition, "parent-condition": l.currentRow.parentCondition, "user-condition": l.currentRow.userCondition, onClose: r.savebuttonSetting }, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "onClose"])) : o.createCommentVNode("", true)])]);
74
- }]]);
75
- module.exports = n;
@@ -1,80 +0,0 @@
1
- "use strict";
2
- const e = require("./editable-child-field-setting.vue.cjs"), t = require("./componentsConfigUtil.cjs"), i = require("vuex"), l = require("vue"), o = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), s = { name: "EditableChildFields", components: { editableChildFieldSetting: e }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
3
- let e2 = [];
4
- return "" !== this.modelValue && null !== this.modelValue && void 0 !== this.modelValue && (Array.isArray(this.modelValue) ? e2 = this.modelValue : e2.push(this.modelValue)), { selectedFields: e2, selectedFieldMap: {} };
5
- }, computed: { ...i.mapGetters("wfEditor", ["subtableConditionMap"]) }, watch: {}, created() {
6
- if (this.selectedFields && this.selectedFields.length > 0 && this.selectedFields.forEach((e3) => {
7
- const t2 = {}, i2 = e3.tableName;
8
- if (e3.action)
9
- if (Array.isArray(e3.action)) {
10
- if (e3.action.length > 0) {
11
- const i3 = [], l2 = {};
12
- e3.action.forEach((e4) => {
13
- i3.push(e4.name);
14
- const t3 = {};
15
- e4.condition && (t3.condition = this.xmlToData(e4.condition)), t3.parentCondition = e4.parentCondition, t3.userCondition = e4.userCondition, l2[e4.name] = t3;
16
- }), t2.actionArr = i3, t2.visibleConditionArr = l2;
17
- }
18
- } else {
19
- const i3 = [], l2 = {};
20
- i3.push(e3.action.name);
21
- const o2 = {};
22
- e3.action.condition && (o2.condition = this.xmlToData(e3.action.condition)), o2.parentCondition = e3.action.parentCondition, o2.userCondition = e3.action.userCondition, l2[e3.action.name] = o2, t2.actionArr = i3, t2.visibleConditionArr = l2;
23
- }
24
- if (e3.field)
25
- if (Array.isArray(e3.field)) {
26
- if (e3.field.length > 0) {
27
- const i3 = [];
28
- e3.field.forEach((e4) => {
29
- const t3 = {};
30
- t3.name = e4.name, t3.constraintRule = e4.constraintRule, t3.condition = this.xmlToData(e4.condition), t3.userCondition = e4.userCondition, t3.parentCondition = e4.parentCondition, i3.push(t3);
31
- }), t2.fieldArr = i3;
32
- }
33
- } else {
34
- const i3 = [], l2 = {};
35
- l2.name = e3.field.name, l2.constraintRule = e3.field.constraintRule, l2.condition = this.xmlToData(e3.field.condition), l2.userCondition = e3.field.userCondition, l2.parentCondition = e3.field.parentCondition, i3.push(l2), t2.fieldArr = i3;
36
- }
37
- e3.modelName ? t2.modelName = e3.modelName : t2.modelName = null, e3.permission ? t2.sumPermission = e3.permission : t2.sumPermission = false, this.selectedFieldMap[i2] = t2;
38
- }), this.subtableConditionMap) {
39
- for (var e2 in this.subtableConditionMap)
40
- if (!this.selectedFieldMap[e2]) {
41
- const t2 = {};
42
- t2.tableName = e2, t2.modelName = this.subtableConditionMap[e2].modelName, t2.sumPermission = false, this.selectedFieldMap[e2] = t2;
43
- }
44
- }
45
- }, mounted() {
46
- }, methods: { ...t, combinationParameters(e2) {
47
- if (e2 && e2.tableName) {
48
- if (this.selectedFields && this.selectedFields.length > 0) {
49
- const t2 = this.selectedFields.findIndex((t3) => t3.tableName === e2.tableName);
50
- -1 !== t2 ? this.selectedFields[t2] = e2 : this.selectedFields.push(e2);
51
- } else
52
- this.selectedFields = [], this.selectedFields.push(e2);
53
- this.$emit("update:modelValue", this.selectedFields);
54
- }
55
- }, refreshModelName(e2) {
56
- if (this.subtableConditionMap && this.subtableConditionMap[e2] && this.subtableConditionMap[e2].modelName) {
57
- if (this.selectedFieldMap[e2]) {
58
- this.selectedFieldMap[e2].modelName = this.subtableConditionMap[e2].modelName;
59
- } else {
60
- const t2 = {};
61
- t2.modelName = this.subtableConditionMap[e2].modelName, this.selectedFieldMap[e2] = t2;
62
- }
63
- this.$message({ showClose: true, type: "success", message: this.$t("workflowEditorMessage.updateSuccessful") });
64
- }
65
- }, changeSumPermission(e2) {
66
- if (e2 && this.selectedFieldMap[e2])
67
- if (this.selectedFields || (this.selectedFields = []), false === this.selectedFieldMap[e2].sumPermission) {
68
- const t2 = this.selectedFields.findIndex((t3) => t3.tableName === e2);
69
- null != t2 && -1 !== t2 ? this.selectedFields[t2].permission = false : this.selectedFields[this.selectedFields.length] = { permission: false, tableName: e2 };
70
- } else {
71
- const t2 = this.selectedFields.findIndex((t3) => t3.tableName === e2);
72
- null != t2 && -1 !== t2 ? this.selectedFields[t2].permission = true : this.selectedFields[this.selectedFields.length] = { permission: true, tableName: e2 };
73
- }
74
- this.$emit("update:modelValue", this.selectedFields);
75
- } } }, n = { style: { width: "100%", "margin-top": "10px" } }, d = { class: "clearfix" }, a = { key: 0 }, c = { style: { color: "cornflowerblue" } }, r = { style: { "padding-left": "5px" } }, m = { key: 0 };
76
- const u = o(s, [["render", function(e2, t2, i2, o2, s2, u2) {
77
- const p = l.resolveComponent("el-col"), h = l.resolveComponent("el-switch"), f = l.resolveComponent("el-row"), C = l.resolveComponent("el-input"), b = l.resolveComponent("el-button"), F = l.resolveComponent("editable-child-field-setting"), N = l.resolveComponent("el-card");
78
- return l.openBlock(), l.createElementBlock("div", n, [(l.openBlock(true), l.createElementBlock(l.Fragment, null, l.renderList(e2.subtableConditionMap, (t3, i3) => (l.openBlock(), l.createElementBlock("span", { key: i3 }, [l.createVNode(N, { class: "box-card" }, { default: l.withCtx(() => [l.createElementVNode("div", d, [l.createVNode(f, null, { default: l.withCtx(() => [l.createVNode(p, { span: 12 }, { default: l.withCtx(() => [l.createElementVNode("span", null, l.toDisplayString(i3), 1)]), _: 2 }, 1024), s2.selectedFieldMap[i3] ? (l.openBlock(), l.createBlock(p, { key: 0, span: 12 }, { default: l.withCtx(() => [l.createVNode(h, { modelValue: s2.selectedFieldMap[i3].sumPermission, "onUpdate:modelValue": (e3) => s2.selectedFieldMap[i3].sumPermission = e3, "inactive-text": e2.$t("workflowEditor.condition.accessControl"), onChange: (e3) => u2.changeSumPermission(i3) }, null, 8, ["modelValue", "onUpdate:modelValue", "inactive-text", "onChange"])]), _: 2 }, 1024)) : l.createCommentVNode("", true)]), _: 2 }, 1024), l.createVNode(f, null, { default: l.withCtx(() => [l.createVNode(p, null, { default: l.withCtx(() => [s2.selectedFieldMap[i3] && s2.selectedFieldMap[i3].sumPermission ? (l.openBlock(), l.createElementBlock("span", a, [l.createElementVNode("span", c, l.toDisplayString(e2.$t("workflowEditor.condition.formBindingModel")) + ":", 1), l.createElementVNode("span", r, [l.createVNode(C, { modelValue: s2.selectedFieldMap[i3].modelName, "onUpdate:modelValue": (e3) => s2.selectedFieldMap[i3].modelName = e3, style: { width: "300px" } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), l.createVNode(b, { icon: "el-icon-refresh", type: "text", onClick: (e3) => u2.refreshModelName(i3) }, null, 8, ["onClick"])])) : l.createCommentVNode("", true)]), _: 2 }, 1024)]), _: 2 }, 1024)]), s2.selectedFieldMap[i3] && s2.selectedFieldMap[i3].sumPermission ? (l.openBlock(), l.createElementBlock("div", m, [l.createVNode(F, { setting: s2.selectedFieldMap[i3], "table-name": i3, onCombinationParameters: u2.combinationParameters }, null, 8, ["setting", "table-name", "onCombinationParameters"])])) : l.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]);
79
- }]]);
80
- module.exports = u;
@@ -1,39 +0,0 @@
1
- "use strict";
2
- const e = require("../common/additional-condition.vue.cjs"), l = require("vuex"), a = require("vue");
3
- require("./editable-field-selection.vue2.cjs");
4
- const i = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), t = { name: "EditableFieldSelection", components: { AdditionalCondition: e }, props: { value: { type: Array, default: null }, disabledFields: { type: Array, default: null } }, data: () => ({ availableFields: [], formModel: { selectedFields: [], constraintRule: "REQUIRED", showCondition: false, condition: "" }, availableFieldsCount: null, orange: -1, pin: false, dialogVisible: true, activeNames: ["baseField"] }), computed: { ...l.mapGetters("wfEditor", ["formFieldsWithSub"]) }, created() {
5
- let e2 = 0;
6
- this.formFieldsWithSub.map((l3) => {
7
- this.disabledFields.indexOf(l3.name) < 0 && (l3.index = e2, this.availableFields.push(l3), e2++);
8
- });
9
- const l2 = this.availableFields.length;
10
- this.availableFieldsCount = Math.ceil(l2 / 3);
11
- }, mounted() {
12
- window.addEventListener("keydown", (e2) => {
13
- 16 === e2.keyCode && e2.shiftKey && (this.pin = true);
14
- }), window.addEventListener("keyup", (e2) => {
15
- 16 === e2.keyCode && (this.pin = false);
16
- });
17
- }, methods: { filterMethod: (e2, l2) => !!(l2.label && l2.label.indexOf(e2) > -1) || (l2.label, false), setSelectedFields() {
18
- const e2 = [];
19
- for (const l2 of this.formModel.selectedFields)
20
- e2.push({ name: l2, constraintRule: this.formModel.constraintRule, condition: this.formModel.showCondition ? this.formModel.condition : "" });
21
- this.$emit("input-value", e2), this.$emit("close");
22
- }, pinSelect(e2, l2) {
23
- const a2 = this.availableFields, i2 = this.origin, t2 = l2;
24
- if (this.pin && -1 !== this.formModel.selectedFields.indexOf(e2)) {
25
- this.formModel.selectedFields.indexOf(e2);
26
- const l3 = Math.abs(i2 - t2) + 1, o2 = Math.min(i2, t2);
27
- let n2 = 0;
28
- for (; n2 < l3; ) {
29
- const e3 = o2 + n2;
30
- -1 === this.formModel.selectedFields.indexOf(a2[e3].name) && this.formModel.selectedFields.push(a2[e3].name), n2++;
31
- }
32
- } else
33
- this.origin = l2;
34
- } } }, o = ["title"], n = ["title"], d = ["title"], s = ["title"], c = ["title"], r = ["title"], b = ["title"], m = ["title"], p = ["title"], v = ["title"], F = ["title"], h = ["title"];
35
- const u = i(t, [["render", function(e2, l2, i2, t2, u2, f) {
36
- const C = a.resolveComponent("el-checkbox"), k = a.resolveComponent("el-col"), x = a.resolveComponent("el-row"), w = a.resolveComponent("el-collapse-item"), y = a.resolveComponent("el-collapse"), g = a.resolveComponent("el-checkbox-group"), V = a.resolveComponent("el-radio"), B = a.resolveComponent("el-radio-group"), N = a.resolveComponent("el-form-item"), _ = a.resolveComponent("el-switch"), E = a.resolveComponent("additional-condition"), S = a.resolveComponent("el-form"), M = a.resolveComponent("el-button"), D = a.resolveComponent("el-dialog");
37
- return a.openBlock(), a.createBlock(D, { id: "appContainer", width: "60%", title: e2.$t("workflowEditor.task.selectEditableField"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: l2[6] || (l2[6] = (l3) => e2.$emit("close")) }, { footer: a.withCtx(() => [a.createVNode(M, { type: "primary", size: "small", onClick: f.setSelectedFields }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), a.createVNode(M, { size: "small", onClick: l2[5] || (l2[5] = (l3) => e2.$emit("close")) }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: a.withCtx(() => [a.createVNode(S, { model: u2.formModel }, { default: a.withCtx(() => [a.createVNode(g, { modelValue: u2.formModel.selectedFields, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => u2.formModel.selectedFields = e3) }, { default: a.withCtx(() => [a.createVNode(x, null, { default: a.withCtx(() => [(a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(u2.availableFieldsCount, (e3, l3) => (a.openBlock(), a.createElementBlock(a.Fragment, { key: e3.prop }, [u2.availableFields[3 * l3 + 0] && !u2.availableFields[3 * l3 + 0].baseField ? (a.openBlock(), a.createBlock(k, { key: 0, span: 8 }, { default: a.withCtx(() => [-1 === u2.availableFields[3 * l3 + 0].name.indexOf("$") ? (a.openBlock(), a.createBlock(C, { key: 0, label: u2.availableFields[3 * l3 + 0].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 0].name, u2.availableFields[3 * l3 + 0].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { title: u2.availableFields[3 * l3 + 0].label }, a.toDisplayString(u2.availableFields[3 * l3 + 0].label), 9, o)]), _: 2 }, 1032, ["label", "onChange"])) : (a.openBlock(), a.createBlock(C, { key: 1, label: u2.availableFields[3 * l3 + 0].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 0].name, u2.availableFields[3 * l3 + 0].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: u2.availableFields[3 * l3 + 0].label }, a.toDisplayString(u2.availableFields[3 * l3 + 0].label), 9, n)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : a.createCommentVNode("", true), u2.availableFields[3 * l3 + 1] && !u2.availableFields[3 * l3 + 1].baseField ? (a.openBlock(), a.createBlock(k, { key: 1, span: 8 }, { default: a.withCtx(() => [-1 === u2.availableFields[3 * l3 + 1].name.indexOf("$") ? (a.openBlock(), a.createBlock(C, { key: 0, label: u2.availableFields[3 * l3 + 1].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 1].name, u2.availableFields[3 * l3 + 1].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { title: u2.availableFields[3 * l3 + 1].label }, a.toDisplayString(u2.availableFields[3 * l3 + 1].label), 9, d)]), _: 2 }, 1032, ["label", "onChange"])) : (a.openBlock(), a.createBlock(C, { key: 1, label: u2.availableFields[3 * l3 + 1].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 1].name, u2.availableFields[3 * l3 + 1].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: u2.availableFields[3 * l3 + 1].label }, a.toDisplayString(u2.availableFields[3 * l3 + 1].label), 9, s)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : a.createCommentVNode("", true), u2.availableFields[3 * l3 + 2] && !u2.availableFields[3 * l3 + 2].baseField ? (a.openBlock(), a.createBlock(k, { key: 2, span: 8 }, { default: a.withCtx(() => [-1 === u2.availableFields[3 * l3 + 2].name.indexOf("$") ? (a.openBlock(), a.createBlock(C, { key: 0, label: u2.availableFields[3 * l3 + 2].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 2].name, u2.availableFields[3 * l3 + 2].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { title: u2.availableFields[3 * l3 + 2].label }, a.toDisplayString(u2.availableFields[3 * l3 + 2].label), 9, c)]), _: 2 }, 1032, ["label", "onChange"])) : (a.openBlock(), a.createBlock(C, { key: 1, label: u2.availableFields[3 * l3 + 2].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 2].name, u2.availableFields[3 * l3 + 2].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: u2.availableFields[3 * l3 + 2].label }, a.toDisplayString(u2.availableFields[3 * l3 + 2].label), 9, r)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : a.createCommentVNode("", true)], 64))), 128))]), _: 1 }), a.createVNode(y, { modelValue: u2.activeNames, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => u2.activeNames = e3) }, { default: a.withCtx(() => [a.createVNode(w, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: a.withCtx(() => [(a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(u2.availableFieldsCount, (e3, l3) => (a.openBlock(), a.createElementBlock("span", { key: e3.prop }, [a.createVNode(x, null, { default: a.withCtx(() => [u2.availableFields[3 * l3 + 0] && u2.availableFields[3 * l3 + 0].baseField ? (a.openBlock(), a.createBlock(k, { key: 0, span: 8 }, { default: a.withCtx(() => [-1 === u2.availableFields[3 * l3 + 0].name.indexOf("$") ? (a.openBlock(), a.createBlock(C, { key: 0, label: u2.availableFields[3 * l3 + 0].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 0].name, u2.availableFields[3 * l3 + 0].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { title: u2.availableFields[3 * l3 + 0].label }, a.toDisplayString(u2.availableFields[3 * l3 + 0].label), 9, b)]), _: 2 }, 1032, ["label", "onChange"])) : (a.openBlock(), a.createBlock(C, { key: 1, label: u2.availableFields[3 * l3 + 0].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 0].name, u2.availableFields[3 * l3 + 0].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: u2.availableFields[3 * l3 + 0].label }, a.toDisplayString(u2.availableFields[3 * l3 + 0].label), 9, m)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : a.createCommentVNode("", true), u2.availableFields[3 * l3 + 1] && u2.availableFields[3 * l3 + 1].baseField ? (a.openBlock(), a.createBlock(k, { key: 1, span: 8 }, { default: a.withCtx(() => [-1 === u2.availableFields[3 * l3 + 1].name.indexOf("$") ? (a.openBlock(), a.createBlock(C, { key: 0, label: u2.availableFields[3 * l3 + 1].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 1].name, u2.availableFields[3 * l3 + 1].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { title: u2.availableFields[3 * l3 + 1].label }, a.toDisplayString(u2.availableFields[3 * l3 + 1].label), 9, p)]), _: 2 }, 1032, ["label", "onChange"])) : (a.openBlock(), a.createBlock(C, { key: 1, label: u2.availableFields[3 * l3 + 1].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 1].name, u2.availableFields[3 * l3 + 1].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: u2.availableFields[3 * l3 + 1].label }, a.toDisplayString(u2.availableFields[3 * l3 + 1].label), 9, v)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : a.createCommentVNode("", true), u2.availableFields[3 * l3 + 2] && u2.availableFields[3 * l3 + 2].baseField ? (a.openBlock(), a.createBlock(k, { key: 2, span: 8 }, { default: a.withCtx(() => [-1 === u2.availableFields[3 * l3 + 2].name.indexOf("$") ? (a.openBlock(), a.createBlock(C, { key: 0, label: u2.availableFields[3 * l3 + 2].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 2].name, u2.availableFields[3 * l3 + 2].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { title: u2.availableFields[3 * l3 + 2].label }, a.toDisplayString(u2.availableFields[3 * l3 + 2].label), 9, F)]), _: 2 }, 1032, ["label", "onChange"])) : (a.openBlock(), a.createBlock(C, { key: 1, label: u2.availableFields[3 * l3 + 2].name, onChange: (e4) => f.pinSelect(u2.availableFields[3 * l3 + 2].name, u2.availableFields[3 * l3 + 2].index) }, { default: a.withCtx(() => [a.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: u2.availableFields[3 * l3 + 2].label }, a.toDisplayString(u2.availableFields[3 * l3 + 2].label), 9, h)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : a.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]), a.createVNode(N, { label: e2.$t("workflowEditor.task.editingMethod") }, { default: a.withCtx(() => [a.createVNode(B, { modelValue: u2.formModel.constraintRule, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => u2.formModel.constraintRule = e3) }, { default: a.withCtx(() => [a.createVNode(V, { label: "REQUIRED" }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), a.createVNode(V, { label: "READ_ONLY" }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), a.createVNode(N, { label: e2.$t("workflowEditor.task.additionalConditions") }, { default: a.withCtx(() => [a.createVNode(_, { modelValue: u2.formModel.showCondition, "onUpdate:modelValue": l2[3] || (l2[3] = (e3) => u2.formModel.showCondition = e3) }, null, 8, ["modelValue"]), u2.formModel.showCondition ? (a.openBlock(), a.createBlock(E, { key: 0, modelValue: u2.formModel.condition, "onUpdate:modelValue": l2[4] || (l2[4] = (e3) => u2.formModel.condition = e3) }, null, 8, ["modelValue"])) : a.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"]);
38
- }], ["__scopeId", "data-v-9458f3bf"]]);
39
- module.exports = u;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- module.exports = "";
@@ -1,60 +0,0 @@
1
- "use strict";
2
- const e = require("./editable-field-selection.vue.cjs"), t = require("./additional-condition-dialog.vue.cjs"), l = require("vuex"), o = require("../common/additional-condition-utils.cjs"), i = require("vue"), d = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), n = { name: "EditableFields", components: { EditableFieldSelection: e, AdditionalConditionDialog: t }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
3
- let e2 = [];
4
- "" !== this.modelValue && null !== this.modelValue && void 0 !== this.modelValue && (Array.isArray(this.modelValue) ? e2 = this.modelValue : e2.push(this.modelValue));
5
- return { showFieldSelection: false, showAdditionalCondition: false, selectedFields: e2, currentRow: null, multipleSelection: [], disabledFields: this.getDisabledFields(this.modelValue) };
6
- }, computed: { ...l.mapGetters("wfEditor", ["formFieldsWithSub"]) }, watch: { selectedFields: { handler(e2, t2) {
7
- this.disabledFields = this.getDisabledFields(e2);
8
- }, deep: true } }, mounted() {
9
- this.selectedFields.length > 0 && this.selectRow(this.selectedFields[this.selectedFields.length - 1]);
10
- }, methods: { getDisabledFields(e2) {
11
- if (null == e2)
12
- return [];
13
- const t2 = [];
14
- return Array.isArray(e2) ? e2.map((e3) => {
15
- t2.push(e3.name);
16
- }) : t2.push(e2), t2;
17
- }, handleCurrentChange(e2) {
18
- this.currentRow = e2;
19
- }, handleSelectionChange(e2) {
20
- this.multipleSelection = e2;
21
- }, selectRow(e2) {
22
- this.$refs.table.setCurrentRow(e2);
23
- }, add() {
24
- this.showFieldSelection = true;
25
- }, getCurrentRowIndex() {
26
- let e2 = -1;
27
- for (let t2 = 0; t2 < this.selectedFields.length; t2++)
28
- if (this.selectedFields[t2].name === this.currentRow.name) {
29
- e2 = t2;
30
- break;
31
- }
32
- return e2;
33
- }, remove() {
34
- if (this.multipleSelection && this.multipleSelection.length > 0) {
35
- for (var e2 = 0; e2 < this.multipleSelection.length; e2++) {
36
- const t2 = this.multipleSelection[e2];
37
- this.selectRow(t2);
38
- const l2 = this.getCurrentRowIndex();
39
- this.selectedFields.splice(l2, 1);
40
- }
41
- this.$emit("update:modelValue", this.selectedFields);
42
- }
43
- }, setSelectedFields(e2) {
44
- null == e2 && (e2 = []), this.selectedFields = this.selectedFields.concat(e2), this.selectRow(this.selectedFields[this.selectedFields.length - 1]), this.$emit("update:modelValue", this.selectedFields);
45
- }, formatCondition(e2) {
46
- if ("" === e2 || !e2)
47
- return this.$t("workflowEditor.task.nothing");
48
- const t2 = [];
49
- return o.parseCondition(t2, e2), o.displayCondition(t2);
50
- }, getFieldLabel(e2) {
51
- const t2 = this.formFieldsWithSub.filter((t3) => t3.name === e2.name);
52
- return t2.length > 0 ? t2[0].label : "";
53
- }, selectCondition(e2) {
54
- this.selectRow(e2), this.showAdditionalCondition = true;
55
- } } }, a = { style: { width: "100%" } };
56
- const s = d(n, [["render", function(e2, t2, l2, o2, d2, n2) {
57
- const s2 = i.resolveComponent("el-button"), r = i.resolveComponent("el-row"), c = i.resolveComponent("el-table-column"), u = i.resolveComponent("el-radio"), h = i.resolveComponent("el-radio-group"), m = i.resolveComponent("el-input"), p = i.resolveComponent("el-table"), w = i.resolveComponent("editable-field-selection"), C = i.resolveComponent("additional-condition-dialog");
58
- return i.openBlock(), i.createElementBlock("div", a, [i.createVNode(r, { style: { "padding-bottom": "10px" } }, { default: i.withCtx(() => [i.createVNode(s2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: i.withCtx(() => [i.createTextVNode(i.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), i.createVNode(s2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: i.withCtx(() => [i.createTextVNode(i.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), i.createVNode(p, { ref: "table", data: d2.selectedFields, border: "", "highlight-current-row": "", onSelectionChange: n2.handleSelectionChange, onCurrentChange: n2.handleCurrentChange }, { default: i.withCtx(() => [i.createVNode(c, { type: "selection", width: "55" }), i.createVNode(c, { type: "index", width: "50" }), i.createVNode(c, { label: e2.$t("workflowEditor.common.name"), width: "180" }, { default: i.withCtx((e3) => [i.createElementVNode("span", { style: i.normalizeStyle({ color: e3.row.name && 0 === e3.row.name.indexOf("$") ? "#409EFF" : "" }) }, i.toDisplayString(n2.getFieldLabel(e3.row)), 5)]), _: 1 }, 8, ["label"]), i.createVNode(c, { prop: "name", label: e2.$t("workflowEditor.task.propertyName"), width: "180" }, null, 8, ["label"]), i.createVNode(c, { prop: "constraintRule", label: e2.$t("workflowEditor.task.editingMethod") }, { default: i.withCtx((t3) => [i.createVNode(h, { modelValue: t3.row.constraintRule, "onUpdate:modelValue": (e3) => t3.row.constraintRule = e3 }, { default: i.withCtx(() => [i.createVNode(u, { label: "REQUIRED" }, { default: i.withCtx(() => [i.createTextVNode(i.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), i.createVNode(u, { label: "READ_ONLY" }, { default: i.withCtx(() => [i.createTextVNode(i.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), i.createVNode(c, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, { default: i.withCtx((e3) => [i.createVNode(m, { value: n2.formatCondition(e3.row.condition), type: "textarea", autosize: "", onClick: (t3) => n2.selectCondition(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), d2.showFieldSelection ? (i.openBlock(), i.createBlock(w, { key: 0, "disabled-fields": d2.disabledFields, onInputValue: n2.setSelectedFields, onClose: t2[0] || (t2[0] = (e3) => d2.showFieldSelection = false) }, null, 8, ["disabled-fields", "onInputValue"])) : i.createCommentVNode("", true), d2.showAdditionalCondition ? (i.openBlock(), i.createBlock(C, { key: 1, modelValue: d2.currentRow.condition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => d2.currentRow.condition = e3), onClose: t2[2] || (t2[2] = (e3) => d2.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : i.createCommentVNode("", true)]);
59
- }]]);
60
- module.exports = s;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- const e = require("vue"), o = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), l = { key: 0 };
3
- const t = o({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
4
- const e2 = { beforeSubmitEnabled: false, beforeSubmit: {} };
5
- return this.modelValue.beforeSubmit && (e2.beforeSubmitEnabled = true, e2.beforeSubmit = { ...this.modelValue.beforeSubmit }), e2.afterComplete = this.modelValue.afterComplete, { formModel: e2 };
6
- }, mounted() {
7
- this.$watch("formModel", function(e2, o2) {
8
- const l2 = {};
9
- this.formModel.beforeSubmitEnabled && (l2.beforeSubmit = { ...this.formModel.beforeSubmit }), l2.afterComplete = this.formModel.afterComplete, this.$emit("update:modelValue", l2);
10
- }, { deep: true });
11
- } }, [["render", function(o2, t2, r, a, m, d) {
12
- const u = e.resolveComponent("el-switch"), f = e.resolveComponent("el-form-item"), b = e.resolveComponent("el-input"), i = e.resolveComponent("el-form");
13
- return e.openBlock(), e.createBlock(i, { model: m.formModel, "label-width": "80px" }, { default: e.withCtx(() => [e.createVNode(f, { label: o2.$t("workflowEditor.task.beforeSubmission") }, { default: e.withCtx(() => [e.createVNode(u, { modelValue: m.formModel.beforeSubmitEnabled, "onUpdate:modelValue": t2[0] || (t2[0] = (e2) => m.formModel.beforeSubmitEnabled = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), m.formModel.beforeSubmitEnabled ? (e.openBlock(), e.createElementBlock("div", l, [e.createVNode(f, { label: o2.$t("workflowEditor.task.executionURL") }, { default: e.withCtx(() => [e.createVNode(b, { modelValue: m.formModel.beforeSubmit.url, "onUpdate:modelValue": t2[1] || (t2[1] = (e2) => m.formModel.beforeSubmit.url = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), e.createVNode(f, { label: o2.$t("workflowEditor.task.errorMessage") }, { default: e.withCtx(() => [e.createVNode(b, { modelValue: m.formModel.beforeSubmit.errorMessage, "onUpdate:modelValue": t2[2] || (t2[2] = (e2) => m.formModel.beforeSubmit.errorMessage = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])])) : e.createCommentVNode("", true), e.createVNode(f, { label: o2.$t("workflowEditor.task.afterSubmission") }, { default: e.withCtx(() => [e.createVNode(u, { modelValue: m.formModel.afterComplete, "onUpdate:modelValue": t2[3] || (t2[3] = (e2) => m.formModel.afterComplete = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
14
- }]]);
15
- module.exports = t;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- const e = require("./editable-fields.vue.cjs"), o = require("./editable-child-fields.vue.cjs"), t = require("../common/additional-condition.vue.cjs"), l = require("../common/user-selection.vue.cjs"), i = require("../../util.cjs"), d = require("vue");
3
- require("./permission-settings.vue2.cjs");
4
- const a = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "PermissionSettings", components: { EditableFields: e, UserSelection: l, AdditionalCondition: t, editableChildFields: o }, props: { modelValue: { type: Object, default: null } }, data() {
5
- const e2 = i.deepCopy(this.modelValue), o2 = ["viewOpinion", "editOpinion", "requireOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
6
- o2.forEach((o3) => {
7
- e2[o3 + "Checkbox"] = !!this.modelValue[o3].condition;
8
- });
9
- const t2 = ["add", "delete", "download"];
10
- return t2.forEach((o3) => {
11
- e2.attachment[o3 + "Checkbox"] = !!this.modelValue.attachment[o3] && !!this.modelValue.attachment[o3].condition, e2.attachment.permission || (e2.attachment[o3] = { permission: false, condition: "" });
12
- }), { formModel: e2, attrNames: o2, attachmentAttrNames: t2 };
13
- }, mounted() {
14
- this.$watch("formModel", function(e2) {
15
- const o2 = { editForm: {}, viewOpinion: {}, editOpinion: {}, requireOpinion: {}, viewMeetingResult: {}, viewVoteResult: {}, viewFlowHistory: {}, printForm: {}, officialText: {}, attachment: {}, deleteInstance: { userCondition: "" } };
16
- o2.editForm.permission = e2.editForm.permission, e2.editForm.permission && (o2.editForm.field = e2.editForm.field, o2.editForm.subTablePermission = e2.editForm.subTablePermission), this.attrNames.map((t2) => {
17
- o2[t2].permission = e2[t2].permission, e2[t2].permission && e2[t2 + "Checkbox"] ? o2[t2].condition = e2[t2].condition : o2[t2].condition = "";
18
- }), o2.attachment.permission = e2.attachment.permission, e2.attachment.permission && this.attachmentAttrNames.map((t2) => {
19
- o2.attachment[t2] || (o2.attachment[t2] = {}), o2.attachment[t2].permission = e2.attachment[t2].permission, e2.attachment[t2].permission && e2.attachment[t2 + "Checkbox"] ? o2.attachment[t2].condition = e2.attachment[t2].condition : o2.attachment[t2].condition = "";
20
- }), this.$emit("update:modelValue", o2);
21
- }, { deep: true });
22
- }, methods: {} }, [["render", function(e2, o2, t2, l2, i2, a2) {
23
- const n = d.resolveComponent("el-switch"), r = d.resolveComponent("el-form-item"), m = d.resolveComponent("editable-fields"), s = d.resolveComponent("editable-child-fields"), c = d.resolveComponent("el-checkbox"), u = d.resolveComponent("additional-condition"), V = d.resolveComponent("user-selection"), p = d.resolveComponent("el-card"), f = d.resolveComponent("el-form");
24
- return d.openBlock(), d.createBlock(f, { model: i2.formModel }, { default: d.withCtx(() => [d.createVNode(r, { label: e2.$t("workflowEditor.task.allowEditingForms") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.editForm.permission, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => i2.formModel.editForm.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [i2.formModel.editForm.permission ? (d.openBlock(), d.createBlock(m, { key: 0, modelValue: i2.formModel.editForm.field, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => i2.formModel.editForm.field = e3) }, null, 8, ["modelValue"])) : d.createCommentVNode("", true), i2.formModel.editForm.permission ? (d.openBlock(), d.createBlock(s, { key: 1, modelValue: i2.formModel.editForm.subTablePermission, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => i2.formModel.editForm.subTablePermission = e3) }, null, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 512), [[d.vShow, i2.formModel.editForm.permission]]), d.createVNode(r, { label: e2.$t("workflowEditor.task.allowViews") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.viewOpinion.permission, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => i2.formModel.viewOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewOpinion.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.viewOpinionCheckbox, "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => i2.formModel.viewOpinionCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [d.createVNode(u, { modelValue: i2.formModel.viewOpinion.condition, "onUpdate:modelValue": o2[5] || (o2[5] = (e3) => i2.formModel.viewOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d.vShow, i2.formModel.viewOpinion.permission && i2.formModel.viewOpinionCheckbox]]), d.createVNode(r, { label: e2.$t("workflowEditor.task.commentsAllowed") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.editOpinion.permission, "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => i2.formModel.editOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.editOpinion.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.editOpinionCheckbox, "onUpdate:modelValue": o2[7] || (o2[7] = (e3) => i2.formModel.editOpinionCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [d.createVNode(u, { modelValue: i2.formModel.editOpinion.condition, "onUpdate:modelValue": o2[8] || (o2[8] = (e3) => i2.formModel.editOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d.vShow, i2.formModel.editOpinion.permission && i2.formModel.editOpinionCheckbox]]), d.createVNode(r, { label: e2.$t("workflowEditor.task.commentsAreRequired") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.requireOpinion.permission, "onUpdate:modelValue": o2[9] || (o2[9] = (e3) => i2.formModel.requireOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.requireOpinion.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.requireOpinionCheckbox, "onUpdate:modelValue": o2[10] || (o2[10] = (e3) => i2.formModel.requireOpinionCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [d.createVNode(u, { modelValue: i2.formModel.requireOpinion.condition, "onUpdate:modelValue": o2[11] || (o2[11] = (e3) => i2.formModel.requireOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d.vShow, i2.formModel.requireOpinion.permission && i2.formModel.requireOpinionCheckbox]]), d.createVNode(r, { label: e2.$t("workflowEditor.task.allowToViewCountersignatureResults") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.viewMeetingResult.permission, "onUpdate:modelValue": o2[12] || (o2[12] = (e3) => i2.formModel.viewMeetingResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewMeetingResult.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.viewMeetingResultCheckbox, "onUpdate:modelValue": o2[13] || (o2[13] = (e3) => i2.formModel.viewMeetingResultCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [d.createVNode(u, { modelValue: i2.formModel.viewMeetingResult.condition, "onUpdate:modelValue": o2[14] || (o2[14] = (e3) => i2.formModel.viewMeetingResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d.vShow, i2.formModel.viewMeetingResult.permission && i2.formModel.viewMeetingResultCheckbox]]), d.createVNode(r, { label: e2.$t("workflowEditor.task.allowToViewVotingResults") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.viewVoteResult.permission, "onUpdate:modelValue": o2[15] || (o2[15] = (e3) => i2.formModel.viewVoteResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewVoteResult.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.viewVoteResultCheckbox, "onUpdate:modelValue": o2[16] || (o2[16] = (e3) => i2.formModel.viewVoteResultCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [d.createVNode(u, { modelValue: i2.formModel.viewVoteResult.condition, "onUpdate:modelValue": o2[17] || (o2[17] = (e3) => i2.formModel.viewVoteResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d.vShow, i2.formModel.viewVoteResult.permission && i2.formModel.viewVoteResultCheckbox]]), d.createVNode(r, { label: e2.$t("workflowEditor.task.allowToViewFlowHistory") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.viewFlowHistory.permission, "onUpdate:modelValue": o2[18] || (o2[18] = (e3) => i2.formModel.viewFlowHistory.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewFlowHistory.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.viewFlowHistoryCheckbox, "onUpdate:modelValue": o2[19] || (o2[19] = (e3) => i2.formModel.viewFlowHistoryCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [d.createVNode(u, { modelValue: i2.formModel.viewFlowHistory.condition, "onUpdate:modelValue": o2[20] || (o2[20] = (e3) => i2.formModel.viewFlowHistory.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d.vShow, i2.formModel.viewFlowHistory.permission && i2.formModel.viewFlowHistoryCheckbox]]), d.createVNode(r, { label: e2.$t("workflowEditor.task.allowFormsToPrint") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.printForm.permission, "onUpdate:modelValue": o2[21] || (o2[21] = (e3) => i2.formModel.printForm.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.printForm.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.printFormCheckbox, "onUpdate:modelValue": o2[22] || (o2[22] = (e3) => i2.formModel.printFormCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.withDirectives(d.createVNode(r, null, { default: d.withCtx(() => [d.createVNode(u, { modelValue: i2.formModel.printForm.condition, "onUpdate:modelValue": o2[23] || (o2[23] = (e3) => i2.formModel.printForm.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d.vShow, i2.formModel.printForm.permission && i2.formModel.printFormCheckbox]]), d.createVNode(V, { modelValue: i2.formModel.deleteInstance.userCondition, "onUpdate:modelValue": o2[24] || (o2[24] = (e3) => i2.formModel.deleteInstance.userCondition = e3), label: e2.$t("workflowEditor.task.deletePermission"), "label-width": "100px", "current-transactor": true }, null, 8, ["modelValue", "label"]), d.createVNode(r, { label: e2.$t("workflowEditor.task.attachmentAuthority") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.attachment.permission, "onUpdate:modelValue": o2[25] || (o2[25] = (e3) => i2.formModel.attachment.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.attachment.permission ? (d.openBlock(), d.createBlock(p, { key: 0, class: "box-card" }, { default: d.withCtx(() => [d.createVNode(r, { label: e2.$t("workflowEditor.task.addAttachment") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.attachment.add.permission, "onUpdate:modelValue": o2[26] || (o2[26] = (e3) => i2.formModel.attachment.add.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.add.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.attachment.addCheckbox, "onUpdate:modelValue": o2[27] || (o2[27] = (e3) => i2.formModel.attachment.addCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true), i2.formModel.attachment.add.permission && i2.formModel.attachment.addCheckbox ? (d.openBlock(), d.createBlock(u, { key: 1, modelValue: i2.formModel.attachment.add.condition, "onUpdate:modelValue": o2[28] || (o2[28] = (e3) => i2.formModel.attachment.add.condition = e3) }, null, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.createVNode(r, { label: e2.$t("workflowEditor.task.deleteAttachment") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.attachment.delete.permission, "onUpdate:modelValue": o2[29] || (o2[29] = (e3) => i2.formModel.attachment.delete.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.delete.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.attachment.deleteCheckbox, "onUpdate:modelValue": o2[30] || (o2[30] = (e3) => i2.formModel.attachment.deleteCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true), i2.formModel.attachment.delete.permission && i2.formModel.attachment.deleteCheckbox ? (d.openBlock(), d.createBlock(u, { key: 1, modelValue: i2.formModel.attachment.delete.condition, "onUpdate:modelValue": o2[31] || (o2[31] = (e3) => i2.formModel.attachment.delete.condition = e3) }, null, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), d.createVNode(r, { label: e2.$t("workflowEditor.task.downloadAttachment") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.attachment.download.permission, "onUpdate:modelValue": o2[32] || (o2[32] = (e3) => i2.formModel.attachment.download.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.download.permission ? (d.openBlock(), d.createBlock(c, { key: 0, modelValue: i2.formModel.attachment.downloadCheckbox, "onUpdate:modelValue": o2[33] || (o2[33] = (e3) => i2.formModel.attachment.downloadCheckbox = e3) }, { default: d.withCtx(() => [d.createTextVNode(d.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : d.createCommentVNode("", true), i2.formModel.attachment.download.permission && i2.formModel.attachment.downloadCheckbox ? (d.openBlock(), d.createBlock(u, { key: 1, modelValue: i2.formModel.attachment.download.condition, "onUpdate:modelValue": o2[34] || (o2[34] = (e3) => i2.formModel.attachment.download.condition = e3) }, null, 8, ["modelValue"])) : d.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 })) : d.createCommentVNode("", true), d.createVNode(r, { label: e2.$t("workflowEditor.task.bodyPermission") }, { default: d.withCtx(() => [d.createVNode(n, { modelValue: i2.formModel.officialText.permission, "onUpdate:modelValue": o2[35] || (o2[35] = (e3) => i2.formModel.officialText.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
25
- }], ["__scopeId", "data-v-c019538f"]]);
26
- module.exports = a;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- module.exports = "";