super-page-designer 2.2.89-sit9 → 2.2.91-sit11
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/index.d.ts +2 -1
- package/dist/es/components/design/utils/assemblys-config.js +1 -1
- package/dist/es/components/design/utils/page-table-util.js +23 -21
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +19 -19
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.d.ts +31 -0
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +7 -0
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +111 -5
- package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +13 -7
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +18 -18
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +16 -16
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +46 -46
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +23 -23
- package/dist/es/index.d.ts +1 -2
- package/dist/es/index.js +2 -0
- package/dist/es/style.css +17 -20
- package/package.json +5 -5
- package/dist/es/components/design/index.js +0 -4
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue3.js +0 -102
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
iconType: StringConstructor;
|
|
3
|
+
iconValue: StringConstructor;
|
|
4
|
+
size: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
showLabel: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
+
iconType: StringConstructor;
|
|
16
|
+
iconValue: StringConstructor;
|
|
17
|
+
size: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
showLabel: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
}>> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
27
|
+
}>, {
|
|
28
|
+
size: string;
|
|
29
|
+
showLabel: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
@@ -1,7 +1,113 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { defineComponent as e, ref as l, computed as o, resolveComponent as a, resolveDirective as n, createElementBlock as t, createBlock as u, openBlock as i, toDisplayString as c, withCtx as s, createVNode as v, withDirectives as p, unref as r, createElementVNode as m, Fragment as d, renderList as f, normalizeClass as g, vShow as b, createCommentVNode as y, createTextVNode as w, withModifiers as h, nextTick as _ } from "vue";
|
|
2
|
+
import { Close as k, Check as I, Search as x, Plus as $, InfoFilled as C, CircleClose as A } from "@element-plus/icons-vue";
|
|
3
|
+
import * as V from "@element-plus/icons";
|
|
4
|
+
import O from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
const U = { key: 0 }, j = { class: "amb-component-popover-left-menu-main" }, z = ["onClick"], P = { key: 1, style: { display: "flex", gap: "10px", "align-items": "center" } }, E = { key: 2 }, L = { key: 3, class: "amb-component-popover-icon-list-scroll", style: { overflow: "auto" } }, S = { class: "amb-component-popover-icon-grid" }, T = ["onClick"], N = { key: 4, style: { "text-align": "right" } }, q = e({ __name: "common-icon-bind", props: { iconType: String, iconValue: String, size: { type: String, default: "small" }, showLabel: { type: Boolean, default: false } }, emits: ["update:modelValue"], setup(e2, { emit: q2 }) {
|
|
6
|
+
var _a, _b;
|
|
7
|
+
const M = q2, B = e2, R = l([]), D = l([]), F = l([]), G = l([{ value: "ElementUI", label: "ElementUI" }, { value: "ambIcon", label: "Amb图标库" }, { value: "ambColorIcon", label: "Amb彩色图标库", dataList: [] }, { value: "custom", label: "自定义" }]);
|
|
8
|
+
l(false);
|
|
9
|
+
const H = l(1), J = l(B.iconType ?? ((_b = (_a = G.value) == null ? void 0 : _a[0]) == null ? void 0 : _b.value)), K = l("");
|
|
10
|
+
K.value = B.iconValue;
|
|
11
|
+
const Q = l({}), W = l(""), X = l(), Y = l(false), Z = o(() => ["ElementUI"].includes(J.value) ? R.value : ["ambIcon"].includes(J.value) ? D.value : F.value), ee = o(() => {
|
|
12
|
+
let e3 = Z.value ?? [];
|
|
13
|
+
return W.value && (e3 = e3.filter((e4) => [e4.label ?? "", e4.value ?? ""].some((e5) => {
|
|
14
|
+
var _a2;
|
|
15
|
+
return (_a2 = e5.toLowerCase()) == null ? void 0 : _a2.includes(W.value.toLowerCase());
|
|
16
|
+
}))), e3.slice(0, 50 * H.value);
|
|
17
|
+
}), le = () => {
|
|
18
|
+
ee.value.length > 0 && !Y.value && Z.value.length > ee.value.length && !W.value && H.value++;
|
|
19
|
+
};
|
|
20
|
+
const oe = async () => {
|
|
21
|
+
if (!(F.value.length > 0)) {
|
|
22
|
+
try {
|
|
23
|
+
Y.value = true;
|
|
24
|
+
const e3 = await O.post(window.$vueApp.config.globalProperties.baseAPI + "/component/general-icon/query", { pageSize: 200, pageNo: 1 }), l2 = (e3 == null ? void 0 : e3.data) ?? [], o2 = [];
|
|
25
|
+
for (let e4 of l2) o2.push({ value: e4.iconName, label: e4.iconName });
|
|
26
|
+
Q.value.customOptions = o2, F.value = o2;
|
|
27
|
+
} catch (e3) {
|
|
28
|
+
}
|
|
29
|
+
Y.value = false;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
function ae(e3) {
|
|
33
|
+
var l2;
|
|
34
|
+
H.value = 1, J.value = e3, "ElementUI" === (l2 = J.value) ? R.value = Q.value.elementUIOptions : "custom" === l2 ? oe() : ["ambIcon"].includes(l2) ? (async () => {
|
|
35
|
+
var _a2, _b2, _c;
|
|
36
|
+
if (!(D.value.length > 0)) {
|
|
37
|
+
try {
|
|
38
|
+
Y.value = true;
|
|
39
|
+
let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
|
|
40
|
+
((_c = (_b2 = (_a2 = window.$vueApp) == null ? void 0 : _a2.config) == null ? void 0 : _b2.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}/iconfont.json`);
|
|
41
|
+
const l3 = await fetch(e4, { mode: "cors" }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [] } = l3 ?? {};
|
|
42
|
+
D.value = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
|
|
43
|
+
} catch (e4) {
|
|
44
|
+
}
|
|
45
|
+
Y.value = false;
|
|
46
|
+
}
|
|
47
|
+
})() : ["ambColorIcon"].includes(l2) && async function() {
|
|
48
|
+
var _a2, _b2, _c;
|
|
49
|
+
try {
|
|
50
|
+
Y.value = true;
|
|
51
|
+
let e4 = `${window.location.origin}${window.location.pathname}font-icon/iconfont.json`;
|
|
52
|
+
((_c = (_b2 = (_a2 = window.$vueApp) == null ? void 0 : _a2.config) == null ? void 0 : _b2.globalProperties) == null ? void 0 : _c.fontIconAddress) && (e4 = `${window.$vueApp.config.globalProperties.fontIconAddress}-color/iconfont.json`);
|
|
53
|
+
const l3 = await fetch(e4, { mode: "cors", headers: { "Content-Type": "application/json" } }).then((e5) => e5.json()), { css_prefix_text: o2, glyphs: a2 = [], font_family: n2 } = l3;
|
|
54
|
+
G.value[G.value.findIndex((e5) => "ambColorIcon" === e5.value)].dataList = a2.map((e5) => ({ label: e5.name, value: `${o2}${e5.font_class}` }));
|
|
55
|
+
} catch (e4) {
|
|
56
|
+
}
|
|
57
|
+
Y.value = false;
|
|
58
|
+
}();
|
|
59
|
+
}
|
|
60
|
+
function ne() {
|
|
61
|
+
var _a2, _b2;
|
|
62
|
+
(_b2 = (_a2 = X.value) == null ? void 0 : _a2.hide) == null ? void 0 : _b2.call(_a2);
|
|
63
|
+
}
|
|
64
|
+
function te() {
|
|
65
|
+
K.value = "", M("update:modelValue", "", ""), X.value.hide();
|
|
66
|
+
}
|
|
67
|
+
function ue() {
|
|
68
|
+
if (W.value = W.value.trim(), !W.value) return void ElMessage.warning("请输入图标名!");
|
|
69
|
+
const e3 = Q.value.customOptions || [];
|
|
70
|
+
let l2 = false;
|
|
71
|
+
for (let o3 of e3) if (o3.value === W.value) {
|
|
72
|
+
l2 = true;
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
J.value = "custom", K.value = W.value;
|
|
76
|
+
const o2 = W.value;
|
|
77
|
+
if (W.value = "", M("update:modelValue", J.value, K.value), X.value.hide(), !l2) {
|
|
78
|
+
const e4 = { iconName: o2 };
|
|
79
|
+
O.post(window.$vueApp.config.globalProperties.baseAPI + "/bs/general-icon/get-or-create", e4).then((e5) => {
|
|
80
|
+
"custom" == J.value && oe();
|
|
81
|
+
}).catch((e5) => {
|
|
82
|
+
ElMessage.warning("保存图标失败!");
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function ie() {
|
|
87
|
+
_(() => {
|
|
88
|
+
!function() {
|
|
89
|
+
if (!Q.value.elementUIOptions) {
|
|
90
|
+
if (!window.temp_Icon_Options) {
|
|
91
|
+
const e3 = [];
|
|
92
|
+
for (const [l2, o2] of Object.entries(V)) e3.push({ value: l2, label: l2, component: o2 });
|
|
93
|
+
e3.sort(function(e4, l2) {
|
|
94
|
+
const o2 = e4.value, a2 = l2.value;
|
|
95
|
+
return o2.localeCompare(a2);
|
|
96
|
+
}), window.temp_Icon_Options = e3;
|
|
97
|
+
}
|
|
98
|
+
Q.value.elementUIOptions = window.temp_Icon_Options;
|
|
99
|
+
}
|
|
100
|
+
}(), ae(J.value);
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
return l(), (l2, o2) => {
|
|
104
|
+
const _2 = a("el-icon"), V2 = a("el-input"), O2 = a("el-button"), q3 = a("el-tooltip"), B2 = a("el-scrollbar"), R2 = a("el-col"), D2 = a("el-empty"), F2 = a("el-tag"), H2 = a("SuperIcon"), Q2 = a("el-row"), oe2 = a("el-popover"), ce = n("infinite-scroll"), se = n("loading");
|
|
105
|
+
return e2.showLabel ? (i(), t("span", U, c(K.value), 1)) : (i(), u(oe2, { key: 1, ref_key: "popoverRef", ref: X, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [v(V2, { readonly: "", size: e2.size, onClick: ie, modelValue: K.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => K.value = e3), placeholder: "请选择" }, { suffix: s(() => [p(v(_2, { style: { cursor: "pointer" }, onClick: h(te, ["stop"]) }, { default: s(() => [v(r(A))]), _: 1 }, 512), [[b, K.value]])]), _: 1 }, 8, ["size", "modelValue"])]), default: s(() => [v(Q2, null, { default: s(() => [v(q3, { effect: "dark", content: "关闭", placement: "top-end" }, { default: s(() => [v(O2, { type: "text", class: "amb-component-popover-close-btn", icon: r(k), onClick: ne }, null, 8, ["icon"])]), _: 1 }), v(R2, { span: 8 }, { default: s(() => [m("div", j, [v(B2, { "max-height": "100%" }, { default: s(() => [(i(true), t(d, null, f(G.value, (e3) => (i(), t("div", { class: g(["amb-popover-menu-item", e3.value == J.value ? "is-active" : ""]), onClick: (l3) => ae(e3.value) }, [v(_2, null, { default: s(() => [p(v(r(I), null, null, 512), [[b, e3.value == J.value]])]), _: 2 }, 1024), m("span", null, c(e3.label), 1)], 10, z))), 256))]), _: 1 })])]), _: 1 }), p((i(), u(R2, { span: 16, style: { "padding-left": "10px" }, class: "amb-component-popover-icon-list-view" }, { default: s(() => [J.value ? y("", true) : (i(), u(D2, { key: 0, description: "请选择类型", "image-size": 80 })), J.value ? (i(), t("div", P, [v(V2, { modelValue: W.value, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => W.value = e3), placeholder: "搜索", size: "default", "prefix-icon": r(x), clearable: "", style: { flex: "1 1 auto" } }, null, 8, ["modelValue", "prefix-icon"]), ["custom"].includes(J.value) && W.value && !ee.value.length ? (i(), u(q3, { key: 0, effect: "dark", content: "创建该图标", placement: "top-end" }, { default: s(() => [v(O2, { type: "primary", circle: "", icon: r($), onClick: ue }, null, 8, ["icon"])]), _: 1 })) : y("", true)])) : y("", true), ["custom"].includes(J.value) ? (i(), t("div", E, [v(_2, null, { default: s(() => [v(r(C))]), _: 1 }), o2[4] || (o2[4] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), o2[5] || (o2[5] = w(" ")), v(q3, null, { content: s(() => o2[2] || (o2[2] = [w(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; "), m("br", null, null, -1), w(" 2.支持svg图标,需以svg-img-开头,接svg内容,如:svg-img-xxxxxx. ")])), default: s(() => [v(F2, { type: "primary" }, { default: s(() => o2[3] || (o2[3] = [w("更多")])), _: 1 })]), _: 1 })])) : y("", true), J.value ? p((i(), t("div", L, [ee.value.length || Y.value ? y("", true) : (i(), u(D2, { key: 0, description: "没有相关图标", "image-size": 80 })), m("div", S, [(i(true), t(d, null, f(ee.value, (e3) => (i(), u(q3, { key: e3.value, effect: "dark", content: e3.label, placement: "top" }, { default: s(() => [m("div", { class: "amb-component-popover-icon-grid-item", onClick: (l3) => {
|
|
106
|
+
return o3 = e3, K.value = o3.value, M("update:modelValue", J.value, K.value), void X.value.hide();
|
|
107
|
+
var o3;
|
|
108
|
+
} }, [v(H2, { iconType: J.value, iconValue: e3.value }, null, 8, ["iconType", "iconValue"])], 8, T)]), _: 2 }, 1032, ["content"]))), 128))])])), [[ce, le]]) : y("", true), J.value ? (i(), t("div", N, c(ee.value.length) + " / " + c(Z.value.length), 1)) : y("", true)]), _: 1 })), [[se, Y.value]])]), _: 1 })]), _: 1 }, 512));
|
|
109
|
+
};
|
|
110
|
+
} });
|
|
5
111
|
export {
|
|
6
|
-
|
|
112
|
+
q as default
|
|
7
113
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as u, withCtx as i, createVNode as t, createElementVNode as n, withDirectives as p, createCommentVNode as r, createTextVNode as c, toDisplayString as s, vShow as d, unref as m } from "vue";
|
|
2
2
|
import f from "../../common/common-attr-size.vue.js";
|
|
3
3
|
import g from "../../common/common-function-code.vue.js";
|
|
4
|
-
import b from "../../common/common-icon-bind.
|
|
4
|
+
import b from "../../common/common-icon-bind.vue.js";
|
|
5
5
|
import V from "../../common/common-i18n-key-input.vue.js";
|
|
6
6
|
import { Close as v, Check as x } from "@element-plus/icons-vue";
|
|
7
7
|
const y = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "card-attr-base", props: { configure: { type: Object, default: {} }, pageDesign: { type: Object, default: () => {
|
package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as t, openBlock as i, withCtx as n, createVNode as a, createElementVNode as u, createTextVNode as r, toDisplayString as d, unref as c, createElementBlock as m, Fragment as p, renderList as s } from "vue";
|
|
2
2
|
import { Top as f, Bottom as g, Plus as x, Delete as b } from "@element-plus/icons-vue";
|
|
3
3
|
import V from "../../common/common-attr-size.vue.js";
|
|
4
|
-
import _ from "../../common/common-icon-bind.
|
|
4
|
+
import _ from "../../common/common-icon-bind.vue.js";
|
|
5
5
|
import y from "../../common/common-function-code.vue.js";
|
|
6
6
|
import h from "../../common/common-i18n-key-input.vue.js";
|
|
7
7
|
const w = { style: { padding: "8px 0px 0px 0px" } }, v = { style: { padding: "8px 0px 0px 0px" }, ref: "panels" }, k = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, z = e({ __name: "collapse-attr-base", props: { configure: { type: Object, default: {} }, pageDesign: { type: Object, default: () => {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as t
|
|
|
2
2
|
import { Top as s, Bottom as g, Plus as b, Delete as x, Close as V, Check as _ } from "@element-plus/icons-vue";
|
|
3
3
|
import y from "../../common/common-attr-size.vue.js";
|
|
4
4
|
import v from "../../common/common-function-code.vue.js";
|
|
5
|
-
import h from "../../common/common-icon-bind.
|
|
5
|
+
import h from "../../common/common-icon-bind.vue.js";
|
|
6
6
|
import w from "../../common/common-i18n-key-input.vue.js";
|
|
7
7
|
const U = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" }, ref: "panels" }, z = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, C = e({ __name: "tabs-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
8
8
|
} } }, setup(e2) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./tabs-design.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const s = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const s = t(e, [["__scopeId", "data-v-f64cf23d"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "./data-origin.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const r = o(e, [["__scopeId", "data-v-e95dace8"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -113,7 +113,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, G = ["onClick"], Q = { styl
|
|
|
113
113
|
});
|
|
114
114
|
}()) }, { default: n(() => l2[21] || (l2[21] = [c("编辑")])), _: 1 })]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 2, label: "编辑排序", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: Se }, { default: n(() => l2[22] || (l2[22] = [c("添加")])), _: 1 }), s(M2, { type: "default", onClick: ke }, { default: n(() => l2[23] || (l2[23] = [c("删除")])), _: 1 }), (t(true), m(v, null, y(e2.configure.props.dataOrigin.sortField, (a3, l3) => (t(), m("div", { key: l3, onClick: (e3) => function(e4) {
|
|
115
115
|
Z.value = e4;
|
|
116
|
-
}(l3), style: { "margin-top": "10px" }, class: b(Z.value === l3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [s(oe2, { modelValue: a3.name, "onUpdate:modelValue": (e3) => a3.name = e3, placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(e2.configure.modelFields, (e3, a4) => (t(), o(ie2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), s(oe2, { modelValue: a3.type, "onUpdate:modelValue": (e3) => a3.type = e3, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [s(ie2, { label: "升序", value: "asc" }), s(ie2, { label: "降序", value: "
|
|
116
|
+
}(l3), style: { "margin-top": "10px" }, class: b(Z.value === l3 ? "amb-design-attr-item-inline seleteSort" : "amb-design-attr-item-inline") }, [s(oe2, { modelValue: a3.name, "onUpdate:modelValue": (e3) => a3.name = e3, placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(e2.configure.modelFields, (e3, a4) => (t(), o(ie2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), s(oe2, { modelValue: a3.type, "onUpdate:modelValue": (e3) => a3.type = e3, style: { "margin-left": "10px" }, placeholder: "请选择" }, { default: n(() => [s(ie2, { label: "升序", value: "asc" }), s(ie2, { label: "降序", value: "desc" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])], 10, G))), 128))]), _: 1 })) : u("", true), d(s(z2, { label: "服务名", class: "amb-design-attr-item" }, { default: n(() => [s(x, { pageDesign: e2.pageDesign, rowObj: g(le).service, onlyService: "", "onUpdate:modelValue": l2[8] || (l2[8] = (e3, a3, l3, i2) => ve(0, a3, l3, i2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }, 512), [[f, "service" === e2.configure.props.dataOrigin.optionValueSetType]]), "service" === e2.configure.props.dataOrigin.optionValueSetType && e2.configure.props.dataOrigin.serveName ? (t(), o(z2, { key: 3, label: "快捷设置", class: "amb-design-attr-item" }, { default: n(() => [s(M2, { type: "primary", onClick: l2[9] || (l2[9] = (e3) => P.value = true) }, { default: n(() => l2[24] || (l2[24] = [c("编辑")])), _: 1 })]), _: 1 })) : u("", true), d(s(z2, { label: "模糊查询", class: "amb-design-attr-item" }, { default: n(() => [s(U2, { modelValue: e2.configure.props.dataOrigin.remote, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.dataOrigin.remote = a3), class: "ml-4" }, { default: n(() => [s(h2, { value: false }, { default: n(() => l2[25] || (l2[25] = [c("否")])), _: 1 }), s(h2, { value: true }, { default: n(() => l2[26] || (l2[26] = [c("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.remote && ("dataTable" === e2.configure.props.dataOrigin.optionValueSetType || "service" === e2.configure.props.dataOrigin.optionValueSetType)]]), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 4, label: "datas", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.datas, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.dataOrigin.service.datas = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", Q, V(e3.label), 1), r("span", q, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 5, label: "总页数", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.pageCount, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dataOrigin.service.pageCount = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", B, V(e3.label), 1), r("span", R, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 6, label: "总条数", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.total, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.dataOrigin.service.total = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", $, V(e3.label), 1), r("span", A, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "service" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 7, label: "页码", class: "amb-design-attr-item" }, { default: n(() => [s(oe2, { modelValue: e2.configure.props.dataOrigin.service.pager, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.dataOrigin.service.pager = a3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(t(true), m(v, null, y(te.value, (e3, a3) => (t(), o(ie2, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", I, V(e3.label), 1), r("span", E, V(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 8, label: "查询条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[15] || (l2[15] = (e3) => ee.value = true), conditionData: e2.configure.props.dataOrigin.defaultQueryCriteria }, null, 8, ["conditionData"])]), _: 1 })) : u("", true), "dataTable" === e2.configure.props.dataOrigin.optionValueSetType ? (t(), o(z2, { key: 9, label: "过滤条件", class: "amb-design-attr-item" }, { default: n(() => [s(j, { onClick: l2[16] || (l2[16] = (e3) => W.value = true), conditionData: e2.configure.props.dataOrigin.sqlFilterCondition }, null, 8, ["conditionData"])]), _: 1 })) : u("", true), p(a2.$slots, "bottom", { row: e2.configure.props.dataOrigin }, void 0, true), d(s(L, { ref: "dataOriginServiceInRef", dataOrigin: g(le) }, null, 8, ["dataOrigin"]), [[f, "service" == e2.configure.props.dataOrigin.optionValueSetType]])]), s(T, { ref_key: "selectTableDialog", ref: Y, onSelectTable: me, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"]), X.value ? (t(), o(S, { key: 0, returnSetList: e2.configure.props.dataOrigin.returnSetList, onSave: be, onClose: Ve, onRemove: Oe }, null, 8, ["returnSetList"])) : u("", true), W.value ? (t(), o(C, { key: 1, list: e2.configure.props.dataOrigin.sqlFilterCondition, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onSave: ne, onClose: Ce }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), ee.value ? (t(), o(C, { key: 2, list: e2.configure.props.dataOrigin.defaultQueryCriteria, fieldNameList: e2.configure.modelFields, fieldMap: e2.configure.modelFieldsMap, dataFieldNameList: ae.value, onClose: re, onSave: se }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : u("", true), P.value ? (t(), o(k, { key: 3, configure: e2.configure, modelFields: g(ue), pageDesign: e2.pageDesign, isChangeTable: g(de), onSetConfigure: ce, onClose: _e }, null, 8, ["configure", "modelFields", "pageDesign", "isChangeTable"])) : u("", true)]), _: 3 });
|
|
117
117
|
};
|
|
118
118
|
} });
|
|
119
119
|
export {
|
package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, resolveComponent as a, createElementBlock as t, openBlock as u, Fragment as i, createVNode as d, createBlock as o, createCommentVNode as s, withCtx as n, createTextVNode as m } from "vue";
|
|
2
|
-
import f from "../../common/common-icon-bind.
|
|
2
|
+
import f from "../../common/common-icon-bind.vue.js";
|
|
3
3
|
const c = e({ __name: "formatting-icon-label", props: { setting: { type: Object, default: {} }, showEvent: { type: Boolean, default: true } }, setup(e2) {
|
|
4
4
|
const c2 = e2, v = l({});
|
|
5
5
|
return v.value = c2.setting, v.value.isTag || (v.value.isTag = false), (l2, c3) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as a, onMounted as t, resolveComponent as o, createBlock as i, openBlock as r, withCtx as u, createVNode as n, createCommentVNode as d, createElementVNode as s, createElementBlock as p, Fragment as g, renderList as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, onMounted as t, resolveComponent as o, createBlock as i, openBlock as r, withCtx as u, createVNode as n, createCommentVNode as d, createElementVNode as s, createElementBlock as p, Fragment as g, renderList as c, createTextVNode as m, unref as f } from "vue";
|
|
2
2
|
import { Codemirror as b } from "vue-codemirror";
|
|
3
3
|
import { Plus as V, Remove as h, Delete as _ } from "@element-plus/icons-vue";
|
|
4
4
|
import v from "../component/variate-select.vue.js";
|
|
@@ -56,19 +56,25 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8p
|
|
|
56
56
|
A.value = e4;
|
|
57
57
|
});
|
|
58
58
|
}), t(() => {
|
|
59
|
-
|
|
59
|
+
var _a;
|
|
60
|
+
if ("otherDataTable" === ((_a = R2.configure.props.otherSettings) == null ? void 0 : _a.dataSources)) {
|
|
61
|
+
const e3 = R2.configure.props.otherSettings;
|
|
62
|
+
e3.tableSysCode && e3.sourceDataTable && ee(e3.tableSysCode, e3.tableSysVersion, e3.sourceDataTable);
|
|
63
|
+
} else {
|
|
64
|
+
ee(R2.pageDesign.systemCode, R2.pageDesign.systemVersion, R2.configure.props.dataOrigin.tableName);
|
|
65
|
+
}
|
|
60
66
|
}), R2.configure.props.otherSettings.fillTableData || (R2.configure.props.otherSettings.fillTableData = [{}]), R2.configure.props.otherSettings.fixedValueTableData || (R2.configure.props.otherSettings.fixedValueTableData = [{}]), (l2, a2) => {
|
|
61
|
-
const t2 = o("el-collapse-item"), x2 = o("el-form-item"), D2 = o("el-option"), T2 = o("el-select"), ee2 = o("el-button"), ie = o("el-radio"), re = o("el-radio-group"), ue = o("el-input"), ne = o("el-icon"), de = o("el-table-column"), se = o("el-table"), pe = o("el-col"), ge = o("el-row"),
|
|
62
|
-
return r(), i(_e, { "label-width": "80px", size: "small" }, { default: u(() => [n(Ve, { modelValue: J.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => J.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [n(t2, { title: "组合表头", name: "compositeHeader", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", N, [n(S, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "合并设置", name: "amalgamated", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", L, [n(x2, { label: "相同值时合并字段", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [n(v, { modelValue: e2.configure.props.highOrder.mergeFields, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.highOrder.mergeFields = l3), multiple: true, tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), n(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.highOrder.mergeDefined, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.props.highOrder.mergeDefined = l3), placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null,
|
|
67
|
+
const t2 = o("el-collapse-item"), x2 = o("el-form-item"), D2 = o("el-option"), T2 = o("el-select"), ee2 = o("el-button"), ie = o("el-radio"), re = o("el-radio-group"), ue = o("el-input"), ne = o("el-icon"), de = o("el-table-column"), se = o("el-table"), pe = o("el-col"), ge = o("el-row"), ce = o("el-checkbox"), me = o("el-checkbox-group"), fe = o("el-divider"), be = o("el-input-number"), Ve = o("el-collapse"), he = o("el-dialog"), _e = o("el-form");
|
|
68
|
+
return r(), i(_e, { "label-width": "80px", size: "small" }, { default: u(() => [n(Ve, { modelValue: J.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => J.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [n(t2, { title: "组合表头", name: "compositeHeader", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", N, [n(S, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "合并设置", name: "amalgamated", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", L, [n(x2, { label: "相同值时合并字段", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [n(v, { modelValue: e2.configure.props.highOrder.mergeFields, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.highOrder.mergeFields = l3), multiple: true, tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), n(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.highOrder.mergeDefined, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.props.highOrder.mergeDefined = l3), placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.events, (e3, l3) => (r(), i(D2, { key: l3, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "展开行内容", name: "unfoldConent", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", z, [n(x2, { label: "展开内容", class: "amb-design-attr-item" }, { default: u(() => [n(ee2, { type: "primary", onClick: a2[2] || (a2[2] = (e3) => W.value = true) }, { default: u(() => a2[26] || (a2[26] = [m("全屏编辑")])), _: 1 })]), _: 1 }), n(f(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"]), n(x2, { label: "默认展开", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpand, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.dataOrigin.defaultExpand = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[27] || (a2[27] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[28] || (a2[28] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "树表格", name: "treeTable", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", P, [n(x2, { label: "启用树表格", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.treeTable, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.dataOrigin.treeTable = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[29] || (a2[29] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[30] || (a2[30] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { required: "", label: "父级字段", class: "amb-design-attr-item" }, { default: u(() => [n(v, { modelValue: e2.configure.props.dataOrigin.rowKey, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.dataOrigin.rowKey = l3), tableConfigure: e2.configure }, null, 8, ["modelValue", "tableConfigure"])]), _: 1 }), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 0, label: "懒加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.lazy, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.dataOrigin.lazy = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[31] || (a2[31] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[32] || (a2[32] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.dataOrigin.rowKey && !e2.configure.props.dataOrigin.lazy ? (r(), i(x2, { key: 1, label: "展开子节点", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.defaultExpandAll, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.dataOrigin.defaultExpandAll = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[33] || (a2[33] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[34] || (a2[34] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.dataOrigin.rowKey ? (r(), i(x2, { key: 2, label: "树节点缩减", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.dataOrigin.indent, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.dataOrigin.indent = l3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), e2.configure.props.dataOrigin.treeTable ? (r(), i(x2, { key: 3, label: "关联父子节点选中状态", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.dataOrigin.checkStrictly, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.dataOrigin.checkStrictly = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[35] || (a2[35] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[36] || (a2[36] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true)])]), _: 1 }), n(t2, { title: "删除逻辑控制", name: "deleteLogic", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", j, [a2[39] || (a2[39] = s("span", null, "以下子表有记录时不能执行删除", -1)), n(se, { data: e2.configure.props.deleteLogicSetting, border: "", fit: "", "highlight-current-row": "" }, { default: u(() => [n(de, { label: "操作", align: "center", width: "50" }, { default: u((e3) => [n(ne, { onClick: le }, { default: u(() => [n(f(V))]), _: 1 }), n(ne, { style: { "margin-left": "5px" }, onClick: (l3) => {
|
|
63
69
|
return a3 = e3.$index, void (1 === R2.configure.props.deleteLogicSetting.length ? R2.configure.props.deleteLogicSetting[0].secondTable = "" : R2.configure.props.deleteLogicSetting = R2.configure.props.deleteLogicSetting.filter((e4, l4) => l4 != a3));
|
|
64
70
|
var a3;
|
|
65
|
-
} }, { default: u(() => [n(f(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { label: "子表配置" }, { default: u((e3) => [n(T2, { modelValue: e3.row.secondTable, "onUpdate:modelValue": (l3) => e3.row.secondTable = l3, clearable: "", size: "default" }, { default: u(() => [(r(true), p(g, null,
|
|
71
|
+
} }, { default: u(() => [n(f(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { label: "子表配置" }, { default: u((e3) => [n(T2, { modelValue: e3.row.secondTable, "onUpdate:modelValue": (l3) => e3.row.secondTable = l3, clearable: "", size: "default" }, { default: u(() => [(r(true), p(g, null, c(A.value, (e4) => (r(), i(D2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(x2, { label: "逻辑删除", title: "是否逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.isSafeDelete = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[37] || (a2[37] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[38] || (a2[38] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "导入配置", name: "importSetting", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", F, [n(x2, { label: "重复处理", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.importSetting.listViewImportDuplicate, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.importSetting.listViewImportDuplicate = l3), class: "ml-4" }, { default: u(() => [n(ge, null, { default: u(() => [n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "update" }, { default: u(() => a2[40] || (a2[40] = [m("更新数据")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "skip" }, { default: u(() => a2[41] || (a2[41] = [m("跳过")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "termination" }, { default: u(() => a2[42] || (a2[42] = [m("中止导入")])), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "初始化配置", name: "initialConfig", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", $, [n(x2, { label: "初始化子表", title: "初始化子表", class: "amb-design-attr-item" }, { default: u(() => [n(me, { modelValue: e2.configure.props.otherSettings.timeToInitializeSubTable, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.otherSettings.timeToInitializeSubTable = l3) }, { default: u(() => [n(ce, { label: "新建表单时", value: "create" }), n(ce, { label: "子表无项目时", value: "noData" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "移动端标题", title: "移动端行标题", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.mobileLineTitle, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.otherSettings.mobileLineTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "数据来源", title: "子表内容数据来源", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.otherSettings.dataSources, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.otherSettings.dataSources = l3), clearable: "" }, { default: u(() => [n(D2, { label: "子表内容从其他数据表填充", value: "otherDataTable" }), n(D2, { label: "固定值", value: "fixedValue" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fixedValue" === e2.configure.props.otherSettings.dataSources ? (r(), p("div", Q, [n(fe, null, { default: u(() => a2[43] || (a2[43] = [m(" 固定值 ")])), _: 1 }), n(se, { data: e2.configure.props.otherSettings.fixedValueTableData, style: { width: "100%" } }, { default: u(() => [n(de, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fixedValueTableData.push({})) }, { default: u(() => [n(f(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
66
72
|
return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fixedValueTableData.length ? (R2.configure.props.otherSettings.fixedValueTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fixedValueTableData[0].optionGroupCode = "", R2.configure.props.otherSettings.fixedValueTableData[0].fixedValue = "") : R2.configure.props.otherSettings.fixedValueTableData.splice(a3, 1));
|
|
67
73
|
var a3;
|
|
68
|
-
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.sourcePropName, "onUpdate:modelValue": (e3) => l3.row.sourcePropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null,
|
|
74
|
+
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.sourcePropName, "onUpdate:modelValue": (e3) => l3.row.sourcePropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "选项组编码", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.optionGroupCode, "onUpdate:modelValue": (l3) => e3.row.optionGroupCode = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "固定值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.fixedValue, "onUpdate:modelValue": (l3) => e3.row.fixedValue = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])])) : (r(), p("div", E, [n(fe, null, { default: u(() => a2[44] || (a2[44] = [m(" 来源 ")])), _: 1 }), n(x2, { label: "数据表", title: "数据表", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.sourceDataTable, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.otherSettings.sourceDataTable = l3), title: e2.configure.props.otherSettings.sourceDataTable, clearable: "", readonly: "true" }, { append: u(() => [n(ee2, { type: "default", icon: f(O), onClick: X, size: "small" }, null, 8, ["icon"]), n(ee2, { type: "default", icon: f(U), onClick: Y, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(x2, { label: "排序", title: "排序", class: "amb-design-attr-item" }, { default: u(() => [s("div", K, [n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortColumn, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortColumn = l3), clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, c(q.value, (e3) => (r(), i(D2, { key: e3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortOrder, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortOrder = l3), style: { width: "120px", "margin-left": "10px" }, clearable: "" }, { default: u(() => [n(D2, { label: "升序", value: "asc" }), n(D2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), n(x2, { label: "条件", class: "amb-design-attr-item" }, { default: u(() => [n(k, { onClick: a2[19] || (a2[19] = (e3) => H.value = true), conditionData: JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) }, null, 8, ["conditionData"])]), _: 1 }), n(fe, null, { default: u(() => a2[45] || (a2[45] = [m(" 填充至 ")])), _: 1 }), n(x2, { label: "来源过滤", title: "来源过滤条件中对象变化时加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isRealTimeChange, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.otherSettings.isRealTimeChange = l3), class: "ml-4", onChange: te }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[46] || (a2[46] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[47] || (a2[47] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(se, { data: e2.configure.props.otherSettings.fillTableData, style: { width: "100%" } }, { default: u(() => [n(de, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fillTableData.push({})) }, { default: u(() => [n(f(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
69
75
|
return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fillTableData.length ? (R2.configure.props.otherSettings.fillTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fillTableData[0].childPropName = "", R2.configure.props.otherSettings.fillTableData[0].defaultValue = "") : R2.configure.props.otherSettings.fillTableData.splice(a3, 1));
|
|
70
76
|
var a3;
|
|
71
|
-
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "来源字段", width: "90", align: "center" }, { default: u((e3) => [n(T2, { modelValue: e3.row.sourcePropName, "onUpdate:modelValue": (l3) => e3.row.sourcePropName = l3, clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null,
|
|
77
|
+
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "来源字段", width: "90", align: "center" }, { default: u((e3) => [n(T2, { modelValue: e3.row.sourcePropName, "onUpdate:modelValue": (l3) => e3.row.sourcePropName = l3, clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, c(q.value, (e4) => (r(), i(D2, { key: e4, label: e4.alias, value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.childPropName, "onUpdate:modelValue": (e3) => l3.row.childPropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, c(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "默认值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.defaultValue, "onUpdate:modelValue": (l3) => e3.row.defaultValue = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]))])]), _: 1 }), n(t2, { title: "其他", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", M, [n(x2, { label: "数据权限", title: "数据权限限制", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isWithDataPermission, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.otherSettings.isWithDataPermission = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[48] || (a2[48] = [m("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[49] || (a2[49] = [m("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "记录最大数", title: "表格记录最大数量", class: "amb-design-attr-item" }, { default: u(() => [n(be, { modelValue: e2.configure.props.otherSettings.tableRecordMaxNum, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.otherSettings.tableRecordMaxNum = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(w, { ref_key: "selectTableDialog", ref: G, onSelectTable: Z, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"]), H.value ? (r(), i(C, { key: 0, list: e2.configure.props.otherSettings.sourceQueryTableData ? JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) : null, fieldNameList: q.value, fieldMap: B.value, dataFieldNameList: e2.pageDesign.modelFields, paramTypes: ["data", "page", "task", "context", "system", "request", "fixed"], onSave: ae, onClose: oe }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : d("", true)]), _: 1 }, 8, ["modelValue"]), n(he, { "append-to-body": "", modelValue: W.value, "onUpdate:modelValue": a2[25] || (a2[25] = (e3) => W.value = e3), fullscreen: "" }, { default: u(() => [n(f(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[24] || (a2[24] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
72
78
|
};
|
|
73
79
|
} });
|
|
74
80
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
|
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";
|
|
@@ -14,8 +14,8 @@ import "../../../../utils/eventBus.js";
|
|
|
14
14
|
import U from "../../common/common-function-code.vue.js";
|
|
15
15
|
import y from "../../chart/statistical-table/component/table-showcondition.vue.js";
|
|
16
16
|
const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "table-attr-base", props: { pageDesign: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
17
|
-
const j2 = e2,
|
|
18
|
-
function
|
|
17
|
+
const j2 = e2, O = a(["base", "appearance", "querySetting", "editSetting", "columnSetting", "paging", "dataOrigin", "linkage", "attrSize"]);
|
|
18
|
+
function E(e3) {
|
|
19
19
|
j2.configure.props.base.showOperationCondition = e3.data;
|
|
20
20
|
}
|
|
21
21
|
function P(e3) {
|
|
@@ -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(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, isHeightOffset: "" }, 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"), M = t("el-form");
|
|
54
|
+
return s(), o(M, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: O.value, "onUpdate:modelValue": l2[42] || (l2[42] = (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[43] || (l2[43] = [f("普通")])), _: 1 }), i(B, { value: "hidden" }, { default: u(() => l2[44] || (l2[44] = [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.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[45] || (l2[45] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[46] || (l2[46] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { 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[47] || (l2[47] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[48] || (l2[48] = [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[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = 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.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[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = 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 })) : g("", true), i(_2, { 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[53] || (l2[53] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[54] || (l2[54] = [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": E }, 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": P }, 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": T }, 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[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[55] || (l2[55] = [f("默认")])), _: 1 }), i(B, { value: "covered" }, { default: u(() => l2[56] || (l2[56] = [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[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[57] || (l2[57] = [f("是")])), _: 1 }), i(B, { value: false }, { 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.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[59] || (l2[59] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[60] || (l2[60] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[61] || (l2[61] = [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[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[62] || (l2[62] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[63] || (l2[63] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { 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.textOverflow, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.textOverflow = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "hidden" }, { default: u(() => l2[65] || (l2[65] = [f("隐藏")])), _: 1 }), i(B, { value: "newline" }, { 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.immobilizationHeader, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationHeader = 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.immobilizationBottom, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.immobilizationBottom = 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.base.border, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.border = 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.base.stripe, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.stripe = 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.fit, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.fit = 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(L, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.highlightCurrentRow = 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(_2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[79] || (l2[79] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[80] || (l2[80] = [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[24] || (l2[24] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[81] || (l2[81] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[82] || (l2[82] = [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[25] || (l2[25] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[83] || (l2[83] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[84] || (l2[84] = [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[26] || (l2[26] = (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[27] || (l2[27] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "no" }, { default: u(() => l2[85] || (l2[85] = [f("不合计")])), _: 1 }), i(B, { value: "current" }, { default: u(() => l2[86] || (l2[86] = [f("当前页")])), _: 1 }), i(B, { value: "all" }, { default: u(() => l2[87] || (l2[87] = [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[28] || (l2[28] = (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[29] || (l2[29] = (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[30] || (l2[30] = (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[31] || (l2[31] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(_2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[34] || (l2[34] = (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[35] || (l2[35] = (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[36] || (l2[36] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[88] || (l2[88] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[89] || (l2[89] = [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[37] || (l2[37] = (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[38] || (l2[38] = (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[39] || (l2[39] = (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[40] || (l2[40] = (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[41] || (l2[41] = (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, isHeightOffset: "" }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
55
55
|
};
|
|
56
56
|
} });
|
|
57
57
|
export {
|