super-page-designer 2.2.82 → 2.2.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/assemblys-config.js +2 -2
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
- package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +21 -21
- 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/button-group/buttongroup-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
- package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
- package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
- 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 +39 -36
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +64 -60
- package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +11 -11
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +67 -63
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
- package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +17 -14
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +29 -9
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +9 -9
- package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +33 -30
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
- package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
- 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/input-text/inputtext-attr-base.vue.js +14 -14
- 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/switch/switch-attr-base.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
- package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
- package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
- package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +25 -34
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
- package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
- package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
- package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
- package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
- package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
- package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
- package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
- package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
- package/dist/es/index.js +1 -1
- package/dist/es/style.css +12853 -11195
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
|
@@ -3,8 +3,8 @@ import y from "../../form/common/suffixmodule.vue.js";
|
|
|
3
3
|
import { Search as v } from "@element-plus/icons-vue";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import c from "./formatting-icon-label.vue.js";
|
|
6
|
-
const
|
|
7
|
-
const b = e2, f =
|
|
6
|
+
const p = { class: "dialog-footer" }, r = e({ __name: "formatting", props: { formatting: { type: Object, default: {} }, pageDesign: { type: Object, default: {} } }, emits: ["close", "add"], setup(e2, { emit: r2 }) {
|
|
7
|
+
const b = e2, f = r2, V = l({});
|
|
8
8
|
function h() {
|
|
9
9
|
f("add", V.value), f("close");
|
|
10
10
|
}
|
|
@@ -16,11 +16,11 @@ const r = { class: "dialog-footer" }, p = e({ __name: "formatting", props: { for
|
|
|
16
16
|
}
|
|
17
17
|
V.value = b.formatting;
|
|
18
18
|
const k = l(false);
|
|
19
|
-
return (l2,
|
|
19
|
+
return (l2, r3) => {
|
|
20
20
|
const b2 = a("el-option"), f2 = a("el-select"), k2 = a("el-form-item"), U = a("el-input"), H = a("el-switch"), x = a("el-input-number"), C = a("el-button"), D = a("el-form"), S = a("el-dialog");
|
|
21
|
-
return t(), u(S, { "model-value": "", title: "格式设置", width: "40%", "before-close": g }, { footer: m(() => [n("div",
|
|
21
|
+
return t(), u(S, { "append-to-body": "", "model-value": "", title: "格式设置", width: "40%", "before-close": g }, { footer: m(() => [n("div", p, [o(C, { type: "default", onClick: r3[18] || (r3[18] = (e3) => l2.$emit("close")) }, { default: m(() => r3[19] || (r3[19] = [s("取消")])), _: 1 }), o(C, { type: "primary", onClick: h }, { default: m(() => r3[20] || (r3[20] = [s("确认 ")])), _: 1 })])]), default: m(() => [o(D, { modelValue: V.value, "onUpdate:modelValue": r3[17] || (r3[17] = (e3) => V.value = e3), "label-width": "140px" }, { default: m(() => [o(k2, { label: "格式化分类", class: "amb-design-attr-item" }, { default: m(() => [o(f2, { modelValue: V.value.type, "onUpdate:modelValue": r3[0] || (r3[0] = (e3) => V.value.type = e3), placeholder: "请选择" }, { default: m(() => [o(b2, { label: "数值", value: "number" }), o(b2, { label: "货币", value: "currency" }), o(b2, { label: "日期", value: "date" }), o(b2, { label: "时间", value: "time" }), o(b2, { label: "百分比", value: "percent" }), o(b2, { label: "自定义控件", value: "customControl" }), o(b2, { label: "超链接", value: "hyperlinks" }), o(b2, { label: "图标/标签", value: "icon" }), o(b2, { label: "附件控件", value: "files" }), o(b2, { label: "富文本", value: "richEditor" }), o(b2, { label: "脱敏组件", value: "secretInfo" }), o(b2, { label: "自定义方法", value: "custom" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "number" === V.value.type || "currency" === V.value.type || "percent" === V.value.type ? (t(), u(k2, { key: 0, label: "小数位数", class: "amb-design-attr-item" }, { default: m(() => [o(U, { modelValue: V.value.decimalDigit, "onUpdate:modelValue": r3[1] || (r3[1] = (e3) => V.value.decimalDigit = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "number" === V.value.type ? (t(), u(k2, { key: 1, label: "科学计数", class: "amb-design-attr-item" }, { default: m(() => [o(H, { modelValue: V.value.scientific, "onUpdate:modelValue": r3[2] || (r3[2] = (e3) => V.value.scientific = e3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "number" === V.value.type ? (t(), u(k2, { key: 2, label: "科学计数位数", class: "amb-design-attr-item" }, { default: m(() => [o(U, { modelValue: V.value.scientificNum, "onUpdate:modelValue": r3[3] || (r3[3] = (e3) => V.value.scientificNum = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "number" === V.value.type ? (t(), u(k2, { key: 3, label: "千位分隔符", class: "amb-design-attr-item" }, { default: m(() => [o(H, { modelValue: V.value.thousandsSeparator, "onUpdate:modelValue": r3[4] || (r3[4] = (e3) => V.value.thousandsSeparator = e3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "number" === V.value.type ? (t(), u(k2, { key: 4, label: "数值符号", class: "amb-design-attr-item" }, { default: m(() => [o(U, { modelValue: V.value.symbol, "onUpdate:modelValue": r3[5] || (r3[5] = (e3) => V.value.symbol = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "currency" === V.value.type ? (t(), u(k2, { key: 5, label: "货币符号", class: "amb-design-attr-item" }, { default: m(() => [o(f2, { modelValue: V.value.currencySymbol, "onUpdate:modelValue": r3[6] || (r3[6] = (e3) => V.value.currencySymbol = e3), placeholder: "Select" }, { default: m(() => [o(b2, { label: "$", value: "$" }), o(b2, { label: "¥", value: "¥" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "date" === V.value.type ? (t(), u(k2, { key: 6, label: "日期类型", class: "amb-design-attr-item" }, { default: m(() => [o(f2, { modelValue: V.value.dataType, "onUpdate:modelValue": r3[7] || (r3[7] = (e3) => V.value.dataType = e3), placeholder: "Select" }, { default: m(() => [o(b2, { label: "yyyy-m-d", value: "yyyy-m-d" }), o(b2, { label: "yyyy-m-d hh:mm:ss", value: "yyyy-m-d hh:mm:ss" }), o(b2, { label: "yyyy-m", value: "yyyy-m" }), o(b2, { label: "m-d", value: "m-d" }), o(b2, { label: "yyyy", value: "yyyy" }), o(b2, { label: "yyyy年m月d日", value: "yyyy年m月d日" }), o(b2, { label: "yyyy年m月d日hh时mm分ss秒", value: "yyyy年m月d日hh时mm分ss秒" }), o(b2, { label: "yyyy年m月", value: "yyyy年m月" }), o(b2, { label: "m月d日", value: "m月d日" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "time" === V.value.type ? (t(), u(k2, { key: 7, label: "时间类型", class: "amb-design-attr-item" }, { default: m(() => [o(f2, { modelValue: V.value.timeType, "onUpdate:modelValue": r3[8] || (r3[8] = (e3) => V.value.timeType = e3), placeholder: "Select" }, { default: m(() => [o(b2, { label: "HH:mm", value: "HH:mm" }), o(b2, { label: "HH:mm:ss", value: "HH:mm:ss" }), o(b2, { label: "HH时mm分", value: "HH时mm分" }), o(b2, { label: "HH时mm分ss秒", value: "HH时mm分ss秒" }), o(b2, { label: "hh:mm", value: "hh:mm" }), o(b2, { label: "hh:mm:ss", value: "hh:mm:ss" }), o(b2, { label: "hh时mm分", value: "hh时mm分" }), o(b2, { label: "hh时mm分ss秒", value: "hh时mm分ss秒" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "customControl" === V.value.type ? (t(), u(k2, { key: 8, label: "自定义控件", class: "amb-design-attr-item" }, { default: m(() => [o(U, { modelValue: V.value.customControl, "onUpdate:modelValue": r3[9] || (r3[9] = (e3) => V.value.customControl = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "hyperlinks" === V.value.type ? (t(), u(y, { key: 9, suffixModule: V.value.suffixModule }, null, 8, ["suffixModule"])) : d("", true), "icon" === V.value.type ? (t(), u(c, { key: 10, setting: V.value }, null, 8, ["setting"])) : d("", true), "custom" === V.value.type ? (t(), u(k2, { key: 11, label: "自定义方法", class: "amb-design-attr-item" }, { default: m(() => [o(U, { modelValue: V.value.customControl, "onUpdate:modelValue": r3[10] || (r3[10] = (e3) => V.value.customControl = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "files" === V.value.type ? (t(), u(k2, { key: 12, label: "是否多选" }, { default: m(() => [o(H, { modelValue: V.value.multiple, "onUpdate:modelValue": r3[11] || (r3[11] = (e3) => V.value.multiple = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "files" === V.value.type ? (t(), u(k2, { key: 13, label: "接受上传的文件类型" }, { default: m(() => [o(U, { modelValue: V.value.accept, "onUpdate:modelValue": r3[12] || (r3[12] = (e3) => V.value.accept = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "files" === V.value.type ? (t(), u(k2, { key: 14, label: "文件限制大小(M)" }, { default: m(() => [o(x, { modelValue: V.value.limitFileSize, "onUpdate:modelValue": r3[13] || (r3[13] = (e3) => V.value.limitFileSize = e3), min: 1 }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "files" === V.value.type && V.value.multiple ? (t(), u(k2, { key: 15, label: "选择数据表" }, { default: m(() => [o(U, { modelValue: V.value.childAnnexDataTableCode, "onUpdate:modelValue": r3[14] || (r3[14] = (e3) => V.value.childAnnexDataTableCode = e3), onClick: _, clearable: "" }, { append: m(() => [o(C, { type: "default", icon: i(v), onClick: _ }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "files" === V.value.type ? (t(), u(k2, { key: 16, label: "展示名称对应字段" }, { default: m(() => [o(f2, { modelValue: V.value.showName, "onUpdate:modelValue": r3[15] || (r3[15] = (e3) => V.value.showName = e3), filterable: "" }, { default: m(() => [o(b2, { label: "1", value: "1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true), "files" === V.value.type ? (t(), u(k2, { key: 17, label: "服务器名称对应字段" }, { default: m(() => [o(f2, { modelValue: V.value.serverName, "onUpdate:modelValue": r3[16] || (r3[16] = (e3) => V.value.serverName = e3), filterable: "" }, { default: m(() => [o(b2, { label: "time", value: "time" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : d("", true)]), _: 1 }, 8, ["modelValue"]), "hyperlinks" === V.value.type ? (t(), u(y, { key: 0, isDialog: true, configure: V.value, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])) : d("", true)]), _: 1 });
|
|
22
22
|
};
|
|
23
23
|
} });
|
|
24
24
|
export {
|
|
25
|
-
|
|
25
|
+
r as default
|
|
26
26
|
};
|
|
@@ -2,16 +2,16 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o
|
|
|
2
2
|
import "@element-plus/icons-vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
const n = { class: "dialog-footer" }, r = e({ __name: "querySetting", props: { formatting: { type: Object, default: {} } }, emits: ["close", "add"], setup(e2, { emit: r2 }) {
|
|
5
|
-
const
|
|
5
|
+
const f = e2, c = r2, p = l({});
|
|
6
6
|
function s() {
|
|
7
|
-
|
|
7
|
+
c("add", p.value), c("close");
|
|
8
8
|
}
|
|
9
9
|
function v() {
|
|
10
|
-
|
|
10
|
+
c("close");
|
|
11
11
|
}
|
|
12
|
-
return p.value =
|
|
13
|
-
const r3 = a("el-input"),
|
|
14
|
-
return t(), o(V, { "model-value": "", title: "查询设置", width: "600", "before-close": v }, { footer: u(() => [m("div", n, [d(b, { onClick: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { default: u(() => l2[5] || (l2[5] = [i("取消")])), _: 1 }), d(b, { type: "primary", onClick: s }, { default: u(() => l2[6] || (l2[6] = [i("确认 ")])), _: 1 })])]), default: u(() => [d(
|
|
12
|
+
return p.value = f.formatting, (e3, l2) => {
|
|
13
|
+
const r3 = a("el-input"), f2 = a("el-form-item"), c2 = a("el-form"), b = a("el-button"), V = a("el-dialog");
|
|
14
|
+
return t(), o(V, { "model-value": "", title: "查询设置", width: "600", "before-close": v }, { footer: u(() => [m("div", n, [d(b, { type: "default", onClick: l2[4] || (l2[4] = (l3) => e3.$emit("close")) }, { default: u(() => l2[5] || (l2[5] = [i("取消")])), _: 1 }), d(b, { type: "primary", onClick: s }, { default: u(() => l2[6] || (l2[6] = [i("确认 ")])), _: 1 })])]), default: u(() => [d(c2, { modelValue: p.value, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => p.value = e4), "label-width": "150" }, { default: u(() => [d(f2, { label: "查询设置控件宽度" }, { default: u(() => [d(r3, { modelValue: p.value.width, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => p.value.width = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(f2, { label: "查询设置Label宽度" }, { default: u(() => [d(r3, { modelValue: p.value.labelWidth, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => p.value.labelWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(f2, { label: "查询设置显示宽度" }, { default: u(() => [d(r3, { modelValue: p.value.label, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => p.value.label = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
15
15
|
};
|
|
16
16
|
} });
|
|
17
17
|
export {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as n, createVNode as r, unref as d, createTextVNode as i, createElementVNode as p } from "vue";
|
|
2
2
|
import { CirclePlus as m, Delete as s } from "@element-plus/icons-vue";
|
|
3
3
|
const c = { class: "dialog-footer" }, f = e({ __name: "return-set-table", props: { returnSetList: { type: Array, default: () => [] } }, emits: ["save"], setup(e2, { emit: f2 }) {
|
|
4
|
-
const v = e2, b = f2,
|
|
4
|
+
const v = e2, b = f2, y = l({}), _ = l([]);
|
|
5
5
|
function g() {
|
|
6
|
-
b("save",
|
|
6
|
+
b("save", _.value);
|
|
7
7
|
}
|
|
8
8
|
function w() {
|
|
9
|
-
|
|
9
|
+
_.value = _.value.filter((e3) => e3 != y.value);
|
|
10
10
|
}
|
|
11
11
|
function V(e3) {
|
|
12
|
-
|
|
12
|
+
y.value = e3;
|
|
13
13
|
}
|
|
14
14
|
function h() {
|
|
15
|
-
|
|
15
|
+
_.value.push({ returnName: "", setName: "" });
|
|
16
16
|
}
|
|
17
17
|
return a(() => {
|
|
18
|
-
|
|
18
|
+
_.value = v.returnSetList;
|
|
19
19
|
}), (e3, l2) => {
|
|
20
|
-
const a2 = t("el-button"), f3 = t("el-row"), v2 = t("el-table-column"),
|
|
21
|
-
return u(), o(k, { "model-value": "", title: "组合条件", width: "70%", "append-to-body": "", onBeforeClose: g }, { footer: n(() => [p("div", c, [r(a2, { onClick: l2[0] || (l2[0] = (e4) => b("close")) }, { default: n(() => l2[4] || (l2[4] = [i("取消")])), _: 1 }), r(a2, { type: "primary", onClick: l2[1] || (l2[1] = (e4) => b("close")) }, { default: n(() => l2[5] || (l2[5] = [i("确定")])), _: 1 })])]), default: n(() => [r(f3, { style: { "padding-bottom": "8px" } }, { default: n(() => [r(a2, { icon: d(m), plain: "", type: "primary", onClick: h }, { default: n(() => l2[2] || (l2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), r(a2, { icon: d(s), plain: "", type: "primary", onClick: w }, { default: n(() => l2[3] || (l2[3] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), r(N, { "highlight-current-row": "", onCurrentChange: V, data:
|
|
20
|
+
const a2 = t("el-button"), f3 = t("el-row"), v2 = t("el-table-column"), y2 = t("el-option"), C = t("el-select"), N = t("el-table"), k = t("el-dialog");
|
|
21
|
+
return u(), o(k, { "model-value": "", title: "组合条件", width: "70%", "append-to-body": "", onBeforeClose: g }, { footer: n(() => [p("div", c, [r(a2, { type: "default", onClick: l2[0] || (l2[0] = (e4) => b("close")) }, { default: n(() => l2[4] || (l2[4] = [i("取消")])), _: 1 }), r(a2, { type: "primary", onClick: l2[1] || (l2[1] = (e4) => b("close")) }, { default: n(() => l2[5] || (l2[5] = [i("确定")])), _: 1 })])]), default: n(() => [r(f3, { style: { "padding-bottom": "8px" } }, { default: n(() => [r(a2, { icon: d(m), plain: "", type: "primary", onClick: h }, { default: n(() => l2[2] || (l2[2] = [i(" 添加 ")])), _: 1 }, 8, ["icon"]), r(a2, { icon: d(s), plain: "", type: "primary", onClick: w }, { default: n(() => l2[3] || (l2[3] = [i(" 删除 ")])), _: 1 }, 8, ["icon"])]), _: 1 }), r(N, { "highlight-current-row": "", onCurrentChange: V, data: _.value, style: { width: "100%" } }, { default: n(() => [r(v2, { type: "index", align: "center", label: "序号" }), r(v2, { prop: "date", align: "center", label: "返回字段" }, { default: n((e4) => [r(C, { modelValue: e4.row.returnName, "onUpdate:modelValue": (l3) => e4.row.returnName = l3, clearable: "", size: "default" }, { default: n(() => [r(y2, { label: "字段1", value: "1" }), r(y2, { label: "字段2", value: "2" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(v2, { prop: "name", align: "center", label: "设置到" }, { default: n((e4) => [r(C, { modelValue: e4.row.setName, "onUpdate:modelValue": (l3) => e4.row.setName = l3, clearable: "", size: "default" }, { default: n(() => [r(y2, { label: "字段1", value: "1" }), r(y2, { label: "字段2", value: "2" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 });
|
|
22
22
|
};
|
|
23
23
|
} });
|
|
24
24
|
export {
|
package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js
CHANGED
|
@@ -2,17 +2,17 @@ import { defineComponent as e, ref as n, onUnmounted as s, resolveComponent as l
|
|
|
2
2
|
import { columnCustomTittleClass as f, columnTittleStyle as y } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { VueDraggable as h } from "vue-draggable-plus";
|
|
4
4
|
import x from "../../../../utils/eventBus.js";
|
|
5
|
-
import { deepCopy as
|
|
5
|
+
import { deepCopy as k, getUuidv4 as O } from "../../../../utils/common-util.js";
|
|
6
6
|
import j from "../../object-design.vue.js";
|
|
7
|
-
import { ElMessage as W, ElMessageBox as
|
|
8
|
-
const
|
|
7
|
+
import { ElMessage as W, ElMessageBox as v } from "element-plus";
|
|
8
|
+
const D = ["onClick", "onMouseout", "onMouseover"], w = { key: 2 }, M = e({ __name: "table-children-column", props: { listColumns: { type: Object, default: () => {
|
|
9
9
|
} }, selectWidget: { type: Object, default: () => {
|
|
10
10
|
} }, indexObj: { type: Object, default: () => {
|
|
11
11
|
} }, designProperty: { type: Object, default: () => {
|
|
12
12
|
} }, configure: { type: Object, default: () => {
|
|
13
13
|
} }, pageDesign: { type: Object, default: () => {
|
|
14
|
-
} } }, emits: ["selectColumn", "onSelectWidget", "setClickColumn", "setColumnData", "closeMenuVisible"], setup(e2, { emit:
|
|
15
|
-
const B = e2, T =
|
|
14
|
+
} } }, emits: ["selectColumn", "onSelectWidget", "setClickColumn", "setColumnData", "closeMenuVisible"], setup(e2, { emit: S }) {
|
|
15
|
+
const B = e2, T = S;
|
|
16
16
|
function L(e3, n2) {
|
|
17
17
|
if (!e3.props.base) return W.warning("组合表头顶级菜单不能进行列配置");
|
|
18
18
|
{
|
|
@@ -44,15 +44,15 @@ const v = ["onClick", "onMouseout", "onMouseover"], M = { key: 2 }, S = e({ __na
|
|
|
44
44
|
function z(e3) {
|
|
45
45
|
const n2 = B.configure.btnList.indexOf(e3);
|
|
46
46
|
if (-1 == n2) return void alert("无可复制对象!");
|
|
47
|
-
const s2 = b(
|
|
48
|
-
s2.uuid =
|
|
47
|
+
const s2 = b(k(e3));
|
|
48
|
+
s2.uuid = O(), B.configure.btnList.splice(n2, 0, s2);
|
|
49
49
|
}
|
|
50
50
|
function U(e3) {
|
|
51
|
-
e3.items && e3.items.length > 0 ?
|
|
51
|
+
e3.items && e3.items.length > 0 ? v.confirm("还有子元素,确定要删除吗?", "删除", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
52
52
|
const n2 = B.configure.btnList, s2 = n2.indexOf(e3);
|
|
53
53
|
s2 > -1 && n2.splice(s2, 1);
|
|
54
54
|
}).catch((e4) => {
|
|
55
|
-
}) : B.listColumns && B.listColumns.props && B.listColumns.props.base && "operation" === B.listColumns.props.base.prop &&
|
|
55
|
+
}) : B.listColumns && B.listColumns.props && B.listColumns.props.base && "operation" === B.listColumns.props.base.prop && v.confirm(`确定要删除${e3.label}吗?`, "删除", { confirmButtonText: "确认", cancelButtonText: "取消", type: "warning" }).then(() => {
|
|
56
56
|
const n2 = B.configure.btnList, s2 = n2.indexOf(e3);
|
|
57
57
|
s2 > -1 && n2.splice(s2, 1);
|
|
58
58
|
}).catch((e4) => {
|
|
@@ -64,9 +64,9 @@ const v = ["onClick", "onMouseout", "onMouseover"], M = { key: 2 }, S = e({ __na
|
|
|
64
64
|
x.$off("hadleDragging");
|
|
65
65
|
}), (n2, s2) => {
|
|
66
66
|
const b2 = l("el-checkbox"), x2 = l("el-table-column");
|
|
67
|
-
return t(), o(x2, { fixed: !(!e2.listColumns.props || !e2.listColumns.props.base || "false" === e2.listColumns.props.base.listColumnFixed) && e2.listColumns.props.base.listColumnFixed, "column-key": e2.listColumns.uuid, width: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.columnWidth ? e2.listColumns.props.base.columnWidth : 200, label: V(e2.listColumns), align: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignContent ? e2.listColumns.props.base.alignContent : e2.designProperty.alignContent, "header-align": e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignTitle ? e2.listColumns.props.base.alignTitle : e2.designProperty.alignTitle, resizable: "" }, i({ default: u(() => [e2.listColumns.children && e2.listColumns.children.length > 0 ? (t(true), r(a, { key: 0 }, m(e2.listColumns.children, (n3, s3) => (t(), o(
|
|
67
|
+
return t(), o(x2, { fixed: !(!e2.listColumns.props || !e2.listColumns.props.base || "false" === e2.listColumns.props.base.listColumnFixed) && e2.listColumns.props.base.listColumnFixed, "column-key": e2.listColumns.uuid, width: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.columnWidth ? e2.listColumns.props.base.columnWidth : 200, label: V(e2.listColumns), align: e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignContent ? e2.listColumns.props.base.alignContent : e2.designProperty.alignContent, "header-align": e2.listColumns.props && e2.listColumns.props.base && e2.listColumns.props.base.alignTitle ? e2.listColumns.props.base.alignTitle : e2.designProperty.alignTitle, resizable: "" }, i({ default: u(() => [e2.listColumns.children && e2.listColumns.children.length > 0 ? (t(true), r(a, { key: 0 }, m(e2.listColumns.children, (n3, s3) => (t(), o(M, { key: s3, listColumns: n3, designProperty: e2.designProperty, configure: e2.configure, pageDesign: e2.pageDesign, indexObj: e2.indexObj, onSetClickColumn: P, onOnSelectWidget: N, onSetColumnData: $, selectWidget: e2.selectWidget }, null, 8, ["listColumns", "designProperty", "configure", "pageDesign", "indexObj", "selectWidget"]))), 128)) : p("", true)]), _: 2 }, [e2.listColumns.children && 0 != e2.listColumns.children.length ? void 0 : { name: "header", fn: u((n3) => [e2.listColumns.props && e2.listColumns.props.base && "$selection" === e2.listColumns.props.base.prop ? (t(), o(b2, { key: 0, style: g(d(y)(e2.listColumns)), class: c(d(f)(e2.listColumns)), onClick: (s3) => L(e2.listColumns, n3.column), onMouseout: (e3) => _(0, n3.column), onMouseover: (e3) => E(0, n3.column) }, null, 8, ["style", "class", "onClick", "onMouseout", "onMouseover"])) : (t(), r("div", { key: 1, style: g(d(y)(e2.listColumns)), class: c(d(f)(e2.listColumns)), onClick: (s3) => L(e2.listColumns, n3.column), onMouseout: (e3) => _(0, n3.column), onMouseover: (e3) => E(0, n3.column) }, C(V(e2.listColumns)), 47, D))]), key: "0" }, e2.listColumns.children && 0 != e2.listColumns.children.length ? void 0 : { name: "default", fn: u((n3) => [e2.listColumns.props && e2.listColumns.props.base && "operation" === e2.listColumns.props.base.prop ? (t(), o(d(h), { key: 0, modelValue: B.configure.btnList, "onUpdate:modelValue": s2[0] || (s2[0] = (e3) => B.configure.btnList = e3), animation: 300, style: { width: "100%", height: "100%", display: "flex", "flex-wrap": "wrap", gap: "var(--super-grid-main-btn-view-gap, 10px)" }, group: "amb-assembly-item", ghostClass: "amb-item-ghost" }, { default: u(() => [(t(true), r(a, null, m(B.configure.btnList, (s3) => (t(), o(j, { key: s3, pageDesign: e2.pageDesign, configure: s3, selectWidget: e2.selectWidget, indexObj: e2.indexObj, errorBlank: true, onOnSelectWidget: (e3, s4) => N(e3, s4, n3.column), onOnCopy: z, onOnDelete: U }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj", "onOnSelectWidget"]))), 128))]), _: 2 }, 1032, ["modelValue"])) : e2.listColumns.props && e2.listColumns.props.base && "$selection" === e2.listColumns.props.base.prop ? (t(), o(b2, { key: 1 })) : e2.listColumns.props && e2.listColumns.props.base && "$index" === e2.listColumns.props.base.prop ? (t(), r("span", w, "1")) : (t(), o(j, { key: 3, configure: e2.listColumns, pageDesign: e2.pageDesign, errorBlank: true, selectWidget: e2.selectWidget, indexObj: e2.indexObj, onOnSelectWidget: (e3, s3) => N(e3, s3, n3.column), showSelectedClass: false, "is-table-btn-link": "" }, null, 8, ["configure", "pageDesign", "selectWidget", "indexObj", "onOnSelectWidget"]))]), key: "1" }]), 1032, ["fixed", "column-key", "width", "label", "align", "header-align"]);
|
|
68
68
|
};
|
|
69
69
|
} });
|
|
70
70
|
export {
|
|
71
|
-
|
|
71
|
+
M as default
|
|
72
72
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as
|
|
2
|
-
const m = e({ __name: "variate-select", props: { prop: { type: String, default: "" }, propType: { type: String, default: "" }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, showDynamicColumn: { type: Boolean, default: false }, showPlaceholder: { type: Boolean, default: false }, multiple: { type: Boolean, default: false } }, emits: ["update:prop", "update:propType"], setup(e2, { emit: m2 }) {
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createElementBlock as p, createCommentVNode as n, Fragment as r, renderList as d } from "vue";
|
|
2
|
+
const m = e({ __name: "variate-select", props: { prop: { type: String, default: "" }, propType: { type: String, default: "" }, tableConfigure: { type: Object, default: () => ({ props: {} }) }, showDynamicColumn: { type: Boolean, default: false }, showPlaceholder: { type: Boolean, default: false }, multiple: { type: Boolean, default: false } }, emits: ["update:prop", "update:propType", "change"], setup(e2, { emit: m2 }) {
|
|
3
3
|
const i = e2, c = m2, s = l("");
|
|
4
4
|
function y() {
|
|
5
|
-
c("update:prop", s), "dynamicColumnSelect" !== s && null !== s && "" != i.propType && i.tableConfigure.modelFields.forEach((e3) => {
|
|
5
|
+
c("update:prop", s.value), "dynamicColumnSelect" !== s && null !== s && ("" != i.propType && i.tableConfigure.modelFields.forEach((e3) => {
|
|
6
6
|
e3.dbColumnName !== s.value || c("update:propType", e3.dataType);
|
|
7
|
-
});
|
|
7
|
+
}), c("change", s.value));
|
|
8
8
|
}
|
|
9
9
|
return i.prop && (s.value = i.prop), (l2, m3) => {
|
|
10
10
|
const i2 = a("el-option"), c2 = a("el-select");
|
|
11
|
-
return t(), o(c2, { modelValue: s.value, "onUpdate:modelValue": m3[0] || (m3[0] = (e3) => s.value = e3), multiple: e2.multiple, clearable: "", filterable: "", "allow-create": "", "default-first-option": "", onChange: y }, { default:
|
|
11
|
+
return t(), o(c2, { modelValue: s.value, "onUpdate:modelValue": m3[0] || (m3[0] = (e3) => s.value = e3), multiple: e2.multiple, clearable: "", filterable: "", "allow-create": "", "default-first-option": "", onChange: y }, { default: u(() => [(t(true), p(r, null, d(e2.tableConfigure.modelFields, (e3, l3) => (t(), o(i2, { key: l3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128)), e2.showDynamicColumn ? (t(), o(i2, { key: 0, label: "动态列", value: "dynamicColumnSelect" })) : n("", true), e2.showPlaceholder ? (t(), o(i2, { key: 1, label: "占位符", value: null })) : n("", true)]), _: 1 }, 8, ["modelValue", "multiple"]);
|
|
12
12
|
};
|
|
13
13
|
} });
|
|
14
14
|
export {
|
|
@@ -65,10 +65,10 @@ const N = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8p
|
|
|
65
65
|
} }, { default: u(() => [n(f(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { label: "子表配置" }, { default: u((e3) => [n(T2, { modelValue: e3.row.secondTable, "onUpdate:modelValue": (l3) => e3.row.secondTable = l3, clearable: "", size: "default" }, { default: u(() => [(r(true), p(g, null, m(A.value, (e4) => (r(), i(D2, { key: e4, label: e4, value: e4 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(x2, { label: "逻辑删除", title: "是否逻辑删除", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.base.isSafeDelete, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.isSafeDelete = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[37] || (a2[37] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[38] || (a2[38] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(t2, { title: "导入配置", name: "importSetting", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", F, [n(x2, { label: "重复处理", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.importSetting.listViewImportDuplicate, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.importSetting.listViewImportDuplicate = l3), class: "ml-4" }, { default: u(() => [n(ge, null, { default: u(() => [n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "update" }, { default: u(() => a2[40] || (a2[40] = [c("更新数据")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "skip" }, { default: u(() => a2[41] || (a2[41] = [c("跳过")])), _: 1 })]), _: 1 }), n(pe, { span: 12 }, { default: u(() => [n(ie, { value: "termination" }, { default: u(() => a2[42] || (a2[42] = [c("中止导入")])), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(t2, { title: "初始化配置", name: "initialConfig", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", $, [n(x2, { label: "初始化子表", title: "初始化子表", class: "amb-design-attr-item" }, { default: u(() => [n(ce, { modelValue: e2.configure.props.otherSettings.timeToInitializeSubTable, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.otherSettings.timeToInitializeSubTable = l3) }, { default: u(() => [n(me, { label: "新建表单时", value: "create" }), n(me, { label: "子表无项目时", value: "noData" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "移动端标题", title: "移动端行标题", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.mobileLineTitle, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.otherSettings.mobileLineTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "数据来源", title: "子表内容数据来源", class: "amb-design-attr-item" }, { default: u(() => [n(T2, { modelValue: e2.configure.props.otherSettings.dataSources, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.otherSettings.dataSources = l3), clearable: "" }, { default: u(() => [n(D2, { label: "子表内容从其他数据表填充", value: "otherDataTable" }), n(D2, { label: "固定值", value: "fixedValue" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "fixedValue" === e2.configure.props.otherSettings.dataSources ? (r(), p("div", Q, [n(fe, null, { default: u(() => a2[43] || (a2[43] = [c(" 固定值 ")])), _: 1 }), n(se, { data: e2.configure.props.otherSettings.fixedValueTableData, style: { width: "100%" } }, { default: u(() => [n(de, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fixedValueTableData.push({})) }, { default: u(() => [n(f(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
66
66
|
return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fixedValueTableData.length ? (R2.configure.props.otherSettings.fixedValueTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fixedValueTableData[0].optionGroupCode = "", R2.configure.props.otherSettings.fixedValueTableData[0].fixedValue = "") : R2.configure.props.otherSettings.fixedValueTableData.splice(a3, 1));
|
|
67
67
|
var a3;
|
|
68
|
-
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.sourcePropName, "onUpdate:modelValue": (e3) => l3.row.sourcePropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, m(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "选项组编码", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.optionGroupCode, "onUpdate:modelValue": (l3) => e3.row.optionGroupCode = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "固定值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.fixedValue, "onUpdate:modelValue": (l3) => e3.row.fixedValue = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])])) : (r(), p("div", E, [n(fe, null, { default: u(() => a2[44] || (a2[44] = [c(" 来源 ")])), _: 1 }), n(x2, { label: "数据表", title: "数据表", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.sourceDataTable, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.otherSettings.sourceDataTable = l3), title: e2.configure.props.otherSettings.sourceDataTable, clearable: "", readonly: "true" }, { append: u(() => [n(ee2, { icon: f(O), onClick: X, size: "small" }, null, 8, ["icon"]), n(ee2, { icon: f(U), onClick: Y, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(x2, { label: "排序", title: "排序", class: "amb-design-attr-item" }, { default: u(() => [s("div", K, [n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortColumn, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortColumn = l3), clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, m(q.value, (e3) => (r(), i(D2, { key: e3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortOrder, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortOrder = l3), style: { width: "120px", "margin-left": "10px" }, clearable: "" }, { default: u(() => [n(D2, { label: "升序", value: "asc" }), n(D2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), n(x2, { label: "条件", class: "amb-design-attr-item" }, { default: u(() => [n(k, { onClick: a2[19] || (a2[19] = (e3) => H.value = true), conditionData: JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) }, null, 8, ["conditionData"])]), _: 1 }), n(fe, null, { default: u(() => a2[45] || (a2[45] = [c(" 填充至 ")])), _: 1 }), n(x2, { label: "来源过滤", title: "来源过滤条件中对象变化时加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isRealTimeChange, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.otherSettings.isRealTimeChange = l3), class: "ml-4", onChange: te }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[46] || (a2[46] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[47] || (a2[47] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(se, { data: e2.configure.props.otherSettings.fillTableData, style: { width: "100%" } }, { default: u(() => [n(de, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fillTableData.push({})) }, { default: u(() => [n(f(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
68
|
+
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.sourcePropName, "onUpdate:modelValue": (e3) => l3.row.sourcePropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, m(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "选项组编码", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.optionGroupCode, "onUpdate:modelValue": (l3) => e3.row.optionGroupCode = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "固定值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.fixedValue, "onUpdate:modelValue": (l3) => e3.row.fixedValue = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])])) : (r(), p("div", E, [n(fe, null, { default: u(() => a2[44] || (a2[44] = [c(" 来源 ")])), _: 1 }), n(x2, { label: "数据表", title: "数据表", class: "amb-design-attr-item" }, { default: u(() => [n(ue, { modelValue: e2.configure.props.otherSettings.sourceDataTable, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.otherSettings.sourceDataTable = l3), title: e2.configure.props.otherSettings.sourceDataTable, clearable: "", readonly: "true" }, { append: u(() => [n(ee2, { type: "default", icon: f(O), onClick: X, size: "small" }, null, 8, ["icon"]), n(ee2, { type: "default", icon: f(U), onClick: Y, title: "Clear", size: "small" }, null, 8, ["icon"])]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), n(x2, { label: "排序", title: "排序", class: "amb-design-attr-item" }, { default: u(() => [s("div", K, [n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortColumn, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortColumn = l3), clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, m(q.value, (e3) => (r(), i(D2, { key: e3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), n(T2, { modelValue: e2.configure.props.otherSettings.sourceDataTableSortOrder, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.otherSettings.sourceDataTableSortOrder = l3), style: { width: "120px", "margin-left": "10px" }, clearable: "" }, { default: u(() => [n(D2, { label: "升序", value: "asc" }), n(D2, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), n(x2, { label: "条件", class: "amb-design-attr-item" }, { default: u(() => [n(k, { onClick: a2[19] || (a2[19] = (e3) => H.value = true), conditionData: JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) }, null, 8, ["conditionData"])]), _: 1 }), n(fe, null, { default: u(() => a2[45] || (a2[45] = [c(" 填充至 ")])), _: 1 }), n(x2, { label: "来源过滤", title: "来源过滤条件中对象变化时加载", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isRealTimeChange, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.otherSettings.isRealTimeChange = l3), class: "ml-4", onChange: te }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[46] || (a2[46] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[47] || (a2[47] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(se, { data: e2.configure.props.otherSettings.fillTableData, style: { width: "100%" } }, { default: u(() => [n(de, { width: "60", align: "center" }, { default: u((e3) => [n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => (e3.row, e3.$index, void R2.configure.props.otherSettings.fillTableData.push({})) }, { default: u(() => [n(f(V))]), _: 2 }, 1032, ["onClick"]), n(ne, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
|
|
69
69
|
return e3.row, a3 = e3.$index, void (1 == R2.configure.props.otherSettings.fillTableData.length ? (R2.configure.props.otherSettings.fillTableData[0].sourcePropName = "", R2.configure.props.otherSettings.fillTableData[0].childPropName = "", R2.configure.props.otherSettings.fillTableData[0].defaultValue = "") : R2.configure.props.otherSettings.fillTableData.splice(a3, 1));
|
|
70
70
|
var a3;
|
|
71
|
-
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "来源字段", width: "90", align: "center" }, { default: u((e3) => [n(T2, { modelValue: e3.row.sourcePropName, "onUpdate:modelValue": (l3) => e3.row.sourcePropName = l3, clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, m(q.value, (e4) => (r(), i(D2, { key: e4, label: e4.alias, value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.childPropName, "onUpdate:modelValue": (e3) => l3.row.childPropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, m(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "默认值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.defaultValue, "onUpdate:modelValue": (l3) => e3.row.defaultValue = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]))])]), _: 1 }), n(t2, { title: "其他", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", M, [n(x2, { label: "数据权限", title: "数据权限限制", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isWithDataPermission, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.otherSettings.isWithDataPermission = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[48] || (a2[48] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[49] || (a2[49] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "记录最大数", title: "表格记录最大数量", class: "amb-design-attr-item" }, { default: u(() => [n(be, { modelValue: e2.configure.props.otherSettings.tableRecordMaxNum, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.otherSettings.tableRecordMaxNum = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(w, { ref_key: "selectTableDialog", ref: G, onSelectTable: Z, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"]), H.value ? (r(), i(C, { key: 0, list: e2.configure.props.otherSettings.sourceQueryTableData ? JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) : null, fieldNameList: q.value, fieldMap: B.value, dataFieldNameList: e2.pageDesign.modelFields, paramTypes: ["data", "page", "task", "context", "system", "request", "fixed"], onSave: ae, onClose: oe }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : d("", true)]), _: 1 }, 8, ["modelValue"]), n(he, { modelValue: W.value, "onUpdate:modelValue": a2[25] || (a2[25] = (e3) => W.value = e3), fullscreen: "" }, { default: u(() => [n(f(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[24] || (a2[24] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
71
|
+
} }, { default: u(() => [n(f(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 }), n(de, { prop: "label", label: "来源字段", width: "90", align: "center" }, { default: u((e3) => [n(T2, { modelValue: e3.row.sourcePropName, "onUpdate:modelValue": (l3) => e3.row.sourcePropName = l3, clearable: "", filterable: "" }, { default: u(() => [(r(true), p(g, null, m(q.value, (e4) => (r(), i(D2, { key: e4, label: e4.alias, value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "子表字段", width: "90", align: "center" }, { default: u((l3) => [n(T2, { modelValue: l3.row.childPropName, "onUpdate:modelValue": (e3) => l3.row.childPropName = e3, placeholder: "请选择" }, { default: u(() => [(r(true), p(g, null, m(e2.configure.modelFields, (e3, l4) => (r(), i(D2, { key: l4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(de, { prop: "value", label: "默认值", width: "90", align: "center" }, { default: u((e3) => [n(ue, { modelValue: e3.row.defaultValue, "onUpdate:modelValue": (l3) => e3.row.defaultValue = l3, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 })]), _: 1 }, 8, ["data"])]))])]), _: 1 }), n(t2, { title: "其他", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", M, [n(x2, { label: "数据权限", title: "数据权限限制", class: "amb-design-attr-item" }, { default: u(() => [n(re, { modelValue: e2.configure.props.otherSettings.isWithDataPermission, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.otherSettings.isWithDataPermission = l3), class: "ml-4" }, { default: u(() => [n(ie, { value: true }, { default: u(() => a2[48] || (a2[48] = [c("是")])), _: 1 }), n(ie, { value: false }, { default: u(() => a2[49] || (a2[49] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x2, { label: "记录最大数", title: "表格记录最大数量", class: "amb-design-attr-item" }, { default: u(() => [n(be, { modelValue: e2.configure.props.otherSettings.tableRecordMaxNum, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.otherSettings.tableRecordMaxNum = l3) }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(w, { ref_key: "selectTableDialog", ref: G, onSelectTable: Z, systemCode: e2.pageDesign.systemCode, systemVersion: e2.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"]), H.value ? (r(), i(C, { key: 0, list: e2.configure.props.otherSettings.sourceQueryTableData ? JSON.parse(e2.configure.props.otherSettings.sourceQueryTableData) : null, fieldNameList: q.value, fieldMap: B.value, dataFieldNameList: e2.pageDesign.modelFields, paramTypes: ["data", "page", "task", "context", "system", "request", "fixed"], onSave: ae, onClose: oe }, null, 8, ["list", "fieldNameList", "fieldMap", "dataFieldNameList"])) : d("", true)]), _: 1 }, 8, ["modelValue"]), n(he, { "append-to-body": "", modelValue: W.value, "onUpdate:modelValue": a2[25] || (a2[25] = (e3) => W.value = e3), fullscreen: "" }, { default: u(() => [n(f(b), { modelValue: e2.configure.props.dataOrigin.unfoldConent, "onUpdate:modelValue": a2[24] || (a2[24] = (l3) => e2.configure.props.dataOrigin.unfoldConent = l3), options: I, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
72
72
|
};
|
|
73
73
|
} });
|
|
74
74
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createBlock as o, openBlock as s, withCtx as u, createVNode as i, createElementVNode as d, createElementBlock as r, Fragment as n, renderList as p, unref as m, createTextVNode as f, createCommentVNode as g } from "vue";
|
|
2
|
-
import { getTableSelectionConf as c, getTableIndexConf as b, getTableOperateConf as
|
|
2
|
+
import { getTableSelectionConf as c, getTableIndexConf as b, getTableOperateConf as V, getFormComponentOptions as _ } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import v from "../component/data-origin.vue.js";
|
|
4
4
|
import h from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import x from "../../form/common/data-linkage.vue.js";
|
|
@@ -14,14 +14,14 @@ import "../../../../utils/eventBus.js";
|
|
|
14
14
|
import U from "../../common/common-function-code.vue.js";
|
|
15
15
|
import y from "../../chart/statistical-table/component/table-showcondition.vue.js";
|
|
16
16
|
const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, j = e({ __name: "table-attr-base", props: { pageDesign: { type: Object, default: () => ({ props: {} }) }, configure: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
|
|
17
|
-
const j2 = e2,
|
|
18
|
-
function
|
|
17
|
+
const j2 = e2, E = a(["base", "appearance", "querySetting", "editSetting", "columnSetting", "paging", "dataOrigin", "linkage", "attrSize"]);
|
|
18
|
+
function O(e3) {
|
|
19
19
|
j2.configure.props.base.showOperationCondition = e3.data;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function P(e3) {
|
|
22
22
|
j2.configure.props.base.showAddBtnCondition = e3.data;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function T(e3) {
|
|
25
25
|
j2.configure.props.base.showDeleteBtnCondition = e3.data;
|
|
26
26
|
}
|
|
27
27
|
return l(() => j2.configure.props.base.selection, (e3) => {
|
|
@@ -41,7 +41,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
41
41
|
}
|
|
42
42
|
}), l(() => j2.configure.props.base.showOperation, (e3) => {
|
|
43
43
|
if (e3) {
|
|
44
|
-
let e4 =
|
|
44
|
+
let e4 = V();
|
|
45
45
|
j2.configure.items.push(e4);
|
|
46
46
|
} else {
|
|
47
47
|
let e4 = null;
|
|
@@ -50,8 +50,8 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { padding: "8p
|
|
|
50
50
|
}), null != e4 && j2.configure.items.splice(e4, 1);
|
|
51
51
|
}
|
|
52
52
|
}), (a2, l2) => {
|
|
53
|
-
const c2 = t("el-option"), b2 = t("el-select"),
|
|
54
|
-
return s(), o(N, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: O.value, "onUpdate:modelValue": l2[38] || (l2[38] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", w, [i(_2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), r(n, null, p(m(V)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(_2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(_2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(_2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[39] || (l2[39] = [f("普通")])), _: 1 }), i(B, { value: "hidden" }, { default: u(() => l2[40] || (l2[40] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(_2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: u(() => [(s(true), r(n, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", C, [i(_2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[41] || (l2[41] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[42] || (l2[42] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[43] || (l2[43] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[44] || (l2[44] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(_2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[45] || (l2[45] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[46] || (l2[46] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(_2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[47] || (l2[47] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[48] || (l2[48] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(_2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(_2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(_2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": E }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(_2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[49] || (l2[49] = [f("默认")])), _: 1 }), i(B, { value: "covered" }, { default: u(() => l2[50] || (l2[50] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[51] || (l2[51] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[52] || (l2[52] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[53] || (l2[53] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[54] || (l2[54] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[55] || (l2[55] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[56] || (l2[56] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[57] || (l2[57] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[58] || (l2[58] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[59] || (l2[59] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[60] || (l2[60] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[61] || (l2[61] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[62] || (l2[62] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[63] || (l2[63] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[64] || (l2[64] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[65] || (l2[65] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[66] || (l2[66] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[67] || (l2[67] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[68] || (l2[68] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[69] || (l2[69] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[70] || (l2[70] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[71] || (l2[71] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[72] || (l2[72] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[73] || (l2[73] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[74] || (l2[74] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[75] || (l2[75] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[76] || (l2[76] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "no" }, { default: u(() => l2[77] || (l2[77] = [f("不合计")])), _: 1 }), i(B, { value: "current" }, { default: u(() => l2[78] || (l2[78] = [f("当前页")])), _: 1 }), i(B, { value: "all" }, { default: u(() => l2[79] || (l2[79] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(_2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", D, [i(_2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 }), i(_2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", S, [i(_2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[31] || (l2[31] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [i(_2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[80] || (l2[80] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[81] || (l2[81] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(R, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(I, { label: "总条数", value: "total" }), i(I, { label: "每页大小选项列表", value: "sizes" }), i(I, { label: "上一页", value: "prev" }), i(I, { label: "跳转页码", value: "pager" }), i(I, { label: "下一页", value: "next" }), i(I, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(_2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
53
|
+
const c2 = t("el-option"), b2 = t("el-select"), V2 = t("el-form-item"), j3 = t("el-input"), B = t("el-radio"), L = t("el-radio-group"), q = t("el-collapse-item"), H = t("el-switch"), I = t("el-checkbox"), R = t("el-checkbox-group"), F = t("el-collapse"), M = t("el-form");
|
|
54
|
+
return s(), o(M, { "label-width": "80px", size: "small" }, { default: u(() => [i(F, { modelValue: E.value, "onUpdate:modelValue": l2[41] || (l2[41] = (e3) => E.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", w, [i(V2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.name = a3), disabled: "", placeholder: "请选择" }, { default: u(() => [(s(true), r(n, null, p(m(_)(), (e3) => (s(), o(c2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[1] || (l2[1] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "自定义编码", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.code, "onUpdate:modelValue": l2[2] || (l2[2] = (a3) => e2.configure.code = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(s(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), i(V2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.title, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.title = a3), title: e2.configure.tittle }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V2, { label: "列表内容Url", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.urlToListData, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.urlToListData = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "备注", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.remark, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.remark = a3), rows: 3, type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[42] || (l2[42] = [f("普通")])), _: 1 }), i(B, { value: "hidden" }, { default: u(() => l2[43] || (l2[43] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { title: "数据", pageDesign: e2.pageDesign, configure: e2.configure, remote: false }, { bottom: u((a3) => [i(V2, { label: "行主键字段", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: a3.row.principalLinkage, "onUpdate:modelValue": (e3) => a3.row.principalLinkage = e3, clearable: "", placeholder: "Select" }, { default: u(() => [(s(true), r(n, null, p(e2.configure.modelFields, (e3, a4) => (s(), o(c2, { key: a4, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024)]), _: 1 }, 8, ["pageDesign", "configure"]), i(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", C, [i(V2, { label: "移动端卡片", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.isMobileCard, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.isMobileCard = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[44] || (l2[44] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[45] || (l2[45] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "支持多选", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.selection, "onUpdate:modelValue": l2[8] || (l2[8] = (a3) => e2.configure.props.base.selection = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[46] || (l2[46] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[47] || (l2[47] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示序号", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showIndex, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.showIndex = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[48] || (l2[48] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[49] || (l2[49] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showIndex ? (s(), o(V2, { key: 0, label: "序号连续", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.serialNumberContinuous, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.serialNumberContinuous = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[50] || (l2[50] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[51] || (l2[51] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), i(V2, { label: "显示操作列", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showOperation, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.showOperation = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[52] || (l2[52] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[53] || (l2[53] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 1, label: "操作条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request"], data: e2.configure.props.base.showOperationCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": O }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 2, label: "新增条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showAddBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": P }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), e2.configure.props.base.showOperation ? (s(), o(V2, { key: 3, label: "删除条件", class: "amb-design-attr-item" }, { default: u(() => [i(y, { paramTypes: ["data", "task", "page", "request", "row"], data: e2.configure.props.base.showDeleteBtnCondition, pageDesign: e2.pageDesign, tableConfigure: e2.configure, "onUpdate:data": T }, null, 8, ["data", "pageDesign", "tableConfigure"])]), _: 1 })) : g("", true), i(V2, { label: "显示效果", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.displayEffect, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.base.displayEffect = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "default" }, { default: u(() => l2[54] || (l2[54] = [f("默认")])), _: 1 }), i(B, { value: "covered" }, { default: u(() => l2[55] || (l2[55] = [f("铺满")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "显示表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.showHeader, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.props.base.showHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[56] || (l2[56] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[57] || (l2[57] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[14] || (l2[14] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[58] || (l2[58] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[59] || (l2[59] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[60] || (l2[60] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "内容对齐", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "left" }, { default: u(() => l2[61] || (l2[61] = [f("居左")])), _: 1 }), i(B, { value: "center" }, { default: u(() => l2[62] || (l2[62] = [f("居中")])), _: 1 }), i(B, { value: "right" }, { default: u(() => l2[63] || (l2[63] = [f("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住表头", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationHeader, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.immobilizationHeader = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[64] || (l2[64] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[65] || (l2[65] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "锁住底部", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.immobilizationBottom, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.immobilizationBottom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[66] || (l2[66] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[67] || (l2[67] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "纵向边框", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.border, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.border = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[68] || (l2[68] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[69] || (l2[69] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "带斑马纹", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.stripe, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.stripe = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[70] || (l2[70] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[71] || (l2[71] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "列宽自撑开", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.fit, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.fit = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[72] || (l2[72] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[73] || (l2[73] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "高亮当前行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.highlightCurrentRow, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.base.highlightCurrentRow = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[74] || (l2[74] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[75] || (l2[75] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "是否换行", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isBreakLine, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.otherSettings.isBreakLine = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[76] || (l2[76] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[77] || (l2[77] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "启用回车", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.otherSettings.isEnableEnterEvent, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.otherSettings.isEnableEnterEvent = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[78] || (l2[78] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[79] || (l2[79] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "可自定义", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.custom, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.base.custom = a3), class: "ml-4" }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[80] || (l2[80] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[81] || (l2[81] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "空数据文本", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.emptyText, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.base.emptyText = a3) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "合计方式", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.totalType, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.base.totalType = a3), class: "ml-4" }, { default: u(() => [i(B, { value: "no" }, { default: u(() => l2[82] || (l2[82] = [f("不合计")])), _: 1 }), i(B, { value: "current" }, { default: u(() => l2[83] || (l2[83] = [f("当前页")])), _: 1 }), i(B, { value: "all" }, { default: u(() => l2[84] || (l2[84] = [f("所有页")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "字段配置", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.customConfig, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.base.customConfig = a3), "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "查询设置", name: "querySetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(V2, { label: "显示方式", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.popUp, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.base.popUp = a3), clearable: "", style: { width: "100%" } }, { default: u(() => [i(c2, { label: "弹出式", value: true }), i(c2, { label: "嵌入式", value: false })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "Label位置", class: "amb-design-attr-item" }, { default: u(() => [i(b2, { modelValue: e2.configure.props.base.queryLabelPosition, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.base.queryLabelPosition = a3), clearable: "" }, { default: u(() => [i(c2, { label: "左", value: "left" }), i(c2, { label: "右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "行设置", name: "editSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", D, [i(V2, { label: "启用编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.editable, "onUpdate:modelValue": l2[30] || (l2[30] = (a3) => e2.configure.props.base.editable = a3), "active-text": "使用", "inactive-text": "不使用", onChange: l2[31] || (l2[31] = (a3) => e2.configure.props.base.columnEditable = false) }, null, 8, ["modelValue"])]), _: 1 }), i(V2, { label: "单元格编辑", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.columnEditable, "onUpdate:modelValue": l2[32] || (l2[32] = (a3) => e2.configure.props.base.columnEditable = a3), disabled: !e2.configure.props.base.editable, "active-text": "使用", "inactive-text": "不使用" }, null, 8, ["modelValue", "disabled"])]), _: 1 }), i(V2, { label: "子表展开表单", class: "amb-design-attr-item" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.showRowForm, "onUpdate:modelValue": l2[33] || (l2[33] = (a3) => e2.configure.props.base.showRowForm = a3), "active-text": "展开", "inactive-text": "不展开" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "列设置", name: "columnSetting", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", S, [i(V2, { label: "是否可以拖拽列", class: "amb-design-attr-item-linefeed-two" }, { default: u(() => [i(H, { modelValue: e2.configure.props.base.isDragColumn, "onUpdate:modelValue": l2[34] || (l2[34] = (a3) => e2.configure.props.base.isDragColumn = a3), "active-text": "是", "inactive-text": "否" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(q, { title: "分页设置", name: "paging", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", z, [i(V2, { label: "支持分页", class: "amb-design-attr-item" }, { default: u(() => [i(L, { modelValue: e2.configure.props.base.subPaging, "onUpdate:modelValue": l2[35] || (l2[35] = (a3) => e2.configure.props.base.subPaging = a3) }, { default: u(() => [i(B, { value: true }, { default: u(() => l2[85] || (l2[85] = [f("是")])), _: 1 }), i(B, { value: false }, { default: u(() => l2[86] || (l2[86] = [f("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 0, label: "默认行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSize, "onUpdate:modelValue": l2[36] || (l2[36] = (a3) => e2.configure.props.base.pageSize = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 1, label: "可选行数", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageSizes, "onUpdate:modelValue": l2[37] || (l2[37] = (a3) => e2.configure.props.base.pageSizes = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 2, label: "可选项", class: "amb-design-attr-item" }, { default: u(() => [i(R, { modelValue: e2.configure.props.base.layout, "onUpdate:modelValue": l2[38] || (l2[38] = (a3) => e2.configure.props.base.layout = a3) }, { default: u(() => [i(I, { label: "总条数", value: "total" }), i(I, { label: "每页大小选项列表", value: "sizes" }), i(I, { label: "上一页", value: "prev" }), i(I, { label: "跳转页码", value: "pager" }), i(I, { label: "下一页", value: "next" }), i(I, { label: "跳转指定页", value: "jumper" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 3, label: "总页数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.pageCount, "onUpdate:modelValue": l2[39] || (l2[39] = (a3) => e2.configure.props.base.pageCount = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true), e2.configure.props.base.subPaging ? (s(), o(V2, { key: 4, label: "总条数变量", class: "amb-design-attr-item" }, { default: u(() => [i(j3, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[40] || (l2[40] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })) : g("", true)])]), _: 1 }), i(x, { configureProps: e2.configure.props }, null, 8, ["configureProps"]), i(h, { size: e2.configure.props.size, showMaxHeight: true, showCalcHeight: true, isHeightOffset: "" }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
55
55
|
};
|
|
56
56
|
} });
|
|
57
57
|
export {
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import { defineComponent as e, ref as a, createElementBlock as t, openBlock as o, createVNode as n, createElementVNode as l, unref as u, isRef as i, withDirectives as r, createBlock as s, vShow as g } from "vue";
|
|
2
|
+
import p from "./table-attr-base.vue.js";
|
|
3
|
+
import c from "./table-attr-advanced.vue.js";
|
|
4
|
+
import f from "./table-attr-style.vue.js";
|
|
5
|
+
import m from "../component/attr-header.vue.js";
|
|
6
|
+
import b from "./table-attr-event.vue.js";
|
|
7
|
+
import d from "../../form/common/attr-header.vue.js";
|
|
8
|
+
import v from "./tablecolumn-attr-base.vue.js";
|
|
9
9
|
import D from "./tablecolumn-attr-style.vue.js";
|
|
10
10
|
import j from "./tablecolumn-attr-event.vue.js";
|
|
11
11
|
import y from "../../../../utils/eventBus.js";
|
|
12
|
-
const C = { key: 0, class: "amb-design-attr-content" }, V = { class: "amb-design-attr-list" },
|
|
12
|
+
const C = { key: 0, class: "amb-design-attr-content" }, V = { class: "amb-design-attr-list" }, E = { key: 1, class: "amb-design-attr-content" }, h = { class: "amb-design-attr-list" }, k = e({ __name: "table-attr", props: { pageDesign: { type: Object, default: () => {
|
|
13
13
|
} }, configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) } }, setup(e2) {
|
|
14
|
-
|
|
15
|
-
const
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
15
|
+
const k2 = e2;
|
|
16
|
+
((_c = (_b = (_a = k2.configure) == null ? void 0 : _a.props) == null ? void 0 : _b.base) == null ? void 0 : _c.editable) && void 0 === ((_f = (_e = (_d = k2.configure) == null ? void 0 : _d.props) == null ? void 0 : _e.base) == null ? void 0 : _f.columnEditable) && (k2.configure.props.base.columnEditable = true), void 0 === ((_i = (_h = (_g = k2.configure) == null ? void 0 : _g.props) == null ? void 0 : _h.base) == null ? void 0 : _i.columnEditable) && (k2.configure.props.base.columnEditable = false), void 0 === ((_l = (_k = (_j = k2.configure) == null ? void 0 : _j.props) == null ? void 0 : _k.base) == null ? void 0 : _l.isMobileCard) && (k2.configure.props.base.isMobileCard = true);
|
|
17
|
+
let x = a("base");
|
|
18
|
+
const O = a({}), M = a({});
|
|
16
19
|
return y.$on("selectColumn", (e3) => {
|
|
17
|
-
O.value = e3.columnData,
|
|
18
|
-
}), (
|
|
20
|
+
O.value = e3.columnData, M.value = e3.tableConfigure;
|
|
21
|
+
}), (a2, y2) => Object.keys(O.value).length > 0 ? (o(), t("div", C, [n(d, { modelValue: u(x), "onUpdate:modelValue": y2[0] || (y2[0] = (e3) => i(x) ? x.value = e3 : x = e3), showEvent: "" }, null, 8, ["modelValue"]), l("div", V, [r((o(), s(v, { key: O.value.uuid, pageDesign: e2.pageDesign, configure: O.value, tableConfigure: M.value }, null, 8, ["pageDesign", "configure", "tableConfigure"])), [[g, "base" === u(x)]]), r(n(D, { configure: O.value, pageDesign: e2.pageDesign, tableConfigure: e2.configure }, null, 8, ["configure", "pageDesign", "tableConfigure"]), [[g, "style" === u(x)]]), r(n(j, { configure: O.value }, null, 8, ["configure"]), [[g, "event" === u(x)]])])])) : (o(), t("div", E, [n(m, { modelValue: u(x), "onUpdate:modelValue": y2[1] || (y2[1] = (e3) => i(x) ? x.value = e3 : x = e3) }, null, 8, ["modelValue"]), l("div", h, [r(n(p, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[g, "base" === u(x)]]), r(n(c, { pageDesign: e2.pageDesign, configure: e2.configure, tableConfigure: M.value }, null, 8, ["pageDesign", "configure", "tableConfigure"]), [[g, "advanced" === u(x)]]), r(n(f, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[g, "style" === u(x)]]), r(n(b, { configure: e2.configure }, null, 8, ["configure"]), [[g, "event" === u(x)]])])]));
|
|
19
22
|
} });
|
|
20
23
|
export {
|
|
21
|
-
|
|
24
|
+
k as default
|
|
22
25
|
};
|
|
@@ -2,7 +2,7 @@ import e from "./table-design.vue2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const o = t(e, [["__scopeId", "data-v-
|
|
5
|
+
const o = t(e, [["__scopeId", "data-v-e50b5e57"]]);
|
|
6
6
|
export {
|
|
7
7
|
o as default
|
|
8
8
|
};
|