super-page-designer 2.2.43 → 2.2.45
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/button/button/button-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.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/form/checkbox/checkbox-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +1 -1
- package/dist/es/style.css +1 -1
- package/package.json +3 -3
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +0 -0
|
@@ -42,9 +42,9 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, P = { style: { padding: "8p
|
|
|
42
42
|
}(), w2.pageDesign.tableUuids && w2.pageDesign.tableUuids.length > 0 && (C.value = w2.pageDesign.tableUuids);
|
|
43
43
|
}), (a2, l2) => {
|
|
44
44
|
const v2 = u("el-option"), U2 = u("el-select"), N2 = u("el-form-item"), S = u("el-input"), $ = u("el-radio"), M = u("el-radio-group"), O = u("el-collapse-item"), I = u("el-radio-button"), B = u("el-switch"), G = u("el-collapse"), H = u("el-form");
|
|
45
|
-
return t(), o(H, { "label-width": "80px", size: "small" }, { default: s(() => [i(G, { modelValue: z.value, "onUpdate:modelValue": l2[24] || (l2[24] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [i(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", k, [i(N2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [i(U2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: s(() => [(t(true), d(r, null, p(m(V)(), (e3) => (t(), o(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [i(S, { 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(N2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [i(S, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(N2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [i(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: s(() => [i($, { value: "large" }, { default: s(() => l2[25] || (l2[25] = [c("大")])), _: 1 }), i($, { value: "default" }, { default: s(() => l2[26] || (l2[26] = [c("中")])), _: 1 }), i($, { value: "small" }, { default: s(() => l2[27] || (l2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [i($, { value: "default" }, { default: s(() => l2[28] || (l2[28] = [c("普通")])), _: 1 }), i($, { value: "disabled" }, { default: s(() => l2[29] || (l2[29] = [c("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", P, [i(N2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [i(U2, { 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(() => [i(v2, { label: "primary", value: "primary" }), i(v2, { label: "success", value: "success" }), i(v2, { label: "warning", value: "warning" }), i(v2, { label: "danger", value: "danger" }), i(v2, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(t(), o(_, { 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) {
|
|
45
|
+
return t(), o(H, { "label-width": "80px", size: "small" }, { default: s(() => [i(G, { modelValue: z.value, "onUpdate:modelValue": l2[24] || (l2[24] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [i(O, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", k, [i(N2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [i(U2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), placeholder: "请选择" }, { default: s(() => [(t(true), d(r, null, p(m(V)(), (e3) => (t(), o(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [i(S, { 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(N2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [i(S, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(N2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [i(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: s(() => [i($, { value: "large" }, { default: s(() => l2[25] || (l2[25] = [c("大")])), _: 1 }), i($, { value: "default" }, { default: s(() => l2[26] || (l2[26] = [c("中")])), _: 1 }), i($, { value: "small" }, { default: s(() => l2[27] || (l2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: s(() => [i($, { value: "default" }, { default: s(() => l2[28] || (l2[28] = [c("普通")])), _: 1 }), i($, { value: "disabled" }, { default: s(() => l2[29] || (l2[29] = [c("禁用")])), _: 1 }), i($, { value: "hidden" }, { default: s(() => l2[30] || (l2[30] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(O, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", P, [i(N2, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [i(U2, { 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(() => [i(v2, { label: "primary", value: "primary" }), i(v2, { label: "success", value: "success" }), i(v2, { label: "warning", value: "warning" }), i(v2, { label: "danger", value: "danger" }), i(v2, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(t(), o(_, { 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) {
|
|
46
46
|
w2.configure.props.base.iconType = e4, w2.configure.props.base.iconValue = a4;
|
|
47
|
-
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(i(N2, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: s(() => [i(I, { value: "left" }, { default: s(() => l2[
|
|
47
|
+
}(e3, a3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(i(N2, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.iconPosition = a3), class: "ml-4" }, { default: s(() => [i(I, { value: "left" }, { default: s(() => l2[31] || (l2[31] = [c("标题前")])), _: 1 }), i(I, { value: "right" }, { default: s(() => l2[32] || (l2[32] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), i(N2, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.text = a3), class: "ml-4" }, { default: s(() => [i($, { value: true }, { default: s(() => l2[33] || (l2[33] = [c("是")])), _: 1 }), i($, { value: false }, { default: s(() => l2[34] || (l2[34] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.plain = a3), class: "ml-4" }, { default: s(() => [i($, { value: true }, { default: s(() => l2[35] || (l2[35] = [c("是")])), _: 1 }), i($, { value: false }, { default: s(() => l2[36] || (l2[36] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.round = a3), class: "ml-4" }, { default: s(() => [i($, { value: true }, { default: s(() => l2[37] || (l2[37] = [c("是")])), _: 1 }), i($, { value: false }, { default: s(() => l2[38] || (l2[38] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.loading = a3), class: "ml-4" }, { default: s(() => [i($, { value: true }, { default: s(() => l2[39] || (l2[39] = [c("是")])), _: 1 }), i($, { value: false }, { default: s(() => l2[40] || (l2[40] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.focus = a3), class: "ml-4" }, { default: s(() => [i($, { value: true }, { default: s(() => l2[41] || (l2[41] = [c("是")])), _: 1 }), i($, { value: false }, { default: s(() => l2[42] || (l2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [i(M, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.originalType = a3), class: "ml-4" }, { default: s(() => [i($, { value: "button" }, { default: s(() => l2[43] || (l2[43] = [c("button")])), _: 1 }), i($, { value: "submit" }, { default: s(() => l2[44] || (l2[44] = [c("submit")])), _: 1 }), i($, { value: "reset" }, { default: s(() => l2[45] || (l2[45] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(O, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", j, [q.value ? (t(), o(x, { key: 0, pageDesign: e2.pageDesign, paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.linkPage, configure: e2.configure, tableConfigure: T.value, onDataChange: l2[15] || (l2[15] = (e3) => function(e4) {
|
|
48
48
|
w2.configure.props.linkPage = e4;
|
|
49
49
|
}(e3)) }, null, 8, ["pageDesign", "data", "configure", "tableConfigure"])) : b("", true)])]), _: 1 }), i(O, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", D, [i(N2, { label: "回填赋值", class: "amb-design-attr-item" }, { default: s(() => [i(B, { modelValue: e2.configure.props.base.isNeedValueMapping, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.isNeedValueMapping = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [i(B, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.isPermission = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "是否异步", class: "amb-design-attr-item" }, { default: s(() => [i(B, { modelValue: e2.configure.props.base.isAsync, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.isAsync = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "必填验证", class: "amb-design-attr-item" }, { default: s(() => [i(B, { modelValue: e2.configure.props.base.isEnableRequired, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.isEnableRequired = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "逻辑删除", class: "amb-design-attr-item" }, { default: s(() => [i(B, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.isSafeDelete = a3), size: "default" }, null, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "模板路径", class: "amb-design-attr-item" }, { default: s(() => [i(U2, { modelValue: F.value, "onUpdate:modelValue": l2[21] || (l2[21] = (e3) => F.value = e3), filterable: "", multiple: "", onChange: A }, { default: s(() => [(t(true), d(r, null, p(E.value, (e3) => (t(), o(v2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "执行条件", class: "amb-design-attr-item" }, { default: s(() => [i(U2, { modelValue: e2.configure.props.base.conditionsForExecution, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.base.conditionsForExecution = a3) }, { default: s(() => [i(v2, { label: "无限制", value: "any" }), i(v2, { label: "选单行", value: "one" }), i(v2, { label: "选多行(包括单行)", value: "more" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(N2, { label: "对应表格", class: "amb-design-attr-item" }, { default: s(() => [i(U2, { modelValue: e2.configure.props.base.tableUuid, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.tableUuid = a3), clearable: "", filterable: "", "allow-create": "", onChange: R }, { default: s(() => [(t(true), d(r, null, p(C.value, (e3) => (t(), o(v2, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
50
50
|
};
|
package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
return (l2,
|
|
6
|
-
const
|
|
7
|
-
return u(),
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as r, createTextVNode as i, toDisplayString as n } from "vue";
|
|
2
|
+
import s from "../../common/common-function-code.vue.js";
|
|
3
|
+
const m = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "buttongroup-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }) }, setup(e2) {
|
|
4
|
+
const f2 = l(["base"]);
|
|
5
|
+
return (l2, p) => {
|
|
6
|
+
const c = a("el-text"), g = a("el-form-item"), b = a("el-input"), _ = a("el-radio"), V = a("el-radio-group"), x = a("el-collapse-item"), v = a("el-collapse"), y = a("el-form");
|
|
7
|
+
return u(), t(y, { "label-width": "80px", size: "small" }, { default: o(() => [d(v, { modelValue: f2.value, "onUpdate:modelValue": p[2] || (p[2] = (e3) => f2.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(x, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [r("div", m, [d(g, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [d(c, null, { default: o(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(g, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(b, { modelValue: e2.configure.uuid, "onUpdate:modelValue": p[0] || (p[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(g, { label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [d(s, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), d(g, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(V, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": p[1] || (p[1] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => p[3] || (p[3] = [i("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => p[4] || (p[4] = [i("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
8
8
|
};
|
|
9
9
|
} });
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
f as default
|
|
12
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as u, createVNode as r, createElementVNode as
|
|
1
|
+
import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as u, createVNode as r, createElementVNode as d, withDirectives as i, createTextVNode as s, toDisplayString as n, vShow as p, createCommentVNode as m } from "vue";
|
|
2
2
|
import f from "../../form/common/row-ul-li.vue.js";
|
|
3
3
|
import g from "../../common/common-variable-bind.vue.js";
|
|
4
4
|
import c from "../../common/common-function-code.vue.js";
|
|
@@ -13,7 +13,7 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { padding: "8p
|
|
|
13
13
|
}
|
|
14
14
|
return (a2, v3) => {
|
|
15
15
|
const O = l("el-text"), U = l("el-form-item"), T = l("el-input"), h = l("el-radio"), j = l("el-radio-group"), w = l("el-collapse-item"), k = l("el-option"), S = l("el-select"), D = l("el-collapse"), E = l("el-form");
|
|
16
|
-
return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [
|
|
16
|
+
return o(), t(E, { "label-width": "80px", size: "small" }, { default: u(() => [r(D, { modelValue: y.value, "onUpdate:modelValue": v3[10] || (v3[10] = (e3) => y.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", _, [r(U, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [r(O, null, { default: u(() => [s(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(U, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [r(T, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v3[0] || (v3[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(U, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(c, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), r(U, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [r(b, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v3[1] || (v3[1] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), r(U, { label: "菜单数据", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.dataOrigin.optionValueSetType, "onUpdate:modelValue": v3[2] || (v3[2] = (a3) => e2.configure.props.dataOrigin.optionValueSetType = a3) }, { default: u(() => [r(h, { value: "static" }, { default: u(() => v3[11] || (v3[11] = [s("静态数据")])), _: 1 }), r(h, { value: "variable" }, { default: u(() => v3[12] || (v3[12] = [s("绑定变量")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(f, { style: { "margin-bottom": "10px", "border-top": "1px solid var(--el-border-color-lighter)" }, dataOrigin: e2.configure.props.dataOrigin, pageDesign: e2.pageDesign, type: "dropdown", leftTittle: "编码", rightTittle: "显示名称" }, null, 8, ["dataOrigin", "pageDesign"]), [[p, !e2.configure.props.dataOrigin.optionValueSetType || "static" === e2.configure.props.dataOrigin.optionValueSetType]]), i(r(U, { label: "选择变量", class: "amb-design-attr-item" }, { default: u(() => [r(g, { modelValue: e2.configure.props.base.menuField, paramTypes: ["data", "page"], "onUpdate:modelValue": x }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "variable" === e2.configure.props.dataOrigin.optionValueSetType]]), r(U, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v3[3] || (v3[3] = (a3) => e2.configure.props.base.size = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "large" }, { default: u(() => v3[13] || (v3[13] = [s("大")])), _: 1 }), r(h, { value: "default" }, { default: u(() => v3[14] || (v3[14] = [s("中")])), _: 1 }), r(h, { value: "small" }, { default: u(() => v3[15] || (v3[15] = [s("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v3[4] || (v3[4] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "default" }, { default: u(() => v3[16] || (v3[16] = [s("普通")])), _: 1 }), r(h, { value: "disabled" }, { default: u(() => v3[17] || (v3[17] = [s("禁用")])), _: 1 }), r(h, { value: "hidden" }, { default: u(() => v3[18] || (v3[18] = [s("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(w, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", V, [r(U, { label: "触发行为", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.trigger, "onUpdate:modelValue": v3[5] || (v3[5] = (a3) => e2.configure.props.base.trigger = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "hover" }, { default: u(() => v3[19] || (v3[19] = [s("鼠标移动")])), _: 1 }), r(h, { value: "click" }, { default: u(() => v3[20] || (v3[20] = [s("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(U, { label: "呈现元素", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.triggerElement, "onUpdate:modelValue": v3[6] || (v3[6] = (a3) => e2.configure.props.base.triggerElement = a3), class: "ml-4" }, { default: u(() => [r(h, { value: "button" }, { default: u(() => v3[21] || (v3[21] = [s("按钮")])), _: 1 }), r(h, { value: "text" }, { default: u(() => v3[22] || (v3[22] = [s("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.buttonType, "onUpdate:modelValue": v3[7] || (v3[7] = (a3) => e2.configure.props.base.buttonType = a3), class: "ml-4" }, { default: u(() => [r(k, { label: "primary", value: "primary" }), r(k, { label: "success", value: "success" }), r(k, { label: "warning", value: "warning" }), r(k, { label: "danger", value: "danger" }), r(k, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), "button" == e2.configure.props.base.triggerElement ? (o(), t(U, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [r(j, { modelValue: e2.configure.props.base.splitButton, "onUpdate:modelValue": v3[8] || (v3[8] = (a3) => e2.configure.props.base.splitButton = a3), class: "ml-4" }, { default: u(() => [r(h, { value: true }, { default: u(() => v3[23] || (v3[23] = [s("是")])), _: 1 }), r(h, { value: false }, { default: u(() => v3[24] || (v3[24] = [s("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : m("", true), r(U, { label: "弹出位置", class: "amb-design-attr-item" }, { default: u(() => [r(S, { modelValue: e2.configure.props.base.placement, "onUpdate:modelValue": v3[9] || (v3[9] = (a3) => e2.configure.props.base.placement = a3), clearable: "", class: "ml-4" }, { default: u(() => [r(k, { value: "bottom" }, { default: u(() => v3[25] || (v3[25] = [s("bottom")])), _: 1 }), r(k, { value: "top" }, { default: u(() => v3[26] || (v3[26] = [s("top")])), _: 1 }), r(k, { value: "top-start" }, { default: u(() => v3[27] || (v3[27] = [s("top-start")])), _: 1 }), r(k, { value: "top-end" }, { default: u(() => v3[28] || (v3[28] = [s("top-end")])), _: 1 }), r(k, { value: "bottom-start" }, { default: u(() => v3[29] || (v3[29] = [s("bottom-start")])), _: 1 }), r(k, { value: "bottom-end" }, { default: u(() => v3[30] || (v3[30] = [s("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as u, createBlock as t, openBlock as o, withCtx as s, createVNode as
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as u, createBlock as t, openBlock as o, withCtx as s, createVNode as d, createElementVNode as i, createElementBlock as n, Fragment as r, renderList as p, unref as m, createTextVNode as f, withDirectives as c, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import _ from "../../common/common-icon-bind.vue.js";
|
|
4
|
+
import V from "../../common/common-function-code.vue.js";
|
|
5
5
|
import v from "agilebuilder-ui/src/utils/request";
|
|
6
6
|
import y from "../../common/common-i18n-key-input.vue.js";
|
|
7
|
-
const U = { style: { padding: "8px 0px 0px 0px" } },
|
|
7
|
+
const U = { style: { padding: "8px 0px 0px 0px" } }, h = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, P = e({ __name: "exportpdf-attr-base", props: { configure: { type: Object, default: () => ({ props: {} }) }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
8
8
|
const P2 = e2, j = l(["base", "appearance", "otherSettings", "linkPage"]), k = l([]), w = l([]);
|
|
9
9
|
function F() {
|
|
10
10
|
w.value.length > 0 ? (P2.configure.props.base.templateFiles || (P2.configure.props.base.templateFiles = []), k.value.filter((e3) => w.value.includes(e3.uuid)).forEach((e3) => {
|
|
@@ -22,9 +22,9 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8p
|
|
|
22
22
|
}();
|
|
23
23
|
}), (l2, a2) => {
|
|
24
24
|
const v2 = u("el-option"), T = u("el-select"), z = u("el-form-item"), N = u("el-input"), A = u("el-radio"), C = u("el-radio-group"), D = u("el-collapse-item"), E = u("el-radio-button"), O = u("el-switch"), S = u("el-collapse"), $ = u("el-form");
|
|
25
|
-
return o(), t($, { "label-width": "80px", size: "small" }, { default: s(() => [
|
|
25
|
+
return o(), t($, { "label-width": "80px", size: "small" }, { default: s(() => [d(S, { modelValue: j.value, "onUpdate:modelValue": a2[17] || (a2[17] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [d(D, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", U, [d(z, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: s(() => [(o(true), n(r, null, p(m(g)(), (e3) => (o(), t(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(z, { label: "自定义编码", class: "amb-design-attr-item" }, { default: s(() => [d(N, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(V, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), d(z, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [d(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(z, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "large" }, { default: s(() => a2[18] || (a2[18] = [f("大")])), _: 1 }), d(A, { value: "default" }, { default: s(() => a2[19] || (a2[19] = [f("中")])), _: 1 }), d(A, { value: "small" }, { default: s(() => a2[20] || (a2[20] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "default" }, { default: s(() => a2[21] || (a2[21] = [f("普通")])), _: 1 }), d(A, { value: "disabled" }, { default: s(() => a2[22] || (a2[22] = [f("禁用")])), _: 1 }), d(A, { value: "hidden" }, { default: s(() => a2[23] || (a2[23] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "模板", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: w.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => w.value = e3), multiple: "", onChange: F }, { default: s(() => [(o(true), n(r, null, p(k.value, (e3) => (o(), t(v2, { key: e3.uuid, label: e3.fileName, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", h, [d(z, { label: "按钮类型", class: "amb-design-attr-item" }, { default: s(() => [d(T, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: s(() => [d(v2, { label: "primary", value: "primary" }), d(v2, { label: "success", value: "success" }), d(v2, { label: "warning", value: "warning" }), d(v2, { label: "danger", value: "danger" }), d(v2, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "图标", class: "amb-design-attr-item" }, { default: s(() => [(o(), t(_, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[8] || (a2[8] = (e3, l3) => function(e4, l4) {
|
|
26
26
|
P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
|
|
27
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(
|
|
27
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(d(z, { label: "图标位置", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: s(() => [d(E, { value: "left" }, { default: s(() => a2[24] || (a2[24] = [f("标题前")])), _: 1 }), d(E, { value: "right" }, { default: s(() => a2[25] || (a2[25] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), d(z, { label: "文字按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.text = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[26] || (a2[26] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[27] || (a2[27] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.plain = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[28] || (a2[28] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[29] || (a2[29] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.round = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[30] || (a2[30] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[31] || (a2[31] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "加载状态", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[32] || (a2[32] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[33] || (a2[33] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: s(() => [d(A, { value: true }, { default: s(() => a2[34] || (a2[34] = [f("是")])), _: 1 }), d(A, { value: false }, { default: s(() => a2[35] || (a2[35] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(z, { label: "原生type", class: "amb-design-attr-item" }, { default: s(() => [d(C, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: s(() => [d(A, { value: "button" }, { default: s(() => a2[36] || (a2[36] = [f("button")])), _: 1 }), d(A, { value: "submit" }, { default: s(() => a2[37] || (a2[37] = [f("submit")])), _: 1 }), d(A, { value: "reset" }, { default: s(() => a2[38] || (a2[38] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), d(D, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: s(() => [i("div", x, [d(z, { label: "权限保护", class: "amb-design-attr-item" }, { default: s(() => [d(O, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
28
28
|
};
|
|
29
29
|
} });
|
|
30
30
|
export {
|
package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js
CHANGED
|
@@ -9,9 +9,9 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
9
9
|
return a(() => {
|
|
10
10
|
}), (l2, a2) => {
|
|
11
11
|
const P = o("el-option"), z = o("el-select"), E = o("el-form-item"), B = o("el-input"), O = o("el-radio"), S = o("el-radio-group"), A = o("el-collapse-item"), D = o("el-radio-button"), q = o("el-switch"), C = o("el-collapse"), F = o("el-form");
|
|
12
|
-
return u(), t(F, { "label-width": "80px", size: "small" }, { default: d(() => [s(C, { modelValue: j.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", U, [s(E, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), r(i, null, p(m(_)(), (e3) => (u(), t(P, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(E, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(E, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [s(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [f("大")])), _: 1 }), s(O, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [f("中")])), _: 1 }), s(O, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [f("普通")])), _: 1 }), s(O, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [f("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), s(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", w, [s(E, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [s(P, { label: "primary", value: "primary" }), s(P, { label: "success", value: "success" }), s(P, { label: "warning", value: "warning" }), s(P, { label: "danger", value: "danger" }), s(P, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
|
|
12
|
+
return u(), t(F, { "label-width": "80px", size: "small" }, { default: d(() => [s(C, { modelValue: j.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(A, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", U, [s(E, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), r(i, null, p(m(_)(), (e3) => (u(), t(P, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(E, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [s(B, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), s(E, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [s(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(E, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [f("大")])), _: 1 }), s(O, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [f("中")])), _: 1 }), s(O, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [f("普通")])), _: 1 }), s(O, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [f("禁用")])), _: 1 }), s(O, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), s(A, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", w, [s(E, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [s(P, { label: "primary", value: "primary" }), s(P, { label: "success", value: "success" }), s(P, { label: "warning", value: "warning" }), s(P, { label: "danger", value: "danger" }), s(P, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
|
|
13
13
|
T2.configure.props.base.iconType = e4, T2.configure.props.base.iconValue = l4;
|
|
14
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(s(E, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [s(D, { value: "left" }, { default: d(() => a2[
|
|
14
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), c(s(E, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [s(D, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [f("标题前")])), _: 1 }), s(D, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [f("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.iconValue]]), s(E, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[30] || (a2[30] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[31] || (a2[31] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[32] || (a2[32] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[33] || (a2[33] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[34] || (a2[34] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[35] || (a2[35] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[36] || (a2[36] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[37] || (a2[37] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[38] || (a2[38] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[39] || (a2[39] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "button" }, { default: d(() => a2[40] || (a2[40] = [f("button")])), _: 1 }), s(O, { value: "submit" }, { default: d(() => a2[41] || (a2[41] = [f("submit")])), _: 1 }), s(O, { value: "reset" }, { default: d(() => a2[42] || (a2[42] = [f("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(A, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", h, [s(E, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "hover" }, { default: d(() => a2[43] || (a2[43] = [f("鼠标移动")])), _: 1 }), s(O, { value: "click" }, { default: d(() => a2[44] || (a2[44] = [f("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(E, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [s(O, { value: "button" }, { default: d(() => a2[45] || (a2[45] = [f("按钮")])), _: 1 }), s(O, { value: "text" }, { default: d(() => a2[46] || (a2[46] = [f("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(E, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [s(P, { label: "primary", value: "primary" }), s(P, { label: "success", value: "success" }), s(P, { label: "warning", value: "warning" }), s(P, { label: "danger", value: "danger" }), s(P, { label: "info", value: "info" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : b("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(E, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [s(S, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [s(O, { value: true }, { default: d(() => a2[47] || (a2[47] = [f("是")])), _: 1 }), s(O, { value: false }, { default: d(() => a2[48] || (a2[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : b("", true), s(E, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [s(z, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [s(P, { value: "bottom" }, { default: d(() => a2[49] || (a2[49] = [f("bottom")])), _: 1 }), s(P, { value: "top" }, { default: d(() => a2[50] || (a2[50] = [f("top")])), _: 1 }), s(P, { value: "top-start" }, { default: d(() => a2[51] || (a2[51] = [f("top-start")])), _: 1 }), s(P, { value: "top-end" }, { default: d(() => a2[52] || (a2[52] = [f("top-end")])), _: 1 }), s(P, { value: "bottom-start" }, { default: d(() => a2[53] || (a2[53] = [f("bottom-start")])), _: 1 }), s(P, { value: "bottom-end" }, { default: d(() => a2[54] || (a2[54] = [f("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(A, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", k, [s(E, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [s(q, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
15
15
|
};
|
|
16
16
|
} });
|
|
17
17
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./data-origin.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = r(o, [["__scopeId", "data-v-
|
|
4
|
+
const t = r(o, [["__scopeId", "data-v-89d780ed"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, computed as l, resolveComponent as o, createBlock as i, openBlock as t, withCtx as n, createElementVNode as r, createVNode as u, createCommentVNode as d, createElementBlock as s, withDirectives as p, createTextVNode as c, Fragment as m, renderList as g, toDisplayString as f, unref as b, withModifiers as v, vShow as O } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { InfoFilled as _, Delete as C } from "@element-plus/icons";
|
|
3
3
|
import { queryTableFields as V } from "../../../../../utils/page-table-util.js";
|
|
4
4
|
import y from "../../../form/common/data-origin-service-in.vue.js";
|
|
5
5
|
import w from "../../../common/page-permission-select.vue.js";
|
|
@@ -56,7 +56,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { float: "left
|
|
|
56
56
|
var _a, _b;
|
|
57
57
|
return [r("div", U, [u(h2, { label: "数据来源", class: "amb-design-attr-item" }, { default: n(() => [u(k2, { modelValue: e2.configure.props.dataOrigin.dataSource, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.props.dataOrigin.dataSource = a3), onChange: N }, { default: n(() => [u(V2, { value: "variable" }, { default: n(() => l2[13] || (l2[13] = [c("变量")])), _: 1 }), u(V2, { value: "service" }, { default: n(() => l2[14] || (l2[14] = [c("服务")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "variable" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 0, label: "选择变量", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(R, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.variable, "onUpdate:modelValue": E }, null, 8, ["modelValue"]))]), _: 1 })) : d("", true), "service" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 1, label: "选择服务", class: "amb-design-attr-item" }, { default: n(() => [u(w, { pageDesign: e2.pageDesign, rowObj: e2.configure.props.dataOrigin.service, onlyService: "", "onUpdate:modelValue": l2[1] || (l2[1] = (e3, a3, l3, o2) => function(e4, a4, l4, o3) {
|
|
58
58
|
Q.service.simpleCode = a4, Q.service.id = o3, Q.service.name = l4, L();
|
|
59
|
-
}(0, a3, l3, o2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 })) : d("", true), "service" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 2, label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.service.serviceDataField, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.service.serviceDataField = a3), placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(B.value, (e3, a3) => (t(), i(j3, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", S, f(e3.label), 1), r("span", x, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "service" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 3, label: "立即查询", class: "amb-design-attr-item" }, { default: n(() => [u(k2, { modelValue: e2.configure.initializationQuery, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.initializationQuery = a3), class: "ml-4" }, { default: n(() => [u(V2, { value: true }, { default: n(() => l2[15] || (l2[15] = [c("是")])), _: 1 }), u(V2, { value: false }, { default: n(() => l2[16] || (l2[16] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), u(h2, { label: "行列转换", class: "amb-design-attr-item" }, { default: n(() => [u(k2, { modelValue: e2.configure.props.dataOrigin.transition, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.transition = a3), class: "ml-4" }, { default: n(() => [u(V2, { value: false }, { default: n(() => l2[17] || (l2[17] = [c("否")])), _: 1 }), u(V2, { value: "rowToColumn" }, { default: n(() => l2[18] || (l2[18] = [c("行转列")])), _: 1 }), u(V2, { value: "columnToRow" }, { default: n(() => l2[19] || (l2[19] = [c("列转行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "使用分组", class: "amb-design-attr-item" }, { default: n(() => [u(k2, { modelValue: e2.configure.props.dataOrigin.useGroup, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.useGroup = a3), class: "ml-4" }, { default: n(() => [u(V2, { value: true }, { default: n(() => l2[20] || (l2[20] = [c("是")])), _: 1 }), u(V2, { value: false }, { default: n(() => l2[21] || (l2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.dataOrigin.transition && e2.configure.props.dataOrigin.useGroup ? (t(), i(h2, { key: 4, title: "统计分组字段", label: "分组字段", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.groupField, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.groupField = a3), multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.configure.items, (e3, a3) => (t(), i(j3, { key: e3.uuid, label: e3.props.base.name, value: e3.props.base.prop }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "rowToColumn" === e2.configure.props.dataOrigin.transition ? (t(), s(m, { key: 5 }, [u(h2, { label: "标题列字段", class: "amb-design-attr-item" }, { label: n(() => [u(M2, { class: "box-item", placement: "left", content: "标题列为行转列时,原数据列的值转换后多个新列的标题值对应的字段" }, { default: n(() => l2[22] || (l2[22] = [c(" 标题列字段 ")])), _: 1 })]), default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.rowToColumn.titleColumns, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.dataOrigin.rowToColumn.titleColumns = a3), multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a3) => (t(), i(j3, { key: a3, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.dataOrigin.useGroup ? d("", true) : (t(), i(h2, { key: 0, label: "首列标题", class: "amb-design-attr-item" }, { default: n(() => [u(z2, { modelValue: e2.configure.props.dataOrigin.rowToColumn.firstColumnTitle, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dataOrigin.rowToColumn.firstColumnTitle = a3) }, null, 8, ["modelValue"])]), _: 1 })), u(h2, { class: "amb-design-attr-item" }, { label: n(() => [u(M2, { class: "box-item", placement: "left", content: "哪些字段填充为新列的数据" }, { default: n(() => l2[23] || (l2[23] = [c(" 数据列字段 ")])), _: 1 })]), default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.rowToColumn.dataColumns, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dataOrigin.rowToColumn.dataColumns = a3), multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a3) => (t(), i(j3, { key: a3, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : d("", true), "columnToRow" === e2.configure.props.dataOrigin.transition ? (t(), i(h2, { key: 6, label: "转换列字段", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: $ }, { default: n(() => l2[24] || (l2[24] = [c("添加")])), _: 1 }), u(G2, { onClick: q }, { default: n(() => l2[25] || (l2[25] = [c("删除")])), _: 1 })]), _: 1 })) : d("", true), "columnToRow" === e2.configure.props.dataOrigin.transition ? (t(), i(K, { key: 7, data: e2.configure.props.dataOrigin.columnToRow.transColumns, style: { width: "100%", "margin-bottom": "8px" } }, { default: n(() => [u(I2, { "header-align": "center", align: "center" }, { default: n((a3) => [u(A2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => e2.configure.props.dataOrigin.columnToRow.transColumns.splice(a3.$index, 1) }, { default: n(() => [u(b(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), u(I2, { label: "列", "header-align": "center", align: "center" }, { default: n((a3) => [u(D2, { modelValue: a3.row.columns, "onUpdate:modelValue": (e3) => a3.row.columns = e3, multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a4) => (t(), i(j3, { key: a4, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(I2, { label: "显示值", "header-align": "center", align: "center" }, { default: n((e3) => [u(z2, { modelValue: e3.row.label, "onUpdate:modelValue": (a3) => e3.row.label = a3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(I2, { label: "关联列", "header-align": "center", align: "center" }, { default: n((a3) => [u(D2, { modelValue: a3.row.relatedTitle, "onUpdate:modelValue": (e3) => a3.row.relatedTitle = e3, placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.configure.props.dataOrigin.columnToRow.titleColumns, (e3, a4) => (t(), i(j3, { key: a4, label: e3.title, value: e3.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])) : d("", true), u(P), "columnToRow" === e2.configure.props.dataOrigin.transition ? (t(), s(m, { key: 8 }, [u(h2, { label: "标题列", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: l2[10] || (l2[10] = (a3) => e2.configure.props.dataOrigin.columnToRow.titleColumns.push({ prop: "", title: "" })) }, { default: n(() => l2[26] || (l2[26] = [c(" 添加")])), _: 1 }), u(M2, { class: "box-item", content: "标题列为列转行后,原数据列的标题转换为表格新的一列数据时该列的标题" }, { default: n(() => [u(A2, null, { default: n(() => [u(b(C))]), _: 1 })]), _: 1 })]), _: 1 }), ((_a = e2.configure.props.dataOrigin.columnToRow.titleColumns) == null ? void 0 : _a.length) > 0 ? (t(), i(T, { key: 0, sourceFields: e2.sourceFields, tableData: e2.configure.props.dataOrigin.columnToRow.titleColumns }, null, 8, ["sourceFields", "tableData"])) : d("", true), u(h2, { label: "数据列", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: l2[11] || (l2[11] = (a3) => e2.configure.props.dataOrigin.columnToRow.dataColumns.push({ prop: "", title: "" })) }, { default: n(() => l2[27] || (l2[27] = [c(" 添加 ")])), _: 1 }), u(M2, { class: "box-item", content: "数据列为列转行后,原数据列中的内容转换为表格新的一列数据时该列的标题" }, { default: n(() => [u(A2, null, { default: n(() => [u(b(C))]), _: 1 })]), _: 1 })]), _: 1 }), u(T, { sourceFields: e2.sourceFields, tableData: e2.configure.props.dataOrigin.columnToRow.dataColumns }, null, 8, ["sourceFields", "tableData"]), ((_b = e2.configure.props.dataOrigin.columnToRow.dataColumns) == null ? void 0 : _b.length) > 1 ? (t(), i(h2, { key: 1, label: "数据列分组", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: J }, { default: n(() => l2[28] || (l2[28] = [c(" 添加 ")])), _: 1 }), u(M2, { class: "box-item", content: "当原始数据中不同的列要在转换后分成多个新列时,需要设置转换后的哪几列数据需要在同一行中" }, { default: n(() => [u(A2, null, { default: n(() => [u(b(C))]), _: 1 })]), _: 1 })]), _: 1 })) : d("", true), (t(true), s(m, null, g(e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping, (a3, l3) => (t(), i(h2, { key: a3.key, label: "分组" + (l3 + 1) }, { default: n(() => [u(W, { span: 20 }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping[l3].props, "onUpdate:modelValue": (a4) => e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping[l3].props = a4, multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a4) => (t(), i(j3, { key: a4, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(A2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: v((a4) => e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping.splice(l3, 1), ["prevent"]) }, { default: n(() => [u(b(_))]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1032, ["label"]))), 128))], 64)) : d("", true), u(h2, { label: "数据格式化", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.dataFormatting, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dataOrigin.dataFormatting = a3), placeholder: "请选择", clearable: "" }, { default: n(() => [(t(true), s(m, null, g(b(F)(), (e3) => (t(), i(j3, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "service" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 9, label: "设置到变量", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(R, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.fields, "onUpdate:modelValue": H }, null, 8, ["modelValue"]))]), _: 1 })) : d("", true), p(u(y, { ref: "dataOriginServiceInRef", dataOrigin: b(Q) }, null, 8, ["dataOrigin"]), [[O, "service" == e2.configure.props.dataOrigin.dataSource]])])];
|
|
59
|
+
}(0, a3, l3, o2)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 })) : d("", true), "service" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 2, label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.service.serviceDataField, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.props.dataOrigin.service.serviceDataField = a3), placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(B.value, (e3, a3) => (t(), i(j3, { key: a3, label: e3.label, value: e3.value }, { default: n(() => [r("span", S, f(e3.label), 1), r("span", x, f(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "service" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 3, label: "立即查询", class: "amb-design-attr-item" }, { default: n(() => [u(k2, { modelValue: e2.configure.initializationQuery, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.initializationQuery = a3), class: "ml-4" }, { default: n(() => [u(V2, { value: true }, { default: n(() => l2[15] || (l2[15] = [c("是")])), _: 1 }), u(V2, { value: false }, { default: n(() => l2[16] || (l2[16] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), u(h2, { label: "行列转换", class: "amb-design-attr-item" }, { default: n(() => [u(k2, { modelValue: e2.configure.props.dataOrigin.transition, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.dataOrigin.transition = a3), class: "ml-4" }, { default: n(() => [u(V2, { value: false }, { default: n(() => l2[17] || (l2[17] = [c("否")])), _: 1 }), u(V2, { value: "rowToColumn" }, { default: n(() => l2[18] || (l2[18] = [c("行转列")])), _: 1 }), u(V2, { value: "columnToRow" }, { default: n(() => l2[19] || (l2[19] = [c("列转行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(h2, { label: "使用分组", class: "amb-design-attr-item" }, { default: n(() => [u(k2, { modelValue: e2.configure.props.dataOrigin.useGroup, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.dataOrigin.useGroup = a3), class: "ml-4" }, { default: n(() => [u(V2, { value: true }, { default: n(() => l2[20] || (l2[20] = [c("是")])), _: 1 }), u(V2, { value: false }, { default: n(() => l2[21] || (l2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.dataOrigin.transition && e2.configure.props.dataOrigin.useGroup ? (t(), i(h2, { key: 4, title: "统计分组字段", label: "分组字段", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.groupField, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.dataOrigin.groupField = a3), multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.configure.items, (e3, a3) => (t(), i(j3, { key: e3.uuid, label: e3.props.base.name, value: e3.props.base.prop }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "rowToColumn" === e2.configure.props.dataOrigin.transition ? (t(), s(m, { key: 5 }, [u(h2, { label: "标题列字段", class: "amb-design-attr-item" }, { label: n(() => [u(M2, { class: "box-item", placement: "left", content: "标题列为行转列时,原数据列的值转换后多个新列的标题值对应的字段" }, { default: n(() => l2[22] || (l2[22] = [c(" 标题列字段 ")])), _: 1 })]), default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.rowToColumn.titleColumns, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.dataOrigin.rowToColumn.titleColumns = a3), multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a3) => (t(), i(j3, { key: a3, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.dataOrigin.useGroup ? d("", true) : (t(), i(h2, { key: 0, label: "首列标题", class: "amb-design-attr-item" }, { default: n(() => [u(z2, { modelValue: e2.configure.props.dataOrigin.rowToColumn.firstColumnTitle, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.dataOrigin.rowToColumn.firstColumnTitle = a3) }, null, 8, ["modelValue"])]), _: 1 })), u(h2, { class: "amb-design-attr-item" }, { label: n(() => [u(M2, { class: "box-item", placement: "left", content: "哪些字段填充为新列的数据" }, { default: n(() => l2[23] || (l2[23] = [c(" 数据列字段 ")])), _: 1 })]), default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.rowToColumn.dataColumns, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.dataOrigin.rowToColumn.dataColumns = a3), multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a3) => (t(), i(j3, { key: a3, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })], 64)) : d("", true), "columnToRow" === e2.configure.props.dataOrigin.transition ? (t(), s(m, { key: 6 }, [u(h2, { label: "标题列", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: l2[10] || (l2[10] = (a3) => e2.configure.props.dataOrigin.columnToRow.titleColumns.push({ prop: "", title: "" })) }, { default: n(() => l2[24] || (l2[24] = [c(" 添加")])), _: 1 }), u(M2, { class: "box-item", content: "标题列为列转行后,原数据列的标题转换为表格新的一列数据时该列的标题" }, { default: n(() => [u(A2, null, { default: n(() => [u(b(_))]), _: 1 })]), _: 1 })]), _: 1 }), ((_a = e2.configure.props.dataOrigin.columnToRow.titleColumns) == null ? void 0 : _a.length) > 0 ? (t(), i(T, { key: 0, sourceFields: e2.sourceFields, tableData: e2.configure.props.dataOrigin.columnToRow.titleColumns }, null, 8, ["sourceFields", "tableData"])) : d("", true), "columnToRow" === e2.configure.props.dataOrigin.transition ? (t(), i(h2, { key: 1, label: "转换列字段", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: $ }, { default: n(() => l2[25] || (l2[25] = [c("添加")])), _: 1 }), u(G2, { onClick: q }, { default: n(() => l2[26] || (l2[26] = [c("删除")])), _: 1 })]), _: 1 })) : d("", true), "columnToRow" === e2.configure.props.dataOrigin.transition ? (t(), i(K, { key: 2, data: e2.configure.props.dataOrigin.columnToRow.transColumns, style: { width: "100%", "margin-bottom": "8px" } }, { default: n(() => [u(I2, { "header-align": "center", align: "center" }, { default: n((a3) => [u(A2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => e2.configure.props.dataOrigin.columnToRow.transColumns.splice(a3.$index, 1) }, { default: n(() => [u(b(C))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), u(I2, { label: "列", "header-align": "center", align: "center" }, { default: n((a3) => [u(D2, { modelValue: a3.row.columns, "onUpdate:modelValue": (e3) => a3.row.columns = e3, multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a4) => (t(), i(j3, { key: a4, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(I2, { label: "显示值", "header-align": "center", align: "center" }, { default: n((e3) => [u(z2, { modelValue: e3.row.label, "onUpdate:modelValue": (a3) => e3.row.label = a3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), u(I2, { label: "关联列", "header-align": "center", align: "center" }, { default: n((a3) => [u(D2, { modelValue: a3.row.relatedTitle, "onUpdate:modelValue": (e3) => a3.row.relatedTitle = e3, placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.configure.props.dataOrigin.columnToRow.titleColumns, (e3, a4) => (t(), i(j3, { key: a4, label: e3.title, value: e3.prop }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])) : d("", true), u(P), u(h2, { label: "数据列", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: l2[11] || (l2[11] = (a3) => e2.configure.props.dataOrigin.columnToRow.dataColumns.push({ prop: "", title: "" })) }, { default: n(() => l2[27] || (l2[27] = [c(" 添加 ")])), _: 1 }), u(M2, { class: "box-item", content: "数据列为列转行后,原数据列中的内容转换为表格新的一列数据时该列的标题" }, { default: n(() => [u(A2, null, { default: n(() => [u(b(_))]), _: 1 })]), _: 1 })]), _: 1 }), u(T, { sourceFields: e2.sourceFields, tableData: e2.configure.props.dataOrigin.columnToRow.dataColumns }, null, 8, ["sourceFields", "tableData"]), ((_b = e2.configure.props.dataOrigin.columnToRow.dataColumns) == null ? void 0 : _b.length) > 1 ? (t(), i(h2, { key: 3, label: "数据列分组", class: "amb-design-attr-item" }, { default: n(() => [u(G2, { type: "primary", onClick: J }, { default: n(() => l2[28] || (l2[28] = [c(" 添加 ")])), _: 1 }), u(M2, { class: "box-item", content: "当原始数据中不同的列要在转换后分成多个新列时,需要设置转换后的哪几列数据需要在同一行中" }, { default: n(() => [u(A2, null, { default: n(() => [u(b(_))]), _: 1 })]), _: 1 })]), _: 1 })) : d("", true), (t(true), s(m, null, g(e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping, (a3, l3) => (t(), i(h2, { key: a3.key, label: "分组" + (l3 + 1) }, { default: n(() => [u(W, { span: 20 }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping[l3].props, "onUpdate:modelValue": (a4) => e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping[l3].props = a4, multiple: "", placeholder: "请选择" }, { default: n(() => [(t(true), s(m, null, g(e2.sourceFields, (e3, a4) => (t(), i(j3, { key: a4, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), u(A2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: v((a4) => e2.configure.props.dataOrigin.columnToRow.dataColumnsMapping.splice(l3, 1), ["prevent"]) }, { default: n(() => [u(b(C))]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1032, ["label"]))), 128))], 64)) : d("", true), u(h2, { label: "数据格式化", class: "amb-design-attr-item" }, { default: n(() => [u(D2, { modelValue: e2.configure.props.dataOrigin.dataFormatting, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.dataOrigin.dataFormatting = a3), placeholder: "请选择", clearable: "" }, { default: n(() => [(t(true), s(m, null, g(b(F)(), (e3) => (t(), i(j3, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "service" === e2.configure.props.dataOrigin.dataSource ? (t(), i(h2, { key: 7, label: "设置到变量", class: "amb-design-attr-item" }, { default: n(() => [(t(), i(R, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.fields, "onUpdate:modelValue": H }, null, 8, ["modelValue"]))]), _: 1 })) : d("", true), p(u(y, { ref: "dataOriginServiceInRef", dataOrigin: b(Q) }, null, 8, ["dataOrigin"]), [[O, "service" == e2.configure.props.dataOrigin.dataSource]])])];
|
|
60
60
|
}), _: 1 });
|
|
61
61
|
};
|
|
62
62
|
} });
|
|
@@ -24,7 +24,7 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
24
24
|
}
|
|
25
25
|
return (l2, v2) => {
|
|
26
26
|
const T3 = a("el-option"), z2 = a("el-select"), S2 = a("el-form-item"), C = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
|
|
27
|
-
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: W.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [i(S2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(z2, { modelValue: q.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(S2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), D.value ? s("", true) : (u(), o(S2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 })), i(S2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": P }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), D.value ? s("", true) : (u(), o(S2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? s("", true) : (u(), o(S2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(S2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(S2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(S2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(S2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(S2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), D.value ? s("", true) : (u(), o(_, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(S2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(S2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), D.value ? s("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
27
|
+
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: W.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [i(S2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(z2, { modelValue: q.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(S2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), D.value ? s("", true) : (u(), o(S2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 })), i(S2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": P }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), D.value ? s("", true) : (u(), o(S2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? s("", true) : (u(), o(S2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(S2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(S2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(S2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(S2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(S2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), D.value ? s("", true) : (u(), o(_, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(S2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(S2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), D.value ? s("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
28
28
|
};
|
|
29
29
|
} });
|
|
30
30
|
export {
|
|
@@ -29,7 +29,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
29
29
|
}
|
|
30
30
|
return D.configure.isTable && (C.value = true), (l2, _2) => {
|
|
31
31
|
const z3 = a("el-option"), D2 = a("el-select"), q2 = a("el-form-item"), E = a("el-input"), G = a("el-radio"), H = a("el-radio-group"), I = a("el-input-number"), J = a("el-collapse-item"), K = a("el-checkbox"), N = a("el-col"), P = a("el-button"), Q = a("el-collapse"), R = a("el-form");
|
|
32
|
-
return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": L }, null, 8, ["modelValue"]))]), _: 1 })), s(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[15] || (_2[15] = [c("显示")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[16] || (_2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(s(q2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(T, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "block" }, { default: u(() => _2[17] || (_2[17] = [c("换行")])), _: 1 }), s(G, { value: "inline" }, { default: u(() => _2[18] || (_2[18] = [c("不换行")])), _: 1 }), s(G, { value: "omit" }, { default: u(() => _2[19] || (_2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(q2, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[20] || (_2[20] = [c("是")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[21] || (_2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(s(q2, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), s(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大")])), _: 1 }), s(G, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中")])), _: 1 }), s(G, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通")])), _: 1 }), s(G, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(J, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [s(H, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.deptScope = l3) }, { default: u(() => [s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "field" }, { default: u(() => _2[
|
|
32
|
+
return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": L }, null, 8, ["modelValue"]))]), _: 1 })), s(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[15] || (_2[15] = [c("显示")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[16] || (_2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(s(q2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(T, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "block" }, { default: u(() => _2[17] || (_2[17] = [c("换行")])), _: 1 }), s(G, { value: "inline" }, { default: u(() => _2[18] || (_2[18] = [c("不换行")])), _: 1 }), s(G, { value: "omit" }, { default: u(() => _2[19] || (_2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(q2, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[20] || (_2[20] = [c("是")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[21] || (_2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(s(q2, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), s(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大")])), _: 1 }), s(G, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中")])), _: 1 }), s(G, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通")])), _: 1 }), s(G, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用")])), _: 1 }), s(G, { value: "hidden" }, { default: u(() => _2[27] || (_2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(J, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [s(H, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.deptScope = l3) }, { default: u(() => [s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "field" }, { default: u(() => _2[28] || (_2[28] = [c("指定变量")])), _: 1 })]), default: u(() => [s(h, { isTable: e2.configure.isTable, showLabel: "field" != e2.configure.props.base.deptScope, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": A }, null, 8, ["isTable", "showLabel", "modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "depts" }, { default: u(() => _2[29] || (_2[29] = [c("固定部门")])), _: 1 })]), default: u(() => [s(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": _2[11] || (_2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: B }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), (t(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), i(s(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(J, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", j, [s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(K, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(N, { span: 8 }, { default: u(() => [s(K, { label: "自定义", value: "custom" })]), _: 1 }), s(N, { span: 14 }, { default: u(() => [s(P, null, { default: u(() => _2[30] || (_2[30] = [c("自定义逻辑")])), _: 1 }), s(P, { icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), C.value ? d("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
33
33
|
};
|
|
34
34
|
} });
|
|
35
35
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createVNode as d, createElementVNode as i, createTextVNode as s } from "vue";
|
|
2
2
|
import r from "../../common/common-attr-size.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import m from "../../common/common-variable-bind.vue.js";
|
|
4
|
+
import n from "../../common/common-i18n-key-input.vue.js";
|
|
5
5
|
const p = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "divider-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
|
|
6
6
|
} }, default: () => ({ props: {} }) }, setup(e2) {
|
|
7
7
|
const f2 = e2, c = l(["base"]);
|
|
@@ -9,8 +9,8 @@ const p = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "divider-at
|
|
|
9
9
|
f2.configure.props.base.defaultValue = e3;
|
|
10
10
|
}
|
|
11
11
|
return (l2, f3) => {
|
|
12
|
-
const g = a("el-input"), V = a("el-form-item"), _ = a("el-radio"), v = a("el-radio-group"), y = a("el-collapse-item"),
|
|
13
|
-
return
|
|
12
|
+
const g = a("el-input"), V = a("el-form-item"), _ = a("el-radio"), v = a("el-radio-group"), y = a("el-collapse-item"), U = a("el-collapse"), x = a("el-form");
|
|
13
|
+
return u(), t(x, { "label-width": "80px", size: "small" }, { default: o(() => [d(U, { modelValue: c.value, "onUpdate:modelValue": f3[6] || (f3[6] = (e3) => c.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [d(y, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [i("div", p, [d(V, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [d(g, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f3[0] || (f3[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(V, { label: "分割文本", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(m, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": b }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), d(V, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [d(n, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": f3[1] || (f3[1] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(V, { label: "文本位置", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.titlePosition, "onUpdate:modelValue": f3[2] || (f3[2] = (l3) => e2.configure.props.base.titlePosition = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "left" }, { default: o(() => f3[7] || (f3[7] = [s("左")])), _: 1 }), d(_, { value: "center" }, { default: o(() => f3[8] || (f3[8] = [s("中")])), _: 1 }), d(_, { value: "right" }, { default: o(() => f3[9] || (f3[9] = [s("右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "分割线方向", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.direction, "onUpdate:modelValue": f3[3] || (f3[3] = (l3) => e2.configure.props.base.direction = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "horizontal" }, { default: o(() => f3[10] || (f3[10] = [s("水平")])), _: 1 }), d(_, { value: "vertical" }, { default: o(() => f3[11] || (f3[11] = [s("垂直")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "线型", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.borderType, "onUpdate:modelValue": f3[4] || (f3[4] = (l3) => e2.configure.props.base.borderType = l3) }, { default: o(() => [d(_, { value: "solid" }, { default: o(() => f3[12] || (f3[12] = [s("实线")])), _: 1 }), d(_, { value: "dotted" }, { default: o(() => f3[13] || (f3[13] = [s("点线")])), _: 1 }), d(_, { value: "dashed" }, { default: o(() => f3[14] || (f3[14] = [s("虚线")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [d(v, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": f3[5] || (f3[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [d(_, { value: "default" }, { default: o(() => f3[15] || (f3[15] = [s("普通")])), _: 1 }), d(_, { value: "hidden" }, { default: o(() => f3[16] || (f3[16] = [s("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (u(), t(r, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
14
14
|
};
|
|
15
15
|
} });
|
|
16
16
|
export {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return j.configure.isTable && (T.value = true), (l2, V2) => {
|
|
21
21
|
const k3 = a("el-option"), j2 = a("el-select"), z2 = a("el-form-item"), N = a("el-input"), O = a("el-radio"), A = a("el-radio-group"), D = a("el-input-number"), B = a("el-collapse-item"), E = a("el-radio-button"), F = a("el-text"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
|
|
22
|
-
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[
|
|
22
|
+
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 }), i(O, { value: "hidden" }, { default: u(() => V2[19] || (V2[19] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[20] || (V2[20] = [f("格式如:.doc,.docx,.xml...")])), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", w, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, null, { default: u(() => V2[21] || (V2[21] = [f("自定义逻辑")])), _: 1 }), i(I, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -20,7 +20,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
20
20
|
}
|
|
21
21
|
return j.configure.isTable && (W.value = true), (l2, V2) => {
|
|
22
22
|
const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
|
|
23
|
-
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, null, { default: t(() => V2[
|
|
23
|
+
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, null, { default: t(() => V2[30] || (V2[30] = [c("自定义逻辑")])), _: 1 }), i(H, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
|
@@ -23,7 +23,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, j = { style: { padding: "8p
|
|
|
23
23
|
}
|
|
24
24
|
return D.configure.isTable && (L.value = true), (e3, l2) => {
|
|
25
25
|
const _2 = a("el-option"), z3 = a("el-select"), D2 = a("el-form-item"), C2 = a("el-input"), A = a("el-text"), P = a("el-radio"), q = a("el-radio-group"), B = a("el-input-number"), E = a("el-collapse-item"), F = a("el-collapse"), G = a("el-form");
|
|
26
|
-
return t(), o(G, { "label-width": "80px", size: "small" }, { default: u(() => [s(F, { modelValue: S.value, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => S.value = e4), style: { "margin-top": "6px" } }, { default: u(() => [s(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [s(D2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(z3, { modelValue: T.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => T.value = e4), onChange: I, placeholder: "请选择" }, { default: u(() => [(t(true), d(m, null, p(f(V)(), (e4) => (t(), o(_2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(C2, { modelValue: e3.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (l3) => e3.configure.uuid = l3), readonly: "", title: e3.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), L.value ? i("", true) : (t(), o(D2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e3.configure.uuid, modelValue: e3.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), s(D2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e3.configure.isTable, key: e3.configure.uuid, modelValue: e3.configure.props.base.defaultValue, "onUpdate:modelValue": $ }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), L.value ? i("", true) : (t(), o(D2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(k, { key: e3.configure.uuid, configure: e3.configure }, null, 8, ["configure"]))]), _: 1 })), s(D2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: u(() => [s(C2, { modelValue: e3.configure.props.base.formatting, "onUpdate:modelValue": l2[2] || (l2[2] = (l3) => e3.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(A, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => l2[12] || (l2[12] = [c(" ${value}:数据值 ")])), _: 1 })]), _: 1 }), s(D2, { label: "链接提示", class: "amb-design-attr-item" }, { default: u(() => [s(C2, { modelValue: e3.configure.props.base.linkTips, "onUpdate:modelValue": l2[3] || (l2[3] = (l3) => e3.configure.props.base.linkTips = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(A, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => l2[13] || (l2[13] = [c(" ${value}:数据值 ")])), _: 1 })]), _: 1 }), L.value ? i("", true) : (t(), o(D2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.tittleShow, "onUpdate:modelValue": l2[4] || (l2[4] = (l3) => e3.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(P, { value: true }, { default: u(() => l2[14] || (l2[14] = [c("显示")])), _: 1 }), s(P, { value: false }, { default: u(() => l2[15] || (l2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(s(D2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(U, { modelValue: e3.configure.props.base.title, "onUpdate:modelValue": l2[5] || (l2[5] = (l3) => e3.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e3.configure.props.base.tittleShow]]), r(s(D2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(B, { modelValue: e3.configure.props.base.titleWidth, "onUpdate:modelValue": l2[6] || (l2[6] = (l3) => e3.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e3.configure.props.base.tittleShow]]), s(D2, { label: "类型", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.type, "onUpdate:modelValue": l2[7] || (l2[7] = (l3) => e3.configure.props.base.type = l3), class: "ml-4" }, { default: u(() => [s(P, { value: "primary" }, { default: u(() => l2[16] || (l2[16] = [c("无")])), _: 1 }), s(P, { value: "success" }, { default: u(() => l2[17] || (l2[17] = [c("success")])), _: 1 }), s(P, { value: "info" }, { default: u(() => l2[18] || (l2[18] = [c("info")])), _: 1 }), s(P, { value: "warning" }, { default: u(() => l2[19] || (l2[19] = [c("warning")])), _: 1 }), s(P, { value: "danger" }, { default: u(() => l2[20] || (l2[20] = [c("danger")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "前缀图标", class: "amb-design-attr-item" }, { default: u(() => [s(v, { modelValue: e3.configure.props.base.showIcon, "onUpdate:modelValue": l2[8] || (l2[8] = (l3) => e3.configure.props.base.showIcon = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "下划线", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.underline, "onUpdate:modelValue": l2[9] || (l2[9] = (l3) => e3.configure.props.base.underline = l3), class: "ml-4" }, { default: u(() => [s(P, { value: true }, { default: u(() => l2[21] || (l2[21] = [c("显示")])), _: 1 }), s(P, { value: false }, { default: u(() => l2[22] || (l2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "显示判断", class: "amb-design-attr-item" }, { default: u(() => [s(x, { list: e3.configure.props.buttonDisplayConditionsList, title: "显示条件" }, null, 8, ["list"])]), _: 1 }), s(D2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.state, "onUpdate:modelValue": l2[10] || (l2[10] = (l3) => e3.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(P, { value: "default" }, { default: u(() => l2[23] || (l2[23] = [c("普通")])), _: 1 }), s(P, { value: "disabled" }, { default: u(() => l2[24] || (l2[24] = [c("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(E, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", j, [(t(), o(b, { key: e3.configure.uuid, configure: e3.configure, pageDesign: e3.pageDesign }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), L.value ? i("", true) : (t(), o(y, { key: e3.configure.uuid, size: e3.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
26
|
+
return t(), o(G, { "label-width": "80px", size: "small" }, { default: u(() => [s(F, { modelValue: S.value, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => S.value = e4), style: { "margin-top": "6px" } }, { default: u(() => [s(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", w, [s(D2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(z3, { modelValue: T.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => T.value = e4), onChange: I, placeholder: "请选择" }, { default: u(() => [(t(true), d(m, null, p(f(V)(), (e4) => (t(), o(_2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(C2, { modelValue: e3.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (l3) => e3.configure.uuid = l3), readonly: "", title: e3.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), L.value ? i("", true) : (t(), o(D2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e3.configure.uuid, modelValue: e3.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), s(D2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e3.configure.isTable, key: e3.configure.uuid, modelValue: e3.configure.props.base.defaultValue, "onUpdate:modelValue": $ }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), L.value ? i("", true) : (t(), o(D2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(k, { key: e3.configure.uuid, configure: e3.configure }, null, 8, ["configure"]))]), _: 1 })), s(D2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: u(() => [s(C2, { modelValue: e3.configure.props.base.formatting, "onUpdate:modelValue": l2[2] || (l2[2] = (l3) => e3.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(A, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => l2[12] || (l2[12] = [c(" ${value}:数据值 ")])), _: 1 })]), _: 1 }), s(D2, { label: "链接提示", class: "amb-design-attr-item" }, { default: u(() => [s(C2, { modelValue: e3.configure.props.base.linkTips, "onUpdate:modelValue": l2[3] || (l2[3] = (l3) => e3.configure.props.base.linkTips = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(A, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => l2[13] || (l2[13] = [c(" ${value}:数据值 ")])), _: 1 })]), _: 1 }), L.value ? i("", true) : (t(), o(D2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.tittleShow, "onUpdate:modelValue": l2[4] || (l2[4] = (l3) => e3.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(P, { value: true }, { default: u(() => l2[14] || (l2[14] = [c("显示")])), _: 1 }), s(P, { value: false }, { default: u(() => l2[15] || (l2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(s(D2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(U, { modelValue: e3.configure.props.base.title, "onUpdate:modelValue": l2[5] || (l2[5] = (l3) => e3.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e3.configure.props.base.tittleShow]]), r(s(D2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(B, { modelValue: e3.configure.props.base.titleWidth, "onUpdate:modelValue": l2[6] || (l2[6] = (l3) => e3.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e3.configure.props.base.tittleShow]]), s(D2, { label: "类型", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.type, "onUpdate:modelValue": l2[7] || (l2[7] = (l3) => e3.configure.props.base.type = l3), class: "ml-4" }, { default: u(() => [s(P, { value: "primary" }, { default: u(() => l2[16] || (l2[16] = [c("无")])), _: 1 }), s(P, { value: "success" }, { default: u(() => l2[17] || (l2[17] = [c("success")])), _: 1 }), s(P, { value: "info" }, { default: u(() => l2[18] || (l2[18] = [c("info")])), _: 1 }), s(P, { value: "warning" }, { default: u(() => l2[19] || (l2[19] = [c("warning")])), _: 1 }), s(P, { value: "danger" }, { default: u(() => l2[20] || (l2[20] = [c("danger")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "前缀图标", class: "amb-design-attr-item" }, { default: u(() => [s(v, { modelValue: e3.configure.props.base.showIcon, "onUpdate:modelValue": l2[8] || (l2[8] = (l3) => e3.configure.props.base.showIcon = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "下划线", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.underline, "onUpdate:modelValue": l2[9] || (l2[9] = (l3) => e3.configure.props.base.underline = l3), class: "ml-4" }, { default: u(() => [s(P, { value: true }, { default: u(() => l2[21] || (l2[21] = [c("显示")])), _: 1 }), s(P, { value: false }, { default: u(() => l2[22] || (l2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(D2, { label: "显示判断", class: "amb-design-attr-item" }, { default: u(() => [s(x, { list: e3.configure.props.buttonDisplayConditionsList, title: "显示条件" }, null, 8, ["list"])]), _: 1 }), s(D2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(q, { modelValue: e3.configure.props.base.state, "onUpdate:modelValue": l2[10] || (l2[10] = (l3) => e3.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(P, { value: "default" }, { default: u(() => l2[23] || (l2[23] = [c("普通")])), _: 1 }), s(P, { value: "disabled" }, { default: u(() => l2[24] || (l2[24] = [c("禁用")])), _: 1 }), s(P, { value: "hidden" }, { default: u(() => l2[25] || (l2[25] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(E, { title: "跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", j, [(t(), o(b, { key: e3.configure.uuid, configure: e3.configure, pageDesign: e3.pageDesign }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), L.value ? i("", true) : (t(), o(y, { key: e3.configure.uuid, size: e3.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
27
27
|
};
|
|
28
28
|
} });
|
|
29
29
|
export {
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as t, withCtx as o, createVNode as i, createCommentVNode as s, createElementVNode as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as t, withCtx as o, createVNode as i, createCommentVNode as s, createElementVNode as d, createElementBlock as r, Fragment as m, renderList as n, unref as p, createTextVNode as f } from "vue";
|
|
2
2
|
import { getFormComponentOptions as c } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import
|
|
4
|
-
import { componentNameChange as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
function
|
|
8
|
-
|
|
3
|
+
import g from "../../common/common-attr-size.vue.js";
|
|
4
|
+
import { componentNameChange as b } from "../../../../utils/form-design-util.js";
|
|
5
|
+
const v = { style: { padding: "8px 0px 0px 0px" } }, V = e({ __name: "placeholder-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: V2 }) {
|
|
6
|
+
const _ = e2, y = l(_.configure.name), h = V2, x = l(["base"]), z = l(false);
|
|
7
|
+
function j(e3) {
|
|
8
|
+
b(_.configure, e3, h);
|
|
9
9
|
}
|
|
10
|
-
return
|
|
11
|
-
const
|
|
12
|
-
return t(), u(
|
|
10
|
+
return _.configure.isTable && (z.value = true), (l2, b2) => {
|
|
11
|
+
const V3 = a("el-option"), _2 = a("el-select"), h2 = a("el-form-item"), U = a("el-input"), k = a("el-radio"), q = a("el-radio-group"), w = a("el-collapse-item"), A = a("el-collapse"), C = a("el-form");
|
|
12
|
+
return t(), u(C, { "label-width": "80px", size: "small" }, { default: o(() => [i(A, { modelValue: x.value, "onUpdate:modelValue": b2[3] || (b2[3] = (e3) => x.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [i(w, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", v, [i(h2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [i(_2, { modelValue: y.value, "onUpdate:modelValue": b2[0] || (b2[0] = (e3) => y.value = e3), onChange: j, placeholder: "请选择" }, { default: o(() => [(t(true), r(m, null, n(p(c)(), (e3) => (t(), u(V3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(h2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [i(U, { modelValue: e2.configure.uuid, "onUpdate:modelValue": b2[1] || (b2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(h2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [i(q, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": b2[2] || (b2[2] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [i(k, { value: "default" }, { default: o(() => b2[4] || (b2[4] = [f("普通")])), _: 1 }), i(k, { value: "hidden" }, { default: o(() => b2[5] || (b2[5] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), z.value ? s("", true) : (t(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
13
13
|
};
|
|
14
14
|
} });
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
V as default
|
|
17
17
|
};
|
|
@@ -22,7 +22,7 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
22
22
|
}
|
|
23
23
|
return S.configure.isTable && (q.value = true), (l2, v2) => {
|
|
24
24
|
const z3 = a("el-option"), S2 = a("el-select"), W2 = a("el-form-item"), C = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
|
|
25
|
-
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: D.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(S2, { modelValue: T.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => T.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), q.value ? s("", true) : (u(), o(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": P }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), q.value ? s("", true) : (u(), o(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), q.value ? s("", true) : (u(), o(W2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), q.value ? s("", true) : (u(), o(_, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", key: e2.configure.uuid, name: "verification", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), q.value ? s("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
25
|
+
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: D.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(S2, { modelValue: T.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => T.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), q.value ? s("", true) : (u(), o(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": P }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), q.value ? s("", true) : (u(), o(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), q.value ? s("", true) : (u(), o(W2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), q.value ? s("", true) : (u(), o(_, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", key: e2.configure.uuid, name: "verification", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), q.value ? s("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
26
26
|
};
|
|
27
27
|
} });
|
|
28
28
|
export {
|
|
@@ -19,7 +19,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return w.configure.isTable && (T.value = true), (l2, V2) => {
|
|
21
21
|
const U3 = a("el-option"), w2 = a("el-select"), z2 = a("el-form-item"), A = a("el-input"), C = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
|
|
22
|
-
return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => V2[10] || (V2[10] = [f("显示")])), _: 1 }), i(C, { value: false }, { default: u(() => V2[11] || (V2[11] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => V2[12] || (V2[12] = [f("换行")])), _: 1 }), i(C, { value: "inline" }, { default: u(() => V2[13] || (V2[13] = [f("不换行")])), _: 1 }), i(C, { value: "omit" }, { default: u(() => V2[14] || (V2[14] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => V2[15] || (V2[15] = [f("普通")])), _: 1 }), i(C, { value: "readonly" }, { default: u(() => V2[16] || (V2[16] = [f("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H, null, { default: u(() => V2[
|
|
22
|
+
return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => V2[10] || (V2[10] = [f("显示")])), _: 1 }), i(C, { value: false }, { default: u(() => V2[11] || (V2[11] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => V2[12] || (V2[12] = [f("换行")])), _: 1 }), i(C, { value: "inline" }, { default: u(() => V2[13] || (V2[13] = [f("不换行")])), _: 1 }), i(C, { value: "omit" }, { default: u(() => V2[14] || (V2[14] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => V2[15] || (V2[15] = [f("普通")])), _: 1 }), i(C, { value: "readonly" }, { default: u(() => V2[16] || (V2[16] = [f("只读")])), _: 1 }), i(C, { value: "hidden" }, { default: u(() => V2[17] || (V2[17] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H, null, { default: u(() => V2[18] || (V2[18] = [f("自定义逻辑")])), _: 1 }), i(H, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -26,7 +26,7 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8p
|
|
|
26
26
|
}
|
|
27
27
|
return T.configure.isTable && (P.value = true), (l2, V2) => {
|
|
28
28
|
const z3 = a("el-option"), T2 = a("el-select"), W2 = a("el-form-item"), B = a("el-input"), E = a("el-radio"), F = a("el-radio-group"), G = a("el-input-number"), H = a("el-collapse-item"), I = a("el-checkbox"), J = a("el-collapse"), K = a("el-form");
|
|
29
|
-
return o(), u(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: D.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", j, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(T2, { modelValue: q.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(o(true), n(m, null, p(f(b)(), (e3) => (o(), u(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? s("", true) : (o(), u(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": C }, null, 8, ["modelValue"]))]), _: 1 })), P.value ? s("", true) : (o(), u(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? s("", true) : (o(), u(W2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), P.value ? s("", true) : (o(), u(W2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[17] || (V2[17] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[18] || (V2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "block" }, { default: t(() => V2[19] || (V2[19] = [c("换行")])), _: 1 }), i(E, { value: "inline" }, { default: t(() => V2[20] || (V2[20] = [c("不换行")])), _: 1 }), i(E, { value: "omit" }, { default: t(() => V2[21] || (V2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[22] || (V2[22] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[23] || (V2[23] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(W2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[24] || (V2[24] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[25] || (V2[25] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[26] || (V2[26] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[27] || (V2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[28] || (V2[28] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[29] || (V2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(W2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[30] || (V2[30] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[31] || (V2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[32] || (V2[32] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[33] || (V2[33] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "large" }, { default: t(() => V2[34] || (V2[34] = [c("大")])), _: 1 }), i(E, { value: "default" }, { default: t(() => V2[35] || (V2[35] = [c("中")])), _: 1 }), i(E, { value: "small" }, { default: t(() => V2[36] || (V2[36] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "default" }, { default: t(() => V2[37] || (V2[37] = [c("普通")])), _: 1 }), i(E, { value: "disabled" }, { default: t(() => V2[38] || (V2[38] = [c("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), P.value ? s("", true) : (o(), u(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (o(), u(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), r(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(H, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [d("div", S, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), P.value ? s("", true) : (o(), u(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
29
|
+
return o(), u(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: D.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", j, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(T2, { modelValue: q.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(o(true), n(m, null, p(f(b)(), (e3) => (o(), u(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? s("", true) : (o(), u(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": C }, null, 8, ["modelValue"]))]), _: 1 })), P.value ? s("", true) : (o(), u(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? s("", true) : (o(), u(W2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), P.value ? s("", true) : (o(), u(W2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[17] || (V2[17] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[18] || (V2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "block" }, { default: t(() => V2[19] || (V2[19] = [c("换行")])), _: 1 }), i(E, { value: "inline" }, { default: t(() => V2[20] || (V2[20] = [c("不换行")])), _: 1 }), i(E, { value: "omit" }, { default: t(() => V2[21] || (V2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[22] || (V2[22] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[23] || (V2[23] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(W2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[24] || (V2[24] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[25] || (V2[25] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[26] || (V2[26] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[27] || (V2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[28] || (V2[28] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[29] || (V2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(W2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[30] || (V2[30] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[31] || (V2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[32] || (V2[32] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[33] || (V2[33] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "large" }, { default: t(() => V2[34] || (V2[34] = [c("大")])), _: 1 }), i(E, { value: "default" }, { default: t(() => V2[35] || (V2[35] = [c("中")])), _: 1 }), i(E, { value: "small" }, { default: t(() => V2[36] || (V2[36] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "default" }, { default: t(() => V2[37] || (V2[37] = [c("普通")])), _: 1 }), i(E, { value: "disabled" }, { default: t(() => V2[38] || (V2[38] = [c("禁用")])), _: 1 }), i(E, { value: "hidden" }, { default: t(() => V2[39] || (V2[39] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), P.value ? s("", true) : (o(), u(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (o(), u(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), r(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(H, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [d("div", S, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), P.value ? s("", true) : (o(), u(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
30
30
|
};
|
|
31
31
|
} });
|
|
32
32
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, createCommentVNode as s, createElementVNode as d, withDirectives as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, createCommentVNode as s, createElementVNode as d, withDirectives as n, createElementBlock as r, Fragment as m, renderList as p, unref as c, createTextVNode as f, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return w.configure.isTable && (z.value = true), (l2, V2) => {
|
|
21
21
|
const k3 = a("el-option"), w2 = a("el-select"), j2 = a("el-form-item"), q = a("el-input"), A = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-color-picker"), F = a("el-collapse-item"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
|
|
22
|
-
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true),
|
|
22
|
+
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), r(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => V2[17] || (V2[17] = [f("显示")])), _: 1 }), i(A, { value: false }, { default: u(() => V2[18] || (V2[18] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [f("换行")])), _: 1 }), i(A, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [f("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [f("大")])), _: 1 }), i(A, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [f("中")])), _: 1 }), i(A, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [f("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [f("禁用")])), _: 1 }), i(A, { value: "hidden" }, { default: u(() => V2[27] || (V2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, null, { default: u(() => V2[28] || (V2[28] = [f("自定义逻辑")])), _: 1 }), i(I, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "tag-attr-b
|
|
|
19
19
|
}
|
|
20
20
|
return x.configure.isTable && (S.value = true), (l2, V2) => {
|
|
21
21
|
const w3 = a("el-option"), x2 = a("el-select"), z2 = a("el-form-item"), $ = a("el-input"), q = a("el-text"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), B = a("el-collapse-item"), E = a("el-collapse"), F = a("el-form");
|
|
22
|
-
return u(), t(F, { "label-width": "80px", size: "small" }, { default: o(() => [s(E, { modelValue: j.value, "onUpdate:modelValue": V2[
|
|
22
|
+
return u(), t(F, { "label-width": "80px", size: "small" }, { default: o(() => [s(E, { modelValue: j.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => j.value = e3), style: { "margin-top": "6px" } }, { default: o(() => [s(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: o(() => [d("div", U, [s(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: o(() => [s(x2, { modelValue: k.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => k.value = e3), onChange: O, placeholder: "请选择" }, { default: o(() => [(u(true), r(m, null, p(f(b)(), (e3) => (u(), t(w3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), s(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": W }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: o(() => [(u(), t(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), s(z2, { label: "内容格式化", class: "amb-design-attr-item" }, { default: o(() => [s($, { modelValue: e2.configure.props.base.formatting, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.formatting = l3), rows: 2, type: "textarea", placeholder: "请输入" }, null, 8, ["modelValue"]), s(q, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => V2[12] || (V2[12] = [c(" ${value}:数据值;${no}:数据序号 ")])), _: 1 })]), _: 1 }), S.value ? i("", true) : (u(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => V2[13] || (V2[13] = [c("显示")])), _: 1 }), s(A, { value: false }, { default: o(() => V2[14] || (V2[14] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(s(z2, { label: "标题", class: "amb-design-attr-item" }, { default: o(() => [s(h, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: o(() => [s(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(s(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "block" }, { default: o(() => V2[15] || (V2[15] = [c("换行")])), _: 1 }), s(A, { value: "inline" }, { default: o(() => V2[16] || (V2[16] = [c("不换行")])), _: 1 }), s(A, { value: "omit" }, { default: o(() => V2[17] || (V2[17] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(z2, { label: "类型", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "primary" }, { default: o(() => V2[18] || (V2[18] = [c("无")])), _: 1 }), s(A, { value: "success" }, { default: o(() => V2[19] || (V2[19] = [c("success")])), _: 1 }), s(A, { value: "info" }, { default: o(() => V2[20] || (V2[20] = [c("info")])), _: 1 }), s(A, { value: "warning" }, { default: o(() => V2[21] || (V2[21] = [c("warning")])), _: 1 }), s(A, { value: "danger" }, { default: o(() => V2[22] || (V2[22] = [c("danger")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "可移除", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.closable, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.closable = l3), class: "ml-4" }, { default: o(() => [s(A, { value: true }, { default: o(() => V2[23] || (V2[23] = [c("是")])), _: 1 }), s(A, { value: false }, { default: o(() => V2[24] || (V2[24] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "large" }, { default: o(() => V2[25] || (V2[25] = [c("大")])), _: 1 }), s(A, { value: "default" }, { default: o(() => V2[26] || (V2[26] = [c("中")])), _: 1 }), s(A, { value: "small" }, { default: o(() => V2[27] || (V2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(z2, { label: "状态", class: "amb-design-attr-item" }, { default: o(() => [s(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: o(() => [s(A, { value: "default" }, { default: o(() => V2[28] || (V2[28] = [c("普通")])), _: 1 }), s(A, { value: "hidden" }, { default: o(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), S.value ? i("", true) : (u(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -21,7 +21,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
21
21
|
}
|
|
22
22
|
return L.configure.isTable && (W.value = true), (l2, V2) => {
|
|
23
23
|
const j3 = a("el-option"), L2 = a("el-select"), z2 = a("el-form-item"), q = a("el-input"), I = a("el-radio"), N = a("el-radio-group"), R = a("el-input-number"), A = a("el-switch"), C = a("el-collapse-item"), B = a("el-checkbox"), E = a("el-col"), F = a("el-collapse"), G = a("el-form");
|
|
24
|
-
return i(), o(G, { "label-width": "80px", size: "small" }, { default: t(() => [u(F, { modelValue: T.value, "onUpdate:modelValue": V2[19] || (V2[19] = (e3) => T.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(C, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [u(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [u(L2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: O, placeholder: "请选择" }, { default: t(() => [(i(true), d(m, null, p(f(b)(), (e3) => (i(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [u(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? s("", true) : (i(), o(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": D }, null, 8, ["modelValue"]))]), _: 1 })), u(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": M }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? s("", true) : (i(), o(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? s("", true) : (i(), o(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [u(I, { value: true }, { default: t(() => V2[20] || (V2[20] = [c("显示")])), _: 1 }), u(I, { value: false }, { default: t(() => V2[21] || (V2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(u(z2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [u(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(u(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [u(R, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(u(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "block" }, { default: t(() => V2[22] || (V2[22] = [c("换行")])), _: 1 }), u(I, { value: "inline" }, { default: t(() => V2[23] || (V2[23] = [c("不换行")])), _: 1 }), u(I, { value: "omit" }, { default: t(() => V2[24] || (V2[24] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), u(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [u(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "行数", class: "amb-design-attr-item" }, { default: t(() => [u(R, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "意见控件", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.isOpinion, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.isOpinion = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "large" }, { default: t(() => V2[25] || (V2[25] = [c("大")])), _: 1 }), u(I, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("中")])), _: 1 }), u(I, { value: "small" }, { default: t(() => V2[27] || (V2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "default" }, { default: t(() => V2[28] || (V2[28] = [c("普通")])), _: 1 }), u(I, { value: "disabled" }, { default: t(() => V2[29] || (V2[29] = [c("禁用")])), _: 1 }), u(I, { value: "readonly" }, { default: t(() => V2[30] || (V2[30] = [c("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(u(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (i(), o(C, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", k, [u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMinLength, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.verification.verifyMinLength = l3), label: "最小长度", value: "min" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.minLength, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.minLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMaxLength, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.verifyMaxLength = l3), label: "最大长度", value: "max" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.maxLength, "onUpdate:modelValue": V2[16] || (V2[16] = (l3) => e2.configure.props.verification.maxLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": V2[17] || (V2[17] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(q, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": V2[18] || (V2[18] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), W.value ? s("", true) : (i(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
24
|
+
return i(), o(G, { "label-width": "80px", size: "small" }, { default: t(() => [u(F, { modelValue: T.value, "onUpdate:modelValue": V2[19] || (V2[19] = (e3) => T.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [u(C, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [u(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [u(L2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: O, placeholder: "请选择" }, { default: t(() => [(i(true), d(m, null, p(f(b)(), (e3) => (i(), o(j3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [u(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? s("", true) : (i(), o(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": D }, null, 8, ["modelValue"]))]), _: 1 })), u(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(_, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": M }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? s("", true) : (i(), o(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(i(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? s("", true) : (i(), o(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [u(I, { value: true }, { default: t(() => V2[20] || (V2[20] = [c("显示")])), _: 1 }), u(I, { value: false }, { default: t(() => V2[21] || (V2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(u(z2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [u(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(u(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [u(R, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(u(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "block" }, { default: t(() => V2[22] || (V2[22] = [c("换行")])), _: 1 }), u(I, { value: "inline" }, { default: t(() => V2[23] || (V2[23] = [c("不换行")])), _: 1 }), u(I, { value: "omit" }, { default: t(() => V2[24] || (V2[24] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), u(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [u(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "行数", class: "amb-design-attr-item" }, { default: t(() => [u(R, { modelValue: e2.configure.props.base.rows, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.rows = l3), min: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "意见控件", class: "amb-design-attr-item" }, { default: t(() => [u(A, { modelValue: e2.configure.props.base.isOpinion, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.isOpinion = l3) }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "large" }, { default: t(() => V2[25] || (V2[25] = [c("大")])), _: 1 }), u(I, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("中")])), _: 1 }), u(I, { value: "small" }, { default: t(() => V2[27] || (V2[27] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(z2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [u(N, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [u(I, { value: "default" }, { default: t(() => V2[28] || (V2[28] = [c("普通")])), _: 1 }), u(I, { value: "disabled" }, { default: t(() => V2[29] || (V2[29] = [c("禁用")])), _: 1 }), u(I, { value: "readonly" }, { default: t(() => V2[30] || (V2[30] = [c("只读")])), _: 1 }), u(I, { value: "hidden" }, { default: t(() => V2[31] || (V2[31] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(u(y, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (i(), o(C, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", k, [u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMinLength, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.verification.verifyMinLength = l3), label: "最小长度", value: "min" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.minLength, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.minLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyMaxLength, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.verifyMaxLength = l3), label: "最大长度", value: "max" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(R, { modelValue: e2.configure.props.verification.maxLength, "onUpdate:modelValue": V2[16] || (V2[16] = (l3) => e2.configure.props.verification.maxLength = l3), class: "mx-4", min: 0, "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(E, { span: 8 }, { default: t(() => [u(B, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": V2[17] || (V2[17] = (l3) => e2.configure.props.verification.verifyRegex = l3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(E, { span: 14 }, { default: t(() => [u(q, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": V2[18] || (V2[18] = (l3) => e2.configure.props.verification.regex = l3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [u(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), W.value ? s("", true) : (i(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|
package/dist/es/style.css
CHANGED
|
@@ -15663,7 +15663,7 @@ li[data-v-21af26bc] {
|
|
|
15663
15663
|
list-style-type: none;
|
|
15664
15664
|
}
|
|
15665
15665
|
|
|
15666
|
-
.seleteSort[data-v-
|
|
15666
|
+
.seleteSort[data-v-89d780ed] {
|
|
15667
15667
|
border-radius: 5px;
|
|
15668
15668
|
border: 1px solid rgba(88, 147, 239);
|
|
15669
15669
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "super-page-designer",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.45",
|
|
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.16",
|
|
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.33",
|
|
44
|
-
"super-page-runtime": "2.2.
|
|
44
|
+
"super-page-runtime": "2.2.44",
|
|
45
45
|
"uuid": "^9.0.1",
|
|
46
46
|
"vite": "^5.1.6",
|
|
47
47
|
"vite-plugin-node-stdlib-browser": "^0.2.1",
|