super-page-designer 2.2.76 → 2.2.77-sit3
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-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 +1 -1
- 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 +53 -53
- 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 +59 -59
- 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 +11 -11
- 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 +9 -9
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +14 -11
- 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 +4 -4
- 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 +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/common/hyperlink-mult-config.vue.js +12 -12
- 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 +9 -20
- 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/style.css +1826 -736
- package/package.json +4 -4
- package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
|
@@ -3,8 +3,8 @@ import { Search as g } from "@element-plus/icons-vue";
|
|
|
3
3
|
import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
|
|
4
4
|
import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import v from "../../common/common-attr-size.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
6
|
+
import y from "../../common/common-variable-bind.vue.js";
|
|
7
|
+
import h from "./depttree-autoset.vue.js";
|
|
8
8
|
import { OrganizationInput as S } from "agilebuilder-ui";
|
|
9
9
|
import U from "../../common/common-function-code.vue.js";
|
|
10
10
|
import x from "../common/title-suffix.vue.js";
|
|
@@ -29,7 +29,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
29
29
|
}
|
|
30
30
|
return D.configure.isTable && (C.value = true), (l2, _2) => {
|
|
31
31
|
const z3 = a("el-option"), D2 = a("el-select"), q2 = a("el-form-item"), E = a("el-input"), G = a("el-radio"), H = a("el-radio-group"), I = a("el-input-number"), J = a("el-collapse-item"), K = a("el-checkbox"), N = a("el-col"), P = a("el-button"), Q = a("el-collapse"), R = a("el-form");
|
|
32
|
-
return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(
|
|
32
|
+
return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": L }, null, 8, ["modelValue"]))]), _: 1 })), s(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[15] || (_2[15] = [c("显示")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[16] || (_2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(s(q2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(T, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "block" }, { default: u(() => _2[17] || (_2[17] = [c("换行")])), _: 1 }), s(G, { value: "inline" }, { default: u(() => _2[18] || (_2[18] = [c("不换行")])), _: 1 }), s(G, { value: "omit" }, { default: u(() => _2[19] || (_2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(q2, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[20] || (_2[20] = [c("是")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[21] || (_2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(s(q2, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), s(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大")])), _: 1 }), s(G, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中")])), _: 1 }), s(G, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通")])), _: 1 }), s(G, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用")])), _: 1 }), s(G, { value: "hidden" }, { default: u(() => _2[27] || (_2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(J, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [s(H, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.deptScope = l3) }, { default: u(() => [s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "field" }, { default: u(() => _2[28] || (_2[28] = [c("指定变量")])), _: 1 })]), default: u(() => [s(y, { isTable: e2.configure.isTable, showLabel: "field" != e2.configure.props.base.deptScope, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": A }, null, 8, ["isTable", "showLabel", "modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "depts" }, { default: u(() => _2[29] || (_2[29] = [c("固定部门")])), _: 1 })]), default: u(() => [s(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": _2[11] || (_2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: B }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), (t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), i(s(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(J, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", j, [s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(K, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(N, { span: 8 }, { default: u(() => [s(K, { label: "自定义", value: "custom" })]), _: 1 }), s(N, { span: 14 }, { default: u(() => [s(P, { type: "default" }, { default: u(() => _2[30] || (_2[30] = [c("自定义逻辑")])), _: 1 }), s(P, { type: "default", icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), C.value ? d("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
33
33
|
};
|
|
34
34
|
} });
|
|
35
35
|
export {
|
package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js
CHANGED
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return j.configure.isTable && (T.value = true), (l2, V2) => {
|
|
21
21
|
const k3 = a("el-option"), j2 = a("el-select"), z2 = a("el-form-item"), N = a("el-input"), O = a("el-radio"), A = a("el-radio-group"), D = a("el-input-number"), B = a("el-collapse-item"), E = a("el-radio-button"), F = a("el-text"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
|
|
22
|
-
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 }), i(O, { value: "hidden" }, { default: u(() => V2[19] || (V2[19] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[20] || (V2[20] = [f("格式如:.doc,.docx,.xml...")])), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", w, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I,
|
|
22
|
+
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 }), i(O, { value: "hidden" }, { default: u(() => V2[19] || (V2[19] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[20] || (V2[20] = [f("格式如:.doc,.docx,.xml...")])), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", w, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => V2[21] || (V2[21] = [f("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js
CHANGED
|
@@ -20,7 +20,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
|
|
|
20
20
|
}
|
|
21
21
|
return j.configure.isTable && (W.value = true), (l2, V2) => {
|
|
22
22
|
const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
|
|
23
|
-
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H,
|
|
23
|
+
return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, { type: "default" }, { default: t(() => V2[30] || (V2[30] = [c("自定义逻辑")])), _: 1 }), i(H, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
24
24
|
};
|
|
25
25
|
} });
|
|
26
26
|
export {
|
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as o, withCtx as t, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as p, Fragment as d, renderList as f, unref as m, createTextVNode as c, vShow as g } from "vue";
|
|
2
2
|
import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as v } from "../../../../utils/form-design-util.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import _ from "../common/verification.vue.js";
|
|
5
|
+
import V from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import y from "../common/pre-suffix.vue.js";
|
|
7
7
|
import x from "../common/bar-code-rule.vue.js";
|
|
8
8
|
import h from "../../common/common-variable-bind.vue.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
9
|
+
import U from "../../common/common-function-code.vue.js";
|
|
10
|
+
import k from "../common/suffixmodule.vue.js";
|
|
11
|
+
import S from "../common/title-suffix.vue.js";
|
|
12
12
|
import j from "../../common/common-i18n-key-input.vue.js";
|
|
13
13
|
const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "inputtext-attr-base", props: { configure: { type: Object, required: true, default: () => {
|
|
14
14
|
} }, pageDesign: { type: Object, default: () => {
|
|
15
15
|
} } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
|
|
16
|
-
const L = e2, W = l(L.configure.name),
|
|
16
|
+
const L = e2, W = l(L.configure.name), O = T2;
|
|
17
17
|
L.configure.props.base || (L.configure.props.base = { prop: "" }), L.configure.props.preSuffix || (L.configure.props.preSuffix = {}), L.configure.props.prefix || (L.configure.props.prefix = {}), L.configure.props.scan || (L.configure.props.scan = {});
|
|
18
|
-
const
|
|
19
|
-
function
|
|
20
|
-
v(L.configure, e3,
|
|
18
|
+
const C = l(false);
|
|
19
|
+
function I(e3) {
|
|
20
|
+
v(L.configure, e3, O);
|
|
21
21
|
}
|
|
22
|
-
L.configure.isTable && (
|
|
23
|
-
const
|
|
22
|
+
L.configure.isTable && (C.value = true);
|
|
23
|
+
const N = l(["base"]), q = l(false);
|
|
24
24
|
function A() {
|
|
25
25
|
q.value = false;
|
|
26
26
|
}
|
|
@@ -34,8 +34,8 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
|
|
|
34
34
|
L.configure.props.base.defaultValue = e3;
|
|
35
35
|
}
|
|
36
36
|
return (l2, v2) => {
|
|
37
|
-
const T3 = a("el-option"), L2 = a("el-select"),
|
|
38
|
-
return
|
|
37
|
+
const T3 = a("el-option"), L2 = a("el-select"), O2 = a("el-form-item"), E = a("el-input"), F = a("el-radio"), G = a("el-radio-group"), H = a("el-input-number"), J = a("el-switch"), K = a("el-collapse-item"), M = a("el-button"), Q = a("el-collapse"), X = a("el-form");
|
|
38
|
+
return o(), u(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: N.value, "onUpdate:modelValue": v2[14] || (v2[14] = (e3) => N.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(K, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", w, [i(O2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(L2, { modelValue: W.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => W.value = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [(o(true), p(d, null, f(m(b)(), (e3) => (o(), u(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": R }, null, 8, ["modelValue"]))]), _: 1 })), i(O2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? r("", true) : (o(), u(O2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[15] || (v2[15] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[16] || (v2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(O2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(H, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "block" }, { default: t(() => v2[17] || (v2[17] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[18] || (v2[18] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[19] || (v2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(O2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[20] || (v2[20] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [i(J, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "large" }, { default: t(() => v2[22] || (v2[22] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[23] || (v2[23] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[24] || (v2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "default" }, { default: t(() => v2[25] || (v2[25] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[26] || (v2[26] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[27] || (v2[27] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[28] || (v2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(O2, { label: "是否开启", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.enable, "onUpdate:modelValue": v2[11] || (v2[11] = (l3) => e2.configure.props.scan.enable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[29] || (v2[29] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[30] || (v2[30] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "自动打开扫描", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.autoOpen, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.scan.autoOpen = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[31] || (v2[31] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[32] || (v2[32] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[13] || (v2[13] = (e3) => q.value = true) }, { default: t(() => v2[33] || (v2[33] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(S, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(y, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), s(i(K, { title: "后缀图标跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", D, [i(k, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (o(), u(_, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), C.value ? r("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (o(), u(x, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
39
39
|
};
|
|
40
40
|
} });
|
|
41
41
|
export {
|
|
@@ -19,7 +19,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return w.configure.isTable && (T.value = true), (l2, V2) => {
|
|
21
21
|
const U3 = a("el-option"), w2 = a("el-select"), z2 = a("el-form-item"), A = a("el-input"), C = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
|
|
22
|
-
return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => V2[10] || (V2[10] = [f("显示")])), _: 1 }), i(C, { value: false }, { default: u(() => V2[11] || (V2[11] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => V2[12] || (V2[12] = [f("换行")])), _: 1 }), i(C, { value: "inline" }, { default: u(() => V2[13] || (V2[13] = [f("不换行")])), _: 1 }), i(C, { value: "omit" }, { default: u(() => V2[14] || (V2[14] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => V2[15] || (V2[15] = [f("普通")])), _: 1 }), i(C, { value: "readonly" }, { default: u(() => V2[16] || (V2[16] = [f("只读")])), _: 1 }), i(C, { value: "hidden" }, { default: u(() => V2[17] || (V2[17] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H,
|
|
22
|
+
return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => V2[10] || (V2[10] = [f("显示")])), _: 1 }), i(C, { value: false }, { default: u(() => V2[11] || (V2[11] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => V2[12] || (V2[12] = [f("换行")])), _: 1 }), i(C, { value: "inline" }, { default: u(() => V2[13] || (V2[13] = [f("不换行")])), _: 1 }), i(C, { value: "omit" }, { default: u(() => V2[14] || (V2[14] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => V2[15] || (V2[15] = [f("普通")])), _: 1 }), i(C, { value: "readonly" }, { default: u(() => V2[16] || (V2[16] = [f("只读")])), _: 1 }), i(C, { value: "hidden" }, { default: u(() => V2[17] || (V2[17] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H, { type: "default" }, { default: u(() => V2[18] || (V2[18] = [f("自定义逻辑")])), _: 1 }), i(H, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, createCommentVNode as s, createElementVNode as d, withDirectives as
|
|
1
|
+
import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, createCommentVNode as s, createElementVNode as d, withDirectives as r, createElementBlock as n, Fragment as m, renderList as p, unref as c, createTextVNode as f, vShow as b } from "vue";
|
|
2
2
|
import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import { componentNameChange as V } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _ from "../../common/common-attr-size.vue.js";
|
|
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8p
|
|
|
19
19
|
}
|
|
20
20
|
return w.configure.isTable && (z.value = true), (l2, V2) => {
|
|
21
21
|
const k3 = a("el-option"), w2 = a("el-select"), j2 = a("el-form-item"), q = a("el-input"), A = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-color-picker"), F = a("el-collapse-item"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
|
|
22
|
-
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true),
|
|
22
|
+
return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), n(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => V2[17] || (V2[17] = [f("显示")])), _: 1 }), i(A, { value: false }, { default: u(() => V2[18] || (V2[18] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [f("换行")])), _: 1 }), i(A, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [f("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [f("大")])), _: 1 }), i(A, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [f("中")])), _: 1 }), i(A, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [f("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [f("禁用")])), _: 1 }), i(A, { value: "hidden" }, { default: u(() => V2[27] || (V2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => V2[28] || (V2[28] = [f("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
|
|
23
23
|
};
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
@@ -7,8 +7,10 @@ interface MyProps {
|
|
|
7
7
|
indexObj: any;
|
|
8
8
|
showSelectedClass: boolean;
|
|
9
9
|
errorBlank: boolean;
|
|
10
|
+
isTableBtnLink: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MyProps>, {
|
|
13
|
+
isTableBtnLink: boolean;
|
|
12
14
|
showSelectedClass: boolean;
|
|
13
15
|
errorBlank: boolean;
|
|
14
16
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -17,6 +19,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
19
|
onCustomAttrWidget: (...args: any[]) => void;
|
|
18
20
|
onDelete: (...args: any[]) => void;
|
|
19
21
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MyProps>, {
|
|
22
|
+
isTableBtnLink: boolean;
|
|
20
23
|
showSelectedClass: boolean;
|
|
21
24
|
errorBlank: boolean;
|
|
22
25
|
}>>> & Readonly<{
|
|
@@ -27,6 +30,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
30
|
}>, {
|
|
28
31
|
errorBlank: boolean;
|
|
29
32
|
showSelectedClass: boolean;
|
|
33
|
+
isTableBtnLink: boolean;
|
|
30
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
35
|
export default _default;
|
|
32
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,140 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import { caculateCommonStyle as W } from "../../utils/container-design-util.js";
|
|
6
|
-
import { PageDimensions as O } from "../../utils/interfaces/page-design-types.js";
|
|
7
|
-
import { batchUpdatePermissions as k, batchRemovePermissions as S } from "../../utils/page-permission-util.js";
|
|
8
|
-
import { watchValidate as P, getRefrencePropMap as M, removePropFromRefrencePropMap as w } from "../../utils/form-design-util.js";
|
|
9
|
-
import { usePageContextStore as U } from "../../../../stores/page-store.js";
|
|
10
|
-
import { getListCode as T } from "super-page-runtime";
|
|
11
|
-
import { getFormPropName as _ } from "../../utils/page-helper-util.js";
|
|
12
|
-
import { updateServiceInputs as B } from "../../utils/chart-design-util.js";
|
|
13
|
-
const I = { class: "amb-widget-item-tool" }, R = e({ __name: "object-design", props: { pageDesign: {}, configure: {}, selectWidget: {}, indexObj: {}, showSelectedClass: { type: Boolean, default: true }, errorBlank: { type: Boolean, default: false } }, emits: ["onSelectWidget", "onCustomAttrWidget", "onCopy", "onDelete"], setup(e2, { emit: R2 }) {
|
|
14
|
-
var _a, _b, _c, _d;
|
|
15
|
-
const q = U(), z = e2;
|
|
16
|
-
if ("table" === z.configure.name && z.pageDesign.tableRuntimes && z.pageDesign.tableRuntimes[z.configure.uuid]) {
|
|
17
|
-
const e3 = z.pageDesign.tableRuntimes[z.configure.uuid].configure, i2 = JSON.parse(e3);
|
|
18
|
-
Object.assign(z.configure, i2), delete z.pageDesign.tableRuntimes[z.configure.uuid];
|
|
19
|
-
}
|
|
20
|
-
z.indexObj && z.indexObj.index++, null == z.configure.props && (z.configure.props = {}), null == z.configure.style && (z.configure.style = {});
|
|
21
|
-
const H = q.getModelField(_((_b = (_a = z.configure.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop));
|
|
22
|
-
if (z.pageDesign && z.configure && "table" == z.configure.name) {
|
|
23
|
-
if (z.configure.uuid) {
|
|
24
|
-
z.pageDesign.tableUuids || (z.pageDesign.tableUuids = []);
|
|
25
|
-
const e3 = setTimeout(() => {
|
|
26
|
-
var _a2, _b2, _c2, _d2;
|
|
27
|
-
((_b2 = (_a2 = z.pageDesign) == null ? void 0 : _a2.tableUuids) == null ? void 0 : _b2.includes(z.configure.uuid)) || ((_d2 = (_c2 = z.pageDesign) == null ? void 0 : _c2.tableUuids) == null ? void 0 : _d2.push(z.configure.uuid)), A(z.configure.code);
|
|
28
|
-
}, 500);
|
|
29
|
-
i(() => {
|
|
30
|
-
var _a2, _b2, _c2, _d2;
|
|
31
|
-
const i2 = (_b2 = (_a2 = z.pageDesign) == null ? void 0 : _a2.tableUuids) == null ? void 0 : _b2.indexOf(z.configure.uuid);
|
|
32
|
-
null != i2 && i2 > -1 && ((_d2 = (_c2 = z.pageDesign) == null ? void 0 : _c2.tableUuids) == null ? void 0 : _d2.shift(i2, 1));
|
|
33
|
-
const n2 = T(z.pageDesign.code, z.pageDesign.version, z.configure.uuid);
|
|
34
|
-
z.pageDesign.listCodesMap && z.pageDesign.listCodesMap[n2] && delete z.pageDesign.listCodesMap[n2], z.pageDesign.subTableWatchProps && delete z.pageDesign.subTableWatchProps[z.configure.uuid], e3 && clearTimeout(e3);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
n(() => z.configure.code, (e3) => {
|
|
38
|
-
A(e3);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function A(e3) {
|
|
42
|
-
z.pageDesign.listCodesMap || (z.pageDesign.listCodesMap = {});
|
|
43
|
-
const i2 = T(z.pageDesign.code, z.pageDesign.version, z.configure.uuid);
|
|
44
|
-
i2 && (z.pageDesign.listCodesMap[i2] = e3 || i2);
|
|
45
|
-
}
|
|
46
|
-
z.configure.events && z.pageDesign && (n(z.configure.events, (e3) => {
|
|
47
|
-
k(z.configure, z.pageDesign);
|
|
48
|
-
const i2 = z.configure.events.filter((e4) => !e4.isStandard && e4.jsContent || e4.isStandard && e4.eventName);
|
|
49
|
-
z.configure.runtime || (z.configure.runtime = {}), z.configure.runtime.events = i2;
|
|
50
|
-
}, { immediate: true }), i(() => {
|
|
51
|
-
S(z.pageDesign, z.configure.uuid);
|
|
52
|
-
})), z.configure.props.linkPage && z.pageDesign && n(z.configure.props.linkPage, (e3) => {
|
|
53
|
-
z.configure.runtime || (z.configure.runtime = {}), z.configure.runtime.linkPage = z.configure.props.linkPage;
|
|
54
|
-
}, { immediate: true }), z.configure.props.parameter && z.pageDesign && n(z.configure.props.parameter, (e3) => {
|
|
55
|
-
let i2 = {};
|
|
56
|
-
e3.forEach((e4) => {
|
|
57
|
-
e4.name && e4.value && (i2[e4.name] = e4.value);
|
|
58
|
-
}), z.configure.runtime || (z.configure.runtime = {}), z.configure.runtime.customParams = i2;
|
|
59
|
-
}, { immediate: true }), ((_d = (_c = z.configure.props) == null ? void 0 : _c.dataOrigin) == null ? void 0 : _d.serviceInputs) && z.pageDesign && n(z.configure.props.dataOrigin.serviceInputs, (e3) => {
|
|
60
|
-
B(z.configure, e3);
|
|
61
|
-
}, { immediate: true }), z.configure.componentIndex = z.indexObj.index;
|
|
62
|
-
let E = z.indexObj.index;
|
|
63
|
-
const N = R2, F = o({});
|
|
64
|
-
F.value = C(z.configure.name);
|
|
65
|
-
const J = o(true);
|
|
66
|
-
null == F.value && (F.value = j, J.value = false), n(() => z.configure.name, (e3) => {
|
|
67
|
-
F.value = C(e3);
|
|
68
|
-
}), z.configure.props && z.configure.props.verification && (z.configure.props.base && z.configure.props.base.title && n(() => z.configure.props.base.title, (e3) => {
|
|
69
|
-
P(z.configure, z.configure.props.verification, H);
|
|
70
|
-
}), z.configure.props.base && z.configure.props.base.prop && (n(() => z.configure.props.base.prop, (e3, i2) => {
|
|
71
|
-
P(z.configure, z.configure.props.verification, H), z.pageDesign.runtime || (z.pageDesign.runtime = {}), z.pageDesign.runtime.refercePropMap || (z.pageDesign.runtime.refercePropMap = {}), M(e3, i2, z.pageDesign.runtime.refercePropMap);
|
|
72
|
-
}), i(() => {
|
|
73
|
-
var _a2, _b2;
|
|
74
|
-
w(z.configure.props.base.prop, (_b2 = (_a2 = z.pageDesign) == null ? void 0 : _a2.runtime) == null ? void 0 : _b2.refercePropMap);
|
|
75
|
-
})), n(z.configure.props.verification, (e3, i2) => {
|
|
76
|
-
P(z.configure, e3, H);
|
|
77
|
-
})), z.pageDesign.props && n(() => z.pageDesign.props.activeWorkflow, (e3, i2) => {
|
|
78
|
-
if (e3) {
|
|
79
|
-
const e4 = z.configure.props && z.configure.props.rules ? z.configure.props.rules.filter((e5) => e5.required) : null;
|
|
80
|
-
e4 && e4.length > 0 && e4.forEach((e5) => {
|
|
81
|
-
e5.required = false;
|
|
82
|
-
}), z.configure.props && z.configure.props.verification && z.configure.props.verification.required && (z.configure.props.verification.required = false);
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
const G = o(null), K = o({}), L = o(""), Q = o({});
|
|
86
|
-
function V() {
|
|
87
|
-
W(z.configure, K, L), z.configure.runtime || (z.configure.runtime = {}), z.configure.runtime.common || (z.configure.runtime.common = {}), z.configure.runtime.common.class = L.value, z.configure.runtime.common.style = K.value;
|
|
88
|
-
}
|
|
89
|
-
if (z.configure.props && z.configure.props && (n(z.configure.props.size, (e3) => {
|
|
90
|
-
V();
|
|
91
|
-
}), n(z.configure.props.position, (e3) => {
|
|
92
|
-
V();
|
|
93
|
-
}, { immediate: true })), z.configure.style && z.configure.style && n(z.configure.style, () => {
|
|
94
|
-
V();
|
|
95
|
-
}), z.configure.props) {
|
|
96
|
-
z.configure.props.size || (z.configure.props.size = {});
|
|
97
|
-
const e3 = z.configure.props.size;
|
|
98
|
-
let i2 = e3[O.PC];
|
|
99
|
-
i2 || (i2 = {}, e3[O.PC] = i2), 0 == Object.keys(i2).length && (i2.widthType = e3.widthType, i2.flexSpan = e3.flexSpan, i2.fixWidth = e3.fixWidth, i2.fixHeight = e3.fixHeight, delete e3.widthType, delete e3.flexSpan, delete e3.fixWidth, delete e3.fixHeight);
|
|
100
|
-
}
|
|
101
|
-
const X = r(() => {
|
|
102
|
-
const e3 = K.value;
|
|
103
|
-
if (Q.value = {}, !e3 || !z.pageDesign) return {};
|
|
104
|
-
const i2 = {};
|
|
105
|
-
z.configure.design && z.configure.design.style && Object.assign(i2, z.configure.design.style);
|
|
106
|
-
const n2 = z.pageDesign.dimensions ? z.pageDesign.dimensions : "pc", o2 = e3[n2 + "_style"];
|
|
107
|
-
return o2 && (i2.width = o2.width, i2.height = o2.height, Q.value = { height: o2.height }), L.value = e3[n2 + "_class"], i2;
|
|
108
|
-
});
|
|
109
|
-
n(z.selectWidget, (e3) => {
|
|
110
|
-
e3 && e3.value == E ? Y.value = "amb-design-item-selected" : Y.value = "";
|
|
111
|
-
});
|
|
112
|
-
const Y = o("");
|
|
113
|
-
function Z(e3) {
|
|
114
|
-
e3 && e3.preventDefault(), N("onSelectWidget", E, z.configure);
|
|
115
|
-
}
|
|
116
|
-
function $(e3, i2) {
|
|
117
|
-
N("onSelectWidget", e3, i2);
|
|
118
|
-
}
|
|
119
|
-
function ee(e3, i2) {
|
|
120
|
-
N("onCustomAttrWidget", e3, i2);
|
|
121
|
-
}
|
|
122
|
-
function ie(e3) {
|
|
123
|
-
e3.preventDefault(), N("onCopy", z.configure);
|
|
124
|
-
}
|
|
125
|
-
function ne(e3) {
|
|
126
|
-
if (e3.preventDefault(), N("onDelete", z.configure), z.pageDesign.allChartUuids) {
|
|
127
|
-
const e4 = z.pageDesign.allChartUuids.findIndex((e5) => e5 === z.configure.uuid);
|
|
128
|
-
e4 >= 0 && z.pageDesign.allChartUuids.splice(e4, 1);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
return s(() => {
|
|
132
|
-
z.configure.props && z.configure.props.isInit && (delete z.configure.props.isInit, N("onSelectWidget", E, z.configure));
|
|
133
|
-
}), (e3, i2) => {
|
|
134
|
-
const n2 = t("el-icon");
|
|
135
|
-
return u(), g("div", { style: a([{ position: "relative" }, X.value]), class: p(L.value), ref_key: "thisRef", ref: G }, [(u(), c(f(F.value), { style: a([K.value, Q.value]), configure: e3.configure, pageDesign: e3.pageDesign, indexObj: e3.indexObj, errorBlank: e3.errorBlank, selectWidget: e3.selectWidget, onClick: d(Z, ["stop"]), onHandleSelect: Z, class: p([[Y.value], "amb-design-item"]), onOnSelectWidget: $, onOnCustomAttrWidget: ee }, null, 40, ["style", "configure", "pageDesign", "indexObj", "errorBlank", "selectWidget", "class"])), l(m("span", I, [l(D(n2, { onClick: d(ie, ["stop"]), style: { "margin-left": "6px" } }, { default: v(() => [D(b(x))]), _: 1 }, 512), [[h, J.value]]), D(n2, { onClick: d(ne, ["stop"]), style: { "margin-left": "6px" } }, { default: v(() => [D(b(y))]), _: 1 })], 512), [[h, Y.value && e3.showSelectedClass]])], 6);
|
|
136
|
-
};
|
|
137
|
-
} });
|
|
1
|
+
import e from "./object-design.vue3.js";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import o from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const t = o(e, [["__scopeId", "data-v-e7e64fd1"]]);
|
|
138
5
|
export {
|
|
139
|
-
|
|
6
|
+
t as default
|
|
140
7
|
};
|