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.
- package/.vscode/extensions.json +3 -0
- package/package.json +1 -1
- package/vite.config.js +3 -3
- package/dist/index.full.min.js +0 -3504
- package/dist/style.css +0 -526
- package/es/_virtual/_plugin-vue_export-helper.mjs +0 -9
- package/es/index.mjs +0 -17
- package/es/plugins/formValidatorUtil.mjs +0 -206
- package/es/plugins/index.mjs +0 -7
- package/es/src/i18n/i18n.mjs +0 -7
- package/es/src/i18n/langs/cn.mjs +0 -4
- package/es/src/i18n/langs/en.mjs +0 -4
- package/es/style.css +0 -525
- package/es/vite.svg +0 -1
- package/es/workflow-editor/index.mjs +0 -10
- package/es/workflow-editor/src/api.mjs +0 -6
- package/es/workflow-editor/src/assets/wf-editor-icons.mjs +0 -43
- package/es/workflow-editor/src/json-object-templates/auto-task.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/copy-task.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/decision.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/end.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/fork.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/human-decision.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/human-task.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/join.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/process.mjs +0 -9
- package/es/workflow-editor/src/json-object-templates/start.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/subprocess.mjs +0 -7
- package/es/workflow-editor/src/json-object-templates/transition.mjs +0 -6
- package/es/workflow-editor/src/main/admin-save-dialog.vue.mjs +0 -13
- package/es/workflow-editor/src/main/canvas.vue.mjs +0 -130
- package/es/workflow-editor/src/main/canvas.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/context-menu.vue.mjs +0 -33
- package/es/workflow-editor/src/main/context-menu.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/icon-svg.vue.mjs +0 -12
- package/es/workflow-editor/src/main/icon-svg.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/selection-region.vue.mjs +0 -17
- package/es/workflow-editor/src/main/selection-region.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/tache-history-tooltip.vue.mjs +0 -10
- package/es/workflow-editor/src/main/tache-history-tooltip.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue.mjs +0 -11
- package/es/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/toolbox.vue.mjs +0 -16
- package/es/workflow-editor/src/main/toolbox.vue2.mjs +0 -4
- package/es/workflow-editor/src/main/wf-history-canvas.vue.mjs +0 -86
- package/es/workflow-editor/src/main/wf-history-canvas.vue2.mjs +0 -4
- package/es/workflow-editor/src/process-service.mjs +0 -21
- package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/auto-task.vue.mjs +0 -22
- package/es/workflow-editor/src/properties-editors/auto-task.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/additional-condition-utils.mjs +0 -125
- package/es/workflow-editor/src/properties-editors/common/additional-condition.vue.mjs +0 -60
- package/es/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.mjs +0 -5
- package/es/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.mjs +0 -72
- package/es/workflow-editor/src/properties-editors/common/common-notice-tool.vue.mjs +0 -18
- package/es/workflow-editor/src/properties-editors/common/common-user-condition.vue.mjs +0 -55
- package/es/workflow-editor/src/properties-editors/common/form-fields-utils.mjs +0 -14
- package/es/workflow-editor/src/properties-editors/common/form-fields.vue.mjs +0 -20
- package/es/workflow-editor/src/properties-editors/common/form-fields.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/i18n-input.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.mjs +0 -36
- package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue.mjs +0 -27
- package/es/workflow-editor/src/properties-editors/common/notice-reminder.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/notice.vue.mjs +0 -31
- package/es/workflow-editor/src/properties-editors/common/reminder.vue.mjs +0 -36
- package/es/workflow-editor/src/properties-editors/common/reminder.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/select-mail-template.vue.mjs +0 -20
- package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.mjs +0 -95
- package/es/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue.mjs +0 -16
- package/es/workflow-editor/src/properties-editors/common/system-role-tree.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/task-title.vue.mjs +0 -46
- package/es/workflow-editor/src/properties-editors/common/task-title.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/transactor-settings.vue.mjs +0 -43
- package/es/workflow-editor/src/properties-editors/common/user-selection.vue.mjs +0 -116
- package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.mjs +0 -60
- package/es/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/common/variables.vue.mjs +0 -41
- package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.mjs +0 -30
- package/es/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/copy-task.vue.mjs +0 -26
- package/es/workflow-editor/src/properties-editors/copy-task.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/decision.vue.mjs +0 -24
- package/es/workflow-editor/src/properties-editors/fork.vue.mjs +0 -21
- package/es/workflow-editor/src/properties-editors/human-decision.vue.mjs +0 -15
- package/es/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.mjs +0 -16
- package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue.mjs +0 -38
- package/es/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.mjs +0 -84
- package/es/workflow-editor/src/properties-editors/human-task/custom-actions.vue.mjs +0 -62
- package/es/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.mjs +0 -80
- package/es/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.mjs +0 -86
- package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.mjs +0 -43
- package/es/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/human-task/editable-fields.vue.mjs +0 -67
- package/es/workflow-editor/src/properties-editors/human-task/events.vue.mjs +0 -18
- package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue.mjs +0 -33
- package/es/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.mjs +0 -56
- package/es/workflow-editor/src/properties-editors/human-task.vue.mjs +0 -28
- package/es/workflow-editor/src/properties-editors/human-task.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/join.vue.mjs +0 -15
- package/es/workflow-editor/src/properties-editors/process/basic-properties.vue.mjs +0 -88
- package/es/workflow-editor/src/properties-editors/process/events.vue.mjs +0 -21
- package/es/workflow-editor/src/properties-editors/process/notice-settings.vue.mjs +0 -25
- package/es/workflow-editor/src/properties-editors/process/parameter-settings.vue.mjs +0 -17
- package/es/workflow-editor/src/properties-editors/process/permission-settings.vue.mjs +0 -10
- package/es/workflow-editor/src/properties-editors/process/selectPage.vue.mjs +0 -28
- package/es/workflow-editor/src/properties-editors/process.vue.mjs +0 -34
- package/es/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.mjs +0 -64
- package/es/workflow-editor/src/properties-editors/subprocess/events.vue.mjs +0 -9
- package/es/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.mjs +0 -55
- package/es/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.mjs +0 -20
- package/es/workflow-editor/src/properties-editors/subprocess.vue.mjs +0 -22
- package/es/workflow-editor/src/properties-editors/subprocess.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/transition/basic-properties.vue.mjs +0 -14
- package/es/workflow-editor/src/properties-editors/transition.vue.mjs +0 -17
- package/es/workflow-editor/src/properties-editors/transition.vue2.mjs +0 -4
- package/es/workflow-editor/src/properties-editors/user-condition.mjs +0 -49
- package/es/workflow-editor/src/store/getters.mjs +0 -4
- package/es/workflow-editor/src/store/workflow-editor.mjs +0 -73
- package/es/workflow-editor/src/taches/auto-task.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/common-methods.mjs +0 -13
- package/es/workflow-editor/src/taches/copy-task.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/custom-task.vue.mjs +0 -16
- package/es/workflow-editor/src/taches/decision.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/decision.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/end.vue.mjs +0 -14
- package/es/workflow-editor/src/taches/end.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/fork.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/fork.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/human-decision.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/human-decision.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/human-task.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/join.vue.mjs +0 -16
- package/es/workflow-editor/src/taches/join.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/joint.vue.mjs +0 -54
- package/es/workflow-editor/src/taches/joint.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/start.vue.mjs +0 -14
- package/es/workflow-editor/src/taches/start.vue2.mjs +0 -4
- package/es/workflow-editor/src/taches/subprocess.vue.mjs +0 -25
- package/es/workflow-editor/src/taches/tache-resizer.vue.mjs +0 -30
- package/es/workflow-editor/src/taches/tache-resizer.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/broken-line.vue.mjs +0 -32
- package/es/workflow-editor/src/transitions/broken-line.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/curve-line.vue.mjs +0 -33
- package/es/workflow-editor/src/transitions/curve-line.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/straight-line.vue.mjs +0 -13
- package/es/workflow-editor/src/transitions/transition.vue.mjs +0 -70
- package/es/workflow-editor/src/transitions/transition.vue2.mjs +0 -4
- package/es/workflow-editor/src/transitions/virtual-transition.vue.mjs +0 -17
- package/es/workflow-editor/src/transitions/virtual-transition.vue2.mjs +0 -4
- package/es/workflow-editor/src/util.mjs +0 -180
- package/es/workflow-editor/src/workflow-editor.vue.mjs +0 -205
- package/es/workflow-editor/src/workflow-editor.vue2.mjs +0 -4
- package/es/workflow-editor/src/workflow-history.vue.mjs +0 -35
- package/es/workflow-editor/src/workflow-history.vue2.mjs +0 -4
- package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -7
- package/lib/index.cjs +0 -8
- package/lib/plugins/formValidatorUtil.cjs +0 -203
- package/lib/plugins/index.cjs +0 -5
- package/lib/src/i18n/i18n.cjs +0 -3
- package/lib/src/i18n/langs/cn.cjs +0 -2
- package/lib/src/i18n/langs/en.cjs +0 -2
- package/lib/style.css +0 -525
- package/lib/vite.svg +0 -1
- package/lib/workflow-editor/index.cjs +0 -7
- package/lib/workflow-editor/src/api.cjs +0 -5
- package/lib/workflow-editor/src/assets/wf-editor-icons.cjs +0 -44
- package/lib/workflow-editor/src/json-object-templates/auto-task.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/copy-task.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/decision.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/end.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/fork.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/human-decision.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/human-task.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/join.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/process.cjs +0 -6
- package/lib/workflow-editor/src/json-object-templates/start.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/subprocess.cjs +0 -5
- package/lib/workflow-editor/src/json-object-templates/transition.cjs +0 -4
- package/lib/workflow-editor/src/main/admin-save-dialog.vue.cjs +0 -11
- package/lib/workflow-editor/src/main/canvas.vue.cjs +0 -101
- package/lib/workflow-editor/src/main/canvas.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/context-menu.vue.cjs +0 -29
- package/lib/workflow-editor/src/main/context-menu.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/icon-svg.vue.cjs +0 -10
- package/lib/workflow-editor/src/main/icon-svg.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/selection-region.vue.cjs +0 -13
- package/lib/workflow-editor/src/main/selection-region.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/tache-history-tooltip.vue.cjs +0 -8
- package/lib/workflow-editor/src/main/tache-history-tooltip.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue.cjs +0 -9
- package/lib/workflow-editor/src/main/tache-subprocess-history-dialog.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/toolbox.vue.cjs +0 -11
- package/lib/workflow-editor/src/main/toolbox.vue2.cjs +0 -2
- package/lib/workflow-editor/src/main/wf-history-canvas.vue.cjs +0 -67
- package/lib/workflow-editor/src/main/wf-history-canvas.vue2.cjs +0 -2
- package/lib/workflow-editor/src/process-service.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/auto-task/basic-properties.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/auto-task.vue.cjs +0 -19
- package/lib/workflow-editor/src/properties-editors/auto-task.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/additional-condition-utils.cjs +0 -94
- package/lib/workflow-editor/src/properties-editors/common/additional-condition.vue.cjs +0 -54
- package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.cjs +0 -4
- package/lib/workflow-editor/src/properties-editors/common/auto-filled-fields.vue.cjs +0 -67
- package/lib/workflow-editor/src/properties-editors/common/common-notice-tool.vue.cjs +0 -16
- package/lib/workflow-editor/src/properties-editors/common/common-user-condition.vue.cjs +0 -50
- package/lib/workflow-editor/src/properties-editors/common/form-fields-utils.cjs +0 -11
- package/lib/workflow-editor/src/properties-editors/common/form-fields.vue.cjs +0 -17
- package/lib/workflow-editor/src/properties-editors/common/form-fields.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/i18n-input.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue.cjs +0 -31
- package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue.cjs +0 -22
- package/lib/workflow-editor/src/properties-editors/common/notice-reminder.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/notice.vue.cjs +0 -25
- package/lib/workflow-editor/src/properties-editors/common/reminder.vue.cjs +0 -31
- package/lib/workflow-editor/src/properties-editors/common/reminder.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/select-mail-template.vue.cjs +0 -17
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue.cjs +0 -93
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/common/system-role-tree.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/task-title.vue.cjs +0 -42
- package/lib/workflow-editor/src/properties-editors/common/task-title.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/transactor-settings.vue.cjs +0 -37
- package/lib/workflow-editor/src/properties-editors/common/user-selection.vue.cjs +0 -110
- package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue.cjs +0 -55
- package/lib/workflow-editor/src/properties-editors/common/value-selection-dialog.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/common/variables.vue.cjs +0 -39
- package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/copy-task/basic-properties.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue.cjs +0 -26
- package/lib/workflow-editor/src/properties-editors/copy-task/permission-settings.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/copy-task.vue.cjs +0 -19
- package/lib/workflow-editor/src/properties-editors/copy-task.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/decision.vue.cjs +0 -20
- package/lib/workflow-editor/src/properties-editors/fork.vue.cjs +0 -18
- package/lib/workflow-editor/src/properties-editors/human-decision.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue.cjs +0 -31
- package/lib/workflow-editor/src/properties-editors/human-task/basic-properties.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.cjs +0 -82
- package/lib/workflow-editor/src/properties-editors/human-task/custom-actions.vue.cjs +0 -56
- package/lib/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue.cjs +0 -75
- package/lib/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue.cjs +0 -80
- package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue.cjs +0 -39
- package/lib/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/human-task/editable-fields.vue.cjs +0 -60
- package/lib/workflow-editor/src/properties-editors/human-task/events.vue.cjs +0 -15
- package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue.cjs +0 -26
- package/lib/workflow-editor/src/properties-editors/human-task/permission-settings.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/human-task/selection-conditions.vue.cjs +0 -49
- package/lib/workflow-editor/src/properties-editors/human-task.vue.cjs +0 -19
- package/lib/workflow-editor/src/properties-editors/human-task.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/join.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/process/basic-properties.vue.cjs +0 -81
- package/lib/workflow-editor/src/properties-editors/process/events.vue.cjs +0 -18
- package/lib/workflow-editor/src/properties-editors/process/notice-settings.vue.cjs +0 -21
- package/lib/workflow-editor/src/properties-editors/process/parameter-settings.vue.cjs +0 -13
- package/lib/workflow-editor/src/properties-editors/process/permission-settings.vue.cjs +0 -7
- package/lib/workflow-editor/src/properties-editors/process/selectPage.vue.cjs +0 -23
- package/lib/workflow-editor/src/properties-editors/process.vue.cjs +0 -24
- package/lib/workflow-editor/src/properties-editors/subprocess/basic-properties.vue.cjs +0 -57
- package/lib/workflow-editor/src/properties-editors/subprocess/events.vue.cjs +0 -7
- package/lib/workflow-editor/src/properties-editors/subprocess/field-mappings.vue.cjs +0 -50
- package/lib/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue.cjs +0 -16
- package/lib/workflow-editor/src/properties-editors/subprocess.vue.cjs +0 -17
- package/lib/workflow-editor/src/properties-editors/subprocess.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/transition/basic-properties.vue.cjs +0 -10
- package/lib/workflow-editor/src/properties-editors/transition.vue.cjs +0 -12
- package/lib/workflow-editor/src/properties-editors/transition.vue2.cjs +0 -2
- package/lib/workflow-editor/src/properties-editors/user-condition.cjs +0 -33
- package/lib/workflow-editor/src/store/getters.cjs +0 -2
- package/lib/workflow-editor/src/store/workflow-editor.cjs +0 -71
- package/lib/workflow-editor/src/taches/auto-task.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/common-methods.cjs +0 -11
- package/lib/workflow-editor/src/taches/copy-task.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/custom-task.vue.cjs +0 -9
- package/lib/workflow-editor/src/taches/decision.vue.cjs +0 -19
- package/lib/workflow-editor/src/taches/decision.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/end.vue.cjs +0 -9
- package/lib/workflow-editor/src/taches/end.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/fork.vue.cjs +0 -19
- package/lib/workflow-editor/src/taches/fork.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/human-decision.vue.cjs +0 -19
- package/lib/workflow-editor/src/taches/human-decision.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/human-task.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/join.vue.cjs +0 -11
- package/lib/workflow-editor/src/taches/join.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/joint.vue.cjs +0 -50
- package/lib/workflow-editor/src/taches/joint.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/start.vue.cjs +0 -9
- package/lib/workflow-editor/src/taches/start.vue2.cjs +0 -2
- package/lib/workflow-editor/src/taches/subprocess.vue.cjs +0 -17
- package/lib/workflow-editor/src/taches/tache-resizer.vue.cjs +0 -27
- package/lib/workflow-editor/src/taches/tache-resizer.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/broken-line.vue.cjs +0 -28
- package/lib/workflow-editor/src/transitions/broken-line.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/curve-line.vue.cjs +0 -29
- package/lib/workflow-editor/src/transitions/curve-line.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/straight-line.vue.cjs +0 -9
- package/lib/workflow-editor/src/transitions/transition.vue.cjs +0 -63
- package/lib/workflow-editor/src/transitions/transition.vue2.cjs +0 -2
- package/lib/workflow-editor/src/transitions/virtual-transition.vue.cjs +0 -13
- package/lib/workflow-editor/src/transitions/virtual-transition.vue2.cjs +0 -2
- package/lib/workflow-editor/src/util.cjs +0 -139
- package/lib/workflow-editor/src/workflow-editor.vue.cjs +0 -191
- package/lib/workflow-editor/src/workflow-editor.vue2.cjs +0 -2
- package/lib/workflow-editor/src/workflow-history.vue.cjs +0 -28
- package/lib/workflow-editor/src/workflow-history.vue2.cjs +0 -2
- /package/{dist → public}/vite.svg +0 -0
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("./componentsConfigUtil.cjs"), t = require("../common/additional-condition.vue.cjs"), l = require("../common/common-user-condition.vue.cjs"), o = require("vuex"), a = require("vue"), r = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), n = { components: { AdditionalCondition: t, CommonUserCondition: l }, props: { conditionList: { type: [Array, String], default: null }, userCondition: { type: String, default: null }, parentCondition: { type: String, default: null }, attributeMap: { type: Object, default: null }, buttonType: { type: Object, default: null } }, data() {
|
|
3
|
-
let e2, t2;
|
|
4
|
-
return this.userCondition && "" !== this.userCondition && (e2 = this.userCondition), this.parentCondition && "" !== this.parentCondition && (t2 = this.parentCondition), { myUserCondition: e2, myParentCondition: t2, tableData: null, attributeArr: [], fieldMap: {}, fieldNameMap: {}, queryList: [], operationArr: [], parentAttributeArr: [], dialogVisible: true };
|
|
5
|
-
}, created() {
|
|
6
|
-
this.getAttributeArr();
|
|
7
|
-
}, computed: { ...o.mapGetters("wfEditor", ["propSettingKeyList"]) }, mounted() {
|
|
8
|
-
this.conditionList && ("object" == typeof this.conditionList ? this.tableData = this.conditionList : this.tableData = this.xmlToData(this.conditionList), this.getOperatorsArr(this.tableData));
|
|
9
|
-
}, methods: { ...e, add() {
|
|
10
|
-
this.tableData || (this.tableData = []), this.tableData.push({ leftBracket: "", propName: "", operator: "", propValue: "", rightBracket: "", logicOperator: "condition.operator.or", dataType: "", propDbName: "" }), this.operationArr.push([]);
|
|
11
|
-
}, remove() {
|
|
12
|
-
if (null === this.currentRow)
|
|
13
|
-
return void this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"));
|
|
14
|
-
let e2 = this.getRowIndex(this.currentRow);
|
|
15
|
-
this.tableData.splice(e2, 1), this.tableData.length > 0 && (e2 = e2 <= this.tableData.length - 1 ? e2 : this.tableData.length - 1, this.$refs.table.setCurrentRow(this.tableData[e2]));
|
|
16
|
-
}, changeFieldName(e2) {
|
|
17
|
-
const t2 = this.currentRow.propName, l2 = this.fieldMap[t2];
|
|
18
|
-
l2 && (this.tableData[e2].dataType = l2.type, this.tableData[e2].propDbName = l2.propDbName), this.operationArr[e2] = this.getOperators(l2);
|
|
19
|
-
}, getAttributeArr() {
|
|
20
|
-
this.attributeMap && this.attributeMap.attributeArr && (this.attributeArr = this.attributeMap.attributeArr, this.queryList = this.attributeMap.attributeArr, this.fieldMap = this.attributeMap.fieldMap, this.fieldNameMap = this.attributeMap.fieldNameMap, this.parentAttributeArr = this.attributeMap.parentAttributeArr);
|
|
21
|
-
}, selectRow(e2) {
|
|
22
|
-
this.attributeArr = this.queryList, this.$refs.table.setCurrentRow(e2);
|
|
23
|
-
}, handleCurrentChange(e2) {
|
|
24
|
-
this.currentRow = e2;
|
|
25
|
-
}, searchField(e2) {
|
|
26
|
-
e2 && (this.attributeArr = this.queryList.filter((t2) => t2.label.indexOf(e2) > -1 || t2.value.indexOf(e2) > -1));
|
|
27
|
-
}, getRowIndex(e2) {
|
|
28
|
-
for (let t2 = 0; t2 < this.tableData.length; t2++)
|
|
29
|
-
if (this.tableData[t2].propName === e2.propName)
|
|
30
|
-
return t2;
|
|
31
|
-
return -1;
|
|
32
|
-
}, savebuttonSetting() {
|
|
33
|
-
if (this.tableData && this.tableData.length > 0)
|
|
34
|
-
for (var e2 = 0; e2 < this.tableData.length; e2++) {
|
|
35
|
-
if (!this.tableData[e2].propName)
|
|
36
|
-
return void this.$alert(this.$t("workflowEditorMessage.blankFieldNameOrValue"));
|
|
37
|
-
}
|
|
38
|
-
const t2 = { userCondition: this.myUserCondition, parentCondition: this.myParentCondition, condition: this.tableData };
|
|
39
|
-
this.$emit("close", t2);
|
|
40
|
-
}, closeButtonSetting() {
|
|
41
|
-
this.savebuttonSetting(), this.$emit("close", null);
|
|
42
|
-
}, changePropValue(e2) {
|
|
43
|
-
this.tableData[e2] && this.tableData[e2].propValue ? this.tableData[e2].propValueType && ("request" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${request.") && (this.tableData[e2].propValue = "${request." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}")), "input" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${input.") && (this.tableData[e2].propValue = "${input." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}"))) : this.tableData[e2].propValueType = null;
|
|
44
|
-
} } }, i = { style: { "overflow-y": "auto", "max-height": "500px" } }, d = { class: "operation-area" }, u = { class: "clearfix" }, c = { class: "clearfix" };
|
|
45
|
-
const p = r(n, [["render", function(e2, t2, l2, o2, r2, n2) {
|
|
46
|
-
const p2 = a.resolveComponent("el-button"), s = a.resolveComponent("common-user-condition"), m = a.resolveComponent("el-card"), b = a.resolveComponent("additional-condition"), V = a.resolveComponent("el-row"), w = a.resolveComponent("el-option"), h = a.resolveComponent("el-select"), k = a.resolveComponent("el-table-column"), f = a.resolveComponent("el-date-picker"), C = a.resolveComponent("el-input"), N = a.resolveComponent("el-table"), v = a.resolveComponent("el-dialog");
|
|
47
|
-
return a.openBlock(), a.createBlock(v, { "show-close": true, "append-to-body": true, style: { width: "100%" }, title: e2.$t("workflowEditor.condition.combinationCondition"), "model-value": "", onClose: n2.closeButtonSetting }, { default: a.withCtx(() => [a.createElementVNode("div", i, [a.createElementVNode("div", d, [a.createVNode(p2, { size: "small", type: "primary", onClick: n2.savebuttonSetting }, { default: a.withCtx(() => [a.createElementVNode("span", null, a.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])]), a.createElementVNode("div", null, [a.createVNode(m, { class: "box-card", shadow: "never" }, { header: a.withCtx(() => [a.createElementVNode("div", u, [a.createElementVNode("span", null, a.toDisplayString(e2.$t("workflowEditor.condition.personnelScope")), 1)])]), default: a.withCtx(() => [a.createElementVNode("div", null, [a.createVNode(s, { modelValue: r2.myUserCondition, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r2.myUserCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])]), _: 1 }), a.createVNode(m, { class: "box-card", shadow: "never" }, { header: a.withCtx(() => [a.createElementVNode("div", c, [a.createElementVNode("span", null, a.toDisplayString(e2.$t("workflowEditor.condition.mainTableConditions")), 1)])]), default: a.withCtx(() => [a.createElementVNode("div", null, [a.createVNode(b, { modelValue: r2.myParentCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => r2.myParentCondition = e3) }, null, 8, ["modelValue"])])]), _: 1 }), "notEmpty" !== l2.buttonType && "add" !== l2.buttonType ? (a.openBlock(), a.createBlock(m, { key: 0, class: "box-card", shadow: "never" }, { header: a.withCtx(() => [a.createElementVNode("div", null, [a.createElementVNode("span", null, a.toDisplayString(e2.$t("workflowEditor.condition.subtableCondition")), 1)])]), default: a.withCtx(() => [a.createElementVNode("div", null, [a.createVNode(V, { style: { "padding-bottom": "8px" } }, { default: a.withCtx(() => [a.createVNode(p2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), a.createVNode(p2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: a.withCtx(() => [a.createTextVNode(a.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), a.createVNode(N, { id: "tableDataDialog", ref: "table", data: r2.tableData, border: "", style: { width: "100%" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: a.withCtx(() => [a.createVNode(k, { prop: "leftBracket", label: "(", width: "90" }, { default: a.withCtx((e3) => [a.createVNode(h, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: a.withCtx(() => [a.createVNode(w, { label: "", value: "" }), a.createVNode(w, { label: "(", value: "(" }), a.createVNode(w, { label: "((", value: "((" }), a.createVNode(w, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), a.createVNode(k, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: a.withCtx((e3) => [a.createVNode(h, { modelValue: e3.row.propName, "onUpdate:modelValue": (t3) => e3.row.propName = t3, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onFocus: (t3) => n2.selectRow(e3.row), onChange: (t3) => n2.changeFieldName(e3.$index) }, { default: a.withCtx(() => [(a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(r2.attributeArr, (e4) => (a.openBlock(), a.createBlock(w, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "filter-method", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), a.createVNode(k, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: a.withCtx((e3) => [a.createVNode(h, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: a.withCtx(() => [(a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(r2.operationArr[e3.$index], (e4) => (a.openBlock(), a.createBlock(w, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), a.createVNode(k, { label: e2.$t("workflowEditor.common.value") }, { default: a.withCtx((t3) => [t3.row.propValueType ? a.createCommentVNode("", true) : (a.openBlock(), a.createBlock(h, { key: 0, modelValue: t3.row.propValueType, "onUpdate:modelValue": (e3) => t3.row.propValueType = e3, size: "small", onFocus: (e3) => n2.selectRow(t3.row) }, { default: a.withCtx(() => [a.createVNode(w, { label: e2.$t("workflowEditor.condition.fillInManually"), value: "input" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.environmentVariable"), value: "context" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.requestParameters"), value: "request" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.mainTableField"), value: "obj" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.databaseFields"), value: "subObj" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.taskFields"), value: "task" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.systemParameter"), value: "custom" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])), "context" === t3.row.propValueType ? (a.openBlock(), a.createBlock(h, { key: 1, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: a.withCtx(() => [a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTime"), value: "${context.currentTime}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactor"), value: "${context.currentTransactor}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorName"), value: "${context.currentTransactorName}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorId"), value: "${context.currentTransactorId}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartmentId"), value: "${context.currentTransactorMainDepartmentId}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartment"), value: "${context.currentTransactorMainDepartment}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorRoleId"), value: "${context.currentTransactorRoleId}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorRole"), value: "${context.currentTransactorRole}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroupId"), value: "${context.currentTransactorWorkGroupId}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroup"), value: "${context.currentTransactorWorkGroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : a.createCommentVNode("", true), "task" === t3.row.propValueType ? (a.openBlock(), a.createBlock(h, { key: 2, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: a.withCtx(() => [a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentHandler"), value: "${task.transactor}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentTaskClient"), value: "${task.trustor}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.currentAssignor"), value: "${task.assigner}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.linkName"), value: "${task.name}" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.condition.linkCode"), value: "${task.nodeId}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : a.createCommentVNode("", true), "DATE" === t3.row.dataType && "input" === t3.row.propValueType ? (a.openBlock(), a.createBlock(f, { key: 3, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", clearable: "", "value-format": "YYYY-MM-DD", title: t3.row.propValue, type: "date", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : a.createCommentVNode("", true), "TIME" === t3.row.dataType && "input" === t3.row.propValueType ? (a.openBlock(), a.createBlock(f, { key: 4, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", title: t3.row.propValue, clearable: "", "value-format": "YYYY-MM-DD HH:mm:ss", type: "datetime", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : a.createCommentVNode("", true), "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType && "input" === t3.row.propValueType ? (a.openBlock(), a.createBlock(C, { key: 5, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : a.createCommentVNode("", true), "request" === t3.row.propValueType ? (a.openBlock(), a.createBlock(C, { key: 6, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : a.createCommentVNode("", true), "subObj" === t3.row.propValueType ? (a.openBlock(), a.createBlock(h, { key: 7, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: a.withCtx(() => [(a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(r2.attributeArr, (e3) => (a.openBlock(), a.createBlock(w, { key: "${subObj." + e3.value + "}", label: e3.label, value: "${subObj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "filter-method", "onChange"])) : a.createCommentVNode("", true), "obj" === t3.row.propValueType ? (a.openBlock(), a.createBlock(h, { key: 8, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: a.withCtx(() => [(a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(r2.parentAttributeArr, (e3) => (a.openBlock(), a.createBlock(w, { key: "${obj." + e3.value + "}", label: e3.label, value: "${obj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : a.createCommentVNode("", true), "custom" === t3.row.propValueType ? (a.openBlock(), a.createBlock(h, { key: 9, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: a.withCtx(() => [(a.openBlock(true), a.createElementBlock(a.Fragment, null, a.renderList(e2.propSettingKeyList, (e3) => (a.openBlock(), a.createBlock(w, { key: "${custom." + e3 + "}", label: e3, value: "${custom." + e3 + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : a.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), a.createVNode(k, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[2] || (t2[2] = (t3) => n2.selectRow(e2.scope.row)) }, { default: a.withCtx((e3) => [a.createVNode(h, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, size: "small", clearable: "" }, { default: a.withCtx(() => [a.createVNode(w, { label: "", value: "" }), a.createVNode(w, { label: ")", value: ")" }), a.createVNode(w, { label: "))", value: "))" }), a.createVNode(w, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), a.createVNode(k, { label: e2.$t("workflowEditorPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: a.withCtx((t3) => [a.createVNode(h, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, size: "small", clearable: "", onFocus: (e3) => n2.selectRow(t3.row) }, { default: a.withCtx(() => [a.createVNode(w, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), a.createVNode(w, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])])]), _: 1 })) : a.createCommentVNode("", true)])])]), _: 1 }, 8, ["title", "onClose"]);
|
|
48
|
-
}]]);
|
|
49
|
-
module.exports = p;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("./human-task/basic-properties.vue.cjs"), t = require("./human-task/permission-settings.vue.cjs"), o = require("./common/transactor-settings.vue.cjs"), l = require("./common/auto-filled-fields.vue.cjs"), r = require("./common/variables.vue.cjs"), a = require("./human-task/events.vue.cjs"), i = require("./common/notice-reminder.vue.cjs"), n = require("vue");
|
|
3
|
-
require("./human-task.vue2.cjs");
|
|
4
|
-
const d = require("../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: e, TransactorSettings: o, PermissionSettings: t, AutoFilledFields: l, Events: a, Variables: r, NoticeReminder: i }, props: { model: { type: Object, default: null } }, data() {
|
|
5
|
-
return this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
|
|
6
|
-
}, computed: { formModel() {
|
|
7
|
-
return this.model.ref;
|
|
8
|
-
} }, mounted() {
|
|
9
|
-
this.$watch("model.ref.attr.id", function(e2, t2) {
|
|
10
|
-
this.model.id = e2;
|
|
11
|
-
}), this.$watch("model.ref.attr.name", function(e2, t2) {
|
|
12
|
-
this.model.name = e2;
|
|
13
|
-
});
|
|
14
|
-
}, methods: { handleClick(e2, t2) {
|
|
15
|
-
} } }, [["render", function(e2, t2, o2, l2, r2, a2) {
|
|
16
|
-
const i2 = n.resolveComponent("basic-properties"), d2 = n.resolveComponent("el-tab-pane"), s = n.resolveComponent("transactor-settings"), m = n.resolveComponent("permission-settings"), u = n.resolveComponent("auto-filled-fields"), c = n.resolveComponent("notice-reminder"), p = n.resolveComponent("events"), f = n.resolveComponent("variables"), v = n.resolveComponent("el-tabs"), b = n.resolveComponent("el-dialog");
|
|
17
|
-
return n.openBlock(), n.createBlock(b, { "model-value": "", top: "10vh", title: e2.$t("workflowEditor.task.linkAttribute"), center: true, "append-to-body": "", class: "properties-editor", onOpen: t2[9] || (t2[9] = (t3) => e2.$emit("open")), onOpend: t2[10] || (t2[10] = (t3) => e2.$emit("opend")), onClose: t2[11] || (t2[11] = (t3) => e2.$emit("close")), onClosed: t2[12] || (t2[12] = (t3) => e2.$emit("closed")) }, { default: n.withCtx(() => [n.createVNode(v, { modelValue: r2.activeTab, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => r2.activeTab = e3), type: "border-card", onTabClick: a2.handleClick }, { default: n.withCtx(() => [n.createVNode(d2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: n.withCtx(() => [n.createVNode(i2, { 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"]), n.createVNode(d2, { label: e2.$t("workflowEditor.task.settingOfHandler"), name: "transactors" }, { default: n.withCtx(() => [n.createVNode(s, { model: o2.model.ref.transactorSettings, "basic-properties": o2.model.ref.basicProperties }, null, 8, ["model", "basic-properties"])]), _: 1 }, 8, ["label"]), n.createVNode(d2, { label: e2.$t("workflowEditor.task.permissionSettings"), name: "permissions" }, { default: n.withCtx(() => [n.createVNode(m, { modelValue: o2.model.ref.permissionSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n.createVNode(d2, { label: e2.$t("workflowEditor.task.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: n.withCtx(() => [n.createVNode(u, { modelValue: o2.model.ref.autoFilledFields, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.autoFilledFields = e3), "opinion-setting": o2.model.ref.opinionSetting, "onUpdate:opinionSetting": t2[4] || (t2[4] = (e3) => o2.model.ref.opinionSetting = e3) }, null, 8, ["modelValue", "opinion-setting"])]), _: 1 }, 8, ["label"]), n.createVNode(d2, { label: e2.$t("workflowEditor.task.reminderSettings"), name: "reminders" }, { default: n.withCtx(() => [n.createVNode(c, { "reminder-value": o2.model.ref.reminder, "onUpdate:reminderValue": t2[5] || (t2[5] = (e3) => o2.model.ref.reminder = e3), "task-notice-value": o2.model.ref.taskNotice }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), n.createVNode(d2, { label: e2.$t("workflowEditor.task.eventProcessing"), name: "events" }, { default: n.withCtx(() => [n.createVNode(p, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n.createVNode(d2, { label: e2.$t("workflowEditor.task.linkVariable"), name: "variables" }, { default: n.withCtx(() => [n.createVNode(f, { modelValue: o2.model.ref.variables, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.model.ref.variables = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
|
|
18
|
-
}], ["__scopeId", "data-v-1651d82a"]]);
|
|
19
|
-
module.exports = d;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue");
|
|
3
|
-
const o = require("../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "ForkPropertiesEditor", 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(o2, t, l, r, n, d) {
|
|
10
|
-
const a = e.resolveComponent("el-input"), i = e.resolveComponent("el-form-item"), m = e.resolveComponent("el-form"), u = e.resolveComponent("el-dialog");
|
|
11
|
-
return e.openBlock(), e.createBlock(u, { "model-value": "", title: o2.$t("workflowEditor.task.convergedProperties"), center: true, "append-to-body": "", onOpen: t[1] || (t[1] = (e2) => o2.$emit("open")), onOpend: t[2] || (t[2] = (e2) => o2.$emit("opend")), onClose: t[3] || (t[3] = (e2) => o2.$emit("close")), onClosed: t[4] || (t[4] = (e2) => o2.$emit("closed")) }, { default: e.withCtx(() => [e.createVNode(m, null, { default: e.withCtx(() => [e.createVNode(i, { label: o2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: e.withCtx(() => [e.createVNode(a, { modelValue: d.formModel.attr.name, "onUpdate:modelValue": t[0] || (t[0] = (e2) => d.formModel.attr.name = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["title"]);
|
|
12
|
-
}]]);
|
|
13
|
-
module.exports = o;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vuex"), t = require("../../process-service.cjs"), l = require("../../util.cjs"), o = require("../common/i18n-input.vue.cjs"), s = require("agilebuilder-ui"), r = require("vue");
|
|
3
|
-
const a = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "BasicProperties", components: { i18nInput: o }, props: { model: { type: Object, default: null }, name: { type: String, default: null }, code: { type: String, default: null } }, data() {
|
|
4
|
-
return { formModel: { name: this.name, code: this.code, model: this.model }, allForms: [], allProcessTypes: [], allSystems: [], allBranches: [], nameError: null, codeError: null, systemError: null, adminError: null, formError: null, requiredRule: { required: true, message: l.getI18n().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, isSelectAdmin: false, selectedForm: [], systemPublishVersion: null, sysCode: null, systems: [], isShowFormAndSystem: true, tableName: null };
|
|
5
|
-
}, computed: { ...e.mapGetters("wfEditor", ["systemVersion", "systemCode", "tableCode", "isCreateDefinition", "isHandleCreate"]) }, created() {
|
|
6
|
-
this.getAdminNameWhenUpdate(), this.listAllProcessTypes(), this.listAllSystems(), this.listAllBranches(), this.model.creator || (this.model.creator = s.getUsername()), this.setProcessCode(this.formModel.code), this.model.systemCode ? this.setSystemCode(this.model.systemCode) : this.model.systemCode = this.systemCode, this.systemPublishVersion = parseInt(s.authApi.getSessionCache("wf_editor_systemVersion")), this.changeSystem(this.systemCode, this.systemPublishVersion), this.listAllForms(this.systemCode, this.systemPublishVersion), this.tableName = this.tableCode, this.isCreateDefinition, this.isHandleCreate, this.isHandleCreate && "true" === this.isHandleCreate || this.isCreateDefinition && "true" === this.isCreateDefinition ? this.isShowFormAndSystem = true : this.isShowFormAndSystem = false;
|
|
7
|
-
}, mounted() {
|
|
8
|
-
this.$watch("formModel.name", function(e2, t2) {
|
|
9
|
-
this.$emit("update:name", e2);
|
|
10
|
-
}), this.$watch("formModel.code", function(e2, t2) {
|
|
11
|
-
this.$emit("update:code", e2), this.setProcessCode(e2);
|
|
12
|
-
}), this.$watch("model.systemCode", function(e2, t2) {
|
|
13
|
-
this.setSystemCode(e2);
|
|
14
|
-
}), this.$watch("systemPublishVersion", function(e2, t2) {
|
|
15
|
-
this.setSystemVersion(e2);
|
|
16
|
-
});
|
|
17
|
-
}, methods: { ...e.mapMutations("wfEditor", ["setFormFields", "setSystemCode", "setSystemVersion", "setProcessCode"]), handleChange(e2) {
|
|
18
|
-
const l2 = e2[1];
|
|
19
|
-
this.model.formCode = l2.substring(l2.indexOf("/") + 1, l2.lastIndexOf("/")), this.model.formVersion = l2.substring(l2.lastIndexOf("/") + 1), t.fetchFormFields(this.model.formCode, this.model.formVersion, null, this.systemPublishVersion).then((e3) => {
|
|
20
|
-
this.tableName = e3.tableCode;
|
|
21
|
-
});
|
|
22
|
-
}, selectAdmin() {
|
|
23
|
-
this.isSelectAdmin = true;
|
|
24
|
-
}, addAdmin(e2) {
|
|
25
|
-
if (e2) {
|
|
26
|
-
e2.containBranch = true;
|
|
27
|
-
let t2 = e2.loginName;
|
|
28
|
-
const l2 = e2.user;
|
|
29
|
-
e2.containBranch && (t2 = l2.subCompanyCode ? e2.loginName + "~~" + l2.subCompanyCode : e2.loginName + "~~" + l2.tenantCode), this.model.admin = t2, this.formModel.adminName = e2.name;
|
|
30
|
-
}
|
|
31
|
-
this.isSelectAdmin = false;
|
|
32
|
-
}, listAllForms(e2, t2) {
|
|
33
|
-
this.$http.get(this.baseAPI + `/wf-editor/workflow-editors/forms?systemCode=${e2}&publishVersion=${t2}`).then((e3) => {
|
|
34
|
-
const t3 = this.model.formCode + "/" + this.model.formVersion;
|
|
35
|
-
this.setDefaultSelectedFormWhenUpdate(e3, t3), this.allForms = e3;
|
|
36
|
-
});
|
|
37
|
-
}, setDefaultSelectedFormWhenUpdate(e2, t2) {
|
|
38
|
-
let l2, o2;
|
|
39
|
-
for (var s2 = 0; s2 < e2.length; s2++) {
|
|
40
|
-
const r2 = e2[s2].value, a2 = e2[s2].children.filter(this.filterForm(t2));
|
|
41
|
-
if (a2.length > 0) {
|
|
42
|
-
o2 = r2, l2 = a2[0];
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
if (l2) {
|
|
47
|
-
const e3 = [];
|
|
48
|
-
e3.push(o2 + ""), e3.push(o2 + "/" + t2), this.selectedForm = e3;
|
|
49
|
-
}
|
|
50
|
-
}, filterForm: (e2) => (t2) => {
|
|
51
|
-
const l2 = t2.value;
|
|
52
|
-
return l2.substring(l2.indexOf("/") + 1) === e2;
|
|
53
|
-
}, listAllProcessTypes() {
|
|
54
|
-
this.$http.get(this.baseAPI + "/api/workflow-types/all").then((e2) => {
|
|
55
|
-
this.allProcessTypes = e2;
|
|
56
|
-
});
|
|
57
|
-
}, listAllSystems() {
|
|
58
|
-
this.$http.get(this.baseAPI + "/api/all-enabled-systems").then((e2) => {
|
|
59
|
-
this.allSystems = e2;
|
|
60
|
-
});
|
|
61
|
-
}, listAllBranches() {
|
|
62
|
-
this.$http.get(this.baseAPI + "/api/branches/all").then((e2) => {
|
|
63
|
-
this.allBranches = e2;
|
|
64
|
-
});
|
|
65
|
-
}, getAdminNameWhenUpdate() {
|
|
66
|
-
this.model.admin && "" !== this.model.admin && this.$http.get(this.baseAPI + "/wf-editor/workflow-editors/admin-name-info?loginNameInfo=" + this.model.admin).then((e2) => {
|
|
67
|
-
this.formModel.adminName = e2;
|
|
68
|
-
});
|
|
69
|
-
}, setI18nValue(e2) {
|
|
70
|
-
this.model.i18nKey = e2;
|
|
71
|
-
}, changeSystem(e2, t2) {
|
|
72
|
-
this.systemPublishVersion = t2, this.allForms = [], e2 && this.$http.get(this.baseAPI + "/wf-editor/systems/getPublishVersionsByCode/" + e2).then((e3) => {
|
|
73
|
-
this.systems = e3 || [];
|
|
74
|
-
});
|
|
75
|
-
}, changeVersion() {
|
|
76
|
-
this.listAllForms(this.model.systemCode, this.systemPublishVersion);
|
|
77
|
-
} } }, [["render", function(e2, t2, l2, o2, s2, a2) {
|
|
78
|
-
const i = r.resolveComponent("i18n-input"), d = r.resolveComponent("el-form-item"), n = r.resolveComponent("el-col"), m = r.resolveComponent("el-input"), c = r.resolveComponent("department-user-tree"), h = r.resolveComponent("el-option"), u = r.resolveComponent("el-select"), p = r.resolveComponent("el-cascader"), f = r.resolveComponent("el-row"), C = r.resolveComponent("el-form");
|
|
79
|
-
return r.openBlock(), r.createBlock(C, { model: s2.formModel, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(f, null, { default: r.withCtx(() => [r.createVNode(n, { span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.processName"), prop: "name", rules: [s2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(i, { modelValue: s2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => s2.formModel.name = e3), modelModifiers: { trim: true }, "i18n-key": l2.model.i18nKey ? l2.model.i18nKey : "processName", onSetI18n: a2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(n, { span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.processCode"), prop: "code", rules: [s2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(m, { modelValue: s2.formModel.code, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => s2.formModel.code = e3), modelModifiers: { trim: true } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(n, { span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.processAdministrator"), rules: [s2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(m, { modelValue: s2.formModel.adminName, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => s2.formModel.adminName = e3), readonly: "", "suffix-icon": "el-icon-search", onClick: a2.selectAdmin }, null, 8, ["modelValue", "onClick"]), s2.isSelectAdmin ? (r.openBlock(), r.createBlock(c, { key: 0, width: "30%", multiple: false, onClose: a2.addAdmin }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(n, { span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.creater") }, { default: r.withCtx(() => [r.createVNode(m, { modelValue: l2.model.creator, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => l2.model.creator = e3), readonly: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), s2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(n, { key: 0, span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.system"), prop: "model.systemCode", rules: [s2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(u, { modelValue: l2.model.systemCode, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => l2.model.systemCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: t2[5] || (t2[5] = (e3) => a2.changeSystem(l2.model.systemCode, null)) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(s2.allSystems, (e3) => (r.openBlock(), r.createBlock(h, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), s2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(n, { key: 1, span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.systemVersion"), rules: [s2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(u, { modelValue: s2.systemPublishVersion, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => s2.systemPublishVersion = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: a2.changeVersion }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(s2.systems, (e3) => (r.openBlock(), r.createBlock(h, { key: e3.publishVersion, label: e3.publishVersion, value: e3.publishVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), s2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(n, { key: 2, span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.correspondingForm"), rules: [s2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(p, { modelValue: s2.selectedForm, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => s2.selectedForm = e3), "show-all-levels": false, options: s2.allForms, onChange: a2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(n, { span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.tableCode") }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(s2.tableName), 1)]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(n, { span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.processType") }, { default: r.withCtx(() => [r.createVNode(u, { modelValue: l2.model.processTypeCode, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => l2.model.processTypeCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(s2.allProcessTypes, (e3) => (r.openBlock(), r.createBlock(h, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(n, { span: 12 }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.affiliatedBranch") }, { default: r.withCtx(() => [r.createVNode(u, { modelValue: l2.model.branchCode, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => l2.model.branchCode = e3), clearable: "", placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(s2.allBranches, (e3, t3) => (r.openBlock(), r.createBlock(h, { key: e3.code + "-" + t3, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(d, { label: e2.$t("workflowEditor.process.customCategory") }, { default: r.withCtx(() => [r.createVNode(m, { modelValue: l2.model.customType, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => l2.model.customType = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
|
|
80
|
-
}]]);
|
|
81
|
-
module.exports = a;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../../util.cjs"), t = require("vue");
|
|
3
|
-
const o = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
|
|
4
|
-
const t2 = [], o2 = this.modelValue.event;
|
|
5
|
-
if (void 0 !== o2 && o2.length && o2.length > 0) {
|
|
6
|
-
let e2 = [];
|
|
7
|
-
e2 = "string" == typeof o2 ? o2.split(",") : this.modelValue.event, e2.map(function(e3) {
|
|
8
|
-
t2.push(e3);
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
return { events: [{ name: "START_INSTANCE", label: e.getI18n().t("workflowEditor.process.initiationProcess") }, { name: "DELETE_INSTANCE", label: e.getI18n().t("workflowEditor.process.deleteProcess") }, { name: "CANCEL_INSTANCE", label: e.getI18n().t("workflowEditor.process.cancelProcess") }, { name: "END_INSTANCE", label: e.getI18n().t("workflowEditor.process.endProcess") }, { name: "STOP_INSTANCE", label: e.getI18n().t("workflowEditor.process.pauseProcess") }, { name: "RESUME_INSTANCE", label: e.getI18n().t("workflowEditor.process.continueTheProcess") }, { name: "JUMP_TACHE", label: e.getI18n().t("workflowEditor.process.jumpLink") }, { name: "CHANGE_TRANSACTOR", label: e.getI18n().t("workflowEditor.process.modificationHandler") }, { name: "ADD_TRANSACTOR", label: e.getI18n().t("workflowEditor.process.addHandler") }, { name: "REMOVE_TRANSACTOR", label: e.getI18n().t("workflowEditor.process.decreaseOofHandler") }, { name: "ASSIGN_TASK", label: e.getI18n().t("workflowEditor.process.appointedTask") }, { name: "RETURN_TASK", label: e.getI18n().t("workflowEditor.process.returnTask") }, { name: "WITHDRAW_TASK", label: e.getI18n().t("workflowEditor.process.retrieveTask") }, { name: "TRUST_TASK", label: e.getI18n().t("workflowEditor.process.trustTask") }], selectedEvents: t2 };
|
|
12
|
-
}, watch: { selectedEvents(e2) {
|
|
13
|
-
this.$emit("update:modelValue", { event: this.selectedEvents });
|
|
14
|
-
} }, methods: {} }, [["render", function(e2, o2, l, r, n, s) {
|
|
15
|
-
const a = t.resolveComponent("el-checkbox"), c = t.resolveComponent("el-card"), d = t.resolveComponent("el-col"), i = t.resolveComponent("el-row"), p = t.resolveComponent("el-checkbox-group");
|
|
16
|
-
return t.openBlock(), t.createBlock(p, { modelValue: n.selectedEvents, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => n.selectedEvents = e3) }, { default: t.withCtx(() => [t.createVNode(i, { gutter: 12 }, { default: t.withCtx(() => [(t.openBlock(true), t.createElementBlock(t.Fragment, null, t.renderList(n.events, (e3) => (t.openBlock(), t.createBlock(d, { key: e3.name, span: 8, style: { "margin-bottom": "12px" } }, { default: t.withCtx(() => [t.createVNode(c, { shadow: "always" }, { default: t.withCtx(() => [t.createVNode(a, { label: e3.name }, { default: t.withCtx(() => [t.createTextVNode(t.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
|
|
17
|
-
}]]);
|
|
18
|
-
module.exports = o;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../common/notice.vue.cjs"), l = require("../common/select-mail-template.vue.cjs"), o = require("vue"), t = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), a = { name: "NoticeSettings", components: { Notice: e, SelectMailTemplates: l }, props: { modelValue: { type: [Object, String], default: null } }, data() {
|
|
3
|
-
let e2 = { informType: "", userCondition: "", subject: null, content: null, defaultMailTemplateCode: "" };
|
|
4
|
-
return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (e2 = this.modelValue), { showMailTemplateFlag: false, model: e2 };
|
|
5
|
-
}, created() {
|
|
6
|
-
this.$watch("model", function(e2, l2) {
|
|
7
|
-
this.getValue();
|
|
8
|
-
}, { deep: true });
|
|
9
|
-
}, methods: { getValue() {
|
|
10
|
-
const e2 = this.model;
|
|
11
|
-
this.$emit("update:modelValue", e2);
|
|
12
|
-
}, setMailTemplateCode(e2) {
|
|
13
|
-
this.model.defaultMailTemplateCode = e2;
|
|
14
|
-
}, setMailPointTemplateCode(e2) {
|
|
15
|
-
this.model.defaultMailPointTemplateCode = e2;
|
|
16
|
-
} } };
|
|
17
|
-
const m = t(a, [["render", function(e2, l2, t2, a2, m2, d) {
|
|
18
|
-
const i = o.resolveComponent("notice"), n = o.resolveComponent("select-mail-templates"), u = o.resolveComponent("el-form-item"), r = o.resolveComponent("el-form");
|
|
19
|
-
return m2.model ? (o.openBlock(), o.createBlock(r, { key: 0, model: m2.model, "label-width": "100px" }, { default: o.withCtx(() => [o.createVNode(i, { modelValue: m2.model, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => m2.model = e3), "switch-label": e2.$t("workflowEditor.process.sendNotificationAfterProcessEnds") }, null, 8, ["modelValue", "switch-label"]), m2.model.informType && m2.model.informType.length > 0 ? (o.openBlock(), o.createBlock(u, { key: 0, label: e2.$t("workflowEditor.process.defaultCommonTemplate") }, { default: o.withCtx(() => [o.createVNode(n, { modelValue: m2.model.defaultMailTemplateCode, "onUpdate:modelValue": l2[1] || (l2[1] = (e3) => m2.model.defaultMailTemplateCode = e3), onSetValue: d.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : o.createCommentVNode("", true), m2.model.informType && m2.model.informType.length > 0 && -1 !== m2.model.informType.indexOf("mail") ? (o.openBlock(), o.createBlock(u, { key: 1, label: e2.$t("workflowEditor.process.defaultMailTemplate") }, { default: o.withCtx(() => [o.createVNode(n, { modelValue: m2.model.defaultMailPointTemplateCode, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => m2.model.defaultMailPointTemplateCode = e3), onSetValue: d.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : o.createCommentVNode("", true)]), _: 1 }, 8, ["model"])) : o.createCommentVNode("", true);
|
|
20
|
-
}]]);
|
|
21
|
-
module.exports = m;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("./selectPage.vue.cjs"), l = require("vuex"), o = require("vue");
|
|
3
|
-
const t = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "ParameterSettings", components: { selectPage: e }, props: { model: { type: Object, default: null } }, data: () => ({ selectPageFlag: false, pageFormCode: null }), computed: { ...l.mapGetters("wfEditor", ["formCode", "pageCode"]) }, created() {
|
|
4
|
-
this.pageCode && (this.model.doTask.url = "page:" + this.pageCode);
|
|
5
|
-
}, methods: { openSelectPage() {
|
|
6
|
-
this.formCode && (this.pageFormCode = this.formCode), this.selectPageFlag = true;
|
|
7
|
-
}, setPage(e2) {
|
|
8
|
-
this.model.doTask.url = e2, this.selectPageFlag = false;
|
|
9
|
-
} } }, [["render", function(e2, l2, t2, a, r, d) {
|
|
10
|
-
const m = o.resolveComponent("el-input"), s = o.resolveComponent("el-form-item"), n = o.resolveComponent("el-card"), c = o.resolveComponent("select-page"), u = o.resolveComponent("el-form");
|
|
11
|
-
return o.openBlock(), o.createBlock(u, { model: t2.model, "label-width": "150px" }, { default: o.withCtx(() => [o.createVNode(n, null, { header: o.withCtx(() => [o.createElementVNode("span", null, o.toDisplayString(e2.$t("workflowEditor.process.processTaskParameterSettings")), 1)]), default: o.withCtx(() => [o.createVNode(s, { label: e2.$t("workflowEditor.process.uRLForProcessingTask") }, { default: o.withCtx(() => [e2.pageCode ? (o.openBlock(), o.createBlock(m, { key: 0, disabled: "", modelValue: t2.model.doTask.url, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => t2.model.doTask.url = e3) }, null, 8, ["modelValue"])) : (o.openBlock(), o.createBlock(m, { key: 1, modelValue: t2.model.doTask.url, "onUpdate:modelValue": l2[2] || (l2[2] = (e3) => t2.model.doTask.url = e3) }, { suffix: o.withCtx(() => [o.createElementVNode("i", { class: "fa fa-search", onClick: l2[1] || (l2[1] = (...e3) => d.openSelectPage && d.openSelectPage(...e3)) })]), _: 1 }, 8, ["modelValue"]))]), _: 1 }, 8, ["label"]), o.createVNode(s, { label: e2.$t("workflowEditor.process.parametersForReceivingTaskID") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.doTask.parameterName, "onUpdate:modelValue": l2[3] || (l2[3] = (e3) => t2.model.doTask.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), o.createVNode(n, null, { header: o.withCtx(() => [o.createElementVNode("span", null, o.toDisplayString(e2.$t("workflowEditor.process.viewFormParameterSettings")), 1)]), default: o.withCtx(() => [o.createVNode(s, { label: e2.$t("workflowEditor.process.viewTheURLOfTheForm") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.viewForm.url, "onUpdate:modelValue": l2[4] || (l2[4] = (e3) => t2.model.viewForm.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), o.createVNode(s, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.viewForm.parameterName, "onUpdate:modelValue": l2[5] || (l2[5] = (e3) => t2.model.viewForm.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), o.createVNode(n, null, { header: o.withCtx(() => [o.createElementVNode("span", null, o.toDisplayString(e2.$t("workflowEditor.process.emergencyTreatmentParameterSetting")), 1)]), default: o.withCtx(() => [o.createVNode(s, { label: e2.$t("workflowEditor.process.uRLOfEmergencyHandling") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.handleEmergency.url, "onUpdate:modelValue": l2[6] || (l2[6] = (e3) => t2.model.handleEmergency.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), o.createVNode(s, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.handleEmergency.parameterName, "onUpdate:modelValue": l2[7] || (l2[7] = (e3) => t2.model.handleEmergency.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), o.createVNode(n, null, { header: o.withCtx(() => [o.createElementVNode("span", null, o.toDisplayString(e2.$t("workflowEditor.process.initiateProcessParameterSettings")), 1)]), default: o.withCtx(() => [o.createVNode(s, { label: e2.$t("workflowEditor.process.uRLOfTheInitiatingProcess") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.startProcess.url, "onUpdate:modelValue": l2[8] || (l2[8] = (e3) => t2.model.startProcess.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), o.createVNode(s, { label: e2.$t("workflowEditor.process.parametersForReceivingProcessName") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.startProcess.parameterName, "onUpdate:modelValue": l2[9] || (l2[9] = (e3) => t2.model.startProcess.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), o.createVNode(s, { label: e2.$t("workflowEditor.process.customParameterValue") }, { default: o.withCtx(() => [o.createVNode(m, { modelValue: t2.model.startProcess.parameterValue, "onUpdate:modelValue": l2[10] || (l2[10] = (e3) => t2.model.startProcess.parameterValue = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.selectPageFlag ? (o.openBlock(), o.createBlock(c, { key: 0, "page-form-code": r.pageFormCode, onSetPage: d.setPage }, null, 8, ["page-form-code", "onSetPage"])) : o.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
|
|
12
|
-
}]]);
|
|
13
|
-
module.exports = t;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../common/user-selection.vue.cjs"), l = require("vue");
|
|
3
|
-
const o = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "PermissionSettings", components: { UserSelection: e }, props: { modelValue: { type: Object, default: null } }, data: () => ({ showNotice: false }) }, [["render", function(e2, o2, t, u, r, s) {
|
|
4
|
-
const a = l.resolveComponent("user-selection"), i = l.resolveComponent("el-form");
|
|
5
|
-
return l.openBlock(), l.createBlock(i, { model: t.modelValue, "label-width": "80px" }, { default: l.withCtx(() => [l.createVNode(a, { modelValue: t.modelValue.viewFlowHistory, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => t.modelValue.viewFlowHistory = e3), label: e2.$t("workflowEditor.process.ViewFlowHistoryPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), l.createVNode(a, { modelValue: t.modelValue.viewSubscribeResult, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => t.modelValue.viewSubscribeResult = e3), label: e2.$t("workflowEditor.process.ViewCountersignatureResultPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), l.createVNode(a, { modelValue: t.modelValue.viewVoteResult, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => t.modelValue.viewVoteResult = e3), label: e2.$t("workflowEditor.process.ViewVotingResultsBy"), "label-width": "130px" }, null, 8, ["modelValue", "label"])]), _: 1 }, 8, ["model"]);
|
|
6
|
-
}]]);
|
|
7
|
-
module.exports = o;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue"), t = require("vuex"), o = require("agilebuilder-ui"), s = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), l = { props: { pageFormCode: { type: String, default: null } }, data: () => ({ baseURL: "", listURL: "", selection: [], dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["systemVersion"]) }, watch: { conditionList: { handler(e2, t2) {
|
|
3
|
-
this.judgeHeavyData = e2;
|
|
4
|
-
} } }, created() {
|
|
5
|
-
this.baseURL = window.$vueApp.config.globalProperties.baseURL, this.pageFormCode && (this.listURL = "/wf-editor/workflow-editors/modulePages/" + this.pageFormCode + "/" + parseInt(o.authApi.getSessionCache("wf_editor_systemVersion")));
|
|
6
|
-
}, methods: { savePage() {
|
|
7
|
-
if (this.selection && this.selection.length > 0)
|
|
8
|
-
if (1 !== this.selection.length)
|
|
9
|
-
this.$message({ showClose: true, type: "error", message: this.$t("message.pleaseSelectARecord") });
|
|
10
|
-
else {
|
|
11
|
-
const e2 = "page:" + this.selection[0].code;
|
|
12
|
-
this.$emit("setPage", e2);
|
|
13
|
-
}
|
|
14
|
-
else
|
|
15
|
-
this.$emit("setPage", "");
|
|
16
|
-
}, select(e2, t2) {
|
|
17
|
-
this.selection = e2;
|
|
18
|
-
} } }, i = { style: { "overflow-y": "auto", "max-height": "500px" } }, r = { class: "operation-area" };
|
|
19
|
-
const a = s(l, [["render", function(t2, o2, s2, l2, a2, n) {
|
|
20
|
-
const d = e.resolveComponent("el-button"), c = e.resolveComponent("super-grid"), u = e.resolveComponent("el-dialog");
|
|
21
|
-
return e.openBlock(), e.createBlock(u, { "show-close": true, "append-to-body": true, title: t2.$t("workflowEditorPublicModel.selectPage"), width: "60%", "model-value": "", onClose: n.savePage }, { default: e.withCtx(() => [e.createElementVNode("div", i, [e.createElementVNode("div", r, [e.createVNode(d, { size: "small", onClick: n.savePage }, { default: e.withCtx(() => [e.createElementVNode("span", null, e.toDisplayString(t2.$t("workflowEditorPublicModel.close")), 1)]), _: 1 }, 8, ["onClick"])]), e.createElementVNode("div", null, [e.createVNode(c, { ref: "grid", url: a2.baseURL + a2.listURL, code: "MMS_MODULE_PAGE", onSelect: n.select }, null, 8, ["url", "onSelect"])])])]), _: 1 }, 8, ["title", "onClose"]);
|
|
22
|
-
}]]);
|
|
23
|
-
module.exports = a;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("xml-js"), t = require("./process/basic-properties.vue.cjs"), o = require("./process/permission-settings.vue.cjs"), r = require("./process/parameter-settings.vue.cjs"), s = require("./process/events.vue.cjs"), i = require("./common/variables.vue.cjs"), l = require("./process/notice-settings.vue.cjs"), a = require("./common/notice-reminder.vue.cjs"), n = require("vue");
|
|
3
|
-
const p = require("../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "ProcessPropertiesEditor", components: { BasicProperties: t, PermissionSettings: o, ParameterSettings: r, Events: s, Variables: i, NoticeSettings: l, NoticeReminder: a }, props: { model: { type: Object, default: null } }, data() {
|
|
4
|
-
return void 0 === this.model.properties.taskNotice && (this.model.properties.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
|
|
5
|
-
}, computed: { basicProperties() {
|
|
6
|
-
return this.model.properties.basicProperties;
|
|
7
|
-
}, accessRight() {
|
|
8
|
-
return this.model.properties.accessRight;
|
|
9
|
-
}, reminder() {
|
|
10
|
-
return this.model.properties.reminder;
|
|
11
|
-
}, parameterSettings() {
|
|
12
|
-
return this.model.properties.parameterSettings;
|
|
13
|
-
}, events() {
|
|
14
|
-
return this.model.properties.events;
|
|
15
|
-
}, variables() {
|
|
16
|
-
return this.model.properties.variables;
|
|
17
|
-
} }, methods: { toXml() {
|
|
18
|
-
e.js2xml({ basicProperties: this.basicProperties }, { compact: true, ignoreComment: true, spaces: 4 });
|
|
19
|
-
}, handleClick(e2, t2) {
|
|
20
|
-
} } }, [["render", function(e2, t2, o2, r2, s2, i2) {
|
|
21
|
-
const l2 = n.resolveComponent("basic-properties"), a2 = n.resolveComponent("el-tab-pane"), p2 = n.resolveComponent("permission-settings"), d = n.resolveComponent("notice-settings"), m = n.resolveComponent("notice-reminder"), c = n.resolveComponent("parameter-settings"), u = n.resolveComponent("events"), v = n.resolveComponent("variables"), b = n.resolveComponent("el-tabs"), V = n.resolveComponent("el-dialog");
|
|
22
|
-
return n.openBlock(), n.createBlock(V, { "model-value": "", title: e2.$t("workflowEditor.process.processProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[7] || (t2[7] = (t3) => e2.$emit("open")), onOpend: t2[8] || (t2[8] = (t3) => e2.$emit("opend")), onClose: t2[9] || (t2[9] = (t3) => e2.$emit("close")), onClosed: t2[10] || (t2[10] = (t3) => e2.$emit("closed")) }, { default: n.withCtx(() => [n.createVNode(b, { modelValue: s2.activeTab, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => s2.activeTab = e3), type: "border-card", onTabClick: i2.handleClick }, { default: n.withCtx(() => [n.createVNode(a2, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: n.withCtx(() => [n.createVNode(l2, { name: o2.model.attr.name, "onUpdate:name": t2[0] || (t2[0] = (e3) => o2.model.attr.name = e3), code: o2.model.attr.code, "onUpdate:code": t2[1] || (t2[1] = (e3) => o2.model.attr.code = e3), model: o2.model.properties.basicProperties }, null, 8, ["name", "code", "model"])]), _: 1 }, 8, ["label"]), n.createVNode(a2, { label: e2.$t("workflowEditor.process.permissionSettings"), name: "permissions" }, { default: n.withCtx(() => [n.createVNode(p2, { modelValue: o2.model.properties.permissionSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.properties.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n.createVNode(a2, { label: e2.$t("workflowEditor.process.notificationSettings"), name: "inform" }, { default: n.withCtx(() => [n.createVNode(d, { modelValue: o2.model.properties.inform, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.properties.inform = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n.createVNode(a2, { label: e2.$t("workflowEditor.process.reminderSettings"), name: "reminders" }, { default: n.withCtx(() => [n.createVNode(m, { "reminder-value": o2.model.properties.reminder, "onUpdate:reminderValue": t2[4] || (t2[4] = (e3) => o2.model.properties.reminder = e3), "task-notice-value": o2.model.properties.taskNotice, isProcess: true }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), n.createVNode(a2, { label: e2.$t("workflowEditor.process.parameterSsetting"), name: "parameterSettings" }, { default: n.withCtx(() => [n.createVNode(c, { model: o2.model.properties.parameterSettings }, null, 8, ["model"])]), _: 1 }, 8, ["label"]), n.createVNode(a2, { label: e2.$t("workflowEditor.process.event"), name: "events" }, { default: n.withCtx(() => [n.createVNode(u, { modelValue: o2.model.properties.events, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => o2.model.properties.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n.createVNode(a2, { label: e2.$t("workflowEditor.process.processVariables"), name: "variables" }, { default: n.withCtx(() => [n.createVNode(v, { model: o2.model.properties.variables }, null, 8, ["model"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
|
|
23
|
-
}]]);
|
|
24
|
-
module.exports = p;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("./field-mappings.vue.cjs"), t = require("../../process-service.cjs"), o = require("../../util.cjs"), l = require("../common/i18n-input.vue.cjs"), r = require("../common/task-title.vue.cjs"), s = require("vue");
|
|
3
|
-
const a = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "BasicProperties", components: { FieldMappings: e, i18nInput: l, TaskTitle: r }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
|
|
4
|
-
return { selectedProcess: [], processes: [], subprocessFormFields: [], formModel: { name: this.name, id: this.id, tache: this.model } };
|
|
5
|
-
}, computed: { tache() {
|
|
6
|
-
return this.model;
|
|
7
|
-
} }, created() {
|
|
8
|
-
this.listAllProcesses().then(() => {
|
|
9
|
-
this.fetchSubprocessFormFields();
|
|
10
|
-
}), "" === this.formModel.tache.parameters && (this.formModel.tache.parameters = {}), "" === this.formModel.tache.result && (this.formModel.tache.result = {});
|
|
11
|
-
}, mounted() {
|
|
12
|
-
this.$watch("formModel.name", function(e2, t2) {
|
|
13
|
-
this.$emit("update:name", e2);
|
|
14
|
-
});
|
|
15
|
-
}, methods: { fetchSubprocessFormFields() {
|
|
16
|
-
this.model.processCode && t.fetchSubprocessFormFields(this.model.processCode, this.model.processVersion).then((e2) => {
|
|
17
|
-
this.subprocessFormFields = e2;
|
|
18
|
-
});
|
|
19
|
-
}, handleChange(e2) {
|
|
20
|
-
const t2 = e2[1];
|
|
21
|
-
this.model.processCode = t2.substring(t2.indexOf("/") + 1, t2.lastIndexOf("/")), this.model.processVersion = t2.substring(t2.lastIndexOf("/") + 1), this.fetchSubprocessFormFields();
|
|
22
|
-
}, listAllProcesses() {
|
|
23
|
-
return new Promise((e2, t2) => {
|
|
24
|
-
this.$http.get(this.baseAPI + "/wf-editor/workflow-editors/all-active-definitions").then((t3) => {
|
|
25
|
-
if (t3.length > 0) {
|
|
26
|
-
const o2 = this.model.processCode + "/" + this.model.processVersion;
|
|
27
|
-
this.setDefaultSelectedProcessWhenUpdate(t3, o2), this.processes = t3, e2();
|
|
28
|
-
}
|
|
29
|
-
}).catch((e3) => {
|
|
30
|
-
t2(e3);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
}, setDefaultSelectedProcessWhenUpdate(e2, t2) {
|
|
34
|
-
let o2, l2;
|
|
35
|
-
for (var r2 = 0; r2 < e2.length; r2++) {
|
|
36
|
-
const s2 = e2[r2].value, a2 = e2[r2].children.filter(this.filterProcess(t2));
|
|
37
|
-
if (a2.length > 0) {
|
|
38
|
-
l2 = s2, o2 = a2[0];
|
|
39
|
-
break;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
if (o2) {
|
|
43
|
-
const e3 = [];
|
|
44
|
-
e3.push(l2), e3.push(o2.value), this.selectedProcess = e3;
|
|
45
|
-
}
|
|
46
|
-
}, filterProcess: (e2) => (t2) => {
|
|
47
|
-
const o2 = t2.value, l2 = o2.substring(o2.indexOf("/") + 1);
|
|
48
|
-
return e2 === l2;
|
|
49
|
-
}, validateId() {
|
|
50
|
-
o.validateTacheCode(this);
|
|
51
|
-
}, setI18nValue(e2) {
|
|
52
|
-
this.formModel.tache.i18nKey = e2;
|
|
53
|
-
} } }, [["render", function(e2, t2, o2, l2, r2, a2) {
|
|
54
|
-
const d = s.resolveComponent("i18n-input"), i = s.resolveComponent("el-form-item"), n = s.resolveComponent("el-col"), c = s.resolveComponent("el-input"), m = s.resolveComponent("el-row"), u = s.resolveComponent("task-title"), h = s.resolveComponent("el-cascader"), f = s.resolveComponent("el-switch"), p = s.resolveComponent("el-radio"), w = s.resolveComponent("el-radio-group"), V = s.resolveComponent("field-mappings"), b = s.resolveComponent("el-form");
|
|
55
|
-
return s.openBlock(), s.createBlock(b, { model: r2.formModel }, { default: s.withCtx(() => [s.createVNode(m, null, { default: s.withCtx(() => [s.createVNode(n, { span: 12 }, { default: s.withCtx(() => [s.createVNode(i, { label: e2.$t("workflowEditor.process.name"), "label-width": "50px" }, { default: s.withCtx(() => [s.createVNode(d, { modelValue: r2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => r2.formModel.name = e3), "i18n-key": r2.formModel.tache.i18nKey ? r2.formModel.tache.i18nKey : "name." + r2.formModel.id, onSetI18n: a2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), s.createVNode(n, { span: 12 }, { default: s.withCtx(() => [s.createVNode(i, { label: e2.$t("workflowEditor.process.code"), "label-width": "50px" }, { default: s.withCtx(() => [s.createVNode(c, { modelValue: r2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => r2.formModel.id = e3), onBlur: a2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), s.createVNode(i, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: s.withCtx(() => [s.createVNode(u, { modelValue: a2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => a2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), s.createVNode(i, { label: e2.$t("workflowEditor.process.subprocess"), "label-width": "60px" }, { default: s.withCtx(() => [s.createVNode(h, { modelValue: r2.selectedProcess, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => r2.selectedProcess = e3), "show-all-levels": false, options: r2.processes, onChange: a2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label"]), s.createVNode(i, { label: e2.$t("workflowEditor.process.subprocessIsSharedForm"), "label-width": "140px" }, { default: s.withCtx(() => [s.createVNode(f, { modelValue: r2.formModel.tache.isSharedForm, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => r2.formModel.tache.isSharedForm = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), s.createVNode(w, { modelValue: r2.formModel.tache.moreTransactor, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => r2.formModel.tache.moreTransactor = e3) }, { default: s.withCtx(() => [s.createVNode(p, { label: false }, { default: s.withCtx(() => [s.createTextVNode(s.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), s.createVNode(p, { label: true }, { default: s.withCtx(() => [s.createTextVNode(s.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"]), s.createVNode(i, null, { default: s.withCtx(() => [s.createVNode(V, { "label-tittle": e2.$t("workflowEditor.process.transferValueFromMainFormToSubForm"), modelValue: r2.formModel.tache.parameters, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => r2.formModel.tache.parameters = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "target-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-fields": r2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "target-fields"])]), _: 1 }), s.createVNode(i, null, { default: s.withCtx(() => [s.createVNode(V, { "label-tittle": e2.$t("workflowEditor.process.subformReturnsResultsToMainForm"), modelValue: r2.formModel.tache.result, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => r2.formModel.tache.result = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "src-fields": r2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "src-fields"])]), _: 1 })]), _: 1 }, 8, ["model"]);
|
|
56
|
-
}]]);
|
|
57
|
-
module.exports = a;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("vue");
|
|
3
|
-
const l = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "Events", props: { modelValue: { type: Object, default: null } } }, [["render", function(l2, o, t, r, a, u) {
|
|
4
|
-
const d = e.resolveComponent("el-switch"), n = e.resolveComponent("el-form-item"), s = e.resolveComponent("el-form");
|
|
5
|
-
return e.openBlock(), e.createBlock(s, null, { default: e.withCtx(() => [e.createVNode(n, { label: l2.$t("workflowEditor.process.eventsTriggeredBeforeStartingASubprocess"), "label-width": "150px" }, { default: e.withCtx(() => [e.createVNode(d, { modelValue: t.modelValue.beforeStart, "onUpdate:modelValue": o[0] || (o[0] = (e2) => t.modelValue.beforeStart = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), e.createVNode(n, { label: l2.$t("workflowEditor.process.triggerSubprocessEndEvent") }, { default: e.withCtx(() => [e.createVNode(d, { modelValue: t.modelValue.end, "onUpdate:modelValue": o[1] || (o[1] = (e2) => t.modelValue.end = e2) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 });
|
|
6
|
-
}]]);
|
|
7
|
-
module.exports = l;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../common/form-fields.vue.cjs"), t = require("../common/form-fields-utils.cjs"), l = require("vue"), a = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), r = { style: { width: "100%" } }, o = { key: 0, style: { "margin-right": "12px" } };
|
|
3
|
-
const s = a({ name: "FieldMappings", components: { FormFields: e }, props: { modelValue: { type: Object, default: null }, srcLabel: { type: String, default: null }, targetLabel: { type: String, default: null }, srcFields: { type: Array, default: null }, targetFields: { type: Array, default: null }, labelTittle: { type: String, default: null } }, data() {
|
|
4
|
-
let e2 = [];
|
|
5
|
-
return void 0 !== this.modelValue.field && (Array.isArray(this.modelValue.field) ? e2 = this.modelValue.field : e2.push(this.modelValue.field)), { tableData: e2, currentRow: null, showSourceFields: false, showTargetFields: false };
|
|
6
|
-
}, computed: { formFields() {
|
|
7
|
-
return this.showSourceFields ? this.srcFields : this.showTargetFields ? this.targetFields : [];
|
|
8
|
-
} }, watch: {}, mounted() {
|
|
9
|
-
this.tableData.length > 0 && this.setCurrentRow(this.tableData[0]), this.$watch("tableData", function() {
|
|
10
|
-
const e2 = this.tableData.filter((e3) => "" !== e3.source && "" !== e3.target);
|
|
11
|
-
this.$emit("update:modelValue", { field: e2 });
|
|
12
|
-
}, { deep: true });
|
|
13
|
-
}, methods: { getSubFormFieldLabel(e2) {
|
|
14
|
-
const t2 = (this.srcFields || this.targetFields).filter((t3) => t3.name === e2);
|
|
15
|
-
return t2.length > 0 ? t2[0].label : e2;
|
|
16
|
-
}, showSourceFieldLabel(e2) {
|
|
17
|
-
return this.srcFields ? this.getSubFormFieldLabel(e2) : t.getFormFieldLabel(e2);
|
|
18
|
-
}, showTargetFieldLabel(e2) {
|
|
19
|
-
return this.targetFields ? this.getSubFormFieldLabel(e2) : t.getFormFieldLabel(e2);
|
|
20
|
-
}, add() {
|
|
21
|
-
for (let e3 = 0; e3 < this.tableData.length; e3++)
|
|
22
|
-
if ("" === this.tableData[e3].source || "" === this.tableData[e3].target)
|
|
23
|
-
return void this.$alert(this.$t("workflowEditorMessage.dataInLineCannotBeEmpty", { row: e3 + 1, data1: this.srcLabel, data2: this.targetLabel }));
|
|
24
|
-
const e2 = { source: "", target: "" };
|
|
25
|
-
this.tableData.push(e2), this.setCurrentRow(e2);
|
|
26
|
-
}, remove() {
|
|
27
|
-
if (null === this.currentRow)
|
|
28
|
-
return void this.$alert(this.$t("workflowEditorMessage.pleaseSelectARow"));
|
|
29
|
-
let e2;
|
|
30
|
-
for (let t2 = 0; t2 < this.tableData.length; t2++)
|
|
31
|
-
if (this.tableData[t2].source === this.currentRow.source) {
|
|
32
|
-
e2 = t2;
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
this.tableData.splice(e2, 1), e2 = e2 <= this.tableData.length - 1 ? e2 : this.tableData.length - 1, this.setCurrentRow(this.tableData[e2]);
|
|
36
|
-
}, setCurrentRow(e2) {
|
|
37
|
-
this.$refs.table.setCurrentRow(e2);
|
|
38
|
-
}, handleCurrentChange(e2) {
|
|
39
|
-
this.currentRow = e2;
|
|
40
|
-
}, checkSource(e2) {
|
|
41
|
-
"" === e2 && this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty", { data: this.srcLabel }));
|
|
42
|
-
}, checkTarget(e2) {
|
|
43
|
-
"" === e2 && this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty", { data: this.targetLabel }));
|
|
44
|
-
}, selectField(e2) {
|
|
45
|
-
this.showSourceFields && (this.currentRow.source = e2, this.showSourceFields = false), this.showTargetFields && (this.currentRow.target = e2, this.showTargetFields = false), this.tableData, this.srcFields, this.targetFields;
|
|
46
|
-
} } }, [["render", function(e2, t2, a2, s2, i, d) {
|
|
47
|
-
const n = l.resolveComponent("el-button"), h = l.resolveComponent("el-row"), u = l.resolveComponent("el-table-column"), c = l.resolveComponent("el-input"), w = l.resolveComponent("el-table"), g = l.resolveComponent("form-fields");
|
|
48
|
-
return l.openBlock(), l.createElementBlock("div", r, [l.createVNode(h, { style: { "align-items": "center" } }, { default: l.withCtx(() => [a2.labelTittle ? (l.openBlock(), l.createElementBlock("span", o, l.toDisplayString(a2.labelTittle), 1)) : l.createCommentVNode("", true), l.createVNode(n, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: d.add }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), l.createVNode(n, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: d.remove }, { default: l.withCtx(() => [l.createTextVNode(l.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), l.createVNode(w, { ref: "table", data: i.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: d.handleCurrentChange }, { default: l.withCtx(() => [l.createVNode(u, { type: "index", width: "50" }), l.createVNode(u, { prop: "source", label: a2.srcLabel }, { default: l.withCtx((a3) => [l.createVNode(c, { value: d.showSourceFieldLabel(a3.row.source), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[0] || (t2[0] = (e3) => i.showSourceFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"]), l.createVNode(u, { prop: "target", label: a2.targetLabel }, { default: l.withCtx((a3) => [l.createVNode(c, { value: d.showTargetFieldLabel(a3.row.target), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[1] || (t2[1] = (e3) => i.showTargetFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i.showSourceFields || i.showTargetFields ? (l.openBlock(), l.createBlock(g, { key: 0, fields: d.formFields, onClose: d.selectField }, null, 8, ["fields", "onClose"])) : l.createCommentVNode("", true)]);
|
|
49
|
-
}]]);
|
|
50
|
-
module.exports = s;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../common/transactor-settings.vue.cjs"), t = require("../../util.cjs"), o = require("vue"), r = require("../../../../_virtual/_plugin-vue_export-helper.cjs"), n = { name: "SubprocessTransactorSettings", components: { TransactorSettings: e }, props: { modelValue: { type: Object, default: null } }, data() {
|
|
3
|
-
let e2 = false;
|
|
4
|
-
this.modelValue.userCondition && (e2 = true);
|
|
5
|
-
let o2 = t.deepCopy(this.modelValue);
|
|
6
|
-
return o2.userCondition || (o2 = { userCondition: "${instanceCreator}", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }), { model: { showTransactorSettings: e2, transactorSettings: o2 } };
|
|
7
|
-
}, mounted() {
|
|
8
|
-
this.$watch("model", function(e2) {
|
|
9
|
-
e2.showTransactorSettings ? this.$emit("update:modelValue", e2.transactorSettings) : this.$emit("update:modelValue", {});
|
|
10
|
-
}, { deep: true });
|
|
11
|
-
} };
|
|
12
|
-
const s = r(n, [["render", function(e2, t2, r2, n2, s2, l) {
|
|
13
|
-
const a = o.resolveComponent("el-switch"), i = o.resolveComponent("el-row"), c = o.resolveComponent("transactor-settings", true);
|
|
14
|
-
return o.openBlock(), o.createElementBlock("div", null, [o.createVNode(i, null, { default: o.withCtx(() => [o.createTextVNode(o.toDisplayString(e2.$t("workflowEditor.process.setTheHandlerOfTheFirstPhaseOfTheSubProcess")), 1), o.createVNode(a, { modelValue: s2.model.showTransactorSettings, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => s2.model.showTransactorSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }), s2.model.showTransactorSettings ? (o.openBlock(), o.createBlock(c, { key: 0, "is-subprocess": true, model: s2.model.transactorSettings }, null, 8, ["model"])) : o.createCommentVNode("", true)]);
|
|
15
|
-
}]]);
|
|
16
|
-
module.exports = s;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("./subprocess/basic-properties.vue.cjs"), t = require("./subprocess/events.vue.cjs"), o = require("./subprocess/transactor-settings.vue.cjs"), r = require("vue");
|
|
3
|
-
require("./subprocess.vue2.cjs");
|
|
4
|
-
const s = require("../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "SubprocessPropertiesEditor", components: { BasicProperties: e, SubprocessTransactorSettings: o, Events: t }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), computed: { formModel() {
|
|
5
|
-
return this.model.ref;
|
|
6
|
-
} }, mounted() {
|
|
7
|
-
this.$watch("model.ref.attr.id", function(e2, t2) {
|
|
8
|
-
this.model.id = e2;
|
|
9
|
-
}), this.$watch("model.ref.attr.name", function(e2, t2) {
|
|
10
|
-
this.model.name = e2;
|
|
11
|
-
});
|
|
12
|
-
}, methods: { handleClick(e2, t2) {
|
|
13
|
-
} } }, [["render", function(e2, t2, o2, s2, l, a) {
|
|
14
|
-
const n = r.resolveComponent("basic-properties"), d = r.resolveComponent("el-tab-pane"), i = r.resolveComponent("subprocess-transactor-settings"), c = r.resolveComponent("events"), p = r.resolveComponent("el-tabs"), m = r.resolveComponent("el-dialog");
|
|
15
|
-
return r.openBlock(), r.createBlock(m, { "model-value": "", title: e2.$t("workflowEditor.process.propertiesOfSubprocesses"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(p, { modelValue: l.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => l.activeTab = e3), type: "border-card", onTabClick: a.handleClick }, { default: r.withCtx(() => [r.createVNode(d, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(n, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(d, { label: e2.$t("workflowEditor.process.settingOfHandler"), name: "transactors" }, { default: r.withCtx(() => [r.createVNode(i, { modelValue: o2.model.ref.transactorSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.transactorSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d, { label: e2.$t("workflowEditor.process.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(c, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
|
|
16
|
-
}], ["__scopeId", "data-v-bd66d235"]]);
|
|
17
|
-
module.exports = s;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const e = require("../common/additional-condition.vue.cjs"), o = require("../common/i18n-input.vue.cjs"), l = require("vue");
|
|
3
|
-
const n = require("../../../../_virtual/_plugin-vue_export-helper.cjs")({ name: "BasicProperties", components: { AdditionalCondition: e, i18nInput: o }, props: { model: { type: Object, default: null }, sourceTacheType: { type: String, default: null }, id: { type: String, default: null } }, created() {
|
|
4
|
-
}, methods: { setI18nValue(e2) {
|
|
5
|
-
this.model.i18nKey = e2;
|
|
6
|
-
} } }, [["render", function(e2, o2, n2, t, i, d) {
|
|
7
|
-
const r = l.resolveComponent("el-switch"), a = l.resolveComponent("el-form-item"), u = l.resolveComponent("additional-condition"), m = l.resolveComponent("i18n-input"), c = l.resolveComponent("el-form");
|
|
8
|
-
return l.openBlock(), l.createBlock(c, null, { default: l.withCtx(() => [l.createVNode(a, { label: e2.$t("workflowEditor.process.keepTheHandlerUnchangedWhenTheTargetLinkIsHandledRepeatedly"), "label-width": "240px" }, { default: l.withCtx(() => [l.createVNode(r, { modelValue: n2.model.isOriginalUser, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => n2.model.isOriginalUser = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "Decision" === n2.sourceTacheType ? (l.openBlock(), l.createBlock(a, { key: 0 }, { default: l.withCtx(() => [l.createElementVNode("span", null, l.toDisplayString(e2.$t("workflowEditor.process.branchingCondition")), 1), l.createVNode(u, { modelValue: n2.model.condition, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => n2.model.condition = e3), "is-transition": true }, null, 8, ["modelValue"])]), _: 1 })) : l.createCommentVNode("", true), l.createVNode(a, { label: e2.$t("workflowEditor.task.remarks"), "label-width": "40px" }, { default: l.withCtx(() => [l.createVNode(m, { modelValue: n2.model.remark, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => n2.model.remark = e3), "i18n-key": n2.model.i18nKey ? n2.model.i18nKey : "name." + n2.id, onSetI18n: d.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 });
|
|
9
|
-
}]]);
|
|
10
|
-
module.exports = n;
|