vue-data-ui 3.26.4 → 3.27.0

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 (200) hide show
  1. package/dist/{Arrow-BW_Fs3gD.js → Arrow-DKO1l8oR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BniZj4c8.js → BaseDraggableDialog-C50TEJFv.js} +2 -2
  3. package/dist/{BaseIcon-CPBlYfWq.js → BaseIcon-Cx9FD751.js} +1 -1
  4. package/dist/{BaseLegendToggle-CWtURpCj.js → BaseLegendToggle-CP3sddwv.js} +1 -1
  5. package/dist/{BaseZoomControls-jfXIQvEi.js → BaseZoomControls-vNi8YykO.js} +2 -2
  6. package/dist/{ColorPicker-BKndMOAm.js → ColorPicker-hmC2bvwS.js} +2 -2
  7. package/dist/{DataTable-DV4Plrm3.js → DataTable-CjF_An2h.js} +2 -2
  8. package/dist/{HillActions-B45z2DmP.js → HillActions-DqqGB33u.js} +1 -1
  9. package/dist/{Legend-CJzCVAWl.js → Legend-CulFgjUY.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-B3I_UGDm.js → NonSvgPenAndPaper-BK1v_MfW.js} +3 -3
  11. package/dist/{PackageVersion-DEAYvEjl.js → PackageVersion-D7H9nfK0.js} +1 -1
  12. package/dist/{PenAndPaper-Dv8WPVwA.js → PenAndPaper-CNiuGw6k.js} +3 -3
  13. package/dist/{Shape-BIe6C0HJ.js → Shape-DSwamtmO.js} +1 -1
  14. package/dist/{SlicerPreview-8atniw0P.js → SlicerPreview-k5YerMA9.js} +12 -12
  15. package/dist/{SparkTooltip-DsGcGbm2.js → SparkTooltip-D35KVv6N.js} +6 -6
  16. package/dist/{Title-B4UpMerH.js → Title-BMCuINbv.js} +1 -1
  17. package/dist/{Tooltip-BmfGHn1L.js → Tooltip-C4ZTwkLF.js} +1 -1
  18. package/dist/{UserOptions-C92R4ACT.js → UserOptions-CORYQiif.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.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-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BL08UcHI.js → dom-to-png-CBusMkua.js} +1 -1
  91. package/dist/{exposedLib-CBUiJ5b-.js → exposedLib-UNxZlnAS.js} +10 -10
  92. package/dist/{img--C0otIB0.js → img-Bb5rHcpO.js} +1 -1
  93. package/dist/{labelUtils-CfQIxXGL.js → labelUtils-Ccn9kK7T.js} +1 -1
  94. package/dist/{lib-DTiqmM1G.js → lib-D4wK6ljP.js} +130 -136
  95. package/dist/{package-Dj6ohGVJ.js → package-DmQufM0G.js} +1 -1
  96. package/dist/{pdf-CbSwKZjC.js → pdf-BzIQHx-F.js} +1 -1
  97. package/dist/{render-common-vuBsglf8.js → render-common-BtfjXdkJ.js} +10 -10
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +212 -60
  103. package/dist/types/vue-ui-stackbar.d.ts +10 -0
  104. package/dist/{useConfig-DObkR9Aa.js → useConfig-D_6ZrPMD.js} +82 -0
  105. package/dist/{useNestedProp-D8cRQaVo.js → useNestedProp-DR_8JPol.js} +1 -1
  106. package/dist/{useObjectBindings-CPmyIJxB.js → useObjectBindings-DvasYMGu.js} +2 -2
  107. package/dist/{usePrinter-R2nu9g4B.js → usePrinter-DdW2GSm0.js} +2 -2
  108. package/dist/utils.js +10 -10
  109. package/dist/{vue-data-ui-CijFk00w.js → vue-data-ui-Df7WV80w.js} +70 -70
  110. package/dist/vue-data-ui.js +75 -75
  111. package/dist/{vue-ui-3d-bar-BxmndVBz.js → vue-ui-3d-bar-CJjNPwhG.js} +463 -463
  112. package/dist/{vue-ui-accordion-CxMo-mXC.js → vue-ui-accordion-CaoNWreI.js} +4 -4
  113. package/dist/{vue-ui-age-pyramid-ysX_ySuK.js → vue-ui-age-pyramid-BYcM0uIP.js} +22 -22
  114. package/dist/{vue-ui-annotator-IAqTX-5M.js → vue-ui-annotator-BmqjDjRF.js} +10 -10
  115. package/dist/{vue-ui-bullet-rO5_pB7t.js → vue-ui-bullet-DBOAvpBB.js} +18 -18
  116. package/dist/vue-ui-bump-rPYwDJ4o.js +1242 -0
  117. package/dist/{vue-ui-candlestick-BLxP54W4.js → vue-ui-candlestick-WQHIQNv_.js} +625 -625
  118. package/dist/{vue-ui-carousel-table-DHbt40ze.js → vue-ui-carousel-table-Dojcvt49.js} +106 -106
  119. package/dist/{vue-ui-chestnut-CHHZx5ek.js → vue-ui-chestnut-BdhEByUf.js} +65 -65
  120. package/dist/{vue-ui-chord-WmqFMK4A.js → vue-ui-chord-MF4xF5az.js} +46 -46
  121. package/dist/{vue-ui-circle-pack-D2RXFToP.js → vue-ui-circle-pack-BwDim7G8.js} +26 -26
  122. package/dist/{vue-ui-cursor-CDf6s7AZ.js → vue-ui-cursor-w_5cbpSb.js} +61 -61
  123. package/dist/{vue-ui-dag-Ba3Bkxd7.js → vue-ui-dag-D2EUqeDN.js} +65 -65
  124. package/dist/{vue-ui-dashboard-DKCEm56d.js → vue-ui-dashboard-BLnVXosj.js} +70 -70
  125. package/dist/{vue-ui-digits-B6cSEytP.js → vue-ui-digits-zSqwYWHm.js} +4 -4
  126. package/dist/{vue-ui-donut-BfAlXtvS.js → vue-ui-donut-ZYZfqIhi.js} +117 -117
  127. package/dist/{vue-ui-donut-evolution-C2TYUKag.js → vue-ui-donut-evolution-DtLbWi3h.js} +216 -216
  128. package/dist/vue-ui-donut-nLDLZwig.js +2427 -0
  129. package/dist/{vue-ui-dumbbell-GMQ4JZf_.js → vue-ui-dumbbell-Qgn3wRyI.js} +20 -20
  130. package/dist/{vue-ui-flow-B53jXaVQ.js → vue-ui-flow-iSH6dyGw.js} +109 -109
  131. package/dist/vue-ui-funnel-Cc2z2zS5.js +749 -0
  132. package/dist/{vue-ui-galaxy-CE7LYi8M.js → vue-ui-galaxy-GhuBSU0o.js} +267 -267
  133. package/dist/vue-ui-gauge-BAjBO13a.js +934 -0
  134. package/dist/{vue-ui-geo-B4a2hwYf.js → vue-ui-geo-mwTtvIHY.js} +19 -19
  135. package/dist/{vue-ui-gizmo-CY4cLNcJ.js → vue-ui-gizmo-B5vOOrZX.js} +4 -4
  136. package/dist/vue-ui-heatmap-fimkY1nN.js +1613 -0
  137. package/dist/{vue-ui-hill-CTPzgkCs.js → vue-ui-hill-DPfTt3UE.js} +18 -18
  138. package/dist/{vue-ui-history-plot-CGFijdmp.js → vue-ui-history-plot-B1WgzqTb.js} +53 -53
  139. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +1723 -0
  140. package/dist/{vue-ui-kpi-Bu2OpF5d.js → vue-ui-kpi-D-p0CSQh.js} +4 -4
  141. package/dist/{vue-ui-label-CWFQzKOy.js → vue-ui-label-r3-QloJL.js} +65 -65
  142. package/dist/{vue-ui-mini-loader-hdh8SSxW.js → vue-ui-mini-loader-CnrBGAtM.js} +3 -3
  143. package/dist/vue-ui-molecule-BhdAYX_H.js +941 -0
  144. package/dist/vue-ui-mood-radar-CdlnPrQf.js +1111 -0
  145. package/dist/{vue-ui-nested-donuts-DN2PgxeK.js → vue-ui-nested-donuts-DceVEyUc.js} +341 -341
  146. package/dist/{vue-ui-onion-lrDciRpg.js → vue-ui-onion-_L0uEATI.js} +209 -209
  147. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +1444 -0
  148. package/dist/{vue-ui-quadrant-DrcflMPg.js → vue-ui-quadrant-CDDFLRcX.js} +55 -55
  149. package/dist/{vue-ui-quick-chart-D5ZFV0Aj.js → vue-ui-quick-chart-Dom257hl.js} +377 -377
  150. package/dist/vue-ui-radar-BLdri1bA.js +1386 -0
  151. package/dist/{vue-ui-rating-DxBJXbPW.js → vue-ui-rating-C_iTttXB.js} +25 -25
  152. package/dist/vue-ui-relation-circle-BmxTSgjd.js +905 -0
  153. package/dist/vue-ui-ridgeline-CsUrcVmL.js +1630 -0
  154. package/dist/{vue-ui-rings-6OHcBlOC.js → vue-ui-rings-D_GPkgbD.js} +318 -318
  155. package/dist/vue-ui-scatter-D_C-IhnW.js +2418 -0
  156. package/dist/{vue-ui-skeleton--HlS7ySk.js → vue-ui-skeleton-t7e6KEZ2.js} +60 -60
  157. package/dist/{vue-ui-smiley-ZrM6-QCy.js → vue-ui-smiley-Dl95YWVo.js} +14 -14
  158. package/dist/{vue-ui-spark-trend-CIfpocxI.js → vue-ui-spark-trend-pkZA7u5V.js} +20 -20
  159. package/dist/{vue-ui-sparkbar-Db7Ntacd.js → vue-ui-sparkbar-Ds7OJjhG.js} +77 -77
  160. package/dist/{vue-ui-sparkgauge-DEuNFkU_.js → vue-ui-sparkgauge-US1M88qc.js} +6 -6
  161. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +589 -0
  162. package/dist/{vue-ui-sparkline-CSsnkXMJ.js → vue-ui-sparkline-DvE1dHcs.js} +37 -37
  163. package/dist/{vue-ui-sparkstackbar-BnN7KebI.js → vue-ui-sparkstackbar-CWtF9eG-.js} +39 -39
  164. package/dist/vue-ui-stackbar-fMgrHzZe.js +3273 -0
  165. package/dist/{vue-ui-stackline-CqjwxpU1.js → vue-ui-stackline-CSMuUup2.js} +303 -303
  166. package/dist/vue-ui-strip-plot-TGD2UFHS.js +1752 -0
  167. package/dist/{vue-ui-table-CsMozTrM.js → vue-ui-table-BCEIbg8-.js} +14 -14
  168. package/dist/{vue-ui-table-heatmap-DFcESbBy.js → vue-ui-table-heatmap-CvUcFWMf.js} +9 -9
  169. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +738 -0
  170. package/dist/vue-ui-thermometer-BYFAZCzh.js +758 -0
  171. package/dist/{vue-ui-timer-CFxvU_q1.js → vue-ui-timer-BKr8RVnn.js} +10 -10
  172. package/dist/{vue-ui-tiremarks-DIjsyNwO.js → vue-ui-tiremarks-BYu3cEoy.js} +35 -35
  173. package/dist/{vue-ui-treemap-BuvFUWJm.js → vue-ui-treemap-BR3rX5_L.js} +50 -50
  174. package/dist/{vue-ui-waffle-B8Knvp7m.js → vue-ui-waffle-mP8g5aQk.js} +275 -275
  175. package/dist/{vue-ui-wheel-2_4BOo6P.js → vue-ui-wheel-CZsSO2R6.js} +187 -187
  176. package/dist/{vue-ui-word-cloud-BEgmAfj1.js → vue-ui-word-cloud-CJ30onqy.js} +35 -35
  177. package/dist/{vue-ui-world-D4WMHq7E.js → vue-ui-world-BZ09DOiF.js} +498 -498
  178. package/dist/{vue-ui-xy-DBLJ8Uhc.js → vue-ui-xy-C3h54loZ.js} +405 -405
  179. package/dist/{vue-ui-xy-canvas-Dv0pk4Wd.js → vue-ui-xy-canvas-BwgK8drp.js} +165 -165
  180. package/dist/{vue-ui-xy-DGIz4MDV.js → vue-ui-xy-jemv5dsf.js} +288 -288
  181. package/dist/{vue_ui_stackbar-DdjDL6aq.js → vue_ui_stackbar-yQyvT4Su.js} +46 -0
  182. package/package.json +1 -1
  183. package/dist/vue-ui-bump-BIyTRpqJ.js +0 -1242
  184. package/dist/vue-ui-donut-DMISY-E8.js +0 -2427
  185. package/dist/vue-ui-funnel-eVH871L3.js +0 -749
  186. package/dist/vue-ui-gauge-D_jNBHjA.js +0 -934
  187. package/dist/vue-ui-heatmap-DW7bo_Um.js +0 -1613
  188. package/dist/vue-ui-horizontal-bar-vPeWNfxO.js +0 -1723
  189. package/dist/vue-ui-molecule-ejjPjG63.js +0 -941
  190. package/dist/vue-ui-mood-radar-pqMAcUWm.js +0 -1111
  191. package/dist/vue-ui-parallel-coordinate-plot-McES6sLT.js +0 -1444
  192. package/dist/vue-ui-radar-DZPVV9cU.js +0 -1386
  193. package/dist/vue-ui-relation-circle-BtESVsB0.js +0 -905
  194. package/dist/vue-ui-ridgeline-CSLuDJWq.js +0 -1630
  195. package/dist/vue-ui-scatter-CKJ87fhp.js +0 -2418
  196. package/dist/vue-ui-sparkhistogram-CQTwLaZi.js +0 -589
  197. package/dist/vue-ui-stackbar-CISQXhoK.js +0 -2660
  198. package/dist/vue-ui-strip-plot-CRZDCNc1.js +0 -1752
  199. package/dist/vue-ui-table-sparkline-CwsrD7te.js +0 -738
  200. package/dist/vue-ui-thermometer-_zSQM0Nk.js +0 -758
@@ -0,0 +1,758 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { $ as t, Ht as n, Jt as r, S as i, X as a, at as ee, b as o, en as te, i as ne, nn as re, t as ie, w as ae, yt as oe, zt as se } from "./lib-D4wK6ljP.js";
3
+ import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ue } from "./useConfig-D_6ZrPMD.js";
5
+ import { t as de } from "./usePrinter-DdW2GSm0.js";
6
+ import { n as fe, t as pe } from "./BaseScanner-Dzc8VT3j.js";
7
+ import { t as s } from "./useNestedProp-DR_8JPol.js";
8
+ import { t as me } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as he } from "./useChartExport-iwOqiIWX.js";
10
+ import { t as ge } from "./img-Bb5rHcpO.js";
11
+ import { n as _e } from "./Title-BMCuINbv.js";
12
+ import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as xe } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as we } from "./usePrefersMotion-BC-CsqR1.js";
18
+ import { t as Te } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
19
+ import { t as Ee } from "./vue_ui_thermometer-DxgqWKlE.js";
20
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as De, createVNode as Oe, defineAsyncComponent as m, guardReactiveProps as h, normalizeClass as g, normalizeProps as _, normalizeStyle as ke, onMounted as Ae, openBlock as v, ref as y, renderList as je, renderSlot as b, toDisplayString as x, toRefs as Me, unref as S, useCssVars as Ne, watch as Pe, withCtx as C } from "vue";
21
+ //#region src/components/vue-ui-thermometer.vue
22
+ var Fe = /* @__PURE__ */ e({ default: () => w }), Ie = ["id"], Le = {
23
+ key: 1,
24
+ ref: "noTitle",
25
+ class: "vue-data-ui-no-title-space",
26
+ style: "height:36px; width: 100%;background:transparent"
27
+ }, Re = [
28
+ "xmlns",
29
+ "viewBox",
30
+ "aria-labelledby",
31
+ "aria-describedby"
32
+ ], ze = ["id"], Be = ["id"], Ve = ["width", "height"], He = ["id"], Ue = [
33
+ "x",
34
+ "y",
35
+ "width",
36
+ "height",
37
+ "rx",
38
+ "ry"
39
+ ], We = ["clip-path"], Ge = [
40
+ "x",
41
+ "y",
42
+ "height",
43
+ "width"
44
+ ], Ke = [
45
+ "x",
46
+ "y",
47
+ "height",
48
+ "width",
49
+ "fill"
50
+ ], qe = [
51
+ "x1",
52
+ "x2",
53
+ "y1",
54
+ "y2",
55
+ "stroke-width",
56
+ "stroke"
57
+ ], Je = [
58
+ "x1",
59
+ "x2",
60
+ "y1",
61
+ "y2",
62
+ "stroke-width",
63
+ "stroke"
64
+ ], Ye = [
65
+ "x1",
66
+ "x2",
67
+ "y1",
68
+ "y2",
69
+ "stroke-width",
70
+ "stroke"
71
+ ], Xe = [
72
+ "x1",
73
+ "x2",
74
+ "y1",
75
+ "y2",
76
+ "stroke-width",
77
+ "stroke"
78
+ ], Ze = [
79
+ "x1",
80
+ "x2",
81
+ "y1",
82
+ "y2",
83
+ "stroke-width",
84
+ "stroke"
85
+ ], Qe = [
86
+ "x1",
87
+ "x2",
88
+ "y1",
89
+ "y2",
90
+ "stroke-width",
91
+ "stroke"
92
+ ], $e = [
93
+ "x1",
94
+ "x2",
95
+ "y1",
96
+ "y2",
97
+ "stroke-width",
98
+ "stroke"
99
+ ], et = [
100
+ "x1",
101
+ "x2",
102
+ "y1",
103
+ "y2",
104
+ "stroke-width",
105
+ "stroke"
106
+ ], tt = [
107
+ "x",
108
+ "y",
109
+ "height",
110
+ "width"
111
+ ], nt = ["aria-label"], rt = [
112
+ "x",
113
+ "y",
114
+ "height"
115
+ ], it = [
116
+ "y",
117
+ "x",
118
+ "fill",
119
+ "font-size",
120
+ "font-weight"
121
+ ], at = {
122
+ key: 4,
123
+ class: "vue-data-ui-watermark"
124
+ }, w = /*#__PURE__*/ ve({
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: ve, emit: Fe }) {
142
+ Ne((e) => ({
143
+ v48e818f7: Mt.value,
144
+ v7e86e312: jt.value,
145
+ v7e395524: At.value
146
+ }));
147
+ let w = m(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), ot = m(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), st = m(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), { vue_ui_thermometer: ct } = ue(), { isThemeValid: lt, warnInvalidTheme: ut } = me(), dt = we(), T = e, ft = Fe, E = y(a()), D = y(null), pt = y(0), mt = y(0), ht = y(null), gt = y(null), O = y(null), k = y(null), _t = l(() => !!T.dataset && Object.keys(T.dataset).length);
148
+ Ae(() => {
149
+ St();
150
+ });
151
+ let A = y(B()), j = l(() => A.value.userOptions), M = l(() => A.value.style.chart.graduations), N = l(() => A.value.style.chart);
152
+ ce({
153
+ config: () => A.value,
154
+ dataset: () => T.dataset,
155
+ component: "VueUiThermometer",
156
+ rules: [le.noHint]
157
+ });
158
+ let vt = y(N.value.thermometer.width), P = y(N.value.height), F = y(N.value.width), yt = l(() => A.value.userOptions.useCursorPointer), bt = l(() => re({
159
+ defaultConfig: {
160
+ userOptions: { show: !1 },
161
+ style: { chart: {
162
+ animation: { use: !1 },
163
+ backgroundColor: "#99999930",
164
+ graduations: { stroke: "#6A6A6A" }
165
+ } }
166
+ },
167
+ userConfig: A.value.skeletonConfig ?? {}
168
+ })), { loading: I, FINAL_DATASET: L } = fe({
169
+ ...Me(T),
170
+ FINAL_CONFIG: A,
171
+ prepareConfig: B,
172
+ skeletonDataset: T.config?.skeletonDataset ?? {
173
+ value: 0,
174
+ from: -100,
175
+ to: 100,
176
+ steps: 20,
177
+ colors: {
178
+ from: "#A1A1A1",
179
+ to: "#CACACA"
180
+ }
181
+ },
182
+ skeletonConfig: re({
183
+ defaultConfig: A.value,
184
+ userConfig: bt.value
185
+ })
186
+ }), xt = l(() => A.value.debug);
187
+ function St() {
188
+ if (se(T.dataset) ? ee({
189
+ componentName: "VueUiThermometer",
190
+ type: "dataset",
191
+ debug: xt.value
192
+ }) : oe({
193
+ datasetObject: T.dataset,
194
+ requiredAttributes: [
195
+ "value",
196
+ "from",
197
+ "to"
198
+ ]
199
+ }).forEach((e) => {
200
+ ee({
201
+ componentName: "VueUiThermometer",
202
+ type: "datasetAttribute",
203
+ property: e,
204
+ debug: xt.value
205
+ });
206
+ }), A.value.responsive) {
207
+ let e = ye(() => {
208
+ let { width: e, height: t } = be({
209
+ chart: D.value,
210
+ title: A.value.style.title.text ? ht.value : null,
211
+ source: gt.value
212
+ });
213
+ requestAnimationFrame(() => {
214
+ P.value = Math.max(.1, t - 12), F.value = e, Lt();
215
+ });
216
+ });
217
+ O.value && (k.value && O.value.unobserve(k.value), O.value.disconnect()), O.value = new ResizeObserver(e), k.value = D.value, O.value.observe(k.value);
218
+ }
219
+ Lt();
220
+ }
221
+ let { userOptionsVisible: R, setUserOptionsVisibility: Ct, keepUserOptionState: wt } = Se({ config: A.value }), { svgRef: z } = Ce({ config: A.value.style.title });
222
+ function B() {
223
+ let e = s({
224
+ userConfig: T.config,
225
+ defaultConfig: ct
226
+ }), t = e.theme;
227
+ if (!t) return e;
228
+ if (!lt.value(e)) return ut(e), e;
229
+ let r = s({
230
+ userConfig: Ee[t] || T.config,
231
+ defaultConfig: e
232
+ }), i = s({
233
+ userConfig: T.config,
234
+ defaultConfig: r
235
+ });
236
+ return {
237
+ ...i,
238
+ customPalette: i.customPalette.length ? i.customPalette : te[t] || n
239
+ };
240
+ }
241
+ Pe(() => T.config, (e) => {
242
+ A.value = B(), R.value = !A.value.userOptions.showOnChartHover, vt.value = N.value.thermometer.width, P.value = N.value.height, F.value = N.value.width, St(), mt.value += 1;
243
+ }, { deep: !0 });
244
+ let { isPrinting: V, isImaging: H, generatePdf: Tt, generateImage: Et } = de({
245
+ elementId: `thermometer__${E.value}`,
246
+ fileName: A.value.style.title.text || "vue-ui-thermometer",
247
+ options: A.value.userOptions.print
248
+ }), Dt = l(() => A.value.userOptions.show && !A.value.style.title.text), U = l(() => ae(A.value.customPalette)), W = l(() => L.value.steps || 10);
249
+ function G(e, t, n) {
250
+ let r = [], i = Ot(e), a = Ot(t);
251
+ for (let e = 0; e < n; e += 1) {
252
+ let t = K(i.red, a.red, e, n), ee = K(i.green, a.green, e, n), o = K(i.blue, a.blue, e, n), te = `#${q(t)}${q(ee)}${q(o)}`;
253
+ r.push(te);
254
+ }
255
+ return r;
256
+ }
257
+ function Ot(e) {
258
+ let t = e.slice(1);
259
+ return {
260
+ red: parseInt(t.slice(0, 2), 16),
261
+ green: parseInt(t.slice(2, 4), 16),
262
+ blue: parseInt(t.slice(4, 6), 16)
263
+ };
264
+ }
265
+ function K(e, t, n, r) {
266
+ return Math.round(e + (t - e) * n / r);
267
+ }
268
+ function q(e) {
269
+ return e.toString(16).padStart(2, "0");
270
+ }
271
+ let J = l(() => {
272
+ let e = Math.max(.1, F.value), t = Math.max(.1, P.value), n = N.value.padding;
273
+ return {
274
+ width: e,
275
+ left: e / 2 - N.value.thermometer.width / 2,
276
+ right: e / 2 + N.value.thermometer.width / 2,
277
+ top: n.top,
278
+ bottom: t - n.bottom - n.top,
279
+ height: t,
280
+ thermoHeight: t - n.top - n.bottom,
281
+ thermoWidth: N.value.thermometer.width
282
+ };
283
+ }), kt = l(() => J.value), Y = l(() => {
284
+ let e = o(L.value.from) < 0 ? Math.abs(o(L.value.from)) : o(L.value.from), t = o(L.value.to) < 0 ? Math.abs(o(L.value.to)) : o(L.value.to), n = 0;
285
+ return n = o(L.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(o(L.value.from)) + o(L.value.value)) / n) * J.value.thermoHeight;
286
+ }), At = l(() => `${Y.value}px`), jt = l(() => `${J.value.thermoHeight}px`), Mt = l(() => dt.value ? "0ms" : `${N.value.animation.speedMs}ms`), Nt = l(() => {
287
+ if (L.value.colors) {
288
+ if (!L.value.colors.from) return G(U.value[0] || n[0], i(L.value.colors.to), W.value || 10);
289
+ if (!L.value.colors.to) return G(i(L.value.colors.from), U.value[1] || n[1], W.value || 10);
290
+ } else return G(U.value[1] || n[1], U.value[0] || n[0], W.value || 10);
291
+ return G(i(L.value.colors.from), i(L.value.colors.to), W.value || 10);
292
+ }), Pt = l(() => {
293
+ let e = [], t = 0, n = J.value.thermoHeight;
294
+ for (let r = 0; r < n - 1; r += n / W.value) e.push({
295
+ x: J.value.left,
296
+ y: J.value.top + r,
297
+ qYLess: J.value.top + r + n / W.value / 4,
298
+ halfY: J.value.top + r + n / W.value / 2,
299
+ qYMore: J.value.top + r + n / W.value / 4 * 3,
300
+ color: Nt.value[t],
301
+ height: Math.max(.1, n / W.value)
302
+ }), t += 1;
303
+ return e;
304
+ }), X = y(!1);
305
+ function Ft(e) {
306
+ X.value = e, pt.value += 1;
307
+ }
308
+ let Z = y(!1);
309
+ function Q() {
310
+ Z.value = !Z.value;
311
+ }
312
+ async function It({ scale: e = 2 } = {}) {
313
+ if (!D.value) return;
314
+ let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
315
+ domElement: D.value,
316
+ base64: !0,
317
+ img: !0,
318
+ scale: e
319
+ });
320
+ return {
321
+ imageUri: i,
322
+ base64: a,
323
+ title: A.value.style.title.text,
324
+ width: t,
325
+ height: n,
326
+ aspectRatio: r
327
+ };
328
+ }
329
+ let $ = l({
330
+ get: () => N.value.label.fontSize,
331
+ set: (e) => e
332
+ }), { autoSizeLabels: Lt } = Te({
333
+ svgRef: z,
334
+ fontSize: N.value.label.fontSize,
335
+ minFontSize: N.value.label.minFontSize,
336
+ sizeRef: $,
337
+ labelClass: ".vue-ui-thermometer-label"
338
+ }), Rt = l(() => N.value.backgroundColor), zt = l(() => A.value.style.title), { isCallbackImaging: Bt, isCallbackSvg: Vt, generateSvg: Ht, onGenerateImage: Ut } = he({
339
+ svg: z,
340
+ title: zt,
341
+ legend: null,
342
+ legendItems: null,
343
+ backgroundColor: Rt,
344
+ getSvgCallback: () => A.value.userOptions.callbacks.svg,
345
+ generateImage: Et
346
+ });
347
+ async function Wt() {
348
+ if (ft("copyAlt", {
349
+ config: A.value,
350
+ dataset: L.value
351
+ }), !A.value.userOptions.callbacks.altCopy) {
352
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
353
+ return;
354
+ }
355
+ await Promise.resolve(A.value.userOptions.callbacks.altCopy({
356
+ config: A.value,
357
+ dataset: L.value
358
+ }));
359
+ }
360
+ let Gt = l(() => `${E.value}-title`), Kt = l(() => `${E.value}-desc`), qt = l(() => ne(N.value.label.formatter, L.value.value, t({
361
+ p: N.value.label.prefix,
362
+ v: L.value.value,
363
+ s: N.value.label.suffix,
364
+ r: N.value.label.rounding
365
+ }), { datapoint: L.value })), Jt = l(() => A.value.style.title.text || ""), Yt = l(() => {
366
+ if (I.value) return "...";
367
+ let e = o(L.value.from), t = o(L.value.to);
368
+ return `Thermometer value: ${qt.value}. Range: ${e} to ${t}.`;
369
+ });
370
+ return ve({
371
+ getImage: It,
372
+ generatePdf: Tt,
373
+ generateImage: Et,
374
+ generateSvg: Ht,
375
+ toggleAnnotator: Q,
376
+ toggleFullscreen: Ft,
377
+ copyAlt: Wt
378
+ }), (e, t) => (v(), f("div", {
379
+ ref_key: "thermoChart",
380
+ ref: D,
381
+ class: g(`vue-data-ui-component vue-ui-thermometer ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
+ style: ke(`width:100%;background:${N.value.backgroundColor};color:${N.value.color};font-family:${A.value.style.fontFamily}`),
383
+ id: `thermometer__${E.value}`,
384
+ onMouseenter: t[0] ||= () => S(Ct)(!0),
385
+ onMouseleave: t[1] ||= () => S(Ct)(!1)
386
+ }, [
387
+ j.value.buttons.annotator ? (v(), u(S(ot), {
388
+ key: 0,
389
+ svgRef: S(z),
390
+ backgroundColor: N.value.backgroundColor,
391
+ color: N.value.color,
392
+ active: Z.value,
393
+ isCursorPointer: yt.value,
394
+ palette: j.value.annotatorPalette,
395
+ onClose: Q
396
+ }, {
397
+ "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
398
+ "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
399
+ "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
400
+ "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
401
+ "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
402
+ "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
403
+ _: 3
404
+ }, 8, [
405
+ "svgRef",
406
+ "backgroundColor",
407
+ "color",
408
+ "active",
409
+ "isCursorPointer",
410
+ "palette"
411
+ ])) : d("", !0),
412
+ Dt.value ? (v(), f("div", Le, null, 512)) : d("", !0),
413
+ A.value.style.title.text ? (v(), f("div", {
414
+ key: 2,
415
+ ref_key: "chartTitle",
416
+ ref: ht,
417
+ style: "width:100%"
418
+ }, [(v(), u(_e, {
419
+ key: `title_${mt.value}`,
420
+ config: {
421
+ title: {
422
+ cy: "thermometer-div-title",
423
+ ...A.value.style.title
424
+ },
425
+ subtitle: {
426
+ cy: "thermometer-div-subtitle",
427
+ ...A.value.style.title.subtitle
428
+ }
429
+ }
430
+ }, null, 8, ["config"]))], 512)) : d("", !0),
431
+ j.value.show && _t.value && (S(wt) || S(R)) ? (v(), u(S(st), {
432
+ ref: "details",
433
+ key: `user_options_${pt.value}`,
434
+ backgroundColor: N.value.backgroundColor,
435
+ color: N.value.color,
436
+ isImaging: S(H),
437
+ isPrinting: S(V),
438
+ uid: E.value,
439
+ hasPdf: j.value.buttons.pdf,
440
+ hasImg: j.value.buttons.img,
441
+ hasSvg: j.value.buttons.svg,
442
+ hasFullscreen: j.value.buttons.fullscreen,
443
+ hasAltCopy: j.value.buttons.altCopy,
444
+ hasXls: !1,
445
+ isFullscreen: X.value,
446
+ titles: { ...j.value.buttonTitles },
447
+ chartElement: D.value,
448
+ position: j.value.position,
449
+ hasAnnotator: j.value.buttons.annotator,
450
+ isAnnotation: Z.value,
451
+ callbacks: j.value.callbacks,
452
+ printScale: j.value.print.scale,
453
+ isCursorPointer: yt.value,
454
+ onToggleFullscreen: Ft,
455
+ onGeneratePdf: S(Tt),
456
+ onGenerateImage: S(Ut),
457
+ onGenerateSvg: S(Ht),
458
+ onToggleAnnotator: Q,
459
+ onCopyAlt: Wt,
460
+ style: ke({ visibility: S(wt) ? S(R) ? "visible" : "hidden" : "visible" })
461
+ }, De({ _: 2 }, [
462
+ e.$slots.menuIcon ? {
463
+ name: "menuIcon",
464
+ fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", _(h({
465
+ isOpen: t,
466
+ color: n
467
+ })), void 0, !0)]),
468
+ key: "0"
469
+ } : void 0,
470
+ e.$slots.optionPdf ? {
471
+ name: "optionPdf",
472
+ fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
473
+ key: "1"
474
+ } : void 0,
475
+ e.$slots.optionImg ? {
476
+ name: "optionImg",
477
+ fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
478
+ key: "2"
479
+ } : void 0,
480
+ e.$slots.optionSvg ? {
481
+ name: "optionSvg",
482
+ fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
483
+ key: "3"
484
+ } : void 0,
485
+ e.$slots.optionFullscreen ? {
486
+ name: "optionFullscreen",
487
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", _(h({
488
+ toggleFullscreen: t,
489
+ isFullscreen: n
490
+ })), void 0, !0)]),
491
+ key: "4"
492
+ } : void 0,
493
+ e.$slots.optionAnnotator ? {
494
+ name: "optionAnnotator",
495
+ fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", _(h({
496
+ toggleAnnotator: t,
497
+ isAnnotator: n
498
+ })), void 0, !0)]),
499
+ key: "5"
500
+ } : void 0,
501
+ e.$slots.optionAltCopy ? {
502
+ name: "optionAltCopy",
503
+ fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
504
+ key: "6"
505
+ } : void 0,
506
+ e.$slots["custom-menu-before"] ? {
507
+ name: "custom-menu-before",
508
+ fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
509
+ key: "7"
510
+ } : void 0,
511
+ e.$slots["custom-menu-after"] ? {
512
+ name: "custom-menu-after",
513
+ fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
514
+ key: "8"
515
+ } : void 0
516
+ ]), 1032, [
517
+ "backgroundColor",
518
+ "color",
519
+ "isImaging",
520
+ "isPrinting",
521
+ "uid",
522
+ "hasPdf",
523
+ "hasImg",
524
+ "hasSvg",
525
+ "hasFullscreen",
526
+ "hasAltCopy",
527
+ "isFullscreen",
528
+ "titles",
529
+ "chartElement",
530
+ "position",
531
+ "hasAnnotator",
532
+ "isAnnotation",
533
+ "callbacks",
534
+ "printScale",
535
+ "isCursorPointer",
536
+ "onGeneratePdf",
537
+ "onGenerateImage",
538
+ "onGenerateSvg",
539
+ "style"
540
+ ])) : d("", !0),
541
+ (v(), f("svg", {
542
+ ref_key: "svgRef",
543
+ ref: z,
544
+ xmlns: S(ie),
545
+ class: g({
546
+ "vue-data-ui-fullscreen--on": X.value,
547
+ "vue-data-ui-fulscreen--off": !X.value
548
+ }),
549
+ width: "100%",
550
+ viewBox: `0 0 ${J.value.width} ${J.value.height}`,
551
+ style: "background:transparent",
552
+ "aria-labelledby": Gt.value,
553
+ "aria-describedby": Kt.value
554
+ }, [
555
+ p("title", { id: Gt.value }, x(Jt.value), 9, ze),
556
+ p("desc", { id: Kt.value }, x(Yt.value), 9, Be),
557
+ Oe(S(w)),
558
+ e.$slots["chart-background"] ? (v(), f("foreignObject", {
559
+ key: 0,
560
+ x: 0,
561
+ y: 0,
562
+ width: J.value.width,
563
+ height: J.value.height,
564
+ style: { pointerEvents: "none" }
565
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, Ve)) : d("", !0),
566
+ p("defs", null, [p("clipPath", {
567
+ id: `vueUiPill-${E.value}`,
568
+ clipPathUnits: "userSpaceOnUse"
569
+ }, [p("rect", {
570
+ x: J.value.left,
571
+ y: J.value.top,
572
+ width: J.value.thermoWidth,
573
+ height: J.value.thermoHeight,
574
+ rx: J.value.thermoWidth / 2,
575
+ ry: J.value.thermoWidth / 2
576
+ }, null, 8, Ue)], 8, He), (v(!0), f(c, null, je(Pt.value, (e, t) => (v(), u(xe, {
577
+ t: "linear",
578
+ id: `vueUiThermometerGradient_${t}_${E.value}`,
579
+ key: `t_${t}_${E.value}`,
580
+ x1: "0%",
581
+ y1: "0%",
582
+ x2: "100%",
583
+ y2: "0%",
584
+ stops: [
585
+ [
586
+ "0%",
587
+ e.color,
588
+ 1
589
+ ],
590
+ [
591
+ "50%",
592
+ S(r)(e.color, 100 - M.value.gradient.intensity),
593
+ 1
594
+ ],
595
+ [
596
+ "100%",
597
+ e.color,
598
+ 1
599
+ ]
600
+ ]
601
+ }, null, 8, ["id", "stops"]))), 128))]),
602
+ p("g", { "clip-path": `url(#vueUiPill-${E.value})` }, [
603
+ p("rect", {
604
+ x: J.value.left,
605
+ y: J.value.top,
606
+ height: J.value.thermoHeight,
607
+ width: J.value.thermoWidth,
608
+ fill: "#FFFFFF"
609
+ }, null, 8, Ge),
610
+ (v(!0), f(c, null, je(Pt.value, (e, t) => (v(), f("g", { key: `graduation_${t}` }, [
611
+ p("rect", {
612
+ x: e.x,
613
+ y: e.y,
614
+ height: e.height,
615
+ width: J.value.thermoWidth,
616
+ fill: M.value.gradient.show ? `url(#vueUiThermometerGradient_${t}_${E.value})` : e.color,
617
+ "shape-rendering": "crispEdges"
618
+ }, null, 8, Ke),
619
+ M.value.show && ["both", "left"].includes(M.value.sides) ? (v(), f("line", {
620
+ key: 0,
621
+ x1: e.x,
622
+ x2: e.x + 10,
623
+ y1: e.y,
624
+ y2: e.y,
625
+ "stroke-width": M.value.strokeWidth,
626
+ stroke: M.value.stroke,
627
+ "stroke-linecap": "round"
628
+ }, null, 8, qe)) : d("", !0),
629
+ M.value.showIntermediate ? (v(), f(c, { key: 1 }, [
630
+ M.value.show && ["both", "left"].includes(M.value.sides) ? (v(), f("line", {
631
+ key: 0,
632
+ x1: e.x,
633
+ x2: e.x + 5,
634
+ y1: e.halfY,
635
+ y2: e.halfY,
636
+ "stroke-width": M.value.strokeWidth / 2,
637
+ stroke: M.value.stroke,
638
+ "stroke-linecap": "round"
639
+ }, null, 8, Je)) : d("", !0),
640
+ M.value.show && ["both", "left"].includes(M.value.sides) ? (v(), f("line", {
641
+ key: 1,
642
+ x1: e.x,
643
+ x2: e.x + 2.5,
644
+ y1: e.qYLess,
645
+ y2: e.qYLess,
646
+ "stroke-width": M.value.strokeWidth / 2,
647
+ stroke: M.value.stroke,
648
+ "stroke-linecap": "round"
649
+ }, null, 8, Ye)) : d("", !0),
650
+ M.value.show && ["both", "left"].includes(M.value.sides) ? (v(), f("line", {
651
+ key: 2,
652
+ x1: e.x,
653
+ x2: e.x + 2.5,
654
+ y1: e.qYMore,
655
+ y2: e.qYMore,
656
+ "stroke-width": M.value.strokeWidth / 2,
657
+ stroke: M.value.stroke,
658
+ "stroke-linecap": "round"
659
+ }, null, 8, Xe)) : d("", !0)
660
+ ], 64)) : d("", !0),
661
+ M.value.show && ["both", "right"].includes(M.value.sides) ? (v(), f("line", {
662
+ key: 2,
663
+ x1: J.value.right,
664
+ x2: J.value.right - 10,
665
+ y1: e.y,
666
+ y2: e.y,
667
+ "stroke-width": M.value.strokeWidth,
668
+ stroke: M.value.stroke,
669
+ "stroke-linecap": "round"
670
+ }, null, 8, Ze)) : d("", !0),
671
+ M.value.showIntermediate ? (v(), f(c, { key: 3 }, [
672
+ M.value.show && ["both", "right"].includes(M.value.sides) ? (v(), f("line", {
673
+ key: 0,
674
+ x1: J.value.right,
675
+ x2: J.value.right - 5,
676
+ y1: e.halfY,
677
+ y2: e.halfY,
678
+ "stroke-width": M.value.strokeWidth / 2,
679
+ stroke: M.value.stroke,
680
+ "stroke-linecap": "round"
681
+ }, null, 8, Qe)) : d("", !0),
682
+ M.value.show && ["both", "right"].includes(M.value.sides) ? (v(), f("line", {
683
+ key: 1,
684
+ x1: J.value.right,
685
+ x2: J.value.right - 2.5,
686
+ y1: e.qYLess,
687
+ y2: e.qYLess,
688
+ "stroke-width": M.value.strokeWidth / 2,
689
+ stroke: M.value.stroke,
690
+ "stroke-linecap": "round"
691
+ }, null, 8, $e)) : d("", !0),
692
+ M.value.show && ["both", "right"].includes(M.value.sides) ? (v(), f("line", {
693
+ key: 2,
694
+ x1: J.value.right,
695
+ x2: J.value.right - 2.5,
696
+ y1: e.qYMore,
697
+ y2: e.qYMore,
698
+ "stroke-width": M.value.strokeWidth / 2,
699
+ stroke: M.value.stroke,
700
+ "stroke-linecap": "round"
701
+ }, null, 8, et)) : d("", !0)
702
+ ], 64)) : d("", !0)
703
+ ]))), 128)),
704
+ p("rect", {
705
+ class: g({ "vue-ui-thermometer-temperature": N.value.animation.use }),
706
+ x: J.value.left,
707
+ y: J.value.top,
708
+ height: Y.value,
709
+ width: J.value.thermoWidth,
710
+ fill: "#FFFFFF66"
711
+ }, null, 10, tt)
712
+ ], 8, We),
713
+ N.value.label.show ? (v(), f("g", {
714
+ key: 1,
715
+ role: "status",
716
+ "aria-live": "polite",
717
+ "aria-label": S(I) ? "Loading data" : qt.value
718
+ }, [S(I) ? (v(), f("rect", {
719
+ key: 0,
720
+ x: J.value.left - 60,
721
+ y: Y.value + J.value.top - $.value / 2,
722
+ width: 50,
723
+ height: $.value,
724
+ fill: "#6A6A6A40",
725
+ rx: "3"
726
+ }, null, 8, rt)) : (v(), f("text", {
727
+ key: 1,
728
+ "aria-hidden": "true",
729
+ class: g({
730
+ "vue-ui-thermometer-temperature-value": N.value.animation.use,
731
+ "vue-ui-thermometer-label": !0
732
+ }),
733
+ y: Y.value + J.value.top + $.value / 3,
734
+ x: J.value.left - 10,
735
+ "text-anchor": "end",
736
+ fill: N.value.label.color,
737
+ "font-size": $.value,
738
+ "font-weight": N.value.label.bold ? "bold" : "normal"
739
+ }, x(qt.value), 11, it))], 8, nt)) : d("", !0),
740
+ b(e.$slots, "svg", { svg: {
741
+ ...kt.value,
742
+ isPrintingImg: S(V) || S(H) || S(Bt),
743
+ isPrintingSvg: S(Vt)
744
+ } }, void 0, !0)
745
+ ], 10, Re)),
746
+ e.$slots.watermark ? (v(), f("div", at, [b(e.$slots, "watermark", _(h({ isPrinting: S(V) || S(H) || S(Bt) || S(Vt) })), void 0, !0)])) : d("", !0),
747
+ e.$slots.source ? (v(), f("div", {
748
+ key: 5,
749
+ ref_key: "source",
750
+ ref: gt,
751
+ dir: "auto"
752
+ }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
753
+ b(e.$slots, "skeleton", {}, () => [S(I) ? (v(), u(pe, { key: 0 })) : d("", !0)], !0)
754
+ ], 46, Ie));
755
+ }
756
+ }, [["__scopeId", "data-v-d16e0f9d"]]);
757
+ //#endregion
758
+ export { Fe as n, w as t };