vue-data-ui 3.22.13 → 3.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -0,0 +1,777 @@
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 ee, b as o, i as te, jt as ne, pt as re, q as ie, t as ae, tt as oe, w as se } from "./lib-BuMGJ_a0.js";
3
+ import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ue } from "./useConfig-BilxnBNr.js";
5
+ import { t as de } from "./usePrinter-BFvi4jVy.js";
6
+ import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as me } from "./useSvgExport-Ba9qBr9M.js";
8
+ import { t as s } from "./useNestedProp--NSEmhOH.js";
9
+ import { t as he } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as ge } from "./img-DIQG5q8T.js";
11
+ import { n as _e } from "./Title-BODtwViI.js";
12
+ import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as xe } from "./DefGrad-DVBqDjhO.js";
15
+ import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
16
+ import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
17
+ import { t as we } from "./usePrefersMotion-BC-CsqR1.js";
18
+ import { t as Te } from "./useAutoSizeLabelsInsideViewbox-DvDwcwi_.js";
19
+ import { t as Ee } from "./vue_ui_thermometer-DxgqWKlE.js";
20
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as De, createVNode as Oe, defineAsyncComponent as m, guardReactiveProps as h, nextTick as ke, normalizeClass as g, normalizeProps as _, normalizeStyle as Ae, onMounted as je, openBlock as v, ref as y, renderList as Me, renderSlot as b, toDisplayString as x, toRefs as Ne, unref as S, useCssVars as Pe, watch as Fe, withCtx as C } from "vue";
21
+ //#region src/components/vue-ui-thermometer.vue
22
+ var Ie = /* @__PURE__ */ e({ default: () => w }), Le = ["id"], Re = {
23
+ key: 1,
24
+ ref: "noTitle",
25
+ class: "vue-data-ui-no-title-space",
26
+ style: "height:36px; width: 100%;background:transparent"
27
+ }, ze = [
28
+ "xmlns",
29
+ "viewBox",
30
+ "aria-labelledby",
31
+ "aria-describedby"
32
+ ], Be = ["id"], Ve = ["id"], He = ["width", "height"], Ue = ["id"], We = [
33
+ "x",
34
+ "y",
35
+ "width",
36
+ "height",
37
+ "rx",
38
+ "ry"
39
+ ], Ge = ["clip-path"], Ke = [
40
+ "x",
41
+ "y",
42
+ "height",
43
+ "width"
44
+ ], qe = [
45
+ "x",
46
+ "y",
47
+ "height",
48
+ "width",
49
+ "fill"
50
+ ], Je = [
51
+ "x1",
52
+ "x2",
53
+ "y1",
54
+ "y2",
55
+ "stroke-width",
56
+ "stroke"
57
+ ], Ye = [
58
+ "x1",
59
+ "x2",
60
+ "y1",
61
+ "y2",
62
+ "stroke-width",
63
+ "stroke"
64
+ ], Xe = [
65
+ "x1",
66
+ "x2",
67
+ "y1",
68
+ "y2",
69
+ "stroke-width",
70
+ "stroke"
71
+ ], Ze = [
72
+ "x1",
73
+ "x2",
74
+ "y1",
75
+ "y2",
76
+ "stroke-width",
77
+ "stroke"
78
+ ], Qe = [
79
+ "x1",
80
+ "x2",
81
+ "y1",
82
+ "y2",
83
+ "stroke-width",
84
+ "stroke"
85
+ ], $e = [
86
+ "x1",
87
+ "x2",
88
+ "y1",
89
+ "y2",
90
+ "stroke-width",
91
+ "stroke"
92
+ ], et = [
93
+ "x1",
94
+ "x2",
95
+ "y1",
96
+ "y2",
97
+ "stroke-width",
98
+ "stroke"
99
+ ], tt = [
100
+ "x1",
101
+ "x2",
102
+ "y1",
103
+ "y2",
104
+ "stroke-width",
105
+ "stroke"
106
+ ], nt = [
107
+ "x",
108
+ "y",
109
+ "height",
110
+ "width"
111
+ ], rt = ["aria-label"], it = [
112
+ "x",
113
+ "y",
114
+ "height"
115
+ ], at = [
116
+ "y",
117
+ "x",
118
+ "fill",
119
+ "font-size",
120
+ "font-weight"
121
+ ], ot = {
122
+ key: 4,
123
+ class: "vue-data-ui-watermark"
124
+ }, w = /*#__PURE__*/ ve({
125
+ __name: "vue-ui-thermometer",
126
+ props: {
127
+ dataset: {
128
+ type: Object,
129
+ default() {
130
+ return {};
131
+ }
132
+ },
133
+ config: {
134
+ type: Object,
135
+ default() {
136
+ return {};
137
+ }
138
+ }
139
+ },
140
+ emits: ["copyAlt"],
141
+ setup(e, { expose: ve, emit: Ie }) {
142
+ Pe((e) => ({
143
+ dc63f536: Nt.value,
144
+ d6d7a06e: Mt.value,
145
+ v67cd22f6: jt.value
146
+ }));
147
+ let w = m(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), st = m(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), ct = m(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), { vue_ui_thermometer: lt } = ue(), { isThemeValid: ut, warnInvalidTheme: dt } = he(), ft = we(), T = e, pt = Ie, E = y(ie()), D = y(null), mt = y(0), ht = y(0), gt = y(null), _t = y(null), O = y(null), k = y(null), A = y(!1), j = y(!1), vt = l(() => !!T.dataset && Object.keys(T.dataset).length);
148
+ je(() => {
149
+ Ct();
150
+ });
151
+ let M = y(z());
152
+ ce({
153
+ config: () => M.value,
154
+ dataset: () => T.dataset,
155
+ component: "VueUiThermometer",
156
+ rules: [le.noHint]
157
+ });
158
+ let yt = y(M.value.style.chart.thermometer.width), N = y(M.value.style.chart.height), P = y(M.value.style.chart.width), bt = l(() => M.value.userOptions.useCursorPointer), xt = l(() => 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 } = fe({
169
+ ...Ne(T),
170
+ FINAL_CONFIG: M,
171
+ prepareConfig: z,
172
+ skeletonDataset: T.config?.skeletonDataset ?? {
173
+ value: 0,
174
+ from: -100,
175
+ to: 100,
176
+ steps: 20,
177
+ colors: {
178
+ from: "#A1A1A1",
179
+ to: "#CACACA"
180
+ }
181
+ },
182
+ skeletonConfig: n({
183
+ defaultConfig: M.value,
184
+ userConfig: xt.value
185
+ })
186
+ }), St = l(() => !!M.value.debug);
187
+ function Ct() {
188
+ if (ne(T.dataset) ? oe({
189
+ componentName: "VueUiThermometer",
190
+ type: "dataset",
191
+ debug: St.value
192
+ }) : re({
193
+ datasetObject: T.dataset,
194
+ requiredAttributes: [
195
+ "value",
196
+ "from",
197
+ "to"
198
+ ]
199
+ }).forEach((e) => {
200
+ oe({
201
+ componentName: "VueUiThermometer",
202
+ type: "datasetAttribute",
203
+ property: e,
204
+ debug: St.value
205
+ });
206
+ }), M.value.responsive) {
207
+ let e = ye(() => {
208
+ let { width: e, height: t } = be({
209
+ chart: D.value,
210
+ title: M.value.style.title.text ? gt.value : null,
211
+ source: _t.value
212
+ });
213
+ requestAnimationFrame(() => {
214
+ N.value = Math.max(.1, t - 12), P.value = e, Rt();
215
+ });
216
+ });
217
+ O.value && (k.value && O.value.unobserve(k.value), O.value.disconnect()), O.value = new ResizeObserver(e), k.value = D.value, O.value.observe(k.value);
218
+ }
219
+ Rt();
220
+ }
221
+ let { userOptionsVisible: L, setUserOptionsVisibility: wt, keepUserOptionState: Tt } = Se({ config: M.value }), { svgRef: R } = Ce({ config: M.value.style.title });
222
+ function z() {
223
+ let e = s({
224
+ userConfig: T.config,
225
+ defaultConfig: lt
226
+ }), t = e.theme;
227
+ if (!t) return e;
228
+ if (!ut.value(e)) return dt(e), e;
229
+ let n = s({
230
+ userConfig: Ee[t] || T.config,
231
+ defaultConfig: e
232
+ }), a = s({
233
+ userConfig: T.config,
234
+ defaultConfig: n
235
+ });
236
+ return {
237
+ ...a,
238
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || i
239
+ };
240
+ }
241
+ Fe(() => T.config, (e) => {
242
+ M.value = z(), L.value = !M.value.userOptions.showOnChartHover, yt.value = M.value.style.chart.thermometer.width, N.value = M.value.style.chart.height, P.value = M.value.style.chart.width, Ct(), ht.value += 1;
243
+ }, { deep: !0 });
244
+ let { isPrinting: B, isImaging: V, generatePdf: Et, generateImage: Dt } = de({
245
+ elementId: `thermometer__${E.value}`,
246
+ fileName: M.value.style.title.text || "vue-ui-thermometer",
247
+ options: M.value.userOptions.print
248
+ }), Ot = l(() => M.value.userOptions.show && !M.value.style.title.text), H = l(() => se(M.value.customPalette)), U = l(() => I.value.steps || 10);
249
+ function W(e, t, n) {
250
+ let r = [], i = kt(e), a = kt(t);
251
+ for (let e = 0; e < n; e += 1) {
252
+ let t = G(i.red, a.red, e, n), ee = G(i.green, a.green, e, n), o = G(i.blue, a.blue, e, n), te = `#${K(t)}${K(ee)}${K(o)}`;
253
+ r.push(te);
254
+ }
255
+ return r;
256
+ }
257
+ function kt(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 = l(() => {
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
+ }), At = l(() => q.value), J = l(() => {
284
+ let e = o(I.value.from) < 0 ? Math.abs(o(I.value.from)) : o(I.value.from), t = o(I.value.to) < 0 ? Math.abs(o(I.value.to)) : o(I.value.to), n = 0;
285
+ return n = o(I.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(o(I.value.from)) + o(I.value.value)) / n) * q.value.thermoHeight;
286
+ }), jt = l(() => `${J.value}px`), Mt = l(() => `${q.value.thermoHeight}px`), Nt = l(() => ft.value ? "0ms" : `${M.value.style.chart.animation.speedMs}ms`), Pt = l(() => {
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
+ }), Ft = l(() => {
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: Pt.value[t],
301
+ height: Math.max(.1, n / U.value)
302
+ }), t += 1;
303
+ return e;
304
+ }), Y = y(!1);
305
+ function It(e) {
306
+ Y.value = e, mt.value += 1;
307
+ }
308
+ let X = y(!1);
309
+ function Z() {
310
+ X.value = !X.value;
311
+ }
312
+ async function Lt({ scale: e = 2 } = {}) {
313
+ if (!D.value) return;
314
+ let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ge({
315
+ domElement: D.value,
316
+ base64: !0,
317
+ img: !0,
318
+ scale: e
319
+ });
320
+ return {
321
+ imageUri: i,
322
+ base64: a,
323
+ title: M.value.style.title.text,
324
+ width: t,
325
+ height: n,
326
+ aspectRatio: r
327
+ };
328
+ }
329
+ let Q = l({
330
+ get: () => M.value.style.chart.label.fontSize,
331
+ set: (e) => e
332
+ }), { autoSizeLabels: Rt } = Te({
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
+ }), zt = l(() => M.value.style.chart.backgroundColor), { exportSvg: Bt, getSvg: Vt } = me({
339
+ svg: R,
340
+ title: l(() => M.value.style.title),
341
+ backgroundColor: zt
342
+ });
343
+ async function Ht({ isCb: e }) {
344
+ j.value = !0, await ke();
345
+ try {
346
+ if (e) {
347
+ let { blob: e, url: t, text: n, dataUrl: r } = await Vt();
348
+ await Promise.resolve(M.value.userOptions.callbacks.svg({
349
+ blob: e,
350
+ url: t,
351
+ text: n,
352
+ dataUrl: r
353
+ }));
354
+ } else await Promise.resolve(Bt());
355
+ } finally {
356
+ j.value = !1;
357
+ }
358
+ }
359
+ function Ut(e) {
360
+ if (e?.stage === "start") {
361
+ A.value = !0;
362
+ return;
363
+ }
364
+ if (e?.stage === "end") {
365
+ A.value = !1;
366
+ return;
367
+ }
368
+ Dt();
369
+ }
370
+ async function Wt() {
371
+ if (pt("copyAlt", {
372
+ config: M.value,
373
+ dataset: I.value
374
+ }), !M.value.userOptions.callbacks.altCopy) {
375
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
376
+ return;
377
+ }
378
+ await Promise.resolve(M.value.userOptions.callbacks.altCopy({
379
+ config: M.value,
380
+ dataset: I.value
381
+ }));
382
+ }
383
+ let Gt = l(() => `${E.value}-title`), Kt = l(() => `${E.value}-desc`), $ = l(() => te(M.value.style.chart.label.formatter, I.value.value, ee({
384
+ p: M.value.style.chart.label.prefix,
385
+ v: I.value.value,
386
+ s: M.value.style.chart.label.suffix,
387
+ r: M.value.style.chart.label.rounding
388
+ }), { datapoint: I.value })), qt = l(() => M.value.style.title.text || ""), Jt = l(() => {
389
+ if (F.value) return "...";
390
+ let e = o(I.value.from), t = o(I.value.to);
391
+ return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
392
+ });
393
+ return ve({
394
+ getImage: Lt,
395
+ generatePdf: Et,
396
+ generateImage: Dt,
397
+ generateSvg: Ht,
398
+ toggleAnnotator: Z,
399
+ toggleFullscreen: It,
400
+ copyAlt: Wt
401
+ }), (e, n) => (v(), f("div", {
402
+ ref_key: "thermoChart",
403
+ ref: D,
404
+ class: g(`vue-data-ui-component vue-ui-thermometer ${Y.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
405
+ style: Ae(`width:100%;background:${M.value.style.chart.backgroundColor};color:${M.value.style.chart.color};font-family:${M.value.style.fontFamily}`),
406
+ id: `thermometer__${E.value}`,
407
+ onMouseenter: n[0] ||= () => S(wt)(!0),
408
+ onMouseleave: n[1] ||= () => S(wt)(!1)
409
+ }, [
410
+ M.value.userOptions.buttons.annotator ? (v(), u(S(st), {
411
+ key: 0,
412
+ svgRef: S(R),
413
+ backgroundColor: M.value.style.chart.backgroundColor,
414
+ color: M.value.style.chart.color,
415
+ active: X.value,
416
+ isCursorPointer: bt.value,
417
+ onClose: Z
418
+ }, {
419
+ "annotator-action-close": C(() => [b(e.$slots, "annotator-action-close", {}, void 0, !0)]),
420
+ "annotator-action-color": C(({ color: t }) => [b(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
421
+ "annotator-action-draw": C(({ mode: t }) => [b(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
422
+ "annotator-action-undo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
423
+ "annotator-action-redo": C(({ disabled: t }) => [b(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
424
+ "annotator-action-delete": C(({ disabled: t }) => [b(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
425
+ _: 3
426
+ }, 8, [
427
+ "svgRef",
428
+ "backgroundColor",
429
+ "color",
430
+ "active",
431
+ "isCursorPointer"
432
+ ])) : d("", !0),
433
+ Ot.value ? (v(), f("div", Re, null, 512)) : d("", !0),
434
+ M.value.style.title.text ? (v(), f("div", {
435
+ key: 2,
436
+ ref_key: "chartTitle",
437
+ ref: gt,
438
+ style: "width:100%"
439
+ }, [(v(), u(_e, {
440
+ key: `title_${ht.value}`,
441
+ config: {
442
+ title: {
443
+ cy: "thermometer-div-title",
444
+ ...M.value.style.title
445
+ },
446
+ subtitle: {
447
+ cy: "thermometer-div-subtitle",
448
+ ...M.value.style.title.subtitle
449
+ }
450
+ }
451
+ }, null, 8, ["config"]))], 512)) : d("", !0),
452
+ M.value.userOptions.show && vt.value && (S(Tt) || S(L)) ? (v(), u(S(ct), {
453
+ ref: "details",
454
+ key: `user_options_${mt.value}`,
455
+ backgroundColor: M.value.style.chart.backgroundColor,
456
+ color: M.value.style.chart.color,
457
+ isImaging: S(V),
458
+ isPrinting: S(B),
459
+ uid: E.value,
460
+ hasPdf: M.value.userOptions.buttons.pdf,
461
+ hasImg: M.value.userOptions.buttons.img,
462
+ hasSvg: M.value.userOptions.buttons.svg,
463
+ hasFullscreen: M.value.userOptions.buttons.fullscreen,
464
+ hasAltCopy: M.value.userOptions.buttons.altCopy,
465
+ hasXls: !1,
466
+ isFullscreen: Y.value,
467
+ titles: { ...M.value.userOptions.buttonTitles },
468
+ chartElement: D.value,
469
+ position: M.value.userOptions.position,
470
+ hasAnnotator: M.value.userOptions.buttons.annotator,
471
+ isAnnotation: X.value,
472
+ callbacks: M.value.userOptions.callbacks,
473
+ printScale: M.value.userOptions.print.scale,
474
+ isCursorPointer: bt.value,
475
+ onToggleFullscreen: It,
476
+ onGeneratePdf: S(Et),
477
+ onGenerateImage: Ut,
478
+ onGenerateSvg: Ht,
479
+ onToggleAnnotator: Z,
480
+ onCopyAlt: Wt,
481
+ style: Ae({ visibility: S(Tt) ? S(L) ? "visible" : "hidden" : "visible" })
482
+ }, De({ _: 2 }, [
483
+ e.$slots.menuIcon ? {
484
+ name: "menuIcon",
485
+ fn: C(({ isOpen: t, color: n }) => [b(e.$slots, "menuIcon", _(h({
486
+ isOpen: t,
487
+ color: n
488
+ })), void 0, !0)]),
489
+ key: "0"
490
+ } : void 0,
491
+ e.$slots.optionPdf ? {
492
+ name: "optionPdf",
493
+ fn: C(() => [b(e.$slots, "optionPdf", {}, void 0, !0)]),
494
+ key: "1"
495
+ } : void 0,
496
+ e.$slots.optionImg ? {
497
+ name: "optionImg",
498
+ fn: C(() => [b(e.$slots, "optionImg", {}, void 0, !0)]),
499
+ key: "2"
500
+ } : void 0,
501
+ e.$slots.optionSvg ? {
502
+ name: "optionSvg",
503
+ fn: C(() => [b(e.$slots, "optionSvg", {}, void 0, !0)]),
504
+ key: "3"
505
+ } : void 0,
506
+ e.$slots.optionFullscreen ? {
507
+ name: "optionFullscreen",
508
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [b(e.$slots, "optionFullscreen", _(h({
509
+ toggleFullscreen: t,
510
+ isFullscreen: n
511
+ })), void 0, !0)]),
512
+ key: "4"
513
+ } : void 0,
514
+ e.$slots.optionAnnotator ? {
515
+ name: "optionAnnotator",
516
+ fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [b(e.$slots, "optionAnnotator", _(h({
517
+ toggleAnnotator: t,
518
+ isAnnotator: n
519
+ })), void 0, !0)]),
520
+ key: "5"
521
+ } : void 0,
522
+ e.$slots.optionAltCopy ? {
523
+ name: "optionAltCopy",
524
+ fn: C(({ altCopy: t }) => [b(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
525
+ key: "6"
526
+ } : void 0,
527
+ e.$slots["custom-menu-before"] ? {
528
+ name: "custom-menu-before",
529
+ fn: C(() => [b(e.$slots, "custom-menu-before", {}, void 0, !0)]),
530
+ key: "7"
531
+ } : void 0,
532
+ e.$slots["custom-menu-after"] ? {
533
+ name: "custom-menu-after",
534
+ fn: C(() => [b(e.$slots, "custom-menu-after", {}, void 0, !0)]),
535
+ key: "8"
536
+ } : void 0
537
+ ]), 1032, [
538
+ "backgroundColor",
539
+ "color",
540
+ "isImaging",
541
+ "isPrinting",
542
+ "uid",
543
+ "hasPdf",
544
+ "hasImg",
545
+ "hasSvg",
546
+ "hasFullscreen",
547
+ "hasAltCopy",
548
+ "isFullscreen",
549
+ "titles",
550
+ "chartElement",
551
+ "position",
552
+ "hasAnnotator",
553
+ "isAnnotation",
554
+ "callbacks",
555
+ "printScale",
556
+ "isCursorPointer",
557
+ "onGeneratePdf",
558
+ "style"
559
+ ])) : d("", !0),
560
+ (v(), f("svg", {
561
+ ref_key: "svgRef",
562
+ ref: R,
563
+ xmlns: S(ae),
564
+ class: g({
565
+ "vue-data-ui-fullscreen--on": Y.value,
566
+ "vue-data-ui-fulscreen--off": !Y.value
567
+ }),
568
+ width: "100%",
569
+ viewBox: `0 0 ${q.value.width} ${q.value.height}`,
570
+ style: "background:transparent",
571
+ "aria-labelledby": Gt.value,
572
+ "aria-describedby": Kt.value
573
+ }, [
574
+ p("title", { id: Gt.value }, x(qt.value), 9, Be),
575
+ p("desc", { id: Kt.value }, x(Jt.value), 9, Ve),
576
+ Oe(S(w)),
577
+ e.$slots["chart-background"] ? (v(), f("foreignObject", {
578
+ key: 0,
579
+ x: 0,
580
+ y: 0,
581
+ width: q.value.width,
582
+ height: q.value.height,
583
+ style: { pointerEvents: "none" }
584
+ }, [b(e.$slots, "chart-background", {}, void 0, !0)], 8, He)) : d("", !0),
585
+ p("defs", null, [p("clipPath", {
586
+ id: `vueUiPill-${E.value}`,
587
+ clipPathUnits: "userSpaceOnUse"
588
+ }, [p("rect", {
589
+ x: q.value.left,
590
+ y: q.value.top,
591
+ width: q.value.thermoWidth,
592
+ height: q.value.thermoHeight,
593
+ rx: q.value.thermoWidth / 2,
594
+ ry: q.value.thermoWidth / 2
595
+ }, null, 8, We)], 8, Ue), (v(!0), f(c, null, Me(Ft.value, (e, n) => (v(), u(xe, {
596
+ t: "linear",
597
+ id: `vueUiThermometerGradient_${n}_${E.value}`,
598
+ key: `t_${n}_${E.value}`,
599
+ x1: "0%",
600
+ y1: "0%",
601
+ x2: "100%",
602
+ y2: "0%",
603
+ stops: [
604
+ [
605
+ "0%",
606
+ e.color,
607
+ 1
608
+ ],
609
+ [
610
+ "50%",
611
+ S(t)(e.color, 100 - M.value.style.chart.graduations.gradient.intensity),
612
+ 1
613
+ ],
614
+ [
615
+ "100%",
616
+ e.color,
617
+ 1
618
+ ]
619
+ ]
620
+ }, null, 8, ["id", "stops"]))), 128))]),
621
+ p("g", { "clip-path": `url(#vueUiPill-${E.value})` }, [
622
+ p("rect", {
623
+ x: q.value.left,
624
+ y: q.value.top,
625
+ height: q.value.thermoHeight,
626
+ width: q.value.thermoWidth,
627
+ fill: "#FFFFFF"
628
+ }, null, 8, Ke),
629
+ (v(!0), f(c, null, Me(Ft.value, (e, t) => (v(), f("g", { key: `graduation_${t}` }, [
630
+ p("rect", {
631
+ x: e.x,
632
+ y: e.y,
633
+ height: e.height,
634
+ width: q.value.thermoWidth,
635
+ fill: M.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${E.value})` : e.color,
636
+ "shape-rendering": "crispEdges"
637
+ }, null, 8, qe),
638
+ M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
639
+ key: 0,
640
+ x1: e.x,
641
+ x2: e.x + 10,
642
+ y1: e.y,
643
+ y2: e.y,
644
+ "stroke-width": M.value.style.chart.graduations.strokeWidth,
645
+ stroke: M.value.style.chart.graduations.stroke,
646
+ "stroke-linecap": "round"
647
+ }, null, 8, Je)) : d("", !0),
648
+ M.value.style.chart.graduations.showIntermediate ? (v(), f(c, { key: 1 }, [
649
+ M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
650
+ key: 0,
651
+ x1: e.x,
652
+ x2: e.x + 5,
653
+ y1: e.halfY,
654
+ y2: e.halfY,
655
+ "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
656
+ stroke: M.value.style.chart.graduations.stroke,
657
+ "stroke-linecap": "round"
658
+ }, null, 8, Ye)) : d("", !0),
659
+ M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
660
+ key: 1,
661
+ x1: e.x,
662
+ x2: e.x + 2.5,
663
+ y1: e.qYLess,
664
+ y2: e.qYLess,
665
+ "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
666
+ stroke: M.value.style.chart.graduations.stroke,
667
+ "stroke-linecap": "round"
668
+ }, null, 8, Xe)) : d("", !0),
669
+ M.value.style.chart.graduations.show && ["both", "left"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
670
+ key: 2,
671
+ x1: e.x,
672
+ x2: e.x + 2.5,
673
+ y1: e.qYMore,
674
+ y2: e.qYMore,
675
+ "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
676
+ stroke: M.value.style.chart.graduations.stroke,
677
+ "stroke-linecap": "round"
678
+ }, null, 8, Ze)) : d("", !0)
679
+ ], 64)) : d("", !0),
680
+ M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
681
+ key: 2,
682
+ x1: q.value.right,
683
+ x2: q.value.right - 10,
684
+ y1: e.y,
685
+ y2: e.y,
686
+ "stroke-width": M.value.style.chart.graduations.strokeWidth,
687
+ stroke: M.value.style.chart.graduations.stroke,
688
+ "stroke-linecap": "round"
689
+ }, null, 8, Qe)) : d("", !0),
690
+ M.value.style.chart.graduations.showIntermediate ? (v(), f(c, { key: 3 }, [
691
+ M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
692
+ key: 0,
693
+ x1: q.value.right,
694
+ x2: q.value.right - 5,
695
+ y1: e.halfY,
696
+ y2: e.halfY,
697
+ "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
698
+ stroke: M.value.style.chart.graduations.stroke,
699
+ "stroke-linecap": "round"
700
+ }, null, 8, $e)) : d("", !0),
701
+ M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
702
+ key: 1,
703
+ x1: q.value.right,
704
+ x2: q.value.right - 2.5,
705
+ y1: e.qYLess,
706
+ y2: e.qYLess,
707
+ "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
708
+ stroke: M.value.style.chart.graduations.stroke,
709
+ "stroke-linecap": "round"
710
+ }, null, 8, et)) : d("", !0),
711
+ M.value.style.chart.graduations.show && ["both", "right"].includes(M.value.style.chart.graduations.sides) ? (v(), f("line", {
712
+ key: 2,
713
+ x1: q.value.right,
714
+ x2: q.value.right - 2.5,
715
+ y1: e.qYMore,
716
+ y2: e.qYMore,
717
+ "stroke-width": M.value.style.chart.graduations.strokeWidth / 2,
718
+ stroke: M.value.style.chart.graduations.stroke,
719
+ "stroke-linecap": "round"
720
+ }, null, 8, tt)) : d("", !0)
721
+ ], 64)) : d("", !0)
722
+ ]))), 128)),
723
+ p("rect", {
724
+ class: g({ "vue-ui-thermometer-temperature": M.value.style.chart.animation.use }),
725
+ x: q.value.left,
726
+ y: q.value.top,
727
+ height: J.value,
728
+ width: q.value.thermoWidth,
729
+ fill: "#FFFFFF66"
730
+ }, null, 10, nt)
731
+ ], 8, Ge),
732
+ M.value.style.chart.label.show ? (v(), f("g", {
733
+ key: 1,
734
+ role: "status",
735
+ "aria-live": "polite",
736
+ "aria-label": S(F) ? "Loading data" : $.value
737
+ }, [S(F) ? (v(), f("rect", {
738
+ key: 0,
739
+ x: q.value.left - 60,
740
+ y: J.value + q.value.top - Q.value / 2,
741
+ width: 50,
742
+ height: Q.value,
743
+ fill: "#6A6A6A40",
744
+ rx: "3"
745
+ }, null, 8, it)) : (v(), f("text", {
746
+ key: 1,
747
+ "aria-hidden": "true",
748
+ class: g({
749
+ "vue-ui-thermometer-temperature-value": M.value.style.chart.animation.use,
750
+ "vue-ui-thermometer-label": !0
751
+ }),
752
+ y: J.value + q.value.top + Q.value / 3,
753
+ x: q.value.left - 10,
754
+ "text-anchor": "end",
755
+ fill: M.value.style.chart.label.color,
756
+ "font-size": Q.value,
757
+ "font-weight": M.value.style.chart.label.bold ? "bold" : "normal"
758
+ }, x($.value), 11, at))], 8, rt)) : d("", !0),
759
+ b(e.$slots, "svg", { svg: {
760
+ ...At.value,
761
+ isPrintingImg: S(B) || S(V) || A.value,
762
+ isPrintingSvg: j.value
763
+ } }, void 0, !0)
764
+ ], 10, ze)),
765
+ e.$slots.watermark ? (v(), f("div", ot, [b(e.$slots, "watermark", _(h({ isPrinting: S(B) || S(V) || A.value || j.value })), void 0, !0)])) : d("", !0),
766
+ e.$slots.source ? (v(), f("div", {
767
+ key: 5,
768
+ ref_key: "source",
769
+ ref: _t,
770
+ dir: "auto"
771
+ }, [b(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
772
+ b(e.$slots, "skeleton", {}, () => [S(F) ? (v(), u(pe, { key: 0 })) : d("", !0)], !0)
773
+ ], 46, Le));
774
+ }
775
+ }, [["__scopeId", "data-v-9308a291"]]);
776
+ //#endregion
777
+ export { Ie as n, w as t };