service-flow-designer 2.3.17-sit4-flow1 → 2.3.18-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 (49) hide show
  1. package/dist/es/designer/common/components/datatable-select.vue.js +1 -1
  2. package/dist/es/designer/common/components/datatable-select.vue2.js +5 -5
  3. package/dist/es/designer/common/components/file-upload.vue2.js +1 -1
  4. package/dist/es/designer/common/components/json-view/json-view.vue.js +1 -1
  5. package/dist/es/designer/common/components/sql-view/sql-view.vue2.js +16 -16
  6. package/dist/es/designer/common/components/value-set-input/value-set-input.vue2.js +3 -3
  7. package/dist/es/designer/desginer-index.vue.js +1 -1
  8. package/dist/es/designer/desginer-index.vue2.js +12 -12
  9. package/dist/es/designer/service-components/base/end-node/index.vue2.js +1 -1
  10. package/dist/es/designer/service-components/base/start-node/index.vue2.js +1 -1
  11. package/dist/es/designer/service-components/computation/sort/config.vue.js +3 -3
  12. package/dist/es/designer/service-components/computation/sort/config.vue2.js +27 -27
  13. package/dist/es/designer/service-components/database/aggregate-query/config.vue2.js +1 -1
  14. package/dist/es/designer/service-components/database/aggregate-query/dimension-statistical.vue.js +1 -1
  15. package/dist/es/designer/service-components/database/aggregate-query/filter-conditions.vue.js +2 -2
  16. package/dist/es/designer/service-components/database/aggregate-query/sort-conditions.vue.js +1 -1
  17. package/dist/es/designer/service-components/database/aggregate-query/statistical-formula.vue.js +1 -1
  18. package/dist/es/designer/service-components/database/dynamic-sql/config.vue2.js +1 -1
  19. package/dist/es/designer/service-components/database/regular-query/config.vue2.js +1 -1
  20. package/dist/es/designer/service-components/index.d.ts +2 -1
  21. package/dist/es/designer/service-components/service/common/cookie-data.vue.js +2 -2
  22. package/dist/es/designer/service-components/service/common/form-data.vue.js +2 -2
  23. package/dist/es/designer/service-components/service/common/header-data.vue.js +2 -2
  24. package/dist/es/designer/service-components/service/common/json-data.vue2.js +2 -2
  25. package/dist/es/designer/service-components/service/common/param-config.vue2.js +1 -1
  26. package/dist/es/designer/service-components/service/common/query-params.vue.js +2 -2
  27. package/dist/es/designer/service-components/service/custom-bean/config.vue2.js +1 -1
  28. package/dist/es/designer/service-components/service/http-service/config.vue2.js +1 -1
  29. package/dist/es/designer/service-components/service/http-service/response-json-setting.vue.js +6 -6
  30. package/dist/es/designer/service-components/service/http-service/response-xml-setting.vue.js +6 -6
  31. package/dist/es/designer/service-flow-view/flow-util.js +7 -4
  32. package/dist/es/designer/service-flow-view/service-node-config.vue2.js +1 -1
  33. package/dist/es/designer/service-flow-view/service-params.vue.js +4 -4
  34. package/dist/es/designer/service-flow-view/service-result.vue.js +4 -4
  35. package/dist/es/designer/service-flow-view/service-test/request-params.vue.js +4 -4
  36. package/dist/es/designer/service-flow-view/service-test/service-test.vue.js +5 -2
  37. package/dist/es/designer/service-flow-view/service-update-log.vue2.js +1 -1
  38. package/dist/es/designer/service-flow-view/view-index.vue.js +1 -1
  39. package/dist/es/designer/service-flow-view/view-index.vue2.js +15 -14
  40. package/dist/es/designer/service-panel/component-panel.vue.d.ts +3 -15
  41. package/dist/es/designer/service-panel/component-panel.vue.js +1 -1
  42. package/dist/es/designer/service-panel/component-panel.vue2.js +10 -16
  43. package/dist/es/designer/service-panel/service-list.vue2.js +10 -10
  44. package/dist/es/designer/service-panel/service-panel.vue.d.ts +0 -9
  45. package/dist/es/designer/service-panel/service-panel.vue.js +1 -1
  46. package/dist/es/designer/service-panel/service-panel.vue2.js +13 -13
  47. package/dist/es/style.css +46 -46
  48. package/dist/es/utils/common-util.js +1 -1
  49. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import e from "./datatable-select.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = t(e, [["__scopeId", "data-v-019dc0fb"]]);
4
+ const a = t(e, [["__scopeId", "data-v-58ec16d3"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -32,7 +32,7 @@ const k = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
32
32
  const l2 = { code: "MMS_MODULE_PAGE", pagination: { currentPage: E.value.currentPage, pageSize: E.value.pageSize, showTotal: true }, searchForm: [], dynamicColumnInfo: [] };
33
33
  I.value.searchCode && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "name", operator: "CONTAIN", dataType: "TEXT", propValue: I.value.searchCode }), I.value.searchName && l2.searchForm.push({ leftBracket: "", rightBracket: "", joinSign: "and", propName: "alias", operator: "CONTAIN", dataType: "TEXT", propValue: I.value.searchName });
34
34
  const a2 = e2.code || P.systemCode;
35
- V.post(window.$vueApp.config.globalProperties.baseAPI + "/component/data-tables/list/" + a2 + "/0/" + e2.publishVersion, l2).then((e3) => {
35
+ V.post(window.$vueApp.config.globalProperties.baseAPI + "/mms/data-tables/list/" + a2 + "/0/" + e2.publishVersion, l2).then((e3) => {
36
36
  U.value = e3.data, E.value.pageSize = e3.size, E.value.total = e3.total;
37
37
  });
38
38
  }
@@ -57,15 +57,15 @@ const k = { class: "dialog-footer" }, T = p({ name: "DatatableSelect", inheritAt
57
57
  e3 && e3.forEach((e4) => {
58
58
  e4.name = e4.name + "(" + e4.publishVersion + ")";
59
59
  });
60
- let l2 = e3.findIndex((e4) => e4.code === P.systemCode);
61
- l2 >= 0 && ($.value = JSON.parse(JSON.stringify(e3[l2])), J($.value)), A.value = e3, O.value = e3;
60
+ const l2 = e3.findIndex((e4) => e4.code === P.systemCode);
61
+ $.value = JSON.parse(JSON.stringify(e3[l2])), A.value = e3, O.value = e3, J($.value);
62
62
  });
63
63
  });
64
64
  return (p3, c2) => {
65
65
  const m2 = o, V2 = t, N2 = s, T3 = n, _2 = a, P2 = u, O2 = r, B2 = i, X2 = l, G = e;
66
- return v(), d(G, { "append-to-body": "", "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": c2[7] || (c2[7] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": q }, { footer: f(() => [z("div", k, [g(T3, { type: "default", size: "small", onClick: c2[6] || (c2[6] = (e2) => x.value = false) }, { default: f(() => c2[9] || (c2[9] = [w("返回")])), _: 1 }), g(T3, { size: "small", type: "primary", onClick: R }, { default: f(() => c2[10] || (c2[10] = [w(" 确定 ")])), _: 1 })])]), default: f(() => [g(X2, { style: { height: "400px" } }, { default: f(() => [g(_2, { style: { padding: "0", height: "50px" } }, { default: f(() => [g(V2, { modelValue: $.value.code, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => $.value.code = e2), onChange: D, "filter-method": M, "value-key": "code", size: "small", filterable: "", style: { width: "240px" } }, { default: f(() => [(v(true), h(y, null, b(A.value, (e2) => (v(), d(m2, { key: e2.code, label: e2.name, value: e2.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), g(N2, { size: "small", clearable: "", modelValue: I.value.searchCode, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => I.value.searchCode = e2), placeholder: "编码", style: { width: "100px" } }, null, 8, ["modelValue"]), g(N2, { size: "small", clearable: "", modelValue: I.value.searchName, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => I.value.searchName = e2), placeholder: "名称", style: { width: "100px" } }, null, 8, ["modelValue"]), g(T3, { type: "primary", size: "small", icon: C(S), onClick: c2[3] || (c2[3] = (e2) => {
66
+ return v(), d(G, { "append-to-body": "", "destroy-on-close": "", modelValue: x.value, "onUpdate:modelValue": c2[7] || (c2[7] = (e2) => x.value = e2), title: "选择数据表", width: "60%", "before-close": q }, { footer: f(() => [z("div", k, [g(T3, { type: "default", size: "small", onClick: c2[6] || (c2[6] = (e2) => x.value = false) }, { default: f(() => [...c2[9] || (c2[9] = [w("返回", -1)])]), _: 1 }), g(T3, { size: "small", type: "primary", onClick: R }, { default: f(() => [...c2[10] || (c2[10] = [w(" 确定 ", -1)])]), _: 1 })])]), default: f(() => [g(X2, { style: { height: "400px" } }, { default: f(() => [g(_2, { style: { padding: "0", height: "50px" } }, { default: f(() => [g(V2, { modelValue: $.value.code, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => $.value.code = e2), onChange: D, "filter-method": M, "value-key": "code", size: "small", filterable: "", style: { width: "240px" } }, { default: f(() => [(v(true), h(y, null, b(A.value, (e2) => (v(), d(m2, { key: e2.code, label: e2.name, value: e2.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), g(N2, { size: "small", clearable: "", modelValue: I.value.searchCode, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => I.value.searchCode = e2), placeholder: "编码", style: { width: "100px" } }, null, 8, ["modelValue"]), g(N2, { size: "small", clearable: "", modelValue: I.value.searchName, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => I.value.searchName = e2), placeholder: "名称", style: { width: "100px" } }, null, 8, ["modelValue"]), g(T3, { type: "primary", size: "small", icon: C(S), onClick: c2[3] || (c2[3] = (e2) => {
67
67
  J($.value);
68
- }) }, { default: f(() => c2[8] || (c2[8] = [w("查询")])), _: 1 }, 8, ["icon"])]), _: 1 }), g(O2, { ref_key: "tableRef", ref: L, "current-row-key": "code", "row-key": "code", onRowClick: j, data: U.value, "highlight-current-row": "", style: { width: "100%" } }, { default: f(() => [g(P2, { type: "index", width: "50" }), g(P2, { prop: "name", label: "编码" }), g(P2, { prop: "alias", label: "名称" }), g(P2, { prop: "modifierName", label: "修改人" }), g(P2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
68
+ }) }, { default: f(() => [...c2[8] || (c2[8] = [w("查询", -1)])]), _: 1 }, 8, ["icon"])]), _: 1 }), g(O2, { ref_key: "tableRef", ref: L, "current-row-key": "code", "row-key": "code", onRowClick: j, data: U.value, "highlight-current-row": "", style: { width: "100%" } }, { default: f(() => [g(P2, { type: "index", width: "50" }), g(P2, { prop: "name", label: "编码" }), g(P2, { prop: "alias", label: "名称" }), g(P2, { prop: "modifierName", label: "修改人" }), g(P2, { prop: "modifiedTime", formatter: (e2) => ((e3) => {
69
69
  let l2 = new Date(e3);
70
70
  return `${l2.getFullYear()}-${("0" + (l2.getMonth() + 1)).slice(-2)}-${("0" + l2.getDate()).slice(-2)} ${("0" + l2.getHours()).slice(-2)}:${("0" + l2.getMinutes()).slice(-2)}:${("0" + l2.getSeconds()).slice(-2)}`;
71
71
  })(e2.modifiedTime), label: "修改时间" }, null, 8, ["formatter"])]), _: 1 }, 8, ["data"]), g(B2, { "current-page": E.value.currentPage, "onUpdate:currentPage": c2[4] || (c2[4] = (e2) => E.value.currentPage = e2), "page-size": E.value.pageSize, "onUpdate:pageSize": c2[5] || (c2[5] = (e2) => E.value.pageSize = e2), "page-sizes": [20, 30, 50, 100], small: "", background: "", layout: "total, sizes, prev, pager, next, jumper", total: E.value.total, onSizeChange: F, onCurrentChange: F }, null, 8, ["current-page", "page-size", "total"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
@@ -25,7 +25,7 @@ const V = t({ __name: "file-upload", props: { modelValue: { type: Object, defaul
25
25
  };
26
26
  return V2({}), (t3, s2) => {
27
27
  const d2 = o, c2 = l, f2 = e;
28
- return a(), u(f2, { ref_key: "upload", ref: _, name: "file", data: { systemCode: g.value, isExport: true }, "auto-upload": true, action: U, headers: x, limit: 1, "on-change": A, "on-exceed": P, "on-remove": C, "on-success": w, "file-list": j.value }, { default: m(() => [n(c2, { type: "default" }, { default: m(() => [s2[0] || (s2[0] = i(" 上传附件")), n(d2, { class: "el-icon--right" }, { default: m(() => [n(p(r))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data", "file-list"]);
28
+ return a(), u(f2, { ref_key: "upload", ref: _, name: "file", data: { systemCode: g.value, isExport: true }, "auto-upload": true, action: U, headers: x, limit: 1, "on-change": A, "on-exceed": P, "on-remove": C, "on-success": w, "file-list": j.value }, { default: m(() => [n(c2, { type: "default" }, { default: m(() => [s2[0] || (s2[0] = i(" 上传附件", -1)), n(d2, { class: "el-icon--right" }, { default: m(() => [n(p(r))]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["data", "file-list"]);
29
29
  };
30
30
  } });
31
31
  export {
@@ -12,7 +12,7 @@ const w = e({ name: "JsonView", inheritAttrs: false, __name: "json-view", props:
12
12
  if (w2.height) x.value = w2.height + "px";
13
13
  else if (b.value) {
14
14
  const e4 = b.value.getBoundingClientRect();
15
- (e4.y || 0 === e4.y) && (x.value = window.innerHeight - e4.y - 100 + "px");
15
+ (e4.y || 0 === e4.y) && (window.innerHeight, e4.y, x.value = window.innerHeight - e4.y - 100 + "px");
16
16
  }
17
17
  const t2 = function(e4) {
18
18
  const t3 = function() {
@@ -1,32 +1,32 @@
1
- import { defineComponent as e, ref as t, onMounted as o, nextTick as n, watch as i, createElementBlock as r, openBlock as l } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as n, nextTick as i, watch as o, createElementBlock as r, openBlock as l } from "vue";
2
2
  import { EditorView as u, basicSetup as m } from "codemirror";
3
3
  import { sql as s } from "@codemirror/lang-sql";
4
4
  import { Facet as a, EditorState as c } from "@codemirror/state";
5
5
  const f = e({ name: "SqlView", inheritAttrs: false, __name: "sql-view", props: { sql: { type: String, default: null }, height: { type: Number, default: 0 }, theme: { type: String, default: null } }, setup(e2) {
6
- const f2 = e2, d = t(null), p = t(), h = t("400px");
7
- function v() {
8
- if (d.value && d.value.destroy(), f2.height) h.value = f2.height + "px";
9
- else if (p.value) {
10
- const e4 = p.value.getBoundingClientRect();
11
- (e4.y || 0 === e4.y) && (h.value = window.innerHeight - e4.y - 100 + "px");
6
+ const f2 = e2, d = t(null), h = t(), p = t("400px");
7
+ function g() {
8
+ if (d.value && d.value.destroy(), f2.height) p.value = f2.height + "px";
9
+ else if (h.value) {
10
+ const e4 = h.value.getBoundingClientRect();
11
+ (e4.y || 0 === e4.y) && (window.innerHeight, e4.y, p.value = window.innerHeight - e4.y - 100 + "px");
12
12
  }
13
13
  const e3 = function() {
14
- const e4 = u.theme({}), t3 = u.theme({ ".cm-content, .cm-gutter": { minHeight: h.value }, "&": { height: h.value, maxHeight: h.value, fontSize: "12px" } });
15
- return c.create({ doc: f2.sql, extensions: [c.tabSize.of(16), m, s(), e4, t3, g.of(true), u.updateListener.of(function(e5) {
14
+ const e4 = u.theme({}), t3 = u.theme({ ".cm-content, .cm-gutter": { minHeight: p.value }, "&": { height: p.value, maxHeight: p.value, fontSize: "12px" } });
15
+ return c.create({ doc: f2.sql, extensions: [c.tabSize.of(16), m, s(), e4, t3, v.of(true), u.updateListener.of(function(e5) {
16
16
  })] });
17
17
  }();
18
18
  let t2 = document.getElementById("cf-codemirror-view-json");
19
19
  t2 && (d.value = new u({ state: e3, parent: t2 }));
20
20
  }
21
- o(() => {
22
- n(() => {
23
- v();
21
+ n(() => {
22
+ i(() => {
23
+ g();
24
24
  });
25
- }), i(() => f2.sql, () => {
26
- v();
25
+ }), o(() => f2.sql, () => {
26
+ g();
27
27
  });
28
- const g = a.define({ combine: (e3) => e3.some((e4) => e4) });
29
- return (e3, t2) => (l(), r("div", { style: { width: "100%" }, ref_key: "cfCodemirrorJsonViewRef", ref: p, id: "cf-codemirror-view-json" }, null, 512));
28
+ const v = a.define({ combine: (e3) => e3.some((e4) => e4) });
29
+ return (e3, t2) => (l(), r("div", { style: { width: "100%" }, ref_key: "cfCodemirrorJsonViewRef", ref: h, id: "cf-codemirror-view-json" }, null, 512));
30
30
  } });
31
31
  export {
32
32
  f as default
@@ -87,7 +87,7 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
87
87
  const l2 = { code: L(), level: 1, name: re.value, alias: re.value, type: X.autoCreateFieldType ? X.autoCreateFieldType : "string", defaultValue: "", items: [] };
88
88
  "array" == l2.type && l2.items.push({ level: l2.level + 1, code: L(), name: "items", isArrayElement: true, alias: "", type: "object", defaultValue: "", items: [] }), Q.currentService.variables || (Q.currentService.variables = []), Q.currentService.variables.push(l2), ne.value.serviceVarOptions = Q.getServiceVarOptions(), Ve(se.value), ie.value = re.value, Z.value = "${" + se.value + "." + re.value + "}", W("update:modelValue", Z.value), pe.value.hide();
89
89
  }
90
- !se.value && ee.value.length > 0 && (se.value = ee.value[0].value, he(se.value));
90
+ !se.value && ee.value.length > 0 && (se.value = ee.value[0].value, he(se.value), se.value);
91
91
  const xe = v();
92
92
  const be = () => {
93
93
  ce(), me(), se.value && Ve(se.value), _(() => {
@@ -117,13 +117,13 @@ const B = { key: 0 }, K = { style: { "margin-top": "10px", "font-size": "10px",
117
117
  }
118
118
  return J2({ setSelectOptions: me }), (v2, c2) => {
119
119
  const _2 = i, L2 = s, T2 = t, A2 = a, F2 = u, $2 = o, M2 = r, R2 = n, J3 = l, N2 = e;
120
- return p2.showLabel ? (f(), d("span", B, y(te.value), 1)) : (f(), m(N2, { key: 1, ref_key: "popoverRef", ref: pe, trigger: "click", width: 450 }, { reference: h(() => [V(L2, { style: g({ width: p2.width ? p2.width : "" }), readonly: "", size: p2.inputSize, onClick: be, formatter: ye, class: "input-with-select", "prefix-icon": b(q), modelValue: Z.value, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => Z.value = e2), placeholder: p2.placeholder }, { append: h(() => [V(_2, { type: "default", size: p2.inputSize, icon: b(I), onClick: S(ke, ["stop"]) }, null, 8, ["size", "icon"])]), _: 1 }, 8, ["style", "size", "prefix-icon", "modelValue", "placeholder"])]), default: h(() => [V(J3, null, { default: h(() => [V(A2, { span: 8 }, { default: h(() => [V(T2, { modelValue: se.value, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => se.value = e2), onChange: he, props: { emitPath: false }, size: "small", style: g({ width: "fit-content", height: Y.value + "px", overflow: "auto" }), options: ee.value }, null, 8, ["modelValue", "style", "options"])]), _: 1 }), se.value ? "input" === le.value ? (f(), m(A2, { key: 1, span: 16 }, { default: h(() => [V(L2, { style: { width: "88%" }, size: "small", modelValue: ie.value, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => ie.value = e2), placeholder: "请手动输入" }, null, 8, ["modelValue"]), V(_2, { style: { float: "right" }, onClick: ge, size: "small", type: "primary", icon: b(U), circle: "" }, null, 8, ["icon"]), w("div", K, [V($2, null, { default: h(() => [V(b(j))]), _: 1 }), c2[5] || (c2[5] = w("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), x(w("div", { style: g({ fontSize: "10px", lineHeight: "30px", height: Y.value - 50 + "px", overflow: "auto" }) }, [c2[6] || (c2[6] = k(" 可用参数: ")), (f(true), d(z, null, C(ue.value, (e2) => (f(), m(_2, { type: "primary", size: "small", onClick: (l2) => {
120
+ return p2.showLabel ? (f(), d("span", B, y(te.value), 1)) : (f(), m(N2, { key: 1, ref_key: "popoverRef", ref: pe, trigger: "click", width: 450 }, { reference: h(() => [V(L2, { style: g({ width: p2.width ? p2.width : "" }), readonly: "", size: p2.inputSize, onClick: be, formatter: ye, class: "input-with-select", "prefix-icon": b(q), modelValue: Z.value, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => Z.value = e2), placeholder: p2.placeholder }, { append: h(() => [V(_2, { type: "default", size: p2.inputSize, icon: b(I), onClick: S(ke, ["stop"]) }, null, 8, ["size", "icon"])]), _: 1 }, 8, ["style", "size", "prefix-icon", "modelValue", "placeholder"])]), default: h(() => [V(J3, null, { default: h(() => [V(A2, { span: 8 }, { default: h(() => [V(T2, { modelValue: se.value, "onUpdate:modelValue": c2[1] || (c2[1] = (e2) => se.value = e2), onChange: he, props: { emitPath: false }, size: "small", style: g({ width: "fit-content", height: Y.value + "px", overflow: "auto" }), options: ee.value }, null, 8, ["modelValue", "style", "options"])]), _: 1 }), se.value ? "input" === le.value ? (f(), m(A2, { key: 1, span: 16 }, { default: h(() => [V(L2, { style: { width: "88%" }, size: "small", modelValue: ie.value, "onUpdate:modelValue": c2[2] || (c2[2] = (e2) => ie.value = e2), placeholder: "请手动输入" }, null, 8, ["modelValue"]), V(_2, { style: { float: "right" }, onClick: ge, size: "small", type: "primary", icon: b(U), circle: "" }, null, 8, ["icon"]), w("div", K, [V($2, null, { default: h(() => [V(b(j))]), _: 1 }), c2[5] || (c2[5] = w("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), x(w("div", { style: g({ fontSize: "10px", lineHeight: "30px", height: Y.value - 50 + "px", overflow: "auto" }) }, [c2[6] || (c2[6] = k(" 可用参数: ", -1)), (f(true), d(z, null, C(ue.value, (e2) => (f(), m(_2, { type: "primary", size: "small", onClick: (l2) => {
121
121
  return a2 = e2.value, ie.value = a2, void ge();
122
122
  var a2;
123
123
  } }, { default: h(() => [k(y(e2.label), 1)]), _: 2 }, 1032, ["onClick"]))), 256))], 4), [[O, "request" == se.value]])]), _: 1 })) : "file" === le.value ? (f(), m(A2, { key: 2, span: 16 }, { default: h(() => [V(E, { modelValue: ae.value, "onUpdate:modelValue": c2[3] || (c2[3] = (e2) => ae.value = e2), onOnSuccess: ze }, null, 8, ["modelValue"])]), _: 1 })) : (f(), m(A2, { key: 3, span: 16 }, { default: h(() => [w("div", H, [w("div", P, [V(L2, { size: "small", modelValue: re.value, "onUpdate:modelValue": c2[4] || (c2[4] = (e2) => re.value = e2), placeholder: "搜索", "suffix-icon": b(q), style: { width: "90%" } }, null, 8, ["modelValue", "suffix-icon"]), x(V(_2, { style: { float: "right" }, onClick: we, size: "small", type: "primary", icon: b(U), circle: "" }, null, 8, ["icon"]), [[O, "service" == se.value]]), x(w("div", D, [V($2, null, { default: h(() => [V(b(j))]), _: 1 }), c2[7] || (c2[7] = w("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))], 512), [[O, "service" == se.value]])]), V(R2, { ref_key: "tableRef", ref: xe, height: Y.value - 80, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: de.value, class: "flex-table" }, { default: h(() => [V(M2, { fixed: true, width: "service" === se.value ? "" : 70 }, { default: h((e2) => [V(_2, { type: "default", size: "small", onClick: (l2) => {
124
124
  return a2 = e2.row, ie.value = a2.value, Z.value = "${" + se.value + "." + a2.value + "}", W("update:modelValue", Z.value), void pe.value.hide();
125
125
  var a2;
126
- } }, { default: h(() => c2[8] || (c2[8] = [k(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["width"]), V(M2, { prop: "label" })]), _: 1 }, 8, ["height", "data"]), w("div", G, "总计:" + y(de.value.length), 1)])]), _: 1 })) : (f(), m(A2, { key: 0, span: 16 }, { default: h(() => [V(F2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
126
+ } }, { default: h(() => [...c2[8] || (c2[8] = [k(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }, 8, ["width"]), V(M2, { prop: "label" })]), _: 1 }, 8, ["height", "data"]), w("div", G, "总计:" + y(de.value.length), 1)])]), _: 1 })) : (f(), m(A2, { key: 0, span: 16 }, { default: h(() => [V(F2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
127
127
  };
128
128
  } });
129
129
  export {
@@ -1,7 +1,7 @@
1
1
  import e from "./desginer-index.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const i = r(e, [["__scopeId", "data-v-e6f540c4"]]);
4
+ const i = r(e, [["__scopeId", "data-v-4df7b9e3"]]);
5
5
  export {
6
6
  i as default
7
7
  };
@@ -3,33 +3,33 @@ import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/container/style/css";
4
4
  import "element-plus/es/components/main/style/css";
5
5
  import "element-plus/es/components/aside/style/css";
6
- import { defineComponent as n, ref as s, onMounted as a, createBlock as l, openBlock as r, withCtx as i, createVNode as c, normalizeStyle as p } from "vue";
6
+ import { defineComponent as s, ref as n, onMounted as l, createBlock as a, openBlock as r, withCtx as i, createVNode as c, normalizeStyle as p } from "vue";
7
7
  import u from "./service-panel/service-panel.vue.js";
8
8
  import m from "./service-flow-view/view-index.vue.js";
9
9
  import "./service-components/index.js";
10
10
  import { useServiceFlowStore as v } from "../stores/page-store.js";
11
11
  import g from "agilebuilder-ui/src/utils/request";
12
- const d = n({ __name: "desginer-index", props: { pageContext: { type: Object, default: () => ({}) } }, setup(n2) {
13
- const d2 = n2, f = s([]);
12
+ const d = s({ __name: "desginer-index", props: { pageContext: { type: Object, default: () => ({}) } }, setup(s2) {
13
+ const d2 = s2, f = n([]);
14
14
  v().setPageContext(d2.pageContext);
15
- const w = s(null), C = s(), x = () => {
15
+ const w = n(null), y = n(), C = () => {
16
16
  g.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow/tree/" + d2.pageContext.systemCode + "/" + d2.pageContext.systemVersion).then((e2) => {
17
17
  e2 && (f.value = e2.children);
18
18
  });
19
19
  };
20
- a(() => {
21
- x();
20
+ l(() => {
21
+ C();
22
22
  });
23
- const y = (e2) => {
24
- C.value.onDragNode(e2);
23
+ const x = (e2) => {
24
+ y.value.onDragNode(e2);
25
25
  }, F = (e2) => {
26
- C.value.onServiceClick(e2);
26
+ y.value.onServiceClick(e2);
27
27
  }, D = () => {
28
- C.value.clearFlowCanvas(), w.value = null;
28
+ y.value.clearFlowCanvas(), w.value = null;
29
29
  };
30
- return (s2, a2) => {
30
+ return (n2, l2) => {
31
31
  const v2 = t, g2 = o, d3 = e;
32
- return r(), l(d3, { class: "amb-container" }, { default: i(() => [c(v2, { class: "serviceflow-container-left" }, { default: i(() => [c(u, { logicFlowInstance: w.value, "onUpdate:logicFlowInstance": a2[0] || (a2[0] = (e2) => w.value = e2), serviceTreeData: f.value, pageContext: n2.pageContext, onServiceClick: F, onClearFlowCanvas: D, onLoadTreeData: x, onDragNode: y, style: p(s2.containerHeightStyle) }, null, 8, ["logicFlowInstance", "serviceTreeData", "pageContext", "style"])]), _: 1 }), c(g2, { class: "serviceflow-container-main", style: p(s2.containerHeightStyle) }, { default: i(() => [c(m, { logicFlowInstance: w.value, "onUpdate:logicFlowInstance": a2[1] || (a2[1] = (e2) => w.value = e2), serviceTreeData: f.value, pageContext: n2.pageContext, onLoadTreeData: x, ref_key: "serviceFlowViewRef", ref: C }, null, 8, ["logicFlowInstance", "serviceTreeData", "pageContext"])]), _: 1 }, 8, ["style"])]), _: 1 });
32
+ return r(), a(d3, { class: "amb-container" }, { default: i(() => [c(v2, { class: "serviceflow-container-left" }, { default: i(() => [c(u, { logicFlowInstance: w.value, "onUpdate:logicFlowInstance": l2[0] || (l2[0] = (e2) => w.value = e2), serviceTreeData: f.value, onServiceClick: F, onClearFlowCanvas: D, onLoadTreeData: C, onDragNode: x, style: p(n2.containerHeightStyle) }, null, 8, ["logicFlowInstance", "serviceTreeData", "style"])]), _: 1 }), c(g2, { class: "serviceflow-container-main", style: p(n2.containerHeightStyle) }, { default: i(() => [c(m, { logicFlowInstance: w.value, "onUpdate:logicFlowInstance": l2[1] || (l2[1] = (e2) => w.value = e2), serviceTreeData: f.value, pageContext: s2.pageContext, onLoadTreeData: C, ref_key: "serviceFlowViewRef", ref: y }, null, 8, ["logicFlowInstance", "serviceTreeData", "pageContext"])]), _: 1 }, 8, ["style"])]), _: 1 });
33
33
  };
34
34
  } });
35
35
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, createElementBlock as s, openBlock as t, createElementVNode as p } from "vue";
2
2
  import i from "../../../../assets/icon/end.svg.js";
3
- const n = { style: { padding: "10px" } }, d = e({ __name: "index", props: { graphModel: Object, properties: Object }, setup: (e2) => (e3, d2) => (t(), s("div", n, d2[0] || (d2[0] = [p("div", { class: "node-content" }, [p("div", { style: { padding: "8px 27px", display: "flex", "align-items": "center" } }, [p("img", { src: i, style: { height: "28px" } }), p("span", { class: "content" }, "结束")])], -1)]))) });
3
+ const n = { style: { padding: "10px" } }, d = e({ __name: "index", props: { graphModel: Object, properties: Object }, setup: (e2) => (e3, d2) => (t(), s("div", n, [...d2[0] || (d2[0] = [p("div", { class: "node-content" }, [p("div", { style: { padding: "8px 27px", display: "flex", "align-items": "center" } }, [p("img", { src: i, style: { height: "28px" } }), p("span", { class: "content" }, "结束")])], -1)])])) });
4
4
  export {
5
5
  d as default
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, createElementBlock as t, openBlock as s, createElementVNode as p } from "vue";
2
2
  import i from "../../../../assets/icon/start.png.js";
3
- const n = { style: { padding: "10px" } }, a = e({ __name: "index", props: { graphModel: Object, properties: Object }, setup: (e2) => (e3, a2) => (s(), t("div", n, a2[0] || (a2[0] = [p("div", { class: "node-content" }, [p("div", { style: { padding: "8px 27px", display: "flex", "align-items": "center" } }, [p("img", { src: i, style: { height: "28px" } }), p("span", { class: "content" }, "开始")])], -1)]))) });
3
+ const n = { style: { padding: "10px" } }, a = e({ __name: "index", props: { graphModel: Object, properties: Object }, setup: (e2) => (e3, a2) => (s(), t("div", n, [...a2[0] || (a2[0] = [p("div", { class: "node-content" }, [p("div", { style: { padding: "8px 27px", display: "flex", "align-items": "center" } }, [p("img", { src: i, style: { height: "28px" } }), p("span", { class: "content" }, "开始")])], -1)])])) });
4
4
  export {
5
5
  a as default
6
6
  };
@@ -1,7 +1,7 @@
1
- import e from "./config.vue2.js";
1
+ import o from "./config.vue2.js";
2
2
  /* empty css */
3
- import o from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-e27c4c1e"]]);
3
+ import e from "../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const r = e(o, [["__scopeId", "data-v-73238421"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { ElForm as e, ElDivider as l, ElFormItem as t, ElSelect as s, ElOption as a, ElAlert as o, ElButton as r, ElTable as n, ElTableColumn as i, ElTooltip as p } from "element-plus/es";
1
+ import { ElForm as e, ElDivider as l, ElFormItem as t, ElSelect as a, ElOption as s, ElAlert as o, ElButton as r, ElTable as n, ElTableColumn as i, ElTooltip as p } from "element-plus/es";
2
2
  import "element-plus/es/components/base/style/css";
3
3
  import "element-plus/es/components/form/style/css";
4
4
  import "element-plus/es/components/table/style/css";
@@ -10,48 +10,48 @@ import "element-plus/es/components/form-item/style/css";
10
10
  import "element-plus/es/components/select/style/css";
11
11
  import "element-plus/es/components/option/style/css";
12
12
  import "element-plus/es/components/divider/style/css";
13
- import { defineComponent as m, ref as u, onMounted as c, createBlock as d, openBlock as f, withCtx as v, createVNode as y, createElementBlock as b, Fragment as h, renderList as k, createTextVNode as g, createElementVNode as _, createCommentVNode as w, toDisplayString as x, unref as V } from "vue";
13
+ import { defineComponent as m, ref as u, onMounted as c, createBlock as d, openBlock as f, withCtx as v, createVNode as y, createElementBlock as b, Fragment as h, renderList as k, createTextVNode as g, createElementVNode as w, createCommentVNode as _, toDisplayString as x, unref as V } from "vue";
14
14
  import { Minus as O, Plus as S } from "@element-plus/icons-vue";
15
15
  import z from "../../../common/components/node-base-config.vue.js";
16
- const C = { style: { position: "absolute", right: "10px" } }, E = { key: 0 }, $ = { key: 0 }, U = m({ __name: "config", props: { properties: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(m2, { expose: U2 }) {
17
- const j = m2;
16
+ const C = { style: { position: "absolute", right: "10px" } }, $ = { key: 0 }, E = { key: 1 }, U = { key: 0 }, j = m({ __name: "config", props: { properties: { type: Object, default: () => ({}) }, service: { type: Object, default: () => ({}) } }, setup(m2, { expose: j2 }) {
17
+ const D = m2;
18
18
  u([]);
19
- const D = u([]), R = u([]), q = u([]);
19
+ const R = u([]), q = u([]), A = u([]);
20
20
  c(() => {
21
- j.service.variables && (j.service.variables.forEach((e2) => {
22
- "array" === e2.type && D.value.push(e2), "array" === e2.type && e2.items[0] && "object" !== e2.items[0].type && q.value.push(e2.name);
23
- }), B(j.properties.dataSource));
21
+ D.service.variables && (D.service.variables.forEach((e2) => {
22
+ "array" === e2.type && R.value.push(e2), "array" === e2.type && e2.items[0] && "object" !== e2.items[0].type && A.value.push(e2.name);
23
+ }), F(D.properties.dataSource));
24
24
  });
25
- const A = (e2) => {
26
- R.value = [], q.value.indexOf(e2) > -1 ? j.properties.sorts && 1 === j.properties.sorts.length && "item" === j.properties.sorts[0].name || (j.properties.sorts = [{ $editing: true, alias: "item", name: "item", order: "asc" }]) : j.service.variables.forEach((l2) => {
25
+ const B = (e2) => {
26
+ q.value = [], A.value.indexOf(e2) > -1 ? D.properties.sorts && 1 === D.properties.sorts.length && "item" === D.properties.sorts[0].name || (D.properties.sorts = [{ $editing: true, alias: "item", name: "item", order: "asc" }]) : D.service.variables.forEach((l2) => {
27
27
  l2.name === e2 && l2.items && l2.items.length > 0 && l2.items[0].items.forEach((e3) => {
28
- R.value.push({ name: e3.name, alias: e3.alias });
28
+ q.value.push({ name: e3.name, alias: e3.alias });
29
29
  });
30
30
  });
31
- }, B = (e2) => {
32
- R.value = [], j.service.variables.forEach((l2) => {
31
+ }, F = (e2) => {
32
+ q.value = [], D.service.variables.forEach((l2) => {
33
33
  l2.name === e2 && l2.items && l2.items.length > 0 && l2.items[0].items.forEach((e3) => {
34
- R.value.push({ name: e3.name, alias: e3.alias });
34
+ q.value.push({ name: e3.name, alias: e3.alias });
35
35
  });
36
36
  });
37
- }, F = (e2, l2, t2) => {
37
+ }, G = (e2, l2, t2) => {
38
38
  e2.$editing = true;
39
- }, G = () => {
40
- j.properties.sorts || (j.properties.sorts = []), q.value.indexOf(j.properties.dataSource) > -1 ? j.properties.sorts.push({ $editing: true, alias: "item", name: "item", order: "asc" }) : j.properties.sorts.push({ $editing: true, name: "", order: "asc" });
39
+ }, H = () => {
40
+ D.properties.sorts || (D.properties.sorts = []), A.value.indexOf(D.properties.dataSource) > -1 ? D.properties.sorts.push({ $editing: true, alias: "item", name: "item", order: "asc" }) : D.properties.sorts.push({ $editing: true, name: "", order: "asc" });
41
41
  };
42
- return U2({}), (u2, c2) => {
43
- const U3 = l, B2 = a, H = s, I = t, J = r, K = o, L = i, M = p, N = n, P = e;
44
- return f(), d(P, { "label-width": "auto", "label-position": "left" }, { default: v(() => [y(z, { properties: m2.properties }, null, 8, ["properties"]), y(U3), y(I, { label: "数据源:" }, { default: v(() => [y(H, { modelValue: m2.properties.dataSource, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => m2.properties.dataSource = e2), "value-key": "name", onChange: A }, { default: v(() => [(f(true), b(h, null, k(D.value, (e2) => (f(), d(B2, { key: e2.code, label: e2.name, value: e2.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(K, { type: "info", size: "small", closable: false }, { title: v(() => [c2[3] || (c2[3] = g(" 排序条件 ")), _("span", C, [-1 === q.value.indexOf(m2.properties.dataSource) ? (f(), d(J, { key: 0, size: "small", type: "primary", onClick: G }, { default: v(() => c2[2] || (c2[2] = [g("添加")])), _: 1 })) : w("", true)])]), _: 1 }), y(N, { data: m2.properties.sorts, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: F, size: "small", border: "", "default-expand-all": "" }, { default: v(() => [y(L, { type: "index", width: "50", label: "序号" }), y(L, { prop: "name", label: "字段名" }, { default: v((e2) => [q.value.indexOf(m2.properties.dataSource) > -1 ? (f(), b("span", E, "item")) : (f(), d(H, { key: 2, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, onChange: (l2) => {
45
- return t2 = l2, (s2 = e2.row).alias = "", void R.value.forEach((e3) => {
46
- e3.name === t2 && (s2.alias = e3.alias);
42
+ return j2({}), (u2, c2) => {
43
+ const j3 = l, F2 = s, I = a, J = t, K = r, L = o, M = i, N = p, P = n, Q = e;
44
+ return f(), d(Q, { "label-width": "auto", "label-position": "left" }, { default: v(() => [y(z, { properties: m2.properties }, null, 8, ["properties"]), y(j3), y(J, { label: "数据源:" }, { default: v(() => [y(I, { modelValue: m2.properties.dataSource, "onUpdate:modelValue": c2[0] || (c2[0] = (e2) => m2.properties.dataSource = e2), "value-key": "name", onChange: B }, { default: v(() => [(f(true), b(h, null, k(R.value, (e2) => (f(), d(F2, { key: e2.code, label: e2.name, value: e2.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(L, { type: "info", size: "small", closable: false }, { title: v(() => [c2[3] || (c2[3] = g(" 排序条件 ", -1)), w("span", C, [-1 === A.value.indexOf(m2.properties.dataSource) ? (f(), d(K, { key: 0, size: "small", type: "primary", onClick: H }, { default: v(() => [...c2[2] || (c2[2] = [g("添加", -1)])]), _: 1 })) : _("", true)])]), _: 1 }), y(P, { data: m2.properties.sorts, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: G, size: "small", border: "", "default-expand-all": "" }, { default: v(() => [y(M, { type: "index", width: "50", label: "序号" }), y(M, { prop: "name", label: "字段名" }, { default: v((e2) => [A.value.indexOf(m2.properties.dataSource) > -1 ? (f(), b("span", $, "item")) : e2.row.$editing ? (f(), d(I, { key: 2, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, onChange: (l2) => {
45
+ return t2 = l2, (a2 = e2.row).alias = "", void q.value.forEach((e3) => {
46
+ e3.name === t2 && (a2.alias = e3.alias);
47
47
  });
48
- var t2, s2;
49
- }, "value-key": "name", size: "small" }, { default: v(() => [(f(true), b(h, null, k(R.value, (e3) => (f(), d(B2, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 }), y(L, { prop: "order", label: "排序方式" }, { default: v((e2) => [e2.row.$editing ? (f(), d(H, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: v(() => [y(B2, { label: "升序", value: "asc" }), y(B2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (f(), b("span", $, x(e2.row.order), 1))]), _: 1 }), y(L, { align: "right" }, { header: v(() => [y(M, { effect: "dark", content: "添加", placement: "top" }, { default: v(() => [-1 === q.value.indexOf(m2.properties.dataSource) ? (f(), d(J, { key: 0, type: "primary", size: "small", icon: V(S), circle: "", onClick: c2[1] || (c2[1] = (e2) => G()) }, null, 8, ["icon"])) : w("", true)]), _: 1 })]), default: v((e2) => [_("span", null, [y(M, { effect: "dark", content: "删除", placement: "top" }, { default: v(() => [-1 === q.value.indexOf(m2.properties.dataSource) ? (f(), d(J, { key: 0, type: "danger", size: "small", icon: V(O), circle: "", onClick: (l2) => {
50
- return t2 = e2.$index, e2.row, void j.properties.sorts.splice(t2, 1);
48
+ var t2, a2;
49
+ }, "value-key": "name", size: "small" }, { default: v(() => [(f(true), b(h, null, k(q.value, (e3) => (f(), d(F2, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (f(), b("span", E, x(e2.row.alias), 1))]), _: 1 }), y(M, { prop: "order", label: "排序方式" }, { default: v((e2) => [e2.row.$editing ? (f(), d(I, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: v(() => [y(F2, { label: "升序", value: "asc" }), y(F2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (f(), b("span", U, x(e2.row.order), 1))]), _: 1 }), y(M, { align: "right" }, { header: v(() => [y(N, { effect: "dark", content: "添加", placement: "top" }, { default: v(() => [-1 === A.value.indexOf(m2.properties.dataSource) ? (f(), d(K, { key: 0, type: "primary", size: "small", icon: V(S), circle: "", onClick: c2[1] || (c2[1] = (e2) => H()) }, null, 8, ["icon"])) : _("", true)]), _: 1 })]), default: v((e2) => [w("span", null, [y(N, { effect: "dark", content: "删除", placement: "top" }, { default: v(() => [-1 === A.value.indexOf(m2.properties.dataSource) ? (f(), d(K, { key: 0, type: "danger", size: "small", icon: V(O), circle: "", onClick: (l2) => {
50
+ return t2 = e2.$index, e2.row, void D.properties.sorts.splice(t2, 1);
51
51
  var t2;
52
- } }, null, 8, ["icon", "onClick"])) : w("", true)]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 });
52
+ } }, null, 8, ["icon", "onClick"])) : _("", true)]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 });
53
53
  };
54
54
  } });
55
55
  export {
56
- U as default
56
+ j as default
57
57
  };
@@ -92,7 +92,7 @@ const D = { style: { position: "absolute", right: "0" } }, E = { style: { displa
92
92
  }
93
93
  return J2({}), (i2, m2) => {
94
94
  const u2 = o, j2 = s, h2 = t, w2 = l, _2 = a, N2 = p, q2 = r, I2 = e;
95
- return d(), c("div", null, [y(I2, { "label-width": "100", "label-position": "left", size: "small" }, { default: b(() => [y(z, { properties: n2.properties }, null, 8, ["properties"]), y(h2, { label: "选择数据表" }, { default: b(() => [y(j2, { modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => n2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: b(() => [y(u2, { type: "default", icon: f(T), onClick: m2[0] || (m2[0] = (e2) => G.value = !G.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"]), v("span", D, [y(u2, { type: "primary", icon: f(C), onClick: oe }, { default: b(() => m2[7] || (m2[7] = [g("预览sql")])), _: 1 }, 8, ["icon"])]), y(V, { visible: G.value, "onUpdate:visible": m2[2] || (m2[2] = (e2) => G.value = e2), modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[3] || (m2[3] = (e2) => n2.properties.dataTable = e2), systemCode: H.value, systemVersion: K.value, onSelect: $ }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), y(w2, { title: "统计维度", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(k, { properties: n2.properties, dataTableColumns: P.value, onChange: ee, style: { "margin-bottom": "10 px" } }, null, 8, ["properties", "dataTableColumns"]), y(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: b(() => m2[8] || (m2[8] = [g("说明:1.支持自定义日期格式,同SimpleDateFormat,yyyy表示年,MM表示2位月..."), v("br", null, null, -1), g("           2.未指定新字段名时,输出字段名同选择的字段名"), v("br", null, null, -1), g("           3.动态维度值有填写时需要匹配才会执行此分组")])), _: 1 }), y(w2, { title: "统计公式", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(F, { properties: n2.properties, dataTableColumns: L.value, onChange: ee }, null, 8, ["properties", "dataTableColumns"]), y(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: b(() => m2[9] || (m2[9] = [g("说明:1.支持自定义统计公式,如sum(字段1+字段2)")])), _: 1 }), y(w2, { title: "过滤条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(O, { properties: n2.properties, dataTableColumns: L.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "排序条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(U, { properties: n2.properties, dataTableColumns: Q.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(h2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: b(() => [y(q2, { modelValue: n2.properties.result.valueSetScope, "onUpdate:modelValue": m2[4] || (m2[4] = (e2) => n2.properties.result.valueSetScope = e2), onChange: Y, class: "ml-4" }, { default: b(() => [y(N2, { value: "first" }, { default: b(() => m2[10] || (m2[10] = [g("仅第一条")])), _: 1 }), y(N2, { value: "all" }, { default: b(() => m2[11] || (m2[11] = [g(" 全部 ")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(h2, { label: "设置到:", style: { width: "100%" } }, { default: b(() => [v("div", E, [y(f(x), { width: "260", paramTypes: ["service"], modelValue: n2.properties.result.setTo, "onUpdate:modelValue": m2[5] || (m2[5] = (e2) => n2.properties.result.setTo = e2), autoCreateFieldType: R.value }, null, 8, ["modelValue", "autoCreateFieldType"]), y(u2, { icon: f(S), type: "primary", onClick: te, style: { "margin-left": "10px" } }, { default: b(() => m2[12] || (m2[12] = [g(" 更新服务变量 ")])), _: 1 }, 8, ["icon"]), y(u2, { icon: f(S), type: "primary", onClick: se, style: { "margin-left": "10px" } }, { default: b(() => m2[13] || (m2[13] = [g(" 设置为返回值 ")])), _: 1 }, 8, ["icon"])])]), _: 1 })]), _: 1 }), y(f(M), { sql: X.value, "model-value": W.value, "onUpdate:modelValue": m2[6] || (m2[6] = (e2) => W.value = e2) }, null, 8, ["sql", "model-value"])]);
95
+ return d(), c("div", null, [y(I2, { "label-width": "100", "label-position": "left", size: "small" }, { default: b(() => [y(z, { properties: n2.properties }, null, 8, ["properties"]), y(h2, { label: "选择数据表" }, { default: b(() => [y(j2, { modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[1] || (m2[1] = (e2) => n2.properties.dataTable = e2), readonly: "", style: { width: "85%" } }, { append: b(() => [y(u2, { type: "default", icon: f(T), onClick: m2[0] || (m2[0] = (e2) => G.value = !G.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"]), v("span", D, [y(u2, { type: "primary", icon: f(C), onClick: oe }, { default: b(() => [...m2[7] || (m2[7] = [g("预览sql", -1)])]), _: 1 }, 8, ["icon"])]), y(V, { visible: G.value, "onUpdate:visible": m2[2] || (m2[2] = (e2) => G.value = e2), modelValue: n2.properties.dataTable, "onUpdate:modelValue": m2[3] || (m2[3] = (e2) => n2.properties.dataTable = e2), systemCode: H.value, systemVersion: K.value, onSelect: $ }, null, 8, ["visible", "modelValue", "systemCode", "systemVersion"])]), _: 1 }), y(w2, { title: "统计维度", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(k, { properties: n2.properties, dataTableColumns: P.value, onChange: ee, style: { "margin-bottom": "10 px" } }, null, 8, ["properties", "dataTableColumns"]), y(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: b(() => [...m2[8] || (m2[8] = [g("说明:1.支持自定义日期格式,同SimpleDateFormat,yyyy表示年,MM表示2位月...", -1), v("br", null, null, -1), g("           2.未指定新字段名时,输出字段名同选择的字段名", -1), v("br", null, null, -1), g("           3.动态维度值有填写时需要匹配才会执行此分组", -1)])]), _: 1 }), y(w2, { title: "统计公式", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(F, { properties: n2.properties, dataTableColumns: L.value, onChange: ee }, null, 8, ["properties", "dataTableColumns"]), y(_2, { style: { "margin-top": "10px", "margin-bottom": "10px", display: "block" }, type: "success" }, { default: b(() => [...m2[9] || (m2[9] = [g("说明:1.支持自定义统计公式,如sum(字段1+字段2)", -1)])]), _: 1 }), y(w2, { title: "过滤条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(O, { properties: n2.properties, dataTableColumns: L.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "排序条件", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(U, { properties: n2.properties, dataTableColumns: Q.value }, null, 8, ["properties", "dataTableColumns"]), y(w2, { title: "结果设置", type: "info", size: "small", closable: false, style: { "margin-bottom": "20px" } }), y(h2, { label: "", "label-width": "0", style: { width: "100%" } }, { default: b(() => [y(q2, { modelValue: n2.properties.result.valueSetScope, "onUpdate:modelValue": m2[4] || (m2[4] = (e2) => n2.properties.result.valueSetScope = e2), onChange: Y, class: "ml-4" }, { default: b(() => [y(N2, { value: "first" }, { default: b(() => [...m2[10] || (m2[10] = [g("仅第一条", -1)])]), _: 1 }), y(N2, { value: "all" }, { default: b(() => [...m2[11] || (m2[11] = [g(" 全部 ", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), y(h2, { label: "设置到:", style: { width: "100%" } }, { default: b(() => [v("div", E, [y(f(x), { width: "260", paramTypes: ["service"], modelValue: n2.properties.result.setTo, "onUpdate:modelValue": m2[5] || (m2[5] = (e2) => n2.properties.result.setTo = e2), autoCreateFieldType: R.value }, null, 8, ["modelValue", "autoCreateFieldType"]), y(u2, { icon: f(S), type: "primary", onClick: te, style: { "margin-left": "10px" } }, { default: b(() => [...m2[12] || (m2[12] = [g(" 更新服务变量 ", -1)])]), _: 1 }, 8, ["icon"]), y(u2, { icon: f(S), type: "primary", onClick: se, style: { "margin-left": "10px" } }, { default: b(() => [...m2[13] || (m2[13] = [g(" 设置为返回值 ", -1)])]), _: 1 }, 8, ["icon"])])]), _: 1 })]), _: 1 }), y(f(M), { sql: X.value, "model-value": W.value, "onUpdate:modelValue": m2[6] || (m2[6] = (e2) => W.value = e2) }, null, 8, ["sql", "model-value"])]);
96
96
  };
97
97
  } });
98
98
  export {
@@ -22,7 +22,7 @@ const k = { key: 0 }, C = { key: 0 }, T = { key: 0 }, _ = { key: 0 }, v = m({ __
22
22
  };
23
23
  return (v3, x) => {
24
24
  const E = l, F = t, A = a, D = o, j = s, I = n, M = e;
25
- return p(), i(M, { data: m2.properties.statistics, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: z, size: "small", border: "", "default-expand-all": "" }, { default: d(() => [r(E, { type: "index", width: "50", label: "序号", align: "center" }), r(E, { prop: "name", label: "字段名" }, { default: d((e2) => [e2.row.$editing ? (p(), i(A, { key: 1, onChange: (l2) => $(l2, e2.row), modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", filterable: "" }, { default: d(() => [(p(true), u(y, null, w(m2.dataTableColumns, (e3) => (p(), i(F, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"])) : (p(), u("span", k, c(e2.row.name), 1))]), _: 1 }), r(E, { prop: "name", label: "日期格式化", width: "120" }, { default: d((e2) => [e2.row.$editing ? (p(), i(A, { key: 1, disabled: "DATE" !== e2.row.dataType && "TIME" !== e2.row.dataType, filterable: true, "allow-create": true, modelValue: e2.row.dateFormat, "onUpdate:modelValue": (l2) => e2.row.dateFormat = l2, placeholder: "", size: "small" }, { default: d(() => [(p(true), u(y, null, w(b(h), (e3) => (p(), i(F, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["disabled", "modelValue", "onUpdate:modelValue"])) : (p(), u("span", C, c(e2.row.dateFormat), 1))]), _: 1 }), r(E, { prop: "newName", label: "新字段名", width: "160" }, { default: d((e2) => [e2.row.$editing ? (p(), i(D, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, size: "small", onChange: (l2) => U("change", e2.row) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), u("span", T, c(e2.row.newName), 1))]), _: 1 }), r(E, { prop: "dynamicValue", label: "动态维度值" }, { default: d((e2) => [e2.row.$editing ? (p(), i(D, { key: 1, modelValue: e2.row.dynamicValue, "onUpdate:modelValue": (l2) => e2.row.dynamicValue = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), u("span", _, c(e2.row.dynamicValue), 1))]), _: 1 }), r(E, { align: "center", width: "80" }, { header: d(() => [r(I, { effect: "dark", content: "添加", placement: "top" }, { default: d(() => [r(j, { type: "primary", size: "small", icon: b(g), circle: "", onClick: x[0] || (x[0] = (e2) => (N.properties.statistics || (N.properties.statistics = []), void N.properties.statistics.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: d((e2) => [f("span", null, [r(I, { effect: "dark", content: "删除", placement: "top" }, { default: d(() => [r(j, { type: "danger", size: "small", icon: b(V), circle: "", onClick: (l2) => {
25
+ return p(), i(M, { data: m2.properties.statistics, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: z, size: "small", border: "", "default-expand-all": "" }, { default: d(() => [r(E, { type: "index", width: "50", label: "序号", align: "center" }), r(E, { prop: "name", label: "字段名" }, { default: d((e2) => [e2.row.$editing ? (p(), i(A, { key: 1, onChange: (l2) => $(l2, e2.row), modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small", filterable: "" }, { default: d(() => [(p(true), u(y, null, w(m2.dataTableColumns, (e3) => (p(), i(F, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["onChange", "modelValue", "onUpdate:modelValue"])) : (p(), u("span", k, c(e2.row.name), 1))]), _: 1 }), r(E, { prop: "name", label: "日期格式化", width: "120" }, { default: d((e2) => [e2.row.$editing ? (p(), i(A, { key: 1, disabled: "DATE" !== e2.row.dataType && "TIME" !== e2.row.dataType, filterable: true, "allow-create": true, modelValue: e2.row.dateFormat, "onUpdate:modelValue": (l2) => e2.row.dateFormat = l2, placeholder: "", size: "small" }, { default: d(() => [(p(true), u(y, null, w(b(h), (e3) => (p(), i(F, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "onUpdate:modelValue"])) : (p(), u("span", C, c(e2.row.dateFormat), 1))]), _: 1 }), r(E, { prop: "newName", label: "新字段名", width: "160" }, { default: d((e2) => [e2.row.$editing ? (p(), i(D, { key: 1, modelValue: e2.row.newName, "onUpdate:modelValue": (l2) => e2.row.newName = l2, size: "small", onChange: (l2) => U("change", e2.row) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"])) : (p(), u("span", T, c(e2.row.newName), 1))]), _: 1 }), r(E, { prop: "dynamicValue", label: "动态维度值" }, { default: d((e2) => [e2.row.$editing ? (p(), i(D, { key: 1, modelValue: e2.row.dynamicValue, "onUpdate:modelValue": (l2) => e2.row.dynamicValue = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), u("span", _, c(e2.row.dynamicValue), 1))]), _: 1 }), r(E, { align: "center", width: "80" }, { header: d(() => [r(I, { effect: "dark", content: "添加", placement: "top" }, { default: d(() => [r(j, { type: "primary", size: "small", icon: b(g), circle: "", onClick: x[0] || (x[0] = (e2) => (N.properties.statistics || (N.properties.statistics = []), void N.properties.statistics.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: d((e2) => [f("span", null, [r(I, { effect: "dark", content: "删除", placement: "top" }, { default: d(() => [r(j, { type: "danger", size: "small", icon: b(V), circle: "", onClick: (l2) => {
26
26
  return a2 = e2.$index, e2.row, N.properties.statistics.splice(a2, 1), void $("", null);
27
27
  var a2;
28
28
  } }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
@@ -20,11 +20,11 @@ const L = { key: 0 }, _ = { key: 0 }, h = { key: 0 }, g = { key: 0 }, C = { key:
20
20
  }
21
21
  return (A, B) => {
22
22
  const z = l, R = o, $ = a, D = r, x = t, X = e;
23
- return u(), n(X, { data: p2.properties.filterConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowClick: U, size: "small", border: "", "default-expand-all": "" }, { default: d(() => [i(z, { type: "index", width: "50", label: "序号", align: "center" }), i(z, { prop: "leftBracket", label: "((((", width: "60" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, size: "small", modelValue: e2.row.leftBracket, "onUpdate:modelValue": (l2) => e2.row.leftBracket = l2, placeholder: "", clearable: "" }, { default: d(() => [i(R, { label: "(", value: "(" }), i(R, { label: "((", value: "((" }), i(R, { label: "(((", value: "(((" }), i(R, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", L, m(e2.row.leftBracket), 1))]), _: 1 }), i(z, { prop: "name", label: "字段名" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.propName, "onUpdate:modelValue": (l2) => e2.row.propName = l2, placeholder: "", filterable: true, "allow-create": true, size: "small", onChange: (l2) => function(e3, l3) {
23
+ return u(), n(X, { data: p2.properties.filterConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowClick: U, size: "small", border: "", "default-expand-all": "" }, { default: d(() => [i(z, { type: "index", width: "50", label: "序号", align: "center" }), i(z, { prop: "leftBracket", label: "((((", width: "60" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, size: "small", modelValue: e2.row.leftBracket, "onUpdate:modelValue": (l2) => e2.row.leftBracket = l2, placeholder: "", clearable: "" }, { default: d(() => [i(R, { label: "(", value: "(" }), i(R, { label: "((", value: "((" }), i(R, { label: "(((", value: "(((" }), i(R, { label: "((((", value: "((((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", L, m(e2.row.leftBracket), 1))]), _: 1 }), i(z, { prop: "name", label: "字段名" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.propName, "onUpdate:modelValue": (l2) => e2.row.propName = l2, placeholder: "", filterable: true, "allow-create": true, size: "small", onChange: (l2) => function(e3, l3) {
24
24
  if (!l3 || !O2.dataTableColumns) return;
25
25
  const a2 = O2.dataTableColumns.filter((e4) => e4.name == l3.propName || e4.dbColumnName == l3.propName), o2 = l3.dataType;
26
26
  a2 && a2.length > 0 ? l3.dataType = a2[0].dataType : l3.dataType = "TEXT", o2 != l3.dataType && (l3.operator = null);
27
- }(A.val, e2.row), title: e2.row.propName }, { default: d(() => [(u(true), s(T, null, c(p2.dataTableColumns, (e3) => (u(), n(R, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange", "title"])) : (u(), s("span", _, m(e2.row.propName), 1))]), _: 1 }), i(z, { prop: "operator", label: "操作符", width: "100" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.operator, "onUpdate:modelValue": (l2) => e2.row.operator = l2, placeholder: "", size: "small", title: e2.row.operator }, { default: d(() => [w(i(R, { label: "大于", value: "GT" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "小于", value: "LT" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "大于", value: "GT" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(i(R, { label: "小于", value: "LT" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), i(R, { label: "等于", value: "EQ" }), w(i(R, { label: "小于等于", value: "LET" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "大于等于", value: "GET" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "小于等于", value: "LET" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(i(R, { label: "大于等于", value: "GET" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), i(R, { label: "不等于", value: "NET" }), w(i(R, { label: "包含", value: "CONTAIN" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "左匹配", value: "LEFT_LIKE" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "右匹配", value: "RIGHT_LIKE" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "IN", value: "RANGE_QUERY" }, null, 512), [[y, "TEXT" == e2.row.dataType || "LONG" == e2.row.dataType || "INTEGER" == e2.row.dataType]]), i(R, { label: "等于Null", value: "IS_NULL" }), i(R, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])) : (u(), s("span", h, m(e2.row.operator), 1))]), _: 1 }), i(z, { prop: "propValue", label: "值" }, { default: d((e2) => [i(b(V), { showLabel: !e2.row.$editing, size: "small", paramTypes: ["system", "context", "service", "request", "fixed"], modelValue: e2.row.propValue, "onUpdate:modelValue": (l2) => e2.row.propValue = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), i(z, { prop: "rightBracket", label: "))))", width: "60" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, size: "small", modelValue: e2.row.rightBracket, "onUpdate:modelValue": (l2) => e2.row.rightBracket = l2, placeholder: "", clearable: "" }, { default: d(() => [i(R, { label: ")", value: ")" }), i(R, { label: "))", value: "))" }), i(R, { label: ")))", value: ")))" }), i(R, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", g, m(e2.row.rightBracket), 1))]), _: 1 }), i(z, { prop: "joinSign", label: "连接符", width: "70" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.logicOperator, "onUpdate:modelValue": (l2) => e2.row.logicOperator = l2, clearable: "", placeholder: "", size: "small" }, { default: d(() => [(u(true), s(T, null, c(b(k), (e3) => (u(), n(R, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", C, m(e2.row.logicOperator), 1))]), _: 1 }), i(z, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.variableIsNull, "onUpdate:modelValue": (l2) => e2.row.variableIsNull = l2, clearable: "", placeholder: "请选择" }, { default: d(() => [i(R, { label: "Null", value: "null" }), i(R, { label: "忽略(1=1)", value: "ignore" }), i(R, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", I, m(e2.row.variableIsNull), 1))]), _: 1 }), i(z, { align: "center", width: "60" }, { header: d(() => [i(x, { effect: "dark", content: "添加", placement: "top" }, { default: d(() => [i(D, { type: "primary", size: "small", icon: b(E), circle: "", onClick: B[0] || (B[0] = (e2) => (() => {
27
+ }(A.val, e2.row), title: e2.row.propName }, { default: d(() => [(u(true), s(T, null, c(p2.dataTableColumns, (e3) => (u(), n(R, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange", "title"])) : (u(), s("span", _, m(e2.row.propName), 1))]), _: 1 }), i(z, { prop: "operator", label: "操作符", width: "100" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.operator, "onUpdate:modelValue": (l2) => e2.row.operator = l2, placeholder: "", size: "small", title: e2.row.operator }, { default: d(() => [w(i(R, { label: "大于", value: "GT" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "小于", value: "LT" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "大于", value: "GT" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(i(R, { label: "小于", value: "LT" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), i(R, { label: "等于", value: "EQ" }), w(i(R, { label: "小于等于", value: "LET" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "大于等于", value: "GET" }, null, 512), [[y, "INTEGER" == e2.row.dataType || "LONG" == e2.row.dataType || "FLOAT" == e2.row.dataType || "DOUBLE" == e2.row.dataType]]), w(i(R, { label: "小于等于", value: "LET" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), w(i(R, { label: "大于等于", value: "GET" }, null, 512), [[y, "DATE" == e2.row.dataType || "TIME" == e2.row.dataType]]), i(R, { label: "不等于", value: "NET" }), w(i(R, { label: "包含", value: "CONTAIN" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "左匹配", value: "LEFT_LIKE" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "右匹配", value: "RIGHT_LIKE" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "不包含", value: "NOT_CONTAIN" }, null, 512), [[y, "TEXT" == e2.row.dataType]]), w(i(R, { label: "IN", value: "RANGE_QUERY" }, null, 512), [[y, "TEXT" == e2.row.dataType || "LONG" == e2.row.dataType || "INTEGER" == e2.row.dataType]]), i(R, { label: "等于Null", value: "IS_NULL" }), i(R, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])) : (u(), s("span", h, m(e2.row.operator), 1))]), _: 1 }), i(z, { prop: "propValue", label: "值" }, { default: d((e2) => [i(b(V), { showLabel: !e2.row.$editing, size: "small", paramTypes: ["system", "context", "service", "request", "fixed"], modelValue: e2.row.propValue, "onUpdate:modelValue": (l2) => e2.row.propValue = l2 }, null, 8, ["showLabel", "modelValue", "onUpdate:modelValue"])]), _: 1 }), i(z, { prop: "rightBracket", label: "))))", width: "60" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, size: "small", modelValue: e2.row.rightBracket, "onUpdate:modelValue": (l2) => e2.row.rightBracket = l2, placeholder: "", clearable: "" }, { default: d(() => [i(R, { label: ")", value: ")" }), i(R, { label: "))", value: "))" }), i(R, { label: ")))", value: ")))" }), i(R, { label: "))))", value: "))))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", g, m(e2.row.rightBracket), 1))]), _: 1 }), i(z, { prop: "joinSign", label: "连接符", width: "70" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.logicOperator, "onUpdate:modelValue": (l2) => e2.row.logicOperator = l2, clearable: "", placeholder: "", size: "small" }, { default: d(() => [(u(true), s(T, null, c(b(k), (e3) => (u(), n(R, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", C, m(e2.row.logicOperator), 1))]), _: 1 }), i(z, { prop: "variableIsNull", label: "变量为空时", width: "120" }, { default: d((e2) => [e2.row.$editing ? (u(), n($, { key: 1, modelValue: e2.row.variableIsNull, "onUpdate:modelValue": (l2) => e2.row.variableIsNull = l2, clearable: "", placeholder: "请选择" }, { default: d(() => [i(R, { label: "Null", value: "null" }), i(R, { label: "忽略(1=1)", value: "ignore" }), i(R, { label: "不符合(1<>1)", value: "notequal" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (u(), s("span", I, m(e2.row.variableIsNull), 1))]), _: 1 }), i(z, { align: "center", width: "60" }, { header: d(() => [i(x, { effect: "dark", content: "添加", placement: "top" }, { default: d(() => [i(D, { type: "primary", size: "small", icon: b(E), circle: "", onClick: B[0] || (B[0] = (e2) => (() => {
28
28
  O2.properties.filterConditions || (O2.properties.filterConditions = []);
29
29
  const e3 = { code: N() };
30
30
  O2.properties.filterConditions.push(e3), G(e3);
@@ -14,7 +14,7 @@ const C = { key: 0 }, _ = { key: 0 }, v = { key: 0 }, g = r({ __name: "sort-cond
14
14
  };
15
15
  return (z, U) => {
16
16
  const x = l, $ = t, S = o, T = n, j = a, A = s, D = e;
17
- return i(), p(D, { data: r2.properties.sortConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: h, size: "small", border: "", "default-expand-all": "" }, { default: m(() => [d(x, { type: "index", width: "50", label: "序号", align: "center" }), d(x, { prop: "name", label: "字段名" }, { default: m((e2) => [e2.row.$editing ? (i(), p(S, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: m(() => [(i(true), u(y, null, f(r2.dataTableColumns, (e3) => (i(), p($, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", C, c(e2.row.name), 1))]), _: 1 }), d(x, { prop: "order", label: "排序方式" }, { default: m((e2) => [e2.row.$editing ? (i(), p(S, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: m(() => [d($, { label: "升序", value: "asc" }), d($, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", _, c(e2.row.order), 1))]), _: 1 }), d(x, { prop: "name", label: "动态排序值" }, { default: m((e2) => [e2.row.$editing ? (i(), p(T, { key: 1, modelValue: e2.row.dynamicSortValue, "onUpdate:modelValue": (l2) => e2.row.dynamicSortValue = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", v, c(e2.row.dynamicSortValue), 1))]), _: 1 }), d(x, { align: "center", width: "90" }, { header: m(() => [d(A, { effect: "dark", content: "添加", placement: "top" }, { default: m(() => [d(j, { type: "primary", size: "small", icon: w(k), circle: "", onClick: U[0] || (U[0] = (e2) => (g2.properties.sortConditions || (g2.properties.sortConditions = []), void g2.properties.sortConditions.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: m((e2) => [b("span", null, [d(A, { effect: "dark", content: "删除", placement: "top" }, { default: m(() => [d(j, { type: "danger", size: "small", icon: w(V), circle: "", onClick: (l2) => {
17
+ return i(), p(D, { data: r2.properties.sortConditions, style: { width: "100%", "margin-bottom": "20px" }, "row-key": "name", onRowDblclick: h, size: "small", border: "", "default-expand-all": "" }, { default: m(() => [d(x, { type: "index", width: "50", label: "序号", align: "center" }), d(x, { prop: "name", label: "字段名" }, { default: m((e2) => [e2.row.$editing ? (i(), p(S, { key: 1, modelValue: e2.row.name, "onUpdate:modelValue": (l2) => e2.row.name = l2, placeholder: "", size: "small" }, { default: m(() => [(i(true), u(y, null, f(r2.dataTableColumns, (e3) => (i(), p($, { key: e3.name, label: e3.alias, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", C, c(e2.row.name), 1))]), _: 1 }), d(x, { prop: "order", label: "排序方式" }, { default: m((e2) => [e2.row.$editing ? (i(), p(S, { key: 1, size: "small", modelValue: e2.row.order, "onUpdate:modelValue": (l2) => e2.row.order = l2, placeholder: "" }, { default: m(() => [d($, { label: "升序", value: "asc" }), d($, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", _, c(e2.row.order), 1))]), _: 1 }), d(x, { prop: "name", label: "动态排序值" }, { default: m((e2) => [e2.row.$editing ? (i(), p(T, { key: 1, modelValue: e2.row.dynamicSortValue, "onUpdate:modelValue": (l2) => e2.row.dynamicSortValue = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (i(), u("span", v, c(e2.row.dynamicSortValue), 1))]), _: 1 }), d(x, { align: "center", width: "90" }, { header: m(() => [d(A, { effect: "dark", content: "添加", placement: "top" }, { default: m(() => [d(j, { type: "primary", size: "small", icon: w(k), circle: "", onClick: U[0] || (U[0] = (e2) => (g2.properties.sortConditions || (g2.properties.sortConditions = []), void g2.properties.sortConditions.push({ $editing: true }))) }, null, 8, ["icon"])]), _: 1 })]), default: m((e2) => [b("span", null, [d(A, { effect: "dark", content: "删除", placement: "top" }, { default: m(() => [d(j, { type: "danger", size: "small", icon: w(V), circle: "", onClick: (l2) => {
18
18
  return o2 = e2.$index, e2.row, void g2.properties.sortConditions.splice(o2, 1);
19
19
  var o2;
20
20
  } }, null, 8, ["icon", "onClick"])]), _: 2 }, 1024)])]), _: 1 })]), _: 1 }, 8, ["data"]);
@@ -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))]), _: 2 }, 1032, ["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))]), _: 2 }, 1032, ["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 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) => {
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"]);
@@ -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 }), g(A2, { value: "all" }, { default: x(() => b2[7] || (b2[7] = [L(" 全部 ")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), g(T2, { label: "设置到:", style: { width: "100%" } }, { default: x(() => [g(k(I), { inputSize: "default", paramTypes: ["service"], size: "small", modelValue: f2.properties.result.setTo, "onUpdate:modelValue": b2[4] || (b2[4] = (e2) => f2.properties.result.setTo = e2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]);
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 })]);
98
98
  };
99
99
  } });
100
100
  export {