super-page-designer 2.2.27 → 2.2.30
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.
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +52 -52
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +35 -35
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +29 -29
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +32 -22
- package/dist/es/style.css +19 -833
- package/package.json +4 -4
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import t from "./statisticalTable-design.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const s = e(t, [["__scopeId", "data-v-21af26bc"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
s as default
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as l, resolveComponent as t, createElementBlock as r, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as o, onMounted as n, onUnmounted as i, watch as l, resolveComponent as t, createElementBlock as r, openBlock as u, createVNode as s, createElementVNode as a, withDirectives as c, normalizeStyle as d, normalizeClass as p, withCtx as g, Fragment as m, renderList as f, createBlock as b, createCommentVNode as v, createTextVNode as y, unref as h, vShow as C } from "vue";
|
|
2
2
|
import x from "../../../../utils/eventBus.js";
|
|
3
3
|
import { useDraggable as j } from "vue-draggable-plus";
|
|
4
4
|
import { caculateComponentProps as D } from "../../../../utils/form-design-util.js";
|
|
5
|
-
import { getTableColumnConf as
|
|
6
|
-
import { Plus as
|
|
7
|
-
import { ElMessageBox as
|
|
5
|
+
import { getTableColumnConf as O } from "../../../../utils/assemblys-config.js";
|
|
6
|
+
import { Plus as k, Delete as H } from "@element-plus/icons-vue";
|
|
7
|
+
import { ElMessageBox as S } from "element-plus";
|
|
8
8
|
import { getColumnsWithGroupHeader as E, addColumnToGroupHeaders as w } from "../../../../utils/data-table-util.js";
|
|
9
9
|
import "uuid";
|
|
10
10
|
import "@element-plus/icons";
|
|
@@ -14,59 +14,59 @@ import "../../../../../../stores/page-store.js";
|
|
|
14
14
|
import "@vueuse/core";
|
|
15
15
|
import { removComponentDataConfig as M, initComponentDataConfig as W } from "../../../../utils/chart-design-util.js";
|
|
16
16
|
import _ from "../../data/component/table-children-column.vue.js";
|
|
17
|
-
import { queryTableFields as B, changeFeieldToMap as
|
|
18
|
-
import { statisticsTable as
|
|
19
|
-
const
|
|
20
|
-
const
|
|
17
|
+
import { queryTableFields as B, changeFeieldToMap as T } from "../../../../utils/page-table-util.js";
|
|
18
|
+
import { statisticsTable as $ } from "../../../../../../stores/statistics-table-store.js";
|
|
19
|
+
const N = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, F = e({ __name: "statisticalTable-design", props: { pageDesign: {}, configure: {}, selectWidget: {}, indexObj: {} }, emits: ["selectColumn", "onSelectWidget"], setup(e2, { emit: F2 }) {
|
|
20
|
+
const G = e2, L = F2, A = o([{}]), V = o({}), I = o("");
|
|
21
21
|
o({});
|
|
22
22
|
const P = o({}), R = o(false);
|
|
23
|
-
|
|
24
|
-
const q = o([]), K = o(),
|
|
25
|
-
function
|
|
26
|
-
|
|
23
|
+
G.configure.props.groupHeaders;
|
|
24
|
+
const q = o([]), K = o(), U = o([]), X = $();
|
|
25
|
+
function Y(e3, o2) {
|
|
26
|
+
L("onSelectWidget", e3, o2);
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
const e3 =
|
|
28
|
+
G.configure && function() {
|
|
29
|
+
const e3 = G.configure.tableSysCode ? G.configure.tableSysCode : G.pageDesign.systemCode, o2 = G.configure.tableSysVersion ? G.configure.tableSysVersion : G.pageDesign.version, n2 = G.configure.props.dataOrigin.tableName;
|
|
30
30
|
B(e3, o2, n2).then((e4) => {
|
|
31
|
-
|
|
31
|
+
G.configure.modelFieldsMap = T(G.configure.modelFieldsMap, e4), G.configure.modelFields = e4;
|
|
32
32
|
});
|
|
33
33
|
}(), n(() => {
|
|
34
|
-
q.value = E(
|
|
34
|
+
q.value = E(G.configure);
|
|
35
35
|
}), i(() => {
|
|
36
|
-
M(
|
|
37
|
-
}), x.$on("
|
|
38
|
-
e3.value ?
|
|
39
|
-
}), l(
|
|
40
|
-
|
|
41
|
-
}, { immediate: true }), l(
|
|
42
|
-
D(
|
|
43
|
-
let e3 =
|
|
36
|
+
M(G.configure);
|
|
37
|
+
}), x.$on("setHiddenColumsUuid", (e3) => {
|
|
38
|
+
e3.value ? U.value = U.value.filter((o2) => o2 != e3.uuid) : U.value.push(e3.uuid);
|
|
39
|
+
}), l(G.configure.style, () => {
|
|
40
|
+
G.configure.runtime.style = G.configure.style;
|
|
41
|
+
}, { immediate: true }), l(G.configure.props, () => {
|
|
42
|
+
D(G.configure, P), function() {
|
|
43
|
+
let e3 = G.configure.props;
|
|
44
44
|
if (!e3.base) return;
|
|
45
45
|
const o2 = {};
|
|
46
46
|
if (e3.base.layout && (o2.layout = e3.base.layout.join(",")), e3.base.headerAlign && (o2.headerAlign = e3.base.headerAlign), e3.base.align && (o2.align = e3.base.align), o2 != {}) for (const e4 in o2) P.value[e4] = o2[e4];
|
|
47
|
-
}(),
|
|
48
|
-
const e3 = W(
|
|
49
|
-
|
|
47
|
+
}(), G.configure.runtime.props = P.value, Object.assign(G.configure.runtime.props, G.configure.props.base), function() {
|
|
48
|
+
const e3 = W(G.configure, null);
|
|
49
|
+
G.configure.runtime.dataConfig = e3;
|
|
50
50
|
}();
|
|
51
|
-
}, { immediate: true }), l(
|
|
52
|
-
|
|
53
|
-
}, { immediate: true }), l(() =>
|
|
54
|
-
|
|
55
|
-
}), x.$on("reloadTable-" +
|
|
56
|
-
e3 && (
|
|
51
|
+
}, { immediate: true }), l(G.configure.items, (e3) => {
|
|
52
|
+
X.addFieldList(e3), G.configure.runtime.items = G.configure.items;
|
|
53
|
+
}, { immediate: true }), l(() => G.configure.props.isChangeGroupHeader, () => {
|
|
54
|
+
G.configure.props.isChangeGroupHeader && (q.value = E(G.configure), K.value && K.value.doLayout());
|
|
55
|
+
}), x.$on("reloadTable-" + G.configure.uuid, (e3) => {
|
|
56
|
+
e3 && (G.configure.items = e3, q.value = E(G.configure)), K.value && K.value.doLayout();
|
|
57
57
|
}), l(() => q.value, (e3) => {
|
|
58
58
|
e3.forEach((e4) => {
|
|
59
|
-
e4.props && e4.props.base && !e4.props.base.visible &&
|
|
59
|
+
e4.props && e4.props.base && !e4.props.base.visible && U.value.push(e4.uuid);
|
|
60
60
|
});
|
|
61
61
|
}, { deep: true });
|
|
62
|
-
const
|
|
63
|
-
function
|
|
64
|
-
|
|
62
|
+
const z = o("");
|
|
63
|
+
function J() {
|
|
64
|
+
z.value = "", oe.value = {}, Z();
|
|
65
65
|
x.$emit("selectColumn", { columnData: {} });
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Q(e3, o2) {
|
|
68
68
|
var n2;
|
|
69
|
-
(o2 || window.event).preventDefault(), n2 = e3,
|
|
69
|
+
(o2 || window.event).preventDefault(), n2 = e3, G.configure.items.forEach((e4, o3) => {
|
|
70
70
|
e4.props.base.name == n2.label && (oe.value = e4, ne.value = o3);
|
|
71
71
|
}), R.value = true;
|
|
72
72
|
const i2 = document.querySelector("#tableDesignMenu"), l2 = document.documentElement.scrollTop || document.body.scrollTop;
|
|
@@ -79,12 +79,12 @@ const $ = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, L
|
|
|
79
79
|
var _a;
|
|
80
80
|
if (Z(), "createCombinedHeader" === e3) {
|
|
81
81
|
const e4 = { alias: "字段名称", displayOrder: oe.value.props.base.displayOrder + 1 };
|
|
82
|
-
let o2 =
|
|
83
|
-
|
|
82
|
+
let o2 = O(e4);
|
|
83
|
+
G.configure.items.splice(ne.value + 1, 0, o2), (_a = G.configure.items) == null ? void 0 : _a.forEach((e5, o3) => {
|
|
84
84
|
e5.props.base.displayOrder && e5.props.base.displayOrder == o3 || (e5.props.base.displayOrder = o3);
|
|
85
|
-
}),
|
|
86
|
-
} else "deleteNode" === e3 &&
|
|
87
|
-
|
|
85
|
+
}), G.configure.props.base.isEnableGroupHeader && (w(G.configure.items[ne.value + 1], null, G.configure.props.groupHeaders), q.value = E(G.configure), x.$emit("synchroGroupHeadersData"));
|
|
86
|
+
} else "deleteNode" === e3 && S.confirm("当前操作会删除当前列", "确认", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
87
|
+
G.configure.items.splice(ne.value, 1);
|
|
88
88
|
}).catch(() => {
|
|
89
89
|
});
|
|
90
90
|
}
|
|
@@ -104,23 +104,23 @@ const $ = { id: "tableDesignMenu", ref: "headerMenu", class: "context-menu" }, L
|
|
|
104
104
|
}
|
|
105
105
|
function re({ row: e3, column: o2, rowIndex: n2, columnIndex: i2 }) {
|
|
106
106
|
let l2 = "";
|
|
107
|
-
return
|
|
107
|
+
return U.value.includes(o2.label) && (l2 = "hiddenBorder"), o2.label === z.value && (l2 = "addBorder"), l2;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
109
|
+
function ue(e3) {
|
|
110
|
+
z.value = e3.uuid;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function se(e3, o2) {
|
|
113
113
|
for (var n2 = document.getElementsByClassName(o2.id), i2 = 0; i2 < n2.length; i2++) n2[i2].style.backgroundColor = "rgba(88, 147, 239,.1)";
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function ae(e3, o2) {
|
|
116
116
|
for (var n2 = document.getElementsByClassName(o2.id), i2 = 0; i2 < n2.length; i2++) n2[i2].style.backgroundColor = "";
|
|
117
117
|
}
|
|
118
|
-
return j(".el-table__header-wrapper tr",
|
|
118
|
+
return j(".el-table__header-wrapper tr", G.configure.items, { animation: 150, ghostClass: "ghost", onStart(e3) {
|
|
119
119
|
} }), (e3, o2) => {
|
|
120
120
|
const n2 = t("el-table"), i2 = t("el-icon");
|
|
121
|
-
return
|
|
121
|
+
return u(), r("div", null, [s(n2, { ref_key: "tableRef", ref: K, "cell-class-name": re, "header-cell-class-name": re, border: "", class: p(I.value), data: A.value, onHeaderDragend: le, onHeaderContextmenu: Q, onRowClick: J, onCellMouseEnter: se, onCellMouseLeave: ae, style: d(V.value) }, { default: g(() => [(u(true), r(m, null, f(q.value, (o3) => (u(), b(_, { key: o3, listColumns: o3, designProperty: P.value, configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, onSetClickColumn: ue, onOnSelectWidget: Y, onSetColumnData: ie, onCloseMenuVisible: Z, selectWidget: e3.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128))]), _: 1 }, 8, ["class", "data", "style"]), a("div", { onClick: J, style: { width: "100%", height: "30px" } }), c(a("div", null, [a("ul", N, [a("li", { tabindex: "-1", onClick: o2[0] || (o2[0] = () => ee("createCombinedHeader")) }, [s(i2, null, { default: g(() => [s(h(k))]), _: 1 }), o2[2] || (o2[2] = y(" 创建 "))]), oe.value.props && oe.value.props.base && "$selection" !== oe.value.props.base.prop && "$index" !== oe.value.props.base.prop ? (u(), r("li", { key: 0, tabindex: "-1", onClick: o2[1] || (o2[1] = () => ee("deleteNode")) }, [s(i2, null, { default: g(() => [s(h(H))]), _: 1 }), o2[3] || (o2[3] = y(" 删除 "))])) : v("", true)], 512)], 512), [[C, R.value]])]);
|
|
122
122
|
};
|
|
123
123
|
} });
|
|
124
124
|
export {
|
|
125
|
-
|
|
125
|
+
F as default
|
|
126
126
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./composite-header.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = o(e, [["__scopeId", "data-v-
|
|
4
|
+
const r = o(e, [["__scopeId", "data-v-8ac0bd71"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -6,7 +6,7 @@ import { getTopGroupHeaderList as C, setGroupHeaderDataDisplayOrder as V, addCol
|
|
|
6
6
|
import w from "../../../../utils/eventBus.js";
|
|
7
7
|
const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = { key: 0 }, $ = { key: 1 }, R = { key: 0, id: "menu", ref: "headerMenu", class: "context-menu" }, S = { key: 5, id: "menu-4994-1-6", tabindex: "-1" }, D = { class: "dialog-footer" }, j = { class: "dialog-footer" }, M = e({ __name: "composite-header", props: { configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
8
8
|
const M2 = e2, B = l(false), P = l({}), q = l(null), I = l(false), J = l(null);
|
|
9
|
-
let F =
|
|
9
|
+
let F = [];
|
|
10
10
|
const X = l([]), Y = l(false), z = l([]);
|
|
11
11
|
l(null);
|
|
12
12
|
const A = l([]), K = l({}), Q = l(false), W = l(null), Z = l(M2.configure.props.groupHeaders), ee = l(null);
|
package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
1
|
+
import { defineComponent as e, ref as n, onUnmounted as s, resolveComponent as l, createBlock as o, openBlock as t, createSlots as i, withCtx as u, createElementBlock as r, createCommentVNode as p, Fragment as a, renderList as m, normalizeClass as c, normalizeStyle as g, unref as d, toDisplayString as C, reactive as b } from "vue";
|
|
2
2
|
import { columnCustomTittleClass as f, columnTittleStyle as y } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { VueDraggable as h } from "vue-draggable-plus";
|
|
4
4
|
import x from "../../../../utils/eventBus.js";
|
|
5
5
|
import { deepCopy as O, getUuidv4 as k } from "../../../../utils/common-util.js";
|
|
6
6
|
import j from "../../object-design.vue.js";
|
|
7
7
|
import { ElMessage as W, ElMessageBox as D } from "element-plus";
|
|
8
|
-
const v = ["onClick", "onMouseout", "onMouseover"],
|
|
8
|
+
const v = ["onClick", "onMouseout", "onMouseover"], M = { key: 2 }, S = e({ __name: "table-children-column", props: { listColumns: { type: Object, default: () => {
|
|
9
9
|
} }, selectWidget: { type: Object, default: () => {
|
|
10
10
|
} }, indexObj: { type: Object, default: () => {
|
|
11
11
|
} }, designProperty: { type: Object, default: () => {
|
|
12
12
|
} }, configure: { type: Object, default: () => {
|
|
13
13
|
} }, pageDesign: { type: Object, default: () => {
|
|
14
|
-
} } }, emits: ["selectColumn", "onSelectWidget", "
|
|
15
|
-
const
|
|
16
|
-
function
|
|
14
|
+
} } }, emits: ["selectColumn", "onSelectWidget", "setClickColumn", "setColumnData", "closeMenuVisible"], setup(e2, { emit: B }) {
|
|
15
|
+
const T = e2, w = B;
|
|
16
|
+
function L(e3, n2) {
|
|
17
17
|
if (!e3.props.base) return W.warning("组合表头顶级菜单不能进行列配置");
|
|
18
18
|
{
|
|
19
19
|
$(e3);
|
|
20
|
-
let
|
|
21
|
-
|
|
20
|
+
let n3 = { columnData: e3, tableConfigure: T.configure };
|
|
21
|
+
w("closeMenuVisible"), x.$emit("selectColumn", n3), P(e3);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
function $(e3) {
|
|
25
|
-
|
|
25
|
+
w("setColumnData", e3);
|
|
26
26
|
}
|
|
27
27
|
function P(e3) {
|
|
28
|
-
|
|
28
|
+
w("setClickColumn", e3);
|
|
29
29
|
}
|
|
30
30
|
function V(e3) {
|
|
31
|
-
let
|
|
32
|
-
return
|
|
31
|
+
let n2 = "";
|
|
32
|
+
return n2 = e3.props && e3.props.base && e3.props.base.name && e3.props.base.name.length > 0 ? e3.props.base.name : e3.titleText, n2;
|
|
33
33
|
}
|
|
34
|
-
function _(e3,
|
|
35
|
-
for (var
|
|
34
|
+
function _(e3, n2) {
|
|
35
|
+
for (var s2 = document.getElementsByClassName(n2.id), l2 = 0; l2 < s2.length; l2++) s2[l2].style.backgroundColor = "";
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
for (var
|
|
37
|
+
function E(e3, n2) {
|
|
38
|
+
for (var s2 = document.getElementsByClassName(n2.id), l2 = 0; l2 < s2.length; l2++) s2[l2].style.backgroundColor = "rgba(88, 147, 239,.1)";
|
|
39
39
|
}
|
|
40
|
-
const
|
|
41
|
-
function
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
function N(e3) {
|
|
45
|
-
const s2 = B.configure.btnList.indexOf(e3);
|
|
46
|
-
if (-1 == s2) return void alert("无可复制对象!");
|
|
47
|
-
const n2 = C(O(e3));
|
|
48
|
-
n2.uuid = k(), B.configure.btnList.splice(s2, 0, n2);
|
|
40
|
+
const F = n(false);
|
|
41
|
+
function N(e3, n2, s2) {
|
|
42
|
+
T.pageDesign.currentTableConfig = T.configure, F.value || w("onSelectWidget", e3, n2, s2), s2 && s2.uuid && P(s2);
|
|
49
43
|
}
|
|
50
44
|
function z(e3) {
|
|
45
|
+
const n2 = T.configure.btnList.indexOf(e3);
|
|
46
|
+
if (-1 == n2) return void alert("无可复制对象!");
|
|
47
|
+
const s2 = b(O(e3));
|
|
48
|
+
s2.uuid = k(), T.configure.btnList.splice(n2, 0, s2);
|
|
49
|
+
}
|
|
50
|
+
function U(e3) {
|
|
51
51
|
e3.items && e3.items.length > 0 ? D.confirm("还有子元素,确定要删除吗?", "删除", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
52
|
-
const
|
|
53
|
-
|
|
52
|
+
const n2 = T.configure.btnList, s2 = n2.indexOf(e3);
|
|
53
|
+
s2 > -1 && n2.splice(s2, 1);
|
|
54
54
|
}).catch((e4) => {
|
|
55
|
-
}) :
|
|
56
|
-
const
|
|
57
|
-
|
|
55
|
+
}) : T.listColumns && T.listColumns.props && T.listColumns.props.base && "operation" === T.listColumns.props.base.prop && D.confirm(`确定要删除${e3.label}吗?`, "删除", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
56
|
+
const n2 = T.configure.btnList, s2 = n2.indexOf(e3);
|
|
57
|
+
s2 > -1 && n2.splice(s2, 1);
|
|
58
58
|
}).catch((e4) => {
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
return x.$on("hadleDragging", (e3) => {
|
|
62
|
-
|
|
63
|
-
}),
|
|
62
|
+
F.value = e3;
|
|
63
|
+
}), s(() => {
|
|
64
64
|
x.$off("hadleDragging");
|
|
65
|
-
}), (
|
|
66
|
-
const
|
|
67
|
-
return t(), o(x2, { fixed: !(!e2.listColumns.props || !e2.listColumns.props.base || "false" === e2.listColumns.props.base.listColumnFixed) && e2.listColumns.props.base.listColumnFixed, "column-key": e2.listColumns.uuid, width: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.columnWidth ? e2.listColumns.props.base.columnWidth : 200, label: V(e2.listColumns), align: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignContent ? e2.listColumns.props.base.alignContent : e2.designProperty.alignContent, "header-align": e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignTitle ? e2.listColumns.props.base.alignTitle : e2.designProperty.alignTitle, resizable: "" }, i({ default: u(() => [e2.listColumns.children && e2.listColumns.children.length > 0 ? (t(true), r(
|
|
65
|
+
}), (n2, s2) => {
|
|
66
|
+
const b2 = l("el-checkbox"), x2 = l("el-table-column");
|
|
67
|
+
return t(), o(x2, { fixed: !(!e2.listColumns.props || !e2.listColumns.props.base || "false" === e2.listColumns.props.base.listColumnFixed) && e2.listColumns.props.base.listColumnFixed, "column-key": e2.listColumns.uuid, width: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.columnWidth ? e2.listColumns.props.base.columnWidth : 200, label: V(e2.listColumns), align: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignContent ? e2.listColumns.props.base.alignContent : e2.designProperty.alignContent, "header-align": e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignTitle ? e2.listColumns.props.base.alignTitle : e2.designProperty.alignTitle, resizable: "" }, i({ default: u(() => [e2.listColumns.children && e2.listColumns.children.length > 0 ? (t(true), r(a, { key: 0 }, m(e2.listColumns.children, (n3, s3) => (t(), o(S, { key: s3, listColumns: n3, designProperty: e2.designProperty, configure: e2.configure, pageDesign: e2.pageDesign, indexObj: e2.indexObj, onSetClickColumn: P, onOnSelectWidget: N, onSetColumnData: $, selectWidget: e2.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128)) : p("", true)]), _: 2 }, [e2.listColumns.children && 0 != e2.listColumns.children.length ? void 0 : { name: "header", fn: u((n3) => [e2.listColumns.props && e2.listColumns.props.base && "$selection" === e2.listColumns.props.base.prop ? (t(), o(b2, { key: 0, style: g(d(y)(e2.listColumns)), class: c(d(f)(e2.listColumns)), onClick: (s3) => L(e2.listColumns, n3.column), onMouseout: (e3) => _(0, n3.column), onMouseover: (e3) => E(0, n3.column) }, null, 8, ["style", "class", "onClick", "onMouseout", "onMouseover"])) : (t(), r("div", { key: 1, style: g(d(y)(e2.listColumns)), class: c(d(f)(e2.listColumns)), onClick: (s3) => L(e2.listColumns, n3.column), onMouseout: (e3) => _(0, n3.column), onMouseover: (e3) => E(0, n3.column) }, C(V(e2.listColumns)), 47, v))]), key: "0" }, e2.listColumns.children && 0 != e2.listColumns.children.length ? void 0 : { name: "default", fn: u((n3) => [e2.listColumns.props && e2.listColumns.props.base && "operation" === e2.listColumns.props.base.prop ? (t(), o(d(h), { key: 0, modelValue: T.configure.btnList, "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => T.configure.btnList = e3), animation: 300, style: { width: "100%", height: "100%", display: "inline-flex" }, group: "amb-assembly-item", ghostClass: "amb-item-ghost" }, { default: u(() => [(t(true), r(a, null, m(T.configure.btnList, (s3) => (t(), o(j, { key: s3, pageDesign: e2.pageDesign, configure: s3, selectWidget: e2.selectWidget, indexObj: e2.indexObj, errorBlank: true, onOnSelectWidget: (e3, s4) => N(e3, s4, n3.column), onOnCopy: z, onOnDelete: U }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnSelectWidget"]))), 128))]), _: 2 }, 1032, ["modelValue"])) : e2.listColumns.props && e2.listColumns.props.base && "$selection" === e2.listColumns.props.base.prop ? (t(), o(b2, { key: 1 })) : e2.listColumns.props && e2.listColumns.props.base && "$index" === e2.listColumns.props.base.prop ? (t(), r("span", M, "1")) : (t(), o(j, { key: 3, configure: e2.listColumns, pageDesign: e2.pageDesign, errorBlank: true, selectWidget: e2.selectWidget, indexObj: e2.indexObj, onOnSelectWidget: (e3, s3) => N(e3, s3, n3.column), showSelectedClass: false }, null, 8, ["configure", "pageDesign", "selectWidget", "indexObj", "onOnSelectWidget"]))]), key: "1" }]), 1032, ["fixed", "column-key", "width", "label", "align", "header-align"]);
|
|
68
68
|
};
|
|
69
69
|
} });
|
|
70
70
|
export {
|
|
71
|
-
|
|
71
|
+
S as default
|
|
72
72
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as s, withCtx as u, createVNode as i, createElementVNode as
|
|
2
|
-
import { getTableSelectionConf as c, getTableIndexConf as b, getTableOperateConf as
|
|
1
|
+
import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as s, withCtx as u, createVNode as i, createElementVNode as d, createElementBlock as r, Fragment as n, renderList as p, unref as m, createTextVNode as f, createCommentVNode as g } from "vue";
|
|
2
|
+
import { getTableSelectionConf as c, getTableIndexConf as b, getTableOperateConf as _, getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import v from "../component/data-origin.vue.js";
|
|
4
4
|
import h from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import x from "../../form/common/data-linkage.vue.js";
|
|
@@ -41,7 +41,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
41
41
|
}
|
|
42
42
|
}), l(() => j2.configure.props.base.showOperation, (e3) => {
|
|
43
43
|
if (e3) {
|
|
44
|
-
let e4 =
|
|
44
|
+
let e4 = _();
|
|
45
45
|
j2.configure.items.push(e4);
|
|
46
46
|
} else {
|
|
47
47
|
let e4 = null;
|
|
@@ -50,8 +50,8 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
50
50
|
}), null != e4 && j2.configure.items.splice(e4, 1);
|
|
51
51
|
}
|
|
52
52
|
}), (a2, l2) => {
|
|
53
|
-
const c2 = t("el-option"), b2 = t("el-select"),
|
|
54
|
-
return s(), o(N, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: O.value, "onUpdate:modelValue": l2[37] || (l2[37] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), d(n, null, p(m(_)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: u(() => [(s(true), d(n, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(B, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", C, [i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[38] || (l2[38] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[39] || (l2[39] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[40] || (l2[40] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[41] || (l2[41] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[42] || (l2[42] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[43] || (l2[43] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[44] || (l2[44] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[45] || (l2[45] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": E }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "default" }, { default: u(() => l2[46] || (l2[46] = [f("默认")])), _: 1 }), i(L, { value: "covered" }, { default: u(() => l2[47] || (l2[47] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[50] || (l2[50] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[51] || (l2[51] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[52] || (l2[52] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "left" }, { default: u(() => l2[53] || (l2[53] = [f("居左")])), _: 1 }), i(L, { value: "center" }, { default: u(() => l2[54] || (l2[54] = [f("居中")])), _: 1 }), i(L, { value: "right" }, { default: u(() => l2[55] || (l2[55] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[56] || (l2[56] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[57] || (l2[57] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[58] || (l2[58] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[59] || (l2[59] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[60] || (l2[60] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[61] || (l2[61] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[62] || (l2[62] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[63] || (l2[63] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[64] || (l2[64] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[65] || (l2[65] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[66] || (l2[66] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[67] || (l2[67] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(L, { value: "no" }, { default: u(() => l2[74] || (l2[74] = [f("不合计")])), _: 1 }), i(L, { value: "current" }, { default: u(() => l2[75] || (l2[75] = [f("当前页")])), _: 1 }), i(L, { value: "all" }, { default: u(() => l2[76] || (l2[76] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(B, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(L, { value: true }, { default: u(() => l2[77] || (l2[77] = [f("是")])), _: 1 }), i(L, { value: false }, { default: u(() => l2[78] || (l2[78] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(R, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(I, { label: "总条数", value: "total" }), i(I, { label: "每页大小选项列表", value: "sizes" }), i(I, { label: "上一页", value: "prev" }), i(I, { label: "跳转页码", value: "pager" }), i(I, { label: "下一页", value: "next" }), i(I, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
53
|
+
const c2 = t("el-option"), b2 = t("el-select"), _2 = t("el-form-item"), j3 = t("el-input"), B = t("el-radio"), L = t("el-radio-group"), q = t("el-collapse-item"), H = t("el-switch"), I = t("el-checkbox"), R = t("el-checkbox-group"), F = t("el-collapse"), N = t("el-form");
|
|
54
|
+
return s(), o(N, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: O.value, "onUpdate:modelValue": l2[38] || (l2[38] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", w, [i(_2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), r(n, null, p(m(V)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(_2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(_2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(_2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[39] || (l2[39] = [f("普通")])), _: 1 }), i(B, { value: "hidden" }, { default: u(() => l2[40] || (l2[40] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(_2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: u(() => [(s(true), r(n, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", C, [i(_2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[41] || (l2[41] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[42] || (l2[42] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[43] || (l2[43] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[44] || (l2[44] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(_2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[45] || (l2[45] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[46] || (l2[46] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(_2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[47] || (l2[47] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[48] || (l2[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(_2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(_2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(_2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": E }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(_2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[49] || (l2[49] = [f("默认")])), _: 1 }), i(B, { value: "covered" }, { default: u(() => l2[50] || (l2[50] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[51] || (l2[51] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[52] || (l2[52] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[53] || (l2[53] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[54] || (l2[54] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[55] || (l2[55] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[56] || (l2[56] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[57] || (l2[57] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[58] || (l2[58] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[59] || (l2[59] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[60] || (l2[60] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[61] || (l2[61] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[62] || (l2[62] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[63] || (l2[63] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[64] || (l2[64] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[65] || (l2[65] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[66] || (l2[66] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[67] || (l2[67] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[68] || (l2[68] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[69] || (l2[69] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[70] || (l2[70] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[71] || (l2[71] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[72] || (l2[72] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[73] || (l2[73] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[74] || (l2[74] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[75] || (l2[75] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[76] || (l2[76] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "no" }, { default: u(() => l2[77] || (l2[77] = [f("不合计")])), _: 1 }), i(B, { value: "current" }, { default: u(() => l2[78] || (l2[78] = [f("当前页")])), _: 1 }), i(B, { value: "all" }, { default: u(() => l2[79] || (l2[79] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(_2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", D, [i(_2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", S, [i(_2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [i(_2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[80] || (l2[80] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[81] || (l2[81] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(R, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(I, { label: "总条数", value: "total" }), i(I, { label: "每页大小选项列表", value: "sizes" }), i(I, { label: "上一页", value: "prev" }), i(I, { label: "跳转页码", value: "pager" }), i(I, { label: "下一页", value: "next" }), i(I, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
55
55
|
};
|
|
56
56
|
} });
|
|
57
57
|
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-
|
|
5
|
+
const o = t(e, [["__scopeId", "data-v-4dfe90c9"]]);
|
|
6
6
|
export {
|
|
7
7
|
o as default
|
|
8
8
|
};
|