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,153 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div
|
|
3
|
-
ref="wfEditor"
|
|
4
|
-
style="position:relative;height:100%;"
|
|
5
|
-
>
|
|
6
|
-
<div
|
|
7
|
-
class="main"
|
|
8
|
-
>
|
|
9
|
-
<section>
|
|
10
|
-
<wf-history-canvas
|
|
11
|
-
onselectstart="return false"
|
|
12
|
-
:process="process"
|
|
13
|
-
:histories="histories"
|
|
14
|
-
:current-tasks="currentTasks"
|
|
15
|
-
:all-process-i18n="allProcessI18n"
|
|
16
|
-
:show-history="true"
|
|
17
|
-
class="canvas"
|
|
18
|
-
@contextmenu.native.prevent="showContextMenu"
|
|
19
|
-
/>
|
|
20
|
-
</section>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
<script>
|
|
25
|
-
import './assets/wf-editor-icons.js'
|
|
26
|
-
import { mapGetters, mapMutations } from 'vuex'
|
|
27
|
-
import { removeTextProperty, initializeProcessData, processTemplate } from './util'
|
|
28
|
-
import WfHistoryCanvas from './main/wf-history-canvas'
|
|
29
|
-
import convert from 'xml-js'
|
|
30
|
-
import ApiJs from './api'
|
|
31
|
-
export default {
|
|
32
|
-
name: 'WorkflowHistory',
|
|
33
|
-
components: {
|
|
34
|
-
WfHistoryCanvas
|
|
35
|
-
},
|
|
36
|
-
props: {
|
|
37
|
-
// 实例id
|
|
38
|
-
id: {
|
|
39
|
-
type: Number,
|
|
40
|
-
default: null
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
data: function() {
|
|
44
|
-
return {
|
|
45
|
-
process: null,
|
|
46
|
-
histories: [],
|
|
47
|
-
currentTasks: [],
|
|
48
|
-
allProcessI18n: null
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
computed: {
|
|
52
|
-
...mapGetters(
|
|
53
|
-
'wfEditor', ['componentToDraw', 'taches', 'transitions', 'contextMenuVisible']
|
|
54
|
-
),
|
|
55
|
-
...mapGetters([
|
|
56
|
-
'sidebar'
|
|
57
|
-
])
|
|
58
|
-
|
|
59
|
-
},
|
|
60
|
-
watch: {
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
created: function() {
|
|
64
|
-
this.showHistory()
|
|
65
|
-
},
|
|
66
|
-
mounted: function() {
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
methods: {
|
|
70
|
-
...ApiJs,
|
|
71
|
-
...mapMutations('wfEditor', [
|
|
72
|
-
'setComponentToDraw',
|
|
73
|
-
'clearCanvas',
|
|
74
|
-
'setContextMenuVisible',
|
|
75
|
-
'setProcessI18n'
|
|
76
|
-
]),
|
|
77
|
-
showHistory() {
|
|
78
|
-
// 打开或新建流程图时先清空画布,开发过程中代码热更新的时候可以避免节点重复
|
|
79
|
-
this.clearCanvas()
|
|
80
|
-
if (this.id) {
|
|
81
|
-
this.$http.get(this.baseAPI + '/wf-editor/i18n-settings/get-bundle-info?workflowId=' + this.id).then(processI18n => {
|
|
82
|
-
this.allProcessI18n = processI18n
|
|
83
|
-
const url = this.baseAPI + '/wf-editor/instance-histories/' + this.id
|
|
84
|
-
this.$http.get(url).then(data => {
|
|
85
|
-
this.initProcessByXml(data.xml)
|
|
86
|
-
let mainBundleCode
|
|
87
|
-
if (data.histories && data.histories.length > 0) {
|
|
88
|
-
mainBundleCode = data.histories[0].bundleCode
|
|
89
|
-
}
|
|
90
|
-
if (!mainBundleCode && data.currentTasks && data.currentTasks.length > 0) {
|
|
91
|
-
mainBundleCode = data.currentTasks[0].bundleCode
|
|
92
|
-
}
|
|
93
|
-
if (mainBundleCode) {
|
|
94
|
-
this.setProcessI18n(processI18n[mainBundleCode])
|
|
95
|
-
}
|
|
96
|
-
this.histories = data.histories
|
|
97
|
-
this.currentTasks = data.currentTasks
|
|
98
|
-
})
|
|
99
|
-
})
|
|
100
|
-
} else {
|
|
101
|
-
this.process = processTemplate.newProcess()
|
|
102
|
-
initializeProcessData(this.process)
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
showContextMenu(event) {
|
|
106
|
-
|
|
107
|
-
},
|
|
108
|
-
initProcessByXml(xml) {
|
|
109
|
-
const options = { nativeType: true, attributesKey: 'attr', compact: true, ignoreComment: true, spaces: 4 }
|
|
110
|
-
const processObj = convert.xml2js(xml, options)
|
|
111
|
-
removeTextProperty(processObj.process)
|
|
112
|
-
this.process = processObj.process
|
|
113
|
-
|
|
114
|
-
initializeProcessData(this.process)
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
</script>
|
|
119
|
-
<style lang="scss" scoped>
|
|
120
|
-
.main{
|
|
121
|
-
position: relative;
|
|
122
|
-
display:flex;
|
|
123
|
-
height: 100%;
|
|
124
|
-
width:100%;
|
|
125
|
-
}
|
|
126
|
-
.canvas-container{
|
|
127
|
-
position: relative;
|
|
128
|
-
// display:flex;
|
|
129
|
-
height: 100%;
|
|
130
|
-
width:100%;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
section{
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
width:100%;
|
|
136
|
-
height:100%;
|
|
137
|
-
padding: 0;
|
|
138
|
-
// min-height: 500px;
|
|
139
|
-
}
|
|
140
|
-
.canvas{
|
|
141
|
-
overflow: auto;
|
|
142
|
-
height:100%;
|
|
143
|
-
// border:1px solid red;
|
|
144
|
-
// background: #ffffff;
|
|
145
|
-
padding: 0;
|
|
146
|
-
min-height: 500px;
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
.canvas :deep(.draggable){
|
|
150
|
-
cursor: default;
|
|
151
|
-
}
|
|
152
|
-
</style>
|
|
153
|
-
|
package/public/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/src/i18n/i18n.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { createI18n } from 'vue-i18n'
|
|
2
|
-
import en from './langs/en'
|
|
3
|
-
import cn from './langs/cn'
|
|
4
|
-
|
|
5
|
-
const messages = {
|
|
6
|
-
en: en,
|
|
7
|
-
cn: cn,
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const i18n = createI18n({
|
|
11
|
-
locale: 'cn', // 当前语言
|
|
12
|
-
messages,
|
|
13
|
-
legacy: false,
|
|
14
|
-
})
|
|
15
|
-
|
|
16
|
-
export default i18n
|