super-page-designer 2.3.18-design1 → 2.3.18-tmp1-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 (189) hide show
  1. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +7 -7
  2. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +8 -8
  3. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
  4. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -3
  5. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +3 -3
  6. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
  7. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
  8. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
  9. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
  10. package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue.js +8 -8
  11. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +8 -8
  12. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
  13. package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue.js +4 -4
  14. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  15. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  16. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  17. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +8 -8
  18. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +3 -3
  19. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  20. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  21. package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +3 -3
  22. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
  23. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
  24. package/dist/es/components/design/views/assemblys/chart/common/common-attr-serieslist.vue.js +4 -4
  25. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
  26. package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +6 -6
  27. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
  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-design.vue2.js +8 -8
  40. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  41. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  42. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  43. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  44. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  45. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  46. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
  48. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +7 -7
  49. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  50. package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +8 -8
  51. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  52. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  53. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  54. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  56. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  57. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  58. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +8 -8
  59. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  60. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  61. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
  62. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  63. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +3 -3
  64. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue.js +3 -3
  65. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +2 -2
  66. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
  67. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +10 -10
  68. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +2 -2
  69. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +14 -14
  70. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +3 -3
  71. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +4 -4
  72. package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
  73. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
  74. package/dist/es/components/design/views/assemblys/common/common-bind-default-value.vue2.js +1 -1
  75. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +1 -1
  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-border.vue.js +2 -2
  79. package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
  80. package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
  81. package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
  82. package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +10 -10
  83. package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +8 -8
  84. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +13 -13
  85. package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +9 -9
  86. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +3 -3
  87. package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +1 -1
  88. package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
  89. package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -3
  90. package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +4 -4
  91. package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +6 -6
  92. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  93. package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -3
  94. package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -3
  95. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
  96. package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -3
  97. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
  98. package/dist/es/components/design/views/assemblys/container/iframe/iframe-design.vue2.js +1 -1
  99. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +5 -5
  100. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
  101. package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
  102. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +1 -1
  103. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
  104. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +14 -14
  105. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +6 -6
  106. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +8 -8
  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 +11 -11
  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/import-header.vue.js +16 -16
  111. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  112. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  113. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
  114. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +4 -4
  115. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +3 -3
  116. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
  117. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  118. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
  119. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +8 -8
  120. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +1 -1
  121. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +5 -5
  122. package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +1 -1
  123. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
  124. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
  125. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +9 -9
  126. package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +7 -7
  127. package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +29 -29
  128. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +7 -7
  129. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +9 -9
  130. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
  131. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +15 -15
  132. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -2
  133. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +7 -7
  134. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +4 -4
  135. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  136. package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +12 -12
  137. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +9 -9
  138. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  139. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  140. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +6 -6
  141. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
  142. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +3 -3
  143. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +3 -3
  144. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
  145. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
  146. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
  147. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
  148. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +3 -3
  149. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +5 -5
  150. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +6 -6
  151. package/dist/es/components/design/views/assemblys/form/link/link-attr.vue2.js +1 -1
  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 +5 -5
  154. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
  155. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
  156. package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +3 -3
  157. package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js +3 -3
  158. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
  159. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
  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/object-design.vue3.js +3 -3
  162. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
  163. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  164. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  165. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +3 -3
  166. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
  167. package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +12 -12
  168. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +6 -6
  169. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +16 -16
  170. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +12 -12
  171. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
  172. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +8 -8
  173. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +4 -4
  174. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  175. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  176. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +1 -1
  177. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  178. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  179. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
  180. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
  181. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -7
  182. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -4
  183. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
  184. package/dist/es/components/design/views/design/view/view-design-display.vue.js +11 -11
  185. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  186. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +16 -18
  187. package/dist/es/components/design/views/design/view/view-design.vue.js +3 -3
  188. package/dist/es/style.css +7 -4
  189. package/package.json +3 -3
@@ -121,7 +121,7 @@ const O = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, j =
121
121
  }
122
122
  return l(), (l2, o2) => {
123
123
  const _2 = a("el-icon"), V2 = a("el-input"), P2 = a("el-button"), z2 = a("el-tooltip"), D3 = a("el-scrollbar"), B2 = a("el-col"), F2 = a("el-empty"), G2 = a("el-tag"), W2 = a("SuperIcon"), H2 = a("ArrowDown"), K2 = a("el-row"), X2 = a("el-popover"), te2 = n("infinite-scroll"), ve = n("loading");
124
- return e2.showLabel ? (i(), t("span", O, c(Q.value), 1)) : (i(), u(X2, { key: 1, ref_key: "popoverRef", ref: Z, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [p(V2, { readonly: "", size: e2.size, onClick: re, modelValue: Q.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => Q.value = e3), placeholder: "请选择" }, { suffix: s(() => [r(p(_2, { style: { cursor: "pointer" }, onClick: w(ce, ["stop"]) }, { default: s(() => [p(v($))]), _: 1 }, 512), [[b, Q.value]])]), _: 1 }, 8, ["size", "modelValue"])]), default: s(() => [p(K2, null, { default: s(() => [p(z2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: s(() => [p(P2, { type: "text", class: "amb-component-popover-close-btn", icon: v(k), onClick: ie }, null, 8, ["icon"])]), _: 1 }), p(B2, { span: 8 }, { default: s(() => [m("div", U, [p(D3, { "max-height": "100%" }, { default: s(() => [(i(true), t(d, null, f(J.value, (e3) => (i(), t("div", { class: g(["amb-popover-menu-item", e3.value == M.value ? "is-active" : ""]), onClick: (l3) => ue(e3.value) }, [p(_2, null, { default: s(() => [r(p(v(I), null, null, 512), [[b, e3.value == M.value]])]), _: 2 }, 1024), m("span", null, c(e3.label), 1)], 10, j))), 256))]), _: 1 })])]), _: 1 }), r((i(), u(B2, { span: 16, style: { "padding-left": "10px" }, class: "amb-component-popover-icon-list-view" }, { default: s(() => [M.value ? y("", true) : (i(), u(F2, { key: 0, description: "请选择类型", "image-size": 80 })), M.value ? (i(), t("div", S, [p(V2, { modelValue: Y.value, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => Y.value = e3), placeholder: "搜索", size: "default", "prefix-icon": v(x), clearable: "", filterable: "", style: { flex: "1 1 auto" } }, null, 8, ["modelValue", "prefix-icon"]), ["custom"].includes(M.value) && Y.value && !ae.value.length ? (i(), u(z2, { key: 0, effect: "dark", content: "创建该图标", placement: "top-end" }, { default: s(() => [p(P2, { type: "primary", circle: "", icon: v(C), onClick: se }, null, 8, ["icon"])]), _: 1 })) : y("", true)])) : y("", true), m("input", { ref_key: "uplooadSvgInputRef", ref: ee, type: "file", accept: ".svg", style: { display: "none" }, onChange: pe }, null, 544), ["custom"].includes(M.value) ? (i(), t("div", T, [p(_2, null, { default: s(() => [p(v(A))]), _: 1 }), o2[5] || (o2[5] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), o2[6] || (o2[6] = h("   ", -1)), p(z2, null, { content: s(() => [...o2[3] || (o2[3] = [h(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; ", -1), m("br", null, null, -1), h(" 2.支持svg图标,需以svg-img-开头,接svg内容,如:svg-img-xxxxxx. ", -1)])]), default: s(() => [p(G2, { type: "primary" }, { default: s(() => [...o2[4] || (o2[4] = [h("更多", -1)])]), _: 1 })]), _: 1 })])) : y("", true), M.value ? r((i(), t("div", L, [ae.value.length || le.value ? y("", true) : (i(), u(F2, { key: 0, description: "没有相关图标", "image-size": 80 })), m("div", N, [(i(true), t(d, null, f(ae.value, (e3) => (i(), u(z2, { key: e3.value, effect: "dark", content: e3.label, placement: "top" }, { default: s(() => [m("div", { class: "amb-component-popover-icon-grid-item", onClick: (l3) => {
124
+ return e2.showLabel ? (i(), t("span", O, c(Q.value), 1)) : (i(), u(X2, { key: 1, ref_key: "popoverRef", ref: Z, "popper-class": "amb-component-popover-main", trigger: "click", width: 540 }, { reference: s(() => [p(V2, { readonly: "", size: e2.size, onClick: re, modelValue: Q.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => Q.value = e3), placeholder: "请选择" }, { suffix: s(() => [r(p(_2, { style: { cursor: "pointer" }, onClick: w(ce, ["stop"]) }, { default: s(() => [p(v($))]), _: 1 }, 512), [[b, Q.value]])]), _: 1 }, 8, ["size", "modelValue"])]), default: s(() => [p(K2, null, { default: s(() => [p(z2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: s(() => [p(P2, { type: "text", class: "amb-component-popover-close-btn", icon: v(k), onClick: ie }, null, 8, ["icon"])]), _: 1 }), p(B2, { span: 8 }, { default: s(() => [m("div", U, [p(D3, { "max-height": "100%" }, { default: s(() => [(i(true), t(d, null, f(J.value, (e3) => (i(), t("div", { class: g(["amb-popover-menu-item", e3.value == M.value ? "is-active" : ""]), onClick: (l3) => ue(e3.value) }, [p(_2, null, { default: s(() => [r(p(v(I), null, null, 512), [[b, e3.value == M.value]])]), _: 2 }, 1024), m("span", null, c(e3.label), 1)], 10, j))), 256))]), _: 1 })])]), _: 1 }), r((i(), u(B2, { span: 16, style: { "padding-left": "10px" }, class: "amb-component-popover-icon-list-view" }, { default: s(() => [M.value ? y("", true) : (i(), u(F2, { key: 0, description: "请选择类型", "image-size": 80 })), M.value ? (i(), t("div", S, [p(V2, { modelValue: Y.value, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => Y.value = e3), placeholder: "搜索", size: "default", "prefix-icon": v(x), clearable: "", filterable: "", style: { flex: "1 1 auto" } }, null, 8, ["modelValue", "prefix-icon"]), ["custom"].includes(M.value) && Y.value && !ae.value.length ? (i(), u(z2, { key: 0, effect: "dark", content: "创建该图标", placement: "top-end" }, { default: s(() => [p(P2, { type: "primary", circle: "", icon: v(C), onClick: se }, null, 8, ["icon"])]), _: 1 })) : y("", true)])) : y("", true), m("input", { ref_key: "uplooadSvgInputRef", ref: ee, type: "file", accept: ".svg", style: { display: "none" }, onChange: pe }, null, 544), ["custom"].includes(M.value) ? (i(), t("div", T, [p(_2, null, { default: s(() => [p(v(A))]), _: 1 }), o2[5] || (o2[5] = m("span", { style: { "margin-left": "5px" } }, "输入图标名后点击加号按钮添加", -1)), o2[6] || (o2[6] = h("   ", -1)), p(z2, null, { content: s(() => o2[3] || (o2[3] = [h(" 1.支持fa图标,图标名称详见官网:https://fontawesome.com.cn/v4/icons-ui/; ", -1), m("br", null, null, -1), h(" 2.支持svg图标,需以svg-img-开头,接svg内容,如:svg-img-xxxxxx. ", -1)])), default: s(() => [p(G2, { type: "primary" }, { default: s(() => o2[4] || (o2[4] = [h("更多", -1)])), _: 1, __: [4] })]), _: 1 })])) : y("", true), M.value ? r((i(), t("div", L, [ae.value.length || le.value ? y("", true) : (i(), u(F2, { key: 0, description: "没有相关图标", "image-size": 80 })), m("div", N, [(i(true), t(d, null, f(ae.value, (e3) => (i(), u(z2, { key: e3.value, effect: "dark", content: e3.label, placement: "top" }, { default: s(() => [m("div", { class: "amb-component-popover-icon-grid-item", onClick: (l3) => {
125
125
  return o3 = e3, Q.value = o3.value, R("update:modelValue", M.value, Q.value), void Z.value.hide();
126
126
  var o3;
127
127
  } }, [p(W2, { iconType: M.value, iconValue: e3.value }, null, 8, ["iconType", "iconValue"])], 8, E)]), _: 2 }, 1032, ["content"]))), 128))])])), [[te2, ne]]) : y("", true), M.value ? (i(), t("div", q, [ae.value.length < oe.value.length ? (i(), u(_2, { key: 0, style: { "padding-left": "10px", "font-size": "20px" }, onClick: o2[2] || (o2[2] = (e3) => ne()) }, { default: s(() => [p(H2)]), _: 1 })) : y("", true), h(c(ae.value.length) + "/" + c(oe.value.length), 1)])) : y("", true)]), _: 1 })), [[ve, le.value]])]), _: 1 })]), _: 1 }, 512));
@@ -2,10 +2,10 @@ import { defineComponent as e, ref as l, reactive as t, onUnmounted as a, resolv
2
2
  import { Search as y, RefreshLeft as b } from "@element-plus/icons";
3
3
  import f from "agilebuilder-ui/src/utils/request";
4
4
  import { EnableStates as V } from "../../../utils/interfaces/page-design-types.js";
5
- const v = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "10px" } }, w = e({ __name: "common-select-page", props: { systemCode: {}, systemVersion: {} }, emits: ["selectPage"], setup(e2, { expose: w2, emit: z }) {
6
- const C = e2, P = z, x = l(300), S = l(false), I = t({ systemId: null, searchValue: "" });
7
- function _() {
8
- I.systemId = null, I.searchValue = "", q();
5
+ const v = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "10px" } }, w = e({ __name: "common-select-page", props: { systemCode: {}, systemVersion: {} }, emits: ["selectPage"], setup(e2, { expose: w2, emit: _ }) {
6
+ const z = e2, C = _, P = l(300), x = l(false), S = t({ systemId: null, searchValue: "" });
7
+ function I() {
8
+ S.systemId = null, S.searchValue = "", q();
9
9
  }
10
10
  const k = t({ currentPage: 1, pageSize: 20, showTotal: true, total: 0 }), A = l([]), T = l([{ value: "", version: 1, label: "" }]), U = l({});
11
11
  let j, $ = false;
@@ -19,35 +19,35 @@ const v = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
19
19
  function q() {
20
20
  const e3 = { pagination: { currentPage: k.currentPage, pageSize: k.pageSize, showTotal: true }, searchForm: [], dynamicColumnInfo: [], sorts: [] };
21
21
  null != B && e3.sorts.push({ prop: B.property, order: "ascending" == B.order ? "asc" : "desc" });
22
- let l2 = I.systemId;
23
- I.tableType && I.tableType;
22
+ let l2 = S.systemId;
23
+ S.tableType && S.tableType;
24
24
  const t2 = window.$vueApp.config.globalProperties.baseAPI + "/mms/app-pages/listBySystem/" + (l2 || 0);
25
25
  let a2 = { searchParam: e3, searchInfo: {} };
26
- I.searchValue && (a2.searchInfo.name = I.searchValue), f.post(t2, a2).then((e4) => {
26
+ S.searchValue && (a2.searchInfo.name = S.searchValue), f.post(t2, a2).then((e4) => {
27
27
  A.value = e4.data, k.currentPage = e4.page, k.pageSize = e4.size, k.total = e4.total;
28
28
  });
29
29
  }
30
30
  return w2({ openDialog: function() {
31
31
  let e3 = window.innerHeight - 140 - 176;
32
- e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), x.value = e3, S.value = true, $ || ($ = true, f.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e4) => {
32
+ e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), P.value = e3, x.value = true, $ || ($ = true, f.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e4) => {
33
33
  const l2 = e4, t2 = [], a2 = {};
34
34
  for (let e5 of l2) {
35
35
  if (U[e5.id] = e5.name, e5.deleted) continue;
36
36
  if (e5.enabledState != V.ENABLE) continue;
37
37
  const l3 = a2[e5.code];
38
- null != l3 ? e5.code == C.systemCode ? l3.publishVersion != C.systemVersion && (e5.code == C.systemCode && e5.publishVersion == C.systemVersion || e5.publishVersion > l3.publishVersion) && (a2[e5.code] = e5) : e5.publishVersion > l3.publishVersion && (a2[e5.code] = e5) : null == l3 && (a2[e5.code] = e5, t2.push(e5.code));
38
+ null != l3 ? e5.code == z.systemCode ? l3.publishVersion != z.systemVersion && (e5.code == z.systemCode && e5.publishVersion == z.systemVersion || e5.publishVersion > l3.publishVersion) && (a2[e5.code] = e5) : e5.publishVersion > l3.publishVersion && (a2[e5.code] = e5) : null == l3 && (a2[e5.code] = e5, t2.push(e5.code));
39
39
  }
40
40
  T.value = [];
41
41
  for (let e5 of t2) {
42
- const l3 = a2[e5], t3 = e5 === C.systemCode ? C.systemVersion : l3.publishVersion;
42
+ const l3 = a2[e5], t3 = e5 === z.systemCode ? z.systemVersion : l3.publishVersion;
43
43
  T.value.push({ value: l3.id, label: l3.name + "(" + t3 + ")", code: l3.code, name: l3.name, version: t3 });
44
44
  }
45
45
  }), j = setTimeout(() => {
46
46
  q();
47
47
  }, 100));
48
48
  } }), (e3, l2) => {
49
- const t2 = o("el-option"), a2 = o("el-select"), f2 = o("el-input"), V2 = o("el-button"), w3 = o("el-table-column"), z2 = o("el-table"), C2 = o("el-pagination"), j2 = o("el-dialog");
50
- return s(), n(j2, { modelValue: S.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => S.value = e4), title: "选择页面", width: "800", "append-to-body": "" }, { default: i(() => [r("div", v, [u(a2, { modelValue: I.systemId, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => I.systemId = e4), placeholder: "所有应用", clearable: "", filterable: "", onChange: q, style: { width: "220px" } }, { default: i(() => [(s(true), p(d, null, c(T.value, (e4) => (s(), n(t2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(f2, { modelValue: I.searchValue, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => I.searchValue = e4), style: { width: "260px", "margin-left": "10px" }, clearable: "", placeholder: "请输入编码或名称" }, null, 8, ["modelValue"]), u(V2, { type: "primary", style: { "margin-left": "10px" }, icon: m(y), onClick: q }, { default: i(() => [...l2[5] || (l2[5] = [g("确定", -1)])]), _: 1 }, 8, ["icon"]), u(V2, { type: "default", style: { "margin-left": "10px" }, icon: m(b), onClick: _ }, { default: i(() => [...l2[6] || (l2[6] = [g("重置", -1)])]), _: 1 }, 8, ["icon"])]), u(z2, { data: A.value, stripe: "", height: x.value, onSortChange: E }, { default: i(() => [u(w3, { type: "index", label: "序", width: "50" }, { default: i((e4) => [g(h(e4.$index + 1), 1)]), _: 1 }), u(w3, { label: "操作", width: "80" }, { default: i((e4) => [u(V2, { type: "primary", size: "small", onClick: (l3) => (P("selectPage", e4.row), void (S.value = false)) }, { default: i(() => [...l2[7] || (l2[7] = [g("选择", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), u(w3, { property: "dataView", label: "应用", width: "120" }, { default: i((e4) => [r("span", null, h(U.value[e4.row.systemId]), 1)]), _: 1 }), u(w3, { property: "code", label: "编码", width: "160", sortable: "custom" }), u(w3, { property: "name", label: "名称", width: "260", sortable: "custom" })]), _: 1 }, 8, ["data", "height"]), u(C2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": k.currentPage, "onUpdate:currentPage": l2[2] || (l2[2] = (e4) => k.currentPage = e4), "page-size": k.pageSize, "onUpdate:pageSize": l2[3] || (l2[3] = (e4) => k.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: k.total, onSizeChange: q, onCurrentChange: q }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
49
+ const t2 = o("el-option"), a2 = o("el-select"), f2 = o("el-input"), V2 = o("el-button"), w3 = o("el-table-column"), _2 = o("el-table"), z2 = o("el-pagination"), j2 = o("el-dialog");
50
+ return s(), n(j2, { modelValue: x.value, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => x.value = e4), title: "选择页面", width: "800", "append-to-body": "" }, { default: i(() => [r("div", v, [u(a2, { modelValue: S.systemId, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => S.systemId = e4), placeholder: "所有应用", clearable: "", filterable: "", onChange: q, style: { width: "220px" } }, { default: i(() => [(s(true), p(d, null, c(T.value, (e4) => (s(), n(t2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(f2, { modelValue: S.searchValue, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => S.searchValue = e4), style: { width: "260px", "margin-left": "10px" }, clearable: "", placeholder: "请输入编码或名称" }, null, 8, ["modelValue"]), u(V2, { type: "primary", style: { "margin-left": "10px" }, icon: m(y), onClick: q }, { default: i(() => l2[5] || (l2[5] = [g("确定", -1)])), _: 1, __: [5] }, 8, ["icon"]), u(V2, { type: "default", style: { "margin-left": "10px" }, icon: m(b), onClick: I }, { default: i(() => l2[6] || (l2[6] = [g("重置", -1)])), _: 1, __: [6] }, 8, ["icon"])]), u(_2, { data: A.value, stripe: "", height: P.value, onSortChange: E }, { default: i(() => [u(w3, { type: "index", label: "序", width: "50" }, { default: i((e4) => [g(h(e4.$index + 1), 1)]), _: 1 }), u(w3, { label: "操作", width: "80" }, { default: i((e4) => [u(V2, { type: "primary", size: "small", onClick: (l3) => (C("selectPage", e4.row), void (x.value = false)) }, { default: i(() => l2[7] || (l2[7] = [g("选择", -1)])), _: 2, __: [7] }, 1032, ["onClick"])]), _: 1 }), u(w3, { property: "dataView", label: "应用", width: "120" }, { default: i((e4) => [r("span", null, h(U.value[e4.row.systemId]), 1)]), _: 1 }), u(w3, { property: "code", label: "编码", width: "160", sortable: "custom" }), u(w3, { property: "name", label: "名称", width: "260", sortable: "custom" })]), _: 1 }, 8, ["data", "height"]), u(z2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": k.currentPage, "onUpdate:currentPage": l2[2] || (l2[2] = (e4) => k.currentPage = e4), "page-size": k.pageSize, "onUpdate:pageSize": l2[3] || (l2[3] = (e4) => k.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: k.total, onSizeChange: q, onCurrentChange: q }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
51
51
  };
52
52
  } });
53
53
  export {
@@ -3,9 +3,9 @@ import { Search as b, RefreshLeft as f } from "@element-plus/icons";
3
3
  import V from "agilebuilder-ui/src/utils/request";
4
4
  import { EnableStates as v } from "../../../utils/interfaces/page-design-types.js";
5
5
  import { usePageContextStore as C } from "../../../../../stores/page-store.js";
6
- const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "10px" } }, T = e({ __name: "common-select-table", props: { systemCode: {}, systemVersion: {} }, emits: ["selectTable"], setup(e2, { expose: T2, emit: x }) {
7
- const z = e2, _ = C(), S = _.pageContext ? _.pageContext : {}, P = x, k = l(300);
8
- let N = z.systemCode, A = z.systemVersion;
6
+ const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "10px" } }, _ = e({ __name: "common-select-table", props: { systemCode: {}, systemVersion: {} }, emits: ["selectTable"], setup(e2, { expose: _2, emit: T }) {
7
+ const x = e2, z = C(), S = z.pageContext ? z.pageContext : {}, P = T, k = l(300);
8
+ let N = x.systemCode, A = x.systemVersion;
9
9
  N || (N = S.systemCode, A = S.systemVersion);
10
10
  const U = l(false), j = a({ systemCode: "", tableType: null, searchValue: "" });
11
11
  function I() {
@@ -33,7 +33,7 @@ const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
33
33
  D.value = e4.data, E.currentPage = e4.page, E.pageSize = e4.size, E.total = e4.total;
34
34
  });
35
35
  }
36
- return T2({ openDialog: function() {
36
+ return _2({ openDialog: function() {
37
37
  let e3 = window.innerHeight - 140 - 176;
38
38
  e3 > 500 ? e3 = 500 : e3 < 100 && (e3 = 100), k.value = e3, U.value = true, O || (O = true, V.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-charts/findAllSystem").then((e4) => {
39
39
  const l2 = e4, a2 = [], t2 = {};
@@ -52,17 +52,17 @@ const w = { style: { "background-color": "rgba(88, 147, 239, 0.06)", padding: "1
52
52
  B();
53
53
  }, 100));
54
54
  } }), (e3, l2) => {
55
- const a2 = o("el-option"), t2 = o("el-select"), V2 = o("el-input"), v2 = o("el-button"), C2 = o("el-table-column"), T3 = o("el-text"), x2 = o("el-table"), z2 = o("el-pagination"), _2 = o("el-dialog");
56
- return n(), s(_2, { "append-to-body": "", modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null, m(F.value, (e4) => (n(), s(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(t2, { modelValue: j.tableType, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => j.tableType = e4), placeholder: "表和视图", clearable: "", onChange: B, style: { width: "120px", "margin-left": "10px" } }, { default: r(() => [u(a2, { value: "1", label: "表" }), u(a2, { value: "2", label: "视图" })]), _: 1 }, 8, ["modelValue"]), u(V2, { modelValue: j.searchValue, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => j.searchValue = e4), style: { width: "240px", "margin-left": "10px" }, placeholder: "请输入名称或别名" }, null, 8, ["modelValue"]), u(v2, { type: "primary", style: { "margin-left": "10px" }, icon: c(b), onClick: B }, { default: r(() => [...l2[6] || (l2[6] = [y("确定", -1)])]), _: 1 }, 8, ["icon"]), u(v2, { type: "default", style: { "margin-left": "10px" }, icon: c(f), onClick: I }, { default: r(() => [...l2[7] || (l2[7] = [y("重置", -1)])]), _: 1 }, 8, ["icon"])]), u(x2, { data: D.value, stripe: "", height: k.value, onSortChange: q }, { default: r(() => [u(C2, { type: "index", label: "序", width: "50" }, { default: r((e4) => [y(g(e4.$index + 1), 1)]), _: 1 }), u(C2, { label: "操作", width: "80" }, { default: r((e4) => [u(v2, { type: "primary", size: "small", onClick: (l3) => function(e5) {
55
+ const a2 = o("el-option"), t2 = o("el-select"), V2 = o("el-input"), v2 = o("el-button"), C2 = o("el-table-column"), _3 = o("el-text"), T2 = o("el-table"), x2 = o("el-pagination"), z2 = o("el-dialog");
56
+ return n(), s(z2, { "append-to-body": "", modelValue: U.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => U.value = e4), title: "选择数据模型", width: "800" }, { default: r(() => [i("div", w, [u(t2, { modelValue: j.systemCode, "onUpdate:modelValue": l2[0] || (l2[0] = (e4) => j.systemCode = e4), placeholder: "当前应用", clearable: "", onChange: B, style: { width: "120px" } }, { default: r(() => [(n(true), p(d, null, m(F.value, (e4) => (n(), s(a2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(t2, { modelValue: j.tableType, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => j.tableType = e4), placeholder: "表和视图", clearable: "", onChange: B, style: { width: "120px", "margin-left": "10px" } }, { default: r(() => [u(a2, { value: "1", label: "表" }), u(a2, { value: "2", label: "视图" })]), _: 1 }, 8, ["modelValue"]), u(V2, { modelValue: j.searchValue, "onUpdate:modelValue": l2[2] || (l2[2] = (e4) => j.searchValue = e4), style: { width: "240px", "margin-left": "10px" }, placeholder: "请输入名称或别名" }, null, 8, ["modelValue"]), u(v2, { type: "primary", style: { "margin-left": "10px" }, icon: c(b), onClick: B }, { default: r(() => l2[6] || (l2[6] = [y("确定", -1)])), _: 1, __: [6] }, 8, ["icon"]), u(v2, { type: "default", style: { "margin-left": "10px" }, icon: c(f), onClick: I }, { default: r(() => l2[7] || (l2[7] = [y("重置", -1)])), _: 1, __: [7] }, 8, ["icon"])]), u(T2, { data: D.value, stripe: "", height: k.value, onSortChange: q }, { default: r(() => [u(C2, { type: "index", label: "序", width: "50" }, { default: r((e4) => [y(g(e4.$index + 1), 1)]), _: 1 }), u(C2, { label: "操作", width: "80" }, { default: r((e4) => [u(v2, { type: "primary", size: "small", onClick: (l3) => function(e5) {
57
57
  const l4 = { name: e5.row.name, alias: e5.row.alias };
58
58
  if (j.systemCode && j.systemCode != S.systemCode) {
59
59
  let e6 = j.systemCode, a3 = F.value.filter((l5) => l5.value == e6);
60
60
  l4.systemVersion = a3.length > 0 ? a3[0].version : 1, l4.systemCode = e6;
61
61
  } else j.systemCode || (e5.row.systemCode && (l4.systemCode = e5.row.systemCode), e5.row.publishVersion && (l4.systemVersion = e5.row.publishVersion));
62
62
  P("selectTable", l4), U.value = false;
63
- }(e4) }, { default: r(() => [...l2[8] || (l2[8] = [y("选择", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), u(C2, { property: "dataView", label: "类型", width: "70" }, { default: r((e4) => [e4.dataView ? h("", true) : (n(), s(T3, { key: 0, class: "mx-1", type: "primary" }, { default: r(() => [...l2[9] || (l2[9] = [y("数据表", -1)])]), _: 1 })), e4.dataView ? (n(), s(T3, { key: 1, class: "mx-1", type: "success" }, { default: r(() => [...l2[10] || (l2[10] = [y("视图", -1)])]), _: 1 })) : h("", true)]), _: 1 }), u(C2, { property: "name", label: "名称", width: "200", sortable: "custom" }), u(C2, { property: "alias", label: "别名" })]), _: 1 }, 8, ["data", "height"]), u(z2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": E.currentPage, "onUpdate:currentPage": l2[3] || (l2[3] = (e4) => E.currentPage = e4), "page-size": E.pageSize, "onUpdate:pageSize": l2[4] || (l2[4] = (e4) => E.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: E.total, onSizeChange: B, onCurrentChange: B }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
63
+ }(e4) }, { default: r(() => l2[8] || (l2[8] = [y("选择", -1)])), _: 2, __: [8] }, 1032, ["onClick"])]), _: 1 }), u(C2, { property: "dataView", label: "类型", width: "70" }, { default: r((e4) => [e4.dataView ? h("", true) : (n(), s(_3, { key: 0, class: "mx-1", type: "primary" }, { default: r(() => l2[9] || (l2[9] = [y("数据表", -1)])), _: 1, __: [9] })), e4.dataView ? (n(), s(_3, { key: 1, class: "mx-1", type: "success" }, { default: r(() => l2[10] || (l2[10] = [y("视图", -1)])), _: 1, __: [10] })) : h("", true)]), _: 1 }), u(C2, { property: "name", label: "名称", width: "200", sortable: "custom" }), u(C2, { property: "alias", label: "别名" })]), _: 1 }, 8, ["data", "height"]), u(x2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": E.currentPage, "onUpdate:currentPage": l2[3] || (l2[3] = (e4) => E.currentPage = e4), "page-size": E.pageSize, "onUpdate:pageSize": l2[4] || (l2[4] = (e4) => E.pageSize = e4), "page-sizes": [20, 30, 50, 100], background: "", layout: "sizes,prev,pager,next,jumper,total", total: E.total, onSizeChange: B, onCurrentChange: B }, null, 8, ["current-page", "page-size", "total"])]), _: 1 }, 8, ["modelValue"]);
64
64
  };
65
65
  } });
66
66
  export {
67
- T as default
67
+ _ as default
68
68
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as o, openBlock as a, withCtx as t, createElementVNode as d, createVNode as r, createTextVNode as u } from "vue";
2
2
  const i = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "common-style-border", props: { configure: { type: Object, required: true } }, setup: (e2) => (m2, n) => {
3
- const p = l("el-color-picker"), s = l("el-form-item"), f = l("el-input-number"), g = l("el-radio"), c = l("el-radio-group"), y = l("el-collapse-item");
4
- return a(), o(y, { title: "边框", name: "styleBorder", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", i, [r(s, { label: "颜色", class: "amb-design-attr-item", style: { "margin-top": "4px" } }, { default: t(() => [r(p, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": n[0] || (n[0] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线宽", style: { "margin-top": "0px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": n[1] || (n[1] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线型", style: { "margin-top": "-10px" } }, { default: t(() => [r(c, { modelValue: e2.configure.style.borderType, "onUpdate:modelValue": n[2] || (n[2] = (l2) => e2.configure.style.borderType = l2) }, { default: t(() => [r(g, { value: "solid" }, { default: t(() => [...n[4] || (n[4] = [u("实线", -1)])]), _: 1 }), r(g, { value: "dotted" }, { default: t(() => [...n[5] || (n[5] = [u("点线", -1)])]), _: 1 }), r(g, { value: "dashed" }, { default: t(() => [...n[6] || (n[6] = [u("虚线", -1)])]), _: 1 }), r(g, { value: null }, { default: t(() => [...n[7] || (n[7] = [u("无", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(s, { label: "圆角", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.radius, "onUpdate:modelValue": n[3] || (n[3] = (l2) => e2.configure.style.radius = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
3
+ const p = l("el-color-picker"), s = l("el-form-item"), f = l("el-input-number"), _ = l("el-radio"), g = l("el-radio-group"), c = l("el-collapse-item");
4
+ return a(), o(c, { title: "边框", name: "styleBorder", class: "amb-design-attr-group-header" }, { default: t(() => [d("div", i, [r(s, { label: "颜色", class: "amb-design-attr-item", style: { "margin-top": "4px" } }, { default: t(() => [r(p, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": n[0] || (n[0] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线宽", style: { "margin-top": "0px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": n[1] || (n[1] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }), r(s, { label: "线型", style: { "margin-top": "-10px" } }, { default: t(() => [r(g, { modelValue: e2.configure.style.borderType, "onUpdate:modelValue": n[2] || (n[2] = (l2) => e2.configure.style.borderType = l2) }, { default: t(() => [r(_, { value: "solid" }, { default: t(() => n[4] || (n[4] = [u("实线", -1)])), _: 1, __: [4] }), r(_, { value: "dotted" }, { default: t(() => n[5] || (n[5] = [u("点线", -1)])), _: 1, __: [5] }), r(_, { value: "dashed" }, { default: t(() => n[6] || (n[6] = [u("虚线", -1)])), _: 1, __: [6] }), r(_, { value: null }, { default: t(() => n[7] || (n[7] = [u("无", -1)])), _: 1, __: [7] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(s, { label: "圆角", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [r(f, { modelValue: e2.configure.style.radius, "onUpdate:modelValue": n[3] || (n[3] = (l2) => e2.configure.style.radius = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  m as default
@@ -2,8 +2,8 @@ import { defineComponent as e, resolveComponent as l, createBlock as a, openBloc
2
2
  const s = { style: { padding: "8px 0px 0px 0px" } }, c = e({ __name: "common-style-font-head", props: { headerTextAlign: { default: true }, configure: { type: Object, required: true } }, setup(e2) {
3
3
  const c2 = ["8px", "10px", "12px", "14px", "16px", "18px", "20px", "24px", "28px"];
4
4
  return (g, x) => {
5
- const h = l("el-switch"), y = l("el-form-item"), _ = l("el-col"), V = l("el-row"), b = l("el-option"), v = l("el-select"), F = l("el-color-picker"), U = l("el-radio-button"), A = l("el-radio-group"), T = l("el-collapse-item");
6
- return t(), a(T, { title: "标题", name: "styleFontHead", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", s, [d(V, { style: { "margin-top": "4px" } }, { default: o(() => [d(_, { span: 9 }, { default: o(() => [d(y, { label: "加粗" }, { default: o(() => [d(h, { modelValue: e2.configure.style.headerFontWeight, "onUpdate:modelValue": x[0] || (x[0] = (l2) => e2.configure.style.headerFontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(_, { span: 12 }, { default: o(() => [d(y, { label: "倾斜" }, { default: o(() => [d(h, { modelValue: e2.configure.style.headerIncline, "onUpdate:modelValue": x[1] || (x[1] = (l2) => e2.configure.style.headerIncline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), d(y, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [d(v, { modelValue: e2.configure.style.headerFontSize, "onUpdate:modelValue": x[2] || (x[2] = (l2) => e2.configure.style.headerFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), r(p, null, i(c2, (e3) => d(b, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [d(F, { modelValue: e2.configure.style.headerColor, "onUpdate:modelValue": x[3] || (x[3] = (l2) => e2.configure.style.headerColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(y, { label: "左右对齐", style: { "margin-top": "22px", "margin-bottom": "-15px" } }, { default: o(() => [d(A, { modelValue: e2.configure.style.headerTextAlign, "onUpdate:modelValue": x[4] || (x[4] = (l2) => e2.configure.style.headerTextAlign = l2) }, { default: o(() => [d(U, { value: "left" }, { default: o(() => [...x[5] || (x[5] = [m("左", -1)])]), _: 1 }), d(U, { value: "center" }, { default: o(() => [...x[6] || (x[6] = [m("中", -1)])]), _: 1 }), d(U, { value: "right" }, { default: o(() => [...x[7] || (x[7] = [m("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.headerTextAlign]])])]), _: 1 });
5
+ const _ = l("el-switch"), h = l("el-form-item"), y = l("el-col"), V = l("el-row"), b = l("el-option"), v = l("el-select"), F = l("el-color-picker"), U = l("el-radio-button"), A = l("el-radio-group"), T = l("el-collapse-item");
6
+ return t(), a(T, { title: "标题", name: "styleFontHead", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", s, [d(V, { style: { "margin-top": "4px" } }, { default: o(() => [d(y, { span: 9 }, { default: o(() => [d(h, { label: "加粗" }, { default: o(() => [d(_, { modelValue: e2.configure.style.headerFontWeight, "onUpdate:modelValue": x[0] || (x[0] = (l2) => e2.configure.style.headerFontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(y, { span: 12 }, { default: o(() => [d(h, { label: "倾斜" }, { default: o(() => [d(_, { modelValue: e2.configure.style.headerIncline, "onUpdate:modelValue": x[1] || (x[1] = (l2) => e2.configure.style.headerIncline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), d(h, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [d(v, { modelValue: e2.configure.style.headerFontSize, "onUpdate:modelValue": x[2] || (x[2] = (l2) => e2.configure.style.headerFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), r(p, null, i(c2, (e3) => d(b, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(h, { label: "颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [d(F, { modelValue: e2.configure.style.headerColor, "onUpdate:modelValue": x[3] || (x[3] = (l2) => e2.configure.style.headerColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(h, { label: "左右对齐", style: { "margin-top": "22px", "margin-bottom": "-15px" } }, { default: o(() => [d(A, { modelValue: e2.configure.style.headerTextAlign, "onUpdate:modelValue": x[4] || (x[4] = (l2) => e2.configure.style.headerTextAlign = l2) }, { default: o(() => [d(U, { value: "left" }, { default: o(() => x[5] || (x[5] = [m("左", -1)])), _: 1, __: [5] }), d(U, { value: "center" }, { default: o(() => x[6] || (x[6] = [m("中", -1)])), _: 1, __: [6] }), d(U, { value: "right" }, { default: o(() => x[7] || (x[7] = [m("右", -1)])), _: 1, __: [7] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[f, e2.headerTextAlign]])])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -2,8 +2,8 @@ import { defineComponent as e, resolveComponent as l, createBlock as t, openBloc
2
2
  const f = { style: { padding: "8px 0px 0px 0px" } }, m = e({ __name: "common-style-font", props: { configure: { type: Object, required: true } }, setup(e2) {
3
3
  const m2 = ["8px", "10px", "12px", "14px", "16px", "18px", "20px", "24px", "28px"];
4
4
  return (s, c) => {
5
- const g = l("el-switch"), x = l("el-form-item"), y = l("el-col"), _ = l("el-row"), V = l("el-option"), b = l("el-select"), v = l("el-color-picker"), h = l("el-radio-button"), U = l("el-radio-group"), w = l("el-collapse-item");
6
- return o(), t(w, { title: "字体", name: "styleFont", class: "amb-design-attr-group-header" }, { default: a(() => [u("div", f, [n(_, { style: { "margin-top": "4px" } }, { default: a(() => [n(y, { span: 9 }, { default: a(() => [n(x, { label: "加粗" }, { default: a(() => [n(g, { modelValue: e2.configure.style.fontWeight, "onUpdate:modelValue": c[0] || (c[0] = (l2) => e2.configure.style.fontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(y, { span: 12 }, { default: a(() => [n(x, { label: "倾斜" }, { default: a(() => [n(g, { modelValue: e2.configure.style.incline, "onUpdate:modelValue": c[1] || (c[1] = (l2) => e2.configure.style.incline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(x, { label: "字号", style: { "margin-top": "-10px" } }, { default: a(() => [n(b, { modelValue: e2.configure.style.fontSize, "onUpdate:modelValue": c[2] || (c[2] = (l2) => e2.configure.style.fontSize = l2), placeholder: "默认", clearable: "" }, { default: a(() => [(o(), d(p, null, r(m2, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(x, { label: "颜色", style: { "margin-top": "-10px" } }, { default: a(() => [n(v, { modelValue: e2.configure.style.color, "onUpdate:modelValue": c[3] || (c[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(x, { label: "左右对齐", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: a(() => [n(U, { modelValue: e2.configure.style.textAlign, "onUpdate:modelValue": c[4] || (c[4] = (l2) => e2.configure.style.textAlign = l2) }, { default: a(() => [n(h, { value: "left" }, { default: a(() => [...c[5] || (c[5] = [i("左", -1)])]), _: 1 }), n(h, { value: "center" }, { default: a(() => [...c[6] || (c[6] = [i("中", -1)])]), _: 1 }), n(h, { value: "right" }, { default: a(() => [...c[7] || (c[7] = [i("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
5
+ const g = l("el-switch"), _ = l("el-form-item"), x = l("el-col"), y = l("el-row"), V = l("el-option"), b = l("el-select"), v = l("el-color-picker"), h = l("el-radio-button"), U = l("el-radio-group"), w = l("el-collapse-item");
6
+ return o(), t(w, { title: "字体", name: "styleFont", class: "amb-design-attr-group-header" }, { default: a(() => [u("div", f, [n(y, { style: { "margin-top": "4px" } }, { default: a(() => [n(x, { span: 9 }, { default: a(() => [n(_, { label: "加粗" }, { default: a(() => [n(g, { modelValue: e2.configure.style.fontWeight, "onUpdate:modelValue": c[0] || (c[0] = (l2) => e2.configure.style.fontWeight = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(x, { span: 12 }, { default: a(() => [n(_, { label: "倾斜" }, { default: a(() => [n(g, { modelValue: e2.configure.style.incline, "onUpdate:modelValue": c[1] || (c[1] = (l2) => e2.configure.style.incline = l2) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 })]), _: 1 }), n(_, { label: "字号", style: { "margin-top": "-10px" } }, { default: a(() => [n(b, { modelValue: e2.configure.style.fontSize, "onUpdate:modelValue": c[2] || (c[2] = (l2) => e2.configure.style.fontSize = l2), placeholder: "默认", clearable: "" }, { default: a(() => [(o(), d(p, null, r(m2, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(_, { label: "颜色", style: { "margin-top": "-10px" } }, { default: a(() => [n(v, { modelValue: e2.configure.style.color, "onUpdate:modelValue": c[3] || (c[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(_, { label: "左右对齐", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: a(() => [n(U, { modelValue: e2.configure.style.textAlign, "onUpdate:modelValue": c[4] || (c[4] = (l2) => e2.configure.style.textAlign = l2) }, { default: a(() => [n(h, { value: "left" }, { default: a(() => c[5] || (c[5] = [i("左", -1)])), _: 1, __: [5] }), n(h, { value: "center" }, { default: a(() => c[6] || (c[6] = [i("中", -1)])), _: 1, __: [6] }), n(h, { value: "right" }, { default: a(() => c[7] || (c[7] = [i("右", -1)])), _: 1, __: [7] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as t, openBlock as o, withCtx as i, createElementVNode as a, createVNode as u, createCommentVNode as p, createTextVNode as s } from "vue";
2
2
  const n = { style: { padding: "8px 0px 0px 0px" } }, d = e({ __name: "common-style-position", props: { configure: { type: Object, required: true } }, setup: (e2) => (d2, r) => {
3
- const f = l("el-radio"), m = l("el-radio-group"), y = l("el-input"), g = l("el-form-item"), c = l("el-collapse-item");
4
- return o(), t(c, { title: "定位", name: "stylePosition", class: "amb-design-attr-group-header" }, { default: i(() => [a("div", n, [u(m, { modelValue: e2.configure.style.position, "onUpdate:modelValue": r[0] || (r[0] = (l2) => e2.configure.style.position = l2), style: { padding: "0px 8px 0px 30px", "margin-bottom": "-15px" } }, { default: i(() => [u(f, { value: "relative" }, { default: i(() => [...r[3] || (r[3] = [s("relative", -1)])]), _: 1 }), u(f, { value: "absolute" }, { default: i(() => [...r[4] || (r[4] = [s("absolute", -1)])]), _: 1 }), u(f, { value: "fixed" }, { default: i(() => [...r[5] || (r[5] = [s("fixed", -1)])]), _: 1 }), u(f, { value: "sticky" }, { default: i(() => [...r[6] || (r[6] = [s("sticky", -1)])]), _: 1 }), u(f, { value: null }, { default: i(() => [...r[7] || (r[7] = [s("无", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(g, { key: 0, label: "X坐标", style: { "margin-top": "20px" } }, { default: i(() => [u(y, { modelValue: e2.configure.style.left, "onUpdate:modelValue": r[1] || (r[1] = (l2) => e2.configure.style.left = l2) }, { suffix: i(() => [...r[8] || (r[8] = [s(" px ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(g, { key: 1, label: "Y坐标", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [u(y, { modelValue: e2.configure.style.top, "onUpdate:modelValue": r[2] || (r[2] = (l2) => e2.configure.style.top = l2) }, { suffix: i(() => [...r[9] || (r[9] = [s(" px ", -1)])]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true)])]), _: 1 });
3
+ const f = l("el-radio"), m = l("el-radio-group"), _ = l("el-input"), y = l("el-form-item"), g = l("el-collapse-item");
4
+ return o(), t(g, { title: "定位", name: "stylePosition", class: "amb-design-attr-group-header" }, { default: i(() => [a("div", n, [u(m, { modelValue: e2.configure.style.position, "onUpdate:modelValue": r[0] || (r[0] = (l2) => e2.configure.style.position = l2), style: { padding: "0px 8px 0px 30px", "margin-bottom": "-15px" } }, { default: i(() => [u(f, { value: "relative" }, { default: i(() => r[3] || (r[3] = [s("relative", -1)])), _: 1, __: [3] }), u(f, { value: "absolute" }, { default: i(() => r[4] || (r[4] = [s("absolute", -1)])), _: 1, __: [4] }), u(f, { value: "fixed" }, { default: i(() => r[5] || (r[5] = [s("fixed", -1)])), _: 1, __: [5] }), u(f, { value: "sticky" }, { default: i(() => r[6] || (r[6] = [s("sticky", -1)])), _: 1, __: [6] }), u(f, { value: null }, { default: i(() => r[7] || (r[7] = [s("无", -1)])), _: 1, __: [7] })]), _: 1 }, 8, ["modelValue"]), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(y, { key: 0, label: "X坐标", style: { "margin-top": "20px" } }, { default: i(() => [u(_, { modelValue: e2.configure.style.left, "onUpdate:modelValue": r[1] || (r[1] = (l2) => e2.configure.style.left = l2) }, { suffix: i(() => r[8] || (r[8] = [s(" px ", -1)])), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true), e2.configure.style.position && "relative" != e2.configure.style.position ? (o(), t(y, { key: 1, label: "Y坐标", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [u(_, { modelValue: e2.configure.style.top, "onUpdate:modelValue": r[2] || (r[2] = (l2) => e2.configure.style.top = l2) }, { suffix: i(() => r[9] || (r[9] = [s(" px ", -1)])), _: 1 }, 8, ["modelValue"])]), _: 1 })) : p("", true)])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  d as default
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as l, computed as a, resolveComponent as t, createElementBlock as o, openBlock as u, Fragment as i, createElementVNode as n, createVNode as r, withDirectives as d, withCtx as p, createTextVNode as s, vShow as c, unref as f, renderList as m, createBlock as v, createCommentVNode as g, toDisplayString as b, withKeys as y } from "vue";
2
- import { Plus as w, Delete as T, EditPen as h, Search as V } from "@element-plus/icons-vue";
3
- import _ from "./common-variable-bind.vue.js";
2
+ import { Plus as w, Delete as T, EditPen as _, Search as h } from "@element-plus/icons-vue";
3
+ import V from "./common-variable-bind.vue.js";
4
4
  import { getUuidv4 as k } from "../../../utils/common-util.js";
5
5
  import { usePageContextStore as C } from "../../../../../stores/page-store.js";
6
6
  import { getModelOptionsByFields as N } from "../../../utils/page-table-util.js";
@@ -97,29 +97,29 @@ const x = { style: { "max-height": "60vh", overflow: "auto" } }, U = { class: "c
97
97
  }
98
98
  return (l2, a2) => {
99
99
  const k2 = t("el-button"), C2 = t("el-text"), N2 = t("el-row"), B3 = t("el-tag"), z2 = t("el-input"), F2 = t("el-button-group"), q2 = t("super-icon"), te = t("el-popconfirm"), oe = t("Top"), ue = t("el-icon"), ie = t("Bottom"), ne = t("el-table-column"), re = t("el-option"), de = t("el-select"), pe = t("el-table"), se = t("el-card"), ce = t("el-dialog"), fe = t("el-radio"), me = t("el-radio-group");
100
- return u(), o(i, null, [n("div", null, [r(k2, { type: "primary", onClick: $ }, { default: p(() => [...a2[6] || (a2[6] = [s("编辑", -1)])]), _: 1 }), d(r(C2, { type: "success" }, { default: p(() => [...a2[7] || (a2[7] = [s("  已设置.", -1)])]), _: 1 }, 512), [[c, e2.configure.props.task.title]])]), r(ce, { "append-to-body": "", "destroy-on-close": "", modelValue: G.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => G.value = e3), title: e2.title, width: "900", onClose: H }, { default: p(() => [r(N2, { style: { "padding-bottom": "8px" } }, { default: p(() => [r(k2, { icon: f(w), plain: "", type: "primary", onClick: P }, { default: p(() => [...a2[8] || (a2[8] = [s(" 添加标题 ", -1)])]), _: 1 }, 8, ["icon"])]), _: 1 }), n("div", x, [(u(true), o(i, null, m(I.value, (e3, l3) => (u(), v(se, null, { header: p(() => [n("div", U, [n("div", O, [(u(true), o(i, null, m(e3.titleDynamicTags, (l4, a3) => (u(), v(B3, { key: a3 + l4, type: Z(l4), closable: "", "disable-transitions": false, onClose: (a4) => function(e4, l5) {
100
+ return u(), o(i, null, [n("div", null, [r(k2, { type: "primary", onClick: $ }, { default: p(() => a2[6] || (a2[6] = [s("编辑", -1)])), _: 1, __: [6] }), d(r(C2, { type: "success" }, { default: p(() => a2[7] || (a2[7] = [s("  已设置.", -1)])), _: 1, __: [7] }, 512), [[c, e2.configure.props.task.title]])]), r(ce, { "append-to-body": "", "destroy-on-close": "", modelValue: G.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => G.value = e3), title: e2.title, width: "900", onClose: H }, { default: p(() => [r(N2, { style: { "padding-bottom": "8px" } }, { default: p(() => [r(k2, { icon: f(w), plain: "", type: "primary", onClick: P }, { default: p(() => a2[8] || (a2[8] = [s(" 添加标题 ", -1)])), _: 1, __: [8] }, 8, ["icon"])]), _: 1 }), n("div", x, [(u(true), o(i, null, m(I.value, (e3, l3) => (u(), v(se, null, { header: p(() => [n("div", U, [n("div", O, [(u(true), o(i, null, m(e3.titleDynamicTags, (l4, a3) => (u(), v(B3, { key: a3 + l4, type: Z(l4), closable: "", "disable-transitions": false, onClose: (a4) => function(e4, l5) {
101
101
  const a5 = l5.titleDynamicTags.indexOf(e4);
102
102
  a5 >= 0 && l5.titleDynamicTags.splice(a5, 1);
103
- }(l4, e3) }, { default: p(() => [s(b(ee(l4)), 1)]), _: 2 }, 1032, ["type", "onClose"]))), 128)), J.value === e3.uuid && false === W.value ? (u(), v(z2, { key: 0, style: { width: "150px", "margin-right": "8px" }, modelValue: K.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => K.value = e4), size: "small", ref_for: true, ref: "saveTagInput" + e3.uuid, onKeyup: y((l4) => le(e3), ["enter", "native"]), onBlur: (l4) => le(e3) }, null, 8, ["modelValue", "onKeyup", "onBlur"])) : g("", true), J.value && J.value === e3.uuid ? g("", true) : (u(), v(F2, { key: 1 }, { default: p(() => [r(k2, { class: "button-new-tag", size: "small", icon: f(h), onClick: (l4) => function(e4) {
103
+ }(l4, e3) }, { default: p(() => [s(b(ee(l4)), 1)]), _: 2 }, 1032, ["type", "onClose"]))), 128)), J.value === e3.uuid && false === W.value ? (u(), v(z2, { key: 0, style: { width: "150px", "margin-right": "8px" }, modelValue: K.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => K.value = e4), size: "small", ref_for: true, ref: "saveTagInput" + e3.uuid, onKeyup: y((l4) => le(e3), ["enter", "native"]), onBlur: (l4) => le(e3) }, null, 8, ["modelValue", "onKeyup", "onBlur"])) : g("", true), J.value && J.value === e3.uuid ? g("", true) : (u(), v(F2, { key: 1 }, { default: p(() => [r(k2, { class: "button-new-tag", size: "small", icon: f(_), onClick: (l4) => function(e4) {
104
104
  J.value = e4.uuid, Q.value = false;
105
- }(e3) }, { default: p(() => [...a2[9] || (a2[9] = [s(" 输入文字 ", -1)])]), _: 1 }, 8, ["icon", "onClick"]), r(k2, { class: "button-new-tag", size: "small", icon: f(V), onClick: (l4) => function(e4) {
105
+ }(e3) }, { default: p(() => a2[9] || (a2[9] = [s(" 输入文字 ", -1)])), _: 2, __: [9] }, 1032, ["icon", "onClick"]), r(k2, { class: "button-new-tag", size: "small", icon: f(h), onClick: (l4) => function(e4) {
106
106
  J.value = e4.uuid, W.value = true;
107
- }(e3) }, { default: p(() => [...a2[10] || (a2[10] = [s(" 选择字段 ", -1)])]), _: 1 }, 8, ["icon", "onClick"])]), _: 2 }, 1024))]), n("div", D, [r(te, { title: "确认删除该标题配置吗?", onConfirm: (e4) => function(e5) {
107
+ }(e3) }, { default: p(() => a2[10] || (a2[10] = [s(" 选择字段 ", -1)])), _: 2, __: [10] }, 1032, ["icon", "onClick"])]), _: 2 }, 1024))]), n("div", D, [r(te, { title: "确认删除该标题配置吗?", onConfirm: (e4) => function(e5) {
108
108
  I.value.splice(e5, 1);
109
- }(l3) }, { reference: p(() => [r(q2, { style: { cursor: "pointer" }, iconValue: "amb-color-icon-shanchu" })]), _: 1 }, 8, ["onConfirm"])])])]), default: p(() => [r(pe, { border: "", "highlight-current-row": "", "current-row-key": "uuid", "row-key": "uuid", data: e3.conditions, style: { width: "100%" } }, { default: p(() => [r(ne, { label: "", width: "50" }, { default: p((l4) => [n("div", j, [r(ue, { size: "14", style: { cursor: "pointer" }, onClick: (a3) => function(e4, l5) {
109
+ }(l3) }, { reference: p(() => [r(q2, { style: { cursor: "pointer" }, iconValue: "amb-color-icon-shanchu" })]), _: 2 }, 1032, ["onConfirm"])])])]), default: p(() => [r(pe, { border: "", "highlight-current-row": "", "current-row-key": "uuid", "row-key": "uuid", data: e3.conditions, style: { width: "100%" } }, { default: p(() => [r(ne, { label: "", width: "50" }, { default: p((l4) => [n("div", j, [r(ue, { size: "14", style: { cursor: "pointer" }, onClick: (a3) => function(e4, l5) {
110
110
  let a4 = R(e4, l5);
111
111
  if (a4 < 1) return;
112
112
  const t2 = l5.conditions;
113
113
  [t2[a4 - 1], t2[a4]] = [t2[a4], t2[a4 - 1]];
114
- }(l4.row, e3) }, { default: p(() => [r(oe)]), _: 1 }, 8, ["onClick"]), r(ue, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (a3) => function(e4, l5) {
114
+ }(l4.row, e3) }, { default: p(() => [r(oe)]), _: 2 }, 1032, ["onClick"]), r(ue, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (a3) => function(e4, l5) {
115
115
  let a4 = R(e4, l5);
116
116
  if (-1 == a4 || l5.conditions.length == a4 + 1) return;
117
117
  const t2 = l5.conditions;
118
118
  [t2[a4], t2[a4 + 1]] = [t2[a4 + 1], t2[a4]];
119
- }(l4.row, e3) }, { default: p(() => [r(ie)]), _: 1 }, 8, ["onClick"])])]), _: 2 }, 1024), r(ne, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e4) => [r(de, { modelValue: e4.row.leftBracket, "onUpdate:modelValue": (l4) => e4.row.leftBracket = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [r(re, { label: "", value: "" }), r(re, { label: "(", value: "(" }), r(re, { label: "((", value: "((" }), r(re, { label: "(((", value: "(((" }), r(re, { label: "((((", value: "((((" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((e4) => [r(_, { modelValue: e4.row.propName, objModelOptions: M.value, paramTypes: ["data", "task", "page", "request", "row"], "onUpdate:modelValue": (l4) => Y(l4, e4.row, "propName") }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "operator", label: "操作符", width: "90" }, { default: p((e4) => [r(de, { modelValue: e4.row.operator, "onUpdate:modelValue": (l4) => e4.row.operator = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [d(r(re, { label: "大于", value: "GT" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "小于", value: "LT" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "晚于", value: "GT" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), d(r(re, { label: "早于", value: "LT" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), r(re, { label: "等于", value: "EQ" }), d(r(re, { label: "不大于", value: "LET" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "不小于", value: "GET" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "不晚于", value: "LET" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), d(r(re, { label: "不早于", value: "GET" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), r(re, { label: "不等于", value: "NET" }), r(re, { label: "包含", value: "CONTAIN" }), r(re, { label: "不包含", value: "NOT_CONTAIN" }), r(re, { label: "等于Null", value: "IS_NULL" }), r(re, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "propValue", label: "值(*)", width: "120" }, { default: p((e4) => [r(_, { modelValue: e4.row.propValue, objModelOptions: M.value, "onUpdate:modelValue": (l4) => Y(l4, e4.row, "propValue") }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e4) => [r(de, { modelValue: e4.row.rightBracket, "onUpdate:modelValue": (l4) => e4.row.rightBracket = l4, placeholder: "请选择", clearable: "" }, { default: p(() => [r(re, { label: "", value: "" }), r(re, { label: ")", value: ")" }), r(re, { label: "))", value: "))" }), r(re, { label: ")))", value: ")))" }), r(re, { label: "))))", value: "))))" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e4) => [r(de, { modelValue: e4.row.joinSign, "onUpdate:modelValue": (l4) => e4.row.joinSign = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [r(re, { label: "或者", value: "or" }), r(re, { label: "并且", value: "and" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "variableIsNull", label: "变量为空时", width: "100" }, { default: p((e4) => [r(de, { modelValue: e4.row.variableIsNull, "onUpdate:modelValue": (l4) => e4.row.variableIsNull = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [r(re, { label: "Null", value: "null" }), r(re, { label: "忽略(1=1)", value: "ignore" }), r(re, { label: "不符合(1<>1)", value: "notequal" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { label: "操作" }, { header: p(() => [r(k2, { icon: f(w), plain: "", type: "primary", onClick: (l4) => X(null, e3) }, { default: p(() => [...a2[11] || (a2[11] = [s(" 添加条件 ", -1)])]), _: 1 }, 8, ["icon", "onClick"])]), default: p((l4) => [r(ue, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (a3) => X(l4.row, e3) }, { default: p(() => [r(f(w))]), _: 1 }, 8, ["onClick"]), r(ue, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (a3) => function(e4, l5) {
119
+ }(l4.row, e3) }, { default: p(() => [r(ie)]), _: 2 }, 1032, ["onClick"])])]), _: 2 }, 1024), r(ne, { prop: "leftBracket", label: "(", width: "80" }, { default: p((e4) => [r(de, { modelValue: e4.row.leftBracket, "onUpdate:modelValue": (l4) => e4.row.leftBracket = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [r(re, { label: "", value: "" }), r(re, { label: "(", value: "(" }), r(re, { label: "((", value: "((" }), r(re, { label: "(((", value: "(((" }), r(re, { label: "((((", value: "((((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "propName", label: "字段名(*)", width: "150" }, { default: p((e4) => [r(V, { modelValue: e4.row.propName, objModelOptions: M.value, paramTypes: ["data", "task", "page", "request", "row"], "onUpdate:modelValue": (l4) => Y(l4, e4.row, "propName") }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "operator", label: "操作符", width: "90" }, { default: p((e4) => [r(de, { modelValue: e4.row.operator, "onUpdate:modelValue": (l4) => e4.row.operator = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [d(r(re, { label: "大于", value: "GT" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "小于", value: "LT" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "晚于", value: "GT" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), d(r(re, { label: "早于", value: "LT" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), r(re, { label: "等于", value: "EQ" }), d(r(re, { label: "不大于", value: "LET" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "不小于", value: "GET" }, null, 512), [[c, "int" == e4.row.dataType || "long" == e4.row.dataType || "float" == e4.row.dataType || "double" == e4.row.dataType]]), d(r(re, { label: "不晚于", value: "LET" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), d(r(re, { label: "不早于", value: "GET" }, null, 512), [[c, "date" == e4.row.dataType || "datetime" == e4.row.dataType]]), r(re, { label: "不等于", value: "NET" }), r(re, { label: "包含", value: "CONTAIN" }), r(re, { label: "不包含", value: "NOT_CONTAIN" }), r(re, { label: "等于Null", value: "IS_NULL" }), r(re, { label: "不等于Null", value: "IS_NOT_NULL" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "propValue", label: "值(*)", width: "120" }, { default: p((e4) => [r(V, { modelValue: e4.row.propValue, objModelOptions: M.value, "onUpdate:modelValue": (l4) => Y(l4, e4.row, "propValue") }, null, 8, ["modelValue", "objModelOptions", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "rightBracket", label: ")", width: "80" }, { default: p((e4) => [r(de, { modelValue: e4.row.rightBracket, "onUpdate:modelValue": (l4) => e4.row.rightBracket = l4, placeholder: "请选择", clearable: "" }, { default: p(() => [r(re, { label: "", value: "" }), r(re, { label: ")", value: ")" }), r(re, { label: "))", value: "))" }), r(re, { label: ")))", value: ")))" }), r(re, { label: "))))", value: "))))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "joinSign", label: "并且/或者", width: "80" }, { default: p((e4) => [r(de, { modelValue: e4.row.joinSign, "onUpdate:modelValue": (l4) => e4.row.joinSign = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [r(re, { label: "或者", value: "or" }), r(re, { label: "并且", value: "and" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { prop: "variableIsNull", label: "变量为空时", width: "100" }, { default: p((e4) => [r(de, { modelValue: e4.row.variableIsNull, "onUpdate:modelValue": (l4) => e4.row.variableIsNull = l4, clearable: "", placeholder: "请选择" }, { default: p(() => [r(re, { label: "Null", value: "null" }), r(re, { label: "忽略(1=1)", value: "ignore" }), r(re, { label: "不符合(1<>1)", value: "notequal" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(ne, { label: "操作" }, { header: p(() => [r(k2, { icon: f(w), plain: "", type: "primary", onClick: (l4) => X(null, e3) }, { default: p(() => a2[11] || (a2[11] = [s(" 添加条件 ", -1)])), _: 2, __: [11] }, 1032, ["icon", "onClick"])]), default: p((l4) => [r(ue, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px", "margin-left": "6px" }, onClick: (a3) => X(l4.row, e3) }, { default: p(() => [r(f(w))]), _: 2 }, 1032, ["onClick"]), r(ue, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (a3) => function(e4, l5) {
120
120
  let a4 = R(e4, l5);
121
121
  a4 > -1 && l5.conditions.splice(a4, 1);
122
- }(l4.row, e3) }, { default: p(() => [r(f(T))]), _: 1 }, 8, ["onClick"])]), _: 2 }, 1024)]), _: 2 }, 1032, ["data"])]), _: 2 }, 1024))), 256))])]), _: 1 }, 8, ["modelValue", "title"]), r(ce, { "append-to-body": "", modelValue: W.value, "onUpdate:modelValue": a2[5] || (a2[5] = (e3) => W.value = e3), title: e2.title, width: "900" }, { footer: p(() => [r(k2, { type: "primary", size: "small", onClick: ae }, { default: p(() => [...a2[12] || (a2[12] = [s(" 确定 ", -1)])]), _: 1 }), r(k2, { size: "small", onClick: a2[4] || (a2[4] = (e3) => W.value = false) }, { default: p(() => [...a2[13] || (a2[13] = [s(" 取消 ", -1)])]), _: 1 })]), default: p(() => [r(z2, { modelValue: S.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => S.value = e3), placeholder: "筛选字段", clearable: "" }, null, 8, ["modelValue"]), n("div", L, [r(me, { modelValue: A.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => A.value = e3), class: "group" }, { default: p(() => [(u(true), o(i, null, m(E.value, (e3) => (u(), o("li", { key: e3.dbColumnName, class: "item" }, [r(fe, { value: e3.dbColumnName }, { default: p(() => [s(b(e3.alias), 1)]), _: 2 }, 1032, ["value"])]))), 128))]), _: 1 }, 8, ["modelValue"])])]), _: 1 }, 8, ["modelValue", "title"])], 64);
122
+ }(l4.row, e3) }, { default: p(() => [r(f(T))]), _: 2 }, 1032, ["onClick"])]), _: 2 }, 1024)]), _: 2 }, 1032, ["data"])]), _: 2 }, 1024))), 256))])]), _: 1 }, 8, ["modelValue", "title"]), r(ce, { "append-to-body": "", modelValue: W.value, "onUpdate:modelValue": a2[5] || (a2[5] = (e3) => W.value = e3), title: e2.title, width: "900" }, { footer: p(() => [r(k2, { type: "primary", size: "small", onClick: ae }, { default: p(() => a2[12] || (a2[12] = [s(" 确定 ", -1)])), _: 1, __: [12] }), r(k2, { size: "small", onClick: a2[4] || (a2[4] = (e3) => W.value = false) }, { default: p(() => a2[13] || (a2[13] = [s(" 取消 ", -1)])), _: 1, __: [13] })]), default: p(() => [r(z2, { modelValue: S.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => S.value = e3), placeholder: "筛选字段", clearable: "" }, null, 8, ["modelValue"]), n("div", L, [r(me, { modelValue: A.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => A.value = e3), class: "group" }, { default: p(() => [(u(true), o(i, null, m(E.value, (e3) => (u(), o("li", { key: e3.dbColumnName, class: "item" }, [r(fe, { value: e3.dbColumnName }, { default: p(() => [s(b(e3.alias), 1)]), _: 2 }, 1032, ["value"])]))), 128))]), _: 1 }, 8, ["modelValue"])])]), _: 1 }, 8, ["modelValue", "title"])], 64);
123
123
  };
124
124
  } });
125
125
  export {
@@ -28,17 +28,17 @@ const g = e({ __name: "common-template-select", props: { modelValue: {}, pageDes
28
28
  c.post(window.$vueApp.config.globalProperties.baseAPI + `/dc/template-management/list/${V.pageDesign.systemCode}?publishVersion=${e3}`, {}).then((e4) => {
29
29
  w.value = e4.data;
30
30
  });
31
- }(), V.modelValue || b("update:modelValue", []), (l2, r2) => {
32
- const c2 = t("Plus"), g3 = t("el-icon"), b2 = t("Delete"), C = t("el-table-column"), U = t("el-option"), _ = t("el-select"), y = t("el-table");
33
- return o(), a(y, { data: e2.modelValue, style: { width: "100%" }, "row-key": "uuid" }, { default: u(() => [i(C, { label: "操作", width: "55", align: "center" }, { header: u(() => [i(g3, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: r2[0] || (r2[0] = (e3) => h()) }, { default: u(() => [i(c2)]), _: 1 })]), default: u((e3) => [i(g3, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => h(e3.row, e3.$index) }, { default: u(() => [i(c2)]), _: 1 }, 8, ["onClick"]), i(g3, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
34
- return e3.row, t2 = e3.$index, void V.modelValue.splice(t2, 1);
31
+ }(), V.modelValue || b("update:modelValue", []), (e3, l2) => {
32
+ const r2 = t("Plus"), c2 = t("el-icon"), g3 = t("Delete"), b2 = t("el-table-column"), C = t("el-option"), U = t("el-select"), _ = t("el-table");
33
+ return o(), a(_, { data: e3.modelValue, style: { width: "100%" }, "row-key": "uuid" }, { default: u(() => [i(b2, { label: "操作", width: "55", align: "center" }, { header: u(() => [i(c2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: l2[0] || (l2[0] = (e4) => h()) }, { default: u(() => [i(r2)]), _: 1 })]), default: u((e4) => [i(c2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => h(e4.row, e4.$index) }, { default: u(() => [i(r2)]), _: 2 }, 1032, ["onClick"]), i(c2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => {
34
+ return e4.row, t2 = e4.$index, void V.modelValue.splice(t2, 1);
35
35
  var t2;
36
- } }, { default: u(() => [i(b2)]), _: 1 }, 8, ["onClick"])]), _: 1 }), i(C, { label: "模板", width: "150" }, { default: u((e3) => [i(_, { modelValue: e3.row.templateFileUuids, "onUpdate:modelValue": (l3) => e3.row.templateFileUuids = l3, filterable: "", multiple: "", onChange: (l3) => {
37
- return t2 = l3, a2 = e3.row, e3.$index, void (t2.length > 0 ? (a2.templates = [], w.value.filter((e4) => t2.includes(e4.uuid)).forEach((e4) => {
38
- a2.templates.push({ templateName: e4.fileName, templateUuid: e4.uuid });
36
+ } }, { default: u(() => [i(g3)]), _: 2 }, 1032, ["onClick"])]), _: 1 }), i(b2, { label: "模板", width: "150" }, { default: u((e4) => [i(U, { modelValue: e4.row.templateFileUuids, "onUpdate:modelValue": (l3) => e4.row.templateFileUuids = l3, filterable: "", multiple: "", onChange: (l3) => {
37
+ return t2 = l3, a2 = e4.row, e4.$index, void (t2.length > 0 ? (a2.templates = [], w.value.filter((e5) => t2.includes(e5.uuid)).forEach((e5) => {
38
+ a2.templates.push({ templateName: e5.fileName, templateUuid: e5.uuid });
39
39
  })) : a2.templates = []);
40
40
  var t2, a2;
41
- } }, { default: u(() => [(o(true), n(d, null, s(w.value, (e4) => (o(), a(U, { key: e4.uuid, label: e4.fileName, value: e4.uuid }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), i(C, { label: "条件" }, { default: u((l3) => [i(f, { data: l3.row.conditions, pageDesign: e2.pageDesign, row: l3.row, tableConfigure: e2.tableConfigure, "onUpdate:data": v }, null, 8, ["data", "pageDesign", "row", "tableConfigure"])]), _: 1 }), i(C, { label: "自定义条件" }, { default: u((e3) => [i(_, { modelValue: e3.row.scopeFunc, "onUpdate:modelValue": (l3) => e3.row.scopeFunc = l3, clearable: "", title: e3.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: u(() => [(o(true), n(d, null, s(m(p)(), (e4) => (o(), a(U, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 })]), _: 1 }, 8, ["data"]);
41
+ } }, { default: u(() => [(o(true), n(d, null, s(w.value, (e5) => (o(), a(C, { key: e5.uuid, label: e5.fileName, value: e5.uuid }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }), i(b2, { label: "条件" }, { default: u((l3) => [i(f, { data: l3.row.conditions, pageDesign: e3.pageDesign, row: l3.row, tableConfigure: e3.tableConfigure, "onUpdate:data": v }, null, 8, ["data", "pageDesign", "row", "tableConfigure"])]), _: 1 }), i(b2, { label: "自定义条件" }, { default: u((e4) => [i(U, { modelValue: e4.row.scopeFunc, "onUpdate:modelValue": (l3) => e4.row.scopeFunc = l3, clearable: "", title: e4.row.scopeFunc, size: "small", placeholder: "请选择" }, { default: u(() => [(o(true), n(d, null, s(m(p)(), (e5) => (o(), a(C, { key: e5.value, label: e5.label, value: e5.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 })]), _: 1 }, 8, ["data"]);
42
42
  };
43
43
  } });
44
44
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, computed as u, watch as o, resolveComponent as n, createElementBlock as s, createBlock as i, openBlock as r, toDisplayString as p, withCtx as v, createVNode as d, createElementVNode as m, withDirectives as f, unref as c, createTextVNode as y, vShow as g, normalizeStyle as b, createCommentVNode as h, withModifiers as w, nextTick as V } from "vue";
2
- import { Plus as x, InfoFilled as O, Search as k, CircleClose as C } from "@element-plus/icons-vue";
3
- import M from "agilebuilder-ui/src/utils/request";
4
- import { deepCopy as _, getUuidv4 as z } from "../../../utils/common-util.js";
2
+ import { Plus as x, InfoFilled as O, Search as k, CircleClose as _ } from "@element-plus/icons-vue";
3
+ import C from "agilebuilder-ui/src/utils/request";
4
+ import { deepCopy as M, getUuidv4 as z } from "../../../utils/common-util.js";
5
5
  import { getTypeOptions as j, contextVarOptions as U, taskVarOptions as L } from "./common-variable-bind-option.js";
6
6
  import { usePageContextStore as N } from "../../../../../stores/page-store.js";
7
7
  import { tableField as A } from "../../../../../stores/table-store.js";
@@ -44,7 +44,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
44
44
  function ce() {
45
45
  if (fe == ue.value) return;
46
46
  const e3 = { query: ue.value };
47
- fe = ue.value, M.post(window.$vueApp.config.globalProperties.baseAPI + "/component/system-params/query", e3).then((e4) => {
47
+ fe = ue.value, C.post(window.$vueApp.config.globalProperties.baseAPI + "/component/system-params/query", e3).then((e4) => {
48
48
  const l2 = [];
49
49
  for (let a2 of e4) l2.push({ value: a2.propKey, label: a2.propKey });
50
50
  te.value.systemVarOptions = l2, "system" == ee.value && xe(ee.value);
@@ -84,7 +84,7 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
84
84
  if ("context" === e3) {
85
85
  let e4 = U;
86
86
  if (F.isRange) {
87
- e4 = _(e4);
87
+ e4 = M(e4);
88
88
  for (let l2 = 0; l2 < e4.length; l2++) {
89
89
  if ("currentDate" == e4[l2].value) {
90
90
  e4.splice(l2 + 1, 0, { value: "currentDate", symbolUnit: "d", symbol: "-", type: "range" });
@@ -101,37 +101,37 @@ const R = { key: 0 }, T = { style: { "margin-top": "10px", "font-size": "10px",
101
101
  function ke() {
102
102
  le.value ? (H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value), de()) : ElMessage.warning("请输入参数名");
103
103
  }
104
- function Ce() {
104
+ function _e() {
105
105
  if (ue.value = ue.value.trim(), !ue.value) return void ElMessage.warning("请输入参数名");
106
106
  const e3 = te.value.pageVarOptions || [];
107
107
  for (let l3 of e3) if (l3.value === ue.value) return void ElMessage.warning("该变量已存在!");
108
108
  const l2 = { code: z(), name: ue.value, alias: ue.value, type: "string", defaultValue: "" };
109
109
  K.pageContext.variables || (K.pageContext.variables = []), K.pageContext.variables.push(l2), K.setPageContext(K.pageContext), te.value.pageVarOptions = K.pageContextVarOptions.pageVarOptions, ae.value = te.value.pageVarOptions || [], le.value = ue.value, H.value = "${" + ee.value + "." + ue.value + "}", ue.value = "", W("update:modelValue", H.value), de();
110
110
  }
111
- const Me = l();
112
- function _e() {
111
+ const Ce = l();
112
+ function Me() {
113
113
  G.value = true, V(() => {
114
114
  be(), ee.value && (ne.includes(ee.value) ? (Y.value = false, xe(ee.value)) : Y.value = true, "system" == ee.value && ce()), function() {
115
115
  if (!F.showLabel && !Y.value) {
116
116
  const e3 = me.value.findIndex((e4) => e4.value === le.value);
117
- e3 > -1 && Me.value.setCurrentRow(me.value[e3]);
117
+ e3 > -1 && Ce.value.setCurrentRow(me.value[e3]);
118
118
  }
119
119
  }();
120
120
  });
121
121
  }
122
122
  return (l2, a2) => {
123
- const t2 = n("el-icon"), u2 = n("el-input"), o2 = n("el-cascader-panel"), V2 = n("el-col"), M2 = n("el-empty"), _2 = n("el-button"), z2 = n("el-table-column"), j2 = n("el-option"), U2 = n("el-select"), L2 = n("el-table"), N2 = n("el-row"), A2 = n("el-popover");
124
- return e2.showLabel ? (r(), s("span", R, p(H.value), 1)) : (r(), i(A2, { key: 1, ref_key: "popoverRef", ref: oe, visible: G.value, width: 400 }, { reference: v(() => [d(u2, { readonly: "", size: e2.size, title: H.value, ref_key: "inputRef", ref: J, onClick: _e, formatter: he, modelValue: H.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => H.value = e3), placeholder: e2.placeholder }, { suffix: v(() => [f(d(t2, { style: { cursor: "pointer" }, onClick: w(Oe, ["stop"]) }, { default: v(() => [d(c(C))]), _: 1 }, 512), [[g, H.value]])]), _: 1 }, 8, ["size", "title", "modelValue", "placeholder"])]), default: v(() => [d(N2, { ref_key: "contentRef", ref: Q }, { default: v(() => [d(V2, { span: 8 }, { default: v(() => [d(o2, { modelValue: ee.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => ee.value = e3), onChange: Ve, props: { emitPath: true }, size: "small", options: X.value, style: { height: "240px", width: "100%" } }, null, 8, ["modelValue", "options"])]), _: 1 }), ee.value ? Y.value ? (r(), i(V2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: v(() => [d(u2, { style: { width: "210px" }, size: "small", modelValue: le.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => le.value = e3), placeholder: "请手动输入" }, null, 8, ["modelValue"]), d(_2, { style: { float: "right" }, onClick: ke, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), m("div", T, [d(t2, null, { default: v(() => [d(c(O))]), _: 1 }), a2[5] || (a2[5] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), f(m("div", $, [a2[7] || (a2[7] = y(" 常用参数: ", -1)), d(_2, { type: "primary", size: "small", onClick: a2[3] || (a2[3] = (e3) => {
123
+ const t2 = n("el-icon"), u2 = n("el-input"), o2 = n("el-cascader-panel"), V2 = n("el-col"), C2 = n("el-empty"), M2 = n("el-button"), z2 = n("el-table-column"), j2 = n("el-option"), U2 = n("el-select"), L2 = n("el-table"), N2 = n("el-row"), A2 = n("el-popover");
124
+ return e2.showLabel ? (r(), s("span", R, p(H.value), 1)) : (r(), i(A2, { key: 1, ref_key: "popoverRef", ref: oe, visible: G.value, width: 400 }, { reference: v(() => [d(u2, { readonly: "", size: e2.size, title: H.value, ref_key: "inputRef", ref: J, onClick: Me, formatter: he, modelValue: H.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => H.value = e3), placeholder: e2.placeholder }, { suffix: v(() => [f(d(t2, { style: { cursor: "pointer" }, onClick: w(Oe, ["stop"]) }, { default: v(() => [d(c(_))]), _: 1 }, 512), [[g, H.value]])]), _: 1 }, 8, ["size", "title", "modelValue", "placeholder"])]), default: v(() => [d(N2, { ref_key: "contentRef", ref: Q }, { default: v(() => [d(V2, { span: 8 }, { default: v(() => [d(o2, { modelValue: ee.value, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => ee.value = e3), onChange: Ve, props: { emitPath: true }, size: "small", options: X.value, style: { height: "240px", width: "100%" } }, null, 8, ["modelValue", "options"])]), _: 1 }), ee.value ? Y.value ? (r(), i(V2, { key: 1, span: 16, style: { "padding-left": "10px" } }, { default: v(() => [d(u2, { style: { width: "210px" }, size: "small", modelValue: le.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => le.value = e3), placeholder: "请手动输入" }, null, 8, ["modelValue"]), d(M2, { style: { float: "right" }, onClick: ke, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), m("div", T, [d(t2, null, { default: v(() => [d(c(O))]), _: 1 }), a2[5] || (a2[5] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))]), f(m("div", $, [a2[7] || (a2[7] = y(" 常用参数: ", -1)), d(M2, { type: "primary", size: "small", onClick: a2[3] || (a2[3] = (e3) => {
125
125
  return l3 = "query", le.value = l3, void ke();
126
126
  var l3;
127
- }) }, { default: v(() => [...a2[6] || (a2[6] = [y("query", -1)])]), _: 1 })], 512), [[g, "request" == ee.value]])]), _: 1 })) : (r(), i(V2, { key: 2, span: 16, style: { "padding-left": "10px" } }, { default: v(() => [d(u2, { size: "small", modelValue: ue.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e3) => ue.value = e3), placeholder: "搜索", "suffix-icon": c(k), style: b([{ "margin-bottom": "5px", height: "25px" }, ge.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), f(d(_2, { style: { float: "right" }, onClick: Ce, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), [[g, "page" == ee.value]]), f(m("div", q, [d(t2, null, { default: v(() => [d(c(O))]), _: 1 }), a2[8] || (a2[8] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))], 512), [[g, "page" == ee.value]]), d(L2, { ref_key: "tableRef", ref: Me, height: ye.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: me.value }, { default: v(() => [d(z2, { width: "65" }, { default: v((e3) => [d(_2, { type: "default", size: "small", onClick: (l3) => function(e4) {
127
+ }) }, { default: v(() => a2[6] || (a2[6] = [y("query", -1)])), _: 1, __: [6] })], 512), [[g, "request" == ee.value]])]), _: 1 })) : (r(), i(V2, { key: 2, span: 16, style: { "padding-left": "10px" } }, { default: v(() => [d(u2, { size: "small", modelValue: ue.value, "onUpdate:modelValue": a2[4] || (a2[4] = (e3) => ue.value = e3), placeholder: "搜索", "suffix-icon": c(k), style: b([{ "margin-bottom": "5px", height: "25px" }, ge.value]) }, null, 8, ["modelValue", "suffix-icon", "style"]), f(d(M2, { style: { float: "right" }, onClick: _e, size: "small", type: "primary", icon: c(x), circle: "" }, null, 8, ["icon"]), [[g, "page" == ee.value]]), f(m("div", q, [d(t2, null, { default: v(() => [d(c(O))]), _: 1 }), a2[8] || (a2[8] = m("span", { style: { "margin-left": "5px" } }, "输入变量名后点击加号按钮添加", -1))], 512), [[g, "page" == ee.value]]), d(L2, { ref_key: "tableRef", ref: Ce, height: ye.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "tree-props": { children: "items" }, "highlight-current-row": true, data: me.value }, { default: v(() => [d(z2, { width: "65" }, { default: v((e3) => [d(M2, { type: "default", size: "small", onClick: (l3) => function(e4) {
128
128
  if ("range" == e4.type) {
129
129
  if ("" === e4.symbolNum) return void ElMessage.warning("周期不能为空!");
130
130
  if (isNaN(e4.symbolNum)) return void ElMessage.warning("周期为无效的数字!");
131
131
  "0" != e4.symbolNum ? le.value = e4.value + e4.symbol + e4.symbolNum + e4.symbolUnit : le.value = e4.value;
132
132
  } else le.value = e4.value;
133
133
  H.value = "${" + ee.value + "." + le.value + "}", W("update:modelValue", H.value, e4.alias), de();
134
- }(e3.row) }, { default: v(() => [...a2[9] || (a2[9] = [y(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (r(), s("div", D, [d(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "天", value: "d" }), d(j2, { label: "周", value: "w" }), d(j2, { label: "月", value: "m" }), d(j2, { label: "年", value: "y" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "前", value: "-" }), d(j2, { label: "后", value: "+" })]), _: 1 }, 8, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value ? (r(), s("span", { key: 1, title: e3.row.label + " " + e3.row.value }, p(e3.row.label + " " + e3.row.value), 9, P)) : (r(), s("span", { key: 2, title: e3.row.label }, p(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), m("div", S, "总计:" + p(me.value.length), 1)]), _: 1 })) : (r(), i(V2, { key: 0, span: 16 }, { default: v(() => [d(M2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
134
+ }(e3.row) }, { default: v(() => a2[9] || (a2[9] = [y(" 选择 ", -1)])), _: 2, __: [9] }, 1032, ["onClick"])]), _: 1 }), d(z2, { label: "Date", prop: "label" }, { default: v((e3) => ["context" == ee.value && "range" == e3.row.type ? (r(), s("div", D, [d(u2, { size: "small", modelValue: e3.row.symbolNum, "onUpdate:modelValue": (l3) => e3.row.symbolNum = l3, placeholder: "", style: { width: "35px", "margin-left": "4px" } }, null, 8, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbolUnit, "onUpdate:modelValue": (l3) => e3.row.symbolUnit = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "天", value: "d" }), d(j2, { label: "周", value: "w" }), d(j2, { label: "月", value: "m" }), d(j2, { label: "年", value: "y" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), d(U2, { size: "small", style: { "margin-left": "4px", width: "50px" }, modelValue: e3.row.symbol, "onUpdate:modelValue": (l3) => e3.row.symbol = l3, placeholder: "" }, { default: v(() => [d(j2, { label: "前", value: "-" }), d(j2, { label: "后", value: "+" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])])) : h("", true), "data" == ee.value || "obj" == ee.value || "row" == ee.value ? (r(), s("span", { key: 1, title: e3.row.label + " " + e3.row.value }, p(e3.row.label + " " + e3.row.value), 9, P)) : (r(), s("span", { key: 2, title: e3.row.label }, p(e3.row.label), 9, B))]), _: 1 })]), _: 1 }, 8, ["height", "data"]), m("div", S, "总计:" + p(me.value.length), 1)]), _: 1 })) : (r(), i(V2, { key: 0, span: 16 }, { default: v(() => [d(C2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["visible"]));
135
135
  };
136
136
  } });
137
137
  export {
@@ -2,21 +2,21 @@ import { defineComponent as e, ref as r, onMounted as t, onUnmounted as a, resol
2
2
  import "agilebuilder-ui/src/utils/request";
3
3
  import d from "../button/component/journal-set-dialog.vue.js";
4
4
  const g = e({ name: "Watermark", inheritAttrs: false, __name: "common-watermark", props: { modelValue: { type: [String], default: null }, paramTypes: { type: Array, default: () => [] }, configure: { type: Object, default: () => ({}) } }, emits: ["update:modelValue"], setup(e2, { emit: g2 }) {
5
- const k = e2, w = r(false);
6
- function v() {
7
- w.value = false;
5
+ const k = e2, _ = r(false);
6
+ function w() {
7
+ _.value = false;
8
8
  }
9
- function y(e3) {
10
- k.configure.props.watermark.content = e3, v();
9
+ function v(e3) {
10
+ k.configure.props.watermark.content = e3, w();
11
11
  }
12
12
  return k.configure.props || (k.configure.props = {}), k.configure.props.watermark || (k.configure.props.watermark = {}), void 0 === k.configure.props.watermark.isShowWatermark && (k.configure.props.watermark.isShowWatermark = true), t(() => {
13
13
  }), a(() => {
14
14
  }), (r2, t2) => {
15
- const a2 = o("el-radio"), g3 = o("el-radio-group"), k2 = o("el-form-item"), _ = o("el-button"), b = o("el-text");
16
- return u(), l("div", null, [n(k2, { label: "开启水印", class: "amb-design-attr-item" }, { default: p(() => [n(g3, { modelValue: e2.configure.props.watermark.isShowWatermark, "onUpdate:modelValue": t2[0] || (t2[0] = (r3) => e2.configure.props.watermark.isShowWatermark = r3), class: "ml-4" }, { default: p(() => [n(a2, { value: true }, { default: p(() => [...t2[2] || (t2[2] = [s("是", -1)])]), _: 1 }), n(a2, { value: false }, { default: p(() => [...t2[3] || (t2[3] = [s("否", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(k2, { label: "水印内容", class: "amb-design-attr-item" }, { default: p(() => {
15
+ const a2 = o("el-radio"), g3 = o("el-radio-group"), k2 = o("el-form-item"), y = o("el-button"), b = o("el-text");
16
+ return u(), l("div", null, [n(k2, { label: "开启水印", class: "amb-design-attr-item" }, { default: p(() => [n(g3, { modelValue: e2.configure.props.watermark.isShowWatermark, "onUpdate:modelValue": t2[0] || (t2[0] = (r3) => e2.configure.props.watermark.isShowWatermark = r3), class: "ml-4" }, { default: p(() => [n(a2, { value: true }, { default: p(() => t2[2] || (t2[2] = [s("是", -1)])), _: 1, __: [2] }), n(a2, { value: false }, { default: p(() => t2[3] || (t2[3] = [s("否", -1)])), _: 1, __: [3] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(k2, { label: "水印内容", class: "amb-design-attr-item" }, { default: p(() => {
17
17
  var _a, _b, _c, _d;
18
- return [n(_, { type: "primary", onClick: t2[1] || (t2[1] = (e3) => w.value = true) }, { default: p(() => [...t2[4] || (t2[4] = [s("编辑", -1)])]), _: 1 }), c(n(b, { type: "success" }, { default: p(() => [...t2[5] || (t2[5] = [s("  已设置内容 ", -1)])]), _: 1 }, 512), [[f, ((_b = (_a = e2.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.content) && ((_d = (_c = e2.configure.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.content.length) > 0]])];
19
- }), _: 1 }), w.value ? (u(), i(d, { key: 0, modelValue: e2.configure.props.watermark.content, title: "水印设置", onClose: v, onSave: y }, null, 8, ["modelValue"])) : m("", true)]);
18
+ return [n(y, { type: "primary", onClick: t2[1] || (t2[1] = (e3) => _.value = true) }, { default: p(() => t2[4] || (t2[4] = [s("编辑", -1)])), _: 1, __: [4] }), c(n(b, { type: "success" }, { default: p(() => t2[5] || (t2[5] = [s("  已设置内容 ", -1)])), _: 1, __: [5] }, 512), [[f, ((_b = (_a = e2.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.content) && ((_d = (_c = e2.configure.props) == null ? void 0 : _c.watermark) == null ? void 0 : _d.content.length) > 0]])];
19
+ }), _: 1 }), _.value ? (u(), i(d, { key: 0, modelValue: e2.configure.props.watermark.content, title: "水印设置", onClose: w, onSave: v }, null, 8, ["modelValue"])) : m("", true)]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as i, createBlock as s, openBlock as p, toDisplayString as c, withCtx as d, createVNode as m, createCommentVNode as v, unref as f, createElementVNode as g, Fragment as y, renderList as h, normalizeClass as b, withDirectives as w, vShow as V, normalizeStyle as C, createTextVNode as k, withModifiers as _, nextTick as z } from "vue";
1
+ import { defineComponent as e, ref as l, onMounted as a, onUnmounted as t, reactive as o, computed as n, watch as u, resolveComponent as r, createElementBlock as i, createBlock as s, openBlock as p, toDisplayString as c, withCtx as d, createVNode as m, createCommentVNode as v, unref as f, createElementVNode as g, Fragment as y, renderList as h, normalizeClass as b, withDirectives as w, vShow as V, normalizeStyle as C, createTextVNode as _, withModifiers as k, nextTick as z } from "vue";
2
2
  import { ElMessage as x } from "element-plus";
3
3
  import { Close as S, Check as j, Search as O, Plus as P, CircleClose as T } from "@element-plus/icons-vue";
4
4
  import { EnableStates as A } from "../../../utils/interfaces/page-design-types.js";
@@ -99,10 +99,10 @@ const D = { key: 0 }, U = { class: "amb-component-popover-left-menu-main" }, $ =
99
99
  }
100
100
  return F.value, F.type, (l2, a2) => {
101
101
  const t2 = r("el-icon"), o2 = r("el-input"), n2 = r("el-button"), u2 = r("el-tooltip"), z2 = r("el-col"), x2 = r("el-empty"), A2 = r("el-option"), N2 = r("el-select"), R3 = r("el-row"), F2 = r("el-text"), Q2 = r("el-table-column"), W2 = r("el-table"), re2 = r("el-pagination"), ie2 = r("el-popover");
102
- return e2.showLabel ? (p(), i("span", D, c(e2.rowObj.name ? e2.rowObj.name : e2.rowObj.simpleCode), 1)) : (p(), s(ie2, { key: 1, modelValue: X.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => X.value = e3), ref_key: "popoverRef", ref: G, "popper-class": "amb-component-popover-main", visible: J.value, width: 400 }, { reference: d(() => [m(o2, { ref_key: "inputRef", ref: q, readonly: "", size: "small", onClick: he, title: e2.rowObj.name + "(" + e2.rowObj.simpleCode + ")", formatter: be, modelValue: te.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => te.value = e3), placeholder: "请选择" }, { suffix: d(() => [w(m(t2, { style: { cursor: "pointer" }, onClick: _(ge, ["stop"]) }, { default: d(() => [m(f(T))]), _: 1 }, 512), [[V, ae.value]])]), _: 1 }, 8, ["title", "modelValue"])]), default: d(() => [m(R3, { ref_key: "contentRef", ref: H }, { default: d(() => [m(u2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: d(() => [m(n2, { type: "text", class: "amb-component-popover-close-btn", icon: f(S), onClick: fe }, null, 8, ["icon"])]), _: 1 }), e2.onlyService ? v("", true) : (p(), s(z2, { key: 0, span: 8 }, { default: d(() => [g("div", U, [(p(), i(y, null, h(Z, (e3) => g("div", { class: b(["amb-popover-menu-item", e3.value == le.value ? "is-active" : ""]), onClick: (l3) => ve(e3.value) }, [m(t2, null, { default: d(() => [w(m(f(j), null, null, 512), [[V, e3.value == l2.iconType]])]), _: 2 }, 1024), g("span", null, c(e3.label), 1)], 10, $)), 64))])]), _: 1 })), le.value ? (p(), s(z2, { key: 2, span: e2.onlyService ? 24 : 16, style: { "padding-left": "10px" } }, { default: d(() => [m(R3, null, { default: d(() => [w(m(N2, { modelValue: oe.systemCode, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => oe.systemCode = e3), placeholder: "当前应用", clearable: "", style: { width: "100px" } }, { default: d(() => [(p(true), i(y, null, h(ne.value, (e3) => (p(), s(A2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: oe.searchValue, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => oe.searchValue = e3), placeholder: "搜索", "suffix-icon": f(O), style: C([{ "margin-left": "6px" }, { width: e2.onlyService ? "250px" : "130px" }]) }, null, 8, ["modelValue", "suffix-icon", "style"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: K.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => K.value = e3), placeholder: "请输入", style: { "margin-left": "6px", width: "200px" } }, null, 8, ["modelValue"]), [[V, "custom" == le.value]]), w(m(n2, { style: { "margin-left": "4px" }, onClick: ye, size: "small", type: "primary", icon: f(P), circle: "" }, null, 8, ["icon"]), [[V, "custom" == le.value]])]), _: 1 }), w(g("div", E, [m(F2, { type: "primary" }, { default: d(() => [...a2[7] || (a2[7] = [k("请输入自定义Controller中Permission注解中的code后点击添加图标.", -1)])]), _: 1 })], 512), [[V, "service" != le.value]]), w(m(W2, { ref_key: "tableRef", ref: M, height: me.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "highlight-current-row": true, onSortChange: ce, data: ue.value }, { default: d(() => [m(Q2, { width: "65" }, { default: d((e3) => [m(n2, { type: "default", size: "small", onClick: (l3) => {
102
+ return e2.showLabel ? (p(), i("span", D, c(e2.rowObj.name ? e2.rowObj.name : e2.rowObj.simpleCode), 1)) : (p(), s(ie2, { key: 1, modelValue: X.value, "onUpdate:modelValue": a2[6] || (a2[6] = (e3) => X.value = e3), ref_key: "popoverRef", ref: G, "popper-class": "amb-component-popover-main", visible: J.value, width: 400 }, { reference: d(() => [m(o2, { ref_key: "inputRef", ref: q, readonly: "", size: "small", onClick: he, title: e2.rowObj.name + "(" + e2.rowObj.simpleCode + ")", formatter: be, modelValue: te.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e3) => te.value = e3), placeholder: "请选择" }, { suffix: d(() => [w(m(t2, { style: { cursor: "pointer" }, onClick: k(ge, ["stop"]) }, { default: d(() => [m(f(T))]), _: 1 }, 512), [[V, ae.value]])]), _: 1 }, 8, ["title", "modelValue"])]), default: d(() => [m(R3, { ref_key: "contentRef", ref: H }, { default: d(() => [m(u2, { effect: "dark", content: "关闭", placement: "top-end" }, { default: d(() => [m(n2, { type: "text", class: "amb-component-popover-close-btn", icon: f(S), onClick: fe }, null, 8, ["icon"])]), _: 1 }), e2.onlyService ? v("", true) : (p(), s(z2, { key: 0, span: 8 }, { default: d(() => [g("div", U, [(p(), i(y, null, h(Z, (e3) => g("div", { class: b(["amb-popover-menu-item", e3.value == le.value ? "is-active" : ""]), onClick: (l3) => ve(e3.value) }, [m(t2, null, { default: d(() => [w(m(f(j), null, null, 512), [[V, e3.value == l2.iconType]])]), _: 2 }, 1024), g("span", null, c(e3.label), 1)], 10, $)), 64))])]), _: 1 })), le.value ? (p(), s(z2, { key: 2, span: e2.onlyService ? 24 : 16, style: { "padding-left": "10px" } }, { default: d(() => [m(R3, null, { default: d(() => [w(m(N2, { modelValue: oe.systemCode, "onUpdate:modelValue": a2[1] || (a2[1] = (e3) => oe.systemCode = e3), placeholder: "当前应用", clearable: "", style: { width: "100px" } }, { default: d(() => [(p(true), i(y, null, h(ne.value, (e3) => (p(), s(A2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: oe.searchValue, "onUpdate:modelValue": a2[2] || (a2[2] = (e3) => oe.searchValue = e3), placeholder: "搜索", "suffix-icon": f(O), style: C([{ "margin-left": "6px" }, { width: e2.onlyService ? "250px" : "130px" }]) }, null, 8, ["modelValue", "suffix-icon", "style"]), [[V, "service" == le.value]]), w(m(o2, { size: "small", modelValue: K.value, "onUpdate:modelValue": a2[3] || (a2[3] = (e3) => K.value = e3), placeholder: "请输入", style: { "margin-left": "6px", width: "200px" } }, null, 8, ["modelValue"]), [[V, "custom" == le.value]]), w(m(n2, { style: { "margin-left": "4px" }, onClick: ye, size: "small", type: "primary", icon: f(P), circle: "" }, null, 8, ["icon"]), [[V, "custom" == le.value]])]), _: 1 }), w(g("div", E, [m(F2, { type: "primary" }, { default: d(() => a2[7] || (a2[7] = [_("请输入自定义Controller中Permission注解中的code后点击添加图标.", -1)])), _: 1, __: [7] })], 512), [[V, "service" != le.value]]), w(m(W2, { ref_key: "tableRef", ref: M, height: me.value, "show-header": false, size: "small", "current-row-key": "code", "row-key": "code", "highlight-current-row": true, onSortChange: ce, data: ue.value }, { default: d(() => [m(Q2, { width: "65" }, { default: d((e3) => [m(n2, { type: "default", size: "small", onClick: (l3) => {
103
103
  return a3 = e3.row, ae.value = a3.code, B("update:modelValue", le.value, ae.value, a3.name, a3.id), void Y();
104
104
  var a3;
105
- } }, { default: d(() => [...a2[8] || (a2[8] = [k(" 选择 ", -1)])]), _: 1 }, 8, ["onClick"])]), _: 1 }), m(Q2, { label: "名称", prop: "name", width: "120", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.name }, c(e3.row.name), 9, I)]), _: 1 }), m(Q2, { label: "编码", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.code }, c(e3.row.code), 9, L)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), [[V, "service" == le.value]]), w(m(re2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": ee.currentPage, "onUpdate:currentPage": a2[4] || (a2[4] = (e3) => ee.currentPage = e3), "page-size": ee.pageSize, "onUpdate:pageSize": a2[5] || (a2[5] = (e3) => ee.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: ee.total, onCurrentChange: se }, null, 8, ["current-page", "page-size", "size", "total"]), [[V, "service" == le.value]])]), _: 1 }, 8, ["span"])) : (p(), s(z2, { key: 1, span: 16 }, { default: d(() => [m(x2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["modelValue", "visible"]));
105
+ } }, { default: d(() => a2[8] || (a2[8] = [_(" 选择 ", -1)])), _: 2, __: [8] }, 1032, ["onClick"])]), _: 1 }), m(Q2, { label: "名称", prop: "name", width: "120", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.name }, c(e3.row.name), 9, I)]), _: 1 }), m(Q2, { label: "编码", sortable: "custom" }, { default: d((e3) => [g("span", { style: { "text-align": "left" }, title: e3.row.code }, c(e3.row.code), 9, L)]), _: 1 })]), _: 1 }, 8, ["height", "data"]), [[V, "service" == le.value]]), w(m(re2, { style: { "margin-top": "10px", "justify-content": "center" }, "current-page": ee.currentPage, "onUpdate:currentPage": a2[4] || (a2[4] = (e3) => ee.currentPage = e3), "page-size": ee.pageSize, "onUpdate:pageSize": a2[5] || (a2[5] = (e3) => ee.pageSize = e3), size: l2.small, "pager-count": 3, layout: "pager,total", total: ee.total, onCurrentChange: se }, null, 8, ["current-page", "page-size", "size", "total"]), [[V, "service" == le.value]])]), _: 1 }, 8, ["span"])) : (p(), s(z2, { key: 1, span: 16 }, { default: d(() => [m(x2, { description: "请选择类型", "image-size": 40 })]), _: 1 }))]), _: 1 }, 512)]), _: 1 }, 8, ["modelValue", "visible"]));
106
106
  };
107
107
  } });
108
108
  export {