vue-data-ui 3.23.10 → 3.23.12

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/README.md +40 -40
  2. package/dist/{Arrow-bwmME0jw.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DBVHlhQZ.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-B4n7br_R.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-wRhcG_-q.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZjzzyQo.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker-B9kUMLSz.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-DMsScfkx.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-IWPfuceW.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-DWEFXq9E.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-Crs4-xWz.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-DNTJUKh1.js → PackageVersion-CT8FfP7h.js} +1 -1
  13. package/dist/{PenAndPaper-DJ607Hx6.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-BAhF1ToV.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-sXtk2ZZ2.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-BE50SZQH.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BGLPsoA9.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DO4-MVhc.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-HQyukyl2.js → UserOptions-WH7-49V0.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-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.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-Cg_3vpOo.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-tU9mMt9W.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-C_lMnQRs.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-AT2PUyyh.js → lib-Dqr_-I6Y.js} +165 -162
  95. package/dist/{package-enC-Nivt.js → package-CXgp_UWC.js} +1 -1
  96. package/dist/{pdf-ColHHJFH.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-CqcoYfCA.js → render-common-D9TESN6N.js} +12 -12
  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 +13 -2
  103. package/dist/types/vue-ui-dag.d.ts +2 -0
  104. package/dist/{useNestedProp-CW0vJS1B.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-BFS7d6eb.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DD7J3yor.js → vue-data-ui-BTHfxD0A.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/vue-ui-3d-bar-qYgLQzCk.js +1829 -0
  110. package/dist/{vue-ui-accordion-DJNjilyy.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-DI8b5E2H.js → vue-ui-age-pyramid-DlDqWHMv.js} +27 -27
  112. package/dist/{vue-ui-annotator-7ZVfFskI.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-KPROgHpN.js +700 -0
  114. package/dist/{vue-ui-bump-DzB3WQnq.js → vue-ui-bump-_ccDjRda.js} +237 -237
  115. package/dist/{vue-ui-candlestick--YWEtek_.js → vue-ui-candlestick-C_21KIXE.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-Dn3RZU0p.js → vue-ui-carousel-table--JukD8gC.js} +108 -108
  117. package/dist/{vue-ui-chestnut-BIsXeXiU.js → vue-ui-chestnut-BWvgfxnY.js} +86 -86
  118. package/dist/vue-ui-chord-CGkWt2XK.js +1345 -0
  119. package/dist/vue-ui-circle-pack-BWaN2mEB.js +1633 -0
  120. package/dist/{vue-ui-cursor-C-P2D5i6.js → vue-ui-cursor-YbxnsOd1.js} +3 -3
  121. package/dist/{vue-ui-dag-CThnMMWA.js → vue-ui-dag-B-X2eE3W.js} +923 -885
  122. package/dist/{vue-ui-dashboard-D0NNTRO3.js → vue-ui-dashboard-DgayqETw.js} +69 -69
  123. package/dist/{vue-ui-digits-9tGjGzZh.js → vue-ui-digits-1ULOKtDh.js} +3 -3
  124. package/dist/{vue-ui-donut-EZu8p7HF.js → vue-ui-donut-Bz2ZI_vO.js} +85 -85
  125. package/dist/{vue-ui-donut-DLN9uPOi.js → vue-ui-donut-Ci2MsJLu.js} +64 -64
  126. package/dist/{vue-ui-donut-evolution-mu-iGTIn.js → vue-ui-donut-evolution-Bo54mlFQ.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-Dvldi3Oo.js → vue-ui-dumbbell-D2bJ_P7K.js} +229 -229
  128. package/dist/vue-ui-flow-D9m-k3tM.js +1214 -0
  129. package/dist/vue-ui-funnel-DyETq2KE.js +747 -0
  130. package/dist/{vue-ui-galaxy-D6eYN8Ut.js → vue-ui-galaxy-pjGKZLrq.js} +64 -64
  131. package/dist/vue-ui-gauge-BO5lLCyJ.js +932 -0
  132. package/dist/{vue-ui-geo-CQqNemR6.js → vue-ui-geo-DpyLvk_B.js} +34 -34
  133. package/dist/{vue-ui-gizmo-ClunTUxX.js → vue-ui-gizmo-CUl8dgmV.js} +10 -10
  134. package/dist/{vue-ui-heatmap-B_pSQNzO.js → vue-ui-heatmap-CiV3kCrx.js} +472 -472
  135. package/dist/{vue-ui-hill-Byp0Tnny.js → vue-ui-hill-CkMtYGo2.js} +10 -10
  136. package/dist/vue-ui-history-plot-X2gQI4TY.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-DVT1wthh.js +1708 -0
  138. package/dist/{vue-ui-kpi-BKw5t-rX.js → vue-ui-kpi-CWPmkLKR.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-BNm0MQDw.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-DRwQV5hN.js → vue-ui-molecule-DnW5HYZP.js} +176 -176
  141. package/dist/{vue-ui-mood-radar-Bj3KTWYj.js → vue-ui-mood-radar-FovwTDLw.js} +20 -20
  142. package/dist/{vue-ui-nested-donuts-83Wh2w6z.js → vue-ui-nested-donuts-DHCOlxTO.js} +104 -104
  143. package/dist/vue-ui-onion-CzAEqZ0B.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-BZN75P6u.js +1430 -0
  145. package/dist/{vue-ui-quadrant-_J-Qr7-K.js → vue-ui-quadrant-CNeP5WEC.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-DcOUq4ym.js → vue-ui-quick-chart-Bnj8oh82.js} +153 -153
  147. package/dist/{vue-ui-radar-FlRlsoAd.js → vue-ui-radar-DMyMAtx7.js} +41 -41
  148. package/dist/{vue-ui-rating-eCxEZD8C.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DFj5V39I.js +903 -0
  150. package/dist/vue-ui-ridgeline-BaplQZZK.js +1614 -0
  151. package/dist/vue-ui-rings-B9QJ1Rnb.js +1250 -0
  152. package/dist/vue-ui-scatter-UH0wqUO5.js +2403 -0
  153. package/dist/{vue-ui-skeleton-CNOam3kC.js → vue-ui-skeleton-DkoEclfa.js} +3 -3
  154. package/dist/{vue-ui-smiley-YdyidjBH.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CS5GLtYL.js → vue-ui-spark-trend-BW8WYOva.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-DDHwgP4k.js → vue-ui-sparkbar-ADRsH-GZ.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-BcQu9V3h.js → vue-ui-sparkgauge-BYs1L6I7.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-CPsA5P6c.js → vue-ui-sparkhistogram-D1Paq9X0.js} +15 -15
  159. package/dist/vue-ui-sparkline-D2Hf_NP-.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-4tsTxMe2.js → vue-ui-sparkstackbar-Uy6Q0X15.js} +207 -207
  161. package/dist/vue-ui-stackbar-Vt9AjazE.js +2332 -0
  162. package/dist/{vue-ui-stackline-BNCWO_jG.js → vue-ui-stackline-CBIGhWpn.js} +605 -605
  163. package/dist/{vue-ui-strip-plot-2Y1c02Ek.js → vue-ui-strip-plot-DhZV1Sl6.js} +57 -57
  164. package/dist/vue-ui-table-DqMxdgj4.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-BacaEjQy.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-B8oAU5yr.js → vue-ui-table-sparkline-2KZ2UoEA.js} +11 -11
  167. package/dist/vue-ui-thermometer-mVP2GqO7.js +756 -0
  168. package/dist/{vue-ui-timer-CWZgSpP8.js → vue-ui-timer-CGrqG8H3.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-LLVCPyg9.js → vue-ui-tiremarks-DyFUPB5s.js} +12 -12
  170. package/dist/{vue-ui-treemap-ehBl9JMC.js → vue-ui-treemap-BVFHSTfq.js} +44 -44
  171. package/dist/vue-ui-waffle-DNZsc5x0.js +1619 -0
  172. package/dist/{vue-ui-wheel-C4OHPrtC.js → vue-ui-wheel-Cg4oNFmH.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-CDHn3Kwa.js → vue-ui-word-cloud-CUf1h_L1.js} +32 -32
  174. package/dist/{vue-ui-world-ao1xf04I.js → vue-ui-world-CIcrI3zP.js} +116 -116
  175. package/dist/{vue-ui-xy-DmJDCl3c.js → vue-ui-xy-8V-CU7No.js} +99 -99
  176. package/dist/{vue-ui-xy-_U3wmtCf.js → vue-ui-xy-CJ5ZixIL.js} +304 -304
  177. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  178. package/package.json +1 -1
  179. package/dist/exposedLib-vfRiIvq_.js +0 -28
  180. package/dist/vue-ui-3d-bar-DgrcdAgz.js +0 -1829
  181. package/dist/vue-ui-bullet-Dyd5F1Wa.js +0 -700
  182. package/dist/vue-ui-chord-BimXqVsF.js +0 -1345
  183. package/dist/vue-ui-circle-pack-DKQEhL-L.js +0 -1633
  184. package/dist/vue-ui-flow-DYZBT5Cb.js +0 -1214
  185. package/dist/vue-ui-funnel--NaxO0cZ.js +0 -747
  186. package/dist/vue-ui-gauge-DTIEl2Xb.js +0 -932
  187. package/dist/vue-ui-history-plot-CMu8ST1E.js +0 -1695
  188. package/dist/vue-ui-horizontal-bar-BQn7WxQ-.js +0 -1708
  189. package/dist/vue-ui-onion-C27GpneA.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-BklOszr1.js +0 -1430
  191. package/dist/vue-ui-relation-circle-DnsxHv7t.js +0 -903
  192. package/dist/vue-ui-ridgeline-TopTLyaE.js +0 -1614
  193. package/dist/vue-ui-rings-obVfb09j.js +0 -1250
  194. package/dist/vue-ui-scatter-BHSuA506.js +0 -2403
  195. package/dist/vue-ui-sparkline-CnbO-GkM.js +0 -1584
  196. package/dist/vue-ui-stackbar-2_SrMFNT.js +0 -2332
  197. package/dist/vue-ui-table-DJZxHo5N.js +0 -1352
  198. package/dist/vue-ui-thermometer-BGtxNU9T.js +0 -756
  199. package/dist/vue-ui-waffle-DpBAXbhh.js +0 -1610
  200. package/dist/vue-ui-xy-canvas-Bx-9y53V.js +0 -1823
@@ -0,0 +1,756 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Ht as t, It as n, Jt as r, Nt as i, S as a, X as ee, Xt as o, b as s, i as te, mt as ne, nt as re, q as ie, t as ae, w as oe } from "./lib-Dqr_-I6Y.js";
3
+ import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
+ import { t as le } from "./useConfig-DwdGsXTx.js";
5
+ import { t as ue } from "./usePrinter-CEiH1b6R.js";
6
+ import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as c } from "./useNestedProp-CulPqtou.js";
8
+ import { t as pe } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as me } from "./useChartExport-DNiwdPmb.js";
10
+ import { t as he } from "./img-Bkzj3lDD.js";
11
+ import { n as ge } from "./Title-CaVA8EIw.js";
12
+ import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as ve, t as ye } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as be } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as Ce } from "./usePrefersMotion-BC-CsqR1.js";
18
+ import { t as we } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
19
+ import { t as Te } from "./vue_ui_thermometer-DxgqWKlE.js";
20
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ee, createVNode as De, defineAsyncComponent as h, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, normalizeStyle as Oe, onMounted as ke, openBlock as y, ref as b, renderList as Ae, renderSlot as x, toDisplayString as S, toRefs as je, unref as C, useCssVars as Me, watch as Ne, withCtx as w } from "vue";
21
+ //#region src/components/vue-ui-thermometer.vue
22
+ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
23
+ key: 1,
24
+ ref: "noTitle",
25
+ class: "vue-data-ui-no-title-space",
26
+ style: "height:36px; width: 100%;background:transparent"
27
+ }, Le = [
28
+ "xmlns",
29
+ "viewBox",
30
+ "aria-labelledby",
31
+ "aria-describedby"
32
+ ], Re = ["id"], ze = ["id"], Be = ["width", "height"], Ve = ["id"], He = [
33
+ "x",
34
+ "y",
35
+ "width",
36
+ "height",
37
+ "rx",
38
+ "ry"
39
+ ], Ue = ["clip-path"], We = [
40
+ "x",
41
+ "y",
42
+ "height",
43
+ "width"
44
+ ], Ge = [
45
+ "x",
46
+ "y",
47
+ "height",
48
+ "width",
49
+ "fill"
50
+ ], Ke = [
51
+ "x1",
52
+ "x2",
53
+ "y1",
54
+ "y2",
55
+ "stroke-width",
56
+ "stroke"
57
+ ], qe = [
58
+ "x1",
59
+ "x2",
60
+ "y1",
61
+ "y2",
62
+ "stroke-width",
63
+ "stroke"
64
+ ], Je = [
65
+ "x1",
66
+ "x2",
67
+ "y1",
68
+ "y2",
69
+ "stroke-width",
70
+ "stroke"
71
+ ], Ye = [
72
+ "x1",
73
+ "x2",
74
+ "y1",
75
+ "y2",
76
+ "stroke-width",
77
+ "stroke"
78
+ ], Xe = [
79
+ "x1",
80
+ "x2",
81
+ "y1",
82
+ "y2",
83
+ "stroke-width",
84
+ "stroke"
85
+ ], Ze = [
86
+ "x1",
87
+ "x2",
88
+ "y1",
89
+ "y2",
90
+ "stroke-width",
91
+ "stroke"
92
+ ], Qe = [
93
+ "x1",
94
+ "x2",
95
+ "y1",
96
+ "y2",
97
+ "stroke-width",
98
+ "stroke"
99
+ ], $e = [
100
+ "x1",
101
+ "x2",
102
+ "y1",
103
+ "y2",
104
+ "stroke-width",
105
+ "stroke"
106
+ ], et = [
107
+ "x",
108
+ "y",
109
+ "height",
110
+ "width"
111
+ ], tt = ["aria-label"], nt = [
112
+ "x",
113
+ "y",
114
+ "height"
115
+ ], rt = [
116
+ "y",
117
+ "x",
118
+ "fill",
119
+ "font-size",
120
+ "font-weight"
121
+ ], it = {
122
+ key: 4,
123
+ class: "vue-data-ui-watermark"
124
+ }, T = /*#__PURE__*/ _e({
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: _e, emit: Pe }) {
142
+ Me((e) => ({
143
+ v7d874252: jt.value,
144
+ v52f10497: At.value,
145
+ v6954d344: kt.value
146
+ }));
147
+ let T = h(() => import("./PackageVersion-CT8FfP7h.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), ot = h(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ie()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
148
+ ke(() => {
149
+ xt();
150
+ });
151
+ let j = b(R());
152
+ se({
153
+ config: () => j.value,
154
+ dataset: () => E.dataset,
155
+ component: "VueUiThermometer",
156
+ rules: [ce.noHint]
157
+ });
158
+ let _t = b(j.value.style.chart.thermometer.width), M = b(j.value.style.chart.height), N = b(j.value.style.chart.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() => o({
159
+ defaultConfig: {
160
+ userOptions: { show: !1 },
161
+ style: { chart: {
162
+ animation: { use: !1 },
163
+ backgroundColor: "#99999930",
164
+ graduations: { stroke: "#6A6A6A" }
165
+ } }
166
+ },
167
+ userConfig: j.value.skeletonConfig ?? {}
168
+ })), { loading: P, FINAL_DATASET: F } = de({
169
+ ...je(E),
170
+ FINAL_CONFIG: j,
171
+ prepareConfig: R,
172
+ skeletonDataset: E.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: o({
183
+ defaultConfig: j.value,
184
+ userConfig: yt.value
185
+ })
186
+ }), bt = u(() => j.value.debug);
187
+ function xt() {
188
+ if (i(E.dataset) ? re({
189
+ componentName: "VueUiThermometer",
190
+ type: "dataset",
191
+ debug: bt.value
192
+ }) : ne({
193
+ datasetObject: E.dataset,
194
+ requiredAttributes: [
195
+ "value",
196
+ "from",
197
+ "to"
198
+ ]
199
+ }).forEach((e) => {
200
+ re({
201
+ componentName: "VueUiThermometer",
202
+ type: "datasetAttribute",
203
+ property: e,
204
+ debug: bt.value
205
+ });
206
+ }), j.value.responsive) {
207
+ let e = ve(() => {
208
+ let { width: e, height: t } = ye({
209
+ chart: O.value,
210
+ title: j.value.style.title.text ? mt.value : null,
211
+ source: ht.value
212
+ });
213
+ requestAnimationFrame(() => {
214
+ M.value = Math.max(.1, t - 12), N.value = e, It();
215
+ });
216
+ });
217
+ k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = O.value, k.value.observe(A.value);
218
+ }
219
+ It();
220
+ }
221
+ let { userOptionsVisible: I, setUserOptionsVisibility: St, keepUserOptionState: Ct } = xe({ config: j.value }), { svgRef: L } = Se({ config: j.value.style.title });
222
+ function R() {
223
+ let e = c({
224
+ userConfig: E.config,
225
+ defaultConfig: st
226
+ }), t = e.theme;
227
+ if (!t) return e;
228
+ if (!ct.value(e)) return lt(e), e;
229
+ let i = c({
230
+ userConfig: Te[t] || E.config,
231
+ defaultConfig: e
232
+ }), a = c({
233
+ userConfig: E.config,
234
+ defaultConfig: i
235
+ });
236
+ return {
237
+ ...a,
238
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || n
239
+ };
240
+ }
241
+ Ne(() => E.config, (e) => {
242
+ j.value = R(), I.value = !j.value.userOptions.showOnChartHover, _t.value = j.value.style.chart.thermometer.width, M.value = j.value.style.chart.height, N.value = j.value.style.chart.width, xt(), pt.value += 1;
243
+ }, { deep: !0 });
244
+ let { isPrinting: z, isImaging: B, generatePdf: wt, generateImage: Tt } = ue({
245
+ elementId: `thermometer__${D.value}`,
246
+ fileName: j.value.style.title.text || "vue-ui-thermometer",
247
+ options: j.value.userOptions.print
248
+ }), Et = u(() => j.value.userOptions.show && !j.value.style.title.text), V = u(() => oe(j.value.customPalette)), H = u(() => F.value.steps || 10);
249
+ function U(e, t, n) {
250
+ let r = [], i = Dt(e), a = Dt(t);
251
+ for (let e = 0; e < n; e += 1) {
252
+ let t = W(i.red, a.red, e, n), ee = W(i.green, a.green, e, n), o = W(i.blue, a.blue, e, n), s = `#${G(t)}${G(ee)}${G(o)}`;
253
+ r.push(s);
254
+ }
255
+ return r;
256
+ }
257
+ function Dt(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 W(e, t, n, r) {
266
+ return Math.round(e + (t - e) * n / r);
267
+ }
268
+ function G(e) {
269
+ return e.toString(16).padStart(2, "0");
270
+ }
271
+ let K = u(() => {
272
+ let e = Math.max(.1, N.value), t = Math.max(.1, M.value), n = j.value.style.chart.padding;
273
+ return {
274
+ width: e,
275
+ left: e / 2 - j.value.style.chart.thermometer.width / 2,
276
+ right: e / 2 + j.value.style.chart.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: j.value.style.chart.thermometer.width
282
+ };
283
+ }), Ot = u(() => K.value), q = u(() => {
284
+ let e = s(F.value.from) < 0 ? Math.abs(s(F.value.from)) : s(F.value.from), t = s(F.value.to) < 0 ? Math.abs(s(F.value.to)) : s(F.value.to), n = 0;
285
+ return n = s(F.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(F.value.from)) + s(F.value.value)) / n) * K.value.thermoHeight;
286
+ }), kt = u(() => `${q.value}px`), At = u(() => `${K.value.thermoHeight}px`), jt = u(() => ut.value ? "0ms" : `${j.value.style.chart.animation.speedMs}ms`), Mt = u(() => {
287
+ if (F.value.colors) {
288
+ if (!F.value.colors.from) return U(V.value[0] || n[0], a(F.value.colors.to), H.value || 10);
289
+ if (!F.value.colors.to) return U(a(F.value.colors.from), V.value[1] || n[1], H.value || 10);
290
+ } else return U(V.value[1] || n[1], V.value[0] || n[0], H.value || 10);
291
+ return U(a(F.value.colors.from), a(F.value.colors.to), H.value || 10);
292
+ }), Nt = u(() => {
293
+ let e = [], t = 0, n = K.value.thermoHeight;
294
+ for (let r = 0; r < n - 1; r += n / H.value) e.push({
295
+ x: K.value.left,
296
+ y: K.value.top + r,
297
+ qYLess: K.value.top + r + n / H.value / 4,
298
+ halfY: K.value.top + r + n / H.value / 2,
299
+ qYMore: K.value.top + r + n / H.value / 4 * 3,
300
+ color: Mt.value[t],
301
+ height: Math.max(.1, n / H.value)
302
+ }), t += 1;
303
+ return e;
304
+ }), J = b(!1);
305
+ function Pt(e) {
306
+ J.value = e, ft.value += 1;
307
+ }
308
+ let Y = b(!1);
309
+ function X() {
310
+ Y.value = !Y.value;
311
+ }
312
+ async function Ft({ scale: e = 2 } = {}) {
313
+ if (!O.value) return;
314
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
315
+ domElement: O.value,
316
+ base64: !0,
317
+ img: !0,
318
+ scale: e
319
+ });
320
+ return {
321
+ imageUri: i,
322
+ base64: a,
323
+ title: j.value.style.title.text,
324
+ width: t,
325
+ height: n,
326
+ aspectRatio: r
327
+ };
328
+ }
329
+ let Z = u({
330
+ get: () => j.value.style.chart.label.fontSize,
331
+ set: (e) => e
332
+ }), { autoSizeLabels: It } = we({
333
+ svgRef: L,
334
+ fontSize: j.value.style.chart.label.fontSize,
335
+ minFontSize: j.value.style.chart.label.minFontSize,
336
+ sizeRef: Z,
337
+ labelClass: ".vue-ui-thermometer-label"
338
+ }), Lt = u(() => j.value.style.chart.backgroundColor), Rt = u(() => j.value.style.title), { isCallbackImaging: zt, isCallbackSvg: Bt, generateSvg: Q, onGenerateImage: Vt } = me({
339
+ svg: L,
340
+ title: Rt,
341
+ legend: null,
342
+ legendItems: null,
343
+ backgroundColor: Lt,
344
+ getSvgCallback: () => j.value.userOptions.callbacks.svg,
345
+ generateImage: Tt
346
+ });
347
+ async function Ht() {
348
+ if (dt("copyAlt", {
349
+ config: j.value,
350
+ dataset: F.value
351
+ }), !j.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(j.value.userOptions.callbacks.altCopy({
356
+ config: j.value,
357
+ dataset: F.value
358
+ }));
359
+ }
360
+ let Ut = u(() => `${D.value}-title`), Wt = u(() => `${D.value}-desc`), $ = u(() => te(j.value.style.chart.label.formatter, F.value.value, ee({
361
+ p: j.value.style.chart.label.prefix,
362
+ v: F.value.value,
363
+ s: j.value.style.chart.label.suffix,
364
+ r: j.value.style.chart.label.rounding
365
+ }), { datapoint: F.value })), Gt = u(() => j.value.style.title.text || ""), Kt = u(() => {
366
+ if (P.value) return "...";
367
+ let e = s(F.value.from), t = s(F.value.to);
368
+ return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
369
+ });
370
+ return _e({
371
+ getImage: Ft,
372
+ generatePdf: wt,
373
+ generateImage: Tt,
374
+ generateSvg: Q,
375
+ toggleAnnotator: X,
376
+ toggleFullscreen: Pt,
377
+ copyAlt: Ht
378
+ }), (e, n) => (y(), p("div", {
379
+ ref_key: "thermoChart",
380
+ ref: O,
381
+ class: _(`vue-data-ui-component vue-ui-thermometer ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
+ style: Oe(`width:100%;background:${j.value.style.chart.backgroundColor};color:${j.value.style.chart.color};font-family:${j.value.style.fontFamily}`),
383
+ id: `thermometer__${D.value}`,
384
+ onMouseenter: n[0] ||= () => C(St)(!0),
385
+ onMouseleave: n[1] ||= () => C(St)(!1)
386
+ }, [
387
+ j.value.userOptions.buttons.annotator ? (y(), d(C(at), {
388
+ key: 0,
389
+ svgRef: C(L),
390
+ backgroundColor: j.value.style.chart.backgroundColor,
391
+ color: j.value.style.chart.color,
392
+ active: Y.value,
393
+ isCursorPointer: vt.value,
394
+ onClose: X
395
+ }, {
396
+ "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
397
+ "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
398
+ "annotator-action-draw": w(({ mode: t }) => [x(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
399
+ "annotator-action-undo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
400
+ "annotator-action-redo": w(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
401
+ "annotator-action-delete": w(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
402
+ _: 3
403
+ }, 8, [
404
+ "svgRef",
405
+ "backgroundColor",
406
+ "color",
407
+ "active",
408
+ "isCursorPointer"
409
+ ])) : f("", !0),
410
+ Et.value ? (y(), p("div", Ie, null, 512)) : f("", !0),
411
+ j.value.style.title.text ? (y(), p("div", {
412
+ key: 2,
413
+ ref_key: "chartTitle",
414
+ ref: mt,
415
+ style: "width:100%"
416
+ }, [(y(), d(ge, {
417
+ key: `title_${pt.value}`,
418
+ config: {
419
+ title: {
420
+ cy: "thermometer-div-title",
421
+ ...j.value.style.title
422
+ },
423
+ subtitle: {
424
+ cy: "thermometer-div-subtitle",
425
+ ...j.value.style.title.subtitle
426
+ }
427
+ }
428
+ }, null, 8, ["config"]))], 512)) : f("", !0),
429
+ j.value.userOptions.show && gt.value && (C(Ct) || C(I)) ? (y(), d(C(ot), {
430
+ ref: "details",
431
+ key: `user_options_${ft.value}`,
432
+ backgroundColor: j.value.style.chart.backgroundColor,
433
+ color: j.value.style.chart.color,
434
+ isImaging: C(B),
435
+ isPrinting: C(z),
436
+ uid: D.value,
437
+ hasPdf: j.value.userOptions.buttons.pdf,
438
+ hasImg: j.value.userOptions.buttons.img,
439
+ hasSvg: j.value.userOptions.buttons.svg,
440
+ hasFullscreen: j.value.userOptions.buttons.fullscreen,
441
+ hasAltCopy: j.value.userOptions.buttons.altCopy,
442
+ hasXls: !1,
443
+ isFullscreen: J.value,
444
+ titles: { ...j.value.userOptions.buttonTitles },
445
+ chartElement: O.value,
446
+ position: j.value.userOptions.position,
447
+ hasAnnotator: j.value.userOptions.buttons.annotator,
448
+ isAnnotation: Y.value,
449
+ callbacks: j.value.userOptions.callbacks,
450
+ printScale: j.value.userOptions.print.scale,
451
+ isCursorPointer: vt.value,
452
+ onToggleFullscreen: Pt,
453
+ onGeneratePdf: C(wt),
454
+ onGenerateImage: C(Vt),
455
+ onGenerateSvg: C(Q),
456
+ onToggleAnnotator: X,
457
+ onCopyAlt: Ht,
458
+ style: Oe({ visibility: C(Ct) ? C(I) ? "visible" : "hidden" : "visible" })
459
+ }, Ee({ _: 2 }, [
460
+ e.$slots.menuIcon ? {
461
+ name: "menuIcon",
462
+ fn: w(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", v(g({
463
+ isOpen: t,
464
+ color: n
465
+ })), void 0, !0)]),
466
+ key: "0"
467
+ } : void 0,
468
+ e.$slots.optionPdf ? {
469
+ name: "optionPdf",
470
+ fn: w(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
471
+ key: "1"
472
+ } : void 0,
473
+ e.$slots.optionImg ? {
474
+ name: "optionImg",
475
+ fn: w(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
476
+ key: "2"
477
+ } : void 0,
478
+ e.$slots.optionSvg ? {
479
+ name: "optionSvg",
480
+ fn: w(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
481
+ key: "3"
482
+ } : void 0,
483
+ e.$slots.optionFullscreen ? {
484
+ name: "optionFullscreen",
485
+ fn: w(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", v(g({
486
+ toggleFullscreen: t,
487
+ isFullscreen: n
488
+ })), void 0, !0)]),
489
+ key: "4"
490
+ } : void 0,
491
+ e.$slots.optionAnnotator ? {
492
+ name: "optionAnnotator",
493
+ fn: w(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", v(g({
494
+ toggleAnnotator: t,
495
+ isAnnotator: n
496
+ })), void 0, !0)]),
497
+ key: "5"
498
+ } : void 0,
499
+ e.$slots.optionAltCopy ? {
500
+ name: "optionAltCopy",
501
+ fn: w(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
502
+ key: "6"
503
+ } : void 0,
504
+ e.$slots["custom-menu-before"] ? {
505
+ name: "custom-menu-before",
506
+ fn: w(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
507
+ key: "7"
508
+ } : void 0,
509
+ e.$slots["custom-menu-after"] ? {
510
+ name: "custom-menu-after",
511
+ fn: w(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
512
+ key: "8"
513
+ } : void 0
514
+ ]), 1032, [
515
+ "backgroundColor",
516
+ "color",
517
+ "isImaging",
518
+ "isPrinting",
519
+ "uid",
520
+ "hasPdf",
521
+ "hasImg",
522
+ "hasSvg",
523
+ "hasFullscreen",
524
+ "hasAltCopy",
525
+ "isFullscreen",
526
+ "titles",
527
+ "chartElement",
528
+ "position",
529
+ "hasAnnotator",
530
+ "isAnnotation",
531
+ "callbacks",
532
+ "printScale",
533
+ "isCursorPointer",
534
+ "onGeneratePdf",
535
+ "onGenerateImage",
536
+ "onGenerateSvg",
537
+ "style"
538
+ ])) : f("", !0),
539
+ (y(), p("svg", {
540
+ ref_key: "svgRef",
541
+ ref: L,
542
+ xmlns: C(ae),
543
+ class: _({
544
+ "vue-data-ui-fullscreen--on": J.value,
545
+ "vue-data-ui-fulscreen--off": !J.value
546
+ }),
547
+ width: "100%",
548
+ viewBox: `0 0 ${K.value.width} ${K.value.height}`,
549
+ style: "background:transparent",
550
+ "aria-labelledby": Ut.value,
551
+ "aria-describedby": Wt.value
552
+ }, [
553
+ m("title", { id: Ut.value }, S(Gt.value), 9, Re),
554
+ m("desc", { id: Wt.value }, S(Kt.value), 9, ze),
555
+ De(C(T)),
556
+ e.$slots["chart-background"] ? (y(), p("foreignObject", {
557
+ key: 0,
558
+ x: 0,
559
+ y: 0,
560
+ width: K.value.width,
561
+ height: K.value.height,
562
+ style: { pointerEvents: "none" }
563
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : f("", !0),
564
+ m("defs", null, [m("clipPath", {
565
+ id: `vueUiPill-${D.value}`,
566
+ clipPathUnits: "userSpaceOnUse"
567
+ }, [m("rect", {
568
+ x: K.value.left,
569
+ y: K.value.top,
570
+ width: K.value.thermoWidth,
571
+ height: K.value.thermoHeight,
572
+ rx: K.value.thermoWidth / 2,
573
+ ry: K.value.thermoWidth / 2
574
+ }, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Nt.value, (e, n) => (y(), d(be, {
575
+ t: "linear",
576
+ id: `vueUiThermometerGradient_${n}_${D.value}`,
577
+ key: `t_${n}_${D.value}`,
578
+ x1: "0%",
579
+ y1: "0%",
580
+ x2: "100%",
581
+ y2: "0%",
582
+ stops: [
583
+ [
584
+ "0%",
585
+ e.color,
586
+ 1
587
+ ],
588
+ [
589
+ "50%",
590
+ C(t)(e.color, 100 - j.value.style.chart.graduations.gradient.intensity),
591
+ 1
592
+ ],
593
+ [
594
+ "100%",
595
+ e.color,
596
+ 1
597
+ ]
598
+ ]
599
+ }, null, 8, ["id", "stops"]))), 128))]),
600
+ m("g", { "clip-path": `url(#vueUiPill-${D.value})` }, [
601
+ m("rect", {
602
+ x: K.value.left,
603
+ y: K.value.top,
604
+ height: K.value.thermoHeight,
605
+ width: K.value.thermoWidth,
606
+ fill: "#FFFFFF"
607
+ }, null, 8, We),
608
+ (y(!0), p(l, null, Ae(Nt.value, (e, t) => (y(), p("g", { key: `graduation_${t}` }, [
609
+ m("rect", {
610
+ x: e.x,
611
+ y: e.y,
612
+ height: e.height,
613
+ width: K.value.thermoWidth,
614
+ fill: j.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${D.value})` : e.color,
615
+ "shape-rendering": "crispEdges"
616
+ }, null, 8, Ge),
617
+ j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
618
+ key: 0,
619
+ x1: e.x,
620
+ x2: e.x + 10,
621
+ y1: e.y,
622
+ y2: e.y,
623
+ "stroke-width": j.value.style.chart.graduations.strokeWidth,
624
+ stroke: j.value.style.chart.graduations.stroke,
625
+ "stroke-linecap": "round"
626
+ }, null, 8, Ke)) : f("", !0),
627
+ j.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 1 }, [
628
+ j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
629
+ key: 0,
630
+ x1: e.x,
631
+ x2: e.x + 5,
632
+ y1: e.halfY,
633
+ y2: e.halfY,
634
+ "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
635
+ stroke: j.value.style.chart.graduations.stroke,
636
+ "stroke-linecap": "round"
637
+ }, null, 8, qe)) : f("", !0),
638
+ j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
639
+ key: 1,
640
+ x1: e.x,
641
+ x2: e.x + 2.5,
642
+ y1: e.qYLess,
643
+ y2: e.qYLess,
644
+ "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
645
+ stroke: j.value.style.chart.graduations.stroke,
646
+ "stroke-linecap": "round"
647
+ }, null, 8, Je)) : f("", !0),
648
+ j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
649
+ key: 2,
650
+ x1: e.x,
651
+ x2: e.x + 2.5,
652
+ y1: e.qYMore,
653
+ y2: e.qYMore,
654
+ "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
655
+ stroke: j.value.style.chart.graduations.stroke,
656
+ "stroke-linecap": "round"
657
+ }, null, 8, Ye)) : f("", !0)
658
+ ], 64)) : f("", !0),
659
+ j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
660
+ key: 2,
661
+ x1: K.value.right,
662
+ x2: K.value.right - 10,
663
+ y1: e.y,
664
+ y2: e.y,
665
+ "stroke-width": j.value.style.chart.graduations.strokeWidth,
666
+ stroke: j.value.style.chart.graduations.stroke,
667
+ "stroke-linecap": "round"
668
+ }, null, 8, Xe)) : f("", !0),
669
+ j.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 3 }, [
670
+ j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
671
+ key: 0,
672
+ x1: K.value.right,
673
+ x2: K.value.right - 5,
674
+ y1: e.halfY,
675
+ y2: e.halfY,
676
+ "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
677
+ stroke: j.value.style.chart.graduations.stroke,
678
+ "stroke-linecap": "round"
679
+ }, null, 8, Ze)) : f("", !0),
680
+ j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
681
+ key: 1,
682
+ x1: K.value.right,
683
+ x2: K.value.right - 2.5,
684
+ y1: e.qYLess,
685
+ y2: e.qYLess,
686
+ "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
687
+ stroke: j.value.style.chart.graduations.stroke,
688
+ "stroke-linecap": "round"
689
+ }, null, 8, Qe)) : f("", !0),
690
+ j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
691
+ key: 2,
692
+ x1: K.value.right,
693
+ x2: K.value.right - 2.5,
694
+ y1: e.qYMore,
695
+ y2: e.qYMore,
696
+ "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
697
+ stroke: j.value.style.chart.graduations.stroke,
698
+ "stroke-linecap": "round"
699
+ }, null, 8, $e)) : f("", !0)
700
+ ], 64)) : f("", !0)
701
+ ]))), 128)),
702
+ m("rect", {
703
+ class: _({ "vue-ui-thermometer-temperature": j.value.style.chart.animation.use }),
704
+ x: K.value.left,
705
+ y: K.value.top,
706
+ height: q.value,
707
+ width: K.value.thermoWidth,
708
+ fill: "#FFFFFF66"
709
+ }, null, 10, et)
710
+ ], 8, Ue),
711
+ j.value.style.chart.label.show ? (y(), p("g", {
712
+ key: 1,
713
+ role: "status",
714
+ "aria-live": "polite",
715
+ "aria-label": C(P) ? "Loading data" : $.value
716
+ }, [C(P) ? (y(), p("rect", {
717
+ key: 0,
718
+ x: K.value.left - 60,
719
+ y: q.value + K.value.top - Z.value / 2,
720
+ width: 50,
721
+ height: Z.value,
722
+ fill: "#6A6A6A40",
723
+ rx: "3"
724
+ }, null, 8, nt)) : (y(), p("text", {
725
+ key: 1,
726
+ "aria-hidden": "true",
727
+ class: _({
728
+ "vue-ui-thermometer-temperature-value": j.value.style.chart.animation.use,
729
+ "vue-ui-thermometer-label": !0
730
+ }),
731
+ y: q.value + K.value.top + Z.value / 3,
732
+ x: K.value.left - 10,
733
+ "text-anchor": "end",
734
+ fill: j.value.style.chart.label.color,
735
+ "font-size": Z.value,
736
+ "font-weight": j.value.style.chart.label.bold ? "bold" : "normal"
737
+ }, S($.value), 11, rt))], 8, tt)) : f("", !0),
738
+ x(e.$slots, "svg", { svg: {
739
+ ...Ot.value,
740
+ isPrintingImg: C(z) || C(B) || C(zt),
741
+ isPrintingSvg: C(Bt)
742
+ } }, void 0, !0)
743
+ ], 10, Le)),
744
+ e.$slots.watermark ? (y(), p("div", it, [x(e.$slots, "watermark", v(g({ isPrinting: C(z) || C(B) || C(zt) || C(Bt) })), void 0, !0)])) : f("", !0),
745
+ e.$slots.source ? (y(), p("div", {
746
+ key: 5,
747
+ ref_key: "source",
748
+ ref: ht,
749
+ dir: "auto"
750
+ }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
751
+ x(e.$slots, "skeleton", {}, () => [C(P) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
752
+ ], 46, Fe));
753
+ }
754
+ }, [["__scopeId", "data-v-3ce3d8f1"]]);
755
+ //#endregion
756
+ export { Pe as n, T as t };