super-page-designer 2.2.24 → 2.2.27

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 (27) hide show
  1. package/dist/es/components/design/utils/data-table-util.js +1 -1
  2. package/dist/es/components/design/utils/page-explore-util.js +9 -12
  3. package/dist/es/components/design/utils/page-table-util.js +1 -1
  4. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +32 -29
  5. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +1 -1
  6. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-advanced.vue.js +12 -0
  7. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-advanced.vue2.js +4 -0
  8. package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +8 -7
  9. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +4 -4
  10. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +1 -1
  11. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +1 -1
  12. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
  14. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +3 -3
  15. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +1 -1
  16. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +1 -1
  17. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +1 -1
  18. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
  19. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +1 -1
  20. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +1 -1
  22. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +1 -1
  23. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +10 -10
  24. package/dist/es/components/design/views/design/page-design.vue.js +83 -73
  25. package/dist/es/components/design/views/design/view/assemblys-container-explore.vue.js +3 -3
  26. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +26 -23
  27. package/package.json +4 -4
@@ -65,7 +65,7 @@ function o(e2, a2, l2) {
65
65
  function u(e2) {
66
66
  if (!e2.props.groupHeaders) return;
67
67
  let l2 = [], r2 = e2.items, n2 = JSON.parse(JSON.stringify(e2.props.groupHeaders));
68
- return !r2 || n2 && 0 !== n2.length ? (l2 = function(e3, l3) {
68
+ return !r2 || e2.props.base.isEnableGroupHeader && n2 && 0 !== n2.length ? (l2 = function(e3, l3) {
69
69
  let r3 = [];
70
70
  if (!e3) return r3;
71
71
  let n3 = [];
@@ -1,26 +1,23 @@
1
1
  function e(e2, t, l, o) {
2
2
  const i = { uuid: "-1", label: "页面", name: "page", componentIndex: -1 };
3
3
  if (!e2 || 0 == e2.length) return [i];
4
- const p = [];
4
+ const s = [];
5
5
  for (let o2 = 0; o2 < e2.length; o2++) {
6
6
  const i2 = n(e2[o2], t, l);
7
- i2 && p.push(i2);
7
+ i2 && s.push(i2);
8
8
  }
9
- return i.children = p, [i];
9
+ return i.children = s, [i];
10
10
  }
11
11
  function n(e2, t, l, o) {
12
12
  const i = [];
13
13
  if (e2.items && e2.items.length > 0 && "table" != e2.name) for (let o2 = 0; o2 < e2.items.length; o2++) {
14
- const p2 = n(e2.items[o2], t, l);
15
- null != p2 && i.push(p2);
14
+ const s2 = n(e2.items[o2], t, l);
15
+ null != s2 && i.push(s2);
16
16
  }
17
- const p = e2.props && e2.props.base ? e2.props.base.title : void 0;
18
- let s = true;
19
- if (0 == i.length && t && (s = false, (e2.type && e2.type.indexOf(t) > -1 || e2.label && e2.label.indexOf(t) > -1 || e2.name && e2.name.indexOf(t) > -1 || p && p.indexOf(t) > -1) && (s = true)), s && e2.componentIndex) {
20
- const n2 = { componentIndex: e2.componentIndex, name: e2.name, label: p ? p + "(" + e2.label + ")" : e2.label, uuid: e2.uuid, children: i };
21
- return null != l && e2.componentIndex && (l.value[e2.componentIndex] = e2), n2;
22
- }
23
- return null;
17
+ const s = e2.props && e2.props.base ? e2.props.base.title : void 0;
18
+ 0 == i.length && t && (e2.type && e2.type.indexOf(t) > -1 || e2.label && e2.label.indexOf(t) > -1 || e2.name && e2.name.indexOf(t) > -1 || s && s.indexOf(t));
19
+ const a = { componentIndex: e2.componentIndex, name: e2.name, label: s ? s + "(" + e2.label + ")" : e2.label, uuid: e2.uuid, children: i };
20
+ return null != l && e2.componentIndex && (l.value[e2.componentIndex] = e2), a;
24
21
  }
25
22
  export {
26
23
  e as convertToExploreTreeDatas
@@ -14,7 +14,7 @@ function n(t2, r2, a2) {
14
14
  function o(e2, r2) {
15
15
  const i2 = JSON.stringify(e2), s2 = JSON.parse(i2);
16
16
  if (r2.tableRuntimes || (r2.tableRuntimes = {}), r2.tableRuntimes[s2.uuid] = function(e3, r3, i3) {
17
- const s3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid, n2 = { configure: i3, code: s3, name: e3.label, totalType: e3.props.base ? e3.props.base.totalType : null, remark: e3.props.base ? e3.props.base.remark : null, pagination: e3.props.base ? e3.props.base.subPaging : null, rowNum: e3.props.base ? e3.props.base.pageSize : null, optionalRows: e3.props.base ? e3.props.base.pageSizes : null, layout: e3.props.base ? JSON.stringify(e3.props.base.layout) : null, startQuery: e3.props.base ? e3.props.base.startQuery : null, popUp: e3.props.base ? e3.props.base.popUp : null, isInitializationQuery: e3.props.dataOrigin.initializationQuery, defaultQueryCriteria: e3.props.dataOrigin.defaultQueryCriteria, queryLabelPosition: e3.props.base ? e3.props.base.queryLabelPosition : null, editable: e3.props.base ? e3.props.base.editable : null, urlToListData: e3.props.base ? e3.props.base.urlToListData : null, isSql: true, customConfig: e3.props.base ? e3.props.base.customConfig : null, tableName: e3.props.dataOrigin.tableName, totalable: e3.props.title.totalable, defaultSortField: JSON.stringify(e3.props.dataOrigin.sortField), titleAlign: e3.props.base ? e3.props.base.alignTitle : null, contAlign: e3.props.base ? e3.props.base.alignContent : null, displayEffect: e3.props.base ? e3.props.base.displayEffect : null, isDragColumn: e3.props.base ? e3.props.base.isDragColumn : null, border: e3.props.base ? e3.props.base.border : null };
17
+ const s3 = "V" + r3.version + "__" + r3.code + "__" + e3.uuid, n2 = { configure: i3, code: s3, name: e3.label, totalType: e3.props.base ? e3.props.base.totalType : null, remark: e3.props.base ? e3.props.base.remark : null, pagination: e3.props.base ? e3.props.base.subPaging : null, rowNum: e3.props.base ? e3.props.base.pageSize : null, optionalRows: e3.props.base ? e3.props.base.pageSizes : null, layout: e3.props.base ? JSON.stringify(e3.props.base.layout) : null, startQuery: e3.props.base ? e3.props.base.startQuery : null, popUp: e3.props.base ? e3.props.base.popUp : null, isInitializationQuery: e3.props.dataOrigin.initializationQuery, defaultQueryCriteria: e3.props.dataOrigin.defaultQueryCriteria, queryLabelPosition: e3.props.base ? e3.props.base.queryLabelPosition : null, editable: e3.props.base ? e3.props.base.editable : null, urlToListData: e3.props.base ? e3.props.base.urlToListData : null, isSql: true, customConfig: e3.props.base ? e3.props.base.customConfig : null, tableName: e3.props.dataOrigin.tableName, totalable: e3.props.title.totalable, defaultSortField: JSON.stringify(e3.props.dataOrigin.sortField), titleAlign: e3.props.base ? e3.props.base.alignTitle : null, contAlign: e3.props.base ? e3.props.base.alignContent : null, displayEffect: e3.props.base ? e3.props.base.displayEffect : null, isDragColumn: e3.props.base ? e3.props.base.isDragColumn : null, border: e3.props.base ? e3.props.base.border : null, customImportColumns: e3.props.importSetting.importFields };
18
18
  return n2.items = function(e4, r4) {
19
19
  var _a;
20
20
  const i4 = [];
@@ -1,41 +1,44 @@
1
- import { defineComponent as e, ref as l, resolveComponent as t, createBlock as o, openBlock as i, withCtx as n, createVNode as r, createElementVNode as u, unref as a, nextTick as d } from "vue";
2
- import { Plus as c, Delete as p } from "@element-plus/icons-vue";
3
- import s from "./variate-select.vue.js";
4
- import { getUuidv4 as f } from "../../../../utils/common-util.js";
5
- const m = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, g = e({ __name: "import-header", props: { configure: {} }, setup(e2) {
6
- const g2 = e2, v = l([{ uuid: f(), listColumnId: "", skipVerification: false }]), k = l(null);
7
- function w(e3) {
1
+ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as t, openBlock as i, withCtx as n, createVNode as r, createElementVNode as u, createElementBlock as a, Fragment as p, renderList as s, unref as d, nextTick as c } from "vue";
2
+ import { Plus as f, Delete as m } from "@element-plus/icons-vue";
3
+ import { getUuidv4 as g } from "../../../../utils/common-util.js";
4
+ import { ElMessage as v } from "element-plus";
5
+ const C = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, k = e({ __name: "import-header", props: { configure: {} }, setup(e2) {
6
+ const k2 = e2, w = l([{ uuid: g(), listColumnProp: "", skipVerification: false }]), b = l(null);
7
+ function h(e3) {
8
8
  let l2 = -1;
9
- const t2 = v.value.length;
10
- for (let o2 = 0; o2 < t2; o2++) if (v.value[o2].uuid == e3.uuid) {
11
- l2 = o2;
9
+ const o2 = w.value.length;
10
+ for (let t2 = 0; t2 < o2; t2++) if (w.value[t2].uuid == e3.uuid) {
11
+ l2 = t2;
12
12
  break;
13
13
  }
14
14
  return l2;
15
15
  }
16
- return g2.configure.props.importSetting.importFields && 0 != g2.configure.props.importSetting.importFields && (v.value = g2.configure.props.importSetting.importFields), (e3, l2) => {
17
- const g3 = t("Top"), C = t("el-icon"), V = t("Bottom"), _ = t("el-table-column"), b = t("el-switch"), h = t("el-table");
18
- return i(), o(h, { ref_key: "tableRef", ref: k, data: v.value, style: { width: "100%" } }, { default: n(() => [r(_, { width: "50", align: "center" }, { default: n((e4) => [u("div", m, [r(C, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e5) {
19
- let l4 = w(e5);
20
- l4 < 1 || d(() => {
21
- const e6 = v.value;
16
+ return k2.configure.props.importSetting.importFields && 0 != k2.configure.props.importSetting.importFields ? w.value = k2.configure.props.importSetting.importFields : k2.configure.props.importSetting.importFields = w.value, (e3, l2) => {
17
+ const k3 = o("Top"), _ = o("el-icon"), V = o("Bottom"), x = o("el-table-column"), y = o("el-option"), P = o("el-select"), F = o("el-switch"), z = o("el-table");
18
+ return i(), t(z, { ref_key: "tableRef", ref: b, data: w.value, style: { width: "100%" } }, { default: n(() => [r(x, { width: "50", align: "center" }, { default: n((e4) => [u("div", C, [r(_, { size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e5) {
19
+ let l4 = h(e5);
20
+ l4 < 1 || c(() => {
21
+ const e6 = w.value;
22
22
  [e6[l4 - 1], e6[l4]] = [e6[l4], e6[l4 - 1]];
23
23
  });
24
- }(e4.row) }, { default: n(() => [r(g3)]), _: 2 }, 1032, ["onClick"]), r(C, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e5) {
25
- let l4 = w(e5);
26
- if (-1 == l4 || v.value.length == l4 + 1) return;
27
- const t2 = v.value;
28
- [t2[l4], t2[l4 + 1]] = [t2[l4 + 1], t2[l4]];
29
- }(e4.row) }, { default: n(() => [r(V)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), r(_, { label: "表头字段", align: "center" }, { default: n((l3) => [(i(), o(s, { key: l3.row.uuid, modelValue: l3.row.listColumnId, "onUpdate:modelValue": (e4) => l3.row.listColumnId = e4, tableConfigure: e3.configure }, null, 8, ["modelValue", "onUpdate:modelValue", "tableConfigure"]))]), _: 1 }), r(_, { label: "跳过校验", align: "center" }, { default: n((e4) => [r(b, { modelValue: e4.row.skipVerification, "onUpdate:modelValue": (l3) => e4.row.skipVerification = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(_, { label: "操作", width: "60" }, { default: n((e4) => [r(C, { size: "14", style: { color: "#5893EF", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => function(e5) {
24
+ }(e4.row) }, { default: n(() => [r(k3)]), _: 2 }, 1032, ["onClick"]), r(_, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e5) {
25
+ let l4 = h(e5);
26
+ if (-1 == l4 || w.value.length == l4 + 1) return;
27
+ const o2 = w.value;
28
+ [o2[l4], o2[l4 + 1]] = [o2[l4 + 1], o2[l4]];
29
+ }(e4.row) }, { default: n(() => [r(V)]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), r(x, { label: "表头字段", align: "center" }, { default: n((l3) => [(i(), t(P, { key: l3.row.uuid, onChange: (e4) => {
30
+ return o2 = e4, t2 = l3.$index, void (w.value.filter((e5) => e5.listColumnProp == o2).length > 1 && (w.value[t2].listColumnProp = "", v.warning("字段已存在,请重新选择")));
31
+ var o2, t2;
32
+ }, modelValue: l3.row.listColumnProp, "onUpdate:modelValue": (e4) => l3.row.listColumnProp = e4, clearable: "", filterable: "", "allow-create": "", n: "" }, { default: n(() => [(i(true), a(p, null, s(e3.configure.modelFields, (e4, l4) => (i(), t(y, { key: l4, label: e4.alias, value: e4.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["onChange", "modelValue", "onUpdate:modelValue"]))]), _: 1 }), r(x, { label: "跳过校验", align: "center" }, { default: n((e4) => [r(F, { modelValue: e4.row.skipVerification, "onUpdate:modelValue": (l3) => e4.row.skipVerification = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(x, { label: "操作", width: "60" }, { default: n((e4) => [r(_, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => function(e5) {
30
33
  let l4 = -1;
31
- e5 && (l4 = w(e5)), v.value.splice(l4 + 1, 0, { uuid: f(), listColumnId: "", skipVerification: false });
32
- }(e4.row) }, { default: n(() => [r(a(c))]), _: 2 }, 1032, ["onClick"]), r(C, { size: "14", style: { color: "#5893EF", cursor: "pointer" }, onClick: (l3) => function(e5) {
33
- if (1 == v.value.length) return e5.value = "", void (e5.label = "");
34
- let l4 = w(e5);
35
- l4 > -1 && v.value.splice(l4, 1);
36
- }(e4.row) }, { default: n(() => [r(a(p))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
34
+ e5 && (l4 = h(e5)), w.value.splice(l4 + 1, 0, { uuid: g(), listColumnProp: "", skipVerification: false });
35
+ }(e4.row) }, { default: n(() => [r(d(f))]), _: 2 }, 1032, ["onClick"]), r(_, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e5) {
36
+ if (1 == w.value.length) return e5.value = "", void (e5.label = "");
37
+ let l4 = h(e5);
38
+ l4 > -1 && w.value.splice(l4, 1);
39
+ }(e4.row) }, { default: n(() => [r(d(m))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]);
37
40
  };
38
41
  } });
39
42
  export {
40
- g as default
43
+ k as default
41
44
  };
@@ -24,7 +24,7 @@ const j = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
24
24
  }
25
25
  return (l2, v2) => {
26
26
  const T3 = a("el-option"), z2 = a("el-select"), S2 = 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");
27
- return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: W.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => W.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(S2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(z2, { modelValue: q.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(S2, { 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 }), D.value ? s("", true) : (u(), o(S2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 })), i(S2, { 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 }), D.value ? s("", true) : (u(), o(S2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? s("", true) : (u(), o(S2, { 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(S2, { 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(S2, { 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, max: 200, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(S2, { 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(S2, { 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(S2, { 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 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), D.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: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(S2, { 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(S2, { 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 })), D.value ? s("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
27
+ return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: W.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => W.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(S2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(z2, { modelValue: q.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => q.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(S2, { 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 }), D.value ? s("", true) : (u(), o(S2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 })), i(S2, { 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 }), D.value ? s("", true) : (u(), o(S2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), D.value ? s("", true) : (u(), o(S2, { 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(S2, { 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(S2, { 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(S2, { 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(S2, { 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(S2, { 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 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), D.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: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(S2, { 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(S2, { 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 })), D.value ? s("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
28
28
  };
29
29
  } });
30
30
  export {
@@ -0,0 +1,12 @@
1
+ import { defineComponent as e, ref as o, resolveComponent as a, createBlock as l, openBlock as t, withCtx as u, createVNode as r } from "vue";
2
+ import n from "../../common/common-advanced-basic.vue.js";
3
+ const m = e({ __name: "custom-attr-advanced", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }) }, setup(e2) {
4
+ const m2 = o(["base"]);
5
+ return (o2, c) => {
6
+ const s = a("el-collapse"), d = a("el-form");
7
+ return t(), l(d, { "label-width": "80px", size: "small" }, { default: u(() => [r(s, { modelValue: m2.value, "onUpdate:modelValue": c[0] || (c[0] = (e3) => m2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [r(n, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
8
+ };
9
+ } });
10
+ export {
11
+ m as default
12
+ };
@@ -0,0 +1,4 @@
1
+ import t from "./custom-attr-advanced.vue.js";
2
+ export {
3
+ t as default
4
+ };
@@ -1,12 +1,13 @@
1
- import { defineComponent as e, ref as t, createElementBlock as o, openBlock as r, createVNode as u, createElementVNode as n, unref as s, isRef as a, withDirectives as l, vShow as i } from "vue";
2
- import m from "./custom-attr-base.vue.js";
3
- import c from "./custom-attr-style.vue.js";
1
+ import { defineComponent as e, ref as t, createElementBlock as o, openBlock as r, createVNode as u, createElementVNode as n, unref as a, isRef as s, withDirectives as c, vShow as i } from "vue";
2
+ import l from "./custom-attr-base.vue.js";
3
+ import m from "./custom-attr-style.vue.js";
4
4
  import f from "../common/attr-header.vue.js";
5
5
  import p from "./custom-attr-event.vue.js";
6
- const d = { class: "amb-design-attr-content" }, g = { class: "amb-design-attr-list" }, v = e({ __name: "custom-attr", props: { configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) } }, setup(e2) {
7
- let v2 = t("base");
8
- return (t2, b) => (r(), o("div", d, [u(f, { showAdvanced: false, modelValue: s(v2), "onUpdate:modelValue": b[0] || (b[0] = (e3) => a(v2) ? v2.value = e3 : v2 = e3) }, null, 8, ["modelValue"]), n("div", g, [l(u(m, { configure: e2.configure }, null, 8, ["configure"]), [[i, "base" === s(v2)]]), l(u(c, { configure: e2.configure }, null, 8, ["configure"]), [[i, "style" === s(v2)]]), l(u(p, { configure: e2.configure }, null, 8, ["configure"]), [[i, "event" === s(v2)]])])]));
6
+ import d from "./custom-attr-advanced.vue.js";
7
+ const g = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-list" }, b = e({ __name: "custom-attr", props: { configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) } }, setup(e2) {
8
+ let b2 = t("base");
9
+ return (t2, j) => (r(), o("div", g, [u(f, { modelValue: a(b2), "onUpdate:modelValue": j[0] || (j[0] = (e3) => s(b2) ? b2.value = e3 : b2 = e3) }, null, 8, ["modelValue"]), n("div", v, [c(u(l, { configure: e2.configure }, null, 8, ["configure"]), [[i, "base" === a(b2)]]), c(u(m, { configure: e2.configure }, null, 8, ["configure"]), [[i, "style" === a(b2)]]), c(u(p, { configure: e2.configure }, null, 8, ["configure"]), [[i, "event" === a(b2)]]), c(u(d, { configure: e2.configure }, null, 8, ["configure"]), [[i, "advanced" == a(b2)]])])]));
9
10
  } });
10
11
  export {
11
- v as default
12
+ b as default
12
13
  };
@@ -1,4 +1,4 @@
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 m, unref as c, vShow as b, createTextVNode as g } from "vue";
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
2
  import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
3
3
  import { componentNameChange as v } from "../../../../utils/form-design-util.js";
4
4
  import { getCustomFuncs as _ } from "../../../../utils/page-event-util.js";
@@ -7,8 +7,8 @@ import h from "../../common/common-variable-bind.vue.js";
7
7
  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
- import { WarningFilled as x } from "@element-plus/icons-vue";
11
- const S = { 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: () => {
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: () => {
12
12
  } }, pageDesign: { type: Object, default: () => {
13
13
  } } }, emits: ["changeAssembly"], setup(e2, { emit: z2 }) {
14
14
  const D = e2, Y = l(D.configure.name), F = z2, M = l(["base"]), W = l(false);
@@ -28,7 +28,7 @@ const S = { style: { padding: "8px 0px 0px 0px" } }, T = { class: "amb-design-at
28
28
  }
29
29
  return (l2, a2) => {
30
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", S, [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, 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(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, max: 200, 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, 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(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(c(x))]), _: 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 })]), _: 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, 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 })), W.value ? p("", true) : (t(), u(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
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 })]), _: 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 });
32
32
  };
33
33
  } });
34
34
  export {
@@ -20,7 +20,7 @@ const F = e({ __name: "datepicker-design", props: { configure: { type: Object, r
20
20
  let l2 = "daterange";
21
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
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(x.value, a2);
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(x.value, a2);
24
24
  }(), F2.configure.runtime.props = x.value, F2.configure.runtime.titleExceedStyle = w.value;
25
25
  }, { immediate: true }), (a2, t2) => {
26
26
  const g2 = l("el-icon"), y2 = l("el-input"), F3 = l("el-form-item");
@@ -29,7 +29,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
29
29
  }
30
30
  return D.configure.isTable && (C.value = true), (l2, _2) => {
31
31
  const z3 = a("el-option"), D2 = a("el-select"), q2 = a("el-form-item"), E = a("el-input"), G = a("el-radio"), H = a("el-radio-group"), I = a("el-input-number"), J = a("el-collapse-item"), K = a("el-checkbox"), N = a("el-col"), P = a("el-button"), Q = a("el-collapse"), R = a("el-form");
32
- return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": L }, null, 8, ["modelValue"]))]), _: 1 })), s(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[15] || (_2[15] = [c("显示")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[16] || (_2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(s(q2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(T, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, max: 200, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "block" }, { default: u(() => _2[17] || (_2[17] = [c("换行")])), _: 1 }), s(G, { value: "inline" }, { default: u(() => _2[18] || (_2[18] = [c("不换行")])), _: 1 }), s(G, { value: "omit" }, { default: u(() => _2[19] || (_2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(q2, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[20] || (_2[20] = [c("是")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[21] || (_2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(s(q2, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), s(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大")])), _: 1 }), s(G, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中")])), _: 1 }), s(G, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通")])), _: 1 }), s(G, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(J, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [s(H, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.deptScope = l3) }, { default: u(() => [s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "field" }, { default: u(() => _2[27] || (_2[27] = [c("指定变量")])), _: 1 })]), default: u(() => [s(h, { isTable: e2.configure.isTable, showLabel: "field" != e2.configure.props.base.deptScope, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": A }, null, 8, ["isTable", "showLabel", "modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "depts" }, { default: u(() => _2[28] || (_2[28] = [c("固定部门")])), _: 1 })]), default: u(() => [s(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": _2[11] || (_2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: B }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), (t(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), i(s(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(J, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", j, [s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(K, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(N, { span: 8 }, { default: u(() => [s(K, { label: "自定义", value: "custom" })]), _: 1 }), s(N, { span: 14 }, { default: u(() => [s(P, null, { default: u(() => _2[29] || (_2[29] = [c("自定义逻辑")])), _: 1 }), s(P, { icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), C.value ? d("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
32
+ return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": L }, null, 8, ["modelValue"]))]), _: 1 })), s(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[15] || (_2[15] = [c("显示")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[16] || (_2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(s(q2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(T, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "block" }, { default: u(() => _2[17] || (_2[17] = [c("换行")])), _: 1 }), s(G, { value: "inline" }, { default: u(() => _2[18] || (_2[18] = [c("不换行")])), _: 1 }), s(G, { value: "omit" }, { default: u(() => _2[19] || (_2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(q2, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[20] || (_2[20] = [c("是")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[21] || (_2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(s(q2, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), s(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大")])), _: 1 }), s(G, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中")])), _: 1 }), s(G, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通")])), _: 1 }), s(G, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(J, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [s(H, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.deptScope = l3) }, { default: u(() => [s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "field" }, { default: u(() => _2[27] || (_2[27] = [c("指定变量")])), _: 1 })]), default: u(() => [s(h, { isTable: e2.configure.isTable, showLabel: "field" != e2.configure.props.base.deptScope, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": A }, null, 8, ["isTable", "showLabel", "modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "depts" }, { default: u(() => _2[28] || (_2[28] = [c("固定部门")])), _: 1 })]), default: u(() => [s(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": _2[11] || (_2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: B }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), (t(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), i(s(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(J, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", j, [s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(K, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(N, { span: 8 }, { default: u(() => [s(K, { label: "自定义", value: "custom" })]), _: 1 }), s(N, { span: 14 }, { default: u(() => [s(P, null, { default: u(() => _2[29] || (_2[29] = [c("自定义逻辑")])), _: 1 }), s(P, { icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), C.value ? d("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
33
33
  };
34
34
  } });
35
35
  export {
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
19
19
  }
20
20
  return j.configure.isTable && (T.value = true), (l2, V2) => {
21
21
  const k3 = a("el-option"), j2 = a("el-select"), z2 = a("el-form-item"), N = a("el-input"), O = a("el-radio"), A = a("el-radio-group"), D = a("el-input-number"), B = a("el-collapse-item"), E = a("el-radio-button"), F = a("el-text"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
22
- return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, max: 200, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[19] || (V2[19] = [f("格式如:.doc,.docx,.xml...")])), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", w, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, null, { default: u(() => V2[20] || (V2[20] = [f("自定义逻辑")])), _: 1 }), i(I, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
+ return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[19] || (V2[19] = [f("格式如:.doc,.docx,.xml...")])), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", w, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, null, { default: u(() => V2[20] || (V2[20] = [f("自定义逻辑")])), _: 1 }), i(I, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
23
  };
24
24
  } });
25
25
  export {
@@ -20,7 +20,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
20
20
  }
21
21
  return j.configure.isTable && (W.value = true), (l2, V2) => {
22
22
  const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
23
- return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, max: 200, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, null, { default: t(() => V2[29] || (V2[29] = [c("自定义逻辑")])), _: 1 }), i(H, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
+ return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, null, { default: t(() => V2[29] || (V2[29] = [c("自定义逻辑")])), _: 1 }), i(H, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
24
24
  };
25
25
  } });
26
26
  export {
@@ -3,8 +3,8 @@ import { getFormComponentOptions as b } from "../../../../utils/assemblys-config
3
3
  import { componentNameChange as v } from "../../../../utils/form-design-util.js";
4
4
  import V from "../common/verification.vue.js";
5
5
  import _ from "../../common/common-attr-size.vue.js";
6
- import x from "../common/pre-suffix.vue.js";
7
- import y from "../common/bar-code-rule.vue.js";
6
+ import y from "../common/pre-suffix.vue.js";
7
+ import x from "../common/bar-code-rule.vue.js";
8
8
  import h from "../../common/common-variable-bind.vue.js";
9
9
  import k from "../../common/common-function-code.vue.js";
10
10
  import S from "../common/suffixmodule.vue.js";
@@ -35,7 +35,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
35
35
  }
36
36
  return (l2, v2) => {
37
37
  const T3 = a("el-option"), L2 = a("el-select"), C2 = 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 u(), o(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: O.value, "onUpdate:modelValue": v2[13] || (v2[13] = (e3) => O.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(C2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(L2, { modelValue: W.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => W.value = e3), onChange: N, placeholder: "请选择" }, { default: t(() => [(u(true), p(d, null, f(m(b)(), (e3) => (u(), o(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { 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 }), I.value ? r("", true) : (u(), o(C2, { 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": R }, null, 8, ["modelValue"]))]), _: 1 })), i(C2, { 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": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), I.value ? r("", true) : (u(), o(C2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), I.value ? r("", true) : (u(), o(C2, { 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[14] || (v2[14] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[15] || (v2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(C2, { 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(C2, { 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, max: 200, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(C2, { 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[16] || (v2[16] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[17] || (v2[17] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[18] || (v2[18] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(C2, { 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(C2, { 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[19] || (v2[19] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[20] || (v2[20] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { 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(C2, { 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[21] || (v2[21] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[22] || (v2[22] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[23] || (v2[23] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { 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[24] || (v2[24] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[25] || (v2[25] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[26] || (v2[26] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[27] || (v2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(C2, { 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[28] || (v2[28] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[29] || (v2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[12] || (v2[12] = (e3) => q.value = true) }, { default: t(() => v2[30] || (v2[30] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(U, { 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", D, [i(S, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (u(), o(V, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), I.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (u(), o(y, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
38
+ return u(), o(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: O.value, "onUpdate:modelValue": v2[13] || (v2[13] = (e3) => O.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(C2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(L2, { modelValue: W.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => W.value = e3), onChange: N, placeholder: "请选择" }, { default: t(() => [(u(true), p(d, null, f(m(b)(), (e3) => (u(), o(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { 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 }), I.value ? r("", true) : (u(), o(C2, { 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": R }, null, 8, ["modelValue"]))]), _: 1 })), i(C2, { 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": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), I.value ? r("", true) : (u(), o(C2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), I.value ? r("", true) : (u(), o(C2, { 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[14] || (v2[14] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[15] || (v2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(C2, { 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(C2, { 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(C2, { 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[16] || (v2[16] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[17] || (v2[17] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[18] || (v2[18] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(C2, { 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(C2, { 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[19] || (v2[19] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[20] || (v2[20] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { 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(C2, { 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[21] || (v2[21] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[22] || (v2[22] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[23] || (v2[23] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { 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[24] || (v2[24] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[25] || (v2[25] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[26] || (v2[26] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[27] || (v2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(C2, { 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[28] || (v2[28] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[29] || (v2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[12] || (v2[12] = (e3) => q.value = true) }, { default: t(() => v2[30] || (v2[30] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(U, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (u(), o(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(S, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (u(), o(V, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), I.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (u(), o(x, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
39
39
  };
40
40
  } });
41
41
  export {