workflow-editor 0.0.81-up-tmp12 → 0.0.81-up-tmp16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/{index.mjs → index.js} +4 -4
- package/es/plugins/{formValidatorUtil.mjs → formValidatorUtil.js} +16 -16
- package/es/plugins/{index.mjs → index.js} +1 -1
- package/es/src/i18n/i18n.js +7 -0
- package/es/style.css +152 -152
- package/es/workflow-editor/index.js +10 -0
- package/es/workflow-editor/src/json-object-templates/{auto-task.mjs → auto-task.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{copy-task.mjs → copy-task.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{decision.mjs → decision.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{end.mjs → end.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{fork.mjs → fork.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{human-decision.mjs → human-decision.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{human-task.mjs → human-task.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{join.mjs → join.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{process.mjs → process.js} +2 -2
- package/es/workflow-editor/src/json-object-templates/{start.mjs → start.js} +1 -1
- package/es/workflow-editor/src/json-object-templates/{subprocess.mjs → subprocess.js} +1 -1
- package/es/workflow-editor/src/main/{admin-save-dialog.vue.mjs → admin-save-dialog.vue.js} +1 -1
- package/es/workflow-editor/src/main/{canvas.vue.mjs → canvas.vue.js} +29 -29
- package/es/workflow-editor/src/main/{context-menu.vue.mjs → context-menu.vue.js} +3 -3
- package/es/workflow-editor/src/main/{icon-svg.vue.mjs → icon-svg.vue.js} +4 -4
- package/es/workflow-editor/src/main/{selection-region.vue.mjs → selection-region.vue.js} +3 -3
- package/es/workflow-editor/src/main/{tache-history-tooltip.vue.mjs → tache-history-tooltip.vue.js} +2 -2
- package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue.mjs → tache-subprocess-history-dialog.vue.js} +2 -2
- package/es/workflow-editor/src/main/{toolbox.vue.mjs → toolbox.vue.js} +6 -6
- package/es/workflow-editor/src/main/{wf-history-canvas.vue.mjs → wf-history-canvas.vue.js} +17 -17
- package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
- package/es/workflow-editor/src/properties-editors/{auto-task.vue.mjs → auto-task.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/common/{additional-condition-utils.mjs → additional-condition-utils.js} +2 -2
- package/es/workflow-editor/src/properties-editors/common/{additional-condition.vue.mjs → additional-condition.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields-utils.mjs → auto-filled-fields-utils.js} +1 -1
- package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields.vue.mjs → auto-filled-fields.vue.js} +6 -6
- package/es/workflow-editor/src/properties-editors/common/{common-notice-tool.vue.mjs → common-notice-tool.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/common/{common-user-condition.vue.mjs → common-user-condition.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/common/{form-fields.vue.mjs → form-fields.vue.js} +2 -2
- package/es/workflow-editor/src/properties-editors/common/{i18n-input.vue.mjs → i18n-input.vue.js} +6 -6
- package/es/workflow-editor/src/properties-editors/common/{i18n-set-dialog.vue.mjs → i18n-set-dialog.vue.js} +2 -2
- package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue.mjs → notice-reminder.vue.js} +7 -7
- package/es/workflow-editor/src/properties-editors/common/{notice.vue.mjs → notice.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/common/{reminder.vue.mjs → reminder.vue.js} +5 -5
- package/es/workflow-editor/src/properties-editors/common/{select-mail-template.vue.mjs → select-mail-template.vue.js} +1 -1
- package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue.mjs → system-role-tree-inline.vue.js} +2 -2
- package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue.mjs → system-role-tree.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/common/{task-title.vue.mjs → task-title.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/common/{transactor-settings.vue.mjs → transactor-settings.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/common/{user-selection.vue.mjs → user-selection.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue.mjs → value-selection-dialog.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/common/{variables.vue.mjs → variables.vue.js} +1 -1
- package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
- package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue.mjs → permission-settings.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/{copy-task.vue.mjs → copy-task.vue.js} +11 -11
- package/es/workflow-editor/src/properties-editors/{decision.vue.mjs → decision.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/{fork.vue.mjs → fork.vue.js} +2 -2
- package/es/workflow-editor/src/properties-editors/{human-decision.vue.mjs → human-decision.vue.js} +1 -1
- package/es/workflow-editor/src/properties-editors/human-task/{additional-condition-dialog.vue.mjs → additional-condition-dialog.vue.js} +2 -2
- package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
- package/es/workflow-editor/src/properties-editors/human-task/{componentsConfigUtil.mjs → componentsConfigUtil.js} +1 -1
- package/es/workflow-editor/src/properties-editors/human-task/{custom-actions.vue.mjs → custom-actions.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/human-task/{editable-child-field-setting.vue.mjs → editable-child-field-setting.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/human-task/{editable-child-fields.vue.mjs → editable-child-fields.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue.mjs → editable-field-selection.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/human-task/{editable-fields.vue.mjs → editable-fields.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/human-task/{events.vue.mjs → events.vue.js} +1 -1
- package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue.mjs → permission-settings.vue.js} +7 -7
- package/es/workflow-editor/src/properties-editors/human-task/{selection-conditions.vue.mjs → selection-conditions.vue.js} +4 -4
- package/es/workflow-editor/src/properties-editors/{human-task.vue.mjs → human-task.vue.js} +9 -9
- package/es/workflow-editor/src/properties-editors/{join.vue.mjs → join.vue.js} +1 -1
- package/es/workflow-editor/src/properties-editors/process/{basic-properties.vue.mjs → basic-properties.vue.js} +6 -6
- package/es/workflow-editor/src/properties-editors/process/{events.vue.mjs → events.vue.js} +6 -6
- package/es/workflow-editor/src/properties-editors/process/{notice-settings.vue.mjs → notice-settings.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/process/{parameter-settings.vue.mjs → parameter-settings.vue.js} +2 -2
- package/es/workflow-editor/src/properties-editors/process/{permission-settings.vue.mjs → permission-settings.vue.js} +2 -2
- package/es/workflow-editor/src/properties-editors/process/{selectPage.vue.mjs → selectPage.vue.js} +1 -1
- package/es/workflow-editor/src/properties-editors/{process.vue.mjs → process.vue.js} +8 -8
- package/es/workflow-editor/src/properties-editors/subprocess/{basic-properties.vue.mjs → basic-properties.vue.js} +8 -8
- package/es/workflow-editor/src/properties-editors/subprocess/{events.vue.mjs → events.vue.js} +1 -1
- package/es/workflow-editor/src/properties-editors/subprocess/{field-mappings.vue.mjs → field-mappings.vue.js} +5 -5
- package/es/workflow-editor/src/properties-editors/subprocess/{transactor-settings.vue.mjs → transactor-settings.vue.js} +7 -7
- package/es/workflow-editor/src/properties-editors/{subprocess.vue.mjs → subprocess.vue.js} +5 -5
- package/es/workflow-editor/src/properties-editors/transition/{basic-properties.vue.mjs → basic-properties.vue.js} +3 -3
- package/es/workflow-editor/src/properties-editors/{transition.vue.mjs → transition.vue.js} +9 -9
- package/es/workflow-editor/src/properties-editors/{user-condition.mjs → user-condition.js} +1 -1
- package/es/workflow-editor/src/store/{workflow-editor.mjs → workflow-editor.js} +1 -1
- package/es/workflow-editor/src/taches/{auto-task.vue.mjs → auto-task.vue.js} +7 -7
- package/es/workflow-editor/src/taches/{common-methods.mjs → common-methods.js} +1 -1
- package/es/workflow-editor/src/taches/{copy-task.vue.mjs → copy-task.vue.js} +7 -7
- package/es/workflow-editor/src/taches/{custom-task.vue.mjs → custom-task.vue.js} +4 -4
- package/es/workflow-editor/src/taches/{decision.vue.mjs → decision.vue.js} +5 -5
- package/es/workflow-editor/src/taches/{end.vue.mjs → end.vue.js} +4 -4
- package/es/workflow-editor/src/taches/{fork.vue.mjs → fork.vue.js} +5 -5
- package/es/workflow-editor/src/taches/{human-decision.vue.mjs → human-decision.vue.js} +7 -7
- package/es/workflow-editor/src/taches/{human-task.vue.mjs → human-task.vue.js} +5 -5
- package/es/workflow-editor/src/taches/{join.vue.mjs → join.vue.js} +4 -4
- package/es/workflow-editor/src/taches/{joint.vue.mjs → joint.vue.js} +3 -3
- package/es/workflow-editor/src/taches/{start.vue.mjs → start.vue.js} +4 -4
- package/es/workflow-editor/src/taches/{subprocess.vue.mjs → subprocess.vue.js} +7 -7
- package/es/workflow-editor/src/taches/{tache-resizer.vue.mjs → tache-resizer.vue.js} +2 -2
- package/es/workflow-editor/src/transitions/{broken-line.vue.mjs → broken-line.vue.js} +3 -3
- package/es/workflow-editor/src/transitions/{curve-line.vue.mjs → curve-line.vue.js} +3 -3
- package/es/workflow-editor/src/transitions/{straight-line.vue.mjs → straight-line.vue.js} +2 -2
- package/es/workflow-editor/src/transitions/{transition.vue.mjs → transition.vue.js} +8 -8
- package/es/workflow-editor/src/transitions/{virtual-transition.vue.mjs → virtual-transition.vue.js} +3 -3
- package/es/workflow-editor/src/{util.mjs → util.js} +13 -13
- package/es/workflow-editor/src/{workflow-editor.vue.mjs → workflow-editor.vue.js} +16 -16
- package/es/workflow-editor/src/{workflow-history.vue.mjs → workflow-history.vue.js} +8 -8
- package/lib/style.css +144 -144
- package/package.json +7 -1
- package/.prettierrc.json +0 -9
- package/es/src/i18n/i18n.mjs +0 -7
- package/es/workflow-editor/index.mjs +0 -10
- package/index.html +0 -13
- package/packages/index.js +0 -50
- package/packages/plugins/formValidatorUtil.js +0 -723
- package/packages/plugins/index.js +0 -8
- package/packages/workflow-editor/index.js +0 -14
- package/packages/workflow-editor/src/api.js +0 -7
- package/packages/workflow-editor/src/assets/tab-select.png +0 -0
- package/packages/workflow-editor/src/assets/tab-selectWhite.png +0 -0
- package/packages/workflow-editor/src/assets/wf-editor-icons.js +0 -2
- package/packages/workflow-editor/src/constant.js +0 -8
- package/packages/workflow-editor/src/json-object-templates/auto-task.js +0 -70
- package/packages/workflow-editor/src/json-object-templates/copy-task.js +0 -72
- package/packages/workflow-editor/src/json-object-templates/decision.js +0 -11
- package/packages/workflow-editor/src/json-object-templates/end.js +0 -14
- package/packages/workflow-editor/src/json-object-templates/fork.js +0 -10
- package/packages/workflow-editor/src/json-object-templates/human-decision.js +0 -9
- package/packages/workflow-editor/src/json-object-templates/human-task.js +0 -208
- package/packages/workflow-editor/src/json-object-templates/join.js +0 -10
- package/packages/workflow-editor/src/json-object-templates/process.js +0 -99
- package/packages/workflow-editor/src/json-object-templates/start.js +0 -13
- package/packages/workflow-editor/src/json-object-templates/subprocess.js +0 -31
- package/packages/workflow-editor/src/json-object-templates/transition.js +0 -26
- package/packages/workflow-editor/src/main/admin-save-dialog.vue +0 -67
- package/packages/workflow-editor/src/main/canvas.vue +0 -493
- package/packages/workflow-editor/src/main/context-menu.vue +0 -147
- package/packages/workflow-editor/src/main/icon-svg.vue +0 -32
- package/packages/workflow-editor/src/main/selection-region.vue +0 -66
- package/packages/workflow-editor/src/main/tache-history-tooltip.vue +0 -38
- package/packages/workflow-editor/src/main/tache-name-input.vue +0 -19
- package/packages/workflow-editor/src/main/tache-subprocess-history-dialog.vue +0 -40
- package/packages/workflow-editor/src/main/toolbox.vue +0 -60
- package/packages/workflow-editor/src/main/wf-history-canvas.vue +0 -309
- package/packages/workflow-editor/src/process-json.js +0 -624
- package/packages/workflow-editor/src/process-service.js +0 -68
- package/packages/workflow-editor/src/properties-editors/auto-task/basic-properties.vue +0 -81
- package/packages/workflow-editor/src/properties-editors/auto-task/permission-settings.vue +0 -155
- package/packages/workflow-editor/src/properties-editors/auto-task.vue +0 -74
- package/packages/workflow-editor/src/properties-editors/common/additional-condition-utils.js +0 -568
- package/packages/workflow-editor/src/properties-editors/common/additional-condition.vue +0 -320
- package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields-utils.js +0 -34
- package/packages/workflow-editor/src/properties-editors/common/auto-filled-fields.vue +0 -268
- package/packages/workflow-editor/src/properties-editors/common/common-notice-tool.vue +0 -81
- package/packages/workflow-editor/src/properties-editors/common/common-user-condition.vue +0 -242
- package/packages/workflow-editor/src/properties-editors/common/form-fields-utils.js +0 -23
- package/packages/workflow-editor/src/properties-editors/common/form-fields.vue +0 -117
- package/packages/workflow-editor/src/properties-editors/common/i18n-input.vue +0 -88
- package/packages/workflow-editor/src/properties-editors/common/i18n-set-dialog.vue +0 -143
- package/packages/workflow-editor/src/properties-editors/common/notice-reminder.vue +0 -149
- package/packages/workflow-editor/src/properties-editors/common/notice.vue +0 -108
- package/packages/workflow-editor/src/properties-editors/common/reminder.vue +0 -272
- package/packages/workflow-editor/src/properties-editors/common/select-mail-template.vue +0 -92
- package/packages/workflow-editor/src/properties-editors/common/standard-fields.vue +0 -66
- package/packages/workflow-editor/src/properties-editors/common/system-role-tree-inline.vue +0 -354
- package/packages/workflow-editor/src/properties-editors/common/system-role-tree.vue +0 -68
- package/packages/workflow-editor/src/properties-editors/common/task-title.vue +0 -165
- package/packages/workflow-editor/src/properties-editors/common/transactor-settings.vue +0 -275
- package/packages/workflow-editor/src/properties-editors/common/user-selection.vue +0 -426
- package/packages/workflow-editor/src/properties-editors/common/value-selection-dialog.vue +0 -272
- package/packages/workflow-editor/src/properties-editors/common/variables.vue +0 -139
- package/packages/workflow-editor/src/properties-editors/copy-task/basic-properties.vue +0 -90
- package/packages/workflow-editor/src/properties-editors/copy-task/permission-settings.vue +0 -155
- package/packages/workflow-editor/src/properties-editors/copy-task.vue +0 -95
- package/packages/workflow-editor/src/properties-editors/decision.vue +0 -95
- package/packages/workflow-editor/src/properties-editors/fork.vue +0 -77
- package/packages/workflow-editor/src/properties-editors/human-decision.vue +0 -49
- package/packages/workflow-editor/src/properties-editors/human-task/additional-condition-dialog.vue +0 -62
- package/packages/workflow-editor/src/properties-editors/human-task/basic-properties.vue +0 -184
- package/packages/workflow-editor/src/properties-editors/human-task/componentsConfigUtil.js +0 -359
- package/packages/workflow-editor/src/properties-editors/human-task/custom-actions.vue +0 -256
- package/packages/workflow-editor/src/properties-editors/human-task/editable-child-field-setting.vue +0 -405
- package/packages/workflow-editor/src/properties-editors/human-task/editable-child-fields.vue +0 -257
- package/packages/workflow-editor/src/properties-editors/human-task/editable-field-selection.vue +0 -430
- package/packages/workflow-editor/src/properties-editors/human-task/editable-fields.vue +0 -206
- package/packages/workflow-editor/src/properties-editors/human-task/events.vue +0 -60
- package/packages/workflow-editor/src/properties-editors/human-task/permission-settings.vue +0 -224
- package/packages/workflow-editor/src/properties-editors/human-task/selection-conditions.vue +0 -499
- package/packages/workflow-editor/src/properties-editors/human-task.vue +0 -107
- package/packages/workflow-editor/src/properties-editors/join.vue +0 -49
- package/packages/workflow-editor/src/properties-editors/process/basic-properties.vue +0 -336
- package/packages/workflow-editor/src/properties-editors/process/events.vue +0 -79
- package/packages/workflow-editor/src/properties-editors/process/notice-settings.vue +0 -68
- package/packages/workflow-editor/src/properties-editors/process/parameter-settings.vue +0 -106
- package/packages/workflow-editor/src/properties-editors/process/permission-settings.vue +0 -28
- package/packages/workflow-editor/src/properties-editors/process/selectPage.vue +0 -88
- package/packages/workflow-editor/src/properties-editors/process.vue +0 -115
- package/packages/workflow-editor/src/properties-editors/subprocess/basic-properties.vue +0 -201
- package/packages/workflow-editor/src/properties-editors/subprocess/events.vue +0 -26
- package/packages/workflow-editor/src/properties-editors/subprocess/field-mappings.vue +0 -216
- package/packages/workflow-editor/src/properties-editors/subprocess/transactor-settings.vue +0 -66
- package/packages/workflow-editor/src/properties-editors/subprocess.vue +0 -80
- package/packages/workflow-editor/src/properties-editors/transition/basic-properties.vue +0 -53
- package/packages/workflow-editor/src/properties-editors/transition.vue +0 -75
- package/packages/workflow-editor/src/properties-editors/user-condition.js +0 -183
- package/packages/workflow-editor/src/store/getters.js +0 -33
- package/packages/workflow-editor/src/store/workflow-editor.js +0 -153
- package/packages/workflow-editor/src/taches/auto-task.vue +0 -99
- package/packages/workflow-editor/src/taches/common-methods.js +0 -21
- package/packages/workflow-editor/src/taches/copy-task.vue +0 -99
- package/packages/workflow-editor/src/taches/custom-task.vue +0 -88
- package/packages/workflow-editor/src/taches/decision.vue +0 -102
- package/packages/workflow-editor/src/taches/end.vue +0 -76
- package/packages/workflow-editor/src/taches/fork.vue +0 -102
- package/packages/workflow-editor/src/taches/human-decision.vue +0 -102
- package/packages/workflow-editor/src/taches/human-task.vue +0 -113
- package/packages/workflow-editor/src/taches/join.vue +0 -91
- package/packages/workflow-editor/src/taches/joint.vue +0 -177
- package/packages/workflow-editor/src/taches/start.vue +0 -76
- package/packages/workflow-editor/src/taches/subprocess.vue +0 -99
- package/packages/workflow-editor/src/taches/tache-resizer.vue +0 -80
- package/packages/workflow-editor/src/transitions/broken-line.vue +0 -91
- package/packages/workflow-editor/src/transitions/curve-line.vue +0 -91
- package/packages/workflow-editor/src/transitions/straight-line.vue +0 -26
- package/packages/workflow-editor/src/transitions/transition.vue +0 -209
- package/packages/workflow-editor/src/transitions/virtual-transition.vue +0 -43
- package/packages/workflow-editor/src/util.js +0 -499
- package/packages/workflow-editor/src/workflow-editor.vue +0 -852
- package/packages/workflow-editor/src/workflow-history.vue +0 -153
- package/public/vite.svg +0 -1
- package/src/i18n/i18n.js +0 -16
- package/src/i18n/langs/cn.js +0 -521
- package/src/i18n/langs/en.js +0 -529
- package/vite.config.js +0 -103
- /package/es/_virtual/{_plugin-vue_export-helper.mjs → _plugin-vue_export-helper.js} +0 -0
- /package/es/src/i18n/langs/{cn.mjs → cn.js} +0 -0
- /package/es/src/i18n/langs/{en.mjs → en.js} +0 -0
- /package/es/workflow-editor/src/{api.mjs → api.js} +0 -0
- /package/es/workflow-editor/src/assets/{wf-editor-icons.mjs → wf-editor-icons.js} +0 -0
- /package/es/workflow-editor/src/json-object-templates/{transition.mjs → transition.js} +0 -0
- /package/es/workflow-editor/src/main/{canvas.vue2.mjs → canvas.vue2.js} +0 -0
- /package/es/workflow-editor/src/main/{context-menu.vue2.mjs → context-menu.vue2.js} +0 -0
- /package/es/workflow-editor/src/main/{icon-svg.vue2.mjs → icon-svg.vue2.js} +0 -0
- /package/es/workflow-editor/src/main/{selection-region.vue2.mjs → selection-region.vue2.js} +0 -0
- /package/es/workflow-editor/src/main/{tache-history-tooltip.vue2.mjs → tache-history-tooltip.vue2.js} +0 -0
- /package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue2.mjs → tache-subprocess-history-dialog.vue2.js} +0 -0
- /package/es/workflow-editor/src/main/{toolbox.vue2.mjs → toolbox.vue2.js} +0 -0
- /package/es/workflow-editor/src/main/{wf-history-canvas.vue2.mjs → wf-history-canvas.vue2.js} +0 -0
- /package/es/workflow-editor/src/{process-service.mjs → process-service.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/{auto-task.vue2.mjs → auto-task.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{form-fields-utils.mjs → form-fields-utils.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{form-fields.vue2.mjs → form-fields.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue2.mjs → notice-reminder.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{reminder.vue2.mjs → reminder.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue2.mjs → system-role-tree-inline.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue2.mjs → system-role-tree.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{task-title.vue2.mjs → task-title.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue2.mjs → value-selection-dialog.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue2.mjs → permission-settings.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/{copy-task.vue2.mjs → copy-task.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue2.mjs → editable-field-selection.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue2.mjs → permission-settings.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/{human-task.vue2.mjs → human-task.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/{subprocess.vue2.mjs → subprocess.vue2.js} +0 -0
- /package/es/workflow-editor/src/properties-editors/{transition.vue2.mjs → transition.vue2.js} +0 -0
- /package/es/workflow-editor/src/store/{getters.mjs → getters.js} +0 -0
- /package/es/workflow-editor/src/taches/{decision.vue2.mjs → decision.vue2.js} +0 -0
- /package/es/workflow-editor/src/taches/{end.vue2.mjs → end.vue2.js} +0 -0
- /package/es/workflow-editor/src/taches/{fork.vue2.mjs → fork.vue2.js} +0 -0
- /package/es/workflow-editor/src/taches/{human-decision.vue2.mjs → human-decision.vue2.js} +0 -0
- /package/es/workflow-editor/src/taches/{join.vue2.mjs → join.vue2.js} +0 -0
- /package/es/workflow-editor/src/taches/{joint.vue2.mjs → joint.vue2.js} +0 -0
- /package/es/workflow-editor/src/taches/{start.vue2.mjs → start.vue2.js} +0 -0
- /package/es/workflow-editor/src/taches/{tache-resizer.vue2.mjs → tache-resizer.vue2.js} +0 -0
- /package/es/workflow-editor/src/transitions/{broken-line.vue2.mjs → broken-line.vue2.js} +0 -0
- /package/es/workflow-editor/src/transitions/{curve-line.vue2.mjs → curve-line.vue2.js} +0 -0
- /package/es/workflow-editor/src/transitions/{transition.vue2.mjs → transition.vue2.js} +0 -0
- /package/es/workflow-editor/src/transitions/{virtual-transition.vue2.mjs → virtual-transition.vue2.js} +0 -0
- /package/es/workflow-editor/src/{workflow-editor.vue2.mjs → workflow-editor.vue2.js} +0 -0
- /package/es/workflow-editor/src/{workflow-history.vue2.mjs → workflow-history.vue2.js} +0 -0
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g
|
|
3
|
-
@mousedown.stop="startDrag"
|
|
4
|
-
@mouseup="endDrag"
|
|
5
|
-
@mouseenter="showJoints"
|
|
6
|
-
@mouseleave="hideJoints"
|
|
7
|
-
@dblclick.stop="setPropertiesEditorFor('AutoTask')"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
ref="tache"
|
|
11
|
-
:width="model.width"
|
|
12
|
-
:height="model.height"
|
|
13
|
-
:class="{'draggable':true,'task-tache':true, 'selected':model.isSelected}"
|
|
14
|
-
:x="model.x"
|
|
15
|
-
:y="model.y"
|
|
16
|
-
rx="6"
|
|
17
|
-
ry="6"
|
|
18
|
-
/>
|
|
19
|
-
<text
|
|
20
|
-
:x="text.x"
|
|
21
|
-
:y="text.y"
|
|
22
|
-
text-anchor="middle"
|
|
23
|
-
class="draggable"
|
|
24
|
-
>
|
|
25
|
-
{{ name }}
|
|
26
|
-
</text>
|
|
27
|
-
<joint
|
|
28
|
-
v-for="position in jointPoints"
|
|
29
|
-
:key="position"
|
|
30
|
-
:parent="model"
|
|
31
|
-
:position="position"
|
|
32
|
-
/>
|
|
33
|
-
<tache-resizer
|
|
34
|
-
v-for="position in resizers"
|
|
35
|
-
:key="position"
|
|
36
|
-
:owner="model"
|
|
37
|
-
:position="position"
|
|
38
|
-
/>
|
|
39
|
-
</g>
|
|
40
|
-
</template>
|
|
41
|
-
<script>
|
|
42
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
43
|
-
import Joint from './joint'
|
|
44
|
-
import TacheResizer from './tache-resizer'
|
|
45
|
-
import tacheMethods from './common-methods'
|
|
46
|
-
import { watchShowName } from '../util'
|
|
47
|
-
export default {
|
|
48
|
-
name: 'AutoTask',
|
|
49
|
-
components: {
|
|
50
|
-
Joint,
|
|
51
|
-
TacheResizer
|
|
52
|
-
},
|
|
53
|
-
props: {
|
|
54
|
-
model: {
|
|
55
|
-
type: Object,
|
|
56
|
-
default: null
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
data() {
|
|
60
|
-
return {
|
|
61
|
-
// 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来
|
|
62
|
-
jointPoints: [],
|
|
63
|
-
resizers: ['NW', 'NE', 'SW', 'SE'],
|
|
64
|
-
name: this.model.name
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
computed: {
|
|
68
|
-
...mapGetters('wfEditor', [
|
|
69
|
-
'selectedTaches',
|
|
70
|
-
'processI18n'
|
|
71
|
-
]),
|
|
72
|
-
text() {
|
|
73
|
-
return {
|
|
74
|
-
x: this.model.x + this.model.width / 2,
|
|
75
|
-
y: this.model.y + this.model.height / 2
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
created() {
|
|
80
|
-
this.name = watchShowName(this, this.name)
|
|
81
|
-
},
|
|
82
|
-
mounted() {
|
|
83
|
-
this.$watch('model.name', function(newVal) {
|
|
84
|
-
this.name = watchShowName(this, newVal)
|
|
85
|
-
})
|
|
86
|
-
},
|
|
87
|
-
methods: {
|
|
88
|
-
...mapMutations('wfEditor', [
|
|
89
|
-
'setPropertiesEditorFor',
|
|
90
|
-
'setContextMenuVisible'
|
|
91
|
-
]),
|
|
92
|
-
...tacheMethods
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</script>
|
|
96
|
-
<style>
|
|
97
|
-
|
|
98
|
-
</style>
|
|
99
|
-
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { startDragTache, endDragTache } from '../util'
|
|
2
|
-
export default {
|
|
3
|
-
startDrag(event) {
|
|
4
|
-
console.log(this.model.name + ' mousedown')
|
|
5
|
-
this.setContextMenuVisible(false)
|
|
6
|
-
startDragTache(event, this)
|
|
7
|
-
},
|
|
8
|
-
endDrag() {
|
|
9
|
-
console.log(this.model.name + ' mouseup')
|
|
10
|
-
endDragTache()
|
|
11
|
-
},
|
|
12
|
-
showJoints() {
|
|
13
|
-
if (this.$parent.showHistory) return
|
|
14
|
-
this.jointPoints = [
|
|
15
|
-
'up', 'right', 'down', 'left'
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
hideJoints() {
|
|
19
|
-
this.jointPoints = []
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g
|
|
3
|
-
@mousedown.stop="startDrag"
|
|
4
|
-
@mouseup="endDrag"
|
|
5
|
-
@mouseenter="showJoints"
|
|
6
|
-
@mouseleave="hideJoints"
|
|
7
|
-
@dblclick.stop="setPropertiesEditorFor('CopyTask')"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
ref="tache"
|
|
11
|
-
:width="model.width"
|
|
12
|
-
:height="model.height"
|
|
13
|
-
:class="{'draggable':true,'task-tache':true, 'selected':model.isSelected}"
|
|
14
|
-
:x="model.x"
|
|
15
|
-
:y="model.y"
|
|
16
|
-
rx="6"
|
|
17
|
-
ry="6"
|
|
18
|
-
/>
|
|
19
|
-
<text
|
|
20
|
-
:x="text.x"
|
|
21
|
-
:y="text.y"
|
|
22
|
-
text-anchor="middle"
|
|
23
|
-
class="draggable"
|
|
24
|
-
>
|
|
25
|
-
{{ name }}
|
|
26
|
-
</text>
|
|
27
|
-
<joint
|
|
28
|
-
v-for="position in jointPoints"
|
|
29
|
-
:key="position"
|
|
30
|
-
:parent="model"
|
|
31
|
-
:position="position"
|
|
32
|
-
/>
|
|
33
|
-
<tache-resizer
|
|
34
|
-
v-for="position in resizers"
|
|
35
|
-
:key="position"
|
|
36
|
-
:owner="model"
|
|
37
|
-
:position="position"
|
|
38
|
-
/>
|
|
39
|
-
</g>
|
|
40
|
-
</template>
|
|
41
|
-
<script>
|
|
42
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
43
|
-
import Joint from './joint'
|
|
44
|
-
import TacheResizer from './tache-resizer'
|
|
45
|
-
import tacheMethods from './common-methods'
|
|
46
|
-
import { watchShowName } from '../util'
|
|
47
|
-
export default {
|
|
48
|
-
name: 'CopyTask',
|
|
49
|
-
components: {
|
|
50
|
-
Joint,
|
|
51
|
-
TacheResizer
|
|
52
|
-
},
|
|
53
|
-
props: {
|
|
54
|
-
model: {
|
|
55
|
-
type: Object,
|
|
56
|
-
default: null
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
data() {
|
|
60
|
-
return {
|
|
61
|
-
// 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来
|
|
62
|
-
jointPoints: [],
|
|
63
|
-
resizers: ['NW', 'NE', 'SW', 'SE'],
|
|
64
|
-
name: this.model.name
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
computed: {
|
|
68
|
-
...mapGetters('wfEditor', [
|
|
69
|
-
'selectedTaches',
|
|
70
|
-
'processI18n'
|
|
71
|
-
]),
|
|
72
|
-
text() {
|
|
73
|
-
return {
|
|
74
|
-
x: this.model.x + this.model.width / 2,
|
|
75
|
-
y: this.model.y + this.model.height / 2
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
created() {
|
|
80
|
-
this.name = watchShowName(this, this.name)
|
|
81
|
-
},
|
|
82
|
-
mounted() {
|
|
83
|
-
this.$watch('model.name', function(newVal) {
|
|
84
|
-
this.name = watchShowName(this, newVal)
|
|
85
|
-
})
|
|
86
|
-
},
|
|
87
|
-
methods: {
|
|
88
|
-
...mapMutations('wfEditor', [
|
|
89
|
-
'setPropertiesEditorFor',
|
|
90
|
-
'setContextMenuVisible'
|
|
91
|
-
]),
|
|
92
|
-
...tacheMethods
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</script>
|
|
96
|
-
<style>
|
|
97
|
-
|
|
98
|
-
</style>
|
|
99
|
-
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g
|
|
3
|
-
@mousedown.stop="startDrag"
|
|
4
|
-
@mouseup="endDrag"
|
|
5
|
-
@mouseenter="showJoints"
|
|
6
|
-
@mouseleave="hideJoints"
|
|
7
|
-
@dblclick.stop="setPropertiesEditorFor('HumanTask')"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
ref="tache"
|
|
11
|
-
:width="model.width"
|
|
12
|
-
:height="model.height"
|
|
13
|
-
:class="{'draggable':true,'task-tache':true, 'selected':model.isSelected}"
|
|
14
|
-
:x="model.x"
|
|
15
|
-
:y="model.y"
|
|
16
|
-
rx="6"
|
|
17
|
-
ry="6"
|
|
18
|
-
/>
|
|
19
|
-
<text
|
|
20
|
-
:x="text.x"
|
|
21
|
-
:y="text.y"
|
|
22
|
-
text-anchor="middle"
|
|
23
|
-
class="draggable"
|
|
24
|
-
>
|
|
25
|
-
{{ model.name }}
|
|
26
|
-
</text>
|
|
27
|
-
<joint
|
|
28
|
-
v-for="position in jointPoints"
|
|
29
|
-
:key="position"
|
|
30
|
-
:parent="model"
|
|
31
|
-
:position="position"
|
|
32
|
-
/>
|
|
33
|
-
<tache-resizer
|
|
34
|
-
v-for="position in resizers"
|
|
35
|
-
:key="position"
|
|
36
|
-
:owner="model"
|
|
37
|
-
:position="position"
|
|
38
|
-
/>
|
|
39
|
-
</g>
|
|
40
|
-
</template>
|
|
41
|
-
<script>
|
|
42
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
43
|
-
import Joint from './joint'
|
|
44
|
-
import TacheResizer from './tache-resizer'
|
|
45
|
-
import tacheMethods from './common-methods'
|
|
46
|
-
export default {
|
|
47
|
-
name: 'CustomTask',
|
|
48
|
-
components: {
|
|
49
|
-
Joint,
|
|
50
|
-
TacheResizer
|
|
51
|
-
},
|
|
52
|
-
props: {
|
|
53
|
-
model: {
|
|
54
|
-
type: Object,
|
|
55
|
-
default: null
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
data() {
|
|
59
|
-
return {
|
|
60
|
-
// 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来
|
|
61
|
-
jointPoints: [],
|
|
62
|
-
resizers: ['NW', 'NE', 'SW', 'SE']
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
computed: {
|
|
66
|
-
...mapGetters('wfEditor', [
|
|
67
|
-
'selectedTaches'
|
|
68
|
-
]),
|
|
69
|
-
text() {
|
|
70
|
-
return {
|
|
71
|
-
x: this.model.x + this.model.width / 2,
|
|
72
|
-
y: this.model.y + this.model.height / 2
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
methods: {
|
|
77
|
-
...mapMutations('wfEditor', [
|
|
78
|
-
'setPropertiesEditorFor',
|
|
79
|
-
'setContextMenuVisible'
|
|
80
|
-
]),
|
|
81
|
-
...tacheMethods
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
</script>
|
|
85
|
-
<style>
|
|
86
|
-
|
|
87
|
-
</style>
|
|
88
|
-
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g
|
|
3
|
-
@mousedown.stop="startDrag"
|
|
4
|
-
@mouseup="endDrag"
|
|
5
|
-
@mouseenter="showJoints"
|
|
6
|
-
@mouseleave="hideJoints"
|
|
7
|
-
@dblclick.stop="setPropertiesEditorFor('Decision')"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
:width="model.width"
|
|
11
|
-
:height="model.height"
|
|
12
|
-
:class="{'draggable':true,'decision':!model.isSelected, 'selected':model.isSelected}"
|
|
13
|
-
:x="model.x"
|
|
14
|
-
:y="model.y"
|
|
15
|
-
rx="6"
|
|
16
|
-
ry="6"
|
|
17
|
-
/>
|
|
18
|
-
<use
|
|
19
|
-
xlink:href="#icon-decision"
|
|
20
|
-
:x="model.x"
|
|
21
|
-
:y="model.y"
|
|
22
|
-
:width="model.width"
|
|
23
|
-
:height="model.height"
|
|
24
|
-
fill="#999"
|
|
25
|
-
class="draggable"
|
|
26
|
-
/>
|
|
27
|
-
<text
|
|
28
|
-
:x="text.x"
|
|
29
|
-
:y="text.y"
|
|
30
|
-
text-anchor="middle"
|
|
31
|
-
class="draggable"
|
|
32
|
-
>
|
|
33
|
-
{{ name }}
|
|
34
|
-
</text>
|
|
35
|
-
<joint
|
|
36
|
-
v-for="position in jointPoints"
|
|
37
|
-
:key="position"
|
|
38
|
-
:parent="model"
|
|
39
|
-
:position="position"
|
|
40
|
-
/>
|
|
41
|
-
</g>
|
|
42
|
-
</template>
|
|
43
|
-
<script>
|
|
44
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
45
|
-
import Joint from './joint'
|
|
46
|
-
import tacheMethods from './common-methods'
|
|
47
|
-
import { watchShowName } from '../util'
|
|
48
|
-
export default {
|
|
49
|
-
name: 'Decision',
|
|
50
|
-
components: {
|
|
51
|
-
Joint
|
|
52
|
-
},
|
|
53
|
-
props: {
|
|
54
|
-
model: {
|
|
55
|
-
type: Object,
|
|
56
|
-
default: null
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
data() {
|
|
60
|
-
return {
|
|
61
|
-
// 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来
|
|
62
|
-
jointPoints: [],
|
|
63
|
-
name: this.model.name
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
computed: {
|
|
67
|
-
...mapGetters('wfEditor', [
|
|
68
|
-
'selectedTaches',
|
|
69
|
-
'processI18n'
|
|
70
|
-
]),
|
|
71
|
-
text() {
|
|
72
|
-
return {
|
|
73
|
-
x: this.model.x + this.model.width / 2,
|
|
74
|
-
// TODO: 12应该是字体大小加上一点空隙,换成变量值表示
|
|
75
|
-
y: this.model.y + this.model.height + 12
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
created() {
|
|
80
|
-
this.name = watchShowName(this, this.name)
|
|
81
|
-
},
|
|
82
|
-
mounted() {
|
|
83
|
-
this.$watch('model.name', function(newVal) {
|
|
84
|
-
this.name = watchShowName(this, newVal)
|
|
85
|
-
})
|
|
86
|
-
},
|
|
87
|
-
methods: {
|
|
88
|
-
...mapMutations('wfEditor', [
|
|
89
|
-
'setPropertiesEditorFor',
|
|
90
|
-
'setContextMenuVisible'
|
|
91
|
-
]),
|
|
92
|
-
...tacheMethods
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</script>
|
|
96
|
-
<style>
|
|
97
|
-
.decision{
|
|
98
|
-
stroke-width: 0;
|
|
99
|
-
fill:#fff;
|
|
100
|
-
}
|
|
101
|
-
</style>
|
|
102
|
-
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g
|
|
3
|
-
@mousedown.stop="startDrag"
|
|
4
|
-
@mouseup="endDrag"
|
|
5
|
-
@mouseenter="showJoints"
|
|
6
|
-
@mouseleave="hideJoints"
|
|
7
|
-
@dblclick.stop="setPropertiesEditorFor('')"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
:width="model.width"
|
|
11
|
-
:height="model.height"
|
|
12
|
-
:class="{'draggable':true,'end':!model.isSelected, 'selected':model.isSelected}"
|
|
13
|
-
:x="model.x"
|
|
14
|
-
:y="model.y"
|
|
15
|
-
rx="6"
|
|
16
|
-
ry="6"
|
|
17
|
-
/>
|
|
18
|
-
<use
|
|
19
|
-
xlink:href="#icon-end"
|
|
20
|
-
:x="model.x"
|
|
21
|
-
:y="model.y"
|
|
22
|
-
:width="model.width"
|
|
23
|
-
:height="model.height"
|
|
24
|
-
fill="#F56C6C"
|
|
25
|
-
class="draggable"
|
|
26
|
-
/>
|
|
27
|
-
<joint
|
|
28
|
-
v-for="position in jointPoints"
|
|
29
|
-
:key="position"
|
|
30
|
-
:parent="model"
|
|
31
|
-
:position="position"
|
|
32
|
-
/>
|
|
33
|
-
</g>
|
|
34
|
-
</template>
|
|
35
|
-
<script>
|
|
36
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
37
|
-
import Joint from './joint'
|
|
38
|
-
import tacheMethods from './common-methods'
|
|
39
|
-
export default {
|
|
40
|
-
name: 'End',
|
|
41
|
-
components: {
|
|
42
|
-
Joint
|
|
43
|
-
},
|
|
44
|
-
props: {
|
|
45
|
-
model: {
|
|
46
|
-
type: Object,
|
|
47
|
-
default: null
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
data() {
|
|
51
|
-
return {
|
|
52
|
-
// 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来
|
|
53
|
-
jointPoints: []
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
computed: {
|
|
57
|
-
...mapGetters('wfEditor', [
|
|
58
|
-
'selectedTaches'
|
|
59
|
-
])
|
|
60
|
-
},
|
|
61
|
-
methods: {
|
|
62
|
-
...mapMutations('wfEditor', [
|
|
63
|
-
'setPropertiesEditorFor',
|
|
64
|
-
'setContextMenuVisible'
|
|
65
|
-
]),
|
|
66
|
-
...tacheMethods
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
</script>
|
|
70
|
-
<style>
|
|
71
|
-
.end{
|
|
72
|
-
stroke-width: 0;
|
|
73
|
-
fill:#fff;
|
|
74
|
-
}
|
|
75
|
-
</style>
|
|
76
|
-
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g
|
|
3
|
-
@mousedown.stop="startDrag"
|
|
4
|
-
@mouseup="endDrag"
|
|
5
|
-
@mouseenter="showJoints"
|
|
6
|
-
@mouseleave="hideJoints"
|
|
7
|
-
@dblclick.stop="setPropertiesEditorFor('Fork')"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
:width="model.width"
|
|
11
|
-
:height="model.height"
|
|
12
|
-
:class="{'draggable':true,'decision':!model.isSelected, 'selected':model.isSelected}"
|
|
13
|
-
:x="model.x"
|
|
14
|
-
:y="model.y"
|
|
15
|
-
rx="6"
|
|
16
|
-
ry="6"
|
|
17
|
-
/>
|
|
18
|
-
<use
|
|
19
|
-
xlink:href="#icon-fork"
|
|
20
|
-
:x="model.x"
|
|
21
|
-
:y="model.y"
|
|
22
|
-
:width="model.width"
|
|
23
|
-
:height="model.height"
|
|
24
|
-
fill="#999"
|
|
25
|
-
class="draggable"
|
|
26
|
-
/>
|
|
27
|
-
<text
|
|
28
|
-
:x="text.x"
|
|
29
|
-
:y="text.y"
|
|
30
|
-
text-anchor="middle"
|
|
31
|
-
class="draggable"
|
|
32
|
-
>
|
|
33
|
-
{{ name }}
|
|
34
|
-
</text>
|
|
35
|
-
<joint
|
|
36
|
-
v-for="position in jointPoints"
|
|
37
|
-
:key="position"
|
|
38
|
-
:parent="model"
|
|
39
|
-
:position="position"
|
|
40
|
-
/>
|
|
41
|
-
</g>
|
|
42
|
-
</template>
|
|
43
|
-
<script>
|
|
44
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
45
|
-
import Joint from './joint'
|
|
46
|
-
import tacheMethods from './common-methods'
|
|
47
|
-
import { watchShowName } from '../util'
|
|
48
|
-
export default {
|
|
49
|
-
name: 'Fork',
|
|
50
|
-
components: {
|
|
51
|
-
Joint
|
|
52
|
-
},
|
|
53
|
-
props: {
|
|
54
|
-
model: {
|
|
55
|
-
type: Object,
|
|
56
|
-
default: null
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
data() {
|
|
60
|
-
return {
|
|
61
|
-
// 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来
|
|
62
|
-
jointPoints: [],
|
|
63
|
-
name: this.model.name
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
computed: {
|
|
67
|
-
...mapGetters('wfEditor', [
|
|
68
|
-
'selectedTaches',
|
|
69
|
-
'processI18n'
|
|
70
|
-
]),
|
|
71
|
-
text() {
|
|
72
|
-
return {
|
|
73
|
-
x: this.model.x + this.model.width / 2,
|
|
74
|
-
// TODO: 12应该是字体大小加上一点空隙,换成变量值表示
|
|
75
|
-
y: this.model.y + this.model.height + 12
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
created() {
|
|
80
|
-
this.name = watchShowName(this, this.name)
|
|
81
|
-
},
|
|
82
|
-
mounted() {
|
|
83
|
-
this.$watch('model.name', function(newVal) {
|
|
84
|
-
this.name = watchShowName(this, newVal)
|
|
85
|
-
})
|
|
86
|
-
},
|
|
87
|
-
methods: {
|
|
88
|
-
...mapMutations('wfEditor', [
|
|
89
|
-
'setPropertiesEditorFor',
|
|
90
|
-
'setContextMenuVisible'
|
|
91
|
-
]),
|
|
92
|
-
...tacheMethods
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</script>
|
|
96
|
-
<style>
|
|
97
|
-
.decision{
|
|
98
|
-
stroke-width: 0;
|
|
99
|
-
fill:#fff;
|
|
100
|
-
}
|
|
101
|
-
</style>
|
|
102
|
-
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g
|
|
3
|
-
@mousedown.stop="startDrag"
|
|
4
|
-
@mouseup="endDrag"
|
|
5
|
-
@mouseenter="showJoints"
|
|
6
|
-
@mouseleave="hideJoints"
|
|
7
|
-
@dblclick.stop="setPropertiesEditorFor('HumanDecision')"
|
|
8
|
-
>
|
|
9
|
-
<rect
|
|
10
|
-
:width="model.width"
|
|
11
|
-
:height="model.height"
|
|
12
|
-
:class="{'draggable':true,'human-decision':!model.isSelected, 'selected':model.isSelected}"
|
|
13
|
-
:x="model.x"
|
|
14
|
-
:y="model.y"
|
|
15
|
-
rx="6"
|
|
16
|
-
ry="6"
|
|
17
|
-
/>
|
|
18
|
-
<use
|
|
19
|
-
xlink:href="#icon-human-decision"
|
|
20
|
-
:x="model.x"
|
|
21
|
-
:y="model.y"
|
|
22
|
-
:width="model.width"
|
|
23
|
-
:height="model.height"
|
|
24
|
-
fill="#999"
|
|
25
|
-
class="draggable"
|
|
26
|
-
/>
|
|
27
|
-
<text
|
|
28
|
-
:x="text.x"
|
|
29
|
-
:y="text.y"
|
|
30
|
-
text-anchor="middle"
|
|
31
|
-
class="draggable"
|
|
32
|
-
>
|
|
33
|
-
{{ name }}
|
|
34
|
-
</text>
|
|
35
|
-
<joint
|
|
36
|
-
v-for="position in jointPoints"
|
|
37
|
-
:key="position"
|
|
38
|
-
:parent="model"
|
|
39
|
-
:position="position"
|
|
40
|
-
/>
|
|
41
|
-
</g>
|
|
42
|
-
</template>
|
|
43
|
-
<script>
|
|
44
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
45
|
-
import Joint from './joint'
|
|
46
|
-
import tacheMethods from './common-methods'
|
|
47
|
-
import { watchShowName } from '../util'
|
|
48
|
-
export default {
|
|
49
|
-
name: 'HumanDecision',
|
|
50
|
-
components: {
|
|
51
|
-
Joint
|
|
52
|
-
},
|
|
53
|
-
props: {
|
|
54
|
-
model: {
|
|
55
|
-
type: Object,
|
|
56
|
-
default: null
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
data() {
|
|
60
|
-
return {
|
|
61
|
-
// 一个tache有上右下左四个连接点,这四个连接点的坐标根据tache的位置和大小计算出来
|
|
62
|
-
jointPoints: [],
|
|
63
|
-
name: this.model.name
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
computed: {
|
|
67
|
-
...mapGetters('wfEditor', [
|
|
68
|
-
'selectedTaches',
|
|
69
|
-
'processI18n'
|
|
70
|
-
]),
|
|
71
|
-
text() {
|
|
72
|
-
return {
|
|
73
|
-
x: this.model.x + this.model.width / 2,
|
|
74
|
-
// TODO: 12应该是字体大小加上一点空隙,换成变量值表示
|
|
75
|
-
y: this.model.y + this.model.height + 12
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
created() {
|
|
80
|
-
this.name = watchShowName(this, this.name)
|
|
81
|
-
},
|
|
82
|
-
mounted() {
|
|
83
|
-
this.$watch('model.name', function(newVal) {
|
|
84
|
-
this.name = watchShowName(this, newVal)
|
|
85
|
-
})
|
|
86
|
-
},
|
|
87
|
-
methods: {
|
|
88
|
-
...mapMutations('wfEditor', [
|
|
89
|
-
'setPropertiesEditorFor',
|
|
90
|
-
'setContextMenuVisible'
|
|
91
|
-
]),
|
|
92
|
-
...tacheMethods
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
</script>
|
|
96
|
-
<style>
|
|
97
|
-
.human-decision{
|
|
98
|
-
stroke-width: 0;
|
|
99
|
-
fill:#fff;
|
|
100
|
-
}
|
|
101
|
-
</style>
|
|
102
|
-
|