super-page-designer 2.3.13-sit4-design1 → 2.3.14-sit1-design2

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.
Files changed (41) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +66 -56
  2. package/dist/es/components/design/utils/form-design-util.js +1 -1
  3. package/dist/es/components/design/utils/page-table-util.js +2 -2
  4. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
  5. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +8 -8
  6. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +10 -10
  7. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1 -1
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue.js +7 -0
  11. package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +27 -0
  12. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +5 -5
  13. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +16 -18
  14. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +14 -16
  15. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +21 -21
  16. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +11 -11
  17. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +25 -27
  18. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +16 -18
  19. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +15 -17
  20. package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/object-design.vue3.js +87 -97
  22. package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +37 -37
  23. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +28 -0
  24. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue2.js +4 -0
  25. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue.js +7 -0
  26. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +33 -0
  27. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +28 -0
  28. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue2.js +4 -0
  29. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +68 -0
  30. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue2.js +4 -0
  31. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue.js +14 -0
  32. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue2.js +4 -0
  33. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue.js +4 -0
  34. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue2.js +15 -0
  35. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue.js +4 -0
  36. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue2.js +28 -0
  37. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +13 -11
  38. package/dist/es/components/design/views/design/view/view-design-display.vue.js +8 -18
  39. package/dist/es/style.css +18 -3
  40. package/package.json +4 -4
  41. /package/dist/es/components/design/views/assemblys/button/component/{journal-set-dialog.vue2.js → journal-set-dialog.vue3.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { defineComponent as e, ref as l, computed as a, resolveComponent as o, createBlock as u, openBlock as t, withCtx as s, createVNode as r, withDirectives as i, createCommentVNode as p, createElementVNode as d, createElementBlock as n, Fragment as f, renderList as c, unref as m, vShow as b, createTextVNode as g } from "vue";
2
- import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
3
- import { componentNameChange as v } from "../../../../utils/form-design-util.js";
1
+ import { defineComponent as e, ref as l, computed as a, resolveComponent as o, createBlock as u, openBlock as t, withCtx as s, createVNode as r, withDirectives as i, createCommentVNode as p, createElementVNode as n, createElementBlock as d, Fragment as f, renderList as m, unref as c, vShow as b, createTextVNode as g } from "vue";
2
+ import { getFormComponentOptions as v } from "../../../../utils/assemblys-config.js";
3
+ import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
4
  import { getCustomFuncs as _ } from "../../../../utils/page-event-util.js";
5
5
  import y from "../../common/common-attr-size.vue.js";
6
6
  import h from "../../common/common-variable-bind.vue.js";
@@ -8,29 +8,27 @@ import k from "../../common/common-function-code.vue.js";
8
8
  import U from "../common/title-suffix.vue.js";
9
9
  import w from "../../common/common-i18n-key-input.vue.js";
10
10
  import { WarningFilled as S } from "@element-plus/icons-vue";
11
- const x = { style: { padding: "8px 0px 0px 0px" } }, T = { class: "amb-design-attr-item-inline" }, j = { style: { padding: "8px 0px 0px 0px" } }, z = e({ __name: "datepicker-attr-base", props: { configure: { type: Object, required: true, default: () => {
11
+ import x from "../../common/common-bind-default-value.vue.js";
12
+ const j = { style: { padding: "8px 0px 0px 0px" } }, D = { class: "amb-design-attr-item-inline" }, z = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "datepicker-attr-base", props: { configure: { type: Object, required: true, default: () => {
12
13
  } }, pageDesign: { type: Object, default: () => {
13
- } } }, emits: ["changeAssembly"], setup(e2, { emit: z2 }) {
14
- const D = e2, Y = l(D.configure.name), F = z2, M = l(["base"]), W = l(false);
15
- D.configure.isTable && (W.value = true);
14
+ } } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
15
+ const Y = e2, F = l(Y.configure.name), M = T2, W = l(["base"]), P = l(false);
16
+ Y.configure.isTable && (P.value = true);
16
17
  const q = l("绑定变量"), H = a(() => {
17
- const e3 = D.configure.props.base, l2 = (!e3.type || "week" != e3.type && "year" != e3.type) && e3.dateScope;
18
+ const e3 = Y.configure.props.base, l2 = (!e3.type || "week" != e3.type && "year" != e3.type) && e3.dateScope;
18
19
  return q.value = l2 ? "绑定变量1" : "绑定变量", l2 ? "默认值1" : "默认值";
19
20
  });
20
21
  function R(e3) {
21
- v(D.configure, e3, F);
22
+ V(Y.configure, e3, M);
22
23
  }
23
24
  function A(e3, l2, a2) {
24
- "prop2" === a2 ? D.configure.props.base.prop2 = e3 : D.configure.props.base.prop = e3, l2 && (D.configure.props.base.title = l2);
25
- }
26
- function C(e3, l2) {
27
- "defaultValue2" === l2 ? D.configure.props.base.defaultValue2 = e3 : D.configure.props.base.defaultValue = e3;
25
+ "prop2" === a2 ? Y.configure.props.base.prop2 = e3 : Y.configure.props.base.prop = e3, l2 && (Y.configure.props.base.title = l2);
28
26
  }
29
27
  return (l2, a2) => {
30
- const v2 = o("el-option"), z3 = o("el-select"), D2 = o("el-form-item"), F2 = o("el-input"), O = o("el-radio"), P = o("el-radio-group"), B = o("el-input-number"), L = o("el-checkbox"), E = o("el-col"), G = o("el-row"), I = o("el-checkbox-group"), J = o("el-link"), K = o("el-icon"), N = o("el-tooltip"), Q = o("el-collapse-item"), X = o("el-collapse"), Z = o("el-form");
31
- return t(), u(Z, { "label-width": "80px", size: "small" }, { default: s(() => [r(X, { modelValue: M.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", x, [r(D2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [r(z3, { modelValue: Y.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => Y.value = e3), onChange: R, placeholder: "请选择" }, { default: s(() => [(t(true), n(f, null, c(m(V)(), (e3) => (t(), u(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? p("", true) : (t(), u(D2, { key: 0, label: q.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop", modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": A }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"])), r(D2, { label: H.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "defaultValue", isRange: true, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"]), i(r(D2, { label: "绑定变量2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop2", modelValue: e2.configure.props.base.prop2, paramTypes: ["data", "page"], "onUpdate:modelValue": a2[2] || (a2[2] = (e3, l3) => A(e3, l3, "prop2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), i(r(D2, { label: "默认值2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "defaultValue2", isRange: true, modelValue: e2.configure.props.base.defaultValue2, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => C(e3, "defaultValue2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), W.value ? p("", true) : (t(), u(D2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? p("", true) : (t(), u(D2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[24] || (a2[24] = [g("显示")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[25] || (a2[25] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(r(D2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [r(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(D2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: s(() => [r(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": a2[6] || (a2[6] = (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(r(D2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "block" }, { default: s(() => a2[26] || (a2[26] = [g("换行")])), _: 1 }), r(O, { value: "inline" }, { default: s(() => a2[27] || (a2[27] = [g("不换行")])), _: 1 }), r(O, { value: "omit" }, { default: s(() => a2[28] || (a2[28] = [g("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), r(D2, { class: "amb-design-attr-item" }, { label: s(() => [i(d("span", null, "输入提示", 512), [[b, !e2.configure.props.base.dateScope]]), i(d("span", null, "开始提示", 512), [[b, e2.configure.props.base.dateScope]])]), default: s(() => [r(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(r(D2, { label: "结束提示", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.endPlaceholder, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.endPlaceholder = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), r(D2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[29] || (a2[29] = [g("显示")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[30] || (a2[30] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D2, { label: "类型", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "date" }, { default: s(() => a2[31] || (a2[31] = [g("日期")])), _: 1 }), r(O, { value: "time" }, { default: s(() => a2[32] || (a2[32] = [g("时间")])), _: 1 }), r(O, { value: "datetime" }, { default: s(() => a2[33] || (a2[33] = [g("日期+时间")])), _: 1 }), r(O, { value: "week" }, { default: s(() => a2[34] || (a2[34] = [g("周")])), _: 1 }), r(O, { value: "month" }, { default: s(() => a2[35] || (a2[35] = [g("月")])), _: 1 }), r(O, { value: "year" }, { default: s(() => a2[36] || (a2[36] = [g("年")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(D2, { label: "选择范围", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.dateScope, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.dateScope = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[37] || (a2[37] = [g("是")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[38] || (a2[38] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(D2, { label: "快捷选项", class: "amb-design-attr-item" }, { default: s(() => [r(I, { modelValue: e2.configure.props.base.dateScopeDetails, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.dateScopeDetails = l3), class: "ml-4" }, { default: s(() => [i(r(L, { value: "today" }, { default: s(() => a2[39] || (a2[39] = [g("今天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "yesterday" }, { default: s(() => a2[40] || (a2[40] = [g("昨天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneWeek" }, { default: s(() => a2[41] || (a2[41] = [g("一周")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneMonth" }, { default: s(() => a2[42] || (a2[42] = [g("一月")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "year" != e2.configure.props.base.type]]), r(L, { value: "oneYear" }, { default: s(() => a2[43] || (a2[43] = [g("一年")])), _: 1 }), r(G, null, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { value: "custom" }, { default: s(() => a2[44] || (a2[44] = [g("自定义")])), _: 1 })]), _: 1 }), r(E, { span: 16 }, { default: s(() => [r(z3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.base.dateScopeDetails || !e2.configure.props.base.dateScopeDetails.includes("custom"), modelValue: e2.configure.props.base.scopeFunc, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.scopeFunc = l3), placeholder: "请选择自定义方法", filterable: "" }, { default: s(() => [(t(true), n(f, null, c(m(_)(), (e3) => (t(), u(v2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(D2, { label: "显示格式化", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.format, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.format = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(r(D2, { label: "值为时间戳", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.timestamp, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.timestamp = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[45] || (a2[45] = [g("是")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[46] || (a2[46] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(D2, { label: "值格式化", class: "amb-design-attr-item" }, { default: s(() => [d("div", T, [r(F2, { modelValue: e2.configure.props.base.valueFormat, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.base.valueFormat = l3), placeholder: "请输入", disabled: true === e2.configure.props.base.timestamp }, null, 8, ["modelValue", "disabled"]), r(N, { placement: "top", effect: "light" }, { content: s(() => [a2[48] || (a2[48] = g(" 四位年:YYYY")), a2[49] || (a2[49] = d("br", null, null, -1)), a2[50] || (a2[50] = g("两位年:YY")), a2[51] || (a2[51] = d("br", null, null, -1)), a2[52] || (a2[52] = g("两位月:MM")), a2[53] || (a2[53] = d("br", null, null, -1)), a2[54] || (a2[54] = g("两位日:DD")), a2[55] || (a2[55] = d("br", null, null, -1)), a2[56] || (a2[56] = g("小时:hh")), a2[57] || (a2[57] = d("br", null, null, -1)), a2[58] || (a2[58] = g("分钟:mm")), a2[59] || (a2[59] = d("br", null, null, -1)), a2[60] || (a2[60] = g("秒:ss")), a2[61] || (a2[61] = d("br", null, null, -1)), a2[62] || (a2[62] = g("占位:[占位符]")), a2[63] || (a2[63] = d("br", null, null, -1)), a2[64] || (a2[64] = g("更多见: ")), r(J, { href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats", target: "_blank", type: "primary" }, { default: s(() => a2[47] || (a2[47] = [d("svg", { preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", class: "link-icon" }, [d("path", { fill: "currentColor", d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z" })], -1)])), _: 1 }), a2[65] || (a2[65] = g(" 查看 Day.js 支持的所有格式。 "))]), default: s(() => [r(K, { style: { "margin-left": "10px" } }, { default: s(() => [r(m(S))]), _: 1 })]), _: 1 })])]), _: 1 }), r(D2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "large" }, { default: s(() => a2[66] || (a2[66] = [g("大")])), _: 1 }), r(O, { value: "default" }, { default: s(() => a2[67] || (a2[67] = [g("中")])), _: 1 }), r(O, { value: "small" }, { default: s(() => a2[68] || (a2[68] = [g("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "default" }, { default: s(() => a2[69] || (a2[69] = [g("普通")])), _: 1 }), r(O, { value: "disabled" }, { default: s(() => a2[70] || (a2[70] = [g("禁用")])), _: 1 }), r(O, { value: "readonly" }, { default: s(() => a2[71] || (a2[71] = [g("只读")])), _: 1 }), r(O, { value: "hidden" }, { default: s(() => a2[72] || (a2[72] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(r(U, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), u(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: s(() => [d("div", j, [r(D2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(L, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(D2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { label: "自定义", modelValue: e2.configure.props.verification.custom, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.verification.custom = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(E, { span: 14 }, { default: s(() => [r(z3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.verification.custom, modelValue: e2.configure.props.verification.customFunc, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.verification.customFunc = l3), placeholder: "请选择校验方法", filterable: "" }, { default: s(() => [(t(true), n(f, null, c(m(_)(), (e3) => (t(), u(v2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? p("", true) : (t(), u(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
28
+ const V2 = o("el-option"), T3 = o("el-select"), Y2 = o("el-form-item"), M2 = o("el-input"), C = o("el-radio"), O = o("el-radio-group"), B = o("el-input-number"), L = o("el-checkbox"), E = o("el-col"), G = o("el-row"), I = o("el-checkbox-group"), J = o("el-link"), K = o("el-icon"), N = o("el-tooltip"), Q = o("el-collapse-item"), X = o("el-collapse"), Z = o("el-form");
29
+ return t(), u(Z, { "label-width": "80px", size: "small" }, { default: s(() => [r(X, { modelValue: W.value, "onUpdate:modelValue": a2[22] || (a2[22] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", j, [r(Y2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [r(T3, { modelValue: F.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => F.value = e3), onChange: R, placeholder: "请选择" }, { default: s(() => [(t(true), d(f, null, m(c(v)(), (e3) => (t(), u(V2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(Y2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [r(M2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? p("", true) : (t(), u(Y2, { key: 0, label: q.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop", modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": A }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"])), r(Y2, { label: H.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 8, ["label"]), i(r(Y2, { label: "绑定变量2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop2", modelValue: e2.configure.props.base.prop2, paramTypes: ["data", "page"], "onUpdate:modelValue": a2[2] || (a2[2] = (e3, l3) => A(e3, l3, "prop2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), i(r(Y2, { label: "默认值2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", defaultValueProp: "defaultValue2", moreDefaultValueProp: "moreDefaultValue2", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), P.value ? p("", true) : (t(), u(Y2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? p("", true) : (t(), u(Y2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[23] || (a2[23] = [g("显示")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[24] || (a2[24] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(r(Y2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [r(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(Y2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: s(() => [r(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": a2[5] || (a2[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(r(Y2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "block" }, { default: s(() => a2[25] || (a2[25] = [g("换行")])), _: 1 }), r(C, { value: "inline" }, { default: s(() => a2[26] || (a2[26] = [g("不换行")])), _: 1 }), r(C, { value: "omit" }, { default: s(() => a2[27] || (a2[27] = [g("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), r(Y2, { class: "amb-design-attr-item" }, { label: s(() => [i(n("span", null, "输入提示", 512), [[b, !e2.configure.props.base.dateScope]]), i(n("span", null, "开始提示", 512), [[b, e2.configure.props.base.dateScope]])]), default: s(() => [r(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(r(Y2, { label: "结束提示", class: "amb-design-attr-item" }, { default: s(() => [r(M2, { modelValue: e2.configure.props.base.endPlaceholder, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.endPlaceholder = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), r(Y2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[28] || (a2[28] = [g("显示")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[29] || (a2[29] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(Y2, { label: "类型", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "date" }, { default: s(() => a2[30] || (a2[30] = [g("日期")])), _: 1 }), r(C, { value: "time" }, { default: s(() => a2[31] || (a2[31] = [g("时间")])), _: 1 }), r(C, { value: "datetime" }, { default: s(() => a2[32] || (a2[32] = [g("日期+时间")])), _: 1 }), r(C, { value: "week" }, { default: s(() => a2[33] || (a2[33] = [g("周")])), _: 1 }), r(C, { value: "month" }, { default: s(() => a2[34] || (a2[34] = [g("月")])), _: 1 }), r(C, { value: "year" }, { default: s(() => a2[35] || (a2[35] = [g("年")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(Y2, { label: "选择范围", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.dateScope, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.dateScope = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[36] || (a2[36] = [g("是")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[37] || (a2[37] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(Y2, { label: "快捷选项", class: "amb-design-attr-item" }, { default: s(() => [r(I, { modelValue: e2.configure.props.base.dateScopeDetails, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.dateScopeDetails = l3), class: "ml-4" }, { default: s(() => [i(r(L, { value: "today" }, { default: s(() => a2[38] || (a2[38] = [g("今天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "yesterday" }, { default: s(() => a2[39] || (a2[39] = [g("昨天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneWeek" }, { default: s(() => a2[40] || (a2[40] = [g("一周")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneMonth" }, { default: s(() => a2[41] || (a2[41] = [g("一月")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "year" != e2.configure.props.base.type]]), r(L, { value: "oneYear" }, { default: s(() => a2[42] || (a2[42] = [g("一年")])), _: 1 }), r(G, null, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { value: "custom" }, { default: s(() => a2[43] || (a2[43] = [g("自定义")])), _: 1 })]), _: 1 }), r(E, { span: 16 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.base.dateScopeDetails || !e2.configure.props.base.dateScopeDetails.includes("custom"), modelValue: e2.configure.props.base.scopeFunc, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.scopeFunc = l3), placeholder: "请选择自定义方法", filterable: "" }, { default: s(() => [(t(true), d(f, null, m(c(_)(), (e3) => (t(), u(V2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(Y2, { label: "显示格式化", class: "amb-design-attr-item" }, { default: s(() => [r(M2, { modelValue: e2.configure.props.base.format, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.format = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(r(Y2, { label: "值为时间戳", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.timestamp, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.timestamp = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[44] || (a2[44] = [g("是")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[45] || (a2[45] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(Y2, { label: "值格式化", class: "amb-design-attr-item" }, { default: s(() => [n("div", D, [r(M2, { modelValue: e2.configure.props.base.valueFormat, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.valueFormat = l3), placeholder: "请输入", disabled: true === e2.configure.props.base.timestamp }, null, 8, ["modelValue", "disabled"]), r(N, { placement: "top", effect: "light" }, { content: s(() => [a2[47] || (a2[47] = g(" 四位年:YYYY")), a2[48] || (a2[48] = n("br", null, null, -1)), a2[49] || (a2[49] = g("两位年:YY")), a2[50] || (a2[50] = n("br", null, null, -1)), a2[51] || (a2[51] = g("两位月:MM")), a2[52] || (a2[52] = n("br", null, null, -1)), a2[53] || (a2[53] = g("两位日:DD")), a2[54] || (a2[54] = n("br", null, null, -1)), a2[55] || (a2[55] = g("小时:hh")), a2[56] || (a2[56] = n("br", null, null, -1)), a2[57] || (a2[57] = g("分钟:mm")), a2[58] || (a2[58] = n("br", null, null, -1)), a2[59] || (a2[59] = g("秒:ss")), a2[60] || (a2[60] = n("br", null, null, -1)), a2[61] || (a2[61] = g("占位:[占位符]")), a2[62] || (a2[62] = n("br", null, null, -1)), a2[63] || (a2[63] = g("更多见: ")), r(J, { href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats", target: "_blank", type: "primary" }, { default: s(() => a2[46] || (a2[46] = [n("svg", { preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", class: "link-icon" }, [n("path", { fill: "currentColor", d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z" })], -1)])), _: 1 }), a2[64] || (a2[64] = g(" 查看 Day.js 支持的所有格式。 "))]), default: s(() => [r(K, { style: { "margin-left": "10px" } }, { default: s(() => [r(c(S))]), _: 1 })]), _: 1 })])]), _: 1 }), r(Y2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "large" }, { default: s(() => a2[65] || (a2[65] = [g("大")])), _: 1 }), r(C, { value: "default" }, { default: s(() => a2[66] || (a2[66] = [g("中")])), _: 1 }), r(C, { value: "small" }, { default: s(() => a2[67] || (a2[67] = [g("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(Y2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "default" }, { default: s(() => a2[68] || (a2[68] = [g("普通")])), _: 1 }), r(C, { value: "disabled" }, { default: s(() => a2[69] || (a2[69] = [g("禁用")])), _: 1 }), r(C, { value: "readonly" }, { default: s(() => a2[70] || (a2[70] = [g("只读")])), _: 1 }), r(C, { value: "hidden" }, { default: s(() => a2[71] || (a2[71] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(r(U, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), u(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: s(() => [n("div", z, [r(Y2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(L, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(Y2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { label: "自定义", modelValue: e2.configure.props.verification.custom, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.verification.custom = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(E, { span: 14 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.verification.custom, modelValue: e2.configure.props.verification.customFunc, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.verification.customFunc = l3), placeholder: "请选择校验方法", filterable: "" }, { default: s(() => [(t(true), d(f, null, m(c(_)(), (e3) => (t(), u(V2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })])]), _: 1 })), P.value ? p("", true) : (t(), u(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
32
30
  };
33
31
  } });
34
32
  export {
35
- z as default
33
+ T as default
36
34
  };
@@ -1,32 +1,32 @@
1
- import { defineComponent as e, ref as t, watch as a, resolveComponent as l, createBlock as r, openBlock as u, normalizeStyle as o, normalizeClass as i, withCtx as n, createVNode as m, unref as c, createElementBlock as s, createCommentVNode as d, Fragment as p, createTextVNode as f, toDisplayString as v } from "vue";
1
+ import { defineComponent as e, ref as a, watch as t, resolveComponent as l, createBlock as r, openBlock as u, normalizeStyle as o, normalizeClass as i, withCtx as m, createVNode as n, unref as c, createElementBlock as s, createCommentVNode as d, Fragment as p, createTextVNode as f, toDisplayString as v } from "vue";
2
2
  import { caculateDetailComponentStyle as g, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
3
3
  import h from "../common/title-suffix-element.vue.js";
4
4
  import "super-page-runtime";
5
5
  import { Clock as Y, Calendar as b } from "@element-plus/icons-vue";
6
- const F = e({ __name: "datepicker-design", props: { configure: { type: Object, required: true } }, setup(e2) {
7
- const F2 = e2;
8
- F2.configure.runtime || (F2.configure.runtime = {});
9
- const k = t({}), S = t(""), D = t({}), x = t({}), w = t({});
10
- return a(F2.configure.style, () => {
11
- g(F2.configure, k, S, D), F2.configure.runtime.style = k.value, F2.configure.runtime.class = S.value, F2.configure.runtime.headerStyle = D.value;
12
- }, { immediate: true }), t([]), a(F2.configure.props, () => {
13
- y(F2.configure, x, w), function() {
14
- let e3 = F2.configure && F2.configure.props ? F2.configure.props.base : {};
6
+ const D = e({ __name: "datepicker-design", props: { configure: { type: Object, required: true } }, setup(e2) {
7
+ const D2 = e2;
8
+ D2.configure.runtime || (D2.configure.runtime = {});
9
+ const F = a({}), k = a(""), S = a({}), V = a({}), x = a({});
10
+ return t(D2.configure.style, () => {
11
+ g(D2.configure, F, k, S), D2.configure.runtime.style = F.value, D2.configure.runtime.class = k.value, D2.configure.runtime.headerStyle = S.value;
12
+ }, { immediate: true }), a([]), t(D2.configure.props, () => {
13
+ y(D2.configure, V, x), function() {
14
+ let e3 = D2.configure && D2.configure.props ? D2.configure.props.base : {};
15
15
  e3 = e3 || {};
16
- const t2 = {};
17
- t2.defaultValue2 = e3.defaultValue2, t2.prop2 = e3.prop2, e3.format && (t2.format = e3.format);
18
- let a2 = e3.type ? e3.type : "date";
16
+ const a2 = {};
17
+ a2.moreDefaultValue = e3.moreDefaultValue, a2.defaultValue2 = e3.defaultValue2, a2.moreDefaultValue2 = e3.moreDefaultValue2, a2.prop2 = e3.prop2, e3.format && (a2.format = e3.format);
18
+ let t2 = e3.type ? e3.type : "date";
19
19
  if (e3.dateScope) {
20
20
  let l2 = "daterange";
21
- "datetime" == a2 ? l2 = "datetimerange" : "week" == a2 ? l2 = "week" : "month" == a2 ? l2 = "monthrange" : "year" == a2 ? l2 = "year" : "time" == a2 ? l2 = "timerange" : "month" == a2 && (l2 = "monthrange"), t2.dateType = l2, e3.endPlaceholder && (t2.endPlaceholder = e3.endPlaceholder);
22
- } else t2.dateType = a2;
23
- e3.timestamp ? t2.valueFormat = "x" : (t2.valueFormat = e3.valueFormat, t2.valueFormat || ("datetime" === a2 ? t2.valueFormat = "YYYY-MM-DD HH:mm:ss" : "year" === a2 ? t2.valueFormat = "YYYY" : "month" === a2 ? t2.valueFormat = "YYYY-MM" : "time" === a2 ? t2.valueFormat = "hh:mm:ss" : ("date" === a2 || "week" === a2) && (t2.valueFormat = "YYYY-MM-DD"))), t2.sourceType = a2, t2.dateScopeDetails = e3.dateScopeDetails, e3.dateScopeDetails && e3.dateScopeDetails.includes("custom") && e3.scopeFunc && (t2.shortcutsFunc = e3.scopeFunc), Object.assign(x.value, t2);
24
- }(), F2.configure.runtime.props = x.value, F2.configure.runtime.titleExceedStyle = w.value;
25
- }, { immediate: true }), (t2, a2) => {
26
- const g2 = l("el-icon"), y2 = l("el-input"), F3 = l("el-form-item");
27
- return u(), r(F3, { required: x.value.required, class: i([S.value, "remove-formLabel-formContent-blankStyle"]), "label-width": x.value.labelWidth, style: o(k.value) }, { label: n(() => [x.value.tittleShow ? (u(), s("div", { key: 0, style: o({ ...D.value, ...w.value, "padding-right": "12px" }) }, [x.value.prefixType ? (u(), r(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (u(), s(p, { key: 1 }, [f(v(x.value.title), 1)], 64))], 4)) : d("", true)]), default: n(() => [m(y2, { readonly: "", size: x.value.size, clearable: x.value.clearable, placeholder: x.value.placeholder, modelValue: x.value.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => x.value.value = e3) }, { prefix: n(() => ["timerange" == x.value.dateType || "time" == x.value.dateType ? (u(), r(g2, { key: 0 }, { default: n(() => [m(c(Y))]), _: 1 })) : (u(), r(g2, { key: 1 }, { default: n(() => [m(c(b))]), _: 1 }))]), _: 1 }, 8, ["size", "clearable", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
21
+ "datetime" == t2 ? l2 = "datetimerange" : "week" == t2 ? l2 = "week" : "month" == t2 ? l2 = "monthrange" : "year" == t2 ? l2 = "year" : "time" == t2 ? l2 = "timerange" : "month" == t2 && (l2 = "monthrange"), a2.dateType = l2, e3.endPlaceholder && (a2.endPlaceholder = e3.endPlaceholder);
22
+ } else a2.dateType = t2;
23
+ e3.timestamp ? a2.valueFormat = "x" : (a2.valueFormat = e3.valueFormat, a2.valueFormat || ("datetime" === t2 ? a2.valueFormat = "YYYY-MM-DD HH:mm:ss" : "year" === t2 ? a2.valueFormat = "YYYY" : "month" === t2 ? a2.valueFormat = "YYYY-MM" : "time" === t2 ? a2.valueFormat = "hh:mm:ss" : ("date" === t2 || "week" === t2) && (a2.valueFormat = "YYYY-MM-DD"))), a2.sourceType = t2, a2.dateScopeDetails = e3.dateScopeDetails, e3.dateScopeDetails && e3.dateScopeDetails.includes("custom") && e3.scopeFunc && (a2.shortcutsFunc = e3.scopeFunc), Object.assign(V.value, a2);
24
+ }(), D2.configure.runtime.props = V.value, D2.configure.runtime.titleExceedStyle = x.value;
25
+ }, { immediate: true }), (a2, t2) => {
26
+ const g2 = l("el-icon"), y2 = l("el-input"), D3 = l("el-form-item");
27
+ return u(), r(D3, { required: V.value.required, class: i([k.value, "remove-formLabel-formContent-blankStyle"]), "label-width": V.value.labelWidth, style: o(F.value) }, { label: m(() => [V.value.tittleShow ? (u(), s("div", { key: 0, style: o({ ...S.value, ...x.value, "padding-right": "12px" }) }, [V.value.prefixType ? (u(), r(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (u(), s(p, { key: 1 }, [f(v(V.value.title), 1)], 64))], 4)) : d("", true)]), default: m(() => [n(y2, { readonly: "", size: V.value.size, clearable: V.value.clearable, placeholder: V.value.placeholder, modelValue: V.value.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => V.value.value = e3) }, { prefix: m(() => ["timerange" == V.value.dateType || "time" == V.value.dateType ? (u(), r(g2, { key: 0 }, { default: m(() => [n(c(Y))]), _: 1 })) : (u(), r(g2, { key: 1 }, { default: m(() => [n(c(b))]), _: 1 }))]), _: 1 }, 8, ["size", "clearable", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
28
28
  };
29
29
  } });
30
30
  export {
31
- F as default
31
+ D as default
32
32
  };
@@ -1,17 +1,17 @@
1
1
  import { defineComponent as e, computed as l, onUnmounted as a, resolveComponent as t, createBlock as o, openBlock as u, withCtx as r, createElementVNode as s, createVNode as n, unref as p, createElementBlock as i, Fragment as m, renderList as d, withDirectives as c, vShow as f } from "vue";
2
- import { Plus as v, Delete as b } from "@element-plus/icons-vue";
3
- import { getUuidv4 as y } from "../../../../utils/common-util.js";
2
+ import { Plus as v, Delete as y } from "@element-plus/icons-vue";
3
+ import { getUuidv4 as b } from "../../../../utils/common-util.js";
4
4
  import g from "../../common/common-variable-bind.vue.js";
5
5
  const h = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "depttree-autoset", props: { configure: { type: Object, default: {} }, isTable: { type: Boolean } }, setup(e2) {
6
6
  const w2 = e2;
7
7
  w2.configure.props || (w2.configure.props = {}), w2.configure.props.base || (w2.configure.props.base = {}), w2.configure.props.base.otherFieldSets || (w2.configure.props.base.otherFieldSets = []);
8
8
  const T = w2.configure.props.base, _ = T.otherFieldSets;
9
9
  0 == _.length && D(null);
10
- const V = l(() => {
10
+ const C = l(() => {
11
11
  let e3 = w2.configure.props.base.treeType;
12
12
  return e3 = e3 || "DeptUserTree", e3.includes("User") ? "user" : "dept";
13
- }), k = [{ name: "ID", value: "id", types: ["user", "dept"] }, { name: "编码", value: "code", types: ["dept"] }, { name: "名称", value: "name", types: ["user", "dept"] }, { name: "领导登录名", value: "leader", types: ["dept"] }, { name: "领导名称", value: "leaderName", types: ["dept"] }, { name: "登录名", value: "loginName", types: ["user"] }, { name: "Email", value: "email", types: ["user"] }, { name: "Telephone", value: "电话", types: ["user"] }, { name: "Telephone", value: "电话", types: ["user"] }, { name: "领导登录名", value: "divisionManager", types: ["user"] }, { name: "领导名称", value: "divisionManagerName", types: ["user"] }, { name: "正职部门编码", value: "mainDeptCode", types: ["user"] }, { name: "正职部门名称", value: "mainDeptName", types: ["user"] }, { name: "正职部门ID", value: "mainDeptId", types: ["user"] }, { name: "分支机构名称", value: "subCompanyName", types: ["user"] }, { name: "分支机构ID", value: "subCompanyId", types: ["user"] }];
14
- function C(e3) {
13
+ }), V = [{ name: "ID", value: "id", types: ["user", "dept"] }, { name: "编码", value: "code", types: ["dept"] }, { name: "名称", value: "name", types: ["user", "dept"] }, { name: "领导登录名", value: "leader", types: ["dept"] }, { name: "领导名称", value: "leaderName", types: ["dept"] }, { name: "登录名", value: "loginName", types: ["user"] }, { name: "Email", value: "email", types: ["user"] }, { name: "Telephone", value: "电话", types: ["user"] }, { name: "Telephone", value: "电话", types: ["user"] }, { name: "领导登录名", value: "divisionManager", types: ["user"] }, { name: "领导名称", value: "divisionManagerName", types: ["user"] }, { name: "正职部门编码", value: "mainDeptCode", types: ["user"] }, { name: "正职部门名称", value: "mainDeptName", types: ["user"] }, { name: "正职部门ID", value: "mainDeptId", types: ["user"] }, { name: "分支机构编码", value: "subCompanyCode", types: ["user"] }, { name: "分支机构名称", value: "subCompanyName", types: ["user"] }, { name: "分支机构ID", value: "subCompanyId", types: ["user"] }];
14
+ function k(e3) {
15
15
  let l2 = -1;
16
16
  const a2 = _.length;
17
17
  for (let t2 = 0; t2 < a2; t2++) if (_[t2].uuid == e3.uuid) {
@@ -22,24 +22,24 @@ const h = { style: { padding: "8px 0px 0px 0px" } }, w = e({ __name: "depttree-a
22
22
  }
23
23
  function D(e3) {
24
24
  let l2 = -1;
25
- e3 && (l2 = C(e3));
26
- const a2 = { uuid: y(), source: "", target: "" };
25
+ e3 && (l2 = k(e3));
26
+ const a2 = { uuid: b(), source: "", target: "" };
27
27
  _.splice(l2 + 1, 0, a2);
28
28
  }
29
29
  let x;
30
30
  return a(() => {
31
31
  x && clearTimeout(x);
32
32
  }), (l2, a2) => {
33
- const y2 = t("el-option"), w3 = t("el-select"), U = t("el-table-column"), F = t("el-icon"), I = t("el-table"), N = t("el-collapse-item");
34
- return u(), o(N, { title: "其他字段设值", name: "otherFieldSet", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", h, [n(I, { data: p(T).otherFieldSets }, { default: r(() => [n(U, { prop: "label", label: "字段", width: "90" }, { default: r((e3) => [n(w3, { size: "small", modelValue: e3.row.source, "onUpdate:modelValue": (l3) => e3.row.source = l3, title: e3.row.source, filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(u(), i(m, null, d(k, (e4) => c(n(y2, { key: e4.name, label: e4.name, value: e4.value }, null, 8, ["label", "value"]), [[f, e4.types.includes(V.value)]])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), n(U, { prop: "value", label: "设置到", width: "120" }, { default: r((l3) => [n(g, { isTable: e2.configure.isTable, modelValue: l3.row.target, paramTypes: ["data", "page"], "onUpdate:modelValue": (e3) => function(e4, l4) {
33
+ const b2 = t("el-option"), w3 = t("el-select"), U = t("el-table-column"), F = t("el-icon"), I = t("el-table"), N = t("el-collapse-item");
34
+ return u(), o(N, { title: "其他字段设值", name: "otherFieldSet", class: "amb-design-attr-group-header" }, { default: r(() => [s("div", h, [n(I, { data: p(T).otherFieldSets }, { default: r(() => [n(U, { prop: "label", label: "字段", width: "90" }, { default: r((e3) => [n(w3, { size: "small", modelValue: e3.row.source, "onUpdate:modelValue": (l3) => e3.row.source = l3, title: e3.row.source, filterable: "", "reserve-keyword": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(u(), i(m, null, d(V, (e4) => c(n(b2, { key: e4.name, label: e4.name, value: e4.value }, null, 8, ["label", "value"]), [[f, e4.types.includes(C.value)]])), 64))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), n(U, { prop: "value", label: "设置到", width: "120" }, { default: r((l3) => [n(g, { isTable: e2.configure.isTable, modelValue: l3.row.target, paramTypes: ["data", "page"], "onUpdate:modelValue": (e3) => function(e4, l4) {
35
35
  l4.target = e4;
36
36
  }(e3, l3.row) }, null, 8, ["isTable", "modelValue", "onUpdate:modelValue"])]), _: 1 }), n(U, { label: "操作", width: "60" }, { default: r((e3) => [n(F, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => D(e3.row) }, { default: r(() => [n(p(v))]), _: 2 }, 1032, ["onClick"]), n(F, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
37
37
  x && clearTimeout(x);
38
- let l4 = C(e4);
38
+ let l4 = k(e4);
39
39
  l4 > -1 && (_.splice(l4, 1), 0 == _.length && (x = setTimeout(function() {
40
40
  D(null);
41
41
  }, 10)));
42
- }(e3.row) }, { default: r(() => [n(p(b))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])])]), _: 1 });
42
+ }(e3.row) }, { default: r(() => [n(p(y))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"])])]), _: 1 });
43
43
  };
44
44
  } });
45
45
  export {
@@ -1,43 +1,41 @@
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";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, 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
4
  import _ from "../common/verification.vue.js";
5
5
  import V from "../../common/common-attr-size.vue.js";
6
- import y from "../common/pre-suffix.vue.js";
7
- import x from "../common/bar-code-rule.vue.js";
6
+ import x from "../common/pre-suffix.vue.js";
7
+ import y from "../common/bar-code-rule.vue.js";
8
8
  import h from "../../common/common-variable-bind.vue.js";
9
+ import S from "../../common/common-bind-default-value.vue.js";
9
10
  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
- import j from "../../common/common-i18n-key-input.vue.js";
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: () => {
11
+ import j from "../common/suffixmodule.vue.js";
12
+ import k from "../common/title-suffix.vue.js";
13
+ import w from "../../common/common-i18n-key-input.vue.js";
14
+ const z = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8px 0px 0px 0px" } }, W = e({ __name: "inputtext-attr-base", props: { configure: { type: Object, required: true, default: () => {
14
15
  } }, pageDesign: { type: Object, default: () => {
15
- } } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
16
- const L = e2, W = l(L.configure.name), O = T2;
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 C = l(false);
19
- function I(e3) {
20
- v(L.configure, e3, O);
16
+ } } }, emits: ["changeAssembly"], setup(e2, { emit: W2 }) {
17
+ const O = e2, C = l(O.configure.name), I = W2;
18
+ O.configure.props.base || (O.configure.props.base = { prop: "" }), O.configure.props.preSuffix || (O.configure.props.preSuffix = {}), O.configure.props.prefix || (O.configure.props.prefix = {}), O.configure.props.scan || (O.configure.props.scan = {});
19
+ const T = l(false);
20
+ function N(e3) {
21
+ v(O.configure, e3, I);
21
22
  }
22
- L.configure.isTable && (C.value = true);
23
- const N = l(["base"]), q = l(false);
24
- function A() {
25
- q.value = false;
23
+ O.configure.isTable && (T.value = true);
24
+ const q = l(["base"]), A = l(false);
25
+ function P() {
26
+ A.value = false;
26
27
  }
27
- function P(e3) {
28
- L.configure.props.scan.ruleList = L.configure.props.scan.ruleList.filter((l2) => l2 !== e3);
28
+ function R(e3) {
29
+ O.configure.props.scan.ruleList = O.configure.props.scan.ruleList.filter((l2) => l2 !== e3);
29
30
  }
30
- function R(e3, l2) {
31
- L.configure.props.base.prop = e3, l2 && (L.configure.props.base.title = l2);
32
- }
33
- function B(e3) {
34
- L.configure.props.base.defaultValue = e3;
31
+ function B(e3, l2) {
32
+ O.configure.props.base.prop = e3, l2 && (O.configure.props.base.title = l2);
35
33
  }
36
34
  return (l2, v2) => {
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 });
35
+ const W3 = a("el-option"), O2 = a("el-select"), I2 = 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");
36
+ return u(), o(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: q.value, "onUpdate:modelValue": v2[14] || (v2[14] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(K, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(I2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(O2, { modelValue: C.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => C.value = e3), onChange: N, placeholder: "请选择" }, { default: t(() => [(u(true), p(d, null, f(m(b)(), (e3) => (u(), o(W3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(I2, { 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 }), T.value ? r("", true) : (u(), o(I2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": B }, null, 8, ["modelValue"]))]), _: 1 })), i(I2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(S, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), T.value ? r("", true) : (u(), o(I2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? r("", true) : (u(), o(I2, { 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(I2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(w, { 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(I2, { 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(I2, { 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(I2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(I2, { 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(I2, { 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(I2, { 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(I2, { 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", D, [i(I2, { 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(I2, { 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(I2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[13] || (v2[13] = (e3) => A.value = true) }, { default: t(() => v2[33] || (v2[33] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (u(), o(x, { 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", L, [i(j, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (u(), o(_, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), T.value ? r("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), A.value ? (u(), o(y, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: R, onClose: P }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
39
37
  };
40
38
  } });
41
39
  export {
42
- T as default
40
+ W as default
43
41
  };
@@ -1,30 +1,28 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as s, createElementVNode as r, withDirectives as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as r, createElementVNode as s, withDirectives as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, 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 V from "../../common/common-attr-size.vue.js";
5
- import _ from "../common/data-origin.vue.js";
4
+ import _ from "../../common/common-attr-size.vue.js";
5
+ import V from "../common/data-origin.vue.js";
6
6
  import y from "../common/data-linkage.vue.js";
7
7
  import h from "../../common/common-variable-bind.vue.js";
8
8
  import k from "../../common/common-function-code.vue.js";
9
- import x from "../common/verification-custom.vue.js";
10
- import U from "../../common/common-i18n-key-input.vue.js";
11
- const j = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, z = e({ __name: "radio-attr-base", props: { configure: Object, default: () => ({ props: {} }), pageDesign: { type: Object, default: () => {
12
- } } }, emits: ["changeAssembly"], setup(e2, { emit: z2 }) {
13
- const S = e2, T = l(S.configure.name), W = z2, D = l("base"), q = l(false);
14
- function O(e3, l2) {
15
- S.configure.props.base.prop = e3, l2 && (S.configure.props.base.title = l2);
16
- }
17
- function P(e3) {
18
- S.configure.props.base.defaultValue = e3;
9
+ import j from "../common/verification-custom.vue.js";
10
+ import x from "../../common/common-i18n-key-input.vue.js";
11
+ import w from "../../common/common-bind-default-value.vue.js";
12
+ const U = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, S = e({ __name: "radio-attr-base", props: { configure: Object, default: () => ({ props: {} }), pageDesign: { type: Object, default: () => {
13
+ } } }, emits: ["changeAssembly"], setup(e2, { emit: S2 }) {
14
+ const W = e2, D = l(W.configure.name), q = S2, O = l("base"), P = l(false);
15
+ function T(e3, l2) {
16
+ W.configure.props.base.prop = e3, l2 && (W.configure.props.base.title = l2);
19
17
  }
20
18
  function A(e3) {
21
- v(S.configure, e3, W);
19
+ v(W.configure, e3, q);
22
20
  }
23
- return S.configure.isTable && (q.value = true), (l2, v2) => {
24
- const z3 = a("el-option"), S2 = a("el-select"), W2 = a("el-form-item"), C = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
25
- return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: D.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", j, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(S2, { modelValue: T.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => T.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), q.value ? s("", true) : (u(), o(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": P }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), q.value ? s("", true) : (u(), o(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), q.value ? s("", true) : (u(), o(W2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), q.value ? s("", true) : (u(), o(_, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", key: e2.configure.uuid, name: "verification", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), q.value ? s("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
21
+ return W.configure.isTable && (P.value = true), (l2, v2) => {
22
+ const S3 = a("el-option"), W2 = a("el-select"), q2 = a("el-form-item"), C = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
23
+ return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: O.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", U, [i(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(W2, { modelValue: D.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => D.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(S3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? r("", true) : (u(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": T }, null, 8, ["modelValue"]))]), _: 1 })), i(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), P.value ? r("", true) : (u(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? r("", true) : (u(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(q2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(q2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), P.value ? r("", true) : (u(), o(V, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", key: e2.configure.uuid, name: "verification", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", z, [i(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(j, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), P.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
26
24
  };
27
25
  } });
28
26
  export {
29
- z as default
27
+ S as default
30
28
  };
@@ -1,34 +1,32 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as o, withCtx as t, createVNode as i, createCommentVNode as s, withDirectives as r, createElementVNode as d, createElementBlock as n, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
- import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
- import _ from "../../common/common-attr-size.vue.js";
3
+ import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
4
+ import V from "../../common/common-attr-size.vue.js";
5
5
  import v from "../common/data-origin.vue.js";
6
6
  import y from "../common/data-linkage.vue.js";
7
7
  import h from "../../common/common-variable-bind.vue.js";
8
8
  import U from "../../common/common-function-code.vue.js";
9
9
  import k from "../common/title-suffix.vue.js";
10
10
  import w from "../common/verification-custom.vue.js";
11
- import x from "../../common/common-i18n-key-input.vue.js";
12
- const j = { style: { padding: "8px 0px 0px 0px" } }, S = { style: { padding: "8px 0px 0px 0px" } }, z = e({ __name: "select-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
13
- } }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: z2 }) {
14
- const T = e2, q = l(T.configure.name), W = z2, D = l(["base"]), P = l(false);
15
- function C(e3, l2) {
16
- T.configure.props.base.prop = e3, l2 && (T.configure.props.base.title = l2);
17
- }
18
- function M(e3) {
19
- T.configure.props.base.optionProp = e3;
11
+ import j from "../../common/common-i18n-key-input.vue.js";
12
+ import x from "../../common/common-bind-default-value.vue.js";
13
+ const S = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, q = e({ __name: "select-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
14
+ } }, default: () => ({ props: {} }) }, emits: ["changeAssembly"], setup(e2, { emit: q2 }) {
15
+ const W = e2, D = l(W.configure.name), P = q2, C = l(["base"]), T = l(false);
16
+ function M(e3, l2) {
17
+ W.configure.props.base.prop = e3, l2 && (W.configure.props.base.title = l2);
20
18
  }
21
19
  function O(e3) {
22
- T.configure.props.base.defaultValue = e3;
20
+ W.configure.props.base.optionProp = e3;
23
21
  }
24
22
  function A(e3) {
25
- V(T.configure, e3, W);
23
+ _(W.configure, e3, P);
26
24
  }
27
- return T.configure.isTable && (P.value = true), (l2, V2) => {
28
- const z3 = a("el-option"), T2 = a("el-select"), W2 = a("el-form-item"), B = a("el-input"), E = a("el-radio"), F = a("el-radio-group"), G = a("el-input-number"), H = a("el-collapse-item"), I = a("el-checkbox"), J = a("el-collapse"), K = a("el-form");
29
- return o(), u(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: D.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", j, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(T2, { modelValue: q.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(o(true), n(m, null, p(f(b)(), (e3) => (o(), u(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(B, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? s("", true) : (o(), u(W2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": C }, null, 8, ["modelValue"]))]), _: 1 })), P.value ? s("", true) : (o(), u(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? s("", true) : (o(), u(W2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), P.value ? s("", true) : (o(), u(W2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[17] || (V2[17] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[18] || (V2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "block" }, { default: t(() => V2[19] || (V2[19] = [c("换行")])), _: 1 }), i(E, { value: "inline" }, { default: t(() => V2[20] || (V2[20] = [c("不换行")])), _: 1 }), i(E, { value: "omit" }, { default: t(() => V2[21] || (V2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[22] || (V2[22] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[23] || (V2[23] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(W2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[24] || (V2[24] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[25] || (V2[25] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[26] || (V2[26] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[27] || (V2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[28] || (V2[28] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[29] || (V2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(W2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[30] || (V2[30] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[31] || (V2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(W2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => V2[32] || (V2[32] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => V2[33] || (V2[33] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "large" }, { default: t(() => V2[34] || (V2[34] = [c("大")])), _: 1 }), i(E, { value: "default" }, { default: t(() => V2[35] || (V2[35] = [c("中")])), _: 1 }), i(E, { value: "small" }, { default: t(() => V2[36] || (V2[36] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "default" }, { default: t(() => V2[37] || (V2[37] = [c("普通")])), _: 1 }), i(E, { value: "disabled" }, { default: t(() => V2[38] || (V2[38] = [c("禁用")])), _: 1 }), i(E, { value: "hidden" }, { default: t(() => V2[39] || (V2[39] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), P.value ? s("", true) : (o(), u(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (o(), u(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), r(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(H, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [d("div", S, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), P.value ? s("", true) : (o(), u(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
25
+ return W.configure.isTable && (T.value = true), (l2, _2) => {
26
+ const q3 = a("el-option"), W2 = a("el-select"), P2 = a("el-form-item"), B = a("el-input"), E = a("el-radio"), F = a("el-radio-group"), G = a("el-input-number"), H = a("el-collapse-item"), I = a("el-checkbox"), J = a("el-collapse"), K = a("el-form");
27
+ return o(), u(K, { "label-width": "80px", size: "small" }, { default: t(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": _2[16] || (_2[16] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(H, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", S, [i(P2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(W2, { modelValue: D.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => D.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(o(true), n(m, null, p(f(b)(), (e3) => (o(), u(q3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(B, { 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 }), T.value ? s("", true) : (o(), u(P2, { 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": M }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? s("", true) : (o(), u(P2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), u(P2, { key: 2, label: "选项名变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.optionProp, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["modelValue"]))]), _: 1 })), i(P2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(x, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), T.value ? s("", true) : (o(), u(P2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[17] || (_2[17] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[18] || (_2[18] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(P2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(P2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(P2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "block" }, { default: t(() => _2[19] || (_2[19] = [c("换行")])), _: 1 }), i(E, { value: "inline" }, { default: t(() => _2[20] || (_2[20] = [c("不换行")])), _: 1 }), i(E, { value: "omit" }, { default: t(() => _2[21] || (_2[21] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(P2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "多选", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.multiple = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[22] || (_2[22] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[23] || (_2[23] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(P2, { label: "多选合并", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.multipleMerge, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.multipleMerge = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[24] || (_2[24] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[25] || (_2[25] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "可创建条目", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.allowCreate, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.allowCreate = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[26] || (_2[26] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[27] || (_2[27] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "常用选优先", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.frequently, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.frequently = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[28] || (_2[28] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[29] || (_2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(P2, { label: "值为数组", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.arrayValue, "onUpdate:modelValue": _2[11] || (_2[11] = (l3) => e2.configure.props.base.arrayValue = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[30] || (_2[30] = [c("是")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[31] || (_2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.multiple]]), i(P2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(E, { value: true }, { default: t(() => _2[32] || (_2[32] = [c("显示")])), _: 1 }), i(E, { value: false }, { default: t(() => _2[33] || (_2[33] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "large" }, { default: t(() => _2[34] || (_2[34] = [c("大")])), _: 1 }), i(E, { value: "default" }, { default: t(() => _2[35] || (_2[35] = [c("中")])), _: 1 }), i(E, { value: "small" }, { default: t(() => _2[36] || (_2[36] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(P2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[14] || (_2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(E, { value: "default" }, { default: t(() => _2[37] || (_2[37] = [c("普通")])), _: 1 }), i(E, { value: "disabled" }, { default: t(() => _2[38] || (_2[38] = [c("禁用")])), _: 1 }), i(E, { value: "hidden" }, { default: t(() => _2[39] || (_2[39] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), T.value ? s("", true) : (o(), u(v, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (o(), u(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), r(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(H, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [d("div", z, [i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(I, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[15] || (_2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(P2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(w, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
30
28
  };
31
29
  } });
32
30
  export {
33
- z as default
31
+ q as default
34
32
  };