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