service-flow-designer 2.0.12 → 2.0.18
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/database-select.vue.js +1 -1
- package/dist/es/designer/common/components/database-select.vue3.js +1 -0
- package/dist/es/designer/common/components/datatable-select.vue.js +1 -1
- package/dist/es/designer/common/components/datatable-select.vue3.js +1 -0
- package/dist/es/designer/common/components/file-upload.vue.js +1 -1
- package/dist/es/designer/common/components/file-upload.vue3.js +1 -0
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +1 -1
- package/dist/es/designer/common/components/json-view/json-view.vue.js +1 -139
- package/dist/es/designer/common/components/json-view/json-view.vue2.js +139 -1
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.js +1 -1
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue3.js +1 -0
- package/dist/es/designer/desginer-index.vue.js +1 -1
- package/dist/es/designer/desginer-index.vue3.js +1 -0
- package/dist/es/designer/service-components/base/custom-function/config.vue.js +1 -1
- package/dist/es/designer/service-components/base/custom-function/config.vue3.js +1 -0
- package/dist/es/designer/service-components/base/custom-function/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/custom-function/index.vue3.js +1 -0
- package/dist/es/designer/service-components/base/end-node/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/end-node/index.vue3.js +1 -0
- package/dist/es/designer/service-components/base/judge-condition/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/judge-condition/index.vue3.js +1 -0
- package/dist/es/designer/service-components/base/loop-node/config.vue.js +1 -1
- package/dist/es/designer/service-components/base/loop-node/config.vue3.js +1 -0
- package/dist/es/designer/service-components/base/loop-node/index.js +1 -1
- package/dist/es/designer/service-components/base/loop-node/index.vue.js +1 -0
- package/dist/es/designer/service-components/base/notification/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/notification/index.vue3.js +1 -0
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.js +1 -1
- package/dist/es/designer/service-components/base/notification/recipients-select.vue3.js +1 -0
- package/dist/es/designer/service-components/base/start-node/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/start-node/index.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/clean/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/clean/config.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/clean/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/clean/index.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/connect/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/connect/config.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/connect/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/connect/index.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/sort/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/sort/config.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/sort/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/sort/index.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/split-joint/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/split-joint/config.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/split-joint/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/split-joint/index.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/statistics/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/statistics/config.vue3.js +1 -0
- package/dist/es/designer/service-components/computation/statistics/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/statistics/index.vue3.js +1 -0
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/config.vue3.js +1 -0
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/index.vue3.js +1 -0
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.js +1 -1
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue3.js +1 -0
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.js +1 -1
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.js +1 -0
- package/dist/es/designer/service-components/database/regular-query/config.vue.js +1 -1
- package/dist/es/designer/service-components/database/regular-query/config.vue3.js +1 -0
- package/dist/es/designer/service-components/database/regular-query/index.vue.js +1 -1
- package/dist/es/designer/service-components/database/regular-query/index.vue3.js +1 -0
- package/dist/es/designer/service-components/service/common/json-data.vue.js +1 -1
- package/dist/es/designer/service-components/service/common/json-data.vue3.js +1 -0
- package/dist/es/designer/service-components/service/common/param-config.vue.js +1 -1
- package/dist/es/designer/service-components/service/common/param-config.vue3.js +1 -0
- package/dist/es/designer/service-components/service/custom-bean/index.vue.js +1 -1
- package/dist/es/designer/service-components/service/custom-bean/index.vue3.js +1 -0
- package/dist/es/designer/service-components/service/http-service/config.vue.js +1 -1
- package/dist/es/designer/service-components/service/http-service/config.vue3.js +1 -0
- package/dist/es/designer/service-components/service/http-service/index.vue.js +1 -1
- package/dist/es/designer/service-components/service/http-service/index.vue3.js +1 -0
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-flow-tool.vue3.js +1 -0
- package/dist/es/designer/service-flow-view/service-node-config.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-node-config.vue3.js +1 -0
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-update-log.vue.js +1 -1
- package/dist/es/designer/service-flow-view/service-update-log.vue3.js +1 -0
- package/dist/es/designer/service-flow-view/view-index.vue.js +1 -1
- package/dist/es/designer/service-flow-view/view-index.vue3.js +1 -0
- package/dist/es/designer/service-panel/component-panel.vue.js +1 -1
- package/dist/es/designer/service-panel/component-panel.vue3.js +1 -0
- package/dist/es/designer/service-panel/service-list.vue.js +1 -1
- package/dist/es/designer/service-panel/service-list.vue3.js +1 -0
- package/dist/es/designer/service-panel/service-panel.vue.js +1 -1
- package/dist/es/designer/service-panel/service-panel.vue3.js +1 -0
- package/dist/es/{designer/service-flow-view/service-flow-tool.css → style.css} +1158 -0
- package/package.json +2 -2
- package/dist/es/designer/common/components/database-select.css +0 -10
- package/dist/es/designer/common/components/datatable-select.css +0 -10
- package/dist/es/designer/common/components/file-upload.css +0 -7
- package/dist/es/designer/common/components/value-set-input/value-set-input.css +0 -14
- package/dist/es/designer/desginer-index.css +0 -24
- package/dist/es/designer/service-components/base/custom-function/config.css +0 -13
- package/dist/es/designer/service-components/base/custom-function/index.css +0 -51
- package/dist/es/designer/service-components/base/end-node/index.css +0 -20
- package/dist/es/designer/service-components/base/judge-condition/index.css +0 -52
- package/dist/es/designer/service-components/base/loop-node/config.css +0 -4
- package/dist/es/designer/service-components/base/loop-node/index.css +0 -20
- package/dist/es/designer/service-components/base/notification/index.css +0 -51
- package/dist/es/designer/service-components/base/notification/recipients-select.css +0 -4
- package/dist/es/designer/service-components/base/start-node/index.css +0 -20
- package/dist/es/designer/service-components/computation/clean/config.css +0 -10
- package/dist/es/designer/service-components/computation/clean/index.css +0 -51
- package/dist/es/designer/service-components/computation/connect/config.css +0 -7
- package/dist/es/designer/service-components/computation/connect/index.css +0 -51
- package/dist/es/designer/service-components/computation/sort/config.css +0 -10
- package/dist/es/designer/service-components/computation/sort/index.css +0 -51
- package/dist/es/designer/service-components/computation/split-joint/config.css +0 -7
- package/dist/es/designer/service-components/computation/split-joint/index.css +0 -51
- package/dist/es/designer/service-components/computation/statistics/config.css +0 -7
- package/dist/es/designer/service-components/computation/statistics/index.css +0 -51
- package/dist/es/designer/service-components/database/aggregate-query/config.css +0 -7
- package/dist/es/designer/service-components/database/aggregate-query/index.css +0 -52
- package/dist/es/designer/service-components/database/dynamic-sql/config.css +0 -13
- package/dist/es/designer/service-components/database/dynamic-sql/index.css +0 -51
- package/dist/es/designer/service-components/database/regular-query/config.css +0 -7
- package/dist/es/designer/service-components/database/regular-query/index.css +0 -52
- package/dist/es/designer/service-components/service/common/json-data.css +0 -4
- package/dist/es/designer/service-components/service/common/param-config.css +0 -7
- package/dist/es/designer/service-components/service/custom-bean/index.css +0 -51
- package/dist/es/designer/service-components/service/http-service/config.css +0 -7
- package/dist/es/designer/service-components/service/http-service/index.css +0 -51
- package/dist/es/designer/service-flow-view/service-node-config.css +0 -10
- package/dist/es/designer/service-flow-view/service-update-log.css +0 -5
- package/dist/es/designer/service-flow-view/view-index.css +0 -102
- package/dist/es/designer/service-panel/component-panel.css +0 -66
- package/dist/es/designer/service-panel/service-list.css +0 -36
- package/dist/es/designer/service-panel/service-panel.css +0 -41
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./database-select.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./database-select.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const DatabaseSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-92a1d6cc"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./datatable-select.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./datatable-select.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const DatatableSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dbffbd8f"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./file-upload.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./file-upload.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const fileUpload = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2d06523b"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -2,7 +2,7 @@ import { ElDialog } 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 { defineComponent, ref, watch, openBlock, createBlock, withCtx, createVNode } from "vue";
|
|
5
|
-
import _sfc_main$1 from "./json-view.
|
|
5
|
+
import _sfc_main$1 from "./json-view.vue2.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
...{
|
|
8
8
|
name: "JsonViewDialog",
|
|
@@ -1,142 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { EditorView, basicSetup } from "codemirror";
|
|
3
|
-
import { jsonLanguage } from "@codemirror/lang-json";
|
|
4
|
-
import { EditorState, Facet } from "@codemirror/state";
|
|
5
|
-
import { eclipse, githubDark, githubLight, dracula, vscodeDark, xcodeDark, xcodeLight } from "@uiw/codemirror-themes-all";
|
|
6
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
-
...{
|
|
8
|
-
name: "JsonView",
|
|
9
|
-
inheritAttrs: false
|
|
10
|
-
},
|
|
11
|
-
__name: "json-view",
|
|
12
|
-
props: {
|
|
13
|
-
jsonObject: {
|
|
14
|
-
type: Object,
|
|
15
|
-
default: () => {
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
height: {
|
|
19
|
-
type: Number,
|
|
20
|
-
default: 0
|
|
21
|
-
},
|
|
22
|
-
theme: {
|
|
23
|
-
type: String,
|
|
24
|
-
default: null
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
setup(__props) {
|
|
28
|
-
const props = __props;
|
|
29
|
-
const editor = ref(null);
|
|
30
|
-
const cfCodemirrorJsonViewRef = ref();
|
|
31
|
-
const codemirrorHeight = ref("400px");
|
|
32
|
-
watch(
|
|
33
|
-
() => props.jsonObject,
|
|
34
|
-
(newVal) => {
|
|
35
|
-
if (editor.value) {
|
|
36
|
-
loadEditor();
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{ deep: true }
|
|
40
|
-
);
|
|
41
|
-
onMounted(() => {
|
|
42
|
-
nextTick(() => {
|
|
43
|
-
loadEditor();
|
|
44
|
-
});
|
|
45
|
-
});
|
|
46
|
-
function loadEditor() {
|
|
47
|
-
if (editor.value) {
|
|
48
|
-
editor.value.destroy();
|
|
49
|
-
}
|
|
50
|
-
const jsonStr = props.jsonObject ? JSON.stringify(props.jsonObject, null, 2) : "";
|
|
51
|
-
if (props.height) {
|
|
52
|
-
codemirrorHeight.value = props.height + "px";
|
|
53
|
-
} else {
|
|
54
|
-
if (cfCodemirrorJsonViewRef.value) {
|
|
55
|
-
const rect = cfCodemirrorJsonViewRef.value.getBoundingClientRect();
|
|
56
|
-
if (rect.y || rect.y === 0) {
|
|
57
|
-
console.log("window.innerHeight - rect.y", window.innerHeight, rect.y);
|
|
58
|
-
codemirrorHeight.value = window.innerHeight - rect.y - 100 + "px";
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
const state = getEditorState(jsonStr);
|
|
63
|
-
let element = document.getElementById("cf-codemirror-view-json");
|
|
64
|
-
if (element) {
|
|
65
|
-
editor.value = new EditorView({
|
|
66
|
-
state,
|
|
67
|
-
parent: element
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
function getEditorState(jsonStr) {
|
|
72
|
-
const mytheme = getTheme();
|
|
73
|
-
const baseTheme = EditorView.theme({
|
|
74
|
-
".cm-content, .cm-gutter": { minHeight: codemirrorHeight.value },
|
|
75
|
-
"&": {
|
|
76
|
-
height: codemirrorHeight.value,
|
|
77
|
-
maxHeight: codemirrorHeight.value,
|
|
78
|
-
fontSize: "12px"
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
return EditorState.create({
|
|
82
|
-
doc: jsonStr,
|
|
83
|
-
extensions: [
|
|
84
|
-
EditorState.tabSize.of(16),
|
|
85
|
-
basicSetup,
|
|
86
|
-
jsonLanguage,
|
|
87
|
-
mytheme,
|
|
88
|
-
baseTheme,
|
|
89
|
-
readOnlyFacet.of(true),
|
|
90
|
-
preventChanges
|
|
91
|
-
]
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
const readOnlyFacet = Facet.define({ combine: (values) => values.some((a) => a) });
|
|
95
|
-
const preventChanges = EditorState.transactionFilter.of((tr) => {
|
|
96
|
-
if (tr.isUserEvent && tr.docChanged && tr.state.facet(readOnlyFacet)) {
|
|
97
|
-
return {
|
|
98
|
-
changes: {
|
|
99
|
-
from: tr.changes.from,
|
|
100
|
-
to: tr.changes.to,
|
|
101
|
-
insert: tr.startState.doc.sliceString(tr.changes.from, tr.changes.to)
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
return tr;
|
|
106
|
-
});
|
|
107
|
-
function getTheme() {
|
|
108
|
-
if (props.theme) {
|
|
109
|
-
switch (props.theme) {
|
|
110
|
-
case "xcodeLight":
|
|
111
|
-
return xcodeLight;
|
|
112
|
-
case "xcodeDark":
|
|
113
|
-
return xcodeDark;
|
|
114
|
-
case "vscodeDark":
|
|
115
|
-
return vscodeDark;
|
|
116
|
-
case "dracula":
|
|
117
|
-
return dracula;
|
|
118
|
-
case "githubLight":
|
|
119
|
-
return githubLight;
|
|
120
|
-
case "githubDark":
|
|
121
|
-
return githubDark;
|
|
122
|
-
case "eclipse":
|
|
123
|
-
return eclipse;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
return EditorView.theme({});
|
|
127
|
-
}
|
|
128
|
-
return (_ctx, _cache) => {
|
|
129
|
-
return openBlock(), createElementBlock("div", {
|
|
130
|
-
style: {
|
|
131
|
-
width: "100%"
|
|
132
|
-
},
|
|
133
|
-
ref_key: "cfCodemirrorJsonViewRef",
|
|
134
|
-
ref: cfCodemirrorJsonViewRef,
|
|
135
|
-
id: "cf-codemirror-view-json"
|
|
136
|
-
}, null, 512);
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
});
|
|
1
|
+
import _sfc_main from "./json-view.vue2.js";
|
|
140
2
|
export {
|
|
141
3
|
_sfc_main as default
|
|
142
4
|
};
|
|
@@ -1,4 +1,142 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { defineComponent, ref, watch, onMounted, nextTick, openBlock, createElementBlock } from "vue";
|
|
2
|
+
import { EditorView, basicSetup } from "codemirror";
|
|
3
|
+
import { jsonLanguage } from "@codemirror/lang-json";
|
|
4
|
+
import { EditorState, Facet } from "@codemirror/state";
|
|
5
|
+
import { eclipse, githubDark, githubLight, dracula, vscodeDark, xcodeDark, xcodeLight } from "@uiw/codemirror-themes-all";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
|
+
...{
|
|
8
|
+
name: "JsonView",
|
|
9
|
+
inheritAttrs: false
|
|
10
|
+
},
|
|
11
|
+
__name: "json-view",
|
|
12
|
+
props: {
|
|
13
|
+
jsonObject: {
|
|
14
|
+
type: Object,
|
|
15
|
+
default: () => {
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
height: {
|
|
19
|
+
type: Number,
|
|
20
|
+
default: 0
|
|
21
|
+
},
|
|
22
|
+
theme: {
|
|
23
|
+
type: String,
|
|
24
|
+
default: null
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
setup(__props) {
|
|
28
|
+
const props = __props;
|
|
29
|
+
const editor = ref(null);
|
|
30
|
+
const cfCodemirrorJsonViewRef = ref();
|
|
31
|
+
const codemirrorHeight = ref("400px");
|
|
32
|
+
watch(
|
|
33
|
+
() => props.jsonObject,
|
|
34
|
+
(newVal) => {
|
|
35
|
+
if (editor.value) {
|
|
36
|
+
loadEditor();
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{ deep: true }
|
|
40
|
+
);
|
|
41
|
+
onMounted(() => {
|
|
42
|
+
nextTick(() => {
|
|
43
|
+
loadEditor();
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
function loadEditor() {
|
|
47
|
+
if (editor.value) {
|
|
48
|
+
editor.value.destroy();
|
|
49
|
+
}
|
|
50
|
+
const jsonStr = props.jsonObject ? JSON.stringify(props.jsonObject, null, 2) : "";
|
|
51
|
+
if (props.height) {
|
|
52
|
+
codemirrorHeight.value = props.height + "px";
|
|
53
|
+
} else {
|
|
54
|
+
if (cfCodemirrorJsonViewRef.value) {
|
|
55
|
+
const rect = cfCodemirrorJsonViewRef.value.getBoundingClientRect();
|
|
56
|
+
if (rect.y || rect.y === 0) {
|
|
57
|
+
console.log("window.innerHeight - rect.y", window.innerHeight, rect.y);
|
|
58
|
+
codemirrorHeight.value = window.innerHeight - rect.y - 100 + "px";
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
const state = getEditorState(jsonStr);
|
|
63
|
+
let element = document.getElementById("cf-codemirror-view-json");
|
|
64
|
+
if (element) {
|
|
65
|
+
editor.value = new EditorView({
|
|
66
|
+
state,
|
|
67
|
+
parent: element
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
function getEditorState(jsonStr) {
|
|
72
|
+
const mytheme = getTheme();
|
|
73
|
+
const baseTheme = EditorView.theme({
|
|
74
|
+
".cm-content, .cm-gutter": { minHeight: codemirrorHeight.value },
|
|
75
|
+
"&": {
|
|
76
|
+
height: codemirrorHeight.value,
|
|
77
|
+
maxHeight: codemirrorHeight.value,
|
|
78
|
+
fontSize: "12px"
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
return EditorState.create({
|
|
82
|
+
doc: jsonStr,
|
|
83
|
+
extensions: [
|
|
84
|
+
EditorState.tabSize.of(16),
|
|
85
|
+
basicSetup,
|
|
86
|
+
jsonLanguage,
|
|
87
|
+
mytheme,
|
|
88
|
+
baseTheme,
|
|
89
|
+
readOnlyFacet.of(true),
|
|
90
|
+
preventChanges
|
|
91
|
+
]
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
const readOnlyFacet = Facet.define({ combine: (values) => values.some((a) => a) });
|
|
95
|
+
const preventChanges = EditorState.transactionFilter.of((tr) => {
|
|
96
|
+
if (tr.isUserEvent && tr.docChanged && tr.state.facet(readOnlyFacet)) {
|
|
97
|
+
return {
|
|
98
|
+
changes: {
|
|
99
|
+
from: tr.changes.from,
|
|
100
|
+
to: tr.changes.to,
|
|
101
|
+
insert: tr.startState.doc.sliceString(tr.changes.from, tr.changes.to)
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
return tr;
|
|
106
|
+
});
|
|
107
|
+
function getTheme() {
|
|
108
|
+
if (props.theme) {
|
|
109
|
+
switch (props.theme) {
|
|
110
|
+
case "xcodeLight":
|
|
111
|
+
return xcodeLight;
|
|
112
|
+
case "xcodeDark":
|
|
113
|
+
return xcodeDark;
|
|
114
|
+
case "vscodeDark":
|
|
115
|
+
return vscodeDark;
|
|
116
|
+
case "dracula":
|
|
117
|
+
return dracula;
|
|
118
|
+
case "githubLight":
|
|
119
|
+
return githubLight;
|
|
120
|
+
case "githubDark":
|
|
121
|
+
return githubDark;
|
|
122
|
+
case "eclipse":
|
|
123
|
+
return eclipse;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return EditorView.theme({});
|
|
127
|
+
}
|
|
128
|
+
return (_ctx, _cache) => {
|
|
129
|
+
return openBlock(), createElementBlock("div", {
|
|
130
|
+
style: {
|
|
131
|
+
width: "100%"
|
|
132
|
+
},
|
|
133
|
+
ref_key: "cfCodemirrorJsonViewRef",
|
|
134
|
+
ref: cfCodemirrorJsonViewRef,
|
|
135
|
+
id: "cf-codemirror-view-json"
|
|
136
|
+
}, null, 512);
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
});
|
|
2
140
|
export {
|
|
3
141
|
_sfc_main as default
|
|
4
142
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./value-set-input.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./value-set-input.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const ValueSetInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9cc733d7"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./desginer-index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./desginer-index.vue3.js";
|
|
3
3
|
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const ServiceFlowDesginer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9cfa34b7"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d55ab098"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const CustomFunction = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-faa5a940"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const JudgeCondition = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c176feb6"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a158f309"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -3,7 +3,7 @@ import { GroupNode } from "@logicflow/extension";
|
|
|
3
3
|
import "vue";
|
|
4
4
|
import "../../../flow/base/AbLogicResizeNodeModel.js";
|
|
5
5
|
import "../../../flow/base/AbLogicResizeNode.js";
|
|
6
|
-
|
|
6
|
+
import "./index.vue.js";
|
|
7
7
|
class LoopNode extends GroupNode.view {
|
|
8
8
|
getResizeShape() {
|
|
9
9
|
const { model } = this.props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const Notification = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7702fcdb"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./recipients-select.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./recipients-select.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const RecipientsSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1bbd6187"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d978e7dc"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const ComputationClean = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6d0cd280"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-32875028"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const Connect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9fff2753"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e27c4c1e"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const ComputationSort = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b1d2a966"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-028fb838"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const SplitJoint = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b604c489"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-82e0dfef"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const Statistics = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-221a60f8"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-808a13e1"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const AggregateQuery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bd32480c"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-684c1f08"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./index.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const DynamicSql = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5911272d"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from "./config.vue2.js";
|
|
2
|
-
|
|
2
|
+
import "./config.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
4
|
const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-65e38bfb"]]);
|
|
5
5
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|