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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/es/assets/images/data/file.png.js +4 -0
  2. package/dist/es/assets/images/data/folder.png.js +4 -0
  3. package/dist/es/components/design/utils/assemblys-config.js +6 -6
  4. package/dist/es/components/design/utils/chart-design-util.js +100 -92
  5. package/dist/es/components/design/utils/page-event-util.js +0 -1
  6. package/dist/es/components/design/utils/page-i18n-util.js +5 -6
  7. package/dist/es/components/design/utils/ucr-element-filter.d.ts +2 -0
  8. package/dist/es/components/design/utils/ucr-element-filter.js +11 -0
  9. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +12 -12
  10. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
  11. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue2.js +25 -25
  12. package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr-base.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +1 -1
  14. package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +9 -9
  15. package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue2.js +1 -1
  16. package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +12 -12
  17. package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr-base.vue.js +3 -3
  18. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-advanced.vue.js +8 -8
  19. package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr-base.vue.js +7 -7
  20. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +7 -7
  21. package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +2 -2
  22. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr-style.vue.js +4 -4
  23. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +1 -1
  24. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr-base.vue.js +5 -6
  25. package/dist/es/components/design/views/assemblys/chart/column-line/series/column-line-series-attr.vue.js +1 -1
  26. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-bar.vue.js +1 -1
  27. package/dist/es/components/design/views/assemblys/chart/column-line/series/styles/style-line.vue.js +1 -1
  28. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +6 -6
  29. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +6 -6
  30. package/dist/es/components/design/views/assemblys/chart/common/common-attr-sortby.vue.js +5 -5
  31. package/dist/es/components/design/views/assemblys/chart/common/common-attr-stack.vue2.js +6 -6
  32. package/dist/es/components/design/views/assemblys/chart/common/common-home-chart.vue2.js +11 -11
  33. package/dist/es/components/design/views/assemblys/chart/common/common-style-datazoom.vue.js +2 -2
  34. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-subtitle.vue.js +2 -2
  35. package/dist/es/components/design/views/assemblys/chart/common/common-style-font-title.vue.js +2 -2
  36. package/dist/es/components/design/views/assemblys/chart/common/common-style-legend.vue.js +7 -4
  37. package/dist/es/components/design/views/assemblys/chart/common/common-style-tooltip.vue.js +3 -3
  38. package/dist/es/components/design/views/assemblys/chart/common/common-style-xaxis.vue.js +1 -1
  39. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +7 -7
  40. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dataset-columnline.vue.js +10 -10
  41. package/dist/es/components/design/views/assemblys/chart/common-series/common-attr-dynamic.vue.js +10 -10
  42. package/dist/es/components/design/views/assemblys/chart/common-series/common-style-label.vue.js +4 -4
  43. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr-data.vue.js +3 -3
  44. package/dist/es/components/design/views/assemblys/chart/gauge/gauge-attr.vue2.js +4 -3
  45. package/dist/es/components/design/views/assemblys/chart/gauge/series/gauge-series-attr.vue.js +1 -1
  46. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-anchor.vue.js +1 -1
  47. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -2
  48. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-detail.vue.js +2 -2
  49. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-gauge.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-pointer.vue.js +2 -2
  51. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-split.vue.js +1 -1
  52. package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-title.vue.js +1 -1
  53. package/dist/es/components/design/views/assemblys/chart/pie/pie-attr.vue2.js +8 -7
  54. package/dist/es/components/design/views/assemblys/chart/pie/series/pie-series-attr.vue.js +1 -1
  55. package/dist/es/components/design/views/assemblys/chart/pie/series/styles/style-pie.vue.js +4 -4
  56. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr-data.vue.js +3 -3
  57. package/dist/es/components/design/views/assemblys/chart/radar/radar-attr.vue2.js +3 -2
  58. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr-dataset.vue.js +6 -6
  59. package/dist/es/components/design/views/assemblys/chart/radar/series/series-attr.vue.js +1 -1
  60. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-axisname.vue.js +2 -2
  61. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-datalabel.vue.js +1 -1
  62. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-dataline.vue.js +1 -1
  63. package/dist/es/components/design/views/assemblys/chart/radar/series/styles/style-radar.vue.js +2 -2
  64. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-data.vue.js +15 -15
  65. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr-style-xaxis.vue.js +1 -1
  66. package/dist/es/components/design/views/assemblys/chart/scatter/scatter-attr.vue2.js +1 -1
  67. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-attr.vue.js +1 -1
  68. package/dist/es/components/design/views/assemblys/chart/scatter/series/scatter-series-data.vue.js +1 -1
  69. package/dist/es/components/design/views/assemblys/chart/scatter/series/styles/style-scatter.vue.js +2 -2
  70. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +4 -4
  71. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +11 -11
  72. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +1 -1
  73. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +5 -5
  74. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +9 -9
  75. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue2.js +10 -10
  76. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr.vue2.js +11 -10
  77. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +17 -17
  78. package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +1 -1
  79. package/dist/es/components/design/views/assemblys/common/common-attr-cursor.vue.js +1 -1
  80. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +2 -2
  81. package/dist/es/components/design/views/assemblys/common/common-icon-bind.vue2.js +24 -27
  82. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +13 -13
  83. package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +8 -8
  84. package/dist/es/components/design/views/assemblys/common/common-style-background.vue.js +2 -3
  85. package/dist/es/components/design/views/assemblys/common/common-style-border.vue.js +2 -2
  86. package/dist/es/components/design/views/assemblys/common/common-style-font-head.vue.js +2 -2
  87. package/dist/es/components/design/views/assemblys/common/common-style-font.vue.js +2 -2
  88. package/dist/es/components/design/views/assemblys/common/common-style-position.vue.js +2 -2
  89. package/dist/es/components/design/views/assemblys/common/common-task-title.vue2.js +8 -8
  90. package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +1 -1
  91. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +1 -1
  92. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +16 -16
  93. package/dist/es/components/design/views/assemblys/common/common-watermark.vue.js +9 -9
  94. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +6 -6
  95. package/dist/es/components/design/views/assemblys/container/card/card-attr-base.vue.js +7 -7
  96. package/dist/es/components/design/views/assemblys/container/card/card-attr.vue2.js +1 -1
  97. package/dist/es/components/design/views/assemblys/container/collapse/collapse-attr.vue2.js +1 -1
  98. package/dist/es/components/design/views/assemblys/container/container/container-attr-base.vue.js +2 -2
  99. package/dist/es/components/design/views/assemblys/container/container/container-attr.vue2.js +1 -1
  100. package/dist/es/components/design/views/assemblys/container/flex/flex-attr.vue2.js +1 -1
  101. package/dist/es/components/design/views/assemblys/container/form/form-attr-base.vue.js +1 -1
  102. package/dist/es/components/design/views/assemblys/container/form/form-attr.vue2.js +1 -1
  103. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr-base.vue.js +3 -3
  104. package/dist/es/components/design/views/assemblys/container/iframe/iframe-attr.vue2.js +1 -1
  105. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr-base.vue.js +2 -2
  106. package/dist/es/components/design/views/assemblys/container/tabs/tabs-attr.vue2.js +2 -3
  107. package/dist/es/components/design/views/assemblys/container/tools/tools-attr-base.vue.js +6 -6
  108. package/dist/es/components/design/views/assemblys/container/tools/tools-attr.vue2.js +1 -1
  109. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +22 -22
  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/bar-code/barcode-design.vue2.js +3 -3
  112. package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +13 -13
  113. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +7 -7
  114. package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +7 -7
  115. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +3 -3
  116. package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +11 -11
  117. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +9 -9
  118. package/dist/es/components/design/views/assemblys/data/component/import-header.vue.js +2 -2
  119. package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +2 -2
  120. package/dist/es/components/design/views/assemblys/data/component/return-set-table.vue.js +8 -8
  121. package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +7 -7
  122. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +4 -4
  123. package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +9 -8
  124. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +5 -5
  125. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +11 -11
  126. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +5 -5
  127. package/dist/es/components/design/views/assemblys/data/tree/tree-attr-context-menu.vue.js +6 -6
  128. package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +3 -3
  129. package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +5 -5
  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-origin-autoset.vue.js +25 -25
  134. package/dist/es/components/design/views/assemblys/form/common/data-origin-service-in.vue.js +3 -3
  135. package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +8 -8
  136. package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +9 -9
  137. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +9 -9
  138. package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +3 -3
  139. package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +2 -2
  140. package/dist/es/components/design/views/assemblys/form/common/pre-suffix.vue.js +2 -2
  141. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +6 -6
  142. package/dist/es/components/design/views/assemblys/form/common/verification-custom.vue.js +8 -8
  143. package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +6 -6
  144. package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +6 -6
  145. package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +6 -6
  146. package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +3 -3
  147. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -5
  148. package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +3 -3
  149. package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +5 -5
  150. package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +5 -5
  151. package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +5 -5
  152. package/dist/es/components/design/views/assemblys/form/label/label-design.vue2.js +1 -1
  153. package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +5 -5
  154. package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +7 -7
  155. package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +5 -5
  156. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +5 -5
  157. package/dist/es/components/design/views/assemblys/form/rich-text/richtext-design.vue2.js +13 -14
  158. package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +5 -5
  159. package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr.vue2.js +1 -1
  160. package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +5 -5
  161. package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -7
  162. package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +6 -6
  163. package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +5 -5
  164. package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -7
  165. package/dist/es/components/design/views/assemblys/page/create-workflow-dialog.vue.js +2 -2
  166. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +2 -2
  167. package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +5 -5
  168. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +1 -1
  169. package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +12 -12
  170. package/dist/es/components/design/views/assemblys/workflow/component/condition-dialog.vue.js +12 -12
  171. package/dist/es/components/design/views/assemblys/workflow/component/journal-set-dialog.vue2.js +2 -2
  172. package/dist/es/components/design/views/assemblys/workflow/component/set-dialog.vue.js +8 -8
  173. package/dist/es/components/design/views/assemblys/workflow/extract-workflow/extract-attr-advanced.vue.js +6 -6
  174. package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-design.vue2.js +1 -1
  175. package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +5 -5
  176. package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr-base.vue.js +1 -1
  177. package/dist/es/components/design/views/assemblys/workflow/workflow-node/workflownode-design.vue2.js +3 -3
  178. package/dist/es/components/design/views/design/page-design.vue.d.ts +9 -0
  179. package/dist/es/components/design/views/design/page-design.vue2.js +43 -43
  180. package/dist/es/components/design/views/design/page-event/config.vue3.js +23 -24
  181. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +7 -7
  182. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +11 -10
  183. package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +16 -2
  184. package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +8 -8
  185. package/dist/es/components/design/views/design/view/assemblys-container-list.vue.d.ts +16 -2
  186. package/dist/es/components/design/views/design/view/assemblys-container-list.vue.js +23 -20
  187. package/dist/es/components/design/views/design/view/assemblys-container.vue.js +11 -12
  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 -8
  191. package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +1 -1
  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/components/ucr-report-swtich/index.vue.d.ts +38 -0
  194. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue.js +7 -0
  195. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/index.vue2.js +111 -0
  196. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.d.ts +6 -0
  197. package/dist/es/components/design/views/design/view/components/ucr-report-swtich/util.js +27 -0
  198. package/dist/es/components/design/views/design/view/page-switch.vue.d.ts +18 -0
  199. package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
  200. package/dist/es/components/design/views/design/view/page-switch.vue2.js +34 -31
  201. package/dist/es/components/design/views/design/view/view-design-display.vue.js +13 -13
  202. package/dist/es/components/design/views/design/view/view-design-preview.vue.js +1 -1
  203. package/dist/es/components/design/views/design/view/view-design-preview.vue2.js +18 -16
  204. package/dist/es/stores/undo-redo-store.js +1 -1
  205. package/dist/es/style.css +62 -67
  206. package/package.json +4 -4
@@ -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 }), 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 }), 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 });
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 }, 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 }, 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 }, 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 }, 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(" 事件 ")), _.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 {
@@ -17,7 +17,7 @@ const b = { class: "amb-design-attr-content" }, y = { class: "amb-design-attr-he
17
17
  A();
18
18
  }), (l2, a2) => {
19
19
  const h3 = u("el-badge");
20
- return t(), s("div", b, [n("div", y, [n("div", k, [n("label", { class: i(_.value), onClick: a2[0] || (a2[0] = (e3) => w("base")) }, "属性", 2), n("label", { class: i(q.value), onClick: a2[1] || (a2[1] = (e3) => w("style")) }, "样式", 2), n("label", { class: i(x.value), onClick: a2[2] || (a2[2] = (e3) => w("event")) }, [a2[4] || (a2[4] = r(" 事件 ", -1)), z.value > 0 ? (t(), v(h3, { key: 0, value: z.value }, null, 8, ["value"])) : c("", true)], 2), n("label", { class: i(L.value), onClick: a2[3] || (a2[3] = (e3) => w("advice")) }, "高级", 2)])]), n("div", C, [o(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), o(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]]), o(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, x.value]])])]);
20
+ return t(), s("div", b, [n("div", y, [n("div", k, [n("label", { class: i(_.value), onClick: a2[0] || (a2[0] = (e3) => w("base")) }, "属性", 2), n("label", { class: i(q.value), onClick: a2[1] || (a2[1] = (e3) => w("style")) }, "样式", 2), n("label", { class: i(x.value), onClick: a2[2] || (a2[2] = (e3) => w("event")) }, [a2[4] || (a2[4] = r(" 事件 ")), z.value > 0 ? (t(), v(h3, { key: 0, value: z.value }, null, 8, ["value"])) : c("", true)], 2), n("label", { class: i(L.value), onClick: a2[3] || (a2[3] = (e3) => w("advice")) }, "高级", 2)])]), n("div", C, [o(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), o(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]]), o(f(p, { configure: e2.configure }, null, 8, ["configure"]), [[g, x.value]])])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -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 }), 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 }), 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 }), d(k, { style: { "line-height": "15px" }, type: "success", size: "small" }, { default: t(() => h[18] || (h[18] = [n(" 按顺序设置扇区颜色,如有设置名称,则按名称匹配颜色 ")])), _: 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) {
@@ -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))]), _: 2 }, 1032, ["onClick"])]), _: 1 })]), _: 1 }, 8, ["data"]), d(T, null, { default: t(() => h[19] || (h[19] = [n(" 边框 ")])), _: 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 }), 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 }), 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 })]), 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 })]), 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 {
@@ -1,8 +1,9 @@
1
1
  import { defineComponent as e, ref as a, watch as l, resolveComponent as t, createElementBlock as n, openBlock as s, createElementVNode as r, normalizeClass as u, createTextVNode as c, createBlock as o, createCommentVNode as i, withDirectives as v, createVNode as g, vShow as d } from "vue";
2
2
  import f from "./radar-attr-base.vue.js";
3
3
  import m from "./radar-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: "radar-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, [r("div", j, [r("div", k, [r("label", { class: u({ selected: "base" == O.value }), onClick: l2[0] || (l2[0] = (e3) => O.value = "base") }, "属性", 2), r("label", { class: u({ selected: "style" == O.value }), onClick: l2[1] || (l2[1] = (e3) => O.value = "style") }, "样式", 2), r("label", { class: u({ selected: "event" == O.value }), onClick: l2[2] || (l2[2] = (e3) => O.value = "event") }, [l2[4] || (l2[4] = c(" 事件 ", -1)), _.value > 0 ? (s(), o(D3, { key: 0, value: _.value }, null, 8, ["value"])) : i("", true)], 2), r("label", { class: u({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), r("div", C, [v(g(f, { configure: e2.configure }, null, 8, ["configure"]), [[d, "base" == O.value]]), v(g(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), v(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), v(g(p, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
20
+ return s(), n("div", y, [r("div", j, [r("div", k, [r("label", { class: u({ selected: "base" == O.value }), onClick: l2[0] || (l2[0] = (e3) => O.value = "base") }, "属性", 2), r("label", { class: u({ selected: "style" == O.value }), onClick: l2[1] || (l2[1] = (e3) => O.value = "style") }, "样式", 2), r("label", { class: u({ selected: "event" == O.value }), onClick: l2[2] || (l2[2] = (e3) => O.value = "event") }, [l2[4] || (l2[4] = c(" 事件 ")), _.value > 0 ? (s(), o(D3, { key: 0, value: _.value }, null, 8, ["value"])) : i("", true)], 2), r("label", { class: u({ selected: "advanced" == O.value }), onClick: l2[3] || (l2[3] = (e3) => O.value = "advanced") }, "高级", 2)])]), r("div", C, [v(g(f, { configure: e2.configure }, null, 8, ["configure"]), [[d, "base" == O.value]]), v(g(m, { configure: e2.configure }, null, 8, ["configure"]), [[d, "style" == O.value]]), v(g(b, { configure: e2.configure }, null, 8, ["configure"]), [[d, "event" == O.value]]), v(g(p, { pageDesign: e2.pageDesign, configure: e2.configure }, null, 8, ["pageDesign", "configure"]), [[d, "advanced" == O.value]])])]);
20
21
  };
21
22
  } });
22
23
  export {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as e, ref as l, resolveComponent as a, createBlock as t, openBlock as o, withCtx as r, createElementVNode as u, createVNode as i, createElementBlock as s, Fragment as n, renderList as p, toDisplayString as d, createTextVNode as c } from "vue";
2
2
  const f = { style: { padding: "8px 0px 0px 0px" } }, m = { style: { float: "left" } }, b = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, g = { style: { width: "100%", "padding-left": "20px", "margin-bottom": "-15px" } }, x = e({ __name: "series-attr-dataset", props: { configure: { type: Object, required: true } }, setup(e2) {
3
3
  const x2 = e2, y = l([]);
4
- let v = null, _ = null;
4
+ let v = null, $ = null;
5
5
  return function() {
6
- if (x2.configure.serviceFields == v && x2.configure.serviceDataField == _) return;
7
- v = x2.configure.serviceFields, _ = x2.configure.serviceDataField;
6
+ if (x2.configure.serviceFields == v && x2.configure.serviceDataField == $) return;
7
+ v = x2.configure.serviceFields, $ = x2.configure.serviceDataField;
8
8
  const e3 = [];
9
9
  if (v) {
10
- const l2 = _ || "";
10
+ const l2 = $ || "";
11
11
  for (let a2 of v) if ((!a2.type || "any" == a2.type || "number" == a2.type) && (!l2 || a2.value.startsWith(l2 + "."))) {
12
12
  const t2 = {};
13
13
  if (Object.assign(t2, a2), l2) {
@@ -19,8 +19,8 @@ const f = { style: { padding: "8px 0px 0px 0px" } }, m = { style: { float: "left
19
19
  }
20
20
  y.value = e3;
21
21
  }(), (l2, x3) => {
22
- const v2 = a("el-radio"), _2 = a("el-option"), $ = a("el-select"), V = a("el-form-item"), h = a("el-input-number"), F = a("QuestionFilled"), S = a("el-icon"), w = a("el-tooltip"), U = a("el-input"), k = a("el-radio-group"), z = a("el-collapse-item");
23
- return o(), t(z, { title: "数据设置", name: "dataList", class: "amb-design-attr-group-header" }, { default: r(() => [u("div", f, [i(k, { modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": x3[3] || (x3[3] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: r(() => [i(V, { style: { "margin-top": "4px" } }, { label: r(() => [i(v2, { value: "variable" }, { default: r(() => x3[4] || (x3[4] = [c("数据字段", -1)])), _: 1, __: [4] })]), default: r(() => [i($, { size: "small", disabled: !e2.configure.props.yaxisSource && "variable" !== e2.configure.props.yaxisSource, modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": x3[0] || (x3[0] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(o(true), s(n, null, p(y.value, (e3) => (o(), t(_2, { key: e3.value, label: e3.label, value: e3.value }, { default: r(() => [u("span", m, d(e3.label), 1), u("span", b, d(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), i(V, { style: { "margin-top": "-10px" } }, { label: r(() => [i(v2, { value: "fixed" }, { default: r(() => x3[5] || (x3[5] = [c("固定值   ", -1)])), _: 1, __: [5] })]), default: r(() => [i(h, { disabled: "fixed" != e2.configure.props.yaxisSource, placeholder: "请输入", modelValue: e2.configure.props.yaxisFix, "onUpdate:modelValue": x3[1] || (x3[1] = (l3) => e2.configure.props.yaxisFix = l3), min: 1, preision: "2" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), i(v2, { value: "formula", style: { "margin-top": "-10px" } }, { default: r(() => [x3[7] || (x3[7] = c("计算公式  ", -1)), i(w, { class: "box-item", effect: "dark", placement: "top-start" }, { content: r(() => x3[6] || (x3[6] = [c("字段值: ${row.字段名}", -1), u("br", null, null, -1), c(" 最大值: ${max.字段名}", -1), u("br", null, null, -1), c("    求和: ${sum.字段名}", -1), u("br", null, null, -1), c("    均值: ${avg.字段名}", -1), u("br", null, null, -1), c(" 最小值: ${min.字段名}", -1), u("br", null, null, -1), c(" 最大值: ${max.字段名}", -1), u("br", null, null, -1), c(" 累计值: ${add.字段名}", -1), u("br", null, null, -1), c(" 其他可用变量如${page},${data},${task},${request},${context},${system}", -1), u("br", null, null, -1)])), default: r(() => [i(S, { size: "16" }, { default: r(() => [i(F)]), _: 1 })]), _: 1 })]), _: 1, __: [7] }), u("div", g, [i(U, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": x3[2] || (x3[2] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])])]), _: 1 }, 8, ["modelValue"])])]), _: 1 });
22
+ const v2 = a("el-radio"), $2 = a("el-option"), _ = a("el-select"), V = a("el-form-item"), h = a("el-input-number"), F = a("QuestionFilled"), S = a("el-icon"), w = a("el-tooltip"), U = a("el-input"), k = a("el-radio-group"), z = a("el-collapse-item");
23
+ return o(), t(z, { title: "数据设置", name: "dataList", class: "amb-design-attr-group-header" }, { default: r(() => [u("div", f, [i(k, { modelValue: e2.configure.props.yaxisSource, "onUpdate:modelValue": x3[3] || (x3[3] = (l3) => e2.configure.props.yaxisSource = l3) }, { default: r(() => [i(V, { style: { "margin-top": "4px" } }, { label: r(() => [i(v2, { value: "variable" }, { default: r(() => x3[4] || (x3[4] = [c("数据字段")])), _: 1 })]), default: r(() => [i(_, { size: "small", disabled: !e2.configure.props.yaxisSource && "variable" !== e2.configure.props.yaxisSource, modelValue: e2.configure.props.yaxisField, "onUpdate:modelValue": x3[0] || (x3[0] = (l3) => e2.configure.props.yaxisField = l3), title: e2.configure.props.yaxisField, style: { width: "160px" }, filterable: "", "allow-create": "", clearable: "", placeholder: "请选择" }, { default: r(() => [(o(true), s(n, null, p(y.value, (e3) => (o(), t($2, { key: e3.value, label: e3.label, value: e3.value }, { default: r(() => [u("span", m, d(e3.label), 1), u("span", b, d(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["disabled", "modelValue", "title"])]), _: 1 }), i(V, { style: { "margin-top": "-10px" } }, { label: r(() => [i(v2, { value: "fixed" }, { default: r(() => x3[5] || (x3[5] = [c("固定值   ")])), _: 1 })]), default: r(() => [i(h, { disabled: "fixed" != e2.configure.props.yaxisSource, placeholder: "请输入", modelValue: e2.configure.props.yaxisFix, "onUpdate:modelValue": x3[1] || (x3[1] = (l3) => e2.configure.props.yaxisFix = l3), min: 1, preision: "2" }, null, 8, ["disabled", "modelValue"])]), _: 1 }), i(v2, { value: "formula", style: { "margin-top": "-10px" } }, { default: r(() => [x3[7] || (x3[7] = c("计算公式  ")), i(w, { class: "box-item", effect: "dark", placement: "top-start" }, { content: r(() => x3[6] || (x3[6] = [c("字段值: ${row.字段名}"), u("br", null, null, -1), c(" 最大值: ${max.字段名}"), u("br", null, null, -1), c("    求和: ${sum.字段名}"), u("br", null, null, -1), c("    均值: ${avg.字段名}"), u("br", null, null, -1), c(" 最小值: ${min.字段名}"), u("br", null, null, -1), c(" 最大值: ${max.字段名}"), u("br", null, null, -1), c(" 累计值: ${add.字段名}"), u("br", null, null, -1), c(" 其他可用变量如${page},${data},${task},${request},${context},${system}"), u("br", null, null, -1)])), default: r(() => [i(S, { size: "16" }, { default: r(() => [i(F)]), _: 1 })]), _: 1 })]), _: 1 }), u("div", g, [i(U, { modelValue: e2.configure.props.formula, "onUpdate:modelValue": x3[2] || (x3[2] = (l3) => e2.configure.props.formula = l3), disabled: "formula" != e2.configure.props.yaxisSource, rows: 4, type: "textarea", placeholder: "支持三元表达式,支持JS函数,如 return ${row.字段名}/${sum.字段名}*100" }, null, 8, ["modelValue", "disabled"])])]), _: 1 }, 8, ["modelValue"])])]), _: 1 });
24
24
  };
25
25
  } });
26
26
  export {
@@ -17,7 +17,7 @@ const p = { class: "amb-design-attr-content" }, y = { class: "amb-design-attr-he
17
17
  z();
18
18
  }), (l2, a2) => {
19
19
  const j3 = u("el-badge");
20
- return s(), t("div", p, [n("div", y, [n("div", k, [n("label", { class: r(_.value), onClick: a2[0] || (a2[0] = (e3) => O("base")) }, "属性", 2), n("label", { class: r(q.value), onClick: a2[1] || (a2[1] = (e3) => O("style")) }, "样式", 2), n("label", { class: r(x.value), onClick: a2[2] || (a2[2] = (e3) => O("event")) }, [a2[4] || (a2[4] = v(" 事件 ", -1)), w.value > 0 ? (s(), c(j3, { key: 0, value: w.value }, null, 8, ["value"])) : i("", true)], 2), n("label", { class: r(L.value), onClick: a2[3] || (a2[3] = (e3) => O("advice")) }, "高级", 2)])]), n("div", C, [o(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), o(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]]), o(f(b, { configure: e2.configure }, null, 8, ["configure"]), [[g, x.value]])])]);
20
+ return s(), t("div", p, [n("div", y, [n("div", k, [n("label", { class: r(_.value), onClick: a2[0] || (a2[0] = (e3) => O("base")) }, "属性", 2), n("label", { class: r(q.value), onClick: a2[1] || (a2[1] = (e3) => O("style")) }, "样式", 2), n("label", { class: r(x.value), onClick: a2[2] || (a2[2] = (e3) => O("event")) }, [a2[4] || (a2[4] = v(" 事件 ")), w.value > 0 ? (s(), c(j3, { key: 0, value: w.value }, null, 8, ["value"])) : i("", true)], 2), n("label", { class: r(L.value), onClick: a2[3] || (a2[3] = (e3) => O("advice")) }, "高级", 2)])]), n("div", C, [o(f(d, { configure: e2.configure }, null, 8, ["configure"]), [[g, _.value]]), o(f(m, { configure: e2.configure }, null, 8, ["configure"]), [[g, q.value]]), o(f(b, { configure: e2.configure }, null, 8, ["configure"]), [[g, x.value]])])]);
21
21
  };
22
22
  } });
23
23
  export {
@@ -2,8 +2,8 @@ import { defineComponent as e, resolveComponent as l, createBlock as a, openBloc
2
2
  const x = { style: { padding: "8px 0px 0px 0px" } }, g = e({ __name: "style-axisname", props: { configure: { type: Object, required: true } }, setup(e2) {
3
3
  const g2 = ["8", "10", "12", "14", "16", "18", "20", "24", "28"];
4
4
  return (c, f) => {
5
- const y = l("el-switch"), b = l("el-form-item"), V = l("el-input-number"), N = l("el-color-picker"), _ = l("el-option"), h = l("el-select"), v = l("el-input"), X = l("el-text"), U = l("el-collapse-item");
6
- return t(), a(U, { title: "配置项标签", name: "styleXaxisname", class: "amb-design-attr-group-header" }, { default: o(() => [i("div", x, [u(b, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: o(() => [u(y, { modelValue: e2.configure.style.enableXaxisName, "onUpdate:modelValue": f[0] || (f[0] = (l2) => e2.configure.style.enableXaxisName = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(u(b, { label: "与轴距离", style: { "margin-top": "22px" } }, { default: o(() => [u(V, { modelValue: e2.configure.style.nameGap, "onUpdate:modelValue": f[1] || (f[1] = (l2) => e2.configure.style.nameGap = l2), max: 360 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: o(() => [u(N, { modelValue: e2.configure.style.axisNameColor, "onUpdate:modelValue": f[2] || (f[2] = (l2) => e2.configure.style.axisNameColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [u(h, { modelValue: e2.configure.style.axisNameFontSize, "onUpdate:modelValue": f[3] || (f[3] = (l2) => e2.configure.style.axisNameFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), s(r, null, d(g2, (e3) => u(_, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [u(h, { modelValue: e2.configure.style.axisNameFontWeight, "onUpdate:modelValue": f[4] || (f[4] = (l2) => e2.configure.style.axisNameFontWeight = 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), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "显示宽度", style: { "margin-top": "-10px" } }, { default: o(() => [u(V, { modelValue: e2.configure.style.xaxisNameWidth, "onUpdate:modelValue": f[5] || (f[5] = (l2) => e2.configure.style.xaxisNameWidth = l2), min: 10, max: 180 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "截断显示", style: { "margin-top": "-10px" } }, { default: o(() => [u(v, { modelValue: e2.configure.style.xaxisNameEllipsis, "onUpdate:modelValue": f[6] || (f[6] = (l2) => e2.configure.style.xaxisNameEllipsis = l2), placeholder: "..." }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(v, { modelValue: e2.configure.style.xaxisNameFormatter, "onUpdate:modelValue": f[7] || (f[7] = (l2) => e2.configure.style.xaxisNameFormatter = l2), type: "textarea", row: "2", placeholder: "" }, null, 8, ["modelValue"]), u(X, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => f[8] || (f[8] = [p(" 指示器名称显示的格式器 {value},如{value} kg ", -1)])), _: 1, __: [8] })]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]])])]), _: 1 });
5
+ const y = l("el-switch"), b = l("el-form-item"), V = l("el-input-number"), N = l("el-color-picker"), h = l("el-option"), _ = l("el-select"), v = l("el-input"), X = l("el-text"), U = l("el-collapse-item");
6
+ return t(), a(U, { title: "配置项标签", name: "styleXaxisname", class: "amb-design-attr-group-header" }, { default: o(() => [i("div", x, [u(b, { label: "是否显示", style: { "margin-top": "0px", "margin-bottom": "-15px" } }, { default: o(() => [u(y, { modelValue: e2.configure.style.enableXaxisName, "onUpdate:modelValue": f[0] || (f[0] = (l2) => e2.configure.style.enableXaxisName = l2) }, null, 8, ["modelValue"])]), _: 1 }), n(u(b, { label: "与轴距离", style: { "margin-top": "22px" } }, { default: o(() => [u(V, { modelValue: e2.configure.style.nameGap, "onUpdate:modelValue": f[1] || (f[1] = (l2) => e2.configure.style.nameGap = l2), max: 360 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: o(() => [u(N, { modelValue: e2.configure.style.axisNameColor, "onUpdate:modelValue": f[2] || (f[2] = (l2) => e2.configure.style.axisNameColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [u(_, { modelValue: e2.configure.style.axisNameFontSize, "onUpdate:modelValue": f[3] || (f[3] = (l2) => e2.configure.style.axisNameFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), s(r, null, d(g2, (e3) => u(h, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [u(_, { modelValue: e2.configure.style.axisNameFontWeight, "onUpdate:modelValue": f[4] || (f[4] = (l2) => e2.configure.style.axisNameFontWeight = 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), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "显示宽度", style: { "margin-top": "-10px" } }, { default: o(() => [u(V, { modelValue: e2.configure.style.xaxisNameWidth, "onUpdate:modelValue": f[5] || (f[5] = (l2) => e2.configure.style.xaxisNameWidth = l2), min: 10, max: 180 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "截断显示", style: { "margin-top": "-10px" } }, { default: o(() => [u(v, { modelValue: e2.configure.style.xaxisNameEllipsis, "onUpdate:modelValue": f[6] || (f[6] = (l2) => e2.configure.style.xaxisNameEllipsis = l2), placeholder: "..." }, null, 8, ["modelValue"])]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]]), n(u(b, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(v, { modelValue: e2.configure.style.xaxisNameFormatter, "onUpdate:modelValue": f[7] || (f[7] = (l2) => e2.configure.style.xaxisNameFormatter = l2), type: "textarea", row: "2", placeholder: "" }, null, 8, ["modelValue"]), u(X, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => f[8] || (f[8] = [p(" 指示器名称显示的格式器 {value},如{value} kg ")])), _: 1 })]), _: 1 }, 512), [[m, e2.configure.style.enableXaxisName]])])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -3,7 +3,7 @@ const b = { style: { padding: "8px 0px 0px 0px" } }, f = e({ __name: "style-data
3
3
  const f2 = ["8", "10", "12", "14", "16", "18", "20", "24", "28"], g = [];
4
4
  return g.push("top"), g.push("left"), g.push("right"), g.push("bottom"), g.push("inside"), g.push("insideLeft"), g.push("insideRight"), g.push("insideTop"), g.push("insideBottom"), g.push("insideTopLeft"), g.push("insideBottomLeft"), g.push("insideTopRight"), g.push("insideBottomRight"), (c, y) => {
5
5
  const x = l("el-switch"), h = l("el-form-item"), V = l("el-option"), _ = l("el-select"), v = l("el-checkbox"), L = l("el-col"), N = l("el-row"), U = l("el-input"), F = l("el-checkbox-group"), w = l("el-color-picker"), z = l("el-input-number"), P = l("el-text"), T = l("el-collapse-item");
6
- return t(), a(T, { title: "数据标签", name: "styleDataLabel", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", b, [n(h, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [n(x, { modelValue: e2.configure.style.enableLabel, "onUpdate:modelValue": y[0] || (y[0] = (l2) => e2.configure.style.enableLabel = l2) }, null, 8, ["modelValue"])]), _: 1 }), i(n(h, { label: "标签位置", style: { "margin-top": "15px" } }, { default: o(() => [n(_, { modelValue: e2.configure.style.labelPosition, "onUpdate:modelValue": y[1] || (y[1] = (l2) => e2.configure.style.labelPosition = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), d(s, null, p(g, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "数据格式", style: { "margin-top": "-10px" } }, { default: o(() => [n(F, { modelValue: e2.configure.style.labelNumFormat, "onUpdate:modelValue": y[5] || (y[5] = (l2) => e2.configure.style.labelNumFormat = l2) }, { default: o(() => [n(N, { style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 14 }, { default: o(() => [n(v, { value: "precision", label: "小数位数", size: "large" })]), _: 1 }), n(L, { span: 8 }, { default: o(() => [n(_, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrecision, "onUpdate:modelValue": y[2] || (y[2] = (l2) => e2.configure.style.labelNumPrecision = l2), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("precision"), placeholder: "默认", clearable: "" }, { default: o(() => [n(V, { label: "1", value: "1" }), n(V, { label: "2", value: "2" }), n(V, { label: "3", value: "3" }), n(V, { label: "4", value: "4" }), n(V, { label: "5", value: "5" }), n(V, { label: "6", value: "6" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), n(N, { style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 14 }, { default: o(() => [n(v, { value: "prefix", label: "前缀", size: "large" })]), _: 1 }), n(L, { span: 8 }, { default: o(() => [n(U, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrefix, "onUpdate:modelValue": y[3] || (y[3] = (l2) => e2.configure.style.labelNumPrefix = l2), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("prefix"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), n(N, { style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 14 }, { default: o(() => [n(v, { value: "append", label: "后缀", size: "large" })]), _: 1 }), n(L, { span: 8 }, { default: o(() => [n(U, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumAppend, "onUpdate:modelValue": y[4] || (y[4] = (l2) => e2.configure.style.labelNumAppend = l2), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("append"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [n(_, { modelValue: e2.configure.style.labelFontSize, "onUpdate:modelValue": y[6] || (y[6] = (l2) => e2.configure.style.labelFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), d(s, null, p(f2, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: o(() => [n(w, { modelValue: e2.configure.style.labelColor, "onUpdate:modelValue": y[7] || (y[7] = (l2) => e2.configure.style.labelColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [n(_, { modelValue: e2.configure.style.labelWeight, "onUpdate:modelValue": y[8] || (y[8] = (l2) => e2.configure.style.labelWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [n(V, { label: "normal", value: "normal" }), n(V, { label: "bold", value: "bold" }), n(V, { label: "bolder", value: "bolder" }), n(V, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "旋转角度", style: { "margin-top": "-10px" } }, { default: o(() => [n(z, { modelValue: e2.configure.style.labelAngle, "onUpdate:modelValue": y[9] || (y[9] = (l2) => e2.configure.style.labelAngle = l2), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字偏移", style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 12 }, { default: o(() => [n(h, { label: "左", "label-width": "40px;" }, { default: o(() => [n(U, { style: { width: "50px" }, modelValue: e2.configure.style.labelLeft, "onUpdate:modelValue": y[10] || (y[10] = (l2) => e2.configure.style.labelLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(L, { span: 12 }, { default: o(() => [n(h, { label: "上", "label-width": "40px;" }, { default: o(() => [n(U, { style: { width: "50px" }, modelValue: e2.configure.style.labelTop, "onUpdate:modelValue": y[11] || (y[11] = (l2) => e2.configure.style.labelTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(P, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => y[13] || (y[13] = [m(" 如30,左表示文字在横向上偏移30,上表示纵向上偏移 40 ", -1)])), _: 1, __: [13] })]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [n(U, { modelValue: e2.configure.style.labelFormatter, "onUpdate:modelValue": y[12] || (y[12] = (l2) => e2.configure.style.labelFormatter = l2), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), n(P, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => y[14] || (y[14] = [m(" {a}:系列名;{b}:数据名;{c}:数据值;{@xxx};{@[n]} ", -1)])), _: 1, __: [14] })]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]])])]), _: 1 });
6
+ return t(), a(T, { title: "数据标签", name: "styleDataLabel", class: "amb-design-attr-group-header" }, { default: o(() => [u("div", b, [n(h, { label: "是否显示", style: { "margin-top": "4px", "margin-bottom": "-15px" } }, { default: o(() => [n(x, { modelValue: e2.configure.style.enableLabel, "onUpdate:modelValue": y[0] || (y[0] = (l2) => e2.configure.style.enableLabel = l2) }, null, 8, ["modelValue"])]), _: 1 }), i(n(h, { label: "标签位置", style: { "margin-top": "15px" } }, { default: o(() => [n(_, { modelValue: e2.configure.style.labelPosition, "onUpdate:modelValue": y[1] || (y[1] = (l2) => e2.configure.style.labelPosition = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), d(s, null, p(g, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "数据格式", style: { "margin-top": "-10px" } }, { default: o(() => [n(F, { modelValue: e2.configure.style.labelNumFormat, "onUpdate:modelValue": y[5] || (y[5] = (l2) => e2.configure.style.labelNumFormat = l2) }, { default: o(() => [n(N, { style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 14 }, { default: o(() => [n(v, { value: "precision", label: "小数位数", size: "large" })]), _: 1 }), n(L, { span: 8 }, { default: o(() => [n(_, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrecision, "onUpdate:modelValue": y[2] || (y[2] = (l2) => e2.configure.style.labelNumPrecision = l2), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("precision"), placeholder: "默认", clearable: "" }, { default: o(() => [n(V, { label: "1", value: "1" }), n(V, { label: "2", value: "2" }), n(V, { label: "3", value: "3" }), n(V, { label: "4", value: "4" }), n(V, { label: "5", value: "5" }), n(V, { label: "6", value: "6" })]), _: 1 }, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), n(N, { style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 14 }, { default: o(() => [n(v, { value: "prefix", label: "前缀", size: "large" })]), _: 1 }), n(L, { span: 8 }, { default: o(() => [n(U, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumPrefix, "onUpdate:modelValue": y[3] || (y[3] = (l2) => e2.configure.style.labelNumPrefix = l2), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("prefix"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 }), n(N, { style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 14 }, { default: o(() => [n(v, { value: "append", label: "后缀", size: "large" })]), _: 1 }), n(L, { span: 8 }, { default: o(() => [n(U, { style: { width: "70px", "margin-top": "8px" }, size: "small", modelValue: e2.configure.style.labelNumAppend, "onUpdate:modelValue": y[4] || (y[4] = (l2) => e2.configure.style.labelNumAppend = l2), disabled: e2.configure.style.labelNumFormat && -1 == e2.configure.style.labelNumFormat.indexOf("append"), placeholder: "" }, null, 8, ["modelValue", "disabled"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字字号", style: { "margin-top": "-10px" } }, { default: o(() => [n(_, { modelValue: e2.configure.style.labelFontSize, "onUpdate:modelValue": y[6] || (y[6] = (l2) => e2.configure.style.labelFontSize = l2), placeholder: "默认", clearable: "" }, { default: o(() => [(t(), d(s, null, p(f2, (e3) => n(V, { label: e3, value: e3 }, null, 8, ["label", "value"])), 64))]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字颜色", style: { "margin-top": "-10px" } }, { default: o(() => [n(w, { modelValue: e2.configure.style.labelColor, "onUpdate:modelValue": y[7] || (y[7] = (l2) => e2.configure.style.labelColor = l2) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字粗细", style: { "margin-top": "-10px" } }, { default: o(() => [n(_, { modelValue: e2.configure.style.labelWeight, "onUpdate:modelValue": y[8] || (y[8] = (l2) => e2.configure.style.labelWeight = l2), placeholder: "默认", clearable: "" }, { default: o(() => [n(V, { label: "normal", value: "normal" }), n(V, { label: "bold", value: "bold" }), n(V, { label: "bolder", value: "bolder" }), n(V, { label: "lighter", value: "lighter" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "旋转角度", style: { "margin-top": "-10px" } }, { default: o(() => [n(z, { modelValue: e2.configure.style.labelAngle, "onUpdate:modelValue": y[9] || (y[9] = (l2) => e2.configure.style.labelAngle = l2), min: -90, max: 90 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "文字偏移", style: { "margin-top": "-10px" } }, { default: o(() => [n(L, { span: 12 }, { default: o(() => [n(h, { label: "左", "label-width": "40px;" }, { default: o(() => [n(U, { style: { width: "50px" }, modelValue: e2.configure.style.labelLeft, "onUpdate:modelValue": y[10] || (y[10] = (l2) => e2.configure.style.labelLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(L, { span: 12 }, { default: o(() => [n(h, { label: "上", "label-width": "40px;" }, { default: o(() => [n(U, { style: { width: "50px" }, modelValue: e2.configure.style.labelTop, "onUpdate:modelValue": y[11] || (y[11] = (l2) => e2.configure.style.labelTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), n(P, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => y[13] || (y[13] = [m(" 如30,左表示文字在横向上偏移30,上表示纵向上偏移 40 ")])), _: 1 })]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]]), i(n(h, { label: "内容定义", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [n(U, { modelValue: e2.configure.style.labelFormatter, "onUpdate:modelValue": y[12] || (y[12] = (l2) => e2.configure.style.labelFormatter = l2), rows: 2, type: "textarea", placeholder: "" }, null, 8, ["modelValue"]), n(P, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: o(() => y[14] || (y[14] = [m(" {a}:系列名;{b}:数据名;{c}:数据值;{@xxx};{@[n]} ")])), _: 1 })]), _: 1 }, 512), [[r, e2.configure.style.enableLabel]])])]), _: 1 });
7
7
  };
8
8
  } });
9
9
  export {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, resolveComponent as e, createBlock as a, openBlock as o, withCtx as u, createElementVNode as t, createVNode as n, withDirectives as d, vShow as i, createTextVNode as r } from "vue";
2
2
  const m = { style: { padding: "8px 0px 0px 0px" } }, p = l({ __name: "style-dataline", props: { configure: { type: Object, required: true } }, setup: (l2) => (p2, s) => {
3
3
  const c = e("el-color-picker"), y = e("el-form-item"), b = e("el-option"), f = e("el-select"), g = e("el-input-number"), V = e("el-divider"), v = e("el-collapse-item");
4
- return o(), a(v, { title: "数据线", name: "styleDataLine", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [n(y, { label: "颜色", style: { "margin-top": "4px" } }, { default: u(() => [n(c, { modelValue: l2.configure.style.lineColor, "onUpdate:modelValue": s[0] || (s[0] = (e2) => l2.configure.style.lineColor = e2) }, null, 8, ["modelValue"])]), _: 1 }), n(y, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [n(f, { modelValue: l2.configure.style.lineOpacity, "onUpdate:modelValue": s[1] || (s[1] = (e2) => l2.configure.style.lineOpacity = e2), placeholder: "默认", clearable: "" }, { default: u(() => [n(b, { label: "1", value: "1" }), n(b, { label: "0.9", value: "0.9" }), n(b, { label: "0.8", value: "0.8" }), n(b, { label: "0.7", value: "0.7" }), n(b, { label: "0.6", value: "0.6" }), n(b, { label: "0.5", value: "0.5" }), n(b, { label: "0.4", value: "0.4" }), n(b, { label: "0.3", value: "0.3" }), n(b, { label: "0.2", value: "0.2" }), n(b, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { label: "线宽", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineWidth, "onUpdate:modelValue": s[2] || (s[2] = (e2) => l2.configure.style.lineWidth = e2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), n(y, { label: "线型", style: { "margin-top": "-10px" } }, { default: u(() => [n(f, { modelValue: l2.configure.style.lineType, "onUpdate:modelValue": s[3] || (s[3] = (e2) => l2.configure.style.lineType = e2), placeholder: "默认", clearable: "" }, { default: u(() => [n(b, { label: "solid", value: "solid" }), n(b, { label: "dashed", value: "dashed" }), n(b, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { label: "阴影颜色", style: { "margin-top": "-10px" } }, { default: u(() => [n(c, { modelValue: l2.configure.style.lineShadowColor, "onUpdate:modelValue": s[4] || (s[4] = (e2) => l2.configure.style.lineShadowColor = e2) }, null, 8, ["modelValue"])]), _: 1 }), d(n(y, { label: "阴影模糊", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineShadowBlur, "onUpdate:modelValue": s[5] || (s[5] = (e2) => l2.configure.style.lineShadowBlur = e2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, l2.configure.style.lineShadowColor]]), d(n(y, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineShadowX, "onUpdate:modelValue": s[6] || (s[6] = (e2) => l2.configure.style.lineShadowX = e2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, l2.configure.style.lineShadowColor]]), d(n(y, { label: "垂直偏移", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineShadowY, "onUpdate:modelValue": s[7] || (s[7] = (e2) => l2.configure.style.lineShadowY = e2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, l2.configure.style.lineShadowColor]]), n(V, null, { default: u(() => s[11] || (s[11] = [r("拐点标记", -1)])), _: 1, __: [11] }), n(y, { label: "标记颜色", style: { "margin-top": "-10px" } }, { default: u(() => [n(c, { modelValue: l2.configure.style.lineSymbolColor, "onUpdate:modelValue": s[8] || (s[8] = (e2) => l2.configure.style.lineSymbolColor = e2) }, null, 8, ["modelValue"])]), _: 1 }), n(y, { label: "标记图形", style: { "margin-top": "-10px" } }, { default: u(() => [n(f, { modelValue: l2.configure.style.lineSymbol, "onUpdate:modelValue": s[9] || (s[9] = (e2) => l2.configure.style.lineSymbol = e2), placeholder: "默认", clearable: "" }, { default: u(() => [n(b, { label: "none", value: "none" }), n(b, { label: "circle", value: "circle" }), n(b, { label: "rect", value: "rect" }), n(b, { label: "roundRect", value: "roundRect" }), n(b, { label: "triangle", value: "triangle" }), n(b, { label: "diamond", value: "diamond" }), n(b, { label: "pin", value: "pin" }), n(b, { label: "arrow", value: "arrow" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { label: "标记大小", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineSymbolSize, "onUpdate:modelValue": s[10] || (s[10] = (e2) => l2.configure.style.lineSymbolSize = e2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
4
+ return o(), a(v, { title: "数据线", name: "styleDataLine", class: "amb-design-attr-group-header" }, { default: u(() => [t("div", m, [n(y, { label: "颜色", style: { "margin-top": "4px" } }, { default: u(() => [n(c, { modelValue: l2.configure.style.lineColor, "onUpdate:modelValue": s[0] || (s[0] = (e2) => l2.configure.style.lineColor = e2) }, null, 8, ["modelValue"])]), _: 1 }), n(y, { label: "透明度", style: { "margin-top": "-10px" } }, { default: u(() => [n(f, { modelValue: l2.configure.style.lineOpacity, "onUpdate:modelValue": s[1] || (s[1] = (e2) => l2.configure.style.lineOpacity = e2), placeholder: "默认", clearable: "" }, { default: u(() => [n(b, { label: "1", value: "1" }), n(b, { label: "0.9", value: "0.9" }), n(b, { label: "0.8", value: "0.8" }), n(b, { label: "0.7", value: "0.7" }), n(b, { label: "0.6", value: "0.6" }), n(b, { label: "0.5", value: "0.5" }), n(b, { label: "0.4", value: "0.4" }), n(b, { label: "0.3", value: "0.3" }), n(b, { label: "0.2", value: "0.2" }), n(b, { label: "0.1", value: "0.1" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { label: "线宽", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineWidth, "onUpdate:modelValue": s[2] || (s[2] = (e2) => l2.configure.style.lineWidth = e2), min: 1, max: 100 }, null, 8, ["modelValue"])]), _: 1 }), n(y, { label: "线型", style: { "margin-top": "-10px" } }, { default: u(() => [n(f, { modelValue: l2.configure.style.lineType, "onUpdate:modelValue": s[3] || (s[3] = (e2) => l2.configure.style.lineType = e2), placeholder: "默认", clearable: "" }, { default: u(() => [n(b, { label: "solid", value: "solid" }), n(b, { label: "dashed", value: "dashed" }), n(b, { label: "dotted", value: "dotted" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { label: "阴影颜色", style: { "margin-top": "-10px" } }, { default: u(() => [n(c, { modelValue: l2.configure.style.lineShadowColor, "onUpdate:modelValue": s[4] || (s[4] = (e2) => l2.configure.style.lineShadowColor = e2) }, null, 8, ["modelValue"])]), _: 1 }), d(n(y, { label: "阴影模糊", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineShadowBlur, "onUpdate:modelValue": s[5] || (s[5] = (e2) => l2.configure.style.lineShadowBlur = e2), min: 0, max: 20 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, l2.configure.style.lineShadowColor]]), d(n(y, { label: "水平偏移", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineShadowX, "onUpdate:modelValue": s[6] || (s[6] = (e2) => l2.configure.style.lineShadowX = e2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, l2.configure.style.lineShadowColor]]), d(n(y, { label: "垂直偏移", style: { "margin-top": "-10px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineShadowY, "onUpdate:modelValue": s[7] || (s[7] = (e2) => l2.configure.style.lineShadowY = e2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 }, 512), [[i, l2.configure.style.lineShadowColor]]), n(V, null, { default: u(() => s[11] || (s[11] = [r("拐点标记")])), _: 1 }), n(y, { label: "标记颜色", style: { "margin-top": "-10px" } }, { default: u(() => [n(c, { modelValue: l2.configure.style.lineSymbolColor, "onUpdate:modelValue": s[8] || (s[8] = (e2) => l2.configure.style.lineSymbolColor = e2) }, null, 8, ["modelValue"])]), _: 1 }), n(y, { label: "标记图形", style: { "margin-top": "-10px" } }, { default: u(() => [n(f, { modelValue: l2.configure.style.lineSymbol, "onUpdate:modelValue": s[9] || (s[9] = (e2) => l2.configure.style.lineSymbol = e2), placeholder: "默认", clearable: "" }, { default: u(() => [n(b, { label: "none", value: "none" }), n(b, { label: "circle", value: "circle" }), n(b, { label: "rect", value: "rect" }), n(b, { label: "roundRect", value: "roundRect" }), n(b, { label: "triangle", value: "triangle" }), n(b, { label: "diamond", value: "diamond" }), n(b, { label: "pin", value: "pin" }), n(b, { label: "arrow", value: "arrow" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), n(y, { label: "标记大小", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [n(g, { modelValue: l2.configure.style.lineSymbolSize, "onUpdate:modelValue": s[10] || (s[10] = (e2) => l2.configure.style.lineSymbolSize = e2), min: 0, max: 40 }, null, 8, ["modelValue"])]), _: 1 })])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  p as default
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as e, resolveComponent as l, createBlock as t, openBlock as a, withCtx as u, createElementVNode as o, createVNode as p, createTextVNode as s } from "vue";
2
2
  const n = { style: { padding: "8px 0px 0px 0px" } }, d = e({ __name: "style-radar", props: { configure: { type: Object, required: true } }, setup: (e2) => (d2, i) => {
3
- const r = l("el-option"), m = l("el-select"), c = l("el-form-item"), g = l("el-input"), f = l("el-col"), y = l("el-text"), x = l("el-input-number"), _ = l("el-collapse-item");
4
- return a(), t(_, { title: "雷达图", name: "styleGauge", class: "amb-design-attr-group-header" }, { default: u(() => [o("div", n, [p(c, { label: "绘制类型", style: { "margin-top": "4px" } }, { default: u(() => [p(m, { modelValue: e2.configure.style.shape, "onUpdate:modelValue": i[0] || (i[0] = (l2) => e2.configure.style.shape = l2) }, { default: u(() => [p(r, { label: "polygon", value: "polygon" }), p(r, { label: "circle", value: "circle" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(c, { label: "中心坐标", style: { "margin-top": "-10px" } }, { default: u(() => [p(f, { span: 12 }, { default: u(() => [p(c, { label: "左", "label-width": "40px;" }, { default: u(() => [p(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerLeft, "onUpdate:modelValue": i[1] || (i[1] = (l2) => e2.configure.style.centerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), p(f, { span: 12 }, { default: u(() => [p(c, { label: "上", "label-width": "40px;" }, { default: u(() => [p(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerTop, "onUpdate:modelValue": i[2] || (i[2] = (l2) => e2.configure.style.centerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), p(y, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => i[6] || (i[6] = [s("格式如:50%,左为是横坐标位置,上是纵坐标位置", -1)])), _: 1, __: [6] })]), _: 1 }), p(c, { label: "半径", style: { "margin-top": "-10px" } }, { default: u(() => [p(g, { style: { width: "50px" }, modelValue: e2.configure.style.radiusOuter, "onUpdate:modelValue": i[3] || (i[3] = (l2) => e2.configure.style.radiusOuter = l2), placeholder: "" }, null, 8, ["modelValue"]), p(y, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => i[7] || (i[7] = [s("格式如:75%,可以是外半径的百分比,也可以是绝对的数值", -1)])), _: 1, __: [7] })]), _: 1 }), p(c, { label: "分割段数", style: { "margin-top": "-10px" } }, { default: u(() => [p(x, { modelValue: e2.configure.style.splitNumber, "onUpdate:modelValue": i[4] || (i[4] = (l2) => e2.configure.style.splitNumber = l2), min: 0, max: 360 }, null, 8, ["modelValue"])]), _: 1 }), p(c, { label: "起始角度", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [p(x, { modelValue: e2.configure.style.startAngle, "onUpdate:modelValue": i[5] || (i[5] = (l2) => e2.configure.style.startAngle = l2), min: -180, max: 180 }, null, 8, ["modelValue"]), p(y, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => i[8] || (i[8] = [s("第一个指示器轴的角度", -1)])), _: 1, __: [8] })]), _: 1 })])]), _: 1 });
3
+ const r = l("el-option"), m = l("el-select"), c = l("el-form-item"), g = l("el-input"), f = l("el-col"), y = l("el-text"), x = l("el-input-number"), V = l("el-collapse-item");
4
+ return a(), t(V, { title: "雷达图", name: "styleGauge", class: "amb-design-attr-group-header" }, { default: u(() => [o("div", n, [p(c, { label: "绘制类型", style: { "margin-top": "4px" } }, { default: u(() => [p(m, { modelValue: e2.configure.style.shape, "onUpdate:modelValue": i[0] || (i[0] = (l2) => e2.configure.style.shape = l2) }, { default: u(() => [p(r, { label: "polygon", value: "polygon" }), p(r, { label: "circle", value: "circle" })]), _: 1 }, 8, ["modelValue"])]), _: 1 }), p(c, { label: "中心坐标", style: { "margin-top": "-10px" } }, { default: u(() => [p(f, { span: 12 }, { default: u(() => [p(c, { label: "左", "label-width": "40px;" }, { default: u(() => [p(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerLeft, "onUpdate:modelValue": i[1] || (i[1] = (l2) => e2.configure.style.centerLeft = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), p(f, { span: 12 }, { default: u(() => [p(c, { label: "上", "label-width": "40px;" }, { default: u(() => [p(g, { style: { width: "50px" }, modelValue: e2.configure.style.centerTop, "onUpdate:modelValue": i[2] || (i[2] = (l2) => e2.configure.style.centerTop = l2), placeholder: "" }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }), p(y, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => i[6] || (i[6] = [s("格式如:50%,左为是横坐标位置,上是纵坐标位置")])), _: 1 })]), _: 1 }), p(c, { label: "半径", style: { "margin-top": "-10px" } }, { default: u(() => [p(g, { style: { width: "50px" }, modelValue: e2.configure.style.radiusOuter, "onUpdate:modelValue": i[3] || (i[3] = (l2) => e2.configure.style.radiusOuter = l2), placeholder: "" }, null, 8, ["modelValue"]), p(y, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => i[7] || (i[7] = [s("格式如:75%,可以是外半径的百分比,也可以是绝对的数值")])), _: 1 })]), _: 1 }), p(c, { label: "分割段数", style: { "margin-top": "-10px" } }, { default: u(() => [p(x, { modelValue: e2.configure.style.splitNumber, "onUpdate:modelValue": i[4] || (i[4] = (l2) => e2.configure.style.splitNumber = l2), min: 0, max: 360 }, null, 8, ["modelValue"])]), _: 1 }), p(c, { label: "起始角度", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: u(() => [p(x, { modelValue: e2.configure.style.startAngle, "onUpdate:modelValue": i[5] || (i[5] = (l2) => e2.configure.style.startAngle = l2), min: -180, max: 180 }, null, 8, ["modelValue"]), p(y, { style: { "line-height": "15px", "margin-top": "5px" }, type: "success", size: "small" }, { default: u(() => i[8] || (i[8] = [s("第一个指示器轴的角度")])), _: 1 })]), _: 1 })])]), _: 1 });
5
5
  } });
6
6
  export {
7
7
  d as default
@@ -3,11 +3,11 @@ import m from "../../common/page-permission-select.vue.js";
3
3
  import { usePageContextStore as y } from "../../../../../../stores/page-store.js";
4
4
  import { queryServiceReturnFields as b } from "../../../../utils/page-service-util.js";
5
5
  import x from "../../form/common/data-origin-service-in.vue.js";
6
- const D = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left" } }, _ = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, h = e({ __name: "scatter-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
7
- const h2 = e2, O = y().pageContext, j = t([]), V = l(() => j.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type));
6
+ const D = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left" } }, h = { style: { float: "right", color: "var(--el-text-color-secondary)", "font-size": "13px" } }, O = e({ __name: "scatter-attr-data", props: { configure: { type: Object, required: true }, defaultType: { type: String, default: "" }, chartType: { type: String, default: "" } }, setup(e2) {
7
+ const O2 = e2, _ = y().pageContext, j = t([]), V = l(() => j.value.filter((e3) => "array" == e3.type || "any" == e3.type || !e3.type));
8
8
  l(() => j.value.filter((e3) => {
9
9
  if ("string" == e3.type || "any" == e3.type || !e3.type) {
10
- const t2 = h2.configure.serviceDataField;
10
+ const t2 = O2.configure.serviceDataField;
11
11
  if (!t2 || e3.value.startsWith(t2 + ".")) {
12
12
  let l2 = e3.value, a2 = e3.label;
13
13
  return t2 && (l2 = l2.substring(t2.length + 1), a2 && (a2 = a2.replace(t2 + ".", ""))), e3.nameValue = l2, e3.nameLabel = a2, true;
@@ -16,32 +16,32 @@ const D = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left
16
16
  return false;
17
17
  })), l(() => j.value.filter((e3) => {
18
18
  if ("number" == e3.type || "any" == e3.type || !e3.type) {
19
- const t2 = h2.configure.serviceDataField;
19
+ const t2 = O2.configure.serviceDataField;
20
20
  if (!t2 || e3.value.startsWith(t2 + ".")) {
21
21
  let l2 = e3.value, a2 = e3.label;
22
22
  return t2 && (l2 = l2.substring(t2.length + 1), a2 && (a2 = a2.replace(t2 + ".", ""))), e3.numValue = l2, e3.numLabel = a2, true;
23
23
  }
24
24
  }
25
25
  return false;
26
- })), h2.configure.props.dataOrigin || (h2.configure.props.dataOrigin = {});
27
- const S = h2.configure.props.dataOrigin;
26
+ })), O2.configure.props.dataOrigin || (O2.configure.props.dataOrigin = {});
27
+ const S = O2.configure.props.dataOrigin;
28
28
  S.service || (S.service = {});
29
29
  let T = null;
30
30
  function C() {
31
31
  const e3 = S.service.id;
32
32
  if (T != e3) {
33
- if (T = e3, !e3) return h2.configure.serviceFields = [], j.value = [], void (h2.configure.serviceDataField = null);
33
+ if (T = e3, !e3) return O2.configure.serviceFields = [], j.value = [], void (O2.configure.serviceDataField = null);
34
34
  b(S.service.simpleCode).then((e4) => {
35
- h2.configure.serviceFields = e4, j.value = e4, function() {
36
- if (!h2.configure.serviceDataField) return;
35
+ O2.configure.serviceFields = e4, j.value = e4, function() {
36
+ if (!O2.configure.serviceDataField) return;
37
37
  let e5 = false;
38
38
  if (j.value) {
39
- for (let t2 of j.value) if (t2.value == h2.configure.serviceDataField) {
39
+ for (let t2 of j.value) if (t2.value == O2.configure.serviceDataField) {
40
40
  e5 = true;
41
41
  break;
42
42
  }
43
43
  }
44
- e5 || (h2.configure.serviceDataField = null);
44
+ e5 || (O2.configure.serviceDataField = null);
45
45
  }();
46
46
  });
47
47
  }
@@ -52,12 +52,12 @@ const D = { style: { padding: "8px 0px 0px 0px" } }, F = { style: { float: "left
52
52
  return a(() => {
53
53
  k && clearTimeout(k);
54
54
  }), (t2, l2) => {
55
- const a2 = r("el-form-item"), y2 = r("el-option"), b2 = r("el-select"), h3 = r("el-text"), j2 = r("el-collapse-item");
56
- return n(), i(j2, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: o(() => [s("div", D, [u(a2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: o(() => [u(m, { pageDesign: c(O), rowObj: c(S).service, onlyService: "", "onUpdate:modelValue": l2[0] || (l2[0] = (e3, t3, l3, a3) => function(e4, t4, l4, a4) {
55
+ const a2 = r("el-form-item"), y2 = r("el-option"), b2 = r("el-select"), O3 = r("el-text"), j2 = r("el-collapse-item");
56
+ return n(), i(j2, { title: "数据设置", name: "dataSet", class: "amb-design-attr-group-header" }, { default: o(() => [s("div", D, [u(a2, { label: "选择服务", style: { "margin-top": "4px" } }, { default: o(() => [u(m, { pageDesign: c(_), rowObj: c(S).service, onlyService: "", "onUpdate:modelValue": l2[0] || (l2[0] = (e3, t3, l3, a3) => function(e4, t4, l4, a4) {
57
57
  S.service.simpleCode = t4, S.service.id = a4, S.service.name = l4, C();
58
- }(0, t3, l3, a3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), u(a2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(b2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": l2[1] || (l2[1] = (t3) => e2.configure.serviceDataField = t3), filterable: "", clearable: "", placeholder: "请选择" }, { default: o(() => [(n(true), p(f, null, d(V.value, (e3, t3) => (n(), i(y2, { key: t3, label: e3.label, value: e3.value }, { default: o(() => [s("span", F, v(e3.label), 1), s("span", _, v(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(h3, { type: "success", size: "small" }, { default: o(() => l2[2] || (l2[2] = [g("默认为根目录.", -1)])), _: 1, __: [2] })]), _: 1 }), u(x, { ref: "dataOriginServiceInRef", dataOrigin: c(S) }, null, 8, ["dataOrigin"])])]), _: 1 });
58
+ }(0, t3, l3, a3)) }, null, 8, ["pageDesign", "rowObj"])]), _: 1 }), u(a2, { label: "数据集", style: { "margin-top": "-10px", "margin-bottom": "-15px" } }, { default: o(() => [u(b2, { modelValue: e2.configure.serviceDataField, "onUpdate:modelValue": l2[1] || (l2[1] = (t3) => e2.configure.serviceDataField = t3), filterable: "", clearable: "", placeholder: "请选择" }, { default: o(() => [(n(true), p(f, null, d(V.value, (e3, t3) => (n(), i(y2, { key: t3, label: e3.label, value: e3.value }, { default: o(() => [s("span", F, v(e3.label), 1), s("span", h, v(e3.type), 1)]), _: 2 }, 1032, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue"]), u(O3, { type: "success", size: "small" }, { default: o(() => l2[2] || (l2[2] = [g("默认为根目录.")])), _: 1 })]), _: 1 }), u(x, { ref: "dataOriginServiceInRef", dataOrigin: c(S) }, null, 8, ["dataOrigin"])])]), _: 1 });
59
59
  };
60
60
  } });
61
61
  export {
62
- h as default
62
+ O as default
63
63
  };