service-flow-designer 2.2.70 → 2.2.72-sit5
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.
|
@@ -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-4df7b9e3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
i as default
|
|
7
7
|
};
|
|
@@ -3,31 +3,35 @@ 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 s, ref as n,
|
|
7
|
-
import
|
|
8
|
-
import
|
|
6
|
+
import { defineComponent as s, ref as n, onMounted as l, createBlock as a, openBlock as r, withCtx as i, createVNode as c, normalizeStyle as p } from "vue";
|
|
7
|
+
import u 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
|
-
e2 && (
|
|
10
|
+
import { useServiceFlowStore as v } from "../stores/page-store.js";
|
|
11
|
+
import g from "agilebuilder-ui/src/utils/request";
|
|
12
|
+
const d = s({ __name: "desginer-index", props: { pageContext: { type: Object, default: () => ({}) } }, setup(s2) {
|
|
13
|
+
const d2 = s2, f = n([]);
|
|
14
|
+
v().setPageContext(d2.pageContext);
|
|
15
|
+
const w = n(null), y = n(), C = () => {
|
|
16
|
+
g.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow/tree/" + d2.pageContext.systemCode + "/" + d2.pageContext.systemVersion).then((e2) => {
|
|
17
|
+
e2 && (f.value = e2.children);
|
|
18
18
|
});
|
|
19
|
-
}, C = (e2) => {
|
|
20
|
-
w.value.onDragNode(e2);
|
|
21
|
-
}, x = (e2) => {
|
|
22
|
-
w.value.onServiceClick(e2);
|
|
23
|
-
}, F = () => {
|
|
24
|
-
w.value.clearFlowCanvas(), f.value = null;
|
|
25
19
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
l(() => {
|
|
21
|
+
C();
|
|
22
|
+
});
|
|
23
|
+
const x = (e2) => {
|
|
24
|
+
y.value.onDragNode(e2);
|
|
25
|
+
}, F = (e2) => {
|
|
26
|
+
y.value.onServiceClick(e2);
|
|
27
|
+
}, D = () => {
|
|
28
|
+
y.value.clearFlowCanvas(), w.value = null;
|
|
29
|
+
};
|
|
30
|
+
return (n2, l2) => {
|
|
31
|
+
const v2 = t, g2 = o, d3 = e;
|
|
32
|
+
return r(), a(d3, { class: "amb-container" }, { default: i(() => [c(v2, { class: "serviceflow-container-left" }, { default: i(() => [c(u, { logicFlowInstance: w.value, "onUpdate:logicFlowInstance": l2[0] || (l2[0] = (e2) => w.value = e2), serviceTreeData: f.value, onServiceClick: F, onClearFlowCanvas: D, onLoadTreeData: C, onDragNode: x, style: p(n2.containerHeightStyle) }, null, 8, ["logicFlowInstance", "serviceTreeData", "style"])]), _: 1 }), c(g2, { class: "serviceflow-container-main", style: p(n2.containerHeightStyle) }, { default: i(() => [c(m, { logicFlowInstance: w.value, "onUpdate:logicFlowInstance": l2[1] || (l2[1] = (e2) => w.value = e2), serviceTreeData: f.value, pageContext: s2.pageContext, onLoadTreeData: C, ref_key: "serviceFlowViewRef", ref: y }, null, 8, ["logicFlowInstance", "serviceTreeData", "pageContext"])]), _: 1 }, 8, ["style"])]), _: 1 });
|
|
29
33
|
};
|
|
30
34
|
} });
|
|
31
35
|
export {
|
|
32
|
-
|
|
36
|
+
d as default
|
|
33
37
|
};
|
package/dist/es/style.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
[data-v-
|
|
2
|
+
[data-v-b89c1b5a] .el-table__row {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
}
|
|
5
5
|
/** 右键菜单样式 */
|
|
6
|
-
.context-menu[data-v-
|
|
6
|
+
.context-menu[data-v-b89c1b5a] {
|
|
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-b89c1b5a] {
|
|
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-b89c1b5a]: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-b89c1b5a] {
|
|
32
32
|
font-size: 14px;
|
|
33
33
|
padding-right: 8px;
|
|
34
34
|
display: flex; /* 使用Flex布局 */
|
|
@@ -1167,28 +1167,28 @@
|
|
|
1167
1167
|
border-width: 0 50px 100px 50px;
|
|
1168
1168
|
border-color: transparent transparent var(--el-skeleton-color) transparent;
|
|
1169
1169
|
}
|
|
1170
|
-
.serviceflow-container-left[data-v-
|
|
1170
|
+
.serviceflow-container-left[data-v-4df7b9e3] {
|
|
1171
1171
|
width: 260px;
|
|
1172
1172
|
padding-right: 20px;
|
|
1173
1173
|
overflow-y: auto;
|
|
1174
1174
|
}
|
|
1175
|
-
.serviceflow-container-main[data-v-
|
|
1175
|
+
.serviceflow-container-main[data-v-4df7b9e3] {
|
|
1176
1176
|
padding: 0 10px 0 0;
|
|
1177
1177
|
}
|
|
1178
|
-
.serviceflow-container-main[data-v-
|
|
1178
|
+
.serviceflow-container-main[data-v-4df7b9e3]::-webkit-scrollbar {
|
|
1179
1179
|
width: 1px;
|
|
1180
1180
|
}
|
|
1181
|
-
.serviceflow-container-attr[data-v-
|
|
1181
|
+
.serviceflow-container-attr[data-v-4df7b9e3] {
|
|
1182
1182
|
width: 300px;
|
|
1183
1183
|
padding-left: 20px;
|
|
1184
1184
|
}
|
|
1185
1185
|
/**
|
|
1186
1186
|
解决右侧弹出属性配置遮罩层打开后页面其他地方无法点击问题
|
|
1187
1187
|
*/
|
|
1188
|
-
[data-v-
|
|
1188
|
+
[data-v-4df7b9e3]:v-deep(.el-drawer__header) {
|
|
1189
1189
|
margin-bottom: 0 !important;
|
|
1190
1190
|
}
|
|
1191
|
-
[data-v-
|
|
1191
|
+
[data-v-4df7b9e3] .el-overlay {
|
|
1192
1192
|
position: static;
|
|
1193
1193
|
}
|
|
1194
1194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "service-flow-designer",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.72-sit5",
|
|
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.24",
|
|
64
|
+
"agilebuilder-ui": "1.1.24-sit2",
|
|
65
65
|
"codemirror": "^6.0.1",
|
|
66
66
|
"nprogress": "^0.2.0",
|
|
67
67
|
"pinia": "^2.1.7",
|