super-page-designer 2.3.5-rc1-design1 → 2.3.5-sit1-design1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/es/components/design/utils/page-event-util.js +0 -1
  2. package/dist/es/components/design/utils/page-i18n-util.js +5 -6
  3. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +19 -19
  4. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +9 -9
  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 +2 -2
  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 +12 -12
  10. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +4 -4
  11. package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue.js +52 -0
  12. package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue2.js +4 -0
  13. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +7 -7
  14. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +16 -19
  15. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  16. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  17. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  18. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +1 -1
  19. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +5 -6
  20. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  22. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  23. package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +1 -1
  24. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +7 -7
  25. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +7 -7
  26. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +6 -6
  27. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +12 -12
  28. package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
  29. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
  30. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
  31. package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +2 -2
  32. package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +2 -2
  33. package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
  34. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
  35. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
  36. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
  37. package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
  38. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
  39. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +1 -1
  40. package/dist/es/components/design/views/assemblys/chart/gauge/series/gauge-series-attr.vue.js +1 -1
  41. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  42. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  43. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  44. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  45. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  46. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  48. package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +1 -1
  49. package/dist/es/components/design/views/assemblys/chart/pie/series/pie-series-attr.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
  51. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  52. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +1 -1
  53. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  54. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  56. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  57. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  58. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  59. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  60. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  61. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr.vue2.js +1 -1
  62. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-attr.vue.js +1 -1
  63. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  64. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  65. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +5 -5
  66. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  67. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +1 -1
  68. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +6 -6
  69. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +7 -7
  70. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +10 -10
  71. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  72. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +2 -2
  73. package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
  74. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
  75. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +1 -4
  76. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +12 -12
  77. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
  78. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
  79. package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
  80. package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
  81. package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
  82. package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
  83. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue.js → common-variable-bind.vue2.js} +1 -1
  84. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +23 -23
  85. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +6 -6
  86. package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
  87. package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
  88. package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
  89. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  90. package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
  91. package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
  92. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
  93. package/dist/es/components/design/views/assemblys/container/form/form-attr.vue2.js +1 -1
  94. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
  95. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
  96. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
  97. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
  98. package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
  99. package/dist/es/components/design/views/assemblys/container/tools/tools-attr.vue2.js +1 -1
  100. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  101. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +6 -6
  102. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  103. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
  104. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +7 -7
  105. package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +3 -3
  106. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
  107. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
  108. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +12 -12
  109. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
  110. package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +3 -3
  111. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  112. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  113. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  114. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +6 -6
  115. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +2 -2
  116. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +3 -3
  117. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  118. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +9 -8
  119. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  120. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +6 -6
  121. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +6 -6
  122. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  123. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +7 -7
  124. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +5 -5
  125. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +14 -14
  126. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +10 -10
  127. package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +1 -1
  128. package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +26 -26
  129. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +4 -4
  130. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
  131. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
  132. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +9 -9
  133. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +3 -3
  134. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +3 -3
  135. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +1 -1
  136. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  137. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +11 -11
  138. package/dist/es/components/design/views/assemblys/form/common/title-suffix.vue.js +1 -1
  139. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  140. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  141. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +7 -7
  142. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +7 -7
  143. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +1 -1
  144. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +4 -4
  145. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +6 -6
  146. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +1 -1
  147. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +6 -6
  148. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +6 -6
  149. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +7 -7
  150. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +11 -11
  151. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +6 -6
  152. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
  153. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +7 -7
  154. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +6 -6
  155. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
  156. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +6 -6
  157. package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
  158. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +6 -6
  159. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +8 -8
  160. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
  161. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +5 -5
  162. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  163. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  164. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +2 -2
  165. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
  166. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  167. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +13 -13
  168. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  169. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  170. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  171. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  172. package/dist/es/components/design/views/design/page-design.vue2.js +1 -1
  173. package/dist/es/components/design/views/design/page-event/config.vue3.js +17 -18
  174. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  175. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
  176. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
  177. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -8
  178. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +2 -2
  179. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
  180. package/dist/es/components/design/views/design/view/page-switch.vue2.js +2 -3
  181. package/dist/es/stores/undo-redo-store.js +1 -1
  182. package/dist/es/style.css +1 -1
  183. package/package.json +4 -4
@@ -16,7 +16,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
16
16
  w();
17
17
  }), (t2, n2) => {
18
18
  const q3 = l("el-badge");
19
- return s(), a("div", k, [r("div", C, [r("div", h, [r("label", { class: o({ selected: "base" == u(L) }), onClick: n2[0] || (n2[0] = (e3) => c(L) ? L.value = "base" : L = "base") }, "属性", 2), r("label", { class: o({ selected: "style" == u(L) }), onClick: n2[1] || (n2[1] = (e3) => c(L) ? L.value = "style" : L = "style") }, "样式", 2), r("label", { class: o({ selected: "event" == u(L) }), onClick: n2[2] || (n2[2] = (e3) => c(L) ? L.value = "event" : L = "event") }, [n2[4] || (n2[4] = i(" 事件 ", -1)), O.value > 0 ? (s(), v(q3, { key: 0, value: O.value }, null, 8, ["value"])) : f("", true)], 2), r("label", { class: o({ selected: "advanced" == u(L) }), onClick: n2[3] || (n2[3] = (e3) => c(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), r("div", _, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
19
+ return s(), a("div", k, [r("div", C, [r("div", h, [r("label", { class: o({ selected: "base" == u(L) }), onClick: n2[0] || (n2[0] = (e3) => c(L) ? L.value = "base" : L = "base") }, "属性", 2), r("label", { class: o({ selected: "style" == u(L) }), onClick: n2[1] || (n2[1] = (e3) => c(L) ? L.value = "style" : L = "style") }, "样式", 2), r("label", { class: o({ selected: "event" == u(L) }), onClick: n2[2] || (n2[2] = (e3) => c(L) ? L.value = "event" : L = "event") }, [n2[4] || (n2[4] = i(" 事件 ")), O.value > 0 ? (s(), v(q3, { key: 0, value: O.value }, null, 8, ["value"])) : f("", true)], 2), r("label", { class: o({ selected: "advanced" == u(L) }), onClick: n2[3] || (n2[3] = (e3) => c(L) ? L.value = "advanced" : L = "advanced") }, "高级", 2)])]), r("div", _, [d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(L)]]), d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(L)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(L)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(L)]])])]);
20
20
  };
21
21
  } });
22
22
  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)])), _: 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)])), _: 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 {
@@ -17,7 +17,7 @@ const k = { class: "amb-design-attr-content" }, C = { class: "amb-design-attr-he
17
17
  O();
18
18
  }), (n2, t2) => {
19
19
  const q3 = l("el-badge");
20
- return r(), a("div", k, [s("div", C, [s("div", h, [s("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => c(x) ? x.value = "base" : x = "base") }, "属性", 2), s("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => c(x) ? x.value = "style" : x = "style") }, "样式", 2), s("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => c(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ", -1)), L.value > 0 ? (r(), f(q3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => c(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), s("div", _, [d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(x)]]), d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(x)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(x)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(x)]])])]);
20
+ return r(), a("div", k, [s("div", C, [s("div", h, [s("label", { class: o({ selected: "base" == u(x) }), onClick: t2[0] || (t2[0] = (e3) => c(x) ? x.value = "base" : x = "base") }, "属性", 2), s("label", { class: o({ selected: "style" == u(x) }), onClick: t2[1] || (t2[1] = (e3) => c(x) ? x.value = "style" : x = "style") }, "样式", 2), s("label", { class: o({ selected: "event" == u(x) }), onClick: t2[2] || (t2[2] = (e3) => c(x) ? x.value = "event" : x = "event") }, [t2[4] || (t2[4] = i(" 事件 ")), L.value > 0 ? (r(), f(q3, { key: 0, value: L.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o({ selected: "advanced" == u(x) }), onClick: t2[3] || (t2[3] = (e3) => c(x) ? x.value = "advanced" : x = "advanced") }, "高级", 2)])]), s("div", _, [d(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[m, "base" == u(x)]]), d(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[m, "style" == u(x)]]), d(g(y, { configure: e2.configure }, null, 8, ["configure"]), [[m, "event" == u(x)]]), d(g(j, { configure: e2.configure }, null, 8, ["configure"]), [[m, "advanced" == u(x)]])])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a, openBlock as t, withCtx as i, createVNode as n, createElementVNode as u, createTextVNode as r, toDisplayString as d, createCommentVNode as c, unref as p, createElementBlock as m, Fragment as f, renderList as s } from "vue";
2
- import { Top as g, Bottom as b, Plus as V, Delete as _, Close as x, Check as v } from "@element-plus/icons-vue";
2
+ import { Top as g, Bottom as b, Plus as V, 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 h from "../../common/common-function-code.vue.js";
5
5
  import w from "../../common/common-icon-bind.vue.js";
@@ -50,7 +50,7 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, z = { style: { padding: "8p
50
50
  break;
51
51
  }
52
52
  l4 > -1 && T2.configure.items.splice(l4, 1);
53
- }(e3.row) }, { default: i(() => [n(p(_))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(N, { label: "默认打开", style: { "margin-top": "10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.defaultOpen, "onUpdate:modelValue": B[2] || (B[2] = (l3) => e2.configure.props.defaultOpen = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(t(true), m(f, null, s(e2.configure.items, (e3) => (t(), a(S, { label: e3.label, value: e3.code || e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签风格", style: { "margin-top": "-10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.cardType, "onUpdate:modelValue": B[3] || (B[3] = (l3) => e2.configure.props.cardType = l3), placeholder: "默认", clearable: "" }, { default: i(() => [n(S, { label: "卡片", value: "card" }), n(S, { label: "边框", value: "border-card" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: i(() => [n(G, { modelValue: e2.configure.props.tabPosition, "onUpdate:modelValue": B[4] || (B[4] = (l3) => e2.configure.props.tabPosition = l3) }, { default: i(() => [n(E, { value: "top" }, { default: i(() => B[11] || (B[11] = [r("上", -1)])), _: 1, __: [11] }), n(E, { value: "right" }, { default: i(() => B[12] || (B[12] = [r("右", -1)])), _: 1, __: [12] }), n(E, { value: "bottom" }, { default: i(() => B[13] || (B[13] = [r("下", -1)])), _: 1, __: [13] }), n(E, { value: "left" }, { default: i(() => B[14] || (B[14] = [r("左", -1)])), _: 1, __: [14] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "全部渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.isFullyRendered, "onUpdate:modelValue": B[5] || (B[5] = (l3) => e2.configure.props.isFullyRendered = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(x) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "延迟渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.lazy, "onUpdate:modelValue": B[6] || (B[6] = (l3) => e2.configure.props.lazy = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(x) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "页签可重置", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.resetable, "onUpdate:modelValue": B[7] || (B[7] = (l3) => e2.configure.props.resetable = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(x), onChange: O }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.resetable ? (t(), a(N, { key: 0, label: "", style: { "margin-top": "-10px" } }, { default: i(() => [n(P, { modelValue: e2.configure.props.resetButtonName, "onUpdate:modelValue": B[8] || (B[8] = (l3) => e2.configure.props.resetButtonName = l3), placeholder: "重置按钮名称" }, null, 8, ["modelValue"])]), _: 1 })) : c("", true), n(N, { label: "页签可关闭", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.closable, "onUpdate:modelValue": B[9] || (B[9] = (l3) => e2.configure.props.closable = l3), "inline-prompt": "", "active-icon": p(v), "inactive-icon": p(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 });
53
+ }(e3.row) }, { default: i(() => [n(p(x))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(N, { label: "默认打开", style: { "margin-top": "10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.defaultOpen, "onUpdate:modelValue": B[2] || (B[2] = (l3) => e2.configure.props.defaultOpen = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(t(true), m(f, null, s(e2.configure.items, (e3) => (t(), a(S, { label: e3.label, value: e3.code || e3.index }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签风格", style: { "margin-top": "-10px" } }, { default: i(() => [n(A, { modelValue: e2.configure.props.cardType, "onUpdate:modelValue": B[3] || (B[3] = (l3) => e2.configure.props.cardType = l3), placeholder: "默认", clearable: "" }, { default: i(() => [n(S, { label: "卡片", value: "card" }), n(S, { label: "边框", value: "border-card" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "标签位置", style: { "margin-top": "-10px" } }, { default: i(() => [n(G, { modelValue: e2.configure.props.tabPosition, "onUpdate:modelValue": B[4] || (B[4] = (l3) => e2.configure.props.tabPosition = l3) }, { default: i(() => [n(E, { value: "top" }, { default: i(() => B[11] || (B[11] = [r("上")])), _: 1 }), n(E, { value: "right" }, { default: i(() => B[12] || (B[12] = [r("右")])), _: 1 }), n(E, { value: "bottom" }, { default: i(() => B[13] || (B[13] = [r("下")])), _: 1 }), n(E, { value: "left" }, { default: i(() => B[14] || (B[14] = [r("左")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(N, { label: "全部渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.isFullyRendered, "onUpdate:modelValue": B[5] || (B[5] = (l3) => e2.configure.props.isFullyRendered = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "延迟渲染", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.lazy, "onUpdate:modelValue": B[6] || (B[6] = (l3) => e2.configure.props.lazy = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v) }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), n(N, { label: "页签可重置", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.resetable, "onUpdate:modelValue": B[7] || (B[7] = (l3) => e2.configure.props.resetable = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(v), onChange: O }, null, 8, ["modelValue", "active-icon", "inactive-icon"])]), _: 1 }), e2.configure.props.resetable ? (t(), a(N, { key: 0, label: "", style: { "margin-top": "-10px" } }, { default: i(() => [n(P, { modelValue: e2.configure.props.resetButtonName, "onUpdate:modelValue": B[8] || (B[8] = (l3) => e2.configure.props.resetButtonName = l3), placeholder: "重置按钮名称" }, null, 8, ["modelValue"])]), _: 1 })) : c("", true), n(N, { label: "页签可关闭", style: { "margin-top": "-10px" } }, { default: i(() => [n(I, { modelValue: e2.configure.props.closable, "onUpdate:modelValue": B[9] || (B[9] = (l3) => e2.configure.props.closable = l3), "inline-prompt": "", "active-icon": p(_), "inactive-icon": p(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 });
54
54
  };
55
55
  } });
56
56
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, watch as n, resolveComponent as s, createElementBlock as a, openBlock as l, createElementVNode as r, normalizeClass as c, isRef as i, unref as o, createTextVNode as u, createBlock as g, createCommentVNode as d, withDirectives as v, createVNode as f, vShow as b } from "vue";
1
+ import { defineComponent as e, ref as t, watch as n, resolveComponent as s, createElementBlock as a, openBlock as l, createElementVNode as r, normalizeClass as c, isRef as i, unref as o, createTextVNode as u, createBlock as d, createCommentVNode as g, withDirectives as v, createVNode as f, vShow as b } from "vue";
2
2
  import p from "./tabs-attr-base.vue.js";
3
3
  import m from "./tabs-attr-style.vue.js";
4
4
  import y from "./tabs-attr-event.vue.js";
@@ -6,7 +6,6 @@ import j from "./tabs-attr-advanced.vue.js";
6
6
  const C = { class: "amb-design-attr-content" }, k = { class: "amb-design-attr-header" }, D = { class: "amb-design-attr-header-type" }, h = { class: "amb-design-attr-list" }, O = e({ __name: "tabs-attr", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
7
7
  } } }, emits: [], setup(e2, { emit: O2 }) {
8
8
  const _ = e2;
9
- _.configure;
10
9
  let q = t("base");
11
10
  _.configure.props = { isFullyRendered: true, isContentEmbedded: true, ..._.configure.props ?? {} }, null == _.configure.events && (_.configure.events = []);
12
11
  const x = t(0);
@@ -18,7 +17,7 @@ const C = { class: "amb-design-attr-content" }, k = { class: "amb-design-attr-he
18
17
  E();
19
18
  }), (t2, n2) => {
20
19
  const O3 = s("el-badge");
21
- return l(), a("div", C, [r("div", k, [r("div", D, [r("label", { class: c({ selected: "base" == o(q) }), onClick: n2[0] || (n2[0] = (e3) => i(q) ? q.value = "base" : q = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == o(q) }), onClick: n2[1] || (n2[1] = (e3) => i(q) ? q.value = "style" : q = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == o(q) }), onClick: n2[2] || (n2[2] = (e3) => i(q) ? q.value = "event" : q = "event") }, [n2[4] || (n2[4] = u(" 事件 ", -1)), x.value > 0 ? (l(), g(O3, { key: 0, value: x.value }, null, 8, ["value"])) : d("", true)], 2), r("label", { class: c({ selected: "advanced" == o(q) }), onClick: n2[3] || (n2[3] = (e3) => i(q) ? q.value = "advanced" : q = "advanced") }, "高级", 2)])]), r("div", h, [v(f(p, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[b, "base" == o(q)]]), v(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[b, "style" == o(q)]]), v(f(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, "event" == o(q)]]), v(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[b, "advanced" == o(q)]])])]);
20
+ return l(), a("div", C, [r("div", k, [r("div", D, [r("label", { class: c({ selected: "base" == o(q) }), onClick: n2[0] || (n2[0] = (e3) => i(q) ? q.value = "base" : q = "base") }, "属性", 2), r("label", { class: c({ selected: "style" == o(q) }), onClick: n2[1] || (n2[1] = (e3) => i(q) ? q.value = "style" : q = "style") }, "样式", 2), r("label", { class: c({ selected: "event" == o(q) }), onClick: n2[2] || (n2[2] = (e3) => i(q) ? q.value = "event" : q = "event") }, [n2[4] || (n2[4] = u(" 事件 ")), x.value > 0 ? (l(), d(O3, { key: 0, value: x.value }, null, 8, ["value"])) : g("", true)], 2), r("label", { class: c({ selected: "advanced" == o(q) }), onClick: n2[3] || (n2[3] = (e3) => i(q) ? q.value = "advanced" : q = "advanced") }, "高级", 2)])]), r("div", h, [v(f(p, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[b, "base" == o(q)]]), v(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[b, "style" == o(q)]]), v(f(y, { configure: e2.configure }, null, 8, ["configure"]), [[b, "event" == o(q)]]), v(f(j, { configure: e2.configure }, null, 8, ["configure"]), [[b, "advanced" == o(q)]])])]);
22
21
  };
23
22
  } });
24
23
  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)])), _: 1, __: [9] }), t(y, { value: "center" }, { default: u(() => x[10] || (x[10] = [p("居中", -1)])), _: 1, __: [10] }), t(y, { value: "flex-end" }, { default: u(() => x[11] || (x[11] = [p("居右", -1)])), _: 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)])), _: 1, __: [12] }), t(y, { value: "top" }, { default: u(() => x[13] || (x[13] = [p("顶部", -1)])), _: 1, __: [13] }), t(y, { value: "bottom" }, { default: u(() => x[14] || (x[14] = [p("底部", -1)])), _: 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
  };
@@ -19,7 +19,7 @@ const b = { class: "amb-design-attr-content" }, y = { class: "amb-design-attr-he
19
19
  w();
20
20
  }), (l2, u2) => {
21
21
  const j3 = t("el-badge");
22
- return n(), a("div", b, [s("div", y, [s("div", k, [s("label", { class: o(h.value), onClick: u2[0] || (u2[0] = (e3) => L("base")) }, "属性", 2), s("label", { class: o(_.value), onClick: u2[1] || (u2[1] = (e3) => L("style")) }, "样式", 2), s("label", { class: o(q.value), onClick: u2[2] || (u2[2] = (e3) => L("event")) }, [u2[4] || (u2[4] = r(" 事件 ", -1)), O.value > 0 ? (n(), c(j3, { key: 0, value: O.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o(x.value), onClick: u2[3] || (u2[3] = (e3) => L("advice")) }, "高级", 2)])]), s("div", C, [i(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, h.value]]), i(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), i(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]])])]);
22
+ return n(), a("div", b, [s("div", y, [s("div", k, [s("label", { class: o(h.value), onClick: u2[0] || (u2[0] = (e3) => L("base")) }, "属性", 2), s("label", { class: o(_.value), onClick: u2[1] || (u2[1] = (e3) => L("style")) }, "样式", 2), s("label", { class: o(q.value), onClick: u2[2] || (u2[2] = (e3) => L("event")) }, [u2[4] || (u2[4] = r(" 事件 ")), O.value > 0 ? (n(), c(j3, { key: 0, value: O.value }, null, 8, ["value"])) : v("", true)], 2), s("label", { class: o(x.value), onClick: u2[3] || (u2[3] = (e3) => L("advice")) }, "高级", 2)])]), s("div", C, [i(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, h.value]]), i(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), i(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]])])]);
23
23
  };
24
24
  } });
25
25
  export {
@@ -2,52 +2,52 @@ import { defineComponent as e, ref as t, computed as n, watch as i, onMounted as
2
2
  import { useDraggable as d } from "vue-draggable-plus";
3
3
  import v from "../../object-design.vue.js";
4
4
  import { deepCopy as b, getUuidv4 as y } from "../../../../utils/common-util.js";
5
- import { caculateComponentStyle as h } from "../../../../utils/container-design-util.js";
5
+ import { caculateComponentStyle as j } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
7
- import { copyHandleEvents as j, deleteDesignItem as x } from "../../../../utils/page-design-util.js";
7
+ import { copyHandleEvents as h, deleteDesignItem as x } from "../../../../utils/page-design-util.js";
8
8
  import { getInputTypeComponentNames as O } from "../../../../utils/assemblys-config.js";
9
9
  const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({ __name: "tools-design", props: { pageDesign: {}, configure: {}, indexObj: {}, selectWidget: {} }, emits: ["onSelectWidget", "onCustomAttrWidget"], setup(e2, { emit: D2 }) {
10
10
  const C = e2;
11
11
  C.configure.items || (C.configure.items = []), null == C.configure.style && (C.configure.style = {}), C.configure.props = { isAffix: true, position: "top", ...C.configure.props ?? {} }, C.configure.runtime || (C.configure.runtime = {});
12
- const R = t({}), w = t(""), A = n(() => {
12
+ const A = t({}), w = t(""), k = n(() => {
13
13
  const { gap: e3 } = C.configure.props ?? {};
14
- return { ...e3 ? { gap: `${e3}px` } : {}, ...R.value ?? {} };
14
+ return { ...e3 ? { gap: `${e3}px` } : {}, ...A.value ?? {} };
15
15
  });
16
16
  i(C.configure.style, () => {
17
- N();
17
+ R();
18
18
  }), i(C.configure.props, () => {
19
- N();
19
+ R();
20
20
  });
21
- const k = O(), I = n(() => [...C.configure.items]);
22
- function S(e3) {
21
+ const I = O(), S = n(() => [...C.configure.items]);
22
+ function _(e3) {
23
23
  e3.forEach((e4) => {
24
24
  var _a, _b, _c, _d;
25
- if (e4.items && e4.items.length > 0 && S(e4.items), k.includes(e4.name)) {
25
+ if (e4.items && e4.items.length > 0 && _(e4.items), I.includes(e4.name)) {
26
26
  const t2 = { uuid: e4.uuid, defaultValue: (_b = (_a = e4.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.defaultValue, prop: (_d = (_c = e4.runtime) == null ? void 0 : _c.props) == null ? void 0 : _d.prop };
27
27
  C.pageDesign.toolsInputComponents.push(t2);
28
28
  }
29
29
  });
30
30
  }
31
- i(I, (e3, t2) => {
32
- e3.length > t2.length && z(-1, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [], S(e3));
31
+ i(S, (e3, t2) => {
32
+ e3.length > t2.length && z(-1, e3[e3.length - 1]), "list" === C.pageDesign.pageType && (C.pageDesign.toolsInputComponents = [], _(e3));
33
33
  }, { important: true, deep: true });
34
- const _ = t(null);
35
- function N() {
36
- h(C.configure, R, w, null);
34
+ const N = t(null);
35
+ function R() {
36
+ j(C.configure, A, w, null);
37
37
  const e3 = C.configure.props;
38
- "flex-end" == e3.align ? R.value["justify-content"] = "right" : "center" == e3.align && (R.value["justify-content"] = "center"), C.configure.runtime.style = R.value, C.configure.runtime.class = w.value;
38
+ "flex-end" == e3.align ? A.value["justify-content"] = "right" : "center" == e3.align && (A.value["justify-content"] = "center"), C.configure.runtime.style = A.value, C.configure.runtime.class = w.value;
39
39
  }
40
- d(_, C.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
40
+ d(N, C.configure.items, { group: "amb-assembly-item", animation: 300, ghostClass: "amb-item-ghost", forceFallback: true, onAdd: function(e3) {
41
41
  if (C.configure && C.configure.items) {
42
42
  const t2 = e3.newIndex, n2 = C.configure.items[t2];
43
43
  n2.style || (n2.style = {});
44
44
  }
45
45
  } }), o(() => {
46
- if (N(), _.value.parentNode) {
46
+ if (R(), N.value.parentNode) {
47
47
  new ResizeObserver((e3) => {
48
- for (let t2 of e3) t2.target, t2.contentRect, t2.contentRect.width, t2.contentRect.height, t2.contentRect.top, t2.contentRect.left;
49
- N();
50
- }).observe(_.value.parentNode);
48
+ for (let t2 of e3) ;
49
+ R();
50
+ }).observe(N.value.parentNode);
51
51
  }
52
52
  }), s(() => {
53
53
  });
@@ -63,13 +63,13 @@ const W = { class: "amb-widget-tools-parent amb-design-item-default" }, D = e({
63
63
  const n2 = t2.indexOf(e3);
64
64
  if (-1 == n2) return void alert("无可复制对象!");
65
65
  const i2 = a(b(e3));
66
- i2.uuid = y(), j(i2, C.pageDesign), t2.splice(n2 + 1, 0, i2);
66
+ i2.uuid = y(), h(i2, C.pageDesign), t2.splice(n2 + 1, 0, i2);
67
67
  }
68
68
  function T(e3) {
69
69
  let t2 = C.configure.items;
70
70
  x(t2, e3, e3.items && e3.items.length > 0, true);
71
71
  }
72
- return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(A.value), ref_key: "thisRef", ref: _ }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(v, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
72
+ return (e3, t2) => (r(), u("div", W, [l("div", { class: c(["amb-widget-tools", w.value]), style: g(k.value), ref_key: "thisRef", ref: N }, [(r(true), u(f, null, p(e3.configure.items, (t3, n2) => (r(), m(v, { key: t3, pageDesign: e3.pageDesign, configure: t3, selectWidget: e3.selectWidget, indexObj: e3.indexObj, onOnSelectWidget: z, onOnCustomAttrWidget: E, onOnCopy: F, onOnDelete: T }, null, 8, ["pageDesign", "configure", "selectWidget", "indexObj"]))), 128))], 6)]));
73
73
  } });
74
74
  export {
75
75
  D as default
@@ -2,9 +2,9 @@ import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o,
2
2
  import { getFormComponentOptions as f } from "../../../../utils/assemblys-config.js";
3
3
  import g from "../../common/common-attr-size.vue.js";
4
4
  import "@element-plus/icons-vue";
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) {
5
+ import v from "../../common/common-variable-bind.vue2.js";
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)])), _: 1, __: [10] }), s(x, { value: "QR-code" }, { default: d(() => a2[11] || (a2[11] = [c("二维码", -1)])), _: 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)])), _: 1, __: [12] }), s(x, { value: "selected" }, { default: d(() => a2[13] || (a2[13] = [c("选择规则", -1)])), _: 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)])), _: 1, __: [14] }), s(x, { value: "hidden" }, { default: d(() => a2[15] || (a2[15] = [c("隐藏", -1)])), _: 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,4 +1,4 @@
1
- import { defineComponent as e, ref as r, onMounted as o, watch as a, createElementBlock as t, openBlock as u, normalizeStyle as s, normalizeClass as l, withDirectives as n, createElementVNode as c, vShow as i } from "vue";
1
+ import { defineComponent as e, ref as r, onMounted as o, watch as a, createElementBlock as t, openBlock as u, normalizeStyle as s, normalizeClass as l, withDirectives as n, createElementVNode as i, vShow as c } from "vue";
2
2
  import p from "qrcode";
3
3
  import f from "jsbarcode";
4
4
  import { caculateDetailComponentStyle as b, caculateComponentProps as d } from "../../../../utils/form-design-util.js";
@@ -11,7 +11,7 @@ const m = ["src"], v = e({ __name: "barcode-design", props: { configure: Object
11
11
  let e3 = {};
12
12
  const r2 = {};
13
13
  if (v2.configure.props.preSuffix && (e3 = v2.configure.props), e3.base.bindProp && (g.value = e3.base.bindProp), e3.base && "br-code" === e3.base.type && C(), e3.base && "QR-code" === e3.base.type && p.toDataURL(g.value, (e4, r3) => {
14
- e4 ? console.error(e4) : y.value = r3;
14
+ e4 || (y.value = r3);
15
15
  }), r2.type = e3.base.type, r2.brCodeFormat = e3.base.brCodeFormat, r2.generateRuleType = e3.base.generateRuleType, r2.generateRule = e3.base.generateRule, r2 != {}) for (const e4 in r2) O.value[e4] = r2[e4];
16
16
  }
17
17
  o(() => {
@@ -22,7 +22,7 @@ const m = ["src"], v = e({ __name: "barcode-design", props: { configure: Object
22
22
  b(v2.configure, x, D, F);
23
23
  }, { immediate: true }), a(v2.configure.props, () => {
24
24
  d(v2.configure, O), _(), v2.configure.runtime.props = O.value;
25
- }, { immediate: true }), (e3, r2) => (u(), t("div", { class: l(D.value), style: s(x.value) }, [n(c("canvas", { ref_key: "barcode", ref: R }, null, 512), [[i, "br-code" === O.value.type]]), n(c("img", { src: y.value }, null, 8, m), [[i, "QR-code" === O.value.type]])], 6));
25
+ }, { immediate: true }), (e3, r2) => (u(), t("div", { class: l(D.value), style: s(x.value) }, [n(i("canvas", { ref_key: "barcode", ref: R }, null, 512), [[c, "br-code" === O.value.type]]), n(i("img", { src: y.value }, null, 8, m), [[c, "QR-code" === O.value.type]])], 6));
26
26
  } });
27
27
  export {
28
28
  v as default
@@ -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)])), _: 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, __: [1] }, 8, ["icon"]), u(a2, { type: "default", style: { "margin-left": "10px" }, icon: l2.Delete, onClick: he }, { default: i(() => o2[2] || (o2[2] = [d("重置顺序", -1)])), _: 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)])), _: 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(" 标题 ", -1), 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)])), _: 1, __: [5] }), u(k2, { value: "center" }, { default: i(() => o2[6] || (o2[6] = [d("居中", -1)])), _: 1, __: [6] }), u(k2, { value: "right" }, { default: i(() => o2[7] || (o2[7] = [d("居右", -1)])), _: 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)])), _: 1, __: [8] }), u(k2, { value: "center" }, { default: i(() => o2[9] || (o2[9] = [d("居中", -1)])), _: 1, __: [9] }), u(k2, { value: "right" }, { default: i(() => o2[10] || (o2[10] = [d("居右", -1)])), _: 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)])), _: 1, __: [11] }), u(k2, { value: "left" }, { default: i(() => o2[12] || (o2[12] = [d("居左", -1)])), _: 1, __: [12] }), u(k2, { value: "right" }, { default: i(() => o2[13] || (o2[13] = [d("居右", -1)])), _: 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";
@@ -38,7 +38,7 @@ const E = { key: 0 }, L = { style: { display: "flex", margin: "8px 0" } }, G = {
38
38
  q.value.validate((e3) => {
39
39
  if (e3) {
40
40
  let e4;
41
- P.value.uuid ? (e4 = ge(P.value.uuid), e4.titleText = P.value.titleText, e4.displayOrder = P.value.displayOrder, void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, e4, Z.value), B.value = false) : (P.value.uuid = k(), void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, P.value, Z.value), Z.value.push(P.value), B.value = false), ie(), P.value.parentUuid ? ee.value.append(P.value, K.value) : z.value = C(Z.value), Q.value && he(), M2.configure;
41
+ P.value.uuid ? (e4 = ge(P.value.uuid), e4.titleText = P.value.titleText, e4.displayOrder = P.value.displayOrder, void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, e4, Z.value), B.value = false) : (P.value.uuid = k(), void 0 !== P.value.displayOrder && null !== P.value.displayOrder || V(P.value.parentUuid, P.value, Z.value), Z.value.push(P.value), B.value = false), ie(), P.value.parentUuid ? ee.value.append(P.value, K.value) : z.value = C(Z.value), Q.value && he();
42
42
  }
43
43
  });
44
44
  }
@@ -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(" 是否启用", -1)), 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)])), _: 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)])), _: 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(" 创建节点 ", -1))])), 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(" 修改节点 ", -1))])), 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(" 移至根节点 ", -1))])) : 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(" 子节点移至根节点 ", -1))])), 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(" 移动节点 ", -1))])), 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(" 删除节点 ", -1))]))], 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)])), _: 1, __: [26] }), p(k2, { type: "primary", onClick: ne }, { default: v(() => a2[27] || (a2[27] = [r(" 确认 ", -1)])), _: 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)])), _: 1, __: [28] }), p(k2, { type: "primary", onClick: me }, { default: v(() => a2[29] || (a2[29] = [r(" 确认 ", -1)])), _: 1, __: [29] })])]), default: v(() => [a2[30] || (a2[30] = r('段" width="500">段" width="500"> ', -1)), 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 {