super-page-designer 2.2.85 → 2.2.89-sit11

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 (130) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +9 -10
  2. package/dist/es/components/design/utils/common-util.d.ts +1 -0
  3. package/dist/es/components/design/utils/common-util.js +14 -9
  4. package/dist/es/components/design/utils/page-table-util.js +9 -9
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +21 -21
  6. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +33 -33
  7. package/dist/es/components/design/views/assemblys/button/button/button-design.vue2.js +16 -16
  8. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +8 -8
  9. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue.js +4 -1
  10. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +38 -34
  11. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +2 -2
  12. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +3 -3
  13. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
  14. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +8 -8
  15. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +1 -1
  16. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +1 -1
  17. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +20 -19
  18. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-design.vue2.js +19 -19
  19. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +9 -8
  20. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +19 -19
  21. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +9 -9
  22. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +9 -9
  23. package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
  24. package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +12 -12
  25. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +11 -11
  26. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +4 -4
  27. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +39 -37
  28. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +12 -12
  29. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +27 -27
  30. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +14 -14
  31. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +47 -47
  32. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +24 -23
  33. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +6 -6
  34. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +11 -11
  35. package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +11 -11
  36. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +5 -104
  37. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue3.js +102 -0
  38. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +1 -1
  39. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +3 -3
  40. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
  41. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +11 -11
  42. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +67 -63
  43. package/dist/es/components/design/views/assemblys/container/card/card-design.vue.js +4 -1
  44. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +43 -38
  45. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +4 -4
  46. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +26 -26
  48. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +2 -2
  49. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +30 -30
  51. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +7 -7
  52. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
  53. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +4 -4
  54. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +11 -11
  56. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +1 -1
  57. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +5 -5
  58. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +6 -6
  59. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  60. package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +11 -11
  61. package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +5 -5
  62. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +2 -2
  63. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +8 -8
  64. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +14 -11
  65. package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +83 -80
  67. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  68. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +28 -7
  69. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +2 -2
  70. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +1 -1
  71. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +3 -3
  72. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +10 -10
  73. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +1 -1
  74. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +2 -2
  75. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +4 -4
  76. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +4 -4
  77. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
  78. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +2 -26
  79. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +26 -2
  80. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +33 -25
  81. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +1 -1
  82. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +6 -6
  83. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +34 -31
  84. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +14 -14
  85. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +1 -1
  86. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +4 -4
  87. package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue2.js +6 -6
  88. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +3 -3
  89. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +1 -1
  90. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +1 -1
  91. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +14 -14
  92. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +1 -1
  93. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +2 -2
  94. package/dist/es/components/design/views/assemblys/object-design.vue.d.ts +4 -0
  95. package/dist/es/components/design/views/assemblys/object-design.vue.js +5 -138
  96. package/dist/es/components/design/views/assemblys/object-design.vue3.js +140 -0
  97. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +2 -2
  98. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +1 -1
  99. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +8 -8
  100. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +8 -8
  101. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  102. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +25 -34
  103. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +7 -7
  104. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue.js +4 -1
  105. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +22 -18
  106. package/dist/es/components/design/views/design/page-event/config.vue.js +1 -1
  107. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +36 -36
  108. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +64 -64
  109. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +10 -9
  110. package/dist/es/components/design/views/design/view/attr-container.vue.js +24 -24
  111. package/dist/es/components/design/views/design/view/components/el-aside-expand-component.vue.js +24 -0
  112. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +2 -2
  113. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue.js +1 -1
  114. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +4 -4
  115. package/dist/es/components/design/views/design/view/components/i18n-setting.vue.js +4 -4
  116. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +10 -9
  117. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +8 -8
  118. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  119. package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -1
  120. package/dist/es/components/design/views/design/view/view-design-display.vue.js +148 -5
  121. package/dist/es/components/design/views/design/view/view-design-display.vue2.js +2 -148
  122. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  123. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +2 -2
  124. package/dist/es/components/design/views/design/view/view-design.vue.js +27 -26
  125. package/dist/es/index.js +1 -1
  126. package/dist/es/style.css +14282 -11302
  127. package/package.json +4 -4
  128. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +0 -4
  129. package/dist/es/components/design/views/assemblys/object-design.vue2.js +0 -4
  130. /package/dist/es/components/design/views/design/page-event/{config.vue3.js → config.vue2.js} +0 -0
@@ -1,7 +1,7 @@
1
- import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as i, createVNode as s, createElementVNode as u, createTextVNode as r, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as a, resolveComponent as l, createBlock as t, openBlock as o, withCtx as i, createVNode as s, createElementVNode as r, createTextVNode as u, toDisplayString as p } from "vue";
2
2
  import "../../../../utils/assemblys-config.js";
3
3
  import "@element-plus/icons-vue";
4
- import p from "../../common/common-attr-size.vue.js";
4
+ import d from "../../common/common-attr-size.vue.js";
5
5
  /* empty css */
6
6
  import "uuid";
7
7
  import m from "../../common/common-i18n-key-input.vue.js";
@@ -11,8 +11,8 @@ const f = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8p
11
11
  } } }, setup(e2) {
12
12
  const v2 = a([]);
13
13
  return (a2, V) => {
14
- const _ = l("el-form-item"), x = l("el-input"), h = l("el-radio"), j = l("el-radio-group"), y = l("el-collapse-item"), U = l("el-checkbox"), w = l("el-collapse"), z = l("el-form");
15
- return o(), t(z, { "label-width": "80px", size: "small" }, { default: i(() => [s(w, { modelValue: v2.value, "onUpdate:modelValue": V[7] || (V[7] = (e3) => v2.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(y, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", f, [s(_, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [r(d(e2.configure.label) + "(" + d(e2.configure.name) + ") ", 1)]), _: 1 }), s(_, { label: "组件名", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": V[0] || (V[0] = (a3) => e2.configure.props.base.name = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.prop, "onUpdate:modelValue": V[1] || (V[1] = (a3) => e2.configure.props.base.prop = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(m, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V[2] || (V[2] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题宽度", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V[3] || (V[3] = (a3) => e2.configure.props.base.titleWidth = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题显示", class: "amb-design-attr-item" }, { default: i(() => [s(j, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V[4] || (V[4] = (a3) => e2.configure.props.base.tittleShow = a3), class: "ml-4" }, { default: i(() => [s(h, { value: false }, { default: i(() => V[8] || (V[8] = [r("隐藏")])), _: 1 }), s(h, { value: true }, { default: i(() => V[9] || (V[9] = [r("显示")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(_, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(j, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V[5] || (V[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: i(() => [s(h, { value: "default" }, { default: i(() => V[10] || (V[10] = [r("普通")])), _: 1 }), s(h, { value: "disabled" }, { default: i(() => V[11] || (V[11] = [r("禁用")])), _: 1 }), s(h, { value: "hidden" }, { default: i(() => V[12] || (V[12] = [r("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(y, { title: "参数", name: "parameter", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", g, [s(n, { data: e2.configure.props.parameter }, null, 8, ["data"])])]), _: 1 }), s(y, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", b, [s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(U, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V[6] || (V[6] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(c, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 }), s(p, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
14
+ const _ = l("el-form-item"), x = l("el-input"), h = l("el-radio"), U = l("el-radio-group"), j = l("el-collapse-item"), y = l("el-checkbox"), w = l("el-collapse"), z = l("el-form");
15
+ return o(), t(z, { "label-width": "80px", size: "small" }, { default: i(() => [s(w, { modelValue: v2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => v2.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [s(j, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", f, [s(_, { label: "组件类型", class: "amb-design-attr-item" }, { default: i(() => [u(p(e2.configure.label) + "(" + p(e2.configure.name) + ") ", 1)]), _: 1 }), s(_, { label: "组件名", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": V[0] || (V[0] = (a3) => e2.configure.props.base.name = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "绑定变量", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.prop, "onUpdate:modelValue": V[1] || (V[1] = (a3) => e2.configure.props.base.prop = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题", class: "amb-design-attr-item" }, { default: i(() => [s(m, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V[2] || (V[2] = (a3) => e2.configure.props.base.title = a3) }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题宽度", class: "amb-design-attr-item" }, { default: i(() => [s(x, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V[3] || (V[3] = (a3) => e2.configure.props.base.titleWidth = a3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { label: "标题显示", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V[4] || (V[4] = (a3) => e2.configure.props.base.tittleShow = a3), class: "ml-4" }, { default: i(() => [s(h, { value: false }, { default: i(() => V[9] || (V[9] = [u("隐藏")])), _: 1 }), s(h, { value: true }, { default: i(() => V[10] || (V[10] = [u("显示")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(_, { label: "状态", class: "amb-design-attr-item" }, { default: i(() => [s(U, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V[5] || (V[5] = (a3) => e2.configure.props.base.state = a3), class: "ml-4" }, { default: i(() => [s(h, { value: "default" }, { default: i(() => V[11] || (V[11] = [u("普通")])), _: 1 }), s(h, { value: "disabled" }, { default: i(() => V[12] || (V[12] = [u("禁用")])), _: 1 }), s(h, { value: "hidden" }, { default: i(() => V[13] || (V[13] = [u("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(j, { title: "参数", name: "parameter", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", g, [s(n, { data: e2.configure.props.parameter, "onUpdate:data": V[6] || (V[6] = (a3) => e2.configure.props.parameter = a3) }, null, 8, ["data"])])]), _: 1 }), s(j, { title: "校验", name: "verification", class: "amb-design-attr-group-header" }, { default: i(() => [r("div", b, [s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(y, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V[7] || (V[7] = (a3) => e2.configure.props.verification.required = a3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(_, { class: "amb-design-attr-item", "label-width": "0" }, { default: i(() => [s(c, { pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])]), _: 1 })])]), _: 1 }), s(d, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
16
16
  };
17
17
  } });
18
18
  export {
@@ -1,12 +1,12 @@
1
- import { defineComponent as e, ref as t, createElementBlock as o, openBlock as r, createVNode as u, createElementVNode as n, unref as a, isRef as s, withDirectives as c, vShow as i } from "vue";
1
+ import { defineComponent as e, ref as t, createElementBlock as o, openBlock as r, createVNode as u, createElementVNode as n, unref as a, isRef as s, withDirectives as i, vShow as c } from "vue";
2
2
  import l from "./custom-attr-base.vue.js";
3
3
  import m from "./custom-attr-style.vue.js";
4
- import f from "../common/attr-header.vue.js";
5
- import p from "./custom-attr-event.vue.js";
6
- import d from "./custom-attr-advanced.vue.js";
7
- const g = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-list" }, b = e({ __name: "custom-attr", props: { configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) } }, setup(e2) {
4
+ import g from "../common/attr-header.vue.js";
5
+ import f from "./custom-attr-event.vue.js";
6
+ import p from "./custom-attr-advanced.vue.js";
7
+ const d = { class: "amb-design-attr-content" }, v = { class: "amb-design-attr-list" }, b = e({ __name: "custom-attr", props: { configure: { type: Object, default: () => ({ title: "Text", props: { type: "input-text" } }) }, pageDesign: { type: Object, default: () => ({}) } }, setup(e2) {
8
8
  let b2 = t("base");
9
- return (t2, j) => (r(), o("div", g, [u(f, { modelValue: a(b2), "onUpdate:modelValue": j[0] || (j[0] = (e3) => s(b2) ? b2.value = e3 : b2 = e3) }, null, 8, ["modelValue"]), n("div", v, [c(u(l, { configure: e2.configure }, null, 8, ["configure"]), [[i, "base" === a(b2)]]), c(u(m, { configure: e2.configure }, null, 8, ["configure"]), [[i, "style" === a(b2)]]), c(u(p, { configure: e2.configure }, null, 8, ["configure"]), [[i, "event" === a(b2)]]), c(u(d, { configure: e2.configure }, null, 8, ["configure"]), [[i, "advanced" == a(b2)]])])]));
9
+ return (t2, j) => (r(), o("div", d, [u(g, { modelValue: a(b2), "onUpdate:modelValue": j[0] || (j[0] = (e3) => s(b2) ? b2.value = e3 : b2 = e3) }, null, 8, ["modelValue"]), n("div", v, [i(u(l, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[c, "base" === a(b2)]]), i(u(m, { configure: e2.configure }, null, 8, ["configure"]), [[c, "style" === a(b2)]]), i(u(f, { configure: e2.configure }, null, 8, ["configure"]), [[c, "event" === a(b2)]]), i(u(p, { configure: e2.configure }, null, 8, ["configure"]), [[c, "advanced" == a(b2)]])])]));
10
10
  } });
11
11
  export {
12
12
  b as default
@@ -3,8 +3,8 @@ import { Search as g } from "@element-plus/icons-vue";
3
3
  import { getFormComponentOptions as V } from "../../../../utils/assemblys-config.js";
4
4
  import { componentNameChange as _ } from "../../../../utils/form-design-util.js";
5
5
  import v from "../../common/common-attr-size.vue.js";
6
- import h from "../../common/common-variable-bind.vue.js";
7
- import y from "./depttree-autoset.vue.js";
6
+ import y from "../../common/common-variable-bind.vue.js";
7
+ import h from "./depttree-autoset.vue.js";
8
8
  import { OrganizationInput as S } from "agilebuilder-ui";
9
9
  import U from "../../common/common-function-code.vue.js";
10
10
  import x from "../common/title-suffix.vue.js";
@@ -29,7 +29,7 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
29
29
  }
30
30
  return D.configure.isTable && (C.value = true), (l2, _2) => {
31
31
  const z3 = a("el-option"), D2 = a("el-select"), q2 = a("el-form-item"), E = a("el-input"), G = a("el-radio"), H = a("el-radio-group"), I = a("el-input-number"), J = a("el-collapse-item"), K = a("el-checkbox"), N = a("el-col"), P = a("el-button"), Q = a("el-collapse"), R = a("el-form");
32
- return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": L }, null, 8, ["modelValue"]))]), _: 1 })), s(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[15] || (_2[15] = [c("显示")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[16] || (_2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(s(q2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(T, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "block" }, { default: u(() => _2[17] || (_2[17] = [c("换行")])), _: 1 }), s(G, { value: "inline" }, { default: u(() => _2[18] || (_2[18] = [c("不换行")])), _: 1 }), s(G, { value: "omit" }, { default: u(() => _2[19] || (_2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(q2, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[20] || (_2[20] = [c("是")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[21] || (_2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(s(q2, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), s(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大")])), _: 1 }), s(G, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中")])), _: 1 }), s(G, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通")])), _: 1 }), s(G, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用")])), _: 1 }), s(G, { value: "hidden" }, { default: u(() => _2[27] || (_2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(J, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [s(H, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.deptScope = l3) }, { default: u(() => [s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "field" }, { default: u(() => _2[28] || (_2[28] = [c("指定变量")])), _: 1 })]), default: u(() => [s(h, { isTable: e2.configure.isTable, showLabel: "field" != e2.configure.props.base.deptScope, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": A }, null, 8, ["isTable", "showLabel", "modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "depts" }, { default: u(() => _2[29] || (_2[29] = [c("固定部门")])), _: 1 })]), default: u(() => [s(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": _2[11] || (_2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: B }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), (t(), o(y, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), i(s(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(J, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", j, [s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(K, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(N, { span: 8 }, { default: u(() => [s(K, { label: "自定义", value: "custom" })]), _: 1 }), s(N, { span: 14 }, { default: u(() => [s(P, null, { default: u(() => _2[30] || (_2[30] = [c("自定义逻辑")])), _: 1 }), s(P, { icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), C.value ? d("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
32
+ return t(), o(R, { "label-width": "80px", size: "small" }, { default: u(() => [s(Q, { modelValue: M.value, "onUpdate:modelValue": _2[14] || (_2[14] = (e3) => M.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [s(J, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", w, [s(q2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: W.value, "onUpdate:modelValue": _2[0] || (_2[0] = (e3) => W.value = e3), onChange: F, placeholder: "请选择" }, { default: u(() => [(t(true), p(n, null, m(f(V)(), (e3) => (t(), o(z3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _2[1] || (_2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { label: "结构树类型", class: "amb-design-attr-item" }, { default: u(() => [s(D2, { modelValue: e2.configure.props.base.treeType, "onUpdate:modelValue": _2[2] || (_2[2] = (l3) => e2.configure.props.base.treeType = l3), placeholder: "请选择" }, { default: u(() => [s(z3, { label: "部门人员树", value: "DeptUserTree" }), s(z3, { label: "工作组人员树", value: "WgUserTree" }), s(z3, { label: "部门树", value: "DeptTree" }), s(z3, { label: "工作组树", value: "WgTree" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": L }, null, 8, ["modelValue"]))]), _: 1 })), s(q2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? d("", true) : (t(), o(q2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? d("", true) : (t(), o(q2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": _2[3] || (_2[3] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[15] || (_2[15] = [c("显示")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[16] || (_2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), i(s(q2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [s(T, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": _2[4] || (_2[4] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [s(I, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": _2[5] || (_2[5] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), i(s(q2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": _2[6] || (_2[6] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "block" }, { default: u(() => _2[17] || (_2[17] = [c("换行")])), _: 1 }), s(G, { value: "inline" }, { default: u(() => _2[18] || (_2[18] = [c("不换行")])), _: 1 }), s(G, { value: "omit" }, { default: u(() => _2[19] || (_2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), s(q2, { label: "多选", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.treeMultiple, "onUpdate:modelValue": _2[7] || (_2[7] = (l3) => e2.configure.props.base.treeMultiple = l3), class: "ml-4" }, { default: u(() => [s(G, { value: true }, { default: u(() => _2[20] || (_2[20] = [c("是")])), _: 1 }), s(G, { value: false }, { default: u(() => _2[21] || (_2[21] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(s(q2, { label: "分隔符", class: "amb-design-attr-item" }, { default: u(() => [s(E, { modelValue: e2.configure.props.base.separator, "onUpdate:modelValue": _2[8] || (_2[8] = (l3) => e2.configure.props.base.separator = l3), placeholder: "," }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.treeMultiple]]), s(q2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": _2[9] || (_2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "large" }, { default: u(() => _2[22] || (_2[22] = [c("大")])), _: 1 }), s(G, { value: "default" }, { default: u(() => _2[23] || (_2[23] = [c("中")])), _: 1 }), s(G, { value: "small" }, { default: u(() => _2[24] || (_2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(q2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [s(H, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": _2[10] || (_2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [s(G, { value: "default" }, { default: u(() => _2[25] || (_2[25] = [c("普通")])), _: 1 }), s(G, { value: "disabled" }, { default: u(() => _2[26] || (_2[26] = [c("禁用")])), _: 1 }), s(G, { value: "hidden" }, { default: u(() => _2[27] || (_2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(J, { title: "限定部门", name: "deptScopes", class: "amb-design-attr-group-header" }, { default: u(() => [r("div", k, [s(H, { modelValue: e2.configure.props.base.deptScope, "onUpdate:modelValue": _2[12] || (_2[12] = (l3) => e2.configure.props.base.deptScope = l3) }, { default: u(() => [s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "field" }, { default: u(() => _2[28] || (_2[28] = [c("指定变量")])), _: 1 })]), default: u(() => [s(y, { isTable: e2.configure.isTable, showLabel: "field" != e2.configure.props.base.deptScope, modelValue: e2.configure.props.base.deptScopeField, "onUpdate:modelValue": A }, null, 8, ["isTable", "showLabel", "modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item" }, { label: u(() => [s(G, { value: "depts" }, { default: u(() => _2[29] || (_2[29] = [c("固定部门")])), _: 1 })]), default: u(() => [s(f(S), { disabled: "depts" != e2.configure.props.base.deptScope, multiple: true, treeType: "DeptTree", value: e2.configure.props.base.deptScopeDepts, "onUpdate:value": _2[11] || (_2[11] = (l3) => e2.configure.props.base.deptScopeDepts = l3), models: e2.configure.props.base, fields: [{ type: "code", model: "deptScopeCodes" }], size: "small", placeholder: "请选择", separator: ",", onSetValue: B }, null, 8, ["disabled", "value", "models"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), (t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"])), i(s(x, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (t(), o(J, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [r("div", j, [s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(K, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": _2[13] || (_2[13] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), s(q2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [s(N, { span: 8 }, { default: u(() => [s(K, { label: "自定义", value: "custom" })]), _: 1 }), s(N, { span: 14 }, { default: u(() => [s(P, { type: "default" }, { default: u(() => _2[30] || (_2[30] = [c("自定义逻辑")])), _: 1 }), s(P, { type: "default", icon: f(g), circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), C.value ? d("", true) : (t(), o(v, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
33
33
  };
34
34
  } });
35
35
  export {
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
19
19
  }
20
20
  return j.configure.isTable && (T.value = true), (l2, V2) => {
21
21
  const k3 = a("el-option"), j2 = a("el-select"), z2 = a("el-form-item"), N = a("el-input"), O = a("el-radio"), A = a("el-radio-group"), D = a("el-input-number"), B = a("el-collapse-item"), E = a("el-radio-button"), F = a("el-text"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
22
- return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 }), i(O, { value: "hidden" }, { default: u(() => V2[19] || (V2[19] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[20] || (V2[20] = [f("格式如:.doc,.docx,.xml...")])), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", w, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, null, { default: u(() => V2[21] || (V2[21] = [f("自定义逻辑")])), _: 1 }), i(I, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
+ return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: C.value, "onUpdate:modelValue": V2[11] || (V2[11] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(B, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [s("div", U, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(t(true), n(p, null, m(c(b)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? d("", true) : (t(), o(z2, { key: 0, label: "文件路径", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data"], "onUpdate:modelValue": V2[2] || (V2[2] = (e3, l3) => W(e3, "prop", l3)) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 1, label: "文件名", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(y, { key: e2.configure.uuid, modelValue: e2.configure.props.base.propName, paramTypes: ["data", "fixed"], "onUpdate:modelValue": V2[3] || (V2[3] = (e3) => W(e3, "propName")) }, null, 8, ["modelValue"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 2, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? d("", true) : (t(), o(z2, { key: 3, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(O, { value: true }, { default: u(() => V2[12] || (V2[12] = [f("显示")])), _: 1 }), i(O, { value: false }, { default: u(() => V2[13] || (V2[13] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), r(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "block" }, { default: u(() => V2[14] || (V2[14] = [f("换行")])), _: 1 }), i(O, { value: "inline" }, { default: u(() => V2[15] || (V2[15] = [f("不换行")])), _: 1 }), i(O, { value: "omit" }, { default: u(() => V2[16] || (V2[16] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(x, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(O, { value: "default" }, { default: u(() => V2[17] || (V2[17] = [f("普通")])), _: 1 }), i(O, { value: "disabled" }, { default: u(() => V2[18] || (V2[18] = [f("禁用")])), _: 1 }), i(O, { value: "hidden" }, { default: u(() => V2[19] || (V2[19] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(v, { uploadConfig: e2.configure.props.uploadConfig }, { addition: u((e3) => [i(z2, { label: "上传方式", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e3.row.displayType, "onUpdate:modelValue": (l3) => e3.row.displayType = l3, size: "small" }, { default: u(() => [i(E, { label: "输入框", value: "input" }), i(E, { label: "按钮", value: "button" }), i(E, { label: "拖拽", value: "drag" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1024), i(z2, { label: "文件类型", class: "amb-design-attr-item" }, { default: u(() => [i(N, { modelValue: e3.row.accept, "onUpdate:modelValue": (l3) => e3.row.accept = l3, placeholder: "*" }, null, 8, ["modelValue", "onUpdate:modelValue"]), i(F, { type: "success" }, { default: u(() => V2[20] || (V2[20] = [f("格式如:.doc,.docx,.xml...")])), _: 1 })]), _: 2 }, 1024)]), _: 1 }, 8, ["uploadConfig"]), (t(), o(B, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [s("div", w, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => V2[21] || (V2[21] = [f("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? d("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
23
  };
24
24
  } });
25
25
  export {
@@ -20,7 +20,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, w = { style: { padding: "8p
20
20
  }
21
21
  return j.configure.isTable && (W.value = true), (l2, V2) => {
22
22
  const k3 = a("el-option"), j2 = a("el-select"), T2 = a("el-form-item"), O = a("el-input"), A = a("el-radio"), C = a("el-radio-group"), D = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
23
- return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, null, { default: t(() => V2[30] || (V2[30] = [c("自定义逻辑")])), _: 1 }), i(H, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
+ return u(), o(J, { "label-width": "80px", size: "small" }, { default: t(() => [i(I, { modelValue: z.value, "onUpdate:modelValue": V2[15] || (V2[15] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [r("div", x, [i(T2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: S.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => S.value = e3), onChange: q, placeholder: "请选择" }, { default: t(() => [(u(true), n(m, null, p(f(g)(), (e3) => (u(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": M }, null, 8, ["modelValue"]))]), _: 1 })), i(T2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), W.value ? d("", true) : (u(), o(T2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), W.value ? d("", true) : (u(), o(T2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[16] || (V2[16] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[17] || (V2[17] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(T2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(D, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), s(i(T2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "block" }, { default: t(() => V2[18] || (V2[18] = [c("换行")])), _: 1 }), i(A, { value: "inline" }, { default: t(() => V2[19] || (V2[19] = [c("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: t(() => V2[20] || (V2[20] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(T2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(U, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最小值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.min, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.min = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "最大值", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.max, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.max = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "步长", class: "amb-design-attr-item" }, { default: t(() => [i(O, { modelValue: e2.configure.props.base.step, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.step = l3), modelModifiers: { number: true }, type: "number", placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "数值精度", class: "amb-design-attr-item" }, { default: t(() => [i(j2, { modelValue: e2.configure.props.base.precision, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.precision = l3), modelModifiers: { number: true }, placeholder: "请选择" }, { default: t(() => [(u(), n(m, null, p(10, (e3) => i(k3, { key: e3, label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "控制按钮", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.showButton, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.showButton = l3), class: "ml-4" }, { default: t(() => [i(A, { value: true }, { default: t(() => V2[21] || (V2[21] = [c("显示")])), _: 1 }), i(A, { value: false }, { default: t(() => V2[22] || (V2[22] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "large" }, { default: t(() => V2[23] || (V2[23] = [c("大")])), _: 1 }), i(A, { value: "default" }, { default: t(() => V2[24] || (V2[24] = [c("中")])), _: 1 }), i(A, { value: "small" }, { default: t(() => V2[25] || (V2[25] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(T2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(C, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(A, { value: "default" }, { default: t(() => V2[26] || (V2[26] = [c("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: t(() => V2[27] || (V2[27] = [c("禁用")])), _: 1 }), i(A, { value: "readonly" }, { default: t(() => V2[28] || (V2[28] = [c("只读")])), _: 1 }), i(A, { value: "hidden" }, { default: t(() => V2[29] || (V2[29] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), s(i(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, e2.configure.props.base.tittleShow]]), (u(), o(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: t(() => [r("div", w, [i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(T2, { class: "amb-design-attr-item", "label-width": "0" }, { default: t(() => [i(G, { span: 8 }, { default: t(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: t(() => [i(H, { type: "default" }, { default: t(() => V2[30] || (V2[30] = [c("自定义逻辑")])), _: 1 }), i(H, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), W.value ? d("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
24
24
  };
25
25
  } });
26
26
  export {
@@ -1,26 +1,26 @@
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";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as u, openBlock as o, withCtx as t, createVNode as i, withDirectives as s, createCommentVNode as r, createElementVNode as n, createElementBlock as p, Fragment as d, renderList as f, unref as m, createTextVNode as c, vShow as g } from "vue";
2
2
  import { getFormComponentOptions as b } from "../../../../utils/assemblys-config.js";
3
3
  import { componentNameChange as v } from "../../../../utils/form-design-util.js";
4
- import V from "../common/verification.vue.js";
5
- import _ from "../../common/common-attr-size.vue.js";
4
+ import _ from "../common/verification.vue.js";
5
+ import V from "../../common/common-attr-size.vue.js";
6
6
  import y from "../common/pre-suffix.vue.js";
7
7
  import x from "../common/bar-code-rule.vue.js";
8
8
  import h from "../../common/common-variable-bind.vue.js";
9
- import k from "../../common/common-function-code.vue.js";
10
- import S from "../common/suffixmodule.vue.js";
11
- import U from "../common/title-suffix.vue.js";
9
+ import U from "../../common/common-function-code.vue.js";
10
+ import k from "../common/suffixmodule.vue.js";
11
+ import S from "../common/title-suffix.vue.js";
12
12
  import j from "../../common/common-i18n-key-input.vue.js";
13
13
  const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8px 0px 0px 0px" } }, D = { style: { padding: "8px 0px 0px 0px" } }, T = e({ __name: "inputtext-attr-base", props: { configure: { type: Object, required: true, default: () => {
14
14
  } }, pageDesign: { type: Object, default: () => {
15
15
  } } }, emits: ["changeAssembly"], setup(e2, { emit: T2 }) {
16
- const L = e2, W = l(L.configure.name), C = T2;
16
+ const L = e2, W = l(L.configure.name), O = T2;
17
17
  L.configure.props.base || (L.configure.props.base = { prop: "" }), L.configure.props.preSuffix || (L.configure.props.preSuffix = {}), L.configure.props.prefix || (L.configure.props.prefix = {}), L.configure.props.scan || (L.configure.props.scan = {});
18
- const I = l(false);
19
- function N(e3) {
20
- v(L.configure, e3, C);
18
+ const C = l(false);
19
+ function I(e3) {
20
+ v(L.configure, e3, O);
21
21
  }
22
- L.configure.isTable && (I.value = true);
23
- const O = l(["base"]), q = l(false);
22
+ L.configure.isTable && (C.value = true);
23
+ const N = l(["base"]), q = l(false);
24
24
  function A() {
25
25
  q.value = false;
26
26
  }
@@ -34,8 +34,8 @@ const w = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
34
34
  L.configure.props.base.defaultValue = e3;
35
35
  }
36
36
  return (l2, v2) => {
37
- const T3 = a("el-option"), L2 = a("el-select"), C2 = a("el-form-item"), E = a("el-input"), F = a("el-radio"), G = a("el-radio-group"), H = a("el-input-number"), J = a("el-switch"), K = a("el-collapse-item"), M = a("el-button"), Q = a("el-collapse"), X = a("el-form");
38
- return u(), o(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: O.value, "onUpdate:modelValue": v2[13] || (v2[13] = (e3) => O.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(K, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", w, [i(C2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(L2, { modelValue: W.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => W.value = e3), onChange: N, placeholder: "请选择" }, { default: t(() => [(u(true), p(d, null, f(m(b)(), (e3) => (u(), o(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), I.value ? r("", true) : (u(), o(C2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": R }, null, 8, ["modelValue"]))]), _: 1 })), i(C2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), I.value ? r("", true) : (u(), o(C2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(u(), o(k, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), I.value ? r("", true) : (u(), o(C2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[14] || (v2[14] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[15] || (v2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(C2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(C2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(H, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(C2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "block" }, { default: t(() => v2[16] || (v2[16] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[17] || (v2[17] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[18] || (v2[18] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(C2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[19] || (v2[19] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[20] || (v2[20] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [i(J, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "large" }, { default: t(() => v2[21] || (v2[21] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[22] || (v2[22] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[23] || (v2[23] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "default" }, { default: t(() => v2[24] || (v2[24] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[25] || (v2[25] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[26] || (v2[26] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[27] || (v2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(C2, { label: "是否开启", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.enable, "onUpdate:modelValue": v2[11] || (v2[11] = (l3) => e2.configure.props.scan.enable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[28] || (v2[28] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[29] || (v2[29] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(C2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[12] || (v2[12] = (e3) => q.value = true) }, { default: t(() => v2[30] || (v2[30] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(U, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (u(), o(y, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), s(i(K, { title: "后缀图标跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", D, [i(S, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (u(), o(V, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), I.value ? r("", true) : (u(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (u(), o(x, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
37
+ const T3 = a("el-option"), L2 = a("el-select"), O2 = a("el-form-item"), E = a("el-input"), F = a("el-radio"), G = a("el-radio-group"), H = a("el-input-number"), J = a("el-switch"), K = a("el-collapse-item"), M = a("el-button"), Q = a("el-collapse"), X = a("el-form");
38
+ return o(), u(X, { "label-width": "80px", size: "small" }, { default: t(() => [i(Q, { modelValue: N.value, "onUpdate:modelValue": v2[14] || (v2[14] = (e3) => N.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [i(K, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", w, [i(O2, { label: "组件类型", class: "amb-design-attr-item" }, { default: t(() => [i(L2, { modelValue: W.value, "onUpdate:modelValue": v2[0] || (v2[0] = (e3) => W.value = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [(o(true), p(d, null, f(m(b)(), (e3) => (o(), u(T3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: t(() => [i(E, { modelValue: e2.configure.uuid, "onUpdate:modelValue": v2[1] || (v2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": R }, null, 8, ["modelValue"]))]), _: 1 })), i(O2, { label: "默认值", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(h, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": B }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), C.value ? r("", true) : (o(), u(O2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: t(() => [(o(), u(U, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), C.value ? r("", true) : (o(), u(O2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": v2[2] || (v2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[15] || (v2[15] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[16] || (v2[16] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), s(i(O2, { label: "标题", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": v2[3] || (v2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: t(() => [i(H, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": v2[4] || (v2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow]]), s(i(O2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": v2[5] || (v2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "block" }, { default: t(() => v2[17] || (v2[17] = [c("换行")])), _: 1 }), i(F, { value: "inline" }, { default: t(() => v2[18] || (v2[18] = [c("不换行")])), _: 1 }), i(F, { value: "omit" }, { default: t(() => v2[19] || (v2[19] = [c("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(O2, { label: "输入提示", class: "amb-design-attr-item" }, { default: t(() => [i(j, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": v2[6] || (v2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "清除按钮", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.clearable, "onUpdate:modelValue": v2[7] || (v2[7] = (l3) => e2.configure.props.base.clearable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[20] || (v2[20] = [c("显示")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[21] || (v2[21] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "显示字数", class: "amb-design-attr-item" }, { default: t(() => [i(J, { modelValue: e2.configure.props.base.showInputNum, "onUpdate:modelValue": v2[8] || (v2[8] = (l3) => e2.configure.props.base.showInputNum = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "尺寸", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": v2[9] || (v2[9] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "large" }, { default: t(() => v2[22] || (v2[22] = [c("大")])), _: 1 }), i(F, { value: "default" }, { default: t(() => v2[23] || (v2[23] = [c("中")])), _: 1 }), i(F, { value: "small" }, { default: t(() => v2[24] || (v2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "状态", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": v2[10] || (v2[10] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: t(() => [i(F, { value: "default" }, { default: t(() => v2[25] || (v2[25] = [c("普通")])), _: 1 }), i(F, { value: "disabled" }, { default: t(() => v2[26] || (v2[26] = [c("禁用")])), _: 1 }), i(F, { value: "readonly" }, { default: t(() => v2[27] || (v2[27] = [c("只读")])), _: 1 }), i(F, { value: "hidden" }, { default: t(() => v2[28] || (v2[28] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(K, { title: "条码扫描", name: "scan", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", z, [i(O2, { label: "是否开启", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.enable, "onUpdate:modelValue": v2[11] || (v2[11] = (l3) => e2.configure.props.scan.enable = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[29] || (v2[29] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[30] || (v2[30] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "自动打开扫描", class: "amb-design-attr-item" }, { default: t(() => [i(G, { modelValue: e2.configure.props.scan.autoOpen, "onUpdate:modelValue": v2[12] || (v2[12] = (l3) => e2.configure.props.scan.autoOpen = l3), class: "ml-4" }, { default: t(() => [i(F, { value: true }, { default: t(() => v2[31] || (v2[31] = [c("是")])), _: 1 }), i(F, { value: false }, { default: t(() => v2[32] || (v2[32] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(O2, { label: "解析规则", class: "amb-design-attr-item" }, { default: t(() => [i(M, { type: "primary", onClick: v2[13] || (v2[13] = (e3) => q.value = true) }, { default: t(() => v2[33] || (v2[33] = [c("添加")])), _: 1 })]), _: 1 })])]), _: 1 }), s(i(S, { configure: e2.configure }, null, 8, ["configure"]), [[g, e2.configure.props.base.tittleShow]]), (o(), u(y, { key: e2.configure.uuid, preSuffix: e2.configure.props.preSuffix }, null, 8, ["preSuffix"])), s(i(K, { title: "后缀图标跳转配置", name: "linkPage", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", D, [i(k, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"])])]), _: 1 }, 512), [[g, e2.configure.props.preSuffix && e2.configure.props.preSuffix.sufIconType]]), (o(), u(_, { key: e2.configure.uuid, pageDesign: e2.pageDesign, verification: e2.configure.props.verification }, null, 8, ["pageDesign", "verification"])), C.value ? r("", true) : (o(), u(V, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"])), q.value ? (o(), u(x, { key: 1, ruleList: e2.configure.props.scan.ruleList, onRemove: P, onClose: A }, null, 8, ["ruleList"])) : r("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
39
39
  };
40
40
  } });
41
41
  export {
@@ -19,7 +19,7 @@ const x = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
19
19
  }
20
20
  return w.configure.isTable && (T.value = true), (l2, V2) => {
21
21
  const U3 = a("el-option"), w2 = a("el-select"), z2 = a("el-form-item"), A = a("el-input"), C = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-collapse-item"), F = a("el-checkbox"), G = a("el-col"), H = a("el-button"), I = a("el-collapse"), J = a("el-form");
22
- return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => V2[10] || (V2[10] = [f("显示")])), _: 1 }), i(C, { value: false }, { default: u(() => V2[11] || (V2[11] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => V2[12] || (V2[12] = [f("换行")])), _: 1 }), i(C, { value: "inline" }, { default: u(() => V2[13] || (V2[13] = [f("不换行")])), _: 1 }), i(C, { value: "omit" }, { default: u(() => V2[14] || (V2[14] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => V2[15] || (V2[15] = [f("普通")])), _: 1 }), i(C, { value: "readonly" }, { default: u(() => V2[16] || (V2[16] = [f("只读")])), _: 1 }), i(C, { value: "hidden" }, { default: u(() => V2[17] || (V2[17] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H, null, { default: u(() => V2[18] || (V2[18] = [f("自定义逻辑")])), _: 1 }), i(H, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
+ return o(), t(J, { "label-width": "80px", size: "small" }, { default: u(() => [i(I, { modelValue: S.value, "onUpdate:modelValue": V2[9] || (V2[9] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(E, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(z2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: j.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => j.value = e3), onChange: q, placeholder: "请选择" }, { default: u(() => [(o(true), r(m, null, p(c(g)(), (e3) => (o(), t(U3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(A, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(z2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": O }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), T.value ? s("", true) : (o(), t(z2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(o(), t(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), T.value ? s("", true) : (o(), t(z2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(C, { value: true }, { default: u(() => V2[10] || (V2[10] = [f("显示")])), _: 1 }), i(C, { value: false }, { default: u(() => V2[11] || (V2[11] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(z2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(z2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "block" }, { default: u(() => V2[12] || (V2[12] = [f("换行")])), _: 1 }), i(C, { value: "inline" }, { default: u(() => V2[13] || (V2[13] = [f("不换行")])), _: 1 }), i(C, { value: "omit" }, { default: u(() => V2[14] || (V2[14] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(z2, { label: "输入提示", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.placeholder, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.placeholder = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(C, { value: "default" }, { default: u(() => V2[15] || (V2[15] = [f("普通")])), _: 1 }), i(C, { value: "readonly" }, { default: u(() => V2[16] || (V2[16] = [f("只读")])), _: 1 }), i(C, { value: "hidden" }, { default: u(() => V2[17] || (V2[17] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (o(), t(E, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", k, [i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(F, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(z2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { span: 8 }, { default: u(() => [i(F, { label: "自定义", value: "custom" })]), _: 1 }), i(G, { span: 14 }, { default: u(() => [i(H, { type: "default" }, { default: u(() => V2[18] || (V2[18] = [f("自定义逻辑")])), _: 1 }), i(H, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), T.value ? s("", true) : (o(), t(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
23
  };
24
24
  } });
25
25
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, createCommentVNode as s, createElementVNode as d, withDirectives as n, createElementBlock as r, Fragment as m, renderList as p, unref as c, createTextVNode as f, vShow as b } from "vue";
1
+ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as o, openBlock as t, withCtx as u, createVNode as i, createCommentVNode as s, createElementVNode as d, withDirectives as r, createElementBlock as n, Fragment as m, renderList as p, unref as c, createTextVNode as f, vShow as b } from "vue";
2
2
  import { getFormComponentOptions as g } from "../../../../utils/assemblys-config.js";
3
3
  import { componentNameChange as V } from "../../../../utils/form-design-util.js";
4
4
  import _ from "../../common/common-attr-size.vue.js";
@@ -19,7 +19,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8p
19
19
  }
20
20
  return w.configure.isTable && (z.value = true), (l2, V2) => {
21
21
  const k3 = a("el-option"), w2 = a("el-select"), j2 = a("el-form-item"), q = a("el-input"), A = a("el-radio"), D = a("el-radio-group"), B = a("el-input-number"), E = a("el-color-picker"), F = a("el-collapse-item"), G = a("el-checkbox"), H = a("el-col"), I = a("el-button"), J = a("el-collapse"), K = a("el-form");
22
- return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), r(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => V2[17] || (V2[17] = [f("显示")])), _: 1 }), i(A, { value: false }, { default: u(() => V2[18] || (V2[18] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), n(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), n(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [f("换行")])), _: 1 }), i(A, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [f("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [f("大")])), _: 1 }), i(A, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [f("中")])), _: 1 }), i(A, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [f("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [f("禁用")])), _: 1 }), i(A, { value: "hidden" }, { default: u(() => V2[27] || (V2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, null, { default: u(() => V2[28] || (V2[28] = [f("自定义逻辑")])), _: 1 }), i(I, { icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
+ return t(), o(K, { "label-width": "80px", size: "small" }, { default: u(() => [i(J, { modelValue: S.value, "onUpdate:modelValue": V2[16] || (V2[16] = (e3) => S.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(F, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", U, [i(j2, { label: "组件类型", class: "amb-design-attr-item" }, { default: u(() => [i(w2, { modelValue: T.value, "onUpdate:modelValue": V2[0] || (V2[0] = (e3) => T.value = e3), onChange: O, placeholder: "请选择" }, { default: u(() => [(t(true), n(m, null, p(c(g)(), (e3) => (t(), o(k3, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "唯一编码", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V2[1] || (V2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 0, label: "绑定变量", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": W }, null, 8, ["modelValue"]))]), _: 1 })), i(j2, { label: "默认值", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(v, { isTable: e2.configure.isTable, key: e2.configure.uuid, modelValue: e2.configure.props.base.defaultValue, "onUpdate:modelValue": C }, null, 8, ["isTable", "modelValue"]))]), _: 1 }), z.value ? s("", true) : (t(), o(j2, { key: 1, label: "绑定权限", class: "amb-design-attr-item" }, { default: u(() => [(t(), o(h, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 })), z.value ? s("", true) : (t(), o(j2, { key: 2, label: "标题显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": V2[2] || (V2[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: u(() => [i(A, { value: true }, { default: u(() => V2[17] || (V2[17] = [f("显示")])), _: 1 }), i(A, { value: false }, { default: u(() => V2[18] || (V2[18] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })), r(i(j2, { label: "标题", class: "amb-design-attr-item" }, { default: u(() => [i(y, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": V2[3] || (V2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.titleWidth, "onUpdate:modelValue": V2[4] || (V2[4] = (l3) => e2.configure.props.base.titleWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow]]), r(i(j2, { label: "标题超宽", title: "标题超宽显示", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.titleShowWay, "onUpdate:modelValue": V2[5] || (V2[5] = (l3) => e2.configure.props.base.titleShowWay = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "block" }, { default: u(() => V2[19] || (V2[19] = [f("换行")])), _: 1 }), i(A, { value: "inline" }, { default: u(() => V2[20] || (V2[20] = [f("不换行")])), _: 1 }), i(A, { value: "omit" }, { default: u(() => V2[21] || (V2[21] = [f("省略号")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.tittleShow && e2.configure.props.base.titleWidth > 0]]), i(j2, { label: "开关宽度", class: "amb-design-attr-item" }, { default: u(() => [i(B, { modelValue: e2.configure.props.base.offOnWidth, "onUpdate:modelValue": V2[6] || (V2[6] = (l3) => e2.configure.props.base.offOnWidth = l3), style: { width: "100%" }, min: 0, placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeValue, "onUpdate:modelValue": V2[7] || (V2[7] = (l3) => e2.configure.props.base.activeValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.onColor, "onUpdate:modelValue": V2[8] || (V2[8] = (l3) => e2.configure.props.base.onColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "激活的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.activeText, "onUpdate:modelValue": V2[9] || (V2[9] = (l3) => e2.configure.props.base.activeText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的值", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveValue, "onUpdate:modelValue": V2[10] || (V2[10] = (l3) => e2.configure.props.base.inactiveValue = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的颜色", class: "amb-design-attr-item" }, { default: u(() => [i(E, { modelValue: e2.configure.props.base.offColor, "onUpdate:modelValue": V2[11] || (V2[11] = (l3) => e2.configure.props.base.offColor = l3) }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "关闭的文字", class: "amb-design-attr-item" }, { default: u(() => [i(q, { modelValue: e2.configure.props.base.inactiveText, "onUpdate:modelValue": V2[12] || (V2[12] = (l3) => e2.configure.props.base.inactiveText = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "尺寸", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": V2[13] || (V2[13] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "large" }, { default: u(() => V2[22] || (V2[22] = [f("大")])), _: 1 }), i(A, { value: "default" }, { default: u(() => V2[23] || (V2[23] = [f("中")])), _: 1 }), i(A, { value: "small" }, { default: u(() => V2[24] || (V2[24] = [f("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i(j2, { label: "状态", class: "amb-design-attr-item" }, { default: u(() => [i(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": V2[14] || (V2[14] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: u(() => [i(A, { value: "default" }, { default: u(() => V2[25] || (V2[25] = [f("普通")])), _: 1 }), i(A, { value: "disabled" }, { default: u(() => V2[26] || (V2[26] = [f("禁用")])), _: 1 }), i(A, { value: "hidden" }, { default: u(() => V2[27] || (V2[27] = [f("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (t(), o(F, { title: "校验", name: "verification", key: e2.configure.uuid, class: "amb-design-attr-group-header" }, { default: u(() => [d("div", x, [i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(G, { modelValue: e2.configure.props.verification.required, "onUpdate:modelValue": V2[15] || (V2[15] = (l3) => e2.configure.props.verification.required = l3), label: "必填" }, null, 8, ["modelValue"])]), _: 1 }), i(j2, { class: "amb-design-attr-item", "label-width": "0" }, { default: u(() => [i(H, { span: 8 }, { default: u(() => [i(G, { label: "自定义", value: "custom" })]), _: 1 }), i(H, { span: 14 }, { default: u(() => [i(I, { type: "default" }, { default: u(() => V2[28] || (V2[28] = [f("自定义逻辑")])), _: 1 }), i(I, { type: "default", icon: l2.Search, circle: "" }, null, 8, ["icon"])]), _: 1 })]), _: 1 })])]), _: 1 })), z.value ? s("", true) : (t(), o(_, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 });
23
23
  };
24
24
  } });
25
25
  export {
@@ -7,8 +7,10 @@ interface MyProps {
7
7
  indexObj: any;
8
8
  showSelectedClass: boolean;
9
9
  errorBlank: boolean;
10
+ isTableBtnLink: boolean;
10
11
  }
11
12
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MyProps>, {
13
+ isTableBtnLink: boolean;
12
14
  showSelectedClass: boolean;
13
15
  errorBlank: boolean;
14
16
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -17,6 +19,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
17
19
  onCustomAttrWidget: (...args: any[]) => void;
18
20
  onDelete: (...args: any[]) => void;
19
21
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MyProps>, {
22
+ isTableBtnLink: boolean;
20
23
  showSelectedClass: boolean;
21
24
  errorBlank: boolean;
22
25
  }>>> & Readonly<{
@@ -27,6 +30,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
27
30
  }>, {
28
31
  errorBlank: boolean;
29
32
  showSelectedClass: boolean;
33
+ isTableBtnLink: boolean;
30
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
31
35
  export default _default;
32
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;