workflow-editor 0.0.81-up-tmp11 → 0.0.81-up-tmp12

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 (315) hide show
  1. package/dist/index.full.min.js +3504 -0
  2. package/dist/style.css +526 -0
  3. package/dist/vite.svg +1 -0
  4. package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
  5. package/es/index.mjs +17 -0
  6. package/es/plugins/formValidatorUtil.mjs +206 -0
  7. package/es/plugins/index.mjs +7 -0
  8. package/es/src/i18n/i18n.mjs +7 -0
  9. package/es/src/i18n/langs/cn.mjs +4 -0
  10. package/es/src/i18n/langs/en.mjs +4 -0
  11. package/es/style.css +525 -0
  12. package/es/vite.svg +1 -0
  13. package/es/workflow-editor/index.mjs +10 -0
  14. package/es/workflow-editor/src/api.mjs +6 -0
  15. package/es/workflow-editor/src/assets/wf-editor-icons.mjs +43 -0
  16. package/es/workflow-editor/src/json-object-templates/auto-task.mjs +7 -0
  17. package/es/workflow-editor/src/json-object-templates/copy-task.mjs +7 -0
  18. package/es/workflow-editor/src/json-object-templates/decision.mjs +7 -0
  19. package/es/workflow-editor/src/json-object-templates/end.mjs +7 -0
  20. package/es/workflow-editor/src/json-object-templates/fork.mjs +7 -0
  21. package/es/workflow-editor/src/json-object-templates/human-decision.mjs +7 -0
  22. package/es/workflow-editor/src/json-object-templates/human-task.mjs +7 -0
  23. package/es/workflow-editor/src/json-object-templates/join.mjs +7 -0
  24. package/es/workflow-editor/src/json-object-templates/process.mjs +9 -0
  25. package/es/workflow-editor/src/json-object-templates/start.mjs +7 -0
  26. package/es/workflow-editor/src/json-object-templates/subprocess.mjs +7 -0
  27. package/es/workflow-editor/src/json-object-templates/transition.mjs +6 -0
  28. package/es/workflow-editor/src/main/admin-save-dialog.vue.mjs +13 -0
  29. package/es/workflow-editor/src/main/canvas.vue.mjs +130 -0
  30. package/es/workflow-editor/src/main/canvas.vue2.mjs +4 -0
  31. package/es/workflow-editor/src/main/context-menu.vue.mjs +33 -0
  32. package/es/workflow-editor/src/main/context-menu.vue2.mjs +4 -0
  33. package/es/workflow-editor/src/main/icon-svg.vue.mjs +12 -0
  34. package/es/workflow-editor/src/main/icon-svg.vue2.mjs +4 -0
  35. package/es/workflow-editor/src/main/selection-region.vue.mjs +17 -0
  36. package/es/workflow-editor/src/main/selection-region.vue2.mjs +4 -0
  37. package/es/workflow-editor/src/main/tache-history-tooltip.vue.mjs +10 -0
  38. package/es/workflow-editor/src/main/tache-history-tooltip.vue2.mjs +4 -0
  39. package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue.mjs +11 -0
  40. package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.mjs +4 -0
  41. package/es/workflow-editor/src/main/toolbox.vue.mjs +16 -0
  42. package/es/workflow-editor/src/main/toolbox.vue2.mjs +4 -0
  43. package/es/workflow-editor/src/main/wf-history-canvas.vue.mjs +86 -0
  44. package/es/workflow-editor/src/main/wf-history-canvas.vue2.mjs +4 -0
  45. package/es/workflow-editor/src/process-service.mjs +21 -0
  46. package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.mjs +25 -0
  47. package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.mjs +4 -0
  48. package/es/workflow-editor/src/properties-editors/auto-task.vue.mjs +22 -0
  49. package/es/workflow-editor/src/properties-editors/auto-task.vue2.mjs +4 -0
  50. package/es/workflow-editor/src/properties-editors/common/additional-condition-utils.mjs +125 -0
  51. package/es/workflow-editor/src/properties-editors/common/additional-condition.vue.mjs +60 -0
  52. package/es/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.mjs +5 -0
  53. package/es/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.mjs +72 -0
  54. package/es/workflow-editor/src/properties-editors/common/common-notice-tool.vue.mjs +18 -0
  55. package/es/workflow-editor/src/properties-editors/common/common-user-condition.vue.mjs +55 -0
  56. package/es/workflow-editor/src/properties-editors/common/form-fields-utils.mjs +14 -0
  57. package/es/workflow-editor/src/properties-editors/common/form-fields.vue.mjs +20 -0
  58. package/es/workflow-editor/src/properties-editors/common/form-fields.vue2.mjs +4 -0
  59. package/es/workflow-editor/src/properties-editors/common/i18n-input.vue.mjs +25 -0
  60. package/es/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.mjs +36 -0
  61. package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue.mjs +27 -0
  62. package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue2.mjs +4 -0
  63. package/es/workflow-editor/src/properties-editors/common/notice.vue.mjs +31 -0
  64. package/es/workflow-editor/src/properties-editors/common/reminder.vue.mjs +36 -0
  65. package/es/workflow-editor/src/properties-editors/common/reminder.vue2.mjs +4 -0
  66. package/es/workflow-editor/src/properties-editors/common/select-mail-template.vue.mjs +20 -0
  67. package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.mjs +95 -0
  68. package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.mjs +4 -0
  69. package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue.mjs +16 -0
  70. package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue2.mjs +4 -0
  71. package/es/workflow-editor/src/properties-editors/common/task-title.vue.mjs +46 -0
  72. package/es/workflow-editor/src/properties-editors/common/task-title.vue2.mjs +4 -0
  73. package/es/workflow-editor/src/properties-editors/common/transactor-settings.vue.mjs +43 -0
  74. package/es/workflow-editor/src/properties-editors/common/user-selection.vue.mjs +116 -0
  75. package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.mjs +60 -0
  76. package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.mjs +4 -0
  77. package/es/workflow-editor/src/properties-editors/common/variables.vue.mjs +41 -0
  78. package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.mjs +25 -0
  79. package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.mjs +4 -0
  80. package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.mjs +30 -0
  81. package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.mjs +4 -0
  82. package/es/workflow-editor/src/properties-editors/copy-task.vue.mjs +26 -0
  83. package/es/workflow-editor/src/properties-editors/copy-task.vue2.mjs +4 -0
  84. package/es/workflow-editor/src/properties-editors/decision.vue.mjs +24 -0
  85. package/es/workflow-editor/src/properties-editors/fork.vue.mjs +21 -0
  86. package/es/workflow-editor/src/properties-editors/human-decision.vue.mjs +15 -0
  87. package/es/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.mjs +16 -0
  88. package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue.mjs +38 -0
  89. package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.mjs +4 -0
  90. package/es/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.mjs +84 -0
  91. package/es/workflow-editor/src/properties-editors/human-task/custom-actions.vue.mjs +62 -0
  92. package/es/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.mjs +80 -0
  93. package/es/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.mjs +86 -0
  94. package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.mjs +43 -0
  95. package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.mjs +4 -0
  96. package/es/workflow-editor/src/properties-editors/human-task/editable-fields.vue.mjs +67 -0
  97. package/es/workflow-editor/src/properties-editors/human-task/events.vue.mjs +18 -0
  98. package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue.mjs +33 -0
  99. package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.mjs +4 -0
  100. package/es/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.mjs +56 -0
  101. package/es/workflow-editor/src/properties-editors/human-task.vue.mjs +28 -0
  102. package/es/workflow-editor/src/properties-editors/human-task.vue2.mjs +4 -0
  103. package/es/workflow-editor/src/properties-editors/join.vue.mjs +15 -0
  104. package/es/workflow-editor/src/properties-editors/process/basic-properties.vue.mjs +88 -0
  105. package/es/workflow-editor/src/properties-editors/process/events.vue.mjs +21 -0
  106. package/es/workflow-editor/src/properties-editors/process/notice-settings.vue.mjs +25 -0
  107. package/es/workflow-editor/src/properties-editors/process/parameter-settings.vue.mjs +17 -0
  108. package/es/workflow-editor/src/properties-editors/process/permission-settings.vue.mjs +10 -0
  109. package/es/workflow-editor/src/properties-editors/process/selectPage.vue.mjs +28 -0
  110. package/es/workflow-editor/src/properties-editors/process.vue.mjs +34 -0
  111. package/es/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.mjs +64 -0
  112. package/es/workflow-editor/src/properties-editors/subprocess/events.vue.mjs +9 -0
  113. package/es/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.mjs +55 -0
  114. package/es/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.mjs +20 -0
  115. package/es/workflow-editor/src/properties-editors/subprocess.vue.mjs +22 -0
  116. package/es/workflow-editor/src/properties-editors/subprocess.vue2.mjs +4 -0
  117. package/es/workflow-editor/src/properties-editors/transition/basic-properties.vue.mjs +14 -0
  118. package/es/workflow-editor/src/properties-editors/transition.vue.mjs +17 -0
  119. package/es/workflow-editor/src/properties-editors/transition.vue2.mjs +4 -0
  120. package/es/workflow-editor/src/properties-editors/user-condition.mjs +49 -0
  121. package/es/workflow-editor/src/store/getters.mjs +4 -0
  122. package/es/workflow-editor/src/store/workflow-editor.mjs +73 -0
  123. package/es/workflow-editor/src/taches/auto-task.vue.mjs +25 -0
  124. package/es/workflow-editor/src/taches/common-methods.mjs +13 -0
  125. package/es/workflow-editor/src/taches/copy-task.vue.mjs +25 -0
  126. package/es/workflow-editor/src/taches/custom-task.vue.mjs +16 -0
  127. package/es/workflow-editor/src/taches/decision.vue.mjs +25 -0
  128. package/es/workflow-editor/src/taches/decision.vue2.mjs +4 -0
  129. package/es/workflow-editor/src/taches/end.vue.mjs +14 -0
  130. package/es/workflow-editor/src/taches/end.vue2.mjs +4 -0
  131. package/es/workflow-editor/src/taches/fork.vue.mjs +25 -0
  132. package/es/workflow-editor/src/taches/fork.vue2.mjs +4 -0
  133. package/es/workflow-editor/src/taches/human-decision.vue.mjs +25 -0
  134. package/es/workflow-editor/src/taches/human-decision.vue2.mjs +4 -0
  135. package/es/workflow-editor/src/taches/human-task.vue.mjs +25 -0
  136. package/es/workflow-editor/src/taches/join.vue.mjs +16 -0
  137. package/es/workflow-editor/src/taches/join.vue2.mjs +4 -0
  138. package/es/workflow-editor/src/taches/joint.vue.mjs +54 -0
  139. package/es/workflow-editor/src/taches/joint.vue2.mjs +4 -0
  140. package/es/workflow-editor/src/taches/start.vue.mjs +14 -0
  141. package/es/workflow-editor/src/taches/start.vue2.mjs +4 -0
  142. package/es/workflow-editor/src/taches/subprocess.vue.mjs +25 -0
  143. package/es/workflow-editor/src/taches/tache-resizer.vue.mjs +30 -0
  144. package/es/workflow-editor/src/taches/tache-resizer.vue2.mjs +4 -0
  145. package/es/workflow-editor/src/transitions/broken-line.vue.mjs +32 -0
  146. package/es/workflow-editor/src/transitions/broken-line.vue2.mjs +4 -0
  147. package/es/workflow-editor/src/transitions/curve-line.vue.mjs +33 -0
  148. package/es/workflow-editor/src/transitions/curve-line.vue2.mjs +4 -0
  149. package/es/workflow-editor/src/transitions/straight-line.vue.mjs +13 -0
  150. package/es/workflow-editor/src/transitions/transition.vue.mjs +70 -0
  151. package/es/workflow-editor/src/transitions/transition.vue2.mjs +4 -0
  152. package/es/workflow-editor/src/transitions/virtual-transition.vue.mjs +17 -0
  153. package/es/workflow-editor/src/transitions/virtual-transition.vue2.mjs +4 -0
  154. package/es/workflow-editor/src/util.mjs +180 -0
  155. package/es/workflow-editor/src/workflow-editor.vue.mjs +205 -0
  156. package/es/workflow-editor/src/workflow-editor.vue2.mjs +4 -0
  157. package/es/workflow-editor/src/workflow-history.vue.mjs +35 -0
  158. package/es/workflow-editor/src/workflow-history.vue2.mjs +4 -0
  159. package/lib/_virtual/_plugin-vue_export-helper.cjs +7 -0
  160. package/lib/index.cjs +8 -0
  161. package/lib/plugins/formValidatorUtil.cjs +203 -0
  162. package/lib/plugins/index.cjs +5 -0
  163. package/lib/src/i18n/i18n.cjs +3 -0
  164. package/lib/src/i18n/langs/cn.cjs +2 -0
  165. package/lib/src/i18n/langs/en.cjs +2 -0
  166. package/lib/style.css +525 -0
  167. package/lib/vite.svg +1 -0
  168. package/lib/workflow-editor/index.cjs +7 -0
  169. package/lib/workflow-editor/src/api.cjs +5 -0
  170. package/lib/workflow-editor/src/assets/wf-editor-icons.cjs +44 -0
  171. package/lib/workflow-editor/src/json-object-templates/auto-task.cjs +5 -0
  172. package/lib/workflow-editor/src/json-object-templates/copy-task.cjs +5 -0
  173. package/lib/workflow-editor/src/json-object-templates/decision.cjs +5 -0
  174. package/lib/workflow-editor/src/json-object-templates/end.cjs +5 -0
  175. package/lib/workflow-editor/src/json-object-templates/fork.cjs +5 -0
  176. package/lib/workflow-editor/src/json-object-templates/human-decision.cjs +5 -0
  177. package/lib/workflow-editor/src/json-object-templates/human-task.cjs +5 -0
  178. package/lib/workflow-editor/src/json-object-templates/join.cjs +5 -0
  179. package/lib/workflow-editor/src/json-object-templates/process.cjs +6 -0
  180. package/lib/workflow-editor/src/json-object-templates/start.cjs +5 -0
  181. package/lib/workflow-editor/src/json-object-templates/subprocess.cjs +5 -0
  182. package/lib/workflow-editor/src/json-object-templates/transition.cjs +4 -0
  183. package/lib/workflow-editor/src/main/admin-save-dialog.vue.cjs +11 -0
  184. package/lib/workflow-editor/src/main/canvas.vue.cjs +101 -0
  185. package/lib/workflow-editor/src/main/canvas.vue2.cjs +2 -0
  186. package/lib/workflow-editor/src/main/context-menu.vue.cjs +29 -0
  187. package/lib/workflow-editor/src/main/context-menu.vue2.cjs +2 -0
  188. package/lib/workflow-editor/src/main/icon-svg.vue.cjs +10 -0
  189. package/lib/workflow-editor/src/main/icon-svg.vue2.cjs +2 -0
  190. package/lib/workflow-editor/src/main/selection-region.vue.cjs +13 -0
  191. package/lib/workflow-editor/src/main/selection-region.vue2.cjs +2 -0
  192. package/lib/workflow-editor/src/main/tache-history-tooltip.vue.cjs +8 -0
  193. package/lib/workflow-editor/src/main/tache-history-tooltip.vue2.cjs +2 -0
  194. package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue.cjs +9 -0
  195. package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.cjs +2 -0
  196. package/lib/workflow-editor/src/main/toolbox.vue.cjs +11 -0
  197. package/lib/workflow-editor/src/main/toolbox.vue2.cjs +2 -0
  198. package/lib/workflow-editor/src/main/wf-history-canvas.vue.cjs +67 -0
  199. package/lib/workflow-editor/src/main/wf-history-canvas.vue2.cjs +2 -0
  200. package/lib/workflow-editor/src/process-service.cjs +20 -0
  201. package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.cjs +20 -0
  202. package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.cjs +2 -0
  203. package/lib/workflow-editor/src/properties-editors/auto-task.vue.cjs +19 -0
  204. package/lib/workflow-editor/src/properties-editors/auto-task.vue2.cjs +2 -0
  205. package/lib/workflow-editor/src/properties-editors/common/additional-condition-utils.cjs +94 -0
  206. package/lib/workflow-editor/src/properties-editors/common/additional-condition.vue.cjs +54 -0
  207. package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.cjs +4 -0
  208. package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.cjs +67 -0
  209. package/lib/workflow-editor/src/properties-editors/common/common-notice-tool.vue.cjs +16 -0
  210. package/lib/workflow-editor/src/properties-editors/common/common-user-condition.vue.cjs +50 -0
  211. package/lib/workflow-editor/src/properties-editors/common/form-fields-utils.cjs +11 -0
  212. package/lib/workflow-editor/src/properties-editors/common/form-fields.vue.cjs +17 -0
  213. package/lib/workflow-editor/src/properties-editors/common/form-fields.vue2.cjs +2 -0
  214. package/lib/workflow-editor/src/properties-editors/common/i18n-input.vue.cjs +20 -0
  215. package/lib/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.cjs +31 -0
  216. package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue.cjs +22 -0
  217. package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue2.cjs +2 -0
  218. package/lib/workflow-editor/src/properties-editors/common/notice.vue.cjs +25 -0
  219. package/lib/workflow-editor/src/properties-editors/common/reminder.vue.cjs +31 -0
  220. package/lib/workflow-editor/src/properties-editors/common/reminder.vue2.cjs +2 -0
  221. package/lib/workflow-editor/src/properties-editors/common/select-mail-template.vue.cjs +17 -0
  222. package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.cjs +93 -0
  223. package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.cjs +2 -0
  224. package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue.cjs +13 -0
  225. package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue2.cjs +2 -0
  226. package/lib/workflow-editor/src/properties-editors/common/task-title.vue.cjs +42 -0
  227. package/lib/workflow-editor/src/properties-editors/common/task-title.vue2.cjs +2 -0
  228. package/lib/workflow-editor/src/properties-editors/common/transactor-settings.vue.cjs +37 -0
  229. package/lib/workflow-editor/src/properties-editors/common/user-selection.vue.cjs +110 -0
  230. package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.cjs +55 -0
  231. package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.cjs +2 -0
  232. package/lib/workflow-editor/src/properties-editors/common/variables.vue.cjs +39 -0
  233. package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.cjs +20 -0
  234. package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.cjs +2 -0
  235. package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.cjs +26 -0
  236. package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.cjs +2 -0
  237. package/lib/workflow-editor/src/properties-editors/copy-task.vue.cjs +19 -0
  238. package/lib/workflow-editor/src/properties-editors/copy-task.vue2.cjs +2 -0
  239. package/lib/workflow-editor/src/properties-editors/decision.vue.cjs +20 -0
  240. package/lib/workflow-editor/src/properties-editors/fork.vue.cjs +18 -0
  241. package/lib/workflow-editor/src/properties-editors/human-decision.vue.cjs +13 -0
  242. package/lib/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.cjs +13 -0
  243. package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue.cjs +31 -0
  244. package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.cjs +2 -0
  245. package/lib/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.cjs +82 -0
  246. package/lib/workflow-editor/src/properties-editors/human-task/custom-actions.vue.cjs +56 -0
  247. package/lib/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.cjs +75 -0
  248. package/lib/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.cjs +80 -0
  249. package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.cjs +39 -0
  250. package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.cjs +2 -0
  251. package/lib/workflow-editor/src/properties-editors/human-task/editable-fields.vue.cjs +60 -0
  252. package/lib/workflow-editor/src/properties-editors/human-task/events.vue.cjs +15 -0
  253. package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue.cjs +26 -0
  254. package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.cjs +2 -0
  255. package/lib/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.cjs +49 -0
  256. package/lib/workflow-editor/src/properties-editors/human-task.vue.cjs +19 -0
  257. package/lib/workflow-editor/src/properties-editors/human-task.vue2.cjs +2 -0
  258. package/lib/workflow-editor/src/properties-editors/join.vue.cjs +13 -0
  259. package/lib/workflow-editor/src/properties-editors/process/basic-properties.vue.cjs +81 -0
  260. package/lib/workflow-editor/src/properties-editors/process/events.vue.cjs +18 -0
  261. package/lib/workflow-editor/src/properties-editors/process/notice-settings.vue.cjs +21 -0
  262. package/lib/workflow-editor/src/properties-editors/process/parameter-settings.vue.cjs +13 -0
  263. package/lib/workflow-editor/src/properties-editors/process/permission-settings.vue.cjs +7 -0
  264. package/lib/workflow-editor/src/properties-editors/process/selectPage.vue.cjs +23 -0
  265. package/lib/workflow-editor/src/properties-editors/process.vue.cjs +24 -0
  266. package/lib/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.cjs +57 -0
  267. package/lib/workflow-editor/src/properties-editors/subprocess/events.vue.cjs +7 -0
  268. package/lib/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.cjs +50 -0
  269. package/lib/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.cjs +16 -0
  270. package/lib/workflow-editor/src/properties-editors/subprocess.vue.cjs +17 -0
  271. package/lib/workflow-editor/src/properties-editors/subprocess.vue2.cjs +2 -0
  272. package/lib/workflow-editor/src/properties-editors/transition/basic-properties.vue.cjs +10 -0
  273. package/lib/workflow-editor/src/properties-editors/transition.vue.cjs +12 -0
  274. package/lib/workflow-editor/src/properties-editors/transition.vue2.cjs +2 -0
  275. package/lib/workflow-editor/src/properties-editors/user-condition.cjs +33 -0
  276. package/lib/workflow-editor/src/store/getters.cjs +2 -0
  277. package/lib/workflow-editor/src/store/workflow-editor.cjs +71 -0
  278. package/lib/workflow-editor/src/taches/auto-task.vue.cjs +17 -0
  279. package/lib/workflow-editor/src/taches/common-methods.cjs +11 -0
  280. package/lib/workflow-editor/src/taches/copy-task.vue.cjs +17 -0
  281. package/lib/workflow-editor/src/taches/custom-task.vue.cjs +9 -0
  282. package/lib/workflow-editor/src/taches/decision.vue.cjs +19 -0
  283. package/lib/workflow-editor/src/taches/decision.vue2.cjs +2 -0
  284. package/lib/workflow-editor/src/taches/end.vue.cjs +9 -0
  285. package/lib/workflow-editor/src/taches/end.vue2.cjs +2 -0
  286. package/lib/workflow-editor/src/taches/fork.vue.cjs +19 -0
  287. package/lib/workflow-editor/src/taches/fork.vue2.cjs +2 -0
  288. package/lib/workflow-editor/src/taches/human-decision.vue.cjs +19 -0
  289. package/lib/workflow-editor/src/taches/human-decision.vue2.cjs +2 -0
  290. package/lib/workflow-editor/src/taches/human-task.vue.cjs +17 -0
  291. package/lib/workflow-editor/src/taches/join.vue.cjs +11 -0
  292. package/lib/workflow-editor/src/taches/join.vue2.cjs +2 -0
  293. package/lib/workflow-editor/src/taches/joint.vue.cjs +50 -0
  294. package/lib/workflow-editor/src/taches/joint.vue2.cjs +2 -0
  295. package/lib/workflow-editor/src/taches/start.vue.cjs +9 -0
  296. package/lib/workflow-editor/src/taches/start.vue2.cjs +2 -0
  297. package/lib/workflow-editor/src/taches/subprocess.vue.cjs +17 -0
  298. package/lib/workflow-editor/src/taches/tache-resizer.vue.cjs +27 -0
  299. package/lib/workflow-editor/src/taches/tache-resizer.vue2.cjs +2 -0
  300. package/lib/workflow-editor/src/transitions/broken-line.vue.cjs +28 -0
  301. package/lib/workflow-editor/src/transitions/broken-line.vue2.cjs +2 -0
  302. package/lib/workflow-editor/src/transitions/curve-line.vue.cjs +29 -0
  303. package/lib/workflow-editor/src/transitions/curve-line.vue2.cjs +2 -0
  304. package/lib/workflow-editor/src/transitions/straight-line.vue.cjs +9 -0
  305. package/lib/workflow-editor/src/transitions/transition.vue.cjs +63 -0
  306. package/lib/workflow-editor/src/transitions/transition.vue2.cjs +2 -0
  307. package/lib/workflow-editor/src/transitions/virtual-transition.vue.cjs +13 -0
  308. package/lib/workflow-editor/src/transitions/virtual-transition.vue2.cjs +2 -0
  309. package/lib/workflow-editor/src/util.cjs +139 -0
  310. package/lib/workflow-editor/src/workflow-editor.vue.cjs +191 -0
  311. package/lib/workflow-editor/src/workflow-editor.vue2.cjs +2 -0
  312. package/lib/workflow-editor/src/workflow-history.vue.cjs +28 -0
  313. package/lib/workflow-editor/src/workflow-history.vue2.cjs +2 -0
  314. package/package.json +1 -1
  315. package/vite.config.js +3 -3
@@ -0,0 +1,30 @@
1
+ import o from "../common/additional-condition.vue.mjs";
2
+ import { deepCopy as e } from "../../util.mjs";
3
+ import { resolveComponent as l, openBlock as t, createBlock as i, withCtx as a, createVNode as n, createTextVNode as d, toDisplayString as m, createCommentVNode as r } from "vue";
4
+ import "./permission-settings.vue2.mjs";
5
+ import s from "../../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ const u = s({ name: "PermissionSettings", components: { AdditionalCondition: o }, props: { modelValue: { type: Object, default: null } }, data() {
7
+ const o2 = e(this.modelValue), l2 = ["viewOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
8
+ l2.forEach((e2) => {
9
+ o2[e2 + "Checkbox"] = !!this.modelValue[e2].condition;
10
+ });
11
+ const t2 = ["download"];
12
+ return t2.forEach((e2) => {
13
+ o2.attachment[name + "Checkbox"] = !!this.modelValue.attachment[name] && !!this.modelValue.attachment[name].condition, o2.attachment.permission || (o2.attachment[name] = { permission: false, condition: "" });
14
+ }), { formModel: o2, attrNames: l2, attachmentAttrNames: t2 };
15
+ }, mounted() {
16
+ this.$watch("formModel", function(o2) {
17
+ const e2 = { viewOpinion: {}, viewMeetingResult: {}, viewVoteResult: {}, viewFlowHistory: {}, printForm: {}, officialText: {}, attachment: {} };
18
+ this.attrNames.map((l2) => {
19
+ e2[l2].permission = o2[l2].permission, o2[l2].permission && o2[l2 + "Checkbox"] ? e2[l2].condition = o2[l2].condition : e2[l2].condition = "";
20
+ }), e2.attachment.permission = o2.attachment.permission, o2.attachment.permission && this.attachmentAttrNames.map((l2) => {
21
+ e2.attachment[l2] || (e2.attachment[l2] = {}), e2.attachment[l2].permission = o2.attachment[l2].permission, o2.attachment[l2].permission && o2.attachment[l2 + "Checkbox"] ? e2.attachment[l2].condition = o2.attachment[l2].condition : e2.attachment[l2].condition = "";
22
+ }), this.$emit("update:modelValue", e2);
23
+ }, { deep: true });
24
+ }, methods: {} }, [["render", function(o2, e2, s2, u2, f, w) {
25
+ const c = l("el-switch"), p = l("el-checkbox"), V = l("additional-condition"), M = l("el-form-item"), h = l("el-card"), k = l("el-form");
26
+ return t(), i(k, { model: f.formModel }, { default: a(() => [n(M, { label: o2.$t("workflowEditor.task.allowViews") }, { default: a(() => [n(c, { modelValue: f.formModel.viewOpinion.permission, "onUpdate:modelValue": e2[0] || (e2[0] = (o3) => f.formModel.viewOpinion.permission = o3) }, null, 8, ["modelValue"]), f.formModel.viewOpinion.permission ? (t(), i(p, { key: 0, modelValue: f.formModel.viewOpinionCheckbox, "onUpdate:modelValue": e2[1] || (e2[1] = (o3) => f.formModel.viewOpinionCheckbox = o3) }, { default: a(() => [d(m(o2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r("", true), f.formModel.viewOpinion.permission && f.formModel.viewOpinionCheckbox ? (t(), i(V, { key: 1, modelValue: f.formModel.viewOpinion.condition, "onUpdate:modelValue": e2[2] || (e2[2] = (o3) => f.formModel.viewOpinion.condition = o3) }, null, 8, ["modelValue"])) : r("", true)]), _: 1 }, 8, ["label"]), n(M, { label: o2.$t("workflowEditor.task.allowToViewCountersignatureResults") }, { default: a(() => [n(c, { modelValue: f.formModel.viewMeetingResult.permission, "onUpdate:modelValue": e2[3] || (e2[3] = (o3) => f.formModel.viewMeetingResult.permission = o3) }, null, 8, ["modelValue"]), f.formModel.viewMeetingResult.permission ? (t(), i(p, { key: 0, modelValue: f.formModel.viewMeetingResultCheckbox, "onUpdate:modelValue": e2[4] || (e2[4] = (o3) => f.formModel.viewMeetingResultCheckbox = o3) }, { default: a(() => [d(m(o2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r("", true), f.formModel.viewMeetingResult.permission && f.formModel.viewMeetingResultCheckbox ? (t(), i(V, { key: 1, modelValue: f.formModel.viewMeetingResult.condition, "onUpdate:modelValue": e2[5] || (e2[5] = (o3) => f.formModel.viewMeetingResult.condition = o3) }, null, 8, ["modelValue"])) : r("", true)]), _: 1 }, 8, ["label"]), n(M, { label: o2.$t("workflowEditor.task.allowToViewVotingResults") }, { default: a(() => [n(c, { modelValue: f.formModel.viewVoteResult.permission, "onUpdate:modelValue": e2[6] || (e2[6] = (o3) => f.formModel.viewVoteResult.permission = o3) }, null, 8, ["modelValue"]), f.formModel.viewVoteResult.permission ? (t(), i(p, { key: 0, modelValue: f.formModel.viewVoteResultCheckbox, "onUpdate:modelValue": e2[7] || (e2[7] = (o3) => f.formModel.viewVoteResultCheckbox = o3) }, { default: a(() => [d(m(o2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r("", true), f.formModel.viewVoteResult.permission && f.formModel.viewVoteResultCheckbox ? (t(), i(V, { key: 1, modelValue: f.formModel.viewVoteResult.condition, "onUpdate:modelValue": e2[8] || (e2[8] = (o3) => f.formModel.viewVoteResult.condition = o3) }, null, 8, ["modelValue"])) : r("", true)]), _: 1 }, 8, ["label"]), n(M, { label: o2.$t("workflowEditor.task.allowToViewFlowHistory") }, { default: a(() => [n(c, { modelValue: f.formModel.viewFlowHistory.permission, "onUpdate:modelValue": e2[9] || (e2[9] = (o3) => f.formModel.viewFlowHistory.permission = o3) }, null, 8, ["modelValue"]), f.formModel.viewFlowHistory.permission ? (t(), i(p, { key: 0, modelValue: f.formModel.viewFlowHistoryCheckbox, "onUpdate:modelValue": e2[10] || (e2[10] = (o3) => f.formModel.viewFlowHistoryCheckbox = o3) }, { default: a(() => [d(m(o2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r("", true), f.formModel.viewFlowHistory.permission && f.formModel.viewFlowHistoryCheckbox ? (t(), i(V, { key: 1, modelValue: f.formModel.viewFlowHistory.condition, "onUpdate:modelValue": e2[11] || (e2[11] = (o3) => f.formModel.viewFlowHistory.condition = o3) }, null, 8, ["modelValue"])) : r("", true)]), _: 1 }, 8, ["label"]), n(M, { label: o2.$t("workflowEditor.task.allowFormsToPrint") }, { default: a(() => [n(c, { modelValue: f.formModel.printForm.permission, "onUpdate:modelValue": e2[12] || (e2[12] = (o3) => f.formModel.printForm.permission = o3) }, null, 8, ["modelValue"]), f.formModel.printForm.permission ? (t(), i(p, { key: 0, modelValue: f.formModel.printFormCheckbox, "onUpdate:modelValue": e2[13] || (e2[13] = (o3) => f.formModel.printFormCheckbox = o3) }, { default: a(() => [d(m(o2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r("", true), f.formModel.printForm.permission && f.formModel.printFormCheckbox ? (t(), i(V, { key: 1, modelValue: f.formModel.printForm.condition, "onUpdate:modelValue": e2[14] || (e2[14] = (o3) => f.formModel.printForm.condition = o3) }, null, 8, ["modelValue"])) : r("", true)]), _: 1 }, 8, ["label"]), n(M, { label: o2.$t("workflowEditor.task.attachmentAuthority") }, { default: a(() => [n(c, { modelValue: f.formModel.attachment.permission, "onUpdate:modelValue": e2[15] || (e2[15] = (o3) => f.formModel.attachment.permission = o3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), f.formModel.attachment.permission ? (t(), i(h, { key: 0, class: "box-card" }, { default: a(() => [n(M, { label: o2.$t("workflowEditor.task.downloadAttachment") }, { default: a(() => [n(c, { modelValue: f.formModel.attachment.download.permission, "onUpdate:modelValue": e2[16] || (e2[16] = (o3) => f.formModel.attachment.download.permission = o3) }, null, 8, ["modelValue"]), f.formModel.attachment.download.permission ? (t(), i(p, { key: 0, modelValue: f.formModel.attachment.downloadCheckbox, "onUpdate:modelValue": e2[17] || (e2[17] = (o3) => f.formModel.attachment.downloadCheckbox = o3) }, { default: a(() => [d(m(o2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r("", true), f.formModel.attachment.download.permission && f.formModel.attachment.downloadCheckbox ? (t(), i(V, { key: 1, modelValue: f.formModel.attachment.download.condition, "onUpdate:modelValue": e2[18] || (e2[18] = (o3) => f.formModel.attachment.download.condition = o3) }, null, 8, ["modelValue"])) : r("", true)]), _: 1 }, 8, ["label"])]), _: 1 })) : r("", true), n(M, { label: o2.$t("workflowEditor.task.bodyPermission") }, { default: a(() => [n(c, { modelValue: f.formModel.officialText.permission, "onUpdate:modelValue": e2[19] || (e2[19] = (o3) => f.formModel.officialText.permission = o3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
27
+ }], ["__scopeId", "data-v-5fb29fef"]]);
28
+ export {
29
+ u as default
30
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,26 @@
1
+ import e from "./copy-task/basic-properties.vue.mjs";
2
+ import t from "./copy-task/permission-settings.vue.mjs";
3
+ import o from "./common/transactor-settings.vue.mjs";
4
+ import r from "./common/notice-reminder.vue.mjs";
5
+ import a from "./human-task/events.vue.mjs";
6
+ import { resolveComponent as l, openBlock as i, createBlock as s, withCtx as n, createVNode as m } from "vue";
7
+ import "./copy-task.vue2.mjs";
8
+ import d from "../../../_virtual/_plugin-vue_export-helper.mjs";
9
+ const p = d({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: e, TransactorSettings: o, PermissionSettings: t, NoticeReminder: r, Events: a }, props: { model: { type: Object, default: null } }, data() {
10
+ return this.model, this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
11
+ }, computed: { formModel() {
12
+ return this.model.ref;
13
+ } }, mounted() {
14
+ this.$watch("model.ref.attr.id", function(e2, t2) {
15
+ this.model.id = e2;
16
+ }), this.$watch("model.ref.attr.name", function(e2, t2) {
17
+ this.model.name = e2;
18
+ });
19
+ }, methods: { handleClick(e2, t2) {
20
+ } } }, [["render", function(e2, t2, o2, r2, a2, d2) {
21
+ const p2 = l("basic-properties"), u = l("el-tab-pane"), c = l("transactor-settings"), f = l("notice-reminder"), k = l("events"), b = l("permission-settings"), v = l("el-tabs"), g = l("el-dialog");
22
+ return i(), s(g, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfCCTask"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: n(() => [m(v, { modelValue: a2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => a2.activeTab = e3), type: "border-card", onTabClick: d2.handleClick }, { default: n(() => [m(u, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: n(() => [m(p2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), m(u, { label: e2.$t("workflowEditor.task.settingOfHandler"), name: "transactors" }, { default: n(() => [m(c, { model: o2.model.ref.transactorSettings, "used-in": "CopyTask" }, null, 8, ["model"])]), _: 1 }, 8, ["label"]), m(u, { label: e2.$t("workflowEditor.task.reminderSettings"), name: "reminders" }, { default: n(() => [m(f, { "reminder-value": o2.model.ref.reminder, "task-notice-value": o2.model.ref.taskNotice }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), m(u, { label: e2.$t("workflowEditor.task.eventProcessing"), name: "events" }, { default: n(() => [m(k, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), m(u, { label: e2.$t("workflowEditor.task.permissionSettings"), name: "permissions" }, { default: n(() => [m(b, { modelValue: o2.model.ref.permissionSettings, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
23
+ }], ["__scopeId", "data-v-af76d417"]]);
24
+ export {
25
+ p as default
26
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,24 @@
1
+ import { findOutgoingTransitionsByTacheId as e } from "../util.mjs";
2
+ import t from "./common/i18n-input.vue.mjs";
3
+ import { resolveComponent as o, openBlock as l, createBlock as i, withCtx as r, createVNode as n, createElementVNode as a, toDisplayString as d } from "vue";
4
+ import m from "../../../_virtual/_plugin-vue_export-helper.mjs";
5
+ const s = m({ name: "DecisionPropertiesEditor", components: { i18nInput: t }, props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
6
+ return this.model.ref;
7
+ }, transitions() {
8
+ const t2 = e(this.formModel.attr.id), o2 = [];
9
+ return t2.map((e2) => {
10
+ o2.push({ to: e2.ref.attr.to, condition: e2.ref.basicProperties.condition });
11
+ }), o2;
12
+ } }, mounted() {
13
+ this.$watch("model.ref.attr.name", function(e2) {
14
+ this.model.name = e2;
15
+ });
16
+ }, methods: { setI18nValue(e2) {
17
+ this.formModel && (this.formModel.basicProperties = {}, this.formModel.basicProperties.i18nKey = e2);
18
+ } } }, [["render", function(e2, t2, m2, s2, u, p) {
19
+ const f = o("i18n-input"), c = o("el-form-item"), b = o("el-table-column"), h = o("el-table"), w = o("el-form"), k = o("el-dialog");
20
+ return l(), i(k, { "model-value": "", title: e2.$t("workflowEditor.task.attributeOfConditionJudgment"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r(() => [n(w, null, { default: r(() => [n(c, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r(() => [n(f, { modelValue: p.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => p.formModel.attr.name = e3), modelModifiers: { trim: true }, "i18n-key": p.formModel.basicProperties && p.formModel.basicProperties.i18nKey ? p.formModel.basicProperties.i18nKey : "name." + p.formModel.attr.id, onSetI18n: p.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"]), n(c, null, { default: r(() => [a("span", null, d(e2.$t("workflowEditor.task.allBranchFlows")), 1), n(h, { border: "", data: p.transitions, style: { width: "100%" } }, { default: r(() => [n(b, { type: "index", width: "50" }), n(b, { prop: "to", label: e2.$t("workflowEditor.task.targetLink") }, null, 8, ["label"]), n(b, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["title"]);
21
+ }]]);
22
+ export {
23
+ s as default
24
+ };
@@ -0,0 +1,21 @@
1
+ import { findOutgoingTransitionsByTacheId as e } from "../util.mjs";
2
+ import { resolveComponent as t, openBlock as l, createBlock as o, withCtx as a, createVNode as r, createElementVNode as n, toDisplayString as d } from "vue";
3
+ import i from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const m = i({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
5
+ return this.model.ref;
6
+ }, transitions() {
7
+ const t2 = e(this.formModel.attr.id), l2 = [];
8
+ return t2.map((e2) => {
9
+ l2.push({ to: e2.endJoint.parent.name });
10
+ }), l2;
11
+ } }, mounted() {
12
+ this.$watch("model.ref.attr.name", function(e2) {
13
+ this.model.name = e2;
14
+ });
15
+ } }, [["render", function(e2, i2, m2, u, s, p) {
16
+ const f = t("el-input"), c = t("el-form-item"), w = t("el-table-column"), h = t("el-table"), b = t("el-form"), k = t("el-dialog");
17
+ return l(), o(k, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfBranches"), center: true, "append-to-body": "", onOpen: i2[1] || (i2[1] = (t2) => e2.$emit("open")), onOpend: i2[2] || (i2[2] = (t2) => e2.$emit("opend")), onClose: i2[3] || (i2[3] = (t2) => e2.$emit("close")), onClosed: i2[4] || (i2[4] = (t2) => e2.$emit("closed")) }, { default: a(() => [r(b, null, { default: a(() => [r(c, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: a(() => [r(f, { modelValue: p.formModel.attr.name, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => p.formModel.attr.name = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r(c, null, { default: a(() => [n("span", null, d(e2.$t("workflowEditor.task.allBranchFlows")), 1), r(h, { border: "", data: p.transitions, style: { width: "100%" } }, { default: a(() => [r(w, { type: "index", width: "50" }), r(w, { prop: "to", label: e2.$t("workflowEditor.task.targetLink") }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["title"]);
18
+ }]]);
19
+ export {
20
+ m as default
21
+ };
@@ -0,0 +1,15 @@
1
+ import { resolveComponent as e, openBlock as t, createBlock as o, withCtx as l, createVNode as a } from "vue";
2
+ import n from "../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ const d = n({ name: "HumanDecisionPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
4
+ return this.model.ref;
5
+ } }, mounted() {
6
+ this.$watch("model.ref.attr.name", function(e2) {
7
+ this.model.name = e2;
8
+ });
9
+ } }, [["render", function(n2, d2, r, m, i, u) {
10
+ const p = e("el-input"), f = e("el-form-item"), s = e("el-form"), c = e("el-dialog");
11
+ return t(), o(c, { "model-value": "", title: n2.$t("workflowEditor.task.attributesOfManualJudgment"), center: true, "append-to-body": "", onOpen: d2[1] || (d2[1] = (e2) => n2.$emit("open")), onOpend: d2[2] || (d2[2] = (e2) => n2.$emit("opend")), onClose: d2[3] || (d2[3] = (e2) => n2.$emit("close")), onClosed: d2[4] || (d2[4] = (e2) => n2.$emit("closed")) }, { default: l(() => [a(s, null, { default: l(() => [a(f, { label: n2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: l(() => [a(p, { modelValue: u.formModel.attr.name, "onUpdate:modelValue": d2[0] || (d2[0] = (e2) => u.formModel.attr.name = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["title"]);
12
+ }]]);
13
+ export {
14
+ d as default
15
+ };
@@ -0,0 +1,16 @@
1
+ import o from "../common/additional-condition.vue.mjs";
2
+ import { resolveComponent as t, openBlock as e, createBlock as i, withCtx as l, createVNode as n, createTextVNode as d, toDisplayString as a } from "vue";
3
+ import r from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const s = r({ name: "AdditionalConditionDialog", components: { AdditionalCondition: o }, props: { modelValue: { type: String, default: "" } }, data() {
5
+ return { condition: this.modelValue, dialogVisible: true };
6
+ }, watch: { value(o2) {
7
+ this.condition = o2;
8
+ } }, methods: { setConditions() {
9
+ this.$emit("update:modelValue", this.condition), this.$emit("close");
10
+ } } }, [["render", function(o2, r2, s2, m, u, c) {
11
+ const p = t("additional-condition"), f = t("el-form-item"), h = t("el-button"), C = t("el-dialog");
12
+ return e(), i(C, { width: "50%", title: o2.$t("workflowEditor.task.setConditions"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: r2[2] || (r2[2] = (t2) => o2.$emit("close")) }, { footer: l(() => [n(h, { type: "primary", size: "small", onClick: c.setConditions }, { default: l(() => [d(a(o2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), n(h, { size: "small", onClick: r2[1] || (r2[1] = (t2) => o2.$emit("close")) }, { default: l(() => [d(a(o2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: l(() => [n(f, null, { default: l(() => [n(p, { modelValue: u.condition, "onUpdate:modelValue": r2[0] || (r2[0] = (o3) => u.condition = o3) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["title"]);
13
+ }]]);
14
+ export {
15
+ s as default
16
+ };
@@ -0,0 +1,38 @@
1
+ import e from "../common/task-title.vue.mjs";
2
+ import l from "./custom-actions.vue.mjs";
3
+ import { validateTacheCode as t } from "../../util.mjs";
4
+ import a from "../common/i18n-input.vue.mjs";
5
+ import o from "../common/select-mail-template.vue.mjs";
6
+ import { resolveComponent as d, openBlock as i, createBlock as n, withCtx as s, createVNode as m, createCommentVNode as r, createTextVNode as u, toDisplayString as c, pushScopeId as p, popScopeId as f, createElementVNode as h } from "vue";
7
+ import "./basic-properties.vue2.mjs";
8
+ import k from "../../../../_virtual/_plugin-vue_export-helper.mjs";
9
+ const V = { name: "BasicProperties", components: { TaskTitle: e, CustomActions: l, i18nInput: a, SelectMailTemplates: o }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
10
+ let e2 = false;
11
+ const l2 = this.model.processingMode.actions.action;
12
+ return l2 && (e2 = !Array.isArray(l2) || 0 !== l2.length), { showActions: e2, formModel: { name: this.name, id: this.id, tache: this.model } };
13
+ }, computed: { tache() {
14
+ return this.model;
15
+ } }, created() {
16
+ this.tache.processingMode.actions || (this.tache.processingMode.actions = {});
17
+ }, mounted() {
18
+ this.$watch("formModel.name", function(e2, l2) {
19
+ this.$emit("update:name", e2);
20
+ });
21
+ }, methods: { validateId() {
22
+ t(this);
23
+ }, setMailTemplateCode(e2) {
24
+ this.tache.mailTemplateCode = e2;
25
+ }, setMailPointTemplateCode(e2) {
26
+ this.tache.mailPointTemplateCode = e2;
27
+ }, setI18nValue(e2) {
28
+ this.tache.i18nKey = e2;
29
+ }, updateAction(e2) {
30
+ this.tache.processingMode.actions.action = e2;
31
+ } } }, w = ((e2) => (p("data-v-a219b06d"), e2 = e2(), f(), e2))(() => h("span", { class: "percent" }, " % ", -1));
32
+ const b = k(V, [["render", function(e2, l2, t2, a2, o2, p2) {
33
+ const f2 = d("i18n-input"), h2 = d("el-form-item"), k2 = d("el-col"), V2 = d("el-input"), b2 = d("el-row"), M = d("task-title"), _ = d("el-switch"), T = d("select-mail-templates"), g = d("el-radio"), E = d("el-radio-group"), y = d("el-input-number"), $ = d("custom-actions"), U = d("el-form");
34
+ return i(), n(U, { model: o2.formModel, "label-width": "110px" }, { default: s(() => [m(b2, null, { default: s(() => [m(k2, { span: 12 }, { default: s(() => [m(h2, { label: e2.$t("workflowEditor.task.name") }, { default: s(() => [m(f2, { modelValue: o2.formModel.name, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => o2.formModel.name = e3), "i18n-key": p2.tache.i18nKey ? p2.tache.i18nKey : "name." + o2.formModel.id, onSetI18n: p2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), m(k2, { span: 12 }, { default: s(() => [m(h2, { label: e2.$t("workflowEditor.task.code") }, { default: s(() => [m(V2, { modelValue: o2.formModel.id, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => o2.formModel.id = e3), onBlur: p2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), m(h2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: s(() => [m(M, { modelValue: p2.tache.taskTitle, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => p2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), m(h2, { label: e2.$t("workflowEditor.task.canItBeRejected") }, { default: s(() => [m(_, { modelValue: p2.tache.rebuttable, "onUpdate:modelValue": l2[3] || (l2[3] = (e3) => p2.tache.rebuttable = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), m(h2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: s(() => [m(_, { modelValue: p2.tache.mailNotice, "onUpdate:modelValue": l2[4] || (l2[4] = (e3) => p2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), p2.tache.mailNotice ? (i(), n(h2, { key: 0, label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: s(() => [m(T, { modelValue: p2.tache.mailTemplateCode, "onUpdate:modelValue": l2[5] || (l2[5] = (e3) => p2.tache.mailTemplateCode = e3), onSetValue: p2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r("", true), p2.tache.mailNotice ? (i(), n(h2, { key: 1, label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: s(() => [m(T, { modelValue: p2.tache.mailPointTemplateCode, "onUpdate:modelValue": l2[6] || (l2[6] = (e3) => p2.tache.mailPointTemplateCode = e3), onSetValue: p2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r("", true), m(h2, { label: e2.$t("workflowEditor.task.HandlingMethod") }, { default: s(() => [m(E, { modelValue: p2.tache.processingMode.type, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => p2.tache.processingMode.type = e3) }, { default: s(() => [m(g, { label: "EDIT" }, { default: s(() => [u(c(e2.$t("workflowEditor.task.editorial")), 1)]), _: 1 }), m(g, { label: "APPROVE" }, { default: s(() => [u(c(e2.$t("workflowEditor.task.approvalType")), 1)]), _: 1 }), m(g, { label: "COUNTERSIGN" }, { default: s(() => [u(c(e2.$t("workflowEditor.task.countersign")), 1)]), _: 1 }), m(g, { label: "VOTE" }, { default: s(() => [u(c(e2.$t("workflowEditor.task.voting")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "EDIT" === p2.tache.processingMode.type || "APPROVE" === p2.tache.processingMode.type ? (i(), n(h2, { key: 2, label: e2.$t("workflowEditorMessage.whenThereAreMultipleManagers") }, { default: s(() => [m(E, { modelValue: p2.tache.processingMode.moreTransactor, "onUpdate:modelValue": l2[8] || (l2[8] = (e3) => p2.tache.processingMode.moreTransactor = e3) }, { default: s(() => [m(g, { label: false }, { default: s(() => [u(c(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), m(g, { label: true }, { default: s(() => [u(c(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : r("", true), "COUNTERSIGN" === p2.tache.processingMode.type || "VOTE" === p2.tache.processingMode.type ? (i(), n(h2, { key: 3, label: e2.$t("workflowEditor.task.passRate") }, { default: s(() => [m(y, { modelValue: p2.tache.processingMode.passRate, "onUpdate:modelValue": l2[9] || (l2[9] = (e3) => p2.tache.processingMode.passRate = e3), step: 10, size: "small", min: 0, max: 100 }, null, 8, ["modelValue"]), w]), _: 1 }, 8, ["label"])) : r("", true), m(h2, { label: e2.$t("workflowEditor.task.modifyOperationName") }, { default: s(() => [m(_, { modelValue: o2.showActions, "onUpdate:modelValue": l2[10] || (l2[10] = (e3) => o2.showActions = e3) }, null, 8, ["modelValue"]), o2.showActions ? (i(), n($, { key: 0, model: p2.tache.processingMode.actions, onUpdateAction: p2.updateAction }, null, 8, ["model", "onUpdateAction"])) : r("", true)]), _: 1 }, 8, ["label"]), m(h2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: s(() => [m(V2, { modelValue: p2.tache.taskUrl, "onUpdate:modelValue": l2[11] || (l2[11] = (e3) => p2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), m(h2, { label: e2.$t("workflowEditor.task.remarks") }, { default: s(() => [m(V2, { modelValue: p2.tache.remark, "onUpdate:modelValue": l2[12] || (l2[12] = (e3) => p2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
35
+ }], ["__scopeId", "data-v-a219b06d"]]);
36
+ export {
37
+ b as default
38
+ };
@@ -0,0 +1,4 @@
1
+ const t = "";
2
+ export {
3
+ t as default
4
+ };
@@ -0,0 +1,84 @@
1
+ import { getI18n as e } from "../../util.mjs";
2
+ const o = { xmlToData(e2) {
3
+ const o2 = [];
4
+ if (e2) {
5
+ const a = e2.split(" ");
6
+ if (a && a.length > 0) {
7
+ let e3 = 1, l = "", i = "", n = "", p = "", s = "", f = "", d = null;
8
+ for (var t = 0; t < a.length; t++) {
9
+ var r = a[t];
10
+ if (-1 !== r.indexOf("(")) {
11
+ this.operationArr && this.operationArr.push([]), l = "", i = "", n = "", p = "", s = "", f = "";
12
+ const o3 = r.split("${field[");
13
+ if (l = o3[0], i = o3[1].replace("]}", ""), this.operationArr) {
14
+ const o4 = this.getOperators(this.fieldMap[i]);
15
+ this.operationArr[e3 - 1] = o4;
16
+ }
17
+ continue;
18
+ }
19
+ if (-1 !== r.indexOf("(") || -1 === r.indexOf("${field["))
20
+ -1 === r.indexOf("operator.") || -1 !== r.indexOf("condition.") ? "" === n || "" !== p ? -1 !== r.indexOf("condition.") ? (f = r, o2.push({ id: e3, leftBracket: l, propName: i, operator: n, propValue: p, rightBracket: s, logicOperator: f, propValueType: d }), e3 += 1) : p && "" !== p && (f && "" !== f || (f = "condition.operator.or", o2.push({ id: e3, leftBracket: l, propName: i, operator: n, propValue: p, rightBracket: s, logicOperator: f, propValueType: d }), 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.") ? d = "task" : -1 !== p.indexOf("${context.") ? d = "context" : -1 !== p.indexOf("${obj.") ? d = "obj" : -1 !== p.indexOf("${subObj.") ? d = "subObj" : -1 !== p.indexOf("${request.") ? d = "request" : -1 !== p.indexOf("${input.") ? d = "input" : -1 !== p.indexOf("${custom.") && (d = "custom"))) : n = r;
21
+ else if (this.operationArr && this.operationArr.push([]), l = "", i = "", n = "", p = "", s = "", f = "", i = r.replace("${field[", "").replace("]}", ""), this.operationArr) {
22
+ const o3 = this.getOperators(this.fieldMap[i]);
23
+ this.operationArr[e3 - 1] = o3;
24
+ }
25
+ }
26
+ }
27
+ }
28
+ return o2;
29
+ }, getOperatorsArr(e2) {
30
+ if (e2 && e2.length > 0)
31
+ for (var o2 = 0; o2 < e2.length; o2++) {
32
+ this.operationArr.push([]);
33
+ const t = e2[o2], r = this.getOperators(this.fieldMap[t.propName]);
34
+ this.operationArr[o2] = r;
35
+ }
36
+ }, getRetunrOperatorsArr(e2, o2) {
37
+ const t = [];
38
+ if (e2 && e2.length > 0)
39
+ for (var r = 0; r < e2.length; r++) {
40
+ t.push([]);
41
+ const a = e2[r], l = this.getOperators(o2[a.propName]);
42
+ t[r] = l;
43
+ }
44
+ return t;
45
+ }, dataToXml(e2) {
46
+ let o2 = "";
47
+ if (e2 && e2.length > 0)
48
+ for (var t = 0; t < e2.length; t++) {
49
+ var r = e2[t];
50
+ let a = r.logicOperator;
51
+ t === e2.length - 1 && (a = ""), o2 = o2 + r.leftBracket + "${field[" + r.propName + "]} " + r.operator + " " + r.propValue + r.rightBracket + " " + a + " ";
52
+ }
53
+ return o2;
54
+ }, formatConditionList(e2) {
55
+ let o2 = "";
56
+ if (e2)
57
+ if ("string" == typeof e2) {
58
+ const t = this.xmlToData(e2);
59
+ o2 = this.formatConditionListTwo(t);
60
+ } else
61
+ o2 = this.formatConditionListTwo(e2);
62
+ if (o2 && "" !== o2) {
63
+ const e3 = o2.substring(o2.length - 1);
64
+ "者" !== e3 && "且" !== e3 || (o2 = o2.substring(0, o2.length - 2));
65
+ }
66
+ return o2;
67
+ }, formatConditionListTwo(e2) {
68
+ let o2 = "";
69
+ if (e2 && e2.length > 0)
70
+ for (var t = 0; t < e2.length; t++) {
71
+ const r = e2[t];
72
+ if (r && r.propName) {
73
+ const e3 = this.getOperators(this.fieldMap[r.propName]);
74
+ if (e3 && e3.length > 0) {
75
+ const t2 = e3.filter((e4) => e4.name === r.operator);
76
+ o2 += r.leftBracket, this.fieldMap[r.propName] && this.fieldMap[r.propName].label && (o2 += this.fieldMap[r.propName].label + " "), t2 && t2.length > 0 && (o2 += t2[0].label + " "), o2 += r.propValue + r.rightBracket + " ", r.logicOperator && ("or" === r.logicOperator ? o2 += "或者" : o2 += "并且");
77
+ }
78
+ }
79
+ }
80
+ return o2;
81
+ }, getOperators: (o2) => o2 ? "INTEGER" === o2.type || "LONG" === o2.type || "DOUBLE" === o2.type || "FLOAT" === o2.type ? [{ name: "operator.number.gt", label: e().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: e().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: e().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: e().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: e().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: e().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: e().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e().t("workflowEditor.process.isNotNull") }] : "DATE" === o2.type || "TIME" === o2.type ? [{ name: "operator.date.gt", label: e().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: e().t("workflowEditor.process.earlierThan") }, { name: "operator.date.eq", label: e().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: e().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: e().t("workflowEditor.process.noEarlierThan") }, { name: "operator.text.is.null", label: e().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e().t("workflowEditor.process.isNotNull") }] : "TEXT" === o2.type ? [{ name: "operator.text.eq", label: e().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: e().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: e().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: e().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: e().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: e().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: e().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: e().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: e().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: e().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: e().t("workflowEditor.process.notEqualTo") }] };
82
+ export {
83
+ o as default
84
+ };
@@ -0,0 +1,62 @@
1
+ import { resolveComponent as t, openBlock as e, createElementBlock as o, createVNode as l, withCtx as i, unref as a, createTextVNode as n, toDisplayString as s, Fragment as r, renderList as d, createBlock as c, createCommentVNode as u } from "vue";
2
+ import { CirclePlus as w, Delete as p } from "../../../../node_modules/@element-plus/icons-vue/dist/index.mjs";
3
+ import { getI18n as h } from "../../util.mjs";
4
+ import f from "./additional-condition-dialog.vue.mjs";
5
+ import { parseCondition as k, displayCondition as m } from "../common/additional-condition-utils.mjs";
6
+ const b = { name: "CustomActions", components: { AdditionalConditionDialog: f }, props: { model: { type: Object, default: null } }, data() {
7
+ const t2 = [];
8
+ let e2 = 1;
9
+ if (this.model.action)
10
+ if (Array.isArray(this.model.action))
11
+ for (const o2 of this.model.action)
12
+ t2.push({ ...o2, id: e2 }), e2++;
13
+ else
14
+ t2.push({ ...this.model.action, id: e2 }), e2++;
15
+ return { actions: t2, actionTypes: [{ type: "SAVE", label: h().t("workflowEditor.task.save") }, { type: "SUBMIT", label: h().t("workflowEditor.task.submission") }, { type: "APPROVE", label: h().t("workflowEditor.task.agree") }, { type: "REFUSE", label: h().t("workflowEditor.task.disagree") }, { type: "AGREEMENT", label: h().t("workflowEditor.task.favor") }, { type: "OPPOSE", label: h().t("workflowEditor.task.opposition") }, { type: "KIKEN", label: h().t("workflowEditor.task.waiver") }, { type: "DRAW", label: h().t("workflowEditor.task.receive") }, { type: "ABANDON_DRAW", label: h().t("workflowEditor.task.giveUp") }, { type: "ADD_SIGN", label: h().t("workflowEditor.task.additionalSignature") }, { type: "REMOVE_SIGN", label: h().t("workflowEditor.task.reductionOfSignature") }, { type: "ASSIGN_TASK", label: h().t("workflowEditor.task.assignTask") }, { type: "COPY", label: h().t("workflowEditor.task.copyTask") }, { type: "GET_BACK_BUTTON", label: h().t("workflowEditor.task.retrieveTask") }, { type: "READED", label: h().t("workflowEditor.task.readTask") }, { type: "EXPORT_REPORT", label: h().t("workflowEditor.task.exportReport") }], currentRow: null, count: e2, showAdditionalCondition: false };
16
+ }, mounted() {
17
+ this.actions.length > 0 && this.selectRow(this.actions[this.actions.length - 1]), this.$watch("actions", function(t2, e2) {
18
+ const o2 = [];
19
+ for (const t3 of this.actions) {
20
+ const e3 = { ...t3 };
21
+ delete e3.id, o2.push(e3);
22
+ }
23
+ this.$emit("updateAction", o2);
24
+ }, { deep: true });
25
+ }, methods: { selectRow(t2) {
26
+ this.$refs.table.setCurrentRow(t2);
27
+ }, getRowIndex(t2) {
28
+ for (let e2 = 0; e2 < this.actions.length; e2++)
29
+ if (this.actions[e2].id === t2.id)
30
+ return e2;
31
+ return -1;
32
+ }, handleCurrentChange(t2) {
33
+ this.currentRow = t2;
34
+ }, isDuplicated(t2) {
35
+ const e2 = this.getRowIndex(this.currentRow);
36
+ for (let o2 = 0; o2 < this.actions.length; o2++)
37
+ o2 !== e2 && this.actions[o2].type === t2 && (this.$alert(this.$t("workflowEditorMessage.duplicateOperationTypeWithLinePleaseReselect", { row: o2 + 1 })), this.currentRow.type = "");
38
+ }, add() {
39
+ for (let t3 = 0; t3 < this.actions.length; t3++) {
40
+ const e2 = this.actions[t3];
41
+ if ("" === e2.type || "" === e2.label)
42
+ return void this.$alert(this.$t("workflowEditorMessage.theOperationTypeOrNameInLineIsEmpty", { row: t3 + 1 }));
43
+ }
44
+ const t2 = { id: this.count, type: "", label: "", visible: true, condition: "" };
45
+ this.actions.push(t2), this.selectRow(t2), this.count++;
46
+ }, remove() {
47
+ let t2 = this.getRowIndex(this.currentRow);
48
+ this.actions.splice(t2, 1), this.actions.length > 0 && (t2 = t2 <= this.actions.length - 1 ? t2 : this.actions.length - 1, this.$refs.table.setCurrentRow(this.actions[t2]));
49
+ }, formatCondition(t2) {
50
+ if ("" === t2 || !t2)
51
+ return this.$t("workflowEditor.task.nothing");
52
+ const e2 = [];
53
+ return k(e2, t2), m(e2);
54
+ }, selectCondition(t2) {
55
+ this.selectRow(t2), this.currentRow || (this.currentRow.condition = ""), this.showAdditionalCondition = true;
56
+ } } }, y = Object.assign(b, { setup: (h2) => (h3, k2) => {
57
+ const m2 = t("el-button"), b2 = t("el-table-column"), y2 = t("el-option"), E = t("el-select"), g = t("el-input"), C = t("el-checkbox"), R = t("el-table"), v = t("el-row");
58
+ return e(), o("div", null, [l(v, null, { default: i(() => [l(m2, { type: "primary", size: "small", plain: "", icon: a(w), onClick: h3.add }, { default: i(() => [n(s(h3.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["icon", "onClick"]), l(m2, { type: "primary", size: "small", plain: "", icon: a(p), onClick: h3.remove }, { default: i(() => [n(s(h3.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["icon", "onClick"]), l(R, { ref: "table", data: h3.actions, "row-key": "type", border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: h3.handleCurrentChange }, { default: i(() => [l(b2, { type: "index" }), l(b2, { label: h3.$t("workflowEditor.task.operationType"), width: "180" }, { default: i((t2) => [l(E, { modelValue: t2.row.type, "onUpdate:modelValue": (e2) => t2.row.type = e2, onChange: h3.isDuplicated }, { default: i(() => [(e(true), o(r, null, d(h3.actionTypes, (t3) => (e(), c(y2, { key: t3.id, value: t3.type, label: t3.label }, null, 8, ["value", "label"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), l(b2, { prop: "label", label: h3.$t("workflowEditor.task.name"), width: "180" }, { default: i((t2) => [l(g, { modelValue: t2.row.label, "onUpdate:modelValue": (e2) => t2.row.label = e2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), l(b2, { prop: "visible", label: h3.$t("workflowEditor.task.visibleOrNot") }, { default: i((t2) => [l(C, { modelValue: t2.row.visible, "onUpdate:modelValue": (e2) => t2.row.visible = e2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), l(b2, { prop: "condition", label: h3.$t("workflowEditor.task.condition") }, { default: i((t2) => [l(g, { value: h3.formatCondition(t2.row.condition), type: "textarea", autosize: "", onFocus: (e2) => h3.selectCondition(t2.row) }, null, 8, ["value", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), h3.showAdditionalCondition ? (e(), c(a(f), { key: 0, modelValue: h3.currentRow.condition, "onUpdate:modelValue": k2[0] || (k2[0] = (t2) => h3.currentRow.condition = t2), onClose: k2[1] || (k2[1] = (t2) => h3.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : u("", true)]);
59
+ } });
60
+ export {
61
+ y as default
62
+ };
@@ -0,0 +1,80 @@
1
+ import { mapGetters as t } from "vuex";
2
+ import i from "./selection-conditions.vue.mjs";
3
+ import e from "./componentsConfigUtil.mjs";
4
+ import { resolveComponent as n, openBlock as o, createElementBlock as l, createElementVNode as a, createVNode as r, withCtx as s, createTextVNode as d, toDisplayString as u, createBlock as c, createCommentVNode as h, Fragment as b, renderList as m } from "vue";
5
+ import p from "../../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ const C = p({ name: "EditableChildFieldSetting", components: { selectionConditions: i }, props: { setting: { type: Object, default: null }, tableName: { type: String, default: null } }, data() {
7
+ let t2 = [];
8
+ this.setting && this.setting.actionArr && (t2 = this.setting.actionArr);
9
+ let i2, e2, n2, o2 = [];
10
+ return this.setting && this.setting.fieldArr && (o2 = this.setting.fieldArr), this.setting && this.setting.visibleConditionArr && (i2 = this.setting.visibleConditionArr), this.setting && this.setting.modelName && (e2 = this.setting.modelName), this.setting && null !== this.setting.sumPermission && (n2 = this.setting.sumPermission), { sumPermission: n2, subtableConditionItem: null, attributeArr: null, showAdditionalCondition: false, currentRow: null, multipleSelection: null, actionArr: t2, fieldArr: o2, queryList: null, fieldMap: null, fieldNameMap: null, actionVisibleConditionArr: i2, buttonType: null, buttonVisibleCon: null, showButtonVisibleFlag: false, clickButton: false, operationArr: [], modelName: e2 };
11
+ }, watch: { setting: { handler(t2, i2) {
12
+ 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();
13
+ }, deep: true } }, computed: { ...t("wfEditor", ["subtableConditionMap"]) }, created() {
14
+ this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.getAttributeArr());
15
+ }, mounted() {
16
+ this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.subtableConditionMap[this.tableName] && (this.attributeArr = this.subtableConditionItem.attributeArr));
17
+ }, methods: { ...e, getAttributeArr() {
18
+ this.subtableConditionItem && this.subtableConditionItem.attributeArr && (this.queryList = this.subtableConditionItem.attributeArr, this.fieldMap = this.subtableConditionItem.fieldMap, this.fieldNameMap = this.subtableConditionItem.fieldNameMap);
19
+ }, savebuttonSetting(t2) {
20
+ t2 && (this.currentRow.condition = t2.condition, this.currentRow.userCondition = t2.userCondition, this.currentRow.parentCondition = t2.parentCondition, this.combinationParameters()), this.showAdditionalCondition = false;
21
+ }, handleCurrentChange(t2) {
22
+ this.currentRow = t2;
23
+ }, handleSelectionChange(t2) {
24
+ this.multipleSelection = t2;
25
+ }, selectRow(t2) {
26
+ this.$refs.table.setCurrentRow(t2);
27
+ }, add() {
28
+ this.fieldArr || (this.fieldArr = []), this.fieldArr.push({ name: null, constraintRule: null, condition: null }), this.combinationParameters();
29
+ }, getCurrentRowIndex() {
30
+ let t2 = -1;
31
+ for (let i2 = 0; i2 < this.fieldArr.length; i2++)
32
+ if (this.fieldArr[i2].name === this.currentRow.name) {
33
+ t2 = i2;
34
+ break;
35
+ }
36
+ return t2;
37
+ }, remove() {
38
+ if (this.multipleSelection && this.multipleSelection.length > 0) {
39
+ for (var t2 = 0; t2 < this.multipleSelection.length; t2++) {
40
+ const i2 = this.multipleSelection[t2];
41
+ this.selectRow(i2);
42
+ const e2 = this.getCurrentRowIndex();
43
+ this.fieldArr.splice(e2, 1);
44
+ }
45
+ this.combinationParameters();
46
+ }
47
+ }, selectCondition(t2) {
48
+ this.selectRow(t2), this.showAdditionalCondition = true;
49
+ }, showButtonVisible(t2) {
50
+ this.clickButton = true, this.buttonType = t2, this.actionVisibleConditionArr && this.actionVisibleConditionArr[t2] ? this.buttonVisibleCon = this.actionVisibleConditionArr[t2] : this.buttonVisibleCon = {}, this.showButtonVisibleFlag = true;
51
+ }, saveButtonVisible(t2) {
52
+ t2 && (this.actionVisibleConditionArr || (this.actionVisibleConditionArr = {}), this.actionVisibleConditionArr[this.buttonType] = t2, this.combinationParameters()), this.showButtonVisibleFlag = false;
53
+ }, changeActionArr() {
54
+ this.clickButton ? (this.actionArr.push(this.buttonType), this.clickButton = false) : this.combinationParameters();
55
+ }, combinationParameters() {
56
+ const t2 = {};
57
+ t2.modelName = this.modelName, t2.tableName = this.tableName, t2.permission = this.sumPermission;
58
+ const i2 = [];
59
+ if (this.actionArr && this.actionArr.length > 0 && (this.actionArr.forEach((t3) => {
60
+ const e2 = {};
61
+ if (e2.name = t3, this.actionVisibleConditionArr && this.actionVisibleConditionArr[t3]) {
62
+ const i3 = this.actionVisibleConditionArr[t3];
63
+ e2.condition = this.dataToXml(i3.condition), e2.parentCondition = i3.parentCondition, e2.userCondition = i3.userCondition;
64
+ }
65
+ i2.push(e2);
66
+ }), t2.action = i2), this.fieldArr && this.fieldArr.length > 0) {
67
+ const i3 = [];
68
+ this.fieldArr.forEach((t3) => {
69
+ const e2 = {};
70
+ e2.name = t3.name, e2.constraintRule = t3.constraintRule, t3.condition && (e2.condition = this.dataToXml(t3.condition)), e2.userCondition = t3.userCondition, e2.parentCondition = t3.parentCondition, i3.push(e2);
71
+ }), t2.field = i3;
72
+ }
73
+ this.$emit("combinationParameters", t2);
74
+ } } }, [["render", function(t2, i2, e2, p2, C2, f) {
75
+ const A = n("Tools"), w = n("el-icon"), g = n("el-checkbox"), V = n("el-col"), k = n("el-row"), y = n("el-checkbox-group"), _ = n("selection-conditions"), R = n("el-button"), E = n("el-table-column"), v = n("el-option"), N = n("el-select"), P = n("el-radio"), M = n("el-radio-group"), B = n("el-table");
76
+ return o(), l("div", null, [a("div", null, [r(y, { modelValue: C2.actionArr, "onUpdate:modelValue": i2[4] || (i2[4] = (t3) => C2.actionArr = t3), onChange: f.changeActionArr }, { default: s(() => [r(k, null, { default: s(() => [r(V, { span: 6 }, { default: s(() => [r(g, { label: "notEmpty" }, { default: s(() => [d(u(t2.$t("workflowEditor.condition.tableDataNotEmpty")) + " ", 1), C2.actionArr && -1 !== C2.actionArr.indexOf("notEmpty") ? (o(), c(w, { key: 0, onClick: i2[0] || (i2[0] = (t3) => f.showButtonVisible("notEmpty")) }, { default: s(() => [r(A)]), _: 1 })) : h("", true)]), _: 1 })]), _: 1 }), r(V, { span: 6 }, { default: s(() => [r(g, { label: "add" }, { default: s(() => [d(u(t2.$t("workflowEditor.condition.rowsCanBeAdded")) + " ", 1), C2.actionArr && -1 !== C2.actionArr.indexOf("add") ? (o(), c(w, { key: 0, onClick: i2[1] || (i2[1] = (t3) => f.showButtonVisible("add")) }, { default: s(() => [r(A)]), _: 1 })) : h("", true)]), _: 1 })]), _: 1 }), r(V, { span: 6 }, { default: s(() => [r(g, { label: "delete" }, { default: s(() => [d(u(t2.$t("workflowEditor.condition.deleteLine")) + " ", 1), C2.actionArr && -1 !== C2.actionArr.indexOf("delete") ? (o(), c(w, { key: 0, onClick: i2[2] || (i2[2] = (t3) => f.showButtonVisible("delete")) }, { default: s(() => [r(A)]), _: 1 })) : h("", true)]), _: 1 })]), _: 1 }), r(V, { span: 6 }, { default: s(() => [r(g, { label: "update" }, { default: s(() => [d(u(t2.$t("workflowEditor.condition.modifiableHistoricalData")) + " ", 1), C2.actionArr && -1 !== C2.actionArr.indexOf("update") ? (o(), c(w, { key: 0, onClick: i2[3] || (i2[3] = (t3) => f.showButtonVisible("update")) }, { default: s(() => [r(A)]), _: 1 })) : h("", true)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"]), C2.showButtonVisibleFlag ? (o(), c(_, { key: 0, "attribute-map": C2.subtableConditionItem, "condition-list": C2.buttonVisibleCon.condition, "parent-condition": C2.buttonVisibleCon.parentCondition, "user-condition": C2.buttonVisibleCon.userCondition, "button-type": C2.buttonType, onClose: f.saveButtonVisible }, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "button-type", "onClose"])) : h("", true)]), a("div", null, [r(k, null, { default: s(() => [r(R, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: f.add }, { default: s(() => [d(u(t2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r(R, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: f.remove }, { default: s(() => [d(u(t2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r(B, { ref: "table", data: C2.fieldArr, border: "", "highlight-current-row": "", style: { width: "100%" }, onSelectionChange: f.handleSelectionChange, onCurrentChange: f.handleCurrentChange }, { default: s(() => [r(E, { type: "selection", width: "55", align: "center" }), r(E, { type: "index", width: "50", align: "center" }), r(E, { prop: "name", label: t2.$t("workflowEditor.task.propertyName"), width: "280", align: "center" }, { default: s((i3) => [r(N, { modelValue: i3.row.name, "onUpdate:modelValue": (t3) => i3.row.name = t3, size: "small", filterable: "", onChange: f.combinationParameters }, { default: s(() => [r(v, { label: t2.$t("workflowEditor.condition.allFields"), value: "all_fields" }, null, 8, ["label"]), (o(true), l(b, null, m(C2.attributeArr, (t3) => (o(), c(v, { key: t3.value, label: t3.label, value: t3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r(E, { prop: "constraintRule", label: t2.$t("workflowEditor.task.editingMethod"), width: "380", align: "center" }, { default: s((i3) => [r(M, { modelValue: i3.row.constraintRule, "onUpdate:modelValue": (t3) => i3.row.constraintRule = t3, onChange: f.combinationParameters }, { default: s(() => [r(P, { label: "REQUIRED" }, { default: s(() => [d(u(t2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r(P, { label: "READ_ONLY" }, { default: s(() => [d(u(t2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r(E, { prop: "condition", label: t2.$t("workflowEditor.task.condition"), align: "center" }, { default: s((t3) => [r(w, { onClick: (i3) => f.selectCondition(t3.row) }, { default: s(() => [r(A)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), C2.showAdditionalCondition ? (o(), c(_, { key: 0, "attribute-map": C2.subtableConditionItem, "condition-list": C2.currentRow.condition, "parent-condition": C2.currentRow.parentCondition, "user-condition": C2.currentRow.userCondition, onClose: f.savebuttonSetting }, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "onClose"])) : h("", true)])]);
77
+ }]]);
78
+ export {
79
+ C as default
80
+ };
@@ -0,0 +1,86 @@
1
+ import e from "./editable-child-field-setting.vue.mjs";
2
+ import i from "./componentsConfigUtil.mjs";
3
+ import { mapGetters as t } from "vuex";
4
+ import { resolveComponent as l, openBlock as s, createElementBlock as n, Fragment as o, renderList as d, createVNode as a, withCtx as m, createElementVNode as c, toDisplayString as r, createBlock as u, createCommentVNode as p } from "vue";
5
+ import h from "../../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ const f = { name: "EditableChildFields", components: { editableChildFieldSetting: e }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
7
+ let e2 = [];
8
+ return "" !== this.modelValue && null !== this.modelValue && void 0 !== this.modelValue && (Array.isArray(this.modelValue) ? e2 = this.modelValue : e2.push(this.modelValue)), { selectedFields: e2, selectedFieldMap: {} };
9
+ }, computed: { ...t("wfEditor", ["subtableConditionMap"]) }, watch: {}, created() {
10
+ if (this.selectedFields && this.selectedFields.length > 0 && this.selectedFields.forEach((e3) => {
11
+ const i2 = {}, t2 = e3.tableName;
12
+ if (e3.action)
13
+ if (Array.isArray(e3.action)) {
14
+ if (e3.action.length > 0) {
15
+ const t3 = [], l2 = {};
16
+ e3.action.forEach((e4) => {
17
+ t3.push(e4.name);
18
+ const i3 = {};
19
+ e4.condition && (i3.condition = this.xmlToData(e4.condition)), i3.parentCondition = e4.parentCondition, i3.userCondition = e4.userCondition, l2[e4.name] = i3;
20
+ }), i2.actionArr = t3, i2.visibleConditionArr = l2;
21
+ }
22
+ } else {
23
+ const t3 = [], l2 = {};
24
+ t3.push(e3.action.name);
25
+ const s2 = {};
26
+ e3.action.condition && (s2.condition = this.xmlToData(e3.action.condition)), s2.parentCondition = e3.action.parentCondition, s2.userCondition = e3.action.userCondition, l2[e3.action.name] = s2, i2.actionArr = t3, i2.visibleConditionArr = l2;
27
+ }
28
+ if (e3.field)
29
+ if (Array.isArray(e3.field)) {
30
+ if (e3.field.length > 0) {
31
+ const t3 = [];
32
+ e3.field.forEach((e4) => {
33
+ const i3 = {};
34
+ i3.name = e4.name, i3.constraintRule = e4.constraintRule, i3.condition = this.xmlToData(e4.condition), i3.userCondition = e4.userCondition, i3.parentCondition = e4.parentCondition, t3.push(i3);
35
+ }), i2.fieldArr = t3;
36
+ }
37
+ } else {
38
+ const t3 = [], l2 = {};
39
+ 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, t3.push(l2), i2.fieldArr = t3;
40
+ }
41
+ e3.modelName ? i2.modelName = e3.modelName : i2.modelName = null, e3.permission ? i2.sumPermission = e3.permission : i2.sumPermission = false, this.selectedFieldMap[t2] = i2;
42
+ }), this.subtableConditionMap) {
43
+ for (var e2 in this.subtableConditionMap)
44
+ if (!this.selectedFieldMap[e2]) {
45
+ const i2 = {};
46
+ i2.tableName = e2, i2.modelName = this.subtableConditionMap[e2].modelName, i2.sumPermission = false, this.selectedFieldMap[e2] = i2;
47
+ }
48
+ }
49
+ }, mounted() {
50
+ }, methods: { ...i, combinationParameters(e2) {
51
+ if (e2 && e2.tableName) {
52
+ if (this.selectedFields && this.selectedFields.length > 0) {
53
+ const i2 = this.selectedFields.findIndex((i3) => i3.tableName === e2.tableName);
54
+ -1 !== i2 ? this.selectedFields[i2] = e2 : this.selectedFields.push(e2);
55
+ } else
56
+ this.selectedFields = [], this.selectedFields.push(e2);
57
+ this.$emit("update:modelValue", this.selectedFields);
58
+ }
59
+ }, refreshModelName(e2) {
60
+ if (this.subtableConditionMap && this.subtableConditionMap[e2] && this.subtableConditionMap[e2].modelName) {
61
+ if (this.selectedFieldMap[e2]) {
62
+ this.selectedFieldMap[e2].modelName = this.subtableConditionMap[e2].modelName;
63
+ } else {
64
+ const i2 = {};
65
+ i2.modelName = this.subtableConditionMap[e2].modelName, this.selectedFieldMap[e2] = i2;
66
+ }
67
+ this.$message({ showClose: true, type: "success", message: this.$t("workflowEditorMessage.updateSuccessful") });
68
+ }
69
+ }, changeSumPermission(e2) {
70
+ if (e2 && this.selectedFieldMap[e2])
71
+ if (this.selectedFields || (this.selectedFields = []), false === this.selectedFieldMap[e2].sumPermission) {
72
+ const i2 = this.selectedFields.findIndex((i3) => i3.tableName === e2);
73
+ null != i2 && -1 !== i2 ? this.selectedFields[i2].permission = false : this.selectedFields[this.selectedFields.length] = { permission: false, tableName: e2 };
74
+ } else {
75
+ const i2 = this.selectedFields.findIndex((i3) => i3.tableName === e2);
76
+ null != i2 && -1 !== i2 ? this.selectedFields[i2].permission = true : this.selectedFields[this.selectedFields.length] = { permission: true, tableName: e2 };
77
+ }
78
+ this.$emit("update:modelValue", this.selectedFields);
79
+ } } }, b = { style: { width: "100%", "margin-top": "10px" } }, F = { class: "clearfix" }, C = { key: 0 }, M = { style: { color: "cornflowerblue" } }, N = { style: { "padding-left": "5px" } }, g = { key: 0 };
80
+ const x = h(f, [["render", function(e2, i2, t2, h2, f2, x2) {
81
+ const y = l("el-col"), V = l("el-switch"), v = l("el-row"), w = l("el-input"), P = l("el-button"), A = l("editable-child-field-setting"), k = l("el-card");
82
+ return s(), n("div", b, [(s(true), n(o, null, d(e2.subtableConditionMap, (i3, t3) => (s(), n("span", { key: t3 }, [a(k, { class: "box-card" }, { default: m(() => [c("div", F, [a(v, null, { default: m(() => [a(y, { span: 12 }, { default: m(() => [c("span", null, r(t3), 1)]), _: 2 }, 1024), f2.selectedFieldMap[t3] ? (s(), u(y, { key: 0, span: 12 }, { default: m(() => [a(V, { modelValue: f2.selectedFieldMap[t3].sumPermission, "onUpdate:modelValue": (e3) => f2.selectedFieldMap[t3].sumPermission = e3, "inactive-text": e2.$t("workflowEditor.condition.accessControl"), onChange: (e3) => x2.changeSumPermission(t3) }, null, 8, ["modelValue", "onUpdate:modelValue", "inactive-text", "onChange"])]), _: 2 }, 1024)) : p("", true)]), _: 2 }, 1024), a(v, null, { default: m(() => [a(y, null, { default: m(() => [f2.selectedFieldMap[t3] && f2.selectedFieldMap[t3].sumPermission ? (s(), n("span", C, [c("span", M, r(e2.$t("workflowEditor.condition.formBindingModel")) + ":", 1), c("span", N, [a(w, { modelValue: f2.selectedFieldMap[t3].modelName, "onUpdate:modelValue": (e3) => f2.selectedFieldMap[t3].modelName = e3, style: { width: "300px" } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), a(P, { icon: "el-icon-refresh", type: "text", onClick: (e3) => x2.refreshModelName(t3) }, null, 8, ["onClick"])])) : p("", true)]), _: 2 }, 1024)]), _: 2 }, 1024)]), f2.selectedFieldMap[t3] && f2.selectedFieldMap[t3].sumPermission ? (s(), n("div", g, [a(A, { setting: f2.selectedFieldMap[t3], "table-name": t3, onCombinationParameters: x2.combinationParameters }, null, 8, ["setting", "table-name", "onCombinationParameters"])])) : p("", true)]), _: 2 }, 1024)]))), 128))]);
83
+ }]]);
84
+ export {
85
+ x as default
86
+ };