workflow-editor 0.0.81-up-tmp15 → 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 +119 -119
- 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 +108 -108
- package/package.json +1 -1
- 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,7 +1,7 @@
|
|
|
1
|
-
import o from "./workflow-editor/index.
|
|
2
|
-
import r from "./plugins/index.
|
|
3
|
-
import { default as default2 } from "./src/i18n/langs/cn.
|
|
4
|
-
import { default as default3 } from "./src/i18n/langs/en.
|
|
1
|
+
import o from "./workflow-editor/index.js";
|
|
2
|
+
import r from "./plugins/index.js";
|
|
3
|
+
import { default as default2 } from "./src/i18n/langs/cn.js";
|
|
4
|
+
import { default as default3 } from "./src/i18n/langs/en.js";
|
|
5
5
|
const n = o.WorkflowEditor, t = o.WorkflowHistory, i = o.wfEditorStore, s = [n, t], e = function(o2) {
|
|
6
6
|
e.installed || (s.forEach((r2) => {
|
|
7
7
|
o2.component(r2.name, r2);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "../node_modules/async-validator/dist-web/index.
|
|
2
|
-
import { getI18n as t } from "../workflow-editor/src/util.
|
|
1
|
+
import e from "../node_modules/async-validator/dist-web/index.js";
|
|
2
|
+
import { getI18n as t } from "../workflow-editor/src/util.js";
|
|
3
3
|
import { parseSubTablePermissionCondition as n } from "agilebuilder-ui";
|
|
4
4
|
function o(e2, n2) {
|
|
5
5
|
const o2 = {}, r2 = e2.dataType;
|
|
@@ -104,8 +104,8 @@ function u(e2, t2, o2, i2, r2, s2, l2, d2, f2) {
|
|
|
104
104
|
const g = e2[c2];
|
|
105
105
|
if (f2.indexOf(g) < 0)
|
|
106
106
|
continue;
|
|
107
|
-
const b = t2[g],
|
|
108
|
-
if (null !=
|
|
107
|
+
const b = t2[g], p = b.condition, m = n(p, i2, r2, o2, s2, l2, d2);
|
|
108
|
+
if (null != m && true === m)
|
|
109
109
|
if (void 0 === u2)
|
|
110
110
|
a2[g] = b;
|
|
111
111
|
else {
|
|
@@ -123,22 +123,22 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
|
|
|
123
123
|
const f2 = Object.keys(t2);
|
|
124
124
|
if (f2.indexOf("rules") >= 0 && f2.indexOf("subRules") >= 0 && f2.indexOf("totalSubRules") >= 0) {
|
|
125
125
|
const f3 = t2.rules, c2 = t2.subRules, g = t2.totalSubRules, b = t2.dataTypeMap;
|
|
126
|
-
let
|
|
127
|
-
return (!l2 && true ===
|
|
126
|
+
let p = d(e2, f3, null, n2, null, null, l2);
|
|
127
|
+
return (!l2 && true === p || l2 && true === p.msg) && (c2 || g) && (p = function(e3, t3, n3, o3, i3, r3, s3, l3, f4, c3) {
|
|
128
128
|
let g2 = {};
|
|
129
129
|
if (n3 && (g2 = JSON.parse(JSON.stringify(n3))), t3) {
|
|
130
130
|
const n4 = Object.keys(t3);
|
|
131
131
|
for (let b2 = 0; b2 < n4.length; b2++) {
|
|
132
|
-
const
|
|
133
|
-
let O = e3[
|
|
132
|
+
const p2 = n4[b2], m = t3[p2], w = Object.keys(m);
|
|
133
|
+
let O = e3[p2];
|
|
134
134
|
O || (O = []);
|
|
135
|
-
const x = a(g2, e3,
|
|
135
|
+
const x = a(g2, e3, p2);
|
|
136
136
|
if (true !== x)
|
|
137
|
-
return delete g2[
|
|
137
|
+
return delete g2[p2], c3 ? { msg: x, listCode: p2 } : x;
|
|
138
138
|
let y, E = [];
|
|
139
|
-
f4 && f4[
|
|
139
|
+
f4 && f4[p2] && (y = f4[p2].pageSize, E = f4[p2].fields || []);
|
|
140
140
|
for (let t4 = 0; t4 < O.length; t4++) {
|
|
141
|
-
const n5 = O[t4], f5 = u(w,
|
|
141
|
+
const n5 = O[t4], f5 = u(w, m, O[t4], i3, e3, r3, s3, l3, E);
|
|
142
142
|
let a2, g3;
|
|
143
143
|
void 0 !== y && y > 0 && (a2 = Math.ceil((t4 + 1) / y), g3 = t4 + 1 - (a2 - 1) * y), Object.keys(f5).forEach((o4) => {
|
|
144
144
|
const i4 = f5[o4];
|
|
@@ -149,7 +149,7 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
|
|
|
149
149
|
});
|
|
150
150
|
const b3 = d(n5, f5, t4, o3, a2, g3, c3);
|
|
151
151
|
if (!c3 && true !== b3 || c3 && true !== b3.msg)
|
|
152
|
-
return c3 && (b3.listCode =
|
|
152
|
+
return c3 && (b3.listCode = p2), b3;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -159,7 +159,7 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
|
|
|
159
159
|
return c3 ? { msg: n4, listCode: t4 } : n4;
|
|
160
160
|
}
|
|
161
161
|
return !c3 || { msg: true };
|
|
162
|
-
}(e2, c2, g, n2, b, o2, i2, r2, s2, l2)),
|
|
162
|
+
}(e2, c2, g, n2, b, o2, i2, r2, s2, l2)), p;
|
|
163
163
|
}
|
|
164
164
|
return d(e2, t2, null, n2, null, null, l2);
|
|
165
165
|
}, getValidator: function(e2, i2, r2, s2, d2, f2) {
|
|
@@ -170,9 +170,9 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
|
|
|
170
170
|
if (void 0 !== b && true === b) {
|
|
171
171
|
let b2 = e3.name;
|
|
172
172
|
if (b2) {
|
|
173
|
-
const
|
|
173
|
+
const p = e3.condition, m = null;
|
|
174
174
|
let w = null;
|
|
175
|
-
if (w = b2.indexOf(".") > 0 && 0 === b2.indexOf("$") || n(
|
|
175
|
+
if (w = b2.indexOf(".") > 0 && 0 === b2.indexOf("$") || n(p, a2, m, i2, s2, d2, f2), null != w && true === w) {
|
|
176
176
|
let n2 = {};
|
|
177
177
|
if (b2.indexOf(".") > 0)
|
|
178
178
|
0 === b2.indexOf("$") ? function(e4, t2, n3, i3, r3) {
|
package/es/style.css
CHANGED
|
@@ -126,14 +126,6 @@ section[data-v-6658e14b] {
|
|
|
126
126
|
.canvas[data-v-6658e14b] .draggable {
|
|
127
127
|
cursor: default;
|
|
128
128
|
}
|
|
129
|
-
.svg-icon {
|
|
130
|
-
width: 1em;
|
|
131
|
-
height: 1em;
|
|
132
|
-
vertical-align: -0.15em;
|
|
133
|
-
fill: currentColor;
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
129
|
#svg{
|
|
138
130
|
/* border:1px solid red; */
|
|
139
131
|
background: white;
|
|
@@ -180,6 +172,45 @@ g text{
|
|
|
180
172
|
.current-tache text{
|
|
181
173
|
fill: white
|
|
182
174
|
}
|
|
175
|
+
|
|
176
|
+
#svg{
|
|
177
|
+
/* border:1px solid red; */
|
|
178
|
+
background: white;
|
|
179
|
+
background-image:
|
|
180
|
+
linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),
|
|
181
|
+
linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),
|
|
182
|
+
linear-gradient(#e5e5e5 1px, transparent 0),
|
|
183
|
+
linear-gradient(90deg,#e5e5e5 1px, transparent 0);
|
|
184
|
+
background-size:
|
|
185
|
+
15px 15px,
|
|
186
|
+
15px 15px,
|
|
187
|
+
75px 75px,
|
|
188
|
+
75px 75px;
|
|
189
|
+
}
|
|
190
|
+
g{
|
|
191
|
+
font-size: 16px;
|
|
192
|
+
}
|
|
193
|
+
g text{
|
|
194
|
+
dominant-baseline: middle;
|
|
195
|
+
}
|
|
196
|
+
.selected{
|
|
197
|
+
fill: #fff;
|
|
198
|
+
stroke: #f00;
|
|
199
|
+
stroke-width: 2;
|
|
200
|
+
}
|
|
201
|
+
.task-tache{
|
|
202
|
+
fill: #fff;
|
|
203
|
+
stroke: #666;
|
|
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
|
+
}
|
|
183
214
|
h3[data-v-0d941719] {
|
|
184
215
|
color: #999999;
|
|
185
216
|
margin: 0;
|
|
@@ -223,42 +254,6 @@ h3[data-v-0d941719] {
|
|
|
223
254
|
li[data-v-7e8a1cf6] {
|
|
224
255
|
list-style-type: none;
|
|
225
256
|
}
|
|
226
|
-
#svg{
|
|
227
|
-
/* border:1px solid red; */
|
|
228
|
-
background: white;
|
|
229
|
-
background-image:
|
|
230
|
-
linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),
|
|
231
|
-
linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),
|
|
232
|
-
linear-gradient(#e5e5e5 1px, transparent 0),
|
|
233
|
-
linear-gradient(90deg,#e5e5e5 1px, transparent 0);
|
|
234
|
-
background-size:
|
|
235
|
-
15px 15px,
|
|
236
|
-
15px 15px,
|
|
237
|
-
75px 75px,
|
|
238
|
-
75px 75px;
|
|
239
|
-
}
|
|
240
|
-
g{
|
|
241
|
-
font-size: 16px;
|
|
242
|
-
}
|
|
243
|
-
g text{
|
|
244
|
-
dominant-baseline: middle;
|
|
245
|
-
}
|
|
246
|
-
.selected{
|
|
247
|
-
fill: #fff;
|
|
248
|
-
stroke: #f00;
|
|
249
|
-
stroke-width: 2;
|
|
250
|
-
}
|
|
251
|
-
.task-tache{
|
|
252
|
-
fill: #fff;
|
|
253
|
-
stroke: #666;
|
|
254
|
-
stroke-width: 2;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.decision{
|
|
258
|
-
stroke-width: 0;
|
|
259
|
-
fill:#fff;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
257
|
.start{
|
|
263
258
|
stroke-width: 0;
|
|
264
259
|
fill:#fff;
|
|
@@ -273,18 +268,29 @@ g text{
|
|
|
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
|
-
.
|
|
286
|
-
|
|
287
|
-
|
|
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;
|
|
288
294
|
}
|
|
289
295
|
.tooltip[data-v-ac799913] {
|
|
290
296
|
position: absolute;
|
|
@@ -301,13 +307,14 @@ g text{
|
|
|
301
307
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
302
308
|
word-break: break-all;
|
|
303
309
|
}
|
|
304
|
-
.
|
|
305
|
-
stroke-width:
|
|
306
|
-
|
|
307
|
-
stroke-dasharray: 2 2;
|
|
308
|
-
fill: none;
|
|
310
|
+
.decision{
|
|
311
|
+
stroke-width: 0;
|
|
312
|
+
fill:#fff;
|
|
309
313
|
}
|
|
310
|
-
|
|
314
|
+
#_subprocess-content[data-v-2b195c05] {
|
|
315
|
+
width: 100%;
|
|
316
|
+
height: calc(100vh - 200px);
|
|
317
|
+
}
|
|
311
318
|
.selection-region{
|
|
312
319
|
stroke: blue;
|
|
313
320
|
stroke-width: 1;
|
|
@@ -321,6 +328,18 @@ g text{
|
|
|
321
328
|
/* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
|
|
322
329
|
pointer-events:none;
|
|
323
330
|
}
|
|
331
|
+
|
|
332
|
+
.virtual-transition{
|
|
333
|
+
stroke-width: 2;
|
|
334
|
+
stroke:#000;
|
|
335
|
+
stroke-dasharray: 2 2;
|
|
336
|
+
fill: none;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.human-decision{
|
|
340
|
+
stroke-width: 0;
|
|
341
|
+
fill:#fff;
|
|
342
|
+
}
|
|
324
343
|
|
|
325
344
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
326
345
|
.properties-editor[data-v-1651d82a] .el-dialog__body {
|
|
@@ -331,41 +350,30 @@ g text{
|
|
|
331
350
|
.properties-editor[data-v-0e44fe8c] .el-dialog__body{
|
|
332
351
|
padding-top: 0
|
|
333
352
|
}
|
|
334
|
-
|
|
335
|
-
.transition[data-v-a1576cad] {
|
|
336
|
-
stroke-width: 2;
|
|
337
|
-
stroke: #666;
|
|
338
|
-
fill: none;
|
|
339
|
-
cursor: pointer;
|
|
340
|
-
}
|
|
341
|
-
.selected[data-v-a1576cad] {
|
|
342
|
-
stroke: red;
|
|
343
|
-
}
|
|
344
|
-
.transition-dragger[data-v-a1576cad] {
|
|
345
|
-
stroke: red;
|
|
346
|
-
stroke-width: 1;
|
|
347
|
-
fill: white;
|
|
348
|
-
cursor: move;
|
|
349
|
-
}
|
|
350
|
-
.no-events[data-v-a1576cad] {
|
|
351
|
-
pointer-events: none;
|
|
352
|
-
}
|
|
353
353
|
|
|
354
354
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
355
|
-
.properties-editor[data-v-
|
|
355
|
+
.properties-editor[data-v-adb7c2ff] .el-dialog__body{
|
|
356
356
|
padding-top: 0
|
|
357
357
|
}
|
|
358
358
|
|
|
359
359
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
360
|
-
.properties-editor[data-v-
|
|
360
|
+
.properties-editor[data-v-bd66d235] .el-dialog__body{
|
|
361
361
|
padding-top: 0
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
365
|
-
.properties-editor[data-v-
|
|
365
|
+
.properties-editor[data-v-af76d417] .el-dialog__body{
|
|
366
366
|
padding-top: 0
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
+
.control-point[data-v-0ff53a0a]{
|
|
370
|
+
fill: #fff;
|
|
371
|
+
cursor: move;
|
|
372
|
+
}
|
|
373
|
+
.control-line[data-v-0ff53a0a] {
|
|
374
|
+
stroke-dasharray: 2 2
|
|
375
|
+
}
|
|
376
|
+
|
|
369
377
|
.joint-container{
|
|
370
378
|
stroke-width: 0;
|
|
371
379
|
fill: #fff;
|
|
@@ -381,10 +389,16 @@ g text{
|
|
|
381
389
|
fill-opacity: 1;
|
|
382
390
|
}
|
|
383
391
|
|
|
384
|
-
.
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
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;
|
|
388
402
|
}
|
|
389
403
|
|
|
390
404
|
.percent[data-v-a219b06d] {
|
|
@@ -393,8 +407,10 @@ g text{
|
|
|
393
407
|
font-size: 1.2em;
|
|
394
408
|
}
|
|
395
409
|
|
|
396
|
-
.
|
|
397
|
-
|
|
410
|
+
.resizer{
|
|
411
|
+
stroke: blue;
|
|
412
|
+
stroke-width: 1;
|
|
413
|
+
fill: white;
|
|
398
414
|
}
|
|
399
415
|
ul[data-v-39fac73c] {
|
|
400
416
|
margin: 0;
|
|
@@ -406,52 +422,22 @@ ul li[data-v-39fac73c] {
|
|
|
406
422
|
.sub-li[data-v-39fac73c] {
|
|
407
423
|
padding-left: 10px;
|
|
408
424
|
}
|
|
409
|
-
.
|
|
410
|
-
fill: #fff;
|
|
411
|
-
cursor: move;
|
|
412
|
-
}
|
|
413
|
-
.control-line[data-v-788fb0ae] {
|
|
414
|
-
stroke-dasharray: 2 2
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
.percent[data-v-c1c7385b]{
|
|
425
|
+
.percent[data-v-6aef99ff]{
|
|
418
426
|
margin-left: 10px;
|
|
419
427
|
color:red;
|
|
420
428
|
font-size:1.2em;
|
|
421
429
|
}
|
|
422
430
|
|
|
423
|
-
.control-point[data-v-0ff53a0a]{
|
|
424
|
-
fill: #fff;
|
|
425
|
-
cursor: move;
|
|
426
|
-
}
|
|
427
|
-
.control-line[data-v-0ff53a0a] {
|
|
428
|
-
stroke-dasharray: 2 2
|
|
429
|
-
}
|
|
430
|
-
|
|
431
431
|
.el-checkbox[data-v-5fb29fef]{
|
|
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;
|
|
439
439
|
}
|
|
440
|
-
|
|
441
|
-
font-size: 14px;
|
|
442
|
-
width: 100%;
|
|
443
|
-
}
|
|
444
|
-
.item[data-v-98300543] {
|
|
445
|
-
float: left;
|
|
446
|
-
list-style-type: none;
|
|
447
|
-
width: 33.33%;
|
|
448
|
-
margin-bottom: 18px;
|
|
449
|
-
}
|
|
450
|
-
.item-content[data-v-98300543] {
|
|
451
|
-
height: calc(100vh - 300px);
|
|
452
|
-
padding-left: 20px;
|
|
453
|
-
overflow: auto;
|
|
454
|
-
}
|
|
440
|
+
|
|
455
441
|
.el-tag + .el-tag[data-v-aaf48aff] {
|
|
456
442
|
margin-left: 10px;
|
|
457
443
|
}
|
|
@@ -473,7 +459,21 @@ 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
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import o from "./src/workflow-editor.vue.js";
|
|
2
|
+
import r from "./src/store/workflow-editor.js";
|
|
3
|
+
import t from "./src/workflow-history.vue.js";
|
|
4
|
+
o.install = function(r2) {
|
|
5
|
+
r2.component(o.name, o), r2.component(t.name, t);
|
|
6
|
+
};
|
|
7
|
+
const e = { WorkflowEditor: o, WorkflowHistory: t, wfEditorStore: r };
|
|
8
|
+
export {
|
|
9
|
+
e as default
|
|
10
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import i from "../../../src/i18n/i18n.
|
|
1
|
+
import i from "../../../src/i18n/i18n.js";
|
|
2
2
|
function n() {
|
|
3
3
|
return { attr: { id: "", name: i.global.t("workflowEditor.task.newAutoTask") }, g: {}, taskNotice: {}, basicProperties: { beanName: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import i from "../../../src/i18n/i18n.
|
|
1
|
+
import i from "../../../src/i18n/i18n.js";
|
|
2
2
|
function n() {
|
|
3
3
|
return { attr: { id: "", name: i.global.t("workflowEditor.task.newCc") }, g: {}, taskNotice: {}, basicProperties: { taskTitle: "", remark: "", taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from "../../../src/i18n/i18n.
|
|
1
|
+
import n from "../../../src/i18n/i18n.js";
|
|
2
2
|
function i() {
|
|
3
3
|
return { attr: { id: "newHumanTask", name: n.global.t("workflowEditor.task.newTask") }, g: {}, basicProperties: { processingMode: { type: "EDIT", passRate: 0, moreTransactor: false, actions: { action: [] } }, taskCode: "", taskTitle: "", remark: "", mailNotice: false, taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, permissionSettings: { editForm: { permission: false, field: [], subTablePermission: [{ tableName: "sub_table1", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }, { tableName: "sub_table2", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } }, autoFilledFields: { field: [] }, reminder: null, events: { afterComplete: false }, variables: { variable: [] } };
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "./human-task.
|
|
2
|
-
import r from "../../../src/i18n/i18n.
|
|
1
|
+
import e from "./human-task.js";
|
|
2
|
+
import r from "../../../src/i18n/i18n.js";
|
|
3
3
|
function t() {
|
|
4
4
|
const t2 = e();
|
|
5
5
|
return t2.g = { x: 200, y: 150, width: 80, height: 40 }, { attr: { name: r.global.t("workflowEditor.task.newProcess"), code: "" }, properties: { basicProperties: { admin: "", formVersion: 1, formCode: "", processTypeCode: "", systemCode: "", creator: "", customType: "", branchCode: "" }, permissionSettings: { viewFlowHistory: "", viewSubscribeResult: "", viewVoteResult: "" }, reminder: null, parameterSettings: { doTask: { url: "", parameterName: "" }, viewForm: { url: "", parameterName: "" }, startProcess: { url: "", parameterName: "", parameterValue: "" }, handleEmergency: { url: "", parameterName: "" } }, events: { event: [] }, variables: { variable: [] } }, start: { attr: { id: "start" }, g: { x: 50, y: 50, width: 48, height: 48 } }, humanTask: t2, end: { attr: { id: "end" }, g: { x: 500, y: 300, width: 48, height: 48 } } };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import t from "../../../src/i18n/i18n.
|
|
1
|
+
import t from "../../../src/i18n/i18n.js";
|
|
2
2
|
function e() {
|
|
3
3
|
return { attr: { id: "", name: t.global.t("workflowEditor.task.subprocess"), taskTitle: "" }, g: {}, processCode: "", processVersion: "", events: { beforeStart: "", end: false }, transactorSettings: { userCondition: "", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, parameters: { field: [] }, result: { field: [] } };
|
|
4
4
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveComponent as e, openBlock as o, createBlock as i, withCtx as l, createVNode as t, createTextVNode as d, toDisplayString as a, createElementVNode as n } from "vue";
|
|
2
|
-
import r from "../../../_virtual/_plugin-vue_export-helper.
|
|
2
|
+
import r from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
3
|
const s = r({ name: "AdminSaveDialog", data: () => ({ dialogVisible: true }), methods: { updateWfVersion() {
|
|
4
4
|
this.$emit("update");
|
|
5
5
|
}, addWfVersion() {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import o from "../taches/start.vue.
|
|
2
|
-
import i from "../taches/end.vue.
|
|
3
|
-
import t from "../taches/human-task.vue.
|
|
4
|
-
import e from "../taches/decision.vue.
|
|
5
|
-
import s from "../taches/subprocess.vue.
|
|
6
|
-
import r from "../taches/custom-task.vue.
|
|
7
|
-
import n from "../taches/fork.vue.
|
|
8
|
-
import h from "../taches/join.vue.
|
|
9
|
-
import a from "../taches/human-decision.vue.
|
|
10
|
-
import l from "../taches/copy-task.vue.
|
|
11
|
-
import u from "../taches/auto-task.vue.
|
|
12
|
-
import c from "../transitions/transition.vue.
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import v from "../properties-editors/decision.vue.
|
|
18
|
-
import T from "../properties-editors/transition.vue.
|
|
19
|
-
import f from "../properties-editors/fork.vue.
|
|
20
|
-
import P from "../properties-editors/join.vue.
|
|
21
|
-
import y from "../properties-editors/human-decision.vue.
|
|
22
|
-
import w from "../properties-editors/copy-task.vue.
|
|
23
|
-
import M from "../properties-editors/auto-task.vue.
|
|
24
|
-
import j from "../properties-editors/subprocess.vue.
|
|
25
|
-
import k from "./tache-history-tooltip.vue.
|
|
1
|
+
import o from "../taches/start.vue.js";
|
|
2
|
+
import i from "../taches/end.vue.js";
|
|
3
|
+
import t from "../taches/human-task.vue.js";
|
|
4
|
+
import e from "../taches/decision.vue.js";
|
|
5
|
+
import s from "../taches/subprocess.vue.js";
|
|
6
|
+
import r from "../taches/custom-task.vue.js";
|
|
7
|
+
import n from "../taches/fork.vue.js";
|
|
8
|
+
import h from "../taches/join.vue.js";
|
|
9
|
+
import a from "../taches/human-decision.vue.js";
|
|
10
|
+
import l from "../taches/copy-task.vue.js";
|
|
11
|
+
import u from "../taches/auto-task.vue.js";
|
|
12
|
+
import c from "../transitions/transition.vue.js";
|
|
13
|
+
import d from "../transitions/virtual-transition.vue.js";
|
|
14
|
+
import p from "./selection-region.vue.js";
|
|
15
|
+
import g from "../properties-editors/human-task.vue.js";
|
|
16
|
+
import m from "../properties-editors/process.vue.js";
|
|
17
|
+
import v from "../properties-editors/decision.vue.js";
|
|
18
|
+
import T from "../properties-editors/transition.vue.js";
|
|
19
|
+
import f from "../properties-editors/fork.vue.js";
|
|
20
|
+
import P from "../properties-editors/join.vue.js";
|
|
21
|
+
import y from "../properties-editors/human-decision.vue.js";
|
|
22
|
+
import w from "../properties-editors/copy-task.vue.js";
|
|
23
|
+
import M from "../properties-editors/auto-task.vue.js";
|
|
24
|
+
import j from "../properties-editors/subprocess.vue.js";
|
|
25
|
+
import k from "./tache-history-tooltip.vue.js";
|
|
26
26
|
import { mapGetters as x, mapMutations as R } from "vuex";
|
|
27
|
-
import { getMousePosition as E, clearAllSelectedComponents as S, getVirtualRegion as H, getRealRegion as I } from "../util.
|
|
27
|
+
import { getMousePosition as E, clearAllSelectedComponents as S, getVirtualRegion as H, getRealRegion as I } from "../util.js";
|
|
28
28
|
import { resolveComponent as D, openBlock as C, createElementBlock as J, Fragment as b, renderList as z, createBlock as L, resolveDynamicComponent as F, createVNode as W, createCommentVNode as A, normalizeStyle as N, createElementVNode as V } from "vue";
|
|
29
|
-
import "./canvas.vue2.
|
|
30
|
-
import B from "../../../_virtual/_plugin-vue_export-helper.
|
|
31
|
-
const _ = { name: "Canvas", components: { Start: o, End: i, HumanTask: t, Decision: e, Subprocess: s, CustomTask: r, Fork: n, Join: h, HumanDecision: a, CopyTask: l, Transition: c, VirtualTransition:
|
|
29
|
+
import "./canvas.vue2.js";
|
|
30
|
+
import B from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
31
|
+
const _ = { name: "Canvas", components: { Start: o, End: i, HumanTask: t, Decision: e, Subprocess: s, CustomTask: r, Fork: n, Join: h, HumanDecision: a, CopyTask: l, Transition: c, VirtualTransition: d, SelectionRegion: p, HumanTaskPropertiesEditor: g, ProcessPropertiesEditor: m, DecisionPropertiesEditor: v, TransitionPropertiesEditor: T, ForkPropertiesEditor: f, JoinPropertiesEditor: P, HumanDecisionPropertiesEditor: y, CopyTaskPropertiesEditor: w, SubprocessPropertiesEditor: j, TacheHistoryTooltip: k, AutoTask: u, AutoTaskPropertiesEditor: M }, props: { process: { type: Object, default: null }, showHistory: { type: Boolean, default: false } }, data: function() {
|
|
32
32
|
return { inputArea: null, currentPosition: null, originPosition: null, offset: null, startPoint: null, region: null, endPoint: null, transitionsInRegion: [], showTacheHistory: false, tooltipPosition: null };
|
|
33
33
|
}, computed: { ...x("wfEditor", ["taches", "transitions", "isMovingTache", "mouseDownPosition", "startJoint", "endJoint", "isDrawingRegion", "isMovingRegion", "selectedTransition", "selectedTaches", "resizerToMove", "draggerToMove", "controlPointToMove", "propertiesEditorFor", "contextMenuVisible"]) }, watch: { propertiesEditorFor(o2, i2) {
|
|
34
34
|
} }, mounted: function() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { mapGetters as e, mapMutations as t } from "vuex";
|
|
2
|
-
import i from "./icon-svg.vue.
|
|
2
|
+
import i from "./icon-svg.vue.js";
|
|
3
3
|
import { resolveComponent as o, openBlock as s, createElementBlock as n, Fragment as r, renderList as c, withModifiers as h, createVNode as l, createElementVNode as a, toDisplayString as p } from "vue";
|
|
4
|
-
import "./context-menu.vue2.
|
|
5
|
-
import m from "../../../_virtual/_plugin-vue_export-helper.
|
|
4
|
+
import "./context-menu.vue2.js";
|
|
5
|
+
import m from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
6
|
const u = { name: "ContextMenu", components: { IconSvg: i }, data() {
|
|
7
7
|
return { menusForTransition: [{ name: "switch-line-type-StraightLine", label: this.$t("workflowEditor.main.straightLine"), icon: "switch" }, { name: "switch-line-type-CurveLine", label: this.$t("workflowEditor.main.curveLine"), icon: "switch" }, { name: "switch-line-type-BrokenLine", label: this.$t("workflowEditor.main.brokenLine"), icon: "switch" }, { name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForTache: [{ name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForProcess: [{ name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], componentsWithoutPropertiesEditor: ["Start", "End"] };
|
|
8
8
|
}, computed: { ...e("wfEditor", ["taches", "transitions", "selectedTransition", "selectedTaches"]), menuType() {
|