service-flow-designer 2.2.14 → 2.2.28
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/common/components/sql-view/sql-view.vue.d.ts +1 -1
- package/dist/es/designer/service-components/base/loop-node/index.js +4 -64
- package/dist/es/designer/service-components/components-icons.js +8 -16
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +1 -1
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +62 -57
- package/dist/es/designer/service-components/index.js +37 -30
- package/dist/es/designer/service-components/util/common-options.js +3 -4
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +1 -1
- package/dist/es/designer/service-flow-view/service-node-config.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-node-config.vue2.js +13 -13
- package/dist/es/designer/service-flow-view/view-index.vue.js +1 -1
- package/dist/es/designer/service-flow-view/view-index.vue2.js +3 -3
- package/dist/es/style.css +45 -97
- package/package.json +2 -2
- package/dist/es/assets/icon/clean.svg.js +0 -4
- package/dist/es/assets/icon/condition.png.js +0 -4
- package/dist/es/assets/icon/connect.svg.js +0 -4
- package/dist/es/assets/icon/function.png.js +0 -4
- package/dist/es/assets/icon/loop.svg.js +0 -4
- package/dist/es/assets/icon/notification.svg.js +0 -4
- package/dist/es/assets/icon/split-joint.svg.js +0 -4
- package/dist/es/assets/icon/statistics.svg.js +0 -4
- package/dist/es/designer/common/components/database-select.vue.js +0 -7
- package/dist/es/designer/common/components/database-select.vue2.js +0 -42
- package/dist/es/designer/service-components/base/custom-function/config.vue.d.ts +0 -18
- package/dist/es/designer/service-components/base/custom-function/config.vue.js +0 -7
- package/dist/es/designer/service-components/base/custom-function/config.vue2.js +0 -74
- package/dist/es/designer/service-components/base/custom-function/index.js +0 -17
- package/dist/es/designer/service-components/base/custom-function/index.vue.js +0 -7
- package/dist/es/designer/service-components/base/custom-function/index.vue2.js +0 -12
- package/dist/es/designer/service-components/base/judge-condition/config.vue.d.ts +0 -40
- package/dist/es/designer/service-components/base/judge-condition/config.vue.js +0 -4
- package/dist/es/designer/service-components/base/judge-condition/config.vue2.js +0 -78
- package/dist/es/designer/service-components/base/judge-condition/index.js +0 -24
- package/dist/es/designer/service-components/base/judge-condition/index.vue.js +0 -7
- package/dist/es/designer/service-components/base/judge-condition/index.vue2.js +0 -16
- package/dist/es/designer/service-components/base/loop-node/config.vue.d.ts +0 -14
- package/dist/es/designer/service-components/base/loop-node/config.vue.js +0 -7
- package/dist/es/designer/service-components/base/loop-node/config.vue2.js +0 -16
- package/dist/es/designer/service-components/base/notification/config.vue.d.ts +0 -18
- package/dist/es/designer/service-components/base/notification/config.vue.js +0 -4
- package/dist/es/designer/service-components/base/notification/config.vue2.js +0 -54
- package/dist/es/designer/service-components/base/notification/index.js +0 -17
- package/dist/es/designer/service-components/base/notification/index.vue.js +0 -7
- package/dist/es/designer/service-components/base/notification/index.vue2.js +0 -12
- package/dist/es/designer/service-components/base/notification/quill-example.vue.d.ts +0 -19
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.d.ts +0 -47
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.js +0 -7
- package/dist/es/designer/service-components/base/notification/recipients-select.vue2.js +0 -30
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue.d.ts +0 -18
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue.js +0 -24
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue2.js +0 -4
- package/dist/es/designer/service-components/computation/clean/config.vue.d.ts +0 -25
- package/dist/es/designer/service-components/computation/clean/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/clean/config.vue2.js +0 -55
- package/dist/es/designer/service-components/computation/clean/index.js +0 -17
- package/dist/es/designer/service-components/computation/clean/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/clean/index.vue2.js +0 -12
- package/dist/es/designer/service-components/computation/connect/config.vue.d.ts +0 -23
- package/dist/es/designer/service-components/computation/connect/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/connect/config.vue2.js +0 -54
- package/dist/es/designer/service-components/computation/connect/index.js +0 -17
- package/dist/es/designer/service-components/computation/connect/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/connect/index.vue2.js +0 -12
- package/dist/es/designer/service-components/computation/split-joint/config.vue.d.ts +0 -23
- package/dist/es/designer/service-components/computation/split-joint/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/split-joint/config.vue2.js +0 -43
- package/dist/es/designer/service-components/computation/split-joint/index.js +0 -17
- package/dist/es/designer/service-components/computation/split-joint/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/split-joint/index.vue2.js +0 -12
- package/dist/es/designer/service-components/computation/statistics/config.vue.d.ts +0 -23
- package/dist/es/designer/service-components/computation/statistics/config.vue.js +0 -7
- package/dist/es/designer/service-components/computation/statistics/config.vue2.js +0 -57
- package/dist/es/designer/service-components/computation/statistics/index.js +0 -17
- package/dist/es/designer/service-components/computation/statistics/index.vue.js +0 -7
- package/dist/es/designer/service-components/computation/statistics/index.vue2.js +0 -12
|
@@ -26,7 +26,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
28
|
height: number;
|
|
29
|
-
theme: string;
|
|
30
29
|
sql: string;
|
|
30
|
+
theme: string;
|
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -1,68 +1,8 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import { GroupNode as
|
|
1
|
+
import { h as o } from "@logicflow/core";
|
|
2
|
+
import { GroupNode as e } from "@logicflow/extension";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "../../../flow/base/AbLogicResizeNodeModel.js";
|
|
5
5
|
import "../../../flow/base/AbLogicResizeNode.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const { model: t2 } = this.props, { x: i2, y: s2, width: r2, height: o, radius: h, properties: n } = t2, d = t2.getNodeStyle();
|
|
10
|
-
return e("g", {}, [e("rect", { ...d, x: i2 - r2 / 2, y: s2 - o / 2, rx: h, ry: h, width: r2, height: o, opacity: 0.95 }), this.getLabelShape(), e("g", { transform: `matrix(1 0 0 1 ${i2 - r2 / 2} ${s2 - o / 2})` }, e("path", { fill: "white", strokeLinecap: "round", strokeLinejoin: "round", stroke: "rgb(34, 36, 42)", strokeWidth: "2", d: "" }), e("span", {}))]);
|
|
11
|
-
}
|
|
12
|
-
getLabelShape() {
|
|
13
|
-
const { model: t2 } = this.props, { x: i2, y: s2, width: r2, height: o } = t2, h = t2.getNodeStyle(), n = e("path", { fill: h.stroke, d: "M594.048 937.472c33.6 35.072-21.504 88.896-59.456 55.04-38.528-34.56-77.184-69.056-115.776-103.616-16.192-14.464-15.744-42.688-0.384-57.344 38.08-36.608 76.096-73.216 114.176-109.76 36.608-35.008 91.648 17.216 60.864 53.504 189.824-22.016 258.112-230.336 155.008-379.968-59.648-86.144 78.08-163.136 137.088-77.696C1065.216 577.856 895.808 904.384 594.048 937.472L594.048 937.472zM157.44 706.112C-22.272 445.952 147.072 119.68 448.64 86.464 415.104 51.456 470.208-2.432 508.096 31.488c38.592 34.432 77.12 68.928 115.84 103.552C640 149.376 639.68 177.6 624.32 192.384 586.24 228.928 548.288 265.408 510.144 301.952c-36.48 35.072-91.584-17.216-60.8-53.376-189.76 21.888-258.112 230.272-154.88 379.84C353.984 714.432 216.384 791.488 157.44 706.112L157.44 706.112z" });
|
|
14
|
-
return e("svg", { x: i2 - r2 / 2 + 5, y: s2 - o / 2 + 5, width: 20, height: 20, viewBox: "0 0 1274 1024" }, n);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
class s extends t.model {
|
|
18
|
-
setAttributes() {
|
|
19
|
-
this.menu = [{ className: "lf-menu-delete", icon: true, text: "删除", callback: (e2) => {
|
|
20
|
-
this.graphModel.deleteNode(e2.id);
|
|
21
|
-
} }];
|
|
22
|
-
}
|
|
23
|
-
initNodeData(e2) {
|
|
24
|
-
super.initNodeData(e2), this.foldable = false, this.resizable = true, this.text.editable = true, this.text.draggable = true, this.width = 400, this.height = 200, e2.virtual || (this.text.value = "循环节点"), this.resetWidthHeight(), this.isGroupNode = true, this.boundaryEvents = [];
|
|
25
|
-
}
|
|
26
|
-
getTextStyle() {
|
|
27
|
-
const e2 = super.getTextStyle();
|
|
28
|
-
return e2.fontSize = 14, e2.color = "#409EFF", e2;
|
|
29
|
-
}
|
|
30
|
-
resetWidthHeight() {
|
|
31
|
-
var _a, _b;
|
|
32
|
-
const e2 = (_a = this.properties.iniProp) == null ? void 0 : _a.width, t2 = (_b = this.properties.iniProp) == null ? void 0 : _b.height;
|
|
33
|
-
e2 && (this.width = e2), t2 && (this.height = t2);
|
|
34
|
-
}
|
|
35
|
-
getNodeStyle() {
|
|
36
|
-
const e2 = super.getNodeStyle();
|
|
37
|
-
return e2.stroke = "#409EFF", e2.strokeWidth = 1, this.isSelected && (e2.strokeDasharray = "3 3"), e2;
|
|
38
|
-
}
|
|
39
|
-
addChild(e2) {
|
|
40
|
-
this.graphModel.getElement(e2).setProperties({ parent: this.id }), super.addChild(e2);
|
|
41
|
-
}
|
|
42
|
-
getAnchorStyle() {
|
|
43
|
-
const e2 = super.getAnchorStyle({});
|
|
44
|
-
return e2.stroke = "#000", e2.fill = "#fff", e2.hover.stroke = "transparent", e2;
|
|
45
|
-
}
|
|
46
|
-
getOutlineStyle() {
|
|
47
|
-
const e2 = super.getOutlineStyle();
|
|
48
|
-
return e2.stroke = "transparent", !e2.hover && (e2.hover = {}), e2.hover.stroke = "transparent", e2;
|
|
49
|
-
}
|
|
50
|
-
setTouching(e2) {
|
|
51
|
-
this.setProperty("isBoundaryEventTouchingTask", e2);
|
|
52
|
-
}
|
|
53
|
-
addBoundaryEvent(e2) {
|
|
54
|
-
if (this.setTouching(false), this.boundaryEvents.find((t3) => t3 === e2)) return false;
|
|
55
|
-
const t2 = this.graphModel.getNodeModelById(e2);
|
|
56
|
-
return t2 == null ? void 0 : t2.setProperties({ attachedToRef: this.id }), this.boundaryEvents.push(e2), true;
|
|
57
|
-
}
|
|
58
|
-
deleteBoundaryEvent(e2) {
|
|
59
|
-
this.boundaryEvents = this.boundaryEvents.filter((t2) => t2 !== e2);
|
|
60
|
-
}
|
|
61
|
-
isAllowAppendIn(e2) {
|
|
62
|
-
return "start" !== e2.type;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
const r = { type: "loop", view: i, model: s, options: {} };
|
|
66
|
-
export {
|
|
67
|
-
r as default
|
|
68
|
-
};
|
|
7
|
+
e.view;
|
|
8
|
+
e.model;
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
import s from "../../assets/icon/base.png.js";
|
|
2
|
-
import o from "../../assets/icon/
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
import a from "../../assets/icon/connect.svg.js";
|
|
10
|
-
import m from "../../assets/icon/split-joint.svg.js";
|
|
11
|
-
import p from "../../assets/icon/clean.svg.js";
|
|
12
|
-
import g from "../../assets/icon/statistics.svg.js";
|
|
13
|
-
import f from "../../assets/icon/sort.svg.js";
|
|
14
|
-
import j from "../../assets/icon/notification.svg.js";
|
|
15
|
-
import I from "../../assets/icon/http-service.svg.js";
|
|
16
|
-
const v = { baseIcon: s, judgeConditionIcon: o, loopIcon: t, customFunctionIcon: n, endIcon: i, regularQueryIcon: c, aggregateQueryIcon: r, dynamicSqlIcon: e, connectIcon: a, splitJointIcon: m, cleanIcon: p, statisticsIcon: g, computationSortIcon: f, notificationIcon: j, httpServiceIcon: I };
|
|
2
|
+
import o from "../../assets/icon/end.png.js";
|
|
3
|
+
import r from "../../assets/icon/regularQuery.svg.js";
|
|
4
|
+
import e from "../../assets/icon/aggregateQuery.svg.js";
|
|
5
|
+
import t from "../../assets/icon/dynamicSql.svg.js";
|
|
6
|
+
import n from "../../assets/icon/sort.svg.js";
|
|
7
|
+
import a from "../../assets/icon/http-service.svg.js";
|
|
8
|
+
const c = { baseIcon: s, endIcon: o, regularQueryIcon: r, aggregateQueryIcon: e, dynamicSqlIcon: t, computationSortIcon: n, httpServiceIcon: a };
|
|
17
9
|
export {
|
|
18
|
-
|
|
10
|
+
c as default
|
|
19
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElForm as e, ElDivider as
|
|
1
|
+
import { ElForm as e, ElDivider as t, ElFormItem as l, ElTooltip as o, ElSelect as s, ElOption as a, ElIcon as n, ElTabs as r, ElTabPane as u, ElTable as p, ElTableColumn as i, ElAlert as m, ElRadioGroup as c, ElRadio as d } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/form/style/css";
|
|
4
4
|
import "element-plus/es/components/radio-group/style/css";
|
|
@@ -13,85 +13,90 @@ import "element-plus/es/components/tooltip/style/css";
|
|
|
13
13
|
import "element-plus/es/components/select/style/css";
|
|
14
14
|
import "element-plus/es/components/option/style/css";
|
|
15
15
|
import "element-plus/es/components/form-item/style/css";
|
|
16
|
+
import "element-plus/es/components/divider/style/css";
|
|
17
|
+
import { defineComponent as f, ref as v, onMounted as b, createElementBlock as h, openBlock as y, createVNode as g, withCtx as x, createElementVNode as S, withDirectives as _, unref as k, Fragment as V, renderList as z, createBlock as w, vShow as D, createTextVNode as L } from "vue";
|
|
18
|
+
import { useLocalStorage as C } from "@vueuse/core";
|
|
19
|
+
import H from "../../../common/components/node-base-config.vue.js";
|
|
20
|
+
import { Search as O, FullScreen as j, CaretRight as U } from "@element-plus/icons-vue";
|
|
21
|
+
import { EditorView as T, basicSetup as q } from "codemirror";
|
|
22
|
+
import { StandardSQL as E, keywordCompletionSource as G, sql as W } from "@codemirror/lang-sql";
|
|
23
|
+
import { EditorState as X } from "@codemirror/state";
|
|
24
|
+
import { openSearchPanel as B } from "@codemirror/search";
|
|
25
|
+
import I from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
26
|
+
import "element-plus/es/components/dialog/style/css";
|
|
27
|
+
import "element-plus/es/components/container/style/css";
|
|
28
|
+
import "element-plus/es/components/pagination/style/css";
|
|
29
|
+
import "element-plus/es/components/header/style/css";
|
|
16
30
|
import "element-plus/es/components/button/style/css";
|
|
17
31
|
import "element-plus/es/components/input/style/css";
|
|
18
|
-
import "
|
|
19
|
-
import "element-plus
|
|
20
|
-
|
|
21
|
-
import {
|
|
22
|
-
import
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const ee = { style: {} }, le = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, te = { class: "editorTool" }, oe = h({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(h2, { expose: oe2, emit: ae }) {
|
|
33
|
-
F();
|
|
34
|
-
const se = ae, ne = h2, re = y([]), ue = y("index0"), pe = y(false), ie = y(false), me = y({ theme: "default", fontSize: 14, searchOpen: false });
|
|
35
|
-
ne.properties.result || (ne.properties.result = {});
|
|
36
|
-
const ce = y({});
|
|
37
|
-
function de() {
|
|
38
|
-
true === ie.value ? (ie.value = false, se("fullScreen", { withHeader: true, drawerWidth: "50%" })) : (ie.value = true, se("fullScreen", { withHeader: false, drawerWidth: "100%" }));
|
|
32
|
+
import "agilebuilder-ui/src/utils/request";
|
|
33
|
+
import "element-plus";
|
|
34
|
+
/* empty css */
|
|
35
|
+
import { useServiceFlowStore as J } from "../../../../stores/page-store.js";
|
|
36
|
+
import { eclipse as N, githubDark as Q, githubLight as A, dracula as F, vscodeDark as K, xcodeDark as M, xcodeLight as P } from "@uiw/codemirror-themes-all";
|
|
37
|
+
const R = { style: {} }, Y = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, Z = { class: "editorTool" }, $ = f({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(f2, { expose: $2, emit: ee }) {
|
|
38
|
+
J();
|
|
39
|
+
const te = ee, le = f2, oe = v([]), se = v("index0");
|
|
40
|
+
v(false);
|
|
41
|
+
const ae = v(false), ne = v({ theme: "default", fontSize: 14, searchOpen: false });
|
|
42
|
+
le.properties.result || (le.properties.result = {});
|
|
43
|
+
const re = v({});
|
|
44
|
+
function ue() {
|
|
45
|
+
true === ae.value ? (ae.value = false, te("fullScreen", { withHeader: true, drawerWidth: "50%" })) : (ae.value = true, te("fullScreen", { withHeader: false, drawerWidth: "100%" }));
|
|
39
46
|
}
|
|
40
|
-
|
|
41
|
-
let e2 =
|
|
47
|
+
b(() => {
|
|
48
|
+
let e2 = C("editorStyle", "").value;
|
|
42
49
|
if (e2) {
|
|
43
|
-
const
|
|
44
|
-
|
|
50
|
+
const t2 = JSON.parse(e2);
|
|
51
|
+
ne.value.theme = t2.theme || "default", ne.value.fontSize = t2.fontSize || 14;
|
|
45
52
|
}
|
|
46
|
-
|
|
53
|
+
ce();
|
|
47
54
|
});
|
|
48
|
-
const
|
|
49
|
-
function
|
|
50
|
-
|
|
55
|
+
const pe = E.language.data.of({ autocomplete: G });
|
|
56
|
+
function ie() {
|
|
57
|
+
C("editorStyle", ne.value).value = ne.value, re.value && (re.value && re.value.destroy(), ce());
|
|
51
58
|
}
|
|
52
|
-
function
|
|
59
|
+
function me() {
|
|
53
60
|
const e2 = function() {
|
|
54
|
-
switch (
|
|
61
|
+
switch (ne.value.theme) {
|
|
55
62
|
case "xcodeLight":
|
|
56
|
-
return
|
|
63
|
+
return P;
|
|
57
64
|
case "xcodeDark":
|
|
58
|
-
return
|
|
65
|
+
return M;
|
|
59
66
|
case "vscodeDark":
|
|
60
|
-
return
|
|
67
|
+
return K;
|
|
61
68
|
case "dracula":
|
|
62
|
-
return
|
|
69
|
+
return F;
|
|
63
70
|
case "githubLight":
|
|
64
|
-
return
|
|
71
|
+
return A;
|
|
65
72
|
case "githubDark":
|
|
66
|
-
return
|
|
73
|
+
return Q;
|
|
67
74
|
case "eclipse":
|
|
68
|
-
return
|
|
75
|
+
return N;
|
|
69
76
|
}
|
|
70
|
-
return
|
|
71
|
-
}(),
|
|
72
|
-
return
|
|
73
|
-
|
|
77
|
+
return T.theme({});
|
|
78
|
+
}(), t2 = T.theme({ ".cm-content, .cm-gutter": { minHeight: "200px" }, "&": { height: "400px", maxHeight: "400px", fontSize: ne.value.fontSize + "px" } });
|
|
79
|
+
return X.create({ doc: le.properties.function, extensions: [X.tabSize.of(16), q, W(), pe, e2, t2, T.updateListener.of(function(e3) {
|
|
80
|
+
le.properties.function = e3.state.doc.toString();
|
|
74
81
|
})] });
|
|
75
82
|
}
|
|
76
|
-
function
|
|
77
|
-
const e2 =
|
|
78
|
-
|
|
83
|
+
function ce() {
|
|
84
|
+
const e2 = me();
|
|
85
|
+
re.value = new T({ state: e2, parent: document.getElementById("cf-codemirror") });
|
|
79
86
|
}
|
|
80
|
-
function
|
|
81
|
-
if (
|
|
82
|
-
|
|
87
|
+
function de() {
|
|
88
|
+
if (re.value) {
|
|
89
|
+
re.value.focus(), B(re.value) && re.value.update([]);
|
|
83
90
|
}
|
|
84
91
|
}
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
}, xe = (e2) => {
|
|
88
|
-
ne.properties.database = e2.database.name;
|
|
92
|
+
const fe = () => {
|
|
93
|
+
re.value.state.doc.toString(), oe.value = [[{ id: "1", name: "name1" }, { id: "2", name: "name2" }], [{ id: "结果2-1", name: "name1" }, { id: "结果2-2", name: "name2" }], [{ id: "结果3-1", name: "name1" }, { id: "结果3-2", name: "name2" }]];
|
|
89
94
|
};
|
|
90
|
-
return
|
|
91
|
-
const
|
|
92
|
-
return
|
|
95
|
+
return $2({}), (v2, b2) => {
|
|
96
|
+
const C2 = t, T2 = l, q2 = a, E2 = s, G2 = o, W2 = n, X2 = i, B2 = p, J2 = u, N2 = r, Q2 = m, A2 = d, F2 = c, K2 = e;
|
|
97
|
+
return y(), h("div", R, [g(K2, { "label-width": "auto", "label-position": "left" }, { default: x(() => [g(H, { properties: f2.properties }, null, 8, ["properties"]), g(C2), g(T2), S("div", Y, [b2[5] || (b2[5] = S("span", { style: { color: "#909399", "font-size": "14px" } }, "SQL窗口", -1)), S("span", Z, [g(G2, { effect: "dark", content: "切换主题", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", onChange: ie, modelValue: ne.value.theme, "onUpdate:modelValue": b2[0] || (b2[0] = (e2) => ne.value.theme = e2), placeholder: "", size: "small", style: { width: "120px" } }, { default: x(() => [g(q2, { label: "默认", value: "default" }), g(q2, { label: "VScodeDark", value: "vscodeDark" }), g(q2, { label: "Dracula", value: "dracula" }), g(q2, { label: "GithubLight", value: "githubLight" }), g(q2, { label: "GithubDark", value: "githubDark" }), g(q2, { label: "Eclipse", value: "eclipse" }), g(q2, { label: "XcodeLight", value: "xcodeLight" }), g(q2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(G2, { effect: "dark", content: "切换字体大小", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", modelValue: ne.value.fontSize, "onUpdate:modelValue": b2[1] || (b2[1] = (e2) => ne.value.fontSize = e2), placeholder: "", onChange: ie, size: "small", style: { width: "80px" } }, { default: x(() => [g(q2, { label: "12", value: 12 }), g(q2, { label: "14", value: 14 }), g(q2, { label: "16", value: 16 }), g(q2, { label: "18", value: 18 }), g(q2, { label: "20", value: 20 }), g(q2, { label: "22", value: 22 }), g(q2, { label: "24", value: 24 }), g(q2, { label: "26", value: 26 }), g(q2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), g(G2, { effect: "dark", content: "打开搜索", placement: "top" }, { default: x(() => [g(W2, { class: "editorOption", onClick: de }, { default: x(() => [g(k(O))]), _: 1 })]), _: 1 }), g(G2, { effect: "dark", content: ae.value ? "退出全屏" : "全屏", placement: "top" }, { default: x(() => [g(W2, { style: { cursor: "pointer" }, onClick: ue }, { default: x(() => [g(k(j))]), _: 1 })]), _: 1 }, 8, ["content"]), g(W2, { style: { cursor: "pointer" }, onClick: fe, size: 25 }, { default: x(() => [g(k(U))]), _: 1 })]), b2[8] || (b2[8] = S("div", { style: { minHeight: "400px", maxHeight: "400px", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror" }, null, -1)), _(g(N2, { modelValue: se.value, "onUpdate:modelValue": b2[2] || (b2[2] = (e2) => se.value = e2), type: "border-card", style: { "margin-top": "10px" } }, { default: x(() => [(y(true), h(V, null, z(oe.value, (e2, t2) => (y(), w(J2, { label: "结果" + (t2 + 1), name: "index" + t2 }, { default: x(() => [g(B2, { data: e2, style: { width: "100%" } }, { default: x(() => [(y(true), h(V, null, z(e2[0], (e3, t3) => (y(), w(X2, { prop: t3 + "", label: t3 }, null, 8, ["prop", "label"]))), 256))]), _: 2 }, 1032, ["data"])]), _: 2 }, 1032, ["label", "name"]))), 256))]), _: 1 }, 8, ["modelValue"]), [[D, oe.value && oe.value.lenght > 0]]), g(Q2, { title: "结果设置", type: "info", size: "small", closable: false, style: { margin: "20px 0" } }), g(T2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: x(() => [g(F2, { modelValue: f2.properties.result.valueSetScope, "onUpdate:modelValue": b2[3] || (b2[3] = (e2) => f2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: x(() => [g(A2, { value: "first" }, { default: x(() => b2[6] || (b2[6] = [L("仅第一条")])), _: 1 }), g(A2, { value: "all" }, { default: x(() => b2[7] || (b2[7] = [L(" 全部 ")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(T2, { label: "设置到:", style: { width: "100%" } }, { default: x(() => [g(k(I), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: f2.properties.result.setTo, "onUpdate:modelValue": b2[4] || (b2[4] = (e2) => f2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]);
|
|
93
98
|
};
|
|
94
99
|
} });
|
|
95
100
|
export {
|
|
96
|
-
|
|
101
|
+
$ as default
|
|
97
102
|
};
|
|
@@ -1,37 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
1
|
+
import e from "./base/start-node/index.js";
|
|
2
|
+
import o from "./base/end-node/index.js";
|
|
3
|
+
import "./base/loop-node/index.js";
|
|
4
|
+
import "@logicflow/core";
|
|
5
|
+
import "@logicflow/extension";
|
|
6
|
+
import { defineAsyncComponent as n } from "vue";
|
|
7
|
+
import "../flow/base/AbLogicResizeNodeModel.js";
|
|
8
|
+
import "../flow/base/AbLogicResizeNode.js";
|
|
9
|
+
import "element-plus/es";
|
|
10
|
+
import "element-plus/es/components/base/style/css";
|
|
11
|
+
import "element-plus/es/components/divider/style/css";
|
|
12
|
+
/* empty css */
|
|
13
|
+
/* empty css */
|
|
14
|
+
import i from "./database/regular-query/index.js";
|
|
15
|
+
import t from "./database/aggregate-query/index.js";
|
|
8
16
|
import r from "./database/dynamic-sql/index.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
if (e2) return e2;
|
|
17
|
+
/* empty css */
|
|
18
|
+
/* empty css */
|
|
19
|
+
/* empty css */
|
|
20
|
+
/* empty css */
|
|
21
|
+
/* empty css */
|
|
22
|
+
import s from "./computation/sort/index.js";
|
|
23
|
+
import a from "./service/http-service/index.js";
|
|
24
|
+
import c from "./service/custom-bean/index.js";
|
|
25
|
+
import m from "./components-icons.js";
|
|
26
|
+
const p = [{ type: "start", label: "开始", nodeAndView: e, configComponent: null, icon: void 0 }], d = [{ name: "base", label: "基本", icon: m.baseIcon, items: [{ type: "end", label: "结束", icon: m.endIcon, nodeAndView: o, configComponent: null }] }, { name: "database", label: "数据库", icon: m.baseIcon, items: [{ type: "regularQuery", label: "普通查询", icon: m.regularQueryIcon, nodeAndView: i, configComponent: n(() => import("./database/regular-query/config.vue.js")) }, { type: "aggregateQuery", label: "汇总查询", drawerWidth: "60%", icon: m.aggregateQueryIcon, nodeAndView: t, configComponent: n(() => import("./database/aggregate-query/config.vue.js")) }, { type: "dynamicSql", label: "动态SQL", drawerWidth: "60%", icon: m.dynamicSqlIcon, nodeAndView: r, configComponent: n(() => import("./database/dynamic-sql/config.vue.js")) }] }, { name: "computation", label: "计算", icon: m.baseIcon, items: [{ type: "computationSort", label: "排序", icon: m.computationSortIcon, nodeAndView: s, drawerWidth: "50%", configComponent: n(() => import("./computation/sort/config.vue.js")) }] }, { name: "service", label: "服务", icon: m.baseIcon, items: [{ type: "httpService", label: "http服务", drawerWidth: "60%", icon: m.httpServiceIcon, nodeAndView: a, configComponent: n(() => import("./service/http-service/config.vue.js")) }, { type: "customBean", label: "自定义bean", drawerWidth: "50%", icon: m.httpServiceIcon, nodeAndView: c, configComponent: n(() => import("./service/custom-bean/config.vue.js")) }] }];
|
|
27
|
+
function l(e2) {
|
|
28
|
+
for (let o2 of d) {
|
|
29
|
+
let n2 = o2.items.find((o3) => o3.type === e2);
|
|
30
|
+
if (n2) return n2;
|
|
24
31
|
}
|
|
25
32
|
}
|
|
26
|
-
function
|
|
27
|
-
for (let
|
|
28
|
-
let
|
|
29
|
-
if (
|
|
33
|
+
function u(e2) {
|
|
34
|
+
for (let o2 of d) {
|
|
35
|
+
let n2 = o2.items.find((o3) => o3.type === e2);
|
|
36
|
+
if (n2) return n2;
|
|
30
37
|
}
|
|
31
38
|
}
|
|
32
39
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
40
|
+
u as getConfigByType,
|
|
41
|
+
l as getServiceNodeByType,
|
|
42
|
+
p as initNodes,
|
|
43
|
+
d as serviceComponentGroups
|
|
37
44
|
};
|
|
@@ -4,15 +4,14 @@ function u(l2, e2) {
|
|
|
4
4
|
const a2 = e2.filter((e3) => e3.value === l2);
|
|
5
5
|
return a2.length > 0 ? a2[0].label : "";
|
|
6
6
|
}
|
|
7
|
-
const v = [{ value: "yyyy", label: "年(yyyy)" }, { value: "yyyyMM", label: "年月(yyyyMM)" }, { value: "yyyy-MM", label: "年-月(yyyy-MM)" }, { value: "yyyyMMdd", label: "年月日(yyyyMMdd)" }, { value: "yyyy-MM-dd", label: "年-月-日(yyyy-MM-dd)" }, { value: "quarter", label: "季度" }, { value: "week", label: "周" }], b = [{ value: "count", label: "总数(count)" }, { value: "sum", label: "求和(sum)" }, { value: "max", label: "最大(max)" }, { value: "min", label: "最小(min)" }, { value: "avg", label: "均值(avg)" }], y = [{ value: "
|
|
7
|
+
const v = [{ value: "yyyy", label: "年(yyyy)" }, { value: "yyyyMM", label: "年月(yyyyMM)" }, { value: "yyyy-MM", label: "年-月(yyyy-MM)" }, { value: "yyyyMMdd", label: "年月日(yyyyMMdd)" }, { value: "yyyy-MM-dd", label: "年-月-日(yyyy-MM-dd)" }, { value: "quarter", label: "季度" }, { value: "week", label: "周" }], b = [{ value: "count", label: "总数(count)" }, { value: "sum", label: "求和(sum)" }, { value: "max", label: "最大(max)" }, { value: "min", label: "最小(min)" }, { value: "avg", label: "均值(avg)" }], y = [{ value: "EQ", label: "等于" }, { value: "GT", label: "大于" }, { value: "GET", label: "大于等于" }, { value: "LT", label: "小于" }, { value: "LET", label: "小于等于" }, { value: "NET", label: "不等于" }, { value: "CONTAIN", label: "包含" }, { value: "NOT_CONTAIN", label: "不包含" }, { value: "RANGE_QUERY", label: "IN" }, { value: "LEFT_LIKE", label: "左匹配" }, { value: "RIGHT_LIKE", label: "右匹配" }], n = [{ value: "GET", label: "GET" }, { value: "POST", label: "POST" }, { value: "PUT", label: "PUT" }, { value: "PATCH", label: "PATCH" }, { value: "DELETE", label: "DELETE" }];
|
|
8
8
|
export {
|
|
9
9
|
v as dateFormats,
|
|
10
10
|
b as formulas,
|
|
11
11
|
u as getLabel,
|
|
12
|
-
|
|
12
|
+
n as httpMethods,
|
|
13
13
|
a as logicOperators,
|
|
14
|
-
y as operators,
|
|
15
14
|
l as operatorsForNumber,
|
|
16
15
|
e as operatorsForString,
|
|
17
|
-
|
|
16
|
+
y as sqlOperators
|
|
18
17
|
};
|
|
@@ -30,7 +30,7 @@ const x = { class: "serviceflow-design-tool" }, _ = { style: { top: "-5px", "mar
|
|
|
30
30
|
};
|
|
31
31
|
return (i2, h3) => {
|
|
32
32
|
const J3 = e, H = l, I = o, K = t;
|
|
33
|
-
return n(), c("div", x, [a(p("span", _, [r(J3, { placeholder: "", modelValue: s2.cloneService.name, "onUpdate:modelValue": h3[0] || (h3[0] = (e2) => s2.cloneService.name = e2), style: { width: "
|
|
33
|
+
return n(), c("div", x, [a(p("span", _, [r(J3, { placeholder: "", modelValue: s2.cloneService.name, "onUpdate:modelValue": h3[0] || (h3[0] = (e2) => s2.cloneService.name = e2), style: { width: "15%" } }, null, 8, ["modelValue"])], 512), [[m, s2.cloneService.code]]), a(p("span", O, [r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), (n(true), c(u, null, v(d(S), (e2) => (n(), f(I, { class: "box-item", effect: "dark", content: e2.desc, placement: "top" }, { default: w(() => [p("label", { class: g(["serviceflow-control-item", e2.type === U.value ? "serviceflow-control-item-click" : ""]), onClick: (l2) => ((e3) => {
|
|
34
34
|
N.lf && C(N.lf, e3);
|
|
35
35
|
})(e2) }, [p("i", { class: g(e2.class) }, null, 2)], 10, z)]), _: 2 }, 1032, ["content"]))), 256)), r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), p("label", { class: "serviceflow-page-type", onClick: A }, [r(K, { size: 18 }, { default: w(() => [r(d(y))]), _: 1 }), h3[3] || (h3[3] = p("label", null, "查看JSON", -1))]), p("label", { class: "serviceflow-page-type", onClick: E }, [r(K, { size: 18 }, { default: w(() => [r(d(y))]), _: 1 }), h3[4] || (h3[4] = p("label", null, "日志", -1))]), r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), p("label", { class: "serviceflow-page-type", onClick: B }, [r(K, { size: 18 }, { default: w(() => [r(d(b))]), _: 1 }), h3[5] || (h3[5] = p("label", null, "测试", -1))]), r(H, { direction: "vertical", class: "serviceflow-design-tool-split" }), p("label", { class: "serviceflow-page-type", onClick: F }, [r(K, { size: 18 }, { default: w(() => [r(d(j))]), _: 1 }), h3[6] || (h3[6] = p("label", null, "保存", -1))])], 512), [[m, s2.cloneService.code]]), r(d(V), { modelValue: D.value, "onUpdate:modelValue": h3[1] || (h3[1] = (e2) => D.value = e2), "json-object": q.value, "append-to-body": true }, null, 8, ["modelValue", "json-object"]), r(k, { modelValue: G.value, "onUpdate:modelValue": h3[2] || (h3[2] = (e2) => G.value = e2), pageContext: s2.pageContext, "append-to-body": true, cloneService: s2.cloneService, lf: s2.lf }, null, 8, ["modelValue", "pageContext", "cloneService", "lf"])]);
|
|
36
36
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./service-node-config.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const r = o(e, [["__scopeId", "data-v-32028b1e"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -4,31 +4,31 @@ import "element-plus/es/components/drawer/style/css";
|
|
|
4
4
|
import { defineComponent as t, ref as o, createBlock as a, openBlock as l, unref as n, withCtx as r, resolveDynamicComponent as d, createElementVNode as i, normalizeClass as u, toDisplayString as c } from "vue";
|
|
5
5
|
import { getServiceNodeByType as s, getConfigByType as p } from "../service-components/index.js";
|
|
6
6
|
const v = ["id"], w = t({ __name: "service-node-config", props: { service: { type: Object, default: () => ({}) }, currentNode: { type: Object, default: () => ({}) }, logicFlowInstance: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, emits: ["onConfigChange", "update:currentNode"], setup(t2, { expose: w2, emit: f }) {
|
|
7
|
-
const g = t2, h = o({}), m = o(false), y = o({}), C = o(), N = o({ withHeader: true, drawerWidth: "" }), I = f;
|
|
8
|
-
let
|
|
9
|
-
function F() {
|
|
10
|
-
m.value = false, I("update:currentNode", null);
|
|
11
|
-
}
|
|
7
|
+
const g = t2, h = o({}), m = o(false), y = o({}), C = o(), N = o({ withHeader: true, drawerWidth: "" }), I = o(false), W = f;
|
|
8
|
+
let F = { configComponent: null, drawerWidth: "50%" };
|
|
12
9
|
function b() {
|
|
13
|
-
|
|
10
|
+
m.value = false;
|
|
14
11
|
}
|
|
15
12
|
function x() {
|
|
13
|
+
I.value || O(), I.value = false, W("update:currentNode", null);
|
|
14
|
+
}
|
|
15
|
+
function O() {
|
|
16
16
|
C.value && C.value.hasOwnProperty("onClose") && "function" == typeof C.value.onClose && C.value.onClose(), g.currentNode && (["start", "end"].includes(g.currentNode.type) || (C.value && C.value.hasOwnProperty("getData") && "function" == typeof C.value.getData ? g.logicFlowInstance && g.logicFlowInstance.getNodeModelById(g.currentNode.data.id) && g.logicFlowInstance.getNodeModelById(g.currentNode.data.id).setProperties(C.value.getData()) : g.logicFlowInstance.getNodeModelById(g.currentNode.data.id).setProperties(h.value)));
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function j(e2) {
|
|
19
19
|
e2 ? (false === e2.withHeader ? N.value.withHeader = false : N.value.withHeader = true, e2.drawerWidth ? N.value.drawerWidth = e2.drawerWidth : N.value.drawerWidth = "100%") : N.value.drawerWidth = "100%";
|
|
20
20
|
}
|
|
21
21
|
return w2({ onBlankClick: function() {
|
|
22
|
-
m.value && (
|
|
22
|
+
m.value && b();
|
|
23
23
|
}, onNodeClick: function(e2) {
|
|
24
|
-
["start", "end"].includes(e2.data.type) ? (
|
|
24
|
+
["start", "end"].includes(e2.data.type) ? (O(), b()) : (1 == m.value ? (O(), y.value = s(e2.data.type)) : (m.value = true, y.value = s(e2.data.type)), F = p(e2.data.type)), h.value = e2.data.properties;
|
|
25
25
|
}, onLogicChange: function() {
|
|
26
|
-
|
|
26
|
+
b();
|
|
27
27
|
}, onDeleteNode: function() {
|
|
28
|
-
|
|
29
|
-
}, closeDrawer:
|
|
28
|
+
I.value = true, b();
|
|
29
|
+
}, closeDrawer: b }), (o2, s2) => {
|
|
30
30
|
const p2 = e;
|
|
31
|
-
return l(), a(p2, { modelValue: m.value, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => m.value = e2), "append-to-body": false, "close-on-press-escape": false, "destroy-on-close": "", "with-header": N.value.withHeader, "modal-class": "el-overlay", modal: true, title: y.value.label, direction: "rtl", size: N.value.drawerWidth ? N.value.drawerWidth : n(
|
|
31
|
+
return l(), a(p2, { modelValue: m.value, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => m.value = e2), "append-to-body": false, "close-on-press-escape": false, "destroy-on-close": "", "with-header": N.value.withHeader, "modal-class": "el-overlay", modal: true, title: y.value.label, direction: "rtl", size: N.value.drawerWidth ? N.value.drawerWidth : n(F).drawerWidth ? n(F).drawerWidth : "50%", onClose: x }, { header: r(({ close: e2, titleId: t3, titleClass: o3 }) => [i("h4", { id: t3, class: u(o3) }, c(y.value.label), 11, v)]), default: r(() => [(l(), a(d(n(F).configComponent), { ref_key: "configComponentRef", ref: C, logicFlowInstance: t2.logicFlowInstance, currentNode: t2.currentNode, properties: h.value, service: t2.service, pageContext: t2.pageContext, onFullScreen: j }, null, 40, ["logicFlowInstance", "currentNode", "properties", "service", "pageContext"]))]), _: 1 }, 8, ["modelValue", "with-header", "title", "size"]);
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -4,7 +4,7 @@ import "element-plus/es/components/drawer/style/css";
|
|
|
4
4
|
import "element-plus/es/components/timeline/style/css";
|
|
5
5
|
import "element-plus/es/components/skeleton/style/css";
|
|
6
6
|
import "element-plus/es/components/skeleton-item/style/css";
|
|
7
|
-
import { defineComponent as t, ref as n, computed as i, onMounted as r, createElementBlock as s, openBlock as u, Fragment as
|
|
7
|
+
import { defineComponent as t, ref as n, computed as i, onMounted as r, createElementBlock as s, openBlock as u, Fragment as v, createElementVNode as c, createVNode as p, withDirectives as d, normalizeStyle as f, vShow as g, withCtx as m, nextTick as w } from "vue";
|
|
8
8
|
import y from "./service-node-config.vue.js";
|
|
9
9
|
import S from "./service-update-log.vue.js";
|
|
10
10
|
import x from "./service-flow-tool.vue.js";
|
|
@@ -46,7 +46,7 @@ const _ = { class: "serviceflow-design-content", ref: "ambServiceFlowContent" },
|
|
|
46
46
|
}), K.value.on("history:change", (e2) => {
|
|
47
47
|
e2.data.undos;
|
|
48
48
|
}), K.value.on("custom:deleteNode", (e2) => {
|
|
49
|
-
A("onDeleteNode");
|
|
49
|
+
X.value && L.value.onDeleteNode(), A("onDeleteNode");
|
|
50
50
|
}));
|
|
51
51
|
}, oe = (e2) => {
|
|
52
52
|
if (K.value) {
|
|
@@ -98,7 +98,7 @@ const _ = { class: "serviceflow-design-content", ref: "ambServiceFlowContent" },
|
|
|
98
98
|
K.value && (K.value.clearData(), K.value = null, Q.value = null, W.value = { code: "", name: "" }, q.value = false, X.value = {});
|
|
99
99
|
} }), (n2, i2) => {
|
|
100
100
|
const r2 = l, w2 = e, b3 = o, h2 = a;
|
|
101
|
-
return u(), s(
|
|
101
|
+
return u(), s(v, null, [c("div", _, [d(c("div", B, [p(x, { cloneService: W.value, lf: K.value, pageContext: t2.pageContext, onShowJson: se, onShowServiceLog: re, onSaveSevice: ne }, null, 8, ["cloneService", "lf", "pageContext"]), c("div", I, [c("div", { style: f($.value), ref_key: "logicFlowContainer", ref: E, class: "container" }, null, 4)], 512)], 512), [[g, K.value]]), d(c("div", { style: f([{ "padding-top": "10px", "box-sizing": "border-box" }, $.value]), ref_key: "emptyContainer", ref: H }, [c("div", z, [p(w2, { style: { "--el-skeleton-circle-size": "100px" } }, { template: m(() => [p(r2, { variant: "circle" }), p(r2, { variant: "rect", style: { width: "100px", height: "100px", margin: "0 50px" } }), i2[2] || (i2[2] = c("div", { class: "triangle" }, null, -1))]), _: 1 }), p(b3, { style: { "max-width": "600px" } })])], 4), [[g, !K.value]]), p(h2, { modelValue: q.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e2) => q.value = e2), "append-to-body": true, "destroy-on-close": "", "modal-class": "el-overlay", modal: true, title: "服务参数", onClose: Z, "before-close": Y, direction: "rtl", size: "50%" }, { default: m(() => [p(N, { service: W.value }, null, 8, ["service"])]), _: 1 }, 8, ["modelValue"])], 512), p(S, { ref_key: "serviceUpdateLogRef", ref: P, onSave: ie, lf: K.value, cloneService: W.value }, null, 8, ["lf", "cloneService"]), p(y, { logicFlowInstance: t2.logicFlowInstance, currentNode: X.value, "onUpdate:currentNode": i2[1] || (i2[1] = (e2) => X.value = e2), sourceService: Q.value, service: W.value, pageContext: t2.pageContext, ref_key: "serviceNodeConfigRef", ref: L }, null, 8, ["logicFlowInstance", "currentNode", "sourceService", "service", "pageContext"])], 64);
|
|
102
102
|
};
|
|
103
103
|
} });
|
|
104
104
|
export {
|