vue-data-ui 3.22.8 → 3.22.10

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 (209) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/BaseIcon-CDTIUIKV.js +483 -0
  4. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  11. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
  12. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
  13. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  14. package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
  15. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
  16. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  17. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  18. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  19. package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  90. package/dist/exposedLib-CZbtc2a6.js +25 -0
  91. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  94. package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  96. package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  103. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  104. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  105. package/dist/utils.js +26 -24
  106. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  109. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  111. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  112. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  113. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  114. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
  115. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  116. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  117. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  118. package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
  119. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  120. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
  121. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  122. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
  123. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  124. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  125. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  126. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  127. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  128. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  129. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  130. package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
  131. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  132. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
  133. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  134. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
  135. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  136. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
  137. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  138. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  139. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
  140. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  141. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  143. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  144. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  145. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  146. package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
  147. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  148. package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
  149. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  150. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  151. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
  152. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
  153. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
  154. package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
  155. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
  156. package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
  157. package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
  158. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  159. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
  160. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  161. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
  162. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  163. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  164. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  165. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  166. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
  167. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  168. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
  169. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  170. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  171. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  172. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
  173. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
  174. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
  175. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  176. package/package.json +1 -1
  177. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  178. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  179. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
  181. package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
  182. package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
  183. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
  184. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  185. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  186. package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
  187. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  188. package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
  189. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  190. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  191. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
  192. package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
  193. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
  194. package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
  195. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
  196. package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
  197. package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
  198. package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
  199. package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
  200. package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
  201. package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
  202. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  203. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  204. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
  205. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  206. package/dist/vue-ui-table-Q3brrivC.js +0 -1338
  207. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
  208. package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
  209. package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
@@ -0,0 +1,770 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { At as t, C as n, Gt as r, K as i, Nt as a, Y as ee, et as o, ft as te, i as ne, qt as re, t as ie, x as s, y as c, zt as ae } from "./lib-CnHx5WfV.js";
3
+ import { t as oe } from "./useConfig-DYM3f6EI.js";
4
+ import { t as se } from "./usePrinter-B-X_Pub0.js";
5
+ import { n as ce, t as le } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as ue } from "./useSvgExport-SVIsDot8.js";
7
+ import { t as l } from "./useNestedProp-D8NuRneO.js";
8
+ import { t as de } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as fe } from "./img-CNdXiUfZ.js";
10
+ import { n as pe } from "./Title-Cr3jP7Qd.js";
11
+ import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { c as he } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as ge } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as _e } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as be } from "./useAutoSizeLabelsInsideViewbox-BUPt2iaP.js";
18
+ import { t as xe } from "./usePrefersMotion-BC-CsqR1.js";
19
+ import { t as Se } from "./vue_ui_thermometer-DxgqWKlE.js";
20
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createVNode as we, defineAsyncComponent as g, guardReactiveProps as _, nextTick as Te, normalizeClass as v, normalizeProps as y, normalizeStyle as Ee, onMounted as De, openBlock as b, ref as x, renderList as Oe, renderSlot as S, toDisplayString as C, toRefs as ke, unref as w, useCssVars as Ae, watch as je, withCtx as T } from "vue";
21
+ //#region src/components/vue-ui-thermometer.vue
22
+ var Me = /* @__PURE__ */ e({ default: () => E }), Ne = ["id"], Pe = {
23
+ key: 1,
24
+ ref: "noTitle",
25
+ class: "vue-data-ui-no-title-space",
26
+ style: "height:36px; width: 100%;background:transparent"
27
+ }, Fe = [
28
+ "xmlns",
29
+ "viewBox",
30
+ "aria-labelledby",
31
+ "aria-describedby"
32
+ ], Ie = ["id"], Le = ["id"], Re = ["width", "height"], ze = ["id"], Be = [
33
+ "x",
34
+ "y",
35
+ "width",
36
+ "height",
37
+ "rx",
38
+ "ry"
39
+ ], Ve = ["clip-path"], He = [
40
+ "x",
41
+ "y",
42
+ "height",
43
+ "width"
44
+ ], Ue = [
45
+ "x",
46
+ "y",
47
+ "height",
48
+ "width",
49
+ "fill"
50
+ ], We = [
51
+ "x1",
52
+ "x2",
53
+ "y1",
54
+ "y2",
55
+ "stroke-width",
56
+ "stroke"
57
+ ], Ge = [
58
+ "x1",
59
+ "x2",
60
+ "y1",
61
+ "y2",
62
+ "stroke-width",
63
+ "stroke"
64
+ ], Ke = [
65
+ "x1",
66
+ "x2",
67
+ "y1",
68
+ "y2",
69
+ "stroke-width",
70
+ "stroke"
71
+ ], qe = [
72
+ "x1",
73
+ "x2",
74
+ "y1",
75
+ "y2",
76
+ "stroke-width",
77
+ "stroke"
78
+ ], Je = [
79
+ "x1",
80
+ "x2",
81
+ "y1",
82
+ "y2",
83
+ "stroke-width",
84
+ "stroke"
85
+ ], Ye = [
86
+ "x1",
87
+ "x2",
88
+ "y1",
89
+ "y2",
90
+ "stroke-width",
91
+ "stroke"
92
+ ], Xe = [
93
+ "x1",
94
+ "x2",
95
+ "y1",
96
+ "y2",
97
+ "stroke-width",
98
+ "stroke"
99
+ ], Ze = [
100
+ "x1",
101
+ "x2",
102
+ "y1",
103
+ "y2",
104
+ "stroke-width",
105
+ "stroke"
106
+ ], Qe = [
107
+ "x",
108
+ "y",
109
+ "height",
110
+ "width"
111
+ ], $e = ["aria-label"], et = [
112
+ "x",
113
+ "y",
114
+ "height"
115
+ ], tt = [
116
+ "y",
117
+ "x",
118
+ "fill",
119
+ "font-size",
120
+ "font-weight"
121
+ ], nt = {
122
+ key: 4,
123
+ class: "vue-data-ui-watermark"
124
+ }, E = /*#__PURE__*/ me({
125
+ __name: "vue-ui-thermometer",
126
+ props: {
127
+ dataset: {
128
+ type: Object,
129
+ default() {
130
+ return {};
131
+ }
132
+ },
133
+ config: {
134
+ type: Object,
135
+ default() {
136
+ return {};
137
+ }
138
+ }
139
+ },
140
+ emits: ["copyAlt"],
141
+ setup(e, { expose: me, emit: Me }) {
142
+ Ae((e) => ({
143
+ v31c59d24: kt.value,
144
+ v2daaf640: Ot.value,
145
+ f9585c66: Dt.value
146
+ }));
147
+ let E = g(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), rt = g(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), it = g(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), { vue_ui_thermometer: at } = oe(), { isThemeValid: ot, warnInvalidTheme: st } = de(), ct = xe(), D = e, lt = Me, O = x(i()), k = x(null), ut = x(0), dt = x(0), ft = x(null), pt = x(null), A = x(null), j = x(null), M = x(!1), N = x(!1), mt = d(() => !!D.dataset && Object.keys(D.dataset).length);
148
+ De(() => {
149
+ yt();
150
+ });
151
+ let P = x(V()), ht = x(P.value.style.chart.thermometer.width), F = x(P.value.style.chart.height), I = x(P.value.style.chart.width), gt = d(() => P.value.userOptions.useCursorPointer), _t = d(() => re({
152
+ defaultConfig: {
153
+ userOptions: { show: !1 },
154
+ style: { chart: {
155
+ animation: { use: !1 },
156
+ backgroundColor: "#99999930",
157
+ graduations: { stroke: "#6A6A6A" }
158
+ } }
159
+ },
160
+ userConfig: P.value.skeletonConfig ?? {}
161
+ })), { loading: L, FINAL_DATASET: R } = ce({
162
+ ...ke(D),
163
+ FINAL_CONFIG: P,
164
+ prepareConfig: V,
165
+ skeletonDataset: D.config?.skeletonDataset ?? {
166
+ value: 0,
167
+ from: -100,
168
+ to: 100,
169
+ steps: 20,
170
+ colors: {
171
+ from: "#A1A1A1",
172
+ to: "#CACACA"
173
+ }
174
+ },
175
+ skeletonConfig: re({
176
+ defaultConfig: P.value,
177
+ userConfig: _t.value
178
+ })
179
+ }), vt = d(() => !!P.value.debug);
180
+ function yt() {
181
+ if (t(D.dataset) ? o({
182
+ componentName: "VueUiThermometer",
183
+ type: "dataset",
184
+ debug: vt.value
185
+ }) : te({
186
+ datasetObject: D.dataset,
187
+ requiredAttributes: [
188
+ "value",
189
+ "from",
190
+ "to"
191
+ ]
192
+ }).forEach((e) => {
193
+ o({
194
+ componentName: "VueUiThermometer",
195
+ type: "datasetAttribute",
196
+ property: e,
197
+ debug: vt.value
198
+ });
199
+ }), P.value.responsive) {
200
+ let e = he(() => {
201
+ let { width: e, height: t } = ge({
202
+ chart: k.value,
203
+ title: P.value.style.title.text ? ft.value : null,
204
+ source: pt.value
205
+ });
206
+ requestAnimationFrame(() => {
207
+ F.value = Math.max(.1, t - 12), I.value = e, Ft();
208
+ });
209
+ });
210
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = k.value, A.value.observe(j.value);
211
+ }
212
+ Ft();
213
+ }
214
+ let { userOptionsVisible: z, setUserOptionsVisibility: bt, keepUserOptionState: xt } = ve({ config: P.value }), { svgRef: B } = ye({ config: P.value.style.title });
215
+ function V() {
216
+ let e = l({
217
+ userConfig: D.config,
218
+ defaultConfig: at
219
+ }), t = e.theme;
220
+ if (!t) return e;
221
+ if (!ot.value(e)) return st(e), e;
222
+ let n = l({
223
+ userConfig: Se[t] || D.config,
224
+ defaultConfig: e
225
+ }), i = l({
226
+ userConfig: D.config,
227
+ defaultConfig: n
228
+ });
229
+ return {
230
+ ...i,
231
+ customPalette: i.customPalette.length ? i.customPalette : r[t] || a
232
+ };
233
+ }
234
+ je(() => D.config, (e) => {
235
+ P.value = V(), z.value = !P.value.userOptions.showOnChartHover, ht.value = P.value.style.chart.thermometer.width, F.value = P.value.style.chart.height, I.value = P.value.style.chart.width, yt(), dt.value += 1;
236
+ }, { deep: !0 });
237
+ let { isPrinting: H, isImaging: U, generatePdf: St, generateImage: Ct } = se({
238
+ elementId: `thermometer__${O.value}`,
239
+ fileName: P.value.style.title.text || "vue-ui-thermometer",
240
+ options: P.value.userOptions.print
241
+ }), wt = d(() => P.value.userOptions.show && !P.value.style.title.text), W = d(() => n(P.value.customPalette)), G = d(() => R.value.steps || 10);
242
+ function K(e, t, n) {
243
+ let r = [], i = Tt(e), a = Tt(t);
244
+ for (let e = 0; e < n; e += 1) {
245
+ let t = q(i.red, a.red, e, n), ee = q(i.green, a.green, e, n), o = q(i.blue, a.blue, e, n), te = `#${J(t)}${J(ee)}${J(o)}`;
246
+ r.push(te);
247
+ }
248
+ return r;
249
+ }
250
+ function Tt(e) {
251
+ let t = e.slice(1);
252
+ return {
253
+ red: parseInt(t.slice(0, 2), 16),
254
+ green: parseInt(t.slice(2, 4), 16),
255
+ blue: parseInt(t.slice(4, 6), 16)
256
+ };
257
+ }
258
+ function q(e, t, n, r) {
259
+ return Math.round(e + (t - e) * n / r);
260
+ }
261
+ function J(e) {
262
+ return e.toString(16).padStart(2, "0");
263
+ }
264
+ let Y = d(() => {
265
+ let e = Math.max(.1, I.value), t = Math.max(.1, F.value), n = P.value.style.chart.padding;
266
+ return {
267
+ width: e,
268
+ left: e / 2 - P.value.style.chart.thermometer.width / 2,
269
+ right: e / 2 + P.value.style.chart.thermometer.width / 2,
270
+ top: n.top,
271
+ bottom: t - n.bottom - n.top,
272
+ height: t,
273
+ thermoHeight: t - n.top - n.bottom,
274
+ thermoWidth: P.value.style.chart.thermometer.width
275
+ };
276
+ }), Et = d(() => Y.value), X = d(() => {
277
+ let e = c(R.value.from) < 0 ? Math.abs(c(R.value.from)) : c(R.value.from), t = c(R.value.to) < 0 ? Math.abs(c(R.value.to)) : c(R.value.to), n = 0;
278
+ return n = c(R.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(c(R.value.from)) + c(R.value.value)) / n) * Y.value.thermoHeight;
279
+ }), Dt = d(() => `${X.value}px`), Ot = d(() => `${Y.value.thermoHeight}px`), kt = d(() => ct.value ? "0ms" : `${P.value.style.chart.animation.speedMs}ms`), At = d(() => {
280
+ if (R.value.colors) {
281
+ if (!R.value.colors.from) return K(W.value[0] || a[0], s(R.value.colors.to), G.value || 10);
282
+ if (!R.value.colors.to) return K(s(R.value.colors.from), W.value[1] || a[1], G.value || 10);
283
+ } else return K(W.value[1] || a[1], W.value[0] || a[0], G.value || 10);
284
+ return K(s(R.value.colors.from), s(R.value.colors.to), G.value || 10);
285
+ }), jt = d(() => {
286
+ let e = [], t = 0, n = Y.value.thermoHeight;
287
+ for (let r = 0; r < n - 1; r += n / G.value) e.push({
288
+ x: Y.value.left,
289
+ y: Y.value.top + r,
290
+ qYLess: Y.value.top + r + n / G.value / 4,
291
+ halfY: Y.value.top + r + n / G.value / 2,
292
+ qYMore: Y.value.top + r + n / G.value / 4 * 3,
293
+ color: At.value[t],
294
+ height: Math.max(.1, n / G.value)
295
+ }), t += 1;
296
+ return e;
297
+ }), Z = x(!1);
298
+ function Mt(e) {
299
+ Z.value = e, ut.value += 1;
300
+ }
301
+ let Q = x(!1);
302
+ function Nt() {
303
+ Q.value = !Q.value;
304
+ }
305
+ async function Pt({ scale: e = 2 } = {}) {
306
+ if (!k.value) return;
307
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
308
+ domElement: k.value,
309
+ base64: !0,
310
+ img: !0,
311
+ scale: e
312
+ });
313
+ return {
314
+ imageUri: i,
315
+ base64: a,
316
+ title: P.value.style.title.text,
317
+ width: t,
318
+ height: n,
319
+ aspectRatio: r
320
+ };
321
+ }
322
+ let $ = d({
323
+ get: () => P.value.style.chart.label.fontSize,
324
+ set: (e) => e
325
+ }), { autoSizeLabels: Ft } = be({
326
+ svgRef: B,
327
+ fontSize: P.value.style.chart.label.fontSize,
328
+ minFontSize: P.value.style.chart.label.minFontSize,
329
+ sizeRef: $,
330
+ labelClass: ".vue-ui-thermometer-label"
331
+ }), It = d(() => P.value.style.chart.backgroundColor), { exportSvg: Lt, getSvg: Rt } = ue({
332
+ svg: B,
333
+ title: d(() => P.value.style.title),
334
+ backgroundColor: It
335
+ });
336
+ async function zt({ isCb: e }) {
337
+ N.value = !0, await Te();
338
+ try {
339
+ if (e) {
340
+ let { blob: e, url: t, text: n, dataUrl: r } = await Rt();
341
+ await Promise.resolve(P.value.userOptions.callbacks.svg({
342
+ blob: e,
343
+ url: t,
344
+ text: n,
345
+ dataUrl: r
346
+ }));
347
+ } else await Promise.resolve(Lt());
348
+ } finally {
349
+ N.value = !1;
350
+ }
351
+ }
352
+ function Bt(e) {
353
+ if (e?.stage === "start") {
354
+ M.value = !0;
355
+ return;
356
+ }
357
+ if (e?.stage === "end") {
358
+ M.value = !1;
359
+ return;
360
+ }
361
+ Ct();
362
+ }
363
+ async function Vt() {
364
+ if (lt("copyAlt", {
365
+ config: P.value,
366
+ dataset: R.value
367
+ }), !P.value.userOptions.callbacks.altCopy) {
368
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
369
+ return;
370
+ }
371
+ await Promise.resolve(P.value.userOptions.callbacks.altCopy({
372
+ config: P.value,
373
+ dataset: R.value
374
+ }));
375
+ }
376
+ let Ht = d(() => `${O.value}-title`), Ut = d(() => `${O.value}-desc`), Wt = d(() => ne(P.value.style.chart.label.formatter, R.value.value, ee({
377
+ p: P.value.style.chart.label.prefix,
378
+ v: R.value.value,
379
+ s: P.value.style.chart.label.suffix,
380
+ r: P.value.style.chart.label.rounding
381
+ }), { datapoint: R.value })), Gt = d(() => P.value.style.title.text || ""), Kt = d(() => {
382
+ if (L.value) return "...";
383
+ let e = c(R.value.from), t = c(R.value.to);
384
+ return `Thermometer value: ${Wt.value}. Range: ${e} to ${t}.`;
385
+ });
386
+ return me({
387
+ getImage: Pt,
388
+ generatePdf: St,
389
+ generateImage: Ct,
390
+ generateSvg: zt,
391
+ toggleAnnotator: Nt,
392
+ toggleFullscreen: Mt,
393
+ copyAlt: Vt
394
+ }), (e, t) => (b(), m("div", {
395
+ ref_key: "thermoChart",
396
+ ref: k,
397
+ class: v(`vue-data-ui-component vue-ui-thermometer ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
398
+ style: Ee(`width:100%;background:${P.value.style.chart.backgroundColor};color:${P.value.style.chart.color};font-family:${P.value.style.fontFamily}`),
399
+ id: `thermometer__${O.value}`,
400
+ onMouseenter: t[0] ||= () => w(bt)(!0),
401
+ onMouseleave: t[1] ||= () => w(bt)(!1)
402
+ }, [
403
+ P.value.userOptions.buttons.annotator ? (b(), f(w(rt), {
404
+ key: 0,
405
+ svgRef: w(B),
406
+ backgroundColor: P.value.style.chart.backgroundColor,
407
+ color: P.value.style.chart.color,
408
+ active: Q.value,
409
+ isCursorPointer: gt.value,
410
+ onClose: Nt
411
+ }, {
412
+ "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
413
+ "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
414
+ "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
415
+ "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
416
+ "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
417
+ "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
418
+ _: 3
419
+ }, 8, [
420
+ "svgRef",
421
+ "backgroundColor",
422
+ "color",
423
+ "active",
424
+ "isCursorPointer"
425
+ ])) : p("", !0),
426
+ wt.value ? (b(), m("div", Pe, null, 512)) : p("", !0),
427
+ P.value.style.title.text ? (b(), m("div", {
428
+ key: 2,
429
+ ref_key: "chartTitle",
430
+ ref: ft,
431
+ style: "width:100%"
432
+ }, [(b(), f(pe, {
433
+ key: `title_${dt.value}`,
434
+ config: {
435
+ title: {
436
+ cy: "thermometer-div-title",
437
+ ...P.value.style.title
438
+ },
439
+ subtitle: {
440
+ cy: "thermometer-div-subtitle",
441
+ ...P.value.style.title.subtitle
442
+ }
443
+ }
444
+ }, null, 8, ["config"]))], 512)) : p("", !0),
445
+ P.value.userOptions.show && mt.value && (w(xt) || w(z)) ? (b(), f(w(it), {
446
+ ref: "details",
447
+ key: `user_options_${ut.value}`,
448
+ backgroundColor: P.value.style.chart.backgroundColor,
449
+ color: P.value.style.chart.color,
450
+ isImaging: w(U),
451
+ isPrinting: w(H),
452
+ uid: O.value,
453
+ hasPdf: P.value.userOptions.buttons.pdf,
454
+ hasImg: P.value.userOptions.buttons.img,
455
+ hasSvg: P.value.userOptions.buttons.svg,
456
+ hasFullscreen: P.value.userOptions.buttons.fullscreen,
457
+ hasAltCopy: P.value.userOptions.buttons.altCopy,
458
+ hasXls: !1,
459
+ isFullscreen: Z.value,
460
+ titles: { ...P.value.userOptions.buttonTitles },
461
+ chartElement: k.value,
462
+ position: P.value.userOptions.position,
463
+ hasAnnotator: P.value.userOptions.buttons.annotator,
464
+ isAnnotation: Q.value,
465
+ callbacks: P.value.userOptions.callbacks,
466
+ printScale: P.value.userOptions.print.scale,
467
+ isCursorPointer: gt.value,
468
+ onToggleFullscreen: Mt,
469
+ onGeneratePdf: w(St),
470
+ onGenerateImage: Bt,
471
+ onGenerateSvg: zt,
472
+ onToggleAnnotator: Nt,
473
+ onCopyAlt: Vt,
474
+ style: Ee({ visibility: w(xt) ? w(z) ? "visible" : "hidden" : "visible" })
475
+ }, Ce({ _: 2 }, [
476
+ e.$slots.menuIcon ? {
477
+ name: "menuIcon",
478
+ fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", y(_({
479
+ isOpen: t,
480
+ color: n
481
+ })), void 0, !0)]),
482
+ key: "0"
483
+ } : void 0,
484
+ e.$slots.optionPdf ? {
485
+ name: "optionPdf",
486
+ fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
487
+ key: "1"
488
+ } : void 0,
489
+ e.$slots.optionImg ? {
490
+ name: "optionImg",
491
+ fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
492
+ key: "2"
493
+ } : void 0,
494
+ e.$slots.optionSvg ? {
495
+ name: "optionSvg",
496
+ fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
497
+ key: "3"
498
+ } : void 0,
499
+ e.$slots.optionFullscreen ? {
500
+ name: "optionFullscreen",
501
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", y(_({
502
+ toggleFullscreen: t,
503
+ isFullscreen: n
504
+ })), void 0, !0)]),
505
+ key: "4"
506
+ } : void 0,
507
+ e.$slots.optionAnnotator ? {
508
+ name: "optionAnnotator",
509
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", y(_({
510
+ toggleAnnotator: t,
511
+ isAnnotator: n
512
+ })), void 0, !0)]),
513
+ key: "5"
514
+ } : void 0,
515
+ e.$slots.optionAltCopy ? {
516
+ name: "optionAltCopy",
517
+ fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
518
+ key: "6"
519
+ } : void 0,
520
+ e.$slots["custom-menu-before"] ? {
521
+ name: "custom-menu-before",
522
+ fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
523
+ key: "7"
524
+ } : void 0,
525
+ e.$slots["custom-menu-after"] ? {
526
+ name: "custom-menu-after",
527
+ fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
528
+ key: "8"
529
+ } : void 0
530
+ ]), 1032, [
531
+ "backgroundColor",
532
+ "color",
533
+ "isImaging",
534
+ "isPrinting",
535
+ "uid",
536
+ "hasPdf",
537
+ "hasImg",
538
+ "hasSvg",
539
+ "hasFullscreen",
540
+ "hasAltCopy",
541
+ "isFullscreen",
542
+ "titles",
543
+ "chartElement",
544
+ "position",
545
+ "hasAnnotator",
546
+ "isAnnotation",
547
+ "callbacks",
548
+ "printScale",
549
+ "isCursorPointer",
550
+ "onGeneratePdf",
551
+ "style"
552
+ ])) : p("", !0),
553
+ (b(), m("svg", {
554
+ ref_key: "svgRef",
555
+ ref: B,
556
+ xmlns: w(ie),
557
+ class: v({
558
+ "vue-data-ui-fullscreen--on": Z.value,
559
+ "vue-data-ui-fulscreen--off": !Z.value
560
+ }),
561
+ width: "100%",
562
+ viewBox: `0 0 ${Y.value.width} ${Y.value.height}`,
563
+ style: "background:transparent",
564
+ "aria-labelledby": Ht.value,
565
+ "aria-describedby": Ut.value
566
+ }, [
567
+ h("title", { id: Ht.value }, C(Gt.value), 9, Ie),
568
+ h("desc", { id: Ut.value }, C(Kt.value), 9, Le),
569
+ we(w(E)),
570
+ e.$slots["chart-background"] ? (b(), m("foreignObject", {
571
+ key: 0,
572
+ x: 0,
573
+ y: 0,
574
+ width: Y.value.width,
575
+ height: Y.value.height,
576
+ style: { pointerEvents: "none" }
577
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Re)) : p("", !0),
578
+ h("defs", null, [h("clipPath", {
579
+ id: `vueUiPill-${O.value}`,
580
+ clipPathUnits: "userSpaceOnUse"
581
+ }, [h("rect", {
582
+ x: Y.value.left,
583
+ y: Y.value.top,
584
+ width: Y.value.thermoWidth,
585
+ height: Y.value.thermoHeight,
586
+ rx: Y.value.thermoWidth / 2,
587
+ ry: Y.value.thermoWidth / 2
588
+ }, null, 8, Be)], 8, ze), (b(!0), m(u, null, Oe(jt.value, (e, t) => (b(), f(_e, {
589
+ t: "linear",
590
+ id: `vueUiThermometerGradient_${t}_${O.value}`,
591
+ key: `t_${t}_${O.value}`,
592
+ x1: "0%",
593
+ y1: "0%",
594
+ x2: "100%",
595
+ y2: "0%",
596
+ stops: [
597
+ [
598
+ "0%",
599
+ e.color,
600
+ 1
601
+ ],
602
+ [
603
+ "50%",
604
+ w(ae)(e.color, 100 - P.value.style.chart.graduations.gradient.intensity),
605
+ 1
606
+ ],
607
+ [
608
+ "100%",
609
+ e.color,
610
+ 1
611
+ ]
612
+ ]
613
+ }, null, 8, ["id", "stops"]))), 128))]),
614
+ h("g", { "clip-path": `url(#vueUiPill-${O.value})` }, [
615
+ h("rect", {
616
+ x: Y.value.left,
617
+ y: Y.value.top,
618
+ height: Y.value.thermoHeight,
619
+ width: Y.value.thermoWidth,
620
+ fill: "#FFFFFF"
621
+ }, null, 8, He),
622
+ (b(!0), m(u, null, Oe(jt.value, (e, t) => (b(), m("g", { key: `graduation_${t}` }, [
623
+ h("rect", {
624
+ x: e.x,
625
+ y: e.y,
626
+ height: e.height,
627
+ width: Y.value.thermoWidth,
628
+ fill: P.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${O.value})` : e.color,
629
+ "shape-rendering": "crispEdges"
630
+ }, null, 8, Ue),
631
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
632
+ key: 0,
633
+ x1: e.x,
634
+ x2: e.x + 10,
635
+ y1: e.y,
636
+ y2: e.y,
637
+ "stroke-width": P.value.style.chart.graduations.strokeWidth,
638
+ stroke: P.value.style.chart.graduations.stroke,
639
+ "stroke-linecap": "round"
640
+ }, null, 8, We)) : p("", !0),
641
+ P.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 1 }, [
642
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
643
+ key: 0,
644
+ x1: e.x,
645
+ x2: e.x + 5,
646
+ y1: e.halfY,
647
+ y2: e.halfY,
648
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
649
+ stroke: P.value.style.chart.graduations.stroke,
650
+ "stroke-linecap": "round"
651
+ }, null, 8, Ge)) : p("", !0),
652
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
653
+ key: 1,
654
+ x1: e.x,
655
+ x2: e.x + 2.5,
656
+ y1: e.qYLess,
657
+ y2: e.qYLess,
658
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
659
+ stroke: P.value.style.chart.graduations.stroke,
660
+ "stroke-linecap": "round"
661
+ }, null, 8, Ke)) : p("", !0),
662
+ P.value.style.chart.graduations.show && ["both", "left"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
663
+ key: 2,
664
+ x1: e.x,
665
+ x2: e.x + 2.5,
666
+ y1: e.qYMore,
667
+ y2: e.qYMore,
668
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
669
+ stroke: P.value.style.chart.graduations.stroke,
670
+ "stroke-linecap": "round"
671
+ }, null, 8, qe)) : p("", !0)
672
+ ], 64)) : p("", !0),
673
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
674
+ key: 2,
675
+ x1: Y.value.right,
676
+ x2: Y.value.right - 10,
677
+ y1: e.y,
678
+ y2: e.y,
679
+ "stroke-width": P.value.style.chart.graduations.strokeWidth,
680
+ stroke: P.value.style.chart.graduations.stroke,
681
+ "stroke-linecap": "round"
682
+ }, null, 8, Je)) : p("", !0),
683
+ P.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 3 }, [
684
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
685
+ key: 0,
686
+ x1: Y.value.right,
687
+ x2: Y.value.right - 5,
688
+ y1: e.halfY,
689
+ y2: e.halfY,
690
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
691
+ stroke: P.value.style.chart.graduations.stroke,
692
+ "stroke-linecap": "round"
693
+ }, null, 8, Ye)) : p("", !0),
694
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
695
+ key: 1,
696
+ x1: Y.value.right,
697
+ x2: Y.value.right - 2.5,
698
+ y1: e.qYLess,
699
+ y2: e.qYLess,
700
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
701
+ stroke: P.value.style.chart.graduations.stroke,
702
+ "stroke-linecap": "round"
703
+ }, null, 8, Xe)) : p("", !0),
704
+ P.value.style.chart.graduations.show && ["both", "right"].includes(P.value.style.chart.graduations.sides) ? (b(), m("line", {
705
+ key: 2,
706
+ x1: Y.value.right,
707
+ x2: Y.value.right - 2.5,
708
+ y1: e.qYMore,
709
+ y2: e.qYMore,
710
+ "stroke-width": P.value.style.chart.graduations.strokeWidth / 2,
711
+ stroke: P.value.style.chart.graduations.stroke,
712
+ "stroke-linecap": "round"
713
+ }, null, 8, Ze)) : p("", !0)
714
+ ], 64)) : p("", !0)
715
+ ]))), 128)),
716
+ h("rect", {
717
+ class: v({ "vue-ui-thermometer-temperature": P.value.style.chart.animation.use }),
718
+ x: Y.value.left,
719
+ y: Y.value.top,
720
+ height: X.value,
721
+ width: Y.value.thermoWidth,
722
+ fill: "#FFFFFF66"
723
+ }, null, 10, Qe)
724
+ ], 8, Ve),
725
+ P.value.style.chart.label.show ? (b(), m("g", {
726
+ key: 1,
727
+ role: "status",
728
+ "aria-live": "polite",
729
+ "aria-label": w(L) ? "Loading data" : Wt.value
730
+ }, [w(L) ? (b(), m("rect", {
731
+ key: 0,
732
+ x: Y.value.left - 60,
733
+ y: X.value + Y.value.top - $.value / 2,
734
+ width: 50,
735
+ height: $.value,
736
+ fill: "#6A6A6A40",
737
+ rx: "3"
738
+ }, null, 8, et)) : (b(), m("text", {
739
+ key: 1,
740
+ "aria-hidden": "true",
741
+ class: v({
742
+ "vue-ui-thermometer-temperature-value": P.value.style.chart.animation.use,
743
+ "vue-ui-thermometer-label": !0
744
+ }),
745
+ y: X.value + Y.value.top + $.value / 3,
746
+ x: Y.value.left - 10,
747
+ "text-anchor": "end",
748
+ fill: P.value.style.chart.label.color,
749
+ "font-size": $.value,
750
+ "font-weight": P.value.style.chart.label.bold ? "bold" : "normal"
751
+ }, C(Wt.value), 11, tt))], 8, $e)) : p("", !0),
752
+ S(e.$slots, "svg", { svg: {
753
+ ...Et.value,
754
+ isPrintingImg: w(H) || w(U) || M.value,
755
+ isPrintingSvg: N.value
756
+ } }, void 0, !0)
757
+ ], 10, Fe)),
758
+ e.$slots.watermark ? (b(), m("div", nt, [S(e.$slots, "watermark", y(_({ isPrinting: w(H) || w(U) || M.value || N.value })), void 0, !0)])) : p("", !0),
759
+ e.$slots.source ? (b(), m("div", {
760
+ key: 5,
761
+ ref_key: "source",
762
+ ref: pt,
763
+ dir: "auto"
764
+ }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
765
+ S(e.$slots, "skeleton", {}, () => [w(L) ? (b(), f(le, { key: 0 })) : p("", !0)], !0)
766
+ ], 46, Ne));
767
+ }
768
+ }, [["__scopeId", "data-v-b5f93e40"]]);
769
+ //#endregion
770
+ export { Me as n, E as t };