service-flow-designer 2.2.4 → 2.2.7
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 +3 -3
- 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 +2 -54
- package/dist/es/designer/common/components/json-view/json-view.vue2.js +52 -2
- 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 +8 -9
- 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 +6 -7
- 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,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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElForm as e, ElDivider as l, ElFormItem as o, ElInput as t, ElSelect as p, ElOption as s, ElTabs as r, ElTabPane as a, ElAlert as n } 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";
|
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/input/style/css";
|
|
|
9
9
|
import "element-plus/es/components/select/style/css";
|
|
10
10
|
import "element-plus/es/components/option/style/css";
|
|
11
11
|
import "element-plus/es/components/divider/style/css";
|
|
12
|
-
import { defineComponent as u, ref as i,
|
|
12
|
+
import { defineComponent as u, ref as i, createBlock as m, openBlock as d, withCtx as c, createVNode as y, createCommentVNode as V, createElementBlock as b, Fragment as f, renderList as v, unref as h, createTextVNode as g, createElementVNode as k } from "vue";
|
|
13
13
|
import x from "../../../common/components/node-base-config.vue.js";
|
|
14
14
|
import { httpMethods as _, operatorsForNumber as C, logicOperators as U, operatorsForString as j } from "../../util/common-options.js";
|
|
15
15
|
import T from "../common/param-config.vue.js";
|
|
@@ -26,8 +26,8 @@ const z = { style: { position: "absolute", right: "10px" } }, P = u({ __name: "c
|
|
|
26
26
|
"cookies" === e2.name ? E.properties.cookies || (E.properties.cookies = []) : "headers" === e2.name && (E.properties.headers || (E.properties.headers = []));
|
|
27
27
|
};
|
|
28
28
|
return P2({}), (i2, P3) => {
|
|
29
|
-
const E2 =
|
|
30
|
-
return
|
|
29
|
+
const E2 = l, H = s, J = p, L = t, N = o, A = a, D = r, F = n, I = e;
|
|
30
|
+
return d(), m(I, { "label-width": "110", "label-position": "left" }, { default: c(() => [y(x, { properties: u2.properties }, null, 8, ["properties"]), y(E2), y(N, { style: { width: "100%" } }, { label: c((e2) => [y(J, { modelValue: u2.properties.requestMethod, "onUpdate:modelValue": P3[0] || (P3[0] = (e3) => u2.properties.requestMethod = e3), placeholder: "请求方式" }, { default: c(() => [(d(true), b(f, null, v(h(_), (e3) => (d(), m(H, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), default: c(() => [y(L, { modelValue: u2.properties.url, "onUpdate:modelValue": P3[1] || (P3[1] = (e2) => u2.properties.url = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), y(D, { modelValue: X.value, "onUpdate:modelValue": P3[6] || (P3[6] = (e2) => X.value = e2), class: "demo-tabs", onTabClick: G }, { default: c(() => [y(A, { label: "Params", name: "params", style: { padding: "0 5px 5px 5px" } }, { default: c(() => [y(S, { modelValue: u2.properties.queryParams, "onUpdate:modelValue": P3[2] || (P3[2] = (e2) => u2.properties.queryParams = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Headers", name: "headers" }, { default: c(() => [y(w, { modelValue: u2.properties.headers, "onUpdate:modelValue": P3[3] || (P3[3] = (e2) => u2.properties.headers = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Body", name: "body", style: { padding: "0 5px 5px 5px" } }, { default: c(() => [y(T, { modelValue: u2.properties.httpSerivceBody, "onUpdate:modelValue": P3[4] || (P3[4] = (e2) => u2.properties.httpSerivceBody = e2) }, null, 8, ["modelValue"])]), _: 1 }), y(A, { label: "Cookies", name: "cookies" }, { default: c(() => [y(O, { modelValue: u2.properties.cookies, "onUpdate:modelValue": P3[5] || (P3[5] = (e2) => u2.properties.cookies = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), y(F, { title: "返回值设置", type: "info", size: "small", closable: false }, { title: c(() => [P3[17] || (P3[17] = g(" 返回值设置 ")), k("span", z, [y(J, { size: "small", onChange: P3[7] || (P3[7] = (e2) => u2.properties.responseSetting = []), modelValue: u2.properties.responseContentType, "onUpdate:modelValue": P3[8] || (P3[8] = (e2) => u2.properties.responseContentType = e2), style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: c(() => [y(H, { label: "JSON", value: "application/json" }), y(H, { label: "TEXT", value: "text/plain" }), y(H, { label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), "application/json" === u2.properties.responseContentType ? (d(), m(q, { key: 0, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[9] || (P3[9] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : V("", true), "application/xml" === u2.properties.responseContentType ? (d(), m(B, { key: 1, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[10] || (P3[10] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : V("", true), "text/plain" === u2.properties.responseContentType ? (d(), m(M, { key: 2, modelValue: u2.properties.responseSetting, "onUpdate:modelValue": P3[11] || (P3[11] = (e2) => u2.properties.responseSetting = e2), "content-type": u2.properties.responseContentType }, null, 8, ["modelValue", "content-type"])) : V("", true), y(F, { title: "异常判断", type: "info", size: "small", closable: false }), y(N, { label: "状态码:" }, { default: c(() => [y(J, { modelValue: u2.properties.statusCodeOperator, "onUpdate:modelValue": P3[12] || (P3[12] = (e2) => u2.properties.statusCodeOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(d(true), b(f, null, v(h(C), (e2) => (d(), m(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), y(L, { type: "number", style: { "margin-left": "10px", width: "60%" }, modelValue: u2.properties.statusCode, "onUpdate:modelValue": P3[13] || (P3[13] = (e2) => u2.properties.statusCode = e2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 }), y(N, { label: "" }, { default: c(() => [y(J, { modelValue: u2.properties.logicOperator, "onUpdate:modelValue": P3[14] || (P3[14] = (e2) => u2.properties.logicOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(d(true), b(f, null, v(h(U), (e2) => (d(), m(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(N, { label: "返回内容:" }, { default: c(() => [y(J, { modelValue: u2.properties.contentOperator, "onUpdate:modelValue": P3[15] || (P3[15] = (e2) => u2.properties.contentOperator = e2), placeholder: "", style: { width: "15%" } }, { default: c(() => [(d(true), b(f, null, v(h(j), (e2) => (d(), m(H, { key: e2.value, label: e2.label, value: e2.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), y(L, { modelValue: u2.properties.content, "onUpdate:modelValue": P3[16] || (P3[16] = (e2) => u2.properties.content = e2), placeholder: "", style: { "margin-left": "10px", width: "60%" } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
|
|
31
31
|
};
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
@@ -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 p, createVNode as r, toDisplayString as l } 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: p({ backgroundColor: s2.properties.backgroundColor }) }, [d[0] || (d[0] = i("div", { class: "serviceflow-nodeTitle" }, "http服务", -1)), r(a), i("div", c, l(s2.properties.name), 1)], 4)]);
|
|
9
9
|
} });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
m as default
|
|
12
12
|
};
|
package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => any[];
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
"update:modelValue": (...args: any[]) => void;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
modelValue: {
|
|
@@ -18,10 +18,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
}>> & {
|
|
21
|
+
}>> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
23
|
-
}
|
|
23
|
+
}>, {
|
|
24
24
|
modelValue: unknown[];
|
|
25
25
|
contentType: string;
|
|
26
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default _default;
|
package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElTable as e, ElTableColumn as l, ElInput as t, ElSelect as o, ElOption as s, ElDropdown as a, ElButton as n, ElDropdownMenu as m, ElDropdownItem as r } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/table/style/css";
|
|
4
4
|
import "element-plus/es/components/dropdown/style/css";
|
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/select/style/css";
|
|
|
9
9
|
import "element-plus/es/components/option/style/css";
|
|
10
10
|
import "element-plus/es/components/table-column/style/css";
|
|
11
11
|
import "element-plus/es/components/input/style/css";
|
|
12
|
-
import { defineComponent as i,
|
|
12
|
+
import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, createCommentVNode as b, unref as V, createTextVNode as k } from "vue";
|
|
13
13
|
import g from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
14
14
|
import { v4 as h } from "uuid";
|
|
15
15
|
const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-json-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(i2, { expose: C2, emit: $ }) {
|
|
@@ -24,32 +24,30 @@ const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-json-setting", p
|
|
|
24
24
|
if (t2.code === l2.code) {
|
|
25
25
|
const l3 = q();
|
|
26
26
|
l3.level = t2.level, e2.splice(o2 + 1, 0, l3);
|
|
27
|
-
} else
|
|
28
|
-
t2.items && t2.items.length > 0 && E(t2.items, l2);
|
|
27
|
+
} else t2.items && t2.items.length > 0 && E(t2.items, l2);
|
|
29
28
|
});
|
|
30
29
|
}, L = (e2, l2) => {
|
|
31
30
|
for (let t2 = 0; t2 < e2.length; t2++) {
|
|
32
31
|
const o2 = e2[t2];
|
|
33
|
-
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code)
|
|
34
|
-
return void e2.splice(t2, 1);
|
|
32
|
+
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
|
|
35
33
|
}
|
|
36
34
|
}, q = () => ({ level: 0, code: h(), name: "", paramType: "any", value: "", items: [], $editing: true });
|
|
37
35
|
return C2({}), (h2, C3) => {
|
|
38
|
-
const $2 =
|
|
39
|
-
return
|
|
36
|
+
const $2 = t, z2 = l, D = s, R = o, S = n, B = r, F = m, G = a, H = e;
|
|
37
|
+
return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: j, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span", _, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (d(), p(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
|
|
40
38
|
return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
|
|
41
39
|
var t2, o2;
|
|
42
|
-
}, placeholder: "", size: "small" }, { default: u(() => [(
|
|
40
|
+
}, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (d(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? b("", true) : (d(), p(V(g), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: A, link: "" }, { default: u(() => C3[0] || (C3[0] = [k("添加 ")])), _: 1 })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (d(), p(B, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
43
41
|
l3.items || (l3.items = []);
|
|
44
42
|
const t2 = q();
|
|
45
43
|
t2.level = l3.level + 1, l3.items.push(t2);
|
|
46
|
-
})(e2.$index, e2.row) }, { default: u(() => [k("添加下级节点")]), _: 2 }, 1032, ["onClick"])) :
|
|
44
|
+
})(e2.$index, e2.row) }, { default: u(() => C3[2] || (C3[2] = [k("添加下级节点")])), _: 2 }, 1032, ["onClick"])) : b("", true), e2.row.isArrayElement ? b("", true) : (d(), p(B, { key: 1, onClick: (l2) => {
|
|
47
45
|
return e2.$index, t2 = e2.row, void E(T.modelValue, t2);
|
|
48
46
|
var t2;
|
|
49
|
-
} }, { default: u(() => [k("添加相邻节点")]), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [k(" 添加 ")]), _: 1 })]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
47
|
+
} }, { default: u(() => C3[3] || (C3[3] = [k("添加相邻节点")])), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => C3[1] || (C3[1] = [k(" 添加 ")])), _: 1 })]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
50
48
|
return e2.$index, t2 = e2.row, void L(T.modelValue, t2);
|
|
51
49
|
var t2;
|
|
52
|
-
} }, { default: u(() => [k(" 删除 ")]), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
50
|
+
} }, { default: u(() => C3[4] || (C3[4] = [k(" 删除 ")])), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
53
51
|
};
|
|
54
52
|
} });
|
|
55
53
|
export {
|
package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => any[];
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
"update:modelValue": (...args: any[]) => void;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
modelValue: {
|
|
@@ -18,10 +18,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
}>> & {
|
|
21
|
+
}>> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
23
|
-
}
|
|
23
|
+
}>, {
|
|
24
24
|
modelValue: unknown[];
|
|
25
25
|
contentType: string;
|
|
26
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default _default;
|
package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElTable as e, ElTableColumn as t } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/table/style/css";
|
|
4
4
|
import "element-plus/es/components/table-column/style/css";
|
|
5
|
-
import { defineComponent as l,
|
|
5
|
+
import { defineComponent as l, createBlock as o, openBlock as a, withCtx as s, createVNode as m, unref as p } from "vue";
|
|
6
6
|
import n from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
7
7
|
const u = l({ __name: "response-text-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(l2, { expose: u2, emit: r }) {
|
|
8
8
|
const d = r, i = l2;
|
|
@@ -11,8 +11,8 @@ const u = l({ __name: "response-text-setting", props: { modelValue: { type: Arra
|
|
|
11
11
|
e2.$editing = true;
|
|
12
12
|
};
|
|
13
13
|
return u2({}), (u3, r2) => {
|
|
14
|
-
const d2 =
|
|
15
|
-
return
|
|
14
|
+
const d2 = t, i2 = e;
|
|
15
|
+
return a(), o(i2, { data: l2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: c, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: s(() => [m(d2, { prop: "value", label: "设置到" }, { default: s((e2) => [m(p(n), { size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (t2) => e2.row.value = t2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
16
16
|
};
|
|
17
17
|
} });
|
|
18
18
|
export {
|
package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => any[];
|
|
@@ -7,7 +7,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
type: StringConstructor;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
}
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
11
|
"update:modelValue": (...args: any[]) => void;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
13
|
modelValue: {
|
|
@@ -18,10 +18,10 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
}>> & {
|
|
21
|
+
}>> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
23
|
-
}
|
|
23
|
+
}>, {
|
|
24
24
|
modelValue: unknown[];
|
|
25
25
|
contentType: string;
|
|
26
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
export default _default;
|
package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElTable as e, ElTableColumn as l, ElInput as t, ElSelect as o, ElOption as s, ElDropdown as a, ElButton as n, ElDropdownMenu as m, ElDropdownItem as r } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/table/style/css";
|
|
4
4
|
import "element-plus/es/components/dropdown/style/css";
|
|
@@ -9,7 +9,7 @@ import "element-plus/es/components/select/style/css";
|
|
|
9
9
|
import "element-plus/es/components/option/style/css";
|
|
10
10
|
import "element-plus/es/components/table-column/style/css";
|
|
11
11
|
import "element-plus/es/components/input/style/css";
|
|
12
|
-
import { defineComponent as i,
|
|
12
|
+
import { defineComponent as i, createBlock as p, openBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, createCommentVNode as b, unref as V, createTextVNode as k } from "vue";
|
|
13
13
|
import g from "../../../common/components/value-set-input/value-set-input.vue.js";
|
|
14
14
|
import { v4 as h } from "uuid";
|
|
15
15
|
const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-xml-setting", props: { modelValue: { type: Array, default: () => [] }, contentType: { type: String, default: "" } }, emits: ["update:modelValue"], setup(i2, { expose: C2, emit: $ }) {
|
|
@@ -24,32 +24,30 @@ const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-xml-setting", pr
|
|
|
24
24
|
if (t2.code === l2.code) {
|
|
25
25
|
const l3 = q();
|
|
26
26
|
l3.level = t2.level, e2.splice(o2 + 1, 0, l3);
|
|
27
|
-
} else
|
|
28
|
-
t2.items && t2.items.length > 0 && j(t2.items, l2);
|
|
27
|
+
} else t2.items && t2.items.length > 0 && j(t2.items, l2);
|
|
29
28
|
});
|
|
30
29
|
}, L = (e2, l2) => {
|
|
31
30
|
for (let t2 = 0; t2 < e2.length; t2++) {
|
|
32
31
|
const o2 = e2[t2];
|
|
33
|
-
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code)
|
|
34
|
-
return void e2.splice(t2, 1);
|
|
32
|
+
if (o2.items && o2.items.length > 0 && L(o2.items, l2), o2.code === l2.code) return void e2.splice(t2, 1);
|
|
35
33
|
}
|
|
36
34
|
}, q = () => ({ level: 0, code: h(), name: "", paramType: "any", value: "", items: [], $editing: true });
|
|
37
35
|
return C2({}), (h2, C3) => {
|
|
38
|
-
const $2 =
|
|
39
|
-
return
|
|
36
|
+
const $2 = t, z2 = l, D = s, R = o, S = n, B = r, F = m, G = a, H = e;
|
|
37
|
+
return d(), p(H, { data: i2.modelValue, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", size: "small", onRowDblclick: A, border: "", "tree-props": { children: "items" }, "default-expand-all": "" }, { default: u(() => [c(z2, { prop: "name", label: "返回值字段" }, { default: u((e2) => [e2.row.$editing ? (d(), p($2, { key: 1, size: "small", disabled: e2.row.isArrayElement, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (d(), y("span", _, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (d(), p(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
|
|
40
38
|
return t2 = l2, e2.$index, o2 = e2.row, void ("array" === t2 || o2.items && o2.items.length > 0 && ("object" === t2 ? o2.items = [] : o2.items && delete o2.items));
|
|
41
39
|
var t2, o2;
|
|
42
|
-
}, placeholder: "", size: "small" }, { default: u(() => [(
|
|
40
|
+
}, placeholder: "", size: "small" }, { default: u(() => [(d(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])) : (d(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? b("", true) : (d(), p(V(g), { key: 0, showLabel: !e2.row.$editing, size: "small", paramTypes: ["request", "data", "service"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), c(z2, { align: "center", width: 150 }, { header: u(() => [c(S, { type: "primary", size: "small", onClick: E, link: "" }, { default: u(() => C3[0] || (C3[0] = [k("添加 ")])), _: 1 })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (d(), p(B, { key: 0, onClick: (l2) => ((e3, l3) => {
|
|
43
41
|
l3.items || (l3.items = []);
|
|
44
42
|
const t2 = q();
|
|
45
43
|
t2.level = l3.level + 1, l3.items.push(t2);
|
|
46
|
-
})(e2.$index, e2.row) }, { default: u(() => [k("添加下级节点")]), _: 2 }, 1032, ["onClick"])) :
|
|
44
|
+
})(e2.$index, e2.row) }, { default: u(() => C3[1] || (C3[1] = [k("添加下级节点")])), _: 2 }, 1032, ["onClick"])) : b("", true), e2.row.isArrayElement ? b("", true) : (d(), p(B, { key: 1, onClick: (l2) => {
|
|
47
45
|
return e2.$index, t2 = e2.row, void j(T.modelValue, t2);
|
|
48
46
|
var t2;
|
|
49
|
-
} }, { default: u(() => [k("添加相邻节点")]), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [k(" 添加 " + w(e2.row.type), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
47
|
+
} }, { default: u(() => C3[2] || (C3[2] = [k("添加相邻节点")])), _: 2 }, 1032, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [k(" 添加 " + w(e2.row.type), 1)]), _: 2 }, 1024)]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
|
|
50
48
|
return e2.$index, t2 = e2.row, void L(T.modelValue, t2);
|
|
51
49
|
var t2;
|
|
52
|
-
} }, { default: u(() => [k(" 删除 ")]), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
50
|
+
} }, { default: u(() => C3[3] || (C3[3] = [k(" 删除 ")])), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
|
|
53
51
|
};
|
|
54
52
|
} });
|
|
55
53
|
export {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const l = [{ value: "gt", label: "大于" }, { value: "lt", label: "小于" }, { value: "eq", label: "等于" }, { value: "le", label: "不小于" }, { value: "ge", label: "不大于" }, { value: "ne", label: "不等于" }], e = [{ value: "eq", label: "等于" }, { value: "neq", label: "不等于" }, { value: "contain", label: "包含" }, { value: "contain.not", label: "不包含" }, { value: "is.null", label: "等于NULL" }, { value: "not.null", label: "不等于NULL" }], a = [{ value: "or", label: "或者" }, { value: "and", label: "并且" }];
|
|
2
2
|
function u(l2, e2) {
|
|
3
|
-
if (!l2)
|
|
4
|
-
return "";
|
|
3
|
+
if (!l2) return "";
|
|
5
4
|
const a2 = e2.filter((e3) => e3.value === l2);
|
|
6
5
|
return a2.length > 0 ? a2[0].label : "";
|
|
7
6
|
}
|
|
@@ -13,11 +13,8 @@ function u(e2) {
|
|
|
13
13
|
}
|
|
14
14
|
const m = (e2) => {
|
|
15
15
|
if (e2) {
|
|
16
|
-
for (const t2 of o)
|
|
17
|
-
|
|
18
|
-
for (const o2 of t)
|
|
19
|
-
for (const t2 of o2.items)
|
|
20
|
-
e2.register(t2.nodeAndView);
|
|
16
|
+
for (const t2 of o) e2.register(t2.nodeAndView);
|
|
17
|
+
for (const o2 of t) for (const t2 of o2.items) e2.register(t2.nodeAndView);
|
|
21
18
|
e2.register(s), e2.setDefaultEdgeType("customLine");
|
|
22
19
|
}
|
|
23
20
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as LogicFlow } from '@logicflow/core';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').DefineComponent<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
cloneService: {
|
|
5
5
|
type: ObjectConstructor;
|
|
6
6
|
default: () => void;
|
|
@@ -13,7 +13,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
13
13
|
type: ObjectConstructor;
|
|
14
14
|
default: () => {};
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
17
|
"show-service-log": (...args: any[]) => void;
|
|
18
18
|
"save-sevice": (...args: any[]) => void;
|
|
19
19
|
"show-json": (...args: any[]) => void;
|
|
@@ -30,13 +30,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
30
30
|
type: ObjectConstructor;
|
|
31
31
|
default: () => {};
|
|
32
32
|
};
|
|
33
|
-
}>> & {
|
|
33
|
+
}>> & Readonly<{
|
|
34
34
|
"onShow-service-log"?: (...args: any[]) => any;
|
|
35
35
|
"onSave-sevice"?: (...args: any[]) => any;
|
|
36
36
|
"onShow-json"?: (...args: any[]) => any;
|
|
37
|
-
}
|
|
37
|
+
}>, {
|
|
38
38
|
pageContext: Record<string, any>;
|
|
39
39
|
lf: LogicFlow;
|
|
40
40
|
cloneService: Record<string, any>;
|
|
41
|
-
}, {}>;
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./service-flow-tool.vue2.js";
|
|
2
|
-
|
|
2
|
+
/* empty css */
|
|
3
3
|
import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = e(o, [["__scopeId", "data-v-
|
|
4
|
+
const r = e(o, [["__scopeId", "data-v-1270412d"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -4,37 +4,37 @@ import "element-plus/es/components/icon/style/css";
|
|
|
4
4
|
import "element-plus/es/components/tooltip/style/css";
|
|
5
5
|
import "element-plus/es/components/divider/style/css";
|
|
6
6
|
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import { defineComponent as s, ref as i,
|
|
8
|
-
import { View as
|
|
9
|
-
import { customControl as
|
|
10
|
-
import { customControlClick as
|
|
11
|
-
import
|
|
7
|
+
import { defineComponent as s, ref as i, createElementBlock as c, openBlock as n, withDirectives as a, createVNode as r, createElementVNode as p, vShow as m, Fragment as u, renderList as v, unref as d, createBlock as f, withCtx as w, normalizeClass as g } from "vue";
|
|
8
|
+
import { View as y, CaretRight as b, Check as j } from "@element-plus/icons-vue";
|
|
9
|
+
import { customControl as S } from "./flow-util.js";
|
|
10
|
+
import { customControlClick as C } from "./flow-tool-util.js";
|
|
11
|
+
import h from "@logicflow/core";
|
|
12
12
|
import "codemirror";
|
|
13
13
|
import "@codemirror/lang-json";
|
|
14
14
|
import "@codemirror/state";
|
|
15
15
|
import "@uiw/codemirror-themes-all";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
const
|
|
19
|
-
} }, lf: { type:
|
|
20
|
-
} }, pageContext: { type: Object, default: () => ({}) } }, emits: ["show-service-log", "save-sevice", "show-json"], setup(s2, { emit:
|
|
21
|
-
const
|
|
16
|
+
import V from "../common/components/json-view/json-view-dialog.vue.js";
|
|
17
|
+
import k from "./service-test/service-test.vue.js";
|
|
18
|
+
const x = { class: "serviceflow-design-tool" }, _ = { style: { top: "-5px", "margin-left": "10px", position: "relative" } }, O = { style: { float: "right" } }, z = ["onClick"], J = s({ __name: "service-flow-tool", props: { cloneService: { type: Object, default: () => {
|
|
19
|
+
} }, lf: { type: h, default: () => {
|
|
20
|
+
} }, pageContext: { type: Object, default: () => ({}) } }, emits: ["show-service-log", "save-sevice", "show-json"], setup(s2, { emit: h2 }) {
|
|
21
|
+
const J2 = h2, N = s2, U = i(""), D = i(false), G = i(false), q = i({}), A = () => {
|
|
22
22
|
var _a;
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
},
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
|
|
23
|
+
D.value = true, q.value = JSON.parse(JSON.stringify(N.cloneService)), q.value.flow = (_a = N.lf) == null ? void 0 : _a.getGraphData(), J2("show-json");
|
|
24
|
+
}, B = () => {
|
|
25
|
+
G.value = !G.value;
|
|
26
|
+
}, E = () => {
|
|
27
|
+
J2("show-service-log", {});
|
|
28
|
+
}, F = () => {
|
|
29
|
+
J2("save-sevice");
|
|
30
30
|
};
|
|
31
|
-
return (i2,
|
|
32
|
-
const
|
|
33
|
-
return
|
|
34
|
-
|
|
35
|
-
})(e2) }, [
|
|
31
|
+
return (i2, h3) => {
|
|
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: "40%" } }, 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
|
+
N.lf && C(N.lf, e3);
|
|
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
|
};
|
|
37
37
|
} });
|
|
38
38
|
export {
|
|
39
|
-
|
|
39
|
+
J as default
|
|
40
40
|
};
|
|
@@ -3,7 +3,7 @@ declare function onBlankClick(): void;
|
|
|
3
3
|
declare function onDeleteNode(): void;
|
|
4
4
|
declare function closeDrawer(): void;
|
|
5
5
|
declare function onLogicChange(): void;
|
|
6
|
-
declare const _default: import('vue').DefineComponent<{
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
7
|
service: {
|
|
8
8
|
type: ObjectConstructor;
|
|
9
9
|
default: () => {};
|
|
@@ -20,13 +20,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
20
20
|
type: ObjectConstructor;
|
|
21
21
|
default: () => {};
|
|
22
22
|
};
|
|
23
|
-
}
|
|
23
|
+
}>, {
|
|
24
24
|
onBlankClick: typeof onBlankClick;
|
|
25
25
|
onNodeClick: typeof onNodeClick;
|
|
26
26
|
onLogicChange: typeof onLogicChange;
|
|
27
27
|
onDeleteNode: typeof onDeleteNode;
|
|
28
28
|
closeDrawer: typeof closeDrawer;
|
|
29
|
-
},
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
30
30
|
onConfigChange: (...args: any[]) => void;
|
|
31
31
|
"update:currentNode": (...args: any[]) => void;
|
|
32
32
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -46,13 +46,13 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
46
46
|
type: ObjectConstructor;
|
|
47
47
|
default: () => {};
|
|
48
48
|
};
|
|
49
|
-
}>> & {
|
|
49
|
+
}>> & Readonly<{
|
|
50
50
|
onOnConfigChange?: (...args: any[]) => any;
|
|
51
51
|
"onUpdate:currentNode"?: (...args: any[]) => any;
|
|
52
|
-
}
|
|
52
|
+
}>, {
|
|
53
53
|
pageContext: Record<string, any>;
|
|
54
54
|
service: Record<string, any>;
|
|
55
55
|
logicFlowInstance: Record<string, any>;
|
|
56
56
|
currentNode: Record<string, any>;
|
|
57
|
-
}, {}>;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
export default _default;
|