vue-data-ui 3.23.9 → 3.23.11

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-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
  3. package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
  4. package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
  5. package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
  6. package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
  7. package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
  8. package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
  9. package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
  10. package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
  12. package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
  13. package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
  14. package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
  15. package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
  16. package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
  17. package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
  18. package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
  19. package/dist/{UserOptions-Dt98of5H.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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
  91. package/dist/exposedLib-DrUEXSyf.js +28 -0
  92. package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
  93. package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
  94. package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
  95. package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
  96. package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
  97. package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.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-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
  105. package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
  106. package/dist/utils.js +9 -9
  107. package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
  108. package/dist/vue-data-ui.js +73 -73
  109. package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
  110. package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
  111. package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
  112. package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
  113. package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
  114. package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
  115. package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
  116. package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
  117. package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
  118. package/dist/vue-ui-chord-BuConnPN.js +1345 -0
  119. package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
  120. package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
  121. package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
  122. package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
  123. package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
  124. package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
  125. package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
  126. package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
  127. package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
  128. package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
  129. package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
  130. package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
  131. package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
  132. package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
  133. package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
  134. package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
  135. package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
  136. package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
  137. package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
  138. package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
  139. package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
  140. package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
  141. package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
  142. package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
  143. package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
  144. package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
  145. package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
  146. package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
  147. package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
  148. package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
  149. package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
  150. package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
  151. package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
  152. package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
  153. package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
  154. package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
  155. package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
  156. package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
  157. package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
  158. package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
  159. package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
  160. package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
  161. package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
  162. package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
  163. package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
  164. package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
  165. package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
  166. package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
  167. package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
  168. package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
  169. package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
  170. package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
  171. package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
  172. package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
  173. package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
  174. package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
  175. package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
  176. package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
  177. package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
  178. package/package.json +1 -1
  179. package/dist/exposedLib-C0DPCgFj.js +0 -28
  180. package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
  181. package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
  182. package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
  183. package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
  184. package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
  185. package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
  186. package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
  187. package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
  188. package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
  189. package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
  190. package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
  191. package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
  192. package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
  193. package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
  194. package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
  195. package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
  196. package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
  197. package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
  198. package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
  199. package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
  200. package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
@@ -1,756 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, X as o, b as s, i as c, jt as ee, pt as te, q as ne, t as re, tt as ie, w as ae } from "./lib-Bttd6u5E.js";
3
- import { n as oe, t as se } from "./useHints-Dq_w2E8B.js";
4
- import { t as ce } from "./useConfig-DwdGsXTx.js";
5
- import { t as le } from "./usePrinter-DN5bYhTG.js";
6
- import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as l } from "./useNestedProp-vPNvh7rV.js";
8
- import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as pe } from "./useChartExport-DNiwdPmb.js";
10
- import { t as me } from "./img-Bnokohej.js";
11
- import { n as he } from "./Title-BE3qg9xl.js";
12
- import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as _e, t as ve } from "./useResponsive-ZtArZtUf.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 "./usePrefersMotion-BC-CsqR1.js";
18
- import { t as Ce } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
19
- import { t as we } from "./vue_ui_thermometer-DxgqWKlE.js";
20
- import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Te, createVNode as Ee, defineAsyncComponent as g, guardReactiveProps as _, normalizeClass as v, normalizeProps as y, normalizeStyle as De, onMounted as Oe, openBlock as b, ref as x, renderList as ke, renderSlot as S, toDisplayString as C, toRefs as Ae, unref as w, useCssVars as je, watch as Me, withCtx as T } from "vue";
21
- //#region src/components/vue-ui-thermometer.vue
22
- var Ne = /* @__PURE__ */ e({ default: () => E }), Pe = ["id"], Fe = {
23
- key: 1,
24
- ref: "noTitle",
25
- class: "vue-data-ui-no-title-space",
26
- style: "height:36px; width: 100%;background:transparent"
27
- }, Ie = [
28
- "xmlns",
29
- "viewBox",
30
- "aria-labelledby",
31
- "aria-describedby"
32
- ], Le = ["id"], Re = ["id"], ze = ["width", "height"], Be = ["id"], Ve = [
33
- "x",
34
- "y",
35
- "width",
36
- "height",
37
- "rx",
38
- "ry"
39
- ], He = ["clip-path"], Ue = [
40
- "x",
41
- "y",
42
- "height",
43
- "width"
44
- ], We = [
45
- "x",
46
- "y",
47
- "height",
48
- "width",
49
- "fill"
50
- ], Ge = [
51
- "x1",
52
- "x2",
53
- "y1",
54
- "y2",
55
- "stroke-width",
56
- "stroke"
57
- ], Ke = [
58
- "x1",
59
- "x2",
60
- "y1",
61
- "y2",
62
- "stroke-width",
63
- "stroke"
64
- ], qe = [
65
- "x1",
66
- "x2",
67
- "y1",
68
- "y2",
69
- "stroke-width",
70
- "stroke"
71
- ], Je = [
72
- "x1",
73
- "x2",
74
- "y1",
75
- "y2",
76
- "stroke-width",
77
- "stroke"
78
- ], Ye = [
79
- "x1",
80
- "x2",
81
- "y1",
82
- "y2",
83
- "stroke-width",
84
- "stroke"
85
- ], Xe = [
86
- "x1",
87
- "x2",
88
- "y1",
89
- "y2",
90
- "stroke-width",
91
- "stroke"
92
- ], Ze = [
93
- "x1",
94
- "x2",
95
- "y1",
96
- "y2",
97
- "stroke-width",
98
- "stroke"
99
- ], Qe = [
100
- "x1",
101
- "x2",
102
- "y1",
103
- "y2",
104
- "stroke-width",
105
- "stroke"
106
- ], $e = [
107
- "x",
108
- "y",
109
- "height",
110
- "width"
111
- ], et = ["aria-label"], tt = [
112
- "x",
113
- "y",
114
- "height"
115
- ], nt = [
116
- "y",
117
- "x",
118
- "fill",
119
- "font-size",
120
- "font-weight"
121
- ], rt = {
122
- key: 4,
123
- class: "vue-data-ui-watermark"
124
- }, E = /*#__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: Ne }) {
142
- je((e) => ({
143
- v7d874252: At.value,
144
- v52f10497: kt.value,
145
- v6954d344: Ot.value
146
- }));
147
- let E = g(() => import("./PackageVersion-B629oKuX.js").then((e) => e.t)), it = g(() => import("./PenAndPaper-C0UZ74fa.js").then((e) => e.t)), at = g(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), { vue_ui_thermometer: ot } = ce(), { isThemeValid: st, warnInvalidTheme: ct } = fe(), lt = Se(), D = e, ut = Ne, O = x(ne()), k = x(null), dt = x(0), ft = x(0), pt = x(null), mt = x(null), A = x(null), j = x(null), ht = d(() => !!D.dataset && Object.keys(D.dataset).length);
148
- Oe(() => {
149
- bt();
150
- });
151
- let M = x(z());
152
- oe({
153
- config: () => M.value,
154
- dataset: () => D.dataset,
155
- component: "VueUiThermometer",
156
- rules: [se.noHint]
157
- });
158
- let gt = x(M.value.style.chart.thermometer.width), N = x(M.value.style.chart.height), P = x(M.value.style.chart.width), _t = d(() => M.value.userOptions.useCursorPointer), vt = d(() => n({
159
- defaultConfig: {
160
- userOptions: { show: !1 },
161
- style: { chart: {
162
- animation: { use: !1 },
163
- backgroundColor: "#99999930",
164
- graduations: { stroke: "#6A6A6A" }
165
- } }
166
- },
167
- userConfig: M.value.skeletonConfig ?? {}
168
- })), { loading: F, FINAL_DATASET: I } = ue({
169
- ...Ae(D),
170
- FINAL_CONFIG: M,
171
- prepareConfig: z,
172
- skeletonDataset: D.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: n({
183
- defaultConfig: M.value,
184
- userConfig: vt.value
185
- })
186
- }), yt = d(() => M.value.debug);
187
- function bt() {
188
- if (ee(D.dataset) ? ie({
189
- componentName: "VueUiThermometer",
190
- type: "dataset",
191
- debug: yt.value
192
- }) : te({
193
- datasetObject: D.dataset,
194
- requiredAttributes: [
195
- "value",
196
- "from",
197
- "to"
198
- ]
199
- }).forEach((e) => {
200
- ie({
201
- componentName: "VueUiThermometer",
202
- type: "datasetAttribute",
203
- property: e,
204
- debug: yt.value
205
- });
206
- }), M.value.responsive) {
207
- let e = _e(() => {
208
- let { width: e, height: t } = ve({
209
- chart: k.value,
210
- title: M.value.style.title.text ? pt.value : null,
211
- source: mt.value
212
- });
213
- requestAnimationFrame(() => {
214
- N.value = Math.max(.1, t - 12), P.value = e, Ft();
215
- });
216
- });
217
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = k.value, A.value.observe(j.value);
218
- }
219
- Ft();
220
- }
221
- let { userOptionsVisible: L, setUserOptionsVisibility: xt, keepUserOptionState: St } = be({ config: M.value }), { svgRef: R } = xe({ config: M.value.style.title });
222
- function z() {
223
- let e = l({
224
- userConfig: D.config,
225
- defaultConfig: ot
226
- }), t = e.theme;
227
- if (!t) return e;
228
- if (!st.value(e)) return ct(e), e;
229
- let n = l({
230
- userConfig: we[t] || D.config,
231
- defaultConfig: e
232
- }), a = l({
233
- userConfig: D.config,
234
- defaultConfig: n
235
- });
236
- return {
237
- ...a,
238
- customPalette: a.customPalette.length ? a.customPalette : r[t] || i
239
- };
240
- }
241
- Me(() => D.config, (e) => {
242
- M.value = z(), L.value = !M.value.userOptions.showOnChartHover, gt.value = M.value.style.chart.thermometer.width, N.value = M.value.style.chart.height, P.value = M.value.style.chart.width, bt(), ft.value += 1;
243
- }, { deep: !0 });
244
- let { isPrinting: B, isImaging: V, generatePdf: Ct, generateImage: wt } = le({
245
- elementId: `thermometer__${O.value}`,
246
- fileName: M.value.style.title.text || "vue-ui-thermometer",
247
- options: M.value.userOptions.print
248
- }), Tt = d(() => M.value.userOptions.show && !M.value.style.title.text), H = d(() => ae(M.value.customPalette)), U = d(() => I.value.steps || 10);
249
- function W(e, t, n) {
250
- let r = [], i = Et(e), a = Et(t);
251
- for (let e = 0; e < n; e += 1) {
252
- let t = G(i.red, a.red, e, n), o = G(i.green, a.green, e, n), s = G(i.blue, a.blue, e, n), c = `#${K(t)}${K(o)}${K(s)}`;
253
- r.push(c);
254
- }
255
- return r;
256
- }
257
- function Et(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 G(e, t, n, r) {
266
- return Math.round(e + (t - e) * n / r);
267
- }
268
- function K(e) {
269
- return e.toString(16).padStart(2, "0");
270
- }
271
- let q = d(() => {
272
- let e = Math.max(.1, P.value), t = Math.max(.1, N.value), n = M.value.style.chart.padding;
273
- return {
274
- width: e,
275
- left: e / 2 - M.value.style.chart.thermometer.width / 2,
276
- right: e / 2 + M.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: M.value.style.chart.thermometer.width
282
- };
283
- }), Dt = d(() => q.value), J = d(() => {
284
- 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;
285
- 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;
286
- }), Ot = d(() => `${J.value}px`), kt = d(() => `${q.value.thermoHeight}px`), At = d(() => lt.value ? "0ms" : `${M.value.style.chart.animation.speedMs}ms`), jt = d(() => {
287
- if (I.value.colors) {
288
- if (!I.value.colors.from) return W(H.value[0] || i[0], a(I.value.colors.to), U.value || 10);
289
- if (!I.value.colors.to) return W(a(I.value.colors.from), H.value[1] || i[1], U.value || 10);
290
- } else return W(H.value[1] || i[1], H.value[0] || i[0], U.value || 10);
291
- return W(a(I.value.colors.from), a(I.value.colors.to), U.value || 10);
292
- }), Mt = d(() => {
293
- let e = [], t = 0, n = q.value.thermoHeight;
294
- for (let r = 0; r < n - 1; r += n / U.value) e.push({
295
- x: q.value.left,
296
- y: q.value.top + r,
297
- qYLess: q.value.top + r + n / U.value / 4,
298
- halfY: q.value.top + r + n / U.value / 2,
299
- qYMore: q.value.top + r + n / U.value / 4 * 3,
300
- color: jt.value[t],
301
- height: Math.max(.1, n / U.value)
302
- }), t += 1;
303
- return e;
304
- }), Y = x(!1);
305
- function Nt(e) {
306
- Y.value = e, dt.value += 1;
307
- }
308
- let X = x(!1);
309
- function Z() {
310
- X.value = !X.value;
311
- }
312
- async function Pt({ scale: e = 2 } = {}) {
313
- if (!k.value) return;
314
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
315
- domElement: k.value,
316
- base64: !0,
317
- img: !0,
318
- scale: e
319
- });
320
- return {
321
- imageUri: i,
322
- base64: a,
323
- title: M.value.style.title.text,
324
- width: t,
325
- height: n,
326
- aspectRatio: r
327
- };
328
- }
329
- let Q = d({
330
- get: () => M.value.style.chart.label.fontSize,
331
- set: (e) => e
332
- }), { autoSizeLabels: Ft } = Ce({
333
- svgRef: R,
334
- fontSize: M.value.style.chart.label.fontSize,
335
- minFontSize: M.value.style.chart.label.minFontSize,
336
- sizeRef: Q,
337
- labelClass: ".vue-ui-thermometer-label"
338
- }), It = d(() => M.value.style.chart.backgroundColor), Lt = d(() => M.value.style.title), { isCallbackImaging: Rt, isCallbackSvg: zt, generateSvg: Bt, onGenerateImage: Vt } = pe({
339
- svg: R,
340
- title: Lt,
341
- legend: null,
342
- legendItems: null,
343
- backgroundColor: It,
344
- getSvgCallback: () => M.value.userOptions.callbacks.svg,
345
- generateImage: wt
346
- });
347
- async function Ht() {
348
- if (ut("copyAlt", {
349
- config: M.value,
350
- dataset: I.value
351
- }), !M.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(M.value.userOptions.callbacks.altCopy({
356
- config: M.value,
357
- dataset: I.value
358
- }));
359
- }
360
- let Ut = d(() => `${O.value}-title`), Wt = d(() => `${O.value}-desc`), $ = d(() => c(M.value.style.chart.label.formatter, I.value.value, o({
361
- p: M.value.style.chart.label.prefix,
362
- v: I.value.value,
363
- s: M.value.style.chart.label.suffix,
364
- r: M.value.style.chart.label.rounding
365
- }), { datapoint: I.value })), Gt = d(() => M.value.style.title.text || ""), Kt = d(() => {
366
- if (F.value) return "...";
367
- let e = s(I.value.from), t = s(I.value.to);
368
- return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
369
- });
370
- return ge({
371
- getImage: Pt,
372
- generatePdf: Ct,
373
- generateImage: wt,
374
- generateSvg: Bt,
375
- toggleAnnotator: Z,
376
- toggleFullscreen: Nt,
377
- copyAlt: Ht
378
- }), (e, n) => (b(), m("div", {
379
- ref_key: "thermoChart",
380
- ref: k,
381
- class: v(`vue-data-ui-component vue-ui-thermometer ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
- style: De(`width:100%;background:${M.value.style.chart.backgroundColor};color:${M.value.style.chart.color};font-family:${M.value.style.fontFamily}`),
383
- id: `thermometer__${O.value}`,
384
- onMouseenter: n[0] ||= () => w(xt)(!0),
385
- onMouseleave: n[1] ||= () => w(xt)(!1)
386
- }, [
387
- M.value.userOptions.buttons.annotator ? (b(), f(w(it), {
388
- key: 0,
389
- svgRef: w(R),
390
- backgroundColor: M.value.style.chart.backgroundColor,
391
- color: M.value.style.chart.color,
392
- active: X.value,
393
- isCursorPointer: _t.value,
394
- onClose: Z
395
- }, {
396
- "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
397
- "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
398
- "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", y(_({ mode: t })), void 0, !0)]),
399
- "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", y(_({ disabled: t })), void 0, !0)]),
400
- "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", y(_({ disabled: t })), void 0, !0)]),
401
- "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", y(_({ disabled: t })), void 0, !0)]),
402
- _: 3
403
- }, 8, [
404
- "svgRef",
405
- "backgroundColor",
406
- "color",
407
- "active",
408
- "isCursorPointer"
409
- ])) : p("", !0),
410
- Tt.value ? (b(), m("div", Fe, null, 512)) : p("", !0),
411
- M.value.style.title.text ? (b(), m("div", {
412
- key: 2,
413
- ref_key: "chartTitle",
414
- ref: pt,
415
- style: "width:100%"
416
- }, [(b(), f(he, {
417
- key: `title_${ft.value}`,
418
- config: {
419
- title: {
420
- cy: "thermometer-div-title",
421
- ...M.value.style.title
422
- },
423
- subtitle: {
424
- cy: "thermometer-div-subtitle",
425
- ...M.value.style.title.subtitle
426
- }
427
- }
428
- }, null, 8, ["config"]))], 512)) : p("", !0),
429
- M.value.userOptions.show && ht.value && (w(St) || w(L)) ? (b(), f(w(at), {
430
- ref: "details",
431
- key: `user_options_${dt.value}`,
432
- backgroundColor: M.value.style.chart.backgroundColor,
433
- color: M.value.style.chart.color,
434
- isImaging: w(V),
435
- isPrinting: w(B),
436
- uid: O.value,
437
- hasPdf: M.value.userOptions.buttons.pdf,
438
- hasImg: M.value.userOptions.buttons.img,
439
- hasSvg: M.value.userOptions.buttons.svg,
440
- hasFullscreen: M.value.userOptions.buttons.fullscreen,
441
- hasAltCopy: M.value.userOptions.buttons.altCopy,
442
- hasXls: !1,
443
- isFullscreen: Y.value,
444
- titles: { ...M.value.userOptions.buttonTitles },
445
- chartElement: k.value,
446
- position: M.value.userOptions.position,
447
- hasAnnotator: M.value.userOptions.buttons.annotator,
448
- isAnnotation: X.value,
449
- callbacks: M.value.userOptions.callbacks,
450
- printScale: M.value.userOptions.print.scale,
451
- isCursorPointer: _t.value,
452
- onToggleFullscreen: Nt,
453
- onGeneratePdf: w(Ct),
454
- onGenerateImage: w(Vt),
455
- onGenerateSvg: w(Bt),
456
- onToggleAnnotator: Z,
457
- onCopyAlt: Ht,
458
- style: De({ visibility: w(St) ? w(L) ? "visible" : "hidden" : "visible" })
459
- }, Te({ _: 2 }, [
460
- e.$slots.menuIcon ? {
461
- name: "menuIcon",
462
- fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", y(_({
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: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
471
- key: "1"
472
- } : void 0,
473
- e.$slots.optionImg ? {
474
- name: "optionImg",
475
- fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
476
- key: "2"
477
- } : void 0,
478
- e.$slots.optionSvg ? {
479
- name: "optionSvg",
480
- fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
481
- key: "3"
482
- } : void 0,
483
- e.$slots.optionFullscreen ? {
484
- name: "optionFullscreen",
485
- fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", y(_({
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: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", y(_({
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: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", y(_({ altCopy: t })), void 0, !0)]),
502
- key: "6"
503
- } : void 0,
504
- e.$slots["custom-menu-before"] ? {
505
- name: "custom-menu-before",
506
- fn: T(() => [S(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: T(() => [S(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
- ])) : p("", !0),
539
- (b(), m("svg", {
540
- ref_key: "svgRef",
541
- ref: R,
542
- xmlns: w(re),
543
- class: v({
544
- "vue-data-ui-fullscreen--on": Y.value,
545
- "vue-data-ui-fulscreen--off": !Y.value
546
- }),
547
- width: "100%",
548
- viewBox: `0 0 ${q.value.width} ${q.value.height}`,
549
- style: "background:transparent",
550
- "aria-labelledby": Ut.value,
551
- "aria-describedby": Wt.value
552
- }, [
553
- h("title", { id: Ut.value }, C(Gt.value), 9, Le),
554
- h("desc", { id: Wt.value }, C(Kt.value), 9, Re),
555
- Ee(w(E)),
556
- e.$slots["chart-background"] ? (b(), m("foreignObject", {
557
- key: 0,
558
- x: 0,
559
- y: 0,
560
- width: q.value.width,
561
- height: q.value.height,
562
- style: { pointerEvents: "none" }
563
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, ze)) : p("", !0),
564
- h("defs", null, [h("clipPath", {
565
- id: `vueUiPill-${O.value}`,
566
- clipPathUnits: "userSpaceOnUse"
567
- }, [h("rect", {
568
- x: q.value.left,
569
- y: q.value.top,
570
- width: q.value.thermoWidth,
571
- height: q.value.thermoHeight,
572
- rx: q.value.thermoWidth / 2,
573
- ry: q.value.thermoWidth / 2
574
- }, null, 8, Ve)], 8, Be), (b(!0), m(u, null, ke(Mt.value, (e, n) => (b(), f(ye, {
575
- t: "linear",
576
- id: `vueUiThermometerGradient_${n}_${O.value}`,
577
- key: `t_${n}_${O.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
- w(t)(e.color, 100 - M.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
- h("g", { "clip-path": `url(#vueUiPill-${O.value})` }, [
601
- h("rect", {
602
- x: q.value.left,
603
- y: q.value.top,
604
- height: q.value.thermoHeight,
605
- width: q.value.thermoWidth,
606
- fill: "#FFFFFF"
607
- }, null, 8, Ue),
608
- (b(!0), m(u, null, ke(Mt.value, (e, t) => (b(), m("g", { key: `graduation_${t}` }, [
609
- h("rect", {
610
- x: e.x,
611
- y: e.y,
612
- height: e.height,
613
- width: q.value.thermoWidth,
614
- fill: M.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${O.value})` : e.color,
615
- "shape-rendering": "crispEdges"
616
- }, null, 8, We),
617
- M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (b(), m("line", {
618
- key: 0,
619
- x1: e.x,
620
- x2: e.x + 10,
621
- y1: e.y,
622
- y2: e.y,
623
- "stroke-width": M.value.style.chart.graduations.strokeWidth,
624
- stroke: M.value.style.chart.graduations.stroke,
625
- "stroke-linecap": "round"
626
- }, null, 8, Ge)) : p("", !0),
627
- M.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 1 }, [
628
- M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (b(), m("line", {
629
- key: 0,
630
- x1: e.x,
631
- x2: e.x + 5,
632
- y1: e.halfY,
633
- y2: e.halfY,
634
- "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
635
- stroke: M.value.style.chart.graduations.stroke,
636
- "stroke-linecap": "round"
637
- }, null, 8, Ke)) : p("", !0),
638
- M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (b(), m("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": M.value.style.chart.graduations.strokeWidth / 2,
645
- stroke: M.value.style.chart.graduations.stroke,
646
- "stroke-linecap": "round"
647
- }, null, 8, qe)) : p("", !0),
648
- M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (b(), m("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": M.value.style.chart.graduations.strokeWidth / 2,
655
- stroke: M.value.style.chart.graduations.stroke,
656
- "stroke-linecap": "round"
657
- }, null, 8, Je)) : p("", !0)
658
- ], 64)) : p("", !0),
659
- M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (b(), m("line", {
660
- key: 2,
661
- x1: q.value.right,
662
- x2: q.value.right - 10,
663
- y1: e.y,
664
- y2: e.y,
665
- "stroke-width": M.value.style.chart.graduations.strokeWidth,
666
- stroke: M.value.style.chart.graduations.stroke,
667
- "stroke-linecap": "round"
668
- }, null, 8, Ye)) : p("", !0),
669
- M.value.style.chart.graduations.showIntermediate ? (b(), m(u, { key: 3 }, [
670
- M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (b(), m("line", {
671
- key: 0,
672
- x1: q.value.right,
673
- x2: q.value.right - 5,
674
- y1: e.halfY,
675
- y2: e.halfY,
676
- "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
677
- stroke: M.value.style.chart.graduations.stroke,
678
- "stroke-linecap": "round"
679
- }, null, 8, Xe)) : p("", !0),
680
- M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (b(), m("line", {
681
- key: 1,
682
- x1: q.value.right,
683
- x2: q.value.right - 2.5,
684
- y1: e.qYLess,
685
- y2: e.qYLess,
686
- "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
687
- stroke: M.value.style.chart.graduations.stroke,
688
- "stroke-linecap": "round"
689
- }, null, 8, Ze)) : p("", !0),
690
- M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (b(), m("line", {
691
- key: 2,
692
- x1: q.value.right,
693
- x2: q.value.right - 2.5,
694
- y1: e.qYMore,
695
- y2: e.qYMore,
696
- "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
697
- stroke: M.value.style.chart.graduations.stroke,
698
- "stroke-linecap": "round"
699
- }, null, 8, Qe)) : p("", !0)
700
- ], 64)) : p("", !0)
701
- ]))), 128)),
702
- h("rect", {
703
- class: v({ "vue-ui-thermometer-temperature": M.value.style.chart.animation.use }),
704
- x: q.value.left,
705
- y: q.value.top,
706
- height: J.value,
707
- width: q.value.thermoWidth,
708
- fill: "#FFFFFF66"
709
- }, null, 10, $e)
710
- ], 8, He),
711
- M.value.style.chart.label.show ? (b(), m("g", {
712
- key: 1,
713
- role: "status",
714
- "aria-live": "polite",
715
- "aria-label": w(F) ? "Loading data" : $.value
716
- }, [w(F) ? (b(), m("rect", {
717
- key: 0,
718
- x: q.value.left - 60,
719
- y: J.value + q.value.top - Q.value / 2,
720
- width: 50,
721
- height: Q.value,
722
- fill: "#6A6A6A40",
723
- rx: "3"
724
- }, null, 8, tt)) : (b(), m("text", {
725
- key: 1,
726
- "aria-hidden": "true",
727
- class: v({
728
- "vue-ui-thermometer-temperature-value": M.value.style.chart.animation.use,
729
- "vue-ui-thermometer-label": !0
730
- }),
731
- y: J.value + q.value.top + Q.value / 3,
732
- x: q.value.left - 10,
733
- "text-anchor": "end",
734
- fill: M.value.style.chart.label.color,
735
- "font-size": Q.value,
736
- "font-weight": M.value.style.chart.label.bold ? "bold" : "normal"
737
- }, C($.value), 11, nt))], 8, et)) : p("", !0),
738
- S(e.$slots, "svg", { svg: {
739
- ...Dt.value,
740
- isPrintingImg: w(B) || w(V) || w(Rt),
741
- isPrintingSvg: w(zt)
742
- } }, void 0, !0)
743
- ], 10, Ie)),
744
- e.$slots.watermark ? (b(), m("div", rt, [S(e.$slots, "watermark", y(_({ isPrinting: w(B) || w(V) || w(Rt) || w(zt) })), void 0, !0)])) : p("", !0),
745
- e.$slots.source ? (b(), m("div", {
746
- key: 5,
747
- ref_key: "source",
748
- ref: mt,
749
- dir: "auto"
750
- }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
751
- S(e.$slots, "skeleton", {}, () => [w(F) ? (b(), f(de, { key: 0 })) : p("", !0)], !0)
752
- ], 46, Pe));
753
- }
754
- }, [["__scopeId", "data-v-3ce3d8f1"]]);
755
- //#endregion
756
- export { Ne as n, E as t };