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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +73 -62
  2. package/dist/es/components/design/utils/form-design-util.js +1 -1
  3. package/dist/es/components/design/utils/page-table-util.js +2 -2
  4. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
  5. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +8 -8
  6. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +10 -10
  7. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +1 -1
  8. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +1 -1
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +1 -1
  10. package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue.js +7 -0
  11. package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +27 -0
  12. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +8 -8
  13. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +5 -5
  14. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +16 -18
  15. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +43 -43
  16. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +14 -16
  17. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +21 -21
  18. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +25 -27
  19. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +16 -18
  20. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +15 -17
  21. package/dist/es/components/design/views/assemblys/object-design.vue.js +1 -1
  22. package/dist/es/components/design/views/assemblys/object-design.vue3.js +87 -97
  23. package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +37 -37
  24. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +28 -0
  25. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue2.js +4 -0
  26. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue.js +7 -0
  27. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +33 -0
  28. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +28 -0
  29. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue2.js +4 -0
  30. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +68 -0
  31. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue2.js +4 -0
  32. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue.js +14 -0
  33. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-event.vue2.js +4 -0
  34. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue.js +4 -0
  35. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr.vue2.js +15 -0
  36. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue.js +4 -0
  37. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-design.vue2.js +28 -0
  38. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +14 -10
  39. package/dist/es/components/design/views/design/view/view-design-display.vue.js +8 -18
  40. package/dist/es/style.css +18 -3
  41. package/package.json +4 -4
  42. /package/dist/es/components/design/views/assemblys/button/component/{journal-set-dialog.vue2.js → journal-set-dialog.vue3.js} +0 -0
@@ -1,32 +1,30 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as s, createElementVNode as r, withDirectives as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, createCommentVNode as r, createElementVNode as s, withDirectives as n, createElementBlock as d, Fragment as m, renderList as p, unref as f, createTextVNode as c, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
3
  import { componentNameChange as v } from "../../../../utils/form-design-util.js";
4
- import V from "../../common/common-attr-size.vue.js";
5
- import _ from "../common/data-origin.vue.js";
4
+ import _ from "../../common/common-attr-size.vue.js";
5
+ import V from "../common/data-origin.vue.js";
6
6
  import y from "../common/data-linkage.vue.js";
7
7
  import h from "../../common/common-variable-bind.vue.js";
8
8
  import k from "../../common/common-function-code.vue.js";
9
9
  import x from "../common/verification-custom.vue.js";
10
- import U from "../../common/common-i18n-key-input.vue.js";
11
- const j = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "checkbox-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }), pageDesign: { type: Object, default: () => {
12
- } } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
13
- const z = e2, S = T2, W = l(["base"]), D = l(false);
14
- z.configure.isTable && (D.value = true);
15
- const q = l(z.configure.name);
16
- function O(e3, l2) {
17
- z.configure.props.base.prop = e3, l2 && (z.configure.props.base.title = l2);
18
- }
19
- function P(e3) {
20
- z.configure.props.base.defaultValue = e3;
10
+ import j from "../../common/common-i18n-key-input.vue.js";
11
+ import w from "../../common/common-bind-default-value.vue.js";
12
+ const U = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, S = e({ __name: "checkbox-attr-base", props: { configure: { type: Object, required: true }, default: () => ({ props: {} }), pageDesign: { type: Object, default: () => {
13
+ } } }, emits: ["changeAssembly"], setup(e2, { emit: S2 }) {
14
+ const T = e2, W = S2, D = l(["base"]), q = l(false);
15
+ T.configure.isTable && (q.value = true);
16
+ const O = l(T.configure.name);
17
+ function P(e3, l2) {
18
+ T.configure.props.base.prop = e3, l2 && (T.configure.props.base.title = l2);
21
19
  }
22
20
  function A(e3) {
23
- v(z.configure, e3, S);
21
+ v(T.configure, e3, W);
24
22
  }
25
23
  return (l2, v2) => {
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, 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 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [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 });
24
+ const S3 = a("el-option"), T2 = a("el-select"), W2 = a("el-form-item"), C = a("el-input"), B = a("el-radio"), E = a("el-radio-group"), F = a("el-input-number"), G = a("el-collapse-item"), H = a("el-checkbox"), I = a("el-collapse"), J = a("el-form");
25
+ return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: D.value, "onUpdate:modelValue": v2[9] || (v2[9] = (e3) => D.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(G, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [s("div", U, [i(W2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(T2, { modelValue: O.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => O.value = e3), onChange: A, placeholder: "请选择" }, { default: t(() => [(u(true), d(m, null, p(f(b)(), (e3) => (u(), o(S3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), q.value ? r("", true) : (u(), o(W2, { 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": P }, null, 8, ["isTable", "modelValue"]))]), _: 1 })), i(W2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(w, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), q.value ? r("", true) : (u(), o(W2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), q.value ? r("", true) : (u(), o(W2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(B, { value: true }, { default: t(() => v2[10] || (v2[10] = [c("显示")])), _: 1 }), i(B, { value: false }, { default: t(() => v2[11] || (v2[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(W2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(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]]), n(i(W2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(F, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), n(i(W2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "block" }, { default: t(() => v2[12] || (v2[12] = [c("换行")])), _: 1 }), i(B, { value: "inline" }, { default: t(() => v2[13] || (v2[13] = [c("不换行")])), _: 1 }), i(B, { value: "omit" }, { default: t(() => v2[14] || (v2[14] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(W2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "large" }, { default: t(() => v2[15] || (v2[15] = [c("大")])), _: 1 }), i(B, { value: "default" }, { default: t(() => v2[16] || (v2[16] = [c("中")])), _: 1 }), i(B, { value: "small" }, { default: t(() => v2[17] || (v2[17] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(W2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(B, { value: "default" }, { default: t(() => v2[18] || (v2[18] = [c("普通")])), _: 1 }), i(B, { value: "disabled" }, { default: t(() => v2[19] || (v2[19] = [c("禁用")])), _: 1 }), i(B, { value: "readonly" }, { default: t(() => v2[20] || (v2[20] = [c("只读")])), _: 1 }), i(B, { value: "hidden" }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), q.value ? r("", true) : (u(), o(V, { key: e2.configure.uuid, configure: e2.configure, remote: true }, null, 8, ["configure"])), (u(), o(y, { key: e2.configure.uuid, configureProps: e2.configure.props }, null, 8, ["configureProps"])), (u(), o(G, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [s("div", z, [i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(H, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(W2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(x, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 })), q.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
28
26
  };
29
27
  } });
30
28
  export {
31
- T as default
29
+ S as default
32
30
  };
@@ -1,61 +1,61 @@
1
- import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as t, Fragment as i, createVNode as p, withDirectives as n, createBlock as m, createCommentVNode as s, withCtx as v, createTextVNode as g, withModifiers as r, unref as b, renderList as c, vShow as f, toDisplayString as y } from "vue";
2
- import { Search as V, Close as j } from "@element-plus/icons";
3
- import P from "./linkpage-page-callback.vue.js";
4
- import T from "../../common/common-select-page.vue.js";
5
- import k from "./parameter-table.vue.js";
6
- import M from "../../common/common-variable-bind.vue.js";
7
- import _ from "./condition.vue.js";
8
- import C from "../../common/common-icon-bind.vue.js";
9
- import h from "../../common/common-i18n-key-input.vue.js";
10
- import { getModelOptionsByFields as O } from "../../../../utils/page-table-util.js";
11
- import { dateFormatOptions as U, timeFormatOptions as x } from "../../../../utils/common-option.js";
12
- const D = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, tableConfigure: {}, isDialog: { type: Boolean }, isButton: { type: Boolean, default: true }, showDisplayConditions: { type: Boolean, default: true } }, setup(e2) {
13
- const D2 = e2, w = l(null), F = l({});
14
- let B;
15
- const A = D2.pageDesign ? D2.pageDesign.pageType : null;
16
- !A || "form" !== A && "list" !== A || (B = D2.pageDesign.modelFields);
1
+ import { defineComponent as e, ref as l, watch as a, onMounted as u, resolveComponent as o, createElementBlock as d, openBlock as t, Fragment as i, createVNode as p, withDirectives as n, createBlock as m, createCommentVNode as s, withCtx as v, createTextVNode as g, unref as r, renderList as b, vShow as c, toDisplayString as f } from "vue";
2
+ import { Search as y, Close as V } from "@element-plus/icons";
3
+ import j from "./linkpage-page-callback.vue.js";
4
+ import P from "../../common/common-select-page.vue.js";
5
+ import T from "./parameter-table.vue.js";
6
+ import k from "../../common/common-variable-bind.vue.js";
7
+ import M from "./condition.vue.js";
8
+ import _ from "../../common/common-icon-bind.vue.js";
9
+ import C from "../../common/common-i18n-key-input.vue.js";
10
+ import { getModelOptionsByFields as h } from "../../../../utils/page-table-util.js";
11
+ import { dateFormatOptions as O, timeFormatOptions as U } from "../../../../utils/common-option.js";
12
+ const x = e({ __name: "suffixmodule", props: { configure: {}, pageDesign: {}, tableConfigure: {}, isDialog: { type: Boolean }, isButton: { type: Boolean, default: true }, showDisplayConditions: { type: Boolean, default: true } }, setup(e2) {
13
+ const x2 = e2, D = l(null), w = l({});
14
+ let F;
15
+ const B = x2.pageDesign ? x2.pageDesign.pageType : null;
16
+ !B || "form" !== B && "list" !== B || (F = x2.pageDesign.modelFields);
17
+ const A = l([]);
18
+ F && F.length > 0 && (A.value = h(F));
17
19
  const N = l([]);
18
- B && B.length > 0 && (N.value = O(B));
19
- const J = l([]);
20
- D2.tableConfigure && (J.value = O(D2.tableConfigure.modelFields)), D2.isDialog ? F.value = D2.configure : (D2.configure.props.linkPage || (D2.configure.props.linkPage = {}), Array.isArray(D2.configure.props.linkPage) && D2.configure.props.linkPage.length > 0 && (F.value = D2.configure.props.linkPage[0]), F.value = D2.configure.props.linkPage), void 0 === F.value.linkType && (F.value.linkType = "page"), void 0 === F.value.isNewPage && (F.value.isNewPage = true), F.value.dynamicTags || (F.value.dynamicTags = []), F.value.buttonDisplayConditionsList || (F.value.buttonDisplayConditionsList = []), void 0 === F.value.alignCenter && (F.value.alignCenter = true), void 0 === F.value.displayTextJudge && (F.value.displayTextJudge = true);
21
- const W = [{ label: "弹窗", value: "popup" }, { label: "新页签", value: "newTab" }, { label: "局部刷新", value: "refresh" }], L = [{ label: "弹窗", value: "popup" }, { label: "局部刷新", value: "refresh" }], R = [{ label: "弹框", value: "dialog" }, { label: "抽屉", value: "drawer" }], S = [{ label: "右到左", value: "rtl" }, { label: "左到右", value: "ltr" }, { label: "上到下", value: "ttb" }, { label: "下到上", value: "btt" }], z = l(null);
20
+ x2.tableConfigure && (N.value = h(x2.tableConfigure.modelFields)), x2.isDialog ? w.value = x2.configure : (x2.configure.props.linkPage || (x2.configure.props.linkPage = {}), Array.isArray(x2.configure.props.linkPage) && x2.configure.props.linkPage.length > 0 && (w.value = x2.configure.props.linkPage[0]), w.value = x2.configure.props.linkPage), void 0 === w.value.linkType && (w.value.linkType = "page"), void 0 === w.value.isNewPage && (w.value.isNewPage = true), w.value.dynamicTags || (w.value.dynamicTags = []), w.value.buttonDisplayConditionsList || (w.value.buttonDisplayConditionsList = []), void 0 === w.value.alignCenter && (w.value.alignCenter = true), void 0 === w.value.displayTextJudge && (w.value.displayTextJudge = true);
21
+ const J = [{ label: "弹窗", value: "popup" }, { label: "新页签", value: "newTab" }, { label: "局部刷新", value: "refresh" }], W = [{ label: "弹窗", value: "popup" }, { label: "局部刷新", value: "refresh" }], L = [{ label: "弹框", value: "dialog" }, { label: "抽屉", value: "drawer" }], R = [{ label: "右到左", value: "rtl" }, { label: "左到右", value: "ltr" }, { label: "上到下", value: "ttb" }, { label: "下到上", value: "btt" }], S = l(null);
22
+ function z() {
23
+ x2.tableConfigure && S.value && S.value.changeTableFields(x2.tableConfigure.modelFields);
24
+ }
22
25
  function E() {
23
- D2.tableConfigure && z.value && z.value.changeTableFields(D2.tableConfigure.modelFields);
26
+ D.value.openDialog();
24
27
  }
25
28
  function H() {
26
- w.value.openDialog();
29
+ w.value.jumpPageCode = "", w.value.jumpPageName = "";
27
30
  }
28
- function I() {
29
- F.value.jumpPageCode = "", F.value.jumpPageName = "";
31
+ function I(e3) {
32
+ w.value.jumpPageAdditional = e3;
30
33
  }
31
34
  function q(e3) {
32
- F.value.jumpPageAdditional = e3;
33
- }
34
- function G(e3) {
35
- F.value.jumpPageName = e3.name, F.value.jumpPageCode = e3.code;
35
+ w.value.jumpPageName = e3.name, w.value.jumpPageCode = e3.code;
36
36
  }
37
- a(() => ({ linkType: F.value.linkType, jumpPageCode: F.value.jumpPageCode, jumpAddress: F.value.jumpAddress }), (e3) => {
38
- const l2 = F.value, a2 = l2.linkType;
37
+ a(() => ({ linkType: w.value.linkType, jumpPageCode: w.value.jumpPageCode, jumpAddress: w.value.jumpAddress }), (e3) => {
38
+ const l2 = w.value, a2 = l2.linkType;
39
39
  let u2 = "";
40
40
  "page" === a2 && l2.jumpPageCode ? u2 = l2.linkType + ":" + l2.jumpPageCode : "url" === a2 && (u2 = l2.jumpAddress), l2.jumpPageUrl = u2;
41
- }, { immediate: true }), a(() => D2.tableConfigure, (e3) => {
42
- E();
41
+ }, { immediate: true }), a(() => x2.tableConfigure, (e3) => {
42
+ z();
43
43
  }), u(() => {
44
- E();
44
+ z();
45
45
  });
46
- const K = l("");
47
- function Q(e3) {
48
- K.value = e3, F.value.dynamicTags.push(e3);
46
+ const G = l("");
47
+ function K(e3) {
48
+ G.value = e3, w.value.dynamicTags.push(e3);
49
49
  }
50
50
  return (e3, l2) => {
51
- const a2 = o("el-radio"), u2 = o("el-form-item"), O2 = o("el-button"), D3 = o("el-input"), B2 = o("el-radio-group"), A2 = o("el-option"), E2 = o("el-select"), X = o("el-switch"), Y = o("el-divider"), Z = o("el-tag");
52
- return t(), d(i, null, [p(B2, { modelValue: F.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => F.value.linkType = e4) }, { default: v(() => [p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "" }, { default: v(() => l2[22] || (l2[22] = [g("无跳转   ")])), _: 1 })]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "page" }, { default: v(() => l2[23] || (l2[23] = [g("跳转页面")])), _: 1 })]), default: v(() => [p(D3, { disabled: "page" != F.value.linkType, modelValue: F.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => F.value.jumpPageName = e4), title: F.value.jumpPageCode, onClick: r(H, ["stop"]), readonly: "true" }, { append: v(() => [p(O2, { type: "default", disabled: "page" != F.value.linkType, icon: b(V), onClick: H, size: "small" }, null, 8, ["disabled", "icon"]), p(O2, { type: "default", disabled: "page" != F.value.linkType, icon: b(j), onClick: I, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "url" }, { default: v(() => l2[24] || (l2[24] = [g("跳转地址")])), _: 1 })]), default: v(() => [p(D3, { disabled: "url" != F.value.linkType, modelValue: F.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => F.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), p(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => F.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(W, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => F.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(L, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(p(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => F.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(R, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => F.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != F.value.jumpPageOpenMode && "popup" != F.value.jumpPageMobileOpenMode || F.value.dialogType && "dialog" !== F.value.dialogType)]]), n(p(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => F.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, c(S, (e4, l3) => p(A2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, ("popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode) && F.value.dialogType && "drawer" === F.value.dialogType]]), n(p(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => F.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, !("popup" != F.value.jumpPageOpenMode && "popup" != F.value.jumpPageMobileOpenMode || F.value.dialogType && "dialog" !== F.value.dialogType)]]), n(p(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: v(() => [p(h, { modelValue: F.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => F.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => F.value.fullscreen = e4), disabled: !("dialog" === F.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => F.value.alignCenter = e4), disabled: !("dialog" === F.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => F.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => F.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: v(() => [p(D3, { modelValue: F.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => F.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => F.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[f, "popup" == F.value.jumpPageOpenMode || "popup" == F.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (t(), m(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: v(() => [p(_, { title: "显示判断", list: F.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: z }, null, 8, ["list"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => F.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 2, label: "文本格式化", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormatType, "onUpdate:modelValue": l2[17] || (l2[17] = (e4) => F.value.displayTextFormatType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [p(A2, { label: "日期", value: "date" }), p(A2, { label: "时间", value: "time" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), F.value.displayTextFormatType && "date" === F.value.displayTextFormatType ? (t(), m(u2, { key: 3, label: "日期类型", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormat, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => F.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, c(b(U), (e4) => (t(), m(A2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), F.value.displayTextFormatType && "time" === F.value.displayTextFormatType ? (t(), m(u2, { key: 4, label: "时间类型", class: "amb-design-attr-item" }, { default: v(() => [p(E2, { modelValue: F.value.displayTextFormat, "onUpdate:modelValue": l2[19] || (l2[19] = (e4) => F.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, c(b(x), (e4) => (t(), m(A2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), p(Y, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 5, label: "图标", class: "amb-design-attr-item" }, { default: v(() => [p(C, { iconType: F.value.iconType, iconValue: F.value.icon, "onUpdate:modelValue": l2[20] || (l2[20] = (e4, l3) => function(e5, l4) {
53
- F.value.iconType = e5, F.value.icon = l4;
54
- }(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 6, label: "自定义显示值", class: "amb-design-attr-item" }, { default: v(() => [p(M, { isTable: e3.configure.isTable, modelValue: K.value, dataModelOptions: N.value, objModelOptions: J.value, "onUpdate:modelValue": Q }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : s("", true), (t(true), d(i, null, c(F.value.dynamicTags, (e4, l3) => (t(), m(Z, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
55
- F.value.dynamicTags.splice(l4, 1);
56
- }(0, l3) }, { default: v(() => [g(y(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), p(Y, null, { default: v(() => l2[25] || (l2[25] = [g("附加参数")])), _: 1 }), e3.isButton ? (t(), m(u2, { key: 7, label: "自动拼接id", class: "amb-design-attr-item" }, { default: v(() => [p(X, { modelValue: F.value.isNeedId, "onUpdate:modelValue": l2[21] || (l2[21] = (e4) => F.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), p(k, { data: F.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: q }, null, 8, ["data", "tableConfigure"]), p(P, { linkPage: F.value }, null, 8, ["linkPage"]), p(T, { ref_key: "selectPageDialog", ref: w, onSelectPage: G, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
51
+ const a2 = o("el-radio"), u2 = o("el-form-item"), h2 = o("el-button"), x3 = o("el-input"), F2 = o("el-radio-group"), B2 = o("el-option"), z2 = o("el-select"), Q = o("el-switch"), X = o("el-divider"), Y = o("el-tag");
52
+ return t(), d(i, null, [p(F2, { modelValue: w.value.linkType, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => w.value.linkType = e4) }, { default: v(() => [p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "" }, { default: v(() => l2[22] || (l2[22] = [g("无跳转   ")])), _: 1 })]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "page" }, { default: v(() => l2[23] || (l2[23] = [g("跳转页面")])), _: 1 })]), default: v(() => [p(x3, { disabled: "page" != w.value.linkType, modelValue: w.value.jumpPageName, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => w.value.jumpPageName = e4), title: w.value.jumpPageCode, onDblclick: E, readonly: "true" }, { append: v(() => [p(h2, { type: "default", disabled: "page" != w.value.linkType, icon: r(y), onClick: E, size: "small" }, null, 8, ["disabled", "icon"]), p(h2, { type: "default", disabled: "page" != w.value.linkType, icon: r(V), onClick: H, title: "Clear", size: "small" }, null, 8, ["disabled", "icon"])]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), p(u2, { class: "amb-design-attr-item", style: { width: "100%" } }, { label: v(() => [p(a2, { value: "url" }, { default: v(() => l2[24] || (l2[24] = [g("跳转地址")])), _: 1 })]), default: v(() => [p(x3, { disabled: "url" != w.value.linkType, modelValue: w.value.jumpAddress, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => w.value.jumpAddress = e4), clearable: "" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), p(u2, { label: "打开方式", class: "amb-design-attr-item" }, { default: v(() => [p(z2, { modelValue: w.value.jumpPageOpenMode, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => w.value.jumpPageOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(J, (e4, l3) => p(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(u2, { label: "移动端打开", class: "amb-design-attr-item" }, { default: v(() => [p(z2, { modelValue: w.value.jumpPageMobileOpenMode, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => w.value.jumpPageMobileOpenMode = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(W, (e4, l3) => p(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(p(u2, { label: "弹框方式", class: "amb-design-attr-item" }, { default: v(() => [p(z2, { modelValue: w.value.dialogType, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => w.value.dialogType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(L, (e4, l3) => p(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "可拖拽", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.draggable, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => w.value.draggable = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(p(u2, { label: "显示位置", class: "amb-design-attr-item" }, { default: v(() => [p(z2, { modelValue: w.value.showPosition, "onUpdate:modelValue": l2[7] || (l2[7] = (e4) => w.value.showPosition = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [(t(), d(i, null, b(R, (e4, l3) => p(B2, { key: l3, label: e4.label, value: e4.value }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, ("popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode) && w.value.dialogType && "drawer" === w.value.dialogType]]), n(p(u2, { label: "拖出可视区", title: "拖动范围可以超出可视区", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.overflow, "onUpdate:modelValue": l2[8] || (l2[8] = (e4) => w.value.overflow = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, !("popup" != w.value.jumpPageOpenMode && "popup" != w.value.jumpPageMobileOpenMode || w.value.dialogType && "dialog" !== w.value.dialogType)]]), n(p(u2, { label: "弹窗标题", class: "amb-design-attr-item" }, { default: v(() => [p(C, { modelValue: w.value.jumpPageTitle, "onUpdate:modelValue": l2[9] || (l2[9] = (e4) => w.value.jumpPageTitle = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否全屏", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.fullscreen, "onUpdate:modelValue": l2[10] || (l2[10] = (e4) => w.value.fullscreen = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "是否居中", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.alignCenter, "onUpdate:modelValue": l2[11] || (l2[11] = (e4) => w.value.alignCenter = e4), disabled: !("dialog" === w.value.dialogType) }, null, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗宽度", class: "amb-design-attr-item" }, { default: v(() => [p(x3, { modelValue: w.value.jumpPageWidth, "onUpdate:modelValue": l2[12] || (l2[12] = (e4) => w.value.jumpPageWidth = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "弹窗高度", class: "amb-design-attr-item" }, { default: v(() => [p(x3, { modelValue: w.value.jumpPageHeight, "onUpdate:modelValue": l2[13] || (l2[13] = (e4) => w.value.jumpPageHeight = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭事件", class: "amb-design-attr-item" }, { default: v(() => [p(x3, { modelValue: w.value.closeEvent, "onUpdate:modelValue": l2[14] || (l2[14] = (e4) => w.value.closeEvent = e4), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), n(p(u2, { label: "关闭后刷新", title: "关闭页面时是否刷新父页面", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.isRefreshWhenClosePopup, "onUpdate:modelValue": l2[15] || (l2[15] = (e4) => w.value.isRefreshWhenClosePopup = e4) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, "popup" == w.value.jumpPageOpenMode || "popup" == w.value.jumpPageMobileOpenMode]]), e3.isButton && e3.showDisplayConditions ? (t(), m(u2, { key: 0, label: "显示判断", class: "amb-design-attr-item" }, { default: v(() => [p(M, { title: "显示判断", list: w.value.buttonDisplayConditionsList, ref_key: "conditionRef", ref: S }, null, 8, ["list"])]), _: 1 })) : s("", true), p(X, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 1, label: "显示文本", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.displayTextJudge, "onUpdate:modelValue": l2[16] || (l2[16] = (e4) => w.value.displayTextJudge = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 2, label: "文本格式化", class: "amb-design-attr-item" }, { default: v(() => [p(z2, { modelValue: w.value.displayTextFormatType, "onUpdate:modelValue": l2[17] || (l2[17] = (e4) => w.value.displayTextFormatType = e4), clearable: "", placeholder: "请选择" }, { default: v(() => [p(B2, { label: "日期", value: "date" }), p(B2, { label: "时间", value: "time" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), w.value.displayTextFormatType && "date" === w.value.displayTextFormatType ? (t(), m(u2, { key: 3, label: "日期类型", class: "amb-design-attr-item" }, { default: v(() => [p(z2, { modelValue: w.value.displayTextFormat, "onUpdate:modelValue": l2[18] || (l2[18] = (e4) => w.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, b(r(O), (e4) => (t(), m(B2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), w.value.displayTextFormatType && "time" === w.value.displayTextFormatType ? (t(), m(u2, { key: 4, label: "时间类型", class: "amb-design-attr-item" }, { default: v(() => [p(z2, { modelValue: w.value.displayTextFormat, "onUpdate:modelValue": l2[19] || (l2[19] = (e4) => w.value.displayTextFormat = e4), placeholder: "Select", clearable: "" }, { default: v(() => [(t(true), d(i, null, b(r(U), (e4) => (t(), m(B2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : s("", true), p(X, { style: { margin: "12px 0" } }), e3.isButton ? (t(), m(u2, { key: 5, label: "图标", class: "amb-design-attr-item" }, { default: v(() => [p(_, { iconType: w.value.iconType, iconValue: w.value.icon, "onUpdate:modelValue": l2[20] || (l2[20] = (e4, l3) => function(e5, l4) {
53
+ w.value.iconType = e5, w.value.icon = l4;
54
+ }(e4, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 })) : s("", true), e3.isButton ? (t(), m(u2, { key: 6, label: "自定义显示值", class: "amb-design-attr-item" }, { default: v(() => [p(k, { isTable: e3.configure.isTable, modelValue: G.value, dataModelOptions: A.value, objModelOptions: N.value, "onUpdate:modelValue": K }, null, 8, ["isTable", "modelValue", "dataModelOptions", "objModelOptions"])]), _: 1 })) : s("", true), (t(true), d(i, null, b(w.value.dynamicTags, (e4, l3) => (t(), m(Y, { key: l3, "disable-transitions": true, closable: "", onClose: (e5) => function(e6, l4) {
55
+ w.value.dynamicTags.splice(l4, 1);
56
+ }(0, l3) }, { default: v(() => [g(f(e4), 1)]), _: 2 }, 1032, ["onClose"]))), 128)), p(X, null, { default: v(() => l2[25] || (l2[25] = [g("附加参数")])), _: 1 }), e3.isButton ? (t(), m(u2, { key: 7, label: "自动拼接id", class: "amb-design-attr-item" }, { default: v(() => [p(Q, { modelValue: w.value.isNeedId, "onUpdate:modelValue": l2[21] || (l2[21] = (e4) => w.value.isNeedId = e4) }, null, 8, ["modelValue"])]), _: 1 })) : s("", true), p(T, { data: w.value.jumpPageAdditional, tableConfigure: e3.tableConfigure, onDataChange: I }, null, 8, ["data", "tableConfigure"]), p(j, { linkPage: w.value }, null, 8, ["linkPage"]), p(P, { ref_key: "selectPageDialog", ref: D, onSelectPage: q, systemCode: e3.pageDesign.systemCode, systemVersion: e3.pageDesign.systemVersion }, null, 8, ["systemCode", "systemVersion"])], 64);
57
57
  };
58
58
  } });
59
59
  export {
60
- D as default
60
+ x as default
61
61
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as e, ref as l, computed as a, resolveComponent as o, createBlock as u, openBlock as t, withCtx as s, createVNode as r, withDirectives as i, createCommentVNode as p, createElementVNode as d, createElementBlock as n, Fragment as f, renderList as c, unref as m, vShow as b, createTextVNode as g } from "vue";
2
- import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
3
- import { componentNameChange as v } from "../../../../utils/form-design-util.js";
1
+ import { defineComponent as e, ref as l, computed as a, resolveComponent as o, createBlock as u, openBlock as t, withCtx as s, createVNode as r, withDirectives as i, createCommentVNode as p, createElementVNode as n, createElementBlock as d, Fragment as f, renderList as m, unref as c, vShow as b, createTextVNode as g } from "vue";
2
+ import { getFormComponentOptions as v } from "../../../../utils/assemblys-config.js";
3
+ import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
4
  import { getCustomFuncs as _ } from "../../../../utils/page-event-util.js";
5
5
  import y from "../../common/common-attr-size.vue.js";
6
6
  import h from "../../common/common-variable-bind.vue.js";
@@ -8,29 +8,27 @@ import k from "../../common/common-function-code.vue.js";
8
8
  import U from "../common/title-suffix.vue.js";
9
9
  import w from "../../common/common-i18n-key-input.vue.js";
10
10
  import { WarningFilled as S } from "@element-plus/icons-vue";
11
- const x = { style: { padding: "8px 0px 0px 0px" } }, T = { class: "amb-design-attr-item-inline" }, j = { style: { padding: "8px 0px 0px 0px" } }, z = e({ __name: "datepicker-attr-base", props: { configure: { type: Object, required: true, default: () => {
11
+ import x from "../../common/common-bind-default-value.vue.js";
12
+ const j = { style: { padding: "8px 0px 0px 0px" } }, D = { class: "amb-design-attr-item-inline" }, z = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "datepicker-attr-base", props: { configure: { type: Object, required: true, default: () => {
12
13
  } }, pageDesign: { type: Object, default: () => {
13
- } } }, emits: ["changeAssembly"], setup(e2, { emit: z2 }) {
14
- const D = e2, Y = l(D.configure.name), F = z2, M = l(["base"]), W = l(false);
15
- D.configure.isTable && (W.value = true);
14
+ } } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
15
+ const Y = e2, F = l(Y.configure.name), M = T2, W = l(["base"]), P = l(false);
16
+ Y.configure.isTable && (P.value = true);
16
17
  const q = l("绑定变量"), H = a(() => {
17
- const e3 = D.configure.props.base, l2 = (!e3.type || "week" != e3.type && "year" != e3.type) && e3.dateScope;
18
+ const e3 = Y.configure.props.base, l2 = (!e3.type || "week" != e3.type && "year" != e3.type) && e3.dateScope;
18
19
  return q.value = l2 ? "绑定变量1" : "绑定变量", l2 ? "默认值1" : "默认值";
19
20
  });
20
21
  function R(e3) {
21
- v(D.configure, e3, F);
22
+ V(Y.configure, e3, M);
22
23
  }
23
24
  function A(e3, l2, a2) {
24
- "prop2" === a2 ? D.configure.props.base.prop2 = e3 : D.configure.props.base.prop = e3, l2 && (D.configure.props.base.title = l2);
25
- }
26
- function C(e3, l2) {
27
- "defaultValue2" === l2 ? D.configure.props.base.defaultValue2 = e3 : D.configure.props.base.defaultValue = e3;
25
+ "prop2" === a2 ? Y.configure.props.base.prop2 = e3 : Y.configure.props.base.prop = e3, l2 && (Y.configure.props.base.title = l2);
28
26
  }
29
27
  return (l2, a2) => {
30
- const v2 = o("el-option"), z3 = o("el-select"), D2 = o("el-form-item"), F2 = o("el-input"), O = o("el-radio"), P = o("el-radio-group"), B = o("el-input-number"), L = o("el-checkbox"), E = o("el-col"), G = o("el-row"), I = o("el-checkbox-group"), J = o("el-link"), K = o("el-icon"), N = o("el-tooltip"), Q = o("el-collapse-item"), X = o("el-collapse"), Z = o("el-form");
31
- return t(), u(Z, { "label-width": "80px", size: "small" }, { default: s(() => [r(X, { modelValue: M.value, "onUpdate:modelValue": a2[23] || (a2[23] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [d("div", x, [r(D2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [r(z3, { modelValue: Y.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => Y.value = e3), onChange: R, placeholder: "请选择" }, { default: s(() => [(t(true), n(f, null, c(m(V)(), (e3) => (t(), u(v2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? p("", true) : (t(), u(D2, { key: 0, label: q.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop", modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": A }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"])), r(D2, { label: H.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "defaultValue", isRange: true, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"]), i(r(D2, { label: "绑定变量2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop2", modelValue: e2.configure.props.base.prop2, paramTypes: ["data", "page"], "onUpdate:modelValue": a2[2] || (a2[2] = (e3, l3) => A(e3, l3, "prop2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), i(r(D2, { label: "默认值2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "defaultValue2", isRange: true, modelValue: e2.configure.props.base.defaultValue2, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => C(e3, "defaultValue2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), W.value ? p("", true) : (t(), u(D2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? p("", true) : (t(), u(D2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[24] || (a2[24] = [g("显示")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[25] || (a2[25] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(r(D2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [r(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(D2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: s(() => [r(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(D2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "block" }, { default: s(() => a2[26] || (a2[26] = [g("换行")])), _: 1 }), r(O, { value: "inline" }, { default: s(() => a2[27] || (a2[27] = [g("不换行")])), _: 1 }), r(O, { value: "omit" }, { default: s(() => a2[28] || (a2[28] = [g("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), r(D2, { class: "amb-design-attr-item" }, { label: s(() => [i(d("span", null, "输入提示", 512), [[b, !e2.configure.props.base.dateScope]]), i(d("span", null, "开始提示", 512), [[b, e2.configure.props.base.dateScope]])]), default: s(() => [r(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(r(D2, { label: "结束提示", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.endPlaceholder, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.endPlaceholder = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), r(D2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[29] || (a2[29] = [g("显示")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[30] || (a2[30] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D2, { label: "类型", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "date" }, { default: s(() => a2[31] || (a2[31] = [g("日期")])), _: 1 }), r(O, { value: "time" }, { default: s(() => a2[32] || (a2[32] = [g("时间")])), _: 1 }), r(O, { value: "datetime" }, { default: s(() => a2[33] || (a2[33] = [g("日期+时间")])), _: 1 }), r(O, { value: "week" }, { default: s(() => a2[34] || (a2[34] = [g("周")])), _: 1 }), r(O, { value: "month" }, { default: s(() => a2[35] || (a2[35] = [g("月")])), _: 1 }), r(O, { value: "year" }, { default: s(() => a2[36] || (a2[36] = [g("年")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(D2, { label: "选择范围", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.dateScope, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.dateScope = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[37] || (a2[37] = [g("是")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[38] || (a2[38] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(D2, { label: "快捷选项", class: "amb-design-attr-item" }, { default: s(() => [r(I, { modelValue: e2.configure.props.base.dateScopeDetails, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.dateScopeDetails = l3), class: "ml-4" }, { default: s(() => [i(r(L, { value: "today" }, { default: s(() => a2[39] || (a2[39] = [g("今天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "yesterday" }, { default: s(() => a2[40] || (a2[40] = [g("昨天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneWeek" }, { default: s(() => a2[41] || (a2[41] = [g("一周")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneMonth" }, { default: s(() => a2[42] || (a2[42] = [g("一月")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "year" != e2.configure.props.base.type]]), r(L, { value: "oneYear" }, { default: s(() => a2[43] || (a2[43] = [g("一年")])), _: 1 }), r(G, null, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { value: "custom" }, { default: s(() => a2[44] || (a2[44] = [g("自定义")])), _: 1 })]), _: 1 }), r(E, { span: 16 }, { default: s(() => [r(z3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.base.dateScopeDetails || !e2.configure.props.base.dateScopeDetails.includes("custom"), modelValue: e2.configure.props.base.scopeFunc, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.scopeFunc = l3), placeholder: "请选择自定义方法", filterable: "" }, { default: s(() => [(t(true), n(f, null, c(m(_)(), (e3) => (t(), u(v2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(D2, { label: "显示格式化", class: "amb-design-attr-item" }, { default: s(() => [r(F2, { modelValue: e2.configure.props.base.format, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.format = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(r(D2, { label: "值为时间戳", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.timestamp, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.timestamp = l3), class: "ml-4" }, { default: s(() => [r(O, { value: true }, { default: s(() => a2[45] || (a2[45] = [g("是")])), _: 1 }), r(O, { value: false }, { default: s(() => a2[46] || (a2[46] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(D2, { label: "值格式化", class: "amb-design-attr-item" }, { default: s(() => [d("div", T, [r(F2, { modelValue: e2.configure.props.base.valueFormat, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.base.valueFormat = l3), placeholder: "请输入", disabled: true === e2.configure.props.base.timestamp }, null, 8, ["modelValue", "disabled"]), r(N, { placement: "top", effect: "light" }, { content: s(() => [a2[48] || (a2[48] = g(" 四位年:YYYY")), a2[49] || (a2[49] = d("br", null, null, -1)), a2[50] || (a2[50] = g("两位年:YY")), a2[51] || (a2[51] = d("br", null, null, -1)), a2[52] || (a2[52] = g("两位月:MM")), a2[53] || (a2[53] = d("br", null, null, -1)), a2[54] || (a2[54] = g("两位日:DD")), a2[55] || (a2[55] = d("br", null, null, -1)), a2[56] || (a2[56] = g("小时:hh")), a2[57] || (a2[57] = d("br", null, null, -1)), a2[58] || (a2[58] = g("分钟:mm")), a2[59] || (a2[59] = d("br", null, null, -1)), a2[60] || (a2[60] = g("秒:ss")), a2[61] || (a2[61] = d("br", null, null, -1)), a2[62] || (a2[62] = g("占位:[占位符]")), a2[63] || (a2[63] = d("br", null, null, -1)), a2[64] || (a2[64] = g("更多见: ")), r(J, { href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats", target: "_blank", type: "primary" }, { default: s(() => a2[47] || (a2[47] = [d("svg", { preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", class: "link-icon" }, [d("path", { fill: "currentColor", d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z" })], -1)])), _: 1 }), a2[65] || (a2[65] = g(" 查看 Day.js 支持的所有格式。 "))]), default: s(() => [r(K, { style: { "margin-left": "10px" } }, { default: s(() => [r(m(S))]), _: 1 })]), _: 1 })])]), _: 1 }), r(D2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "large" }, { default: s(() => a2[66] || (a2[66] = [g("大")])), _: 1 }), r(O, { value: "default" }, { default: s(() => a2[67] || (a2[67] = [g("中")])), _: 1 }), r(O, { value: "small" }, { default: s(() => a2[68] || (a2[68] = [g("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(D2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [r(P, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [r(O, { value: "default" }, { default: s(() => a2[69] || (a2[69] = [g("普通")])), _: 1 }), r(O, { value: "disabled" }, { default: s(() => a2[70] || (a2[70] = [g("禁用")])), _: 1 }), r(O, { value: "readonly" }, { default: s(() => a2[71] || (a2[71] = [g("只读")])), _: 1 }), r(O, { value: "hidden" }, { default: s(() => a2[72] || (a2[72] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(r(U, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), u(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: s(() => [d("div", j, [r(D2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(L, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(D2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { label: "自定义", modelValue: e2.configure.props.verification.custom, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.verification.custom = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(E, { span: 14 }, { default: s(() => [r(z3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.verification.custom, modelValue: e2.configure.props.verification.customFunc, "onUpdate:modelValue": a2[22] || (a2[22] = (l3) => e2.configure.props.verification.customFunc = l3), placeholder: "请选择校验方法", filterable: "" }, { default: s(() => [(t(true), n(f, null, c(m(_)(), (e3) => (t(), u(v2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? p("", true) : (t(), u(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
28
+ const V2 = o("el-option"), T3 = o("el-select"), Y2 = o("el-form-item"), M2 = o("el-input"), C = o("el-radio"), O = o("el-radio-group"), B = o("el-input-number"), L = o("el-checkbox"), E = o("el-col"), G = o("el-row"), I = o("el-checkbox-group"), J = o("el-link"), K = o("el-icon"), N = o("el-tooltip"), Q = o("el-collapse-item"), X = o("el-collapse"), Z = o("el-form");
29
+ return t(), u(Z, { "label-width": "80px", size: "small" }, { default: s(() => [r(X, { modelValue: W.value, "onUpdate:modelValue": a2[22] || (a2[22] = (e3) => W.value = e3), style: { "margin-top": "6px" } }, { default: s(() => [r(Q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: s(() => [n("div", j, [r(Y2, { label: "组件类型", class: "amb-design-attr-item" }, { default: s(() => [r(T3, { modelValue: F.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => F.value = e3), onChange: R, placeholder: "请选择" }, { default: s(() => [(t(true), d(f, null, m(c(v)(), (e3) => (t(), u(V2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(Y2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: s(() => [r(M2, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), P.value ? p("", true) : (t(), u(Y2, { key: 0, label: q.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop", modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": A }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 8, ["label"])), r(Y2, { label: H.value, class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 8, ["label"]), i(r(Y2, { label: "绑定变量2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid + "prop2", modelValue: e2.configure.props.base.prop2, paramTypes: ["data", "page"], "onUpdate:modelValue": a2[2] || (a2[2] = (e3, l3) => A(e3, l3, "prop2")) }, null, 8, ["isTable", "modelValue"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), i(r(Y2, { label: "默认值2", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(x, { isRange: true, key: e2.configure.uuid + "defaultValue", defaultValueProp: "defaultValue2", moreDefaultValueProp: "moreDefaultValue2", configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }, 512), [[b, (!e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type) && e2.configure.props.base.dateScope]]), P.value ? p("", true) : (t(), u(Y2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: s(() => [(t(), u(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), P.value ? p("", true) : (t(), u(Y2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[23] || (a2[23] = [g("显示")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[24] || (a2[24] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(r(Y2, { label: "标题", class: "amb-design-attr-item" }, { default: s(() => [r(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(Y2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: s(() => [r(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(r(Y2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "block" }, { default: s(() => a2[25] || (a2[25] = [g("换行")])), _: 1 }), r(C, { value: "inline" }, { default: s(() => a2[26] || (a2[26] = [g("不换行")])), _: 1 }), r(C, { value: "omit" }, { default: s(() => a2[27] || (a2[27] = [g("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), r(Y2, { class: "amb-design-attr-item" }, { label: s(() => [i(n("span", null, "输入提示", 512), [[b, !e2.configure.props.base.dateScope]]), i(n("span", null, "开始提示", 512), [[b, e2.configure.props.base.dateScope]])]), default: s(() => [r(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(r(Y2, { label: "结束提示", class: "amb-design-attr-item" }, { default: s(() => [r(M2, { modelValue: e2.configure.props.base.endPlaceholder, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.endPlaceholder = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.dateScope]]), r(Y2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[28] || (a2[28] = [g("显示")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[29] || (a2[29] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(Y2, { label: "类型", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.type = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "date" }, { default: s(() => a2[30] || (a2[30] = [g("日期")])), _: 1 }), r(C, { value: "time" }, { default: s(() => a2[31] || (a2[31] = [g("时间")])), _: 1 }), r(C, { value: "datetime" }, { default: s(() => a2[32] || (a2[32] = [g("日期+时间")])), _: 1 }), r(C, { value: "week" }, { default: s(() => a2[33] || (a2[33] = [g("周")])), _: 1 }), r(C, { value: "month" }, { default: s(() => a2[34] || (a2[34] = [g("月")])), _: 1 }), r(C, { value: "year" }, { default: s(() => a2[35] || (a2[35] = [g("年")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(r(Y2, { label: "选择范围", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.dateScope, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.dateScope = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[36] || (a2[36] = [g("是")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[37] || (a2[37] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(Y2, { label: "快捷选项", class: "amb-design-attr-item" }, { default: s(() => [r(I, { modelValue: e2.configure.props.base.dateScopeDetails, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.dateScopeDetails = l3), class: "ml-4" }, { default: s(() => [i(r(L, { value: "today" }, { default: s(() => a2[38] || (a2[38] = [g("今天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "yesterday" }, { default: s(() => a2[39] || (a2[39] = [g("昨天")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "week" != e2.configure.props.base.type && "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneWeek" }, { default: s(() => a2[40] || (a2[40] = [g("一周")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "month" != e2.configure.props.base.type && "year" != e2.configure.props.base.type]]), i(r(L, { value: "oneMonth" }, { default: s(() => a2[41] || (a2[41] = [g("一月")])), _: 1 }, 512), [[b, !e2.configure.props.base.type || "year" != e2.configure.props.base.type]]), r(L, { value: "oneYear" }, { default: s(() => a2[42] || (a2[42] = [g("一年")])), _: 1 }), r(G, null, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { value: "custom" }, { default: s(() => a2[43] || (a2[43] = [g("自定义")])), _: 1 })]), _: 1 }), r(E, { span: 16 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.base.dateScopeDetails || !e2.configure.props.base.dateScopeDetails.includes("custom"), modelValue: e2.configure.props.base.scopeFunc, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.scopeFunc = l3), placeholder: "请选择自定义方法", filterable: "" }, { default: s(() => [(t(true), d(f, null, m(c(_)(), (e3) => (t(), u(V2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(Y2, { label: "显示格式化", class: "amb-design-attr-item" }, { default: s(() => [r(M2, { modelValue: e2.configure.props.base.format, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.format = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(r(Y2, { label: "值为时间戳", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.timestamp, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.base.timestamp = l3), class: "ml-4" }, { default: s(() => [r(C, { value: true }, { default: s(() => a2[44] || (a2[44] = [g("是")])), _: 1 }), r(C, { value: false }, { default: s(() => a2[45] || (a2[45] = [g("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "time" != e2.configure.props.base.type]]), r(Y2, { label: "值格式化", class: "amb-design-attr-item" }, { default: s(() => [n("div", D, [r(M2, { modelValue: e2.configure.props.base.valueFormat, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.base.valueFormat = l3), placeholder: "请输入", disabled: true === e2.configure.props.base.timestamp }, null, 8, ["modelValue", "disabled"]), r(N, { placement: "top", effect: "light" }, { content: s(() => [a2[47] || (a2[47] = g(" 四位年:YYYY")), a2[48] || (a2[48] = n("br", null, null, -1)), a2[49] || (a2[49] = g("两位年:YY")), a2[50] || (a2[50] = n("br", null, null, -1)), a2[51] || (a2[51] = g("两位月:MM")), a2[52] || (a2[52] = n("br", null, null, -1)), a2[53] || (a2[53] = g("两位日:DD")), a2[54] || (a2[54] = n("br", null, null, -1)), a2[55] || (a2[55] = g("小时:hh")), a2[56] || (a2[56] = n("br", null, null, -1)), a2[57] || (a2[57] = g("分钟:mm")), a2[58] || (a2[58] = n("br", null, null, -1)), a2[59] || (a2[59] = g("秒:ss")), a2[60] || (a2[60] = n("br", null, null, -1)), a2[61] || (a2[61] = g("占位:[占位符]")), a2[62] || (a2[62] = n("br", null, null, -1)), a2[63] || (a2[63] = g("更多见: ")), r(J, { href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats", target: "_blank", type: "primary" }, { default: s(() => a2[46] || (a2[46] = [n("svg", { preserveAspectRatio: "xMidYMid meet", viewBox: "0 0 24 24", width: "1.2em", height: "1.2em", class: "link-icon" }, [n("path", { fill: "currentColor", d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v8h-2V6.413l-7.793 7.794l-1.414-1.414L17.585 5H13V3h8z" })], -1)])), _: 1 }), a2[64] || (a2[64] = g(" 查看 Day.js 支持的所有格式。 "))]), default: s(() => [r(K, { style: { "margin-left": "10px" } }, { default: s(() => [r(c(S))]), _: 1 })]), _: 1 })])]), _: 1 }), r(Y2, { label: "尺寸", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "large" }, { default: s(() => a2[65] || (a2[65] = [g("大")])), _: 1 }), r(C, { value: "default" }, { default: s(() => a2[66] || (a2[66] = [g("中")])), _: 1 }), r(C, { value: "small" }, { default: s(() => a2[67] || (a2[67] = [g("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(Y2, { label: "状态", class: "amb-design-attr-item" }, { default: s(() => [r(O, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: s(() => [r(C, { value: "default" }, { default: s(() => a2[68] || (a2[68] = [g("普通")])), _: 1 }), r(C, { value: "disabled" }, { default: s(() => a2[69] || (a2[69] = [g("禁用")])), _: 1 }), r(C, { value: "readonly" }, { default: s(() => a2[70] || (a2[70] = [g("只读")])), _: 1 }), r(C, { value: "hidden" }, { default: s(() => a2[71] || (a2[71] = [g("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(r(U, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), u(Q, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: s(() => [n("div", z, [r(Y2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(L, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), r(Y2, { class: "amb-design-attr-item", "label-width": "0" }, { default: s(() => [r(E, { span: 8 }, { default: s(() => [r(L, { label: "自定义", modelValue: e2.configure.props.verification.custom, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.verification.custom = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(E, { span: 14 }, { default: s(() => [r(T3, { style: { "margin-left": "4px" }, clearable: "", disabled: !e2.configure.props.verification.custom, modelValue: e2.configure.props.verification.customFunc, "onUpdate:modelValue": a2[21] || (a2[21] = (l3) => e2.configure.props.verification.customFunc = l3), placeholder: "请选择校验方法", filterable: "" }, { default: s(() => [(t(true), d(f, null, m(c(_)(), (e3) => (t(), u(V2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 })])]), _: 1 })), P.value ? p("", true) : (t(), u(y, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
32
30
  };
33
31
  } });
34
32
  export {
35
- z as default
33
+ T as default
36
34
  };
@@ -1,32 +1,32 @@
1
- import { defineComponent as e, ref as t, watch as a, resolveComponent as l, createBlock as r, openBlock as u, normalizeStyle as o, normalizeClass as i, withCtx as n, createVNode as m, unref as c, createElementBlock as s, createCommentVNode as d, Fragment as p, createTextVNode as f, toDisplayString as v } from "vue";
1
+ import { defineComponent as e, ref as a, watch as t, resolveComponent as l, createBlock as r, openBlock as u, normalizeStyle as o, normalizeClass as i, withCtx as m, createVNode as n, unref as c, createElementBlock as s, createCommentVNode as d, Fragment as p, createTextVNode as f, toDisplayString as v } from "vue";
2
2
  import { caculateDetailComponentStyle as g, caculateComponentProps as y } from "../../../../utils/form-design-util.js";
3
3
  import h from "../common/title-suffix-element.vue.js";
4
4
  import "super-page-runtime";
5
5
  import { Clock as Y, Calendar as b } from "@element-plus/icons-vue";
6
- const F = e({ __name: "datepicker-design", props: { configure: { type: Object, required: true } }, setup(e2) {
7
- const F2 = e2;
8
- F2.configure.runtime || (F2.configure.runtime = {});
9
- const k = t({}), S = t(""), D = t({}), x = t({}), w = t({});
10
- return a(F2.configure.style, () => {
11
- g(F2.configure, k, S, D), F2.configure.runtime.style = k.value, F2.configure.runtime.class = S.value, F2.configure.runtime.headerStyle = D.value;
12
- }, { immediate: true }), t([]), a(F2.configure.props, () => {
13
- y(F2.configure, x, w), function() {
14
- let e3 = F2.configure && F2.configure.props ? F2.configure.props.base : {};
6
+ const D = e({ __name: "datepicker-design", props: { configure: { type: Object, required: true } }, setup(e2) {
7
+ const D2 = e2;
8
+ D2.configure.runtime || (D2.configure.runtime = {});
9
+ const F = a({}), k = a(""), S = a({}), V = a({}), x = a({});
10
+ return t(D2.configure.style, () => {
11
+ g(D2.configure, F, k, S), D2.configure.runtime.style = F.value, D2.configure.runtime.class = k.value, D2.configure.runtime.headerStyle = S.value;
12
+ }, { immediate: true }), a([]), t(D2.configure.props, () => {
13
+ y(D2.configure, V, x), function() {
14
+ let e3 = D2.configure && D2.configure.props ? D2.configure.props.base : {};
15
15
  e3 = e3 || {};
16
- const t2 = {};
17
- t2.defaultValue2 = e3.defaultValue2, t2.prop2 = e3.prop2, e3.format && (t2.format = e3.format);
18
- let a2 = e3.type ? e3.type : "date";
16
+ const a2 = {};
17
+ a2.moreDefaultValue = e3.moreDefaultValue, a2.defaultValue2 = e3.defaultValue2, a2.moreDefaultValue2 = e3.moreDefaultValue2, a2.prop2 = e3.prop2, e3.format && (a2.format = e3.format);
18
+ let t2 = e3.type ? e3.type : "date";
19
19
  if (e3.dateScope) {
20
20
  let l2 = "daterange";
21
- "datetime" == a2 ? l2 = "datetimerange" : "week" == a2 ? l2 = "week" : "month" == a2 ? l2 = "monthrange" : "year" == a2 ? l2 = "year" : "time" == a2 ? l2 = "timerange" : "month" == a2 && (l2 = "monthrange"), t2.dateType = l2, e3.endPlaceholder && (t2.endPlaceholder = e3.endPlaceholder);
22
- } else t2.dateType = a2;
23
- e3.timestamp ? t2.valueFormat = "x" : (t2.valueFormat = e3.valueFormat, t2.valueFormat || ("datetime" === a2 ? t2.valueFormat = "YYYY-MM-DD HH:mm:ss" : "year" === a2 ? t2.valueFormat = "YYYY" : "month" === a2 ? t2.valueFormat = "YYYY-MM" : "time" === a2 ? t2.valueFormat = "hh:mm:ss" : ("date" === a2 || "week" === a2) && (t2.valueFormat = "YYYY-MM-DD"))), t2.sourceType = a2, t2.dateScopeDetails = e3.dateScopeDetails, e3.dateScopeDetails && e3.dateScopeDetails.includes("custom") && e3.scopeFunc && (t2.shortcutsFunc = e3.scopeFunc), Object.assign(x.value, t2);
24
- }(), F2.configure.runtime.props = x.value, F2.configure.runtime.titleExceedStyle = w.value;
25
- }, { immediate: true }), (t2, a2) => {
26
- const g2 = l("el-icon"), y2 = l("el-input"), F3 = l("el-form-item");
27
- return u(), r(F3, { required: x.value.required, class: i([S.value, "remove-formLabel-formContent-blankStyle"]), "label-width": x.value.labelWidth, style: o(k.value) }, { label: n(() => [x.value.tittleShow ? (u(), s("div", { key: 0, style: o({ ...D.value, ...w.value, "padding-right": "12px" }) }, [x.value.prefixType ? (u(), r(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (u(), s(p, { key: 1 }, [f(v(x.value.title), 1)], 64))], 4)) : d("", true)]), default: n(() => [m(y2, { readonly: "", size: x.value.size, clearable: x.value.clearable, placeholder: x.value.placeholder, modelValue: x.value.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => x.value.value = e3) }, { prefix: n(() => ["timerange" == x.value.dateType || "time" == x.value.dateType ? (u(), r(g2, { key: 0 }, { default: n(() => [m(c(Y))]), _: 1 })) : (u(), r(g2, { key: 1 }, { default: n(() => [m(c(b))]), _: 1 }))]), _: 1 }, 8, ["size", "clearable", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
21
+ "datetime" == t2 ? l2 = "datetimerange" : "week" == t2 ? l2 = "week" : "month" == t2 ? l2 = "monthrange" : "year" == t2 ? l2 = "year" : "time" == t2 ? l2 = "timerange" : "month" == t2 && (l2 = "monthrange"), a2.dateType = l2, e3.endPlaceholder && (a2.endPlaceholder = e3.endPlaceholder);
22
+ } else a2.dateType = t2;
23
+ e3.timestamp ? a2.valueFormat = "x" : (a2.valueFormat = e3.valueFormat, a2.valueFormat || ("datetime" === t2 ? a2.valueFormat = "YYYY-MM-DD HH:mm:ss" : "year" === t2 ? a2.valueFormat = "YYYY" : "month" === t2 ? a2.valueFormat = "YYYY-MM" : "time" === t2 ? a2.valueFormat = "hh:mm:ss" : ("date" === t2 || "week" === t2) && (a2.valueFormat = "YYYY-MM-DD"))), a2.sourceType = t2, a2.dateScopeDetails = e3.dateScopeDetails, e3.dateScopeDetails && e3.dateScopeDetails.includes("custom") && e3.scopeFunc && (a2.shortcutsFunc = e3.scopeFunc), Object.assign(V.value, a2);
24
+ }(), D2.configure.runtime.props = V.value, D2.configure.runtime.titleExceedStyle = x.value;
25
+ }, { immediate: true }), (a2, t2) => {
26
+ const g2 = l("el-icon"), y2 = l("el-input"), D3 = l("el-form-item");
27
+ return u(), r(D3, { required: V.value.required, class: i([k.value, "remove-formLabel-formContent-blankStyle"]), "label-width": V.value.labelWidth, style: o(F.value) }, { label: m(() => [V.value.tittleShow ? (u(), s("div", { key: 0, style: o({ ...S.value, ...x.value, "padding-right": "12px" }) }, [V.value.prefixType ? (u(), r(h, { key: 0, configure: e2.configure }, null, 8, ["configure"])) : (u(), s(p, { key: 1 }, [f(v(V.value.title), 1)], 64))], 4)) : d("", true)]), default: m(() => [n(y2, { readonly: "", size: V.value.size, clearable: V.value.clearable, placeholder: V.value.placeholder, modelValue: V.value.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => V.value.value = e3) }, { prefix: m(() => ["timerange" == V.value.dateType || "time" == V.value.dateType ? (u(), r(g2, { key: 0 }, { default: m(() => [n(c(Y))]), _: 1 })) : (u(), r(g2, { key: 1 }, { default: m(() => [n(c(b))]), _: 1 }))]), _: 1 }, 8, ["size", "clearable", "placeholder", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
28
28
  };
29
29
  } });
30
30
  export {
31
- F as default
31
+ D as default
32
32
  };
@@ -1,43 +1,41 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as o, withCtx as t, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as p, Fragment as d, renderList as f, unref as m, createTextVNode as c, vShow as g } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as u, withCtx as t, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as p, Fragment as d, renderList as f, unref as m, createTextVNode as c, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
3
  import { componentNameChange as v } from "../../../../utils/form-design-util.js";
4
4
  import _ from "../common/verification.vue.js";
5
5
  import V from "../../common/common-attr-size.vue.js";
6
- import y from "../common/pre-suffix.vue.js";
7
- import x from "../common/bar-code-rule.vue.js";
6
+ import x from "../common/pre-suffix.vue.js";
7
+ import y from "../common/bar-code-rule.vue.js";
8
8
  import h from "../../common/common-variable-bind.vue.js";
9
+ import S from "../../common/common-bind-default-value.vue.js";
9
10
  import U from "../../common/common-function-code.vue.js";
10
- import k from "../common/suffixmodule.vue.js";
11
- import S from "../common/title-suffix.vue.js";
12
- import j from "../../common/common-i18n-key-input.vue.js";
13
- const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "inputtext-attr-base", props: { configure: { type: Object, required: true, default: () => {
11
+ import j from "../common/suffixmodule.vue.js";
12
+ import k from "../common/title-suffix.vue.js";
13
+ import w from "../../common/common-i18n-key-input.vue.js";
14
+ const z = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, L = { style: { padding: "8px 0px 0px 0px" } }, W = e({ __name: "inputtext-attr-base", props: { configure: { type: Object, required: true, default: () => {
14
15
  } }, pageDesign: { type: Object, default: () => {
15
- } } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
16
- const L = e2, W = l(L.configure.name), O = T2;
17
- L.configure.props.base || (L.configure.props.base = { prop: "" }), L.configure.props.preSuffix || (L.configure.props.preSuffix = {}), L.configure.props.prefix || (L.configure.props.prefix = {}), L.configure.props.scan || (L.configure.props.scan = {});
18
- const C = l(false);
19
- function I(e3) {
20
- v(L.configure, e3, O);
16
+ } } }, emits: ["changeAssembly"], setup(e2, { emit: W2 }) {
17
+ const O = e2, C = l(O.configure.name), I = W2;
18
+ O.configure.props.base || (O.configure.props.base = { prop: "" }), O.configure.props.preSuffix || (O.configure.props.preSuffix = {}), O.configure.props.prefix || (O.configure.props.prefix = {}), O.configure.props.scan || (O.configure.props.scan = {});
19
+ const T = l(false);
20
+ function N(e3) {
21
+ v(O.configure, e3, I);
21
22
  }
22
- L.configure.isTable && (C.value = true);
23
- const N = l(["base"]), q = l(false);
24
- function A() {
25
- q.value = false;
23
+ O.configure.isTable && (T.value = true);
24
+ const q = l(["base"]), A = l(false);
25
+ function P() {
26
+ A.value = false;
26
27
  }
27
- function P(e3) {
28
- L.configure.props.scan.ruleList = L.configure.props.scan.ruleList.filter((l2) => l2 !== e3);
28
+ function R(e3) {
29
+ O.configure.props.scan.ruleList = O.configure.props.scan.ruleList.filter((l2) => l2 !== e3);
29
30
  }
30
- function R(e3, l2) {
31
- L.configure.props.base.prop = e3, l2 && (L.configure.props.base.title = l2);
32
- }
33
- function B(e3) {
34
- L.configure.props.base.defaultValue = e3;
31
+ function B(e3, l2) {
32
+ O.configure.props.base.prop = e3, l2 && (O.configure.props.base.title = l2);
35
33
  }
36
34
  return (l2, v2) => {
37
- const T3 = a("el-option"), L2 = a("el-select"), O2 = a("el-form-item"), E = a("el-input"), F = a("el-radio"), G = a("el-radio-group"), H = a("el-input-number"), J = a("el-switch"), K = a("el-collapse-item"), M = a("el-button"), Q = a("el-collapse"), X = a("el-form");
38
- return o(), u(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: N.value, "onUpdate:modelValue": v2[14] || (v2[14] = (e3) => N.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(K, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", w, [i(O2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(L2, { modelValue: W.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => W.value = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [(o(true), p(d, null, f(m(b)(), (e3) => (o(), u(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": R }, null, 8, ["modelValue"]))]), _: 1 })), i(O2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? r("", true) : (o(), u(O2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[15] || (v2[15] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[16] || (v2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(O2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(H, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "block" }, { default: t(() => v2[17] || (v2[17] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[18] || (v2[18] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[19] || (v2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(O2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[20] || (v2[20] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [i(J, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "large" }, { default: t(() => v2[22] || (v2[22] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[23] || (v2[23] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[24] || (v2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "default" }, { default: t(() => v2[25] || (v2[25] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[26] || (v2[26] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[27] || (v2[27] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[28] || (v2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(O2, { label: "是否开启", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.enable, "onUpdate:modelValue": v2[11] || (v2[11] = (l3) => e2.configure.props.scan.enable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[29] || (v2[29] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[30] || (v2[30] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "自动打开扫描", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.autoOpen, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.scan.autoOpen = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[31] || (v2[31] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[32] || (v2[32] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[13] || (v2[13] = (e3) => q.value = true) }, { default: t(() => v2[33] || (v2[33] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(S, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(y, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), s(i(K, { title: "后缀图标跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", D, [i(k, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (o(), u(_, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), C.value ? r("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (o(), u(x, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
35
+ const W3 = a("el-option"), O2 = a("el-select"), I2 = a("el-form-item"), E = a("el-input"), F = a("el-radio"), G = a("el-radio-group"), H = a("el-input-number"), J = a("el-switch"), K = a("el-collapse-item"), M = a("el-button"), Q = a("el-collapse"), X = a("el-form");
36
+ return u(), o(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: q.value, "onUpdate:modelValue": v2[14] || (v2[14] = (e3) => q.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(K, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(I2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(O2, { modelValue: C.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => C.value = e3), onChange: N, placeholder: "请选择" }, { default: t(() => [(u(true), p(d, null, f(m(b)(), (e3) => (u(), o(W3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(I2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? r("", true) : (u(), o(I2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": B }, null, 8, ["modelValue"]))]), _: 1 })), i(I2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [i(S, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), T.value ? r("", true) : (u(), o(I2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? r("", true) : (u(), o(I2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[15] || (v2[15] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[16] || (v2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(I2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(w, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(I2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(H, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(I2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "block" }, { default: t(() => v2[17] || (v2[17] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[18] || (v2[18] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[19] || (v2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(I2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(w, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(I2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[20] || (v2[20] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(I2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [i(J, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(I2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "large" }, { default: t(() => v2[22] || (v2[22] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[23] || (v2[23] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[24] || (v2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(I2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "default" }, { default: t(() => v2[25] || (v2[25] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[26] || (v2[26] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[27] || (v2[27] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[28] || (v2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", D, [i(I2, { label: "是否开启", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.enable, "onUpdate:modelValue": v2[11] || (v2[11] = (l3) => e2.configure.props.scan.enable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[29] || (v2[29] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[30] || (v2[30] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(I2, { label: "自动打开扫描", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.autoOpen, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.scan.autoOpen = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[31] || (v2[31] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[32] || (v2[32] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(I2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[13] || (v2[13] = (e3) => A.value = true) }, { default: t(() => v2[33] || (v2[33] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(k, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (u(), o(x, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), s(i(K, { title: "后缀图标跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", L, [i(j, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (u(), o(_, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), T.value ? r("", true) : (u(), o(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), A.value ? (u(), o(y, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: R, onClose: P }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
39
37
  };
40
38
  } });
41
39
  export {
42
- T as default
40
+ W as default
43
41
  };