super-page-designer 2.3.15-sit3-design1 → 2.3.16-sit1-design1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +1 -1
- package/dist/es/components/design/utils/page-service-util.js +41 -22
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -1
- 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 +41 -41
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +5 -3
- package/package.json +3 -3
|
@@ -51,7 +51,7 @@ function Y(e2) {
|
|
|
51
51
|
return a2.uuid = i(), a2;
|
|
52
52
|
}
|
|
53
53
|
function Z(e2) {
|
|
54
|
-
return Y({ uuid: "", isTable: true, name: "", edit: !!e2 && e2.edit, dataType: e2 ? e2.dataType : "", props: { base: { prop: e2 ? e2.dbColumnName : "", name: e2 ? e2.alias : "", tittleShow: false, visible: true, displayOrder: e2 ? e2.displayOrder : 1, sortable: true, alignTitle:
|
|
54
|
+
return Y({ uuid: "", isTable: true, name: "", edit: !!e2 && e2.edit, dataType: e2 ? e2.dataType : "", props: { base: { prop: e2 ? e2.dbColumnName : "", name: e2 ? e2.alias : "", tittleShow: false, visible: true, displayOrder: e2 ? e2.displayOrder : 1, sortable: true, alignTitle: null, alignContent: null, listColumnFixed: "false" }, size: {}, editLine: { plugType: "" }, scan: {}, preSuffix: {}, verification: {}, dataOrigin: { sortField: [{ name: "", type: "" }], staticState: [{ label: "选项1", vaule: 1 }], displayQuantity: 20 }, defaultValue: {}, inParameter: {}, title: {}, definition: {}, uploadConfig: {}, singleWidth: {}, suffixModule: {}, querySetting: {}, orgFields: [{ type: "", model: "" }], format: { type: "", icon: "", suffixModule: { staticStates: [] }, jumpPageAdditional: { staticStates: [] } } }, events: [{ name: "setValue", label: "弹框赋值回调", tip: "格式化配置超链接赋值回调" }, { name: "closePopup", label: "关闭弹框回调", tip: "格式化配置超链接关闭弹框回调" }], style: { titleFont: {}, contentFont: {}, width: {}, background: {}, tableCell: [{ value: "", label: "" }], conentPadding: {}, tittlePadding: {}, border: {}, shadow: {}, tittleClass: "" } });
|
|
55
55
|
}
|
|
56
56
|
function _(e2) {
|
|
57
57
|
return Y({ uuid: "", name: "", props: { base: { prop: e2 ? e2.dbColumnName : "", name: e2 ? e2.alias : "", displayOrder: e2 ? e2.displayOrder : 1, sortable: true, headerAlign: "center", align: "center", fixed: false, visible: true }, dataOrigin: { sortField: [{ name: "", type: "" }] }, format: {} }, style: [] });
|
|
@@ -4,50 +4,69 @@ function t(t2) {
|
|
|
4
4
|
return e.get(n2);
|
|
5
5
|
}
|
|
6
6
|
function n(e2) {
|
|
7
|
-
return new Promise((n2,
|
|
7
|
+
return new Promise((n2, i2) => {
|
|
8
8
|
t(e2).then((e3) => {
|
|
9
9
|
const t2 = [];
|
|
10
|
-
|
|
10
|
+
r("", e3.returnValues ? JSON.parse(e3.returnValues) : [], t2), n2(t2);
|
|
11
11
|
}).catch((e3) => {
|
|
12
|
-
|
|
12
|
+
i2(e3);
|
|
13
13
|
});
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
if (t2) for (let
|
|
18
|
-
let t3 = null,
|
|
19
|
-
if (
|
|
16
|
+
function r(e2, t2, n2) {
|
|
17
|
+
if (t2) for (let i2 of t2) {
|
|
18
|
+
let t3 = null, o2 = null;
|
|
19
|
+
if (i2.isArrayElement) t3 = e2;
|
|
20
20
|
else {
|
|
21
|
-
if (t3 =
|
|
22
|
-
const e3 =
|
|
21
|
+
if (t3 = i2.name, !t3 && i2.value) {
|
|
22
|
+
const e3 = i2.value.replace("}", "").split(".");
|
|
23
23
|
t3 = e3[e3.length - 1];
|
|
24
24
|
}
|
|
25
25
|
if (!t3) continue;
|
|
26
|
-
e2 && (t3 = e2 + "." + t3,
|
|
27
|
-
const
|
|
28
|
-
n2.push(
|
|
26
|
+
e2 && (t3 = e2 + "." + t3, o2 = e2 + "." + i2.alias);
|
|
27
|
+
const r2 = { value: t3, label: o2 || t3, type: i2.type };
|
|
28
|
+
n2.push(r2);
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
i2.items && r(t3, i2.items, n2);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return new Promise((n2,
|
|
33
|
+
function i(t2) {
|
|
34
|
+
return new Promise((n2, r2) => {
|
|
35
35
|
(function(t3) {
|
|
36
36
|
let n3 = window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/" + t3;
|
|
37
37
|
return e.get(n3);
|
|
38
38
|
})(t2).then((t3) => {
|
|
39
|
-
t3 ?
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
t3 ? e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param").then((r3) => {
|
|
40
|
+
r3 && (t3.systemParam = o(r3)), function(t4, n3) {
|
|
41
|
+
let r4 = "";
|
|
42
|
+
t4 && n3 && (r4 = "?listViewTableName=" + t4 + "&listViewTablePublishVersion=" + n3);
|
|
43
|
+
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + r4);
|
|
44
|
+
}(t3.listViewTableName, t3.listViewTablePublishVersion).then((e2) => {
|
|
45
|
+
e2 ? (t3.contextParam = o(e2.contextParam), t3.branchFieldAuth = e2.branchFieldAuth, t3.isWorkflowEntity = e2.isWorkflowEntity, t3.dataTypeMaps = e2.dataTypeMaps, n2(t3)) : n2(null);
|
|
46
|
+
});
|
|
45
47
|
}) : n2(null);
|
|
46
48
|
});
|
|
47
49
|
});
|
|
48
50
|
}
|
|
51
|
+
function o(e2) {
|
|
52
|
+
try {
|
|
53
|
+
const t2 = function(e3) {
|
|
54
|
+
if (!e3) return e3;
|
|
55
|
+
try {
|
|
56
|
+
const t3 = window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"), n2 = window.CryptoJS.enc.Latin1.parse("1234567812345678");
|
|
57
|
+
return window.CryptoJS.AES.decrypt(e3, t3, { iv: n2, mode: window.CryptoJS.mode.CBC, padding: window.CryptoJS.pad.ZeroPadding }).toString(CryptoJS.enc.Utf8);
|
|
58
|
+
} catch (t3) {
|
|
59
|
+
return e3;
|
|
60
|
+
}
|
|
61
|
+
}(e2);
|
|
62
|
+
if (!t2) return {};
|
|
63
|
+
return JSON.parse(t2);
|
|
64
|
+
} catch (t2) {
|
|
65
|
+
return e2;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
49
68
|
export {
|
|
50
|
-
|
|
69
|
+
i as fetchPageDesignData,
|
|
51
70
|
t as queryServiceInfo,
|
|
52
71
|
n as queryServiceReturnFields
|
|
53
72
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./button-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const o = e(t, [["__scopeId", "data-v-
|
|
4
|
+
const o = e(t, [["__scopeId", "data-v-0f3331ae"]]);
|
|
5
5
|
export {
|
|
6
6
|
o as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as i, openBlock as t, withCtx as s, createVNode as u, createElementBlock as n, createCommentVNode as r, Fragment as d, createElementVNode as p, renderList as c, unref as m, createTextVNode as f, withDirectives as g, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import "../../../../../../stores/page-store.js";
|
|
4
4
|
/* empty css */
|
|
@@ -15,18 +15,18 @@ import { getTableConfigByTableUuid as k } from "../../../../utils/page-table-uti
|
|
|
15
15
|
import x from "../../common/common-i18n-key-input.vue.js";
|
|
16
16
|
import D from "../../chart/statistical-table/component/link-table.vue.js";
|
|
17
17
|
import P from "../../common/common-template-select.vue.js";
|
|
18
|
-
const j = { class: "collapse-item-content" },
|
|
19
|
-
const E2 = e2, q = a(["base", "appearance", "otherSettings", "linkPage", "templateConfig"]), F = a({}),
|
|
18
|
+
const j = { class: "collapse-item-content" }, w = { class: "collapse-item-content" }, T = { class: "collapse-item-content" }, z = { class: "collapse-item-content" }, C = { class: "collapse-item-content" }, E = e({ __name: "button-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
19
|
+
const E2 = e2, q = a(["base", "appearance", "otherSettings", "linkPage", "templateConfig"]), F = a({}), R = a([]), A = a($()), I = a(false);
|
|
20
20
|
E2.configure.props.base.templateFiles && E2.configure.props.base.templateFiles.forEach((e3) => {
|
|
21
|
-
|
|
22
|
-
}), void 0 === E2.configure.props.base.isEnableRequired && (E2.configure.props.base.isEnableRequired = true), !E2.configure.props.linkPage || E2.configure.props.linkPage instanceof Array || (E2.configure.props.linkPage = [{ linkPage: E2.configure.props.linkPage }]),
|
|
21
|
+
R.value.push(e3.templateUuid);
|
|
22
|
+
}), void 0 === E2.configure.props.base.isEnableRequired && (E2.configure.props.base.isEnableRequired = true), !E2.configure.props.linkPage || E2.configure.props.linkPage instanceof Array || (E2.configure.props.linkPage = [{ linkPage: E2.configure.props.linkPage }]), I.value = true;
|
|
23
23
|
const S = a([]);
|
|
24
24
|
function $() {
|
|
25
25
|
return k(E2.pageDesign, E2.configure);
|
|
26
26
|
}
|
|
27
27
|
function M(e3) {
|
|
28
28
|
const a2 = $();
|
|
29
|
-
|
|
29
|
+
A.value = a2;
|
|
30
30
|
}
|
|
31
31
|
return l(() => {
|
|
32
32
|
!function() {
|
|
@@ -37,12 +37,12 @@ const j = { class: "collapse-item-content" }, T = { class: "collapse-item-conten
|
|
|
37
37
|
});
|
|
38
38
|
}(), E2.pageDesign.tableUuids && E2.pageDesign.tableUuids.length > 0 && (S.value = E2.pageDesign.tableUuids);
|
|
39
39
|
}), (a2, l2) => {
|
|
40
|
-
const _2 = o("el-option"), k2 = o("el-select"), F2 = o("el-form-item"),
|
|
41
|
-
return
|
|
40
|
+
const _2 = o("el-option"), k2 = o("el-select"), F2 = o("el-form-item"), R2 = o("el-input"), $2 = o("el-radio"), N = o("el-radio-group"), O = o("el-collapse-item"), B = o("el-radio-button"), G = o("el-switch"), H = o("el-collapse"), J = o("el-form");
|
|
41
|
+
return t(), i(J, { "label-width": "80px", size: "small" }, { default: s(() => [u(H, { modelValue: q.value, "onUpdate:modelValue": l2[26] || (l2[26] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [e2.configure.isFlow ? r("", true) : (t(), n(d, { key: 0 }, [u(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", j, [u(F2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: s(() => [(t(true), n(d, null, c(m(V)(), (e3) => (t(), i(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { 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 }), u(F2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [u(R2, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), u(F2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [u(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "large" }, { default: s(() => l2[27] || (l2[27] = [f("大")])), _: 1 }), u($2, { value: "default" }, { default: s(() => l2[28] || (l2[28] = [f("中")])), _: 1 }), u($2, { value: "small" }, { default: s(() => l2[29] || (l2[29] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [u($2, { value: "default" }, { default: s(() => l2[30] || (l2[30] = [f("普通")])), _: 1 }), u($2, { value: "disabled" }, { default: s(() => l2[31] || (l2[31] = [f("禁用")])), _: 1 }), u($2, { value: "hidden" }, { default: s(() => l2[32] || (l2[32] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), u(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", w, [u(F2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.type = a3), class: "ml-4", clearable: "" }, { default: s(() => [u(_2, { label: "primary", value: "primary" }), u(_2, { label: "success", value: "success" }), u(_2, { label: "warning", value: "warning" }), u(_2, { label: "danger", value: "danger" }), u(_2, { label: "info", value: "info" }), u(_2, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(t(), i(v, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": l2[7] || (l2[7] = (e3, a3) => function(e4, a4) {
|
|
42
42
|
E2.configure.props.base.iconType = e4, E2.configure.props.base.iconValue = a4, a4 || (E2.configure.props.base.isTextIcon = false);
|
|
43
|
-
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }),
|
|
43
|
+
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), g(u(F2, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: s(() => [u(B, { value: "left" }, { default: s(() => l2[33] || (l2[33] = [f("标题前")])), _: 1 }), u(B, { value: "right" }, { default: s(() => l2[34] || (l2[34] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), u(F2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.base.text ? (t(), i(F2, { key: 0, label: "图标按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isTextIcon, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.isTextIcon = a3), disabled: !e2.configure.props.base.iconValue, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), u(F2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.plain = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.round = a3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(h), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), u(F2, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => l2[35] || (l2[35] = [f("是")])), _: 1 }), u($2, { value: false }, { default: s(() => l2[36] || (l2[36] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: s(() => [u($2, { value: true }, { default: s(() => l2[37] || (l2[37] = [f("是")])), _: 1 }), u($2, { value: false }, { default: s(() => l2[38] || (l2[38] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [u(N, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4", disabled: !!e2.configure.props.base.text }, { default: s(() => [u($2, { value: "button" }, { default: s(() => l2[39] || (l2[39] = [f("button")])), _: 1 }), u($2, { value: "submit" }, { default: s(() => l2[40] || (l2[40] = [f("submit")])), _: 1 }), u($2, { value: "reset" }, { default: s(() => l2[41] || (l2[41] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), u(O, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", T, [I.value ? (t(), i(D, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "context", "system", "request", "fixed", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: A.value, onDataChange: l2[16] || (l2[16] = (e3) => function(e4) {
|
|
44
44
|
E2.configure.props.linkPage = e4;
|
|
45
|
-
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) :
|
|
45
|
+
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : r("", true)])]), _: 1 }), u(O, { title: "模板配置", name: "templateConfig", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", z, [u(P, { modelValue: e2.configure.props.base.templateFiles, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.templateFiles = a3), pageDesign: e2.pageDesign, tableConfigure: A.value }, null, 8, ["modelValue", "pageDesign", "tableConfigure"])])]), _: 1 })], 64)), u(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [p("div", C, [!e2.configure.isFlow ? (t(), n(d, { key: 1 }, [u(F2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "是否异步", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "执行条件", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: s(() => [u(_2, { label: "无限制", value: "any" }), u(_2, { label: "选单行", value: "one" }), u(_2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(F2, { label: "对应表格", class: "amb-design-attr-item" }, { default: s(() => [u(k2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: M }, { default: s(() => [(t(true), n(d, null, c(S.value, (e3) => (t(), i(_2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : (t(), i(F2, { key: 0, label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [u(G, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
46
46
|
};
|
|
47
47
|
} });
|
|
48
48
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, createElementBlock as n, openBlock as a, createElementVNode as s, createCommentVNode as
|
|
1
|
+
import { defineComponent as e, ref as t, createElementBlock as n, openBlock as a, createElementVNode as s, createCommentVNode as l, normalizeClass as i, unref as o, withDirectives as c, createVNode as r, vShow as u } from "vue";
|
|
2
2
|
import g from "./button-attr-base.vue.js";
|
|
3
3
|
import d from "./button-attr-style.vue.js";
|
|
4
4
|
import f from "./button-attr-event.vue.js";
|
|
@@ -10,7 +10,7 @@ const b = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-he
|
|
|
10
10
|
function k(e3) {
|
|
11
11
|
j.value = e3;
|
|
12
12
|
}
|
|
13
|
-
return D2.configure.isFlow && (j.value = "advanced"), (t2, D3) => (a(), n("div", b, [s("div", v, [s("div", m, [
|
|
13
|
+
return D2.configure.isFlow && (j.value = "advanced"), (t2, D3) => (a(), n("div", b, [s("div", v, [s("div", m, [s("label", { class: i({ selected: "base" === o(j) }), onClick: D3[0] || (D3[0] = (e3) => k("base")) }, "属性", 2), e2.configure.isFlow ? l("", true) : (a(), n("label", { key: 0, class: i({ selected: "style" === o(j) }), onClick: D3[1] || (D3[1] = (e3) => k("style")) }, "样式", 2)), s("label", { class: i({ selected: "event" === o(j) }), onClick: D3[2] || (D3[2] = (e3) => k("event")) }, "事件", 2), s("label", { class: i({ selected: "advanced" === o(j) }), onClick: D3[3] || (D3[3] = (e3) => k("advanced")) }, "高级", 2)])]), s("div", y, [c(r(g, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[u, "base" === o(j)]]), c(r(p, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[u, "advanced" === o(j)]]), c(r(d, { configure: e2.configure }, null, 8, ["configure"]), [[u, "style" === o(j)]]), c(r(f, { configure: e2.configure }, null, 8, ["configure"]), [[u, "event" === o(j)]])])]));
|
|
14
14
|
} });
|
|
15
15
|
export {
|
|
16
16
|
D as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./common-variable-bind.vue3.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = e(o, [["__scopeId", "data-v-
|
|
4
|
+
const r = e(o, [["__scopeId", "data-v-b1a52546"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -46,7 +46,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
|
|
|
46
46
|
const e3 = { query: ue.value };
|
|
47
47
|
fe = ue.value, M.post(window.$vueApp.config.globalProperties.baseAPI + "/component/system-params/query", e3).then((e4) => {
|
|
48
48
|
const l2 = [];
|
|
49
|
-
for (let a2 of e4) l2.push({ value: a2.propKey, label: a2.propKey
|
|
49
|
+
for (let a2 of e4) l2.push({ value: a2.propKey, label: a2.propKey });
|
|
50
50
|
te.value.systemVarOptions = l2, "system" == ee.value && xe(ee.value);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./tablecolumn-attr-base.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import e from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const a = e(t, [["__scopeId", "data-v-
|
|
4
|
+
const a = e(t, [["__scopeId", "data-v-d787d262"]]);
|
|
5
5
|
export {
|
|
6
6
|
a as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, onMounted as l, resolveComponent as o, createBlock as n, openBlock as t, withCtx as i, createVNode as u, createCommentVNode as r, createElementVNode as s, createTextVNode as p, unref as d, withDirectives as m, createElementBlock as c, Fragment as f, renderList as g, vShow as b } from "vue";
|
|
2
|
-
import { Setting as y, Search as
|
|
3
|
-
import { getListComponentOptions as
|
|
2
|
+
import { Setting as y, Search as C } from "@element-plus/icons-vue";
|
|
3
|
+
import { getListComponentOptions as v } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import V from "../component/querySetting.vue.js";
|
|
5
5
|
import _ from "../../form/common/data-origin.vue.js";
|
|
6
6
|
import D from "../../common/common-variable-bind.vue.js";
|
|
7
|
-
import { setGroupHeaderDataDisplayOrder as
|
|
7
|
+
import { setGroupHeaderDataDisplayOrder as x, deleteGroupHeaderByColumnUuid as h } from "../../../../utils/data-table-util.js";
|
|
8
8
|
import { getUuidv4 as U } from "../../../../utils/common-util.js";
|
|
9
9
|
import T from "../../../../utils/eventBus.js";
|
|
10
10
|
import S from "../component/variate-select.vue.js";
|
|
@@ -19,28 +19,28 @@ import w from "../../common/common-function-code.vue.js";
|
|
|
19
19
|
import L from "../../common/common-select-table.vue.js";
|
|
20
20
|
import F from "./tablecolumn-dynamic-column.vue.js";
|
|
21
21
|
import H from "../component/table-column-format.vue.js";
|
|
22
|
-
const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-attr-item-inline" }, O = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, A = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } },
|
|
23
|
-
const
|
|
22
|
+
const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-attr-item-inline" }, O = { style: { padding: "8px 0px 0px 0px" } }, G = { style: { padding: "8px 0px 0px 0px" } }, A = { style: { padding: "8px 0px 0px 0px" } }, $ = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, B = e({ __name: "tablecolumn-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
23
|
+
const B2 = e2, P = a(["base", "editLine", "formatting", "appearance", "verification", "userDefined", "dataOrigin", "columnModel"]), R = a(null), W = a(null), I = a(null), Q = a([]), J = B2.tableConfigure.props.groupHeaders, K = a(null), X = N(), Y = a(false);
|
|
24
24
|
l(() => {
|
|
25
25
|
var _a;
|
|
26
|
-
"dynamicColumnSelect" === ((_a =
|
|
26
|
+
"dynamicColumnSelect" === ((_a = B2.configure.props.base) == null ? void 0 : _a.prop) && B2.configure.props.dynamicColumnData && B2.configure.props.dynamicColumnData.tableName && (Z.value, ee({ name: B2.configure.props.dynamicColumnData.tableName, alias: B2.configure.props.dynamicColumnData.tableAlias }));
|
|
27
27
|
}), function() {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
B2.configure.props.verification.type && ("text" === B2.configure.props.verification.type && (B2.configure.props.verification.typ = "string"), "int" === B2.configure.props.verification.type && (B2.configure.props.verification.typ = "integer"));
|
|
29
|
+
B2.configure.props.format || (B2.configure.props.format = {});
|
|
30
|
+
B2.configure.props.base && "operation" === B2.configure.props.base.prop ? Y.value = true : Y.value = false;
|
|
31
|
+
B2.configure.props.dynamicColumnData || (B2.configure.props.dynamicColumnData = {});
|
|
32
|
+
B2.configure.props.dynamicColumnData.selectCondition || (B2.configure.props.dynamicColumnData.selectCondition = []);
|
|
33
|
+
B2.configure.props.dynamicColumnData.updateCondition || (B2.configure.props.dynamicColumnData.updateCondition = []);
|
|
34
|
+
B2.configure.props.dynamicColumnData.columnModelTable || (B2.configure.props.dynamicColumnData.columnModelTable = []);
|
|
35
35
|
}();
|
|
36
36
|
const Z = a("");
|
|
37
37
|
function ee(e3) {
|
|
38
38
|
if ("masterTable" == Z.value) {
|
|
39
|
-
let a2 =
|
|
40
|
-
a2 += "_", a2 +=
|
|
39
|
+
let a2 = B2.configure.props.dynamicColumnData.dataTableCode ? B2.configure.props.dynamicColumnData.dataTableCode : "";
|
|
40
|
+
a2 += "_", a2 += B2.configure.props.dynamicColumnData.tableSysVersion ? B2.configure.props.dynamicColumnData.tableSysVersion : "", a2 += "_", a2 += B2.configure.props.dynamicColumnData.tableName ? B2.configure.props.dynamicColumnData.tableName : "";
|
|
41
41
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
42
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
43
|
-
const e4 =
|
|
42
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (B2.configure.props.dynamicColumnData.dataTableCode = e3.systemCode, B2.configure.props.dynamicColumnData.tableSysVersion = e3.systemVersion, B2.configure.props.dynamicColumnData.tableName = e3.name, B2.configure.props.dynamicColumnData.tableAlias = e3.alias, function() {
|
|
43
|
+
const e4 = B2.configure.props.dynamicColumnData.dataTableCode ? B2.configure.props.dynamicColumnData.dataTableCode : X.pageContext.systemCode, a3 = B2.configure.props.dynamicColumnData.tableSysVersion ? B2.configure.props.dynamicColumnData.tableSysVersion : X.pageContext.systemVersion, l3 = B2.configure.props.dynamicColumnData.tableName;
|
|
44
44
|
if (!l3) return;
|
|
45
45
|
k(e4, a3, l3).then((e5) => {
|
|
46
46
|
Q.value = e5, I.value.changeTableFields(e5);
|
|
@@ -48,14 +48,14 @@ const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-at
|
|
|
48
48
|
});
|
|
49
49
|
}());
|
|
50
50
|
} else {
|
|
51
|
-
let a2 =
|
|
52
|
-
a2 += "_", a2 +=
|
|
51
|
+
let a2 = B2.configure.props.dynamicColumnData.settingDataTableCode ? B2.configure.props.dynamicColumnData.settingDataTableCode : "";
|
|
52
|
+
a2 += "_", a2 += B2.configure.props.dynamicColumnData.settingDataSysVersion ? B2.configure.props.dynamicColumnData.settingDataSysVersion : "", a2 += "_", a2 += B2.configure.props.dynamicColumnData.settingDataName ? B2.configure.props.dynamicColumnData.settingDataName : "";
|
|
53
53
|
let l2 = e3.systemCode ? e3.systemCode : "";
|
|
54
|
-
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (
|
|
55
|
-
const e4 =
|
|
54
|
+
l2 += "_", l2 += e3.systemVersion ? e3.systemVersion : "", l2 += "_", l2 += e3.name ? e3.name : "", l2 != a2 && (B2.configure.props.dynamicColumnData.settingDataTableCode = e3.systemCode, B2.configure.props.dynamicColumnData.settingDataSysVersion = e3.systemVersion, B2.configure.props.dynamicColumnData.settingDataName = e3.name, B2.configure.props.dynamicColumnData.settingDataAlias = e3.alias, function() {
|
|
55
|
+
const e4 = B2.configure.props.dynamicColumnData.settingDataTableCode ? B2.configure.props.dynamicColumnData.settingDataTableCode : X.pageContext.systemCode, a3 = B2.configure.props.dynamicColumnData.settingDataSysVersion ? B2.configure.props.dynamicColumnData.settingDataSysVersion : X.pageContext.systemVersion, l3 = B2.configure.props.dynamicColumnData.settingDataName;
|
|
56
56
|
if (!l3) return;
|
|
57
57
|
k(e4, a3, l3).then((e5) => {
|
|
58
|
-
ae.value = e5, I.value.changeTableFields(e5),
|
|
58
|
+
ae.value = e5, I.value.changeTableFields(e5), R.value.changeTableFields(e5), W.value.changeTableFields(e5);
|
|
59
59
|
}).catch((e5) => {
|
|
60
60
|
});
|
|
61
61
|
}());
|
|
@@ -67,45 +67,45 @@ const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-at
|
|
|
67
67
|
le.value = false;
|
|
68
68
|
}
|
|
69
69
|
function ne(e3) {
|
|
70
|
-
|
|
70
|
+
B2.configure.props.querySetting = e3;
|
|
71
71
|
}
|
|
72
72
|
function te(e3) {
|
|
73
|
-
e3 ?
|
|
73
|
+
e3 ? B2.tableConfigure.props.base.editable = true : B2.configure.name = "";
|
|
74
74
|
}
|
|
75
75
|
function ie(e3) {
|
|
76
|
-
j(
|
|
76
|
+
j(B2.configure, e3);
|
|
77
77
|
}
|
|
78
78
|
function ue(e3) {
|
|
79
|
-
const a2 =
|
|
80
|
-
if (
|
|
79
|
+
const a2 = B2.configure.uuid;
|
|
80
|
+
if (B2.tableConfigure.props.base.isEnableGroupHeader) if (e3 && B2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
81
81
|
const e4 = J.filter((e5) => e5.columnUuid === a2);
|
|
82
82
|
if (!e4 || 0 === e4.length) {
|
|
83
|
-
let e5 = { uuid: U(), columnUuid: a2, titleText:
|
|
84
|
-
|
|
83
|
+
let e5 = { uuid: U(), columnUuid: a2, titleText: B2.configure.props.base.name, isLeaf: true };
|
|
84
|
+
x(null, e5, J), J.push(e5);
|
|
85
85
|
}
|
|
86
|
-
} else
|
|
87
|
-
else T.$emit("setHiddenColumsUuid", { uuid:
|
|
86
|
+
} else B2.tableConfigure.props.base.isEnableGroupHeader && h(J, a2);
|
|
87
|
+
else T.$emit("setHiddenColumsUuid", { uuid: B2.configure.uuid, name: B2.configure.props.base.name, value: e3 });
|
|
88
88
|
}
|
|
89
89
|
function re(e3) {
|
|
90
|
-
|
|
90
|
+
B2.configure.props.base.defaultValue = e3;
|
|
91
91
|
}
|
|
92
92
|
function se() {
|
|
93
|
-
T.$emit("reloadTable-" +
|
|
93
|
+
T.$emit("reloadTable-" + B2.tableConfigure.uuid);
|
|
94
94
|
}
|
|
95
95
|
function pe(e3) {
|
|
96
|
-
me(
|
|
96
|
+
me(B2.tableConfigure.props.groupHeaders);
|
|
97
97
|
}
|
|
98
98
|
function de(e3) {
|
|
99
|
-
me(
|
|
99
|
+
me(B2.tableConfigure.props.groupHeaders);
|
|
100
100
|
}
|
|
101
101
|
function me(e3) {
|
|
102
|
-
if (
|
|
102
|
+
if (B2.tableConfigure.props.base.isEnableGroupHeader) {
|
|
103
103
|
e3.forEach((e4) => {
|
|
104
104
|
});
|
|
105
105
|
for (let a2 = 0; a2 < e3.length; a2++) {
|
|
106
106
|
const l2 = e3[a2];
|
|
107
|
-
if (l2.columnUuid ===
|
|
108
|
-
l2.titleText =
|
|
107
|
+
if (l2.columnUuid === B2.configure.uuid) {
|
|
108
|
+
l2.titleText = B2.configure.props.base.name, l2.prop = B2.configure.props.base.prop;
|
|
109
109
|
break;
|
|
110
110
|
}
|
|
111
111
|
l2.children && l2.children.length > 0 && me(l2.children);
|
|
@@ -113,10 +113,10 @@ const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-at
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
return (a2, l2) => {
|
|
116
|
-
const
|
|
117
|
-
return t(), n(ae2, { "label-width": "80px", size: "small" }, { default: i(() => [u(Z2, { modelValue: B.value, "onUpdate:modelValue": l2[30] || (l2[30] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(W2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(S, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(q, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: se, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: ue }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[31] || (l2[31] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[32] || (l2[32] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", E, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(j2, { label: "不查询", value: "no" }), u(j2, { label: "普通查询", value: "normal" }), u(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (t(), n(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => le.value = true) }, { default: i(() => [u(d(y))]), _: 1 })) : r("", true)])]), _: 1 })), Y.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (t(), n(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(j2, { label: "全匹配", value: "all" }), u(j2, { label: "左匹配", value: "left" }), u(j2, { label: "右匹配", value: "right" }), u(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Y.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (t(), n(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(F, { operationColumn: Y.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Y.value ? r("", true) : (t(), n(W2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { onChange: te, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": re }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (t(), n(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ie }, { default: i(() => [(t(true), c(f, null, g(d(C)(), (e3) => (t(), n(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), m(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(S, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), m(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Y.value ? r("", true) : (t(), n(W2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(H, { configure: e2.configure, pageDesign: e2.pageDesign, tableConfigure: e2.tableConfigure }, null, 8, ["configure", "pageDesign", "tableConfigure"])])]), _: 1 })), u(W2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[33] || (l2[33] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[34] || (l2[34] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[35] || (l2[35] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[36] || (l2[36] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[37] || (l2[37] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(z2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[38] || (l2[38] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[39] || (l2[39] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[40] || (l2[40] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[41] || (l2[41] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[42] || (l2[42] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[43] || (l2[43] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Y.value && e2.configure.props.editLine.editable ? (t(), n(W2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(Q2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "文本", value: "string" }), u(I2, { label: "整形", value: "integer" }), u(I2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "日期", value: "date" }), u(I2, { label: "小数", value: "float" }), u(I2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "邮件", value: "email" }), u(I2, { label: "网址", value: "url" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "单精度", value: "float" }), u(I2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { span: 8 }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(h2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { span: 8 }, { default: i(() => [u(I2, { label: "自定义", value: "custom" })]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(X2, { type: "default" }, { default: i(() => l2[44] || (l2[44] = [p("自定义逻辑")])), _: 1 }), u(X2, { type: "default", icon: d(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Y.value ? r("", true) : (t(), n(W2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[45] || (l2[45] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[46] || (l2[46] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[47] || (l2[47] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[48] || (l2[48] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[49] || (l2[49] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[50] || (l2[50] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[52] || (l2[52] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[53] || (l2[53] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), le.value ? (t(), n(V, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: oe }, null, 8, ["querySetting"])) : r("", true), u(L, { ref_key: "selectTableDialog", ref: K, onSelectTable: ee, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
116
|
+
const x2 = o("el-input"), h2 = o("el-form-item"), U2 = o("el-radio"), T2 = o("el-radio-group"), k2 = o("el-switch"), j2 = o("el-option"), N2 = o("el-select"), B3 = o("el-icon"), R2 = o("el-collapse-item"), W2 = o("el-input-number"), I2 = o("CloseBold"), Q2 = o("el-tooltip"), J2 = o("el-checkbox"), X2 = o("el-checkbox-group"), Z2 = o("el-col"), ae2 = o("el-button"), me2 = o("el-collapse"), ce = o("el-form");
|
|
117
|
+
return t(), n(ce, { "label-width": "80px", size: "small" }, { default: i(() => [u(me2, { modelValue: P.value, "onUpdate:modelValue": l2[32] || (l2[32] = (e3) => P.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(R2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(h2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Y.value ? r("", true) : (t(), n(h2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(S, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(h2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(q, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(h2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(h2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: se, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(h2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: ue }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[33] || (l2[33] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[34] || (l2[34] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", E, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(j2, { label: "不查询", value: "no" }), u(j2, { label: "普通查询", value: "normal" }), u(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (t(), n(B3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => le.value = true) }, { default: i(() => [u(d(y))]), _: 1 })) : r("", true)])]), _: 1 })), Y.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (t(), n(h2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(j2, { label: "全匹配", value: "all" }), u(j2, { label: "左匹配", value: "left" }), u(j2, { label: "右匹配", value: "right" }), u(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(h2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Y.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (t(), n(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(F, { operationColumn: Y.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Y.value ? r("", true) : (t(), n(R2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(h2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { onChange: te, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": re }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (t(), n(h2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ie }, { default: i(() => [(t(true), c(f, null, g(d(v)(), (e3) => (t(), n(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), m(u(h2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(S, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), m(u(h2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(x2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Y.value ? r("", true) : (t(), n(R2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(H, { configure: e2.configure, pageDesign: e2.pageDesign, tableConfigure: e2.tableConfigure }, null, 8, ["configure", "pageDesign", "tableConfigure"])])]), _: 1 })), u(R2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(h2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[35] || (l2[35] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[36] || (l2[36] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[37] || (l2[37] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(h2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[38] || (l2[38] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[39] || (l2[39] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(h2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(W2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[40] || (l2[40] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[41] || (l2[41] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[42] || (l2[42] = [p("居右")])), _: 1 }), u(Q2, { content: "清除" }, { default: i(() => [u(B3, { size: "10px", style: { cursor: "pointer" }, onClick: l2[19] || (l2[19] = (a3) => e2.configure.props.base.alignTitle = null) }, { default: i(() => [u(I2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[43] || (l2[43] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[44] || (l2[44] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[45] || (l2[45] = [p("居右")])), _: 1 }), u(Q2, { content: "清除" }, { default: i(() => [u(B3, { size: "10px", style: { cursor: "pointer" }, onClick: l2[21] || (l2[21] = (a3) => e2.configure.props.base.alignContent = null) }, { default: i(() => [u(I2)]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Y.value && e2.configure.props.editLine.editable ? (t(), n(R2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(X2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "文本", value: "string" }), u(J2, { label: "整形", value: "integer" }), u(J2, { label: "数字", value: "number" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "日期", value: "date" }), u(J2, { label: "小数", value: "float" }), u(J2, { label: "布尔", value: "boolean" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "邮件", value: "email" }), u(J2, { label: "网址", value: "url" })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { label: "单精度", value: "float" }), u(J2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Z2, { span: 8 }, { default: i(() => [u(J2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(Z2, { span: 14 }, { default: i(() => [u(x2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(h2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(Z2, { span: 8 }, { default: i(() => [u(J2, { label: "自定义", value: "custom" })]), _: 1 }), u(Z2, { span: 14 }, { default: i(() => [u(ae2, { type: "default" }, { default: i(() => l2[46] || (l2[46] = [p("自定义逻辑")])), _: 1 }), u(ae2, { type: "default", icon: d(C), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Y.value ? r("", true) : (t(), n(R2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", z, [u(h2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[47] || (l2[47] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[48] || (l2[48] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[49] || (l2[49] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[50] || (l2[50] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[52] || (l2[52] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[53] || (l2[53] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[55] || (l2[55] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[56] || (l2[56] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), le.value ? (t(), n(V, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: oe }, null, 8, ["querySetting"])) : r("", true), u(L, { ref_key: "selectTableDialog", ref: K, onSelectTable: ee, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
118
118
|
};
|
|
119
119
|
} });
|
|
120
120
|
export {
|
|
121
|
-
|
|
121
|
+
B as default
|
|
122
122
|
};
|
|
@@ -14,7 +14,7 @@ const y = { style: { height: "100%", width: "100%" } }, b = e({ __name: "richtex
|
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
t(b2.configure.style, () => {
|
|
17
|
-
v(b2.configure, S, _, C), b2.configure.runtime.style = S.value, b2.configure.runtime.class = _.value, b2.configure.runtime.headerStyle = C.value;
|
|
17
|
+
v(b2.configure, S, _, C), b2.configure.runtime.style = S.value, b2.configure.runtime.class = _.value, b2.configure.runtime.headerStyle = C.value, B();
|
|
18
18
|
}, { immediate: true }), t(b2.configure.props, () => {
|
|
19
19
|
m(b2.configure, E, R);
|
|
20
20
|
let e3 = b2.configure.props ? b2.configure.props : {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as m, withCtx as c, vShow as d, unref as v, createTextVNode as p, toDisplayString as f, Fragment as g, renderList as b, createBlock as y } from "vue";
|
|
2
2
|
import { ElMessageBox as x, ElMessage as h } from "element-plus";
|
|
3
|
-
import C from "./config.
|
|
3
|
+
import C from "./config.vue.js";
|
|
4
4
|
import { standardButtonOperations as E } from "../../../utils/assemblys-config.js";
|
|
5
5
|
import { findDesignItemByUuid as S, getUuidv4 as V, deepCopy as k } from "../../../utils/common-util.js";
|
|
6
6
|
import { usePageContextStore as _ } from "../../../../../stores/page-store.js";
|
|
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
|
|
|
16
16
|
import "@codemirror/language";
|
|
17
17
|
import "@codemirror/search";
|
|
18
18
|
import "js-beautify";
|
|
19
|
-
/* empty css
|
|
19
|
+
/* empty css */
|
|
20
20
|
import "../../../utils/assemblys-config.js";
|
|
21
21
|
import "../../../../../stores/page-store.js";
|
|
22
22
|
import "../../../../../stores/event-undo-redo-store.js";
|
package/dist/es/style.css
CHANGED
|
@@ -849,7 +849,7 @@ fieldset.amb-design-item-selected {
|
|
|
849
849
|
align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
-
[data-v-
|
|
852
|
+
[data-v-b1a52546] .el-cascader-menu {
|
|
853
853
|
min-width: 120px !important;
|
|
854
854
|
}
|
|
855
855
|
|
|
@@ -8755,6 +8755,8 @@ fieldset.amb-design-item-selected {
|
|
|
8755
8755
|
}
|
|
8756
8756
|
.amb-design-board-main .el-tabs .amb-design-item-default.el-tabs--top {
|
|
8757
8757
|
flex-direction: column-reverse;
|
|
8758
|
+
}[data-v-dbdc89e4] .el-form-item__content {
|
|
8759
|
+
height: 100% !important;
|
|
8758
8760
|
}
|
|
8759
8761
|
.el-tree-node__content {
|
|
8760
8762
|
height: 34px !important;
|
|
@@ -11000,7 +11002,7 @@ li[data-v-d06d5717] {
|
|
|
11000
11002
|
width: 100%
|
|
11001
11003
|
}
|
|
11002
11004
|
|
|
11003
|
-
.seleteSort[data-v-
|
|
11005
|
+
.seleteSort[data-v-d787d262] {
|
|
11004
11006
|
border-radius: 5px;
|
|
11005
11007
|
border: 1px solid rgba(88, 147, 239);
|
|
11006
11008
|
}
|
|
@@ -13102,7 +13104,7 @@ fieldset.amb-design-item-selected {
|
|
|
13102
13104
|
background-color: var(--el-fill-color-blank);
|
|
13103
13105
|
}
|
|
13104
13106
|
|
|
13105
|
-
.collapse-item-content[data-v-
|
|
13107
|
+
.collapse-item-content[data-v-0f3331ae] {
|
|
13106
13108
|
padding: 8px 0px 0px 0px;
|
|
13107
13109
|
}
|
|
13108
13110
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.16-sit1-design1",
|
|
4
4
|
"description": "AgileBuilder super page designer",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/es/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
30
30
|
"@vueuse/core": "^10.9.0",
|
|
31
31
|
"agilebuilder-private-libs": "1.0.26",
|
|
32
|
-
"agilebuilder-ui": "1.1.
|
|
32
|
+
"agilebuilder-ui": "1.1.58-sit1",
|
|
33
33
|
"echarts": "^5.5.0",
|
|
34
34
|
"element-plus": "^2.6.1",
|
|
35
35
|
"font-awesome": "^4.7.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"qrcode": "^1.5.3",
|
|
42
42
|
"quill": "^2.0.1",
|
|
43
43
|
"service-flow-designer": "2.3.12-flow1",
|
|
44
|
-
"super-page-runtime": "2.3.
|
|
44
|
+
"super-page-runtime": "2.3.16-sit1",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|