super-page-designer 2.2.41 → 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/container/card/card-attr-base.vue.js +14 -13
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +24 -24
- 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
|
} });
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as u, withCtx as i, createVNode as t, createElementVNode as n, withDirectives as p, createCommentVNode as r, createTextVNode as c, toDisplayString as s, vShow as d, unref as m } from "vue";
|
|
2
|
+
import f from "../../common/common-attr-size.vue.js";
|
|
3
|
+
import g from "../../common/common-function-code.vue.js";
|
|
4
|
+
import b from "../../common/common-icon-bind.vue.js";
|
|
5
|
+
import V from "../../common/common-i18n-key-input.vue.js";
|
|
6
|
+
import { Close as v, Check as x } from "@element-plus/icons-vue";
|
|
7
|
+
const y = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "card-attr-base", props: { configure: { type: Object, default: {} }, pageDesign: { type: Object, default: () => {
|
|
7
8
|
} } }, setup(e2) {
|
|
8
|
-
const
|
|
9
|
-
return (l2,
|
|
10
|
-
const
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }),
|
|
9
|
+
const _2 = e2, h = l(["1", "attrSize"]);
|
|
10
|
+
return (l2, w) => {
|
|
11
|
+
const U = o("el-text"), C = o("el-form-item"), j = o("el-input"), z = o("el-radio"), S = o("el-radio-group"), F = o("el-switch"), T = o("el-option"), k = o("el-select"), J = o("el-collapse-item"), O = o("el-collapse"), D = o("el-form");
|
|
12
|
+
return u(), a(D, { "label-width": "80px", size: "small" }, { default: i(() => [t(O, { modelValue: h.value, "onUpdate:modelValue": w[9] || (w[9] = (e3) => h.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [t(J, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", y, [t(C, { label: "组件类型" }, { default: i(() => [t(U, null, { default: i(() => [c(s(e2.configure.label) + "(" + s(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(C, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.uuid, "onUpdate:modelValue": w[0] || (w[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(C, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.code, "onUpdate:modelValue": w[1] || (w[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(C, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: i(() => [t(g, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), t(C, { label: "标题显示", style: { "margin-top": "-10px" } }, { default: i(() => [t(S, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": w[2] || (w[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: i(() => [t(z, { value: true }, { default: i(() => w[10] || (w[10] = [c("显示")])), _: 1 }), t(z, { value: false }, { default: i(() => w[11] || (w[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(t(C, { label: "标题", style: { "margin-top": "-10px" } }, { default: i(() => [t(V, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": w[3] || (w[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d, e2.configure.props.base.tittleShow]]), t(C, { label: "标题图标", style: { "margin-top": "-10px" } }, { default: i(() => [t(b, { iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, "onUpdate:modelValue": w[4] || (w[4] = (e3, l3) => function(e4, l4) {
|
|
13
|
+
_2.configure.props.iconType = e4, _2.configure.props.iconValue = l4;
|
|
14
|
+
}(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), t(C, { label: "折叠面板" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapse, "onUpdate:modelValue": w[5] || (w[5] = (l3) => e2.configure.props.isCollapse = l3), "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isCollapse ? (u(), a(C, { key: 0, label: "面板展开" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapseShow, "onUpdate:modelValue": w[6] || (w[6] = (l3) => e2.configure.props.isCollapseShow = l3), disabled: !e2.configure.props.isCollapse, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(v) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), t(C, { label: "Flex布局" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isFlex, "onUpdate:modelValue": w[7] || (w[7] = (l3) => e2.configure.props.isFlex = l3) }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.isFlex ? (u(), a(C, { key: 1, label: "水平对齐", style: { "margin-bottom": "-10px", "margin-top": "18px" } }, { default: i(() => [t(k, { modelValue: e2.configure.props.flexJustify, "onUpdate:modelValue": w[8] || (w[8] = (l3) => e2.configure.props.flexJustify = l3), placeholder: "默认", clearable: "" }, { default: i(() => [t(T, { label: "start", value: "start" }), t(T, { label: "center", value: "center" }), t(T, { label: "space-between", value: "space-between" }), t(T, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true)])]), _: 1 }), t(f, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
14
15
|
};
|
|
15
16
|
} });
|
|
16
17
|
export {
|
|
17
|
-
|
|
18
|
+
_ as default
|
|
18
19
|
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, createBlock as
|
|
2
|
-
import { ElCard as
|
|
3
|
-
import { useDraggable as
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as t, watch as i, computed as n, resolveComponent as o, createBlock as s, openBlock as r, unref as l, normalizeStyle as u, normalizeClass as c, createSlots as g, withCtx as a, createElementVNode as f, createElementBlock as p, Fragment as m, renderList as d, createCommentVNode as y, createTextVNode as b, toDisplayString as x, reactive as v } from "vue";
|
|
2
|
+
import { ElCard as h } from "element-plus";
|
|
3
|
+
import { useDraggable as j } from "vue-draggable-plus";
|
|
4
|
+
import O from "../../object-design.vue.js";
|
|
5
5
|
import { deepCopy as W, getUuidv4 as S } from "../../../../utils/common-util.js";
|
|
6
|
-
import { caculateComponentStyle as
|
|
7
|
-
import { copyHandleEvents as
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
J(), i(
|
|
6
|
+
import { caculateComponentStyle as C } from "../../../../utils/container-design-util.js";
|
|
7
|
+
import { copyHandleEvents as D, deleteDesignItem as _ } from "../../../../utils/page-design-util.js";
|
|
8
|
+
const k = e({ __name: "card-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: k2 }) {
|
|
9
|
+
const w = e2;
|
|
10
|
+
w.configure.items || (w.configure.items = []), w.configure.props = { isCollapse: true, isCollapseShow: true, ...w.configure.props ?? {} };
|
|
11
|
+
const T = t({}), V = t(""), A = t({});
|
|
12
|
+
J(), i(w.configure.style, () => {
|
|
13
13
|
J();
|
|
14
14
|
});
|
|
15
|
-
const F = n(() => [...
|
|
15
|
+
const F = n(() => [...w.configure.items]);
|
|
16
16
|
function J() {
|
|
17
|
-
|
|
17
|
+
C(w.configure, T, V, A), w.configure.runtime || (w.configure.runtime = {}), w.configure.runtime.style = T.value, w.configure.runtime.class = V.value, w.configure.runtime.headerStyle = A.value;
|
|
18
18
|
}
|
|
19
19
|
i(F, (e3, t2) => {
|
|
20
|
-
e3.length > t2.length && B(
|
|
20
|
+
e3.length > t2.length && B(w.indexObj.index, e3[e3.length - 1]);
|
|
21
21
|
}, { important: true, deep: true });
|
|
22
22
|
const I = t({});
|
|
23
|
-
|
|
23
|
+
i(w.configure.props, () => {
|
|
24
24
|
!function() {
|
|
25
|
-
const e3 =
|
|
25
|
+
const e3 = w.configure.props, t2 = {};
|
|
26
26
|
e3.isFlex && (t2.display = "flex", t2["flex-wrap"] = "wrap", t2["align-content"] = "flex-start", e3.flexJustify && (t2["justify-content"] = e3.flexJustify));
|
|
27
|
-
I.value = t2,
|
|
27
|
+
I.value = t2, w.configure.runtime.contentStyle = t2;
|
|
28
28
|
}();
|
|
29
29
|
}, { immediate: true });
|
|
30
|
-
const P = t(null), { start: q } =
|
|
30
|
+
const P = t(null), { start: q } = j(P, w.configure.items, { filter: ".el-scrollbar__bar", preventOnFilter: false, group: { name: "amb-assembly-item" }, animation: 300, ghostClass: "amb-item-ghost", forceFallback: true }), z = k2;
|
|
31
31
|
function B(e3, t2) {
|
|
32
32
|
z("onSelectWidget", e3, t2);
|
|
33
33
|
}
|
|
@@ -35,22 +35,22 @@ const C = e({ __name: "card-design", props: { pageDesign: {}, configure: {}, ind
|
|
|
35
35
|
z("onCustomAttrWidget", e3, t2);
|
|
36
36
|
}
|
|
37
37
|
function G(e3) {
|
|
38
|
-
let t2 =
|
|
38
|
+
let t2 = w.configure.items;
|
|
39
39
|
const i2 = t2.indexOf(e3);
|
|
40
40
|
if (i2 > -1) {
|
|
41
41
|
const n2 = v(W(e3));
|
|
42
|
-
n2.uuid = S(),
|
|
42
|
+
n2.uuid = S(), D(n2), t2.splice(i2, 0, n2);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
function H(e3) {
|
|
46
|
-
let t2 =
|
|
47
|
-
|
|
46
|
+
let t2 = w.configure.items;
|
|
47
|
+
_(t2, e3, e3.items && e3.items.length > 0, true);
|
|
48
48
|
}
|
|
49
49
|
return (e3, t2) => {
|
|
50
50
|
const i2 = o("SuperIcon");
|
|
51
|
-
return
|
|
51
|
+
return r(), s(l(h), { class: c(["amb-design-item-default", V.value]), style: u(T.value) }, g({ default: a(() => [f("div", { ref_key: "ambDragParent", ref: P, class: "amb-design-item-default", style: u([{ "padding-bottom": "40px" }, I.value]) }, [(r(true), p(m, null, d(e3.configure.items, (t3, i3) => (r(), s(O, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: B, onOnCustomAttrWidget: E, onOnCopy: G, onOnDelete: H }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 4)]), _: 2 }, [e3.configure.props.base.tittleShow ? { name: "header", fn: a(() => [f("div", { style: u(A.value) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (r(), s(i2, { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : y("", true), b(" " + x(e3.configure.props.base.title), 1)], 4)]), key: "0" } : void 0]), 1032, ["style", "class"]);
|
|
52
52
|
};
|
|
53
53
|
} });
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
k as default
|
|
56
56
|
};
|