super-page-designer 2.3.18-tmp1-design1 → 2.3.19-sit2-desgin1

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 (208) hide show
  1. package/dist/es/assets/images/data/file.png.js +4 -0
  2. package/dist/es/assets/images/data/folder.png.js +4 -0
  3. package/dist/es/components/design/utils/assemblys-config.js +6 -6
  4. package/dist/es/components/design/utils/chart-design-util.js +100 -92
  5. package/dist/es/components/design/utils/page-event-util.js +0 -1
  6. package/dist/es/components/design/utils/page-i18n-util.js +5 -6
  7. package/dist/es/components/design/utils/ucr-element-filter.d.ts +2 -0
  8. package/dist/es/components/design/utils/ucr-element-filter.js +11 -0
  9. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +12 -12
  10. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
  11. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +25 -25
  12. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
  14. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
  15. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
  16. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
  17. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
  18. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +8 -8
  19. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
  20. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  21. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  22. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  23. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +1 -1
  24. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +5 -6
  25. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
  26. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  27. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  28. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
  29. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
  30. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
  31. package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +6 -6
  32. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
  33. package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
  34. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
  35. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
  36. package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +7 -4
  37. package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +3 -3
  38. package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
  39. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
  40. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
  41. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
  42. package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
  43. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
  44. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +4 -3
  45. package/dist/es/components/design/views/assemblys/chart/gauge/series/gauge-series-attr.vue.js +1 -1
  46. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  48. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  49. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  51. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  52. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  53. package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +8 -7
  54. package/dist/es/components/design/views/assemblys/chart/pie/series/pie-series-attr.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
  56. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  57. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +3 -2
  58. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  59. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr.vue.js +1 -1
  60. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  61. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  62. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  63. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  64. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  65. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr.vue2.js +1 -1
  67. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-attr.vue.js +1 -1
  68. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  69. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  70. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
  71. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  72. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +1 -1
  73. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
  74. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +9 -9
  75. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +10 -10
  76. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue2.js +11 -10
  77. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  78. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
  79. package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
  80. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
  81. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +24 -27
  82. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +13 -13
  83. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
  84. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
  85. package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
  86. package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
  87. package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
  88. package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
  89. package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +8 -8
  90. package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
  91. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
  92. package/dist/es/components/design/views/assemblys/common/{common-variable-bind.vue3.js → common-variable-bind.vue2.js} +16 -16
  93. package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +9 -9
  94. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +6 -6
  95. package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
  96. package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
  97. package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
  98. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  99. package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
  100. package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
  101. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +9 -9
  102. package/dist/es/components/design/views/assemblys/container/form/form-attr.vue2.js +1 -1
  103. package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +15 -15
  104. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
  105. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
  106. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
  107. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
  108. package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
  109. package/dist/es/components/design/views/assemblys/container/tools/tools-attr.vue2.js +1 -1
  110. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  111. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
  112. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +3 -3
  113. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
  114. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +7 -7
  115. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
  116. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
  117. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +11 -11
  118. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
  119. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  120. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  121. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  122. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
  123. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +4 -4
  124. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +9 -8
  125. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
  126. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  127. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +5 -5
  128. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +6 -6
  129. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  130. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +5 -5
  131. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
  132. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
  133. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +9 -9
  134. package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +25 -25
  135. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +3 -3
  136. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
  137. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
  138. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +9 -9
  139. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +3 -3
  140. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +2 -2
  141. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  142. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +6 -6
  143. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  144. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  145. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +8 -8
  146. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +15 -15
  147. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
  148. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
  149. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
  150. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +3 -3
  151. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
  152. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
  153. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +5 -5
  154. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +1 -1
  155. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +5 -5
  156. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
  157. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +5 -5
  158. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
  159. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
  160. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
  161. package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
  162. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
  163. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
  164. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
  165. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +5 -5
  166. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  167. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  168. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +2 -2
  169. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +5 -5
  170. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  171. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +12 -12
  172. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +12 -12
  173. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
  174. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +8 -8
  175. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +6 -6
  176. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  177. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  178. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  179. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  180. package/dist/es/components/design/views/design/page-design.vue.d.ts +9 -0
  181. package/dist/es/components/design/views/design/page-design.vue2.js +28 -28
  182. package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
  183. package/dist/es/components/design/views/design/page-event/config.vue3.js +23 -24
  184. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  185. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +12 -11
  186. package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +16 -2
  187. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +8 -8
  188. package/dist/es/components/design/views/design/view/assemblys-container-list.vue.d.ts +16 -2
  189. package/dist/es/components/design/views/design/view/assemblys-container-list.vue.js +23 -20
  190. package/dist/es/components/design/views/design/view/assemblys-container.vue.js +11 -12
  191. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
  192. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
  193. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -8
  194. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
  195. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
  196. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.d.ts +38 -0
  197. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.js +7 -0
  198. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js +111 -0
  199. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.d.ts +6 -0
  200. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.js +27 -0
  201. package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +18 -0
  202. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  203. package/dist/es/components/design/views/design/view/page-switch.vue2.js +34 -31
  204. package/dist/es/components/design/views/design/view/view-design-display.vue.js +14 -14
  205. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  206. package/dist/es/stores/undo-redo-store.js +1 -1
  207. package/dist/es/style.css +63 -63
  208. package/package.json +5 -5
@@ -10,9 +10,9 @@ const h = { style: { padding: "8px 0px 0px 0px" } }, k = { style: { padding: "8p
10
10
  return a(() => {
11
11
  }), (l2, a2) => {
12
12
  const E = o("el-option"), B = o("el-select"), O = o("el-form-item"), S = o("el-input"), A = o("el-radio"), D = o("el-radio-group"), q = o("el-collapse-item"), C = o("el-radio-button"), F = o("el-switch"), G = o("el-collapse"), H = o("el-form");
13
- return u(), t(H, { "label-width": "80px", size: "small" }, { default: d(() => [n(G, { modelValue: z.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [n(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", h, [n(O, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), s(r, null, p(m(_)(), (e3) => (u(), t(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(O, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), n(O, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [n(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [c("大", -1)])), _: 1, __: [22] }), n(A, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [c("中", -1)])), _: 1, __: [23] }), n(A, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [c("小", -1)])), _: 1, __: [24] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [c("普通", -1)])), _: 1, __: [25] }), n(A, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [c("禁用", -1)])), _: 1, __: [26] }), n(A, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [c("隐藏", -1)])), _: 1, __: [27] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", k, [n(O, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
13
+ return u(), t(H, { "label-width": "80px", size: "small" }, { default: d(() => [n(G, { modelValue: z.value, "onUpdate:modelValue": a2[21] || (a2[21] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: d(() => [n(q, { title: "基本", name: "base", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", h, [n(O, { label: "组件类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.name, "onUpdate:modelValue": a2[0] || (a2[0] = (l3) => e2.configure.name = l3), placeholder: "请选择" }, { default: d(() => [(u(true), s(r, null, p(m(_)(), (e3) => (u(), t(E, { key: e3.name, label: e3.label, value: e3.name }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "唯一编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.uuid, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.uuid = l3), readonly: "", title: e2.configure.uuid }, null, 8, ["modelValue", "title"])]), _: 1 }), n(O, { label: "自定义编码", class: "amb-design-attr-item" }, { default: d(() => [n(S, { modelValue: e2.configure.code, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.code = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "绑定权限", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(v, { key: e2.configure.uuid, configure: e2.configure }, null, 8, ["configure"]))]), _: 1 }), n(O, { label: "标题", class: "amb-design-attr-item" }, { default: d(() => [n(x, { modelValue: e2.configure.props.base.title, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.base.title = l3) }, null, 8, ["modelValue"])]), _: 1 }), n(O, { label: "尺寸", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.size, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.base.size = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "large" }, { default: d(() => a2[22] || (a2[22] = [c("大")])), _: 1 }), n(A, { value: "default" }, { default: d(() => a2[23] || (a2[23] = [c("中")])), _: 1 }), n(A, { value: "small" }, { default: d(() => a2[24] || (a2[24] = [c("小")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.state, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.base.state = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "default" }, { default: d(() => a2[25] || (a2[25] = [c("普通")])), _: 1 }), n(A, { value: "disabled" }, { default: d(() => a2[26] || (a2[26] = [c("禁用")])), _: 1 }), n(A, { value: "hidden" }, { default: d(() => a2[27] || (a2[27] = [c("隐藏")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { configure: e2.configure }, null, 8, ["configure"])])]), _: 1 }), n(q, { title: "外观", name: "appearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", k, [n(O, { label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.base.type, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.base.type = l3), class: "ml-4", clearable: "" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "图标", class: "amb-design-attr-item" }, { default: d(() => [(u(), t(V, { key: e2.configure.uuid, iconType: e2.configure.props.base.iconType, iconValue: e2.configure.props.base.iconValue, "onUpdate:modelValue": a2[7] || (a2[7] = (e3, l3) => function(e4, l4) {
14
14
  P2.configure.props.base.iconType = e4, P2.configure.props.base.iconValue = l4;
15
- }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(n(O, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [n(C, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [c("标题前", -1)])), _: 1, __: [28] }), n(C, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [c("标题后", -1)])), _: 1, __: [29] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), n(O, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[30] || (a2[30] = [c("是", -1)])), _: 1, __: [30] }), n(A, { value: false }, { default: d(() => a2[31] || (a2[31] = [c("否", -1)])), _: 1, __: [31] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[32] || (a2[32] = [c("是", -1)])), _: 1, __: [32] }), n(A, { value: false }, { default: d(() => a2[33] || (a2[33] = [c("否", -1)])), _: 1, __: [33] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[34] || (a2[34] = [c("button", -1)])), _: 1, __: [34] }), n(A, { value: "submit" }, { default: d(() => a2[35] || (a2[35] = [c("submit", -1)])), _: 1, __: [35] }), n(A, { value: "reset" }, { default: d(() => a2[36] || (a2[36] = [c("reset", -1)])), _: 1, __: [36] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", T, [n(O, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "hover" }, { default: d(() => a2[37] || (a2[37] = [c("鼠标移动", -1)])), _: 1, __: [37] }), n(A, { value: "click" }, { default: d(() => a2[38] || (a2[38] = [c("鼠标点击", -1)])), _: 1, __: [38] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[39] || (a2[39] = [c("按钮", -1)])), _: 1, __: [39] }), n(A, { value: "text" }, { default: d(() => a2[40] || (a2[40] = [c("文本", -1)])), _: 1, __: [40] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[41] || (a2[41] = [c("是", -1)])), _: 1, __: [41] }), n(A, { value: false }, { default: d(() => a2[42] || (a2[42] = [c("否", -1)])), _: 1, __: [42] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), n(O, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [n(E, { value: "bottom" }, { default: d(() => a2[43] || (a2[43] = [c("bottom", -1)])), _: 1, __: [43] }), n(E, { value: "top" }, { default: d(() => a2[44] || (a2[44] = [c("top", -1)])), _: 1, __: [44] }), n(E, { value: "top-start" }, { default: d(() => a2[45] || (a2[45] = [c("top-start", -1)])), _: 1, __: [45] }), n(E, { value: "top-end" }, { default: d(() => a2[46] || (a2[46] = [c("top-end", -1)])), _: 1, __: [46] }), n(E, { value: "bottom-start" }, { default: d(() => a2[47] || (a2[47] = [c("bottom-start", -1)])), _: 1, __: [47] }), n(E, { value: "bottom-end" }, { default: d(() => a2[48] || (a2[48] = [c("bottom-end", -1)])), _: 1, __: [48] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", j, [n(O, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
15
+ }(e3, l3)) }, null, 8, ["iconType", "iconValue"]))]), _: 1 }), f(n(O, { label: "图标位置", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.iconPosition, "onUpdate:modelValue": a2[8] || (a2[8] = (l3) => e2.configure.props.base.iconPosition = l3), class: "ml-4" }, { default: d(() => [n(C, { value: "left" }, { default: d(() => a2[28] || (a2[28] = [c("标题前")])), _: 1 }), n(C, { value: "right" }, { default: d(() => a2[29] || (a2[29] = [c("标题后")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.base.iconValue]]), n(O, { label: "文字按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.text, "onUpdate:modelValue": a2[9] || (a2[9] = (l3) => e2.configure.props.base.text = l3), disabled: !!e2.configure.props.base.plain || !!e2.configure.props.base.plain, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "朴素按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.plain, "onUpdate:modelValue": a2[10] || (a2[10] = (l3) => e2.configure.props.base.plain = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "圆角按钮", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.round, "onUpdate:modelValue": a2[11] || (a2[11] = (l3) => e2.configure.props.base.round = l3), disabled: !!e2.configure.props.base.text, "inline-prompt": "", "active-icon": m(w), "inactive-icon": m(U) }, null, 8, ["modelValue", "disabled", "active-icon", "inactive-icon"])]), _: 1 }), n(O, { label: "加载状态", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.loading, "onUpdate:modelValue": a2[12] || (a2[12] = (l3) => e2.configure.props.base.loading = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[30] || (a2[30] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[31] || (a2[31] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "默认聚焦", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.focus, "onUpdate:modelValue": a2[13] || (a2[13] = (l3) => e2.configure.props.base.focus = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[32] || (a2[32] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[33] || (a2[33] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "原生type", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.base.originalType, "onUpdate:modelValue": a2[14] || (a2[14] = (l3) => e2.configure.props.base.originalType = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[34] || (a2[34] = [c("button")])), _: 1 }), n(A, { value: "submit" }, { default: d(() => a2[35] || (a2[35] = [c("submit")])), _: 1 }), n(A, { value: "reset" }, { default: d(() => a2[36] || (a2[36] = [c("reset")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "下拉按钮外观", name: "dropdowAppearance", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", T, [n(O, { label: "触发行为", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.trigger, "onUpdate:modelValue": a2[15] || (a2[15] = (l3) => e2.configure.props.dropdown.trigger = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "hover" }, { default: d(() => a2[37] || (a2[37] = [c("鼠标移动")])), _: 1 }), n(A, { value: "click" }, { default: d(() => a2[38] || (a2[38] = [c("鼠标点击")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(O, { label: "呈现元素", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.triggerElement, "onUpdate:modelValue": a2[16] || (a2[16] = (l3) => e2.configure.props.dropdown.triggerElement = l3), class: "ml-4" }, { default: d(() => [n(A, { value: "button" }, { default: d(() => a2[39] || (a2[39] = [c("按钮")])), _: 1 }), n(A, { value: "text" }, { default: d(() => a2[40] || (a2[40] = [c("文本")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 0, label: "按钮类型", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.buttonType, "onUpdate:modelValue": a2[17] || (a2[17] = (l3) => e2.configure.props.dropdown.buttonType = l3), class: "ml-4" }, { default: d(() => [n(E, { label: "primary", value: "primary" }), n(E, { label: "success", value: "success" }), n(E, { label: "warning", value: "warning" }), n(E, { label: "danger", value: "danger" }), n(E, { label: "info", value: "info" }), n(E, { label: "default", value: "default" })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), "button" == e2.configure.props.dropdown.triggerElement ? (u(), t(O, { key: 1, label: "分隔符", class: "amb-design-attr-item" }, { default: d(() => [n(D, { modelValue: e2.configure.props.dropdown.splitButton, "onUpdate:modelValue": a2[18] || (a2[18] = (l3) => e2.configure.props.dropdown.splitButton = l3), class: "ml-4" }, { default: d(() => [n(A, { value: true }, { default: d(() => a2[41] || (a2[41] = [c("是")])), _: 1 }), n(A, { value: false }, { default: d(() => a2[42] || (a2[42] = [c("否")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })) : g("", true), n(O, { label: "弹出位置", class: "amb-design-attr-item" }, { default: d(() => [n(B, { modelValue: e2.configure.props.dropdown.placement, "onUpdate:modelValue": a2[19] || (a2[19] = (l3) => e2.configure.props.dropdown.placement = l3), clearable: "", class: "ml-4" }, { default: d(() => [n(E, { value: "bottom" }, { default: d(() => a2[43] || (a2[43] = [c("bottom")])), _: 1 }), n(E, { value: "top" }, { default: d(() => a2[44] || (a2[44] = [c("top")])), _: 1 }), n(E, { value: "top-start" }, { default: d(() => a2[45] || (a2[45] = [c("top-start")])), _: 1 }), n(E, { value: "top-end" }, { default: d(() => a2[46] || (a2[46] = [c("top-end")])), _: 1 }), n(E, { value: "bottom-start" }, { default: d(() => a2[47] || (a2[47] = [c("bottom-start")])), _: 1 }), n(E, { value: "bottom-end" }, { default: d(() => a2[48] || (a2[48] = [c("bottom-end")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), n(q, { title: "其他设置", name: "otherSettings", class: "amb-design-attr-group-header" }, { default: d(() => [i("div", j, [n(O, { label: "权限保护", class: "amb-design-attr-item" }, { default: d(() => [n(F, { modelValue: e2.configure.props.base.isPermission, "onUpdate:modelValue": a2[20] || (a2[20] = (l3) => e2.configure.props.base.isPermission = l3), size: "default" }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 });
16
16
  };
17
17
  } });
18
18
  export {
@@ -9,16 +9,16 @@ import x from "../common/common-style-tooltip.vue.js";
9
9
  import v from "../common/common-style-datazoom.vue.js";
10
10
  import b from "../common/common-style-custom.vue.js";
11
11
  import j from "../../common/common-style-margin.vue.js";
12
- import _ from "../../common/common-style-border.vue.js";
13
- import h from "../../common/common-style-shadow.vue.js";
14
- import V from "../../common/common-style-position.vue.js";
12
+ import h from "../../common/common-style-border.vue.js";
13
+ import V from "../../common/common-style-shadow.vue.js";
14
+ import _ from "../../common/common-style-position.vue.js";
15
15
  const G = { style: { padding: "8px 0px 0px 0px" } }, L = e({ __name: "column-line-attr-style", props: { configure: { type: Object, required: true } }, setup(e2) {
16
16
  const L2 = e2;
17
17
  null == L2.configure.style.yaxisLeft && (L2.configure.style.yaxisLeft = {}), null == L2.configure.style.yaxisRight && (L2.configure.style.yaxisRight = {});
18
18
  const z = o(["titleFont", "subtitleFont", "styleLegend", "styleGrid"]);
19
19
  return (o2, L3) => {
20
20
  const R = l("el-input-number"), U = l("el-text"), w = l("el-form-item"), C = l("el-collapse-item"), F = l("el-collapse"), Y = l("el-form");
21
- return t(), n(Y, { "label-width": "80px", size: "small" }, { default: i(() => [m(F, { modelValue: z.value, "onUpdate:modelValue": L3[2] || (L3[2] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(m(a, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.title]]), u(m(f, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.subTitle]]), m(g, { configure: e2.configure }, null, 8, ["configure"]), m(p, { configure: e2.configure }, null, 8, ["configure"]), m(y, { configure: e2.configure }, null, 8, ["configure"]), m(d, { yaxis: e2.configure.style.yaxisLeft, name: "styleYaxisLeft", title: "纵坐标(左)" }, null, 8, ["yaxis"]), m(d, { yaxis: e2.configure.style.yaxisRight, name: "styleYaxisRight", title: "纵坐标(右)" }, null, 8, ["yaxis"]), m(x, { configure: e2.configure }, null, 8, ["configure"]), m(C, { title: "柱间距离(系列为柱状图时有效)", name: "styleBarGap", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [m(w, { label: "不同系列距离(%)", style: { "margin-top": "4px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barGap, "onUpdate:modelValue": L3[0] || (L3[0] = (o3) => e2.configure.style.barGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[3] || (L3[3] = [c(" 不同系列的柱间距离 ", -1)])), _: 1, __: [3] })]), _: 1 }), m(w, { label: "同系列距离(%)", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barCategoryGap, "onUpdate:modelValue": L3[1] || (L3[1] = (o3) => e2.configure.style.barCategoryGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[4] || (L3[4] = [c(" 同一系列的柱间距离,默认为类目间距的20% ", -1)])), _: 1, __: [4] })]), _: 1 })])]), _: 1 }), m(v, { configure: e2.configure }, null, 8, ["configure"]), m(b, { configure: e2.configure }, null, 8, ["configure"]), m(j, { configure: e2.configure }, null, 8, ["configure"]), m(_, { configure: e2.configure }, null, 8, ["configure"]), m(h, { configure: e2.configure }, null, 8, ["configure"]), m(V, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
21
+ return t(), n(Y, { "label-width": "80px", size: "small" }, { default: i(() => [m(F, { modelValue: z.value, "onUpdate:modelValue": L3[2] || (L3[2] = (e3) => z.value = e3), style: { "margin-top": "6px" } }, { default: i(() => [u(m(a, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.title]]), u(m(f, { configure: e2.configure }, null, 8, ["configure"]), [[r, e2.configure.props.subTitle]]), m(g, { configure: e2.configure }, null, 8, ["configure"]), m(p, { configure: e2.configure }, null, 8, ["configure"]), m(y, { configure: e2.configure }, null, 8, ["configure"]), m(d, { yaxis: e2.configure.style.yaxisLeft, name: "styleYaxisLeft", title: "纵坐标(左)" }, null, 8, ["yaxis"]), m(d, { yaxis: e2.configure.style.yaxisRight, name: "styleYaxisRight", title: "纵坐标(右)" }, null, 8, ["yaxis"]), m(x, { configure: e2.configure }, null, 8, ["configure"]), m(C, { title: "柱间距离(系列为柱状图时有效)", name: "styleBarGap", class: "amb-design-attr-group-header" }, { default: i(() => [s("div", G, [m(w, { label: "不同系列距离(%)", style: { "margin-top": "4px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barGap, "onUpdate:modelValue": L3[0] || (L3[0] = (o3) => e2.configure.style.barGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[3] || (L3[3] = [c(" 不同系列的柱间距离 ")])), _: 1 })]), _: 1 }), m(w, { label: "同系列距离(%)", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [m(R, { modelValue: e2.configure.style.barCategoryGap, "onUpdate:modelValue": L3[1] || (L3[1] = (o3) => e2.configure.style.barCategoryGap = o3), min: -100, max: 100 }, null, 8, ["modelValue"]), m(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => L3[4] || (L3[4] = [c(" 同一系列的柱间距离,默认为类目间距的20% ")])), _: 1 })]), _: 1 })])]), _: 1 }), m(v, { configure: e2.configure }, null, 8, ["configure"]), m(b, { configure: e2.configure }, null, 8, ["configure"]), m(j, { configure: e2.configure }, null, 8, ["configure"]), m(h, { configure: e2.configure }, null, 8, ["configure"]), m(V, { configure: e2.configure }, null, 8, ["configure"]), m(_, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
22
22
  };
23
23
  } });
24
24
  export {
@@ -16,7 +16,7 @@ const y = { class: "amb-design-attr-content" }, D = { class: "amb-design-attr-he
16
16
  q();
17
17
  }), (n2, l2) => {
18
18
  const C3 = a("el-badge");
19
- return s(), t("div", y, [u("div", D, [u("div", j, [u("label", { class: c({ selected: "base" == O.value }), onClick: l2[0] || (l2[0] = (e3) => O.value = "base") }, "属性", 2), u("label", { class: c({ selected: "style" == O.value }), onClick: l2[1] || (l2[1] = (e3) => O.value = "style") }, "样式", 2), u("label", { class: c({ selected: "event" == O.value }), onClick: l2[2] || (l2[2] = (e3) => O.value = "event") }, [l2[4] || (l2[4] = i(" 事件 ", -1)), _.value > 0 ? (s(), o(C3, { key: 0, value: _.value }, null, 8, ["value"])) : r("", true)], 2), u("label", { class: c({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", k, [g(v(f, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "base" == O.value]]), g(v(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), g(v(b, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
19
+ return s(), t("div", y, [u("div", D, [u("div", j, [u("label", { class: c({ selected: "base" == O.value }), onClick: l2[0] || (l2[0] = (e3) => O.value = "base") }, "属性", 2), u("label", { class: c({ selected: "style" == O.value }), onClick: l2[1] || (l2[1] = (e3) => O.value = "style") }, "样式", 2), u("label", { class: c({ selected: "event" == O.value }), onClick: l2[2] || (l2[2] = (e3) => O.value = "event") }, [l2[4] || (l2[4] = i(" 事件 ")), _.value > 0 ? (s(), o(C3, { key: 0, value: _.value }, null, 8, ["value"])) : r("", true)], 2), u("label", { class: c({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", k, [g(v(f, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "base" == O.value]]), g(v(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), g(v(b, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
20
20
  };
21
21
  } });
22
22
  export {
@@ -2,13 +2,12 @@ import { defineComponent as e, ref as l, resolveComponent as o, createBlock as a
2
2
  import m from "../../common-series/common-attr-dataset-columnline.vue.js";
3
3
  import d from "../../common-series/common-attr-dynamic.vue.js";
4
4
  import c from "../../common-series/common-attr-testdatas.vue.js";
5
- import g from "../../../form/common/suffixmodule.vue.js";
6
- const f = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "column-line-series-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
7
- e2.pageDesign;
5
+ import f from "../../../form/common/suffixmodule.vue.js";
6
+ const g = { style: { padding: "8px 0px 0px 0px" } }, x = { style: { padding: "8px 0px 0px 0px" } }, y = e({ __name: "column-line-series-attr-base", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => ({ props: {} }) } }, setup(e2) {
8
7
  const y2 = l(["1", "dataList", "propsDynamic", "clicklinkage", "propsTestDatas"]);
9
- return (l2, _) => {
10
- const b = o("el-option"), V = o("el-select"), v = o("el-form-item"), h = o("el-switch"), D = o("el-input"), j = o("el-radio-button"), k = o("el-radio-group"), U = o("el-collapse-item"), S = o("el-collapse"), w = o("el-form");
11
- return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue": _[4] || (_[4] = (e3) => y2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(U, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", f, [i(v, { label: "系列类型", style: { "margin-top": "4px" } }, { default: u(() => [i(V, { modelValue: e2.configure.type, "onUpdate:modelValue": _[0] || (_[0] = (l3) => e2.configure.type = l3) }, { default: u(() => [i(b, { label: "柱状图", value: "bar" }), i(b, { label: "折线图", value: "line" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(v, { label: "曲线", style: { "margin-top": "-10px" } }, { default: u(() => [i(h, { modelValue: e2.configure.style.isSmooth, "onUpdate:modelValue": _[1] || (_[1] = (l3) => e2.configure.style.isSmooth = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "line" == e2.configure.type]]), i(v, { label: "系列名称", style: { "margin-top": "-10px" } }, { default: u(() => [i(D, { modelValue: e2.configure.props.title, "onUpdate:modelValue": _[2] || (_[2] = (l3) => e2.configure.props.title = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(v, { label: "Y坐标参照", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [i(k, { modelValue: e2.configure.props.yAxisIndex, "onUpdate:modelValue": _[3] || (_[3] = (l3) => e2.configure.props.yAxisIndex = l3) }, { default: u(() => [i(j, { value: "0" }, { default: u(() => _[5] || (_[5] = [s("左坐标", -1)])), _: 1, __: [5] }), i(j, { value: "1" }, { default: u(() => _[6] || (_[6] = [s("右坐标", -1)])), _: 1, __: [6] })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(m, { configure: e2.configure }, null, 8, ["configure"]), r(i(d, { configure: e2.configure }, null, 8, ["configure"]), [[p, !e2.configure.props.yaxisSource || "variable" === e2.configure.props.yaxisSource]]), i(U, { title: "Click跳转配置", name: "clicklinkage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", x, [(t(), a(g, { key: e2.configure.uuid, configure: e2.configure, pageDesign: e2.pageDesign, isButton: false }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), i(c, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
8
+ return (l2, b) => {
9
+ const V = o("el-option"), v = o("el-select"), _ = o("el-form-item"), h = o("el-switch"), j = o("el-input"), k = o("el-radio-button"), D = o("el-radio-group"), U = o("el-collapse-item"), S = o("el-collapse"), w = o("el-form");
10
+ return t(), a(w, { "label-width": "80px", size: "small" }, { default: u(() => [i(S, { modelValue: y2.value, "onUpdate:modelValue": b[4] || (b[4] = (e3) => y2.value = e3), style: { "margin-top": "6px" } }, { default: u(() => [i(U, { title: "基本", name: "1", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", g, [i(_, { label: "系列类型", style: { "margin-top": "4px" } }, { default: u(() => [i(v, { modelValue: e2.configure.type, "onUpdate:modelValue": b[0] || (b[0] = (l3) => e2.configure.type = l3) }, { default: u(() => [i(V, { label: "柱状图", value: "bar" }), i(V, { label: "折线图", value: "line" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), r(i(_, { label: "曲线", style: { "margin-top": "-10px" } }, { default: u(() => [i(h, { modelValue: e2.configure.style.isSmooth, "onUpdate:modelValue": b[1] || (b[1] = (l3) => e2.configure.style.isSmooth = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[p, "line" == e2.configure.type]]), i(_, { label: "系列名称", style: { "margin-top": "-10px" } }, { default: u(() => [i(j, { modelValue: e2.configure.props.title, "onUpdate:modelValue": b[2] || (b[2] = (l3) => e2.configure.props.title = l3), placeholder: "请输入" }, null, 8, ["modelValue"])]), _: 1 }), i(_, { label: "Y坐标参照", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [i(D, { modelValue: e2.configure.props.yAxisIndex, "onUpdate:modelValue": b[3] || (b[3] = (l3) => e2.configure.props.yAxisIndex = l3) }, { default: u(() => [i(k, { value: "0" }, { default: u(() => b[5] || (b[5] = [s("左坐标")])), _: 1 }), i(k, { value: "1" }, { default: u(() => b[6] || (b[6] = [s("右坐标")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 })])]), _: 1 }), i(m, { configure: e2.configure }, null, 8, ["configure"]), r(i(d, { configure: e2.configure }, null, 8, ["configure"]), [[p, !e2.configure.props.yaxisSource || "variable" === e2.configure.props.yaxisSource]]), i(U, { title: "Click跳转配置", name: "clicklinkage", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", x, [(t(), a(f, { key: e2.configure.uuid, configure: e2.configure, pageDesign: e2.pageDesign, isButton: false }, null, 8, ["configure", "pageDesign"]))])]), _: 1 }), i(c, { configure: e2.configure }, null, 8, ["configure"])]), _: 1 }, 8, ["modelValue"])]), _: 1 });
12
11
  };
13
12
  } });
14
13
  export {
@@ -17,7 +17,7 @@ const b = { class: "amb-design-attr-content" }, y = { class: "amb-design-attr-he
17
17
  w();
18
18
  }), (l2, a2) => {
19
19
  const C3 = u("el-badge");
20
- return n(), s("div", b, [t("div", y, [t("div", j, [t("label", { class: i(D.value), onClick: a2[0] || (a2[0] = (e3) => x("base")) }, "属性", 2), t("label", { class: i(O.value), onClick: a2[1] || (a2[1] = (e3) => x("style")) }, "样式", 2), t("label", { class: i(_.value), onClick: a2[2] || (a2[2] = (e3) => x("event")) }, [a2[4] || (a2[4] = c(" 事件 ", -1)), L.value > 0 ? (n(), o(C3, { key: 0, value: L.value }, null, 8, ["value"])) : r("", true)], 2), t("label", { class: i(q.value), onClick: a2[3] || (a2[3] = (e3) => x("advice")) }, "高级", 2)])]), t("div", k, [v(g(f, { configure: e2.configure, "page-design": e2.pageDesign }, null, 8, ["configure", "page-design"]), [[d, D.value]]), v(g(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, O.value]]), v(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, _.value]])])]);
20
+ return n(), s("div", b, [t("div", y, [t("div", j, [t("label", { class: i(D.value), onClick: a2[0] || (a2[0] = (e3) => x("base")) }, "属性", 2), t("label", { class: i(O.value), onClick: a2[1] || (a2[1] = (e3) => x("style")) }, "样式", 2), t("label", { class: i(_.value), onClick: a2[2] || (a2[2] = (e3) => x("event")) }, [a2[4] || (a2[4] = c(" 事件 ")), L.value > 0 ? (n(), o(C3, { key: 0, value: L.value }, null, 8, ["value"])) : r("", true)], 2), t("label", { class: i(q.value), onClick: a2[3] || (a2[3] = (e3) => x("advice")) }, "高级", 2)])]), t("div", k, [v(g(f, { configure: e2.configure, "page-design": e2.pageDesign }, null, 8, ["configure", "page-design"]), [[d, D.value]]), v(g(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, O.value]]), v(g(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, _.value]])])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as a, openBlock as o, withCtx as u, createElementVNode as t, createVNode as d, withDirectives as r, createTextVNode as n, vShow as i } from "vue";
2
2
  const m = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "style-bar", props: { configure: { type: Object, required: true } }, setup: (e2) => (s2, p) => {
3
3
  const f = l("el-input-number"), g = l("el-form-item"), y = l("el-color-picker"), c = l("el-option"), b = l("el-select"), V = l("el-divider"), x = l("el-collapse-item");
4
- return o(), a(x, { title: "柱体", name: "styleBar", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(g, { label: "宽度", style: { "margin-top": "4px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.barWidth, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.barWidth = l2), min: 1, max: 400 }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "最小宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.minWidth, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.minWidth = l2), min: 1, max: e2.configure.style.maxWidth }, null, 8, ["modelValue", "max"])]), _: 1 }), d(g, { label: "最大宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.maxWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.maxWidth = l2), min: e2.configure.style.minWidth, max: 400 }, null, 8, ["modelValue", "min"])]), _: 1 }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "1", value: "1" }), d(c, { label: "0.9", value: "0.9" }), d(c, { label: "0.8", value: "0.8" }), d(c, { label: "0.7", value: "0.7" }), d(c, { label: "0.6", value: "0.6" }), d(c, { label: "0.5", value: "0.5" }), d(c, { label: "0.4", value: "0.4" }), d(c, { label: "0.3", value: "0.3" }), d(c, { label: "0.2", value: "0.2" }), d(c, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[14] || (p[14] = [n(" 背景 ", -1)])), _: 1, __: [14] }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.barBackgroundColor, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.barBackgroundColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[15] || (p[15] = [n(" 边宽 ", -1)])), _: 1, __: [15] }), d(g, { label: "边框颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "边框线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.borderLineType, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.borderLineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "solid", value: "solid" }), d(c, { label: "dashed", value: "dashed" }), d(c, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框圆角", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderRadius, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.borderRadius = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), d(V, null, { default: u(() => p[16] || (p[16] = [n(" 阴影 ", -1)])), _: 1, __: [16] }), d(g, { label: "阴影颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[10] || (p[10] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "阴影模糊", style: { "margin-top": "15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[11] || (p[11] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "水平偏移", style: { "margin-top": "23px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[12] || (p[12] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "垂直偏移", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[13] || (p[13] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]])])]), _: 1 });
4
+ return o(), a(x, { title: "柱体", name: "styleBar", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(g, { label: "宽度", style: { "margin-top": "4px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.barWidth, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.barWidth = l2), min: 1, max: 400 }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "最小宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.minWidth, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.minWidth = l2), min: 1, max: e2.configure.style.maxWidth }, null, 8, ["modelValue", "max"])]), _: 1 }), d(g, { label: "最大宽度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.maxWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.maxWidth = l2), min: e2.configure.style.minWidth, max: 400 }, null, 8, ["modelValue", "min"])]), _: 1 }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(g, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "1", value: "1" }), d(c, { label: "0.9", value: "0.9" }), d(c, { label: "0.8", value: "0.8" }), d(c, { label: "0.7", value: "0.7" }), d(c, { label: "0.6", value: "0.6" }), d(c, { label: "0.5", value: "0.5" }), d(c, { label: "0.4", value: "0.4" }), d(c, { label: "0.3", value: "0.3" }), d(c, { label: "0.2", value: "0.2" }), d(c, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[14] || (p[14] = [n(" 背景 ")])), _: 1 }), d(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.barBackgroundColor, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.barBackgroundColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(V, null, { default: u(() => p[15] || (p[15] = [n(" 边宽 ")])), _: 1 }), d(g, { label: "边框颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "边框线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.borderWidth = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(b, { modelValue: e2.configure.style.borderLineType, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.borderLineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(c, { label: "solid", value: "solid" }), d(c, { label: "dashed", value: "dashed" }), d(c, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), r(d(g, { label: "边框圆角", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.borderRadius, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.borderRadius = l2), min: 0, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.borderColor]]), d(V, null, { default: u(() => p[16] || (p[16] = [n(" 阴影 ")])), _: 1 }), d(g, { label: "阴影颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(y, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[10] || (p[10] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(g, { label: "阴影模糊", style: { "margin-top": "15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[11] || (p[11] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "水平偏移", style: { "margin-top": "23px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[12] || (p[12] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]]), r(d(g, { label: "垂直偏移", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[13] || (p[13] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.shadowColor]])])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  s as default
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as a, openBlock as o, withCtx as u, createElementVNode as t, createVNode as d, withDirectives as n, vShow as r, createTextVNode as i } from "vue";
2
2
  const m = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "style-line", props: { configure: { type: Object, required: true } }, setup: (e2) => (s2, p) => {
3
3
  const c = l("el-color-picker"), y = l("el-form-item"), b = l("el-option"), f = l("el-select"), g = l("el-input-number"), V = l("el-divider"), v = l("el-collapse-item");
4
- return o(), a(v, { title: "折线", name: "styleLine", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(y, { label: "颜色", style: { "margin-top": "4px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "1", value: "1" }), d(b, { label: "0.9", value: "0.9" }), d(b, { label: "0.8", value: "0.8" }), d(b, { label: "0.7", value: "0.7" }), d(b, { label: "0.6", value: "0.6" }), d(b, { label: "0.5", value: "0.5" }), d(b, { label: "0.4", value: "0.4" }), d(b, { label: "0.3", value: "0.3" }), d(b, { label: "0.2", value: "0.2" }), d(b, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.lineWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.lineWidth = l2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.lineType, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.lineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "solid", value: "solid" }), d(b, { label: "dashed", value: "dashed" }), d(b, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "阴影颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(y, { label: "阴影模糊", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "垂直偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), d(V, null, { default: u(() => p[10] || (p[10] = [i("拐点标记", -1)])), _: 1, __: [10] }), d(y, { label: "标记图形", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.symbol, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.symbol = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "none", value: "none" }), d(b, { label: "circle", value: "circle" }), d(b, { label: "rect", value: "rect" }), d(b, { label: "roundRect", value: "roundRect" }), d(b, { label: "triangle", value: "triangle" }), d(b, { label: "diamond", value: "diamond" }), d(b, { label: "pin", value: "pin" }), d(b, { label: "arrow", value: "arrow" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "标记大小", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.symbolSize, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.symbolSize = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
4
+ return o(), a(v, { title: "折线", name: "styleLine", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [d(y, { label: "颜色", style: { "margin-top": "4px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.color, "onUpdate:modelValue": p[0] || (p[0] = (l2) => e2.configure.style.color = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": p[1] || (p[1] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "1", value: "1" }), d(b, { label: "0.9", value: "0.9" }), d(b, { label: "0.8", value: "0.8" }), d(b, { label: "0.7", value: "0.7" }), d(b, { label: "0.6", value: "0.6" }), d(b, { label: "0.5", value: "0.5" }), d(b, { label: "0.4", value: "0.4" }), d(b, { label: "0.3", value: "0.3" }), d(b, { label: "0.2", value: "0.2" }), d(b, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线宽", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.lineWidth, "onUpdate:modelValue": p[2] || (p[2] = (l2) => e2.configure.style.lineWidth = l2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), d(y, { label: "线型", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.lineType, "onUpdate:modelValue": p[3] || (p[3] = (l2) => e2.configure.style.lineType = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "solid", value: "solid" }), d(b, { label: "dashed", value: "dashed" }), d(b, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "阴影颜色", style: { "margin-top": "-10px" } }, { default: u(() => [d(c, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": p[4] || (p[4] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(d(y, { label: "阴影模糊", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": p[5] || (p[5] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": p[6] || (p[6] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), n(d(y, { label: "垂直偏移", style: { "margin-top": "-10px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": p[7] || (p[7] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.shadowColor]]), d(V, null, { default: u(() => p[10] || (p[10] = [i("拐点标记")])), _: 1 }), d(y, { label: "标记图形", style: { "margin-top": "-10px" } }, { default: u(() => [d(f, { modelValue: e2.configure.style.symbol, "onUpdate:modelValue": p[8] || (p[8] = (l2) => e2.configure.style.symbol = l2), placeholder: "默认", clearable: "" }, { default: u(() => [d(b, { label: "none", value: "none" }), d(b, { label: "circle", value: "circle" }), d(b, { label: "rect", value: "rect" }), d(b, { label: "roundRect", value: "roundRect" }), d(b, { label: "triangle", value: "triangle" }), d(b, { label: "diamond", value: "diamond" }), d(b, { label: "pin", value: "pin" }), d(b, { label: "arrow", value: "arrow" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(y, { label: "标记大小", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [d(g, { modelValue: e2.configure.style.symbolSize, "onUpdate:modelValue": p[9] || (p[9] = (l2) => e2.configure.style.symbolSize = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  s as default
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as e, ref as l, computed as a, onUnmounted as t, resolveComponent as i, createBlock as r, openBlock as o, withCtx as n, createElementVNode as u, createVNode as s, createCommentVNode as c, unref as d, createElementBlock as p, Fragment as m, renderList as f, toDisplayString as g, createTextVNode as v, withDirectives as b, vShow as y } from "vue";
2
2
  import x from "../../common/page-permission-select.vue.js";
3
3
  import V from "../../form/common/data-origin-service-in.vue.js";
4
- import { usePageContextStore as _ } from "../../../../../../stores/page-store.js";
5
- import { queryServiceReturnFields as h, queryServiceInfo as $ } from "../../../../utils/page-service-util.js";
4
+ import { usePageContextStore as h } from "../../../../../../stores/page-store.js";
5
+ import { queryServiceReturnFields as _, queryServiceInfo as $ } from "../../../../utils/page-service-util.js";
6
6
  import F from "../../common/common-variable-bind.vue.js";
7
7
  import { getUuidv4 as O } from "../../../../utils/common-util.js";
8
8
  import { ElMessageBox as S, ElMessage as j } from "element-plus";
9
9
  const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left" } }, w = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, U = { style: { float: "left" } }, k = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, z = { style: { width: "100%", "padding-left": "20px", "margin-bottom": "-15px" } }, C = e({ __name: "common-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
10
- const C2 = e2, I = _().pageContext, L = l([]), Q = a(() => L.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type)), q = a(() => L.value.filter((e3) => {
10
+ const C2 = e2, I = h().pageContext, L = l([]), Q = a(() => L.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type)), q = a(() => L.value.filter((e3) => {
11
11
  if ("number" == e3.type || "any" == e3.type || !e3.type) {
12
12
  const l2 = C2.configure.serviceDataField;
13
13
  if (!l2 || e3.value.startsWith(l2 + ".")) {
@@ -25,7 +25,7 @@ const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left
25
25
  const e3 = B.service.id;
26
26
  if (J != e3) {
27
27
  if (J = e3, !e3) return C2.configure.serviceFields = [], L.value = [], void (C2.configure.serviceDataField = null);
28
- h(B.service.simpleCode).then((e4) => {
28
+ _(B.service.simpleCode).then((e4) => {
29
29
  C2.configure.serviceFields = e4, L.value = e4, function() {
30
30
  if (!C2.configure.serviceDataField) return;
31
31
  let e5 = false;
@@ -62,10 +62,10 @@ const D = { style: { padding: "8px 0px 0px 0px" } }, T = { style: { float: "left
62
62
  return t(() => {
63
63
  N && clearTimeout(N);
64
64
  }), (l2, a2) => {
65
- const t2 = i("el-form-item"), _2 = i("el-option"), h2 = i("el-select"), $2 = i("el-text"), O2 = i("el-switch"), S2 = i("el-radio"), j2 = i("QuestionFilled"), C3 = i("el-icon"), L2 = i("el-tooltip"), J2 = i("el-input"), N2 = i("el-radio-group"), R = i("el-collapse-item");
65
+ const t2 = i("el-form-item"), h2 = i("el-option"), _2 = i("el-select"), $2 = i("el-text"), O2 = i("el-switch"), S2 = i("el-radio"), j2 = i("QuestionFilled"), C3 = i("el-icon"), L2 = i("el-tooltip"), J2 = i("el-input"), N2 = i("el-radio-group"), R = i("el-collapse-item");
66
66
  return o(), r(R, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", D, [s(t2, { label: "选择服务", class: "amb-design-attr-item" }, { default: n(() => [s(x, { pageDesign: d(I), rowObj: d(B).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
67
67
  B.service.id, B.service.simpleCode = l4, B.service.id = t4, B.service.name = a4, W();
68
- }(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [s(h2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(Q.value, (e3, l3) => (o(), r(_2, { key: l3, label: e3.label, value: e3.value }, { default: n(() => [u("span", T, g(e3.label), 1), u("span", w, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s($2, { type: "success", size: "small" }, { default: n(() => a2[7] || (a2[7] = [v("默认为根目录", -1)])), _: 1, __: [7] })]), _: 1 }), s(t2, { label: "结果设值到", class: "amb-design-attr-item" }, { default: n(() => [(o(), r(F, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.resultSet, "onUpdate:modelValue": E }, null, 8, ["modelValue"]))]), _: 1 }), s(t2, { label: "立即查询", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.initializationQuery, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.initializationQuery = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(t2, { label: "是否导出", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.exportable, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.exportable = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(V, { ref: "dataOriginServiceInRef", dataOrigin: e2.configure.props.dataOrigin }, null, 8, ["dataOrigin"]), "pie" == e2.chartType ? (o(), r(N2, { key: 0, modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: n(() => [b(s(t2, { class: "amb-design-attr-item" }, { label: n(() => [s(S2, { value: "variable" }, { default: n(() => a2[8] || (a2[8] = [v("数据字段", -1)])), _: 1, __: [8] })]), default: n(() => [s(h2, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.yaxisField = l3), disabled: "variable" != e2.configure.props.yaxisSource, title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(q.value, (e3) => (o(), r(_2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: n(() => [u("span", U, g(e3.numLabel), 1), u("span", k, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "title"])]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(s(S2, { value: "formula", style: { "margin-top": "25px" } }, { default: n(() => [a2[10] || (a2[10] = v("计算公式  ", -1)), s(L2, { class: "box-item", effect: "dark", placement: "top-start" }, { content: n(() => a2[9] || (a2[9] = [v("字段值: ${row.字段名}", -1), u("br", null, null, -1), v(" 最大值: ${max.字段名}", -1), u("br", null, null, -1), v("    求和: ${sum.字段名}", -1), u("br", null, null, -1), v("    均值: ${avg.字段名}", -1), u("br", null, null, -1), v(" 最小值: ${min.字段名}", -1), u("br", null, null, -1), v(" 最大值: ${max.字段名}", -1), u("br", null, null, -1), v(" 累计值: ${add.字段名}", -1), u("br", null, null, -1), v(" 其他可用变量如${page},${data},${task},${request},${context},${system}", -1), u("br", null, null, -1)])), default: n(() => [s(C3, { size: "16" }, { default: n(() => [s(j2)]), _: 1 })]), _: 1 })]), _: 1, __: [10] }, 512), [[y, "pie" == e2.chartType]]), b(u("div", z, [s(J2, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])], 512), [[y, "pie" == e2.chartType]])]), _: 1 }, 8, ["modelValue"])) : c("", true)])]), _: 1 });
68
+ }(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", class: "amb-design-attr-item" }, { default: n(() => [s(_2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(Q.value, (e3, l3) => (o(), r(h2, { key: l3, label: e3.label, value: e3.value }, { default: n(() => [u("span", T, g(e3.label), 1), u("span", w, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s($2, { type: "success", size: "small" }, { default: n(() => a2[7] || (a2[7] = [v("默认为根目录")])), _: 1 })]), _: 1 }), s(t2, { label: "结果设值到", class: "amb-design-attr-item" }, { default: n(() => [(o(), r(F, { key: e2.configure.uuid, modelValue: e2.configure.props.dataOrigin.resultSet, "onUpdate:modelValue": E }, null, 8, ["modelValue"]))]), _: 1 }), s(t2, { label: "立即查询", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.initializationQuery, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.initializationQuery = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(t2, { label: "是否导出", class: "amb-design-attr-item" }, { default: n(() => [s(O2, { modelValue: e2.configure.exportable, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.exportable = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(V, { ref: "dataOriginServiceInRef", dataOrigin: e2.configure.props.dataOrigin }, null, 8, ["dataOrigin"]), "pie" == e2.chartType ? (o(), r(N2, { key: 0, modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": a2[6] || (a2[6] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: n(() => [b(s(t2, { class: "amb-design-attr-item" }, { label: n(() => [s(S2, { value: "variable" }, { default: n(() => a2[8] || (a2[8] = [v("数据字段")])), _: 1 })]), default: n(() => [s(_2, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.yaxisField = l3), disabled: "variable" != e2.configure.props.yaxisSource, title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), p(m, null, f(q.value, (e3) => (o(), r(h2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: n(() => [u("span", U, g(e3.numLabel), 1), u("span", k, g(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "disabled", "title"])]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(s(S2, { value: "formula", style: { "margin-top": "25px" } }, { default: n(() => [a2[10] || (a2[10] = v("计算公式  ")), s(L2, { class: "box-item", effect: "dark", placement: "top-start" }, { content: n(() => a2[9] || (a2[9] = [v("字段值: ${row.字段名}"), u("br", null, null, -1), v(" 最大值: ${max.字段名}"), u("br", null, null, -1), v("    求和: ${sum.字段名}"), u("br", null, null, -1), v("    均值: ${avg.字段名}"), u("br", null, null, -1), v(" 最小值: ${min.字段名}"), u("br", null, null, -1), v(" 最大值: ${max.字段名}"), u("br", null, null, -1), v(" 累计值: ${add.字段名}"), u("br", null, null, -1), v(" 其他可用变量如${page},${data},${task},${request},${context},${system}"), u("br", null, null, -1)])), default: n(() => [s(C3, { size: "16" }, { default: n(() => [s(j2)]), _: 1 })]), _: 1 })]), _: 1 }, 512), [[y, "pie" == e2.chartType]]), b(u("div", z, [s(J2, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])], 512), [[y, "pie" == e2.chartType]])]), _: 1 }, 8, ["modelValue"])) : c("", true)])]), _: 1 });
69
69
  };
70
70
  } });
71
71
  export {
@@ -1,5 +1,5 @@
1
- import { defineComponent as e, onUnmounted as l, ref as o, watch as r, resolveComponent as a, createBlock as u, openBlock as t, withCtx as p, createElementVNode as i, createVNode as n, withDirectives as s, unref as c, createElementBlock as g, Fragment as d, renderList as f, toDisplayString as m, vShow as b, createTextVNode as _ } from "vue";
2
- import { Top as v, Bottom as x, Plus as V, Delete as h } from "@element-plus/icons-vue";
1
+ import { defineComponent as e, onUnmounted as l, ref as o, watch as r, resolveComponent as a, createBlock as u, openBlock as t, withCtx as p, createElementVNode as i, createVNode as n, withDirectives as s, unref as c, createElementBlock as g, Fragment as d, renderList as f, toDisplayString as m, vShow as b, createTextVNode as v } from "vue";
2
+ import { Top as x, Bottom as V, Plus as _, Delete as h } from "@element-plus/icons-vue";
3
3
  import y from "../../common/common-variable-bind.vue.js";
4
4
  import { getUuidv4 as w } from "../../../../utils/common-util.js";
5
5
  const k = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, D = { style: { float: "left" } }, U = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, S = e({ __name: "common-attr-groupby", props: { configure: { type: Object, required: true } }, setup(e2) {
@@ -50,20 +50,20 @@ const k = { style: { padding: "8px 0px 0px 0px" } }, C = { style: { "text-align"
50
50
  if (l4 < 1) return;
51
51
  const o3 = S2.configure.props.groups;
52
52
  [o3[l4 - 1], o3[l4]] = [o3[l4], o3[l4 - 1]];
53
- }(e3.row) }, { default: p(() => [n(c(v))]), _: 2 }, 1032, ["onClick"]), n(r2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
53
+ }(e3.row) }, { default: p(() => [n(c(x))]), _: 2 }, 1032, ["onClick"]), n(r2, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l3) => function(e4) {
54
54
  let l4 = z(e4);
55
55
  if (-1 == l4 || S2.configure.props.groups.length == l4 + 1) return;
56
56
  const o3 = S2.configure.props.groups;
57
57
  [o3[l4], o3[l4 + 1]] = [o3[l4 + 1], o3[l4]];
58
- }(e3.row) }, { default: p(() => [n(c(x))]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), n(w2, { prop: "label", label: "维度字段", width: "90" }, { default: p((e3) => [n(E2, { modelValue: e3.row.group, "onUpdate:modelValue": (l3) => e3.row.group = l3, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(w2, { prop: "value", label: "绑定字段", width: "90" }, { default: p((e3) => [n(P, { size: "small", modelValue: e3.row.target, "onUpdate:modelValue": (l3) => e3.row.target = l3, title: e3.row.target, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: p(() => [(t(true), g(d, null, f(F.value, (e4) => (t(), u(G2, { key: e4.value, label: e4.label, value: e4.value }, { default: p(() => [i("span", D, m(e4.label), 1), i("span", U, m(e4.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), n(w2, { label: "操作", width: "60" }, { default: p((e3) => [n(r2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => T(e3.row) }, { default: p(() => [n(c(V))]), _: 2 }, 1032, ["onClick"]), n(r2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
58
+ }(e3.row) }, { default: p(() => [n(c(V))]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), n(w2, { prop: "label", label: "维度字段", width: "90" }, { default: p((e3) => [n(E2, { modelValue: e3.row.group, "onUpdate:modelValue": (l3) => e3.row.group = l3, placeholder: "请输入" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), n(w2, { prop: "value", label: "绑定字段", width: "90" }, { default: p((e3) => [n(P, { size: "small", modelValue: e3.row.target, "onUpdate:modelValue": (l3) => e3.row.target = l3, title: e3.row.target, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: p(() => [(t(true), g(d, null, f(F.value, (e4) => (t(), u(G2, { key: e4.value, label: e4.label, value: e4.value }, { default: p(() => [i("span", D, m(e4.label), 1), i("span", U, m(e4.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title"])]), _: 1 }), n(w2, { label: "操作", width: "60" }, { default: p((e3) => [n(r2, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l3) => T(e3.row) }, { default: p(() => [n(c(_))]), _: 2 }, 1032, ["onClick"]), n(r2, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l3) => function(e4) {
59
59
  let l4 = z(e4);
60
60
  l4 > -1 && (S2.configure.props.groups.splice(l4, 1), 0 == S2.configure.props.groups.length && (j = setTimeout(function() {
61
61
  T(null);
62
62
  }, 10)));
63
- }(e3.row) }, { default: p(() => [n(c(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(W, { label: "数据钻取", style: { "margin-top": "10px", "margin-bottom": "-15px" } }, { default: p(() => [n(q, { modelValue: e2.configure.props.enableDrill, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.enableDrill = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(n(W, { label: "维度来源", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.groupSource, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.groupSource = l3), placeholder: "默认", clearable: "" }, { default: p(() => [n(G2, { label: "固定值", value: "fix" }), n(G2, { label: "变量", value: "variable" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.enableDrill]]), s(n(W, { label: "显示位置", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.groupPosition, "onUpdate:modelValue": o2[2] || (o2[2] = (l3) => e2.configure.props.groupPosition = l3), placeholder: "不显示", clearable: "" }, { default: p(() => [n(G2, { label: "居左", value: "left" }), n(G2, { label: "居中", value: "center" }), n(G2, { label: "居右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.groupSource || "fix" == e2.configure.props.groupSource || e2.configure.props.enableDrill]]), s(n(W, { label: "显示组件", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(B, { modelValue: e2.configure.props.groupComponent, "onUpdate:modelValue": o2[3] || (o2[3] = (l3) => e2.configure.props.groupComponent = l3) }, { default: p(() => [n(A, { value: "group" }, { default: p(() => o2[7] || (o2[7] = [_("选项组", -1)])), _: 1, __: [7] }), n(A, { value: "radio" }, { default: p(() => o2[8] || (o2[8] = [_("单选", -1)])), _: 1, __: [8] }), n(A, { value: "checkbox" }, { default: p(() => o2[9] || (o2[9] = [_("多选", -1)])), _: 1, __: [9] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "variable" != e2.configure.props.groupSource && e2.configure.props.groupPosition && !e2.configure.props.enableDrill]]), s(n(W, { label: "维度变量", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(y, { modelValue: e2.configure.props.groupVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => {
63
+ }(e3.row) }, { default: p(() => [n(c(h))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), n(W, { label: "数据钻取", style: { "margin-top": "10px", "margin-bottom": "-15px" } }, { default: p(() => [n(q, { modelValue: e2.configure.props.enableDrill, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.enableDrill = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(n(W, { label: "维度来源", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.groupSource, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.groupSource = l3), placeholder: "默认", clearable: "" }, { default: p(() => [n(G2, { label: "固定值", value: "fix" }), n(G2, { label: "变量", value: "variable" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.enableDrill]]), s(n(W, { label: "显示位置", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.groupPosition, "onUpdate:modelValue": o2[2] || (o2[2] = (l3) => e2.configure.props.groupPosition = l3), placeholder: "不显示", clearable: "" }, { default: p(() => [n(G2, { label: "居左", value: "left" }), n(G2, { label: "居中", value: "center" }), n(G2, { label: "居右", value: "right" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.groupSource || "fix" == e2.configure.props.groupSource || e2.configure.props.enableDrill]]), s(n(W, { label: "显示组件", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(B, { modelValue: e2.configure.props.groupComponent, "onUpdate:modelValue": o2[3] || (o2[3] = (l3) => e2.configure.props.groupComponent = l3) }, { default: p(() => [n(A, { value: "group" }, { default: p(() => o2[7] || (o2[7] = [v("选项组")])), _: 1 }), n(A, { value: "radio" }, { default: p(() => o2[8] || (o2[8] = [v("单选")])), _: 1 }), n(A, { value: "checkbox" }, { default: p(() => o2[9] || (o2[9] = [v("多选")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, "variable" != e2.configure.props.groupSource && e2.configure.props.groupPosition && !e2.configure.props.enableDrill]]), s(n(W, { label: "维度变量", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(y, { modelValue: e2.configure.props.groupVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => {
64
64
  return l3 = e3, void (S2.configure.props.groupVariable = l3);
65
65
  var l3;
66
- }) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, "variable" == e2.configure.props.groupSource && !e2.configure.props.enableDrill]]), s(n(W, { label: "多维度显示", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(B, { modelValue: e2.configure.props.mulGroupShow, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.mulGroupShow = l3) }, { default: p(() => [n(A, { value: "space" }, { default: p(() => o2[10] || (o2[10] = [_("空格", -1)])), _: 1, __: [10] }), n(A, { value: "break" }, { default: p(() => o2[11] || (o2[11] = [_("换行", -1)])), _: 1, __: [11] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.enableDrill]]), s(n(W, { label: "最后层级时", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.drillEndTrigger, "onUpdate:modelValue": o2[6] || (o2[6] = (l3) => e2.configure.props.drillEndTrigger = l3), clearable: "", placeholder: "无动作" }, { default: p(() => [n(G2, { value: "clearDrill", label: "清除钻取层级" }), n(G2, { value: "clickEvent", label: "触发Click跳转" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.enableDrill]])])]), _: 1 });
66
+ }) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, "variable" == e2.configure.props.groupSource && !e2.configure.props.enableDrill]]), s(n(W, { label: "多维度显示", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(B, { modelValue: e2.configure.props.mulGroupShow, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.mulGroupShow = l3) }, { default: p(() => [n(A, { value: "space" }, { default: p(() => o2[10] || (o2[10] = [v("空格")])), _: 1 }), n(A, { value: "break" }, { default: p(() => o2[11] || (o2[11] = [v("换行")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, !e2.configure.props.enableDrill]]), s(n(W, { label: "最后层级时", style: { "margin-top": "20px", "margin-bottom": "-15px" } }, { default: p(() => [n(P, { modelValue: e2.configure.props.drillEndTrigger, "onUpdate:modelValue": o2[6] || (o2[6] = (l3) => e2.configure.props.drillEndTrigger = l3), clearable: "", placeholder: "无动作" }, { default: p(() => [n(G2, { value: "clearDrill", label: "清除钻取层级" }), n(G2, { value: "clickEvent", label: "触发Click跳转" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.props.enableDrill]])])]), _: 1 });
67
67
  };
68
68
  } });
69
69
  export {
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as e, ref as l, watch as o, resolveComponent as a, createBlock as r, openBlock as u, withCtx as i, createElementVNode as t, createVNode as p, withDirectives as m, createElementBlock as d, Fragment as s, renderList as n, createTextVNode as c, vShow as f } from "vue";
2
2
  import g from "../../common/common-variable-bind.vue.js";
3
3
  const b = { style: { padding: "8px 0px 0px 0px" } }, V = e({ __name: "common-attr-sortby", props: { configure: { type: Object, required: true } }, setup(e2) {
4
- const V2 = e2, _ = l([]);
5
- function x(e3, l2) {
4
+ const V2 = e2, x = l([]);
5
+ function v(e3, l2) {
6
6
  "orderVariable" == l2 ? V2.configure.props.orderVariable = e3 : "itemNumVariable" == l2 && (V2.configure.props.itemNumVariable = e3);
7
7
  }
8
8
  return o(V2.configure.items, () => {
9
9
  !function() {
10
10
  const e3 = [];
11
11
  if (e3.push({ value: "X", label: "[横坐标]" }), V2.configure.items) for (let l2 of V2.configure.items) l2.props && l2.props.title && e3.push({ value: l2.uuid, label: l2.props.title });
12
- _.value = e3;
12
+ x.value = e3;
13
13
  }();
14
14
  }, { immediate: true }), (l2, o2) => {
15
- const V3 = a("el-option"), v = a("el-select"), y = a("el-form-item"), h = a("el-radio"), N = a("el-text"), S = a("el-radio-group"), U = a("el-divider"), w = a("el-switch"), T = a("el-input-number"), B = a("el-input"), F = a("el-collapse-item");
16
- return u(), r(F, { title: "排序", name: "propsSort", class: "amb-design-attr-group-header" }, { default: i(() => [t("div", b, [p(y, { label: "排序对象", style: { "margin-top": "4px", "margin-bottom": "-5px" } }, { default: i(() => [p(v, { modelValue: e2.configure.props.orderByTarget, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.orderByTarget = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(u(true), d(s, null, n(_.value, (e3) => (u(), r(V3, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(S, { modelValue: e2.configure.props.orderSource, "onUpdate:modelValue": o2[3] || (o2[3] = (l3) => e2.configure.props.orderSource = l3) }, { default: i(() => [m(p(y, { style: { "margin-top": "15px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => o2[9] || (o2[9] = [c("排序方式", -1)])), _: 1, __: [9] })]), default: i(() => [p(v, { style: { width: "90px" }, modelValue: e2.configure.props.orderFix, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.orderFix = l3), disabled: "fix" != e2.configure.props.orderSource, placeholder: "默认", clearable: "" }, { default: i(() => [p(V3, { label: "升序", value: "asc" }), p(V3, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]]), m(p(y, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => o2[10] || (o2[10] = [c("排序变量", -1)])), _: 1, __: [10] })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.orderSource, modelValue: e2.configure.props.orderVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => x(e3, "orderVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => o2[11] || (o2[11] = [c("将根据此变量排序", -1)])), _: 1, __: [11] }, 512), [[f, "variable" == e2.configure.props.orderSource]])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]])]), _: 1 }, 8, ["modelValue"]), p(U, { style: { "margin-top": "-5px", "margin-bottom": "15px" } }), p(y, { label: "限制数量", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(w, { modelValue: e2.configure.props.limitQuantity, "onUpdate:modelValue": o2[4] || (o2[4] = (l3) => e2.configure.props.limitQuantity = l3) }, null, 8, ["modelValue"])]), _: 1 }), m(p(S, { modelValue: e2.configure.props.itemNumSource, "onUpdate:modelValue": o2[7] || (o2[7] = (l3) => e2.configure.props.itemNumSource = l3) }, { default: i(() => [p(y, { style: { "margin-top": "25px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => o2[12] || (o2[12] = [c("固定数量", -1)])), _: 1, __: [12] })]), default: i(() => [p(T, { disabled: e2.configure.props.itemNumSource && "fix" != e2.configure.props.itemNumSource, placeholder: "10", modelValue: e2.configure.props.itemNumFix, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.itemNumFix = l3), min: 1 }, null, 8, ["disabled", "modelValue"])]), _: 1 }), p(y, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => o2[13] || (o2[13] = [c("数量变量", -1)])), _: 1, __: [13] })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.itemNumSource, modelValue: e2.configure.props.itemNumVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => x(e3, "itemNumVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => o2[14] || (o2[14] = [c("将根据此变量控制显示数量", -1)])), _: 1, __: [14] }, 512), [[f, "variable" == e2.configure.props.itemNumSource]])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), [[f, e2.configure.props.limitQuantity]]), m(p(y, { label: "超出时别名", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(B, { modelValue: e2.configure.props.overItemAlias, "onUpdate:modelValue": o2[8] || (o2[8] = (l3) => e2.configure.props.overItemAlias = l3), placeholder: "请输入" }, null, 8, ["modelValue"]), p(N, { type: "success", size: "small" }, { default: i(() => o2[15] || (o2[15] = [c("未设置时不显示超出数量的数据项", -1)])), _: 1, __: [15] })]), _: 1 }, 512), [[f, e2.configure.props.limitQuantity]])])]), _: 1 });
15
+ const V3 = a("el-option"), y = a("el-select"), _ = a("el-form-item"), h = a("el-radio"), N = a("el-text"), S = a("el-radio-group"), U = a("el-divider"), w = a("el-switch"), T = a("el-input-number"), B = a("el-input"), F = a("el-collapse-item");
16
+ return u(), r(F, { title: "排序", name: "propsSort", class: "amb-design-attr-group-header" }, { default: i(() => [t("div", b, [p(_, { label: "排序对象", style: { "margin-top": "4px", "margin-bottom": "-5px" } }, { default: i(() => [p(y, { modelValue: e2.configure.props.orderByTarget, "onUpdate:modelValue": o2[0] || (o2[0] = (l3) => e2.configure.props.orderByTarget = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(u(true), d(s, null, n(x.value, (e3) => (u(), r(V3, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(S, { modelValue: e2.configure.props.orderSource, "onUpdate:modelValue": o2[3] || (o2[3] = (l3) => e2.configure.props.orderSource = l3) }, { default: i(() => [m(p(_, { style: { "margin-top": "15px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => o2[9] || (o2[9] = [c("排序方式")])), _: 1 })]), default: i(() => [p(y, { style: { width: "90px" }, modelValue: e2.configure.props.orderFix, "onUpdate:modelValue": o2[1] || (o2[1] = (l3) => e2.configure.props.orderFix = l3), disabled: "fix" != e2.configure.props.orderSource, placeholder: "默认", clearable: "" }, { default: i(() => [p(V3, { label: "升序", value: "asc" }), p(V3, { label: "降序", value: "desc" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]]), m(p(_, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => o2[10] || (o2[10] = [c("排序变量")])), _: 1 })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.orderSource, modelValue: e2.configure.props.orderVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => v(e3, "orderVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => o2[11] || (o2[11] = [c("将根据此变量排序")])), _: 1 }, 512), [[f, "variable" == e2.configure.props.orderSource]])]), _: 1 }, 512), [[f, e2.configure.props.orderByTarget]])]), _: 1 }, 8, ["modelValue"]), p(U, { style: { "margin-top": "-5px", "margin-bottom": "15px" } }), p(_, { label: "限制数量", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(w, { modelValue: e2.configure.props.limitQuantity, "onUpdate:modelValue": o2[4] || (o2[4] = (l3) => e2.configure.props.limitQuantity = l3) }, null, 8, ["modelValue"])]), _: 1 }), m(p(S, { modelValue: e2.configure.props.itemNumSource, "onUpdate:modelValue": o2[7] || (o2[7] = (l3) => e2.configure.props.itemNumSource = l3) }, { default: i(() => [p(_, { style: { "margin-top": "25px" } }, { label: i(() => [p(h, { value: "fix" }, { default: i(() => o2[12] || (o2[12] = [c("固定数量")])), _: 1 })]), default: i(() => [p(T, { disabled: e2.configure.props.itemNumSource && "fix" != e2.configure.props.itemNumSource, placeholder: "10", modelValue: e2.configure.props.itemNumFix, "onUpdate:modelValue": o2[5] || (o2[5] = (l3) => e2.configure.props.itemNumFix = l3), min: 1 }, null, 8, ["disabled", "modelValue"])]), _: 1 }), p(_, { style: { "margin-top": "-10px" } }, { label: i(() => [p(h, { value: "variable" }, { default: i(() => o2[13] || (o2[13] = [c("数量变量")])), _: 1 })]), default: i(() => [p(g, { showLabel: "variable" != e2.configure.props.itemNumSource, modelValue: e2.configure.props.itemNumVariable, paramTypes: ["data", "page"], "onUpdate:modelValue": o2[6] || (o2[6] = (e3) => v(e3, "itemNumVariable")) }, null, 8, ["showLabel", "modelValue"]), m(p(N, { type: "success", size: "small" }, { default: i(() => o2[14] || (o2[14] = [c("将根据此变量控制显示数量")])), _: 1 }, 512), [[f, "variable" == e2.configure.props.itemNumSource]])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), [[f, e2.configure.props.limitQuantity]]), m(p(_, { label: "超出时别名", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [p(B, { modelValue: e2.configure.props.overItemAlias, "onUpdate:modelValue": o2[8] || (o2[8] = (l3) => e2.configure.props.overItemAlias = l3), placeholder: "请输入" }, null, 8, ["modelValue"]), p(N, { type: "success", size: "small" }, { default: i(() => o2[15] || (o2[15] = [c("未设置时不显示超出数量的数据项")])), _: 1 })]), _: 1 }, 512), [[f, e2.configure.props.limitQuantity]])])]), _: 1 });
17
17
  };
18
18
  } });
19
19
  export {
@@ -4,10 +4,10 @@ import { Plus as v, Delete as g } from "@element-plus/icons-vue";
4
4
  const k = { style: { "text-align": "center" } }, y = e({ __name: "common-attr-stack", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" } }, setup(e2) {
5
5
  var _a;
6
6
  const y2 = e2, h = l([]);
7
- function _(e3) {
8
- h.value.splice(e3 + 1, 0, { series: [], uuid: m() }), b();
7
+ function b(e3) {
8
+ h.value.splice(e3 + 1, 0, { series: [], uuid: m() }), _();
9
9
  }
10
- function b() {
10
+ function _() {
11
11
  const e3 = [];
12
12
  for (let l2 = 0; l2 < h.value.length; l2++) h.value[l2] && h.value[l2].series && h.value[l2].series.length > 0 && e3.push(h.value[l2]);
13
13
  0 !== e3.length ? y2.configure.stacks = e3 : y2.configure.stacks = null;
@@ -16,9 +16,9 @@ const k = { style: { "text-align": "center" } }, y = e({ __name: "common-attr-st
16
16
  const y3 = t("el-button"), C = t("el-option"), V = t("el-select"), x = t("el-icon"), O = t("el-collapse-item");
17
17
  return a(), u(O, { title: "堆叠系列", name: "stackList", class: "amb-design-attr-group-header" }, { default: n(() => {
18
18
  var _a2;
19
- return [i("div", k, [((_a2 = h.value) == null ? void 0 : _a2.length) ? (a(true), o(c, { key: 1 }, p(h.value, (l3, t2) => (a(), o("div", { key: t2, class: "bind-variable-item" }, [d(V, { onChange: b, modelValue: h.value[t2].series, "onUpdate:modelValue": (e3) => h.value[t2].series = e3, placeholder: "选择系列", multiple: "", clearable: "" }, { default: n(() => [(a(true), o(c, null, p(e2.configure.items, (e3) => (a(), u(C, { key: e3.uuid, label: e3.props.title, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), d(x, { onClick: s((e3) => _(t2), ["prevent"]) }, { default: n(() => [d(f(v))]), _: 2 }, 1032, ["onClick"]), d(x, { onClick: s((e3) => function(e4) {
20
- h.value.splice(e4, 1), b();
21
- }(t2), ["prevent"]) }, { default: n(() => [d(f(g))]), _: 2 }, 1032, ["onClick"])]))), 128)) : (a(), u(y3, { key: 0, type: "text", onClick: m2[0] || (m2[0] = s((e3) => _(0), ["prevent"])) }, { default: n(() => m2[1] || (m2[1] = [r("添加堆叠系列", -1)])), _: 1, __: [1] }))])];
19
+ return [i("div", k, [((_a2 = h.value) == null ? void 0 : _a2.length) ? (a(true), o(c, { key: 1 }, p(h.value, (l3, t2) => (a(), o("div", { key: t2, class: "bind-variable-item" }, [d(V, { onChange: _, modelValue: h.value[t2].series, "onUpdate:modelValue": (e3) => h.value[t2].series = e3, placeholder: "选择系列", multiple: "", clearable: "" }, { default: n(() => [(a(true), o(c, null, p(e2.configure.items, (e3) => (a(), u(C, { key: e3.uuid, label: e3.props.title, value: e3.uuid }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"]), d(x, { onClick: s((e3) => b(t2), ["prevent"]) }, { default: n(() => [d(f(v))]), _: 2 }, 1032, ["onClick"]), d(x, { onClick: s((e3) => function(e4) {
20
+ h.value.splice(e4, 1), _();
21
+ }(t2), ["prevent"]) }, { default: n(() => [d(f(g))]), _: 2 }, 1032, ["onClick"])]))), 128)) : (a(), u(y3, { key: 0, type: "text", onClick: m2[0] || (m2[0] = s((e3) => b(0), ["prevent"])) }, { default: n(() => m2[1] || (m2[1] = [r("添加堆叠系列")])), _: 1 }))])];
22
22
  }), _: 1 });
23
23
  };
24
24
  } });
@@ -2,9 +2,9 @@ import { defineComponent as e, ref as a, reactive as o, resolveComponent as l, c
2
2
  import { Top as h, Bottom as v } from "@element-plus/icons-vue";
3
3
  import y from "../../common/common-variable-bind.vue.js";
4
4
  import { getAttrComponentByName as b } from "../../../../utils/assemblys-config.js";
5
- import { getDefaultComponent as C, updateConfEvents as _ } from "../../../../utils/home-chart-util.js";
6
- import x from "../../object-design.vue.js";
7
- import { getUuidv4 as H } from "../../../../utils/common-util.js";
5
+ import { getDefaultComponent as C, updateConfEvents as x } from "../../../../utils/home-chart-util.js";
6
+ import H from "../../object-design.vue.js";
7
+ import { getUuidv4 as _ } from "../../../../utils/common-util.js";
8
8
  import "@vueuse/core";
9
9
  const V = { style: { padding: "8px 0px 0px 0px" } }, k = { class: "dialog-footer" }, w = e({ __name: "common-home-chart", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
10
10
  } } }, setup(e2) {
@@ -19,7 +19,7 @@ const V = { style: { padding: "8px 0px 0px 0px" } }, k = { class: "dialog-footer
19
19
  const T = () => {
20
20
  U.value = true;
21
21
  }, q = () => {
22
- w2.configure.pushHomepage.initConfig.unshift({ prop: "", value: "", uuid: H() });
22
+ w2.configure.pushHomepage.initConfig.unshift({ prop: "", value: "", uuid: _() });
23
23
  }, A = () => {
24
24
  w2.configure.pushHomepage.searchConditions.push(C());
25
25
  }, R = (e3, a2) => {
@@ -27,25 +27,25 @@ const V = { style: { padding: "8px 0px 0px 0px" } }, k = { class: "dialog-footer
27
27
  "up" === a2 ? (w2.configure.pushHomepage.searchConditions[e3] = w2.configure.pushHomepage.searchConditions[e3 - 1], w2.configure.pushHomepage.searchConditions[e3 - 1] = o2) : (w2.configure.pushHomepage.searchConditions[e3] = w2.configure.pushHomepage.searchConditions[e3 + 1], w2.configure.pushHomepage.searchConditions[e3 + 1] = o2);
28
28
  };
29
29
  function B(e3) {
30
- _(e3), j.value = e3, $.value = b(e3.name);
30
+ x(e3), j.value = e3, $.value = b(e3.name);
31
31
  }
32
32
  return (a2, o2) => {
33
- const C2 = l("el-switch"), _2 = l("el-button"), H2 = l("el-form-item"), E = l("el-alert"), F = l("el-table-column"), G = l("el-table"), I = l("el-input"), J = l("el-button-group"), K = l("el-drawer"), L = l("el-dialog"), M = l("el-collapse-item");
34
- return n(), i(M, { title: "推送首页", name: "pushHomepage", class: "amb-design-attr-group-header" }, { default: u(() => [p("div", V, [r(H2, { label: "是否推送", class: "amb-design-attr-item" }, { default: u(() => [r(C2, { modelValue: e2.configure.pushHomepage.enable, "onUpdate:modelValue": o2[0] || (o2[0] = (a3) => e2.configure.pushHomepage.enable = a3), "inline-prompt": "", "active-text": "是", "inactive-text": "否", onChange: z }, null, 8, ["modelValue"]), e2.configure.pushHomepage.enable ? (n(), i(_2, { key: 0, type: "primary", onClick: T }, { default: u(() => o2[4] || (o2[4] = [s(" 编辑 ", -1)])), _: 1, __: [4] })) : t("", true)]), _: 1 })]), e2.configure.pushHomepage && e2.configure.pushHomepage.enable ? (n(), i(L, { key: 0, id: "pushHomepageDialog", "append-to-body": false, modelValue: U.value, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => U.value = e3), title: "首页图表查询设置", top: "2vh" }, { footer: u(() => [p("div", k, [r(_2, { type: "primary", onClick: o2[1] || (o2[1] = (e3) => U.value = false) }, { default: u(() => o2[10] || (o2[10] = [s(" 关闭 ", -1)])), _: 1, __: [10] })])]), default: u(() => [r(E, { title: "初始化设置", type: "info", closable: false }), r(G, { data: e2.configure.pushHomepage.initConfig, style: { width: "100%" }, "max-height": "250", "row-key": "uuid", "empty-text": "请添加初始化设置" }, { default: u(() => [r(F, { align: "center", label: "字段名", prop: "prop" }, { default: u((e3) => [(n(), i(y, { key: e3.row.prop, modelValue: e3.row.prop, paramTypes: ["page"], "onUpdate:modelValue": (a3) => {
33
+ const C2 = l("el-switch"), x2 = l("el-button"), _2 = l("el-form-item"), E = l("el-alert"), F = l("el-table-column"), G = l("el-table"), I = l("el-input"), J = l("el-button-group"), K = l("el-drawer"), L = l("el-dialog"), M = l("el-collapse-item");
34
+ return n(), i(M, { title: "推送首页", name: "pushHomepage", class: "amb-design-attr-group-header" }, { default: u(() => [p("div", V, [r(_2, { label: "是否推送", class: "amb-design-attr-item" }, { default: u(() => [r(C2, { modelValue: e2.configure.pushHomepage.enable, "onUpdate:modelValue": o2[0] || (o2[0] = (a3) => e2.configure.pushHomepage.enable = a3), "inline-prompt": "", "active-text": "是", "inactive-text": "否", onChange: z }, null, 8, ["modelValue"]), e2.configure.pushHomepage.enable ? (n(), i(x2, { key: 0, type: "primary", onClick: T }, { default: u(() => o2[4] || (o2[4] = [s(" 编辑 ")])), _: 1 })) : t("", true)]), _: 1 })]), e2.configure.pushHomepage && e2.configure.pushHomepage.enable ? (n(), i(L, { key: 0, id: "pushHomepageDialog", "append-to-body": false, modelValue: U.value, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => U.value = e3), title: "首页图表查询设置", top: "2vh" }, { footer: u(() => [p("div", k, [r(x2, { type: "primary", onClick: o2[1] || (o2[1] = (e3) => U.value = false) }, { default: u(() => o2[10] || (o2[10] = [s(" 关闭 ")])), _: 1 })])]), default: u(() => [r(E, { title: "初始化设置", type: "info", closable: false }), r(G, { data: e2.configure.pushHomepage.initConfig, style: { width: "100%" }, "max-height": "250", "row-key": "uuid", "empty-text": "请添加初始化设置" }, { default: u(() => [r(F, { align: "center", label: "字段名", prop: "prop" }, { default: u((e3) => [(n(), i(y, { key: e3.row.prop, modelValue: e3.row.prop, paramTypes: ["page"], "onUpdate:modelValue": (a3) => {
35
35
  return o3 = a3, void ((l2 = e3.row) && (l2.prop = o3));
36
36
  var o3, l2;
37
37
  } }, null, 8, ["modelValue", "onUpdate:modelValue"]))]), _: 1 }), r(F, { align: "center", label: "值", prop: "value" }, { default: u((e3) => [r(y, { paramTypes: ["context", "system", "fixed"], modelValue: e3.row.value, isRange: true, "onUpdate:modelValue": (a3) => ((e4, a4) => {
38
38
  a4 && (a4.value = e4);
39
- })(a3, e3.row) }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(F, { align: "center" }, { header: u(() => [r(_2, { type: "primary", onClick: q }, { default: u(() => o2[5] || (o2[5] = [s(" 添加 ", -1)])), _: 1, __: [5] })]), default: u((e3) => [r(_2, { size: "small", type: "danger", onClick: (a3) => {
39
+ })(a3, e3.row) }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(F, { align: "center" }, { header: u(() => [r(x2, { type: "primary", onClick: q }, { default: u(() => o2[5] || (o2[5] = [s(" 添加 ")])), _: 1 })]), default: u((e3) => [r(x2, { size: "small", type: "danger", onClick: (a3) => {
40
40
  return o3 = e3.$index, e3.row, void w2.configure.pushHomepage.initConfig.splice(o3, 1);
41
41
  var o3;
42
- } }, { default: u(() => o2[6] || (o2[6] = [s(" 删除 ", -1)])), _: 2, __: [6] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), r(E, { title: "查询条件设置", type: "info", closable: false }), r(G, { data: e2.configure.pushHomepage.searchConditions, style: { width: "100%" }, height: "400", "default-expand-all": true, "empty-text": "请添加查询条件设置" }, { default: u(() => [r(F, { align: "center", label: "标签名", prop: "prop" }, { default: u((e3) => [r(I, { modelValue: e3.row.props.base.title, "onUpdate:modelValue": (a3) => e3.row.props.base.title = a3, class: "table-input-width", placeholder: "请输入标签名" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(F, { align: "center", label: "字段", prop: "value" }, { default: u((e3) => [(n(), i(y, { key: e3.row.props.base.prop, paramTypes: ["data", "page"], "model-value": e3.row.props.base.prop, "onUpdate:modelValue": (a3) => e3.row.props.base.prop = a3 }, null, 8, ["model-value", "onUpdate:modelValue"]))]), _: 1 }), r(F, { align: "center", label: "组件配置" }, { default: u((e3) => [r(_2, { size: "small", type: "primary", onClick: (a3) => {
42
+ } }, { default: u(() => o2[6] || (o2[6] = [s(" 删除 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), r(E, { title: "查询条件设置", type: "info", closable: false }), r(G, { data: e2.configure.pushHomepage.searchConditions, style: { width: "100%" }, height: "400", "default-expand-all": true, "empty-text": "请添加查询条件设置" }, { default: u(() => [r(F, { align: "center", label: "标签名", prop: "prop" }, { default: u((e3) => [r(I, { modelValue: e3.row.props.base.title, "onUpdate:modelValue": (a3) => e3.row.props.base.title = a3, class: "table-input-width", placeholder: "请输入标签名" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r(F, { align: "center", label: "字段", prop: "value" }, { default: u((e3) => [(n(), i(y, { key: e3.row.props.base.prop, paramTypes: ["data", "page"], "model-value": e3.row.props.base.prop, "onUpdate:modelValue": (a3) => e3.row.props.base.prop = a3 }, null, 8, ["model-value", "onUpdate:modelValue"]))]), _: 1 }), r(F, { align: "center", label: "组件配置" }, { default: u((e3) => [r(x2, { size: "small", type: "primary", onClick: (a3) => {
43
43
  return e3.$index, o3 = e3.row, D.value = true, j.value = o3, void ($.value = b(o3.name));
44
44
  var o3;
45
- } }, { default: u(() => o2[7] || (o2[7] = [s(" 设置 ", -1)])), _: 2, __: [7] }, 1032, ["onClick"])]), _: 1 }), r(F, { align: "center" }, { header: u(() => [r(_2, { type: "primary", onClick: A }, { default: u(() => o2[8] || (o2[8] = [s(" 添加 ", -1)])), _: 1, __: [8] })]), default: u((a3) => [r(J, { class: "ml-4" }, { default: u(() => [r(_2, { type: "primary", disabled: 0 === a3.$index, icon: d(h), onClick: (e3) => R(a3.$index, "up") }, null, 8, ["disabled", "icon", "onClick"]), r(_2, { type: "primary", disabled: a3.$index === e2.configure.pushHomepage.searchConditions.length - 1, icon: d(v), onClick: (e3) => R(a3.$index, "down") }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024), r(_2, { size: "small", type: "danger", onClick: (e3) => {
45
+ } }, { default: u(() => o2[7] || (o2[7] = [s(" 设置 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 }), r(F, { align: "center" }, { header: u(() => [r(x2, { type: "primary", onClick: A }, { default: u(() => o2[8] || (o2[8] = [s(" 添加 ")])), _: 1 })]), default: u((a3) => [r(J, { class: "ml-4" }, { default: u(() => [r(x2, { type: "primary", disabled: 0 === a3.$index, icon: d(h), onClick: (e3) => R(a3.$index, "up") }, null, 8, ["disabled", "icon", "onClick"]), r(x2, { type: "primary", disabled: a3.$index === e2.configure.pushHomepage.searchConditions.length - 1, icon: d(v), onClick: (e3) => R(a3.$index, "down") }, null, 8, ["disabled", "icon", "onClick"])]), _: 2 }, 1024), r(x2, { size: "small", type: "danger", onClick: (e3) => {
46
46
  return o3 = a3.$index, a3.row, void w2.configure.pushHomepage.searchConditions.splice(o3, 1);
47
47
  var o3;
48
- } }, { default: u(() => o2[9] || (o2[9] = [s(" 删除 ", -1)])), _: 2, __: [9] }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), r(K, { modelValue: D.value, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => D.value = e3), "with-header": false }, { default: u(() => [(n(true), g(m, null, c(e2.configure.pushHomepage.searchConditions, (a3, o3) => (n(), g("div", { key: a3.uuid, style: { display: "none" } }, [r(x, { indexObj: O, configure: a3, pageDesign: e2.pageDesign }, null, 8, ["indexObj", "configure", "pageDesign"])]))), 128)), (n(), i(f($.value), { key: "attr_" + j.value.uuid, pageDesign: e2.pageDesign, configure: j.value, onChangeAssembly: B }, null, 40, ["pageDesign", "configure"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : t("", true)]), _: 1 });
48
+ } }, { default: u(() => o2[9] || (o2[9] = [s(" 删除 ")])), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), r(K, { modelValue: D.value, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => D.value = e3), "with-header": false }, { default: u(() => [(n(true), g(m, null, c(e2.configure.pushHomepage.searchConditions, (a3, o3) => (n(), g("div", { key: a3.uuid, style: { display: "none" } }, [r(H, { indexObj: O, configure: a3, pageDesign: e2.pageDesign }, null, 8, ["indexObj", "configure", "pageDesign"])]))), 128)), (n(), i(f($.value), { key: "attr_" + j.value.uuid, pageDesign: e2.pageDesign, configure: j.value, onChangeAssembly: B }, null, 40, ["pageDesign", "configure"]))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])) : t("", true)]), _: 1 });
49
49
  };
50
50
  } });
51
51
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as a, createBlock as l, openBlock as t, withCtx as o, createElementVNode as m, createVNode as u, withDirectives as n, createTextVNode as d, vShow as i } from "vue";
2
2
  const r = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "common-style-datazoom", props: { configure: { type: Object, required: true } }, setup: (e2) => (s2, p) => {
3
- const f = a("el-switch"), g = a("el-form-item"), y = a("el-radio-button"), c = a("el-radio-group"), _ = a("el-input-number"), x = a("el-text"), b = a("el-collapse-item");
4
- return t(), l(b, { title: "缩略轴(横坐标)", name: "styleDatazoom", class: "amb-design-attr-group-header" }, { default: o(() => [m("div", r, [u(g, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: o(() => [u(f, { modelValue: e2.configure.style.enableDatazoom, "onUpdate:modelValue": p[0] || (p[0] = (a2) => e2.configure.style.enableDatazoom = a2) }, null, 8, ["modelValue"])]), _: 1 }), n(u(g, { label: "类型", style: { "margin-top": "18px" } }, { default: o(() => [u(c, { modelValue: e2.configure.style.dataZoomType, "onUpdate:modelValue": p[1] || (p[1] = (a2) => e2.configure.style.dataZoomType = a2) }, { default: o(() => [u(y, { value: "" }, { default: o(() => p[4] || (p[4] = [d("默认", -1)])), _: 1, __: [4] }), u(y, { value: "slider" }, { default: o(() => p[5] || (p[5] = [d("滑动", -1)])), _: 1, __: [5] }), u(y, { value: "inside" }, { default: o(() => p[6] || (p[6] = [d("内置", -1)])), _: 1, __: [6] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "开始比例", style: { "margin-top": "-10px" } }, { default: o(() => [u(_, { modelValue: e2.configure.style.dataZoomStart, "onUpdate:modelValue": p[2] || (p[2] = (a2) => e2.configure.style.dataZoomStart = a2), min: 0, max: e2.configure.style.dataZoomEnd }, null, 8, ["modelValue", "max"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "结束比例", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(_, { modelValue: e2.configure.style.dataZoomEnd, "onUpdate:modelValue": p[3] || (p[3] = (a2) => e2.configure.style.dataZoomEnd = a2), min: e2.configure.style.dataZoomStart, max: 100 }, null, 8, ["modelValue", "min"]), p[8] || (p[8] = d("、 ", -1)), u(x, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => p[7] || (p[7] = [d(" 数据窗口范围的起始百分比,范围是:0 ~ 100,表示 0% ~ 100% ", -1)])), _: 1, __: [7] })]), _: 1, __: [8] }, 512), [[i, e2.configure.style.enableDatazoom]])])]), _: 1 });
3
+ const f = a("el-switch"), g = a("el-form-item"), y = a("el-radio-button"), c = a("el-radio-group"), x = a("el-input-number"), b = a("el-text"), V = a("el-collapse-item");
4
+ return t(), l(V, { title: "缩略轴(横坐标)", name: "styleDatazoom", class: "amb-design-attr-group-header" }, { default: o(() => [m("div", r, [u(g, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: o(() => [u(f, { modelValue: e2.configure.style.enableDatazoom, "onUpdate:modelValue": p[0] || (p[0] = (a2) => e2.configure.style.enableDatazoom = a2) }, null, 8, ["modelValue"])]), _: 1 }), n(u(g, { label: "类型", style: { "margin-top": "18px" } }, { default: o(() => [u(c, { modelValue: e2.configure.style.dataZoomType, "onUpdate:modelValue": p[1] || (p[1] = (a2) => e2.configure.style.dataZoomType = a2) }, { default: o(() => [u(y, { value: "" }, { default: o(() => p[4] || (p[4] = [d("默认")])), _: 1 }), u(y, { value: "slider" }, { default: o(() => p[5] || (p[5] = [d("滑动")])), _: 1 }), u(y, { value: "inside" }, { default: o(() => p[6] || (p[6] = [d("内置")])), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "开始比例", style: { "margin-top": "-10px" } }, { default: o(() => [u(x, { modelValue: e2.configure.style.dataZoomStart, "onUpdate:modelValue": p[2] || (p[2] = (a2) => e2.configure.style.dataZoomStart = a2), min: 0, max: e2.configure.style.dataZoomEnd }, null, 8, ["modelValue", "max"])]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]]), n(u(g, { label: "结束比例", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(x, { modelValue: e2.configure.style.dataZoomEnd, "onUpdate:modelValue": p[3] || (p[3] = (a2) => e2.configure.style.dataZoomEnd = a2), min: e2.configure.style.dataZoomStart, max: 100 }, null, 8, ["modelValue", "min"]), p[8] || (p[8] = d("、 ")), u(b, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => p[7] || (p[7] = [d(" 数据窗口范围的起始百分比,范围是:0 ~ 100,表示 0% ~ 100% ")])), _: 1 })]), _: 1 }, 512), [[i, e2.configure.style.enableDatazoom]])])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  s as default