super-page-designer 2.2.91-sit7 → 2.2.92-sit6

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 (30) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +1 -1
  2. package/dist/es/components/design/utils/page-design-util.d.ts +3 -1
  3. package/dist/es/components/design/utils/page-design-util.js +23 -22
  4. package/dist/es/components/design/utils/page-table-util.js +62 -54
  5. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +1 -1
  6. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +50 -48
  7. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +2 -2
  9. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +4 -4
  11. package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +1 -1
  12. package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +4 -4
  13. package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +6 -6
  14. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  15. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
  16. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +8 -8
  17. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
  18. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  19. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +1 -1
  20. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
  22. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +24 -24
  23. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
  24. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
  25. package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
  26. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  27. package/dist/es/components/design/views/design/view/view-design-display.vue.js +2 -2
  28. package/dist/es/style.css +34 -34
  29. package/package.json +4 -4
  30. /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +0 -0
@@ -5,8 +5,8 @@ import { VueDraggable as O } from "vue-draggable-plus";
5
5
  import V from "../../object-design.vue.js";
6
6
  import { deepCopy as W, getUuidv4 as j } from "../../../../utils/common-util.js";
7
7
  import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
8
- import { copyHandleEvents as T, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
9
- const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
8
+ import { copyHandleEvents as D, deleteDesignItem as T } from "../../../../utils/page-design-util.js";
9
+ const _ = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: _2 }) {
10
10
  const k = e2;
11
11
  k.configure.items || (k.configure.items = [{ label: "Tab1", index: 1, items: [] }, { label: "Tab2", index: 2, items: [] }]);
12
12
  const C = t(1);
@@ -18,7 +18,7 @@ const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
18
18
  U(), i(k.configure.style, () => {
19
19
  U();
20
20
  });
21
- const w = D2;
21
+ const w = _2;
22
22
  function F(e3, t2) {
23
23
  w("onSelectWidget", e3, t2);
24
24
  }
@@ -33,16 +33,16 @@ const D = e({ __name: "tabs-design", props: { pageDesign: {}, configure: {}, ind
33
33
  const t4 = n2.items.indexOf(e3);
34
34
  if (t4 > -1) {
35
35
  const i3 = b(W(e3));
36
- return i3.uuid = j(), T(i3), void n2.items.splice(t4, 0, i3);
36
+ return i3.uuid = j(), D(i3, k.pageDesign), void n2.items.splice(t4, 0, i3);
37
37
  }
38
38
  }
39
39
  }
40
40
  }
41
41
  return (e3, t2) => (l(), n(o(y), { modelValue: C.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => C.value = e4), type: e3.configure.props.cardType, "tab-position": e3.configure.props.tabPosition, class: a(["amb-design-item-default runtime-page-container-tabs-view", z.value]), style: s(S.value) }, { default: u(() => [(l(true), r(m, null, c(e3.configure.items, (t3, i2) => (l(), n(o(v), { key: i2, label: t3.label, name: t3.index, lazy: !!e3.configure.props.lazy }, { label: u(() => [t3.iconType && t3.iconValue ? (l(), n(o(x), { key: 0, iconType: t3.iconType, iconValue: t3.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : d("", true), p("span", { style: s(A.value) }, f(t3.label), 5)]), default: u(() => [g(o(O), { tag: "div", class: "amb-design-item-default", style: { "padding-bottom": "40px" }, group: "amb-assembly-item", "force-fallback": true, modelValue: t3.items, "onUpdate:modelValue": (e4) => t3.items = e4, sort: true, filter: ".el-scrollbar__bar", preventOnFilter: false, animation: 300, "ghost-class": "amb-item-ghost", fallbackClass: true }, { default: u(() => [(l(true), r(m, null, c(t3.items, (i3, o2) => (l(), n(V, { key: i3, pageDesign: e3.pageDesign, configure: i3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: F, onOnCustomAttrWidget: P, onOnCopy: q, onOnDelete: (e4) => function(e5, t4) {
42
42
  const i4 = e5.items;
43
- _(i4, t4, t4.items && t4.items.length > 0, true);
43
+ T(i4, t4, t4.items && t4.items.length > 0, true);
44
44
  }(t3, e4) }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnDelete"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128))]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class"]));
45
45
  } });
46
46
  export {
47
- D as default
47
+ _ as default
48
48
  };
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as e, ref as t, computed as n, watch as i, onMounted as o, onUnmounted as s, createElementBlock as u, openBlock as r, createElementVNode as l, normalizeStyle as g, normalizeClass as c, Fragment as f, renderList as p, createBlock as m, reactive as a } from "vue";
2
2
  import { useDraggable as d } from "vue-draggable-plus";
3
- import b from "../../object-design.vue.js";
4
- import { deepCopy as v, getUuidv4 as y } from "../../../../utils/common-util.js";
3
+ import v from "../../object-design.vue.js";
4
+ import { deepCopy as b, getUuidv4 as y } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle as j } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
7
- import { copyHandleEvents as x, deleteDesignItem as h } from "../../../../utils/page-design-util.js";
7
+ import { copyHandleEvents as h, deleteDesignItem as x } from "../../../../utils/page-design-util.js";
8
8
  import { getInputTypeComponentNames as O } from "../../../../utils/assemblys-config.js";
9
9
  const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
10
10
  const C = e2;
@@ -29,7 +29,7 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({
29
29
  });
30
30
  }
31
31
  i(S, (e3, t2) => {
32
- e3.length > t2.length && z(C.indexObj.index, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [], _(e3));
32
+ e3.length > t2.length && z(-1, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [], _(e3));
33
33
  }, { important: true, deep: true });
34
34
  const N = t(null);
35
35
  function R() {
@@ -62,14 +62,14 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({
62
62
  let t2 = C.configure.items;
63
63
  const n2 = t2.indexOf(e3);
64
64
  if (-1 == n2) return void alert("无可复制对象!");
65
- const i2 = a(v(e3));
66
- i2.uuid = y(), x(i2), t2.splice(n2, 0, i2);
65
+ const i2 = a(b(e3));
66
+ i2.uuid = y(), h(i2, C.pageDesign), t2.splice(n2 + 1, 0, i2);
67
67
  }
68
68
  function T(e3) {
69
69
  let t2 = C.configure.items;
70
- h(t2, e3, e3.items && e3.items.length > 0, true);
70
+ x(t2, e3, e3.items && e3.items.length > 0, true);
71
71
  }
72
- return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(k.value), ref_key: "thisRef", ref: N }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(b, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
72
+ return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(k.value), ref_key: "thisRef", ref: N }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(v, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
73
73
  } });
74
74
  export {
75
75
  D as default
@@ -1,5 +1,5 @@
1
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 y, normalizeClass as b, toDisplayString as V } from "vue";
2
- import O from "../../form/common/dataorigin-input-table.vue.js";
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";
5
5
  import S from "./return-set-table.vue.js";
@@ -2,7 +2,7 @@ import e from "./table-design.vue2.js";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const o = t(e, [["__scopeId", "data-v-e50b5e57"]]);
5
+ const o = t(e, [["__scopeId", "data-v-f6dbf7b2"]]);
6
6
  export {
7
7
  o as default
8
8
  };
@@ -20,7 +20,7 @@ const B = { class: "amb-object-design-table-ref" }, P = { id: "tableDesignMenu",
20
20
  z.configure.props.groupHeaders;
21
21
  const q = o([]), X = o(), Y = o([]);
22
22
  function A(e3, o2) {
23
- N("onSelectWidget", e3, o2);
23
+ N("onSelectWidget", e3, o2, z.configure);
24
24
  }
25
25
  z.configure && function() {
26
26
  const e3 = z.configure.tableSysCode ? z.configure.tableSysCode : z.pageDesign.systemCode, o2 = z.configure.tableSysVersion ? z.configure.tableSysVersion : z.pageDesign.systemVersion, n2 = z.configure.props.dataOrigin.tableName;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
2
- import V from "./dataorigin-input-table.vue.js";
2
+ import V from "./dataorigin-input-table.vue2.js";
3
3
  import g from "./condition.vue.js";
4
4
  import S from "./row-ul-li.vue.js";
5
5
  import "uuid";
@@ -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-30496704"]]);
4
+ const t = r(o, [["__scopeId", "data-v-307b2416"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -9,13 +9,13 @@ import { Search as C, Close as h } from "@element-plus/icons";
9
9
  import F from "agilebuilder-ui/src/utils/request";
10
10
  import { usePageContextStore as k } from "../../../../../../stores/page-store.js";
11
11
  import w from "../../common/page-permission-select.vue.js";
12
- const N = { style: { padding: "8px 0px 0px 0px" } }, x = ["onClick"], D = e({ __name: "data-origin", props: { tableConfigure: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: {} }, remote: { type: Boolean, default: true }, isTable: { type: Boolean, default: false } }, setup(e2) {
13
- const D2 = e2, U = k(), j = U.pageContext;
14
- D2.configure.props.dataOrigin || (D2.configure.props.dataOrigin = {});
15
- const A = D2.configure.props.dataOrigin;
16
- A.service || (A.service = {}), A.filterList || (A.filterList = []);
17
- const L = a(null), q = a(null), G = a(""), P = a(null);
18
- D2.configure.props.dataOrigin.optionValueSetType && 0 !== D2.configure.props.dataOrigin.optionValueSetType.length || (D2.configure.props.dataOrigin.optionValueSetType = "none");
12
+ const N = { style: { padding: "8px 0px 0px 0px" } }, U = ["onClick"], x = e({ __name: "data-origin", props: { tableConfigure: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: {} }, remote: { type: Boolean, default: true }, isTable: { type: Boolean, default: false } }, setup(e2) {
13
+ const x2 = e2, D = k(), j = D.pageContext;
14
+ x2.configure.props.dataOrigin || (x2.configure.props.dataOrigin = {});
15
+ const L = x2.configure.props.dataOrigin;
16
+ L.service || (L.service = {}), L.filterList || (L.filterList = []);
17
+ const A = a(null), q = a(null), G = a(""), P = a(null);
18
+ x2.configure.props.dataOrigin.optionValueSetType && 0 !== x2.configure.props.dataOrigin.optionValueSetType.length || (x2.configure.props.dataOrigin.optionValueSetType = "none");
19
19
  const $ = a(false), I = a([]);
20
20
  function R(e3) {
21
21
  $.value = true;
@@ -40,51 +40,51 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, x = ["onClick"], D = e({ __
40
40
  const a2 = B.value.find((a3) => a3.code === e3);
41
41
  if (a2) {
42
42
  let e4 = JSON.parse(a2.selectedField);
43
- A.dynamicDataSourceFields = e4;
44
- } else A.dynamicDataSourceFields = [];
43
+ L.dynamicDataSourceFields = e4;
44
+ } else L.dynamicDataSourceFields = [];
45
45
  E();
46
46
  }
47
47
  function E() {
48
- const e3 = A.optionValueSetType;
49
- P.value && ("dynamicData" == e3 ? P.value.updateSourceFields(A.dynamicDataSourceFields) : "dataTable" == e3 && (P.value.updateSourceFields(W.value), L.value.changeTableFields(W.value)));
48
+ const e3 = L.optionValueSetType;
49
+ P.value && ("dynamicData" == e3 ? P.value.updateSourceFields(L.dynamicDataSourceFields) : "dataTable" == e3 && (P.value.updateSourceFields(W.value), A.value.changeTableFields(W.value)));
50
50
  }
51
51
  function H() {
52
52
  q.value.openDialog();
53
53
  }
54
54
  function K() {
55
- A.tableName = "", A.tableAlias = "", A.tableSysCode = null, A.tableSysVersion = null, W.value = [];
55
+ L.tableName = "", L.tableAlias = "", L.tableSysCode = null, L.tableSysVersion = null, W.value = [];
56
56
  }
57
57
  function M(e3) {
58
- let a2 = A.tableSysCode ? A.tableSysCode : "";
59
- a2 += "_", a2 += A.tableSysVersion ? A.tableSysVersion : "", a2 += "_", a2 += A.tableName ? A.tableName : "";
58
+ let a2 = L.tableSysCode ? L.tableSysCode : "";
59
+ a2 += "_", a2 += L.tableSysVersion ? L.tableSysVersion : "", a2 += "_", a2 += L.tableName ? L.tableName : "";
60
60
  let l2 = e3.systemCode ? e3.systemCode : "";
61
- l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (A.tableSysCode = e3.systemCode, A.tableSysVersion = e3.systemVersion, A.tableName = e3.name, A.tableAlias = e3.alias, X());
61
+ l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (L.tableSysCode = e3.systemCode, L.tableSysVersion = e3.systemVersion, L.tableName = e3.name, L.tableAlias = e3.alias, X());
62
62
  }
63
63
  let W = a([]);
64
64
  function X() {
65
- const e3 = A.tableSysCode ? A.tableSysCode : U.pageContext.systemCode, a2 = A.tableSysVersion ? A.tableSysVersion : U.pageContext.systemVersion, l2 = A.tableName;
65
+ const e3 = L.tableSysCode ? L.tableSysCode : D.pageContext.systemCode, a2 = L.tableSysVersion ? L.tableSysVersion : D.pageContext.systemVersion, l2 = L.tableName;
66
66
  l2 && T(e3, a2, l2).then((e4) => {
67
67
  W.value = e4, E();
68
68
  }).catch((e4) => {
69
69
  });
70
70
  }
71
71
  function Y() {
72
- A.sortFields || (A.sortFields = []), A.sortFields.push({ name: "", type: "" }), G.value = "";
72
+ L.sortFields || (L.sortFields = []), L.sortFields.push({ name: "", type: "" }), G.value = "";
73
73
  }
74
74
  function Z() {
75
- A.sortFields.length > 0 && A.sortFields.splice(A.sortFields.length - 1, 1);
75
+ L.sortFields.length > 0 && L.sortFields.splice(L.sortFields.length - 1, 1);
76
76
  }
77
77
  return l(() => {
78
78
  E(), X();
79
79
  }), (a2, l2) => {
80
- const T2 = t("el-radio"), F2 = t("el-radio-group"), k2 = t("el-form-item"), D3 = t("el-radio-button"), U2 = t("el-option"), X2 = t("el-select"), ee = t("el-button"), ae = t("el-input"), le = t("el-collapse-item");
81
- return i(), o(le, { title: "数据源", name: "dataOrigin", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", N, [u(k2, { label: "数据来源", class: "amb-design-attr-item" }, { default: n(() => [u(F2, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3), onChange: E }, { default: n(() => [u(T2, { value: "none" }, { default: n(() => l2[12] || (l2[12] = [p("无")])), _: 1 }), u(T2, { value: "static" }, { default: n(() => l2[13] || (l2[13] = [p("静态数据")])), _: 1 }), u(T2, { value: "optionGroup" }, { default: n(() => l2[14] || (l2[14] = [p("选项组")])), _: 1 }), u(T2, { value: "dynamicData" }, { default: n(() => l2[15] || (l2[15] = [p("动态数据源")])), _: 1 }), u(T2, { value: "dataTable" }, { default: n(() => l2[16] || (l2[16] = [p("数据表/视图")])), _: 1 }), u(T2, { value: "service" }, { default: n(() => l2[17] || (l2[17] = [p("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(u(k2, { label: "可搜索", class: "amb-design-attr-item" }, { default: n(() => [u(F2, { modelValue: e2.configure.props.dataOrigin.filterType, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dataOrigin.filterType = a3), class: "ml-4" }, { default: n(() => [u(D3, { value: "normal" }, { default: n(() => l2[18] || (l2[18] = [p("普通")])), _: 1 }), d(u(D3, { value: "remote" }, { default: n(() => l2[19] || (l2[19] = [p("远程")])), _: 1 }, 512), [[c, "dataTable" == e2.configure.props.dataOrigin.optionValueSetType || "dynamicData" == e2.configure.props.dataOrigin.optionValueSetType || "service" == e2.configure.props.dataOrigin.optionValueSetType]]), u(D3, { value: "none" }, { default: n(() => l2[20] || (l2[20] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "select" == e2.configure.name]]), e2.configure.props.dataOrigin.optionValueSetType && "static" !== e2.configure.props.dataOrigin.optionValueSetType ? s("", true) : (i(), o(V, { key: 0, style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: m(A), type: "select", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin"])), d(u(k2, { label: "选项组名", class: "amb-design-attr-item" }, { default: n(() => [u(X2, { modelValue: e2.configure.props.dataOrigin.optionGroup, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.optionGroup = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": R, loading: $.value }, { default: n(() => [(i(true), g(f, null, b(I.value, (e3) => (i(), o(U2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[c, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), "dynamicData" === e2.configure.props.dataOrigin.optionValueSetType ? (i(), o(k2, { key: 1, label: "动态数据源", class: "amb-design-attr-item" }, { default: n(() => [u(X2, { modelValue: e2.configure.props.dataOrigin.dynamicDataSourceCode, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dataOrigin.dynamicDataSourceCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: z.value, onChange: J }, { default: n(() => [(i(true), g(f, null, b(B.value, (e3) => (i(), o(U2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : s("", true), d(u(k2, { label: "数据表视图", class: "amb-design-attr-item" }, { default: n(() => [u(ae, { modelValue: e2.configure.props.dataOrigin.tableName, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.tableName = a3), title: e2.configure.props.dataOrigin.tableName, clearable: "", readonly: "true" }, { append: n(() => [u(ee, { type: "default", icon: m(C), onClick: H, size: "small" }, null, 8, ["icon"]), u(ee, { type: "default", icon: m(h), onClick: K, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "选项值字段", class: "amb-design-attr-item" }, { default: n(() => [u(X2, { modelValue: e2.configure.props.dataOrigin.tableValueField, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.tableValueField = a3), "allow-create": "", filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e3) => (i(), o(U2, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: "${obj." + e3.dbColumnName + "}" }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "选项名字段", class: "amb-design-attr-item" }, { default: n(() => [u(X2, { modelValue: e2.configure.props.dataOrigin.tableLableField, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.tableLableField = a3), "allow-create": "", filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e3) => (i(), o(U2, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: "${obj." + e3.dbColumnName + "}" }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (i(), o(k2, { key: 2, label: "排序", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { type: "primary", onClick: Y }, { default: n(() => l2[21] || (l2[21] = [p("添加")])), _: 1 }), u(ee, { type: "default", onClick: Z }, { default: n(() => l2[22] || (l2[22] = [p("删除")])), _: 1 }), (i(true), g(f, null, b(m(A).sortFields, (e3, a3) => (i(), g("div", { key: a3, onClick: (e4) => function(e5) {
80
+ const T2 = t("el-radio"), F2 = t("el-radio-group"), k2 = t("el-form-item"), x3 = t("el-radio-button"), D2 = t("el-switch"), X2 = t("el-option"), ee = t("el-select"), ae = t("el-button"), le = t("el-input"), te = t("el-collapse-item");
81
+ return i(), o(te, { title: "数据源", name: "dataOrigin", class: "amb-design-attr-group-header" }, { default: n(() => [r("div", N, [u(k2, { label: "数据来源", class: "amb-design-attr-item" }, { default: n(() => [u(F2, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3), onChange: E }, { default: n(() => [u(T2, { value: "none" }, { default: n(() => l2[13] || (l2[13] = [p("无")])), _: 1 }), u(T2, { value: "static" }, { default: n(() => l2[14] || (l2[14] = [p("静态数据")])), _: 1 }), u(T2, { value: "optionGroup" }, { default: n(() => l2[15] || (l2[15] = [p("选项组")])), _: 1 }), u(T2, { value: "dynamicData" }, { default: n(() => l2[16] || (l2[16] = [p("动态数据源")])), _: 1 }), u(T2, { value: "dataTable" }, { default: n(() => l2[17] || (l2[17] = [p("数据表/视图")])), _: 1 }), u(T2, { value: "service" }, { default: n(() => l2[18] || (l2[18] = [p("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(u(k2, { label: "可搜索", class: "amb-design-attr-item" }, { default: n(() => [u(F2, { modelValue: e2.configure.props.dataOrigin.filterType, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.props.dataOrigin.filterType = a3), class: "ml-4" }, { default: n(() => [u(x3, { value: "normal" }, { default: n(() => l2[19] || (l2[19] = [p("普通")])), _: 1 }), d(u(x3, { value: "remote" }, { default: n(() => l2[20] || (l2[20] = [p("远程")])), _: 1 }, 512), [[c, "dataTable" == e2.configure.props.dataOrigin.optionValueSetType || "dynamicData" == e2.configure.props.dataOrigin.optionValueSetType || "service" == e2.configure.props.dataOrigin.optionValueSetType]]), u(x3, { value: "none" }, { default: n(() => l2[21] || (l2[21] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "select" == e2.configure.name]]), e2.isTable ? (i(), o(k2, { key: 0, label: "value-label自动转换", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.valueLabelSwitch, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.valueLabelSwitch = a3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.optionValueSetType && "static" !== e2.configure.props.dataOrigin.optionValueSetType ? s("", true) : (i(), o(V, { key: 1, style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: m(L), type: "select", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin"])), d(u(k2, { label: "选项组名", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.optionGroup, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.dataOrigin.optionGroup = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": R, loading: $.value }, { default: n(() => [(i(true), g(f, null, b(I.value, (e3) => (i(), o(X2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 }, 512), [[c, "optionGroup" === e2.configure.props.dataOrigin.optionValueSetType]]), "dynamicData" === e2.configure.props.dataOrigin.optionValueSetType ? (i(), o(k2, { key: 2, label: "动态数据源", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.dynamicDataSourceCode, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.dynamicDataSourceCode = a3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": Q, loading: z.value, onChange: J }, { default: n(() => [(i(true), g(f, null, b(B.value, (e3) => (i(), o(X2, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : s("", true), d(u(k2, { label: "数据表视图", class: "amb-design-attr-item" }, { default: n(() => [u(le, { modelValue: e2.configure.props.dataOrigin.tableName, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.tableName = a3), title: e2.configure.props.dataOrigin.tableName, clearable: "", readonly: "true" }, { append: n(() => [u(ae, { type: "default", icon: m(C), onClick: H, size: "small" }, null, 8, ["icon"]), u(ae, { type: "default", icon: m(h), onClick: K, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "选项值字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.tableValueField, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.tableValueField = a3), "allow-create": "", filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e3) => (i(), o(X2, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: "${obj." + e3.dbColumnName + "}" }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "选项名字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: e2.configure.props.dataOrigin.tableLableField, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.dataOrigin.tableLableField = a3), "allow-create": "", filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e3) => (i(), o(X2, { key: e3.dbColumnName, label: e3.alias + "(" + e3.dbColumnName + ")", value: "${obj." + e3.dbColumnName + "}" }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (i(), o(k2, { key: 3, label: "排序", class: "amb-design-attr-item" }, { default: n(() => [u(ae, { type: "primary", onClick: Y }, { default: n(() => l2[22] || (l2[22] = [p("添加")])), _: 1 }), u(ae, { type: "default", onClick: Z }, { default: n(() => l2[23] || (l2[23] = [p("删除")])), _: 1 }), (i(true), g(f, null, b(m(L).sortFields, (e3, a3) => (i(), g("div", { key: a3, onClick: (e4) => function(e5) {
82
82
  G.value = e5;
83
- }(a3), style: { "margin-top": "6px" }, class: y(G.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [u(X2, { modelValue: e3.name, "onUpdate:modelValue": (a4) => e3.name = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e4, a4) => (i(), o(U2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), u(X2, { modelValue: e3.type, "onUpdate:modelValue": (a4) => e3.type = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [u(U2, { label: "升序", value: "asc" }), u(U2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, x))), 128))]), _: 1 })) : s("", true), d(u(k2, { label: "显示数量", class: "amb-design-attr-item" }, { default: n(() => [u(ae, { modelValue: e2.configure.props.dataOrigin.displayQuantity, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.dataOrigin.displayQuantity = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [u(v, { title: "过滤条件", list: e2.configure.props.dataOrigin.filterList, ref_key: "conditionRef", ref: L }, null, 8, ["list"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [u(w, { pageDesign: m(j), rowObj: m(A).service, onlyService: "", "onUpdate:modelValue": l2[8] || (l2[8] = (e3, a3, l3) => function(e4, a4, l4) {
84
- A.service.simpleCode = a4, A.service.name = l4;
85
- }(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[c, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "数据集字段", class: "amb-design-attr-item" }, { default: n(() => [u(X2, { modelValue: m(A).serviceDataSetField, "onUpdate:modelValue": l2[9] || (l2[9] = (e3) => m(A).serviceDataSetField = e3), placeholder: "请选择" }, { default: n(() => [u(U2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(A).optionValueSetType]]), d(u(k2, { label: "选项值字段", class: "amb-design-attr-item" }, { default: n(() => [u(X2, { modelValue: m(A).serviceValueField, "onUpdate:modelValue": l2[10] || (l2[10] = (e3) => m(A).serviceValueField = e3), placeholder: "请选择" }, { default: n(() => [u(U2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(A).optionValueSetType]]), d(u(k2, { label: "选项名字段", class: "amb-design-attr-item" }, { default: n(() => [u(X2, { modelValue: m(A).serviceLabelField, "onUpdate:modelValue": l2[11] || (l2[11] = (e3) => m(A).serviceLabelField = e3), placeholder: "请选择" }, { default: n(() => [u(U2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(A).optionValueSetType]]), d(u(S, { ref: "dataOriginServiceInRef", dataOrigin: m(A) }, null, 8, ["dataOrigin"]), [[c, "service" == e2.configure.props.dataOrigin.optionValueSetType]]), d(u(O, { ref_key: "dataOriginAutosetRef", ref: P, dataOrigin: m(A), isTable: e2.isTable }, null, 8, ["dataOrigin", "isTable"]), [[c, "dataTable" == e2.configure.props.dataOrigin.optionValueSetType || "dynamicData" == e2.configure.props.dataOrigin.optionValueSetType || "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), u(_, { ref_key: "selectTableDialog", ref: q, onSelectTable: M, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
83
+ }(a3), style: { "margin-top": "6px" }, class: y(G.value === a3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [u(ee, { modelValue: e3.name, "onUpdate:modelValue": (a4) => e3.name = a4, filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(i(true), g(f, null, b(m(W), (e4, a4) => (i(), o(X2, { key: a4, label: e4.alias + "(" + e4.dbColumnName + ")", value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), u(ee, { modelValue: e3.type, "onUpdate:modelValue": (a4) => e3.type = a4, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [u(X2, { label: "升序", value: "asc" }), u(X2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, U))), 128))]), _: 1 })) : s("", true), d(u(k2, { label: "显示数量", class: "amb-design-attr-item" }, { default: n(() => [u(le, { modelValue: e2.configure.props.dataOrigin.displayQuantity, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dataOrigin.displayQuantity = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [u(v, { title: "过滤条件", list: e2.configure.props.dataOrigin.filterList, ref_key: "conditionRef", ref: A }, null, 8, ["list"])]), _: 1 }, 512), [[c, "dataTable" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [u(w, { pageDesign: m(j), rowObj: m(L).service, onlyService: "", "onUpdate:modelValue": l2[9] || (l2[9] = (e3, a3, l3) => function(e4, a4, l4) {
84
+ L.service.simpleCode = a4, L.service.name = l4;
85
+ }(0, a3, l3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[c, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), d(u(k2, { label: "数据集字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: m(L).serviceDataSetField, "onUpdate:modelValue": l2[10] || (l2[10] = (e3) => m(L).serviceDataSetField = e3), placeholder: "请选择" }, { default: n(() => [u(X2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(L).optionValueSetType]]), d(u(k2, { label: "选项值字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: m(L).serviceValueField, "onUpdate:modelValue": l2[11] || (l2[11] = (e3) => m(L).serviceValueField = e3), placeholder: "请选择" }, { default: n(() => [u(X2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(L).optionValueSetType]]), d(u(k2, { label: "选项名字段", class: "amb-design-attr-item" }, { default: n(() => [u(ee, { modelValue: m(L).serviceLabelField, "onUpdate:modelValue": l2[12] || (l2[12] = (e3) => m(L).serviceLabelField = e3), placeholder: "请选择" }, { default: n(() => [u(X2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "service" == m(L).optionValueSetType]]), d(u(S, { ref: "dataOriginServiceInRef", dataOrigin: m(L) }, null, 8, ["dataOrigin"]), [[c, "service" == e2.configure.props.dataOrigin.optionValueSetType]]), d(u(O, { ref_key: "dataOriginAutosetRef", ref: P, dataOrigin: m(L), isTable: e2.isTable }, null, 8, ["dataOrigin", "isTable"]), [[c, "dataTable" == e2.configure.props.dataOrigin.optionValueSetType || "dynamicData" == e2.configure.props.dataOrigin.optionValueSetType || "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), u(_, { ref_key: "selectTableDialog", ref: q, onSelectTable: M, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 });
86
86
  };
87
87
  } });
88
88
  export {
89
- D as default
89
+ x as default
90
90
  };
@@ -1,28 +1,4 @@
1
- import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
- import { Search as p } from "@element-plus/icons-vue";
3
- const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
- const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
- function y() {
6
- if (_.value.length > 0) {
7
- let e3 = "";
8
- _.value.forEach((l2) => {
9
- e3 = e3 + l2.name + ",";
10
- }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
- } else b.value = false;
12
- }
13
- function S(e3) {
14
- _.value = e3;
15
- }
16
- function w() {
17
- b.value = true;
18
- }
19
- return a(() => c.modelValue, (e3) => {
20
- g.value = e3;
21
- }), (e3, l2) => {
22
- const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
- return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
- };
25
- } });
1
+ import t from "./dataorigin-input-table.vue2.js";
26
2
  export {
27
- v as default
3
+ t as default
28
4
  };
@@ -1,4 +1,28 @@
1
- import t from "./dataorigin-input-table.vue.js";
1
+ import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
2
+ import { Search as p } from "@element-plus/icons-vue";
3
+ const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
4
+ const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
5
+ function y() {
6
+ if (_.value.length > 0) {
7
+ let e3 = "";
8
+ _.value.forEach((l2) => {
9
+ e3 = e3 + l2.name + ",";
10
+ }), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
11
+ } else b.value = false;
12
+ }
13
+ function S(e3) {
14
+ _.value = e3;
15
+ }
16
+ function w() {
17
+ b.value = true;
18
+ }
19
+ return a(() => c.modelValue, (e3) => {
20
+ g.value = e3;
21
+ }), (e3, l2) => {
22
+ const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
23
+ return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
24
+ };
25
+ } });
2
26
  export {
3
- t as default
27
+ v as default
4
28
  };
@@ -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-8dba0ddd"]]);
5
5
  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 m, withCtx as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, 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.vue.js";
3
+ import C from "./config.vue2.js";
4
4
  import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
5
5
  import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
6
6
  import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
16
16
  import "@codemirror/language";
17
17
  import "@codemirror/search";
18
18
  import "js-beautify";
19
- /* empty css */
19
+ /* empty css */
20
20
  import "../../../utils/assemblys-config.js";
21
21
  import "../../../../../stores/page-store.js";
22
22
  import "../../../../../stores/event-undo-redo-store.js";
@@ -61,7 +61,7 @@ const L = { class: "amb-design-content-center-header" }, I = { class: "amb-desig
61
61
  }
62
62
  function pe(e3) {
63
63
  const i2 = ie.indexOf(e3), t2 = n(W(e3));
64
- t2.uuid = N(), q(t2), ie.splice(i2, 0, t2);
64
+ t2.uuid = N(), q(t2, X.configure), ie.splice(i2, 0, t2);
65
65
  }
66
66
  function fe(e3) {
67
67
  V(ie, e3, e3.items && e3.items.length > 0, true);
package/dist/es/style.css CHANGED
@@ -930,25 +930,25 @@ fieldset.amb-design-item-selected {
930
930
  }
931
931
  ._amb-page-container_1k9lg_1 ._amb-page-container-header_1k9lg_6 ~ ._amb-page-container-main_1k9lg_9 {
932
932
  height: calc(100vh - 60px);
933
- }.amb-component-popover-icon-list-view[data-v-0f7ddbc5] {
933
+ }.amb-component-popover-icon-list-view[data-v-3be9b759] {
934
934
  display: flex;
935
935
  flex-direction: column;
936
936
  gap: 10px;
937
937
  overflow: hidden;
938
938
  height: 300px;
939
939
  }
940
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll[data-v-0f7ddbc5] {
940
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll[data-v-3be9b759] {
941
941
  flex: 1 1 auto;
942
942
  overflow: auto;
943
943
  }
944
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid[data-v-0f7ddbc5] {
944
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid[data-v-3be9b759] {
945
945
  display: grid;
946
946
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
947
947
  grid-gap: 15px;
948
948
  padding: 0;
949
949
  list-style: none;
950
950
  }
951
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-0f7ddbc5] {
951
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-3be9b759] {
952
952
  position: relative;
953
953
  width: 40px;
954
954
  height: 40px;
@@ -960,14 +960,14 @@ fieldset.amb-design-item-selected {
960
960
  border-radius: 5px;
961
961
  line-height: 1;
962
962
  }
963
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item svg[data-v-0f7ddbc5] {
963
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item svg[data-v-3be9b759] {
964
964
  width: 24px;
965
965
  height: 24px;
966
966
  }
967
- .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-0f7ddbc5]:hover {
967
+ .amb-component-popover-icon-list-view .amb-component-popover-icon-list-scroll .amb-component-popover-icon-grid .amb-component-popover-icon-grid-item[data-v-3be9b759]:hover {
968
968
  background-color: var(--el-menu-active-color);
969
969
  color: var(--el-color-white);
970
- }.runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane {
970
+ }.runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane {
971
971
  display: flex;
972
972
  flex-direction: row;
973
973
  align-items: flex-start;
@@ -975,16 +975,16 @@ fieldset.amb-design-item-selected {
975
975
  flex-wrap: wrap;
976
976
  gap: var(--runtime-page-container-view-gap, 15px);
977
977
  }
978
- .runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane > div {
978
+ .runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane > div {
979
979
  width: 100%;
980
980
  }
981
- .runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane > div[style*="display: inline-block"] {
981
+ .runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane > div[style*="display: inline-block"] {
982
982
  width: auto;
983
983
  }
984
- .runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane > [style*="display: inline-block"] {
984
+ .runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane > [style*="display: inline-block"] {
985
985
  width: auto;
986
986
  }
987
- .runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane > .amb-design-item-default {
987
+ .runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane > .amb-design-item-default {
988
988
  display: flex;
989
989
  flex-direction: row;
990
990
  align-items: flex-start;
@@ -992,18 +992,18 @@ fieldset.amb-design-item-selected {
992
992
  flex-wrap: wrap;
993
993
  gap: var(--runtime-page-container-view-gap, 15px);
994
994
  }
995
- .runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane > .amb-design-item-default > div {
995
+ .runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane > .amb-design-item-default > div {
996
996
  width: 100%;
997
997
  }
998
- .runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane > .amb-design-item-default > div[style*="display: inline-block"] {
998
+ .runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane > .amb-design-item-default > div[style*="display: inline-block"] {
999
999
  width: auto;
1000
1000
  }
1001
- .runtime-page-container-tabs-view[data-v-f64cf23d] > .el-tabs__content > .el-tab-pane > .amb-design-item-default > [style*="display: inline-block"] {
1001
+ .runtime-page-container-tabs-view[data-v-626f9a46] > .el-tabs__content > .el-tab-pane > .amb-design-item-default > [style*="display: inline-block"] {
1002
1002
  width: auto;
1003
- }.yx-card-box-view-main[data-v-65a008af] > .el-card__header {
1003
+ }.yx-card-box-view-main[data-v-231a66cb] > .el-card__header {
1004
1004
  position: relative;
1005
1005
  }
1006
- .yx-card-box-view-main .yx-card-box-view-header[data-v-65a008af] {
1006
+ .yx-card-box-view-main .yx-card-box-view-header[data-v-231a66cb] {
1007
1007
  display: flex;
1008
1008
  flex-direction: row;
1009
1009
  justify-content: space-between;
@@ -1011,12 +1011,12 @@ fieldset.amb-design-item-selected {
1011
1011
  gap: 15px;
1012
1012
  flex: 1 1 auto;
1013
1013
  }
1014
- .yx-card-box-view-main .yx-card-box-view-title[data-v-65a008af] {
1014
+ .yx-card-box-view-main .yx-card-box-view-title[data-v-231a66cb] {
1015
1015
  position: relative;
1016
1016
  z-index: 2;
1017
1017
  flex: 1 1 auto;
1018
1018
  }
1019
- .yx-card-box-view-main .yx-card-box-view-title[data-v-65a008af]::after {
1019
+ .yx-card-box-view-main .yx-card-box-view-title[data-v-231a66cb]::after {
1020
1020
  content: " ";
1021
1021
  position: absolute;
1022
1022
  left: 0;
@@ -1025,29 +1025,29 @@ fieldset.amb-design-item-selected {
1025
1025
  right: 0;
1026
1026
  z-index: 0;
1027
1027
  }
1028
- .yx-card-box-view-context[data-v-65a008af] {
1028
+ .yx-card-box-view-context[data-v-231a66cb] {
1029
1029
  gap: var(--layout-form-flex-gap, 15px);
1030
1030
  }
1031
- .yx-card-box-view-context[data-v-65a008af] > div {
1031
+ .yx-card-box-view-context[data-v-231a66cb] > div {
1032
1032
  width: 100%;
1033
1033
  }
1034
- .yx-card-box-view-context[data-v-65a008af] > div[style*="display: inline-block"] {
1034
+ .yx-card-box-view-context[data-v-231a66cb] > div[style*="display: inline-block"] {
1035
1035
  width: auto;
1036
1036
  }
1037
- .yx-card-box-view-context[data-v-65a008af] > .el-form-item {
1037
+ .yx-card-box-view-context[data-v-231a66cb] > .el-form-item {
1038
1038
  margin: 0;
1039
1039
  }
1040
- .yx-card-box-view-context[data-v-65a008af] > .el-form-item[class*=el-col-8] {
1040
+ .yx-card-box-view-context[data-v-231a66cb] > .el-form-item[class*=el-col-8] {
1041
1041
  flex: 0 0 calc((100% - var(--layout-form-flex-gap, 15px) * 2) / 3);
1042
1042
  }
1043
1043
  @media (max-width: 768px) {
1044
- .yx-card-box-view-context[data-v-65a008af] > .el-form-item[class*=el-col-8] {
1044
+ .yx-card-box-view-context[data-v-231a66cb] > .el-form-item[class*=el-col-8] {
1045
1045
  max-width: none;
1046
1046
  flex: 0 0 calc((100% - var(--layout-form-flex-gap, 15px) * 1) / 2);
1047
1047
  }
1048
1048
  }
1049
1049
  @media (max-width: 600px) {
1050
- .yx-card-box-view-context[data-v-65a008af] > .el-form-item[class*=el-col-8] {
1050
+ .yx-card-box-view-context[data-v-231a66cb] > .el-form-item[class*=el-col-8] {
1051
1051
  width: 100%;
1052
1052
  max-width: none;
1053
1053
  flex: auto;
@@ -1778,7 +1778,7 @@ fieldset.amb-design-item-selected {
1778
1778
  cursor: default;
1779
1779
  }
1780
1780
 
1781
- .seleteSort[data-v-30496704] {
1781
+ .seleteSort[data-v-307b2416] {
1782
1782
  border-radius: 5px;
1783
1783
  border: 1px solid rgba(88, 147, 239);
1784
1784
  }
@@ -10876,10 +10876,10 @@ fieldset.amb-design-item-selected {
10876
10876
  opacity: 0.5;
10877
10877
  background: #c8ebfb;
10878
10878
  }
10879
- li[data-v-e50b5e57] {
10879
+ li[data-v-f6dbf7b2] {
10880
10880
  color: #333;
10881
10881
  }
10882
- .context-menu[data-v-e50b5e57] {
10882
+ .context-menu[data-v-f6dbf7b2] {
10883
10883
  position: fixed;
10884
10884
  background: #fff;
10885
10885
  z-index: 999;
@@ -10887,7 +10887,7 @@ li[data-v-e50b5e57] {
10887
10887
  margin: 0;
10888
10888
  margin-top: 30px;
10889
10889
  }
10890
- .context-menu li[data-v-e50b5e57] {
10890
+ .context-menu li[data-v-f6dbf7b2] {
10891
10891
  min-width: 75px;
10892
10892
  height: 28px;
10893
10893
  line-height: 28px;
@@ -10895,19 +10895,19 @@ li[data-v-e50b5e57] {
10895
10895
  color: #1a1a1a;
10896
10896
  cursor: pointer;
10897
10897
  }
10898
- .context-menu li[data-v-e50b5e57]:hover {
10898
+ .context-menu li[data-v-f6dbf7b2]:hover {
10899
10899
  background: #5893ef;
10900
10900
  color: #fff;
10901
10901
  }
10902
- .context-menu[data-v-e50b5e57] {
10902
+ .context-menu[data-v-f6dbf7b2] {
10903
10903
  border: 1px solid #eee;
10904
10904
  box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
10905
10905
  border-radius: 5px;
10906
10906
  }
10907
- li[data-v-e50b5e57] {
10907
+ li[data-v-f6dbf7b2] {
10908
10908
  list-style-type: none;
10909
10909
  }
10910
- .amb-object-design-table-ref .super-grid-main-table-footer-view[data-v-e50b5e57] {
10910
+ .amb-object-design-table-ref .super-grid-main-table-footer-view[data-v-f6dbf7b2] {
10911
10911
  position: relative;
10912
10912
  display: flex;
10913
10913
  justify-content: space-between;
@@ -10916,7 +10916,7 @@ li[data-v-e50b5e57] {
10916
10916
  gap: var(--super-grid-main-view-gap, 10px);
10917
10917
  width: 100%;
10918
10918
  }
10919
- .amb-object-design-table-ref[data-v-e50b5e57] .el-pagination {
10919
+ .amb-object-design-table-ref[data-v-f6dbf7b2] .el-pagination {
10920
10920
  display: flex;
10921
10921
  flex-wrap: wrap;
10922
10922
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.2.91-sit7",
3
+ "version": "2.2.92-sit6",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -29,7 +29,7 @@
29
29
  "@vitejs/plugin-vue": "^5.0.4",
30
30
  "@vueuse/core": "^10.9.0",
31
31
  "agilebuilder-private-libs": "1.0.26",
32
- "agilebuilder-ui": "1.1.33-sit2",
32
+ "agilebuilder-ui": "1.1.35-sit2",
33
33
  "echarts": "^5.5.0",
34
34
  "element-plus": "^2.6.1",
35
35
  "font-awesome": "^4.7.0",
@@ -40,8 +40,8 @@
40
40
  "pinia": "^2.1.7",
41
41
  "qrcode": "^1.5.3",
42
42
  "quill": "^2.0.1",
43
- "service-flow-designer": "2.2.91-sit4",
44
- "super-page-runtime": "2.2.91-sit5",
43
+ "service-flow-designer": "2.2.92-sit5",
44
+ "super-page-runtime": "2.2.92-sit4",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",