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