service-flow-designer 2.2.4 → 2.2.12
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/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/es/designer/common/components/database-select.vue.d.ts +5 -5
- package/dist/es/designer/common/components/database-select.vue.js +1 -1
- package/dist/es/designer/common/components/database-select.vue2.js +4 -4
- package/dist/es/designer/common/components/datatable-select.vue.d.ts +5 -5
- package/dist/es/designer/common/components/datatable-select.vue.js +2 -2
- package/dist/es/designer/common/components/datatable-select.vue2.js +7 -8
- package/dist/es/designer/common/components/file-upload.vue.d.ts +5 -5
- package/dist/es/designer/common/components/file-upload.vue.js +1 -1
- package/dist/es/designer/common/components/file-upload.vue2.js +4 -4
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.d.ts +5 -5
- package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +2 -2
- package/dist/es/designer/common/components/json-view/json-view.vue.d.ts +4 -4
- package/dist/es/designer/common/components/json-view/json-view.vue.js +19 -21
- package/dist/es/designer/common/components/node-base-config.vue.d.ts +4 -4
- package/dist/es/designer/common/components/node-base-config.vue.js +4 -4
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.d.ts +5 -5
- package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.js +2 -2
- package/dist/es/designer/common/components/sql-view/sql-view.vue.d.ts +4 -4
- package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +3 -4
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue.d.ts +6 -6
- 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.vue2.js +85 -95
- package/dist/es/designer/common/util/node-util.js +9 -21
- package/dist/es/designer/desginer-index.vue.d.ts +4 -4
- package/dist/es/designer/desginer-index.vue.js +1 -1
- package/dist/es/designer/desginer-index.vue2.js +4 -4
- package/dist/es/designer/flow/base/AbLogicNode.js +2 -6
- package/dist/es/designer/flow/base/AbLogicNodeModel.js +2 -6
- package/dist/es/designer/flow/base/AbLogicResizeNode.js +2 -6
- package/dist/es/designer/flow/base/AbLogicResizeNodeModel.js +1 -4
- package/dist/es/designer/flow/edge/CustomLine.js +4 -4
- package/dist/es/designer/service-components/base/custom-function/config.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/custom-function/config.vue.js +1 -1
- package/dist/es/designer/service-components/base/custom-function/config.vue2.js +45 -45
- package/dist/es/designer/service-components/base/custom-function/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/custom-function/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/custom-function/index.vue2.js +6 -6
- package/dist/es/designer/service-components/base/end-node/index.js +2 -6
- package/dist/es/designer/service-components/base/end-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/end-node/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/end-node/index.vue2.js +4 -4
- package/dist/es/designer/service-components/base/judge-condition/config.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/judge-condition/config.vue2.js +19 -21
- package/dist/es/designer/service-components/base/judge-condition/index.js +1 -4
- package/dist/es/designer/service-components/base/judge-condition/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/judge-condition/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/judge-condition/index.vue2.js +7 -7
- package/dist/es/designer/service-components/base/loop-node/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/base/loop-node/config.vue.js +1 -1
- package/dist/es/designer/service-components/base/loop-node/config.vue2.js +4 -4
- package/dist/es/designer/service-components/base/loop-node/index.js +2 -3
- package/dist/es/designer/service-components/base/loop-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/notification/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/base/notification/config.vue2.js +13 -13
- package/dist/es/designer/service-components/base/notification/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/notification/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/notification/index.vue2.js +6 -6
- package/dist/es/designer/service-components/base/notification/quill-example.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.d.ts +4 -4
- package/dist/es/designer/service-components/base/notification/recipients-select.vue.js +1 -1
- package/dist/es/designer/service-components/base/notification/recipients-select.vue2.js +4 -4
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue.d.ts +5 -5
- package/dist/es/designer/service-components/base/notification/select-mail-template.vue.js +4 -4
- package/dist/es/designer/service-components/base/start-node/index.js +2 -6
- package/dist/es/designer/service-components/base/start-node/index.vue.d.ts +3 -3
- package/dist/es/designer/service-components/base/start-node/index.vue.js +1 -1
- package/dist/es/designer/service-components/base/start-node/index.vue2.js +4 -4
- package/dist/es/designer/service-components/computation/clean/config.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/clean/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/clean/config.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/clean/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/clean/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/clean/index.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/connect/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/computation/connect/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/connect/config.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/connect/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/connect/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/connect/index.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/sort/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/computation/sort/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/sort/config.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/sort/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/sort/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/sort/index.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/split-joint/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/computation/split-joint/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/split-joint/config.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/split-joint/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/split-joint/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/split-joint/index.vue2.js +6 -6
- package/dist/es/designer/service-components/computation/statistics/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/computation/statistics/config.vue.js +1 -1
- package/dist/es/designer/service-components/computation/statistics/config.vue2.js +7 -7
- package/dist/es/designer/service-components/computation/statistics/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/computation/statistics/index.vue.js +1 -1
- package/dist/es/designer/service-components/computation/statistics/index.vue2.js +6 -6
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/config.vue.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +57 -59
- package/dist/es/designer/service-components/database/aggregate-query/dimension-additional.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +16 -17
- package/dist/es/designer/service-components/database/aggregate-query/index.js +1 -4
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/index.vue.js +1 -1
- package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +13 -16
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.d.ts +4 -4
- package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +5 -5
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue.d.ts +5 -5
- 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 +54 -54
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue.js +1 -1
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +6 -6
- package/dist/es/designer/service-components/database/regular-query/config.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/regular-query/config.vue.js +1 -1
- package/dist/es/designer/service-components/database/regular-query/config.vue2.js +6 -7
- package/dist/es/designer/service-components/database/regular-query/index.js +1 -4
- package/dist/es/designer/service-components/database/regular-query/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/database/regular-query/index.vue.js +1 -1
- package/dist/es/designer/service-components/database/regular-query/index.vue2.js +13 -16
- package/dist/es/designer/service-components/index.js +2 -4
- package/dist/es/designer/service-components/service/common/cookie-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/cookie-data.vue.js +5 -5
- package/dist/es/designer/service-components/service/common/form-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/form-data.vue.js +5 -5
- package/dist/es/designer/service-components/service/common/header-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/header-data.vue.js +5 -5
- package/dist/es/designer/service-components/service/common/json-data.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/json-data.vue.js +1 -1
- package/dist/es/designer/service-components/service/common/json-data.vue2.js +5 -5
- package/dist/es/designer/service-components/service/common/param-config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/common/param-config.vue.js +1 -1
- package/dist/es/designer/service-components/service/common/param-config.vue2.js +14 -14
- package/dist/es/designer/service-components/service/common/query-params.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/common/query-params.vue.js +5 -5
- package/dist/es/designer/service-components/service/common/raw-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/common/raw-data.vue.js +2 -2
- package/dist/es/designer/service-components/service/common/xml-data.vue.d.ts +6 -6
- package/dist/es/designer/service-components/service/custom-bean/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +4 -4
- package/dist/es/designer/service-components/service/custom-bean/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/custom-bean/index.vue.js +1 -1
- package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +6 -6
- package/dist/es/designer/service-components/service/http-service/config.vue.d.ts +4 -4
- package/dist/es/designer/service-components/service/http-service/config.vue.js +1 -1
- package/dist/es/designer/service-components/service/http-service/config.vue2.js +4 -4
- package/dist/es/designer/service-components/service/http-service/index.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/index.vue.js +1 -1
- package/dist/es/designer/service-components/service/http-service/index.vue2.js +6 -6
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +10 -12
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +4 -4
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.d.ts +5 -5
- package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +10 -12
- package/dist/es/designer/service-components/util/common-options.js +1 -2
- package/dist/es/designer/service-flow-view/flow-util.js +2 -5
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.d.ts +5 -5
- package/dist/es/designer/service-flow-view/service-flow-tool.vue.js +2 -2
- package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +24 -24
- package/dist/es/designer/service-flow-view/service-node-config.vue.d.ts +6 -6
- 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 +2 -2
- package/dist/es/designer/service-flow-view/service-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-params.vue.js +10 -12
- package/dist/es/designer/service-flow-view/service-result.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-result.vue.js +11 -13
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.d.ts +4 -4
- package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +22 -24
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.d.ts +5 -5
- package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +5 -6
- package/dist/es/designer/service-flow-view/service-update-log.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/service-update-log.vue.js +2 -2
- package/dist/es/designer/service-flow-view/service-update-log.vue2.js +25 -27
- package/dist/es/designer/service-flow-view/view-index.vue.d.ts +6 -6
- package/dist/es/designer/service-flow-view/view-index.vue.js +1 -1
- package/dist/es/designer/service-flow-view/view-index.vue2.js +76 -79
- package/dist/es/designer/service-panel/component-panel.vue.d.ts +2 -2
- package/dist/es/designer/service-panel/component-panel.vue.js +1 -1
- package/dist/es/designer/service-panel/component-panel.vue2.js +4 -4
- package/dist/es/designer/service-panel/service-list.vue.d.ts +5 -5
- package/dist/es/designer/service-panel/service-list.vue.js +1 -1
- package/dist/es/designer/service-panel/service-list.vue2.js +62 -63
- package/dist/es/designer/service-panel/service-panel.vue.d.ts +5 -5
- package/dist/es/designer/service-panel/service-panel.vue.js +1 -1
- package/dist/es/designer/service-panel/service-panel.vue2.js +2 -2
- package/dist/es/stores/page-store.d.ts +11 -11
- package/dist/es/style.css +771 -771
- package/dist/es/utils/common-util.js +15 -30
- package/package.json +2 -2
- package/dist/es/designer/common/components/database-select.vue3.js +0 -1
- package/dist/es/designer/common/components/datatable-select.vue3.js +0 -1
- package/dist/es/designer/common/components/file-upload.vue3.js +0 -1
- package/dist/es/designer/common/components/value-set-input/value-set-input.vue3.js +0 -1
- package/dist/es/designer/desginer-index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/custom-function/config.vue3.js +0 -1
- package/dist/es/designer/service-components/base/custom-function/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/end-node/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/judge-condition/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/loop-node/config.vue3.js +0 -1
- package/dist/es/designer/service-components/base/loop-node/index.vue.js +0 -1
- package/dist/es/designer/service-components/base/notification/index.vue3.js +0 -1
- package/dist/es/designer/service-components/base/notification/recipients-select.vue3.js +0 -1
- package/dist/es/designer/service-components/base/start-node/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/clean/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/clean/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/connect/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/connect/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/sort/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/sort/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/split-joint/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/split-joint/index.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/statistics/config.vue3.js +0 -1
- package/dist/es/designer/service-components/computation/statistics/index.vue3.js +0 -1
- package/dist/es/designer/service-components/database/aggregate-query/config.vue3.js +0 -1
- package/dist/es/designer/service-components/database/aggregate-query/index.vue3.js +0 -1
- package/dist/es/designer/service-components/database/dynamic-sql/config.vue3.js +0 -1
- package/dist/es/designer/service-components/database/dynamic-sql/index.vue3.js +0 -1
- package/dist/es/designer/service-components/database/regular-query/config.vue3.js +0 -1
- package/dist/es/designer/service-components/database/regular-query/index.vue3.js +0 -1
- package/dist/es/designer/service-components/service/common/json-data.vue3.js +0 -1
- package/dist/es/designer/service-components/service/common/param-config.vue3.js +0 -1
- package/dist/es/designer/service-components/service/custom-bean/index.vue3.js +0 -1
- package/dist/es/designer/service-components/service/http-service/config.vue3.js +0 -1
- package/dist/es/designer/service-components/service/http-service/index.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/service-flow-tool.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/service-node-config.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/service-update-log.vue3.js +0 -1
- package/dist/es/designer/service-flow-view/view-index.vue3.js +0 -1
- package/dist/es/designer/service-panel/component-panel.vue3.js +0 -1
- package/dist/es/designer/service-panel/service-list.vue3.js +0 -1
- package/dist/es/designer/service-panel/service-panel.vue3.js +0 -1
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElForm as e, ElTooltip as t, ElSelect as l, ElOption as o, ElIcon as a } 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/icon/style/css";
|
|
5
5
|
import "element-plus/es/components/tooltip/style/css";
|
|
6
6
|
import "element-plus/es/components/select/style/css";
|
|
7
7
|
import "element-plus/es/components/option/style/css";
|
|
8
|
-
import { defineComponent as r, ref as n, onMounted as u,
|
|
9
|
-
import { useLocalStorage as
|
|
10
|
-
import
|
|
11
|
-
import { Search as
|
|
12
|
-
import { EditorView as
|
|
13
|
-
import { javaLanguage as
|
|
14
|
-
import { EditorState as
|
|
15
|
-
import { openSearchPanel as
|
|
16
|
-
import { eclipse as
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
function
|
|
20
|
-
true ===
|
|
8
|
+
import { defineComponent as r, ref as n, onMounted as u, createElementBlock as i, openBlock as c, createVNode as s, withCtx as p, createElementVNode as d, unref as m, normalizeStyle as f } from "vue";
|
|
9
|
+
import { useLocalStorage as v } from "@vueuse/core";
|
|
10
|
+
import h from "../../../common/components/node-base-config.vue.js";
|
|
11
|
+
import { Search as b, FullScreen as g } from "@element-plus/icons-vue";
|
|
12
|
+
import { EditorView as y, basicSetup as x } from "codemirror";
|
|
13
|
+
import { javaLanguage as k, java as S } from "@codemirror/lang-java";
|
|
14
|
+
import { EditorState as w } from "@codemirror/state";
|
|
15
|
+
import { openSearchPanel as z } from "@codemirror/search";
|
|
16
|
+
import { eclipse as _, githubDark as D, githubLight as C, dracula as L, vscodeDark as V, xcodeDark as H, xcodeLight as O } from "@uiw/codemirror-themes-all";
|
|
17
|
+
const j = { style: { height: "400px" } }, B = { style: { padding: "8px 16px", margin: "10px 0px", "background-color": "#f4f4f5" }, class: "pppp" }, E = { class: "editorTool" }, G = r({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, emits: ["fullScreen"], setup(r2, { expose: G2, emit: R }) {
|
|
18
|
+
const U = r2, W = R, X = n(false), I = n({ theme: "default", fontSize: 14, searchOpen: false }), N = n(), T = n(null), q = n("400px");
|
|
19
|
+
function A() {
|
|
20
|
+
true === X.value ? (X.value = false, W("fullScreen", { withHeader: true, drawerWidth: "50%" })) : (X.value = true, W("fullScreen", { withHeader: false, drawerWidth: "100%" }));
|
|
21
21
|
}
|
|
22
22
|
u(() => {
|
|
23
|
-
if (
|
|
24
|
-
const e3 =
|
|
25
|
-
(e3.y || 0 === e3.y) && (
|
|
23
|
+
if (N.value) {
|
|
24
|
+
const e3 = N.value.getBoundingClientRect();
|
|
25
|
+
(e3.y || 0 === e3.y) && (q.value = window.innerHeight - e3.y - 100 + "px");
|
|
26
26
|
}
|
|
27
|
-
let e2 =
|
|
28
|
-
e2 && (
|
|
27
|
+
let e2 = v("editorStyle", { theme: "default", fontSize: 14 }).value;
|
|
28
|
+
e2 && (I.value.theme = e2.theme, I.value.fontSize = e2.fontSize), M();
|
|
29
29
|
});
|
|
30
|
-
const
|
|
31
|
-
function
|
|
32
|
-
|
|
30
|
+
const F = k.data.of({});
|
|
31
|
+
function J() {
|
|
32
|
+
v("editorStyle", I.value).value = I.value, T.value && (T.value && T.value.destroy(), M());
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function K() {
|
|
35
35
|
const e2 = function() {
|
|
36
|
-
switch (
|
|
36
|
+
switch (I.value.theme) {
|
|
37
37
|
case "xcodeLight":
|
|
38
|
-
return
|
|
38
|
+
return O;
|
|
39
39
|
case "xcodeDark":
|
|
40
|
-
return
|
|
40
|
+
return H;
|
|
41
41
|
case "vscodeDark":
|
|
42
|
-
return
|
|
42
|
+
return V;
|
|
43
43
|
case "dracula":
|
|
44
|
-
return
|
|
44
|
+
return L;
|
|
45
45
|
case "githubLight":
|
|
46
|
-
return
|
|
46
|
+
return C;
|
|
47
47
|
case "githubDark":
|
|
48
|
-
return
|
|
48
|
+
return D;
|
|
49
49
|
case "eclipse":
|
|
50
|
-
return
|
|
50
|
+
return _;
|
|
51
51
|
}
|
|
52
|
-
return
|
|
53
|
-
}(), t2 =
|
|
54
|
-
return
|
|
55
|
-
|
|
52
|
+
return y.theme({});
|
|
53
|
+
}(), t2 = y.theme({ ".cm-content, .cm-gutter": { minHeight: "200px" }, "&": { height: q.value, maxHeight: q.value, fontSize: I.value.fontSize + "px" } });
|
|
54
|
+
return w.create({ doc: U.properties.function, extensions: [w.tabSize.of(16), x, S(), F, e2, t2, y.updateListener.of(function(e3) {
|
|
55
|
+
U.properties.function = e3.state.doc.toString();
|
|
56
56
|
})] });
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
const e2 =
|
|
60
|
-
|
|
58
|
+
function M() {
|
|
59
|
+
const e2 = K();
|
|
60
|
+
T.value = new y({ state: e2, parent: document.getElementById("cf-codemirror") });
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
if (
|
|
64
|
-
|
|
62
|
+
function P() {
|
|
63
|
+
if (T.value) {
|
|
64
|
+
T.value.focus(), z(T.value) && T.value.update([]);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
return
|
|
68
|
-
const
|
|
69
|
-
return
|
|
67
|
+
return G2({}), (n2, u2) => {
|
|
68
|
+
const v2 = o, y2 = l, x2 = t, k2 = a, S2 = e;
|
|
69
|
+
return c(), i("div", j, [s(S2, { "label-width": "auto", "label-position": "left" }, { default: p(() => [s(h, { properties: r2.properties }, null, 8, ["properties"]), d("div", B, [u2[2] || (u2[2] = d("span", { style: { color: "#909399", "font-size": "14px" } }, " public void execute(serviceContext,serviceNode){", -1)), d("span", E, [s(x2, { effect: "dark", content: "切换主题", placement: "top" }, { default: p(() => [s(y2, { class: "editorOption", onChange: J, modelValue: I.value.theme, "onUpdate:modelValue": u2[0] || (u2[0] = (e2) => I.value.theme = e2), placeholder: "", size: "small", style: { width: "120px" } }, { default: p(() => [s(v2, { label: "默认", value: "default" }), s(v2, { label: "VScodeDark", value: "vscodeDark" }), s(v2, { label: "Dracula", value: "dracula" }), s(v2, { label: "GithubLight", value: "githubLight" }), s(v2, { label: "GithubDark", value: "githubDark" }), s(v2, { label: "Eclipse", value: "eclipse" }), s(v2, { label: "XcodeLight", value: "xcodeLight" }), s(v2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(x2, { effect: "dark", content: "切换字体大小", placement: "top" }, { default: p(() => [s(y2, { class: "editorOption", modelValue: I.value.fontSize, "onUpdate:modelValue": u2[1] || (u2[1] = (e2) => I.value.fontSize = e2), placeholder: "", onChange: J, size: "small", style: { width: "80px" } }, { default: p(() => [s(v2, { label: "12", value: 12 }), s(v2, { label: "14", value: 14 }), s(v2, { label: "16", value: 16 }), s(v2, { label: "18", value: 18 }), s(v2, { label: "20", value: 20 }), s(v2, { label: "22", value: 22 }), s(v2, { label: "24", value: 24 }), s(v2, { label: "26", value: 26 }), s(v2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), s(x2, { effect: "dark", content: "打开搜索", placement: "top" }, { default: p(() => [s(k2, { class: "editorOption", onClick: P }, { default: p(() => [s(m(b))]), _: 1 })]), _: 1 }), s(x2, { effect: "dark", content: X.value ? "退出全屏" : "全屏", placement: "top" }, { default: p(() => [s(k2, { style: { cursor: "pointer" }, onClick: A }, { default: p(() => [s(m(g))]), _: 1 })]), _: 1 }, 8, ["content"])]), d("div", { style: f([{ height: q.value }, { "background-color": "'#fff'", color: "'#333'", outline: "'1px dotted #212121'" }]), id: "cf-codemirror", ref_key: "cfCodemirrorRef", ref: N }, null, 4), u2[3] || (u2[3] = d("span", { style: { color: "gray" } }, " }", -1))]), _: 1 })]);
|
|
70
70
|
};
|
|
71
71
|
} });
|
|
72
72
|
export {
|
|
73
|
-
|
|
73
|
+
G as default
|
|
74
74
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
graphModel: ObjectConstructor;
|
|
3
3
|
properties: {
|
|
4
4
|
type: ObjectConstructor;
|
|
5
5
|
default: () => {};
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
8
|
btnClick: (...args: any[]) => void;
|
|
9
9
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
10
|
graphModel: ObjectConstructor;
|
|
@@ -12,9 +12,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
12
12
|
type: ObjectConstructor;
|
|
13
13
|
default: () => {};
|
|
14
14
|
};
|
|
15
|
-
}>> & {
|
|
15
|
+
}>> & Readonly<{
|
|
16
16
|
onBtnClick?: (...args: any[]) => any;
|
|
17
|
-
}
|
|
17
|
+
}>, {
|
|
18
18
|
properties: Record<string, any>;
|
|
19
|
-
}, {}>;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
20
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ElDivider as e } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/divider/style/css";
|
|
4
|
-
import { defineComponent as s,
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
return
|
|
4
|
+
import { defineComponent as s, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
|
|
5
|
+
import n from "../../../../assets/icon/vardef-v.png.js";
|
|
6
|
+
const c = { class: "serviceflow-nodeContent" }, m = s({ __name: "index", props: { graphModel: Object, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup: (s2, { emit: m2 }) => (m3, d) => {
|
|
7
|
+
const a = e;
|
|
8
|
+
return o(), t("div", null, [d[1] || (d[1] = i("img", { src: n, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), i("div", { class: "serviceflow-nodeView", style: r({ backgroundColor: s2.properties.backgroundColor }) }, [d[0] || (d[0] = i("div", { class: "serviceflow-nodeTitle" }, "自定义函数", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
|
|
9
9
|
} });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
m as default
|
|
12
12
|
};
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) =>
|
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
4
|
import e from "../../../flow/base/AbLogicNode.js";
|
|
8
5
|
import t from "../../../flow/base/AbLogicNodeModel.js";
|
|
9
6
|
import "../../../flow/base/AbLogicResizeNodeModel.js";
|
|
@@ -19,8 +16,7 @@ const r = { type: "end", view: class extends e {
|
|
|
19
16
|
} }), this.app = o({ render: () => this.r });
|
|
20
17
|
}
|
|
21
18
|
setHtml(e2) {
|
|
22
|
-
if (this.isMounted)
|
|
23
|
-
this.r.component.props.properties = this.props.model.getProperties();
|
|
19
|
+
if (this.isMounted) this.r.component.props.properties = this.props.model.getProperties();
|
|
24
20
|
else {
|
|
25
21
|
this.isMounted = true;
|
|
26
22
|
const t2 = document.createElement("div");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
graphModel: ObjectConstructor;
|
|
3
3
|
properties: ObjectConstructor;
|
|
4
|
-
}
|
|
4
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5
5
|
graphModel: ObjectConstructor;
|
|
6
6
|
properties: ObjectConstructor;
|
|
7
|
-
}
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as e, createElementBlock as s, openBlock as t, createElementVNode as p } from "vue";
|
|
2
|
+
import i from "../../../../assets/icon/end.svg.js";
|
|
3
|
+
const n = { style: { padding: "10px" } }, d = e({ __name: "index", props: { graphModel: Object, properties: Object }, setup: (e2) => (e3, d2) => (t(), s("div", n, d2[0] || (d2[0] = [p("div", { class: "node-content" }, [p("div", { style: { padding: "8px 27px", display: "flex", "align-items": "center" } }, [p("img", { src: i, style: { height: "28px" } }), p("span", { class: "content" }, "结束")])], -1)]))) });
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
d as default
|
|
6
6
|
};
|
|
@@ -3,7 +3,7 @@ declare function getData(): Record<string, any>;
|
|
|
3
3
|
* 关闭drawer时进行跳转节点间的连线设值
|
|
4
4
|
*/
|
|
5
5
|
declare function onClose(): void;
|
|
6
|
-
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
7
|
properties: {
|
|
8
8
|
type: ObjectConstructor;
|
|
9
9
|
default: () => {};
|
|
@@ -16,10 +16,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
16
16
|
type: ObjectConstructor;
|
|
17
17
|
default: () => {};
|
|
18
18
|
};
|
|
19
|
-
}
|
|
19
|
+
}>, {
|
|
20
20
|
getData: typeof getData;
|
|
21
21
|
onClose: typeof onClose;
|
|
22
|
-
},
|
|
22
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
23
|
properties: {
|
|
24
24
|
type: ObjectConstructor;
|
|
25
25
|
default: () => {};
|
|
@@ -32,9 +32,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
32
32
|
type: ObjectConstructor;
|
|
33
33
|
default: () => {};
|
|
34
34
|
};
|
|
35
|
-
}
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
36
|
properties: Record<string, any>;
|
|
37
37
|
logicFlowInstance: Record<string, any>;
|
|
38
38
|
currentNode: Record<string, any>;
|
|
39
|
-
}, {}>;
|
|
39
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
40
40
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElForm as e, ElFormItem as l, ElInput as o, ElButton as t, ElAlert as a, ElTable as n, ElTableColumn as d, ElSelect as s, ElOption as u, ElTooltip as p, ElRadio as r, ElDivider as i, ElMessageBox as m } 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/divider/style/css";
|
|
@@ -12,8 +12,8 @@ import "element-plus/es/components/alert/style/css";
|
|
|
12
12
|
import "element-plus/es/components/form-item/style/css";
|
|
13
13
|
import "element-plus/es/components/button/style/css";
|
|
14
14
|
import "element-plus/es/components/input/style/css";
|
|
15
|
-
import { defineComponent as c, ref as f, onMounted as b,
|
|
16
|
-
import { Delete as N,
|
|
15
|
+
import { defineComponent as c, ref as f, onMounted as b, createElementBlock as y, openBlock as g, createVNode as V, withCtx as h, createTextVNode as w, Fragment as v, renderList as k, unref as U, createBlock as _, toDisplayString as C, createElementVNode as j } from "vue";
|
|
16
|
+
import { Delete as N, Minus as T, Plus as x } from "@element-plus/icons-vue";
|
|
17
17
|
import { getLabel as z, operators as I, logicOperators as M } from "../../util/common-options.js";
|
|
18
18
|
import $ from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
19
19
|
import B from "../../../common/components/node-base-config.vue.js";
|
|
@@ -46,33 +46,31 @@ const F = { key: 0 }, O = { key: 0 }, D = { key: 0 }, L = { key: 0 }, S = c({ __
|
|
|
46
46
|
});
|
|
47
47
|
const t2 = [];
|
|
48
48
|
A.properties.rules && A.properties.rules.forEach((e3, a2) => {
|
|
49
|
-
if (e3.jumpComponentTo)
|
|
50
|
-
if (
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} else
|
|
57
|
-
o2.includes(e3.jumpComponentTo) || A.logicFlowInstance.graphModel.addEdge({ sourceNodeId: A.currentNode.data.id, targetNodeId: e3.jumpComponentTo, text: e3.name }), o2.push(e3.jumpComponentTo), t2.push(e3.jumpComponentTo);
|
|
49
|
+
if (e3.jumpComponentTo) if ("end" === e3.jumpComponentTo) {
|
|
50
|
+
if (!l2) {
|
|
51
|
+
e3.jumpComponentTo;
|
|
52
|
+
const t3 = A.logicFlowInstance.graphModel.addNode({ type: "end", x: A.currentNode.data.x, y: A.currentNode.data.y + 150, properties: {} }), a3 = A.logicFlowInstance.graphModel.addEdge({ sourceNodeId: A.currentNode.data.id, targetNodeId: t3.id });
|
|
53
|
+
o2.push(a3.to), l2 = true;
|
|
54
|
+
}
|
|
55
|
+
} else o2.includes(e3.jumpComponentTo) || A.logicFlowInstance.graphModel.addEdge({ sourceNodeId: A.currentNode.data.id, targetNodeId: e3.jumpComponentTo, text: e3.name }), o2.push(e3.jumpComponentTo), t2.push(e3.jumpComponentTo);
|
|
58
56
|
}), o2.forEach((e3) => {
|
|
59
57
|
t2.includes(e3) || A.logicFlowInstance.graphModel.deleteEdgeBySourceAndTarget(A.currentNode.data.id, e3);
|
|
60
58
|
});
|
|
61
59
|
} }), (f2, b2) => {
|
|
62
|
-
const S3 =
|
|
63
|
-
return
|
|
60
|
+
const S3 = o, J = t, K = l, P = a, Q = d, W = u, X = s, Y = p, Z = n, ee = r, le = i, oe = e;
|
|
61
|
+
return g(), y("div", null, [V(oe, { "label-width": "auto", "label-position": "left" }, { default: h(() => [V(B, { properties: c2.properties }, null, 8, ["properties"]), V(K, { label: "规则名:", style: { width: "100%" } }, { default: h(() => [V(S3, { modelValue: q.value, "onUpdate:modelValue": b2[0] || (b2[0] = (e2) => q.value = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), V(J, { type: "primary", onClick: b2[1] || (b2[1] = (e2) => {
|
|
64
62
|
q.value && (A.properties.rules || (A.properties.rules = []), A.properties.rules.push({ conditions: [], name: q.value, to: "" }), q.value = "");
|
|
65
|
-
}), style: { position: "absolute", right: "0" } }, { default: h(() => [w("添加规则")]), _: 1 })]), _: 1 }), (
|
|
66
|
-
1 !== A.properties.rules.length ?
|
|
67
|
-
A.properties.rules.splice(
|
|
63
|
+
}), style: { position: "absolute", right: "0" } }, { default: h(() => b2[3] || (b2[3] = [w("添加规则")])), _: 1 })]), _: 1 }), (g(true), y(v, null, k(c2.properties.rules, (e2, l2) => (g(), y("div", null, [V(K, { "label-width": "0", style: { width: "100%" } }, { default: h(() => [V(P, { title: e2.name, type: "info", size: "small", closable: false }, null, 8, ["title"]), V(J, { size: "small", circle: "", type: "danger", style: { position: "absolute", right: "0" }, icon: U(N), onClick: (e3) => function(e4) {
|
|
64
|
+
1 !== A.properties.rules.length ? m.confirm("确认删除该规则?", "提示", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
65
|
+
A.properties.rules.splice(e4, 1);
|
|
68
66
|
}).catch(() => {
|
|
69
67
|
E({ type: "info", message: "取消删除" });
|
|
70
68
|
}) : E.warning("请保留至少一条规则!");
|
|
71
|
-
}(
|
|
69
|
+
}(l2) }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024), V(Z, { data: e2.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: H, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: h(() => [V(Q, { type: "index", width: "50", label: "序号" }), V(Q, { prop: "name", label: "(((" }, { default: h((e3) => [e3.row.$editing ? (g(), _(X, { key: 1, size: "small", modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l3) => e3.row.leftBracket = l3, placeholder: "" }, { default: h(() => [V(W, { label: "", value: "" }), V(W, { label: "(", value: "(" }), V(W, { label: "((", value: "((" }), V(W, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (g(), y("span", F, C(e3.row.leftBracket), 1))]), _: 1 }), V(Q, { prop: "alias", label: "参数名", width: "150" }, { default: h((e3) => [V(U($), { paramTypes: ["page", "data"], showLabel: !e3.row.$editing, size: "small", modelValue: e3.row.name, "onUpdate:modelValue": (l3) => e3.row.name = l3 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), V(Q, { prop: "type", label: "操作符" }, { default: h((e3) => [e3.row.$editing ? (g(), _(X, { key: 1, modelValue: e3.row.operator, "onUpdate:modelValue": (l3) => e3.row.operator = l3, placeholder: "", size: "small" }, { default: h(() => [(g(true), y(v, null, k(U(I), (e4) => (g(), _(W, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (g(), y("span", O, C(U(z)(e3.row.operator, U(I))), 1))]), _: 1 }), V(Q, { prop: "value", label: "值", width: "170" }, { default: h((e3) => [V(U($), { showLabel: !e3.row.$editing, size: "small", modelValue: e3.row.value, "onUpdate:modelValue": (l3) => e3.row.value = l3 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), V(Q, { prop: "rightBracket", label: ")))" }, { default: h((e3) => [e3.row.$editing ? (g(), _(X, { key: 1, size: "small", modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l3) => e3.row.rightBracket = l3, placeholder: "" }, { default: h(() => [V(W, { label: "", value: "" }), V(W, { label: ")", value: ")" }), V(W, { label: "))", value: "))" }), V(W, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (g(), y("span", D, C(e3.row.rightBracket), 1))]), _: 1 }), V(Q, { prop: "logicOperator", label: "连接符" }, { default: h((e3) => [e3.row.$editing ? (g(), _(X, { key: 1, modelValue: e3.row.logicOperator, "onUpdate:modelValue": (l3) => e3.row.logicOperator = l3, placeholder: "", size: "small" }, { default: h(() => [(g(true), y(v, null, k(U(M), (e4) => (g(), _(W, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (g(), y("span", L, C(U(z)(e3.row.logicOperator, U(M))), 1))]), _: 1 }), V(Q, { align: "center" }, { header: h(() => [V(Y, { effect: "dark", content: "添加", placement: "top" }, { default: h(() => [V(J, { type: "primary", size: "small", icon: U(x), circle: "", onClick: (l3) => function(e3) {
|
|
72
70
|
e3.conditions.push({ $editing: true });
|
|
73
|
-
}(
|
|
74
|
-
|
|
75
|
-
}(
|
|
71
|
+
}(e2) }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)]), default: h((l3) => [j("span", null, [V(Y, { effect: "dark", content: "删除", placement: "top" }, { default: h(() => [V(J, { type: "danger", size: "small", icon: U(T), circle: "", onClick: (o2) => function(e3, l4, o3) {
|
|
72
|
+
o3.conditions.splice(e3, 1);
|
|
73
|
+
}(l3.$index, l3.row, e2) }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 2 }, 1024)]), _: 2 }, 1032, ["data"]), V(K, { style: { width: "100%" } }, { label: h((l3) => [V(ee, { modelValue: e2.action, "onUpdate:modelValue": (l4) => e2.action = l4, value: "abort", label: "异常中止" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), default: h(() => [V(S3, { disabled: "abort" !== e2.action, modelValue: e2.abortMessage, "onUpdate:modelValue": (l3) => e2.abortMessage = l3, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), V(K, { style: { width: "100%" } }, { label: h((l3) => [V(ee, { modelValue: e2.action, "onUpdate:modelValue": (l4) => e2.action = l4, value: "jump", label: "跳转组件" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), default: h(() => [V(X, { disabled: "jump" !== e2.action, modelValue: e2.jumpComponentTo, "onUpdate:modelValue": (l3) => e2.jumpComponentTo = l3, placeholder: "" }, { default: h(() => [(g(true), y(v, null, k(G.value, (e3) => (g(), _(W, { key: e3.id, label: e3.name, value: e3.id }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["disabled", "modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), V(K, { style: { width: "100%" } }, { default: h(() => [V(ee, { modelValue: e2.action, "onUpdate:modelValue": (l3) => e2.action = l3, value: "continue", label: "继续循环", style: { width: "10%" } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), V(K, { label: "提示信息设置:", style: { width: "100%" } }, { default: h(() => [V(U($), { inputSize: "default", paramTypes: ["service"], modelValue: c2.properties.abortMessage, "onUpdate:modelValue": b2[2] || (b2[2] = (e3) => c2.properties.abortMessage = e3) }, null, 8, ["modelValue"])]), _: 1 }), V(K, { label: "信息内容:", style: { width: "100%" } }, { default: h(() => [V(S3, { modelValue: e2.messageContent, "onUpdate:modelValue": (l3) => e2.messageContent = l3, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), V(K, { label: "设置方式:" }, { default: h(() => [V(X, { modelValue: e2.setMode, "onUpdate:modelValue": (l3) => e2.setMode = l3, placeholder: "", style: { width: "30%" } }, { default: h(() => [(g(), y(v, null, k(R, (e3) => V(W, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), V(K, { label: "分隔符:", style: { "margin-left": "20px" } }, { default: h(() => [V(S3, { modelValue: e2.delimiter, "onUpdate:modelValue": (l3) => e2.delimiter = l3, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 2 }, 1024), V(le)]))), 256))]), _: 1 })]);
|
|
76
74
|
};
|
|
77
75
|
} });
|
|
78
76
|
export {
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) =>
|
|
4
|
-
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
-
return value;
|
|
6
|
-
};
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
4
|
import e from "../../../flow/base/AbLogicNode.js";
|
|
8
5
|
import o from "../../../flow/base/AbLogicNodeModel.js";
|
|
9
6
|
import "../../../flow/base/AbLogicResizeNodeModel.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
graphModel: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => {};
|
|
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
11
11
|
type: ObjectConstructor;
|
|
12
12
|
default: () => {};
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
15
|
btnClick: (...args: any[]) => void;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
17
|
graphModel: {
|
|
@@ -26,11 +26,11 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
26
26
|
type: ObjectConstructor;
|
|
27
27
|
default: () => {};
|
|
28
28
|
};
|
|
29
|
-
}>> & {
|
|
29
|
+
}>> & Readonly<{
|
|
30
30
|
onBtnClick?: (...args: any[]) => any;
|
|
31
|
-
}
|
|
31
|
+
}>, {
|
|
32
32
|
properties: Record<string, any>;
|
|
33
33
|
graphModel: Record<string, any>;
|
|
34
34
|
model: Record<string, any>;
|
|
35
|
-
}, {}>;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
36
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ElDivider as e } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/divider/style/css";
|
|
4
|
-
import { defineComponent as t, ref as s, onMounted as l,
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
const
|
|
4
|
+
import { defineComponent as t, ref as s, onMounted as l, createElementBlock as o, openBlock as n, createElementVNode as r, normalizeStyle as p, createVNode as i, toDisplayString as c, Fragment as d, renderList as u } from "vue";
|
|
5
|
+
import m from "../../../../assets/icon/vardef-v.png.js";
|
|
6
|
+
const a = { class: "serviceflow-nodeTitle" }, f = { class: "serviceflow-nodeContent" }, v = t({ __name: "index", props: { graphModel: { type: Object, default: () => ({}) }, model: { type: Object, default: () => ({}) }, properties: { type: Object, default: () => ({}) } }, emits: ["btnClick"], setup(t2, { emit: v2 }) {
|
|
7
|
+
const b = s([]);
|
|
8
8
|
return s([]), l(() => {
|
|
9
9
|
}), (s2, l2) => {
|
|
10
|
-
const
|
|
11
|
-
return
|
|
10
|
+
const v3 = e;
|
|
11
|
+
return n(), o("div", null, [l2[1] || (l2[1] = r("img", { src: m, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), r("div", { class: "serviceflow-nodeView", style: p({ backgroundColor: t2.properties.backgroundColor }) }, [r("div", a, c(t2.properties.name ? t2.properties.name : "条件判断"), 1), i(v3), r("div", f, [(n(true), o(d, null, u(b.value, (e2) => (n(), o("div", null, [r("span", null, c(e2), 1), l2[0] || (l2[0] = r("br", null, null, -1))]))), 256))])], 4)]);
|
|
12
12
|
};
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
v as default
|
|
16
16
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
properties: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => {};
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
7
|
properties: {
|
|
8
8
|
type: ObjectConstructor;
|
|
9
9
|
default: () => {};
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
12
|
properties: Record<string, any>;
|
|
13
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElForm as e, ElDivider as t, ElFormItem as l, ElAlert as o } 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/alert/style/css";
|
|
5
5
|
import "element-plus/es/components/form-item/style/css";
|
|
6
6
|
import "element-plus/es/components/divider/style/css";
|
|
7
|
-
import { defineComponent as s,
|
|
7
|
+
import { defineComponent as s, createBlock as p, openBlock as r, withCtx as m, createVNode as n, unref as i } from "vue";
|
|
8
8
|
import u from "../../../common/components/node-base-config.vue.js";
|
|
9
9
|
import a from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
10
10
|
const d = s({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, setup: (s2) => (d2, c) => {
|
|
11
|
-
const f =
|
|
12
|
-
return
|
|
11
|
+
const f = t, b = l, y = o, v = e;
|
|
12
|
+
return r(), p(v, { "label-width": "auto", "label-position": "left" }, { default: m(() => [n(u, { properties: s2.properties }, null, 8, ["properties"]), n(f), n(b, { label: "循环对象:" }, { default: m(() => [n(i(a), { inputSize: "default", paramTypes: ["service"], modelValue: s2.properties.loopObject, "onUpdate:modelValue": c[0] || (c[0] = (e2) => s2.properties.loopObject = e2) }, null, 8, ["modelValue"])]), _: 1 }), n(y, { title: "循环设置", type: "info", size: "small", closable: false }), n(b, { label: "索引设置到:" }, { default: m(() => [n(i(a), { inputSize: "default", paramTypes: ["service"], modelValue: s2.properties.indexSet, "onUpdate:modelValue": c[1] || (c[1] = (e2) => s2.properties.indexSet = e2) }, null, 8, ["modelValue"])]), _: 1 }), n(b, { label: "对象设置到:" }, { default: m(() => [n(i(a), { inputSize: "default", paramTypes: ["service"], modelValue: s2.properties.resultSet, "onUpdate:modelValue": c[2] || (c[2] = (e2) => s2.properties.resultSet = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
15
15
|
d as default
|
|
@@ -3,7 +3,7 @@ import { GroupNode as t } 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
7
|
class i extends t.view {
|
|
8
8
|
getResizeShape() {
|
|
9
9
|
const { model: t2 } = this.props, { x: i2, y: s2, width: r2, height: o, radius: h, properties: n } = t2, d = t2.getNodeStyle();
|
|
@@ -51,8 +51,7 @@ class s extends t.model {
|
|
|
51
51
|
this.setProperty("isBoundaryEventTouchingTask", e2);
|
|
52
52
|
}
|
|
53
53
|
addBoundaryEvent(e2) {
|
|
54
|
-
if (this.setTouching(false), this.boundaryEvents.find((t3) => t3 === e2))
|
|
55
|
-
return false;
|
|
54
|
+
if (this.setTouching(false), this.boundaryEvents.find((t3) => t3 === e2)) return false;
|
|
56
55
|
const t2 = this.graphModel.getNodeModelById(e2);
|
|
57
56
|
return t2 == null ? void 0 : t2.setProperties({ attachedToRef: this.id }), this.boundaryEvents.push(e2), true;
|
|
58
57
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
graphModel: ObjectConstructor;
|
|
3
3
|
properties: ObjectConstructor;
|
|
4
|
-
}
|
|
4
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
5
5
|
graphModel: ObjectConstructor;
|
|
6
6
|
properties: ObjectConstructor;
|
|
7
|
-
}
|
|
7
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
properties: {
|
|
3
3
|
type: ObjectConstructor;
|
|
4
4
|
default: () => {
|
|
5
5
|
messageTemplate: {};
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
}
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
9
|
properties: {
|
|
10
10
|
type: ObjectConstructor;
|
|
11
11
|
default: () => {
|
|
12
12
|
messageTemplate: {};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
16
|
properties: Record<string, any>;
|
|
17
|
-
}, {}>;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
18
|
export default _default;
|