super-page-designer 2.2.18 → 2.2.22

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 (20) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +9 -9
  2. package/dist/es/components/design/utils/form-design-util.d.ts +1 -0
  3. package/dist/es/components/design/utils/form-design-util.js +43 -26
  4. package/dist/es/components/design/utils/home-chart-util.js +1 -1
  5. package/dist/es/components/design/utils/page-explore-util.js +10 -10
  6. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +9 -9
  7. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +9 -9
  8. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +8 -8
  9. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  10. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  11. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +11 -11
  12. package/dist/es/components/design/views/assemblys/form/common/attr-event.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +7 -7
  14. package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
  15. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +24 -15
  16. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  17. package/dist/es/components/design/views/design/view/view-design-display.vue.js +86 -84
  18. package/dist/es/style.css +2 -2
  19. package/package.json +4 -4
  20. /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +0 -0
@@ -26,12 +26,12 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left
26
26
  O2.configure.props.dataOrigin || (O2.configure.props.dataOrigin = {});
27
27
  const k = O2.configure.props.dataOrigin;
28
28
  k.service || (k.service = {});
29
- let T = null;
30
- function C() {
29
+ let C = null;
30
+ function T() {
31
31
  const e3 = k.service.id;
32
- if (T != e3) {
33
- if (T = e3, !e3) return O2.configure.serviceFields = [], w.value = [], void (O2.configure.serviceDataField = null);
34
- b(e3).then((e4) => {
32
+ if (C != e3) {
33
+ if (C = e3, !e3) return O2.configure.serviceFields = [], w.value = [], void (O2.configure.serviceDataField = null);
34
+ b(k.service.simpleCode).then((e4) => {
35
35
  O2.configure.serviceFields = e4, w.value = e4, function() {
36
36
  if (!O2.configure.serviceDataField) return;
37
37
  let e5 = false;
@@ -47,12 +47,12 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left
47
47
  }
48
48
  }
49
49
  return setTimeout(() => {
50
- C(k.service.id);
50
+ T(k.service.id);
51
51
  }, 10), (l2, a2) => {
52
- const y2 = t("el-form-item"), b2 = t("el-option"), O3 = t("el-select"), w2 = t("el-text"), T2 = t("el-radio"), W = t("el-input"), q = t("el-radio-group"), I = t("el-collapse-item");
52
+ const y2 = t("el-form-item"), b2 = t("el-option"), O3 = t("el-select"), w2 = t("el-text"), C2 = t("el-radio"), W = t("el-input"), q = t("el-radio-group"), I = t("el-collapse-item");
53
53
  return i(), r(I, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", x, [u(y2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: o(() => [u(g, { pageDesign: s(j), rowObj: s(k).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t2) => function(e4, l4, a4, t3) {
54
- k.service.id, k.service.simpleCode = l4, k.service.id = t3, k.service.name = a4, C();
55
- }(0, l3, a3, t2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), u(y2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(O3, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(z.value, (e3, l3) => (i(), r(b2, { key: l3, label: e3.label, value: e3.value }, { default: o(() => [n("span", V, f(e3.label), 1), n("span", F, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(w2, { type: "success", size: "small" }, { default: o(() => a2[6] || (a2[6] = [m("如设置将以多值形式展示")])), _: 1 })]), _: 1 }), u(q, { modelValue: e2.configure.props.nameSource, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.nameSource = l3) }, { default: o(() => [u(y2, { style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { label: o(() => [u(T2, { value: "variable" }, { default: o(() => a2[7] || (a2[7] = [m("名称字段")])), _: 1 })]), default: o(() => [u(O3, { size: "small", disabled: "fixed" == e2.configure.props.nameSource, modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(L.value, (e3) => (i(), r(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: o(() => [n("span", _, f(e3.nameLabel), 1), n("span", h, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), u(y2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: o(() => [u(T2, { value: "fixed" }, { default: o(() => a2[8] || (a2[8] = [m("固定名称")])), _: 1 })]), default: o(() => [u(W, { disabled: !e2.configure.props.nameSource || "fixed" != e2.configure.props.nameSource, modelValue: e2.configure.props.nameFixed, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.nameFixed = l3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(y2, { label: "数据字段", style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { default: o(() => [u(O3, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(U.value, (e3) => (i(), r(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: o(() => [n("span", D, f(e3.numLabel), 1), n("span", S, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), u(v, { ref: "dataOriginServiceInRef", dataOrigin: s(k) }, null, 8, ["dataOrigin"])])]), _: 1 });
54
+ k.service.id, k.service.simpleCode = l4, k.service.id = t3, k.service.name = a4, T();
55
+ }(0, l3, a3, t2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), u(y2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(O3, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(z.value, (e3, l3) => (i(), r(b2, { key: l3, label: e3.label, value: e3.value }, { default: o(() => [n("span", V, f(e3.label), 1), n("span", F, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(w2, { type: "success", size: "small" }, { default: o(() => a2[6] || (a2[6] = [m("如设置将以多值形式展示")])), _: 1 })]), _: 1 }), u(q, { modelValue: e2.configure.props.nameSource, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.nameSource = l3) }, { default: o(() => [u(y2, { style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { label: o(() => [u(C2, { value: "variable" }, { default: o(() => a2[7] || (a2[7] = [m("名称字段")])), _: 1 })]), default: o(() => [u(O3, { size: "small", disabled: "fixed" == e2.configure.props.nameSource, modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(L.value, (e3) => (i(), r(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: o(() => [n("span", _, f(e3.nameLabel), 1), n("span", h, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), u(y2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: o(() => [u(C2, { value: "fixed" }, { default: o(() => a2[8] || (a2[8] = [m("固定名称")])), _: 1 })]), default: o(() => [u(W, { disabled: !e2.configure.props.nameSource || "fixed" != e2.configure.props.nameSource, modelValue: e2.configure.props.nameFixed, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.nameFixed = l3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(y2, { label: "数据字段", style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { default: o(() => [u(O3, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(U.value, (e3) => (i(), r(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: o(() => [n("span", D, f(e3.numLabel), 1), n("span", S, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), u(v, { ref: "dataOriginServiceInRef", dataOrigin: s(k) }, null, 8, ["dataOrigin"])])]), _: 1 });
56
56
  };
57
57
  } });
58
58
  export {
@@ -26,12 +26,12 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left
26
26
  O2.configure.props.dataOrigin || (O2.configure.props.dataOrigin = {});
27
27
  const k = O2.configure.props.dataOrigin;
28
28
  k.service || (k.service = {});
29
- let T = null;
30
- function C() {
29
+ let C = null;
30
+ function T() {
31
31
  const e3 = k.service.id;
32
- if (T != e3) {
33
- if (T = e3, !e3) return O2.configure.serviceFields = [], w.value = [], void (O2.configure.serviceDataField = null);
34
- b(e3).then((e4) => {
32
+ if (C != e3) {
33
+ if (C = e3, !e3) return O2.configure.serviceFields = [], w.value = [], void (O2.configure.serviceDataField = null);
34
+ b(k.service.simpleCode).then((e4) => {
35
35
  O2.configure.serviceFields = e4, w.value = e4, function() {
36
36
  if (!O2.configure.serviceDataField) return;
37
37
  let e5 = false;
@@ -47,12 +47,12 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left
47
47
  }
48
48
  }
49
49
  return setTimeout(() => {
50
- C();
50
+ T();
51
51
  }, 10), (l2, a2) => {
52
- const v2 = t("el-form-item"), b2 = t("el-option"), O3 = t("el-select"), w2 = t("el-text"), T2 = t("el-radio"), W = t("el-input-number"), q = t("el-radio-group"), I = t("el-collapse-item");
52
+ const v2 = t("el-form-item"), b2 = t("el-option"), O3 = t("el-select"), w2 = t("el-text"), C2 = t("el-radio"), W = t("el-input-number"), q = t("el-radio-group"), I = t("el-collapse-item");
53
53
  return i(), r(I, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", x, [n(v2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: o(() => [n(g, { pageDesign: s(j), rowObj: s(k).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t2) => function(e4, l4, a4, t3) {
54
- k.service.simpleCode = l4, k.service.id = t3, k.service.name = a4, C();
55
- }(0, l3, a3, t2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), n(v2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [n(O3, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(z.value, (e3, l3) => (i(), r(b2, { key: l3, label: e3.label, value: e3.value }, { default: o(() => [u("span", V, f(e3.label), 1), u("span", F, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(w2, { type: "success", size: "small" }, { default: o(() => a2[6] || (a2[6] = [m("默认为根目录.")])), _: 1 })]), _: 1 }), n(v2, { label: "配置项字段", style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { default: o(() => [n(O3, { size: "small", modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(L.value, (e3) => (i(), r(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: o(() => [u("span", _, f(e3.nameLabel), 1), u("span", h, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(q, { modelValue: e2.configure.props.maxSource, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.maxSource = l3) }, { default: o(() => [n(v2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: o(() => [n(T2, { value: "variable" }, { default: o(() => a2[7] || (a2[7] = [m("最大值")])), _: 1 })]), default: o(() => [n(O3, { size: "small", disabled: "fixed" == e2.configure.props.maxSource, modelValue: e2.configure.props.maxField, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.maxField = l3), title: e2.configure.props.maxField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(U.value, (e3) => (i(), r(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: o(() => [u("span", D, f(e3.numLabel), 1), u("span", S, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), n(v2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: o(() => [n(T2, { value: "fixed" }, { default: o(() => a2[8] || (a2[8] = [m("固定值")])), _: 1 })]), default: o(() => [n(W, { disabled: !e2.configure.props.maxSource || "fixed" != e2.configure.props.maxSource, modelValue: e2.configure.props.maxFixed, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.maxFixed = l3), placeholder: "100", min: "0" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(y, { ref: "dataOriginServiceInRef", dataOrigin: s(k) }, null, 8, ["dataOrigin"])])]), _: 1 });
54
+ k.service.simpleCode = l4, k.service.id = t3, k.service.name = a4, T();
55
+ }(0, l3, a3, t2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), n(v2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [n(O3, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(z.value, (e3, l3) => (i(), r(b2, { key: l3, label: e3.label, value: e3.value }, { default: o(() => [u("span", V, f(e3.label), 1), u("span", F, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(w2, { type: "success", size: "small" }, { default: o(() => a2[6] || (a2[6] = [m("默认为根目录.")])), _: 1 })]), _: 1 }), n(v2, { label: "配置项字段", style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { default: o(() => [n(O3, { size: "small", modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(L.value, (e3) => (i(), r(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: o(() => [u("span", _, f(e3.nameLabel), 1), u("span", h, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(q, { modelValue: e2.configure.props.maxSource, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.maxSource = l3) }, { default: o(() => [n(v2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: o(() => [n(C2, { value: "variable" }, { default: o(() => a2[7] || (a2[7] = [m("最大值")])), _: 1 })]), default: o(() => [n(O3, { size: "small", disabled: "fixed" == e2.configure.props.maxSource, modelValue: e2.configure.props.maxField, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.maxField = l3), title: e2.configure.props.maxField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: o(() => [(i(true), p(d, null, c(U.value, (e3) => (i(), r(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: o(() => [u("span", D, f(e3.numLabel), 1), u("span", S, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), n(v2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: o(() => [n(C2, { value: "fixed" }, { default: o(() => a2[8] || (a2[8] = [m("固定值")])), _: 1 })]), default: o(() => [n(W, { disabled: !e2.configure.props.maxSource || "fixed" != e2.configure.props.maxSource, modelValue: e2.configure.props.maxFixed, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.maxFixed = l3), placeholder: "100", min: "0" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(y, { ref: "dataOriginServiceInRef", dataOrigin: s(k) }, null, 8, ["dataOrigin"])])]), _: 1 });
56
56
  };
57
57
  } });
58
58
  export {
@@ -1,5 +1,5 @@
1
- import { defineComponent as e, ref as t, computed as a, resolveComponent as l, createBlock as r, openBlock as i, withCtx as n, createElementVNode as o, createVNode as s, unref as u, createElementBlock as c, Fragment as p, renderList as f, toDisplayString as d, createTextVNode as g } from "vue";
2
- import v from "../../common/page-permission-select.vue.js";
1
+ import { defineComponent as e, ref as t, computed as a, resolveComponent as l, createBlock as r, openBlock as i, withCtx as n, createElementVNode as o, createVNode as s, unref as u, createElementBlock as c, Fragment as p, renderList as f, toDisplayString as d, createTextVNode as v } from "vue";
2
+ import g from "../../common/page-permission-select.vue.js";
3
3
  import { usePageContextStore as m } from "../../../../../../stores/page-store.js";
4
4
  import { queryServiceReturnFields as y } from "../../../../utils/page-service-util.js";
5
5
  import b from "../../form/common/data-origin-service-in.vue.js";
@@ -27,11 +27,11 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { float: "left
27
27
  const V = h2.configure.props.dataOrigin;
28
28
  V.service || (V.service = {});
29
29
  let S = null;
30
- function T() {
30
+ function C() {
31
31
  const e3 = V.service.id;
32
32
  if (S != e3) {
33
33
  if (S = e3, !e3) return h2.configure.serviceFields = [], _.value = [], void (h2.configure.serviceDataField = null);
34
- y(e3).then((e4) => {
34
+ y(V.service.simpleCode).then((e4) => {
35
35
  h2.configure.serviceFields = e4, _.value = e4, function() {
36
36
  if (!h2.configure.serviceDataField) return;
37
37
  let e5 = false;
@@ -47,12 +47,12 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { float: "left
47
47
  }
48
48
  }
49
49
  return setTimeout(() => {
50
- T();
50
+ C();
51
51
  }, 10), (t2, a2) => {
52
52
  const m2 = l("el-form-item"), y2 = l("el-option"), h3 = l("el-select"), _2 = l("el-text"), S2 = l("el-collapse-item");
53
- return i(), r(S2, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: n(() => [o("div", x, [s(m2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: n(() => [s(v, { pageDesign: u(O), rowObj: u(V).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, t3, a3, l2) => function(e4, t4, a4, l3) {
54
- V.service.simpleCode = t4, V.service.id = l3, V.service.name = a4, T();
55
- }(0, t3, a3, l2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(m2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [s(h3, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (t3) => e2.configure.serviceDataField = t3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(i(true), c(p, null, f(j.value, (e3, t3) => (i(), r(y2, { key: t3, label: e3.label, value: e3.value }, { default: n(() => [o("span", D, d(e3.label), 1), o("span", F, d(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s(_2, { type: "success", size: "small" }, { default: n(() => a2[2] || (a2[2] = [g("默认为根目录.")])), _: 1 })]), _: 1 }), s(b, { ref: "dataOriginServiceInRef", dataOrigin: u(V) }, null, 8, ["dataOrigin"])])]), _: 1 });
53
+ return i(), r(S2, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: n(() => [o("div", x, [s(m2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: n(() => [s(g, { pageDesign: u(O), rowObj: u(V).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, t3, a3, l2) => function(e4, t4, a4, l3) {
54
+ V.service.simpleCode = t4, V.service.id = l3, V.service.name = a4, C();
55
+ }(0, t3, a3, l2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(m2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [s(h3, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (t3) => e2.configure.serviceDataField = t3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(i(true), c(p, null, f(j.value, (e3, t3) => (i(), r(y2, { key: t3, label: e3.label, value: e3.value }, { default: n(() => [o("span", D, d(e3.label), 1), o("span", F, d(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s(_2, { type: "success", size: "small" }, { default: n(() => a2[2] || (a2[2] = [v("默认为根目录.")])), _: 1 })]), _: 1 }), s(b, { ref: "dataOriginServiceInRef", dataOrigin: u(V) }, null, 8, ["dataOrigin"])])]), _: 1 });
56
56
  };
57
57
  } });
58
58
  export {
@@ -1,4 +1,4 @@
1
- import o from "./common-variable-bind.vue3.js";
1
+ import o from "./common-variable-bind.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-3528c938"]]);
@@ -1,7 +1,7 @@
1
1
  import o from "./data-origin.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const t = r(o, [["__scopeId", "data-v-a6394e9b"]]);
4
+ const t = r(o, [["__scopeId", "data-v-b3158a02"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as o, openBlock as t, withCtx as n, createElementVNode as r, createVNode as u, createCommentVNode as s, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as b, normalizeClass as y, toDisplayString as V } from "vue";
1
+ import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as o, openBlock as t, withCtx as n, createElementVNode as r, createVNode as s, createCommentVNode as u, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as b, normalizeClass as y, toDisplayString as V } from "vue";
2
2
  import O from "../../form/common/dataorigin-input-table.vue2.js";
3
3
  import { Codemirror as _ } from "vue-codemirror";
4
4
  import C from "../../workflow/component/combination.vue.js";
@@ -27,15 +27,15 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
27
27
  function re() {
28
28
  ee.value = false;
29
29
  }
30
- function ue(e3) {
30
+ function se(e3) {
31
31
  H2.configure.props.dataOrigin.defaultQueryCriteria = e3;
32
32
  }
33
33
  le.service || (le.service = {});
34
- let se = a([]), de = a(false), pe = a(null);
34
+ let ue = a([]), de = a(false), pe = a(null);
35
35
  function ce({ columns: e3, modelFieldsMap: a2 }) {
36
36
  _e();
37
37
  const l2 = z.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
38
- de.value && (H2.configure.tableSysCode = pe ? pe.value.systemCode : null, H2.configure.tableSysVersion = pe ? pe.value.systemVersion : null, H2.configure.props.dataOrigin.tableName = pe ? pe.value.name : null, H2.configure.props.dataOrigin.alias = pe ? pe.value.alias : null, H2.configure.modelFieldsMap = a2, H2.configure.modelFields = se.value, de.value = false, pe.value = null, se.value = []), h.$emit("reloadTable-" + H2.configure.uuid, e3), l2.close();
38
+ de.value && (H2.configure.tableSysCode = pe ? pe.value.systemCode : null, H2.configure.tableSysVersion = pe ? pe.value.systemVersion : null, H2.configure.props.dataOrigin.tableName = pe ? pe.value.name : null, H2.configure.props.dataOrigin.alias = pe ? pe.value.alias : null, H2.configure.modelFieldsMap = a2, H2.configure.modelFields = ue.value, de.value = false, pe.value = null, ue.value = []), h.$emit("reloadTable-" + H2.configure.uuid, e3), l2.close();
39
39
  }
40
40
  function ge() {
41
41
  Y.value.openDialog();
@@ -52,7 +52,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
52
52
  pe.value = e3;
53
53
  const l3 = e3.systemCode ? e3.systemCode : H2.pageDesign.systemCode, i2 = e3.systemVersion ? e3.systemVersion : H2.pageDesign.version;
54
54
  N(l3, i2, e3.name).then((e4) => {
55
- de.value = true, se.value = e4, J.addFieldList(e4), P.value = true, a3.close();
55
+ de.value = true, ue.value = e4, J.addFieldList(e4), P.value = true, a3.close();
56
56
  });
57
57
  }
58
58
  }
@@ -61,7 +61,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
61
61
  const e4 = le.service.id;
62
62
  if (be == e4) return;
63
63
  if (be = e4, !e4) return H2.configure.serviceFields = [], oe.value = [], void (H2.configure.serviceDataField = null);
64
- U(e4).then((e5) => {
64
+ U(le.service.simpleCode).then((e5) => {
65
65
  H2.configure.serviceFields = e5, oe.value = e5, function() {
66
66
  if (!H2.configure.serviceDataField) return;
67
67
  let e6 = false;
@@ -79,7 +79,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
79
79
  !function() {
80
80
  const e3 = H2.pageDesign.systemCode, a2 = H2.pageDesign.version, l2 = { name: H2.configure.props.dataOrigin.tableName };
81
81
  N(e3, a2, l2.name).then((e4) => {
82
- se.value = e4, J.addFieldList(e4);
82
+ ue.value = e4, J.addFieldList(e4);
83
83
  });
84
84
  }();
85
85
  let be = null;
@@ -106,14 +106,14 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
106
106
  }
107
107
  return (a2, l2) => {
108
108
  const h2 = i("el-radio"), U2 = i("el-radio-group"), z2 = i("el-form-item"), M2 = i("el-button"), J2 = i("el-input"), ie2 = i("el-option"), oe2 = i("el-select"), pe2 = i("el-collapse-item");
109
- return t(), o(pe2, { title: "数据", name: "dataOrigin", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", w, [u(z2, { label: "初始化查询", class: "amb-design-attr-item" }, { default: n(() => [u(U2, { modelValue: e2.configure.props.dataOrigin.initializationQuery, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dataOrigin.initializationQuery = a3), class: "ml-4" }, { default: n(() => [u(h2, { value: true }, { default: n(() => l2[17] || (l2[17] = [c("是")])), _: 1 }), u(h2, { value: false }, { default: n(() => l2[18] || (l2[18] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "数据来源", class: "amb-design-attr-item" }, { default: n(() => [u(U2, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: n(() => [u(h2, { value: "dataTable" }, { default: n(() => l2[19] || (l2[19] = [c("数据表/视图")])), _: 1 }), u(h2, { value: "service" }, { default: n(() => l2[20] || (l2[20] = [c("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "static" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(g(_), { key: 0, modelValue: e2.configure.props.dataOrigin.json, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.json = a3), options: K, style: { "margin-bottom": "8px" }, placeholder: "请输入" }, null, 8, ["modelValue"])) : s("", true), d(u(z2, { label: "选项组名", class: "amb-design-attr-item" }, { default: n(() => [u(O, { modelValue: e2.configure.props.dataOrigin.optionGroup, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dataOrigin.optionGroup = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(z2, { label: "选项值绑定", class: "amb-design-attr-item" }, { default: n(() => [u(O, { modelValue: e2.configure.props.dataOrigin.optionValue, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.optionValue = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(z2, { label: "选项名绑定", class: "amb-design-attr-item" }, { default: n(() => [u(O, { modelValue: e2.configure.props.dataOrigin.optionName, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.optionName = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(z2, { label: "数据表视图", class: "amb-design-attr-item" }, { default: n(() => [u(J2, { modelValue: e2.configure.props.dataOrigin.tableName, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.tableName = a3), title: e2.configure.props.dataOrigin.tableName, onClick: ge, clearable: "", readonly: "true" }, { prepend: n(() => [u(M2, { icon: g(D), onClick: ge, size: "small" }, null, 8, ["icon"])]), append: n(() => [u(M2, { icon: g(F), onClick: fe, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[f, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.tableName ? (t(), o(z2, { key: 1, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [u(M2, { type: "primary", onClick: l2[7] || (l2[7] = (e3) => function() {
109
+ return t(), o(pe2, { title: "数据", name: "dataOrigin", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", w, [s(z2, { label: "初始化查询", class: "amb-design-attr-item" }, { default: n(() => [s(U2, { modelValue: e2.configure.props.dataOrigin.initializationQuery, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dataOrigin.initializationQuery = a3), class: "ml-4" }, { default: n(() => [s(h2, { value: true }, { default: n(() => l2[17] || (l2[17] = [c("是")])), _: 1 }), s(h2, { value: false }, { default: n(() => l2[18] || (l2[18] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "数据来源", class: "amb-design-attr-item" }, { default: n(() => [s(U2, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: n(() => [s(h2, { value: "dataTable" }, { default: n(() => l2[19] || (l2[19] = [c("数据表/视图")])), _: 1 }), s(h2, { value: "service" }, { default: n(() => l2[20] || (l2[20] = [c("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "static" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(g(_), { key: 0, modelValue: e2.configure.props.dataOrigin.json, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.json = a3), options: K, style: { "margin-bottom": "8px" }, placeholder: "请输入" }, null, 8, ["modelValue"])) : u("", true), d(s(z2, { label: "选项组名", class: "amb-design-attr-item" }, { default: n(() => [s(O, { modelValue: e2.configure.props.dataOrigin.optionGroup, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dataOrigin.optionGroup = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(s(z2, { label: "选项值绑定", class: "amb-design-attr-item" }, { default: n(() => [s(O, { modelValue: e2.configure.props.dataOrigin.optionValue, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.optionValue = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(s(z2, { label: "选项名绑定", class: "amb-design-attr-item" }, { default: n(() => [s(O, { modelValue: e2.configure.props.dataOrigin.optionName, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.optionName = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), d(s(z2, { label: "数据表视图", class: "amb-design-attr-item" }, { default: n(() => [s(J2, { modelValue: e2.configure.props.dataOrigin.tableName, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.tableName = a3), title: e2.configure.props.dataOrigin.tableName, onClick: ge, clearable: "", readonly: "true" }, { prepend: n(() => [s(M2, { icon: g(D), onClick: ge, size: "small" }, null, 8, ["icon"])]), append: n(() => [s(M2, { icon: g(F), onClick: fe, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[f, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.tableName ? (t(), o(z2, { key: 1, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: l2[7] || (l2[7] = (e3) => function() {
110
110
  const e4 = H2.configure.tableSysCode ? H2.configure.tableSysCode : H2.pageDesign.systemCode, a3 = H2.configure.tableSysVersion ? H2.configure.tableSysVersion : H2.pageDesign.version, l3 = H2.configure.props.dataOrigin.tableName;
111
111
  N(e4, a3, l3).then((e5) => {
112
- se.value = e5, P.value = true;
112
+ ue.value = e5, P.value = true;
113
113
  });
114
- }()) }, { default: n(() => l2[21] || (l2[21] = [c("编辑")])), _: 1 })]), _: 1 })) : s("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 2, label: "编辑排序", class: "amb-design-attr-item" }, { default: n(() => [u(M2, { type: "primary", onClick: Se }, { default: n(() => l2[22] || (l2[22] = [c("添加")])), _: 1 }), u(M2, { onClick: ke }, { default: n(() => l2[23] || (l2[23] = [c("删除")])), _: 1 }), (t(true), m(v, null, b(e2.configure.props.dataOrigin.sortField, (a3, l3) => (t(), m("div", { key: l3, onClick: (e3) => function(e4) {
114
+ }()) }, { default: n(() => l2[21] || (l2[21] = [c("编辑")])), _: 1 })]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 2, label: "编辑排序", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: Se }, { default: n(() => l2[22] || (l2[22] = [c("添加")])), _: 1 }), s(M2, { onClick: ke }, { default: n(() => l2[23] || (l2[23] = [c("删除")])), _: 1 }), (t(true), m(v, null, b(e2.configure.props.dataOrigin.sortField, (a3, l3) => (t(), m("div", { key: l3, onClick: (e3) => function(e4) {
115
115
  Z.value = e4;
116
- }(l3), style: { "margin-top": "10px" }, class: y(Z.value === l3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [u(oe2, { modelValue: a3.name, "onUpdate:modelValue": (e3) => a3.name = e3, placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(e2.configure.modelFields, (e3, a4) => (t(), o(ie2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), u(oe2, { modelValue: a3.type, "onUpdate:modelValue": (e3) => a3.type = e3, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [u(ie2, { label: "升序", value: "asc" }), u(ie2, { label: "降序", value: "des" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, G))), 128))]), _: 1 })) : s("", true), d(u(z2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [u(x, { pageDesign: e2.pageDesign, rowObj: g(le).service, onlyService: "", "onUpdate:modelValue": l2[8] || (l2[8] = (e3, a3, l3, i2) => ve(0, a3, l3, i2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[f, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), "service" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.serveName ? (t(), o(z2, { key: 3, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [u(M2, { type: "primary", onClick: l2[9] || (l2[9] = (e3) => P.value = true) }, { default: n(() => l2[24] || (l2[24] = [c("编辑")])), _: 1 })]), _: 1 })) : s("", true), d(u(z2, { label: "模糊查询", class: "amb-design-attr-item" }, { default: n(() => [u(U2, { modelValue: e2.configure.props.dataOrigin.remote, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.dataOrigin.remote = a3), class: "ml-4" }, { default: n(() => [u(h2, { value: false }, { default: n(() => l2[25] || (l2[25] = [c("否")])), _: 1 }), u(h2, { value: true }, { default: n(() => l2[26] || (l2[26] = [c("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.remote && ("dataTable" === e2.configure.props.dataOrigin.optionValueSetType || "service" === e2.configure.props.dataOrigin.optionValueSetType)]]), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 4, label: "datas", class: "amb-design-attr-item" }, { default: n(() => [u(oe2, { modelValue: e2.configure.props.dataOrigin.service.datas, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.dataOrigin.service.datas = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", Q, V(e3.label), 1), r("span", q, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 5, label: "总页数", class: "amb-design-attr-item" }, { default: n(() => [u(oe2, { modelValue: e2.configure.props.dataOrigin.service.pageCount, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dataOrigin.service.pageCount = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", B, V(e3.label), 1), r("span", R, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 6, label: "总条数", class: "amb-design-attr-item" }, { default: n(() => [u(oe2, { modelValue: e2.configure.props.dataOrigin.service.total, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dataOrigin.service.total = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", $, V(e3.label), 1), r("span", A, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 7, label: "页码", class: "amb-design-attr-item" }, { default: n(() => [u(oe2, { modelValue: e2.configure.props.dataOrigin.service.pager, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dataOrigin.service.pager = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", I, V(e3.label), 1), r("span", E, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 8, label: "查询条件", class: "amb-design-attr-item" }, { default: n(() => [u(j, { onClick: l2[15] || (l2[15] = (e3) => ee.value = true), conditionData: e2.configure.props.dataOrigin.defaultQueryCriteria }, null, 8, ["conditionData"])]), _: 1 })) : s("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 9, label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [u(j, { onClick: l2[16] || (l2[16] = (e3) => W.value = true), conditionData: e2.configure.props.dataOrigin.sqlFilterCondition }, null, 8, ["conditionData"])]), _: 1 })) : s("", true), p(a2.$slots, "bottom", { row: e2.configure.props.dataOrigin }, void 0, true), d(u(L, { ref: "dataOriginServiceInRef", dataOrigin: g(le) }, null, 8, ["dataOrigin"]), [[f, "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), u(T, { ref_key: "selectTableDialog", ref: Y, onSelectTable: me, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.version }, null, 8, ["systemCode", "systemVersion"]), X.value ? (t(), o(S, { key: 0, returnSetList: e2.configure.props.dataOrigin.returnSetList, onSave: ye, onClose: Ve, onRemove: Oe }, null, 8, ["returnSetList"])) : s("", true), W.value ? (t(), o(C, { key: 1, list: e2.configure.props.dataOrigin.sqlFilterCondition, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onSave: ne, onClose: Ce }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : s("", true), ee.value ? (t(), o(C, { key: 2, list: e2.configure.props.dataOrigin.defaultQueryCriteria, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onClose: re, onSave: ue }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : s("", true), P.value ? (t(), o(k, { key: 3, configure: e2.configure, modelFields: g(se), pageDesign: e2.pageDesign, isChangeTable: g(de), onSetConfigure: ce, onClose: _e }, null, 8, ["configure", "modelFields", "pageDesign", "isChangeTable"])) : s("", true)]), _: 3 });
116
+ }(l3), style: { "margin-top": "10px" }, class: y(Z.value === l3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [s(oe2, { modelValue: a3.name, "onUpdate:modelValue": (e3) => a3.name = e3, placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(e2.configure.modelFields, (e3, a4) => (t(), o(ie2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), s(oe2, { modelValue: a3.type, "onUpdate:modelValue": (e3) => a3.type = e3, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [s(ie2, { label: "升序", value: "asc" }), s(ie2, { label: "降序", value: "des" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, G))), 128))]), _: 1 })) : u("", true), d(s(z2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [s(x, { pageDesign: e2.pageDesign, rowObj: g(le).service, onlyService: "", "onUpdate:modelValue": l2[8] || (l2[8] = (e3, a3, l3, i2) => ve(0, a3, l3, i2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[f, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), "service" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.serveName ? (t(), o(z2, { key: 3, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: l2[9] || (l2[9] = (e3) => P.value = true) }, { default: n(() => l2[24] || (l2[24] = [c("编辑")])), _: 1 })]), _: 1 })) : u("", true), d(s(z2, { label: "模糊查询", class: "amb-design-attr-item" }, { default: n(() => [s(U2, { modelValue: e2.configure.props.dataOrigin.remote, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.dataOrigin.remote = a3), class: "ml-4" }, { default: n(() => [s(h2, { value: false }, { default: n(() => l2[25] || (l2[25] = [c("否")])), _: 1 }), s(h2, { value: true }, { default: n(() => l2[26] || (l2[26] = [c("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.remote && ("dataTable" === e2.configure.props.dataOrigin.optionValueSetType || "service" === e2.configure.props.dataOrigin.optionValueSetType)]]), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 4, label: "datas", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.datas, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.dataOrigin.service.datas = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", Q, V(e3.label), 1), r("span", q, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 5, label: "总页数", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.pageCount, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dataOrigin.service.pageCount = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", B, V(e3.label), 1), r("span", R, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 6, label: "总条数", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.total, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dataOrigin.service.total = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", $, V(e3.label), 1), r("span", A, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 7, label: "页码", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.pager, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dataOrigin.service.pager = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, b(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", I, V(e3.label), 1), r("span", E, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 8, label: "查询条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[15] || (l2[15] = (e3) => ee.value = true), conditionData: e2.configure.props.dataOrigin.defaultQueryCriteria }, null, 8, ["conditionData"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 9, label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[16] || (l2[16] = (e3) => W.value = true), conditionData: e2.configure.props.dataOrigin.sqlFilterCondition }, null, 8, ["conditionData"])]), _: 1 })) : u("", true), p(a2.$slots, "bottom", { row: e2.configure.props.dataOrigin }, void 0, true), d(s(L, { ref: "dataOriginServiceInRef", dataOrigin: g(le) }, null, 8, ["dataOrigin"]), [[f, "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), s(T, { ref_key: "selectTableDialog", ref: Y, onSelectTable: me, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.version }, null, 8, ["systemCode", "systemVersion"]), X.value ? (t(), o(S, { key: 0, returnSetList: e2.configure.props.dataOrigin.returnSetList, onSave: ye, onClose: Ve, onRemove: Oe }, null, 8, ["returnSetList"])) : u("", true), W.value ? (t(), o(C, { key: 1, list: e2.configure.props.dataOrigin.sqlFilterCondition, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onSave: ne, onClose: Ce }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), ee.value ? (t(), o(C, { key: 2, list: e2.configure.props.dataOrigin.defaultQueryCriteria, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onClose: re, onSave: se }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), P.value ? (t(), o(k, { key: 3, configure: e2.configure, modelFields: g(ue), pageDesign: e2.pageDesign, isChangeTable: g(de), onSetConfigure: ce, onClose: _e }, null, 8, ["configure", "modelFields", "pageDesign", "isChangeTable"])) : u("", true)]), _: 3 });
117
117
  };
118
118
  } });
119
119
  export {
@@ -1,7 +1,7 @@
1
1
  import t from "./attr-event.vue2.js";
2
2
  /* empty css */
3
3
  import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = e(t, [["__scopeId", "data-v-3535d532"]]);
4
+ const r = e(t, [["__scopeId", "data-v-18fb54c3"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,15 +1,15 @@
1
- import { defineComponent as e, resolveComponent as t, createElementBlock as n, openBlock as o, Fragment as i, renderList as l, createBlock as r, withCtx as a, createVNode as s, createTextVNode as u, createCommentVNode as c, toDisplayString as f, unref as d } from "vue";
2
- import { Edit as p } from "@element-plus/icons";
1
+ import { defineComponent as e, resolveComponent as t, createElementBlock as n, openBlock as o, Fragment as i, renderList as l, createBlock as r, withCtx as a, createVNode as s, createTextVNode as c, createCommentVNode as u, toDisplayString as f, unref as p } from "vue";
2
+ import { Edit as d } from "@element-plus/icons";
3
3
  import m from "../../../../utils/eventBus.js";
4
- const v = { key: 1, style: { float: "right", color: "#e6a23c" } }, y = { key: 2, style: { float: "right", color: "#e6a23c" } }, g = e({ __name: "attr-event", props: { configure: { type: Object, default: () => ({}) }, events: { type: Array, default: () => [] } }, setup(e2) {
4
+ const v = { key: 1, style: { float: "right", color: "#e6a23c", "text-overflow": "ellipsis", "white-space": "nowrap" } }, y = { key: 2, style: { float: "right", color: "#e6a23c" } }, g = e({ __name: "attr-event", props: { configure: { type: Object, default: () => ({}) }, events: { type: Array, default: () => [] } }, setup(e2) {
5
5
  const g2 = e2;
6
6
  return g2.configure.events && g2.configure.events.forEach((e3) => {
7
7
  e3.componentUuid = g2.configure.uuid;
8
- }), (k, h) => {
9
- const _ = t("el-col"), b = t("el-icon"), j = t("el-row");
10
- return o(), n("div", null, [(o(true), n(i, null, l(e2.events, (e3, t2) => (o(), r(j, { key: t2, class: "event-item" }, { default: a(() => [s(_, { title: e3.tip ? e3.tip : e3.label, style: { overflow: "hidden" }, span: 20 }, { default: a(() => [u("   " + f(e3.label) + " ", 1), e3.name ? (o(), n(i, { key: 0 }, [u(" (" + f(e3.name) + ") ", 1)], 64)) : c("", true), e3.isStandard && e3.eventName ? (o(), n("span", v, f(e3.eventName), 1)) : c("", true), !e3.isStandard && e3.jsContent ? (o(), n("span", y, " 已绑定 ")) : c("", true)]), _: 2 }, 1032, ["title"]), s(_, { span: 4, style: { "text-align": "center", "font-weight": "bold" } }, { default: a(() => [void 0 === e3.isEdit || e3.isEdit ? (o(), r(b, { key: 0, style: { cursor: "pointer", color: "#5893ef", "margin-right": "6px" }, onClick: (t3) => function(e4) {
8
+ }), (h, k) => {
9
+ const w = t("el-col"), _ = t("el-icon"), b = t("el-row");
10
+ return o(), n("div", null, [(o(true), n(i, null, l(e2.events, (e3, t2) => (o(), r(b, { key: t2, class: "event-item" }, { default: a(() => [s(w, { title: e3.tip ? e3.tip : e3.label, style: { overflow: "hidden" }, span: 20 }, { default: a(() => [c("   " + f(e3.label) + " ", 1), e3.name ? (o(), n(i, { key: 0 }, [c(" (" + f(e3.name) + ") ", 1)], 64)) : u("", true), e3.isStandard && e3.eventName ? (o(), n("span", v, f(e3.eventName), 1)) : u("", true), !e3.isStandard && e3.jsContent ? (o(), n("span", y, " 已绑定 ")) : u("", true)]), _: 2 }, 1032, ["title"]), s(w, { span: 4, style: { "text-align": "center", "font-weight": "bold" } }, { default: a(() => [void 0 === e3.isEdit || e3.isEdit ? (o(), r(_, { key: 0, style: { cursor: "pointer", color: "#5893ef", "margin-right": "6px" }, onClick: (t3) => function(e4) {
11
11
  m.$emit("editComponentEvent", { configureObj: g2.configure, event: e4 });
12
- }(e3) }, { default: a(() => [s(d(p))]), _: 2 }, 1032, ["onClick"])) : c("", true)]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]);
12
+ }(e3) }, { default: a(() => [s(p(d))]), _: 2 }, 1032, ["onClick"])) : u("", true)]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]);
13
13
  };
14
14
  } });
15
15
  export {
@@ -1,5 +1,5 @@
1
1
  import o from "./config.vue3.js";
2
- /* empty css */
2
+ /* empty css */
3
3
  import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = e(o, [["__scopeId", "data-v-52b49f1c"]]);
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, computed as t, onMounted as a, resolveComponent as n, createElementBlock as o, openBlock as i, normalizeStyle as u, createElementVNode as s, createVNode as r, withCtx as m, unref as p, isRef as d, toDisplayString as c, withDirectives as v, withModifiers as f, createTextVNode as g, vShow as h } from "vue";
1
+ import { defineComponent as e, ref as l, computed as t, onMounted as a, resolveComponent as n, createElementBlock as o, openBlock as i, normalizeStyle as s, createElementVNode as u, createVNode as r, withCtx as m, unref as p, isRef as d, toDisplayString as c, withDirectives as v, withModifiers as f, createTextVNode as g, vShow as h } from "vue";
2
2
  import { Search as b } from "@element-plus/icons-vue";
3
3
  import { ElMessageBox as w } from "element-plus";
4
4
  import { getDesignConfByName as x } from "../../../utils/assemblys-config.js";
@@ -7,8 +7,8 @@ import { deepCopy as C } from "../../../utils/common-util.js";
7
7
  import _ from "../../../utils/eventBus.js";
8
8
  import { usePageContextStore as k } from "../../../../../stores/page-store.js";
9
9
  const E = { style: { "padding-top": "10px" } }, V = ["title"], j = ["title"], L = { key: 0 }, U = { key: 1 }, $ = ["title"], z = ["title"], S = ["title"], T = e({ __name: "page-event-container", props: { configure: {}, configureObj: {}, editEvent: {} }, emits: ["add-event", "change-event"], setup(e2, { expose: T2, emit: B }) {
10
- const N = k(), W = l(null), F = l(), H = l(false);
11
- let I = l(["searchCollapse", "addCollapse", "unUseEventCollapse"]), O = l(null), P = l("");
10
+ const I = k(), N = l(null), W = l(), F = l(false);
11
+ let H = l(["searchCollapse", "addCollapse", "unUseEventCollapse"]), O = l(null), P = l("");
12
12
  const R = t(() => {
13
13
  let e3 = "";
14
14
  const l2 = O.value;
@@ -19,26 +19,35 @@ const E = { style: { "padding-top": "10px" } }, V = ["title"], j = ["title"], L
19
19
  }
20
20
  return e3;
21
21
  });
22
- let D = t(() => W.value && W.value.customEvents ? W.value.customEvents.filter((e3) => "customFunc" == e3.name) : []);
22
+ let D = t(() => N.value && N.value.customEvents ? N.value.customEvents.filter((e3) => "customFunc" == e3.name) : []);
23
23
  const M = t(() => {
24
24
  let e3 = O.value ? O.value.name : null;
25
25
  e3 = e3 || "page";
26
- const l2 = O.value ? O.value.uuid : null, t2 = [], a2 = [];
27
- if (W.value && W.value.customEvents) for (let n3 of W.value.customEvents) "customFunc" != n3.name && ("page" !== e3 && n3.uuid !== l2 || (t2.push(n3), a2.includes(n3.name) || a2.push(n3.name)));
26
+ const l2 = O.value ? O.value.uuid : null;
27
+ let t2 = [];
28
+ const a2 = [];
29
+ if (N.value && N.value.customEvents) for (let n3 of N.value.customEvents) "customFunc" != n3.name && ("page" !== e3 && n3.uuid !== l2 || (t2.push(n3), a2.includes(n3.name) || a2.push(n3.name)));
28
30
  let n2 = null;
29
- if (n2 = "page" == e3 ? W.value ? W.value.events : null : O.value ? O.value.events : null, n2) {
31
+ if (n2 = "page" == e3 ? N.value ? N.value.events : null : O.value ? O.value.events : null, n2) {
30
32
  for (let l4 of n2) {
31
33
  l4.componentUuid || (l4.componentUuid = O.value && O.value.uuid ? O.value.uuid : "page"), l4.componentLabel || (l4.componentLabel = "page" == e3 ? "页面" : O.value ? O.value.label : "");
32
34
  let n3 = "";
33
35
  O.value && O.value.props && O.value.props.base && (n3 = O.value.props.base.title), l4.title = n3, a2.includes(l4.name) || (t2.push(l4), a2.push(l4.name));
34
36
  }
35
37
  let l3 = x(e3);
36
- if (l3 && l3.events) {
37
- for (let e4 of l3.events) if (!a2.includes(e4.name)) {
38
+ const o2 = [];
39
+ if (l3 && l3.events && l3.events.length > 0) {
40
+ for (let e4 of l3.events) if (o2.push(e4.name), !a2.includes(e4.name)) {
38
41
  const l4 = C(e4);
39
42
  t2.push(l4), n2.push(l4), a2.push(e4.name);
40
43
  }
41
- }
44
+ if ("page" !== e3) {
45
+ for (let e4 = a2.length - 1; e4 >= 0; e4--) if (!o2.includes(a2[e4])) {
46
+ const l4 = t2.findIndex((l5) => l5.name === a2[e4]);
47
+ -1 !== l4 && t2.splice(l4, 1), a2.splice(e4, 1);
48
+ }
49
+ }
50
+ } else t2 = [];
42
51
  }
43
52
  if (P.value) {
44
53
  const e4 = [];
@@ -48,7 +57,7 @@ const E = { style: { "padding-top": "10px" } }, V = ["title"], j = ["title"], L
48
57
  return t2;
49
58
  }), q = l([]), A = l(), G = t(() => ({ height: A.value + "px" }));
50
59
  function J(e3) {
51
- W.value = e3, q.value = e3 && e3.items ? e3.items : [], Y(null, null);
60
+ N.value = e3, q.value = e3 && e3.items ? e3.items : [], Y(null, null);
52
61
  }
53
62
  function K(e3) {
54
63
  w.confirm("确定要清除吗?", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
@@ -62,19 +71,19 @@ const E = { style: { "padding-top": "10px" } }, V = ["title"], j = ["title"], L
62
71
  _.$emit("editEvent", e3);
63
72
  }
64
73
  function Y(e3, l2) {
65
- O.value = l2, H.value = false;
74
+ O.value = l2, F.value = false;
66
75
  }
67
76
  return a(() => {
68
- J(N.pageContext), A.value = window.innerHeight, F.value = window.innerHeight - 220;
77
+ J(I.pageContext), A.value = window.innerHeight, W.value = window.innerHeight - 220;
69
78
  }), _.$on("changePageDesign", () => {
70
- J(N.pageContext);
79
+ J(I.pageContext);
71
80
  }), _.$on("editComponentEvent", (e3) => {
72
81
  O.value = e3.configureObj, setTimeout(function() {
73
82
  _.$emit("editEvent", e3.event);
74
83
  }, 100);
75
84
  }), T2({}), (e3, l2) => {
76
85
  const t2 = n("el-button"), a2 = n("el-input"), w2 = n("el-popover"), x2 = n("el-table-column"), C2 = n("el-table"), _2 = n("el-collapse-item"), k2 = n("el-collapse");
77
- return i(), o("div", { class: "amb-design-assembly-content", ref: "ambPageEventList", style: u(G.value) }, [s("div", null, [s("div", E, [r(w2, { placement: "right", width: 300, visible: H.value, trigger: "manual" }, { reference: m(() => [r(a2, { size: "small", modelValue: R.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => R.value = e4), placeholder: "请选择组件", readonly: "", clearable: "", onClick: l2[2] || (l2[2] = (e4) => H.value = !H.value) }, { append: m(() => [r(t2, { type: "info", icon: p(b), circle: "", text: "", onClick: l2[0] || (l2[0] = (e4) => H.value = !H.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"])]), default: m(() => [r(y, { onSelectComponent: Y, treeMarginTop: "", headerSearchClass: "custom", designItems: q.value, selectWidget: e3.selectWidget }, null, 8, ["designItems", "selectWidget"])]), _: 1 }, 8, ["visible"])])]), s("div", null, [r(k2, { modelValue: p(I), "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => d(I) ? I.value = e4 : I = e4), style: { "margin-top": "10px" } }, { default: m(() => [r(_2, { class: "amb-assembly-collapse-header", name: "searchCollapse", title: "事件列表" }, { default: m(() => [s("div", { style: u("max-height:" + F.value + "px") }, [r(a2, { modelValue: p(P), "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => d(P) ? P.value = e4 : P = e4), placeholder: "名称/别名...", clearable: "", class: "input-with-select", style: { "margin-top": "10px", "margin-bottom": "10px" }, "suffix-icon": p(b) }, null, 8, ["modelValue", "suffix-icon"]), r(C2, { size: "small", data: M.value, style: { width: "100%" }, "max-height": F.value, "highlight-current-row": "", onRowClick: X }, { default: m(() => [r(x2, { label: "名称", width: "90" }, { default: m((e4) => [s("span", { title: e4.row.name }, c(e4.row.name), 9, V)]), _: 1 }), r(x2, { label: "别名", width: "60" }, { default: m((e4) => [s("span", { title: e4.row.label }, c(e4.row.label), 9, j)]), _: 1 }), r(x2, { label: "组件", width: "120", align: "left" }, { default: m((e4) => [e4.row.title || e4.row.componentLabel ? (i(), o("span", L, c(e4.row.title ? e4.row.title + "(" + e4.row.componentLabel + ")" : e4.row.componentLabel), 1)) : (i(), o("span", U, c(p(O) ? p(O).label : "页面"), 1))]), _: 1 }), r(x2, { label: "备注" }, { default: m((e4) => [s("span", { title: e4.row.remark }, c(e4.row.remark), 9, $)]), _: 1 }), r(x2, { fixed: "right", label: "", width: "40", align: "center" }, { default: m((e4) => [v(r(t2, { disabled: false === e4.row.isEdit, link: "", type: "danger", size: "small", onClick: f((l3) => K(e4.row), ["stop"]) }, { default: m(() => l2[5] || (l2[5] = [g("清除")])), _: 2 }, 1032, ["disabled", "onClick"]), [[h, e4.row.isStandard && e4.row.eventName || !e4.row.isStandard && e4.row.jsContent]])]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])], 4)]), _: 1 }), r(_2, { class: "amb-assembly-collapse-header", name: "addCollapse", title: "自定义方法" }, { default: m(() => [r(C2, { size: "small", data: p(D), "highlight-current-row": "", style: { width: "100%" }, "max-height": F.value, onRowClick: Q }, { default: m(() => [r(x2, { prop: "label", label: "方法名", width: "90" }, { default: m((e4) => [s("span", { title: e4.row.eventName }, c(e4.row.eventName), 9, z)]), _: 1 }), r(x2, { prop: "label", label: "描述" }, { default: m((e4) => [s("span", { title: e4.row.remark }, c(e4.row.remark), 9, S)]), _: 1 }), r(x2, { fixed: "right", label: "", width: "50", align: "center" }, { default: m((e4) => [r(t2, { disabled: e4.row.disable, link: "", type: "primary", size: "small", onClick: f((l3) => K(e4.row), ["stop"]) }, { default: m(() => l2[6] || (l2[6] = [g("清除")])), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])], 4);
86
+ return i(), o("div", { class: "amb-design-assembly-content", ref: "ambPageEventList", style: s(G.value) }, [u("div", null, [u("div", E, [r(w2, { placement: "right", width: 300, visible: F.value, trigger: "manual" }, { reference: m(() => [r(a2, { size: "small", modelValue: R.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => R.value = e4), placeholder: "请选择组件", readonly: "", clearable: "", onClick: l2[2] || (l2[2] = (e4) => F.value = !F.value) }, { append: m(() => [r(t2, { type: "info", icon: p(b), circle: "", text: "", onClick: l2[0] || (l2[0] = (e4) => F.value = !F.value) }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"])]), default: m(() => [r(y, { onSelectComponent: Y, treeMarginTop: "", headerSearchClass: "custom", designItems: q.value, selectWidget: e3.selectWidget }, null, 8, ["designItems", "selectWidget"])]), _: 1 }, 8, ["visible"])])]), u("div", null, [r(k2, { modelValue: p(H), "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => d(H) ? H.value = e4 : H = e4), style: { "margin-top": "10px" } }, { default: m(() => [r(_2, { class: "amb-assembly-collapse-header", name: "searchCollapse", title: "事件列表" }, { default: m(() => [u("div", { style: s("max-height:" + W.value + "px") }, [r(a2, { modelValue: p(P), "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => d(P) ? P.value = e4 : P = e4), placeholder: "名称/别名...", clearable: "", class: "input-with-select", style: { "margin-top": "10px", "margin-bottom": "10px" }, "suffix-icon": p(b) }, null, 8, ["modelValue", "suffix-icon"]), r(C2, { size: "small", data: M.value, style: { width: "100%" }, "max-height": W.value, "highlight-current-row": "", onRowClick: X }, { default: m(() => [r(x2, { label: "名称", width: "90" }, { default: m((e4) => [u("span", { title: e4.row.name }, c(e4.row.name), 9, V)]), _: 1 }), r(x2, { label: "别名", width: "60" }, { default: m((e4) => [u("span", { title: e4.row.label }, c(e4.row.label), 9, j)]), _: 1 }), r(x2, { label: "组件", width: "120", align: "left" }, { default: m((e4) => [e4.row.title || e4.row.componentLabel ? (i(), o("span", L, c(e4.row.title ? e4.row.title + "(" + e4.row.componentLabel + ")" : e4.row.componentLabel), 1)) : (i(), o("span", U, c(p(O) ? p(O).label : "页面"), 1))]), _: 1 }), r(x2, { label: "备注" }, { default: m((e4) => [u("span", { title: e4.row.remark }, c(e4.row.remark), 9, $)]), _: 1 }), r(x2, { fixed: "right", label: "", width: "40", align: "center" }, { default: m((e4) => [v(r(t2, { disabled: false === e4.row.isEdit, link: "", type: "danger", size: "small", onClick: f((l3) => K(e4.row), ["stop"]) }, { default: m(() => l2[5] || (l2[5] = [g("清除")])), _: 2 }, 1032, ["disabled", "onClick"]), [[h, e4.row.isStandard && e4.row.eventName || !e4.row.isStandard && e4.row.jsContent]])]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])], 4)]), _: 1 }), r(_2, { class: "amb-assembly-collapse-header", name: "addCollapse", title: "自定义方法" }, { default: m(() => [r(C2, { size: "small", data: p(D), "highlight-current-row": "", style: { width: "100%" }, "max-height": W.value, onRowClick: Q }, { default: m(() => [r(x2, { prop: "label", label: "方法名", width: "90" }, { default: m((e4) => [u("span", { title: e4.row.eventName }, c(e4.row.eventName), 9, z)]), _: 1 }), r(x2, { prop: "label", label: "描述" }, { default: m((e4) => [u("span", { title: e4.row.remark }, c(e4.row.remark), 9, S)]), _: 1 }), r(x2, { fixed: "right", label: "", width: "50", align: "center" }, { default: m((e4) => [r(t2, { disabled: e4.row.disable, link: "", type: "primary", size: "small", onClick: f((l3) => K(e4.row), ["stop"]) }, { default: m(() => l2[6] || (l2[6] = [g("清除")])), _: 2 }, 1032, ["disabled", "onClick"])]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])], 4);
78
87
  };
79
88
  } });
80
89
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as c, withCtx as m, vShow as d, unref as v, createTextVNode as f, toDisplayString as p, Fragment as g, renderList as b, createBlock as y } from "vue";
2
2
  import { ElMessageBox as x, ElMessage as h } from "element-plus";
3
- import C from "./config.vue2.js";
3
+ import C from "./config.vue.js";
4
4
  import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
5
5
  import { findDesignItemByUuid as _, getUuidv4 as S, deepCopy as V } from "../../../utils/common-util.js";
6
6
  import { usePageContextStore as k } from "../../../../../stores/page-store.js";