super-page-designer 2.2.77-sit3 → 2.2.77-sit7
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/utils/assemblys-config.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +64 -60
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +64 -60
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +11 -11
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +24 -22
- 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.vue2.js +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es/style.css +12248 -11680
- package/package.json +5 -5
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
|
@@ -1,106 +1,110 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as a, onUnmounted as t, computed as
|
|
2
|
-
import {
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, onUnmounted as t, computed as o, resolveComponent as u, createElementBlock as n, createBlock as i, openBlock as r, toDisplayString as s, withCtx as c, createVNode as p, unref as v, createElementVNode as m, Fragment as d, renderList as f, normalizeClass as g, withDirectives as y, vShow as h, normalizeStyle as w, createTextVNode as b, createCommentVNode as _, resolveDynamicComponent as z, withModifiers as x, nextTick as k } from "vue";
|
|
2
|
+
import { Close as C, Check as S, Search as P, Plus as V, InfoFilled as I, CircleClose as U } from "@element-plus/icons-vue";
|
|
3
|
+
import * as O from "@element-plus/icons";
|
|
4
|
+
import N from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
const A = { key: 0 }, L = { class: "amb-component-popover-left-menu-main" }, E = ["onClick"], T = { style: { "margin-top": "4px", "margin-bottom": "8px", "font-size": "10px", display: "flex", "align-items": "center", "justify-self": "center" } }, j = ["title"], q = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "medium" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: q2 }) {
|
|
6
|
+
const M = q2, R = e2, $ = [{ value: "ElementUI", label: "ElementUI" }, { value: "custom", label: "自定义" }];
|
|
7
7
|
l(false);
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
let
|
|
14
|
-
function W() {
|
|
15
|
-
"custom" == D.value ? Y() : X();
|
|
16
|
-
}
|
|
8
|
+
const B = {}, D = l({}), F = l(R.iconType);
|
|
9
|
+
F.value || (F.value = $[0].value);
|
|
10
|
+
const G = l("");
|
|
11
|
+
G.value = R.iconValue, l([]);
|
|
12
|
+
const H = l({}), J = l(""), K = l(), Q = l([]);
|
|
13
|
+
let W;
|
|
17
14
|
function X() {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const
|
|
15
|
+
"custom" == F.value ? Z() : Y();
|
|
16
|
+
}
|
|
17
|
+
function Y() {
|
|
18
|
+
const e3 = H.value.elementUIOptions.filter((e4) => !J.value || e4.label.toLowerCase().includes(J.value.toLowerCase()) || e4.value.toLowerCase().includes(J.value.toLowerCase()));
|
|
19
|
+
D.value.currentPage || (D.value.currentPage = 1), D.value.pageSize || (D.value.pageSize = 50);
|
|
20
|
+
let l2 = D.value.currentPage;
|
|
21
|
+
const a2 = D.value.pageSize;
|
|
22
22
|
let t2 = (l2 - 1) * a2;
|
|
23
23
|
t2 + 2 > e3.length && (t2 = 0, l2 = 1);
|
|
24
|
-
const
|
|
25
|
-
for (let l3 = t2; l3 < t2 + a2 && l3 < e3.length; l3++)
|
|
26
|
-
|
|
24
|
+
const o2 = [];
|
|
25
|
+
for (let l3 = t2; l3 < t2 + a2 && l3 < e3.length; l3++) o2.push(e3[l3]);
|
|
26
|
+
D.value.currentPage = l2, D.value.total = e3.length, Q.value = o2;
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
const e3 = { query:
|
|
30
|
-
|
|
28
|
+
function Z() {
|
|
29
|
+
const e3 = { query: J.value, pageSize: D.value && D.value.pageSize ? D.value.pageSize : 50, pageNo: D.value && D.value.pageNo ? D.value.pageNo : 1 };
|
|
30
|
+
J.value, N.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", e3).then((e4) => {
|
|
31
31
|
const l2 = e4.data ? e4.data : [], a2 = [];
|
|
32
32
|
for (let e5 of l2) a2.push({ value: e5.iconName, label: e5.iconName });
|
|
33
|
-
|
|
33
|
+
H.value.customOptions = a2, "custom" == F.value && (D.value.pageSize = e4.size, D.value.currentPage = e4.page, D.value.total = e4.total, Q.value = a2);
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
|
-
a(
|
|
37
|
-
|
|
38
|
-
"custom" ==
|
|
36
|
+
a(J, () => {
|
|
37
|
+
W && clearTimeout(W), W = setTimeout(function() {
|
|
38
|
+
"custom" == F.value ? (D.value.pageNo = 1, Z()) : (D.value.pageNo = 1, Y());
|
|
39
39
|
}, 300);
|
|
40
40
|
}), t(() => {
|
|
41
|
-
|
|
41
|
+
W && clearTimeout(W);
|
|
42
42
|
});
|
|
43
|
-
const
|
|
43
|
+
const ee = o(() => {
|
|
44
44
|
let e3 = 185;
|
|
45
|
-
return "custom" ==
|
|
46
|
-
}),
|
|
45
|
+
return "custom" == F.value && (e3 = 170), e3;
|
|
46
|
+
}), le = o(() => {
|
|
47
47
|
const e3 = {};
|
|
48
|
-
return "custom" ==
|
|
48
|
+
return "custom" == F.value && (e3.width = "200px"), e3;
|
|
49
49
|
});
|
|
50
|
-
function
|
|
51
|
-
e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]),
|
|
52
|
-
let l2 =
|
|
50
|
+
function ae(e3) {
|
|
51
|
+
e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), F.value = e3;
|
|
52
|
+
let l2 = B[F.value];
|
|
53
53
|
var a2;
|
|
54
|
-
l2 || (l2 = { currentPage: 1, pageSize: 50, total: 0 },
|
|
55
|
-
}
|
|
56
|
-
function ae() {
|
|
57
|
-
F.value = "", q("update:modelValue", "", ""), J.value.hide();
|
|
54
|
+
l2 || (l2 = { currentPage: 1, pageSize: 50, total: 0 }, B[F.value] = l2), D.value = l2, "ElementUI" === (a2 = F.value) ? Y() : "custom" === a2 && Z();
|
|
58
55
|
}
|
|
59
56
|
function te() {
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
var _a, _b;
|
|
58
|
+
(_b = (_a = K.value) == null ? void 0 : _a.hide) == null ? void 0 : _b.call(_a);
|
|
59
|
+
}
|
|
60
|
+
function oe() {
|
|
61
|
+
G.value = "", M("update:modelValue", "", ""), K.value.hide();
|
|
62
|
+
}
|
|
63
|
+
function ue() {
|
|
64
|
+
if (J.value = J.value.trim(), !J.value) return void ElMessage.warning("请输入图标名!");
|
|
65
|
+
const e3 = H.value.customOptions || [];
|
|
62
66
|
let l2 = false;
|
|
63
|
-
for (let a3 of e3) if (a3.value ===
|
|
67
|
+
for (let a3 of e3) if (a3.value === J.value) {
|
|
64
68
|
l2 = true;
|
|
65
69
|
break;
|
|
66
70
|
}
|
|
67
|
-
|
|
68
|
-
const a2 =
|
|
69
|
-
if (
|
|
71
|
+
F.value = "custom", G.value = J.value;
|
|
72
|
+
const a2 = J.value;
|
|
73
|
+
if (J.value = "", M("update:modelValue", F.value, G.value), K.value.hide(), !l2) {
|
|
70
74
|
const e4 = { iconName: a2 };
|
|
71
|
-
|
|
72
|
-
"custom" ==
|
|
75
|
+
N.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
|
|
76
|
+
"custom" == F.value && Z();
|
|
73
77
|
}).catch((e5) => {
|
|
74
78
|
ElMessage.warning("保存图标失败!");
|
|
75
79
|
});
|
|
76
80
|
}
|
|
77
81
|
}
|
|
78
|
-
const
|
|
79
|
-
function
|
|
82
|
+
const ne = l();
|
|
83
|
+
function ie() {
|
|
80
84
|
k(() => {
|
|
81
85
|
!function() {
|
|
82
|
-
if (!
|
|
86
|
+
if (!H.value.elementUIOptions) {
|
|
83
87
|
if (!window.temp_Icon_Options) {
|
|
84
88
|
const e3 = [];
|
|
85
|
-
for (const [l2, a2] of Object.entries(
|
|
89
|
+
for (const [l2, a2] of Object.entries(O)) e3.push({ value: l2, label: l2, component: a2 });
|
|
86
90
|
e3.sort(function(e4, l2) {
|
|
87
91
|
const a2 = e4.value, t2 = l2.value;
|
|
88
92
|
return a2.localeCompare(t2);
|
|
89
93
|
}), window.temp_Icon_Options = e3;
|
|
90
94
|
}
|
|
91
|
-
|
|
95
|
+
H.value.elementUIOptions = window.temp_Icon_Options;
|
|
92
96
|
}
|
|
93
|
-
}(),
|
|
97
|
+
}(), ae(F.value);
|
|
94
98
|
});
|
|
95
99
|
}
|
|
96
100
|
return (l2, a2) => {
|
|
97
|
-
const t2 =
|
|
98
|
-
return e2.showLabel ? (r(), n("span",
|
|
99
|
-
return a3 = e3.row,
|
|
101
|
+
const t2 = u("el-icon"), o2 = u("el-input"), k2 = u("el-button"), O2 = u("el-tooltip"), N2 = u("el-col"), q3 = u("el-empty"), R2 = u("el-tag"), B2 = u("el-table-column"), H2 = u("el-table"), W2 = u("el-pagination"), Y2 = u("el-row"), Z2 = u("el-popover");
|
|
102
|
+
return e2.showLabel ? (r(), n("span", A, s(G.value), 1)) : (r(), i(Z2, { key: 1, ref_key: "popoverRef", ref: K, "popper-class": "amb-component-popover-main", trigger: "click", width: 400 }, { reference: c(() => [p(o2, { readonly: "", size: "small", onClick: ie, modelValue: G.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => G.value = e3), placeholder: "请选择" }, { suffix: c(() => [y(p(t2, { style: { cursor: "pointer" }, onClick: x(oe, ["stop"]) }, { default: c(() => [p(v(U))]), _: 1 }, 512), [[h, G.value]])]), _: 1 }, 8, ["modelValue"])]), default: c(() => [p(Y2, null, { default: c(() => [p(O2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: c(() => [p(k2, { type: "text", class: "amb-component-popover-close-btn", icon: v(C), onClick: te }, null, 8, ["icon"])]), _: 1 }), p(N2, { span: 8 }, { default: c(() => [m("div", L, [(r(), n(d, null, f($, (e3) => m("div", { class: g(["amb-popover-menu-item", e3.value == F.value ? "is-active" : ""]), onClick: (l3) => ae(e3.value) }, [p(t2, null, { default: c(() => [y(p(v(S), null, null, 512), [[h, e3.value == F.value]])]), _: 2 }, 1024), m("span", null, s(e3.label), 1)], 10, E)), 64))])]), _: 1 }), F.value ? (r(), i(N2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: c(() => [p(o2, { size: "small", modelValue: J.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => J.value = e3), placeholder: "搜索", "suffix-icon": v(P), style: w([{ "margin-bottom": "5px", height: "25px" }, le.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), y(p(k2, { style: { float: "right" }, onClick: ue, size: "small", type: "primary", icon: v(V), circle: "" }, null, 8, ["icon"]), [[h, "custom" == F.value]]), y(m("div", T, [p(t2, null, { default: c(() => [p(v(I))]), _: 1 }), a2[6] || (a2[6] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), a2[7] || (a2[7] = b(" ")), p(O2, null, { content: c(() => a2[4] || (a2[4] = [b(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), m("br", null, null, -1), b(" 2.支持svg图标,需以svg-开头,接svg内容,如:svg-xxxxxx. ")])), default: c(() => [p(R2, { type: "primary" }, { default: c(() => a2[5] || (a2[5] = [b("更多")])), _: 1 })]), _: 1 })], 512), [[h, "custom" == F.value]]), p(H2, { ref_key: "tableRef", ref: ne, height: ee.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: Q.value }, { default: c(() => [p(B2, { width: "65" }, { default: c((e3) => [p(k2, { type: "default", size: "small", onClick: (l3) => {
|
|
103
|
+
return a3 = e3.row, G.value = a3.value, M("update:modelValue", F.value, G.value), void K.value.hide();
|
|
100
104
|
var a3;
|
|
101
|
-
} }, { default: c(() => a2[8] || (a2[8] = [b(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), p(
|
|
105
|
+
} }, { default: c(() => a2[8] || (a2[8] = [b(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), p(B2, { label: "名称", prop: "value", width: "120" }, { default: c((e3) => [m("span", { style: { "text-align": "left" }, title: e3.row.value }, s(e3.row.value), 9, j)]), _: 1 }), p(B2, { label: "图标" }, { default: c((e3) => [e3.row.component ? (r(), i(z(e3.row.component), { key: 0, style: { width: "20px" } })) : _("", true)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), p(W2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": D.value.currentPage, "onUpdate:currentPage": a2[2] || (a2[2] = (e3) => D.value.currentPage = e3), "page-size": D.value.pageSize, "onUpdate:pageSize": a2[3] || (a2[3] = (e3) => D.value.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: D.value.total, onCurrentChange: X }, null, 8, ["current-page", "page-size", "size", "total"])]), _: 1 })) : (r(), i(N2, { key: 0, span: 16 }, { default: c(() => [p(q3, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 })]), _: 1 }, 512));
|
|
102
106
|
};
|
|
103
107
|
} });
|
|
104
108
|
export {
|
|
105
|
-
|
|
109
|
+
q as default
|
|
106
110
|
};
|
|
@@ -1,106 +1,110 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as i, createBlock as s, openBlock as p, toDisplayString as c, withCtx as d, createVNode as m, createCommentVNode as v, unref as f, createElementVNode as g, Fragment as y, renderList as h, normalizeClass as b, withDirectives as w, vShow as V, normalizeStyle as C, createTextVNode as k, withModifiers as _, nextTick as z } from "vue";
|
|
2
2
|
import { ElMessage as x } from "element-plus";
|
|
3
|
-
import {
|
|
4
|
-
import { EnableStates as
|
|
5
|
-
import
|
|
6
|
-
const
|
|
3
|
+
import { Close as S, Check as j, Search as O, Plus as P, CircleClose as T } from "@element-plus/icons-vue";
|
|
4
|
+
import { EnableStates as A } from "../../../utils/interfaces/page-design-types.js";
|
|
5
|
+
import N from "agilebuilder-ui/src/utils/request";
|
|
6
|
+
const D = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, E = ["onClick"], $ = { style: { height: "230px", padding: "0 10px" } }, I = ["title"], L = ["title"], R = e({ __name: "page-permission-select", props: { rowObj: Object, pageDesign: Object, size: { type: String, default: "medium" }, showLabel: { type: Boolean, default: false }, onlyService: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: R2 }) {
|
|
7
7
|
var _a, _b;
|
|
8
|
-
const
|
|
8
|
+
const B = R2, F = e2, X = l(false), q = l(null), G = l(), H = l(null), J = l(false), K = l(""), M = l();
|
|
9
9
|
a(() => {
|
|
10
|
-
window.addEventListener("click",
|
|
10
|
+
window.addEventListener("click", W);
|
|
11
11
|
}), t(() => {
|
|
12
|
-
window.removeEventListener("click",
|
|
12
|
+
window.removeEventListener("click", W), ie && clearTimeout(ie);
|
|
13
13
|
});
|
|
14
|
-
let
|
|
15
|
-
function
|
|
14
|
+
let Q = null;
|
|
15
|
+
function W(e3) {
|
|
16
16
|
let l2 = null;
|
|
17
|
-
if (
|
|
18
|
-
if (e3.target ===
|
|
19
|
-
const a2 =
|
|
20
|
-
a2 && (e3.target === a2 || a2.contains(e3.target)) || (e3.target === l2 || l2.contains(e3.target) ?
|
|
17
|
+
if (H.value && (l2 = H.value.$el.parentNode), !e3.target || !l2) return;
|
|
18
|
+
if (e3.target === Q) return;
|
|
19
|
+
const a2 = q.value ? q.value.input : null;
|
|
20
|
+
a2 && (e3.target === a2 || a2.contains(e3.target)) || (e3.target === l2 || l2.contains(e3.target) ? Q = e3.target : (H.value.$el, J.value && Y()));
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
22
|
+
function Y(e3) {
|
|
23
|
+
J.value = false;
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
}, get: () =>
|
|
31
|
-
let
|
|
25
|
+
const Z = [{ value: "service", label: "服务" }, { value: "custom", label: "自定义" }], ee = o({ currentPage: 1, pageSize: 50, total: 0 }), le = l((_a = F.rowObj) == null ? void 0 : _a.type);
|
|
26
|
+
le.value || (le.value = Z[0].value), F.onlyService && (le.value = "service");
|
|
27
|
+
const ae = l("");
|
|
28
|
+
ae.value = (_b = F.rowObj) == null ? void 0 : _b.simpleCode;
|
|
29
|
+
const te = n({ set(e3) {
|
|
30
|
+
}, get: () => F.rowObj.simpleCode }), oe = o({ systemCode: "", searchValue: "" }), ne = l([{ value: "", version: 1, label: "" }]), ue = l([]);
|
|
31
|
+
let re, ie = null;
|
|
32
32
|
function se() {
|
|
33
|
-
|
|
33
|
+
de();
|
|
34
34
|
}
|
|
35
|
-
u(
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
u(oe, () => {
|
|
36
|
+
ie && clearTimeout(ie), ie = setTimeout(function() {
|
|
37
|
+
ee.currentPage = 1, de();
|
|
38
38
|
}, 300);
|
|
39
39
|
});
|
|
40
|
-
let
|
|
41
|
-
function
|
|
42
|
-
|
|
40
|
+
let pe = null;
|
|
41
|
+
function ce({ column: e3 }) {
|
|
42
|
+
pe = e3, de();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function de() {
|
|
45
45
|
var _a2, _b2;
|
|
46
|
-
const e3 = { pagination: { currentPage:
|
|
47
|
-
null !=
|
|
46
|
+
const e3 = { pagination: { currentPage: ee.currentPage, pageSize: ee.pageSize, showTotal: true }, searchForm: [], dynamicColumnInfo: [], sorts: [] };
|
|
47
|
+
null != pe && e3.sorts.push({ prop: pe.property, order: "ascending" == pe.order ? "asc" : "desc" }), oe.searchValue && (e3.searchForm.push({ propName: "name", propDbName: "name", operator: "CONTAIN", dataType: "TEXT", propValue: oe.searchValue, joinSign: "or" }), e3.searchForm.push({ propName: "code", propDbName: "code", operator: "CONTAIN", dataType: "TEXT", propValue: oe.searchValue }));
|
|
48
48
|
let l2 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/service-flow/list", a2 = null;
|
|
49
|
-
if (
|
|
50
|
-
let e4 =
|
|
49
|
+
if (oe.systemCode) {
|
|
50
|
+
let e4 = ne.value.filter((e5) => e5.value == oe.systemCode);
|
|
51
51
|
e4.length > 0 && (a2 = e4[0].version);
|
|
52
52
|
}
|
|
53
|
-
l2 += "?systemCode=" + (
|
|
54
|
-
|
|
53
|
+
l2 += "?systemCode=" + (oe.systemCode ? oe.systemCode : (_a2 = F.pageDesign) == null ? void 0 : _a2.systemCode), l2 += "&publishVersion=" + (a2 || ((_b2 = F.pageDesign) == null ? void 0 : _b2.systemVersion)), l2 += "&parentCode=", N.post(l2, e3).then((e4) => {
|
|
54
|
+
ue.value = e4.data, ee.currentPage = e4.page, ee.pageSize = e4.size, ee.total = e4.total;
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const me = n(() => {
|
|
58
58
|
let e3 = 185;
|
|
59
|
-
return "custom" ==
|
|
59
|
+
return "custom" == le.value && (e3 = 170), e3;
|
|
60
60
|
});
|
|
61
|
-
function
|
|
62
|
-
if (e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), e3 || (e3 = "service"),
|
|
63
|
-
if (
|
|
64
|
-
|
|
61
|
+
function ve(e3) {
|
|
62
|
+
if (e3 && Array.isArray(e3) && e3.length > 0 && (e3 = e3[0]), e3 || (e3 = "service"), le.value = e3, "service" == le.value) {
|
|
63
|
+
if (re == oe.searchValue) return;
|
|
64
|
+
re = oe.searchValue, de();
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
function ve() {
|
|
68
|
-
ee.value = "", le.value = "", R("update:modelValue", "", "", ""), W();
|
|
69
|
-
}
|
|
70
67
|
function fe() {
|
|
71
|
-
|
|
68
|
+
var _a2, _b2;
|
|
69
|
+
(_b2 = (_a2 = G.value) == null ? void 0 : _a2.hide) == null ? void 0 : _b2.call(_a2);
|
|
72
70
|
}
|
|
73
71
|
function ge() {
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
le.value = "", ae.value = "", B("update:modelValue", "", "", ""), Y();
|
|
73
|
+
}
|
|
74
|
+
function ye() {
|
|
75
|
+
K.value ? (ae.value = K.value, B("update:modelValue", le.value, ae.value, ""), Y()) : x.error("请输入权限编码!");
|
|
76
|
+
}
|
|
77
|
+
function he() {
|
|
78
|
+
J.value = true, z(() => {
|
|
79
|
+
ve(le.value), N.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e3) => {
|
|
76
80
|
var _a2, _b2;
|
|
77
81
|
const l2 = e3, a2 = [], t2 = {};
|
|
78
82
|
for (let e4 of l2) {
|
|
79
83
|
if (e4.deleted) continue;
|
|
80
|
-
if (e4.enabledState !=
|
|
84
|
+
if (e4.enabledState != A.ENABLE) continue;
|
|
81
85
|
const l3 = t2[e4.code];
|
|
82
86
|
null != l3 && e4.publishVersion > l3.publishVersion ? t2[e4.code] = e4 : null == l3 && (t2[e4.code] = e4, a2.push(e4.code));
|
|
83
87
|
}
|
|
84
|
-
const o2 = (_a2 =
|
|
85
|
-
|
|
88
|
+
const o2 = (_a2 = F.pageDesign) == null ? void 0 : _a2.systemCode, n2 = (_b2 = F.pageDesign) == null ? void 0 : _b2.systemVersion;
|
|
89
|
+
ne.value = [];
|
|
86
90
|
for (let e4 of a2) {
|
|
87
91
|
const l3 = t2[e4], a3 = e4 === o2 ? n2 : l3.publishVersion;
|
|
88
|
-
|
|
92
|
+
ne.value.push({ value: e4, label: l3.name + "(" + a3 + ")", version: a3 });
|
|
89
93
|
}
|
|
90
94
|
});
|
|
91
95
|
});
|
|
92
96
|
}
|
|
93
|
-
function
|
|
94
|
-
return e3 ? `${
|
|
97
|
+
function be(e3) {
|
|
98
|
+
return e3 ? `${F.rowObj.name}:${e3}` : null;
|
|
95
99
|
}
|
|
96
100
|
return (l2, a2) => {
|
|
97
|
-
const t2 = r("el-icon"), o2 = r("el-input"), n2 = r("el-
|
|
98
|
-
return e2.showLabel ? (p(),
|
|
99
|
-
return a3 = e3.row,
|
|
101
|
+
const t2 = r("el-icon"), o2 = r("el-input"), n2 = r("el-button"), u2 = r("el-tooltip"), z2 = r("el-col"), x2 = r("el-empty"), A2 = r("el-option"), N2 = r("el-select"), R3 = r("el-row"), F2 = r("el-text"), Q2 = r("el-table-column"), W2 = r("el-table"), re2 = r("el-pagination"), ie2 = r("el-popover");
|
|
102
|
+
return e2.showLabel ? (p(), i("span", D, c(e2.rowObj.name ? e2.rowObj.name : e2.rowObj.simpleCode), 1)) : (p(), s(ie2, { key: 1, modelValue: X.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => X.value = e3), ref_key: "popoverRef", ref: G, "popper-class": "amb-component-popover-main", visible: J.value, width: 400 }, { reference: d(() => [m(o2, { ref_key: "inputRef", ref: q, readonly: "", size: "small", onClick: he, title: e2.rowObj.name + "(" + e2.rowObj.simpleCode + ")", formatter: be, modelValue: te.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => te.value = e3), placeholder: "请选择" }, { suffix: d(() => [w(m(t2, { style: { cursor: "pointer" }, onClick: _(ge, ["stop"]) }, { default: d(() => [m(f(T))]), _: 1 }, 512), [[V, ae.value]])]), _: 1 }, 8, ["title", "modelValue"])]), default: d(() => [m(R3, { ref_key: "contentRef", ref: H }, { default: d(() => [m(u2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: d(() => [m(n2, { type: "text", class: "amb-component-popover-close-btn", icon: f(S), onClick: fe }, null, 8, ["icon"])]), _: 1 }), e2.onlyService ? v("", true) : (p(), s(z2, { key: 0, span: 8 }, { default: d(() => [g("div", U, [(p(), i(y, null, h(Z, (e3) => g("div", { class: b(["amb-popover-menu-item", e3.value == le.value ? "is-active" : ""]), onClick: (l3) => ve(e3.value) }, [m(t2, null, { default: d(() => [w(m(f(j), null, null, 512), [[V, e3.value == l2.iconType]])]), _: 2 }, 1024), g("span", null, c(e3.label), 1)], 10, E)), 64))])]), _: 1 })), le.value ? (p(), s(z2, { key: 2, span: e2.onlyService ? 24 : 16, style: { "padding-left": "10px" } }, { default: d(() => [m(R3, null, { default: d(() => [w(m(N2, { modelValue: oe.systemCode, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => oe.systemCode = e3), placeholder: "当前应用", clearable: "", style: { width: "100px" } }, { default: d(() => [(p(true), i(y, null, h(ne.value, (e3) => (p(), s(A2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: oe.searchValue, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => oe.searchValue = e3), placeholder: "搜索", "suffix-icon": f(O), style: C([{ "margin-left": "6px" }, { width: e2.onlyService ? "250px" : "130px" }]) }, null, 8, ["modelValue", "suffix-icon", "style"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: K.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => K.value = e3), placeholder: "请输入", style: { "margin-left": "6px", width: "200px" } }, null, 8, ["modelValue"]), [[V, "custom" == le.value]]), w(m(n2, { style: { "margin-left": "4px" }, onClick: ye, size: "small", type: "primary", icon: f(P), circle: "" }, null, 8, ["icon"]), [[V, "custom" == le.value]])]), _: 1 }), w(g("div", $, [m(F2, { type: "primary" }, { default: d(() => a2[7] || (a2[7] = [k("请输入自定义Controller中Permission注解中的code后点击添加图标.")])), _: 1 })], 512), [[V, "service" != le.value]]), w(m(W2, { ref_key: "tableRef", ref: M, height: me.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "highlight-current-row": true, onSortChange: ce, data: ue.value }, { default: d(() => [m(Q2, { width: "65" }, { default: d((e3) => [m(n2, { type: "default", size: "small", onClick: (l3) => {
|
|
103
|
+
return a3 = e3.row, ae.value = a3.code, B("update:modelValue", le.value, ae.value, a3.name, a3.id), void Y();
|
|
100
104
|
var a3;
|
|
101
|
-
} }, { default: d(() => a2[8] || (a2[8] = [
|
|
105
|
+
} }, { default: d(() => a2[8] || (a2[8] = [k(" 选择 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), m(Q2, { label: "名称", prop: "name", width: "120", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.name }, c(e3.row.name), 9, I)]), _: 1 }), m(Q2, { label: "编码", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.code }, c(e3.row.code), 9, L)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), [[V, "service" == le.value]]), w(m(re2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": ee.currentPage, "onUpdate:currentPage": a2[4] || (a2[4] = (e3) => ee.currentPage = e3), "page-size": ee.pageSize, "onUpdate:pageSize": a2[5] || (a2[5] = (e3) => ee.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: ee.total, onCurrentChange: se }, null, 8, ["current-page", "page-size", "size", "total"]), [[V, "service" == le.value]])]), _: 1 }, 8, ["span"])) : (p(), s(z2, { key: 1, span: 16 }, { default: d(() => [m(x2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["modelValue", "visible"]));
|
|
102
106
|
};
|
|
103
107
|
} });
|
|
104
108
|
export {
|
|
105
|
-
|
|
109
|
+
R as default
|
|
106
110
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, computed as l, resolveComponent as i, createBlock as o, openBlock as t, withCtx as n, createElementVNode as r, createVNode as s, createCommentVNode as u, withDirectives as d, renderSlot as p, createTextVNode as c, unref as g, vShow as f, createElementBlock as m, Fragment as v, renderList as y, normalizeClass as b, toDisplayString as V } from "vue";
|
|
2
|
-
import O from "../../form/common/dataorigin-input-table.
|
|
2
|
+
import O from "../../form/common/dataorigin-input-table.vue2.js";
|
|
3
3
|
import { Codemirror as _ } from "vue-codemirror";
|
|
4
4
|
import C from "../../workflow/component/combination.vue.js";
|
|
5
5
|
import S from "./return-set-table.vue.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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
2
|
import { getTableSelectionConf as c, getTableIndexConf as b, getTableOperateConf as V, getFormComponentOptions as _ } 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";
|
|
@@ -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"), V2 = 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"),
|
|
54
|
-
return s(), o(N, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: E.value, "onUpdate:modelValue": l2[40] || (l2[40] = (e3) => E.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(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), n(r, 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 }), i(V2, { 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[41] || (l2[41] = [f("普通")])), _: 1 }), i(B, { value: "hidden" }, { default: u(() => l2[42] || (l2[42] = [f("隐藏")])), _: 1 })]), _: 1 }, 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), n(r, 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(V2, { 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[43] || (l2[43] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[44] || (l2[44] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[45] || (l2[45] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[46] || (l2[46] = [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(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[47] || (l2[47] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[48] || (l2[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { 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[49] || (l2[49] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[50] || (l2[50] = [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": O }, 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": P }, 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": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { 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[51] || (l2[51] = [f("默认")])), _: 1 }), i(B, { value: "covered" }, { default: u(() => l2[52] || (l2[52] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[53] || (l2[53] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[54] || (l2[54] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[55] || (l2[55] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[56] || (l2[56] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[57] || (l2[57] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[58] || (l2[58] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[59] || (l2[59] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[60] || (l2[60] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[61] || (l2[61] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[62] || (l2[62] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[63] || (l2[63] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[64] || (l2[64] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[65] || (l2[65] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[66] || (l2[66] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[67] || (l2[67] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[68] || (l2[68] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[69] || (l2[69] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[70] || (l2[70] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[71] || (l2[71] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[72] || (l2[72] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[73] || (l2[73] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[74] || (l2[74] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[75] || (l2[75] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[76] || (l2[76] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[77] || (l2[77] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[78] || (l2[78] = [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[24] || (l2[24] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { 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[79] || (l2[79] = [f("不合计")])), _: 1 }), i(B, { value: "current" }, { default: u(() => l2[80] || (l2[80] = [f("当前页")])), _: 1 }), i(B, { value: "all" }, { default: u(() => l2[81] || (l2[81] = [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[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(V2, { 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(V2, { 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(V2, { 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": "不使用", onChange: l2[30] || (l2[30] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[32] || (l2[32] = (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(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[33] || (l2[33] = (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(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[82] || (l2[82] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[83] || (l2[83] = [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[35] || (l2[35] = (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[36] || (l2[36] = (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[37] || (l2[37] = (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[38] || (l2[38] = (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[39] || (l2[39] = (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"), V2 = 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"), M = t("el-form");
|
|
54
|
+
return s(), o(M, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: E.value, "onUpdate:modelValue": l2[41] || (l2[41] = (e3) => E.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(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), r(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 }), i(V2, { 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[42] || (l2[42] = [f("普通")])), _: 1 }), i(B, { value: "hidden" }, { default: u(() => l2[43] || (l2[43] = [f("隐藏")])), _: 1 })]), _: 1 }, 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), 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(V2, { label: "移动端卡片", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.isMobileCard, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.isMobileCard = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[44] || (l2[44] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[45] || (l2[45] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[46] || (l2[46] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[47] || (l2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[49] || (l2[49] = [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(L, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[50] || (l2[50] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[51] || (l2[51] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[52] || (l2[52] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[53] || (l2[53] = [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": O }, 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": P }, 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": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[54] || (l2[54] = [f("默认")])), _: 1 }), i(B, { value: "covered" }, { default: u(() => l2[55] || (l2[55] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[56] || (l2[56] = [f("是")])), _: 1 }), i(B, { 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(L, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[58] || (l2[58] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[59] || (l2[59] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[60] || (l2[60] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[61] || (l2[61] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[62] || (l2[62] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[63] || (l2[63] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[64] || (l2[64] = [f("是")])), _: 1 }), i(B, { 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(L, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[66] || (l2[66] = [f("是")])), _: 1 }), i(B, { 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(L, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(B, { 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(L, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(B, { 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(L, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(B, { 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(L, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[74] || (l2[74] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[75] || (l2[75] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[76] || (l2[76] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[77] || (l2[77] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[78] || (l2[78] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[79] || (l2[79] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { 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 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "no" }, { default: u(() => l2[82] || (l2[82] = [f("不合计")])), _: 1 }), i(B, { value: "current" }, { default: u(() => l2[83] || (l2[83] = [f("当前页")])), _: 1 }), i(B, { value: "all" }, { default: u(() => l2[84] || (l2[84] = [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[27] || (l2[27] = (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(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[28] || (l2[28] = (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[29] || (l2[29] = (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(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[31] || (l2[31] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[33] || (l2[33] = (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(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[34] || (l2[34] = (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(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[85] || (l2[85] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[86] || (l2[86] = [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[36] || (l2[36] = (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[37] || (l2[37] = (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[38] || (l2[38] = (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[39] || (l2[39] = (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[40] || (l2[40] = (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 {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as a, createElementBlock as t, openBlock as o, createVNode as n, createElementVNode as l, unref as u, isRef as i, withDirectives as r, createBlock as s, vShow as g } from "vue";
|
|
2
|
+
import p from "./table-attr-base.vue.js";
|
|
3
|
+
import c from "./table-attr-advanced.vue.js";
|
|
4
4
|
import f from "./table-attr-style.vue.js";
|
|
5
5
|
import m from "../component/attr-header.vue.js";
|
|
6
6
|
import b from "./table-attr-event.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import d from "../../form/common/attr-header.vue.js";
|
|
8
|
+
import v from "./tablecolumn-attr-base.vue.js";
|
|
9
9
|
import D from "./tablecolumn-attr-style.vue.js";
|
|
10
10
|
import j from "./tablecolumn-attr-event.vue.js";
|
|
11
11
|
import y from "../../../../utils/eventBus.js";
|
|
12
12
|
const C = { key: 0, class: "amb-design-attr-content" }, V = { class: "amb-design-attr-list" }, E = { key: 1, class: "amb-design-attr-content" }, h = { class: "amb-design-attr-list" }, k = e({ __name: "table-attr", props: { pageDesign: { type: Object, default: () => {
|
|
13
13
|
} }, configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) } }, setup(e2) {
|
|
14
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
15
15
|
const k2 = e2;
|
|
16
|
-
((_c = (_b = (_a = k2.configure) == null ? void 0 : _a.props) == null ? void 0 : _b.base) == null ? void 0 : _c.editable) && void 0 === ((_f = (_e = (_d = k2.configure) == null ? void 0 : _d.props) == null ? void 0 : _e.base) == null ? void 0 : _f.columnEditable) && (k2.configure.props.base.columnEditable = true), void 0 === ((_i = (_h = (_g = k2.configure) == null ? void 0 : _g.props) == null ? void 0 : _h.base) == null ? void 0 : _i.columnEditable) && (k2.configure.props.base.columnEditable = false);
|
|
17
|
-
let x =
|
|
18
|
-
const O =
|
|
16
|
+
((_c = (_b = (_a = k2.configure) == null ? void 0 : _a.props) == null ? void 0 : _b.base) == null ? void 0 : _c.editable) && void 0 === ((_f = (_e = (_d = k2.configure) == null ? void 0 : _d.props) == null ? void 0 : _e.base) == null ? void 0 : _f.columnEditable) && (k2.configure.props.base.columnEditable = true), void 0 === ((_i = (_h = (_g = k2.configure) == null ? void 0 : _g.props) == null ? void 0 : _h.base) == null ? void 0 : _i.columnEditable) && (k2.configure.props.base.columnEditable = false), void 0 === ((_l = (_k = (_j = k2.configure) == null ? void 0 : _j.props) == null ? void 0 : _k.base) == null ? void 0 : _l.isMobileCard) && (k2.configure.props.base.isMobileCard = true);
|
|
17
|
+
let x = a("base");
|
|
18
|
+
const O = a({}), M = a({});
|
|
19
19
|
return y.$on("selectColumn", (e3) => {
|
|
20
|
-
O.value = e3.columnData,
|
|
21
|
-
}), (
|
|
20
|
+
O.value = e3.columnData, M.value = e3.tableConfigure;
|
|
21
|
+
}), (a2, y2) => Object.keys(O.value).length > 0 ? (o(), t("div", C, [n(d, { modelValue: u(x), "onUpdate:modelValue": y2[0] || (y2[0] = (e3) => i(x) ? x.value = e3 : x = e3), showEvent: "" }, null, 8, ["modelValue"]), l("div", V, [r((o(), s(v, { key: O.value.uuid, pageDesign: e2.pageDesign, configure: O.value, tableConfigure: M.value }, null, 8, ["pageDesign", "configure", "tableConfigure"])), [[g, "base" === u(x)]]), r(n(D, { configure: O.value, pageDesign: e2.pageDesign, tableConfigure: e2.configure }, null, 8, ["configure", "pageDesign", "tableConfigure"]), [[g, "style" === u(x)]]), r(n(j, { configure: O.value }, null, 8, ["configure"]), [[g, "event" === u(x)]])])])) : (o(), t("div", E, [n(m, { modelValue: u(x), "onUpdate:modelValue": y2[1] || (y2[1] = (e3) => i(x) ? x.value = e3 : x = e3) }, null, 8, ["modelValue"]), l("div", h, [r(n(p, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[g, "base" === u(x)]]), r(n(c, { pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: M.value }, null, 8, ["pageDesign", "configure", "tableConfigure"]), [[g, "advanced" === u(x)]]), r(n(f, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[g, "style" === u(x)]]), r(n(b, { configure: e2.configure }, null, 8, ["configure"]), [[g, "event" === u(x)]])])]));
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
24
24
|
k as default
|