super-page-designer 2.3.0-tmp3 → 2.3.2-design1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +1 -1
  2. package/dist/es/components/design/utils/page-table-util.js +1 -1
  3. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +4 -4
  4. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +8 -8
  5. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
  6. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
  7. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
  8. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +5 -5
  9. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +27 -27
  10. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
  11. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +7 -7
  12. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
  13. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  14. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  15. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  16. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +3 -3
  17. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  18. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  19. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
  20. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
  21. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
  22. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
  23. package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
  24. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
  25. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
  26. package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +2 -2
  27. package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +2 -2
  28. package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
  29. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
  30. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
  31. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
  32. package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
  33. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
  34. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  35. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  36. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  37. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  38. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  39. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  40. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  41. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
  42. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  43. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  44. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  45. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  46. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  48. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  49. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  51. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  52. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
  53. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  54. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
  56. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +9 -9
  57. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +10 -10
  58. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +24 -24
  59. package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
  60. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
  61. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue.js +1 -1
  62. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +69 -55
  63. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +12 -12
  64. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
  65. package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
  66. package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
  67. package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
  68. package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
  69. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  70. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +13 -13
  71. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +3 -3
  72. package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
  73. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  74. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
  75. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
  76. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
  77. package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
  78. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
  79. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
  80. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +6 -6
  81. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +3 -3
  82. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
  83. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
  84. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +4 -4
  85. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
  86. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +3 -3
  87. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  88. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  89. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +6 -6
  90. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
  91. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +6 -5
  92. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  93. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
  94. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +6 -6
  95. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +6 -6
  96. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
  97. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
  98. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +9 -9
  99. package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +25 -25
  100. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +3 -3
  101. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
  102. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +9 -9
  103. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +16 -16
  104. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -2
  105. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +2 -2
  106. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  107. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +8 -8
  108. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  109. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  110. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +6 -6
  111. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +30 -22
  112. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +12 -12
  113. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +13 -13
  114. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
  115. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
  116. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
  117. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
  118. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +6 -6
  119. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +5 -5
  120. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
  121. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +6 -6
  122. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
  123. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
  124. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
  125. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
  126. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
  127. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
  128. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  129. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  130. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +3 -3
  131. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
  132. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  133. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +12 -12
  134. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  135. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  136. package/dist/es/components/design/views/design/page-event/completion-data.d.ts +7 -0
  137. package/dist/es/components/design/views/design/page-event/completion-data.js +4 -0
  138. package/dist/es/components/design/views/design/page-event/{config.vue.js → config.vue2.js} +2 -2
  139. package/dist/es/components/design/views/design/page-event/config.vue3.js +56 -50
  140. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  141. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  142. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
  143. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
  144. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -7
  145. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
  146. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  147. package/dist/es/components/design/views/design/view/view-design.vue.js +16 -16
  148. package/dist/es/style.css +9 -9
  149. package/package.json +5 -5
@@ -3,17 +3,17 @@ import f from "../../common/common-attr-size.vue.js";
3
3
  import g from "../../common/common-function-code.vue.js";
4
4
  import b from "../../common/common-icon-bind.vue.js";
5
5
  import V from "../../common/common-i18n-key-input.vue.js";
6
- import { Close as _, Check as v } from "@element-plus/icons-vue";
7
- const x = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "card-attr-base", props: { configure: { type: Object, default: {} }, pageDesign: { type: Object, default: () => {
6
+ import { Close as v, Check as x } from "@element-plus/icons-vue";
7
+ const y = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "card-attr-base", props: { configure: { type: Object, default: {} }, pageDesign: { type: Object, default: () => {
8
8
  } } }, setup(e2) {
9
- const y2 = e2, h = l(["1", "attrSize"]);
9
+ const _2 = e2, h = l(["1", "attrSize"]);
10
10
  return (l2, w) => {
11
11
  const U = o("el-text"), C = o("el-form-item"), j = o("el-input"), z = o("el-radio"), S = o("el-radio-group"), F = o("el-switch"), T = o("el-option"), k = o("el-select"), J = o("el-collapse-item"), O = o("el-collapse"), D = o("el-form");
12
- return u(), a(D, { "label-width": "80px", size: "small" }, { default: i(() => [t(O, { modelValue: h.value, "onUpdate:modelValue": w[9] || (w[9] = (e3) => h.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [t(J, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", x, [t(C, { label: "组件类型" }, { default: i(() => [t(U, null, { default: i(() => [c(s(e2.configure.label) + "(" + s(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(C, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.uuid, "onUpdate:modelValue": w[0] || (w[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(C, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.code, "onUpdate:modelValue": w[1] || (w[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(C, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: i(() => [t(g, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), t(C, { label: "标题显示", style: { "margin-top": "-10px" } }, { default: i(() => [t(S, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": w[2] || (w[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: i(() => [t(z, { value: true }, { default: i(() => w[10] || (w[10] = [c("显示")])), _: 1, __: [10] }), t(z, { value: false }, { default: i(() => w[11] || (w[11] = [c("隐藏")])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(t(C, { label: "标题", style: { "margin-top": "-10px" } }, { default: i(() => [t(V, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": w[3] || (w[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d, e2.configure.props.base.tittleShow]]), t(C, { label: "标题图标", style: { "margin-top": "-10px" } }, { default: i(() => [t(b, { iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, "onUpdate:modelValue": w[4] || (w[4] = (e3, l3) => function(e4, l4) {
13
- y2.configure.props.iconType = e4, y2.configure.props.iconValue = l4;
14
- }(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), t(C, { label: "折叠面板" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapse, "onUpdate:modelValue": w[5] || (w[5] = (l3) => e2.configure.props.isCollapse = l3), "inline-prompt": "", "active-icon": m(v), "inactive-icon": m(_) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isCollapse ? (u(), a(C, { key: 0, label: "面板展开" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapseShow, "onUpdate:modelValue": w[6] || (w[6] = (l3) => e2.configure.props.isCollapseShow = l3), disabled: !e2.configure.props.isCollapse, "inline-prompt": "", "active-icon": m(v), "inactive-icon": m(_) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), t(C, { label: "Flex布局" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isFlex, "onUpdate:modelValue": w[7] || (w[7] = (l3) => e2.configure.props.isFlex = l3) }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.isFlex ? (u(), a(C, { key: 1, label: "水平对齐", style: { "margin-bottom": "-10px", "margin-top": "18px" } }, { default: i(() => [t(k, { modelValue: e2.configure.props.flexJustify, "onUpdate:modelValue": w[8] || (w[8] = (l3) => e2.configure.props.flexJustify = l3), placeholder: "默认", clearable: "" }, { default: i(() => [t(T, { label: "start", value: "start" }), t(T, { label: "center", value: "center" }), t(T, { label: "space-between", value: "space-between" }), t(T, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true)])]), _: 1 }), t(f, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
12
+ return u(), a(D, { "label-width": "80px", size: "small" }, { default: i(() => [t(O, { modelValue: h.value, "onUpdate:modelValue": w[9] || (w[9] = (e3) => h.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [t(J, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: i(() => [n("div", y, [t(C, { label: "组件类型" }, { default: i(() => [t(U, null, { default: i(() => [c(s(e2.configure.label) + "(" + s(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(C, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.uuid, "onUpdate:modelValue": w[0] || (w[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(C, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: i(() => [t(j, { modelValue: e2.configure.code, "onUpdate:modelValue": w[1] || (w[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(C, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: i(() => [t(g, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), t(C, { label: "标题显示", style: { "margin-top": "-10px" } }, { default: i(() => [t(S, { modelValue: e2.configure.props.base.tittleShow, "onUpdate:modelValue": w[2] || (w[2] = (l3) => e2.configure.props.base.tittleShow = l3), class: "ml-4" }, { default: i(() => [t(z, { value: true }, { default: i(() => w[10] || (w[10] = [c("显示")])), _: 1 }), t(z, { value: false }, { default: i(() => w[11] || (w[11] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(t(C, { label: "标题", style: { "margin-top": "-10px" } }, { default: i(() => [t(V, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": w[3] || (w[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[d, e2.configure.props.base.tittleShow]]), t(C, { label: "标题图标", style: { "margin-top": "-10px" } }, { default: i(() => [t(b, { iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, "onUpdate:modelValue": w[4] || (w[4] = (e3, l3) => function(e4, l4) {
13
+ _2.configure.props.iconType = e4, _2.configure.props.iconValue = l4;
14
+ }(e3, l3)) }, null, 8, ["iconType", "iconValue"])]), _: 1 }), t(C, { label: "折叠面板" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapse, "onUpdate:modelValue": w[5] || (w[5] = (l3) => e2.configure.props.isCollapse = l3), "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isCollapse ? (u(), a(C, { key: 0, label: "面板展开" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isCollapseShow, "onUpdate:modelValue": w[6] || (w[6] = (l3) => e2.configure.props.isCollapseShow = l3), disabled: !e2.configure.props.isCollapse, "inline-prompt": "", "active-icon": m(x), "inactive-icon": m(v) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 })) : r("", true), t(C, { label: "Flex布局" }, { default: i(() => [t(F, { modelValue: e2.configure.props.isFlex, "onUpdate:modelValue": w[7] || (w[7] = (l3) => e2.configure.props.isFlex = l3) }, null, 8, ["modelValue"])]), _: 1 }), e2.configure.props.isFlex ? (u(), a(C, { key: 1, label: "水平对齐", style: { "margin-bottom": "-10px", "margin-top": "18px" } }, { default: i(() => [t(k, { modelValue: e2.configure.props.flexJustify, "onUpdate:modelValue": w[8] || (w[8] = (l3) => e2.configure.props.flexJustify = l3), placeholder: "默认", clearable: "" }, { default: i(() => [t(T, { label: "start", value: "start" }), t(T, { label: "center", value: "center" }), t(T, { label: "space-between", value: "space-between" }), t(T, { label: "space-around", value: "space-around" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : r("", true)])]), _: 1 }), t(f, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
15
15
  };
16
16
  } });
17
17
  export {
18
- y as default
18
+ _ as default
19
19
  };
@@ -4,8 +4,8 @@ import m from "../../common/common-function-code.vue.js";
4
4
  const s = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "container-attr-base", props: { configure: { type: Object, default: {} } }, emits: [], setup(e2, { emit: f2 }) {
5
5
  const c = l(["1", "attrSize"]);
6
6
  return (l2, f3) => {
7
- const g = o("el-text"), V = o("el-form-item"), _ = o("el-input"), x = o("el-checkbox"), b = o("el-collapse-item"), h = o("el-collapse"), y = o("el-form");
8
- return t(), u(y, { "label-width": "80px", size: "small" }, { default: a(() => [i(h, { modelValue: c.value, "onUpdate:modelValue": f3[6] || (f3[6] = (e3) => c.value = e3), style: { "margin-top": "6px" } }, { default: a(() => [i(b, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: a(() => [d("div", s, [i(V, { label: "组件类型" }, { default: a(() => [i(g, null, { default: a(() => [r(p(e2.configure.label) + "(" + p(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), i(V, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(_, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f3[0] || (f3[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(_, { modelValue: e2.configure.code, "onUpdate:modelValue": f3[1] || (f3[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: a(() => [i(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), i(V, { style: { "margin-top": "-10px" } }, { label: a(() => [i(x, { modelValue: e2.configure.props.useLeft, "onUpdate:modelValue": f3[2] || (f3[2] = (l3) => e2.configure.props.useLeft = l3), value: "true" }, { default: a(() => f3[7] || (f3[7] = [r("左边宽度")])), _: 1, __: [7] }, 8, ["modelValue"])]), default: a(() => [i(_, { modelValue: e2.configure.props.leftWidth, "onUpdate:modelValue": f3[3] || (f3[3] = (l3) => e2.configure.props.leftWidth = l3), disabled: !e2.configure.props.useLeft }, { suffix: a(() => f3[8] || (f3[8] = [r(" px ")])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }), i(V, { style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { label: a(() => [i(x, { modelValue: e2.configure.props.useRight, "onUpdate:modelValue": f3[4] || (f3[4] = (l3) => e2.configure.props.useRight = l3), value: "true" }, { default: a(() => f3[9] || (f3[9] = [r("右边宽度")])), _: 1, __: [9] }, 8, ["modelValue"])]), default: a(() => [i(_, { modelValue: e2.configure.props.rightWidth, "onUpdate:modelValue": f3[5] || (f3[5] = (l3) => e2.configure.props.rightWidth = l3), disabled: !e2.configure.props.useRight }, { suffix: a(() => f3[10] || (f3[10] = [r(" px ")])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), i(n, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
7
+ const g = o("el-text"), V = o("el-form-item"), x = o("el-input"), b = o("el-checkbox"), _ = o("el-collapse-item"), h = o("el-collapse"), y = o("el-form");
8
+ return t(), u(y, { "label-width": "80px", size: "small" }, { default: a(() => [i(h, { modelValue: c.value, "onUpdate:modelValue": f3[6] || (f3[6] = (e3) => c.value = e3), style: { "margin-top": "6px" } }, { default: a(() => [i(_, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: a(() => [d("div", s, [i(V, { label: "组件类型" }, { default: a(() => [i(g, null, { default: a(() => [r(p(e2.configure.label) + "(" + p(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), i(V, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(x, { modelValue: e2.configure.uuid, "onUpdate:modelValue": f3[0] || (f3[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), i(V, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: a(() => [i(x, { modelValue: e2.configure.code, "onUpdate:modelValue": f3[1] || (f3[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(V, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: a(() => [i(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), i(V, { style: { "margin-top": "-10px" } }, { label: a(() => [i(b, { modelValue: e2.configure.props.useLeft, "onUpdate:modelValue": f3[2] || (f3[2] = (l3) => e2.configure.props.useLeft = l3), value: "true" }, { default: a(() => f3[7] || (f3[7] = [r("左边宽度")])), _: 1 }, 8, ["modelValue"])]), default: a(() => [i(x, { modelValue: e2.configure.props.leftWidth, "onUpdate:modelValue": f3[3] || (f3[3] = (l3) => e2.configure.props.leftWidth = l3), disabled: !e2.configure.props.useLeft }, { suffix: a(() => f3[8] || (f3[8] = [r(" px ")])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }), i(V, { style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { label: a(() => [i(b, { modelValue: e2.configure.props.useRight, "onUpdate:modelValue": f3[4] || (f3[4] = (l3) => e2.configure.props.useRight = l3), value: "true" }, { default: a(() => f3[9] || (f3[9] = [r("右边宽度")])), _: 1 }, 8, ["modelValue"])]), default: a(() => [i(x, { modelValue: e2.configure.props.rightWidth, "onUpdate:modelValue": f3[5] || (f3[5] = (l3) => e2.configure.props.rightWidth = l3), disabled: !e2.configure.props.useRight }, { suffix: a(() => f3[10] || (f3[10] = [r(" px ")])), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })])]), _: 1 }), i(n, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
9
  };
10
10
  } });
11
11
  export {
@@ -5,7 +5,7 @@ const f = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "form-attr-
5
5
  const s2 = l(["1", "attrSize"]);
6
6
  return (l2, c) => {
7
7
  const g = o("el-text"), _ = o("el-form-item"), V = o("el-input"), b = o("el-radio-button"), x = o("el-radio-group"), v = o("el-collapse-item"), y = o("el-collapse"), h = o("el-form");
8
- return u(), a(h, { "label-width": "80px", size: "small" }, { default: t(() => [r(y, { modelValue: s2.value, "onUpdate:modelValue": c[6] || (c[6] = (e3) => s2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [r(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", f, [r(_, { label: "组件类型" }, { default: t(() => [r(g, null, { default: t(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.uuid, "onUpdate:modelValue": c[0] || (c[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.code, "onUpdate:modelValue": c[1] || (c[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: t(() => [r(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(_, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.labelPosition, "onUpdate:modelValue": c[2] || (c[2] = (l3) => e2.configure.props.labelPosition = l3) }, { default: t(() => [r(b, { value: "left" }, { default: t(() => c[7] || (c[7] = [i("左边")])), _: 1, __: [7] }), r(b, { value: "right" }, { default: t(() => c[8] || (c[8] = [i("右边")])), _: 1, __: [8] }), r(b, { value: "top" }, { default: t(() => c[9] || (c[9] = [i("顶部")])), _: 1, __: [9] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "标签宽度", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.labelWidth, "onUpdate:modelValue": c[3] || (c[3] = (l3) => e2.configure.props.labelWidth = l3) }, { suffix: t(() => c[10] || (c[10] = [i(" px ")])), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "表单标题", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.formTitle, "onUpdate:modelValue": c[4] || (c[4] = (l3) => e2.configure.props.formTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "组件尺寸", style: { "margin-bottom": "-10px", "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.componentSize, "onUpdate:modelValue": c[5] || (c[5] = (l3) => e2.configure.props.componentSize = l3) }, { default: t(() => [r(b, { value: "large" }, { default: t(() => c[11] || (c[11] = [i("大")])), _: 1, __: [11] }), r(b, { value: "default" }, { default: t(() => c[12] || (c[12] = [i("适中")])), _: 1, __: [12] }), r(b, { value: "small" }, { default: t(() => c[13] || (c[13] = [i("小")])), _: 1, __: [13] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(p, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
8
+ return u(), a(h, { "label-width": "80px", size: "small" }, { default: t(() => [r(y, { modelValue: s2.value, "onUpdate:modelValue": c[6] || (c[6] = (e3) => s2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [r(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", f, [r(_, { label: "组件类型" }, { default: t(() => [r(g, null, { default: t(() => [i(n(e2.configure.label) + "(" + n(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), r(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.uuid, "onUpdate:modelValue": c[0] || (c[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), r(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.code, "onUpdate:modelValue": c[1] || (c[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "绑定权限", style: { "margin-top": "-10px" } }, { default: t(() => [r(m, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }), r(_, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.labelPosition, "onUpdate:modelValue": c[2] || (c[2] = (l3) => e2.configure.props.labelPosition = l3) }, { default: t(() => [r(b, { value: "left" }, { default: t(() => c[7] || (c[7] = [i("左边")])), _: 1 }), r(b, { value: "right" }, { default: t(() => c[8] || (c[8] = [i("右边")])), _: 1 }), r(b, { value: "top" }, { default: t(() => c[9] || (c[9] = [i("顶部")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "标签宽度", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.labelWidth, "onUpdate:modelValue": c[3] || (c[3] = (l3) => e2.configure.props.labelWidth = l3) }, { suffix: t(() => c[10] || (c[10] = [i(" px ")])), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(_, { label: "表单标题", style: { "margin-top": "-10px" } }, { default: t(() => [r(V, { modelValue: e2.configure.props.formTitle, "onUpdate:modelValue": c[4] || (c[4] = (l3) => e2.configure.props.formTitle = l3) }, null, 8, ["modelValue"])]), _: 1 }), r(_, { label: "组件尺寸", style: { "margin-bottom": "-10px", "margin-top": "-10px" } }, { default: t(() => [r(x, { modelValue: e2.configure.props.componentSize, "onUpdate:modelValue": c[5] || (c[5] = (l3) => e2.configure.props.componentSize = l3) }, { default: t(() => [r(b, { value: "large" }, { default: t(() => c[11] || (c[11] = [i("大")])), _: 1 }), r(b, { value: "default" }, { default: t(() => c[12] || (c[12] = [i("适中")])), _: 1 }), r(b, { value: "small" }, { default: t(() => c[13] || (c[13] = [i("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), r(p, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
9
  };
10
10
  } });
11
11
  export {
@@ -4,9 +4,9 @@ import s from "../../common/common-attr-size.vue.js";
4
4
  import f from "../../common/common-function-code.vue.js";
5
5
  const c = { style: { padding: "8px 0px 0px 0px" } }, g = { style: { padding: "8px 0px 0px 0px" } }, b = e({ __name: "iframe-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
6
6
  const b2 = l(["1", "2", "attrSize"]);
7
- return (l2, _) => {
8
- const x = o("el-text"), V = o("el-form-item"), y = o("el-input"), v = o("el-collapse-item"), h = o("el-radio"), z = o("el-button"), U = o("el-radio-group"), k = o("el-collapse"), T = o("el-form");
9
- return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": _[5] || (_[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(V, { label: "组件类型" }, { default: t(() => [d(x, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(V, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": _[0] || (_[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(V, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": _[1] || (_[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(V, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": _[4] || (_[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(V, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => _[6] || (_[6] = [r("地址")])), _: 1, __: [6] })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": _[2] || (_[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(V, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => _[7] || (_[7] = [r("页面")])), _: 1, __: [7] })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": _[3] || (_[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
7
+ return (l2, x) => {
8
+ const V = o("el-text"), _ = o("el-form-item"), y = o("el-input"), v = o("el-collapse-item"), h = o("el-radio"), z = o("el-button"), U = o("el-radio-group"), k = o("el-collapse"), T = o("el-form");
9
+ return u(), a(T, { "label-width": "80px", size: "small" }, { default: t(() => [d(k, { modelValue: b2.value, "onUpdate:modelValue": x[5] || (x[5] = (e3) => b2.value = e3), style: { "margin-top": "6px" } }, { default: t(() => [d(v, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", c, [d(_, { label: "组件类型" }, { default: t(() => [d(V, null, { default: t(() => [r(i(e2.configure.label) + "(" + i(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), d(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), d(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: t(() => [d(y, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), d(_, { label: "绑定权限", style: { "margin-top": "-10px", "margin-bottom": "-10px" } }, { default: t(() => [d(f, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 })])]), _: 1 }), d(v, { title: "链接", name: "2", class: "amb-design-attr-group-header" }, { default: t(() => [p("div", g, [d(U, { modelValue: e2.configure.props.linkType, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.linkType = l3) }, { default: t(() => [d(_, null, { label: t(() => [d(h, { value: "address" }, { default: t(() => x[6] || (x[6] = [r("地址")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.src, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.src = l3), disabled: "address" != e2.configure.props.linkType }, null, 8, ["modelValue", "disabled"])]), _: 1 }), d(_, { style: { "margin-top": "-8px", "margin-bottom": "-10px" } }, { label: t(() => [d(h, { value: "page" }, { default: t(() => x[7] || (x[7] = [r("页面")])), _: 1 })]), default: t(() => [d(y, { modelValue: e2.configure.props.pageName, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.pageName = l3), readonly: "", disabled: "page" != e2.configure.props.linkType }, { append: t(() => [d(z, { type: "default", icon: n(m), disabled: "page" != e2.configure.props.linkType }, null, 8, ["icon", "disabled"])]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }, 8, ["modelValue"])])]), _: 1 }), d(s, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
10
10
  };
11
11
  } });
12
12
  export {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as o, createBlock as t, openBlock as i, withCtx as a, createVNode as n, createElementVNode as u, createTextVNode as r, toDisplayString as d, unref as c, createElementBlock as p, Fragment as m, renderList as f } from "vue";
2
- import { Top as s, Bottom as g, Plus as b, Delete as _, Close as x, Check as V } from "@element-plus/icons-vue";
2
+ import { Top as s, Bottom as g, Plus as b, Delete as x, Close as V, Check as _ } from "@element-plus/icons-vue";
3
3
  import y from "../../common/common-attr-size.vue.js";
4
4
  import v from "../../common/common-function-code.vue.js";
5
5
  import h from "../../common/common-icon-bind.vue.js";
@@ -47,7 +47,7 @@ const U = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
47
47
  break;
48
48
  }
49
49
  l4 > -1 && C2.configure.items.splice(l4, 1);
50
- }(e3.row) }, { default: a(() => [n(c(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(F, { label: "默认打开", style: { "margin-top": "10px" } }, { default: a(() => [n(A, { modelValue: e2.configure.props.defaultOpen, "onUpdate:modelValue": j[2] || (j[2] = (l3) => e2.configure.props.defaultOpen = l3), placeholder: "默认", clearable: "" }, { default: a(() => [(i(true), p(m, null, f(e2.configure.items, (e3) => (i(), t(S, { label: e3.label, value: e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(F, { label: "标签风格", style: { "margin-top": "-10px" } }, { default: a(() => [n(A, { modelValue: e2.configure.props.cardType, "onUpdate:modelValue": j[3] || (j[3] = (l3) => e2.configure.props.cardType = l3), placeholder: "默认", clearable: "" }, { default: a(() => [n(S, { label: "卡片", value: "card" }), n(S, { label: "边框", value: "border-card" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(F, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: a(() => [n(E, { modelValue: e2.configure.props.tabPosition, "onUpdate:modelValue": j[4] || (j[4] = (l3) => e2.configure.props.tabPosition = l3) }, { default: a(() => [n(B, { value: "top" }, { default: a(() => j[8] || (j[8] = [r("上")])), _: 1, __: [8] }), n(B, { value: "right" }, { default: a(() => j[9] || (j[9] = [r("右")])), _: 1, __: [9] }), n(B, { value: "bottom" }, { default: a(() => j[10] || (j[10] = [r("下")])), _: 1, __: [10] }), n(B, { value: "left" }, { default: a(() => j[11] || (j[11] = [r("左")])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(F, { label: "全部渲染", style: { "margin-top": "-10px" } }, { default: a(() => [n(G, { modelValue: e2.configure.props.isFullyRendered, "onUpdate:modelValue": j[5] || (j[5] = (l3) => e2.configure.props.isFullyRendered = l3), "inline-prompt": "", "active-icon": c(V), "inactive-icon": c(x) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(F, { label: "延迟渲染", style: { "margin-top": "-10px" } }, { default: a(() => [n(G, { modelValue: e2.configure.props.lazy, "onUpdate:modelValue": j[6] || (j[6] = (l3) => e2.configure.props.lazy = l3), "inline-prompt": "", "active-icon": c(V), "inactive-icon": c(x) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 })], 512)]), _: 1 }), n(y, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
50
+ }(e3.row) }, { default: a(() => [n(c(x))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(F, { label: "默认打开", style: { "margin-top": "10px" } }, { default: a(() => [n(A, { modelValue: e2.configure.props.defaultOpen, "onUpdate:modelValue": j[2] || (j[2] = (l3) => e2.configure.props.defaultOpen = l3), placeholder: "默认", clearable: "" }, { default: a(() => [(i(true), p(m, null, f(e2.configure.items, (e3) => (i(), t(S, { label: e3.label, value: e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(F, { label: "标签风格", style: { "margin-top": "-10px" } }, { default: a(() => [n(A, { modelValue: e2.configure.props.cardType, "onUpdate:modelValue": j[3] || (j[3] = (l3) => e2.configure.props.cardType = l3), placeholder: "默认", clearable: "" }, { default: a(() => [n(S, { label: "卡片", value: "card" }), n(S, { label: "边框", value: "border-card" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(F, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: a(() => [n(E, { modelValue: e2.configure.props.tabPosition, "onUpdate:modelValue": j[4] || (j[4] = (l3) => e2.configure.props.tabPosition = l3) }, { default: a(() => [n(B, { value: "top" }, { default: a(() => j[8] || (j[8] = [r("上")])), _: 1 }), n(B, { value: "right" }, { default: a(() => j[9] || (j[9] = [r("右")])), _: 1 }), n(B, { value: "bottom" }, { default: a(() => j[10] || (j[10] = [r("下")])), _: 1 }), n(B, { value: "left" }, { default: a(() => j[11] || (j[11] = [r("左")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(F, { label: "全部渲染", style: { "margin-top": "-10px" } }, { default: a(() => [n(G, { modelValue: e2.configure.props.isFullyRendered, "onUpdate:modelValue": j[5] || (j[5] = (l3) => e2.configure.props.isFullyRendered = l3), "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(F, { label: "延迟渲染", style: { "margin-top": "-10px" } }, { default: a(() => [n(G, { modelValue: e2.configure.props.lazy, "onUpdate:modelValue": j[6] || (j[6] = (l3) => e2.configure.props.lazy = l3), "inline-prompt": "", "active-icon": c(_), "inactive-icon": c(V) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 })], 512)]), _: 1 }), n(y, { size: e2.configure.props.size, showCalcHeight: true }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
51
51
  };
52
52
  } });
53
53
  export {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as o, createBlock as i, openBlock as a, withCtx as u, createVNode as t, createElementVNode as d, createCommentVNode as n, createTextVNode as p, toDisplayString as r, unref as f } from "vue";
2
2
  import s from "../../common/common-attr-size.vue.js";
3
3
  import { Close as c, Check as m } from "@element-plus/icons-vue";
4
- const g = { style: { padding: "8px 0px 0px 0px" } }, _ = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
5
- const _2 = l(["1", "attrSize"]);
6
- return (l2, x) => {
7
- const V = o("el-text"), b = o("el-form-item"), v = o("el-input"), y = o("el-radio-button"), U = o("el-radio-group"), F = o("el-input-number"), z = o("el-switch"), A = o("el-collapse-item"), h = o("el-collapse"), j = o("el-form");
8
- return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: _2.value, "onUpdate:modelValue": x[8] || (x[8] = (e3) => _2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(b, { label: "组件类型" }, { default: u(() => [t(V, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(b, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": x[0] || (x[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(b, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": x[1] || (x[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(b, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": x[2] || (x[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => x[9] || (x[9] = [p("居左")])), _: 1, __: [9] }), t(y, { value: "center" }, { default: u(() => x[10] || (x[10] = [p("居中")])), _: 1, __: [10] }), t(y, { value: "flex-end" }, { default: u(() => x[11] || (x[11] = [p("居右")])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(b, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": x[3] || (x[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(b, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": x[4] || (x[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(b, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": x[5] || (x[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(b, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": x[6] || (x[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => x[12] || (x[12] = [p("默认")])), _: 1, __: [12] }), t(y, { value: "top" }, { default: u(() => x[13] || (x[13] = [p("顶部")])), _: 1, __: [13] }), t(y, { value: "bottom" }, { default: u(() => x[14] || (x[14] = [p("底部")])), _: 1, __: [14] })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(b, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": x[7] || (x[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
4
+ const g = { style: { padding: "8px 0px 0px 0px" } }, x = e({ __name: "tools-attr-base", props: { configure: { type: Object, required: true } }, setup(e2) {
5
+ const x2 = l(["1", "attrSize"]);
6
+ return (l2, V) => {
7
+ const b = o("el-text"), _ = o("el-form-item"), v = o("el-input"), y = o("el-radio-button"), U = o("el-radio-group"), F = o("el-input-number"), z = o("el-switch"), A = o("el-collapse-item"), h = o("el-collapse"), j = o("el-form");
8
+ return a(), i(j, { "label-width": "80px", size: "small" }, { default: u(() => [t(h, { modelValue: x2.value, "onUpdate:modelValue": V[8] || (V[8] = (e3) => x2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [t(A, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [d("div", g, [t(_, { label: "组件类型" }, { default: u(() => [t(b, null, { default: u(() => [p(r(e2.configure.label) + "(" + r(e2.configure.name) + ")", 1)]), _: 1 })]), _: 1 }), t(_, { label: "唯一编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.uuid, "onUpdate:modelValue": V[0] || (V[0] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), t(_, { label: "自定义编码", style: { "margin-top": "-10px" } }, { default: u(() => [t(v, { modelValue: e2.configure.code, "onUpdate:modelValue": V[1] || (V[1] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "对齐方式", style: { "margin-top": "20px" } }, { default: u(() => [t(U, { modelValue: e2.configure.props.align, "onUpdate:modelValue": V[2] || (V[2] = (l3) => e2.configure.props.align = l3) }, { default: u(() => [t(y, { value: "left" }, { default: u(() => V[9] || (V[9] = [p("居左")])), _: 1 }), t(y, { value: "center" }, { default: u(() => V[10] || (V[10] = [p("居中")])), _: 1 }), t(y, { value: "flex-end" }, { default: u(() => V[11] || (V[11] = [p("居右")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), t(_, { label: "内容间距" }, { default: u(() => [t(F, { modelValue: e2.configure.props.gap, "onUpdate:modelValue": V[3] || (V[3] = (l3) => e2.configure.props.gap = l3), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), t(_, { label: "固钉" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isAffix, "onUpdate:modelValue": V[4] || (V[4] = (l3) => e2.configure.props.isAffix = l3), disabled: e2.configure.props.isFixed, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), t(_, { label: "悬浮" }, { default: u(() => [t(z, { modelValue: e2.configure.props.isFixed, "onUpdate:modelValue": V[5] || (V[5] = (l3) => e2.configure.props.isFixed = l3), disabled: e2.configure.props.isAffix, "inline-prompt": "", "active-icon": f(m), "inactive-icon": f(c) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 0, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "位置" }, { default: u(() => [t(U, { modelValue: e2.configure.props.position, "onUpdate:modelValue": V[6] || (V[6] = (l3) => e2.configure.props.position = l3), disabled: !e2.configure.props.isAffix && !e2.configure.props.isFixed }, { default: u(() => [t(y, { value: "default" }, { default: u(() => V[12] || (V[12] = [p("默认")])), _: 1 }), t(y, { value: "top" }, { default: u(() => V[13] || (V[13] = [p("顶部")])), _: 1 }), t(y, { value: "bottom" }, { default: u(() => V[14] || (V[14] = [p("底部")])), _: 1 })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 8, ["label"])) : n("", true), e2.configure.props.isAffix || e2.configure.props.isFixed ? (a(), i(_, { key: 1, label: (e2.configure.props.isFixed ? "悬浮" : "固钉") + "偏移" }, { default: u(() => [t(F, { modelValue: e2.configure.props.offset, "onUpdate:modelValue": V[7] || (V[7] = (l3) => e2.configure.props.offset = l3), min: -999, max: 999 }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : n("", true)])]), _: 1 }), t(s, { size: e2.configure.props.size }, null, 8, ["size"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
9
9
  };
10
10
  } });
11
11
  export {
12
- _ as default
12
+ x as default
13
13
  };
@@ -3,8 +3,8 @@ import { getFormComponentOptions as f } from "../../../../utils/assemblys-config
3
3
  import g from "../../common/common-attr-size.vue.js";
4
4
  import "@element-plus/icons-vue";
5
5
  import v from "../../common/common-variable-bind.vue.js";
6
- import _ from "agilebuilder-ui/src/utils/request";
7
- const V = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
6
+ import V from "agilebuilder-ui/src/utils/request";
7
+ const _ = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-attr-base", props: { configure: Object, default: () => ({ props: {} }) }, setup(e2) {
8
8
  const y2 = e2, C = l([]);
9
9
  l([]);
10
10
  const E = l([]);
@@ -18,12 +18,12 @@ const V = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "barcode-at
18
18
  y2.configure.props.base.generateRule = "";
19
19
  }
20
20
  return a(() => {
21
- _.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-model/select-options").then((e3) => {
21
+ V.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-model/select-options").then((e3) => {
22
22
  E.value = e3;
23
23
  });
24
24
  }), (l2, a2) => {
25
- const _2 = o("el-option"), y3 = o("el-select"), h = o("el-form-item"), O = o("el-input"), x = o("el-radio"), D = o("el-radio-group"), M = o("el-collapse-item"), S = o("el-collapse"), R = o("el-form");
26
- return e2.configure ? (r(), u(R, { key: 0, "label-width": "80px", size: "small" }, { default: d(() => [s(S, { modelValue: C.value, "onUpdate:modelValue": a2[9] || (a2[9] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(M, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", V, [s(h, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(b(f)(), (e3) => (r(), u(_2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(h, { label: "组件名", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.base.name = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(h, { label: "绑定变量", class: "amb-design-attr-item" }, { default: d(() => [(r(), u(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": I }, null, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "条码类型", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.type = l3), onChange: A, class: "ml-4" }, { default: d(() => [s(x, { value: "br-code" }, { default: d(() => a2[10] || (a2[10] = [c("条形码")])), _: 1, __: [10] }), s(x, { value: "QR-code" }, { default: d(() => a2[11] || (a2[11] = [c("二维码")])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "br-code" === e2.configure.props.base.type ? (r(), u(h, { key: 0, label: "条形码格式", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.props.base.brCodeFormat, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.brCodeFormat = l3), placeholder: "请选择" }, { default: d(() => [s(_2, { label: "默认", value: "CODE128" }), s(_2, { label: "CODE128A", value: "CODE128A" }), s(_2, { label: "CODE128B", value: "CODE128B" }), s(_2, { label: "CODE128C", value: "CODE128C" }), s(_2, { label: "CODE39", value: "CODE39" }), s(_2, { label: "EAN-13", value: "EAN-13" }), s(_2, { label: "EAN-8", value: "EAN-8" }), s(_2, { label: "EAN-5", value: "EAN-5" }), s(_2, { label: "EAN-2", value: "EAN-2" }), s(_2, { label: "UPC(A)", value: "UPC(A)" }), s(_2, { label: "ITF", value: "ITF" }), s(_2, { label: "ITF-14", value: "ITF-14" }), s(_2, { label: "MSI", value: "MSI" }), s(_2, { label: "MSI10", value: "MSI10" }), s(_2, { label: "MSI11", value: "MSI11" }), s(_2, { label: "MSI1010", value: "MSI1010" }), s(_2, { label: "MSI1110", value: "MSI1110" }), s(_2, { label: "Pharmacode", value: "Pharmacode" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true), s(h, { label: "生成规则", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.generateRuleType, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.generateRuleType = l3), onChange: U, class: "ml-4" }, { default: d(() => [s(x, { value: "fixed" }, { default: d(() => a2[12] || (a2[12] = [c("固定")])), _: 1, __: [12] }), s(x, { value: "selected" }, { default: d(() => a2[13] || (a2[13] = [c("选择规则")])), _: 1, __: [13] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "", class: "amb-design-attr-item" }, { default: d(() => ["fixed" === e2.configure.props.base.generateRuleType ? (r(), u(O, { key: 0, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.generateRule = l3), type: "textarea" }, null, 8, ["modelValue"])) : (r(), u(y3, { key: 1, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.generateRule = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(E.value, (e3) => (r(), u(_2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(x, { value: "default" }, { default: d(() => a2[14] || (a2[14] = [c("普通")])), _: 1, __: [14] }), s(x, { value: "hidden" }, { default: d(() => a2[15] || (a2[15] = [c("隐藏")])), _: 1, __: [15] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (r(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true);
25
+ const V2 = o("el-option"), y3 = o("el-select"), h = o("el-form-item"), O = o("el-input"), x = o("el-radio"), D = o("el-radio-group"), M = o("el-collapse-item"), S = o("el-collapse"), R = o("el-form");
26
+ return e2.configure ? (r(), u(R, { key: 0, "label-width": "80px", size: "small" }, { default: d(() => [s(S, { modelValue: C.value, "onUpdate:modelValue": a2[9] || (a2[9] = (e3) => C.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [s(M, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [n("div", _, [s(h, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(b(f)(), (e3) => (r(), u(V2, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), s(h, { label: "组件名", class: "amb-design-attr-item" }, { default: d(() => [s(O, { modelValue: e2.configure.props.base.name, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.base.name = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), s(h, { label: "绑定变量", class: "amb-design-attr-item" }, { default: d(() => [(r(), u(v, { key: e2.configure.uuid, modelValue: e2.configure.props.base.prop, paramTypes: ["data", "page"], "onUpdate:modelValue": I }, null, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "条码类型", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.type = l3), onChange: A, class: "ml-4" }, { default: d(() => [s(x, { value: "br-code" }, { default: d(() => a2[10] || (a2[10] = [c("条形码")])), _: 1 }), s(x, { value: "QR-code" }, { default: d(() => a2[11] || (a2[11] = [c("二维码")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "br-code" === e2.configure.props.base.type ? (r(), u(h, { key: 0, label: "条形码格式", class: "amb-design-attr-item" }, { default: d(() => [s(y3, { modelValue: e2.configure.props.base.brCodeFormat, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.brCodeFormat = l3), placeholder: "请选择" }, { default: d(() => [s(V2, { label: "默认", value: "CODE128" }), s(V2, { label: "CODE128A", value: "CODE128A" }), s(V2, { label: "CODE128B", value: "CODE128B" }), s(V2, { label: "CODE128C", value: "CODE128C" }), s(V2, { label: "CODE39", value: "CODE39" }), s(V2, { label: "EAN-13", value: "EAN-13" }), s(V2, { label: "EAN-8", value: "EAN-8" }), s(V2, { label: "EAN-5", value: "EAN-5" }), s(V2, { label: "EAN-2", value: "EAN-2" }), s(V2, { label: "UPC(A)", value: "UPC(A)" }), s(V2, { label: "ITF", value: "ITF" }), s(V2, { label: "ITF-14", value: "ITF-14" }), s(V2, { label: "MSI", value: "MSI" }), s(V2, { label: "MSI10", value: "MSI10" }), s(V2, { label: "MSI11", value: "MSI11" }), s(V2, { label: "MSI1010", value: "MSI1010" }), s(V2, { label: "MSI1110", value: "MSI1110" }), s(V2, { label: "Pharmacode", value: "Pharmacode" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true), s(h, { label: "生成规则", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.generateRuleType, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.generateRuleType = l3), onChange: U, class: "ml-4" }, { default: d(() => [s(x, { value: "fixed" }, { default: d(() => a2[12] || (a2[12] = [c("固定")])), _: 1 }), s(x, { value: "selected" }, { default: d(() => a2[13] || (a2[13] = [c("选择规则")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), s(h, { label: "", class: "amb-design-attr-item" }, { default: d(() => ["fixed" === e2.configure.props.base.generateRuleType ? (r(), u(O, { key: 0, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.generateRule = l3), type: "textarea" }, null, 8, ["modelValue"])) : (r(), u(y3, { key: 1, modelValue: e2.configure.props.base.generateRule, "onUpdate:modelValue": a2[7] || (a2[7] = (l3) => e2.configure.props.base.generateRule = l3), placeholder: "请选择" }, { default: d(() => [(r(true), p(i, null, m(E.value, (e3) => (r(), u(V2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]))]), _: 1 }), s(h, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [s(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [s(x, { value: "default" }, { default: d(() => a2[14] || (a2[14] = [c("普通")])), _: 1 }), s(x, { value: "hidden" }, { default: d(() => a2[15] || (a2[15] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), (r(), u(g, { key: e2.configure.uuid, size: e2.configure.props.size }, null, 8, ["size"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : t("", true);
27
27
  };
28
28
  } });
29
29
  export {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as e, ref as l, onMounted as o, onUnmounted as a, resolveComponent as r, createElementBlock as n, openBlock as t, createVNode as u, withCtx as i, createElementVNode as p, createTextVNode as d, createCommentVNode as s, createBlock as c, unref as m, toDisplayString as b, Fragment as f, renderList as w } from "vue";
2
- import { getFormComponentOptions as h, getTableColumnConf as g, getTableSelectionConf as y, getTableIndexConf as _, getTableOperateConf as v } from "../../../../utils/assemblys-config.js";
2
+ import { getFormComponentOptions as h, getTableColumnConf as g, getTableSelectionConf as y, getTableIndexConf as v, getTableOperateConf as k } from "../../../../utils/assemblys-config.js";
3
3
  import "uuid";
4
- import { ElMessage as k } from "element-plus";
5
- import { Top as V, Bottom as C } from "@element-plus/icons-vue";
4
+ import { ElMessage as V } from "element-plus";
5
+ import { Top as _, Bottom as C } from "@element-plus/icons-vue";
6
6
  import x from "../../../../utils/eventBus.js";
7
7
  const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "10px" } }, U = { key: 0 }, T = { key: 0 }, N = { key: 0 }, D = { key: 1 }, F = { key: 0 }, L = { key: 0 }, E = { key: 1 }, S = { key: 0 }, I = { key: 1 }, M = { key: 0 }, j = { key: 1 }, z = { key: 0 }, $ = { key: 1 }, q = { key: 0 }, R = { key: 1 }, A = { key: 0 }, B = { key: 1 }, J = { key: 0 }, H = { key: 1 }, P = { key: 0 }, G = { key: 1 }, K = { key: 0 }, Q = { key: 1 }, W = e({ __name: "column-config", props: { configure: { type: Object, default: () => {
8
8
  } }, modelFields: { type: Array, default: null }, pageDesign: { type: Object, default: () => {
@@ -24,7 +24,7 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
24
24
  e4.push(l3);
25
25
  }
26
26
  if (X.configure.props.base.showIndex) {
27
- const l3 = _();
27
+ const l3 = v();
28
28
  e4.push(l3);
29
29
  }
30
30
  if (e4.push(...o2), X.pageDesign.pageType && "list" === X.pageDesign.pageType) {
@@ -35,7 +35,7 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
35
35
  }), e4.push(...o3);
36
36
  }
37
37
  if (X.configure.props.base.showOperation) {
38
- let l3 = v();
38
+ let l3 = k();
39
39
  l3.props.base.displayOrder = e4.length, e4.push(l3);
40
40
  }
41
41
  return e4;
@@ -81,7 +81,7 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
81
81
  ue(o2) ? e3 = true : l2.push(me(o2));
82
82
  }), l2.sort((e4, l3) => l3 - e4), l2.forEach((e4) => {
83
83
  Z.value.splice(e4, 1);
84
- }), e3 ? k.warning("复选框、序号、操作列不能删除,其它列已删除成功") : k.success("删除成功");
84
+ }), e3 ? V.warning("复选框、序号、操作列不能删除,其它列已删除成功") : V.success("删除成功");
85
85
  }
86
86
  function we(e3) {
87
87
  ae.value = e3;
@@ -96,15 +96,15 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
96
96
  }), a(() => {
97
97
  ce && clearTimeout(ce);
98
98
  }), (l2, o2) => {
99
- const a2 = r("el-button"), h2 = r("el-table-column"), y2 = r("el-icon"), _2 = r("Plus"), v2 = r("Delete"), k2 = r("el-option"), x2 = r("el-select"), W3 = r("el-input"), Y2 = r("el-switch"), le2 = r("el-table"), ae2 = r("el-dialog");
100
- return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => o2[0] || (o2[0] = [d("确定")])), _: 1, __: [0] }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => o2[1] || (o2[1] = [d("删除")])), _: 1, __: [1] }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序")])), _: 1, __: [2] }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => o2[3] || (o2[3] = [d("取消")])), _: 1, __: [3] }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
99
+ const a2 = r("el-button"), h2 = r("el-table-column"), y2 = r("el-icon"), v2 = r("Plus"), k2 = r("Delete"), V2 = r("el-option"), x2 = r("el-select"), W3 = r("el-input"), Y2 = r("el-switch"), le2 = r("el-table"), ae2 = r("el-dialog");
100
+ return t(), n("div", null, [u(ae2, { "append-to-body": "", "model-value": "", title: "快捷设置", width: "70%", "close-on-click-modal": false, "before-close": se }, { default: i(() => [p("div", O, [u(a2, { type: "primary", style: { "margin-left": "10px" }, icon: l2.Search, onClick: de }, { default: i(() => o2[0] || (o2[0] = [d("确定")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: fe }, { default: i(() => o2[1] || (o2[1] = [d("删除")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序")])), _: 1 }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.RefreshLeft, onClick: se }, { default: i(() => o2[3] || (o2[3] = [d("取消")])), _: 1 }, 8, ["icon"])]), u(le2, { border: "", data: Z.value, "row-key": "uuid", "max-height": oe.value, style: { width: "100%" }, onRowClick: te, onSelectionChange: we }, { default: i(() => [u(h2, { type: "selection", align: "center", width: "50" }), u(h2, { type: "index", label: "序号", align: "center", width: "50" }), u(h2, { label: "操作", align: "center", width: "90" }, { default: i((e3) => [e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", U, [ue(e3.row) ? s("", true) : (t(), c(y2, { key: 0, size: "14", style: { cursor: "pointer" }, onClick: (l3) => function(e4) {
101
101
  let l4 = me(e4);
102
102
  if (l4 < 1) return;
103
103
  const o3 = Z.value;
104
104
  [o3[l4 - 1], o3[l4]] = [o3[l4], o3[l4 - 1]];
105
105
  const a3 = o3[l4].props.base.displayOrder, r2 = o3[l4 - 1].props.base.displayOrder;
106
106
  o3[l4].props.base.displayOrder = r2, o3[l4 - 1].props.base.displayOrder = a3;
107
- }(e3.row) }, { default: i(() => [u(m(V))]), _: 2 }, 1032, ["onClick"])), ue(e3.row) ? s("", true) : (t(), c(y2, { key: 1, size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
107
+ }(e3.row) }, { default: i(() => [u(m(_))]), _: 2 }, 1032, ["onClick"])), ue(e3.row) ? s("", true) : (t(), c(y2, { key: 1, size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
108
108
  let l4 = me(e4);
109
109
  if (-1 == l4 || Z.value.length == l4 + 1) return;
110
110
  const o3 = Z.value;
@@ -117,16 +117,16 @@ const O = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
117
117
  Z.value.push(e4), ce = setTimeout(() => {
118
118
  ee.value = e4.uuid;
119
119
  }, 20);
120
- }(e3.row) }, { default: i(() => [u(_2)]), _: 2 }, 1032, ["onClick"]), ue(e3.row) ? s("", true) : (t(), c(y2, { key: 2, size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
120
+ }(e3.row) }, { default: i(() => [u(v2)]), _: 2 }, 1032, ["onClick"]), ue(e3.row) ? s("", true) : (t(), c(y2, { key: 2, size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
121
121
  let l4 = me(e4);
122
122
  Z.value.splice(l4, 1);
123
- }(e3.row) }, { default: i(() => [u(v2)]), _: 2 }, 1032, ["onClick"]))]))]), _: 1 }), u(h2, { label: "字段", width: "150" }, { default: i((l3) => [l3.row.uuid != ee.value || ue(l3.row) ? (t(), n("label", T, b(l3.row.props.base.prop), 1)) : l3.row.children && 0 != l3.row.children.length ? s("", true) : (t(), c(x2, { key: 1, modelValue: l3.row.props.base.prop, "onUpdate:modelValue": (e3) => l3.row.props.base.prop = e3, placeholder: "请选择", onChange: (e3) => function(e4) {
123
+ }(e3.row) }, { default: i(() => [u(k2)]), _: 2 }, 1032, ["onClick"]))]))]), _: 1 }), u(h2, { label: "字段", width: "150" }, { default: i((l3) => [l3.row.uuid != ee.value || ue(l3.row) ? (t(), n("label", T, b(l3.row.props.base.prop), 1)) : l3.row.children && 0 != l3.row.children.length ? s("", true) : (t(), c(x2, { key: 1, modelValue: l3.row.props.base.prop, "onUpdate:modelValue": (e3) => l3.row.props.base.prop = e3, placeholder: "请选择", onChange: (e3) => function(e4) {
124
124
  const l4 = X.modelFields.filter((l5) => l5.dbColumnName === e4.props.base.prop);
125
125
  l4 && l4.length > 0 && (e4.props.base.name = l4[0].alias);
126
- }(l3.row) }, { default: i(() => [(t(true), n(f, null, w(e2.modelFields, (e3) => (t(), c(k2, { key: e3.name, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 }), u(h2, { width: "150" }, { header: i(() => o2[4] || (o2[4] = [d(" 标题 "), p("span", { style: { color: "red" } }, "*", -1)])), default: i((e3) => [e3.row.children && e3.row.children.length > 0 ? (t(), n("span", N, b(be(e3.row)), 1)) : (t(), n("span", D, [e3.row.uuid != ee.value || ie(e3.row) || pe(e3.row) ? (t(), n("label", F, b(e3.row.props.base.name), 1)) : (t(), c(W3, { key: 1, modelValue: e3.row.props.base.name, "onUpdate:modelValue": (l3) => e3.row.props.base.name = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"]))]))]), _: 1 }), u(h2, { label: "显示" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", L, b(e3.row.props.base.visible), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", E, [u(Y2, { modelValue: e3.row.props.base.visible, "onUpdate:modelValue": (l3) => e3.row.props.base.visible = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "显示顺序" }, { default: i((e3) => [e3.row.uuid != ee.value ? (t(), n("label", S, b(e3.row.props.base.displayOrder), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", I, [u(W3, { modelValue: e3.row.props.base.displayOrder, "onUpdate:modelValue": (l3) => e3.row.props.base.displayOrder = l3, modelModifiers: { number: true }, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "导出" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", M, b(e3.row.props.base.exportable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", j, [u(Y2, { modelValue: e3.row.props.base.exportable, "onUpdate:modelValue": (l3) => e3.row.props.base.exportable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "查询设置" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", z, b(e3.row.props.base.querySettingName), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", $, [u(x2, { modelValue: e3.row.props.base.querySettingName, "onUpdate:modelValue": (l3) => e3.row.props.base.querySettingName = l3 }, { default: i(() => [u(k2, { label: "不查询", value: "no" }), u(k2, { label: "普通查询", value: "normal" }), u(k2, { label: "高级查询", value: "advanced" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", q, b(e3.row.props.editLine.editable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", R, [u(Y2, { modelValue: e3.row.props.editLine.editable, "onUpdate:modelValue": (l3) => e3.row.props.editLine.editable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑组件" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", A, b(e3.row.props.editLine.plugType), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", B, [u(x2, { modelValue: e3.row.props.editLine.plugType, "onUpdate:modelValue": (l3) => e3.row.props.editLine.plugType = l3, placeholder: "请选择", clearable: "", onChange: (l3) => {
126
+ }(l3.row) }, { default: i(() => [(t(true), n(f, null, w(e2.modelFields, (e3) => (t(), c(V2, { key: e3.name, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 }), u(h2, { width: "150" }, { header: i(() => o2[4] || (o2[4] = [d(" 标题 "), p("span", { style: { color: "red" } }, "*", -1)])), default: i((e3) => [e3.row.children && e3.row.children.length > 0 ? (t(), n("span", N, b(be(e3.row)), 1)) : (t(), n("span", D, [e3.row.uuid != ee.value || ie(e3.row) || pe(e3.row) ? (t(), n("label", F, b(e3.row.props.base.name), 1)) : (t(), c(W3, { key: 1, modelValue: e3.row.props.base.name, "onUpdate:modelValue": (l3) => e3.row.props.base.name = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"]))]))]), _: 1 }), u(h2, { label: "显示" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", L, b(e3.row.props.base.visible), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", E, [u(Y2, { modelValue: e3.row.props.base.visible, "onUpdate:modelValue": (l3) => e3.row.props.base.visible = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "显示顺序" }, { default: i((e3) => [e3.row.uuid != ee.value ? (t(), n("label", S, b(e3.row.props.base.displayOrder), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", I, [u(W3, { modelValue: e3.row.props.base.displayOrder, "onUpdate:modelValue": (l3) => e3.row.props.base.displayOrder = l3, modelModifiers: { number: true }, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "导出" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", M, b(e3.row.props.base.exportable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", j, [u(Y2, { modelValue: e3.row.props.base.exportable, "onUpdate:modelValue": (l3) => e3.row.props.base.exportable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "查询设置" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", z, b(e3.row.props.base.querySettingName), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", $, [u(x2, { modelValue: e3.row.props.base.querySettingName, "onUpdate:modelValue": (l3) => e3.row.props.base.querySettingName = l3 }, { default: i(() => [u(V2, { label: "不查询", value: "no" }), u(V2, { label: "普通查询", value: "normal" }), u(V2, { label: "高级查询", value: "advanced" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", q, b(e3.row.props.editLine.editable), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", R, [u(Y2, { modelValue: e3.row.props.editLine.editable, "onUpdate:modelValue": (l3) => e3.row.props.editLine.editable = l3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "编辑组件" }, { default: i((e3) => [e3.row.uuid != ee.value || ue(e3.row) || ie(e3.row) ? (t(), n("label", A, b(e3.row.props.editLine.plugType), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", B, [u(x2, { modelValue: e3.row.props.editLine.plugType, "onUpdate:modelValue": (l3) => e3.row.props.editLine.plugType = l3, placeholder: "请选择", clearable: "", onChange: (l3) => {
127
127
  var o3;
128
128
  (o3 = e3.row).name = o3.props.editLine.plugType;
129
- } }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(k2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]))]), _: 1 }), u(h2, { label: "标题对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", J, b(e3.row.props.base.alignTitle), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", H, [u(x2, { modelValue: e3.row.props.base.alignTitle, "onUpdate:modelValue": (l3) => e3.row.props.base.alignTitle = l3 }, { default: i(() => [u(k2, { value: "left" }, { default: i(() => o2[5] || (o2[5] = [d("居左")])), _: 1, __: [5] }), u(k2, { value: "center" }, { default: i(() => o2[6] || (o2[6] = [d("居中")])), _: 1, __: [6] }), u(k2, { value: "right" }, { default: i(() => o2[7] || (o2[7] = [d("居右")])), _: 1, __: [7] })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "内容对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", P, b(e3.row.props.base.alignContent), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", G, [u(x2, { modelValue: e3.row.props.base.alignContent, "onUpdate:modelValue": (l3) => e3.row.props.base.alignContent = l3 }, { default: i(() => [u(k2, { value: "left" }, { default: i(() => o2[8] || (o2[8] = [d("居左")])), _: 1, __: [8] }), u(k2, { value: "center" }, { default: i(() => o2[9] || (o2[9] = [d("居中")])), _: 1, __: [9] }), u(k2, { value: "right" }, { default: i(() => o2[10] || (o2[10] = [d("居右")])), _: 1, __: [10] })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "固定列" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", K, b(e3.row.props.base.listColumnFixed), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", Q, [u(x2, { modelValue: e3.row.props.base.listColumnFixed, "onUpdate:modelValue": (l3) => e3.row.props.base.listColumnFixed = l3 }, { default: i(() => [u(k2, { value: false }, { default: i(() => o2[11] || (o2[11] = [d("否")])), _: 1, __: [11] }), u(k2, { value: "left" }, { default: i(() => o2[12] || (o2[12] = [d("居左")])), _: 1, __: [12] }), u(k2, { value: "right" }, { default: i(() => o2[13] || (o2[13] = [d("居右")])), _: 1, __: [13] })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]);
129
+ } }, { default: i(() => [(t(true), n(f, null, w(ne.value, (e4) => (t(), c(V2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]))]), _: 1 }), u(h2, { label: "标题对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", J, b(e3.row.props.base.alignTitle), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", H, [u(x2, { modelValue: e3.row.props.base.alignTitle, "onUpdate:modelValue": (l3) => e3.row.props.base.alignTitle = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[5] || (o2[5] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[6] || (o2[6] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[7] || (o2[7] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "内容对齐" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", P, b(e3.row.props.base.alignContent), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", G, [u(x2, { modelValue: e3.row.props.base.alignContent, "onUpdate:modelValue": (l3) => e3.row.props.base.alignContent = l3 }, { default: i(() => [u(V2, { value: "left" }, { default: i(() => o2[8] || (o2[8] = [d("居左")])), _: 1 }), u(V2, { value: "center" }, { default: i(() => o2[9] || (o2[9] = [d("居中")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[10] || (o2[10] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 }), u(h2, { label: "固定列" }, { default: i((e3) => [e3.row.uuid != ee.value || ie(e3.row) ? (t(), n("label", K, b(e3.row.props.base.listColumnFixed), 1)) : e3.row.children && 0 != e3.row.children.length ? s("", true) : (t(), n("span", Q, [u(x2, { modelValue: e3.row.props.base.listColumnFixed, "onUpdate:modelValue": (l3) => e3.row.props.base.listColumnFixed = l3 }, { default: i(() => [u(V2, { value: false }, { default: i(() => o2[11] || (o2[11] = [d("否")])), _: 1 }), u(V2, { value: "left" }, { default: i(() => o2[12] || (o2[12] = [d("居左")])), _: 1 }), u(V2, { value: "right" }, { default: i(() => o2[13] || (o2[13] = [d("居右")])), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]))]), _: 1 })]), _: 1 }, 8, ["data", "max-height"])]), _: 1 })]);
130
130
  };
131
131
  } });
132
132
  export {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, onUnmounted as u, resolveComponent as t, createElementBlock as n, openBlock as d, createElementVNode as i, createCommentVNode as o, createTextVNode as r, createVNode as p, createBlock as s, withCtx as v, withDirectives as c, toDisplayString as f, unref as m, vShow as y, Fragment as g, renderList as h } from "vue";
2
- import { Plus as b, EditPen as x, Document as _, Delete as U } from "@element-plus/icons-vue";
2
+ import { Plus as b, EditPen as x, Document as U, Delete as _ } from "@element-plus/icons-vue";
3
3
  import { getUuidv4 as k } from "../../../../utils/common-util.js";
4
4
  import { ElMessage as O, ElMessageBox as T } from "element-plus";
5
5
  import { getTopGroupHeaderList as C, setGroupHeaderDataDisplayOrder as V, addColumnToGroupHeaders as H, isLeafNode as w } from "../../../../utils/data-table-util.js";
@@ -97,7 +97,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
97
97
  }), N.$on("synchroGroupHeadersData", () => {
98
98
  z.value = C(Z.value);
99
99
  }), u(() => {
100
- de && clearTimeout(de), Ue && clearTimeout(Ue);
100
+ de && clearTimeout(de), _e && clearTimeout(_e);
101
101
  });
102
102
  const ve = l(false), ce = l([]);
103
103
  function fe(e3) {
@@ -146,11 +146,11 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
146
146
  function xe(e3, l2) {
147
147
  N.$emit("hadleDragging", true), W.value = e3;
148
148
  }
149
- function _e(e3, l2, a2) {
149
+ function Ue(e3, l2, a2) {
150
150
  let u2 = true;
151
151
  return l2.data.columnUuid && "inner" === a2 && (u2 = false), u2;
152
152
  }
153
- let Ue;
153
+ let _e;
154
154
  function ke(e3, l2, a2, u2) {
155
155
  let t2 = l2.data;
156
156
  let n2;
@@ -193,13 +193,13 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
193
193
  const e4 = l2.parent;
194
194
  e4 && (e4.loaded = false, e4.expand());
195
195
  }
196
- Ue && clearTimeout(Ue), Ue = setTimeout(() => {
196
+ _e && clearTimeout(_e), _e = setTimeout(() => {
197
197
  N.$emit("hadleDragging", false);
198
198
  }, 50);
199
199
  }
200
200
  return (l2, a2) => {
201
201
  const u2 = t("el-switch"), k2 = t("el-button"), O2 = t("el-input"), T2 = t("el-tree"), C2 = t("el-icon"), V2 = t("el-cascader"), H2 = t("el-form-item"), w2 = t("el-form"), N2 = t("el-dialog"), M3 = t("el-checkbox"), F2 = t("el-col"), W2 = t("el-row"), Z2 = t("el-checkbox-group");
202
- return d(), n("div", null, [i("div", null, [a2[19] || (a2[19] = r(" 是否启用")), p(u2, { modelValue: e2.configure.props.base.isEnableGroupHeader, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.base.isEnableGroupHeader = l3), onChange: le }, null, 8, ["modelValue"]), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 0, style: { "margin-left": "10px" }, type: "primary", onClick: ue }, { default: v(() => a2[17] || (a2[17] = [r("重置")])), _: 1, __: [17] })) : o("", true), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 1, type: "primary", onClick: a2[1] || (a2[1] = (e3) => (P.value = {}, void (B.value = true))) }, { default: v(() => a2[18] || (a2[18] = [r("添加顶级菜单")])), _: 1, __: [18] })) : o("", true)]), e2.configure.props.base.isEnableGroupHeader ? (d(), n("div", E, [i("div", L, [p(O2, { modelValue: J.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => J.value = e3), placeholder: "Search...", clearable: "", class: "input-with-select", onInput: he }, null, 8, ["modelValue"])]), p(T2, { ref_key: "groupTreeRef", ref: ee, style: { "max-width": "600px" }, data: z.value, draggable: !Q.value, props: { isLeaf: "isLeaf", children: "children", label: "titleText" }, "node-key": "uuid", onNodeClick: re, onNodeContextmenu: pe, onNodeDrop: ke, onNodeDragStart: xe, "allow-drop": _e }, { default: v(({ data: e3 }) => [Q.value && e3.fullPath ? (d(), n("span", G, f(e3.fullPath), 1)) : (d(), n("span", $, f(e3.titleText), 1))]), _: 1 }, 8, ["data", "draggable"]), c(i("div", null, [K.value.data ? (d(), n("ul", R, [K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 0, id: "menu-4994-1-0", class: "menu__item", tabindex: "-1", onClick: a2[3] || (a2[3] = () => se("createCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(b))]), _: 1 }), a2[20] || (a2[20] = r(" 创建节点 "))])), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 1, id: "menu-4994-1-1", class: "menu__item", tabindex: "-1", onClick: a2[4] || (a2[4] = () => se("updateCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(x))]), _: 1 }), a2[21] || (a2[21] = r(" 修改节点 "))])), K.value.data.parentUuid && !ve.value ? (d(), n("li", { key: 2, id: "menu-4994-1-3", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[5] || (a2[5] = () => se("moveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[22] || (a2[22] = r(" 移至根节点 "))])) : o("", true), K.value.isLeaf || K.value.isTheLeaf || K.value.data.columnUuid || ve.value ? o("", true) : (d(), n("li", { key: 3, id: "menu-4994-1-4", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[6] || (a2[6] = () => se("childMoveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[23] || (a2[23] = r(" 子节点移至根节点 "))])), ve.value ? o("", true) : (d(), n("li", { key: 4, id: "menu-4994-1-5", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[7] || (a2[7] = () => se("mobileNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[24] || (a2[24] = r(" 移动节点 "))])), ve.value ? (d(), n("li", S, [p(V2, { props: { value: "uuid", label: "titleText", children: "children", checkStrictly: true }, modelValue: ce.value, "onUpdate:modelValue": a2[8] || (a2[8] = (e3) => ce.value = e3), options: ae.value, onVisibleChange: fe }, null, 8, ["modelValue", "options"])])) : o("", true), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 6, id: "menu-4994-1-7", class: "menu__item", tabindex: "-1", onClick: a2[9] || (a2[9] = () => se("deleteNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[25] || (a2[25] = r(" 删除节点 "))]))], 512)) : o("", true)], 512), [[y, I.value]]), B.value ? (d(), s(N2, { key: 0, "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": a2[13] || (a2[13] = (e3) => B.value = e3), title: "组合表头", width: "500" }, { footer: v(() => [i("div", D, [p(k2, { type: "default", onClick: a2[12] || (a2[12] = (e3) => B.value = false) }, { default: v(() => a2[26] || (a2[26] = [r("取消")])), _: 1, __: [26] }), p(k2, { type: "primary", onClick: ne }, { default: v(() => a2[27] || (a2[27] = [r(" 确认 ")])), _: 1, __: [27] })])]), default: v(() => [p(w2, { ref_key: "formRef", ref: q, model: P.value, "label-width": "auto", style: { "max-width": "600px" } }, { default: v(() => [p(H2, { label: "名称", required: "" }, { default: v(() => [p(O2, { modelValue: P.value.titleText, "onUpdate:modelValue": a2[10] || (a2[10] = (e3) => P.value.titleText = e3), disabled: oe() }, null, 8, ["modelValue", "disabled"])]), _: 1 }), p(H2, { label: "显示顺序" }, { default: v(() => [p(O2, { modelValue: P.value.displayOrder, "onUpdate:modelValue": a2[11] || (a2[11] = (e3) => P.value.displayOrder = e3), modelModifiers: { number: true } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["modelValue"])) : o("", true), Y.value ? (d(), s(N2, { key: 1, "append-to-body": "", modelValue: Y.value, "onUpdate:modelValue": a2[16] || (a2[16] = (e3) => Y.value = e3), title: "请选择字段", width: "500" }, { footer: v(() => [i("div", j, [p(k2, { type: "default", onClick: a2[15] || (a2[15] = (e3) => Y.value = false) }, { default: v(() => a2[28] || (a2[28] = [r("取消")])), _: 1, __: [28] }), p(k2, { type: "primary", onClick: me }, { default: v(() => a2[29] || (a2[29] = [r(" 确认 ")])), _: 1, __: [29] })])]), default: v(() => [a2[30] || (a2[30] = r('段" width="500">段" width="500"> ')), p(Z2, { modelValue: A.value, "onUpdate:modelValue": a2[14] || (a2[14] = (e3) => A.value = e3) }, { default: v(() => [p(W2, null, { default: v(() => [(d(true), n(g, null, h(X.value, (e3) => (d(), s(F2, { span: 6, key: e3.uuid }, { default: v(() => [p(M3, { label: e3.props.base.name, value: e3.uuid }, null, 8, ["label", "value"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1, __: [30] }, 8, ["modelValue"])) : o("", true)])) : o("", true)]);
202
+ return d(), n("div", null, [i("div", null, [a2[19] || (a2[19] = r(" 是否启用")), p(u2, { modelValue: e2.configure.props.base.isEnableGroupHeader, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.props.base.isEnableGroupHeader = l3), onChange: le }, null, 8, ["modelValue"]), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 0, style: { "margin-left": "10px" }, type: "primary", onClick: ue }, { default: v(() => a2[17] || (a2[17] = [r("重置")])), _: 1 })) : o("", true), e2.configure.props.base.isEnableGroupHeader ? (d(), s(k2, { key: 1, type: "primary", onClick: a2[1] || (a2[1] = (e3) => (P.value = {}, void (B.value = true))) }, { default: v(() => a2[18] || (a2[18] = [r("添加顶级菜单")])), _: 1 })) : o("", true)]), e2.configure.props.base.isEnableGroupHeader ? (d(), n("div", E, [i("div", L, [p(O2, { modelValue: J.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => J.value = e3), placeholder: "Search...", clearable: "", class: "input-with-select", onInput: he }, null, 8, ["modelValue"])]), p(T2, { ref_key: "groupTreeRef", ref: ee, style: { "max-width": "600px" }, data: z.value, draggable: !Q.value, props: { isLeaf: "isLeaf", children: "children", label: "titleText" }, "node-key": "uuid", onNodeClick: re, onNodeContextmenu: pe, onNodeDrop: ke, onNodeDragStart: xe, "allow-drop": Ue }, { default: v(({ data: e3 }) => [Q.value && e3.fullPath ? (d(), n("span", G, f(e3.fullPath), 1)) : (d(), n("span", $, f(e3.titleText), 1))]), _: 1 }, 8, ["data", "draggable"]), c(i("div", null, [K.value.data ? (d(), n("ul", R, [K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 0, id: "menu-4994-1-0", class: "menu__item", tabindex: "-1", onClick: a2[3] || (a2[3] = () => se("createCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(b))]), _: 1 }), a2[20] || (a2[20] = r(" 创建节点 "))])), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 1, id: "menu-4994-1-1", class: "menu__item", tabindex: "-1", onClick: a2[4] || (a2[4] = () => se("updateCombinedHeader")) }, [p(C2, null, { default: v(() => [p(m(x))]), _: 1 }), a2[21] || (a2[21] = r(" 修改节点 "))])), K.value.data.parentUuid && !ve.value ? (d(), n("li", { key: 2, id: "menu-4994-1-3", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[5] || (a2[5] = () => se("moveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[22] || (a2[22] = r(" 移至根节点 "))])) : o("", true), K.value.isLeaf || K.value.isTheLeaf || K.value.data.columnUuid || ve.value ? o("", true) : (d(), n("li", { key: 3, id: "menu-4994-1-4", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[6] || (a2[6] = () => se("childMoveToRootNode")) }, [p(C2, null, { default: v(() => [p(m(U))]), _: 1 }), a2[23] || (a2[23] = r(" 子节点移至根节点 "))])), ve.value ? o("", true) : (d(), n("li", { key: 4, id: "menu-4994-1-5", class: "menu__item context-menuLi", tabindex: "-1", onClick: a2[7] || (a2[7] = () => se("mobileNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[24] || (a2[24] = r(" 移动节点 "))])), ve.value ? (d(), n("li", S, [p(V2, { props: { value: "uuid", label: "titleText", children: "children", checkStrictly: true }, modelValue: ce.value, "onUpdate:modelValue": a2[8] || (a2[8] = (e3) => ce.value = e3), options: ae.value, onVisibleChange: fe }, null, 8, ["modelValue", "options"])])) : o("", true), K.value.data.columnUuid ? o("", true) : (d(), n("li", { key: 6, id: "menu-4994-1-7", class: "menu__item", tabindex: "-1", onClick: a2[9] || (a2[9] = () => se("deleteNode")) }, [p(C2, null, { default: v(() => [p(m(_))]), _: 1 }), a2[25] || (a2[25] = r(" 删除节点 "))]))], 512)) : o("", true)], 512), [[y, I.value]]), B.value ? (d(), s(N2, { key: 0, "append-to-body": "", modelValue: B.value, "onUpdate:modelValue": a2[13] || (a2[13] = (e3) => B.value = e3), title: "组合表头", width: "500" }, { footer: v(() => [i("div", D, [p(k2, { type: "default", onClick: a2[12] || (a2[12] = (e3) => B.value = false) }, { default: v(() => a2[26] || (a2[26] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: ne }, { default: v(() => a2[27] || (a2[27] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [p(w2, { ref_key: "formRef", ref: q, model: P.value, "label-width": "auto", style: { "max-width": "600px" } }, { default: v(() => [p(H2, { label: "名称", required: "" }, { default: v(() => [p(O2, { modelValue: P.value.titleText, "onUpdate:modelValue": a2[10] || (a2[10] = (e3) => P.value.titleText = e3), disabled: oe() }, null, 8, ["modelValue", "disabled"])]), _: 1 }), p(H2, { label: "显示顺序" }, { default: v(() => [p(O2, { modelValue: P.value.displayOrder, "onUpdate:modelValue": a2[11] || (a2[11] = (e3) => P.value.displayOrder = e3), modelModifiers: { number: true } }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["modelValue"])) : o("", true), Y.value ? (d(), s(N2, { key: 1, "append-to-body": "", modelValue: Y.value, "onUpdate:modelValue": a2[16] || (a2[16] = (e3) => Y.value = e3), title: "请选择字段", width: "500" }, { footer: v(() => [i("div", j, [p(k2, { type: "default", onClick: a2[15] || (a2[15] = (e3) => Y.value = false) }, { default: v(() => a2[28] || (a2[28] = [r("取消")])), _: 1 }), p(k2, { type: "primary", onClick: me }, { default: v(() => a2[29] || (a2[29] = [r(" 确认 ")])), _: 1 })])]), default: v(() => [a2[30] || (a2[30] = r('段" width="500">段" width="500"> ')), p(Z2, { modelValue: A.value, "onUpdate:modelValue": a2[14] || (a2[14] = (e3) => A.value = e3) }, { default: v(() => [p(W2, null, { default: v(() => [(d(true), n(g, null, h(X.value, (e3) => (d(), s(F2, { span: 6, key: e3.uuid }, { default: v(() => [p(M3, { label: e3.props.base.name, value: e3.uuid }, null, 8, ["label", "value"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : o("", true)])) : o("", true)]);
203
203
  };
204
204
  } });
205
205
  export {
@@ -10,10 +10,10 @@ const s = { class: "dialog-footer" }, f = e({ __name: "configuration-value", pro
10
10
  V.value.valueSetOptions && 0 != V.value.valueSetOptions.length || (V.value.valueSetOptions = [{ columnName: "", valueColumn: "" }]);
11
11
  }();
12
12
  const h = l({});
13
- function _() {
13
+ function w() {
14
14
  V.value.valueSetOptions.push({ columnName: "", valueColumn: "" });
15
15
  }
16
- function w() {
16
+ function _() {
17
17
  g("add", V.value), g("close");
18
18
  }
19
19
  const k = l(false), C = l([]);
@@ -72,7 +72,7 @@ const s = { class: "dialog-footer" }, f = e({ __name: "configuration-value", pro
72
72
  }
73
73
  return f2({ echoDataOrigin: O }), (l2, p2) => {
74
74
  const f3 = a("el-option"), b2 = a("el-select"), y2 = a("el-form-item"), g2 = a("el-input"), h2 = a("el-button"), O2 = a("el-table-column"), T = a("el-table"), G = a("el-form"), j = a("el-dialog");
75
- return o(), u(j, { "append-to-body": "", "model-value": "", title: "值设置", width: "600", "before-close": $ }, { footer: t(() => [v("div", s, [n(h2, { type: "default", onClick: p2[6] || (p2[6] = (e3) => l2.$emit("close")) }, { default: t(() => p2[9] || (p2[9] = [r("取消")])), _: 1, __: [9] }), n(h2, { type: "primary", onClick: w }, { default: t(() => p2[10] || (p2[10] = [r("确认 ")])), _: 1, __: [10] })])]), default: t(() => [n(G, { modelValue: V.value, "onUpdate:modelValue": p2[5] || (p2[5] = (e3) => V.value = e3), "label-width": "100px" }, { default: t(() => [n(y2, { label: "分类", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.type, "onUpdate:modelValue": p2[0] || (p2[0] = (e3) => V.value.type = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [n(f3, { label: "键值对", value: "keyValuePair" }), n(f3, { label: "选项组", value: "optionGroup" }), n(f3, { label: "枚举类名", value: "enumname" }), n(f3, { label: "动态数据源", value: "dynamicDataSource" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "keyValuePair" === V.value.type ? (o(), u(y2, { key: 0, label: "键值对", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": p2[1] || (p2[1] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "optionGroup" === V.value.type ? (o(), u(y2, { key: 1, label: "选项组", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.name, "onUpdate:modelValue": p2[2] || (p2[2] = (e3) => V.value.name = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": S, loading: k.value }, { default: t(() => [(o(true), i(m, null, c(C.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "enumname" === V.value.type ? (o(), u(y2, { key: 2, label: "枚举类名", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": p2[3] || (p2[3] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 3, label: "动态数据源", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.dynamicDataSourceCode, "onUpdate:modelValue": p2[4] || (p2[4] = (e3) => V.value.dynamicDataSourceCode = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": F, loading: x.value, onChange: q }, { default: t(() => [(o(true), i(m, null, c(U.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 4, label: "字段设置", class: "amb-design-attr-item" }, { default: t(() => [n(h2, { type: "primary", plain: "", onClick: _ }, { default: t(() => p2[7] || (p2[7] = [r("添加")])), _: 1, __: [7] }), n(h2, { type: "primary", plain: "", onClick: A }, { default: t(() => p2[8] || (p2[8] = [r("删除")])), _: 1, __: [8] }), n(T, { data: V.value.valueSetOptions, "row-class-name": N, height: "400px", "highlight-current-row": "", style: { width: "100%", "margin-top": "5px" }, onCurrentChange: D }, { default: t(() => [n(O2, { label: "来源字段" }, { default: t((e3) => [n(b2, { modelValue: e3.row.columnName, "onUpdate:modelValue": (l3) => e3.row.columnName = l3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(P.value, (e4) => (o(), u(f3, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(O2, { label: "值字段" }, { default: t((a2) => [e2.clolumnTableFields && e2.clolumnTableFields.length > 0 ? (o(), u(b2, { key: 0, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(e2.clolumnTableFields, (e3, l3) => (o(), u(f3, { key: l3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (o(), u(g2, { key: 1, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, onChange: (e3) => l2.changeValueField(e3, a2.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 })) : d("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
75
+ return o(), u(j, { "append-to-body": "", "model-value": "", title: "值设置", width: "600", "before-close": $ }, { footer: t(() => [v("div", s, [n(h2, { type: "default", onClick: p2[6] || (p2[6] = (e3) => l2.$emit("close")) }, { default: t(() => p2[9] || (p2[9] = [r("取消")])), _: 1 }), n(h2, { type: "primary", onClick: _ }, { default: t(() => p2[10] || (p2[10] = [r("确认 ")])), _: 1 })])]), default: t(() => [n(G, { modelValue: V.value, "onUpdate:modelValue": p2[5] || (p2[5] = (e3) => V.value = e3), "label-width": "100px" }, { default: t(() => [n(y2, { label: "分类", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.type, "onUpdate:modelValue": p2[0] || (p2[0] = (e3) => V.value.type = e3), onChange: I, placeholder: "请选择" }, { default: t(() => [n(f3, { label: "键值对", value: "keyValuePair" }), n(f3, { label: "选项组", value: "optionGroup" }), n(f3, { label: "枚举类名", value: "enumname" }), n(f3, { label: "动态数据源", value: "dynamicDataSource" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "keyValuePair" === V.value.type ? (o(), u(y2, { key: 0, label: "键值对", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": p2[1] || (p2[1] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "optionGroup" === V.value.type ? (o(), u(y2, { key: 1, label: "选项组", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.name, "onUpdate:modelValue": p2[2] || (p2[2] = (e3) => V.value.name = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": S, loading: k.value }, { default: t(() => [(o(true), i(m, null, c(C.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "enumname" === V.value.type ? (o(), u(y2, { key: 2, label: "枚举类名", class: "amb-design-attr-item" }, { default: t(() => [n(g2, { modelValue: V.value.name, "onUpdate:modelValue": p2[3] || (p2[3] = (e3) => V.value.name = e3) }, null, 8, ["modelValue"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 3, label: "动态数据源", class: "amb-design-attr-item" }, { default: t(() => [n(b2, { modelValue: V.value.dynamicDataSourceCode, "onUpdate:modelValue": p2[4] || (p2[4] = (e3) => V.value.dynamicDataSourceCode = e3), filterable: "", remote: "", "reserve-keyword": "", clearable: "", placeholder: "请选择", "remote-show-suffix": "", "remote-method": F, loading: x.value, onChange: q }, { default: t(() => [(o(true), i(m, null, c(U.value, (e3) => (o(), u(f3, { key: e3.code, label: e3.name + "(" + e3.code + ")", value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "loading"])]), _: 1 })) : d("", true), "dynamicDataSource" === V.value.type ? (o(), u(y2, { key: 4, label: "字段设置", class: "amb-design-attr-item" }, { default: t(() => [n(h2, { type: "primary", plain: "", onClick: w }, { default: t(() => p2[7] || (p2[7] = [r("添加")])), _: 1 }), n(h2, { type: "primary", plain: "", onClick: A }, { default: t(() => p2[8] || (p2[8] = [r("删除")])), _: 1 }), n(T, { data: V.value.valueSetOptions, "row-class-name": N, height: "400px", "highlight-current-row": "", style: { width: "100%", "margin-top": "5px" }, onCurrentChange: D }, { default: t(() => [n(O2, { label: "来源字段" }, { default: t((e3) => [n(b2, { modelValue: e3.row.columnName, "onUpdate:modelValue": (l3) => e3.row.columnName = l3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(P.value, (e4) => (o(), u(f3, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(O2, { label: "值字段" }, { default: t((a2) => [e2.clolumnTableFields && e2.clolumnTableFields.length > 0 ? (o(), u(b2, { key: 0, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, clearable: "", filterable: "" }, { default: t(() => [(o(true), i(m, null, c(e2.clolumnTableFields, (e3, l3) => (o(), u(f3, { key: l3, label: e3.alias, value: e3.dbColumnName }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (o(), u(g2, { key: 1, modelValue: a2.row.valueField, "onUpdate:modelValue": (e3) => a2.row.valueField = e3, onChange: (e3) => l2.changeValueField(e3, a2.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))]), _: 1 })]), _: 1 }, 8, ["data"])]), _: 1 })) : d("", true)]), _: 1 }, 8, ["modelValue"])]), _: 1 });
76
76
  };
77
77
  } });
78
78
  export {