service-flow-designer 2.3.24-flow1 → 2.3.26-flow1

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.
Files changed (52) hide show
  1. package/dist/es/designer/common/components/datatable-select.vue2.js +2 -2
  2. package/dist/es/designer/common/components/file-upload.vue2.js +2 -2
  3. package/dist/es/designer/common/components/json-view/json-view-dialog.vue.js +2 -2
  4. package/dist/es/designer/common/components/json-view/json-view.vue.js +2 -2
  5. package/dist/es/designer/common/components/node-base-config.vue.js +2 -2
  6. package/dist/es/designer/common/components/sql-view/sql-view-dialog.vue.js +2 -2
  7. package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +2 -2
  8. package/dist/es/designer/common/components/value-set-input/option.js +1 -1
  9. package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +4 -4
  10. package/dist/es/designer/desginer-index.vue2.js +2 -2
  11. package/dist/es/designer/flow/base/AbLogicResizeNode.js +2 -23
  12. package/dist/es/designer/flow/base/AbLogicResizeNodeModel.js +2 -24
  13. package/dist/es/designer/service-components/base/end-node/index.vue2.js +2 -2
  14. package/dist/es/designer/service-components/base/start-node/index.vue2.js +2 -2
  15. package/dist/es/designer/service-components/computation/sort/config.vue2.js +3 -3
  16. package/dist/es/designer/service-components/computation/sort/index.vue2.js +2 -2
  17. package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +2 -2
  18. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +2 -2
  19. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +3 -3
  20. package/dist/es/designer/service-components/database/aggregate-query/index.vue2.js +2 -2
  21. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +2 -2
  22. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +2 -2
  23. package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +2 -2
  24. package/dist/es/designer/service-components/database/dynamic-sql/index.vue2.js +2 -2
  25. package/dist/es/designer/service-components/database/regular-query/config.vue2.js +2 -2
  26. package/dist/es/designer/service-components/database/regular-query/index.vue2.js +2 -2
  27. package/dist/es/designer/service-components/service/common/cookie-data.vue.js +2 -2
  28. package/dist/es/designer/service-components/service/common/form-data.vue.js +3 -3
  29. package/dist/es/designer/service-components/service/common/header-data.vue.js +2 -2
  30. package/dist/es/designer/service-components/service/common/json-data.vue2.js +3 -3
  31. package/dist/es/designer/service-components/service/common/param-config.vue2.js +2 -2
  32. package/dist/es/designer/service-components/service/common/query-params.vue.js +2 -2
  33. package/dist/es/designer/service-components/service/common/raw-data.vue.js +2 -2
  34. package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +2 -2
  35. package/dist/es/designer/service-components/service/custom-bean/index.vue2.js +2 -2
  36. package/dist/es/designer/service-components/service/http-service/config.vue2.js +2 -2
  37. package/dist/es/designer/service-components/service/http-service/index.vue2.js +2 -2
  38. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +4 -4
  39. package/dist/es/designer/service-components/service/http-service/response-text-setting.vue.js +2 -2
  40. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +4 -4
  41. package/dist/es/designer/service-flow-view/service-flow-tool.vue2.js +3 -3
  42. package/dist/es/designer/service-flow-view/service-node-config.vue2.js +2 -2
  43. package/dist/es/designer/service-flow-view/service-params.vue.js +4 -4
  44. package/dist/es/designer/service-flow-view/service-result.vue.js +5 -5
  45. package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +4 -4
  46. package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +2 -2
  47. package/dist/es/designer/service-flow-view/service-update-log.vue2.js +3 -3
  48. package/dist/es/designer/service-flow-view/view-index.vue2.js +2 -2
  49. package/dist/es/designer/service-panel/component-panel.vue2.js +2 -2
  50. package/dist/es/designer/service-panel/service-list.vue2.js +2 -2
  51. package/dist/es/designer/service-panel/service-panel.vue2.js +2 -2
  52. package/package.json +2 -2
@@ -7,7 +7,7 @@ import "element-plus/es/components/input/style/css";
7
7
  import "element-plus/es/components/select/style/css";
8
8
  import "element-plus/es/components/option/style/css";
9
9
  import "element-plus/es/components/table-column/style/css";
10
- import { defineComponent as m, createBlock as r, openBlock as p, withCtx as i, createVNode as u, createElementBlock as c, toDisplayString as d, Fragment as f, renderList as y, unref as b, createElementVNode as w } from "vue";
10
+ import { defineComponent as m, openBlock as r, createBlock as p, withCtx as i, createVNode as u, createElementBlock as c, toDisplayString as d, Fragment as f, renderList as y, unref as b, createElementVNode as w } from "vue";
11
11
  import { Minus as h, Plus as k } from "@element-plus/icons-vue";
12
12
  import { formulas as g } from "../../util/common-options.js";
13
13
  const V = { key: 0 }, v = { key: 0 }, C = { key: 0 }, _ = m({ __name: "statistical-formula", props: { properties: { type: Object, default: () => ({ statisticalFormulas: {} }) }, dataTableColumns: { type: Array, default: () => [] } }, emits: ["change"], setup(m2, { emit: _2 }) {
@@ -15,7 +15,7 @@ const V = { key: 0 }, v = { key: 0 }, C = { key: 0 }, _ = m({ __name: "statistic
15
15
  };
16
16
  return (_3, U) => {
17
17
  const $ = l, x = t, j = a, T = o, A = n, D = s, O = e;
18
- return p(), r(O, { data: m2.properties.statisticalFormulas, "row-key": "name", onRowDblclick: F, size: "small", border: "", "default-expand-all": "" }, { default: i(() => [u($, { type: "index", width: "50", label: "序号" }), u($, { prop: "name", label: "字段名" }, { default: i((e2) => [e2.row.$editing ? (p(), r(j, { key: 1, filterable: true, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", onChange: U[0] || (U[0] = (e3) => z("change")) }, { default: i(() => [(p(true), c(f, null, y(m2.dataTableColumns, (e3) => (p(), r(x, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), c("span", V, d(e2.row.name), 1))]), _: 1 }), u($, { prop: "formula", label: "公式" }, { default: i((e2) => [e2.row.$editing ? (p(), r(j, { key: 1, filterable: true, "allow-create": true, modelValue: e2.row.formula, "onUpdate:modelValue": (l2) => e2.row.formula = l2, placeholder: "", size: "small", onChange: U[1] || (U[1] = (e3) => z("change")) }, { default: i(() => [(p(true), c(f, null, y(b(g), (e3) => (p(), r(x, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), c("span", v, d(e2.row.formula), 1))]), _: 1 }), u($, { prop: "newName", label: "新字段名", width: "160" }, { default: i((e2) => [e2.row.$editing ? (p(), r(T, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, placeholder: "", size: "small", onChange: U[2] || (U[2] = (e3) => z("change")) }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), c("span", C, d(e2.row.newName), 1))]), _: 1 }), u($, { align: "center", width: "80" }, { header: i(() => [u(D, { effect: "dark", content: "添加", placement: "top" }, { default: i(() => [u(A, { type: "primary", size: "small", icon: b(k), circle: "", onClick: U[3] || (U[3] = (e2) => (N.properties.statisticalFormulas || (N.properties.statisticalFormulas = []), void N.properties.statisticalFormulas.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: i((e2) => [w("span", null, [u(D, { effect: "dark", content: "删除", placement: "top" }, { default: i(() => [u(A, { type: "danger", size: "small", icon: b(h), circle: "", onClick: (l2) => {
18
+ return r(), p(O, { data: m2.properties.statisticalFormulas, "row-key": "name", onRowDblclick: F, size: "small", border: "", "default-expand-all": "" }, { default: i(() => [u($, { type: "index", width: "50", label: "序号" }), u($, { prop: "name", label: "字段名" }, { default: i((e2) => [e2.row.$editing ? (r(), p(j, { key: 1, filterable: true, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", onChange: U[0] || (U[0] = (e3) => z("change")) }, { default: i(() => [(r(true), c(f, null, y(m2.dataTableColumns, (e3) => (r(), p(x, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (r(), c("span", V, d(e2.row.name), 1))]), _: 1 }), u($, { prop: "formula", label: "公式" }, { default: i((e2) => [e2.row.$editing ? (r(), p(j, { key: 1, filterable: true, "allow-create": true, modelValue: e2.row.formula, "onUpdate:modelValue": (l2) => e2.row.formula = l2, placeholder: "", size: "small", onChange: U[1] || (U[1] = (e3) => z("change")) }, { default: i(() => [(r(true), c(f, null, y(b(g), (e3) => (r(), p(x, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (r(), c("span", v, d(e2.row.formula), 1))]), _: 1 }), u($, { prop: "newName", label: "新字段名", width: "160" }, { default: i((e2) => [e2.row.$editing ? (r(), p(T, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, placeholder: "", size: "small", onChange: U[2] || (U[2] = (e3) => z("change")) }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (r(), c("span", C, d(e2.row.newName), 1))]), _: 1 }), u($, { align: "center", width: "80" }, { header: i(() => [u(D, { effect: "dark", content: "添加", placement: "top" }, { default: i(() => [u(A, { type: "primary", size: "small", icon: b(k), circle: "", onClick: U[3] || (U[3] = (e2) => (N.properties.statisticalFormulas || (N.properties.statisticalFormulas = []), void N.properties.statisticalFormulas.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: i((e2) => [w("span", null, [u(D, { effect: "dark", content: "删除", placement: "top" }, { default: i(() => [u(A, { type: "danger", size: "small", icon: b(h), circle: "", onClick: (l2) => {
19
19
  return a2 = e2.$index, e2.row, void N.properties.statisticalFormulas.splice(a2, 1);
20
20
  var a2;
21
21
  } }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
@@ -14,7 +14,7 @@ import "element-plus/es/components/select/style/css";
14
14
  import "element-plus/es/components/option/style/css";
15
15
  import "element-plus/es/components/form-item/style/css";
16
16
  import "element-plus/es/components/divider/style/css";
17
- import { defineComponent as f, ref as v, onMounted as b, createElementBlock as h, openBlock as y, createVNode as g, withCtx as x, createElementVNode as S, withDirectives as _, unref as k, Fragment as V, renderList as z, createBlock as w, vShow as D, createTextVNode as L } from "vue";
17
+ import { defineComponent as f, ref as v, onMounted as b, openBlock as h, createElementBlock as y, createVNode as g, withCtx as x, createElementVNode as S, unref as _, withDirectives as k, Fragment as V, renderList as z, createBlock as w, vShow as D, createTextVNode as L } from "vue";
18
18
  import { useLocalStorage as C } from "@vueuse/core";
19
19
  import H from "../../../common/components/node-base-config.vue.js";
20
20
  import { Search as O, FullScreen as j, CaretRight as U } from "@element-plus/icons-vue";
@@ -94,7 +94,7 @@ const R = { style: {} }, Y = { style: { padding: "8px 16px", margin: "10px 0px",
94
94
  };
95
95
  return $2({}), (v2, b2) => {
96
96
  const C2 = t, T2 = l, q2 = a, E2 = s, G2 = o, W2 = n, X2 = i, B2 = p, J2 = u, N2 = r, Q2 = m, A2 = d, F2 = c, K2 = e;
97
- return y(), h("div", R, [g(K2, { "label-width": "auto", "label-position": "left" }, { default: x(() => [g(H, { properties: f2.properties }, null, 8, ["properties"]), g(C2), g(T2), S("div", Y, [b2[5] || (b2[5] = S("span", { style: { color: "#909399", "font-size": "14px" } }, "SQL窗口", -1)), S("span", Z, [g(G2, { effect: "dark", content: "切换主题", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", onChange: ie, modelValue: ne.value.theme, "onUpdate:modelValue": b2[0] || (b2[0] = (e2) => ne.value.theme = e2), placeholder: "", size: "small", style: { width: "120px" } }, { default: x(() => [g(q2, { label: "默认", value: "default" }), g(q2, { label: "VScodeDark", value: "vscodeDark" }), g(q2, { label: "Dracula", value: "dracula" }), g(q2, { label: "GithubLight", value: "githubLight" }), g(q2, { label: "GithubDark", value: "githubDark" }), g(q2, { label: "Eclipse", value: "eclipse" }), g(q2, { label: "XcodeLight", value: "xcodeLight" }), g(q2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(G2, { effect: "dark", content: "切换字体大小", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", modelValue: ne.value.fontSize, "onUpdate:modelValue": b2[1] || (b2[1] = (e2) => ne.value.fontSize = e2), placeholder: "", onChange: ie, size: "small", style: { width: "80px" } }, { default: x(() => [g(q2, { label: "12", value: 12 }), g(q2, { label: "14", value: 14 }), g(q2, { label: "16", value: 16 }), g(q2, { label: "18", value: 18 }), g(q2, { label: "20", value: 20 }), g(q2, { label: "22", value: 22 }), g(q2, { label: "24", value: 24 }), g(q2, { label: "26", value: 26 }), g(q2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), g(G2, { effect: "dark", content: "打开搜索", placement: "top" }, { default: x(() => [g(W2, { class: "editorOption", onClick: de }, { default: x(() => [g(k(O))]), _: 1 })]), _: 1 }), g(G2, { effect: "dark", content: ae.value ? "退出全屏" : "全屏", placement: "top" }, { default: x(() => [g(W2, { style: { cursor: "pointer" }, onClick: ue }, { default: x(() => [g(k(j))]), _: 1 })]), _: 1 }, 8, ["content"]), g(W2, { style: { cursor: "pointer" }, onClick: fe, size: 25 }, { default: x(() => [g(k(U))]), _: 1 })]), b2[8] || (b2[8] = S("div", { style: { minHeight: "400px", maxHeight: "400px", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror" }, null, -1)), _(g(N2, { modelValue: se.value, "onUpdate:modelValue": b2[2] || (b2[2] = (e2) => se.value = e2), type: "border-card", style: { "margin-top": "10px" } }, { default: x(() => [(y(true), h(V, null, z(oe.value, (e2, t2) => (y(), w(J2, { label: "结果" + (t2 + 1), name: "index" + t2 }, { default: x(() => [g(B2, { data: e2, style: { width: "100%" } }, { default: x(() => [(y(true), h(V, null, z(e2[0], (e3, t3) => (y(), w(X2, { prop: t3 + "", label: t3 }, null, 8, ["prop", "label"]))), 256))]), _: 2 }, 1032, ["data"])]), _: 2 }, 1032, ["label", "name"]))), 256))]), _: 1 }, 8, ["modelValue"]), [[D, oe.value && oe.value.lenght > 0]]), g(Q2, { title: "结果设置", type: "info", size: "small", closable: false, style: { margin: "20px 0" } }), g(T2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: x(() => [g(F2, { modelValue: f2.properties.result.valueSetScope, "onUpdate:modelValue": b2[3] || (b2[3] = (e2) => f2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: x(() => [g(A2, { value: "first" }, { default: x(() => [...b2[6] || (b2[6] = [L("仅第一条", -1)])]), _: 1 }), g(A2, { value: "all" }, { default: x(() => [...b2[7] || (b2[7] = [L(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(T2, { label: "设置到:", style: { width: "100%" } }, { default: x(() => [g(k(I), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: f2.properties.result.setTo, "onUpdate:modelValue": b2[4] || (b2[4] = (e2) => f2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]);
97
+ return h(), y("div", R, [g(K2, { "label-width": "auto", "label-position": "left" }, { default: x(() => [g(H, { properties: f2.properties }, null, 8, ["properties"]), g(C2), g(T2), S("div", Y, [b2[5] || (b2[5] = S("span", { style: { color: "#909399", "font-size": "14px" } }, "SQL窗口", -1)), S("span", Z, [g(G2, { effect: "dark", content: "切换主题", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", onChange: ie, modelValue: ne.value.theme, "onUpdate:modelValue": b2[0] || (b2[0] = (e2) => ne.value.theme = e2), placeholder: "", size: "small", style: { width: "120px" } }, { default: x(() => [g(q2, { label: "默认", value: "default" }), g(q2, { label: "VScodeDark", value: "vscodeDark" }), g(q2, { label: "Dracula", value: "dracula" }), g(q2, { label: "GithubLight", value: "githubLight" }), g(q2, { label: "GithubDark", value: "githubDark" }), g(q2, { label: "Eclipse", value: "eclipse" }), g(q2, { label: "XcodeLight", value: "xcodeLight" }), g(q2, { label: "XcodeDark", value: "xcodeDark" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(G2, { effect: "dark", content: "切换字体大小", placement: "top" }, { default: x(() => [g(E2, { class: "editorOption", modelValue: ne.value.fontSize, "onUpdate:modelValue": b2[1] || (b2[1] = (e2) => ne.value.fontSize = e2), placeholder: "", onChange: ie, size: "small", style: { width: "80px" } }, { default: x(() => [g(q2, { label: "12", value: 12 }), g(q2, { label: "14", value: 14 }), g(q2, { label: "16", value: 16 }), g(q2, { label: "18", value: 18 }), g(q2, { label: "20", value: 20 }), g(q2, { label: "22", value: 22 }), g(q2, { label: "24", value: 24 }), g(q2, { label: "26", value: 26 }), g(q2, { label: "28", value: 28 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })]), g(G2, { effect: "dark", content: "打开搜索", placement: "top" }, { default: x(() => [g(W2, { class: "editorOption", onClick: de }, { default: x(() => [g(_(O))]), _: 1 })]), _: 1 }), g(G2, { effect: "dark", content: ae.value ? "退出全屏" : "全屏", placement: "top" }, { default: x(() => [g(W2, { style: { cursor: "pointer" }, onClick: ue }, { default: x(() => [g(_(j))]), _: 1 })]), _: 1 }, 8, ["content"]), g(W2, { style: { cursor: "pointer" }, onClick: fe, size: 25 }, { default: x(() => [g(_(U))]), _: 1 })]), b2[8] || (b2[8] = S("div", { style: { minHeight: "400px", maxHeight: "400px", backgroundColor: "#fff", color: "#333", outline: "1px dotted #212121" }, id: "cf-codemirror" }, null, -1)), k(g(N2, { modelValue: se.value, "onUpdate:modelValue": b2[2] || (b2[2] = (e2) => se.value = e2), type: "border-card", style: { "margin-top": "10px" } }, { default: x(() => [(h(true), y(V, null, z(oe.value, (e2, t2) => (h(), w(J2, { label: "结果" + (t2 + 1), name: "index" + t2 }, { default: x(() => [g(B2, { data: e2, style: { width: "100%" } }, { default: x(() => [(h(true), y(V, null, z(e2[0], (e3, t3) => (h(), w(X2, { prop: t3 + "", label: t3 }, null, 8, ["prop", "label"]))), 256))]), _: 2 }, 1032, ["data"])]), _: 2 }, 1032, ["label", "name"]))), 256))]), _: 1 }, 8, ["modelValue"]), [[D, oe.value && oe.value.lenght > 0]]), g(Q2, { title: "结果设置", type: "info", size: "small", closable: false, style: { margin: "20px 0" } }), g(T2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: x(() => [g(F2, { modelValue: f2.properties.result.valueSetScope, "onUpdate:modelValue": b2[3] || (b2[3] = (e2) => f2.properties.result.valueSetScope = e2), class: "ml-4" }, { default: x(() => [g(A2, { value: "first" }, { default: x(() => [...b2[6] || (b2[6] = [L("仅第一条", -1)])]), _: 1 }), g(A2, { value: "all" }, { default: x(() => [...b2[7] || (b2[7] = [L(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(T2, { label: "设置到:", style: { width: "100%" } }, { default: x(() => [g(_(I), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: f2.properties.result.setTo, "onUpdate:modelValue": b2[4] || (b2[4] = (e2) => f2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]);
98
98
  };
99
99
  } });
100
100
  export {
@@ -1,11 +1,11 @@
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, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
4
+ import { defineComponent as s, openBlock as t, createElementBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
5
5
  import n from "../../../../assets/icon/vardef-v.png.js";
6
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
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" }, "动态SQL", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
8
+ return t(), o("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" }, "动态SQL", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
9
9
  } });
10
10
  export {
11
11
  m as default
@@ -14,7 +14,7 @@ import "element-plus/es/components/form-item/style/css";
14
14
  import "element-plus/es/components/input/style/css";
15
15
  import "element-plus/es/components/button/style/css";
16
16
  import "element-plus/es/components/checkbox/style/css";
17
- import { defineComponent as y, ref as f, onMounted as V, createElementBlock as v, openBlock as h, createVNode as w, withCtx as g, createElementVNode as k, unref as _, createTextVNode as U, createBlock as x, toDisplayString as T, Fragment as z, renderList as C, createCommentVNode as $ } from "vue";
17
+ import { defineComponent as y, ref as f, onMounted as V, openBlock as v, createElementBlock as h, createVNode as w, withCtx as g, unref as k, createElementVNode as _, createTextVNode as U, toDisplayString as x, createBlock as T, Fragment as z, renderList as C, createCommentVNode as $ } from "vue";
18
18
  import { Search as D, View as S, Minus as j, Plus as E } from "@element-plus/icons-vue";
19
19
  import { getLabel as O, sqlOperators as I, logicOperators as q } from "../../util/common-options.js";
20
20
  import B from "../../../common/components/value-set-input/value-set-input.vue.js";
@@ -69,7 +69,7 @@ const R = { style: { position: "absolute", right: "0" } }, G = { key: 0 }, H = {
69
69
  e2.$editing && delete e2.$editing;
70
70
  }), le.properties) }), (e2, f2) => {
71
71
  const V2 = s, N2 = o, A2 = t, P2 = a, L2 = r, Z3 = i, ee2 = d, ce = n, be = u, ye = p, fe = c, Ve = m, ve = b, he = l;
72
- return h(), v("div", null, [w(he, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [w(M, { properties: y2.properties }, null, 8, ["properties"]), w(P2, { label: "" }, { label: g((e3) => [w(V2, { onChange: ue, modelValue: y2.properties.specifyDataTable, "onUpdate:modelValue": f2[0] || (f2[0] = (e4) => y2.properties.specifyDataTable = e4), label: "指定数据表", style: { width: "100px" } }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: !y2.properties.specifyDataTable, modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => y2.properties.dataTable = e3), readonly: "", style: { width: "85%" } }, { append: g(() => [w(N2, { type: "default", icon: _(D), onClick: f2[1] || (f2[1] = (e3) => oe.value = !oe.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), k("span", R, [w(N2, { type: "primary", icon: _(S), onClick: me }, { default: g(() => [...f2[19] || (f2[19] = [U("预览sql", -1)])]), _: 1 }, 8, ["icon"])]), w(F, { visible: oe.value, "onUpdate:visible": f2[3] || (f2[3] = (e3) => oe.value = e3), modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => y2.properties.dataTable = e3), systemCode: re.value, systemVersion: pe.value, onSelect: de }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), w(L2, { title: "查询条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.search.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "(((" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l2) => e3.row.leftBracket = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "", value: "" }), w(ee2, { label: "(", value: "(" }), w(ee2, { label: "((", value: "((" }), w(ee2, { label: "(((", value: "(((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", G, T(e3.row.leftBracket), 1))]), _: 1 }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(se.value, (e4) => (h(), x(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", H, T(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "type", label: "比较" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.operator, "onUpdate:modelValue": (l2) => e3.row.operator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(_(I), (e4) => (h(), x(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", K, T(_(O)(e3.row.operator, _(I))), 1))]), _: 1 }), w(Z3, { prop: "value", label: "值", width: "150" }, { default: g((e3) => [w(_(B), { customInputTypes: ["data"], showLabel: !e3.row.$editing, size: "small", modelValue: e3.row.value, "onUpdate:modelValue": (l2) => e3.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), w(Z3, { prop: "rightBracket", label: ")))" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l2) => e3.row.rightBracket = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "", value: "" }), w(ee2, { label: ")", value: ")" }), w(ee2, { label: "))", value: "))" }), w(ee2, { label: ")))", value: ")))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", Q, T(e3.row.rightBracket), 1))]), _: 1 }), w(Z3, { prop: "logicOperator", label: "连接符" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.logicOperator, "onUpdate:modelValue": (l2) => e3.row.logicOperator = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(_(q), (e4) => (h(), x(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", W, T(_(O)(e3.row.logicOperator, _(q))), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(N2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[5] || (f2[5] = (e3) => (le.properties.search.conditions || (le.properties.search.conditions = []), void le.properties.search.conditions.push({ prop: "", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [k("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(N2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "search") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.pageEnable, "onUpdate:modelValue": f2[6] || (f2[6] = (e4) => y2.properties.search.pageEnable = e4), label: "分页(offset)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.pageEnable ? (h(), x(_(B), { key: 0, modelValue: y2.properties.search.page, "onUpdate:modelValue": f2[7] || (f2[7] = (e3) => y2.properties.search.page = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页信息" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.limitEnable, "onUpdate:modelValue": f2[8] || (f2[8] = (e4) => y2.properties.search.limitEnable = e4), label: "限制数量(limit)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.limitEnable ? (h(), x(_(B), { key: 0, modelValue: y2.properties.search.limit, "onUpdate:modelValue": f2[9] || (f2[9] = (e3) => y2.properties.search.limit = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页大小" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.totalEnable, "onUpdate:modelValue": f2[10] || (f2[10] = (e4) => y2.properties.search.totalEnable = e4), label: "设置总条数到变量" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.totalEnable ? (h(), x(_(B), { key: 0, customInputTypes: ["data"], size: "small", modelValue: y2.properties.search.total, "onUpdate:modelValue": f2[11] || (f2[11] = (e3) => y2.properties.search.total = e3) }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(L2, { title: "排序设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.sort, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(h(true), v(z, null, C(se.value, (e4) => (h(), x(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", X, T(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "order", label: "排序方式" }, { default: g((e3) => [e3.row.$editing ? (h(), x(ce, { key: 1, size: "small", modelValue: e3.row.order, "onUpdate:modelValue": (l2) => e3.row.order = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "升序", value: "asc" }), w(ee2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (h(), v("span", Y, T(e3.row.order), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(N2, { type: "primary", size: "small", icon: _(E), circle: "", onClick: f2[12] || (f2[12] = (e3) => (le.properties.sort || (le.properties.sort = []), void le.properties.sort.push({ prop: "", order: "asc", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [k("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(N2, { type: "danger", size: "small", icon: _(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "sort") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(L2, { title: "查询结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(Ve, { modelValue: y2.properties.result.valueSetScope, "onUpdate:modelValue": f2[13] || (f2[13] = (e3) => y2.properties.result.valueSetScope = e3), class: "ml-4" }, { default: g(() => [w(fe, { value: "first" }, { default: g(() => [...f2[20] || (f2[20] = [U("仅第一条", -1)])]), _: 1 }), w(fe, { value: "all" }, { default: g(() => [...f2[21] || (f2[21] = [U(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "设置到:", style: { width: "100%" } }, { default: g(() => [w(_(B), { paramTypes: ["task", "data", "service"], size: "small", inputSize: "default", modelValue: y2.properties.result.setTo, "onUpdate:modelValue": f2[14] || (f2[14] = (e3) => y2.properties.result.setTo = e3) }, null, 8, ["modelValue"])]), _: 1 }), w(L2, { title: "对象不存在时", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[15] || (f2[15] = (e3) => y2.properties.noData.action = e3), value: " ", style: { width: "150px" } }, { default: g(() => [...f2[22] || (f2[22] = [U(" 继续 ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[16] || (f2[16] = (e4) => y2.properties.noData.action = e4), value: "throwException", label: "无数据时抛异常" }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: "throwException" !== y2.properties.noData.action, modelValue: y2.properties.noData.exceptionMessage, "onUpdate:modelValue": f2[17] || (f2[17] = (e3) => y2.properties.noData.exceptionMessage = e3), placeholder: "自定义异常消息" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), w(ve)]), _: 1 }), w(_(J), { sql: te.value, "model-value": ae.value, "onUpdate:modelValue": f2[18] || (f2[18] = (e3) => ae.value = e3) }, null, 8, ["sql", "model-value"])]);
72
+ return v(), h("div", null, [w(he, { "label-width": "auto", "label-position": "left", size: "small" }, { default: g(() => [w(M, { properties: y2.properties }, null, 8, ["properties"]), w(P2, { label: "" }, { label: g((e3) => [w(V2, { onChange: ue, modelValue: y2.properties.specifyDataTable, "onUpdate:modelValue": f2[0] || (f2[0] = (e4) => y2.properties.specifyDataTable = e4), label: "指定数据表", style: { width: "100px" } }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: !y2.properties.specifyDataTable, modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => y2.properties.dataTable = e3), readonly: "", style: { width: "85%" } }, { append: g(() => [w(N2, { type: "default", icon: k(D), onClick: f2[1] || (f2[1] = (e3) => oe.value = !oe.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["disabled", "modelValue"]), _("span", R, [w(N2, { type: "primary", icon: k(S), onClick: me }, { default: g(() => [...f2[19] || (f2[19] = [U("预览sql", -1)])]), _: 1 }, 8, ["icon"])]), w(F, { visible: oe.value, "onUpdate:visible": f2[3] || (f2[3] = (e3) => oe.value = e3), modelValue: y2.properties.dataTable, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => y2.properties.dataTable = e3), systemCode: re.value, systemVersion: pe.value, onSelect: de }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), w(L2, { title: "查询条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.search.conditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "(((" }, { default: g((e3) => [e3.row.$editing ? (v(), T(ce, { key: 1, size: "small", modelValue: e3.row.leftBracket, "onUpdate:modelValue": (l2) => e3.row.leftBracket = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "", value: "" }), w(ee2, { label: "(", value: "(" }), w(ee2, { label: "((", value: "((" }), w(ee2, { label: "(((", value: "(((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (v(), h("span", G, x(e3.row.leftBracket), 1))]), _: 1 }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (v(), T(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(v(true), h(z, null, C(se.value, (e4) => (v(), T(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (v(), h("span", H, x(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "type", label: "比较" }, { default: g((e3) => [e3.row.$editing ? (v(), T(ce, { key: 1, modelValue: e3.row.operator, "onUpdate:modelValue": (l2) => e3.row.operator = l2, placeholder: "", size: "small" }, { default: g(() => [(v(true), h(z, null, C(k(I), (e4) => (v(), T(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (v(), h("span", K, x(k(O)(e3.row.operator, k(I))), 1))]), _: 1 }), w(Z3, { prop: "value", label: "值", width: "150" }, { default: g((e3) => [w(k(B), { customInputTypes: ["data"], showLabel: !e3.row.$editing, size: "small", modelValue: e3.row.value, "onUpdate:modelValue": (l2) => e3.row.value = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), w(Z3, { prop: "rightBracket", label: ")))" }, { default: g((e3) => [e3.row.$editing ? (v(), T(ce, { key: 1, size: "small", modelValue: e3.row.rightBracket, "onUpdate:modelValue": (l2) => e3.row.rightBracket = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "", value: "" }), w(ee2, { label: ")", value: ")" }), w(ee2, { label: "))", value: "))" }), w(ee2, { label: ")))", value: ")))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (v(), h("span", Q, x(e3.row.rightBracket), 1))]), _: 1 }), w(Z3, { prop: "logicOperator", label: "连接符" }, { default: g((e3) => [e3.row.$editing ? (v(), T(ce, { key: 1, modelValue: e3.row.logicOperator, "onUpdate:modelValue": (l2) => e3.row.logicOperator = l2, placeholder: "", size: "small" }, { default: g(() => [(v(true), h(z, null, C(k(q), (e4) => (v(), T(ee2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (v(), h("span", W, x(k(O)(e3.row.logicOperator, k(q))), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(N2, { type: "primary", size: "small", icon: k(E), circle: "", onClick: f2[5] || (f2[5] = (e3) => (le.properties.search.conditions || (le.properties.search.conditions = []), void le.properties.search.conditions.push({ prop: "", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [_("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(N2, { type: "danger", size: "small", icon: k(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "search") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.pageEnable, "onUpdate:modelValue": f2[6] || (f2[6] = (e4) => y2.properties.search.pageEnable = e4), label: "分页(offset)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.pageEnable ? (v(), T(k(B), { key: 0, modelValue: y2.properties.search.page, "onUpdate:modelValue": f2[7] || (f2[7] = (e3) => y2.properties.search.page = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页信息" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.limitEnable, "onUpdate:modelValue": f2[8] || (f2[8] = (e4) => y2.properties.search.limitEnable = e4), label: "限制数量(limit)" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.limitEnable ? (v(), T(k(B), { key: 0, modelValue: y2.properties.search.limit, "onUpdate:modelValue": f2[9] || (f2[9] = (e3) => y2.properties.search.limit = e3), customInputTypes: ["data"], size: "small", placeholder: "从变量中获取分页大小" }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(V2, { modelValue: y2.properties.search.totalEnable, "onUpdate:modelValue": f2[10] || (f2[10] = (e4) => y2.properties.search.totalEnable = e4), label: "设置总条数到变量" }, null, 8, ["modelValue"])]), default: g(() => [y2.properties.search.totalEnable ? (v(), T(k(B), { key: 0, customInputTypes: ["data"], size: "small", modelValue: y2.properties.search.total, "onUpdate:modelValue": f2[11] || (f2[11] = (e3) => y2.properties.search.total = e3) }, null, 8, ["modelValue"])) : $("", true)]), _: 1 }), w(L2, { title: "排序设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(ye, { data: y2.properties.sort, style: { width: "100%", "margin-top": "20px", "margin-bottom": "20px" }, "row-key": "code", onRowDblclick: ie, size: "small", border: "", "tree-props": { children: "conditions" }, "default-expand-all": "" }, { default: g(() => [w(Z3, { type: "index", width: "50", label: "序" }), w(Z3, { prop: "name", label: "字段名" }, { default: g((e3) => [e3.row.$editing ? (v(), T(ce, { key: 1, modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, placeholder: "", size: "small" }, { default: g(() => [(v(true), h(z, null, C(se.value, (e4) => (v(), T(ee2, { key: e4.name, label: e4.alias, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (v(), h("span", X, x(e3.row.name), 1))]), _: 1 }), w(Z3, { prop: "order", label: "排序方式" }, { default: g((e3) => [e3.row.$editing ? (v(), T(ce, { key: 1, size: "small", modelValue: e3.row.order, "onUpdate:modelValue": (l2) => e3.row.order = l2, placeholder: "" }, { default: g(() => [w(ee2, { label: "升序", value: "asc" }), w(ee2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (v(), h("span", Y, x(e3.row.order), 1))]), _: 1 }), w(Z3, { align: "center" }, { header: g(() => [w(be, { effect: "dark", content: "添加", placement: "top" }, { default: g(() => [w(N2, { type: "primary", size: "small", icon: k(E), circle: "", onClick: f2[12] || (f2[12] = (e3) => (le.properties.sort || (le.properties.sort = []), void le.properties.sort.push({ prop: "", order: "asc", $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: g((e3) => [_("span", null, [w(be, { effect: "dark", content: "删除", placement: "top" }, { default: g(() => [w(N2, { type: "danger", size: "small", icon: k(j), circle: "", onClick: (l2) => ne(e3.$index, e3.row, "sort") }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]), w(L2, { title: "查询结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(Ve, { modelValue: y2.properties.result.valueSetScope, "onUpdate:modelValue": f2[13] || (f2[13] = (e3) => y2.properties.result.valueSetScope = e3), class: "ml-4" }, { default: g(() => [w(fe, { value: "first" }, { default: g(() => [...f2[20] || (f2[20] = [U("仅第一条", -1)])]), _: 1 }), w(fe, { value: "all" }, { default: g(() => [...f2[21] || (f2[21] = [U(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "设置到:", style: { width: "100%" } }, { default: g(() => [w(k(B), { paramTypes: ["task", "data", "service"], size: "small", inputSize: "default", modelValue: y2.properties.result.setTo, "onUpdate:modelValue": f2[14] || (f2[14] = (e3) => y2.properties.result.setTo = e3) }, null, 8, ["modelValue"])]), _: 1 }), w(L2, { title: "对象不存在时", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), w(P2, { label: "", style: { width: "100%" } }, { default: g(() => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[15] || (f2[15] = (e3) => y2.properties.noData.action = e3), value: " ", style: { width: "150px" } }, { default: g(() => [...f2[22] || (f2[22] = [U(" 继续 ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 }), w(P2, { label: "", style: { width: "100%" } }, { label: g((e3) => [w(fe, { modelValue: y2.properties.noData.action, "onUpdate:modelValue": f2[16] || (f2[16] = (e4) => y2.properties.noData.action = e4), value: "throwException", label: "无数据时抛异常" }, null, 8, ["modelValue"])]), default: g(() => [w(A2, { disabled: "throwException" !== y2.properties.noData.action, modelValue: y2.properties.noData.exceptionMessage, "onUpdate:modelValue": f2[17] || (f2[17] = (e3) => y2.properties.noData.exceptionMessage = e3), placeholder: "自定义异常消息" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), w(ve)]), _: 1 }), w(k(J), { sql: te.value, "model-value": ae.value, "onUpdate:modelValue": f2[18] || (f2[18] = (e3) => ae.value = e3) }, null, 8, ["sql", "model-value"])]);
73
73
  };
74
74
  } });
75
75
  export {
@@ -1,7 +1,7 @@
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 l, onMounted as r, createElementBlock as s, openBlock as o, createElementVNode as n, normalizeStyle as p, createVNode as i, toDisplayString as a, Fragment as u, renderList as d } from "vue";
4
+ import { defineComponent as t, ref as l, onMounted as r, openBlock as s, createElementBlock as o, createElementVNode as n, normalizeStyle as p, toDisplayString as i, createVNode as a, Fragment as u, renderList as d } from "vue";
5
5
  import m from "../../../../assets/icon/vardef-v.png.js";
6
6
  const c = { 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
7
  const h = t2, g = l([]), b = l([]);
@@ -16,7 +16,7 @@ const c = { class: "serviceflow-nodeTitle" }, f = { class: "serviceflow-nodeCont
16
16
  });
17
17
  }), (l2, r2) => {
18
18
  const v3 = e;
19
- return o(), s("div", null, [r2[1] || (r2[1] = n("img", { src: m, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), n("div", { class: "serviceflow-nodeView", style: p({ backgroundColor: t2.properties.backgroundColor }) }, [n("div", c, a(t2.properties.name ? t2.properties.name : "条件判断"), 1), i(v3), n("div", f, [(o(true), s(u, null, d(g.value, (e2) => (o(), s("div", null, [n("span", null, a(e2), 1), r2[0] || (r2[0] = n("br", null, null, -1))]))), 256))])], 4)]);
19
+ return s(), o("div", null, [r2[1] || (r2[1] = n("img", { src: m, style: { height: "32px", position: "fixed", left: "0px", top: "0px" } }, null, -1)), n("div", { class: "serviceflow-nodeView", style: p({ backgroundColor: t2.properties.backgroundColor }) }, [n("div", c, i(t2.properties.name ? t2.properties.name : "条件判断"), 1), a(v3), n("div", f, [(s(true), o(u, null, d(g.value, (e2) => (s(), o("div", null, [n("span", null, i(e2), 1), r2[0] || (r2[0] = n("br", null, null, -1))]))), 256))])], 4)]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -4,7 +4,7 @@ import "element-plus/es/components/table/style/css";
4
4
  import "element-plus/es/components/button/style/css";
5
5
  import "element-plus/es/components/table-column/style/css";
6
6
  import "element-plus/es/components/input/style/css";
7
- import { defineComponent as t, createBlock as n, openBlock as s, withCtx as m, createVNode as u, unref as p, createTextVNode as d } from "vue";
7
+ import { defineComponent as t, openBlock as n, createBlock as s, withCtx as m, createVNode as u, unref as p, createTextVNode as d } from "vue";
8
8
  import r from "../../../common/components/value-set-input/value-set-input.vue.js";
9
9
  const i = t({ __name: "cookie-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { emit: i2 }) {
10
10
  const c = i2, V = t2;
@@ -14,7 +14,7 @@ const i = t({ __name: "cookie-data", props: { modelValue: { type: Array, default
14
14
  };
15
15
  return (i3, c2) => {
16
16
  const v = o, y = l, _ = a, b = e;
17
- return s(), n(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [u(y, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [u(p(r), { size: "small", paramTypes: ["service", "value"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { align: "center", width: "70" }, { header: m(() => [u(_, { type: "primary", size: "small", onClick: f, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [d("添加 ", -1)])]), _: 1 })]), default: m((e2) => [u(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
17
+ return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [u(y, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [u(p(r), { size: "small", paramTypes: ["service", "value"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [u(v, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(y, { align: "center", width: "70" }, { header: m(() => [u(_, { type: "primary", size: "small", onClick: f, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [d("添加 ", -1)])]), _: 1 })]), default: m((e2) => [u(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
18
18
  return o2 = e2.$index, e2.row, void V.modelValue.splice(o2, 1);
19
19
  var o2;
20
20
  } }, { default: m(() => [...c2[1] || (c2[1] = [d(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
@@ -6,7 +6,7 @@ import "element-plus/es/components/table-column/style/css";
6
6
  import "element-plus/es/components/input/style/css";
7
7
  import "element-plus/es/components/select/style/css";
8
8
  import "element-plus/es/components/option/style/css";
9
- import { defineComponent as p, createBlock as m, createCommentVNode as n, openBlock as r, withCtx as d, createVNode as u, unref as i, createTextVNode as c } from "vue";
9
+ import { defineComponent as p, openBlock as m, createBlock as n, withCtx as r, createVNode as d, unref as u, createTextVNode as i, createCommentVNode as c } from "vue";
10
10
  import V from "../../../common/components/value-set-input/value-set-input.vue.js";
11
11
  const y = p({ __name: "form-data", props: { modelValue: { type: Array, default: () => ({ content: [] }) } }, emits: ["update:modelValue"], setup(p2, { expose: y2, emit: f }) {
12
12
  const w = f, v = p2;
@@ -16,10 +16,10 @@ const y = p({ __name: "form-data", props: { modelValue: { type: Array, default:
16
16
  };
17
17
  return y2({}), (y3, f2) => {
18
18
  const w2 = t, _ = a, T = o, U = l, h = s, k = e;
19
- return Array.isArray(p2.modelValue) ? (r(), m(k, { key: 0, data: p2.modelValue, border: "", size: "small" }, { default: d(() => [u(U, { prop: "name", label: "参数名", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, { append: d(() => [u(_, { size: "small", modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: d(() => [u(w2, { label: "Text", value: "TEXT" }), u(w2, { label: "File", value: "FILE" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "prop", label: "值", align: "center" }, { default: d((e2) => [u(i(V), { size: "small", paramTypes: ["service", "data", "fixed"], showFileUpload: "FILE" === e2.row.paramType, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showFileUpload", "modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { prop: "description", label: "说明", align: "center" }, { default: d((e2) => [u(T, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(U, { align: "center", width: "70" }, { header: d(() => [u(h, { type: "primary", size: "small", onClick: b, link: "" }, { default: d(() => [...f2[0] || (f2[0] = [c("添加 ", -1)])]), _: 1 })]), default: d((e2) => [u(h, { type: "danger", size: "small", link: "", onClick: (l2) => {
19
+ return Array.isArray(p2.modelValue) ? (m(), n(k, { key: 0, data: p2.modelValue, border: "", size: "small" }, { default: r(() => [d(U, { prop: "name", label: "参数名", align: "center" }, { default: r((e2) => [d(T, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, { append: r(() => [d(_, { size: "small", modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, style: { width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: r(() => [d(w2, { label: "Text", value: "TEXT" }), d(w2, { label: "File", value: "FILE" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(U, { prop: "prop", label: "值", align: "center" }, { default: r((e2) => [d(u(V), { size: "small", paramTypes: ["service", "data", "fixed"], showFileUpload: "FILE" === e2.row.paramType, modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["showFileUpload", "modelValue", "onUpdate:modelValue"])]), _: 1 }), d(U, { prop: "description", label: "说明", align: "center" }, { default: r((e2) => [d(T, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(U, { align: "center", width: "70" }, { header: r(() => [d(h, { type: "primary", size: "small", onClick: b, link: "" }, { default: r(() => [...f2[0] || (f2[0] = [i("添加 ", -1)])]), _: 1 })]), default: r((e2) => [d(h, { type: "danger", size: "small", link: "", onClick: (l2) => {
20
20
  return o2 = e2.$index, e2.row, void v.modelValue.splice(o2, 1);
21
21
  var o2;
22
- } }, { default: d(() => [...f2[1] || (f2[1] = [c(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
22
+ } }, { default: r(() => [...f2[1] || (f2[1] = [i(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : c("", true);
23
23
  };
24
24
  } });
25
25
  export {
@@ -4,7 +4,7 @@ import "element-plus/es/components/table/style/css";
4
4
  import "element-plus/es/components/button/style/css";
5
5
  import "element-plus/es/components/table-column/style/css";
6
6
  import "element-plus/es/components/input/style/css";
7
- import { defineComponent as t, createBlock as s, openBlock as n, withCtx as m, createVNode as p, unref as u, createTextVNode as d } from "vue";
7
+ import { defineComponent as t, openBlock as s, createBlock as n, withCtx as m, createVNode as p, unref as u, createTextVNode as d } from "vue";
8
8
  import r from "../../../common/components/value-set-input/value-set-input.vue.js";
9
9
  const i = t({ __name: "header-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: i2, emit: c }) {
10
10
  const V = c, f = t2;
@@ -14,7 +14,7 @@ const i = t({ __name: "header-data", props: { modelValue: { type: Array, default
14
14
  };
15
15
  return i2({}), (i3, c2) => {
16
16
  const V2 = o, v = l, _ = a, b = e;
17
- return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(r), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { align: "center", width: "70" }, { header: m(() => [p(_, { type: "primary", size: "small", onClick: y, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [d("添加 ", -1)])]), _: 1 })]), default: m((e2) => [p(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
17
+ return s(), n(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(r), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { align: "center", width: "70" }, { header: m(() => [p(_, { type: "primary", size: "small", onClick: y, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [d("添加 ", -1)])]), _: 1 })]), default: m((e2) => [p(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
18
18
  return o2 = e2.$index, e2.row, void f.modelValue.splice(o2, 1);
19
19
  var o2;
20
20
  } }, { default: m(() => [...c2[1] || (c2[1] = [d(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
@@ -4,7 +4,7 @@ import "element-plus/es/components/table/style/css";
4
4
  import "element-plus/es/components/button/style/css";
5
5
  import "element-plus/es/components/table-column/style/css";
6
6
  import "element-plus/es/components/input/style/css";
7
- import { defineComponent as t, createBlock as s, createCommentVNode as n, openBlock as m, withCtx as r, createVNode as u, unref as p, createTextVNode as d } from "vue";
7
+ import { defineComponent as t, openBlock as s, createBlock as n, withCtx as m, createVNode as r, unref as u, createTextVNode as p, createCommentVNode as d } from "vue";
8
8
  import i from "../../../common/components/value-set-input/value-set-input.vue.js";
9
9
  const c = t({ __name: "json-data", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: c2, emit: V }) {
10
10
  const y = V, f = t2;
@@ -14,10 +14,10 @@ const c = t({ __name: "json-data", props: { modelValue: { type: Array, default:
14
14
  };
15
15
  return c2({}), (c3, V2) => {
16
16
  const y2 = a, _ = l, b = o, w = e;
17
- return Array.isArray(t2.modelValue) ? (m(), s(w, { key: 0, data: t2.modelValue, border: "", size: "small" }, { default: r(() => [u(_, { prop: "name", label: "参数名", align: "center" }, { default: r((e2) => [u(y2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(_, { prop: "prop", label: "值", align: "center" }, { default: r((e2) => [u(p(i), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(_, { prop: "description", label: "说明", align: "center" }, { default: r((e2) => [u(y2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(_, { align: "center", width: "70" }, { header: r(() => [u(b, { type: "primary", size: "small", onClick: v, link: "" }, { default: r(() => [...V2[0] || (V2[0] = [d("添加 ", -1)])]), _: 1 })]), default: r((e2) => [u(b, { type: "danger", size: "small", link: "", onClick: (l2) => {
17
+ return Array.isArray(t2.modelValue) ? (s(), n(w, { key: 0, data: t2.modelValue, border: "", size: "small" }, { default: m(() => [r(_, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [r(y2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(_, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [r(u(i), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(_, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [r(y2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(_, { align: "center", width: "70" }, { header: m(() => [r(b, { type: "primary", size: "small", onClick: v, link: "" }, { default: m(() => [...V2[0] || (V2[0] = [p("添加 ", -1)])]), _: 1 })]), default: m((e2) => [r(b, { type: "danger", size: "small", link: "", onClick: (l2) => {
18
18
  return a2 = e2.$index, e2.row, void f.modelValue.splice(a2, 1);
19
19
  var a2;
20
- } }, { default: r(() => [...V2[1] || (V2[1] = [d(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : n("", true);
20
+ } }, { default: m(() => [...V2[1] || (V2[1] = [p(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])) : d("", true);
21
21
  };
22
22
  } });
23
23
  export {
@@ -6,7 +6,7 @@ import "element-plus/es/components/select/style/css";
6
6
  import "element-plus/es/components/option/style/css";
7
7
  import "element-plus/es/components/radio-group/style/css";
8
8
  import "element-plus/es/components/radio/style/css";
9
- import { defineComponent as d, ref as n, onMounted as s, createElementBlock as u, openBlock as r, Fragment as p, createVNode as i, createBlock as c, createCommentVNode as y, withCtx as f, createTextVNode as V, createElementVNode as b } from "vue";
9
+ import { defineComponent as d, ref as n, onMounted as s, openBlock as u, createElementBlock as r, Fragment as p, createVNode as i, withCtx as c, createTextVNode as y, createBlock as f, createCommentVNode as V, createElementVNode as b } from "vue";
10
10
  import v from "./form-data.vue.js";
11
11
  import w from "./json-data.vue.js";
12
12
  import T from "../../../common/components/file-upload.vue.js";
@@ -23,7 +23,7 @@ const x = d({ __name: "param-config", props: { modelValue: { type: Object, defau
23
23
  return s(() => {
24
24
  }), x2({}), (n2, s2) => {
25
25
  const x3 = l, j2 = e, U2 = a, h = o, D = t, S = m;
26
- return r(), u(p, null, [i(j2, { modelValue: d2.modelValue.bodyType, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => d2.modelValue.bodyType = e2), style: { "margin-bottom": "10px" }, onChange: z }, { default: f(() => [i(x3, { value: "none", size: "small" }, { default: f(() => [...s2[6] || (s2[6] = [V("none", -1)])]), _: 1 }), i(x3, { value: "formData", size: "small" }, { default: f(() => [...s2[7] || (s2[7] = [V("form-data", -1)])]), _: 1 }), i(x3, { value: "formUrlencoded", size: "small" }, { default: f(() => [...s2[8] || (s2[8] = [V("x-www-form-urlencoded", -1)])]), _: 1 }), i(x3, { value: "json", size: "small" }, { default: f(() => [...s2[9] || (s2[9] = [V("json", -1)])]), _: 1 }), i(x3, { value: "raw", size: "small" }, { default: f(() => [...s2[10] || (s2[10] = [V("raw", -1)])]), _: 1 }), i(x3, { value: "binary", size: "small" }, { default: f(() => [...s2[11] || (s2[11] = [V("binary", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "raw" === d2.modelValue.bodyType ? (r(), c(h, { key: 0, size: "small", modelValue: d2.modelValue.mediaType, "onUpdate:modelValue": s2[1] || (s2[1] = (e2) => d2.modelValue.mediaType = e2), onChange: k, style: { "margin-left": "10px", width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: f(() => [i(U2, { size: "small", label: "TEXT", value: "text/plain" }), i(U2, { size: "small", label: "JSON", value: "application/json" }), i(U2, { size: "small", label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])) : y("", true), "none" === d2.modelValue.bodyType ? (r(), c(D, { key: 1, description: "不需要请求体", style: { border: "1px solid #dcdfe6" } }, { image: f(() => [...s2[12] || (s2[12] = [b("span", null, null, -1)])]), _: 1 })) : "formData" === d2.modelValue.bodyType || "formUrlencoded" === d2.modelValue.bodyType ? (r(), c(S, { key: 2, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(v, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[2] || (s2[2] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "json" === d2.modelValue.bodyType ? (r(), c(S, { key: 3, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(w, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[3] || (s2[3] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "binary" === d2.modelValue.bodyType ? (r(), c(T, { key: 4, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[4] || (s2[4] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])) : "raw" === d2.modelValue.bodyType ? (r(), c(S, { key: 5, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: f(() => [i(_, { ref_key: "rawDataRef", ref: g, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[5] || (s2[5] = (e2) => d2.modelValue.content = e2), httpSerivceBody: d2.modelValue }, null, 8, ["modelValue", "httpSerivceBody"])]), _: 1 })) : y("", true)], 64);
26
+ return u(), r(p, null, [i(j2, { modelValue: d2.modelValue.bodyType, "onUpdate:modelValue": s2[0] || (s2[0] = (e2) => d2.modelValue.bodyType = e2), style: { "margin-bottom": "10px" }, onChange: z }, { default: c(() => [i(x3, { value: "none", size: "small" }, { default: c(() => [...s2[6] || (s2[6] = [y("none", -1)])]), _: 1 }), i(x3, { value: "formData", size: "small" }, { default: c(() => [...s2[7] || (s2[7] = [y("form-data", -1)])]), _: 1 }), i(x3, { value: "formUrlencoded", size: "small" }, { default: c(() => [...s2[8] || (s2[8] = [y("x-www-form-urlencoded", -1)])]), _: 1 }), i(x3, { value: "json", size: "small" }, { default: c(() => [...s2[9] || (s2[9] = [y("json", -1)])]), _: 1 }), i(x3, { value: "raw", size: "small" }, { default: c(() => [...s2[10] || (s2[10] = [y("raw", -1)])]), _: 1 }), i(x3, { value: "binary", size: "small" }, { default: c(() => [...s2[11] || (s2[11] = [y("binary", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), "raw" === d2.modelValue.bodyType ? (u(), f(h, { key: 0, size: "small", modelValue: d2.modelValue.mediaType, "onUpdate:modelValue": s2[1] || (s2[1] = (e2) => d2.modelValue.mediaType = e2), onChange: k, style: { "margin-left": "10px", width: "80px", "background-color": "var(--el-fill-color-blank)" } }, { default: c(() => [i(U2, { size: "small", label: "TEXT", value: "text/plain" }), i(U2, { size: "small", label: "JSON", value: "application/json" }), i(U2, { size: "small", label: "XML", value: "application/xml" })]), _: 1 }, 8, ["modelValue"])) : V("", true), "none" === d2.modelValue.bodyType ? (u(), f(D, { key: 1, description: "不需要请求体", style: { border: "1px solid #dcdfe6" } }, { image: c(() => [...s2[12] || (s2[12] = [b("span", null, null, -1)])]), _: 1 })) : "formData" === d2.modelValue.bodyType || "formUrlencoded" === d2.modelValue.bodyType ? (u(), f(S, { key: 2, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: c(() => [i(v, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[2] || (s2[2] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "json" === d2.modelValue.bodyType ? (u(), f(S, { key: 3, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: c(() => [i(w, { modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[3] || (s2[3] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])]), _: 1 })) : "binary" === d2.modelValue.bodyType ? (u(), f(T, { key: 4, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[4] || (s2[4] = (e2) => d2.modelValue.content = e2) }, null, 8, ["modelValue"])) : "raw" === d2.modelValue.bodyType ? (u(), f(S, { key: 5, "label-width": "0", style: { "margin-bottom": "0px" } }, { default: c(() => [i(_, { ref_key: "rawDataRef", ref: g, modelValue: d2.modelValue.content, "onUpdate:modelValue": s2[5] || (s2[5] = (e2) => d2.modelValue.content = e2), httpSerivceBody: d2.modelValue }, null, 8, ["modelValue", "httpSerivceBody"])]), _: 1 })) : V("", true)], 64);
27
27
  };
28
28
  } });
29
29
  export {
@@ -4,7 +4,7 @@ import "element-plus/es/components/table/style/css";
4
4
  import "element-plus/es/components/button/style/css";
5
5
  import "element-plus/es/components/table-column/style/css";
6
6
  import "element-plus/es/components/input/style/css";
7
- import { defineComponent as t, createBlock as s, openBlock as n, withCtx as m, createVNode as p, unref as u, createTextVNode as r } from "vue";
7
+ import { defineComponent as t, openBlock as s, createBlock as n, withCtx as m, createVNode as p, unref as u, createTextVNode as r } from "vue";
8
8
  import d from "../../../common/components/value-set-input/value-set-input.vue.js";
9
9
  const i = t({ __name: "query-params", props: { modelValue: { type: Array, default: () => null } }, emits: ["update:modelValue"], setup(t2, { expose: i2, emit: c }) {
10
10
  const V = c, f = t2;
@@ -14,7 +14,7 @@ const i = t({ __name: "query-params", props: { modelValue: { type: Array, defaul
14
14
  };
15
15
  return i2({}), (i3, c2) => {
16
16
  const V2 = o, v = l, _ = a, b = e;
17
- return n(), s(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(d), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { align: "center", width: "70" }, { header: m(() => [p(_, { type: "primary", size: "small", onClick: y, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [r("添加 ", -1)])]), _: 1 })]), default: m((e2) => [p(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
17
+ return s(), n(b, { data: t2.modelValue, border: "", size: "small" }, { default: m(() => [p(v, { prop: "name", label: "参数名", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "prop", label: "值", align: "center" }, { default: m((e2) => [p(u(d), { size: "small", paramTypes: ["service", "fixed"], modelValue: e2.row.value, "onUpdate:modelValue": (l2) => e2.row.value = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { prop: "description", label: "说明", align: "center" }, { default: m((e2) => [p(V2, { size: "small", modelValue: e2.row.description, "onUpdate:modelValue": (l2) => e2.row.description = l2, placeholder: "" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), p(v, { align: "center", width: "70" }, { header: m(() => [p(_, { type: "primary", size: "small", onClick: y, link: "" }, { default: m(() => [...c2[0] || (c2[0] = [r("添加 ", -1)])]), _: 1 })]), default: m((e2) => [p(_, { type: "danger", size: "small", link: "", onClick: (l2) => {
18
18
  return o2 = e2.$index, e2.row, void f.modelValue.splice(o2, 1);
19
19
  var o2;
20
20
  } }, { default: m(() => [...c2[1] || (c2[1] = [r(" 删除 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
@@ -1,4 +1,4 @@
1
- import { defineComponent as t, onMounted as e, ref as o, createElementBlock as r, openBlock as n } from "vue";
1
+ import { defineComponent as t, onMounted as e, ref as o, openBlock as r, createElementBlock as n } from "vue";
2
2
  import { EditorView as i, basicSetup as c } from "codemirror";
3
3
  import { json as d } from "@codemirror/lang-json";
4
4
  import { xml as a } from "@codemirror/lang-xml";
@@ -23,7 +23,7 @@ const p = { style: { minHeight: "400px", maxHeight: "700px", width: "100%", back
23
23
  const x = () => "application/xml" === s.httpSerivceBody.mediaType ? a() : "application/json" === s.httpSerivceBody.mediaType ? d() : [];
24
24
  return u2({ updateEditor: () => {
25
25
  h.value && h.value.update(document.getElementById("cf-codemirror-json"), { state: v() });
26
- }, loadEditor: y }), (t3, e2) => (n(), r("div", p));
26
+ }, loadEditor: y }), (t3, e2) => (r(), n("div", p));
27
27
  } });
28
28
  export {
29
29
  u as default
@@ -5,13 +5,13 @@ 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/text/style/css";
7
7
  import "element-plus/es/components/input/style/css";
8
- import { defineComponent as p, createBlock as m, openBlock as n, withCtx as r, createVNode as a, createTextVNode as i, unref as u } from "vue";
8
+ import { defineComponent as p, openBlock as m, createBlock as n, withCtx as r, createVNode as a, createTextVNode as i, unref as u } from "vue";
9
9
  import c from "../../../common/components/node-base-config.vue.js";
10
10
  import d from "../../../common/components/value-set-input/value-set-input.vue.js";
11
11
  import "@element-plus/icons-vue";
12
12
  const f = p({ __name: "config", props: { properties: { type: Object, default: () => ({}) } }, setup: (p2, { expose: f2 }) => (f2({}), (f3, b) => {
13
13
  const y = s, v = o, x = t, V = l, _ = e;
14
- return n(), m(_, { "label-width": "auto", "label-position": "left" }, { default: r(() => [a(c, { properties: p2.properties }, null, 8, ["properties"]), a(x, { label: "Bean名称:" }, { default: r(() => [a(y, { modelValue: p2.properties.beanName, "onUpdate:modelValue": b[0] || (b[0] = (e2) => p2.properties.beanName = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), a(v, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: r(() => [...b[2] || (b[2] = [i(" 说明:自定义bean需实现cn.ambitionq.serivceflow.core.ServiceNodeHandler接口重写execute方法 ", -1)])]), _: 1 })]), _: 1 }), a(V, { title: "输出设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), a(x, { label: "设置到:" }, { default: r(() => [a(u(d), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: p2.properties.resultSet, "onUpdate:modelValue": b[1] || (b[1] = (e2) => p2.properties.resultSet = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
14
+ return m(), n(_, { "label-width": "auto", "label-position": "left" }, { default: r(() => [a(c, { properties: p2.properties }, null, 8, ["properties"]), a(x, { label: "Bean名称:" }, { default: r(() => [a(y, { modelValue: p2.properties.beanName, "onUpdate:modelValue": b[0] || (b[0] = (e2) => p2.properties.beanName = e2), placeholder: "", style: { width: "85%" } }, null, 8, ["modelValue"]), a(v, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: r(() => [...b[2] || (b[2] = [i(" 说明:自定义bean需实现cn.ambitionq.serivceflow.core.ServiceNodeHandler接口重写execute方法 ", -1)])]), _: 1 })]), _: 1 }), a(V, { title: "输出设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), a(x, { label: "设置到:" }, { default: r(() => [a(u(d), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: p2.properties.resultSet, "onUpdate:modelValue": b[1] || (b[1] = (e2) => p2.properties.resultSet = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 });
15
15
  }) });
16
16
  export {
17
17
  f as default
@@ -1,11 +1,11 @@
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, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
4
+ import { defineComponent as s, openBlock as t, createElementBlock as o, createElementVNode as i, normalizeStyle as r, createVNode as l, toDisplayString as p } from "vue";
5
5
  import n from "../../../../assets/icon/vardef-v.png.js";
6
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
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" }, "服务-自定义bean", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
8
+ return t(), o("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" }, "服务-自定义bean", -1)), l(a), i("div", c, p(s2.properties.name), 1)], 4)]);
9
9
  } });
10
10
  export {
11
11
  m as default
@@ -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, 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";
12
+ import { defineComponent as u, ref as i, openBlock as m, createBlock as d, withCtx as c, createVNode as y, createElementBlock as V, Fragment as b, renderList as f, unref as v, createTextVNode as h, createElementVNode as g, createCommentVNode 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";
@@ -27,7 +27,7 @@ const z = { style: { position: "absolute", right: "10px" } }, P = u({ __name: "c
27
27
  };
28
28
  return P2({}), (i2, P3) => {
29
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(" 返回值设置 ", -1)), 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 });
30
+ return m(), d(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(() => [(m(true), V(b, null, f(v(_), (e3) => (m(), d(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] = h(" 返回值设置 ", -1)), g("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 ? (m(), d(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"])) : k("", true), "application/xml" === u2.properties.responseContentType ? (m(), d(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"])) : k("", true), "text/plain" === u2.properties.responseContentType ? (m(), d(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"])) : k("", 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(() => [(m(true), V(b, null, f(v(C), (e2) => (m(), d(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(() => [(m(true), V(b, null, f(v(U), (e2) => (m(), d(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(() => [(m(true), V(b, null, f(v(j), (e2) => (m(), d(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,11 +1,11 @@
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, createElementBlock as t, openBlock as o, createElementVNode as i, normalizeStyle as p, createVNode as r, toDisplayString as l } from "vue";
4
+ import { defineComponent as s, openBlock as t, createElementBlock as o, createElementVNode as i, normalizeStyle as p, createVNode as r, toDisplayString as l } from "vue";
5
5
  import n from "../../../../assets/icon/vardef-v.png.js";
6
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
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)]);
8
+ return t(), o("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
@@ -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, 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 V, unref as b, createTextVNode as k } from "vue";
12
+ import { defineComponent as i, openBlock as p, createBlock as d, withCtx as u, createVNode as c, createElementBlock as y, toDisplayString as w, Fragment as f, renderList as v, unref as V, createCommentVNode as b, 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: $ }) {
@@ -34,14 +34,14 @@ const _ = { key: 0 }, x = { key: 0 }, C = i({ __name: "response-json-setting", p
34
34
  }, q = () => ({ level: 0, code: h(), name: "", paramType: "any", value: "", items: [], $editing: true });
35
35
  return C2({}), (h2, C3) => {
36
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) => {
37
+ return p(), d(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 ? (p(), d($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"])) : (p(), y("span", _, w(e2.row.name), 1))]), _: 1 }), c(z2, { prop: "paramType", width: "100", label: "类型" }, { default: u((e2) => [e2.row.$editing ? (p(), d(R, { key: 1, modelValue: e2.row.paramType, "onUpdate:modelValue": (l2) => e2.row.paramType = l2, onChange: (l2) => {
38
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));
39
39
  var t2, o2;
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))]), _: 1 }, 8, ["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 ? V("", true) : (d(), p(b(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)])]), _: 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) => {
40
+ }, placeholder: "", size: "small" }, { default: u(() => [(p(), y(f, null, v(U, (e3) => c(D, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), y("span", x, w(e2.row.paramType), 1))]), _: 1 }), c(z2, { prop: "value", label: "设置到" }, { default: u((e2) => [e2.row.isArrayElement ? b("", true) : (p(), d(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)])]), _: 1 })]), default: u((e2) => [c(G, { size: "small", style: { "vertical-align": "middle" } }, { dropdown: u(() => [c(F, null, { default: u(() => ["object" === e2.row.paramType ? (p(), d(B, { key: 0, onClick: (l2) => ((e3, l3) => {
41
41
  l3.items || (l3.items = []);
42
42
  const t2 = q();
43
43
  t2.level = l3.level + 1, l3.items.push(t2);
44
- })(e2.$index, e2.row) }, { default: u(() => [...C3[2] || (C3[2] = [k("添加下级节点", -1)])]), _: 1 }, 8, ["onClick"])) : V("", true), e2.row.isArrayElement ? V("", true) : (d(), p(B, { key: 1, onClick: (l2) => {
44
+ })(e2.$index, e2.row) }, { default: u(() => [...C3[2] || (C3[2] = [k("添加下级节点", -1)])]), _: 1 }, 8, ["onClick"])) : b("", true), e2.row.isArrayElement ? b("", true) : (p(), d(B, { key: 1, onClick: (l2) => {
45
45
  return e2.$index, t2 = e2.row, void E(T.modelValue, t2);
46
46
  var t2;
47
47
  } }, { default: u(() => [...C3[3] || (C3[3] = [k("添加相邻节点", -1)])]), _: 1 }, 8, ["onClick"]))]), _: 2 }, 1024)]), default: u(() => [c(S, { type: "primary", link: "", size: "small" }, { default: u(() => [...C3[1] || (C3[1] = [k(" 添加 ", -1)])]), _: 1 })]), _: 2 }, 1024), c(S, { type: "danger", size: "small", disabled: e2.row.isArrayElement, link: "", onClick: (l2) => {
@@ -2,7 +2,7 @@ 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, createBlock as o, openBlock as a, withCtx as s, createVNode as m, unref as p } from "vue";
5
+ import { defineComponent as l, openBlock as o, createBlock 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;
@@ -12,7 +12,7 @@ const u = l({ __name: "response-text-setting", props: { modelValue: { type: Arra
12
12
  };
13
13
  return u2({}), (u3, r2) => {
14
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"]);
15
+ return o(), a(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 {