vue-data-ui 3.25.5 → 3.25.7

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 (210) hide show
  1. package/dist/{BaseDraggableDialog-BM_R41j8.js → BaseDraggableDialog-Gm4Q30j0.js} +1 -1
  2. package/dist/{BaseIcon-t83PDe9k.js → BaseIcon-D8R6_sKH.js} +5 -5
  3. package/dist/{BaseLegendToggle-__JnV08B.js → BaseLegendToggle-CXQrLjd-.js} +1 -1
  4. package/dist/{BaseZoomControls-Xo16vFa4.js → BaseZoomControls-BTzjVDPM.js} +1 -1
  5. package/dist/{ColorPicker-Bn3MY7eL.js → ColorPicker-CUy15T72.js} +1 -1
  6. package/dist/{DataTable-COIO9gi4.js → DataTable-oiM9uWrQ.js} +1 -1
  7. package/dist/{HillActions-Cl-dNBZR.js → HillActions-Dn8aKOVJ.js} +1 -1
  8. package/dist/{NonSvgPenAndPaper-KXRhcsxM.js → NonSvgPenAndPaper-DFXjpRyl.js} +2 -2
  9. package/dist/{PackageVersion-M2Ws-VwJ.js → PackageVersion-UfoQuPMf.js} +1 -1
  10. package/dist/{PenAndPaper-BgH3m_LP.js → PenAndPaper-KFzKlvbi.js} +2 -2
  11. package/dist/{SlicerPreview-GvsdvE-h.js → SlicerPreview-B6iHOC9L.js} +1 -1
  12. package/dist/{UserOptions-f3Q0nqrj.js → UserOptions-2x4VklMW.js} +1 -1
  13. package/dist/components/vue-ui-3d-bar.js +1 -1
  14. package/dist/components/vue-ui-accordion.js +1 -1
  15. package/dist/components/vue-ui-age-pyramid.js +1 -1
  16. package/dist/components/vue-ui-annotator.js +1 -1
  17. package/dist/components/vue-ui-bullet.js +1 -1
  18. package/dist/components/vue-ui-bump.js +1 -1
  19. package/dist/components/vue-ui-candlestick.js +1 -1
  20. package/dist/components/vue-ui-carousel-table.js +1 -1
  21. package/dist/components/vue-ui-chestnut.js +1 -1
  22. package/dist/components/vue-ui-chord.js +1 -1
  23. package/dist/components/vue-ui-circle-pack.js +1 -1
  24. package/dist/components/vue-ui-cursor.js +1 -1
  25. package/dist/components/vue-ui-dag.js +1 -1
  26. package/dist/components/vue-ui-dashboard.js +1 -1
  27. package/dist/components/vue-ui-digits.js +1 -1
  28. package/dist/components/vue-ui-donut-evolution.js +1 -1
  29. package/dist/components/vue-ui-donut.js +1 -1
  30. package/dist/components/vue-ui-dumbbell.js +1 -1
  31. package/dist/components/vue-ui-flow.js +1 -1
  32. package/dist/components/vue-ui-funnel.js +1 -1
  33. package/dist/components/vue-ui-galaxy.js +1 -1
  34. package/dist/components/vue-ui-gauge.js +1 -1
  35. package/dist/components/vue-ui-geo.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-hill.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-label.js +1 -1
  44. package/dist/components/vue-ui-mini-loader.js +1 -1
  45. package/dist/components/vue-ui-molecule.js +1 -1
  46. package/dist/components/vue-ui-mood-radar.js +1 -1
  47. package/dist/components/vue-ui-nested-donuts.js +1 -1
  48. package/dist/components/vue-ui-onion.js +1 -1
  49. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  50. package/dist/components/vue-ui-quadrant.js +1 -1
  51. package/dist/components/vue-ui-quick-chart.js +1 -1
  52. package/dist/components/vue-ui-radar.js +1 -1
  53. package/dist/components/vue-ui-rating.js +1 -1
  54. package/dist/components/vue-ui-relation-circle.js +1 -1
  55. package/dist/components/vue-ui-ridgeline.js +1 -1
  56. package/dist/components/vue-ui-rings.js +1 -1
  57. package/dist/components/vue-ui-scatter.js +1 -1
  58. package/dist/components/vue-ui-skeleton.js +1 -1
  59. package/dist/components/vue-ui-smiley.js +1 -1
  60. package/dist/components/vue-ui-spark-trend.js +1 -1
  61. package/dist/components/vue-ui-sparkbar.js +1 -1
  62. package/dist/components/vue-ui-sparkgauge.js +1 -1
  63. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  64. package/dist/components/vue-ui-sparkline.js +1 -1
  65. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  66. package/dist/components/vue-ui-stackbar.js +1 -1
  67. package/dist/components/vue-ui-stackline.js +1 -1
  68. package/dist/components/vue-ui-strip-plot.js +1 -1
  69. package/dist/components/vue-ui-table-heatmap.js +1 -1
  70. package/dist/components/vue-ui-table-sparkline.js +1 -1
  71. package/dist/components/vue-ui-table.js +1 -1
  72. package/dist/components/vue-ui-thermometer.js +1 -1
  73. package/dist/components/vue-ui-timer.js +1 -1
  74. package/dist/components/vue-ui-tiremarks.js +1 -1
  75. package/dist/components/vue-ui-treemap.js +1 -1
  76. package/dist/components/vue-ui-vertical-bar.js +1 -1
  77. package/dist/components/vue-ui-waffle.js +1 -1
  78. package/dist/components/vue-ui-wheel.js +1 -1
  79. package/dist/components/vue-ui-word-cloud.js +1 -1
  80. package/dist/components/vue-ui-world.js +1 -1
  81. package/dist/components/vue-ui-xy-canvas.js +1 -1
  82. package/dist/components/vue-ui-xy.js +1 -1
  83. package/dist/{package-ta2JoIjx.js → package-B-3S5q00.js} +1 -1
  84. package/dist/{render-common-bvOuxfN3.js → render-common-CAXK7ycr.js} +1 -1
  85. package/dist/ssr/vue-ui-donut.js +1 -1
  86. package/dist/ssr/vue-ui-xy.js +1 -1
  87. package/dist/ssr.js +2 -2
  88. package/dist/style.css +1 -1
  89. package/dist/types/vue-data-ui.d.ts +10 -0
  90. package/dist/{useConfig-C_mX5pOZ.js → useConfig-CIQZ6_r7.js} +11 -1
  91. package/dist/{useObjectBindings-uXpBcVyo.js → useObjectBindings---mHNfbS.js} +2 -2
  92. package/dist/utils.js +1 -1
  93. package/dist/{vue-data-ui-BjdCpsRV.js → vue-data-ui-DlWT702n.js} +70 -70
  94. package/dist/vue-data-ui.js +71 -71
  95. package/dist/vue-ui-3d-bar-DbOk2kpM.js +1831 -0
  96. package/dist/{vue-ui-accordion-DRf3NQyH.js → vue-ui-accordion-BSmBUjwZ.js} +2 -2
  97. package/dist/vue-ui-age-pyramid-C7_mGIRk.js +1293 -0
  98. package/dist/{vue-ui-annotator-DZ0O8Xa5.js → vue-ui-annotator-CTQHAPho.js} +676 -676
  99. package/dist/vue-ui-bullet-CDy_dkYz.js +702 -0
  100. package/dist/{vue-ui-bump-DoHnD1Xy.js → vue-ui-bump-DP24leiD.js} +380 -380
  101. package/dist/vue-ui-candlestick-kJLmYaR7.js +1859 -0
  102. package/dist/{vue-ui-carousel-table-k1cBJ1i1.js → vue-ui-carousel-table-BQzAQDw6.js} +2 -2
  103. package/dist/vue-ui-chestnut-DnnRp3Kl.js +2016 -0
  104. package/dist/vue-ui-chord-DO15ZDCS.js +1347 -0
  105. package/dist/vue-ui-circle-pack-DYTllMPV.js +1635 -0
  106. package/dist/{vue-ui-cursor-CQWLyEx0.js → vue-ui-cursor-CtViSjNp.js} +2 -2
  107. package/dist/{vue-ui-dag-BqlsutMj.js → vue-ui-dag-NXtGYzqg.js} +792 -792
  108. package/dist/{vue-ui-dashboard-Be3MmkgS.js → vue-ui-dashboard-D3_4QohV.js} +67 -67
  109. package/dist/{vue-ui-digits-BqdfbcKX.js → vue-ui-digits-CB09pLQx.js} +2 -2
  110. package/dist/vue-ui-donut-evolution-DhrtxvAd.js +1552 -0
  111. package/dist/{vue-ui-donut-gzGZ42uH.js → vue-ui-donut-eysaEyTy.js} +2 -2
  112. package/dist/vue-ui-donut-yTE6D8yV.js +2415 -0
  113. package/dist/vue-ui-dumbbell-CmGIeULQ.js +1533 -0
  114. package/dist/vue-ui-flow-qYAq3Rmn.js +1217 -0
  115. package/dist/vue-ui-funnel-CLAii4wi.js +749 -0
  116. package/dist/vue-ui-galaxy-BVX-o2f-.js +1085 -0
  117. package/dist/vue-ui-gauge-D76-4Z_0.js +934 -0
  118. package/dist/{vue-ui-geo-Ca8kPYr-.js → vue-ui-geo-BQ7-UnuG.js} +429 -429
  119. package/dist/{vue-ui-gizmo-wUqHJICb.js → vue-ui-gizmo-C47zjcs-.js} +2 -2
  120. package/dist/vue-ui-heatmap-XJef60IZ.js +1558 -0
  121. package/dist/{vue-ui-hill-D6Y9Xy2K.js → vue-ui-hill-D5BYGPXB.js} +470 -470
  122. package/dist/vue-ui-history-plot-D-d-1ZiM.js +1698 -0
  123. package/dist/{vue-ui-horizontal-bar-3on3-H3B.js → vue-ui-horizontal-bar-BgFHi6_7.js} +511 -511
  124. package/dist/{vue-ui-kpi-CUpRRIUf.js → vue-ui-kpi-Cb8QJeaj.js} +2 -2
  125. package/dist/{vue-ui-label-DR2qUZOG.js → vue-ui-label-ClMQ5Gez.js} +1 -1
  126. package/dist/{vue-ui-mini-loader-D8W-fERs.js → vue-ui-mini-loader-DtPOVIkK.js} +1 -1
  127. package/dist/vue-ui-molecule-BzwMl-in.js +929 -0
  128. package/dist/{vue-ui-mood-radar-TW251icr.js → vue-ui-mood-radar-BUR_YCcr.js} +376 -376
  129. package/dist/vue-ui-nested-donuts-BEB4nfsD.js +1503 -0
  130. package/dist/vue-ui-onion-CG6myK7a.js +1235 -0
  131. package/dist/{vue-ui-parallel-coordinate-plot-RM25bxtf.js → vue-ui-parallel-coordinate-plot-CSO4johj.js} +407 -407
  132. package/dist/vue-ui-quadrant-CKav0I6g.js +1967 -0
  133. package/dist/{vue-ui-quick-chart-Cswm3_eI.js → vue-ui-quick-chart-BAQNS9_2.js} +4 -4
  134. package/dist/vue-ui-radar-ClPAgf5I.js +1374 -0
  135. package/dist/vue-ui-rating-CWFMoYpE.js +359 -0
  136. package/dist/vue-ui-relation-circle-Da2MhrVe.js +905 -0
  137. package/dist/vue-ui-ridgeline-D7gFs8yR.js +1630 -0
  138. package/dist/vue-ui-rings-DkDJ0k5b.js +1252 -0
  139. package/dist/vue-ui-scatter-yv4JzJID.js +2405 -0
  140. package/dist/{vue-ui-skeleton-D_u8EWeW.js → vue-ui-skeleton-oFnh5zWs.js} +698 -698
  141. package/dist/vue-ui-smiley-DJVusLnp.js +376 -0
  142. package/dist/vue-ui-spark-trend-IqZWPvSB.js +457 -0
  143. package/dist/vue-ui-sparkbar-_FW47iYj.js +401 -0
  144. package/dist/vue-ui-sparkgauge--2vk2Y23.js +268 -0
  145. package/dist/vue-ui-sparkhistogram-CFEIPa5n.js +589 -0
  146. package/dist/{vue-ui-sparkline-9qkNNZG6.js → vue-ui-sparkline-Cs9CJR6W.js} +511 -511
  147. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +738 -0
  148. package/dist/vue-ui-stackbar-C5ANS2hd.js +2355 -0
  149. package/dist/vue-ui-stackline-7yajJFW4.js +2469 -0
  150. package/dist/vue-ui-strip-plot-BT6Eqhup.js +1740 -0
  151. package/dist/vue-ui-table-CiccGbRB.js +1352 -0
  152. package/dist/{vue-ui-table-heatmap-XmDK1aHJ.js → vue-ui-table-heatmap-DnP3pzh2.js} +2 -2
  153. package/dist/vue-ui-table-sparkline-Bp7RiZh4.js +738 -0
  154. package/dist/{vue-ui-thermometer-CLx3SPRv.js → vue-ui-thermometer-CawumQKP.js} +192 -192
  155. package/dist/{vue-ui-timer-BDWUNb6t.js → vue-ui-timer-CXinMW7q.js} +153 -153
  156. package/dist/vue-ui-tiremarks-BnI2uhki.js +540 -0
  157. package/dist/vue-ui-treemap-DTlFbfD6.js +1733 -0
  158. package/dist/vue-ui-waffle-CjgRkQAp.js +1621 -0
  159. package/dist/vue-ui-wheel-B02tiG0p.js +873 -0
  160. package/dist/vue-ui-word-cloud-BZnCOMHx.js +1710 -0
  161. package/dist/{vue-ui-world-C2atz4Xm.js → vue-ui-world-DO2VZ-T-.js} +524 -524
  162. package/dist/vue-ui-xy-BC9GVdWE.js +5283 -0
  163. package/dist/{vue-ui-xy-CpA0W6zM.js → vue-ui-xy-CD6BiP_g.js} +2 -2
  164. package/dist/vue-ui-xy-canvas-DANPuyf4.js +1824 -0
  165. package/dist/{vue_ui_age_pyramid-BY6c-oX_.js → vue_ui_age_pyramid-B2R66DgQ.js} +15 -6
  166. package/package.json +1 -1
  167. package/dist/vue-ui-3d-bar-C0aLR6lw.js +0 -1831
  168. package/dist/vue-ui-age-pyramid-DUcB3lYs.js +0 -1243
  169. package/dist/vue-ui-bullet-DIOCMF2H.js +0 -702
  170. package/dist/vue-ui-candlestick-Cf8TYPl5.js +0 -1859
  171. package/dist/vue-ui-chestnut-BMAuaeif.js +0 -2016
  172. package/dist/vue-ui-chord-DCe2iPjk.js +0 -1347
  173. package/dist/vue-ui-circle-pack-Eb5hS_z3.js +0 -1635
  174. package/dist/vue-ui-donut-CuQVKuZa.js +0 -2415
  175. package/dist/vue-ui-donut-evolution-DckruxZ9.js +0 -1552
  176. package/dist/vue-ui-dumbbell-BYU-hh2E.js +0 -1531
  177. package/dist/vue-ui-flow-DLRcNDLc.js +0 -1217
  178. package/dist/vue-ui-funnel-DjoqNN1U.js +0 -749
  179. package/dist/vue-ui-galaxy-BhR4IOra.js +0 -1085
  180. package/dist/vue-ui-gauge-Cq161Kwp.js +0 -934
  181. package/dist/vue-ui-heatmap-Bl5ymvi9.js +0 -1555
  182. package/dist/vue-ui-history-plot-CvVjsdCL.js +0 -1698
  183. package/dist/vue-ui-molecule-BExVLLgE.js +0 -929
  184. package/dist/vue-ui-nested-donuts-CWzJKr3S.js +0 -1503
  185. package/dist/vue-ui-onion-VaYZQK5i.js +0 -1235
  186. package/dist/vue-ui-quadrant-Dmtwow7n.js +0 -1967
  187. package/dist/vue-ui-radar-C3GYthqu.js +0 -1374
  188. package/dist/vue-ui-rating-CBdDXL80.js +0 -359
  189. package/dist/vue-ui-relation-circle-BA0qy0kp.js +0 -905
  190. package/dist/vue-ui-ridgeline-C5skjBTe.js +0 -1630
  191. package/dist/vue-ui-rings-BJ8yEQMw.js +0 -1252
  192. package/dist/vue-ui-scatter-DXg8ESgr.js +0 -2405
  193. package/dist/vue-ui-smiley-DQOp87rr.js +0 -376
  194. package/dist/vue-ui-spark-trend-CjCufXof.js +0 -457
  195. package/dist/vue-ui-sparkbar-BniEM15a.js +0 -401
  196. package/dist/vue-ui-sparkgauge-BtyCrqTQ.js +0 -268
  197. package/dist/vue-ui-sparkhistogram-DQdn3PW1.js +0 -589
  198. package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +0 -738
  199. package/dist/vue-ui-stackbar-CkjicNDv.js +0 -2355
  200. package/dist/vue-ui-stackline-BB1IZta8.js +0 -2469
  201. package/dist/vue-ui-strip-plot-DGLGuH6e.js +0 -1740
  202. package/dist/vue-ui-table-BXz_HY2g.js +0 -1352
  203. package/dist/vue-ui-table-sparkline-MTEw3imE.js +0 -738
  204. package/dist/vue-ui-tiremarks-DoaypTC-.js +0 -540
  205. package/dist/vue-ui-treemap-Bv7PgpiC.js +0 -1733
  206. package/dist/vue-ui-waffle-z2DhvSAx.js +0 -1621
  207. package/dist/vue-ui-wheel-DYLBJuFb.js +0 -873
  208. package/dist/vue-ui-word-cloud-CbpEhSdL.js +0 -1710
  209. package/dist/vue-ui-xy-B3DQ6t46.js +0 -5283
  210. package/dist/vue-ui-xy-canvas-CJefORWc.js +0 -1824
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { Lt as t, Pt as n, S as r, Ut as i, X as a, Yt as ee, Zt as o, b as s, ht as te, i as ne, nt as re, q as ie, t as ae, w as oe } from "./lib-Dql7cqyA.js";
3
3
  import { n as se, t as ce } from "./useHints-Dq_w2E8B.js";
4
- import { t as le } from "./useConfig-C_mX5pOZ.js";
4
+ import { t as le } from "./useConfig-CIQZ6_r7.js";
5
5
  import { t as ue } from "./usePrinter-DISD7q5m.js";
6
6
  import { n as de, t as fe } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as c } from "./useNestedProp-Chvyfpl-.js";
@@ -140,22 +140,22 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
140
140
  emits: ["copyAlt"],
141
141
  setup(e, { expose: _e, emit: Pe }) {
142
142
  Me((e) => ({
143
- v116705d8: jt.value,
144
- v081b3db6: At.value,
145
- v63a8c823: kt.value
143
+ v48e818f7: Mt.value,
144
+ v7e86e312: jt.value,
145
+ v7e395524: At.value
146
146
  }));
147
- let T = h(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), ot = h(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ie()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
147
+ let T = h(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), at = h(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), ot = h(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), { vue_ui_thermometer: st } = le(), { isThemeValid: ct, warnInvalidTheme: lt } = pe(), ut = Ce(), E = e, dt = Pe, D = b(ie()), O = b(null), ft = b(0), pt = b(0), mt = b(null), ht = b(null), k = b(null), A = b(null), gt = u(() => !!E.dataset && Object.keys(E.dataset).length);
148
148
  ke(() => {
149
149
  xt();
150
150
  });
151
- let j = b(R());
151
+ let j = b(V()), M = u(() => j.value.userOptions), N = u(() => j.value.style.chart.graduations), P = u(() => j.value.style.chart);
152
152
  se({
153
153
  config: () => j.value,
154
154
  dataset: () => E.dataset,
155
155
  component: "VueUiThermometer",
156
156
  rules: [ce.noHint]
157
157
  });
158
- let _t = b(j.value.style.chart.thermometer.width), M = b(j.value.style.chart.height), N = b(j.value.style.chart.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() => o({
158
+ let _t = b(P.value.thermometer.width), F = b(P.value.height), I = b(P.value.width), vt = u(() => j.value.userOptions.useCursorPointer), yt = u(() => o({
159
159
  defaultConfig: {
160
160
  userOptions: { show: !1 },
161
161
  style: { chart: {
@@ -165,10 +165,10 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
165
165
  } }
166
166
  },
167
167
  userConfig: j.value.skeletonConfig ?? {}
168
- })), { loading: P, FINAL_DATASET: F } = de({
168
+ })), { loading: L, FINAL_DATASET: R } = de({
169
169
  ...je(E),
170
170
  FINAL_CONFIG: j,
171
- prepareConfig: R,
171
+ prepareConfig: V,
172
172
  skeletonDataset: E.config?.skeletonDataset ?? {
173
173
  value: 0,
174
174
  from: -100,
@@ -211,15 +211,15 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
211
211
  source: ht.value
212
212
  });
213
213
  requestAnimationFrame(() => {
214
- M.value = Math.max(.1, t - 12), N.value = e, It();
214
+ F.value = Math.max(.1, t - 12), I.value = e, Rt();
215
215
  });
216
216
  });
217
217
  k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(e), A.value = O.value, k.value.observe(A.value);
218
218
  }
219
- It();
219
+ Rt();
220
220
  }
221
- let { userOptionsVisible: I, setUserOptionsVisibility: St, keepUserOptionState: Ct } = xe({ config: j.value }), { svgRef: L } = Se({ config: j.value.style.title });
222
- function R() {
221
+ let { userOptionsVisible: z, setUserOptionsVisibility: St, keepUserOptionState: Ct } = xe({ config: j.value }), { svgRef: B } = Se({ config: j.value.style.title });
222
+ function V() {
223
223
  let e = c({
224
224
  userConfig: E.config,
225
225
  defaultConfig: st
@@ -239,17 +239,17 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
239
239
  };
240
240
  }
241
241
  Ne(() => E.config, (e) => {
242
- j.value = R(), I.value = !j.value.userOptions.showOnChartHover, _t.value = j.value.style.chart.thermometer.width, M.value = j.value.style.chart.height, N.value = j.value.style.chart.width, xt(), pt.value += 1;
242
+ j.value = V(), z.value = !j.value.userOptions.showOnChartHover, _t.value = P.value.thermometer.width, F.value = P.value.height, I.value = P.value.width, xt(), pt.value += 1;
243
243
  }, { deep: !0 });
244
- let { isPrinting: z, isImaging: B, generatePdf: wt, generateImage: Tt } = ue({
244
+ let { isPrinting: H, isImaging: U, generatePdf: wt, generateImage: Tt } = ue({
245
245
  elementId: `thermometer__${D.value}`,
246
246
  fileName: j.value.style.title.text || "vue-ui-thermometer",
247
247
  options: j.value.userOptions.print
248
- }), Et = u(() => j.value.userOptions.show && !j.value.style.title.text), V = u(() => oe(j.value.customPalette)), H = u(() => F.value.steps || 10);
249
- function U(e, t, n) {
248
+ }), Et = u(() => j.value.userOptions.show && !j.value.style.title.text), W = u(() => oe(j.value.customPalette)), G = u(() => R.value.steps || 10);
249
+ function K(e, t, n) {
250
250
  let r = [], i = Dt(e), a = Dt(t);
251
251
  for (let e = 0; e < n; e += 1) {
252
- let t = W(i.red, a.red, e, n), ee = W(i.green, a.green, e, n), o = W(i.blue, a.blue, e, n), s = `#${G(t)}${G(ee)}${G(o)}`;
252
+ let t = q(i.red, a.red, e, n), ee = q(i.green, a.green, e, n), o = q(i.blue, a.blue, e, n), s = `#${Ot(t)}${Ot(ee)}${Ot(o)}`;
253
253
  r.push(s);
254
254
  }
255
255
  return r;
@@ -262,54 +262,54 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
262
262
  blue: parseInt(t.slice(4, 6), 16)
263
263
  };
264
264
  }
265
- function W(e, t, n, r) {
265
+ function q(e, t, n, r) {
266
266
  return Math.round(e + (t - e) * n / r);
267
267
  }
268
- function G(e) {
268
+ function Ot(e) {
269
269
  return e.toString(16).padStart(2, "0");
270
270
  }
271
- let K = u(() => {
272
- let e = Math.max(.1, N.value), t = Math.max(.1, M.value), n = j.value.style.chart.padding;
271
+ let J = u(() => {
272
+ let e = Math.max(.1, I.value), t = Math.max(.1, F.value), n = P.value.padding;
273
273
  return {
274
274
  width: e,
275
- left: e / 2 - j.value.style.chart.thermometer.width / 2,
276
- right: e / 2 + j.value.style.chart.thermometer.width / 2,
275
+ left: e / 2 - P.value.thermometer.width / 2,
276
+ right: e / 2 + P.value.thermometer.width / 2,
277
277
  top: n.top,
278
278
  bottom: t - n.bottom - n.top,
279
279
  height: t,
280
280
  thermoHeight: t - n.top - n.bottom,
281
- thermoWidth: j.value.style.chart.thermometer.width
281
+ thermoWidth: P.value.thermometer.width
282
282
  };
283
- }), Ot = u(() => K.value), q = u(() => {
284
- let e = s(F.value.from) < 0 ? Math.abs(s(F.value.from)) : s(F.value.from), t = s(F.value.to) < 0 ? Math.abs(s(F.value.to)) : s(F.value.to), n = 0;
285
- return n = s(F.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(F.value.from)) + s(F.value.value)) / n) * K.value.thermoHeight;
286
- }), kt = u(() => `${q.value}px`), At = u(() => `${K.value.thermoHeight}px`), jt = u(() => ut.value ? "0ms" : `${j.value.style.chart.animation.speedMs}ms`), Mt = u(() => {
287
- if (F.value.colors) {
288
- if (!F.value.colors.from) return U(V.value[0] || t[0], r(F.value.colors.to), H.value || 10);
289
- if (!F.value.colors.to) return U(r(F.value.colors.from), V.value[1] || t[1], H.value || 10);
290
- } else return U(V.value[1] || t[1], V.value[0] || t[0], H.value || 10);
291
- return U(r(F.value.colors.from), r(F.value.colors.to), H.value || 10);
292
- }), Nt = u(() => {
293
- let e = [], t = 0, n = K.value.thermoHeight;
294
- for (let r = 0; r < n - 1; r += n / H.value) e.push({
295
- x: K.value.left,
296
- y: K.value.top + r,
297
- qYLess: K.value.top + r + n / H.value / 4,
298
- halfY: K.value.top + r + n / H.value / 2,
299
- qYMore: K.value.top + r + n / H.value / 4 * 3,
300
- color: Mt.value[t],
301
- height: Math.max(.1, n / H.value)
283
+ }), kt = u(() => J.value), Y = u(() => {
284
+ let e = s(R.value.from) < 0 ? Math.abs(s(R.value.from)) : s(R.value.from), t = s(R.value.to) < 0 ? Math.abs(s(R.value.to)) : s(R.value.to), n = 0;
285
+ return n = s(R.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(s(R.value.from)) + s(R.value.value)) / n) * J.value.thermoHeight;
286
+ }), At = u(() => `${Y.value}px`), jt = u(() => `${J.value.thermoHeight}px`), Mt = u(() => ut.value ? "0ms" : `${P.value.animation.speedMs}ms`), Nt = u(() => {
287
+ if (R.value.colors) {
288
+ if (!R.value.colors.from) return K(W.value[0] || t[0], r(R.value.colors.to), G.value || 10);
289
+ if (!R.value.colors.to) return K(r(R.value.colors.from), W.value[1] || t[1], G.value || 10);
290
+ } else return K(W.value[1] || t[1], W.value[0] || t[0], G.value || 10);
291
+ return K(r(R.value.colors.from), r(R.value.colors.to), G.value || 10);
292
+ }), Pt = u(() => {
293
+ let e = [], t = 0, n = J.value.thermoHeight;
294
+ for (let r = 0; r < n - 1; r += n / G.value) e.push({
295
+ x: J.value.left,
296
+ y: J.value.top + r,
297
+ qYLess: J.value.top + r + n / G.value / 4,
298
+ halfY: J.value.top + r + n / G.value / 2,
299
+ qYMore: J.value.top + r + n / G.value / 4 * 3,
300
+ color: Nt.value[t],
301
+ height: Math.max(.1, n / G.value)
302
302
  }), t += 1;
303
303
  return e;
304
- }), J = b(!1);
305
- function Pt(e) {
306
- J.value = e, ft.value += 1;
304
+ }), X = b(!1);
305
+ function Ft(e) {
306
+ X.value = e, ft.value += 1;
307
307
  }
308
- let Y = b(!1);
309
- function X() {
310
- Y.value = !Y.value;
308
+ let Z = b(!1);
309
+ function It() {
310
+ Z.value = !Z.value;
311
311
  }
312
- async function Ft({ scale: e = 2 } = {}) {
312
+ async function Lt({ scale: e = 2 } = {}) {
313
313
  if (!O.value) return;
314
314
  let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await he({
315
315
  domElement: O.value,
@@ -326,73 +326,73 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
326
326
  aspectRatio: r
327
327
  };
328
328
  }
329
- let Z = u({
330
- get: () => j.value.style.chart.label.fontSize,
329
+ let Q = u({
330
+ get: () => P.value.label.fontSize,
331
331
  set: (e) => e
332
- }), { autoSizeLabels: It } = we({
333
- svgRef: L,
334
- fontSize: j.value.style.chart.label.fontSize,
335
- minFontSize: j.value.style.chart.label.minFontSize,
336
- sizeRef: Z,
332
+ }), { autoSizeLabels: Rt } = we({
333
+ svgRef: B,
334
+ fontSize: P.value.label.fontSize,
335
+ minFontSize: P.value.label.minFontSize,
336
+ sizeRef: Q,
337
337
  labelClass: ".vue-ui-thermometer-label"
338
- }), Lt = u(() => j.value.style.chart.backgroundColor), Rt = u(() => j.value.style.title), { isCallbackImaging: zt, isCallbackSvg: Bt, generateSvg: Q, onGenerateImage: Vt } = me({
339
- svg: L,
340
- title: Rt,
338
+ }), zt = u(() => P.value.backgroundColor), Bt = u(() => j.value.style.title), { isCallbackImaging: Vt, isCallbackSvg: Ht, generateSvg: Ut, onGenerateImage: Wt } = me({
339
+ svg: B,
340
+ title: Bt,
341
341
  legend: null,
342
342
  legendItems: null,
343
- backgroundColor: Lt,
343
+ backgroundColor: zt,
344
344
  getSvgCallback: () => j.value.userOptions.callbacks.svg,
345
345
  generateImage: Tt
346
346
  });
347
- async function Ht() {
347
+ async function Gt() {
348
348
  if (dt("copyAlt", {
349
349
  config: j.value,
350
- dataset: F.value
350
+ dataset: R.value
351
351
  }), !j.value.userOptions.callbacks.altCopy) {
352
352
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
353
353
  return;
354
354
  }
355
355
  await Promise.resolve(j.value.userOptions.callbacks.altCopy({
356
356
  config: j.value,
357
- dataset: F.value
357
+ dataset: R.value
358
358
  }));
359
359
  }
360
- let Ut = u(() => `${D.value}-title`), Wt = u(() => `${D.value}-desc`), $ = u(() => ne(j.value.style.chart.label.formatter, F.value.value, a({
361
- p: j.value.style.chart.label.prefix,
362
- v: F.value.value,
363
- s: j.value.style.chart.label.suffix,
364
- r: j.value.style.chart.label.rounding
365
- }), { datapoint: F.value })), Gt = u(() => j.value.style.title.text || ""), Kt = u(() => {
366
- if (P.value) return "...";
367
- let e = s(F.value.from), t = s(F.value.to);
360
+ let Kt = u(() => `${D.value}-title`), qt = u(() => `${D.value}-desc`), $ = u(() => ne(P.value.label.formatter, R.value.value, a({
361
+ p: P.value.label.prefix,
362
+ v: R.value.value,
363
+ s: P.value.label.suffix,
364
+ r: P.value.label.rounding
365
+ }), { datapoint: R.value })), Jt = u(() => j.value.style.title.text || ""), Yt = u(() => {
366
+ if (L.value) return "...";
367
+ let e = s(R.value.from), t = s(R.value.to);
368
368
  return `Thermometer value: ${$.value}. Range: ${e} to ${t}.`;
369
369
  });
370
370
  return _e({
371
- getImage: Ft,
371
+ getImage: Lt,
372
372
  generatePdf: wt,
373
373
  generateImage: Tt,
374
- generateSvg: Q,
375
- toggleAnnotator: X,
376
- toggleFullscreen: Pt,
377
- copyAlt: Ht
374
+ generateSvg: Ut,
375
+ toggleAnnotator: It,
376
+ toggleFullscreen: Ft,
377
+ copyAlt: Gt
378
378
  }), (e, t) => (y(), p("div", {
379
379
  ref_key: "thermoChart",
380
380
  ref: O,
381
- class: _(`vue-data-ui-component vue-ui-thermometer ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
- style: Oe(`width:100%;background:${j.value.style.chart.backgroundColor};color:${j.value.style.chart.color};font-family:${j.value.style.fontFamily}`),
381
+ class: _(`vue-data-ui-component vue-ui-thermometer ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
382
+ style: Oe(`width:100%;background:${P.value.backgroundColor};color:${P.value.color};font-family:${j.value.style.fontFamily}`),
383
383
  id: `thermometer__${D.value}`,
384
384
  onMouseenter: t[0] ||= () => C(St)(!0),
385
385
  onMouseleave: t[1] ||= () => C(St)(!1)
386
386
  }, [
387
- j.value.userOptions.buttons.annotator ? (y(), d(C(at), {
387
+ M.value.buttons.annotator ? (y(), d(C(at), {
388
388
  key: 0,
389
- svgRef: C(L),
390
- backgroundColor: j.value.style.chart.backgroundColor,
391
- color: j.value.style.chart.color,
392
- active: Y.value,
389
+ svgRef: C(B),
390
+ backgroundColor: P.value.backgroundColor,
391
+ color: P.value.color,
392
+ active: Z.value,
393
393
  isCursorPointer: vt.value,
394
- palette: j.value.userOptions.annotatorPalette,
395
- onClose: X
394
+ palette: M.value.annotatorPalette,
395
+ onClose: It
396
396
  }, {
397
397
  "annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
398
398
  "annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
@@ -428,36 +428,36 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
428
428
  }
429
429
  }
430
430
  }, null, 8, ["config"]))], 512)) : f("", !0),
431
- j.value.userOptions.show && gt.value && (C(Ct) || C(I)) ? (y(), d(C(ot), {
431
+ M.value.show && gt.value && (C(Ct) || C(z)) ? (y(), d(C(ot), {
432
432
  ref: "details",
433
433
  key: `user_options_${ft.value}`,
434
- backgroundColor: j.value.style.chart.backgroundColor,
435
- color: j.value.style.chart.color,
436
- isImaging: C(B),
437
- isPrinting: C(z),
434
+ backgroundColor: P.value.backgroundColor,
435
+ color: P.value.color,
436
+ isImaging: C(U),
437
+ isPrinting: C(H),
438
438
  uid: D.value,
439
- hasPdf: j.value.userOptions.buttons.pdf,
440
- hasImg: j.value.userOptions.buttons.img,
441
- hasSvg: j.value.userOptions.buttons.svg,
442
- hasFullscreen: j.value.userOptions.buttons.fullscreen,
443
- hasAltCopy: j.value.userOptions.buttons.altCopy,
439
+ hasPdf: M.value.buttons.pdf,
440
+ hasImg: M.value.buttons.img,
441
+ hasSvg: M.value.buttons.svg,
442
+ hasFullscreen: M.value.buttons.fullscreen,
443
+ hasAltCopy: M.value.buttons.altCopy,
444
444
  hasXls: !1,
445
- isFullscreen: J.value,
446
- titles: { ...j.value.userOptions.buttonTitles },
445
+ isFullscreen: X.value,
446
+ titles: { ...M.value.buttonTitles },
447
447
  chartElement: O.value,
448
- position: j.value.userOptions.position,
449
- hasAnnotator: j.value.userOptions.buttons.annotator,
450
- isAnnotation: Y.value,
451
- callbacks: j.value.userOptions.callbacks,
452
- printScale: j.value.userOptions.print.scale,
448
+ position: M.value.position,
449
+ hasAnnotator: M.value.buttons.annotator,
450
+ isAnnotation: Z.value,
451
+ callbacks: M.value.callbacks,
452
+ printScale: M.value.print.scale,
453
453
  isCursorPointer: vt.value,
454
- onToggleFullscreen: Pt,
454
+ onToggleFullscreen: Ft,
455
455
  onGeneratePdf: C(wt),
456
- onGenerateImage: C(Vt),
457
- onGenerateSvg: C(Q),
458
- onToggleAnnotator: X,
459
- onCopyAlt: Ht,
460
- style: Oe({ visibility: C(Ct) ? C(I) ? "visible" : "hidden" : "visible" })
456
+ onGenerateImage: C(Wt),
457
+ onGenerateSvg: C(Ut),
458
+ onToggleAnnotator: It,
459
+ onCopyAlt: Gt,
460
+ style: Oe({ visibility: C(Ct) ? C(z) ? "visible" : "hidden" : "visible" })
461
461
  }, Ee({ _: 2 }, [
462
462
  e.$slots.menuIcon ? {
463
463
  name: "menuIcon",
@@ -540,40 +540,40 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
540
540
  ])) : f("", !0),
541
541
  (y(), p("svg", {
542
542
  ref_key: "svgRef",
543
- ref: L,
543
+ ref: B,
544
544
  xmlns: C(ae),
545
545
  class: _({
546
- "vue-data-ui-fullscreen--on": J.value,
547
- "vue-data-ui-fulscreen--off": !J.value
546
+ "vue-data-ui-fullscreen--on": X.value,
547
+ "vue-data-ui-fulscreen--off": !X.value
548
548
  }),
549
549
  width: "100%",
550
- viewBox: `0 0 ${K.value.width} ${K.value.height}`,
550
+ viewBox: `0 0 ${J.value.width} ${J.value.height}`,
551
551
  style: "background:transparent",
552
- "aria-labelledby": Ut.value,
553
- "aria-describedby": Wt.value
552
+ "aria-labelledby": Kt.value,
553
+ "aria-describedby": qt.value
554
554
  }, [
555
- m("title", { id: Ut.value }, S(Gt.value), 9, Re),
556
- m("desc", { id: Wt.value }, S(Kt.value), 9, ze),
555
+ m("title", { id: Kt.value }, S(Jt.value), 9, Re),
556
+ m("desc", { id: qt.value }, S(Yt.value), 9, ze),
557
557
  De(C(T)),
558
558
  e.$slots["chart-background"] ? (y(), p("foreignObject", {
559
559
  key: 0,
560
560
  x: 0,
561
561
  y: 0,
562
- width: K.value.width,
563
- height: K.value.height,
562
+ width: J.value.width,
563
+ height: J.value.height,
564
564
  style: { pointerEvents: "none" }
565
565
  }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Be)) : f("", !0),
566
566
  m("defs", null, [m("clipPath", {
567
567
  id: `vueUiPill-${D.value}`,
568
568
  clipPathUnits: "userSpaceOnUse"
569
569
  }, [m("rect", {
570
- x: K.value.left,
571
- y: K.value.top,
572
- width: K.value.thermoWidth,
573
- height: K.value.thermoHeight,
574
- rx: K.value.thermoWidth / 2,
575
- ry: K.value.thermoWidth / 2
576
- }, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Nt.value, (e, t) => (y(), d(be, {
570
+ x: J.value.left,
571
+ y: J.value.top,
572
+ width: J.value.thermoWidth,
573
+ height: J.value.thermoHeight,
574
+ rx: J.value.thermoWidth / 2,
575
+ ry: J.value.thermoWidth / 2
576
+ }, null, 8, He)], 8, Ve), (y(!0), p(l, null, Ae(Pt.value, (e, t) => (y(), d(be, {
577
577
  t: "linear",
578
578
  id: `vueUiThermometerGradient_${t}_${D.value}`,
579
579
  key: `t_${t}_${D.value}`,
@@ -589,7 +589,7 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
589
589
  ],
590
590
  [
591
591
  "50%",
592
- C(i)(e.color, 100 - j.value.style.chart.graduations.gradient.intensity),
592
+ C(i)(e.color, 100 - N.value.gradient.intensity),
593
593
  1
594
594
  ],
595
595
  [
@@ -601,158 +601,158 @@ var Pe = /* @__PURE__ */ e({ default: () => T }), Fe = ["id"], Ie = {
601
601
  }, null, 8, ["id", "stops"]))), 128))]),
602
602
  m("g", { "clip-path": `url(#vueUiPill-${D.value})` }, [
603
603
  m("rect", {
604
- x: K.value.left,
605
- y: K.value.top,
606
- height: K.value.thermoHeight,
607
- width: K.value.thermoWidth,
604
+ x: J.value.left,
605
+ y: J.value.top,
606
+ height: J.value.thermoHeight,
607
+ width: J.value.thermoWidth,
608
608
  fill: "#FFFFFF"
609
609
  }, null, 8, We),
610
- (y(!0), p(l, null, Ae(Nt.value, (e, t) => (y(), p("g", { key: `graduation_${t}` }, [
610
+ (y(!0), p(l, null, Ae(Pt.value, (e, t) => (y(), p("g", { key: `graduation_${t}` }, [
611
611
  m("rect", {
612
612
  x: e.x,
613
613
  y: e.y,
614
614
  height: e.height,
615
- width: K.value.thermoWidth,
616
- fill: j.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${t}_${D.value})` : e.color,
615
+ width: J.value.thermoWidth,
616
+ fill: N.value.gradient.show ? `url(#vueUiThermometerGradient_${t}_${D.value})` : e.color,
617
617
  "shape-rendering": "crispEdges"
618
618
  }, null, 8, Ge),
619
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
619
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
620
620
  key: 0,
621
621
  x1: e.x,
622
622
  x2: e.x + 10,
623
623
  y1: e.y,
624
624
  y2: e.y,
625
- "stroke-width": j.value.style.chart.graduations.strokeWidth,
626
- stroke: j.value.style.chart.graduations.stroke,
625
+ "stroke-width": N.value.strokeWidth,
626
+ stroke: N.value.stroke,
627
627
  "stroke-linecap": "round"
628
628
  }, null, 8, Ke)) : f("", !0),
629
- j.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 1 }, [
630
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
629
+ N.value.showIntermediate ? (y(), p(l, { key: 1 }, [
630
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
631
631
  key: 0,
632
632
  x1: e.x,
633
633
  x2: e.x + 5,
634
634
  y1: e.halfY,
635
635
  y2: e.halfY,
636
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
637
- stroke: j.value.style.chart.graduations.stroke,
636
+ "stroke-width": N.value.strokeWidth / 2,
637
+ stroke: N.value.stroke,
638
638
  "stroke-linecap": "round"
639
639
  }, null, 8, qe)) : f("", !0),
640
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
640
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
641
641
  key: 1,
642
642
  x1: e.x,
643
643
  x2: e.x + 2.5,
644
644
  y1: e.qYLess,
645
645
  y2: e.qYLess,
646
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
647
- stroke: j.value.style.chart.graduations.stroke,
646
+ "stroke-width": N.value.strokeWidth / 2,
647
+ stroke: N.value.stroke,
648
648
  "stroke-linecap": "round"
649
649
  }, null, 8, Je)) : f("", !0),
650
- j.value.style.chart.graduations.show && ["both", "left"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
650
+ N.value.show && ["both", "left"].includes(N.value.sides) ? (y(), p("line", {
651
651
  key: 2,
652
652
  x1: e.x,
653
653
  x2: e.x + 2.5,
654
654
  y1: e.qYMore,
655
655
  y2: e.qYMore,
656
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
657
- stroke: j.value.style.chart.graduations.stroke,
656
+ "stroke-width": N.value.strokeWidth / 2,
657
+ stroke: N.value.stroke,
658
658
  "stroke-linecap": "round"
659
659
  }, null, 8, Ye)) : f("", !0)
660
660
  ], 64)) : f("", !0),
661
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
661
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
662
662
  key: 2,
663
- x1: K.value.right,
664
- x2: K.value.right - 10,
663
+ x1: J.value.right,
664
+ x2: J.value.right - 10,
665
665
  y1: e.y,
666
666
  y2: e.y,
667
- "stroke-width": j.value.style.chart.graduations.strokeWidth,
668
- stroke: j.value.style.chart.graduations.stroke,
667
+ "stroke-width": N.value.strokeWidth,
668
+ stroke: N.value.stroke,
669
669
  "stroke-linecap": "round"
670
670
  }, null, 8, Xe)) : f("", !0),
671
- j.value.style.chart.graduations.showIntermediate ? (y(), p(l, { key: 3 }, [
672
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
671
+ N.value.showIntermediate ? (y(), p(l, { key: 3 }, [
672
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
673
673
  key: 0,
674
- x1: K.value.right,
675
- x2: K.value.right - 5,
674
+ x1: J.value.right,
675
+ x2: J.value.right - 5,
676
676
  y1: e.halfY,
677
677
  y2: e.halfY,
678
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
679
- stroke: j.value.style.chart.graduations.stroke,
678
+ "stroke-width": N.value.strokeWidth / 2,
679
+ stroke: N.value.stroke,
680
680
  "stroke-linecap": "round"
681
681
  }, null, 8, Ze)) : f("", !0),
682
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
682
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
683
683
  key: 1,
684
- x1: K.value.right,
685
- x2: K.value.right - 2.5,
684
+ x1: J.value.right,
685
+ x2: J.value.right - 2.5,
686
686
  y1: e.qYLess,
687
687
  y2: e.qYLess,
688
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
689
- stroke: j.value.style.chart.graduations.stroke,
688
+ "stroke-width": N.value.strokeWidth / 2,
689
+ stroke: N.value.stroke,
690
690
  "stroke-linecap": "round"
691
691
  }, null, 8, Qe)) : f("", !0),
692
- j.value.style.chart.graduations.show && ["both", "right"].includes(j.value.style.chart.graduations.sides) ? (y(), p("line", {
692
+ N.value.show && ["both", "right"].includes(N.value.sides) ? (y(), p("line", {
693
693
  key: 2,
694
- x1: K.value.right,
695
- x2: K.value.right - 2.5,
694
+ x1: J.value.right,
695
+ x2: J.value.right - 2.5,
696
696
  y1: e.qYMore,
697
697
  y2: e.qYMore,
698
- "stroke-width": j.value.style.chart.graduations.strokeWidth / 2,
699
- stroke: j.value.style.chart.graduations.stroke,
698
+ "stroke-width": N.value.strokeWidth / 2,
699
+ stroke: N.value.stroke,
700
700
  "stroke-linecap": "round"
701
701
  }, null, 8, $e)) : f("", !0)
702
702
  ], 64)) : f("", !0)
703
703
  ]))), 128)),
704
704
  m("rect", {
705
- class: _({ "vue-ui-thermometer-temperature": j.value.style.chart.animation.use }),
706
- x: K.value.left,
707
- y: K.value.top,
708
- height: q.value,
709
- width: K.value.thermoWidth,
705
+ class: _({ "vue-ui-thermometer-temperature": P.value.animation.use }),
706
+ x: J.value.left,
707
+ y: J.value.top,
708
+ height: Y.value,
709
+ width: J.value.thermoWidth,
710
710
  fill: "#FFFFFF66"
711
711
  }, null, 10, et)
712
712
  ], 8, Ue),
713
- j.value.style.chart.label.show ? (y(), p("g", {
713
+ P.value.label.show ? (y(), p("g", {
714
714
  key: 1,
715
715
  role: "status",
716
716
  "aria-live": "polite",
717
- "aria-label": C(P) ? "Loading data" : $.value
718
- }, [C(P) ? (y(), p("rect", {
717
+ "aria-label": C(L) ? "Loading data" : $.value
718
+ }, [C(L) ? (y(), p("rect", {
719
719
  key: 0,
720
- x: K.value.left - 60,
721
- y: q.value + K.value.top - Z.value / 2,
720
+ x: J.value.left - 60,
721
+ y: Y.value + J.value.top - Q.value / 2,
722
722
  width: 50,
723
- height: Z.value,
723
+ height: Q.value,
724
724
  fill: "#6A6A6A40",
725
725
  rx: "3"
726
726
  }, null, 8, nt)) : (y(), p("text", {
727
727
  key: 1,
728
728
  "aria-hidden": "true",
729
729
  class: _({
730
- "vue-ui-thermometer-temperature-value": j.value.style.chart.animation.use,
730
+ "vue-ui-thermometer-temperature-value": P.value.animation.use,
731
731
  "vue-ui-thermometer-label": !0
732
732
  }),
733
- y: q.value + K.value.top + Z.value / 3,
734
- x: K.value.left - 10,
733
+ y: Y.value + J.value.top + Q.value / 3,
734
+ x: J.value.left - 10,
735
735
  "text-anchor": "end",
736
- fill: j.value.style.chart.label.color,
737
- "font-size": Z.value,
738
- "font-weight": j.value.style.chart.label.bold ? "bold" : "normal"
736
+ fill: P.value.label.color,
737
+ "font-size": Q.value,
738
+ "font-weight": P.value.label.bold ? "bold" : "normal"
739
739
  }, S($.value), 11, rt))], 8, tt)) : f("", !0),
740
740
  x(e.$slots, "svg", { svg: {
741
- ...Ot.value,
742
- isPrintingImg: C(z) || C(B) || C(zt),
743
- isPrintingSvg: C(Bt)
741
+ ...kt.value,
742
+ isPrintingImg: C(H) || C(U) || C(Vt),
743
+ isPrintingSvg: C(Ht)
744
744
  } }, void 0, !0)
745
745
  ], 10, Le)),
746
- e.$slots.watermark ? (y(), p("div", it, [x(e.$slots, "watermark", v(g({ isPrinting: C(z) || C(B) || C(zt) || C(Bt) })), void 0, !0)])) : f("", !0),
746
+ e.$slots.watermark ? (y(), p("div", it, [x(e.$slots, "watermark", v(g({ isPrinting: C(H) || C(U) || C(Vt) || C(Ht) })), void 0, !0)])) : f("", !0),
747
747
  e.$slots.source ? (y(), p("div", {
748
748
  key: 5,
749
749
  ref_key: "source",
750
750
  ref: ht,
751
751
  dir: "auto"
752
752
  }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
753
- x(e.$slots, "skeleton", {}, () => [C(P) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
753
+ x(e.$slots, "skeleton", {}, () => [C(L) ? (y(), d(fe, { key: 0 })) : f("", !0)], !0)
754
754
  ], 46, Fe));
755
755
  }
756
- }, [["__scopeId", "data-v-21d6fcb2"]]);
756
+ }, [["__scopeId", "data-v-d16e0f9d"]]);
757
757
  //#endregion
758
758
  export { Pe as n, T as t };