super-page-designer 2.2.31 → 2.2.37

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.
@@ -204,7 +204,13 @@ function y(e2) {
204
204
  return e2.props.base.prop && "dynamicColumnSelect" === e2.props.base.prop ? JSON.stringify(e2.props.dynamicColumnData) : null;
205
205
  }
206
206
  function S(e2) {
207
- return Array.isArray(e2) && e2.length > 0 ? JSON.stringify(e2) : Array.isArray(e2) && 0 === e2.length ? null : e2;
207
+ if (Array.isArray(e2) && e2.length > 0) {
208
+ const t2 = [];
209
+ return e2.forEach((e3) => {
210
+ "int" === e3 ? t2.push("integer") : t2.push(e3);
211
+ }), JSON.stringify(t2);
212
+ }
213
+ return Array.isArray(e2) && 0 === e2.length ? null : e2;
208
214
  }
209
215
  function C(e2, t2) {
210
216
  let a2 = { uuid: e2.uuid, base: e2.props.base, dataOrigin: e2.props.dataOrigin, dynamicColumnData: e2.props.dynamicColumnData, editLine: e2.props.editLine, format: e2.props.format, verification: e2.props.verification, definition: e2.props.definition, size: e2.props.size };
@@ -215,17 +221,17 @@ function O(e2, t2) {
215
221
  e2[t3.dbColumnName] = t3;
216
222
  }), e2;
217
223
  }
218
- function T(e2, t2) {
224
+ function h(e2, t2) {
219
225
  let r2, a2 = e2.tableName;
220
226
  return a2 || (e2.tableRuntimes && t2 && e2.tableRuntimes[t2] && e2.pageType && "list" === e2.pageType && (r2 = JSON.parse(e2.tableRuntimes[t2].configure)), r2 && r2.props && r2.props.dataOrigin ? r2.props.dataOrigin.tableName : null);
221
227
  }
222
- function N(e2) {
228
+ function T(e2) {
223
229
  let t2 = [];
224
230
  return e2 && e2.forEach((e3) => {
225
231
  t2.push({ value: e3.dbColumnName, label: e3.alias, alias: e3.alias, dataType: e3.dataType });
226
232
  }), t2;
227
233
  }
228
- function h(e2, t2) {
234
+ function N(e2, t2) {
229
235
  var _a;
230
236
  const r2 = e2 ? e2.pageType : null;
231
237
  let a2, s2;
@@ -233,9 +239,9 @@ function h(e2, t2) {
233
239
  }
234
240
  export {
235
241
  O as changeFeieldToMap,
236
- N as getModelOptionsByFields,
237
- h as getTableConfigByTableUuid,
238
- T as getTableNameByTableUuid,
242
+ T as getModelOptionsByFields,
243
+ N as getTableConfigByTableUuid,
244
+ h as getTableNameByTableUuid,
239
245
  n as querySublist,
240
246
  s as queryTableFields,
241
247
  o as setTableRuntimesFromConfigure,
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as e, computed as l, resolveComponent as a, createBlock as t, openBlock as i, withCtx as d, createElementVNode as u, createVNode as o, createCommentVNode as s, createTextVNode as m, createElementBlock as n, Fragment as p, renderList as r } from "vue";
2
- import { PageDimensions as f } from "../../../utils/interfaces/page-design-types.js";
3
- import { usePageContextStore as c } from "../../../../../stores/page-store.js";
2
+ import { PageDimensions as c } from "../../../utils/interfaces/page-design-types.js";
3
+ import { usePageContextStore as f } from "../../../../../stores/page-store.js";
4
4
  const g = { style: { padding: "8px 0px 0px 0px" } }, h = e({ __name: "common-attr-size", props: { size: { type: Object, required: true }, showMaxHeight: { type: Boolean, default: false }, showCalcHeight: { type: Boolean, default: false } }, setup(e2) {
5
- const h2 = e2, b = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24], v = c(), x = v.pageContext ? v.pageContext : {}, V = l(() => {
5
+ const h2 = e2, b = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24], v = f(), x = v.pageContext ? v.pageContext : {}, V = l(() => {
6
6
  let e3 = x.dimensions;
7
- e3 || (e3 = f.PC);
7
+ e3 || (e3 = c.PC);
8
8
  let l2 = h2.size[e3];
9
9
  if (!l2) {
10
- if (l2 = {}, e3 !== f.PC) {
11
- const e4 = h2.size[f.PC];
10
+ if (l2 = {}, e3 !== c.PC) {
11
+ const e4 = h2.size[c.PC];
12
12
  e4 && Object.assign(l2, e4);
13
13
  }
14
14
  h2.size[e3] = l2;
15
15
  }
16
16
  return h2.size[e3];
17
17
  });
18
- return (l2, f2) => {
19
- const c2 = a("el-radio-button"), h3 = a("el-radio-group"), v2 = a("el-form-item"), x2 = a("el-option"), y = a("el-select"), _ = a("el-input"), C = a("el-switch"), H = a("el-collapse-item");
20
- return i(), t(H, { title: "尺寸", name: "attrSize", class: "amb-design-attr-group-header" }, { default: d(() => [u("div", g, [o(v2, { label: "宽度", class: "amb-design-attr-item" }, { default: d(() => [o(h3, { modelValue: V.value.widthType, "onUpdate:modelValue": f2[0] || (f2[0] = (e3) => V.value.widthType = e3) }, { default: d(() => [o(c2, { value: "flex" }, { default: d(() => f2[6] || (f2[6] = [m("24格")])), _: 1 }), o(c2, { value: "fix" }, { default: d(() => f2[7] || (f2[7] = [m("自定义")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fix" != V.value.widthType ? (i(), t(v2, { key: 0, class: "amb-design-attr-item", label: "栏数" }, { default: d(() => [o(y, { modelValue: V.value.flexSpan, "onUpdate:modelValue": f2[1] || (f2[1] = (e3) => V.value.flexSpan = e3), placeholder: "默认", clearable: "" }, { default: d(() => [(i(), n(p, null, r(b, (e3) => o(x2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "fix" == e2.size.widthType ? (i(), t(v2, { key: 1, class: "amb-design-attr-item", label: "宽度", title: "未设置时自动宽度,可设置百分比" }, { default: d(() => [o(_, { modelValue: V.value.fixWidth, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => V.value.fixWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.showCalcHeight ? (i(), t(v2, { key: 2, class: "amb-design-attr-item", label: "高度自适应" }, { default: d(() => [o(C, { modelValue: V.value.isCalcHeight, "onUpdate:modelValue": f2[3] || (f2[3] = (e3) => V.value.isCalcHeight = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), o(v2, { label: "高度", class: "amb-design-attr-item", title: "未设置时自动高度,可设置百分比" }, { default: d(() => [o(_, { disabled: V.value.isCalcHeight, modelValue: V.value.fixHeight, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => V.value.fixHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), o(v2, { label: "最大高度", title: "未设置时自动高度,可设置百分比", class: "amb-design-attr-item" }, { default: d(() => [o(_, { disabled: V.value.isCalcHeight, modelValue: V.value.maxHeight, "onUpdate:modelValue": f2[5] || (f2[5] = (e3) => V.value.maxHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 })])]), _: 1 });
18
+ return (l2, c2) => {
19
+ const f2 = a("el-radio-button"), h3 = a("el-radio-group"), v2 = a("el-form-item"), x2 = a("el-option"), y = a("el-select"), _ = a("el-input"), C = a("el-switch"), H = a("el-collapse-item");
20
+ return i(), t(H, { title: "尺寸", name: "attrSize", class: "amb-design-attr-group-header" }, { default: d(() => [u("div", g, [o(v2, { label: "宽度", class: "amb-design-attr-item" }, { default: d(() => [o(h3, { modelValue: V.value.widthType, "onUpdate:modelValue": c2[0] || (c2[0] = (e3) => V.value.widthType = e3) }, { default: d(() => [o(f2, { value: "flex" }, { default: d(() => c2[6] || (c2[6] = [m("24格")])), _: 1 }), o(f2, { value: "fix" }, { default: d(() => c2[7] || (c2[7] = [m("自定义")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fix" != V.value.widthType ? (i(), t(v2, { key: 0, class: "amb-design-attr-item", label: "栏数" }, { default: d(() => [o(y, { modelValue: V.value.flexSpan, "onUpdate:modelValue": c2[1] || (c2[1] = (e3) => V.value.flexSpan = e3), placeholder: "默认", clearable: "" }, { default: d(() => [(i(), n(p, null, r(b, (e3) => o(x2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "fix" == e2.size.widthType ? (i(), t(v2, { key: 1, class: "amb-design-attr-item", label: "宽度", title: "未设置时自动宽度,可设置百分比" }, { default: d(() => [o(_, { modelValue: V.value.fixWidth, "onUpdate:modelValue": c2[2] || (c2[2] = (e3) => V.value.fixWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.showCalcHeight ? (i(), t(v2, { key: 2, class: "amb-design-attr-item", label: "高度自适应" }, { default: d(() => [o(C, { modelValue: V.value.isCalcHeight, "onUpdate:modelValue": c2[3] || (c2[3] = (e3) => V.value.isCalcHeight = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), o(v2, { label: "高度", class: "amb-design-attr-item", title: "未设置时自动高度,可设置百分比" }, { default: d(() => [o(_, { disabled: V.value.isCalcHeight, clearable: "", modelValue: V.value.fixHeight, "onUpdate:modelValue": c2[4] || (c2[4] = (e3) => V.value.fixHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), o(v2, { label: "最大高度", title: "未设置时自动高度,可设置百分比", class: "amb-design-attr-item" }, { default: d(() => [o(_, { disabled: V.value.isCalcHeight, clearable: "", modelValue: V.value.maxHeight, "onUpdate:modelValue": c2[5] || (c2[5] = (e3) => V.value.maxHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 })])]), _: 1 });
21
21
  };
22
22
  } });
23
23
  export {
@@ -1,12 +1,13 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as d, createElementVNode as r, createTextVNode as i, toDisplayString as n } from "vue";
2
- import p from "../../common/common-attr-size.vue.js";
3
- const m = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
4
- const f2 = l(["1", "attrSize"]);
5
- return (l2, s) => {
6
- const c = a("el-text"), g = a("el-form-item"), _ = a("el-input"), V = a("el-radio-button"), x = a("el-radio-group"), b = a("el-collapse-item"), v = a("el-collapse"), y = a("el-form");
7
- return t(), o(y, { "label-width": "80px", size: "small" }, { default: u(() => [d(v, { modelValue: f2.value, "onUpdate:modelValue": s[4] || (s[4] = (e3) => f2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [d(b, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", m, [d(g, { label: "组件类型" }, { default: u(() => [d(c, null, { default: u(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [d(_, { modelValue: e2.configure.uuid, "onUpdate:modelValue": s[0] || (s[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [d(_, { modelValue: e2.configure.code, "onUpdate:modelValue": s[1] || (s[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "位置", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: u(() => [d(x, { modelValue: e2.configure.props.position, "onUpdate:modelValue": s[2] || (s[2] = (l3) => e2.configure.props.position = l3) }, { default: u(() => [d(V, { value: "default" }, { default: u(() => s[5] || (s[5] = [i("默认")])), _: 1 }), d(V, { value: "top" }, { default: u(() => s[6] || (s[6] = [i("顶部")])), _: 1 }), d(V, { value: "bottom" }, { default: u(() => s[7] || (s[7] = [i("底部")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(g, { label: "居中方式", style: { "margin-top": "20px" } }, { default: u(() => [d(x, { modelValue: e2.configure.props.align, "onUpdate:modelValue": s[3] || (s[3] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [d(V, { value: "left" }, { default: u(() => s[8] || (s[8] = [i("居左")])), _: 1 }), d(V, { value: "center" }, { default: u(() => s[9] || (s[9] = [i("居中")])), _: 1 }), d(V, { value: "flex-end" }, { default: u(() => s[10] || (s[10] = [i("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(p, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
1
+ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as i, openBlock as a, withCtx as u, createVNode as t, createElementVNode as d, createCommentVNode as n, createTextVNode as p, toDisplayString as r, unref as f } from "vue";
2
+ import s from "../../common/common-attr-size.vue.js";
3
+ import { Close as c, Check as m } from "@element-plus/icons-vue";
4
+ const g = { style: { padding: "8px 0px 0px 0px" } }, x = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
5
+ const x2 = l(["1", "attrSize"]);
6
+ return (l2, V) => {
7
+ const b = o("el-text"), _ = o("el-form-item"), v = o("el-input"), y = o("el-radio-button"), U = o("el-radio-group"), F = o("el-input-number"), z = o("el-switch"), A = o("el-collapse-item"), h = o("el-collapse"), j = o("el-form");
8
+ return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: x2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => x2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(_, { label: "组件类型" }, { default: u(() => [t(b, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V[0] || (V[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": V[1] || (V[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": V[2] || (V[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => V[9] || (V[9] = [p("居左")])), _: 1 }), t(y, { value: "center" }, { default: u(() => V[10] || (V[10] = [p("居中")])), _: 1 }), t(y, { value: "flex-end" }, { default: u(() => V[11] || (V[11] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": V[3] || (V[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": V[4] || (V[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(_, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": V[5] || (V[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": V[6] || (V[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => V[12] || (V[12] = [p("默认")])), _: 1 }), t(y, { value: "top" }, { default: u(() => V[13] || (V[13] = [p("顶部")])), _: 1 }), t(y, { value: "bottom" }, { default: u(() => V[14] || (V[14] = [p("底部")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": V[7] || (V[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
8
9
  };
9
10
  } });
10
11
  export {
11
- f as default
12
+ x as default
12
13
  };
@@ -1,84 +1,76 @@
1
- import { defineComponent as e, ref as t, watch as n, computed as i, onMounted as o, onUnmounted as s, createElementBlock as u, openBlock as l, createElementVNode as r, normalizeStyle as g, normalizeClass as c, Fragment as m, renderList as p, createBlock as f, reactive as a } from "vue";
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
3
  import b from "../../object-design.vue.js";
4
4
  import { deepCopy as v, getUuidv4 as y } from "../../../../utils/common-util.js";
5
- import { caculateComponentStyle as x } from "../../../../utils/container-design-util.js";
5
+ import { caculateComponentStyle as j } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
7
- import { copyHandleEvents as h, deleteDesignItem as j } from "../../../../utils/page-design-util.js";
7
+ import { copyHandleEvents as x, deleteDesignItem as h } from "../../../../utils/page-design-util.js";
8
8
  import { getInputTypeComponentNames as O } from "../../../../utils/assemblys-config.js";
9
- const C = { class: "amb-widget-tools-parent amb-design-item-default", style: { width: "99.5%" } }, W = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: W2 }) {
10
- const D = e2;
11
- D.configure.items || (D.configure.items = []), null == D.configure.style && (D.configure.style = {}), null == D.configure.props && (D.configure.props = {}), D.configure.runtime || (D.configure.runtime = {});
12
- const w = t({}), A = t("");
13
- n(D.configure.style, () => {
14
- I();
15
- }), n(D.configure.props, () => {
16
- I();
9
+ const W = { class: "amb-widget-tools-parent amb-design-item-default", style: { width: "99.5%" } }, D = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
10
+ const C = e2;
11
+ C.configure.items || (C.configure.items = []), null == C.configure.style && (C.configure.style = {}), C.configure.props = { isAffix: true, position: "top", ...C.configure.props ?? {} }, C.configure.runtime || (C.configure.runtime = {});
12
+ const w = t({}), A = t(""), k = n(() => {
13
+ const { gap: e3 } = C.configure.props ?? {};
14
+ return { ...e3 ? { gap: `${e3}px` } : {}, ...w.value ?? {} };
17
15
  });
18
- const N = O(), R = i(() => [...D.configure.items]);
19
- function k(e3) {
16
+ i(C.configure.style, () => {
17
+ R();
18
+ }), i(C.configure.props, () => {
19
+ R();
20
+ });
21
+ const I = O(), S = n(() => [...C.configure.items]);
22
+ function _(e3) {
20
23
  e3.forEach((e4) => {
21
24
  var _a, _b, _c, _d;
22
- if (e4.items && e4.items.length > 0 && k(e4.items), N.includes(e4.name)) {
25
+ if (e4.items && e4.items.length > 0 && _(e4.items), I.includes(e4.name)) {
23
26
  const t2 = { uuid: e4.uuid, defaultValue: (_b = (_a = e4.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.defaultValue, prop: (_d = (_c = e4.runtime) == null ? void 0 : _c.props) == null ? void 0 : _d.prop };
24
- D.pageDesign.toolsInputComponents.push(t2);
27
+ C.pageDesign.toolsInputComponents.push(t2);
25
28
  }
26
29
  });
27
30
  }
28
- n(R, (e3, t2) => {
29
- e3.length > t2.length && _(D.indexObj.index, e3[e3.length - 1]), "list" === D.pageDesign.pageType && (D.pageDesign.toolsInputComponents = [], k(e3));
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));
30
33
  }, { important: true, deep: true });
31
- const B = t(null);
32
- function I() {
33
- x(D.configure, w, A, null);
34
- const e3 = D.configure.props;
35
- if ("flex-end" == e3.align ? w.value["justify-content"] = "right" : "center" == e3.align && (w.value["justify-content"] = "center"), D.configure.runtime.style = w.value, D.configure.runtime.class = A.value, B.value) {
36
- const e4 = D.configure.props.position;
37
- if ("top1" == e4 || "bottom1" == e4) {
38
- const t2 = { position: "fixed !important", "z-index": "1" }, n2 = document.getElementsByClassName("amb-design-board");
39
- if (n2 && n2.length > 0) {
40
- const i3 = n2[0].getBoundingClientRect();
41
- "top" == e4 && (t2.top = i3.top + "px"), "bottom" == e4 && (t2.bottom = "10px");
42
- }
43
- const i2 = B.value.parentNode.getBoundingClientRect();
44
- t2.width = i2.width - 25 + "px", Object.assign(w.value, t2);
45
- }
46
- }
34
+ const N = t(null);
35
+ function R() {
36
+ j(C.configure, w, A, null);
37
+ const e3 = C.configure.props;
38
+ "flex-end" == e3.align ? w.value["justify-content"] = "right" : "center" == e3.align && (w.value["justify-content"] = "center"), C.configure.runtime.style = w.value, C.configure.runtime.class = A.value;
47
39
  }
48
- d(B, D.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
49
- if (D.configure && D.configure.items) {
50
- const t2 = e3.newIndex, n2 = D.configure.items[t2];
40
+ d(N, C.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
41
+ if (C.configure && C.configure.items) {
42
+ const t2 = e3.newIndex, n2 = C.configure.items[t2];
51
43
  n2.style || (n2.style = {});
52
44
  }
53
45
  } }), o(() => {
54
- if (I(), B.value.parentNode) {
46
+ if (R(), N.value.parentNode) {
55
47
  new ResizeObserver((e3) => {
56
48
  for (let t2 of e3) ;
57
- I();
58
- }).observe(B.value.parentNode);
49
+ R();
50
+ }).observe(N.value.parentNode);
59
51
  }
60
52
  }), s(() => {
61
53
  });
62
- const S = W2;
63
- function _(e3, t2) {
64
- S("onSelectWidget", e3, t2);
65
- }
54
+ const V = D2;
66
55
  function z(e3, t2) {
67
- S("onCustomAttrWidget", e3, t2);
56
+ V("onSelectWidget", e3, t2);
57
+ }
58
+ function E(e3, t2) {
59
+ V("onCustomAttrWidget", e3, t2);
68
60
  }
69
- function E(e3) {
70
- let t2 = D.configure.items;
61
+ function F(e3) {
62
+ let t2 = C.configure.items;
71
63
  const n2 = t2.indexOf(e3);
72
64
  if (-1 == n2) return void alert("无可复制对象!");
73
65
  const i2 = a(v(e3));
74
- i2.uuid = y(), h(i2), t2.splice(n2, 0, i2);
66
+ i2.uuid = y(), x(i2), t2.splice(n2, 0, i2);
75
67
  }
76
- function V(e3) {
77
- let t2 = D.configure.items;
78
- j(t2, e3, e3.items && e3.items.length > 0, true);
68
+ function T(e3) {
69
+ let t2 = C.configure.items;
70
+ h(t2, e3, e3.items && e3.items.length > 0, true);
79
71
  }
80
- return (e3, t2) => (l(), u("div", C, [r("div", { class: c(["amb-widget-tools", A.value]), style: g([w.value, { display: "flex" }]), ref_key: "thisRef", ref: B }, [(l(true), u(m, null, p(e3.configure.items, (t3, n2) => (l(), f(b, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: _, onOnCustomAttrWidget: z, onOnCopy: E, onOnDelete: V }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
72
+ return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", A.value]), style: g([k.value, { display: "flex" }]), 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)]));
81
73
  } });
82
74
  export {
83
- W as default
75
+ D as default
84
76
  };
@@ -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-b3158a02"]]);
4
+ const t = r(o, [["__scopeId", "data-v-f4fba280"]]);
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 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";
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 m, createElementBlock as f, 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";
@@ -40,10 +40,10 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
40
40
  function ge() {
41
41
  Y.value.openDialog();
42
42
  }
43
- function fe() {
43
+ function me() {
44
44
  H2.configure.props.dataOrigin.tableName = "", H2.configure.props.dataOrigin.alias = "", H2.configure.modelFields = [];
45
45
  }
46
- function me(e3) {
46
+ function fe(e3) {
47
47
  let a2 = H2.configure.tableSysCode ? H2.configure.tableSysCode : "";
48
48
  a2 += "_", a2 += H2.configure.tableSysVersion ? H2.configure.tableSysVersion : "", a2 += "_", a2 += H2.configure.props.dataOrigin.tableName ? H2.configure.props.dataOrigin.tableName : "";
49
49
  let l2 = e3.systemCode ? e3.systemCode : "";
@@ -77,7 +77,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
77
77
  }();
78
78
  }
79
79
  !function() {
80
- const e3 = H2.pageDesign.systemCode, a2 = H2.pageDesign.version, l2 = { name: H2.configure.props.dataOrigin.tableName };
80
+ const e3 = H2.pageDesign.systemCode, a2 = H2.pageDesign.systemVersion, l2 = { name: H2.configure.props.dataOrigin.tableName };
81
81
  N(e3, a2, l2.name).then((e4) => {
82
82
  ue.value = e4, J.addFieldList(e4);
83
83
  });
@@ -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, [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
- 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;
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), [[m, "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), [[m, "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), [[m, "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: me, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }, 512), [[m, "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
+ const e4 = H2.configure.tableSysCode ? H2.configure.tableSysCode : H2.pageDesign.systemCode, a3 = H2.configure.tableSysVersion ? H2.configure.tableSysVersion : H2.pageDesign.systemVersion, l3 = H2.configure.props.dataOrigin.tableName;
111
111
  N(e4, a3, l3).then((e5) => {
112
112
  ue.value = e5, P.value = true;
113
113
  });
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) {
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), f(v, null, b(e2.configure.props.dataOrigin.sortField, (a3, l3) => (t(), f("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") }, [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 });
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), f(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), [[m, "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), [[m, 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), f(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), f(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), f(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), f(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"]), [[m, "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), s(T, { ref_key: "selectTableDialog", ref: Y, onSelectTable: fe, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, 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,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as p, createElementBlock as u, createCommentVNode as n, Fragment as r, renderList as d } from "vue";
2
- const m = e({ __name: "variate-select", props: { prop: { type: String, default: "" }, propType: { type: String, default: "" }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, showDynamicColumn: { type: Boolean, default: false }, showPlaceholder: { type: Boolean, default: false } }, emits: ["update:prop", "update:propType"], setup(e2, { emit: m2 }) {
2
+ const m = e({ __name: "variate-select", props: { prop: { type: String, default: "" }, propType: { type: String, default: "" }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, showDynamicColumn: { type: Boolean, default: false }, showPlaceholder: { type: Boolean, default: false }, multiple: { type: Boolean, default: false } }, emits: ["update:prop", "update:propType"], setup(e2, { emit: m2 }) {
3
3
  const i = e2, c = m2, s = l("");
4
4
  function y() {
5
5
  c("update:prop", s), "dynamicColumnSelect" !== s && null !== s && "" != i.propType && i.tableConfigure.modelFields.forEach((e3) => {
@@ -8,7 +8,7 @@ const m = e({ __name: "variate-select", props: { prop: { type: String, default:
8
8
  }
9
9
  return i.prop && (s.value = i.prop), (l2, m3) => {
10
10
  const i2 = a("el-option"), c2 = a("el-select");
11
- return t(), o(c2, { modelValue: s.value, "onUpdate:modelValue": m3[0] || (m3[0] = (e3) => s.value = e3), clearable: "", filterable: "", "allow-create": "", "default-first-option": "", onChange: y }, { default: p(() => [(t(true), u(r, null, d(e2.tableConfigure.modelFields, (e3, l3) => (t(), o(i2, { key: l3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128)), e2.showDynamicColumn ? (t(), o(i2, { key: 0, label: "动态列", value: "dynamicColumnSelect" })) : n("", true), e2.showPlaceholder ? (t(), o(i2, { key: 1, label: "占位符", value: null })) : n("", true)]), _: 1 }, 8, ["modelValue"]);
11
+ return t(), o(c2, { modelValue: s.value, "onUpdate:modelValue": m3[0] || (m3[0] = (e3) => s.value = e3), multiple: e2.multiple, clearable: "", filterable: "", "allow-create": "", "default-first-option": "", onChange: y }, { default: p(() => [(t(true), u(r, null, d(e2.tableConfigure.modelFields, (e3, l3) => (t(), o(i2, { key: l3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128)), e2.showDynamicColumn ? (t(), o(i2, { key: 0, label: "动态列", value: "dynamicColumnSelect" })) : n("", true), e2.showPlaceholder ? (t(), o(i2, { key: 1, label: "占位符", value: null })) : n("", true)]), _: 1 }, 8, ["modelValue", "multiple"]);
12
12
  };
13
13
  } });
14
14
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, watch as a, onMounted as t, resolveComponent as o, createBlock as i, openBlock as r, withCtx as u, createVNode as n, createCommentVNode as s, createElementVNode as d, createElementBlock as p, Fragment as g, renderList as c, createTextVNode as f, unref as m } from "vue";
1
+ import { defineComponent as e, ref as l, watch as a, onMounted as t, resolveComponent as o, createBlock as i, openBlock as r, withCtx as u, createVNode as n, createCommentVNode as d, createElementVNode as s, createElementBlock as p, Fragment as g, renderList as m, createTextVNode as c, unref as f } from "vue";
2
2
  import { Codemirror as b } from "vue-codemirror";
3
3
  import { Plus as V, Remove as h, Delete as _ } from "@element-plus/icons-vue";
4
4
  import v from "../component/variate-select.vue.js";
@@ -7,8 +7,8 @@ import y from "../component/import-header.vue.js";
7
7
  import { querySublist as x, queryTableFields as D, changeFeieldToMap as T } from "../../../../utils/page-table-util.js";
8
8
  import C from "../../workflow/component/combination.vue.js";
9
9
  import w from "../../common/common-select-table.vue.js";
10
- import { Search as U, Close as k } from "@element-plus/icons";
11
- import O from "../../common/state-button.vue.js";
10
+ import { Search as O, Close as U } from "@element-plus/icons";
11
+ import k from "../../common/state-button.vue.js";
12
12
  import "super-page-runtime";
13
13
  const N = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, Q = { key: 0 }, E = { key: 1 }, K = { style: { display: "flex", width: "100%" } }, M = { style: { padding: "8px 0px 0px 0px" } }, R = e({ __name: "table-attr-advanced", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => {
14
14
  } } }, setup(e2) {
@@ -56,19 +56,19 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8p
56
56
  A.value = e4;
57
57
  });
58
58
  }), t(() => {
59
- ee(R2.configure.props.otherSettings.tableSysCode ? R2.configure.props.otherSettings.tableSysCode : R2.pageDesign.systemCode, R2.configure.props.otherSettings.tableSysVersion ? R2.configure.props.otherSettings.tableSysVersion : R2.pageDesign.version, R2.configure.props.otherSettings.sourceDataTable);
59
+ ee(R2.pageDesign.systemCode, R2.pageDesign.systemVersion, R2.configure.props.dataOrigin.tableName);
60
60
  }), R2.configure.props.otherSettings.fillTableData || (R2.configure.props.otherSettings.fillTableData = [{}]), R2.configure.props.otherSettings.fixedValueTableData || (R2.configure.props.otherSettings.fixedValueTableData = [{}]), (l2, a2) => {
61
- const t2 = o("el-collapse-item"), x2 = o("el-form-item"), D2 = o("el-option"), T2 = o("el-select"), ee2 = o("el-button"), ie = o("el-radio"), re = o("el-radio-group"), ue = o("el-input"), ne = o("el-icon"), se = o("el-table-column"), de = o("el-table"), pe = o("el-col"), ge = o("el-row"), ce = o("el-checkbox"), fe = o("el-checkbox-group"), me = o("el-divider"), be = o("el-input-number"), Ve = o("el-collapse"), he = o("el-dialog"), _e = o("el-form");
62
- return r(), i(_e, { "label-width": "80px", size: "small" }, { default: u(() => [n(Ve, { modelValue: J.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => J.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [n(t2, { title: "组合表头", name: "compositeHeader", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", N, [n(S, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "合并设置", name: "amalgamated", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", L, [n(x2, { label: "相同值时合并字段", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [n(v, { modelValue: e2.configure.props.highOrder.mergeField, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.highOrder.mergeField = l3), tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), n(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.highOrder.mergeDefined, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.props.highOrder.mergeDefined = l3), placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.events, (e3, l3) => (r(), i(D2, { key: l3, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "展开行内容", name: "unfoldConent", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [n(x2, { label: "展开内容", class: "amb-design-attr-item" }, { default: u(() => [n(ee2, { type: "primary", onClick: a2[2] || (a2[2] = (e3) => W.value = true) }, { default: u(() => a2[26] || (a2[26] = [f("全屏编辑")])), _: 1 })]), _: 1 }), n(m(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"]), n(x2, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpand, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.dataOrigin.defaultExpand = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[27] || (a2[27] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[28] || (a2[28] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "树表格", name: "treeTable", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", P, [n(x2, { label: "启用树表格", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.treeTable, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.dataOrigin.treeTable = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[29] || (a2[29] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[30] || (a2[30] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { required: "", label: "父级字段", class: "amb-design-attr-item" }, { default: u(() => [n(v, { modelValue: e2.configure.props.dataOrigin.rowKey, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.dataOrigin.rowKey = l3), tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 0, label: "懒加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.lazy, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.dataOrigin.lazy = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[31] || (a2[31] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[32] || (a2[32] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.rowKey && !e2.configure.props.dataOrigin.lazy ? (r(), i(x2, { key: 1, label: "展开子节点", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpandAll, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.dataOrigin.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[33] || (a2[33] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[34] || (a2[34] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 2, label: "树节点缩减", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.dataOrigin.indent, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.dataOrigin.indent = l3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.configure.props.dataOrigin.treeTable ? (r(), i(x2, { key: 3, label: "关联父子节点选中状态", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.checkStrictly, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.dataOrigin.checkStrictly = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[35] || (a2[35] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[36] || (a2[36] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true)])]), _: 1 }), n(t2, { title: "删除逻辑控制", name: "deleteLogic", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", j, [a2[39] || (a2[39] = d("span", null, "以下子表有记录时不能执行删除", -1)), n(de, { data: e2.configure.props.deleteLogicSetting, border: "", fit: "", "highlight-current-row": "" }, { default: u(() => [n(se, { label: "操作", align: "center", width: "50" }, { default: u((e3) => [n(ne, { onClick: le }, { default: u(() => [n(m(V))]), _: 1 }), n(ne, { style: { "margin-left": "5px" }, onClick: (l3) => {
61
+ const t2 = o("el-collapse-item"), x2 = o("el-form-item"), D2 = o("el-option"), T2 = o("el-select"), ee2 = o("el-button"), ie = o("el-radio"), re = o("el-radio-group"), ue = o("el-input"), ne = o("el-icon"), de = o("el-table-column"), se = o("el-table"), pe = o("el-col"), ge = o("el-row"), me = o("el-checkbox"), ce = o("el-checkbox-group"), fe = o("el-divider"), be = o("el-input-number"), Ve = o("el-collapse"), he = o("el-dialog"), _e = o("el-form");
62
+ return r(), i(_e, { "label-width": "80px", size: "small" }, { default: u(() => [n(Ve, { modelValue: J.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => J.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [n(t2, { title: "组合表头", name: "compositeHeader", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", N, [n(S, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "合并设置", name: "amalgamated", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", L, [n(x2, { label: "相同值时合并字段", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [n(v, { modelValue: e2.configure.props.highOrder.mergeFields, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.highOrder.mergeFields = l3), multiple: true, tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), n(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.highOrder.mergeDefined, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.props.highOrder.mergeDefined = l3), placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, m(e2.configure.events, (e3, l3) => (r(), i(D2, { key: l3, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "展开行内容", name: "unfoldConent", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", z, [n(x2, { label: "展开内容", class: "amb-design-attr-item" }, { default: u(() => [n(ee2, { type: "primary", onClick: a2[2] || (a2[2] = (e3) => W.value = true) }, { default: u(() => a2[26] || (a2[26] = [c("全屏编辑")])), _: 1 })]), _: 1 }), n(f(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"]), n(x2, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpand, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.dataOrigin.defaultExpand = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[27] || (a2[27] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[28] || (a2[28] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "树表格", name: "treeTable", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", P, [n(x2, { label: "启用树表格", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.treeTable, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.dataOrigin.treeTable = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[29] || (a2[29] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[30] || (a2[30] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { required: "", label: "父级字段", class: "amb-design-attr-item" }, { default: u(() => [n(v, { modelValue: e2.configure.props.dataOrigin.rowKey, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.dataOrigin.rowKey = l3), tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 0, label: "懒加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.lazy, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.dataOrigin.lazy = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[31] || (a2[31] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[32] || (a2[32] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.dataOrigin.rowKey && !e2.configure.props.dataOrigin.lazy ? (r(), i(x2, { key: 1, label: "展开子节点", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpandAll, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.dataOrigin.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[33] || (a2[33] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[34] || (a2[34] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 2, label: "树节点缩减", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.dataOrigin.indent, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.dataOrigin.indent = l3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.dataOrigin.treeTable ? (r(), i(x2, { key: 3, label: "关联父子节点选中状态", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.checkStrictly, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.dataOrigin.checkStrictly = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[35] || (a2[35] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[36] || (a2[36] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true)])]), _: 1 }), n(t2, { title: "删除逻辑控制", name: "deleteLogic", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", j, [a2[39] || (a2[39] = s("span", null, "以下子表有记录时不能执行删除", -1)), n(se, { data: e2.configure.props.deleteLogicSetting, border: "", fit: "", "highlight-current-row": "" }, { default: u(() => [n(de, { label: "操作", align: "center", width: "50" }, { default: u((e3) => [n(ne, { onClick: le }, { default: u(() => [n(f(V))]), _: 1 }), n(ne, { style: { "margin-left": "5px" }, onClick: (l3) => {
63
63
  return a3 = e3.$index, void (1 === R2.configure.props.deleteLogicSetting.length ? R2.configure.props.deleteLogicSetting[0].secondTable = "" : R2.configure.props.deleteLogicSetting = R2.configure.props.deleteLogicSetting.filter((e4, l4) => l4 != a3));
64
64
  var a3;
65
- } }, { default: u(() => [n(m(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(se, { label: "子表配置" }, { default: u((e3) => [n(T2, { modelValue: e3.row.secondTable, "onUpdate:modelValue": (l3) => e3.row.secondTable = l3, clearable: "", size: "default" }, { default: u(() => [(r(true), p(g, null, c(A.value, (e4) => (r(), i(D2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(x2, { label: "逻辑删除", title: "是否逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.isSafeDelete = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[37] || (a2[37] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[38] || (a2[38] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "导入配置", name: "importSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", F, [n(x2, { label: "重复处理", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.importSetting.listViewImportDuplicate, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.importSetting.listViewImportDuplicate = l3), class: "ml-4" }, { default: u(() => [n(ge, null, { default: u(() => [n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "update" }, { default: u(() => a2[40] || (a2[40] = [f("更新数据")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "skip" }, { default: u(() => a2[41] || (a2[41] = [f("跳过")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "termination" }, { default: u(() => a2[42] || (a2[42] = [f("中止导入")])), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "初始化配置", name: "initialConfig", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", $, [n(x2, { label: "初始化子表", title: "初始化子表", class: "amb-design-attr-item" }, { default: u(() => [n(fe, { modelValue: e2.configure.props.otherSettings.timeToInitializeSubTable, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.otherSettings.timeToInitializeSubTable = l3) }, { default: u(() => [n(ce, { label: "新建表单时", value: "create" }), n(ce, { label: "子表无项目时", value: "noData" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "移动端标题", title: "移动端行标题", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.mobileLineTitle, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.otherSettings.mobileLineTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "数据来源", title: "子表内容数据来源", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.otherSettings.dataSources, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.otherSettings.dataSources = l3), clearable: "" }, { default: u(() => [n(D2, { label: "子表内容从其他数据表填充", value: "otherDataTable" }), n(D2, { label: "固定值", value: "fixedValue" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fixedValue" === e2.configure.props.otherSettings.dataSources ? (r(), p("div", Q, [n(me, null, { default: u(() => a2[43] || (a2[43] = [f(" 固定值 ")])), _: 1 }), n(de, { data: e2.configure.props.otherSettings.fixedValueTableData, style: { width: "100%" } }, { default: u(() => [n(se, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fixedValueTableData.push({})) }, { default: u(() => [n(m(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
65
+ } }, { default: u(() => [n(f(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { label: "子表配置" }, { default: u((e3) => [n(T2, { modelValue: e3.row.secondTable, "onUpdate:modelValue": (l3) => e3.row.secondTable = l3, clearable: "", size: "default" }, { default: u(() => [(r(true), p(g, null, m(A.value, (e4) => (r(), i(D2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(x2, { label: "逻辑删除", title: "是否逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.isSafeDelete = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[37] || (a2[37] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[38] || (a2[38] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "导入配置", name: "importSetting", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", F, [n(x2, { label: "重复处理", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.importSetting.listViewImportDuplicate, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.importSetting.listViewImportDuplicate = l3), class: "ml-4" }, { default: u(() => [n(ge, null, { default: u(() => [n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "update" }, { default: u(() => a2[40] || (a2[40] = [c("更新数据")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "skip" }, { default: u(() => a2[41] || (a2[41] = [c("跳过")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "termination" }, { default: u(() => a2[42] || (a2[42] = [c("中止导入")])), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "初始化配置", name: "initialConfig", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", $, [n(x2, { label: "初始化子表", title: "初始化子表", class: "amb-design-attr-item" }, { default: u(() => [n(ce, { modelValue: e2.configure.props.otherSettings.timeToInitializeSubTable, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.otherSettings.timeToInitializeSubTable = l3) }, { default: u(() => [n(me, { label: "新建表单时", value: "create" }), n(me, { label: "子表无项目时", value: "noData" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "移动端标题", title: "移动端行标题", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.mobileLineTitle, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.otherSettings.mobileLineTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "数据来源", title: "子表内容数据来源", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.otherSettings.dataSources, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.otherSettings.dataSources = l3), clearable: "" }, { default: u(() => [n(D2, { label: "子表内容从其他数据表填充", value: "otherDataTable" }), n(D2, { label: "固定值", value: "fixedValue" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fixedValue" === e2.configure.props.otherSettings.dataSources ? (r(), p("div", Q, [n(fe, null, { default: u(() => a2[43] || (a2[43] = [c(" 固定值 ")])), _: 1 }), n(se, { data: e2.configure.props.otherSettings.fixedValueTableData, style: { width: "100%" } }, { default: u(() => [n(de, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fixedValueTableData.push({})) }, { default: u(() => [n(f(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
66
66
  return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fixedValueTableData.length ? (R2.configure.props.otherSettings.fixedValueTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fixedValueTableData[0].optionGroupCode = "", R2.configure.props.otherSettings.fixedValueTableData[0].fixedValue = "") : R2.configure.props.otherSettings.fixedValueTableData.splice(a3, 1));
67
67
  var a3;
68
- } }, { default: u(() => [n(m(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(se, { prop: "label", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.sourcePropName, "onUpdate:modelValue": (e3) => l3.row.sourcePropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "选项组编码", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.optionGroupCode, "onUpdate:modelValue": (l3) => e3.row.optionGroupCode = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "固定值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.fixedValue, "onUpdate:modelValue": (l3) => e3.row.fixedValue = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])])) : (r(), p("div", E, [n(me, null, { default: u(() => a2[44] || (a2[44] = [f(" 来源 ")])), _: 1 }), n(x2, { label: "数据表", title: "数据表", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.sourceDataTable, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.otherSettings.sourceDataTable = l3), title: e2.configure.props.otherSettings.sourceDataTable, clearable: "", readonly: "true" }, { append: u(() => [n(ee2, { icon: m(U), onClick: X, size: "small" }, null, 8, ["icon"]), n(ee2, { icon: m(k), onClick: Y, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(x2, { label: "排序", title: "排序", class: "amb-design-attr-item" }, { default: u(() => [d("div", K, [n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortColumn, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortColumn = l3), clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, c(q.value, (e3) => (r(), i(D2, { key: e3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortOrder, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortOrder = l3), style: { width: "120px", "margin-left": "10px" }, clearable: "" }, { default: u(() => [n(D2, { label: "升序", value: "asc" }), n(D2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), n(x2, { label: "条件", class: "amb-design-attr-item" }, { default: u(() => [n(O, { onClick: a2[19] || (a2[19] = (e3) => H.value = true), conditionData: JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) }, null, 8, ["conditionData"])]), _: 1 }), n(me, null, { default: u(() => a2[45] || (a2[45] = [f(" 填充至 ")])), _: 1 }), n(x2, { label: "来源过滤", title: "来源过滤条件中对象变化时加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isRealTimeChange, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.otherSettings.isRealTimeChange = l3), class: "ml-4", onChange: te }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[46] || (a2[46] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[47] || (a2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(de, { data: e2.configure.props.otherSettings.fillTableData, style: { width: "100%" } }, { default: u(() => [n(se, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fillTableData.push({})) }, { default: u(() => [n(m(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
68
+ } }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.sourcePropName, "onUpdate:modelValue": (e3) => l3.row.sourcePropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, m(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "选项组编码", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.optionGroupCode, "onUpdate:modelValue": (l3) => e3.row.optionGroupCode = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "固定值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.fixedValue, "onUpdate:modelValue": (l3) => e3.row.fixedValue = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])])) : (r(), p("div", E, [n(fe, null, { default: u(() => a2[44] || (a2[44] = [c(" 来源 ")])), _: 1 }), n(x2, { label: "数据表", title: "数据表", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.sourceDataTable, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.otherSettings.sourceDataTable = l3), title: e2.configure.props.otherSettings.sourceDataTable, clearable: "", readonly: "true" }, { append: u(() => [n(ee2, { icon: f(O), onClick: X, size: "small" }, null, 8, ["icon"]), n(ee2, { icon: f(U), onClick: Y, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(x2, { label: "排序", title: "排序", class: "amb-design-attr-item" }, { default: u(() => [s("div", K, [n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortColumn, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortColumn = l3), clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, m(q.value, (e3) => (r(), i(D2, { key: e3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortOrder, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortOrder = l3), style: { width: "120px", "margin-left": "10px" }, clearable: "" }, { default: u(() => [n(D2, { label: "升序", value: "asc" }), n(D2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), n(x2, { label: "条件", class: "amb-design-attr-item" }, { default: u(() => [n(k, { onClick: a2[19] || (a2[19] = (e3) => H.value = true), conditionData: JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) }, null, 8, ["conditionData"])]), _: 1 }), n(fe, null, { default: u(() => a2[45] || (a2[45] = [c(" 填充至 ")])), _: 1 }), n(x2, { label: "来源过滤", title: "来源过滤条件中对象变化时加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isRealTimeChange, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.otherSettings.isRealTimeChange = l3), class: "ml-4", onChange: te }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[46] || (a2[46] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[47] || (a2[47] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(se, { data: e2.configure.props.otherSettings.fillTableData, style: { width: "100%" } }, { default: u(() => [n(de, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fillTableData.push({})) }, { default: u(() => [n(f(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
69
69
  return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fillTableData.length ? (R2.configure.props.otherSettings.fillTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fillTableData[0].childPropName = "", R2.configure.props.otherSettings.fillTableData[0].defaultValue = "") : R2.configure.props.otherSettings.fillTableData.splice(a3, 1));
70
70
  var a3;
71
- } }, { default: u(() => [n(m(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(se, { prop: "label", label: "来源字段", width: "90", align: "center" }, { default: u((e3) => [n(T2, { modelValue: e3.row.sourcePropName, "onUpdate:modelValue": (l3) => e3.row.sourcePropName = l3, clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, c(q.value, (e4) => (r(), i(D2, { key: e4, label: e4.alias, value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.childPropName, "onUpdate:modelValue": (e3) => l3.row.childPropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(se, { prop: "value", label: "默认值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.defaultValue, "onUpdate:modelValue": (l3) => e3.row.defaultValue = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]))])]), _: 1 }), n(t2, { title: "其他", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", M, [n(x2, { label: "数据权限", title: "数据权限限制", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isWithDataPermission, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.otherSettings.isWithDataPermission = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[48] || (a2[48] = [f("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[49] || (a2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "记录最大数", title: "表格记录最大数量", class: "amb-design-attr-item" }, { default: u(() => [n(be, { modelValue: e2.configure.props.otherSettings.tableRecordMaxNum, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.otherSettings.tableRecordMaxNum = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(w, { ref_key: "selectTableDialog", ref: G, onSelectTable: Z, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.version }, null, 8, ["systemCode", "systemVersion"]), H.value ? (r(), i(C, { key: 0, list: e2.configure.props.otherSettings.sourceQueryTableData ? JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) : null, fieldNameList: q.value, fieldMap: B.value, dataFieldNameList: e2.pageDesign.modelFields, paramTypes: ["data", "page", "task", "context", "system", "request", "fixed"], onSave: ae, onClose: oe }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : s("", true)]), _: 1 }, 8, ["modelValue"]), n(he, { modelValue: W.value, "onUpdate:modelValue": a2[25] || (a2[25] = (e3) => W.value = e3), fullscreen: "" }, { default: u(() => [n(m(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[24] || (a2[24] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
71
+ } }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "来源字段", width: "90", align: "center" }, { default: u((e3) => [n(T2, { modelValue: e3.row.sourcePropName, "onUpdate:modelValue": (l3) => e3.row.sourcePropName = l3, clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, m(q.value, (e4) => (r(), i(D2, { key: e4, label: e4.alias, value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.childPropName, "onUpdate:modelValue": (e3) => l3.row.childPropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, m(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "默认值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.defaultValue, "onUpdate:modelValue": (l3) => e3.row.defaultValue = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]))])]), _: 1 }), n(t2, { title: "其他", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", M, [n(x2, { label: "数据权限", title: "数据权限限制", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isWithDataPermission, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.otherSettings.isWithDataPermission = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[48] || (a2[48] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[49] || (a2[49] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "记录最大数", title: "表格记录最大数量", class: "amb-design-attr-item" }, { default: u(() => [n(be, { modelValue: e2.configure.props.otherSettings.tableRecordMaxNum, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.otherSettings.tableRecordMaxNum = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(w, { ref_key: "selectTableDialog", ref: G, onSelectTable: Z, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"]), H.value ? (r(), i(C, { key: 0, list: e2.configure.props.otherSettings.sourceQueryTableData ? JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) : null, fieldNameList: q.value, fieldMap: B.value, dataFieldNameList: e2.pageDesign.modelFields, paramTypes: ["data", "page", "task", "context", "system", "request", "fixed"], onSave: ae, onClose: oe }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : d("", true)]), _: 1 }, 8, ["modelValue"]), n(he, { modelValue: W.value, "onUpdate:modelValue": a2[25] || (a2[25] = (e3) => W.value = e3), fullscreen: "" }, { default: u(() => [n(f(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[24] || (a2[24] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
72
72
  };
73
73
  } });
74
74
  export {
@@ -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-4dfe90c9"]]);
5
+ const o = t(e, [["__scopeId", "data-v-b0bcae22"]]);
6
6
  export {
7
7
  o as default
8
8
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as n, onMounted as l, watch as o, resolveComponent as i, createElementBlock as t, openBlock as a, createVNode as u, createElementVNode as r, withDirectives as s, createCommentVNode as c, normalizeStyle as p, normalizeClass as d, withCtx as g, Fragment as m, renderList as f, createBlock as v, createTextVNode as b, unref as y, vShow as h } from "vue";
1
+ import { defineComponent as e, ref as n, onMounted as l, watch as o, resolveComponent as i, createElementBlock as t, openBlock as a, createVNode as u, createElementVNode as s, withDirectives as r, createCommentVNode as c, normalizeStyle as p, normalizeClass as d, withCtx as g, Fragment as m, renderList as f, createBlock as v, createTextVNode as b, unref as y, vShow as h } from "vue";
2
2
  import C from "../../../../utils/eventBus.js";
3
3
  import { useDraggable as x } from "vue-draggable-plus";
4
4
  import { caculateDetailComponentStyle as S, caculateComponentProps as j } from "../../../../utils/form-design-util.js";
@@ -15,14 +15,14 @@ import "@vueuse/core";
15
15
  import E from "../component/table-children-column.vue.js";
16
16
  import { queryTableFields as M, changeFeieldToMap as T } from "../../../../utils/page-table-util.js";
17
17
  const W = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, _ = { key: 0, style: { width: "100%", display: "flex", "justify-content": "center", "padding-top": "20px" } }, B = e({ __name: "table-design", props: { pageDesign: {}, configure: {}, selectWidget: {}, indexObj: {} }, emits: ["selectColumn", "onSelectWidget"], setup(e2, { emit: B2 }) {
18
- const P = e2, $ = B2, N = n([{}]), G = n(1), F = n(1), K = n({}), L = n(""), U = n({}), V = n({}), I = n(false);
18
+ const P = e2, $ = B2, N = n([{}]), G = n(1), V = n(1), F = n({}), K = n(""), L = n({}), U = n({}), I = n(false);
19
19
  P.configure.props.groupHeaders;
20
20
  const R = n([]), q = n(), X = n([]);
21
21
  function Y(e3, n2) {
22
22
  $("onSelectWidget", e3, n2);
23
23
  }
24
24
  P.configure && function() {
25
- const e3 = P.configure.tableSysCode ? P.configure.tableSysCode : P.pageDesign.systemCode, n2 = P.configure.tableSysVersion ? P.configure.tableSysVersion : P.pageDesign.version, l2 = P.configure.props.dataOrigin.tableName;
25
+ const e3 = P.configure.tableSysCode ? P.configure.tableSysCode : P.pageDesign.systemCode, n2 = P.configure.tableSysVersion ? P.configure.tableSysVersion : P.pageDesign.systemVersion, l2 = P.configure.props.dataOrigin.tableName;
26
26
  M(e3, n2, l2).then((e4) => {
27
27
  P.configure.modelFieldsMap = T(P.configure.modelFieldsMap, e4), P.configure.modelFields = e4;
28
28
  });
@@ -31,14 +31,14 @@ const W = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, _
31
31
  }), C.$on("setHiddenColumsUuid", (e3) => {
32
32
  e3.value ? X.value = X.value.filter((n2) => n2 != e3.uuid) : X.value.push(e3.uuid);
33
33
  }), o(P.configure.style, () => {
34
- S(P.configure, K, L, U), P.configure.runtime.style = K.value, P.configure.runtime.class = L.value, P.configure.runtime.headerStyle = U.value;
34
+ S(P.configure, F, K, L), P.configure.runtime.style = F.value, P.configure.runtime.class = K.value, P.configure.runtime.headerStyle = L.value;
35
35
  }, { immediate: true }), o(P.configure.props, () => {
36
- j(P.configure, V), function() {
36
+ j(P.configure, U), function() {
37
37
  let e3 = P.configure.props;
38
38
  if (!e3.base) return;
39
39
  const n2 = {};
40
- if (e3.base.subPaging && (n2.subPaging = e3.base.subPaging), e3.base.layout && (n2.layout = e3.base.layout.join(",")), e3.base.pageSizes && (n2.pageSizes = e3.base.pageSizes.split(",")), e3.base.alignTitle && (n2.alignTitle = e3.base.alignTitle), e3.base.alignContent && (n2.alignContent = e3.base.alignContent), n2 != {}) for (const e4 in n2) V.value[e4] = n2[e4];
41
- }(), P.configure.runtime.props = V.value;
40
+ if (e3.base.subPaging && (n2.subPaging = e3.base.subPaging), e3.base.layout && (n2.layout = e3.base.layout.join(",")), e3.base.pageSizes && (n2.pageSizes = e3.base.pageSizes.split(",")), e3.base.alignTitle && (n2.alignTitle = e3.base.alignTitle), e3.base.alignContent && (n2.alignContent = e3.base.alignContent), n2 != {}) for (const e4 in n2) U.value[e4] = n2[e4];
41
+ }(), P.configure.runtime.props = U.value;
42
42
  }, { immediate: true }), o(() => P.configure.props.isChangeGroupHeader, () => {
43
43
  P.configure.props.isChangeGroupHeader && (R.value = w(P.configure), q.value && q.value.doLayout());
44
44
  }), C.$on("reloadTable-" + P.configure.uuid, (e3) => {
@@ -98,16 +98,16 @@ const W = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, _
98
98
  function ue(e3) {
99
99
  A.value = e3.uuid;
100
100
  }
101
- function re(e3, n2) {
101
+ function se(e3, n2) {
102
102
  for (var l2 = document.getElementsByClassName(n2.id), o2 = 0; o2 < l2.length; o2++) l2[o2].style.backgroundColor = "rgba(88, 147, 239,.1)";
103
103
  }
104
- function se(e3, n2) {
104
+ function re(e3, n2) {
105
105
  for (var l2 = document.getElementsByClassName(n2.id), o2 = 0; o2 < l2.length; o2++) l2[o2].style.backgroundColor = "";
106
106
  }
107
107
  return x(".el-table__header-wrapper tr", P.configure.items, { animation: 150, ghostClass: "ghost", onStart(e3) {
108
108
  } }), (e3, n2) => {
109
109
  const l2 = i("el-table"), o2 = i("el-icon"), C2 = i("el-pagination");
110
- return a(), t("div", null, [u(l2, { ref_key: "tableRef", ref: q, "cell-class-name": ae, "header-cell-class-name": ae, border: "", class: d(L.value), data: N.value, onHeaderDragend: ie, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: re, onCellMouseLeave: se, style: p(K.value) }, { default: g(() => [(a(true), t(m, null, f(R.value, (n3) => (a(), v(E, { key: n3, listColumns: n3, designProperty: V.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: oe, onCloseMenuVisible: Z, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), r("div", { onClick: J, style: { width: "100%", height: "30px" } }), s(r("div", null, [r("ul", W, [r("li", { tabindex: "-1", onClick: n2[0] || (n2[0] = () => ee("createCombinedHeader")) }, [u(o2, null, { default: g(() => [u(y(k))]), _: 1 }), n2[4] || (n2[4] = b(" 创建 "))]), ne.value.props && ne.value.props.base && "$selection" !== ne.value.props.base.prop && "$index" !== ne.value.props.base.prop ? (a(), t("li", { key: 0, tabindex: "-1", onClick: n2[1] || (n2[1] = () => ee("deleteNode")) }, [u(o2, null, { default: g(() => [u(y(H))]), _: 1 }), n2[5] || (n2[5] = b(" 删除 "))])) : c("", true)], 512)], 512), [[h, I.value]]), V.value.subPaging ? (a(), t("div", _, [u(C2, { "current-page": G.value, "onUpdate:currentPage": n2[2] || (n2[2] = (e4) => G.value = e4), "page-size": F.value, "onUpdate:pageSize": n2[3] || (n2[3] = (e4) => F.value = e4), "page-sizes": V.value.pageSizes, layout: V.value.layout, total: 400 }, null, 8, ["current-page", "page-size", "page-sizes", "layout"])])) : c("", true)]);
110
+ return a(), t("div", null, [u(l2, { ref_key: "tableRef", ref: q, "cell-class-name": ae, "header-cell-class-name": ae, border: "", class: d(K.value), data: N.value, onHeaderDragend: ie, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: se, onCellMouseLeave: re, style: p(F.value) }, { default: g(() => [(a(true), t(m, null, f(R.value, (n3) => (a(), v(E, { key: n3, listColumns: n3, designProperty: U.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: oe, onCloseMenuVisible: Z, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), s("div", { onClick: J, style: { width: "100%", height: "30px" } }), r(s("div", null, [s("ul", W, [s("li", { tabindex: "-1", onClick: n2[0] || (n2[0] = () => ee("createCombinedHeader")) }, [u(o2, null, { default: g(() => [u(y(k))]), _: 1 }), n2[4] || (n2[4] = b(" 创建 "))]), ne.value.props && ne.value.props.base && "$selection" !== ne.value.props.base.prop && "$index" !== ne.value.props.base.prop ? (a(), t("li", { key: 0, tabindex: "-1", onClick: n2[1] || (n2[1] = () => ee("deleteNode")) }, [u(o2, null, { default: g(() => [u(y(H))]), _: 1 }), n2[5] || (n2[5] = b(" 删除 "))])) : c("", true)], 512)], 512), [[h, I.value]]), U.value.subPaging ? (a(), t("div", _, [u(C2, { "current-page": G.value, "onUpdate:currentPage": n2[2] || (n2[2] = (e4) => G.value = e4), "page-size": V.value, "onUpdate:pageSize": n2[3] || (n2[3] = (e4) => V.value = e4), "page-sizes": U.value.pageSizes, layout: U.value.layout, total: 400 }, null, 8, ["current-page", "page-size", "page-sizes", "layout"])])) : c("", true)]);
111
111
  };
112
112
  } });
113
113
  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-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 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 S, getUuidv4 as _, deepCopy as V } from "../../../utils/common-util.js";
6
6
  import { usePageContextStore as k } 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";
@@ -1,10 +1,9 @@
1
- import { defineComponent as e, computed as s, resolveComponent as i, createBlock as n, openBlock as t, withCtx as o, createVNode as r, unref as l, normalizeStyle as p } from "vue";
2
- import "@element-plus/icons";
1
+ import { defineComponent as e, computed as s, resolveComponent as i, createBlock as n, openBlock as t, withCtx as r, createVNode as o, unref as l, normalizeStyle as p } from "vue";
3
2
  import { SuperPageNew as a } from "super-page-runtime";
4
3
  import { PageDimensions as g } from "../../../utils/interfaces/page-design-types.js";
5
4
  const u = e({ __name: "view-design-preview", props: { pageDesign: {} }, emits: ["close"], setup(e2, { emit: u2 }) {
6
- const m = e2, d = s(() => "预览【" + m.pageDesign.label + "】"), c = u2, f = s(() => {
7
- const e3 = m.pageDesign.dimensions, s2 = {};
5
+ const d = e2, m = s(() => "预览【" + d.pageDesign.label + "】"), c = u2, f = s(() => {
6
+ const e3 = d.pageDesign.dimensions, s2 = {};
8
7
  let i2 = null;
9
8
  if (g.IPAD === e3) i2 = 768;
10
9
  else {
@@ -15,7 +14,7 @@ const u = e({ __name: "view-design-preview", props: { pageDesign: {} }, emits: [
15
14
  });
16
15
  return (e3, s2) => {
17
16
  const g2 = i("el-dialog");
18
- return t(), n(g2, { fullscreen: "", "close-on-press-escape": false, title: d.value, onClose: s2[0] || (s2[0] = (e4) => c("close")) }, { default: o(() => [r(l(a), { style: p([{ margin: "0 auto" }, f.value]), pageDesign: e3.pageDesign, publishVersion: e3.pageDesign.systemVersion, dimensions: e3.pageDesign.dimensions, isTest: true }, null, 8, ["style", "pageDesign", "publishVersion", "dimensions"])]), _: 1 }, 8, ["title"]);
17
+ return t(), n(g2, { fullscreen: "", "close-on-press-escape": false, title: m.value, onClose: s2[0] || (s2[0] = (e4) => c("close")) }, { default: r(() => [o(l(a), { style: p([{ margin: "0 auto" }, f.value]), pageDesign: e3.pageDesign, publishVersion: e3.pageDesign.systemVersion, dimensions: e3.pageDesign.dimensions, isTest: true }, null, 8, ["style", "pageDesign", "publishVersion", "dimensions"])]), _: 1 }, 8, ["title"]);
19
18
  };
20
19
  } });
21
20
  export {
package/dist/es/style.css CHANGED
@@ -369,7 +369,7 @@
369
369
  /* 用于占位 */
370
370
  .amb-widget-tools-parent {
371
371
  width: 100%;
372
- height: 58px;
372
+ min-height: 58px;
373
373
  margin-bottom: 18px;
374
374
  }
375
375
  .amb-widget-tools {
@@ -1065,7 +1065,7 @@ fieldset.amb-design-item-selected {
1065
1065
  /* 用于占位 */
1066
1066
  .amb-widget-tools-parent {
1067
1067
  width: 100%;
1068
- height: 58px;
1068
+ min-height: 58px;
1069
1069
  margin-bottom: 18px;
1070
1070
  }
1071
1071
  .amb-widget-tools {
@@ -1663,7 +1663,7 @@ fieldset.amb-design-item-selected {
1663
1663
  /* 用于占位 */
1664
1664
  .amb-widget-tools-parent {
1665
1665
  width: 100%;
1666
- height: 58px;
1666
+ min-height: 58px;
1667
1667
  margin-bottom: 18px;
1668
1668
  }
1669
1669
  .amb-widget-tools {
@@ -2252,7 +2252,7 @@ fieldset.amb-design-item-selected {
2252
2252
  /* 用于占位 */
2253
2253
  .amb-widget-tools-parent {
2254
2254
  width: 100%;
2255
- height: 58px;
2255
+ min-height: 58px;
2256
2256
  margin-bottom: 18px;
2257
2257
  }
2258
2258
  .amb-widget-tools {
@@ -2841,7 +2841,7 @@ fieldset.amb-design-item-selected {
2841
2841
  /* 用于占位 */
2842
2842
  .amb-widget-tools-parent {
2843
2843
  width: 100%;
2844
- height: 58px;
2844
+ min-height: 58px;
2845
2845
  margin-bottom: 18px;
2846
2846
  }
2847
2847
  .amb-widget-tools {
@@ -3430,7 +3430,7 @@ fieldset.amb-design-item-selected {
3430
3430
  /* 用于占位 */
3431
3431
  .amb-widget-tools-parent {
3432
3432
  width: 100%;
3433
- height: 58px;
3433
+ min-height: 58px;
3434
3434
  margin-bottom: 18px;
3435
3435
  }
3436
3436
  .amb-widget-tools {
@@ -4019,7 +4019,7 @@ fieldset.amb-design-item-selected {
4019
4019
  /* 用于占位 */
4020
4020
  .amb-widget-tools-parent {
4021
4021
  width: 100%;
4022
- height: 58px;
4022
+ min-height: 58px;
4023
4023
  margin-bottom: 18px;
4024
4024
  }
4025
4025
  .amb-widget-tools {
@@ -4608,7 +4608,7 @@ fieldset.amb-design-item-selected {
4608
4608
  /* 用于占位 */
4609
4609
  .amb-widget-tools-parent {
4610
4610
  width: 100%;
4611
- height: 58px;
4611
+ min-height: 58px;
4612
4612
  margin-bottom: 18px;
4613
4613
  }
4614
4614
  .amb-widget-tools {
@@ -5201,7 +5201,7 @@ fieldset.amb-design-item-selected {
5201
5201
  /* 用于占位 */
5202
5202
  .amb-widget-tools-parent {
5203
5203
  width: 100%;
5204
- height: 58px;
5204
+ min-height: 58px;
5205
5205
  margin-bottom: 18px;
5206
5206
  }
5207
5207
  .amb-widget-tools {
@@ -5790,7 +5790,7 @@ fieldset.amb-design-item-selected {
5790
5790
  /* 用于占位 */
5791
5791
  .amb-widget-tools-parent {
5792
5792
  width: 100%;
5793
- height: 58px;
5793
+ min-height: 58px;
5794
5794
  margin-bottom: 18px;
5795
5795
  }
5796
5796
  .amb-widget-tools {
@@ -6379,7 +6379,7 @@ fieldset.amb-design-item-selected {
6379
6379
  /* 用于占位 */
6380
6380
  .amb-widget-tools-parent {
6381
6381
  width: 100%;
6382
- height: 58px;
6382
+ min-height: 58px;
6383
6383
  margin-bottom: 18px;
6384
6384
  }
6385
6385
  .amb-widget-tools {
@@ -6968,7 +6968,7 @@ fieldset.amb-design-item-selected {
6968
6968
  /* 用于占位 */
6969
6969
  .amb-widget-tools-parent {
6970
6970
  width: 100%;
6971
- height: 58px;
6971
+ min-height: 58px;
6972
6972
  margin-bottom: 18px;
6973
6973
  }
6974
6974
  .amb-widget-tools {
@@ -7557,7 +7557,7 @@ fieldset.amb-design-item-selected {
7557
7557
  /* 用于占位 */
7558
7558
  .amb-widget-tools-parent {
7559
7559
  width: 100%;
7560
- height: 58px;
7560
+ min-height: 58px;
7561
7561
  margin-bottom: 18px;
7562
7562
  }
7563
7563
  .amb-widget-tools {
@@ -8146,7 +8146,7 @@ fieldset.amb-design-item-selected {
8146
8146
  /* 用于占位 */
8147
8147
  .amb-widget-tools-parent {
8148
8148
  width: 100%;
8149
- height: 58px;
8149
+ min-height: 58px;
8150
8150
  margin-bottom: 18px;
8151
8151
  }
8152
8152
  .amb-widget-tools {
@@ -8772,7 +8772,7 @@ fieldset.amb-design-item-selected {
8772
8772
  /* 用于占位 */
8773
8773
  .amb-widget-tools-parent {
8774
8774
  width: 100%;
8775
- height: 58px;
8775
+ min-height: 58px;
8776
8776
  margin-bottom: 18px;
8777
8777
  }
8778
8778
  .amb-widget-tools {
@@ -9012,10 +9012,10 @@ fieldset.amb-design-item-selected {
9012
9012
  background: #c8ebfb;
9013
9013
  }
9014
9014
 
9015
- li[data-v-4dfe90c9] {
9015
+ li[data-v-b0bcae22] {
9016
9016
  color: #333;
9017
9017
  }
9018
- .context-menu[data-v-4dfe90c9] {
9018
+ .context-menu[data-v-b0bcae22] {
9019
9019
  position: fixed;
9020
9020
  background: #fff;
9021
9021
  z-index: 999;
@@ -9023,7 +9023,7 @@ li[data-v-4dfe90c9] {
9023
9023
  margin: 0;
9024
9024
  margin-top: 30px;
9025
9025
  }
9026
- .context-menu li[data-v-4dfe90c9] {
9026
+ .context-menu li[data-v-b0bcae22] {
9027
9027
  min-width: 75px;
9028
9028
  height: 28px;
9029
9029
  line-height: 28px;
@@ -9031,16 +9031,16 @@ li[data-v-4dfe90c9] {
9031
9031
  color: #1a1a1a;
9032
9032
  cursor: pointer;
9033
9033
  }
9034
- .context-menu li[data-v-4dfe90c9]:hover {
9034
+ .context-menu li[data-v-b0bcae22]:hover {
9035
9035
  background: #5893ef;
9036
9036
  color: #fff;
9037
9037
  }
9038
- .context-menu[data-v-4dfe90c9] {
9038
+ .context-menu[data-v-b0bcae22] {
9039
9039
  border: 1px solid #eee;
9040
9040
  box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
9041
9041
  border-radius: 5px;
9042
9042
  }
9043
- li[data-v-4dfe90c9] {
9043
+ li[data-v-b0bcae22] {
9044
9044
  list-style-type: none;
9045
9045
  }
9046
9046
 
@@ -9052,7 +9052,7 @@ li[data-v-4dfe90c9] {
9052
9052
  color: #7b7b7b;
9053
9053
  }
9054
9054
 
9055
- .seleteSort[data-v-b3158a02] {
9055
+ .seleteSort[data-v-f4fba280] {
9056
9056
  border-radius: 5px;
9057
9057
  border: 1px solid rgba(88, 147, 239);
9058
9058
  }
@@ -9475,7 +9475,7 @@ li[data-v-8ac0bd71] {
9475
9475
  /* 用于占位 */
9476
9476
  .amb-widget-tools-parent {
9477
9477
  width: 100%;
9478
- height: 58px;
9478
+ min-height: 58px;
9479
9479
  margin-bottom: 18px;
9480
9480
  }
9481
9481
  .amb-widget-tools {
@@ -10072,7 +10072,7 @@ fieldset.amb-design-item-selected {
10072
10072
  /* 用于占位 */
10073
10073
  .amb-widget-tools-parent {
10074
10074
  width: 100%;
10075
- height: 58px;
10075
+ min-height: 58px;
10076
10076
  margin-bottom: 18px;
10077
10077
  }
10078
10078
  .amb-widget-tools {
@@ -10661,7 +10661,7 @@ fieldset.amb-design-item-selected {
10661
10661
  /* 用于占位 */
10662
10662
  .amb-widget-tools-parent {
10663
10663
  width: 100%;
10664
- height: 58px;
10664
+ min-height: 58px;
10665
10665
  margin-bottom: 18px;
10666
10666
  }
10667
10667
  .amb-widget-tools {
@@ -11258,7 +11258,7 @@ fieldset.amb-design-item-selected {
11258
11258
  /* 用于占位 */
11259
11259
  .amb-widget-tools-parent {
11260
11260
  width: 100%;
11261
- height: 58px;
11261
+ min-height: 58px;
11262
11262
  margin-bottom: 18px;
11263
11263
  }
11264
11264
  .amb-widget-tools {
@@ -11847,7 +11847,7 @@ fieldset.amb-design-item-selected {
11847
11847
  /* 用于占位 */
11848
11848
  .amb-widget-tools-parent {
11849
11849
  width: 100%;
11850
- height: 58px;
11850
+ min-height: 58px;
11851
11851
  margin-bottom: 18px;
11852
11852
  }
11853
11853
  .amb-widget-tools {
@@ -12436,7 +12436,7 @@ fieldset.amb-design-item-selected {
12436
12436
  /* 用于占位 */
12437
12437
  .amb-widget-tools-parent {
12438
12438
  width: 100%;
12439
- height: 58px;
12439
+ min-height: 58px;
12440
12440
  margin-bottom: 18px;
12441
12441
  }
12442
12442
  .amb-widget-tools {
@@ -13025,7 +13025,7 @@ fieldset.amb-design-item-selected {
13025
13025
  /* 用于占位 */
13026
13026
  .amb-widget-tools-parent {
13027
13027
  width: 100%;
13028
- height: 58px;
13028
+ min-height: 58px;
13029
13029
  margin-bottom: 18px;
13030
13030
  }
13031
13031
  .amb-widget-tools {
@@ -13614,7 +13614,7 @@ fieldset.amb-design-item-selected {
13614
13614
  /* 用于占位 */
13615
13615
  .amb-widget-tools-parent {
13616
13616
  width: 100%;
13617
- height: 58px;
13617
+ min-height: 58px;
13618
13618
  margin-bottom: 18px;
13619
13619
  }
13620
13620
  .amb-widget-tools {
@@ -14203,7 +14203,7 @@ fieldset.amb-design-item-selected {
14203
14203
  /* 用于占位 */
14204
14204
  .amb-widget-tools-parent {
14205
14205
  width: 100%;
14206
- height: 58px;
14206
+ min-height: 58px;
14207
14207
  margin-bottom: 18px;
14208
14208
  }
14209
14209
  .amb-widget-tools {
@@ -14792,7 +14792,7 @@ fieldset.amb-design-item-selected {
14792
14792
  /* 用于占位 */
14793
14793
  .amb-widget-tools-parent {
14794
14794
  width: 100%;
14795
- height: 58px;
14795
+ min-height: 58px;
14796
14796
  margin-bottom: 18px;
14797
14797
  }
14798
14798
  .amb-widget-tools {
@@ -15381,7 +15381,7 @@ fieldset.amb-design-item-selected {
15381
15381
  /* 用于占位 */
15382
15382
  .amb-widget-tools-parent {
15383
15383
  width: 100%;
15384
- height: 58px;
15384
+ min-height: 58px;
15385
15385
  margin-bottom: 18px;
15386
15386
  }
15387
15387
  .amb-widget-tools {
@@ -16035,7 +16035,7 @@ li[data-v-21af26bc] {
16035
16035
  /* 用于占位 */
16036
16036
  .amb-widget-tools-parent {
16037
16037
  width: 100%;
16038
- height: 58px;
16038
+ min-height: 58px;
16039
16039
  margin-bottom: 18px;
16040
16040
  }
16041
16041
  .amb-widget-tools {
@@ -16628,7 +16628,7 @@ fieldset.amb-design-item-selected {
16628
16628
  /* 用于占位 */
16629
16629
  .amb-widget-tools-parent {
16630
16630
  width: 100%;
16631
- height: 58px;
16631
+ min-height: 58px;
16632
16632
  margin-bottom: 18px;
16633
16633
  }
16634
16634
  .amb-widget-tools {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.2.31",
3
+ "version": "2.2.37",
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.12",
32
+ "agilebuilder-ui": "1.1.13",
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.28",
44
- "super-page-runtime": "2.2.29",
43
+ "service-flow-designer": "2.2.33",
44
+ "super-page-runtime": "2.2.36",
45
45
  "uuid": "^9.0.1",
46
46
  "vite": "^5.1.6",
47
47
  "vite-plugin-node-stdlib-browser": "^0.2.1",
@@ -52,7 +52,7 @@
52
52
  "vue-echarts": "^6.6.9",
53
53
  "vue-router": "^4.3.0",
54
54
  "vuex": "^4.1.0",
55
- "workflow-editor": "0.0.52-up"
55
+ "workflow-editor": "0.0.54-up"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@codemirror/autocomplete": "^6.16.0",