super-page-designer 2.2.77-sit7 → 2.2.77-sit9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue2.js +1 -1
- package/package.json +3 -3
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as e, computed as l, resolveComponent as a, createBlock as t, openBlock as i, withCtx as d, createElementVNode as u, createVNode as o, createCommentVNode as s, createTextVNode as m, createElementBlock as n, Fragment as p, renderList as r } from "vue";
|
|
2
|
-
import { PageDimensions as
|
|
3
|
-
import { usePageContextStore as
|
|
4
|
-
const g = { style: { padding: "8px 0px 0px 0px" } }, h = e({ __name: "common-attr-size", props: { size: { type: Object, required: true }, showMaxHeight: { type: Boolean, default: false }, showCalcHeight: { type: Boolean, default: false } }, setup(e2) {
|
|
5
|
-
const h2 = e2, b = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24], v =
|
|
6
|
-
let e3 =
|
|
7
|
-
e3 || (e3 =
|
|
2
|
+
import { PageDimensions as f } from "../../../utils/interfaces/page-design-types.js";
|
|
3
|
+
import { usePageContextStore as c } from "../../../../../stores/page-store.js";
|
|
4
|
+
const g = { style: { padding: "8px 0px 0px 0px" } }, h = e({ __name: "common-attr-size", props: { size: { type: Object, required: true }, showMaxHeight: { type: Boolean, default: false }, showCalcHeight: { type: Boolean, default: false }, isHeightOffset: { type: Boolean, default: false } }, setup(e2) {
|
|
5
|
+
const h2 = e2, b = [2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 24], v = c(), V = v.pageContext ? v.pageContext : {}, x = l(() => {
|
|
6
|
+
let e3 = V.dimensions;
|
|
7
|
+
e3 || (e3 = f.PC);
|
|
8
8
|
let l2 = h2.size[e3];
|
|
9
9
|
if (!l2) {
|
|
10
|
-
if (l2 = {}, e3 !==
|
|
11
|
-
const e4 = h2.size[
|
|
10
|
+
if (l2 = {}, e3 !== f.PC) {
|
|
11
|
+
const e4 = h2.size[f.PC];
|
|
12
12
|
e4 && Object.assign(l2, e4);
|
|
13
13
|
}
|
|
14
14
|
h2.size[e3] = l2;
|
|
15
15
|
}
|
|
16
16
|
return h2.size[e3];
|
|
17
17
|
});
|
|
18
|
-
return (l2,
|
|
19
|
-
const
|
|
20
|
-
return i(), t(
|
|
18
|
+
return (l2, f2) => {
|
|
19
|
+
const c2 = a("el-radio-button"), h3 = a("el-radio-group"), v2 = a("el-form-item"), V2 = a("el-option"), y = a("el-select"), _ = a("el-input"), H = a("el-switch"), C = a("el-input-number"), w = a("el-collapse-item");
|
|
20
|
+
return i(), t(w, { title: "尺寸", name: "attrSize", class: "amb-design-attr-group-header" }, { default: d(() => [u("div", g, [o(v2, { label: "宽度", class: "amb-design-attr-item" }, { default: d(() => [o(h3, { modelValue: x.value.widthType, "onUpdate:modelValue": f2[0] || (f2[0] = (e3) => x.value.widthType = e3) }, { default: d(() => [o(c2, { value: "flex" }, { default: d(() => f2[7] || (f2[7] = [m("24格")])), _: 1 }), o(c2, { value: "fix" }, { default: d(() => f2[8] || (f2[8] = [m("自定义")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fix" != x.value.widthType ? (i(), t(v2, { key: 0, class: "amb-design-attr-item", label: "栏数" }, { default: d(() => [o(y, { modelValue: x.value.flexSpan, "onUpdate:modelValue": f2[1] || (f2[1] = (e3) => x.value.flexSpan = e3), placeholder: "默认", clearable: "" }, { default: d(() => [(i(), n(p, null, r(b, (e3) => o(V2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), "fix" == x.value.widthType ? (i(), t(v2, { key: 1, class: "amb-design-attr-item", label: "宽度", title: "未设置时自动宽度,可设置百分比" }, { default: d(() => [o(_, { modelValue: x.value.fixWidth, "onUpdate:modelValue": f2[2] || (f2[2] = (e3) => x.value.fixWidth = e3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e2.showCalcHeight ? (i(), t(v2, { key: 2, class: "amb-design-attr-item", label: "高度自适应" }, { default: d(() => [o(H, { modelValue: x.value.isCalcHeight, "onUpdate:modelValue": f2[3] || (f2[3] = (e3) => x.value.isCalcHeight = e3) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), o(v2, { label: "高度", class: "amb-design-attr-item", title: "未设置时自动高度,可设置百分比" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.fixHeight, "onUpdate:modelValue": f2[4] || (f2[4] = (e3) => x.value.fixHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), o(v2, { label: "最大高度", title: "未设置时自动高度,可设置百分比", class: "amb-design-attr-item" }, { default: d(() => [o(_, { disabled: x.value.isCalcHeight, clearable: "", modelValue: x.value.maxHeight, "onUpdate:modelValue": f2[5] || (f2[5] = (e3) => x.value.maxHeight = e3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), e2.isHeightOffset ? (i(), t(v2, { key: 3, label: "高度偏移", title: "一般用于台账自适应高度偏差", class: "amb-design-attr-item" }, { default: d(() => [o(C, { modelValue: x.value.heightOffset, "onUpdate:modelValue": f2[6] || (f2[6] = (e3) => x.value.heightOffset = e3), "controls-position": "right" }, null, 8, ["modelValue"])]), _: 1 })) : s("", true)])]), _: 1 });
|
|
21
21
|
};
|
|
22
22
|
} });
|
|
23
23
|
export {
|
|
@@ -51,7 +51,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
51
51
|
}
|
|
52
52
|
}), (a2, l2) => {
|
|
53
53
|
const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), j3 = t("el-input"), B = t("el-radio"), L = t("el-radio-group"), q = t("el-collapse-item"), H = t("el-switch"), I = t("el-checkbox"), R = t("el-checkbox-group"), F = t("el-collapse"), M = t("el-form");
|
|
54
|
-
return s(), o(M, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: E.value, "onUpdate:modelValue": l2[41] || (l2[41] = (e3) => E.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), r(n, null, p(m(_)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[42] || (l2[42] = [f("普通")])), _: 1 }), i(B, { value: "hidden" }, { default: u(() => l2[43] || (l2[43] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: u(() => [(s(true), r(n, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", C, [i(V2, { label: "移动端卡片", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.isMobileCard, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.isMobileCard = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[44] || (l2[44] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[45] || (l2[45] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[46] || (l2[46] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[47] || (l2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[50] || (l2[50] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[51] || (l2[51] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[52] || (l2[52] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[53] || (l2[53] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": O }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[54] || (l2[54] = [f("默认")])), _: 1 }), i(B, { value: "covered" }, { default: u(() => l2[55] || (l2[55] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[56] || (l2[56] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[57] || (l2[57] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[58] || (l2[58] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[59] || (l2[59] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[60] || (l2[60] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[61] || (l2[61] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[62] || (l2[62] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[63] || (l2[63] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[64] || (l2[64] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[65] || (l2[65] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[66] || (l2[66] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[67] || (l2[67] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[74] || (l2[74] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[75] || (l2[75] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[76] || (l2[76] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[77] || (l2[77] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[78] || (l2[78] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[79] || (l2[79] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[80] || (l2[80] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[81] || (l2[81] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "no" }, { default: u(() => l2[82] || (l2[82] = [f("不合计")])), _: 1 }), i(B, { value: "current" }, { default: u(() => l2[83] || (l2[83] = [f("当前页")])), _: 1 }), i(B, { value: "all" }, { default: u(() => l2[84] || (l2[84] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[31] || (l2[31] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[85] || (l2[85] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[86] || (l2[86] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(R, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(I, { label: "总条数", value: "total" }), i(I, { label: "每页大小选项列表", value: "sizes" }), i(I, { label: "上一页", value: "prev" }), i(I, { label: "跳转页码", value: "pager" }), i(I, { label: "下一页", value: "next" }), i(I, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
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 });
|
|
55
55
|
};
|
|
56
56
|
} });
|
|
57
57
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, ref as t, onMounted as n, onUnmounted as a, watch as l, resolveComponent as u, createElementBlock as o, openBlock as s, createElementVNode as i, createVNode as r, withDirectives as 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.vue2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.2.77-
|
|
3
|
+
"version": "2.2.77-sit9",
|
|
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.26-
|
|
32
|
+
"agilebuilder-ui": "1.1.26-sit3",
|
|
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.2.77-sit6",
|
|
44
|
-
"super-page-runtime": "2.2.77-
|
|
44
|
+
"super-page-runtime": "2.2.77-sit8",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|