workflow-editor 0.0.81-up-tmp15 → 0.0.81-up-tmp17
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 +143 -143
- 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 +158 -158
- package/package.json +2 -2
- package/es/src/i18n/i18n.mjs +0 -7
- package/es/workflow-editor/index.mjs +0 -10
- /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,4 +1,29 @@
|
|
|
1
|
-
@charset "UTF-8"
|
|
1
|
+
@charset "UTF-8";.main[data-v-6658e14b] {
|
|
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
|
+
}
|
|
2
27
|
.button-area[data-v-865cb4ee] {
|
|
3
28
|
padding: 5px 0 5px 5px;
|
|
4
29
|
height: 50px;
|
|
@@ -100,40 +125,21 @@ pre[data-v-865cb4ee] {
|
|
|
100
125
|
/* 去掉卡片和tab表头的距离 */
|
|
101
126
|
[data-v-865cb4ee] .el-tabs__header {
|
|
102
127
|
margin: 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
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%;
|
|
128
|
+
}h3[data-v-0d941719] {
|
|
129
|
+
color: #999999;
|
|
130
|
+
margin: 0;
|
|
118
131
|
padding: 0;
|
|
132
|
+
font-weight: bold;
|
|
133
|
+
font-size: 18px;
|
|
119
134
|
}
|
|
120
|
-
.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
padding:
|
|
124
|
-
min-height: 500px;
|
|
135
|
+
.el-button[data-v-0d941719] {
|
|
136
|
+
margin: 6px 0;
|
|
137
|
+
min-width: 110px;
|
|
138
|
+
padding: 9px 15px;
|
|
125
139
|
}
|
|
126
|
-
.
|
|
127
|
-
|
|
140
|
+
.el-button i[data-v-0d941719] {
|
|
141
|
+
padding-right: 4px;
|
|
128
142
|
}
|
|
129
|
-
.svg-icon {
|
|
130
|
-
width: 1em;
|
|
131
|
-
height: 1em;
|
|
132
|
-
vertical-align: -0.15em;
|
|
133
|
-
fill: currentColor;
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
143
|
#svg{
|
|
138
144
|
/* border:1px solid red; */
|
|
139
145
|
background: white;
|
|
@@ -163,38 +169,8 @@ g text{
|
|
|
163
169
|
fill: #fff;
|
|
164
170
|
stroke: #666;
|
|
165
171
|
stroke-width: 2;
|
|
166
|
-
}
|
|
167
|
-
.passed-tache .task-tache{
|
|
168
|
-
fill: green;
|
|
169
|
-
stroke: green;
|
|
170
|
-
stroke-width: 2;
|
|
171
|
-
}
|
|
172
|
-
.current-tache .task-tache{
|
|
173
|
-
fill: red;
|
|
174
|
-
stroke: red;
|
|
175
|
-
stroke-width: 2;
|
|
176
|
-
}
|
|
177
|
-
.passed-tache text{
|
|
178
|
-
fill:white;
|
|
179
|
-
}
|
|
180
|
-
.current-tache text{
|
|
181
|
-
fill: white
|
|
182
172
|
}
|
|
183
|
-
|
|
184
|
-
color: #999999;
|
|
185
|
-
margin: 0;
|
|
186
|
-
padding: 0;
|
|
187
|
-
font-weight: bold;
|
|
188
|
-
font-size: 18px;
|
|
189
|
-
}
|
|
190
|
-
.el-button[data-v-0d941719] {
|
|
191
|
-
margin: 6px 0;
|
|
192
|
-
min-width: 110px;
|
|
193
|
-
padding: 9px 15px;
|
|
194
|
-
}
|
|
195
|
-
.el-button i[data-v-0d941719] {
|
|
196
|
-
padding-right: 4px;
|
|
197
|
-
}li[data-v-7e8a1cf6] {
|
|
173
|
+
li[data-v-7e8a1cf6] {
|
|
198
174
|
color: #333;
|
|
199
175
|
}
|
|
200
176
|
.context-menu[data-v-7e8a1cf6] {
|
|
@@ -252,11 +228,30 @@ g text{
|
|
|
252
228
|
fill: #fff;
|
|
253
229
|
stroke: #666;
|
|
254
230
|
stroke-width: 2;
|
|
231
|
+
}
|
|
232
|
+
.passed-tache .task-tache{
|
|
233
|
+
fill: green;
|
|
234
|
+
stroke: green;
|
|
235
|
+
stroke-width: 2;
|
|
236
|
+
}
|
|
237
|
+
.current-tache .task-tache{
|
|
238
|
+
fill: red;
|
|
239
|
+
stroke: red;
|
|
240
|
+
stroke-width: 2;
|
|
241
|
+
}
|
|
242
|
+
.passed-tache text{
|
|
243
|
+
fill:white;
|
|
244
|
+
}
|
|
245
|
+
.current-tache text{
|
|
246
|
+
fill: white
|
|
255
247
|
}
|
|
256
248
|
|
|
257
|
-
.
|
|
258
|
-
|
|
259
|
-
|
|
249
|
+
.svg-icon {
|
|
250
|
+
width: 1em;
|
|
251
|
+
height: 1em;
|
|
252
|
+
vertical-align: -0.15em;
|
|
253
|
+
fill: currentColor;
|
|
254
|
+
overflow: hidden;
|
|
260
255
|
}
|
|
261
256
|
|
|
262
257
|
.decision{
|
|
@@ -264,43 +259,21 @@ g text{
|
|
|
264
259
|
fill:#fff;
|
|
265
260
|
}
|
|
266
261
|
|
|
267
|
-
.
|
|
262
|
+
.start{
|
|
268
263
|
stroke-width: 0;
|
|
269
264
|
fill:#fff;
|
|
270
265
|
}
|
|
271
266
|
|
|
272
|
-
.
|
|
267
|
+
.end{
|
|
273
268
|
stroke-width: 0;
|
|
274
269
|
fill:#fff;
|
|
275
270
|
}
|
|
276
|
-
|
|
277
|
-
width: 100%;
|
|
278
|
-
height: calc(100vh - 200px);
|
|
279
|
-
}
|
|
271
|
+
|
|
280
272
|
.decision{
|
|
281
273
|
stroke-width: 0;
|
|
282
274
|
fill:#fff;
|
|
283
275
|
}
|
|
284
276
|
|
|
285
|
-
.human-decision{
|
|
286
|
-
stroke-width: 0;
|
|
287
|
-
fill:#fff;
|
|
288
|
-
}
|
|
289
|
-
.tooltip[data-v-ac799913] {
|
|
290
|
-
position: absolute;
|
|
291
|
-
background: #fff;
|
|
292
|
-
min-width: 150px;
|
|
293
|
-
border-radius: 4px;
|
|
294
|
-
border: 1px solid #ebeef5;
|
|
295
|
-
padding: 12px;
|
|
296
|
-
z-index: 2000;
|
|
297
|
-
color: #606266;
|
|
298
|
-
line-height: 1.4;
|
|
299
|
-
text-align: justify;
|
|
300
|
-
font-size: 14px;
|
|
301
|
-
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
302
|
-
word-break: break-all;
|
|
303
|
-
}
|
|
304
277
|
.virtual-transition{
|
|
305
278
|
stroke-width: 2;
|
|
306
279
|
stroke:#000;
|
|
@@ -308,28 +281,9 @@ g text{
|
|
|
308
281
|
fill: none;
|
|
309
282
|
}
|
|
310
283
|
|
|
311
|
-
.
|
|
312
|
-
stroke:
|
|
313
|
-
|
|
314
|
-
fill: white;
|
|
315
|
-
fill-opacity: 0;
|
|
316
|
-
opacity: 1;
|
|
317
|
-
cursor: move;
|
|
318
|
-
}
|
|
319
|
-
.dashed{
|
|
320
|
-
stroke-dasharray: 10 2;
|
|
321
|
-
/* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
|
|
322
|
-
pointer-events:none;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
326
|
-
.properties-editor[data-v-1651d82a] .el-dialog__body {
|
|
327
|
-
padding-top: 0;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
331
|
-
.properties-editor[data-v-0e44fe8c] .el-dialog__body{
|
|
332
|
-
padding-top: 0
|
|
284
|
+
.decision{
|
|
285
|
+
stroke-width: 0;
|
|
286
|
+
fill:#fff;
|
|
333
287
|
}
|
|
334
288
|
|
|
335
289
|
.transition[data-v-a1576cad] {
|
|
@@ -350,9 +304,33 @@ g text{
|
|
|
350
304
|
.no-events[data-v-a1576cad] {
|
|
351
305
|
pointer-events: none;
|
|
352
306
|
}
|
|
307
|
+
|
|
308
|
+
.human-decision{
|
|
309
|
+
stroke-width: 0;
|
|
310
|
+
fill:#fff;
|
|
311
|
+
}
|
|
353
312
|
|
|
354
313
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
355
|
-
.properties-editor[data-v-
|
|
314
|
+
.properties-editor[data-v-1651d82a] .el-dialog__body {
|
|
315
|
+
padding-top: 0;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.selection-region{
|
|
319
|
+
stroke: blue;
|
|
320
|
+
stroke-width: 1;
|
|
321
|
+
fill: white;
|
|
322
|
+
fill-opacity: 0;
|
|
323
|
+
opacity: 1;
|
|
324
|
+
cursor: move;
|
|
325
|
+
}
|
|
326
|
+
.dashed{
|
|
327
|
+
stroke-dasharray: 10 2;
|
|
328
|
+
/* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
|
|
329
|
+
pointer-events:none;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
333
|
+
.properties-editor[data-v-0e44fe8c] .el-dialog__body{
|
|
356
334
|
padding-top: 0
|
|
357
335
|
}
|
|
358
336
|
|
|
@@ -361,11 +339,39 @@ g text{
|
|
|
361
339
|
padding-top: 0
|
|
362
340
|
}
|
|
363
341
|
|
|
342
|
+
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
343
|
+
.properties-editor[data-v-af76d417] .el-dialog__body{
|
|
344
|
+
padding-top: 0
|
|
345
|
+
}
|
|
346
|
+
#_subprocess-content[data-v-2b195c05] {
|
|
347
|
+
width: 100%;
|
|
348
|
+
height: calc(100vh - 200px);
|
|
349
|
+
}.tooltip[data-v-ac799913] {
|
|
350
|
+
position: absolute;
|
|
351
|
+
background: #fff;
|
|
352
|
+
min-width: 150px;
|
|
353
|
+
border-radius: 4px;
|
|
354
|
+
border: 1px solid #ebeef5;
|
|
355
|
+
padding: 12px;
|
|
356
|
+
z-index: 2000;
|
|
357
|
+
color: #606266;
|
|
358
|
+
line-height: 1.4;
|
|
359
|
+
text-align: justify;
|
|
360
|
+
font-size: 14px;
|
|
361
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
362
|
+
word-break: break-all;
|
|
363
|
+
}
|
|
364
364
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
365
365
|
.properties-editor[data-v-bd66d235] .el-dialog__body{
|
|
366
366
|
padding-top: 0
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
+
.resizer{
|
|
370
|
+
stroke: blue;
|
|
371
|
+
stroke-width: 1;
|
|
372
|
+
fill: white;
|
|
373
|
+
}
|
|
374
|
+
|
|
369
375
|
.joint-container{
|
|
370
376
|
stroke-width: 0;
|
|
371
377
|
fill: #fff;
|
|
@@ -381,10 +387,20 @@ g text{
|
|
|
381
387
|
fill-opacity: 1;
|
|
382
388
|
}
|
|
383
389
|
|
|
384
|
-
.
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
390
|
+
.control-point[data-v-0ff53a0a]{
|
|
391
|
+
fill: #fff;
|
|
392
|
+
cursor: move;
|
|
393
|
+
}
|
|
394
|
+
.control-line[data-v-0ff53a0a] {
|
|
395
|
+
stroke-dasharray: 2 2
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.control-point[data-v-788fb0ae]{
|
|
399
|
+
fill: #fff;
|
|
400
|
+
cursor: move;
|
|
401
|
+
}
|
|
402
|
+
.control-line[data-v-788fb0ae] {
|
|
403
|
+
stroke-dasharray: 2 2
|
|
388
404
|
}
|
|
389
405
|
|
|
390
406
|
.percent[data-v-a219b06d] {
|
|
@@ -406,50 +422,20 @@ ul li[data-v-39fac73c] {
|
|
|
406
422
|
.sub-li[data-v-39fac73c] {
|
|
407
423
|
padding-left: 10px;
|
|
408
424
|
}
|
|
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
425
|
.percent[data-v-c1c7385b]{
|
|
418
426
|
margin-left: 10px;
|
|
419
427
|
color:red;
|
|
420
428
|
font-size:1.2em;
|
|
421
429
|
}
|
|
422
430
|
|
|
423
|
-
.el-checkbox[data-v-5fb29fef]{
|
|
424
|
-
margin-left: 20px;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
431
|
.percent[data-v-6aef99ff]{
|
|
428
432
|
margin-left: 10px;
|
|
429
433
|
color:red;
|
|
430
434
|
font-size:1.2em;
|
|
431
435
|
}
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}
|
|
436
|
-
.item[data-v-98300543] {
|
|
437
|
-
float: left;
|
|
438
|
-
list-style-type: none;
|
|
439
|
-
width: 33.33%;
|
|
440
|
-
margin-bottom: 18px;
|
|
441
|
-
}
|
|
442
|
-
.item-content[data-v-98300543] {
|
|
443
|
-
height: calc(100vh - 300px);
|
|
444
|
-
padding-left: 20px;
|
|
445
|
-
overflow: auto;
|
|
446
|
-
}
|
|
447
|
-
.control-point[data-v-0ff53a0a]{
|
|
448
|
-
fill: #fff;
|
|
449
|
-
cursor: move;
|
|
450
|
-
}
|
|
451
|
-
.control-line[data-v-0ff53a0a] {
|
|
452
|
-
stroke-dasharray: 2 2
|
|
436
|
+
|
|
437
|
+
.el-checkbox[data-v-5fb29fef]{
|
|
438
|
+
margin-left: 20px;
|
|
453
439
|
}
|
|
454
440
|
|
|
455
441
|
.el-tag + .el-tag[data-v-aaf48aff] {
|
|
@@ -473,11 +459,32 @@ select[data-v-aaf48aff]{
|
|
|
473
459
|
height: 32px;
|
|
474
460
|
line-height: 32px;
|
|
475
461
|
}
|
|
476
|
-
|
|
462
|
+
.group[data-v-98300543] {
|
|
463
|
+
font-size: 14px;
|
|
464
|
+
width: 100%;
|
|
465
|
+
}
|
|
466
|
+
.item[data-v-98300543] {
|
|
467
|
+
float: left;
|
|
468
|
+
list-style-type: none;
|
|
469
|
+
width: 33.33%;
|
|
470
|
+
margin-bottom: 18px;
|
|
471
|
+
}
|
|
472
|
+
.item-content[data-v-98300543] {
|
|
473
|
+
height: calc(100vh - 300px);
|
|
474
|
+
padding-left: 20px;
|
|
475
|
+
overflow: auto;
|
|
476
|
+
}
|
|
477
477
|
span[data-v-4e29ea06] {
|
|
478
478
|
margin: 0 10px;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
+
.searchResult {
|
|
482
|
+
color:red
|
|
483
|
+
}
|
|
484
|
+
.inline-input-custom {
|
|
485
|
+
width : 90%
|
|
486
|
+
}
|
|
487
|
+
|
|
481
488
|
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
482
489
|
height: 500px;
|
|
483
490
|
}
|
|
@@ -516,10 +523,3 @@ span[data-v-4e29ea06] {
|
|
|
516
523
|
.inline-input-custom {
|
|
517
524
|
width : 90%
|
|
518
525
|
}
|
|
519
|
-
|
|
520
|
-
.searchResult {
|
|
521
|
-
color:red
|
|
522
|
-
}
|
|
523
|
-
.inline-input-custom {
|
|
524
|
-
width : 90%
|
|
525
|
-
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workflow-editor",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.81-up-
|
|
4
|
+
"version": "0.0.81-up-tmp17",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.cjs",
|
|
7
|
-
"module": "./es/index.
|
|
7
|
+
"module": "./es/index.js",
|
|
8
8
|
"files": [
|
|
9
9
|
"dist/*",
|
|
10
10
|
"es/*",
|
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
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/es/workflow-editor/src/main/{wf-history-canvas.vue2.mjs → wf-history-canvas.vue2.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/es/workflow-editor/src/properties-editors/common/{reminder.vue2.mjs → reminder.vue2.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/es/workflow-editor/src/properties-editors/common/{task-title.vue2.mjs → task-title.vue2.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/es/workflow-editor/src/properties-editors/{human-task.vue2.mjs → human-task.vue2.js}
RENAMED
|
File without changes
|
/package/es/workflow-editor/src/properties-editors/{subprocess.vue2.mjs → subprocess.vue2.js}
RENAMED
|
File without changes
|
/package/es/workflow-editor/src/properties-editors/{transition.vue2.mjs → transition.vue2.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|