service-flow-designer 2.2.57 → 2.2.60
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/dist/es/designer/desginer-index.vue.js +2 -2
- package/dist/es/designer/desginer-index.vue2.js +28 -21
- package/dist/es/designer/service-panel/service-list.vue.js +1 -1
- package/dist/es/designer/service-panel/service-list.vue2.js +54 -65
- package/dist/es/style.css +17 -19
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./desginer-index.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const i = r(e, [["__scopeId", "data-v-7117ba9e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
|
@@ -3,31 +3,38 @@ import "element-plus/es/components/base/style/css";
|
|
|
3
3
|
import "element-plus/es/components/container/style/css";
|
|
4
4
|
import "element-plus/es/components/main/style/css";
|
|
5
5
|
import "element-plus/es/components/aside/style/css";
|
|
6
|
-
import { defineComponent as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
6
|
+
import { defineComponent as n, ref as s, computed as l, onMounted as a, createElementBlock as r, openBlock as i, createVNode as c, withCtx as p, normalizeStyle as u } from "vue";
|
|
7
|
+
import v from "./service-panel/service-panel.vue.js";
|
|
8
|
+
import m from "./service-flow-view/view-index.vue.js";
|
|
9
9
|
import "./service-components/index.js";
|
|
10
|
-
import { useServiceFlowStore as
|
|
11
|
-
import
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
import { useServiceFlowStore as g } from "../stores/page-store.js";
|
|
11
|
+
import d from "agilebuilder-ui/src/utils/request";
|
|
12
|
+
const f = n({ __name: "desginer-index", props: { pageContext: { type: Object, default: () => ({}) } }, setup(n2) {
|
|
13
|
+
const f2 = n2, w = s([]);
|
|
14
|
+
g().setPageContext(f2.pageContext);
|
|
15
|
+
const y = s(null), C = s(), x = s(), F = l(() => ({ height: x.value - 60 + "px" })), D = s();
|
|
16
|
+
a(() => {
|
|
17
|
+
if (I(), D.value) {
|
|
18
|
+
const e2 = D.value.getBoundingClientRect();
|
|
19
|
+
(e2.y || 0 === e2.y) && (x.value = window.innerHeight - e2.y);
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
const I = () => {
|
|
23
|
+
d.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow/tree/" + f2.pageContext.systemCode + "/" + f2.pageContext.systemVersion).then((e2) => {
|
|
24
|
+
e2 && (w.value = e2.children);
|
|
18
25
|
});
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
},
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
|
|
26
|
+
}, _ = (e2) => {
|
|
27
|
+
C.value.onDragNode(e2);
|
|
28
|
+
}, b = (e2) => {
|
|
29
|
+
C.value.onServiceClick(e2);
|
|
30
|
+
}, T = () => {
|
|
31
|
+
C.value.clearFlowCanvas(), y.value = null;
|
|
25
32
|
};
|
|
26
|
-
return (
|
|
27
|
-
const
|
|
28
|
-
return
|
|
33
|
+
return (s2, l2) => {
|
|
34
|
+
const a2 = t, g2 = o, d2 = e;
|
|
35
|
+
return i(), r("div", { ref_key: "serviceFlowContainerRef", ref: D }, [c(d2, { class: "amb-container" }, { default: p(() => [c(a2, { class: "serviceflow-container-left" }, { default: p(() => [c(v, { logicFlowInstance: y.value, "onUpdate:logicFlowInstance": l2[0] || (l2[0] = (e2) => y.value = e2), serviceTreeData: w.value, onServiceClick: b, onClearFlowCanvas: T, onLoadTreeData: I, onDragNode: _, style: u(F.value) }, null, 8, ["logicFlowInstance", "serviceTreeData", "style"])]), _: 1 }), c(g2, { class: "serviceflow-container-main", style: u(F.value) }, { default: p(() => [c(m, { logicFlowInstance: y.value, "onUpdate:logicFlowInstance": l2[1] || (l2[1] = (e2) => y.value = e2), serviceTreeData: w.value, pageContext: n2.pageContext, onLoadTreeData: I, ref_key: "serviceFlowViewRef", ref: C }, null, 8, ["logicFlowInstance", "serviceTreeData", "pageContext"])]), _: 1 }, 8, ["style"])]), _: 1 })], 512);
|
|
29
36
|
};
|
|
30
37
|
} });
|
|
31
38
|
export {
|
|
32
|
-
|
|
39
|
+
f as default
|
|
33
40
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElRow as e, ElCol as l, ElInput as
|
|
1
|
+
import { ElRow as e, ElCol as l, ElInput as t, ElIcon as a, ElTooltip as n, ElButton as o, ElTree as s, ElDialog as i, ElFormItem as u } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/dialog/style/css";
|
|
4
4
|
import "element-plus/es/components/form-item/style/css";
|
|
@@ -9,90 +9,79 @@ import "element-plus/es/components/row/style/css";
|
|
|
9
9
|
import "element-plus/es/components/col/style/css";
|
|
10
10
|
import "element-plus/es/components/input/style/css";
|
|
11
11
|
import "element-plus/es/components/icon/style/css";
|
|
12
|
-
import { defineComponent as
|
|
13
|
-
import { Search as
|
|
12
|
+
import { defineComponent as r, ref as p, createElementBlock as c, openBlock as d, createVNode as m, withDirectives as v, withCtx as f, unref as y, createElementVNode as g, createTextVNode as h, createBlock as b, toDisplayString as w, createCommentVNode as k, vShow as C } from "vue";
|
|
13
|
+
import { Search as x, Plus as _, Menu as V, Promotion as E } from "@element-plus/icons-vue";
|
|
14
14
|
import { v4 as N } from "uuid";
|
|
15
15
|
import U from "agilebuilder-ui/src/utils/request";
|
|
16
|
-
import { findServcieByCode as
|
|
17
|
-
import { useServiceFlowStore as
|
|
18
|
-
import { ElMessage as A, ElMessageBox as
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
|
|
16
|
+
import { findServcieByCode as T } from "../common/util/node-util.js";
|
|
17
|
+
import { useServiceFlowStore as O } from "../../stores/page-store.js";
|
|
18
|
+
import { ElMessage as A, ElMessageBox as I } from "element-plus";
|
|
19
|
+
const P = { class: "custom-tree-node" }, S = { style: { "margin-left": "5px", "line-height": "14px", "font-size": "14px" } }, R = { class: "dialog-footer" }, $ = r({ __name: "service-list", props: { serviceTreeData: { type: Array, default: () => [] } }, emits: ["service-click", "clear-flow-canvas", "load-tree-data"], setup(r2, { emit: $2 }) {
|
|
20
|
+
const z = O(), M = $2, D = { id: "id", label: "name" }, L = r2, J = p(""), j = p(), F = p(), q = p(false), B = p({}), G = p(false), H = p(""), K = p({}), Q = p({}), W = (e2, l2, t2, a2) => {
|
|
21
|
+
B.value = l2, q.value = true;
|
|
22
|
+
const n2 = document.documentElement.scrollTop || document.body.scrollTop;
|
|
23
|
+
j.value.style.display = "block", j.value.style.left = e2.x + "px", j.value.style.top = e2.y + n2 - 60 - 10 + "px", document.addEventListener("click", X);
|
|
24
|
+
}, X = () => {
|
|
25
|
+
q.value = false, document.removeEventListener("click", X);
|
|
26
|
+
}, Y = () => {
|
|
27
|
+
H.value = "MENU", le("root");
|
|
28
|
+
}, Z = (e2) => {
|
|
29
|
+
H.value = e2, le("leaf");
|
|
24
30
|
}, ee = () => {
|
|
25
|
-
|
|
26
|
-
}, le = () => {
|
|
27
|
-
K.value = "
|
|
28
|
-
}, ae = (e2) => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}, ne = r([]), se = (e2, l2, a2) => {
|
|
35
|
-
l2 ? (ne.value.push(e2.id), e2.children && e2.children.length > 0 && e2.children.forEach((e3) => {
|
|
36
|
-
-1 == ne.value.indexOf(e3.id) && ne.value.push(e3.id);
|
|
37
|
-
})) : (ne.value.splice(ne.value.indexOf(e2.id), 1), e2.children && e2.children.length > 0 && e2.children.forEach((e3) => {
|
|
38
|
-
let l3 = ne.value.indexOf(e3.id);
|
|
39
|
-
l3 > -1 && ne.value.splice(l3, 1);
|
|
31
|
+
H.value = B.value.type, K.value = JSON.parse(JSON.stringify(B.value)), K.value.children && delete K.value.children, G.value = true;
|
|
32
|
+
}, le = (e2) => {
|
|
33
|
+
K.value = { code: N(), name: "", customCode: "", type: H.value }, B.value.id && "leaf" === e2 && (K.value.parentCode = B.value.code), G.value = true;
|
|
34
|
+
}, te = p([]), ae = (e2, l2, t2) => {
|
|
35
|
+
l2 ? (te.value.push(e2.id), e2.children && e2.children.length > 0 && e2.children.forEach((e3) => {
|
|
36
|
+
-1 == te.value.indexOf(e3.id) && te.value.push(e3.id);
|
|
37
|
+
})) : (te.value.splice(te.value.indexOf(e2.id), 1), e2.children && e2.children.length > 0 && e2.children.forEach((e3) => {
|
|
38
|
+
let l3 = te.value.indexOf(e3.id);
|
|
39
|
+
l3 > -1 && te.value.splice(l3, 1);
|
|
40
40
|
}));
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
let l2 = new Blob([e2], { type: "application/zip" }),
|
|
44
|
-
|
|
41
|
+
}, ne = z.pageContext.systemCode, oe = z.pageContext.systemVersion, se = () => {
|
|
42
|
+
te.value.length > 0 ? U({ url: window.$vueApp.config.globalProperties.baseAPI + `/component/super-page-design/service-flow/export/${ne}/${oe}`, method: "post", data: te.value, responseType: "blob" }).then((e2) => {
|
|
43
|
+
let l2 = new Blob([e2], { type: "application/zip" }), t2 = document.createElement("a");
|
|
44
|
+
t2.href = window.URL.createObjectURL(l2), t2.download = "服务编排.zip", t2.click(), window.URL.revokeObjectURL(t2.href);
|
|
45
45
|
}) : A.warning("请选择服务或菜单");
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
const e2 =
|
|
46
|
+
}, ie = p(null), ue = (e2) => {
|
|
47
|
+
ie.value.click();
|
|
48
|
+
}, re = () => {
|
|
49
|
+
const e2 = ie.value.files[0];
|
|
50
50
|
if (e2) {
|
|
51
|
-
|
|
51
|
+
ie.value.value = null;
|
|
52
52
|
const l2 = new FormData();
|
|
53
|
-
l2.append("multipartFile", e2), U({ url: window.$vueApp.config.globalProperties.baseAPI + `/component/super-page-design/service-flow/import/${
|
|
53
|
+
l2.append("multipartFile", e2), U({ url: window.$vueApp.config.globalProperties.baseAPI + `/component/super-page-design/service-flow/import/${ne}/${oe}`, method: "post", headers: { "Content-Type": "multipart/form-data" }, data: l2 }).then(() => {
|
|
54
54
|
A.success("导入成功"), M("load-tree-data");
|
|
55
55
|
}).catch((e3) => {
|
|
56
56
|
});
|
|
57
57
|
} else A.warning("未选择文件");
|
|
58
|
-
},
|
|
59
|
-
|
|
60
|
-
e2 && (
|
|
58
|
+
}, pe = () => {
|
|
59
|
+
K.value.name ? "MENU" === K.value.type || K.value.customCode ? (K.value.systemCode || (K.value.systemCode = z.pageContext.systemCode), K.value.publishVersion || (K.value.publishVersion = z.pageContext.systemVersion), U.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow", { designLog: null, appServiceFlow: K.value }).then((e2) => {
|
|
60
|
+
e2 && (K.value.id ? (M("load-tree-data"), Object.assign(B.value, e2)) : K.value.parentCode ? (B.value.children || (B.value.children = []), B.value.children.push(e2)) : L.serviceTreeData.push(e2), B.value = {}, A.success("保存成功"), G.value = false, K.value = {});
|
|
61
61
|
})) : A.warning("自定义编码不能为空") : A.warning("名称不能为空");
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
}, ce = () => {
|
|
63
|
+
B.value.children && B.value.children.length > 0 ? A.warning("该节点下存在子节点,不能删除!") : I.confirm("确定要删除吗?", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(({ value: e2 }) => {
|
|
64
|
+
de();
|
|
65
65
|
});
|
|
66
|
-
},
|
|
67
|
-
U.delete(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow", { data: [
|
|
68
|
-
if (A.success("删除成功"), M("load-tree-data"),
|
|
69
|
-
const e3 =
|
|
66
|
+
}, de = () => {
|
|
67
|
+
U.delete(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow", { data: [B.value.id] }).then((e2) => {
|
|
68
|
+
if (A.success("删除成功"), M("load-tree-data"), B.value.parentCode) {
|
|
69
|
+
const e3 = T(B.value.parentCode, L.serviceTreeData), l2 = e3.children.findIndex((e4) => e4.id === B.value.id);
|
|
70
70
|
e3.children.splice(l2, 1);
|
|
71
71
|
} else {
|
|
72
|
-
const e3 = L.serviceTreeData.findIndex((e4) => e4.id ===
|
|
72
|
+
const e3 = L.serviceTreeData.findIndex((e4) => e4.id === B.value.id);
|
|
73
73
|
L.serviceTreeData.splice(e3, 1);
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
Q.value.code === B.value.code && M("clear-flow-canvas"), B.value = {};
|
|
76
76
|
});
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
e3.variables && (e3.variables = JSON.parse(e3.variables)), e3.log && (e3.log = JSON.parse(e3.log)), e3.flow && (e3.flow = JSON.parse(e3.flow)), e3.returnValues && (e3.returnValues = JSON.parse(e3.returnValues)),
|
|
77
|
+
}, me = (e2, l2, t2) => {
|
|
78
|
+
X(), "SERVICE" === e2.type && U.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow/" + e2.id).then((e3) => {
|
|
79
|
+
e3.variables && (e3.variables = JSON.parse(e3.variables)), e3.log && (e3.log = JSON.parse(e3.log)), e3.flow && (e3.flow = JSON.parse(e3.flow)), e3.returnValues && (e3.returnValues = JSON.parse(e3.returnValues)), Q.value = e3, M("service-click", e3);
|
|
80
80
|
});
|
|
81
|
-
}, ge = () => {
|
|
82
|
-
K.value = G.value.type;
|
|
83
|
-
const e2 = JSON.parse(JSON.stringify(G.value));
|
|
84
|
-
Y.value = { sourceServiceCode: e2.code, publishVersion: e2.publishVersion, code: N() }, X.value = true;
|
|
85
|
-
}, he = () => {
|
|
86
|
-
Y.value.name ? Y.value.customCode ? U.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/copy-service-flow", Y.value).then((e2) => {
|
|
87
|
-
if (e2) {
|
|
88
|
-
const l2 = F.value.getNode(G.value.id);
|
|
89
|
-
l2 && F.value.append(e2, l2.parent), G.value = {}, A.success("保存成功"), X.value = false;
|
|
90
|
-
}
|
|
91
|
-
}) : A.warning("自定义编码不能为空") : A.warning("名称不能为空");
|
|
92
81
|
};
|
|
93
|
-
return (
|
|
94
|
-
const U2 =
|
|
95
|
-
return
|
|
82
|
+
return (p2, N2) => {
|
|
83
|
+
const U2 = a, T2 = t, O2 = l, A2 = e, I2 = o, $3 = n, z2 = s, M2 = u, L2 = i;
|
|
84
|
+
return d(), c("div", null, [m(A2, { style: { "margin-bottom": "10px" } }, { default: f(() => [m(O2, { span: 24 }, { default: f(() => [m(T2, { modelValue: J.value, "onUpdate:modelValue": N2[0] || (N2[0] = (e2) => J.value = e2), placeholder: "搜索" }, { suffix: f(() => [m(U2, null, { default: f(() => [m(y(x))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), _: 1 }), m(A2, null, { default: f(() => [m(O2, { span: 24 }, { default: f(() => [m($3, { effect: "dark", content: "导入", placement: "top" }, { default: f(() => [m(I2, { type: "primary", onClick: ue }, { default: f(() => [g("input", { ref_key: "processFile", ref: ie, accept: ".zip", name: "processFile", style: { display: "none" }, type: "file", onChange: re }, null, 544), N2[7] || (N2[7] = h(" 导入 "))]), _: 1 })]), _: 1 }), m($3, { effect: "dark", content: "导出", placement: "top" }, { default: f(() => [m(I2, { type: "primary", onClick: se }, { default: f(() => N2[8] || (N2[8] = [h("导出")])), _: 1 })]), _: 1 }), m($3, { effect: "dark", content: "添加根菜单", placement: "top" }, { default: f(() => [m(I2, { type: "primary", icon: y(_), onClick: Y }, null, 8, ["icon"])]), _: 1 })]), _: 1 })]), _: 1 }), m(z2, { style: { "margin-top": "10px" }, ref_key: "serviceTreeRef", ref: F, data: r2.serviceTreeData, "node-key": "id", props: D, "show-checkbox": "", "expand-on-click-node": false, "default-expand-all": true, "highlight-current": "", onNodeClick: me, onNodeContextmenu: W, onCheckChange: ae }, { default: f(({ node: e2, data: l2 }) => [g("span", P, ["MENU" === l2.type ? (d(), b(U2, { key: 0, size: 16 }, { default: f(() => [m(y(V))]), _: 1 })) : (d(), b(U2, { key: 1, size: 16 }, { default: f(() => [m(y(E))]), _: 1 })), g("span", S, w(e2.label), 1)])]), _: 1 }, 8, ["data"]), m(L2, { modelValue: G.value, "onUpdate:modelValue": N2[4] || (N2[4] = (e2) => G.value = e2), "append-to-body": true, title: "MENU" === H.value ? "菜单" : "服务", width: "500" }, { footer: f(() => [g("div", R, [m(I2, { size: "mini", onClick: N2[3] || (N2[3] = (e2) => G.value = false) }, { default: f(() => N2[9] || (N2[9] = [h("返回")])), _: 1 }), m(I2, { size: "mini", type: "primary", onClick: pe }, { default: f(() => N2[10] || (N2[10] = [h(" 确定 ")])), _: 1 })])]), default: f(() => ["SERVICE" === H.value ? (d(), b(M2, { key: 0, label: "自定义编码:", required: true }, { default: f(() => [m(T2, { disabled: K.value.id, modelValue: K.value.customCode, "onUpdate:modelValue": N2[1] || (N2[1] = (e2) => K.value.customCode = e2) }, null, 8, ["disabled", "modelValue"])]), _: 1 })) : k("", true), m(M2, { label: " 名称:", required: true }, { default: f(() => [m(T2, { modelValue: K.value.name, "onUpdate:modelValue": N2[2] || (N2[2] = (e2) => K.value.name = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue", "title"]), v(g("div", null, [g("ul", { ref_key: "contxtMenuRef", ref: j, class: "context-menu" }, ["MENU" === B.value.type ? (d(), c("li", { key: 0, tabindex: "-1", class: "menu__item", onClick: N2[5] || (N2[5] = (e2) => Z("MENU")) }, N2[11] || (N2[11] = [g("span", null, "添加菜单", -1)]))) : k("", true), "MENU" === B.value.type ? (d(), c("li", { key: 1, tabindex: "-1", class: "menu__item", onClick: N2[6] || (N2[6] = (e2) => Z("SERVICE")) }, N2[12] || (N2[12] = [g("span", null, "添加服务", -1)]))) : k("", true), Q.value.code !== B.value.code ? (d(), c("li", { key: 2, tabindex: "-1", class: "menu__item", onClick: ee }, N2[13] || (N2[13] = [g("span", null, "修改", -1)]))) : k("", true), g("li", { tabindex: "-1", class: "menu__item", onClick: ce }, N2[14] || (N2[14] = [g("span", null, "删除", -1)]))], 512)], 512), [[C, q.value]])]);
|
|
96
85
|
};
|
|
97
86
|
} });
|
|
98
87
|
export {
|
package/dist/es/style.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
[data-v-
|
|
2
|
+
[data-v-da8fc67a] .el-table__row {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
}
|
|
5
5
|
/** 右键菜单样式 */
|
|
6
|
-
.context-menu[data-v-
|
|
6
|
+
.context-menu[data-v-da8fc67a] {
|
|
7
7
|
position: absolute;
|
|
8
8
|
background: #fff;
|
|
9
9
|
z-index: 999;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
border-radius: 10px;
|
|
15
15
|
font-size: 14px;
|
|
16
16
|
}
|
|
17
|
-
.context-menu li[data-v-
|
|
17
|
+
.context-menu li[data-v-da8fc67a] {
|
|
18
18
|
list-style-type: none;
|
|
19
19
|
min-width: 75px;
|
|
20
20
|
line-height: 28px;
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
padding-left: 5px;
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
}
|
|
26
|
-
.context-menu li[data-v-
|
|
26
|
+
.context-menu li[data-v-da8fc67a]:hover {
|
|
27
27
|
background: #0165e1;
|
|
28
28
|
color: #fff;
|
|
29
29
|
}
|
|
30
30
|
/** 右键菜单样式 */
|
|
31
|
-
.custom-tree-node[data-v-
|
|
31
|
+
.custom-tree-node[data-v-da8fc67a] {
|
|
32
32
|
font-size: 14px;
|
|
33
33
|
padding-right: 8px;
|
|
34
34
|
display: flex; /* 使用Flex布局 */
|
|
@@ -1023,11 +1023,10 @@
|
|
|
1023
1023
|
width: 100%;
|
|
1024
1024
|
}
|
|
1025
1025
|
.amb-item-ghost[data-v-82d0912d] {
|
|
1026
|
-
background-color:
|
|
1026
|
+
background-color: #5893ef;
|
|
1027
|
+
height: 5px;
|
|
1028
|
+
line-height: 5px;
|
|
1027
1029
|
overflow: hidden;
|
|
1028
|
-
}
|
|
1029
|
-
.amb-item-ghost[data-v-82d0912d] > * {
|
|
1030
|
-
opacity: 0;
|
|
1031
1030
|
}
|
|
1032
1031
|
/* 将你的自定义样式添加到这里 */
|
|
1033
1032
|
.draggable-placeholder[data-v-82d0912d] {
|
|
@@ -1131,11 +1130,10 @@
|
|
|
1131
1130
|
width: 100%;
|
|
1132
1131
|
}
|
|
1133
1132
|
.amb-item-ghost[data-v-0e8afd53] {
|
|
1134
|
-
background-color:
|
|
1133
|
+
background-color: #5893ef;
|
|
1134
|
+
height: 5px;
|
|
1135
|
+
line-height: 5px;
|
|
1135
1136
|
overflow: hidden;
|
|
1136
|
-
}
|
|
1137
|
-
.amb-item-ghost[data-v-0e8afd53] > * {
|
|
1138
|
-
opacity: 0;
|
|
1139
1137
|
}
|
|
1140
1138
|
/* 将你的自定义样式添加到这里 */
|
|
1141
1139
|
.draggable-placeholder[data-v-0e8afd53] {
|
|
@@ -1167,28 +1165,28 @@
|
|
|
1167
1165
|
border-width: 0 50px 100px 50px;
|
|
1168
1166
|
border-color: transparent transparent var(--el-skeleton-color) transparent;
|
|
1169
1167
|
}
|
|
1170
|
-
.serviceflow-container-left[data-v-
|
|
1168
|
+
.serviceflow-container-left[data-v-7117ba9e] {
|
|
1171
1169
|
width: 260px;
|
|
1172
1170
|
padding-right: 20px;
|
|
1173
1171
|
overflow-y: auto;
|
|
1174
1172
|
}
|
|
1175
|
-
.serviceflow-container-main[data-v-
|
|
1173
|
+
.serviceflow-container-main[data-v-7117ba9e] {
|
|
1176
1174
|
padding: 0 10px 0 0;
|
|
1177
1175
|
}
|
|
1178
|
-
.serviceflow-container-main[data-v-
|
|
1176
|
+
.serviceflow-container-main[data-v-7117ba9e]::-webkit-scrollbar {
|
|
1179
1177
|
width: 1px;
|
|
1180
1178
|
}
|
|
1181
|
-
.serviceflow-container-attr[data-v-
|
|
1179
|
+
.serviceflow-container-attr[data-v-7117ba9e] {
|
|
1182
1180
|
width: 300px;
|
|
1183
1181
|
padding-left: 20px;
|
|
1184
1182
|
}
|
|
1185
1183
|
/**
|
|
1186
1184
|
解决右侧弹出属性配置遮罩层打开后页面其他地方无法点击问题
|
|
1187
1185
|
*/
|
|
1188
|
-
[data-v-
|
|
1186
|
+
[data-v-7117ba9e]:v-deep(.el-drawer__header) {
|
|
1189
1187
|
margin-bottom: 0 !important;
|
|
1190
1188
|
}
|
|
1191
|
-
[data-v-
|
|
1189
|
+
[data-v-7117ba9e] .el-overlay {
|
|
1192
1190
|
position: static;
|
|
1193
1191
|
}
|
|
1194
1192
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "service-flow-designer",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.60",
|
|
4
4
|
"description": "AgileBuilder Service Flow Designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@logicflow/layout": "1.2.0-alpha.16",
|
|
62
62
|
"@uiw/codemirror-themes-all": "^4.21.25",
|
|
63
63
|
"@vueuse/core": "^10.9.0",
|
|
64
|
-
"agilebuilder-ui": "1.1.
|
|
64
|
+
"agilebuilder-ui": "1.1.23",
|
|
65
65
|
"codemirror": "^6.0.1",
|
|
66
66
|
"nprogress": "^0.2.0",
|
|
67
67
|
"pinia": "^2.1.7",
|