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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +6 -6
  2. package/dist/es/components/design/utils/chart-design-util.js +100 -92
  3. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +7 -7
  4. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +22 -22
  6. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
  7. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -3
  8. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +3 -3
  9. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
  10. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
  11. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
  12. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
  13. package/dist/es/components/design/views/assemblys/button/export-pdf/common-template-select.vue.js +8 -8
  14. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +8 -8
  15. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
  16. package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue.js +4 -4
  17. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  18. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  19. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  20. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +8 -8
  21. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +3 -3
  22. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  23. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  24. package/dist/es/components/design/views/assemblys/chart/common/common-attr-clickset.vue.js +3 -3
  25. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
  26. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
  27. package/dist/es/components/design/views/assemblys/chart/common/common-attr-serieslist.vue.js +4 -4
  28. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
  29. package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +6 -6
  30. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
  31. package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
  32. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
  33. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
  34. package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +7 -4
  35. package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +3 -3
  36. package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
  37. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
  38. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
  39. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
  40. package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
  41. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
  42. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +4 -3
  43. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-design.vue2.js +8 -8
  44. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  45. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  46. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  47. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  48. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  49. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  51. package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +8 -7
  52. package/dist/es/components/design/views/assemblys/chart/pie/pie-design.vue2.js +8 -8
  53. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +7 -7
  54. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  55. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +2 -1
  56. package/dist/es/components/design/views/assemblys/chart/radar/radar-design.vue2.js +8 -8
  57. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  58. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  59. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  60. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  61. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  62. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  63. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  64. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-design.vue2.js +8 -8
  65. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  67. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
  68. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  69. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +3 -3
  70. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue.js +3 -3
  71. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +2 -2
  72. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
  73. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +10 -10
  74. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +2 -2
  75. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +14 -14
  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 +3 -3
  78. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +4 -4
  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-bind-default-value.vue2.js +1 -1
  82. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +1 -1
  83. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +12 -12
  84. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
  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 +10 -10
  90. package/dist/es/components/design/views/assemblys/common/common-template-select.vue.js +8 -8
  91. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +13 -13
  92. package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +9 -9
  93. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +3 -3
  94. package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +1 -1
  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-design.vue2.js +3 -3
  97. package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr-base.vue.js +4 -4
  98. package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +6 -6
  99. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  100. package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -3
  101. package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -3
  102. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
  103. package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -3
  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-design.vue2.js +1 -1
  106. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +5 -5
  107. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +6 -6
  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-design.vue2.js +1 -1
  110. package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +5 -5
  111. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +14 -14
  112. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +6 -6
  113. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +8 -8
  114. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
  115. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +11 -11
  116. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
  117. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +16 -16
  118. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  119. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  120. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
  121. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +4 -4
  122. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +8 -7
  123. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
  124. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  125. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +2 -2
  126. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +8 -8
  127. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +1 -1
  128. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +5 -5
  129. package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +1 -1
  130. package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +4 -4
  131. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +13 -13
  132. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +9 -9
  133. package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +7 -7
  134. package/dist/es/components/design/views/assemblys/form/common/data-origin-autoset.vue.js +29 -29
  135. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +7 -7
  136. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +9 -9
  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 +15 -15
  139. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +2 -2
  140. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +7 -7
  141. package/dist/es/components/design/views/assemblys/form/common/parameter-table.vue.js +4 -4
  142. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  143. package/dist/es/components/design/views/assemblys/form/common/row-ul-li.vue.js +12 -12
  144. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +9 -9
  145. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  146. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  147. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +8 -8
  148. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +15 -15
  149. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
  150. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +3 -3
  151. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-design.vue2.js +3 -3
  152. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
  153. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
  154. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
  155. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
  156. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +3 -3
  157. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +5 -5
  158. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +6 -6
  159. package/dist/es/components/design/views/assemblys/form/link/link-attr.vue2.js +1 -1
  160. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
  161. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +5 -5
  162. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
  163. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
  164. package/dist/es/components/design/views/assemblys/form/select/select-design.vue2.js +3 -3
  165. package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-design.vue2.js +3 -3
  166. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
  167. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
  168. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
  169. package/dist/es/components/design/views/assemblys/object-design.vue3.js +3 -3
  170. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +3 -3
  171. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  172. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  173. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +3 -3
  174. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +6 -6
  175. package/dist/es/components/design/views/assemblys/page/page-attr-permissions.vue.js +12 -12
  176. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +6 -6
  177. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +16 -16
  178. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +12 -12
  179. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
  180. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +8 -8
  181. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +4 -4
  182. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  183. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  184. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-design.vue2.js +1 -1
  185. package/dist/es/components/design/views/design/page-event/{config.vue2.js → config.vue.js} +1 -1
  186. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  187. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +2 -2
  188. package/dist/es/components/design/views/design/view/components/i18n-setting-enabled.vue.js +8 -8
  189. package/dist/es/components/design/views/design/view/components/i18n-setting-page.vue2.js +27 -27
  190. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +7 -7
  191. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -4
  192. package/dist/es/components/design/views/design/view/components/translate-error-dialog.vue.js +14 -14
  193. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  194. package/dist/es/components/design/views/design/view/page-switch.vue2.js +3 -3
  195. package/dist/es/components/design/views/design/view/view-design-display.vue.js +12 -12
  196. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  197. package/dist/es/components/design/views/design/view/view-design.vue.js +3 -3
  198. package/dist/es/style.css +37 -63
  199. package/package.json +4 -4
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as u, withCtx as o, createElementVNode as n, createVNode as i, withDirectives as d, createElementBlock as r, Fragment as s, renderList as p, vShow as b, createTextVNode as m } from "vue";
2
2
  const f = { style: { padding: "8px 0px 0px 0px" } }, g = e({ __name: "common-style-label", props: { configure: { type: Object, required: true }, chartType: String }, setup(e2) {
3
- const g2 = e2, c = ["8", "10", "12", "14", "16", "18", "20", "24", "28"], y = [], _ = l(true);
4
- return "seriesChart" == g2.chartType ? (y.push("outer"), y.push("inside"), y.push("center")) : (_.value = false, y.push("top"), y.push("left"), y.push("right"), y.push("bottom"), y.push("inside"), y.push("insideLeft"), y.push("insideRight"), y.push("insideTop"), y.push("insideBottom"), y.push("insideTopLeft"), y.push("insideBottomLeft"), y.push("insideTopRight"), y.push("insideBottomRight")), (l2, g3) => {
5
- const h = a("el-switch"), x = a("el-form-item"), V = a("el-option"), v = a("el-select"), L = a("el-checkbox"), U = a("el-col"), N = a("el-row"), F = a("el-input"), w = a("el-checkbox-group"), z = a("el-color-picker"), A = a("el-radio-button"), T = a("el-radio-group"), P = a("el-input-number"), O = a("el-text"), k = a("el-collapse-item");
6
- return u(), t(k, { title: "文本标签", name: "styleLabel", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", f, [i(x, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [i(h, { modelValue: e2.configure.style.enableLabel, "onUpdate:modelValue": g3[0] || (g3[0] = (l3) => e2.configure.style.enableLabel = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(i(x, { label: "标签位置", style: { "margin-top": "15px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelPosition, "onUpdate:modelValue": g3[1] || (g3[1] = (l3) => e2.configure.style.labelPosition = l3), placeholder: "默认", clearable: "" }, { default: o(() => [(u(), r(s, null, p(y, (e3) => i(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(x, { label: "对齐方式", style: { "margin-top": "-10px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelAlignTo, "onUpdate:modelValue": g3[2] || (g3[2] = (l3) => e2.configure.style.labelAlignTo = l3), placeholder: "默认", clearable: "" }, { default: o(() => [i(V, { label: "末端对齐", value: "labelLine" }), i(V, { label: "文字对齐", value: "edge" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel && _.value && "outer" == e2.configure.style.labelPosition]]), d(i(x, { label: "数据格式", style: { "margin-top": "-10px" } }, { default: o(() => [i(w, { modelValue: e2.configure.style.labelNumFormat, "onUpdate:modelValue": g3[6] || (g3[6] = (l3) => e2.configure.style.labelNumFormat = l3) }, { default: o(() => [i(N, { style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 14 }, { default: o(() => [i(L, { value: "precision", label: "小数位数", size: "large" })]), _: 1 }), i(U, { span: 8 }, { default: o(() => [i(v, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrecision, "onUpdate:modelValue": g3[3] || (g3[3] = (l3) => e2.configure.style.labelNumPrecision = l3), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("precision"), placeholder: "默认", clearable: "" }, { default: o(() => [i(V, { label: "1", value: "1" }), i(V, { label: "2", value: "2" }), i(V, { label: "3", value: "3" }), i(V, { label: "4", value: "4" }), i(V, { label: "5", value: "5" }), i(V, { label: "6", value: "6" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), i(N, { style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 14 }, { default: o(() => [i(L, { value: "prefix", label: "前缀", size: "large" })]), _: 1 }), i(U, { span: 8 }, { default: o(() => [i(F, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrefix, "onUpdate:modelValue": g3[4] || (g3[4] = (l3) => e2.configure.style.labelNumPrefix = l3), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("prefix"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), i(N, { style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 14 }, { default: o(() => [i(L, { value: "append", label: "后缀", size: "large" })]), _: 1 }), i(U, { span: 8 }, { default: o(() => [i(F, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumAppend, "onUpdate:modelValue": g3[5] || (g3[5] = (l3) => e2.configure.style.labelNumAppend = l3), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("append"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(x, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelFontSize, "onUpdate:modelValue": g3[7] || (g3[7] = (l3) => e2.configure.style.labelFontSize = l3), placeholder: "默认", clearable: "" }, { default: o(() => [(u(), r(s, null, p(c, (e3) => i(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(x, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: o(() => [i(z, { modelValue: e2.configure.style.labelColor, "onUpdate:modelValue": g3[8] || (g3[8] = (l3) => e2.configure.style.labelColor = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(x, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelWeight, "onUpdate:modelValue": g3[9] || (g3[9] = (l3) => e2.configure.style.labelWeight = l3), placeholder: "默认", clearable: "" }, { default: o(() => [i(V, { label: "normal", value: "normal" }), i(V, { label: "bold", value: "bold" }), i(V, { label: "bolder", value: "bolder" }), i(V, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(x, { label: "左右对齐", style: { "margin-top": "-10px" } }, { default: o(() => [i(T, { modelValue: e2.configure.style.textAlign, "onUpdate:modelValue": g3[10] || (g3[10] = (l3) => e2.configure.style.textAlign = l3) }, { default: o(() => [i(A, { value: "right" }, { default: o(() => g3[16] || (g3[16] = [m("左", -1)])), _: 1, __: [16] }), i(A, { value: "center" }, { default: o(() => g3[17] || (g3[17] = [m("中", -1)])), _: 1, __: [17] }), i(A, { value: "left" }, { default: o(() => g3[18] || (g3[18] = [m("右", -1)])), _: 1, __: [18] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel && !_.value]]), d(i(x, { label: "垂直对齐", style: { "margin-top": "-10px" } }, { default: o(() => [i(T, { modelValue: e2.configure.style.verticalAlign, "onUpdate:modelValue": g3[11] || (g3[11] = (l3) => e2.configure.style.verticalAlign = l3) }, { default: o(() => [i(A, { value: "bottom" }, { default: o(() => g3[19] || (g3[19] = [m("上", -1)])), _: 1, __: [19] }), i(A, { value: "middle" }, { default: o(() => g3[20] || (g3[20] = [m("中", -1)])), _: 1, __: [20] }), i(A, { value: "top" }, { default: o(() => g3[21] || (g3[21] = [m("底", -1)])), _: 1, __: [21] })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel && !_.value]]), d(i(x, { label: "旋转角度", style: { "margin-top": "-10px" } }, { default: o(() => [i(P, { modelValue: e2.configure.style.labelAngle, "onUpdate:modelValue": g3[12] || (g3[12] = (l3) => e2.configure.style.labelAngle = l3), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(x, { label: "文字偏移", style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 12 }, { default: o(() => [i(x, { label: "左", "label-width": "40px;" }, { default: o(() => [i(F, { style: { width: "50px" }, modelValue: e2.configure.style.labelLeft, "onUpdate:modelValue": g3[13] || (g3[13] = (l3) => e2.configure.style.labelLeft = l3), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(U, { span: 12 }, { default: o(() => [i(x, { label: "上", "label-width": "40px;" }, { default: o(() => [i(F, { style: { width: "50px" }, modelValue: e2.configure.style.labelTop, "onUpdate:modelValue": g3[14] || (g3[14] = (l3) => e2.configure.style.labelTop = l3), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(O, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => g3[22] || (g3[22] = [m(" 如30,左表示文字在横向上偏移30,上表示纵向上偏移 40 ", -1)])), _: 1, __: [22] })]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(x, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(F, { modelValue: e2.configure.style.labelFormatter, "onUpdate:modelValue": g3[15] || (g3[15] = (l3) => e2.configure.style.labelFormatter = l3), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), i(O, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => g3[23] || (g3[23] = [m(" {a}:系列名;{b}:数据名;{c}:数据值;{@xxx};{@[n]} ", -1)])), _: 1, __: [23] })]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]])])]), _: 1 });
3
+ const g2 = e2, c = ["8", "10", "12", "14", "16", "18", "20", "24", "28"], y = [], h = l(true);
4
+ return "seriesChart" == g2.chartType ? (y.push("outer"), y.push("inside"), y.push("center")) : (h.value = false, y.push("top"), y.push("left"), y.push("right"), y.push("bottom"), y.push("inside"), y.push("insideLeft"), y.push("insideRight"), y.push("insideTop"), y.push("insideBottom"), y.push("insideTopLeft"), y.push("insideBottomLeft"), y.push("insideTopRight"), y.push("insideBottomRight")), (l2, g3) => {
5
+ const x = a("el-switch"), V = a("el-form-item"), _ = a("el-option"), v = a("el-select"), L = a("el-checkbox"), U = a("el-col"), N = a("el-row"), F = a("el-input"), w = a("el-checkbox-group"), z = a("el-color-picker"), A = a("el-radio-button"), T = a("el-radio-group"), P = a("el-input-number"), O = a("el-text"), k = a("el-collapse-item");
6
+ return u(), t(k, { title: "文本标签", name: "styleLabel", class: "amb-design-attr-group-header" }, { default: o(() => [n("div", f, [i(V, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [i(x, { modelValue: e2.configure.style.enableLabel, "onUpdate:modelValue": g3[0] || (g3[0] = (l3) => e2.configure.style.enableLabel = l3) }, null, 8, ["modelValue"])]), _: 1 }), d(i(V, { label: "标签位置", style: { "margin-top": "15px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelPosition, "onUpdate:modelValue": g3[1] || (g3[1] = (l3) => e2.configure.style.labelPosition = l3), placeholder: "默认", clearable: "" }, { default: o(() => [(u(), r(s, null, p(y, (e3) => i(_, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(V, { label: "对齐方式", style: { "margin-top": "-10px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelAlignTo, "onUpdate:modelValue": g3[2] || (g3[2] = (l3) => e2.configure.style.labelAlignTo = l3), placeholder: "默认", clearable: "" }, { default: o(() => [i(_, { label: "末端对齐", value: "labelLine" }), i(_, { label: "文字对齐", value: "edge" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel && h.value && "outer" == e2.configure.style.labelPosition]]), d(i(V, { label: "数据格式", style: { "margin-top": "-10px" } }, { default: o(() => [i(w, { modelValue: e2.configure.style.labelNumFormat, "onUpdate:modelValue": g3[6] || (g3[6] = (l3) => e2.configure.style.labelNumFormat = l3) }, { default: o(() => [i(N, { style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 14 }, { default: o(() => [i(L, { value: "precision", label: "小数位数", size: "large" })]), _: 1 }), i(U, { span: 8 }, { default: o(() => [i(v, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrecision, "onUpdate:modelValue": g3[3] || (g3[3] = (l3) => e2.configure.style.labelNumPrecision = l3), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("precision"), placeholder: "默认", clearable: "" }, { default: o(() => [i(_, { label: "1", value: "1" }), i(_, { label: "2", value: "2" }), i(_, { label: "3", value: "3" }), i(_, { label: "4", value: "4" }), i(_, { label: "5", value: "5" }), i(_, { label: "6", value: "6" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), i(N, { style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 14 }, { default: o(() => [i(L, { value: "prefix", label: "前缀", size: "large" })]), _: 1 }), i(U, { span: 8 }, { default: o(() => [i(F, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrefix, "onUpdate:modelValue": g3[4] || (g3[4] = (l3) => e2.configure.style.labelNumPrefix = l3), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("prefix"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), i(N, { style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 14 }, { default: o(() => [i(L, { value: "append", label: "后缀", size: "large" })]), _: 1 }), i(U, { span: 8 }, { default: o(() => [i(F, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumAppend, "onUpdate:modelValue": g3[5] || (g3[5] = (l3) => e2.configure.style.labelNumAppend = l3), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("append"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(V, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelFontSize, "onUpdate:modelValue": g3[7] || (g3[7] = (l3) => e2.configure.style.labelFontSize = l3), placeholder: "默认", clearable: "" }, { default: o(() => [(u(), r(s, null, p(c, (e3) => i(_, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(V, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: o(() => [i(z, { modelValue: e2.configure.style.labelColor, "onUpdate:modelValue": g3[8] || (g3[8] = (l3) => e2.configure.style.labelColor = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(V, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [i(v, { modelValue: e2.configure.style.labelWeight, "onUpdate:modelValue": g3[9] || (g3[9] = (l3) => e2.configure.style.labelWeight = l3), placeholder: "默认", clearable: "" }, { default: o(() => [i(_, { label: "normal", value: "normal" }), i(_, { label: "bold", value: "bold" }), i(_, { label: "bolder", value: "bolder" }), i(_, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(V, { label: "左右对齐", style: { "margin-top": "-10px" } }, { default: o(() => [i(T, { modelValue: e2.configure.style.textAlign, "onUpdate:modelValue": g3[10] || (g3[10] = (l3) => e2.configure.style.textAlign = l3) }, { default: o(() => [i(A, { value: "right" }, { default: o(() => [...g3[16] || (g3[16] = [m("左", -1)])]), _: 1 }), i(A, { value: "center" }, { default: o(() => [...g3[17] || (g3[17] = [m("中", -1)])]), _: 1 }), i(A, { value: "left" }, { default: o(() => [...g3[18] || (g3[18] = [m("右", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel && !h.value]]), d(i(V, { label: "垂直对齐", style: { "margin-top": "-10px" } }, { default: o(() => [i(T, { modelValue: e2.configure.style.verticalAlign, "onUpdate:modelValue": g3[11] || (g3[11] = (l3) => e2.configure.style.verticalAlign = l3) }, { default: o(() => [i(A, { value: "bottom" }, { default: o(() => [...g3[19] || (g3[19] = [m("上", -1)])]), _: 1 }), i(A, { value: "middle" }, { default: o(() => [...g3[20] || (g3[20] = [m("中", -1)])]), _: 1 }), i(A, { value: "top" }, { default: o(() => [...g3[21] || (g3[21] = [m("底", -1)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel && !h.value]]), d(i(V, { label: "旋转角度", style: { "margin-top": "-10px" } }, { default: o(() => [i(P, { modelValue: e2.configure.style.labelAngle, "onUpdate:modelValue": g3[12] || (g3[12] = (l3) => e2.configure.style.labelAngle = l3), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(V, { label: "文字偏移", style: { "margin-top": "-10px" } }, { default: o(() => [i(U, { span: 12 }, { default: o(() => [i(V, { label: "左", "label-width": "40px;" }, { default: o(() => [i(F, { style: { width: "50px" }, modelValue: e2.configure.style.labelLeft, "onUpdate:modelValue": g3[13] || (g3[13] = (l3) => e2.configure.style.labelLeft = l3), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(U, { span: 12 }, { default: o(() => [i(V, { label: "上", "label-width": "40px;" }, { default: o(() => [i(F, { style: { width: "50px" }, modelValue: e2.configure.style.labelTop, "onUpdate:modelValue": g3[14] || (g3[14] = (l3) => e2.configure.style.labelTop = l3), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(O, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => [...g3[22] || (g3[22] = [m(" 如30,左表示文字在横向上偏移30,上表示纵向上偏移 40 ", -1)])]), _: 1 })]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]]), d(i(V, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(F, { modelValue: e2.configure.style.labelFormatter, "onUpdate:modelValue": g3[15] || (g3[15] = (l3) => e2.configure.style.labelFormatter = l3), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), i(O, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => [...g3[23] || (g3[23] = [m(" {a}:系列名;{b}:数据名;{c}:数据值;{@xxx};{@[n]} ", -1)])]), _: 1 })]), _: 1 }, 512), [[b, e2.configure.style.enableLabel]])])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -3,7 +3,7 @@ import v from "../../common/page-permission-select.vue.js";
3
3
  import y from "../../form/common/data-origin-service-in.vue.js";
4
4
  import { usePageContextStore as b } from "../../../../../../stores/page-store.js";
5
5
  import { queryServiceReturnFields as x } from "../../../../utils/page-service-util.js";
6
- const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left" } }, F = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, h = { style: { float: "left" } }, D = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, S = { style: { float: "left" } }, O = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "gauge-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
6
+ const V = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left" } }, _ = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, h = { style: { float: "left" } }, D = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, S = { style: { float: "left" } }, O = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "gauge-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
7
7
  const j2 = e2, w = b().pageContext, z = l([]), L = a(() => z.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type)), U = a(() => z.value.filter((e3) => {
8
8
  if ("string" == e3.type || "any" == e3.type || !e3.type) {
9
9
  const l2 = j2.configure.serviceDataField;
@@ -53,9 +53,9 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left
53
53
  q && clearTimeout(q);
54
54
  }), (l2, a2) => {
55
55
  const t2 = r("el-form-item"), b2 = r("el-option"), x2 = r("el-select"), j3 = r("el-text"), z2 = r("el-radio"), C2 = r("el-input"), q2 = r("el-radio-group"), I = r("el-collapse-item");
56
- return o(), i(I, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", _, [s(t2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: n(() => [s(v, { pageDesign: p(w), rowObj: p(T).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
56
+ return o(), i(I, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: n(() => [u("div", V, [s(t2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: n(() => [s(v, { pageDesign: p(w), rowObj: p(T).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
57
57
  T.service.id, T.service.simpleCode = l4, T.service.id = t4, T.service.name = a4, W();
58
- }(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [s(x2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), d(c, null, f(L.value, (e3, l3) => (o(), i(b2, { key: l3, label: e3.label, value: e3.value }, { default: n(() => [u("span", V, m(e3.label), 1), u("span", F, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s(j3, { type: "success", size: "small" }, { default: n(() => a2[6] || (a2[6] = [g("如设置将以多值形式展示", -1)])), _: 1, __: [6] })]), _: 1 }), s(q2, { modelValue: e2.configure.props.nameSource, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.nameSource = l3) }, { default: n(() => [s(t2, { style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { label: n(() => [s(z2, { value: "variable" }, { default: n(() => a2[7] || (a2[7] = [g("名称字段", -1)])), _: 1, __: [7] })]), default: n(() => [s(x2, { size: "small", disabled: "fixed" == e2.configure.props.nameSource, modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), d(c, null, f(U.value, (e3) => (o(), i(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: n(() => [u("span", h, m(e3.nameLabel), 1), u("span", D, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: n(() => [s(z2, { value: "fixed" }, { default: n(() => a2[8] || (a2[8] = [g("固定名称", -1)])), _: 1, __: [8] })]), default: n(() => [s(C2, { disabled: !e2.configure.props.nameSource || "fixed" != e2.configure.props.nameSource, modelValue: e2.configure.props.nameFixed, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.nameFixed = l3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), s(t2, { label: "数据字段", style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { default: n(() => [s(x2, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), d(c, null, f(k.value, (e3) => (o(), i(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: n(() => [u("span", S, m(e3.numLabel), 1), u("span", O, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), s(y, { ref: "dataOriginServiceInRef", dataOrigin: p(T) }, null, 8, ["dataOrigin"])])]), _: 1 });
58
+ }(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: n(() => [s(x2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), d(c, null, f(L.value, (e3, l3) => (o(), i(b2, { key: l3, label: e3.label, value: e3.value }, { default: n(() => [u("span", F, m(e3.label), 1), u("span", _, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s(j3, { type: "success", size: "small" }, { default: n(() => [...a2[6] || (a2[6] = [g("如设置将以多值形式展示", -1)])]), _: 1 })]), _: 1 }), s(q2, { modelValue: e2.configure.props.nameSource, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.nameSource = l3) }, { default: n(() => [s(t2, { style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { label: n(() => [s(z2, { value: "variable" }, { default: n(() => [...a2[7] || (a2[7] = [g("名称字段", -1)])]), _: 1 })]), default: n(() => [s(x2, { size: "small", disabled: "fixed" == e2.configure.props.nameSource, modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), d(c, null, f(U.value, (e3) => (o(), i(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: n(() => [u("span", h, m(e3.nameLabel), 1), u("span", D, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: n(() => [s(z2, { value: "fixed" }, { default: n(() => [...a2[8] || (a2[8] = [g("固定名称", -1)])]), _: 1 })]), default: n(() => [s(C2, { disabled: !e2.configure.props.nameSource || "fixed" != e2.configure.props.nameSource, modelValue: e2.configure.props.nameFixed, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.nameFixed = l3), placeholder: "请输入" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), s(t2, { label: "数据字段", style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { default: n(() => [s(x2, { size: "small", modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: n(() => [(o(true), d(c, null, f(k.value, (e3) => (o(), i(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: n(() => [u("span", S, m(e3.numLabel), 1), u("span", O, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), s(y, { ref: "dataOriginServiceInRef", dataOrigin: p(T) }, null, 8, ["dataOrigin"])])]), _: 1 });
59
59
  };
60
60
  } });
61
61
  export {
@@ -1,8 +1,9 @@
1
- import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createElementBlock as n, openBlock as s, createElementVNode as u, normalizeClass as c, createTextVNode as r, createBlock as o, createCommentVNode as i, withDirectives as g, createVNode as v, vShow as d } from "vue";
1
+ import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createElementBlock as n, openBlock as s, createElementVNode as u, normalizeClass as c, createTextVNode as o, createBlock as r, createCommentVNode as i, withDirectives as g, createVNode as v, vShow as d } from "vue";
2
2
  import f from "./gauge-attr-base.vue.js";
3
3
  import m from "./gauge-attr-style.vue.js";
4
- import b from "../../common-attr-events.vue.js";
4
+ import "@element-plus/icons";
5
5
  import p from "./attr-advanced.vue.js";
6
+ import b from "../common/common-attr-events.vue.js";
6
7
  const y = { class: "amb-design-attr-content" }, j = { class: "amb-design-attr-header" }, k = { class: "amb-design-attr-header-type" }, C = { class: "amb-design-attr-list" }, D = e({ __name: "gauge-attr", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
7
8
  } } }, emits: [], setup(e2, { emit: D2 }) {
8
9
  const h = e2, O = a("base");
@@ -16,7 +17,7 @@ const y = { class: "amb-design-attr-content" }, j = { class: "amb-design-attr-he
16
17
  q();
17
18
  }), (a2, l2) => {
18
19
  const D3 = t("el-badge");
19
- return s(), n("div", y, [u("div", j, [u("div", k, [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] = r(" 事件 ", -1)), _.value > 0 ? (s(), o(D3, { key: 0, value: _.value }, null, 8, ["value"])) : i("", true)], 2), u("label", { class: c({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", C, [g(v(f, { configure: e2.configure }, null, 8, ["configure"]), [[d, "base" == O.value]]), g(v(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(b, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), g(v(p, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
20
+ return s(), n("div", y, [u("div", j, [u("div", k, [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] = o(" 事件 ", -1)), _.value > 0 ? (s(), r(D3, { key: 0, value: _.value }, null, 8, ["value"])) : i("", true)], 2), u("label", { class: c({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", C, [g(v(f, { configure: e2.configure }, null, 8, ["configure"]), [[d, "base" == O.value]]), g(v(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(b, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), g(v(p, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
20
21
  };
21
22
  } });
22
23
  export {
@@ -44,17 +44,17 @@ const H = { class: "amb-design-item-title" }, S = ["onClick"], q = e({ __name: "
44
44
  B.selectWidget && B.selectWidget.value != B.configure.componentIndex && P();
45
45
  });
46
46
  const U = q2;
47
- return (e3, t2) => (n(), r("div", { style: c(E.value), class: s([F.value, "amb-widget-chart"]), onClick: u(Q, ["stop"]), ref: "thisRef" }, [l(m(k, { headerInfo: K.value }, null, 8, ["headerInfo"]), [[f, K.value.showHeader]]), m(a(z), { ref: "chartRef", theme: G.value, option: J.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", H, [(n(true), r(p, null, d(e3.configure.items, (e4, t3) => (n(), r("label", { class: s([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: u((e5) => function(e6, t4) {
48
- e6 && e6.preventDefault();
49
- const i2 = B.configure.items[t4];
50
- if (!i2.selected) {
51
- for (let e7 of B.configure.items) if (e7.selected) {
52
- e7.selected = false;
47
+ return (t2, i2) => (n(), r("div", { style: c(E.value), class: s([F.value, "amb-widget-chart"]), onClick: u(Q, ["stop"]), ref: "thisRef" }, [l(m(k, { headerInfo: K.value }, null, 8, ["headerInfo"]), [[f, K.value.showHeader]]), m(a(z), { ref: "chartRef", theme: G.value, option: J.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", H, [(n(true), r(p, null, d(e2.configure.items, (e3, t3) => (n(), r("label", { class: s([[e3.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: u((e4) => function(e5, t4) {
48
+ e5 && e5.preventDefault();
49
+ const i3 = B.configure.items[t4];
50
+ if (!i3.selected) {
51
+ for (let e6 of B.configure.items) if (e6.selected) {
52
+ e6.selected = false;
53
53
  break;
54
54
  }
55
- i2.selected = true, U("onCustomAttrWidget", i2, y);
55
+ i3.selected = true, U("onCustomAttrWidget", i3, y);
56
56
  }
57
- }(e5, t3), ["stop"]) }, h(e4.props.title), 11, S))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
57
+ }(e4, t3), ["stop"]) }, h(e3.props.title), 11, S))), 256))], 512), [[f, e2.configure.componentIndex == e2.selectWidget.value]])], 6));
58
58
  } });
59
59
  export {
60
60
  q as default
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as a, openBlock as o, withCtx as t, createElementVNode as n, createVNode as r, withDirectives as u, vShow as c, createTextVNode as d } from "vue";
2
2
  const i = { style: { padding: "8px 0px 0px 0px" } }, p = e({ __name: "style-anchor", props: { configure: { type: Object, required: true } }, setup: (e2) => (p2, s) => {
3
3
  const m = l("el-switch"), f = l("el-form-item"), g = l("el-option"), b = l("el-select"), h = l("el-input-number"), y = l("el-color-picker"), x = l("el-input"), V = l("el-col"), _ = l("el-text"), v = l("el-collapse-item");
4
- return o(), a(v, { title: "固定点", name: "styleGaugeAnchor", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", i, [r(f, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: t(() => [r(m, { modelValue: e2.configure.style.enableAnchor, "onUpdate:modelValue": s[0] || (s[0] = (l2) => e2.configure.style.enableAnchor = l2) }, null, 8, ["modelValue"])]), _: 1 }), u(r(f, { label: "标记", style: { "margin-top": "19px" } }, { default: t(() => [r(b, { modelValue: e2.configure.style.anchorMark, "onUpdate:modelValue": s[1] || (s[1] = (l2) => e2.configure.style.anchorMark = l2), placeholder: "默认", clearable: "" }, { default: t(() => [r(g, { label: "circle", value: "circle" }), r(g, { label: "rect", value: "rect" }), r(g, { label: "roundRect", value: "roundRect" }), r(g, { label: "triangle", value: "triangle" }), r(g, { label: "diamond", value: "diamond" }), r(g, { label: "pin", value: "pin" }), r(g, { label: "arrow", value: "arrow" }), r(g, { label: "none", value: "none" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]]), u(r(f, { label: "大小", style: { "margin-top": "-10px" } }, { default: t(() => [r(h, { modelValue: e2.configure.style.anchorSize, "onUpdate:modelValue": s[2] || (s[2] = (l2) => e2.configure.style.anchorSize = l2), min: "0" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]]), u(r(f, { label: "颜色", style: { "margin-top": "-10px" } }, { default: t(() => [r(y, { modelValue: e2.configure.style.anchorColor, "onUpdate:modelValue": s[3] || (s[3] = (l2) => e2.configure.style.anchorColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]]), u(r(f, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [r(V, { span: 12 }, { default: t(() => [r(f, { label: "左", "label-width": "40px;" }, { default: t(() => [r(x, { style: { width: "50px" }, modelValue: e2.configure.style.anchorLeft, "onUpdate:modelValue": s[4] || (s[4] = (l2) => e2.configure.style.anchorLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), r(V, { span: 12 }, { default: t(() => [r(f, { label: "上", "label-width": "40px;" }, { default: t(() => [r(x, { style: { width: "50px" }, modelValue: e2.configure.style.anchorTop, "onUpdate:modelValue": s[5] || (s[5] = (l2) => e2.configure.style.anchorTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), r(_, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: t(() => s[6] || (s[6] = [d(" 如30,左表示固定点在水平方向横向上偏移30,上表示垂直方向上偏移 40 ", -1)])), _: 1, __: [6] })]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]])])]), _: 1 });
4
+ return o(), a(v, { title: "固定点", name: "styleGaugeAnchor", class: "amb-design-attr-group-header" }, { default: t(() => [n("div", i, [r(f, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: t(() => [r(m, { modelValue: e2.configure.style.enableAnchor, "onUpdate:modelValue": s[0] || (s[0] = (l2) => e2.configure.style.enableAnchor = l2) }, null, 8, ["modelValue"])]), _: 1 }), u(r(f, { label: "标记", style: { "margin-top": "19px" } }, { default: t(() => [r(b, { modelValue: e2.configure.style.anchorMark, "onUpdate:modelValue": s[1] || (s[1] = (l2) => e2.configure.style.anchorMark = l2), placeholder: "默认", clearable: "" }, { default: t(() => [r(g, { label: "circle", value: "circle" }), r(g, { label: "rect", value: "rect" }), r(g, { label: "roundRect", value: "roundRect" }), r(g, { label: "triangle", value: "triangle" }), r(g, { label: "diamond", value: "diamond" }), r(g, { label: "pin", value: "pin" }), r(g, { label: "arrow", value: "arrow" }), r(g, { label: "none", value: "none" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]]), u(r(f, { label: "大小", style: { "margin-top": "-10px" } }, { default: t(() => [r(h, { modelValue: e2.configure.style.anchorSize, "onUpdate:modelValue": s[2] || (s[2] = (l2) => e2.configure.style.anchorSize = l2), min: "0" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]]), u(r(f, { label: "颜色", style: { "margin-top": "-10px" } }, { default: t(() => [r(y, { modelValue: e2.configure.style.anchorColor, "onUpdate:modelValue": s[3] || (s[3] = (l2) => e2.configure.style.anchorColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]]), u(r(f, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [r(V, { span: 12 }, { default: t(() => [r(f, { label: "左", "label-width": "40px;" }, { default: t(() => [r(x, { style: { width: "50px" }, modelValue: e2.configure.style.anchorLeft, "onUpdate:modelValue": s[4] || (s[4] = (l2) => e2.configure.style.anchorLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), r(V, { span: 12 }, { default: t(() => [r(f, { label: "上", "label-width": "40px;" }, { default: t(() => [r(x, { style: { width: "50px" }, modelValue: e2.configure.style.anchorTop, "onUpdate:modelValue": s[5] || (s[5] = (l2) => e2.configure.style.anchorTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), r(_, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: t(() => [...s[6] || (s[6] = [d(" 如30,左表示固定点在水平方向横向上偏移30,上表示垂直方向上偏移 40 ", -1)])]), _: 1 })]), _: 1 }, 512), [[c, e2.configure.style.enableAnchor]])])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  p as default
@@ -2,8 +2,8 @@ import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t
2
2
  const g = { style: { padding: "8px 0px 0px 0px" } }, c = e({ __name: "style-axislabel", props: { configure: { type: Object, required: true }, chartType: String }, setup(e2) {
3
3
  const c2 = e2, x = ["8", "10", "12", "14", "16", "18", "20", "24", "28"], y = l(true);
4
4
  return "seriesChart" == c2.chartType || (y.value = false), (l2, c3) => {
5
- const y2 = a("el-switch"), f = a("el-form-item"), L = a("el-input-number"), V = a("el-color-picker"), _ = a("el-option"), h = a("el-select"), A = a("el-input"), v = a("el-text"), U = a("el-collapse-item");
6
- return o(), t(U, { title: "刻度标签", name: "styleAxisLabel", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", g, [n(f, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: i(() => [n(y2, { modelValue: e2.configure.style.enableAxisLabel, "onUpdate:modelValue": c3[0] || (c3[0] = (l3) => e2.configure.style.enableAxisLabel = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(n(f, { label: "轴线距离", style: { "margin-top": "18px" } }, { default: i(() => [n(L, { modelValue: e2.configure.style.axisLabelDistance, "onUpdate:modelValue": c3[1] || (c3[1] = (l3) => e2.configure.style.axisLabelDistance = l3), min: "0", max: 50 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: i(() => [n(V, { modelValue: e2.configure.style.axisLabelColor, "onUpdate:modelValue": c3[2] || (c3[2] = (l3) => e2.configure.style.axisLabelColor = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: i(() => [n(h, { modelValue: e2.configure.style.axisLabelFontSize, "onUpdate:modelValue": c3[3] || (c3[3] = (l3) => e2.configure.style.axisLabelFontSize = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(o(), b(d, null, m(x, (e3) => n(_, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: i(() => [n(h, { modelValue: e2.configure.style.axisLabelWeight, "onUpdate:modelValue": c3[4] || (c3[4] = (l3) => e2.configure.style.axisLabelWeight = l3), placeholder: "默认", clearable: "" }, { default: i(() => [n(_, { label: "normal", value: "normal" }), n(_, { label: "bold", value: "bold" }), n(_, { label: "bolder", value: "bolder" }), n(_, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "旋转角度", style: { "margin-top": "-10px" } }, { default: i(() => [n(L, { modelValue: e2.configure.style.axisLabelAngle, "onUpdate:modelValue": c3[5] || (c3[5] = (l3) => e2.configure.style.axisLabelAngle = l3), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [n(A, { modelValue: e2.configure.style.axisLabelFormatter, "onUpdate:modelValue": c3[6] || (c3[6] = (l3) => e2.configure.style.axisLabelFormatter = l3), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), n(v, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => c3[7] || (c3[7] = [p(" 格式如:{value} kg ", -1)])), _: 1, __: [7] })]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]])])]), _: 1 });
5
+ const y2 = a("el-switch"), f = a("el-form-item"), L = a("el-input-number"), V = a("el-color-picker"), h = a("el-option"), _ = a("el-select"), A = a("el-input"), v = a("el-text"), U = a("el-collapse-item");
6
+ return o(), t(U, { title: "刻度标签", name: "styleAxisLabel", class: "amb-design-attr-group-header" }, { default: i(() => [u("div", g, [n(f, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: i(() => [n(y2, { modelValue: e2.configure.style.enableAxisLabel, "onUpdate:modelValue": c3[0] || (c3[0] = (l3) => e2.configure.style.enableAxisLabel = l3) }, null, 8, ["modelValue"])]), _: 1 }), s(n(f, { label: "轴线距离", style: { "margin-top": "18px" } }, { default: i(() => [n(L, { modelValue: e2.configure.style.axisLabelDistance, "onUpdate:modelValue": c3[1] || (c3[1] = (l3) => e2.configure.style.axisLabelDistance = l3), min: "0", max: 50 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: i(() => [n(V, { modelValue: e2.configure.style.axisLabelColor, "onUpdate:modelValue": c3[2] || (c3[2] = (l3) => e2.configure.style.axisLabelColor = l3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: i(() => [n(_, { modelValue: e2.configure.style.axisLabelFontSize, "onUpdate:modelValue": c3[3] || (c3[3] = (l3) => e2.configure.style.axisLabelFontSize = l3), placeholder: "默认", clearable: "" }, { default: i(() => [(o(), b(d, null, m(x, (e3) => n(h, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: i(() => [n(_, { modelValue: e2.configure.style.axisLabelWeight, "onUpdate:modelValue": c3[4] || (c3[4] = (l3) => e2.configure.style.axisLabelWeight = l3), placeholder: "默认", clearable: "" }, { default: i(() => [n(h, { label: "normal", value: "normal" }), n(h, { label: "bold", value: "bold" }), n(h, { label: "bolder", value: "bolder" }), n(h, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "旋转角度", style: { "margin-top": "-10px" } }, { default: i(() => [n(L, { modelValue: e2.configure.style.axisLabelAngle, "onUpdate:modelValue": c3[5] || (c3[5] = (l3) => e2.configure.style.axisLabelAngle = l3), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]]), s(n(f, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: i(() => [n(A, { modelValue: e2.configure.style.axisLabelFormatter, "onUpdate:modelValue": c3[6] || (c3[6] = (l3) => e2.configure.style.axisLabelFormatter = l3), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), n(v, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: i(() => [...c3[7] || (c3[7] = [p(" 格式如:{value} kg ", -1)])]), _: 1 })]), _: 1 }, 512), [[r, e2.configure.style.enableAxisLabel]])])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -2,8 +2,8 @@ import { defineComponent as e, resolveComponent as l, createBlock as t, openBloc
2
2
  const c = { style: { padding: "8px 0px 0px 0px" } }, g = e({ __name: "style-detail", props: { configure: { type: Object, required: true } }, setup(e2) {
3
3
  const g2 = ["8", "10", "12", "14", "16", "18", "20", "24", "28"];
4
4
  return (f, y) => {
5
- const b = l("el-switch"), x = l("el-form-item"), V = l("el-color-picker"), _ = l("el-option"), h = l("el-select"), v = l("el-input"), D = l("el-col"), U = l("el-text"), w = l("el-collapse-item");
6
- return a(), t(w, { title: "仪表盘详情(数据)", name: "styleGaugeFixedpoint", class: "amb-design-attr-group-header" }, { default: o(() => [i("div", c, [u(x, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [u(b, { modelValue: e2.configure.style.enableDetail, "onUpdate:modelValue": y[0] || (y[0] = (l2) => e2.configure.style.enableDetail = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(u(x, { label: "颜色", style: { "margin-top": "22px" } }, { default: o(() => [u(V, { modelValue: e2.configure.style.detailColor, "onUpdate:modelValue": y[1] || (y[1] = (l2) => e2.configure.style.detailColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [u(h, { modelValue: e2.configure.style.detailFontSize, "onUpdate:modelValue": y[2] || (y[2] = (l2) => e2.configure.style.detailFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), r(p, null, s(g2, (e3) => u(_, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [u(h, { modelValue: e2.configure.style.detailWeight, "onUpdate:modelValue": y[3] || (y[3] = (l2) => e2.configure.style.detailWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [u(_, { label: "normal", value: "normal" }), u(_, { label: "bold", value: "bold" }), u(_, { label: "bolder", value: "bolder" }), u(_, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(D, { span: 12 }, { default: o(() => [u(x, { label: "左", "label-width": "40px;" }, { default: o(() => [u(v, { style: { width: "50px" }, modelValue: e2.configure.style.detailLeft, "onUpdate:modelValue": y[4] || (y[4] = (l2) => e2.configure.style.detailLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(D, { span: 12 }, { default: o(() => [u(x, { label: "上", "label-width": "40px;" }, { default: o(() => [u(v, { style: { width: "50px" }, modelValue: e2.configure.style.detailTop, "onUpdate:modelValue": y[5] || (y[5] = (l2) => e2.configure.style.detailTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => y[7] || (y[7] = [m(" 如30,左表示在水平方向上偏移30,上表示垂直方向上偏移 40 ", -1)])), _: 1, __: [7] })]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(v, { modelValue: e2.configure.style.detailFormatter, "onUpdate:modelValue": y[6] || (y[6] = (l2) => e2.configure.style.detailFormatter = l2), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), u(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => y[8] || (y[8] = [m(" 格式化字符串 如:{value}% ", -1)])), _: 1, __: [8] })]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]])])]), _: 1 });
5
+ const b = l("el-switch"), x = l("el-form-item"), V = l("el-color-picker"), h = l("el-option"), _ = l("el-select"), v = l("el-input"), D = l("el-col"), U = l("el-text"), w = l("el-collapse-item");
6
+ return a(), t(w, { title: "仪表盘详情(数据)", name: "styleGaugeFixedpoint", class: "amb-design-attr-group-header" }, { default: o(() => [i("div", c, [u(x, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [u(b, { modelValue: e2.configure.style.enableDetail, "onUpdate:modelValue": y[0] || (y[0] = (l2) => e2.configure.style.enableDetail = l2) }, null, 8, ["modelValue"])]), _: 1 }), d(u(x, { label: "颜色", style: { "margin-top": "22px" } }, { default: o(() => [u(V, { modelValue: e2.configure.style.detailColor, "onUpdate:modelValue": y[1] || (y[1] = (l2) => e2.configure.style.detailColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [u(_, { modelValue: e2.configure.style.detailFontSize, "onUpdate:modelValue": y[2] || (y[2] = (l2) => e2.configure.style.detailFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), r(p, null, s(g2, (e3) => u(h, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [u(_, { modelValue: e2.configure.style.detailWeight, "onUpdate:modelValue": y[3] || (y[3] = (l2) => e2.configure.style.detailWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [u(h, { label: "normal", value: "normal" }), u(h, { label: "bold", value: "bold" }), u(h, { label: "bolder", value: "bolder" }), u(h, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(D, { span: 12 }, { default: o(() => [u(x, { label: "左", "label-width": "40px;" }, { default: o(() => [u(v, { style: { width: "50px" }, modelValue: e2.configure.style.detailLeft, "onUpdate:modelValue": y[4] || (y[4] = (l2) => e2.configure.style.detailLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(D, { span: 12 }, { default: o(() => [u(x, { label: "上", "label-width": "40px;" }, { default: o(() => [u(v, { style: { width: "50px" }, modelValue: e2.configure.style.detailTop, "onUpdate:modelValue": y[5] || (y[5] = (l2) => e2.configure.style.detailTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), u(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => [...y[7] || (y[7] = [m(" 如30,左表示在水平方向上偏移30,上表示垂直方向上偏移 40 ", -1)])]), _: 1 })]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]]), d(u(x, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(v, { modelValue: e2.configure.style.detailFormatter, "onUpdate:modelValue": y[6] || (y[6] = (l2) => e2.configure.style.detailFormatter = l2), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), u(U, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => [...y[8] || (y[8] = [m(" 格式化字符串 如:{value}% ", -1)])]), _: 1 })]), _: 1 }, 512), [[n, e2.configure.style.enableDetail]])])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as t, openBlock as a, withCtx as u, createElementVNode as n, createVNode as o, createTextVNode as d } from "vue";
2
2
  const s = { style: { padding: "8px 0px 0px 0px" } }, i = e({ __name: "style-gauge", props: { configure: { type: Object, required: true } }, setup: (e2) => (i2, m) => {
3
3
  const p = l("el-input-number"), r = l("el-form-item"), g = l("el-input"), f = l("el-col"), c = l("el-text"), y = l("el-collapse-item");
4
- return a(), t(y, { title: "仪表盘", name: "styleGauge", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", s, [o(r, { label: "最小值", style: { "margin-top": "4px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.min, "onUpdate:modelValue": m[0] || (m[0] = (l2) => e2.configure.style.min = l2), max: e2.configure.style.max }, null, 8, ["modelValue", "max"])]), _: 1 }), o(r, { label: "最大值", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.max, "onUpdate:modelValue": m[1] || (m[1] = (l2) => e2.configure.style.max = l2), min: e2.configure.style.min }, null, 8, ["modelValue", "min"])]), _: 1 }), o(r, { label: "中心坐标", style: { "margin-top": "-10px" } }, { default: u(() => [o(f, { span: 12 }, { default: u(() => [o(r, { label: "左", "label-width": "40px;" }, { default: u(() => [o(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerLeft, "onUpdate:modelValue": m[2] || (m[2] = (l2) => e2.configure.style.centerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), o(f, { span: 12 }, { default: u(() => [o(r, { label: "上", "label-width": "40px;" }, { default: u(() => [o(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerTop, "onUpdate:modelValue": m[3] || (m[3] = (l2) => e2.configure.style.centerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), o(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => m[8] || (m[8] = [d("格式如:50%,左为是横坐标位置,上是纵坐标位置", -1)])), _: 1, __: [8] })]), _: 1 }), o(r, { label: "半径", style: { "margin-top": "-10px" } }, { default: u(() => [o(g, { style: { width: "50px" }, modelValue: e2.configure.style.radiusOuter, "onUpdate:modelValue": m[4] || (m[4] = (l2) => e2.configure.style.radiusOuter = l2), placeholder: "" }, null, 8, ["modelValue"]), o(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => m[9] || (m[9] = [d("格式如:75%,可以是相对于容器高宽中较小的一项的一半的百分比,也可以是绝对的数值", -1)])), _: 1, __: [9] })]), _: 1 }), o(r, { label: "分割段数", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.splitNumber, "onUpdate:modelValue": m[5] || (m[5] = (l2) => e2.configure.style.splitNumber = l2), min: 0, max: 360 }, null, 8, ["modelValue"])]), _: 1 }), o(r, { label: "起始角度", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.startAngle, "onUpdate:modelValue": m[6] || (m[6] = (l2) => e2.configure.style.startAngle = l2), min: -180, max: 180 }, null, 8, ["modelValue"])]), _: 1 }), o(r, { label: "结束角度", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.endAngle, "onUpdate:modelValue": m[7] || (m[7] = (l2) => e2.configure.style.endAngle = l2), min: -180, max: 180 }, null, 8, ["modelValue"]), o(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => m[10] || (m[10] = [d("正右手侧为0度,正上方为90度,正左手侧为180度", -1)])), _: 1, __: [10] })]), _: 1 })])]), _: 1 });
4
+ return a(), t(y, { title: "仪表盘", name: "styleGauge", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", s, [o(r, { label: "最小值", style: { "margin-top": "4px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.min, "onUpdate:modelValue": m[0] || (m[0] = (l2) => e2.configure.style.min = l2), max: e2.configure.style.max }, null, 8, ["modelValue", "max"])]), _: 1 }), o(r, { label: "最大值", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.max, "onUpdate:modelValue": m[1] || (m[1] = (l2) => e2.configure.style.max = l2), min: e2.configure.style.min }, null, 8, ["modelValue", "min"])]), _: 1 }), o(r, { label: "中心坐标", style: { "margin-top": "-10px" } }, { default: u(() => [o(f, { span: 12 }, { default: u(() => [o(r, { label: "左", "label-width": "40px;" }, { default: u(() => [o(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerLeft, "onUpdate:modelValue": m[2] || (m[2] = (l2) => e2.configure.style.centerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), o(f, { span: 12 }, { default: u(() => [o(r, { label: "上", "label-width": "40px;" }, { default: u(() => [o(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerTop, "onUpdate:modelValue": m[3] || (m[3] = (l2) => e2.configure.style.centerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), o(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => [...m[8] || (m[8] = [d("格式如:50%,左为是横坐标位置,上是纵坐标位置", -1)])]), _: 1 })]), _: 1 }), o(r, { label: "半径", style: { "margin-top": "-10px" } }, { default: u(() => [o(g, { style: { width: "50px" }, modelValue: e2.configure.style.radiusOuter, "onUpdate:modelValue": m[4] || (m[4] = (l2) => e2.configure.style.radiusOuter = l2), placeholder: "" }, null, 8, ["modelValue"]), o(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => [...m[9] || (m[9] = [d("格式如:75%,可以是相对于容器高宽中较小的一项的一半的百分比,也可以是绝对的数值", -1)])]), _: 1 })]), _: 1 }), o(r, { label: "分割段数", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.splitNumber, "onUpdate:modelValue": m[5] || (m[5] = (l2) => e2.configure.style.splitNumber = l2), min: 0, max: 360 }, null, 8, ["modelValue"])]), _: 1 }), o(r, { label: "起始角度", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.startAngle, "onUpdate:modelValue": m[6] || (m[6] = (l2) => e2.configure.style.startAngle = l2), min: -180, max: 180 }, null, 8, ["modelValue"])]), _: 1 }), o(r, { label: "结束角度", style: { "margin-top": "-10px" } }, { default: u(() => [o(p, { modelValue: e2.configure.style.endAngle, "onUpdate:modelValue": m[7] || (m[7] = (l2) => e2.configure.style.endAngle = l2), min: -180, max: 180 }, null, 8, ["modelValue"]), o(c, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => [...m[10] || (m[10] = [d("正右手侧为0度,正上方为90度,正左手侧为180度", -1)])]), _: 1 })]), _: 1 })])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  i as default
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as t, openBlock as o, withCtx as a, createElementVNode as n, createVNode as i, withDirectives as r, vShow as u, createTextVNode as p } from "vue";
2
2
  const d = { style: { padding: "8px 0px 0px 0px" } }, s = e({ __name: "style-pointer", props: { configure: { type: Object, required: true } }, setup: (e2) => (s2, c) => {
3
- const m = l("el-switch"), g = l("el-form-item"), f = l("el-option"), y = l("el-select"), b = l("el-input-number"), x = l("el-input"), V = l("el-text"), _ = l("el-color-picker"), h = l("el-col"), v = l("el-collapse-item");
4
- return o(), t(v, { title: "指针", name: "styleGaugePointer", class: "amb-design-attr-group-header" }, { default: a(() => [n("div", d, [i(g, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: a(() => [i(m, { modelValue: e2.configure.style.enablePointer, "onUpdate:modelValue": c[0] || (c[0] = (l2) => e2.configure.style.enablePointer = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(i(g, { label: "标记", style: { "margin-top": "18px" } }, { default: a(() => [i(y, { modelValue: e2.configure.style.pointerIcon, "onUpdate:modelValue": c[1] || (c[1] = (l2) => e2.configure.style.pointerIcon = l2), placeholder: "默认", clearable: "" }, { default: a(() => [i(f, { label: "circle", value: "circle" }), i(f, { label: "rect", value: "rect" }), i(f, { label: "roundRect", value: "roundRect" }), i(f, { label: "triangle", value: "triangle" }), i(f, { label: "diamond", value: "diamond" }), i(f, { label: "pin", value: "pin" }), i(f, { label: "arrow", value: "arrow" }), i(f, { label: "none", value: "none" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "宽度", style: { "margin-top": "-10px" } }, { default: a(() => [i(b, { modelValue: e2.configure.style.pointerWidth, "onUpdate:modelValue": c[2] || (c[2] = (l2) => e2.configure.style.pointerWidth = l2), min: "0" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "长度", style: { "margin-top": "-10px" } }, { default: a(() => [i(x, { modelValue: e2.configure.style.pointerLength, "onUpdate:modelValue": c[3] || (c[3] = (l2) => e2.configure.style.pointerLength = l2) }, null, 8, ["modelValue"]), i(V, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: a(() => c[7] || (c[7] = [p("指针长度,如10或60%,可以是绝对数值,也可以是相对于半径的半分比", -1)])), _: 1, __: [7] })]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "颜色", style: { "margin-top": "22px" } }, { default: a(() => [i(_, { modelValue: e2.configure.style.pointerColor, "onUpdate:modelValue": c[4] || (c[4] = (l2) => e2.configure.style.pointerColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: a(() => [i(h, { span: 12 }, { default: a(() => [i(g, { label: "左", "label-width": "40px;" }, { default: a(() => [i(x, { style: { width: "50px" }, modelValue: e2.configure.style.pointerLeft, "onUpdate:modelValue": c[5] || (c[5] = (l2) => e2.configure.style.pointerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(h, { span: 12 }, { default: a(() => [i(g, { label: "上", "label-width": "40px;" }, { default: a(() => [i(x, { style: { width: "50px" }, modelValue: e2.configure.style.pointerTop, "onUpdate:modelValue": c[6] || (c[6] = (l2) => e2.configure.style.pointerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(V, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: a(() => c[8] || (c[8] = [p(" 左表示指针在水平方向横向上偏移30,上表示垂直方向上偏移 40,可以是绝对的数值,也可以是相对于仪表盘半径的百分比。 ", -1)])), _: 1, __: [8] })]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]])])]), _: 1 });
3
+ const m = l("el-switch"), g = l("el-form-item"), f = l("el-option"), y = l("el-select"), b = l("el-input-number"), x = l("el-input"), V = l("el-text"), h = l("el-color-picker"), _ = l("el-col"), v = l("el-collapse-item");
4
+ return o(), t(v, { title: "指针", name: "styleGaugePointer", class: "amb-design-attr-group-header" }, { default: a(() => [n("div", d, [i(g, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: a(() => [i(m, { modelValue: e2.configure.style.enablePointer, "onUpdate:modelValue": c[0] || (c[0] = (l2) => e2.configure.style.enablePointer = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(i(g, { label: "标记", style: { "margin-top": "18px" } }, { default: a(() => [i(y, { modelValue: e2.configure.style.pointerIcon, "onUpdate:modelValue": c[1] || (c[1] = (l2) => e2.configure.style.pointerIcon = l2), placeholder: "默认", clearable: "" }, { default: a(() => [i(f, { label: "circle", value: "circle" }), i(f, { label: "rect", value: "rect" }), i(f, { label: "roundRect", value: "roundRect" }), i(f, { label: "triangle", value: "triangle" }), i(f, { label: "diamond", value: "diamond" }), i(f, { label: "pin", value: "pin" }), i(f, { label: "arrow", value: "arrow" }), i(f, { label: "none", value: "none" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "宽度", style: { "margin-top": "-10px" } }, { default: a(() => [i(b, { modelValue: e2.configure.style.pointerWidth, "onUpdate:modelValue": c[2] || (c[2] = (l2) => e2.configure.style.pointerWidth = l2), min: "0" }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "长度", style: { "margin-top": "-10px" } }, { default: a(() => [i(x, { modelValue: e2.configure.style.pointerLength, "onUpdate:modelValue": c[3] || (c[3] = (l2) => e2.configure.style.pointerLength = l2) }, null, 8, ["modelValue"]), i(V, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: a(() => [...c[7] || (c[7] = [p("指针长度,如10或60%,可以是绝对数值,也可以是相对于半径的半分比", -1)])]), _: 1 })]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "颜色", style: { "margin-top": "22px" } }, { default: a(() => [i(h, { modelValue: e2.configure.style.pointerColor, "onUpdate:modelValue": c[4] || (c[4] = (l2) => e2.configure.style.pointerColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]]), r(i(g, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: a(() => [i(_, { span: 12 }, { default: a(() => [i(g, { label: "左", "label-width": "40px;" }, { default: a(() => [i(x, { style: { width: "50px" }, modelValue: e2.configure.style.pointerLeft, "onUpdate:modelValue": c[5] || (c[5] = (l2) => e2.configure.style.pointerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(_, { span: 12 }, { default: a(() => [i(g, { label: "上", "label-width": "40px;" }, { default: a(() => [i(x, { style: { width: "50px" }, modelValue: e2.configure.style.pointerTop, "onUpdate:modelValue": c[6] || (c[6] = (l2) => e2.configure.style.pointerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(V, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: a(() => [...c[8] || (c[8] = [p(" 左表示指针在水平方向横向上偏移30,上表示垂直方向上偏移 40,可以是绝对的数值,也可以是相对于仪表盘半径的百分比。 ", -1)])]), _: 1 })]), _: 1 }, 512), [[u, e2.configure.style.enablePointer]])])]), _: 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 t, openBlock as a, withCtx as o, createElementVNode as u, createVNode as i, withDirectives as p, vShow as n, createTextVNode as s } from "vue";
2
2
  const d = { style: { padding: "8px 0px 0px 0px" } }, r = e({ __name: "style-split", props: { configure: { type: Object, required: true } }, setup: (e2) => (r2, m) => {
3
3
  const c = l("el-switch"), g = l("el-form-item"), y = l("el-input-number"), b = l("el-color-picker"), f = l("el-option"), V = l("el-select"), x = l("el-input"), v = l("el-text"), _ = l("el-collapse-item");
4
- return a(), t(_, { title: "分隔线", name: "styleGaugeSplit", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", d, [i(g, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [i(c, { modelValue: e2.configure.style.enableSplit, "onUpdate:modelValue": m[0] || (m[0] = (l2) => e2.configure.style.enableSplit = l2) }, null, 8, ["modelValue"])]), _: 1 }), p(i(g, { label: "轴线距离", style: { "margin-top": "22px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.splitDistance, "onUpdate:modelValue": m[1] || (m[1] = (l2) => e2.configure.style.splitDistance = l2), max: 50 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: o(() => [i(b, { modelValue: e2.configure.style.splitColor, "onUpdate:modelValue": m[2] || (m[2] = (l2) => e2.configure.style.splitColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "透明度", style: { "margin-top": "-10px" } }, { default: o(() => [i(V, { modelValue: e2.configure.style.splitOpacity, "onUpdate:modelValue": m[3] || (m[3] = (l2) => e2.configure.style.splitOpacity = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(f, { label: "1", value: "1" }), i(f, { label: "0.9", value: "0.9" }), i(f, { label: "0.8", value: "0.8" }), i(f, { label: "0.7", value: "0.7" }), i(f, { label: "0.6", value: "0.6" }), i(f, { label: "0.5", value: "0.5" }), i(f, { label: "0.4", value: "0.4" }), i(f, { label: "0.3", value: "0.3" }), i(f, { label: "0.2", value: "0.2" }), i(f, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "线宽", style: { "margin-top": "-10px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.splitWidth, "onUpdate:modelValue": m[4] || (m[4] = (l2) => e2.configure.style.splitWidth = l2), min: "0", max: 50 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "线型", style: { "margin-top": "-10px" } }, { default: o(() => [i(V, { modelValue: e2.configure.style.splitLineType, "onUpdate:modelValue": m[5] || (m[5] = (l2) => e2.configure.style.splitLineType = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(f, { label: "solid", value: "solid" }), i(f, { label: "dashed", value: "dashed" }), i(f, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "线长", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(x, { modelValue: e2.configure.style.splitLength, "onUpdate:modelValue": m[6] || (m[6] = (l2) => e2.configure.style.splitLength = l2) }, null, 8, ["modelValue"]), i(v, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => m[7] || (m[7] = [s("如10或50%,固定值或相对半径的百分比", -1)])), _: 1, __: [7] })]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]])])]), _: 1 });
4
+ return a(), t(_, { title: "分隔线", name: "styleGaugeSplit", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", d, [i(g, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [i(c, { modelValue: e2.configure.style.enableSplit, "onUpdate:modelValue": m[0] || (m[0] = (l2) => e2.configure.style.enableSplit = l2) }, null, 8, ["modelValue"])]), _: 1 }), p(i(g, { label: "轴线距离", style: { "margin-top": "22px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.splitDistance, "onUpdate:modelValue": m[1] || (m[1] = (l2) => e2.configure.style.splitDistance = l2), max: 50 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "颜色", style: { "margin-top": "-10px" } }, { default: o(() => [i(b, { modelValue: e2.configure.style.splitColor, "onUpdate:modelValue": m[2] || (m[2] = (l2) => e2.configure.style.splitColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "透明度", style: { "margin-top": "-10px" } }, { default: o(() => [i(V, { modelValue: e2.configure.style.splitOpacity, "onUpdate:modelValue": m[3] || (m[3] = (l2) => e2.configure.style.splitOpacity = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(f, { label: "1", value: "1" }), i(f, { label: "0.9", value: "0.9" }), i(f, { label: "0.8", value: "0.8" }), i(f, { label: "0.7", value: "0.7" }), i(f, { label: "0.6", value: "0.6" }), i(f, { label: "0.5", value: "0.5" }), i(f, { label: "0.4", value: "0.4" }), i(f, { label: "0.3", value: "0.3" }), i(f, { label: "0.2", value: "0.2" }), i(f, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "线宽", style: { "margin-top": "-10px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.splitWidth, "onUpdate:modelValue": m[4] || (m[4] = (l2) => e2.configure.style.splitWidth = l2), min: "0", max: 50 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "线型", style: { "margin-top": "-10px" } }, { default: o(() => [i(V, { modelValue: e2.configure.style.splitLineType, "onUpdate:modelValue": m[5] || (m[5] = (l2) => e2.configure.style.splitLineType = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(f, { label: "solid", value: "solid" }), i(f, { label: "dashed", value: "dashed" }), i(f, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]]), p(i(g, { label: "线长", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(x, { modelValue: e2.configure.style.splitLength, "onUpdate:modelValue": m[6] || (m[6] = (l2) => e2.configure.style.splitLength = l2) }, null, 8, ["modelValue"]), i(v, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => [...m[7] || (m[7] = [s("如10或50%,固定值或相对半径的百分比", -1)])]), _: 1 })]), _: 1 }, 512), [[n, e2.configure.style.enableSplit]])])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  r as default
@@ -3,7 +3,7 @@ const m = { style: { padding: "8px 0px 0px 0px" } }, c = e({ __name: "style-titl
3
3
  const c2 = ["8", "10", "12", "14", "16", "18", "20", "24", "28"];
4
4
  return (f, b) => {
5
5
  const y = l("el-switch"), T = l("el-form-item"), V = l("el-color-picker"), h = l("el-option"), x = l("el-select"), _ = l("el-input"), v = l("el-col"), G = l("el-text"), U = l("el-collapse-item");
6
- return a(), t(U, { title: "仪表盘标题", name: "styleGaugeTitle", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", m, [i(T, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.enableGaugeTitle, "onUpdate:modelValue": b[0] || (b[0] = (l2) => e2.configure.style.enableGaugeTitle = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(i(T, { label: "颜色", style: { "margin-top": "18px" } }, { default: o(() => [i(V, { modelValue: e2.configure.style.gaugeTitleColor, "onUpdate:modelValue": b[1] || (b[1] = (l2) => e2.configure.style.gaugeTitleColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]]), n(i(T, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [i(x, { modelValue: e2.configure.style.gaugeTitleFontSize, "onUpdate:modelValue": b[2] || (b[2] = (l2) => e2.configure.style.gaugeTitleFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), d(r, null, p(c2, (e3) => i(h, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]]), n(i(T, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [i(x, { modelValue: e2.configure.style.gaugeTitleFontWeight, "onUpdate:modelValue": b[3] || (b[3] = (l2) => e2.configure.style.gaugeTitleFontWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(h, { label: "normal", value: "normal" }), i(h, { label: "bold", value: "bold" }), i(h, { label: "bolder", value: "bolder" }), i(h, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]]), n(i(T, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(v, { span: 12 }, { default: o(() => [i(T, { "label-width": "40", label: "left" }, { default: o(() => [i(_, { style: { width: "40px" }, modelValue: e2.configure.style.gaugeTitleLeft, "onUpdate:modelValue": b[4] || (b[4] = (l2) => e2.configure.style.gaugeTitleLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(v, { span: 12 }, { default: o(() => [i(T, { "label-width": "40", label: "top" }, { default: o(() => [i(_, { style: { width: "40px" }, modelValue: e2.configure.style.gaugeTitleTop, "onUpdate:modelValue": b[5] || (b[5] = (l2) => e2.configure.style.gaugeTitleTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(G, { type: "success", size: "small", style: { "line-height": "15px", "margin-top": "4px" } }, { default: o(() => b[6] || (b[6] = [s("左为水平方向的偏移,上为垂直方向的偏移。可以是绝对的数值,也可以是相对于仪表盘半径的百分比", -1)])), _: 1, __: [6] })]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]])])]), _: 1 });
6
+ return a(), t(U, { title: "仪表盘标题", name: "styleGaugeTitle", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", m, [i(T, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [i(y, { modelValue: e2.configure.style.enableGaugeTitle, "onUpdate:modelValue": b[0] || (b[0] = (l2) => e2.configure.style.enableGaugeTitle = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(i(T, { label: "颜色", style: { "margin-top": "18px" } }, { default: o(() => [i(V, { modelValue: e2.configure.style.gaugeTitleColor, "onUpdate:modelValue": b[1] || (b[1] = (l2) => e2.configure.style.gaugeTitleColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]]), n(i(T, { label: "字号", style: { "margin-top": "-10px" } }, { default: o(() => [i(x, { modelValue: e2.configure.style.gaugeTitleFontSize, "onUpdate:modelValue": b[2] || (b[2] = (l2) => e2.configure.style.gaugeTitleFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(a(), d(r, null, p(c2, (e3) => i(h, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]]), n(i(T, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [i(x, { modelValue: e2.configure.style.gaugeTitleFontWeight, "onUpdate:modelValue": b[3] || (b[3] = (l2) => e2.configure.style.gaugeTitleFontWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [i(h, { label: "normal", value: "normal" }), i(h, { label: "bold", value: "bold" }), i(h, { label: "bolder", value: "bolder" }), i(h, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]]), n(i(T, { label: "偏移位置", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [i(v, { span: 12 }, { default: o(() => [i(T, { "label-width": "40", label: "left" }, { default: o(() => [i(_, { style: { width: "40px" }, modelValue: e2.configure.style.gaugeTitleLeft, "onUpdate:modelValue": b[4] || (b[4] = (l2) => e2.configure.style.gaugeTitleLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(v, { span: 12 }, { default: o(() => [i(T, { "label-width": "40", label: "top" }, { default: o(() => [i(_, { style: { width: "40px" }, modelValue: e2.configure.style.gaugeTitleTop, "onUpdate:modelValue": b[5] || (b[5] = (l2) => e2.configure.style.gaugeTitleTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), i(G, { type: "success", size: "small", style: { "line-height": "15px", "margin-top": "4px" } }, { default: o(() => [...b[6] || (b[6] = [s("左为水平方向的偏移,上为垂直方向的偏移。可以是绝对的数值,也可以是相对于仪表盘半径的百分比", -1)])]), _: 1 })]), _: 1 }, 512), [[g, e2.configure.style.enableGaugeTitle]])])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -1,8 +1,9 @@
1
- import { defineComponent as e, ref as a, watch as l, resolveComponent as n, createElementBlock as t, openBlock as s, createElementVNode as u, normalizeClass as i, createTextVNode as c, createBlock as r, createCommentVNode as o, withDirectives as g, createVNode as v, vShow as d } from "vue";
1
+ import { defineComponent as e, ref as a, watch as n, resolveComponent as l, createElementBlock as t, openBlock as s, createElementVNode as u, normalizeClass as i, createTextVNode as c, createBlock as o, createCommentVNode as r, withDirectives as g, createVNode as v, vShow as d } from "vue";
2
2
  import f from "./pie-attr-base.vue.js";
3
3
  import p from "./pie-attr-style.vue.js";
4
- import m from "../../common-attr-events.vue.js";
5
- import b from "./attr-advanced.vue.js";
4
+ import "@element-plus/icons";
5
+ import m from "./attr-advanced.vue.js";
6
+ import b from "../common/common-attr-events.vue.js";
6
7
  const y = { class: "amb-design-attr-content" }, D = { class: "amb-design-attr-header" }, j = { class: "amb-design-attr-header-type" }, k = { class: "amb-design-attr-list" }, C = e({ __name: "pie-attr", props: { configure: { type: Object, required: true }, pageDesign: { type: Object, default: () => {
7
8
  } } }, emits: [], setup(e2, { emit: C2 }) {
8
9
  const h = e2, O = a("base");
@@ -12,11 +13,11 @@ const y = { class: "amb-design-attr-content" }, D = { class: "amb-design-attr-he
12
13
  const e3 = h.configure.events;
13
14
  for (let a2 = 0; a2 < e3.length; a2++) e3[a2].selLogicCode && _.value++;
14
15
  }
15
- return q(), l(h.configure.events, (e3) => {
16
+ return q(), n(h.configure.events, (e3) => {
16
17
  q();
17
- }), (a2, l2) => {
18
- const C3 = n("el-badge");
19
- return s(), t("div", y, [u("div", D, [u("div", j, [u("label", { class: i({ selected: "base" == O.value }), onClick: l2[0] || (l2[0] = (e3) => O.value = "base") }, "属性", 2), u("label", { class: i({ selected: "style" == O.value }), onClick: l2[1] || (l2[1] = (e3) => O.value = "style") }, "样式", 2), u("label", { class: i({ selected: "event" == O.value }), onClick: l2[2] || (l2[2] = (e3) => O.value = "event") }, [l2[4] || (l2[4] = c(" 事件 ", -1)), _.value > 0 ? (s(), r(C3, { key: 0, value: _.value }, null, 8, ["value"])) : o("", true)], 2), u("label", { class: i({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", k, [g(v(f, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[d, "base" == O.value]]), g(v(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(m, { 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]])])]);
18
+ }), (a2, n2) => {
19
+ const C3 = l("el-badge");
20
+ return s(), t("div", y, [u("div", D, [u("div", j, [u("label", { class: i({ selected: "base" == O.value }), onClick: n2[0] || (n2[0] = (e3) => O.value = "base") }, "属性", 2), u("label", { class: i({ selected: "style" == O.value }), onClick: n2[1] || (n2[1] = (e3) => O.value = "style") }, "样式", 2), u("label", { class: i({ selected: "event" == O.value }), onClick: n2[2] || (n2[2] = (e3) => O.value = "event") }, [n2[4] || (n2[4] = c(" 事件 ", -1)), _.value > 0 ? (s(), o(C3, { key: 0, value: _.value }, null, 8, ["value"])) : r("", true)], 2), u("label", { class: i({ selected: "advanced" == O.value }), onClick: n2[3] || (n2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), u("div", k, [g(v(f, { configure: e2.configure, pageDesign: e2.pageDesign }, null, 8, ["configure", "pageDesign"]), [[d, "base" == O.value]]), g(v(p, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), g(v(b, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), g(v(m, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
20
21
  };
21
22
  } });
22
23
  export {
@@ -44,17 +44,17 @@ const S = { class: "amb-design-item-title" }, q = ["onClick"], B = e({ __name: "
44
44
  E.selectWidget && E.selectWidget.value != E.configure.componentIndex && Q();
45
45
  });
46
46
  const V = B2;
47
- return (e3, t2) => (n(), r("div", { style: c(F.value), class: u([G.value, "amb-widget-chart"]), onClick: s(U, ["stop"]), ref: "thisRef" }, [l(m(k, { headerInfo: L.value }, null, 8, ["headerInfo"]), [[f, L.value.showHeader]]), m(a(H), { ref: "chartRef", theme: J.value, option: K.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", S, [(n(true), r(p, null, d(e3.configure.items, (e4, t3) => (n(), r("label", { class: u([[e4.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e5) => function(e6, t4) {
48
- e6 && e6.preventDefault();
49
- const i2 = E.configure.items[t4];
50
- if (!i2.selected) {
51
- for (let e7 of E.configure.items) if (e7.selected) {
52
- e7.selected = false;
47
+ return (t2, i2) => (n(), r("div", { style: c(F.value), class: u([G.value, "amb-widget-chart"]), onClick: s(U, ["stop"]), ref: "thisRef" }, [l(m(k, { headerInfo: L.value }, null, 8, ["headerInfo"]), [[f, L.value.showHeader]]), m(a(H), { ref: "chartRef", theme: J.value, option: K.value, autoresize: "" }, null, 8, ["theme", "option"]), l(g("div", S, [(n(true), r(p, null, d(e2.configure.items, (e3, t3) => (n(), r("label", { class: u([[e3.selected ? "amb-design-chart-series-selected" : ""], "amb-design-chart-series"]), onClick: s((e4) => function(e5, t4) {
48
+ e5 && e5.preventDefault();
49
+ const i3 = E.configure.items[t4];
50
+ if (!i3.selected) {
51
+ for (let e6 of E.configure.items) if (e6.selected) {
52
+ e6.selected = false;
53
53
  break;
54
54
  }
55
- i2.selected = true, V("onCustomAttrWidget", i2, y);
55
+ i3.selected = true, V("onCustomAttrWidget", i3, y);
56
56
  }
57
- }(e5, t3), ["stop"]) }, h(e4.props.title), 11, q))), 256))], 512), [[f, e3.configure.componentIndex == e3.selectWidget.value]])], 6));
57
+ }(e4, t3), ["stop"]) }, h(e3.props.title), 11, q))), 256))], 512), [[f, e2.configure.componentIndex == e2.selectWidget.value]])], 6));
58
58
  } });
59
59
  export {
60
60
  B as default
@@ -3,9 +3,9 @@ import { Top as p, Bottom as c, Plus as f, Delete as m } from "@element-plus/ico
3
3
  import { ElMessage as g } from "element-plus";
4
4
  const y = { style: { padding: "8px 0px 0px 0px" } }, b = { style: { "text-align": "center", margin: "0px -8px", "padding-top": "4px", "padding-left": "2px" } }, x = e({ __name: "style-pie", props: { configure: { type: Object, required: true } }, setup(e2) {
5
5
  const x2 = e2;
6
- return x2.configure.style.colors || (x2.configure.style.colors = []), 0 == x2.configure.style.colors.length && x2.configure.style.colors.push({ index: 1 }), (_, V) => {
7
- const h = l("el-option"), w = l("el-select"), v = l("el-form-item"), U = l("el-input"), C = l("el-col"), k = l("el-text"), z = l("el-input-number"), T = l("el-divider"), O = l("el-icon"), A = l("el-table-column"), B = l("el-color-picker"), I = l("el-table"), L = l("el-collapse-item");
8
- return a(), o(L, { title: "扇区", name: "stylePie", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", y, [d(v, { label: "南丁格尔", style: { "margin-top": "4px" } }, { default: t(() => [d(w, { modelValue: e2.configure.style.roseType, "onUpdate:modelValue": V[0] || (V[0] = (l2) => e2.configure.style.roseType = l2), placeholder: "默认", clearable: "" }, { default: t(() => [d(h, { label: "radius", value: "radius" }), d(h, { label: "area", value: "area" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(v, { label: "圆心坐标", style: { "margin-top": "-10px" } }, { default: t(() => [d(C, { span: 12 }, { default: t(() => [d(v, { label: "左", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.centerLeft, "onUpdate:modelValue": V[1] || (V[1] = (l2) => e2.configure.style.centerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(C, { span: 12 }, { default: t(() => [d(v, { label: "上", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.centerTop, "onUpdate:modelValue": V[2] || (V[2] = (l2) => e2.configure.style.centerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(k, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: t(() => V[15] || (V[15] = [n("格式如:50%,左为是横坐标位置,上是纵坐标位置", -1)])), _: 1, __: [15] })]), _: 1 }), d(v, { label: "饼图半径", style: { "margin-top": "-10px" } }, { default: t(() => [d(C, { span: 12 }, { default: t(() => [d(v, { label: "内", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.radiusInner, "onUpdate:modelValue": V[3] || (V[3] = (l2) => e2.configure.style.radiusInner = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(C, { span: 12 }, { default: t(() => [d(v, { label: "外", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.radiusOuter, "onUpdate:modelValue": V[4] || (V[4] = (l2) => e2.configure.style.radiusOuter = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(k, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: t(() => V[16] || (V[16] = [n("格式如:0或75%,内是内半径,外是外半径", -1)])), _: 1, __: [16] })]), _: 1 }), d(v, { label: "间隔角度", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.padAngle, "onUpdate:modelValue": V[5] || (V[5] = (l2) => e2.configure.style.padAngle = l2), min: 0, max: 360 }, null, 8, ["modelValue"])]), _: 1 }), d(v, { label: "透明度", style: { "margin-top": "-10px" } }, { default: t(() => [d(w, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": V[6] || (V[6] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: t(() => [d(h, { label: "1", value: "1" }), d(h, { label: "0.9", value: "0.9" }), d(h, { label: "0.8", value: "0.8" }), d(h, { label: "0.7", value: "0.7" }), d(h, { label: "0.6", value: "0.6" }), d(h, { label: "0.5", value: "0.5" }), d(h, { label: "0.4", value: "0.4" }), d(h, { label: "0.3", value: "0.3" }), d(h, { label: "0.2", value: "0.2" }), d(h, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(T, null, { default: t(() => V[17] || (V[17] = [n(" 扇区颜色 ", -1)])), _: 1, __: [17] }), d(k, { style: { "line-height": "15px" }, type: "success", size: "small" }, { default: t(() => V[18] || (V[18] = [n(" 按顺序设置扇区颜色,如有设置名称,则按名称匹配颜色 ", -1)])), _: 1, __: [18] }), d(I, { data: e2.configure.style.colors, style: { width: "100%" } }, { default: t(() => [d(A, { label: "", width: "32" }, { default: t((e3) => [u("div", b, [d(O, { size: "14", style: { cursor: "pointer" }, onClick: (l2) => function(e4) {
6
+ return x2.configure.style.colors || (x2.configure.style.colors = []), 0 == x2.configure.style.colors.length && x2.configure.style.colors.push({ index: 1 }), (V, h) => {
7
+ const _ = l("el-option"), w = l("el-select"), v = l("el-form-item"), U = l("el-input"), C = l("el-col"), k = l("el-text"), z = l("el-input-number"), T = l("el-divider"), O = l("el-icon"), A = l("el-table-column"), B = l("el-color-picker"), I = l("el-table"), L = l("el-collapse-item");
8
+ return a(), o(L, { title: "扇区", name: "stylePie", class: "amb-design-attr-group-header" }, { default: t(() => [u("div", y, [d(v, { label: "南丁格尔", style: { "margin-top": "4px" } }, { default: t(() => [d(w, { modelValue: e2.configure.style.roseType, "onUpdate:modelValue": h[0] || (h[0] = (l2) => e2.configure.style.roseType = l2), placeholder: "默认", clearable: "" }, { default: t(() => [d(_, { label: "radius", value: "radius" }), d(_, { label: "area", value: "area" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(v, { label: "圆心坐标", style: { "margin-top": "-10px" } }, { default: t(() => [d(C, { span: 12 }, { default: t(() => [d(v, { label: "左", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.centerLeft, "onUpdate:modelValue": h[1] || (h[1] = (l2) => e2.configure.style.centerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(C, { span: 12 }, { default: t(() => [d(v, { label: "上", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.centerTop, "onUpdate:modelValue": h[2] || (h[2] = (l2) => e2.configure.style.centerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(k, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: t(() => [...h[15] || (h[15] = [n("格式如:50%,左为是横坐标位置,上是纵坐标位置", -1)])]), _: 1 })]), _: 1 }), d(v, { label: "饼图半径", style: { "margin-top": "-10px" } }, { default: t(() => [d(C, { span: 12 }, { default: t(() => [d(v, { label: "内", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.radiusInner, "onUpdate:modelValue": h[3] || (h[3] = (l2) => e2.configure.style.radiusInner = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(C, { span: 12 }, { default: t(() => [d(v, { label: "外", "label-width": "40px;" }, { default: t(() => [d(U, { style: { width: "50px" }, modelValue: e2.configure.style.radiusOuter, "onUpdate:modelValue": h[4] || (h[4] = (l2) => e2.configure.style.radiusOuter = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), d(k, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: t(() => [...h[16] || (h[16] = [n("格式如:0或75%,内是内半径,外是外半径", -1)])]), _: 1 })]), _: 1 }), d(v, { label: "间隔角度", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.padAngle, "onUpdate:modelValue": h[5] || (h[5] = (l2) => e2.configure.style.padAngle = l2), min: 0, max: 360 }, null, 8, ["modelValue"])]), _: 1 }), d(v, { label: "透明度", style: { "margin-top": "-10px" } }, { default: t(() => [d(w, { modelValue: e2.configure.style.opacity, "onUpdate:modelValue": h[6] || (h[6] = (l2) => e2.configure.style.opacity = l2), placeholder: "默认", clearable: "" }, { default: t(() => [d(_, { label: "1", value: "1" }), d(_, { label: "0.9", value: "0.9" }), d(_, { label: "0.8", value: "0.8" }), d(_, { label: "0.7", value: "0.7" }), d(_, { label: "0.6", value: "0.6" }), d(_, { label: "0.5", value: "0.5" }), d(_, { label: "0.4", value: "0.4" }), d(_, { label: "0.3", value: "0.3" }), d(_, { label: "0.2", value: "0.2" }), d(_, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), d(T, null, { default: t(() => [...h[17] || (h[17] = [n(" 扇区颜色 ", -1)])]), _: 1 }), d(k, { style: { "line-height": "15px" }, type: "success", size: "small" }, { default: t(() => [...h[18] || (h[18] = [n(" 按顺序设置扇区颜色,如有设置名称,则按名称匹配颜色 ", -1)])]), _: 1 }), d(I, { data: e2.configure.style.colors, style: { width: "100%" } }, { default: t(() => [d(A, { label: "", width: "32" }, { default: t((e3) => [u("div", b, [d(O, { size: "14", style: { cursor: "pointer" }, onClick: (l2) => function(e4) {
9
9
  let l3 = -1;
10
10
  const o2 = x2.configure.style.colors, a2 = o2.length;
11
11
  for (let t2 = 0; t2 < a2; t2++) if (o2[t2].index == e4.index) {
@@ -13,7 +13,7 @@ const y = { style: { padding: "8px 0px 0px 0px" } }, b = { style: { "text-align"
13
13
  break;
14
14
  }
15
15
  l3 < 1 || ([o2[l3 - 1], o2[l3]] = [o2[l3], o2[l3 - 1]]);
16
- }(e3.row) }, { default: t(() => [d(i(p))]), _: 2 }, 1032, ["onClick"]), d(O, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l2) => function(e4) {
16
+ }(e3.row) }, { default: t(() => [d(i(p))]), _: 1 }, 8, ["onClick"]), d(O, { size: "14", style: { "margin-left": "2px", cursor: "pointer" }, onClick: (l2) => function(e4) {
17
17
  let l3 = -1;
18
18
  const o2 = x2.configure.style.colors, a2 = o2.length;
19
19
  for (let t2 = 0; t2 < a2; t2++) if (o2[t2].index == e4.index) {
@@ -21,13 +21,13 @@ const y = { style: { padding: "8px 0px 0px 0px" } }, b = { style: { "text-align"
21
21
  break;
22
22
  }
23
23
  -1 != l3 && o2.length != l3 + 1 && ([o2[l3], o2[l3 + 1]] = [o2[l3 + 1], o2[l3]]);
24
- }(e3.row) }, { default: t(() => [d(i(c))]), _: 2 }, 1032, ["onClick"])])]), _: 1 }), d(A, { prop: "label", label: "名称", width: "100" }, { default: t((e3) => [d(U, { modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { prop: "label", label: "颜色", width: "58" }, { default: t((e3) => [d(B, { modelValue: e3.row.color, "onUpdate:modelValue": (l2) => e3.row.color = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { label: "操作", width: "60" }, { default: t((e3) => [d(O, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l2) => function(e4) {
24
+ }(e3.row) }, { default: t(() => [d(i(c))]), _: 1 }, 8, ["onClick"])])]), _: 1 }), d(A, { prop: "label", label: "名称", width: "100" }, { default: t((e3) => [d(U, { modelValue: e3.row.name, "onUpdate:modelValue": (l2) => e3.row.name = l2, size: "small" }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { prop: "label", label: "颜色", width: "58" }, { default: t((e3) => [d(B, { modelValue: e3.row.color, "onUpdate:modelValue": (l2) => e3.row.color = l2 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), d(A, { label: "操作", width: "60" }, { default: t((e3) => [d(O, { size: "14", style: { color: "#5893ef", cursor: "pointer", "font-weight": "bold", "margin-right": "8px" }, onClick: (l2) => function(e4) {
25
25
  let l3 = -1, o2 = -1;
26
26
  const a2 = x2.configure.style.colors;
27
27
  a2.find((a3, t2) => {
28
28
  a3.index == e4.index && (o2 = t2), a3.index > l3 && (l3 = a3.index);
29
29
  }), o2 > -1 && a2.splice(o2 + 1, 0, { index: l3 + 1 });
30
- }(e3.row) }, { default: t(() => [d(i(f))]), _: 2 }, 1032, ["onClick"]), d(O, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l2) => function(e4) {
30
+ }(e3.row) }, { default: t(() => [d(i(f))]), _: 1 }, 8, ["onClick"]), d(O, { size: "14", style: { color: "#5893ef", cursor: "pointer" }, onClick: (l2) => function(e4) {
31
31
  const l3 = x2.configure.style.colors;
32
32
  if (1 == l3.length) return g.error("必须保留一行!"), void alert("必须保留一行!");
33
33
  let o2 = -1;
@@ -36,7 +36,7 @@ const y = { style: { padding: "8px 0px 0px 0px" } }, b = { style: { "text-align"
36
36
  break;
37
37
  }
38
38
  o2 > -1 && l3.splice(o2, 1);
39
- }(e3.row) }, { default: t(() => [d(i(m))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), d(T, null, { default: t(() => V[19] || (V[19] = [n(" 边框 ", -1)])), _: 1, __: [19] }), d(v, { label: "颜色", style: { "margin-top": "-10px" } }, { default: t(() => [d(B, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": V[7] || (V[7] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(v, { label: "线宽", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": V[8] || (V[8] = (l2) => e2.configure.style.borderWidth = l2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.borderColor]]), r(d(v, { label: "线型", style: { "margin-top": "-10px" } }, { default: t(() => [d(w, { modelValue: e2.configure.style.borderType, "onUpdate:modelValue": V[9] || (V[9] = (l2) => e2.configure.style.borderType = l2), placeholder: "默认", clearable: "" }, { default: t(() => [d(h, { label: "solid", value: "solid" }), d(h, { label: "dashed", value: "dashed" }), d(h, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.borderColor]]), r(d(v, { label: "边框圆角", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.borderRadius, "onUpdate:modelValue": V[10] || (V[10] = (l2) => e2.configure.style.borderRadius = l2), min: 0, max: 30 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.borderColor]]), d(T, null, { default: t(() => V[20] || (V[20] = [n(" 阴影 ", -1)])), _: 1, __: [20] }), d(v, { label: "阴影颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [d(B, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": V[11] || (V[11] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(v, { label: "阴影模糊", style: { "margin-top": "22px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": V[12] || (V[12] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.shadowColor]]), r(d(v, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": V[13] || (V[13] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.shadowColor]]), r(d(v, { label: "垂直偏移", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": V[14] || (V[14] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.shadowColor]])])]), _: 1 });
39
+ }(e3.row) }, { default: t(() => [d(i(m))]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), d(T, null, { default: t(() => [...h[19] || (h[19] = [n(" 边框 ", -1)])]), _: 1 }), d(v, { label: "颜色", style: { "margin-top": "-10px" } }, { default: t(() => [d(B, { modelValue: e2.configure.style.borderColor, "onUpdate:modelValue": h[7] || (h[7] = (l2) => e2.configure.style.borderColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(v, { label: "线宽", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.borderWidth, "onUpdate:modelValue": h[8] || (h[8] = (l2) => e2.configure.style.borderWidth = l2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.borderColor]]), r(d(v, { label: "线型", style: { "margin-top": "-10px" } }, { default: t(() => [d(w, { modelValue: e2.configure.style.borderType, "onUpdate:modelValue": h[9] || (h[9] = (l2) => e2.configure.style.borderType = l2), placeholder: "默认", clearable: "" }, { default: t(() => [d(_, { label: "solid", value: "solid" }), d(_, { label: "dashed", value: "dashed" }), d(_, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.borderColor]]), r(d(v, { label: "边框圆角", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.borderRadius, "onUpdate:modelValue": h[10] || (h[10] = (l2) => e2.configure.style.borderRadius = l2), min: 0, max: 30 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.borderColor]]), d(T, null, { default: t(() => [...h[20] || (h[20] = [n(" 阴影 ", -1)])]), _: 1 }), d(v, { label: "阴影颜色", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [d(B, { modelValue: e2.configure.style.shadowColor, "onUpdate:modelValue": h[11] || (h[11] = (l2) => e2.configure.style.shadowColor = l2) }, null, 8, ["modelValue"])]), _: 1 }), r(d(v, { label: "阴影模糊", style: { "margin-top": "22px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.shadowBlur, "onUpdate:modelValue": h[12] || (h[12] = (l2) => e2.configure.style.shadowBlur = l2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.shadowColor]]), r(d(v, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.shadowX, "onUpdate:modelValue": h[13] || (h[13] = (l2) => e2.configure.style.shadowX = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.shadowColor]]), r(d(v, { label: "垂直偏移", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: t(() => [d(z, { modelValue: e2.configure.style.shadowY, "onUpdate:modelValue": h[14] || (h[14] = (l2) => e2.configure.style.shadowY = l2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[s, e2.configure.style.shadowColor]])])]), _: 1 });
40
40
  };
41
41
  } });
42
42
  export {
@@ -3,7 +3,7 @@ import v from "../../common/page-permission-select.vue.js";
3
3
  import { usePageContextStore as b } from "../../../../../../stores/page-store.js";
4
4
  import { queryServiceReturnFields as y } from "../../../../utils/page-service-util.js";
5
5
  import x from "../../form/common/data-origin-service-in.vue.js";
6
- const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left" } }, F = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, h = { style: { float: "left" } }, D = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, S = { style: { float: "left" } }, O = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "radar-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
6
+ const V = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left" } }, _ = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, h = { style: { float: "left" } }, D = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, S = { style: { float: "left" } }, O = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, j = e({ __name: "radar-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
7
7
  const j2 = e2, w = b().pageContext, z = l([]), L = a(() => z.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type)), U = a(() => z.value.filter((e3) => {
8
8
  if ("string" == e3.type || "any" == e3.type || !e3.type) {
9
9
  const l2 = j2.configure.serviceDataField;
@@ -53,9 +53,9 @@ const _ = { style: { padding: "8px 0px 0px 0px" } }, V = { style: { float: "left
53
53
  q && clearTimeout(q);
54
54
  }), (l2, a2) => {
55
55
  const t2 = r("el-form-item"), b2 = r("el-option"), y2 = r("el-select"), j3 = r("el-text"), z2 = r("el-radio"), C2 = r("el-input-number"), q2 = r("el-radio-group"), I = r("el-collapse-item");
56
- return o(), i(I, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", _, [s(t2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: u(() => [s(v, { pageDesign: p(w), rowObj: p(T).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
56
+ return o(), i(I, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: u(() => [n("div", V, [s(t2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: u(() => [s(v, { pageDesign: p(w), rowObj: p(T).service, onlyService: "", "onUpdate:modelValue": a2[0] || (a2[0] = (e3, l3, a3, t3) => function(e4, l4, a4, t4) {
57
57
  T.service.simpleCode = l4, T.service.id = t4, T.service.name = a4, W();
58
- }(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [s(y2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(L.value, (e3, l3) => (o(), i(b2, { key: l3, label: e3.label, value: e3.value }, { default: u(() => [n("span", V, m(e3.label), 1), n("span", F, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s(j3, { type: "success", size: "small" }, { default: u(() => a2[6] || (a2[6] = [g("默认为根目录.", -1)])), _: 1, __: [6] })]), _: 1 }), s(t2, { label: "配置项字段", style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { default: u(() => [s(y2, { size: "small", modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(U.value, (e3) => (o(), i(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: u(() => [n("span", h, m(e3.nameLabel), 1), n("span", D, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { modelValue: e2.configure.props.maxSource, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.maxSource = l3) }, { default: u(() => [s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: u(() => [s(z2, { value: "variable" }, { default: u(() => a2[7] || (a2[7] = [g("最大值", -1)])), _: 1, __: [7] })]), default: u(() => [s(y2, { size: "small", disabled: "fixed" == e2.configure.props.maxSource, modelValue: e2.configure.props.maxField, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.maxField = l3), title: e2.configure.props.maxField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(k.value, (e3) => (o(), i(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: u(() => [n("span", S, m(e3.numLabel), 1), n("span", O, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: u(() => [s(z2, { value: "fixed" }, { default: u(() => a2[8] || (a2[8] = [g("固定值", -1)])), _: 1, __: [8] })]), default: u(() => [s(C2, { disabled: !e2.configure.props.maxSource || "fixed" != e2.configure.props.maxSource, modelValue: e2.configure.props.maxFixed, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.maxFixed = l3), placeholder: "100", min: "0" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), s(x, { ref: "dataOriginServiceInRef", dataOrigin: p(T) }, null, 8, ["dataOrigin"])])]), _: 1 });
58
+ }(0, l3, a3, t3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), s(t2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [s(y2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": a2[1] || (a2[1] = (l3) => e2.configure.serviceDataField = l3), filterable: "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(L.value, (e3, l3) => (o(), i(b2, { key: l3, label: e3.label, value: e3.value }, { default: u(() => [n("span", F, m(e3.label), 1), n("span", _, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), s(j3, { type: "success", size: "small" }, { default: u(() => [...a2[6] || (a2[6] = [g("默认为根目录.", -1)])]), _: 1 })]), _: 1 }), s(t2, { label: "配置项字段", style: { "margin-top": "15px", "margin-bottom": "-15px" } }, { default: u(() => [s(y2, { size: "small", modelValue: e2.configure.props.nameField, "onUpdate:modelValue": a2[2] || (a2[2] = (l3) => e2.configure.props.nameField = l3), title: e2.configure.props.nameField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(U.value, (e3) => (o(), i(b2, { key: e3.nameValue, label: e3.nameLabel, value: e3.nameValue }, { default: u(() => [n("span", h, m(e3.nameLabel), 1), n("span", D, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "title"])]), _: 1 }), s(q2, { modelValue: e2.configure.props.maxSource, "onUpdate:modelValue": a2[5] || (a2[5] = (l3) => e2.configure.props.maxSource = l3) }, { default: u(() => [s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: u(() => [s(z2, { value: "variable" }, { default: u(() => [...a2[7] || (a2[7] = [g("最大值", -1)])]), _: 1 })]), default: u(() => [s(y2, { size: "small", disabled: "fixed" == e2.configure.props.maxSource, modelValue: e2.configure.props.maxField, "onUpdate:modelValue": a2[3] || (a2[3] = (l3) => e2.configure.props.maxField = l3), title: e2.configure.props.maxField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: u(() => [(o(true), d(c, null, f(k.value, (e3) => (o(), i(b2, { key: e3.numValue, label: e3.numLabel, value: e3.numValue }, { default: u(() => [n("span", S, m(e3.numLabel), 1), n("span", O, m(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), s(t2, { style: { "margin-top": "25px", "margin-bottom": "-15px" } }, { label: u(() => [s(z2, { value: "fixed" }, { default: u(() => [...a2[8] || (a2[8] = [g("固定值", -1)])]), _: 1 })]), default: u(() => [s(C2, { disabled: !e2.configure.props.maxSource || "fixed" != e2.configure.props.maxSource, modelValue: e2.configure.props.maxFixed, "onUpdate:modelValue": a2[4] || (a2[4] = (l3) => e2.configure.props.maxFixed = l3), placeholder: "100", min: "0" }, null, 8, ["disabled", "modelValue"])]), _: 1 })]), _: 1 }, 8, ["modelValue"]), s(x, { ref: "dataOriginServiceInRef", dataOrigin: p(T) }, null, 8, ["dataOrigin"])])]), _: 1 });
59
59
  };
60
60
  } });
61
61
  export {