super-page-designer 2.3.12-sit1-design2 → 2.3.13-sit1-design1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/design/utils/chart-design-util.js +27 -27
- package/dist/es/components/design/utils/page-table-util.d.ts +1 -9
- package/dist/es/components/design/utils/page-table-util.js +13 -13
- package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +18 -18
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +18 -18
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +18 -18
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +35 -33
- package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +7 -6
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +55 -56
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +10 -10
- 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 +1 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +26 -2
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +2 -26
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +4 -4
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js +18 -18
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +6 -6
- package/dist/es/components/design/views/assemblys/form/link/link-design.vue2.js +12 -12
- package/dist/es/components/design/views/assemblys/form/radio/radio-design.vue2.js +2 -2
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-design.vue2.js +5 -5
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +52 -52
- package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
- package/dist/es/style.css +2 -2
- package/package.json +5 -5
- /package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue2.js → common-variable-bind.vue3.js} +0 -0
|
@@ -114,7 +114,7 @@ const M = { style: { padding: "8px 0px 0px 0px" } }, E = { class: "amb-design-at
|
|
|
114
114
|
}
|
|
115
115
|
return (a2, l2) => {
|
|
116
116
|
const h2 = o("el-input"), x2 = o("el-form-item"), U2 = o("el-radio"), T2 = o("el-radio-group"), k2 = o("el-switch"), j2 = o("el-option"), N2 = o("el-select"), R3 = o("el-icon"), W2 = o("el-collapse-item"), z2 = o("el-input-number"), I2 = o("el-checkbox"), Q2 = o("el-checkbox-group"), J2 = o("el-col"), X2 = o("el-button"), Z2 = o("el-collapse"), ae2 = o("el-form");
|
|
117
|
-
return t(), n(ae2, { "label-width": "80px", size: "small" }, { default: i(() => [u(Z2, { modelValue: B.value, "onUpdate:modelValue": l2[30] || (l2[30] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(W2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(S, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(q, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: se, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: ue }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[31] || (l2[31] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[32] || (l2[32] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", E, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(j2, { label: "不查询", value: "no" }), u(j2, { label: "普通查询", value: "normal" }), u(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (t(), n(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => le.value = true) }, { default: i(() => [u(d(y))]), _: 1 })) : r("", true)])]), _: 1 })), Y.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (t(), n(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(j2, { label: "全匹配", value: "all" }), u(j2, { label: "左匹配", value: "left" }), u(j2, { label: "右匹配", value: "right" }), u(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Y.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (t(), n(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(F, { operationColumn: Y.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Y.value ? r("", true) : (t(), n(W2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { onChange: te, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": re }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (t(), n(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ie }, { default: i(() => [(t(true), c(f, null, g(d(C)(), (e3) => (t(), n(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), m(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(S, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), m(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Y.value ? r("", true) : (t(), n(W2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(H, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 })), u(W2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[33] || (l2[33] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[34] || (l2[34] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[35] || (l2[35] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[36] || (l2[36] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[37] || (l2[37] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(z2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[38] || (l2[38] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[39] || (l2[39] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[40] || (l2[40] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[41] || (l2[41] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[42] || (l2[42] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[43] || (l2[43] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Y.value && e2.configure.props.editLine.editable ? (t(), n(W2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(Q2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "文本", value: "string" }), u(I2, { label: "整形", value: "integer" }), u(I2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "日期", value: "date" }), u(I2, { label: "小数", value: "float" }), u(I2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "邮件", value: "email" }), u(I2, { label: "网址", value: "url" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "单精度", value: "float" }), u(I2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { span: 8 }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(h2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { span: 8 }, { default: i(() => [u(I2, { label: "自定义", value: "custom" })]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(X2, { type: "default" }, { default: i(() => l2[44] || (l2[44] = [p("自定义逻辑")])), _: 1 }), u(X2, { type: "default", icon: d(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Y.value ? r("", true) : (t(), n(W2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[45] || (l2[45] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[46] || (l2[46] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[47] || (l2[47] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[48] || (l2[48] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[49] || (l2[49] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[50] || (l2[50] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[52] || (l2[52] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[53] || (l2[53] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), le.value ? (t(), n(V, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: oe }, null, 8, ["querySetting"])) : r("", true), u(L, { ref_key: "selectTableDialog", ref: K, onSelectTable: ee, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
117
|
+
return t(), n(ae2, { "label-width": "80px", size: "small" }, { default: i(() => [u(Z2, { modelValue: B.value, "onUpdate:modelValue": l2[30] || (l2[30] = (e3) => B.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(W2, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", M, [u(x2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": l2[0] || (l2[0] = (a3) => e2.configure.uuid = a3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [u(S, { showDynamicColumn: true, showPlaceholder: true, prop: e2.configure.props.base.prop, "onUpdate:prop": l2[1] || (l2[1] = (a3) => e2.configure.props.base.prop = a3), propType: e2.configure.props.base.propType, "onUpdate:propType": l2[2] || (l2[2] = (a3) => e2.configure.props.base.propType = a3), tableConfigure: e2.tableConfigure, onChange: de }, null, 8, ["prop", "propType", "tableConfigure"])]), _: 1 })), u(x2, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [u(q, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": l2[3] || (l2[3] = (a3) => e2.configure.props.base.name = a3), onChange: pe, disabled: "$index" === e2.configure.props.base.prop || "$selection" === e2.configure.props.base.prop }, null, 8, ["modelValue", "disabled"])]), _: 1 }), u(x2, { label: "绑定权限", class: "amb-design-attr-item" }, { default: i(() => [u(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), u(x2, { label: "显示顺序", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.props.base.displayOrder, "onUpdate:modelValue": l2[4] || (l2[4] = (a3) => e2.configure.props.base.displayOrder = a3), modelModifiers: { number: true }, onBlur: se, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 1, label: "是否显示 ", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.visible, "onUpdate:modelValue": l2[5] || (l2[5] = (a3) => e2.configure.props.base.visible = a3), class: "ml-4", onChange: ue }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[31] || (l2[31] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[32] || (l2[32] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 2, label: "是否导出", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.exportable, "onUpdate:modelValue": l2[6] || (l2[6] = (a3) => e2.configure.props.base.exportable = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 3, label: "查询设置", class: "amb-design-attr-item" }, { default: i(() => [s("div", E, [u(N2, { modelValue: e2.configure.props.base.querySettingName, "onUpdate:modelValue": l2[7] || (l2[7] = (a3) => e2.configure.props.base.querySettingName = a3) }, { default: i(() => [u(j2, { label: "不查询", value: "no" }), u(j2, { label: "普通查询", value: "normal" }), u(j2, { label: "高级查询", value: "advanced" })]), _: 1 }, 8, ["modelValue"]), "normal" === e2.configure.props.base.querySettingName || "advanced" === e2.configure.props.base.querySettingName ? (t(), n(R3, { key: 0, style: { "margin-left": "10px" }, onClick: l2[8] || (l2[8] = (e3) => le.value = true) }, { default: i(() => [u(d(y))]), _: 1 })) : r("", true)])]), _: 1 })), Y.value || "normal" !== e2.configure.props.base.querySettingName && "advanced" !== e2.configure.props.base.querySettingName || "STRING" !== e2.configure.props.base.propType ? r("", true) : (t(), n(x2, { key: 4, label: "匹配方式", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.props.base.queryMatching, "onUpdate:modelValue": l2[9] || (l2[9] = (a3) => e2.configure.props.base.queryMatching = a3), clearable: "" }, { default: i(() => [u(j2, { label: "全匹配", value: "all" }), u(j2, { label: "左匹配", value: "left" }), u(j2, { label: "右匹配", value: "right" }), u(j2, { label: "精确查询", value: "exactQuery" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 5, label: "是否合计", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.total, "onUpdate:modelValue": l2[10] || (l2[10] = (a3) => e2.configure.props.base.total = a3) }, null, 8, ["modelValue"])]), _: 1 })), Y.value ? r("", true) : (t(), n(x2, { key: 6, label: "是否筛选", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { modelValue: e2.configure.props.base.filterable, "onUpdate:modelValue": l2[11] || (l2[11] = (a3) => e2.configure.props.base.filterable = a3) }, null, 8, ["modelValue"])]), _: 1 }))])]), _: 1 }), Y.value || "dynamicColumnSelect" == e2.configure.props.base.prop ? r("", true) : (t(), n(_, { key: 0, configure: e2.configure, isTable: true, isDynamicColumn: "dynamicColumnSelect" === e2.configure.props.base.prop, remote: true }, null, 8, ["configure", "isDynamicColumn"])), u(F, { operationColumn: Y.value, configure: e2.configure, tableConfigure: e2.tableConfigure, pageDesign: e2.pageDesign }, null, 8, ["operationColumn", "configure", "tableConfigure", "pageDesign"]), Y.value ? r("", true) : (t(), n(W2, { key: 1, title: "行编辑设置", name: "editLine", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", O, [u(x2, { label: "是否编辑", class: "amb-design-attr-item" }, { default: i(() => [u(k2, { onChange: te, modelValue: e2.configure.props.editLine.editable, "onUpdate:modelValue": l2[12] || (l2[12] = (a3) => e2.configure.props.editLine.editable = a3) }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "默认值", class: "amb-design-attr-item" }, { default: i(() => [u(D, { modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": re }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.editLine.editable ? (t(), n(x2, { key: 0, label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(N2, { modelValue: e2.configure.name, "onUpdate:modelValue": l2[13] || (l2[13] = (a3) => e2.configure.name = a3), placeholder: "请选择", onChange: ie }, { default: i(() => [(t(true), c(f, null, g(d(C)(), (e3) => (t(), n(j2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true), m(u(x2, { label: "文件uuid", class: "amb-design-attr-item" }, { default: i(() => [u(S, { prop: e2.configure.props.format.fileUuid, "onUpdate:prop": l2[14] || (l2[14] = (a3) => e2.configure.props.format.fileUuid = a3), tableConfigure: e2.tableConfigure }, null, 8, ["prop", "tableConfigure"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "file-upload" === e2.configure.name]]), m(u(x2, { label: "自定义控件名称", class: "amb-design-attr-item" }, { default: i(() => [u(h2, { modelValue: e2.configure.props.base.customComponent, "onUpdate:modelValue": l2[15] || (l2[15] = (a3) => e2.configure.props.base.customComponent = a3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.editLine.editable && "custom" === e2.configure.name]])])]), _: 1 })), Y.value ? r("", true) : (t(), n(W2, { key: 2, title: "格式设置", name: "formatting", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [u(H, { configure: e2.configure, pageDesign: e2.pageDesign, tableConfigure: e2.tableConfigure }, null, 8, ["configure", "pageDesign", "tableConfigure"])])]), _: 1 })), u(W2, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", A, [u(x2, { label: "固定列", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.listColumnFixed, "onUpdate:modelValue": l2[16] || (l2[16] = (a3) => e2.configure.props.base.listColumnFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[33] || (l2[33] = [p("否")])), _: 1 }), u(U2, { value: "left" }, { default: i(() => l2[34] || (l2[34] = [p("居左")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[35] || (l2[35] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), Y.value ? r("", true) : (t(), n(x2, { key: 0, label: "是否排序", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.sortable, "onUpdate:modelValue": l2[17] || (l2[17] = (a3) => e2.configure.props.base.sortable = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: true }, { default: i(() => l2[36] || (l2[36] = [p("是")])), _: 1 }), u(U2, { value: false }, { default: i(() => l2[37] || (l2[37] = [p("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), u(x2, { label: "列宽", class: "amb-design-attr-item" }, { default: i(() => [u(z2, { style: { width: "100%" }, modelValue: e2.configure.props.base.columnWidth, "onUpdate:modelValue": l2[18] || (l2[18] = (a3) => e2.configure.props.base.columnWidth = a3), precision: 1 }, null, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "标题对齐", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignTitle, "onUpdate:modelValue": l2[19] || (l2[19] = (a3) => e2.configure.props.base.alignTitle = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[38] || (l2[38] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[39] || (l2[39] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[40] || (l2[40] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "内容对齐", class: "amb-design-attr-item-linefeed-two" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.base.alignContent, "onUpdate:modelValue": l2[20] || (l2[20] = (a3) => e2.configure.props.base.alignContent = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: "left" }, { default: i(() => l2[41] || (l2[41] = [p("居左")])), _: 1 }), u(U2, { value: "center" }, { default: i(() => l2[42] || (l2[42] = [p("居中")])), _: 1 }), u(U2, { value: "right" }, { default: i(() => l2[43] || (l2[43] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), !Y.value && e2.configure.props.editLine.editable ? (t(), n(W2, { key: 3, title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", $, [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": l2[21] || (l2[21] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), u(Q2, { modelValue: e2.configure.props.verification.type, "onUpdate:modelValue": l2[22] || (l2[22] = (a3) => e2.configure.props.verification.type = a3) }, { default: i(() => [u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "文本", value: "string" }), u(I2, { label: "整形", value: "integer" }), u(I2, { label: "数字", value: "number" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "日期", value: "date" }), u(I2, { label: "小数", value: "float" }), u(I2, { label: "布尔", value: "boolean" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "邮件", value: "email" }), u(I2, { label: "网址", value: "url" })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(I2, { label: "单精度", value: "float" }), u(I2, { label: "十六进制", value: "hex" })]), _: 1 })]), _: 1 }, 8, ["modelValue"]), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { span: 8 }, { default: i(() => [u(I2, { modelValue: e2.configure.props.verification.verifyRegex, "onUpdate:modelValue": l2[23] || (l2[23] = (a3) => e2.configure.props.verification.verifyRegex = a3), label: "正则", value: "regex" }, null, 8, ["modelValue"])]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(h2, { modelValue: e2.configure.props.verification.regex, "onUpdate:modelValue": l2[24] || (l2[24] = (a3) => e2.configure.props.verification.regex = a3), class: "mx-4", "controls-position": "right", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(x2, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [u(J2, { span: 8 }, { default: i(() => [u(I2, { label: "自定义", value: "custom" })]), _: 1 }), u(J2, { span: 14 }, { default: i(() => [u(X2, { type: "default" }, { default: i(() => l2[44] || (l2[44] = [p("自定义逻辑")])), _: 1 }), u(X2, { type: "default", icon: d(v), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })) : r("", true), Y.value ? r("", true) : (t(), n(W2, { key: 4, title: "用户自定义", name: "userDefined", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", P, [u(x2, { label: "可自定义", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.defined, "onUpdate:modelValue": l2[25] || (l2[25] = (a3) => e2.configure.props.definition.defined = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[45] || (l2[45] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[46] || (l2[46] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义导出", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedExport, "onUpdate:modelValue": l2[26] || (l2[26] = (a3) => e2.configure.props.definition.definedExport = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[47] || (l2[47] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[48] || (l2[48] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义合并", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedMerge, "onUpdate:modelValue": l2[27] || (l2[27] = (a3) => e2.configure.props.definition.definedMerge = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[49] || (l2[49] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[50] || (l2[50] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义位置", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedPosition, "onUpdate:modelValue": l2[28] || (l2[28] = (a3) => e2.configure.props.definition.definedPosition = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[51] || (l2[51] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[52] || (l2[52] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), u(x2, { label: "自定义冻结", class: "amb-design-attr-item" }, { default: i(() => [u(T2, { modelValue: e2.configure.props.definition.definedFixed, "onUpdate:modelValue": l2[29] || (l2[29] = (a3) => e2.configure.props.definition.definedFixed = a3), class: "ml-4" }, { default: i(() => [u(U2, { value: false }, { default: i(() => l2[53] || (l2[53] = [p("否")])), _: 1 }), u(U2, { value: true }, { default: i(() => l2[54] || (l2[54] = [p("是")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 })), le.value ? (t(), n(V, { key: 5, querySetting: e2.configure.props.querySetting, onAdd: ne, onClose: oe }, null, 8, ["querySetting"])) : r("", true), u(L, { ref_key: "selectTableDialog", ref: K, onSelectTable: ee, systemCode: e2.configure.systemCode, systemVersion: e2.configure.systemVersion }, null, 8, ["systemCode", "systemVersion"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
118
118
|
};
|
|
119
119
|
} });
|
|
120
120
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as u, onUnmounted as a, resolveComponent as t, createBlock as i, openBlock as o, normalizeStyle as r, normalizeClass as n, withCtx as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as u, onUnmounted as a, resolveComponent as t, createBlock as i, openBlock as o, normalizeStyle as r, normalizeClass as n, withCtx as c, createVNode as s, createElementBlock as v, Fragment as f, renderList as m, createCommentVNode as d, toDisplayString as g } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as p, removComponentOptionConfigs as b, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
|
|
3
3
|
const h = e({ __name: "checkbox-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
4
4
|
const h2 = e2;
|
|
@@ -19,7 +19,7 @@ const h = e({ __name: "checkbox-design", props: { configure: { type: Object, req
|
|
|
19
19
|
j();
|
|
20
20
|
}), (e3, l2) => {
|
|
21
21
|
const u2 = t("el-checkbox"), a2 = t("el-checkbox-group"), p2 = t("el-form-item");
|
|
22
|
-
return o(), i(p2, { class: n([S.value, "remove-formLabel-formContent-blankStyle"]), "label-width": _.value.labelWidth, style: r(k.value) }, { label:
|
|
22
|
+
return o(), i(p2, { class: n([S.value, "remove-formLabel-formContent-blankStyle"]), "label-width": _.value.labelWidth, style: r(k.value) }, { label: c(() => [_.value.tittleShow ? (o(), v("div", { key: 0, style: r({ ...V.value, ...w.value, "padding-right": "12px" }) }, g(_.value.title), 5)) : d("", true)]), default: c(() => [s(a2, { size: _.value.size, modelValue: _.value.defaultValue, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => _.value.defaultValue = e4) }, { default: c(() => [(o(true), v(f, null, m(x.value, (e4) => (o(), i(u2, { key: e4.value, value: e4.value, label: e4.label }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["size", "modelValue"])]), _: 1 }, 8, ["class", "label-width", "style"]);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as i, createElementVNode as n, createVNode as s, createCommentVNode as d, withDirectives as r, unref as m, createElementBlock as p, Fragment as c, renderList as b, createTextVNode as f, vShow as y, normalizeClass as v } from "vue";
|
|
2
|
-
import V from "./dataorigin-input-table.
|
|
2
|
+
import V from "./dataorigin-input-table.vue.js";
|
|
3
3
|
import g from "./condition.vue.js";
|
|
4
4
|
import S from "./row-ul-li.vue.js";
|
|
5
5
|
import "uuid";
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
import t from "
|
|
1
|
+
import { defineComponent as e, ref as l, watch as a, resolveComponent as t, createElementBlock as o, openBlock as d, Fragment as u, createVNode as n, withCtx as i, unref as s, createElementVNode as m, createTextVNode as r } from "vue";
|
|
2
|
+
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
+
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
+
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
+
function y() {
|
|
6
|
+
if (_.value.length > 0) {
|
|
7
|
+
let e3 = "";
|
|
8
|
+
_.value.forEach((l2) => {
|
|
9
|
+
e3 = e3 + l2.name + ",";
|
|
10
|
+
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
+
} else b.value = false;
|
|
12
|
+
}
|
|
13
|
+
function S(e3) {
|
|
14
|
+
_.value = e3;
|
|
15
|
+
}
|
|
16
|
+
function w() {
|
|
17
|
+
b.value = true;
|
|
18
|
+
}
|
|
19
|
+
return a(() => c.modelValue, (e3) => {
|
|
20
|
+
g.value = e3;
|
|
21
|
+
}), (e3, l2) => {
|
|
22
|
+
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
+
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
2
26
|
export {
|
|
3
|
-
|
|
27
|
+
v as default
|
|
4
28
|
};
|
package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js
CHANGED
|
@@ -1,28 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Search as p } from "@element-plus/icons-vue";
|
|
3
|
-
const f = { class: "dialog-footer" }, v = e({ __name: "dataorigin-input-table", props: { modelValue: { type: String, default: "" } }, emits: ["update:modelValue"], setup(e2, { emit: v2 }) {
|
|
4
|
-
const c = e2, g = l(c.modelValue), V = v2, h = [{ id: 1, date: "2016-05-03", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 2, date: "2016-05-02", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 3, date: "2016-05-04", name: "Tom", address: "No. 189, Grove St, Los Angeles" }, { id: 4, date: "2016-05-01", name: "Tom", address: "No. 189, Grove St, Los Angeles" }], b = l(false), _ = l([]);
|
|
5
|
-
function y() {
|
|
6
|
-
if (_.value.length > 0) {
|
|
7
|
-
let e3 = "";
|
|
8
|
-
_.value.forEach((l2) => {
|
|
9
|
-
e3 = e3 + l2.name + ",";
|
|
10
|
-
}), e3 = e3.substring(0, e3.length - 1), V("update:modelValue", e3), b.value = false;
|
|
11
|
-
} else b.value = false;
|
|
12
|
-
}
|
|
13
|
-
function S(e3) {
|
|
14
|
-
_.value = e3;
|
|
15
|
-
}
|
|
16
|
-
function w() {
|
|
17
|
-
b.value = true;
|
|
18
|
-
}
|
|
19
|
-
return a(() => c.modelValue, (e3) => {
|
|
20
|
-
g.value = e3;
|
|
21
|
-
}), (e3, l2) => {
|
|
22
|
-
const a2 = t("el-icon"), v3 = t("el-input"), c2 = t("el-table-column"), V2 = t("el-table"), _2 = t("el-button"), A = t("el-dialog");
|
|
23
|
-
return d(), o(u, null, [n(v3, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => g.value = e4), placeholder: "请选择", onClick: w }, { suffix: i(() => [n(a2, { onClick: w }, { default: i(() => [n(s(p))]), _: 1 })]), _: 1 }, 8, ["modelValue"]), n(A, { modelValue: b.value, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => b.value = e4), title: "Tips", width: "500" }, { footer: i(() => [m("div", f, [n(_2, { type: "default", onClick: l2[1] || (l2[1] = (e4) => b.value = false) }, { default: i(() => l2[3] || (l2[3] = [r("取消")])), _: 1 }), n(_2, { type: "primary", onClick: y }, { default: i(() => l2[4] || (l2[4] = [r(" 确定 ")])), _: 1 })])]), default: i(() => [n(V2, { data: h, style: { width: "100%" }, onSelectionChange: S }, { default: i(() => [n(c2, { type: "selection", width: "55" }), n(c2, { prop: "date", label: "Date", width: "180" }), n(c2, { prop: "name", label: "Name", width: "180" }), n(c2, { prop: "address", label: "Address" })]), _: 1 })]), _: 1 }, 8, ["modelValue"])], 64);
|
|
24
|
-
};
|
|
25
|
-
} });
|
|
1
|
+
import t from "./dataorigin-input-table.vue.js";
|
|
26
2
|
export {
|
|
27
|
-
|
|
3
|
+
t as default
|
|
28
4
|
};
|
package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as a, resolveComponent as l, createBlock as r, openBlock as u, normalizeStyle as o, normalizeClass as i, withCtx as n, createVNode as m, unref as c, createElementBlock as s, createCommentVNode as d, Fragment as p, createTextVNode as f, toDisplayString as v } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as g, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import h from "../common/title-suffix-element.vue.js";
|
|
4
4
|
import "super-page-runtime";
|
|
@@ -6,25 +6,25 @@ import { Clock as Y, Calendar as b } from "@element-plus/icons-vue";
|
|
|
6
6
|
const F = e({ __name: "datepicker-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
7
7
|
const F2 = e2;
|
|
8
8
|
F2.configure.runtime || (F2.configure.runtime = {});
|
|
9
|
-
const k =
|
|
10
|
-
return
|
|
9
|
+
const k = t({}), S = t(""), D = t({}), x = t({}), w = t({});
|
|
10
|
+
return a(F2.configure.style, () => {
|
|
11
11
|
g(F2.configure, k, S, D), F2.configure.runtime.style = k.value, F2.configure.runtime.class = S.value, F2.configure.runtime.headerStyle = D.value;
|
|
12
|
-
}, { immediate: true }),
|
|
12
|
+
}, { immediate: true }), t([]), a(F2.configure.props, () => {
|
|
13
13
|
y(F2.configure, x, w), function() {
|
|
14
14
|
let e3 = F2.configure && F2.configure.props ? F2.configure.props.base : {};
|
|
15
15
|
e3 = e3 || {};
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
let
|
|
16
|
+
const t2 = {};
|
|
17
|
+
t2.defaultValue2 = e3.defaultValue2, t2.prop2 = e3.prop2, e3.format && (t2.format = e3.format);
|
|
18
|
+
let a2 = e3.type ? e3.type : "date";
|
|
19
19
|
if (e3.dateScope) {
|
|
20
20
|
let l2 = "daterange";
|
|
21
|
-
"datetime" ==
|
|
22
|
-
} else
|
|
23
|
-
e3.timestamp ?
|
|
21
|
+
"datetime" == a2 ? l2 = "datetimerange" : "week" == a2 ? l2 = "week" : "month" == a2 ? l2 = "monthrange" : "year" == a2 ? l2 = "year" : "time" == a2 ? l2 = "timerange" : "month" == a2 && (l2 = "monthrange"), t2.dateType = l2, e3.endPlaceholder && (t2.endPlaceholder = e3.endPlaceholder);
|
|
22
|
+
} else t2.dateType = a2;
|
|
23
|
+
e3.timestamp ? t2.valueFormat = "x" : (t2.valueFormat = e3.valueFormat, t2.valueFormat || ("datetime" === a2 ? t2.valueFormat = "YYYY-MM-DD HH:mm:ss" : "year" === a2 ? t2.valueFormat = "YYYY" : "month" === a2 ? t2.valueFormat = "YYYY-MM" : "time" === a2 ? t2.valueFormat = "hh:mm:ss" : ("date" === a2 || "week" === a2) && (t2.valueFormat = "YYYY-MM-DD"))), t2.sourceType = a2, t2.dateScopeDetails = e3.dateScopeDetails, e3.dateScopeDetails && e3.dateScopeDetails.includes("custom") && e3.scopeFunc && (t2.shortcutsFunc = e3.scopeFunc), Object.assign(x.value, t2);
|
|
24
24
|
}(), F2.configure.runtime.props = x.value, F2.configure.runtime.titleExceedStyle = w.value;
|
|
25
|
-
}, { immediate: true }), (
|
|
25
|
+
}, { immediate: true }), (t2, a2) => {
|
|
26
26
|
const g2 = l("el-icon"), y2 = l("el-input"), F3 = l("el-form-item");
|
|
27
|
-
return u(), r(F3, { required: x.value.required, class: i([S.value, "remove-formLabel-formContent-blankStyle"]), "label-width": x.value.labelWidth, style: o(k.value) }, { label: n(() => [x.value.tittleShow ? (u(), s("div", { key: 0, style: o({ ...D.value, ...w.value, "padding-right": "12px" }) }, [x.value.prefixType ? (u(), r(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (u(), s(p, { key: 1 }, [f(v(x.value.title), 1)], 64))], 4)) :
|
|
27
|
+
return u(), r(F3, { required: x.value.required, class: i([S.value, "remove-formLabel-formContent-blankStyle"]), "label-width": x.value.labelWidth, style: o(k.value) }, { label: n(() => [x.value.tittleShow ? (u(), s("div", { key: 0, style: o({ ...D.value, ...w.value, "padding-right": "12px" }) }, [x.value.prefixType ? (u(), r(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (u(), s(p, { key: 1 }, [f(v(x.value.title), 1)], 64))], 4)) : d("", true)]), default: n(() => [m(y2, { readonly: "", size: x.value.size, clearable: x.value.clearable, placeholder: x.value.placeholder, modelValue: x.value.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => x.value.value = e3) }, { prefix: n(() => ["timerange" == x.value.dateType || "time" == x.value.dateType ? (u(), r(g2, { key: 0 }, { default: n(() => [m(c(Y))]), _: 1 })) : (u(), r(g2, { key: 1 }, { default: n(() => [m(c(b))]), _: 1 }))]), _: 1 }, 8, ["size", "clearable", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
28
28
|
};
|
|
29
29
|
} });
|
|
30
30
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as l, resolveComponent as i, createBlock as r, openBlock as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as l, resolveComponent as i, createBlock as r, openBlock as o, normalizeStyle as u, normalizeClass as a, withCtx as p, createVNode as s, unref as n, createElementBlock as d, createCommentVNode as c, Fragment as m, createTextVNode as f, toDisplayString as v } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as g, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { OrganizationInput as S } from "agilebuilder-ui";
|
|
4
4
|
import b from "../common/title-suffix-element.vue.js";
|
|
@@ -25,7 +25,7 @@ const h = e({ __name: "depttree-design", props: { pageDesign: {}, configure: {}
|
|
|
25
25
|
}(), h2.configure.runtime.props = z.value, h2.configure.runtime.titleExceedStyle = k.value;
|
|
26
26
|
}, { immediate: true }), (e3, t2) => {
|
|
27
27
|
const l2 = i("el-form-item");
|
|
28
|
-
return
|
|
28
|
+
return o(), r(l2, { required: z.value.required, class: a([C.value, "remove-formLabel-formContent-blankStyle"]), "label-width": z.value.labelWidth, style: u(T.value) }, { label: p(() => [z.value.tittleShow ? (o(), d("div", { key: 0, style: u({ ...x.value, ...k.value, "padding-right": "12px" }) }, [z.value.prefixType ? (o(), r(b, { key: 0, configure: e3.configure }, null, 8, ["configure"])) : (o(), d(m, { key: 1 }, [f(v(z.value.title), 1)], 64))], 4)) : c("", true)]), default: p(() => [s(n(S), { multiple: z.value.multiple, treeType: z.value.treeType, size: z.value.size, value: F.value.value, "onUpdate:value": t2[0] || (t2[0] = (e4) => F.value.value = e4), models: F.value, openTree: false, fields: [], placeholder: "请选择", separator: ",", onSetValue: j }, null, 8, ["multiple", "treeType", "size", "value", "models"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
29
29
|
};
|
|
30
30
|
} });
|
|
31
31
|
export {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as i, resolveComponent as o, createBlock as t, openBlock as a, normalizeStyle as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as i, resolveComponent as o, createBlock as t, openBlock as a, normalizeStyle as r, normalizeClass as u, withCtx as p, createVNode as s, unref as n, createElementBlock as m, createCommentVNode as c, toDisplayString as d } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as f, caculateComponentProps as v } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { FsUploadNew as g } from "agilebuilder-ui";
|
|
4
4
|
import "@element-plus/icons-vue";
|
|
5
5
|
const y = e({ __name: "fileupload-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
6
|
const y2 = e2;
|
|
7
7
|
y2.configure.runtime || (y2.configure.runtime = {});
|
|
8
|
-
const
|
|
8
|
+
const h = l({}), b = l(""), C = l({}), w = l({}), S = l({});
|
|
9
9
|
return i(y2.configure.style, () => {
|
|
10
|
-
f(y2.configure,
|
|
10
|
+
f(y2.configure, h, b, C), y2.configure.runtime.style = h.value, y2.configure.runtime.class = b.value, y2.configure.runtime.headerStyle = C.value;
|
|
11
11
|
}, { immediate: true }), i(y2.configure.props, () => {
|
|
12
12
|
v(y2.configure, w, S), function() {
|
|
13
13
|
let e3 = y2.configure.props ? y2.configure.props : {};
|
|
@@ -16,7 +16,7 @@ const y = e({ __name: "fileupload-design", props: { pageDesign: {}, configure: {
|
|
|
16
16
|
}(), y2.configure.runtime.props = w.value, y2.configure.runtime.titleExceedStyle = S.value;
|
|
17
17
|
}, { immediate: true }), (e3, l2) => {
|
|
18
18
|
const i2 = o("el-form-item");
|
|
19
|
-
return a(), t(i2, { required: !!w.value.required, class:
|
|
19
|
+
return a(), t(i2, { required: !!w.value.required, class: u([b.value, "remove-formLabel-formContent-blankStyle"]), "label-width": w.value.labelWidth, style: r(h.value) }, { label: p(() => [w.value.tittleShow ? (a(), m("div", { key: 0, style: r({ ...C.value, ...S.value, "padding-right": "12px" }) }, d(w.value.title ? w.value.title : "Files"), 5)) : c("", true)]), default: p(() => [s(n(g), { style: { width: "100%" }, displayType: w.value.displayType, accept: w.value.accept, multiple: w.value.multiple, placeholder: w.value.placeholder, limit: w.value.limit, "limit-file-size": w.value.limitFileSize, "file-info": e3.fileInfo, "file-list": e3.fileList, "on-success": e3.onSuccess, "on-remove": e3.onRemove, openFsUpload: false, "before-upload": e3.beforeUpload }, null, 8, ["displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "file-info", "file-list", "on-success", "on-remove", "before-upload"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
20
20
|
};
|
|
21
21
|
} });
|
|
22
22
|
export {
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-design.vue2.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as u, resolveComponent as i, createElementBlock as t, openBlock as n, createVNode as o, normalizeStyle as r, normalizeClass as a, withCtx as s, createCommentVNode as m, createBlock as c, Fragment as p, createTextVNode as d, toDisplayString as v } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as f, caculateComponentProps as g } from "../../../../utils/form-design-util.js";
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
return
|
|
9
|
-
f(
|
|
10
|
-
}, { immediate: true }),
|
|
11
|
-
g(
|
|
12
|
-
let e3 =
|
|
13
|
-
const l2 = e3.base ? e3.base : {},
|
|
14
|
-
void 0 !== l2.min && null !== l2.min && (
|
|
15
|
-
}(),
|
|
16
|
-
}, { immediate: true }), (l2,
|
|
17
|
-
const f2 =
|
|
18
|
-
return n(), t("div", null, [o(g2, { required: B.value.required, class: a([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": B.value.labelWidth, style: r(
|
|
3
|
+
import h from "../common/title-suffix-element.vue.js";
|
|
4
|
+
const y = e({ __name: "input-number-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
5
|
+
const y2 = e2;
|
|
6
|
+
y2.configure.runtime || (y2.configure.runtime = {});
|
|
7
|
+
const b = l({}), x = l(""), w = l({}), B = l({}), V = l({});
|
|
8
|
+
return u(y2.configure.style, () => {
|
|
9
|
+
f(y2.configure, b, x, w), y2.configure.runtime.style = b.value, y2.configure.runtime.class = x.value, y2.configure.runtime.headerStyle = w.value;
|
|
10
|
+
}, { immediate: true }), u(y2.configure.props, () => {
|
|
11
|
+
g(y2.configure, B, V), function() {
|
|
12
|
+
let e3 = y2.configure.props ? y2.configure.props : {};
|
|
13
|
+
const l2 = e3.base ? e3.base : {}, u2 = {};
|
|
14
|
+
void 0 !== l2.min && null !== l2.min && (u2.min = l2.min), void 0 !== l2.max && null !== l2.max && (u2.max = l2.max), void 0 !== l2.step && null !== l2.step && (u2.step = l2.step), void 0 !== l2.precision && null !== l2.precision && (u2.precision = l2.precision), void 0 !== l2.showButton && null !== l2.showButton && 0 == l2.showButton && (u2.showButton = false), Object.assign(B.value, u2);
|
|
15
|
+
}(), y2.configure.runtime.props = B.value, y2.configure.runtime.titleExceedStyle = V.value;
|
|
16
|
+
}, { immediate: true }), (l2, u2) => {
|
|
17
|
+
const f2 = i("el-input-number"), g2 = i("el-form-item");
|
|
18
|
+
return n(), t("div", null, [o(g2, { required: B.value.required, class: a([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": B.value.labelWidth, style: r(b.value) }, { label: s(() => [B.value.tittleShow ? (n(), t("div", { key: 0, style: r({ ...w.value, ...V.value, "padding-right": "12px" }) }, [B.value.prefixType ? (n(), c(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (n(), t(p, { key: 1 }, [d(v(B.value.title), 1)], 64))], 4)) : m("", true)]), default: s(() => [o(f2, { readonly: "", controls: B.value.showButton, size: B.value.size, placeholder: B.value.placeholder, modelValue: B.value.defaultValue, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => B.value.defaultValue = e3), precision: B.value.precision, step: B.value.step, min: B.value.min, max: B.value.max }, null, 8, ["controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
|
|
19
19
|
};
|
|
20
20
|
} });
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
y as default
|
|
23
23
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent as e, ref as u, watch as l, resolveComponent as o, createBlock as n, openBlock as a, normalizeStyle as i, normalizeClass as r, withCtx as c, createVNode as
|
|
2
|
-
import { caculateDetailComponentStyle as
|
|
1
|
+
import { defineComponent as e, ref as u, watch as l, resolveComponent as o, createBlock as n, openBlock as a, normalizeStyle as i, normalizeClass as r, withCtx as c, createVNode as p, createSlots as t, createCommentVNode as s, createTextVNode as f, unref as v, toDisplayString as y, createElementBlock as m, Fragment as T } from "vue";
|
|
2
|
+
import { caculateDetailComponentStyle as d, caculateComponentProps as I } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import { SuperIcon as g } from "agilebuilder-ui";
|
|
4
4
|
import x from "../common/title-suffix-element.vue.js";
|
|
5
5
|
const V = e({ __name: "inputtext-design", props: { pageDesign: {}, configure: {} }, setup(e2) {
|
|
6
6
|
const V2 = e2;
|
|
7
7
|
V2.configure.props || (V2.configure.props = {}), V2.configure.runtime || (V2.configure.runtime = {});
|
|
8
|
-
const
|
|
8
|
+
const h = u({}), b = u(""), k = u({}), w = u({}), S = u({});
|
|
9
9
|
return l(V2.configure.style, () => {
|
|
10
|
-
|
|
10
|
+
d(V2.configure, h, b, k), V2.configure.runtime.style = h.value, V2.configure.runtime.class = b.value, V2.configure.runtime.headerStyle = k.value;
|
|
11
11
|
}, { immediate: true }), l(V2.configure.props, () => {
|
|
12
12
|
I(V2.configure, w, S), function() {
|
|
13
13
|
let e3 = V2.configure.props ? V2.configure.props : {};
|
|
@@ -17,8 +17,8 @@ const V = e({ __name: "inputtext-design", props: { pageDesign: {}, configure: {}
|
|
|
17
17
|
(l2.preIconType || l2.preText || l2.sufIconType || l2.sufText) && (u2.preIconType = l2.preIconType, u2.preIconValue = l2.preIconValue, u2.preText = l2.preText, u2.sufIconType = l2.sufIconType, u2.sufIconValue = l2.sufIconValue, u2.sufText = l2.sufText, u2.iconPosition = l2.position), Object.assign(w.value, u2);
|
|
18
18
|
}(), V2.configure.runtime.props = w.value, V2.configure.runtime.titleExceedStyle = S.value;
|
|
19
19
|
}, { immediate: true }), (e3, u2) => {
|
|
20
|
-
const l2 = o("el-input"),
|
|
21
|
-
return a(), n(
|
|
20
|
+
const l2 = o("el-input"), d2 = o("el-form-item");
|
|
21
|
+
return a(), n(d2, { required: !!w.value.required, class: r([b.value, "remove-formLabel-formContent-blankStyle"]), "label-width": w.value.labelWidth, style: i(h.value) }, { label: c(() => [w.value.tittleShow ? (a(), m("div", { key: 0, style: i({ ...k.value, ...S.value, "padding-right": "12px" }) }, [w.value.prefixType ? (a(), n(x, { key: 0, configure: e3.configure }, null, 8, ["configure"])) : (a(), m(T, { key: 1 }, [f(y(w.value.title), 1)], 64))], 4)) : s("", true)]), default: c(() => [p(l2, { readonly: "", size: w.value.size, clearable: w.value.clearable, placeholder: w.value.placeholder, maxlength: w.value.maxLength, "show-word-limit": w.value.showInputNum, modelValue: w.value.value, "onUpdate:modelValue": u2[0] || (u2[0] = (e4) => w.value.value = e4) }, t({ _: 2 }, ["outer" != w.value.iconPosition && (w.value.preIconType && w.value.preIconValue || w.value.preText) ? { name: "prefix", fn: c(() => [w.value.preIconType && w.value.preIconValue ? (a(), n(v(g), { key: 0, iconType: w.value.preIconType, iconValue: w.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : s("", true), f(" " + y(w.value.preText), 1)]), key: "0" } : void 0, "outer" == w.value.iconPosition && (w.value.preIconType && w.value.preIconValue || w.value.preText) ? { name: "prepend", fn: c(() => [w.value.preIconType && w.value.preIconValue ? (a(), n(v(g), { key: 0, iconType: w.value.preIconType, iconValue: w.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : s("", true), f(" " + y(w.value.preText), 1)]), key: "1" } : void 0, "outer" != w.value.iconPosition ? { name: "suffix", fn: c(() => [w.value.sufIconType && w.value.sufIconValue ? (a(), n(v(g), { key: 0, iconType: w.value.sufIconType, iconValue: w.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : s("", true), f(" " + y(w.value.sufText), 1)]), key: "2" } : void 0, "outer" == w.value.iconPosition && (w.value.sufIconType && w.value.sufIconValue || w.value.sufText) ? { name: "append", fn: c(() => [w.value.sufIconType && w.value.sufIconValue ? (a(), n(v(g), { key: 0, iconType: w.value.sufIconType, iconValue: w.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : s("", true), f(" " + y(w.value.sufText), 1)]), key: "3" } : void 0]), 1032, ["size", "clearable", "placeholder", "maxlength", "show-word-limit", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
22
22
|
};
|
|
23
23
|
} });
|
|
24
24
|
export {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as e, ref as
|
|
2
|
-
import { caculateDetailComponentStyle as
|
|
1
|
+
import { defineComponent as e, ref as t, watch as l, resolveComponent as i, createBlock as u, openBlock as n, normalizeStyle as a, normalizeClass as r, withCtx as o, createVNode as s, createTextVNode as f, toDisplayString as p, createElementBlock as d, createCommentVNode as c } from "vue";
|
|
2
|
+
import { caculateDetailComponentStyle as m, caculateComponentProps as v } from "../../../../utils/form-design-util.js";
|
|
3
3
|
const g = e({ __name: "link-design", props: { configure: {} }, setup(e2) {
|
|
4
4
|
const g2 = e2;
|
|
5
5
|
g2.configure.runtime || (g2.configure.runtime = {});
|
|
6
|
-
const
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
}, { immediate: true }),
|
|
10
|
-
|
|
6
|
+
const y = t({}), b = t(""), h = t({}), k = t({});
|
|
7
|
+
return l(g2.configure.style, () => {
|
|
8
|
+
m(g2.configure, y, b, h), g2.configure.runtime.style = y.value, g2.configure.runtime.class = b.value, g2.configure.runtime.headerStyle = h.value;
|
|
9
|
+
}, { immediate: true }), l(g2.configure.props, () => {
|
|
10
|
+
v(g2.configure, k), function() {
|
|
11
11
|
let e3 = g2.configure.props ? g2.configure.props : {};
|
|
12
|
-
const
|
|
13
|
-
|
|
12
|
+
const t2 = e3.base ? e3.base : {}, l2 = {};
|
|
13
|
+
t2.type && (l2.type = t2.type), l2.underline = t2.underline, t2.formatting ? (l2.formatting = t2.formatting, l2.value = t2.formatting) : t2.prop ? l2.value = t2.prop : t2.defaultValue ? l2.value = t2.defaultValue : l2.value = "链接", t2.linkTips && (l2.tooltip = t2.linkTips), Object.assign(k.value, l2);
|
|
14
14
|
}(), g2.configure.runtime.props = k.value;
|
|
15
|
-
}, { immediate: true }), (e3,
|
|
16
|
-
const
|
|
17
|
-
return
|
|
15
|
+
}, { immediate: true }), (e3, t2) => {
|
|
16
|
+
const l2 = i("el-link"), m2 = i("el-tooltip"), v2 = i("el-form-item");
|
|
17
|
+
return n(), u(v2, { class: r([b.value, "remove-formLabel-formContent-blankStyle"]), "label-width": k.value.labelWidth, style: a(y.value) }, { label: o(() => [k.value.tittleShow ? (n(), d("div", { key: 0, style: a({ ...h.value, "padding-right": "12px" }) }, p(k.value.title), 5)) : c("", true)]), default: o(() => [s(m2, { disabled: !k.value.tooltip, content: k.value.tooltip }, { default: o(() => [s(l2, { type: k.value.type, underline: k.value.underline, href: k.value.linkPage }, { default: o(() => [f(p(k.value.value), 1)]), _: 1 }, 8, ["type", "underline", "href"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
|
|
18
18
|
};
|
|
19
19
|
} });
|
|
20
20
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as u, onUnmounted as a, resolveComponent as t, createBlock as i, openBlock as r, normalizeStyle as o, normalizeClass as n, withCtx as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as u, onUnmounted as a, resolveComponent as t, createBlock as i, openBlock as r, normalizeStyle as o, normalizeClass as n, withCtx as v, createVNode as s, createElementBlock as c, Fragment as d, renderList as m, createCommentVNode as f, toDisplayString as g } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as p, removComponentOptionConfigs as b, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
|
|
3
3
|
const h = e({ __name: "radio-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
4
4
|
const h2 = e2;
|
|
@@ -19,7 +19,7 @@ const h = e({ __name: "radio-design", props: { configure: { type: Object, requir
|
|
|
19
19
|
V();
|
|
20
20
|
}), (e3, l2) => {
|
|
21
21
|
const u2 = t("el-radio"), a2 = t("el-radio-group"), p2 = t("el-form-item");
|
|
22
|
-
return r(), i(p2, { required: w.value.required, class: n([_.value, "remove-formLabel-formContent-blankStyle"]), "label-width": w.value.labelWidth, style: o(S.value) }, { label:
|
|
22
|
+
return r(), i(p2, { required: w.value.required, class: n([_.value, "remove-formLabel-formContent-blankStyle"]), "label-width": w.value.labelWidth, style: o(S.value) }, { label: v(() => [w.value.tittleShow ? (r(), c("div", { key: 0, style: o({ ...k.value, ...x.value, "padding-right": "12px" }) }, g(w.value.title), 5)) : f("", true)]), default: v(() => [s(a2, { size: w.value.size, modelValue: w.value.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w.value.value = e4) }, { default: v(() => [(r(true), c(d, null, m(q.value, (e4) => (r(), i(u2, { key: e4.value, value: e4.value, label: e4.label }, null, 8, ["value", "label"]))), 128))]), _: 1 }, 8, ["size", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, watch as u, resolveComponent as
|
|
1
|
+
import { defineComponent as e, ref as l, watch as u, resolveComponent as r, createElementBlock as t, openBlock as i, createVNode as a, normalizeStyle as o, normalizeClass as n, withCtx as m, createCommentVNode as s, createBlock as d, Fragment as v, createTextVNode as c, toDisplayString as f } from "vue";
|
|
2
2
|
import { caculateDetailComponentStyle as p, caculateComponentProps as g } from "../../../../utils/form-design-util.js";
|
|
3
3
|
import h from "../common/title-suffix-element.vue.js";
|
|
4
4
|
const y = e({ __name: "textarea-design", props: { configure: { type: Object, required: true } }, setup(e2) {
|
|
5
5
|
const y2 = e2;
|
|
6
6
|
y2.configure.runtime || (y2.configure.runtime = {});
|
|
7
|
-
const w = l({}),
|
|
7
|
+
const w = l({}), x = l(""), b = l({}), k = l({}), q = l({});
|
|
8
8
|
return u(y2.configure.style, () => {
|
|
9
|
-
p(y2.configure, w,
|
|
9
|
+
p(y2.configure, w, x, b), y2.configure.runtime.style = w.value, y2.configure.runtime.class = x.value, y2.configure.runtime.headerStyle = b.value;
|
|
10
10
|
}, { immediate: true }), u(y2.configure.props, () => {
|
|
11
11
|
g(y2.configure, k, q), y2.configure.runtime.props = k.value, y2.configure.runtime.titleExceedStyle = q.value;
|
|
12
12
|
}, { immediate: true }), (l2, u2) => {
|
|
13
|
-
const p2 =
|
|
14
|
-
return i(),
|
|
13
|
+
const p2 = r("el-input"), g2 = r("el-form-item");
|
|
14
|
+
return i(), t("div", null, [a(g2, { required: k.value.required, class: n([x.value, "remove-formLabel-formContent-blankStyle"]), "label-width": k.value.labelWidth, style: o(w.value) }, { label: m(() => [k.value.tittleShow ? (i(), t("div", { key: 0, style: o({ ...b.value, ...q.value, "padding-right": "12px" }) }, [k.value.prefixType ? (i(), d(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (i(), t(v, { key: 1 }, [c(f(k.value.title), 1)], 64))], 4)) : s("", true)]), default: m(() => [a(p2, { readonly: "", size: k.value.size, placeholder: k.value.placeholder, modelValue: k.value.value, "onUpdate:modelValue": u2[0] || (u2[0] = (e3) => k.value.value = e3), rows: k.value.rows ? k.value.rows : 2, maxlength: k.value.maxLength, "show-word-limit": k.value.showInputNum, type: "textarea" }, null, 8, ["size", "placeholder", "modelValue", "rows", "maxlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
|
|
15
15
|
};
|
|
16
16
|
} });
|
|
17
17
|
export {
|