vue-data-ui 3.0.0-next.51 → 3.0.0-next.52

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 (91) hide show
  1. package/dist/{Arrow-BMGju2_w.js → Arrow-DCvGxyy8.js} +1 -1
  2. package/dist/{BaseDraggableDialog-ttBbgyGA.js → BaseDraggableDialog-D3_nuD-L.js} +2 -2
  3. package/dist/{BaseIcon-DBAQZ9vX.js → BaseIcon-DS7JPu4C.js} +1 -1
  4. package/dist/{ColorPicker-BzrG0PPC.js → ColorPicker-BhhptCXG.js} +2 -2
  5. package/dist/{DataTable-CdD7tKpP.js → DataTable-BgDT80Ts.js} +2 -2
  6. package/dist/{Legend-BwFrIr1T.js → Legend-Qj7Y95Ag.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-7fQv8_3z.js → NonSvgPenAndPaper-B744FsgV.js} +3 -3
  8. package/dist/{PackageVersion-DQcP7Cwd.js → PackageVersion-BIrL3taE.js} +1 -1
  9. package/dist/{PenAndPaper-Bf9A4qL1.js → PenAndPaper-CGyRnyF7.js} +3 -3
  10. package/dist/{Shape-DOpTDQGX.js → Shape-C4x_rgi6.js} +1 -1
  11. package/dist/{Slicer-CU5E8-Ee.js → Slicer-Dj4S2hJi.js} +2 -2
  12. package/dist/{SparkTooltip-DlMDmeF6.js → SparkTooltip-DhF5i35E.js} +1 -1
  13. package/dist/{Title-3ACEciQv.js → Title-k4QgmSIv.js} +1 -1
  14. package/dist/{Tooltip-D4AvFVyr.js → Tooltip-bNI5fnsQ.js} +1 -1
  15. package/dist/{UserOptions-oB62jZT7.js → UserOptions-DLoccAqI.js} +2 -2
  16. package/dist/{dom-to-png-DYbPVI5z.js → dom-to-png-BqfMQcsl.js} +1 -1
  17. package/dist/{img-Ck7tqm17.js → img-3dhgTl6e.js} +1 -1
  18. package/dist/{index-DJKz3EWJ.js → index-WItD8fls.js} +27 -11
  19. package/dist/{pdf-p5i09caM.js → pdf-Cx4Jim4C.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +11 -1
  22. package/dist/types/vue-data-ui.d.ts +11 -1
  23. package/dist/{useAutoSizeLabelsInsideViewbox-Cz_aX3xn.js → useAutoSizeLabelsInsideViewbox-tevkHMvX.js} +5 -5
  24. package/dist/{useNestedProp-DoTKbeYP.js → useNestedProp-DP91lffT.js} +1 -1
  25. package/dist/{usePrinter-Iy7FxhyL.js → usePrinter-FH6Yncdh.js} +2 -2
  26. package/dist/{vue-data-ui-qsd4viNh.js → vue-data-ui-CKUO_2-m.js} +64 -64
  27. package/dist/vue-data-ui.js +5 -5
  28. package/dist/{vue-ui-3d-bar-B4Yzjkm9.js → vue-ui-3d-bar-B_eMzPJR.js} +6 -6
  29. package/dist/{vue-ui-accordion-C0GWT8Ql.js → vue-ui-accordion-D9Co_5os.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-CpM6j4zn.js → vue-ui-age-pyramid-Dw3dcfPb.js} +6 -6
  31. package/dist/{vue-ui-annotator-BiMqF0-h.js → vue-ui-annotator-JVk8QrB5.js} +2 -2
  32. package/dist/{vue-ui-bullet-Ceut2XIO.js → vue-ui-bullet-tV_NHVBu.js} +7 -7
  33. package/dist/{vue-ui-candlestick-BuTIRR3U.js → vue-ui-candlestick-Ba0SWLiU.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-Ci_1ZoKD.js → vue-ui-carousel-table-DjsLBSdt.js} +4 -4
  35. package/dist/{vue-ui-chestnut-Cuf0fg9v.js → vue-ui-chestnut-D9zkzK8S.js} +5 -5
  36. package/dist/{vue-ui-chord-BVRIWOiZ.js → vue-ui-chord-B-J0QVzk.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-BR5cI0BK.js → vue-ui-circle-pack-BZHauTwv.js} +6 -6
  38. package/dist/{vue-ui-cursor-DoIpdlLl.js → vue-ui-cursor-DmhRqAI1.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BjBuMTeM.js → vue-ui-dashboard-Dh4TYgVP.js} +62 -62
  40. package/dist/{vue-ui-digits-C_JqOPx0.js → vue-ui-digits-B23zwtJD.js} +2 -2
  41. package/dist/{vue-ui-donut-DXUQ0UP0.js → vue-ui-donut-5vgs0mUF.js} +34 -34
  42. package/dist/{vue-ui-donut-evolution-BR6Xdy54.js → vue-ui-donut-evolution-exshwre9.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-_JfspQwX.js → vue-ui-dumbbell-JhhxDg6I.js} +7 -7
  44. package/dist/{vue-ui-flow-BEnIvnRQ.js → vue-ui-flow-GX-WLeuQ.js} +7 -7
  45. package/dist/{vue-ui-funnel-CyuziHMi.js → vue-ui-funnel-CaimnUfB.js} +6 -6
  46. package/dist/{vue-ui-galaxy-DcWvmZ6n.js → vue-ui-galaxy-idDtDYDK.js} +5 -5
  47. package/dist/{vue-ui-gauge-oN1N7b28.js → vue-ui-gauge-Cwss_7-1.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Mqwbrfln.js → vue-ui-gizmo-CkkJ4h9s.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Dhjk-00-.js → vue-ui-heatmap-CXPMj29O.js} +7 -7
  50. package/dist/{vue-ui-history-plot-BSJQ35vE.js → vue-ui-history-plot-L1GCy2eJ.js} +7 -7
  51. package/dist/{vue-ui-kpi-D0rfVSKA.js → vue-ui-kpi-CjjAOZDx.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-Jp6LdxDx.js → vue-ui-mini-loader-BPBBfyiS.js} +2 -2
  53. package/dist/{vue-ui-molecule-CSXuV9bG.js → vue-ui-molecule-BEW8H_qD.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-im8oGB8C.js → vue-ui-mood-radar-K4n-AQcn.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-DnLmjykV.js → vue-ui-nested-donuts-Bb3MRhoJ.js} +9 -9
  56. package/dist/{vue-ui-onion-Bk4zJ_9o.js → vue-ui-onion-CqogsNUq.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-C2595LWs.js → vue-ui-parallel-coordinate-plot-KEkk6DLV.js} +27 -27
  58. package/dist/{vue-ui-quadrant-BmJdsTsT.js → vue-ui-quadrant-gCQ9X1d1.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-D9TOJnI3.js → vue-ui-quick-chart-CjCNsptY.js} +6 -6
  60. package/dist/{vue-ui-radar-DTm1lF8I.js → vue-ui-radar-Ct5QawTb.js} +7 -7
  61. package/dist/{vue-ui-rating-BdMFk64J.js → vue-ui-rating-C2tRPpqi.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPJ8D3Kg.js → vue-ui-relation-circle-Bc3AzTpb.js} +6 -6
  63. package/dist/{vue-ui-ridgeline-C4mCCqFj.js → vue-ui-ridgeline-BR3szAlR.js} +8 -8
  64. package/dist/{vue-ui-rings-CAXGp0RS.js → vue-ui-rings-CA_IGXZL.js} +8 -8
  65. package/dist/{vue-ui-scatter-DgFXq8bL.js → vue-ui-scatter-CQDBGZg0.js} +41 -41
  66. package/dist/{vue-ui-skeleton-B-rmcfy0.js → vue-ui-skeleton-igJfL5fs.js} +3 -3
  67. package/dist/{vue-ui-smiley-r_P2OEcO.js → vue-ui-smiley-CkGwUGdF.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DQDvNfRA.js → vue-ui-spark-trend-DAJgwsCH.js} +6 -6
  69. package/dist/{vue-ui-sparkbar-68lw7dCX.js → vue-ui-sparkbar-fpx-zSUM.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-BymOwBcd.js → vue-ui-sparkgauge-BnNPSMpN.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-q1Yk5jCv.js → vue-ui-sparkhistogram-IWwfhNJm.js} +4 -4
  72. package/dist/{vue-ui-sparkline-D8DYc1V7.js → vue-ui-sparkline-9JAj9Jya.js} +20 -20
  73. package/dist/{vue-ui-sparkstackbar-DOGkUFjJ.js → vue-ui-sparkstackbar-BGZosNNg.js} +3 -3
  74. package/dist/{vue-ui-stackbar-7Xj5uhuM.js → vue-ui-stackbar-CyQZQpGr.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-CAnsn0VI.js → vue-ui-strip-plot-CJr2qOm8.js} +7 -7
  76. package/dist/{vue-ui-table-heatmap-BZVJgTWg.js → vue-ui-table-heatmap-S9Jnz8kT.js} +5 -5
  77. package/dist/{vue-ui-table-D3CUOPTQ.js → vue-ui-table-rbIrbFT2.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-Du1BvydE.js → vue-ui-table-sparkline-BNwOXfCN.js} +4 -4
  79. package/dist/vue-ui-thermometer-DdoZ4nMw.js +541 -0
  80. package/dist/{vue-ui-timer-DacMmmiu.js → vue-ui-timer-DQkpHKYn.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BtYB3Ynv.js → vue-ui-tiremarks-Bdys8ZwH.js} +90 -90
  82. package/dist/{vue-ui-treemap-ZpdTWlqY.js → vue-ui-treemap-BBeNdVUy.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-BTk4W7w-.js → vue-ui-vertical-bar-DnmdYB50.js} +9 -9
  84. package/dist/{vue-ui-waffle-Fa9tb_rV.js → vue-ui-waffle-qZfdtYHb.js} +8 -8
  85. package/dist/{vue-ui-wheel-4Z4eLQhc.js → vue-ui-wheel-whcrDoZZ.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-DoaJFhqN.js → vue-ui-word-cloud-DNnEzqxj.js} +6 -6
  87. package/dist/{vue-ui-world-Dz9YUEEG.js → vue-ui-world-DsyBCRAy.js} +6 -6
  88. package/dist/{vue-ui-xy-D5RVw5D0.js → vue-ui-xy-CKmn0Rj4.js} +9 -9
  89. package/dist/{vue-ui-xy-canvas-DzDX5ysJ.js → vue-ui-xy-canvas-BAKpy9mx.js} +8 -8
  90. package/package.json +1 -1
  91. package/dist/vue-ui-thermometer-CcRtjSqY.js +0 -495
@@ -1,13 +1,13 @@
1
1
  import { defineAsyncComponent as A, computed as f, ref as v, watch as Qe, shallowRef as Ae, onMounted as Ze, onBeforeUnmount as et, createElementBlock as u, openBlock as r, unref as n, normalizeStyle as Y, normalizeClass as R, createBlock as S, createCommentVNode as c, createVNode as Se, createSlots as tt, withCtx as y, renderSlot as p, normalizeProps as M, guardReactiveProps as I, createElementVNode as x, Fragment as k, renderList as T, toDisplayString as z, mergeProps as lt, createTextVNode as at, nextTick as ot } from "vue";
2
- import { u as st, c as le, t as rt, p as O, a as ut, o as it, e as ae, g as ze, b as nt, d as Oe, w as vt, D as ct, f as j, X as ht, i as oe, I as dt, l as pt, h as ft, y as Pe, E as yt, q as bt, r as mt, z as gt } from "./index-DJKz3EWJ.js";
2
+ import { u as st, c as le, t as rt, p as O, a as ut, o as it, e as ae, g as ze, b as nt, d as Oe, w as vt, D as ct, f as j, X as ht, i as oe, I as dt, l as pt, h as ft, y as Pe, E as yt, q as bt, r as mt, z as gt } from "./index-WItD8fls.js";
3
3
  import { t as kt, u as xt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ne } from "./useNestedProp-DoTKbeYP.js";
5
- import { u as wt } from "./usePrinter-Iy7FxhyL.js";
4
+ import { u as Ne } from "./useNestedProp-DP91lffT.js";
5
+ import { u as wt } from "./usePrinter-FH6Yncdh.js";
6
6
  import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as $t } from "./useChartAccessibility-9icAAmYg.js";
8
- import Tt from "./Title-3ACEciQv.js";
9
- import { _ as _t } from "./Shape-DOpTDQGX.js";
10
- import Lt from "./img-Ck7tqm17.js";
8
+ import Tt from "./Title-k4QgmSIv.js";
9
+ import { _ as _t } from "./Shape-C4x_rgi6.js";
10
+ import Lt from "./img-3dhgTl6e.js";
11
11
  import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
12
  const St = ["id"], zt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"], Pt = { key: 1 }, Nt = { key: 0 }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mt = { key: 1 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x", "y", "fill", "font-size"], Rt = ["x", "y", "font-size", "fill"], Et = ["x", "y", "font-size", "fill", "innerHTML"], Vt = ["fill", "font-size", "transform"], Ht = ["fill", "font-size", "x", "y"], Ut = ["x1", "x2", "y1", "y2", "stroke"], Bt = ["cx", "cy", "fill"], Xt = ["cx", "cy", "fill"], Yt = ["id"], jt = ["stop-color"], qt = ["stop-color"], Jt = ["stop-color"], Kt = { key: 0 }, Qt = ["x", "y", "font-size", "fill"], Zt = {
13
13
  key: 5,
@@ -30,7 +30,7 @@ const St = ["id"], zt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
30
30
  },
31
31
  emits: ["selectDatapoint"],
32
32
  setup(Fe, { expose: Me, emit: Ie }) {
33
- const We = A(() => import("./vue-ui-accordion-C0GWT8Ql.js")), De = A(() => import("./DataTable-CdD7tKpP.js")), Ge = A(() => import("./PackageVersion-DQcP7Cwd.js")), Re = A(() => import("./PenAndPaper-Bf9A4qL1.js")), Ee = A(() => import("./vue-ui-skeleton-B-rmcfy0.js")), Ve = A(() => import("./Tooltip-D4AvFVyr.js")), He = A(() => import("./UserOptions-oB62jZT7.js")), { vue_ui_strip_plot: Ue } = st(), b = Fe, Be = Ie, _ = f({
33
+ const We = A(() => import("./vue-ui-accordion-D9Co_5os.js")), De = A(() => import("./DataTable-BgDT80Ts.js")), Ge = A(() => import("./PackageVersion-BIrL3taE.js")), Re = A(() => import("./PenAndPaper-CGyRnyF7.js")), Ee = A(() => import("./vue-ui-skeleton-igJfL5fs.js")), Ve = A(() => import("./Tooltip-bNI5fnsQ.js")), He = A(() => import("./UserOptions-DLoccAqI.js")), { vue_ui_strip_plot: Ue } = st(), b = Fe, Be = Ie, _ = f({
34
34
  get() {
35
35
  return !!b.dataset && b.dataset.length;
36
36
  },
@@ -1,9 +1,9 @@
1
1
  import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
2
- import { u as de, c as A, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r as be } from "./index-DJKz3EWJ.js";
3
- import { u as H } from "./useNestedProp-DoTKbeYP.js";
4
- import { u as ye } from "./usePrinter-Iy7FxhyL.js";
2
+ import { u as de, c as A, a as pe, o as ce, e as ve, a9 as me, F as fe, P as he, q as ge, r as be } from "./index-WItD8fls.js";
3
+ import { u as H } from "./useNestedProp-DP91lffT.js";
4
+ import { u as ye } from "./usePrinter-FH6Yncdh.js";
5
5
  import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { _ as ke } from "./Shape-DOpTDQGX.js";
6
+ import { _ as ke } from "./Shape-C4x_rgi6.js";
7
7
  import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Fe = {
9
9
  key: 0,
@@ -45,7 +45,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
45
45
  "8f8e7142": ee.value,
46
46
  cb3b028c: j.value
47
47
  }));
48
- const X = oe(() => import("./UserOptions-oB62jZT7.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
48
+ const X = oe(() => import("./UserOptions-DLoccAqI.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
49
49
  z(() => {
50
50
  q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
51
51
  });
@@ -1,6 +1,6 @@
1
- import { a8 as P, v as z, l as T, r as U, f as V, h as X, q as j, A as Y, d as W, F as J, u as K, p as Z } from "./index-DJKz3EWJ.js";
2
- import q from "./vue-ui-xy-D5RVw5D0.js";
3
- import Q from "./vue-ui-donut-DXUQ0UP0.js";
1
+ import { a8 as P, v as z, l as T, r as U, f as V, h as X, q as j, A as Y, d as W, F as J, u as K, p as Z } from "./index-WItD8fls.js";
2
+ import q from "./vue-ui-xy-CKmn0Rj4.js";
3
+ import Q from "./vue-ui-donut-5vgs0mUF.js";
4
4
  import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
5
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const se = {
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
2
- import { u as ye } from "./useNestedProp-DoTKbeYP.js";
3
- import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-DJKz3EWJ.js";
4
- import { u as je } from "./usePrinter-Iy7FxhyL.js";
2
+ import { u as ye } from "./useNestedProp-DP91lffT.js";
3
+ import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a9 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-WItD8fls.js";
4
+ import { u as je } from "./usePrinter-FH6Yncdh.js";
5
5
  import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { v as tt } from "./vClickOutside-C6WiFswA.js";
7
7
  import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -43,7 +43,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
43
43
  Fe((t) => ({
44
44
  "3f28d054": t.tdo
45
45
  }));
46
- const Ce = J(() => import("./vue-ui-sparkline-D8DYc1V7.js")), N = J(() => import("./BaseIcon-DBAQZ9vX.js")), xe = J(() => import("./UserOptions-oB62jZT7.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
46
+ const Ce = J(() => import("./vue-ui-sparkline-9JAj9Jya.js")), N = J(() => import("./BaseIcon-DS7JPu4C.js")), xe = J(() => import("./UserOptions-DLoccAqI.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
47
47
  me(() => {
48
48
  Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
49
49
  });
@@ -0,0 +1,541 @@
1
+ import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as y, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
2
+ import { u as qe, c as Ee, v as Re, o as Ve, e as me, g as Ge, t as Be, p as F, a as De, b as je, w as f, d as Y, X as Xe, s as Je, i as Ke, f as Qe } from "./index-WItD8fls.js";
3
+ import { t as Ze, u as et } from "./useResponsive-DfdjqQps.js";
4
+ import { u as tt, B as st } from "./BaseScanner-DIK2NTdp.js";
5
+ import { u as ot } from "./usePrinter-FH6Yncdh.js";
6
+ import { u as ye } from "./useNestedProp-DP91lffT.js";
7
+ import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as at } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as rt } from "./useAutoSizeLabelsInsideViewbox-tevkHMvX.js";
10
+ import ut from "./Title-k4QgmSIv.js";
11
+ import nt from "./img-3dhgTl6e.js";
12
+ import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const ht = ["id"], ct = {
14
+ key: 1,
15
+ ref: "noTitle",
16
+ class: "vue-data-ui-no-title-space",
17
+ style: "height:36px; width: 100%;background:transparent"
18
+ }, vt = ["xmlns", "viewBox"], dt = ["width", "height"], mt = ["id"], yt = ["x", "y", "width", "height", "rx", "ry"], ft = ["id"], gt = ["stop-color"], pt = ["stop-color"], kt = ["stop-color"], bt = ["clip-path"], wt = ["x", "y", "height", "width"], xt = ["x", "y", "height", "width", "fill"], _t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], $t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], At = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], It = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Pt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], St = ["x", "y", "height", "width"], Mt = { key: 1 }, Tt = ["x", "y", "height"], zt = ["y", "x", "fill", "font-size", "font-weight"], Wt = {
19
+ key: 4,
20
+ class: "vue-data-ui-watermark"
21
+ }, Ut = {
22
+ __name: "vue-ui-thermometer",
23
+ props: {
24
+ dataset: {
25
+ type: Object,
26
+ default() {
27
+ return {};
28
+ }
29
+ },
30
+ config: {
31
+ type: Object,
32
+ default() {
33
+ return {};
34
+ }
35
+ }
36
+ },
37
+ setup(O, { expose: fe }) {
38
+ ze((s) => ({
39
+ "98327f62": Fe.value,
40
+ "94da5bc2": Ae.value,
41
+ "3f9c62cc": $e.value
42
+ }));
43
+ const ge = j(() => import("./PackageVersion-BIrL3taE.js")), pe = j(() => import("./PenAndPaper-CGyRnyF7.js")), ke = j(() => import("./UserOptions-DLoccAqI.js")), { vue_ui_thermometer: be } = qe(), g = O, p = v(Ee()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), we = c(() => !!g.dataset && Object.keys(g.dataset).length);
44
+ We(() => {
45
+ te();
46
+ });
47
+ const e = v(V()), xe = v(e.value.style.chart.thermometer.width), H = v(e.value.style.chart.height), q = v(e.value.style.chart.width), { loading: Z, FINAL_DATASET: h } = tt({
48
+ ...Ue(g),
49
+ FINAL_CONFIG: e,
50
+ prepareConfig: V,
51
+ skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
52
+ skeletonConfig: Re({
53
+ defaultConfig: e.value,
54
+ userConfig: {
55
+ userOptions: { show: !1 },
56
+ style: {
57
+ chart: {
58
+ animation: { use: !1 },
59
+ backgroundColor: "#99999930",
60
+ graduations: {
61
+ stroke: "#6A6A6A"
62
+ }
63
+ }
64
+ }
65
+ }
66
+ })
67
+ }), ee = c(() => !!e.value.debug);
68
+ function te() {
69
+ if (Ve(g.dataset) ? me({
70
+ componentName: "VueUiThermometer",
71
+ type: "dataset",
72
+ debug: ee.value
73
+ }) : Ge({
74
+ datasetObject: g.dataset,
75
+ requiredAttributes: ["value", "from", "to"]
76
+ }).forEach((s) => {
77
+ me({
78
+ componentName: "VueUiThermometer",
79
+ type: "datasetAttribute",
80
+ property: s,
81
+ debug: ee.value
82
+ });
83
+ }), e.value.responsive) {
84
+ const s = Ze(() => {
85
+ const { width: l, height: t } = et({
86
+ chart: k.value,
87
+ title: e.value.style.title.text ? K.value : null,
88
+ source: Q.value
89
+ });
90
+ requestAnimationFrame(() => {
91
+ H.value = Math.max(0.1, t - 12), q.value = l, ce();
92
+ });
93
+ });
94
+ b.value && (I.value && b.value.unobserve(I.value), b.value.disconnect()), b.value = new ResizeObserver(s), I.value = k.value, b.value.observe(I.value);
95
+ }
96
+ requestAnimationFrame(ce);
97
+ }
98
+ const { userOptionsVisible: E, setUserOptionsVisibility: se, keepUserOptionState: oe } = lt({ config: e.value }), { svgRef: R } = at({ config: e.value.style.title });
99
+ function V() {
100
+ const s = ye({
101
+ userConfig: g.config,
102
+ defaultConfig: be
103
+ });
104
+ return s.theme ? {
105
+ ...ye({
106
+ userConfig: De.vue_ui_thermometer[s.theme] || g.config,
107
+ defaultConfig: s
108
+ }),
109
+ customPalette: Be[s.theme] || F
110
+ } : s;
111
+ }
112
+ Le(() => g.config, (s) => {
113
+ e.value = V(), E.value = !e.value.userOptions.showOnChartHover, xe.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, q.value = e.value.style.chart.width, te(), J.value += 1;
114
+ }, { deep: !0 });
115
+ const { isPrinting: le, isImaging: ae, generatePdf: re, generateImage: ue } = ot({
116
+ elementId: `thermometer__${p.value}`,
117
+ fileName: e.value.style.title.text || "vue-ui-thermometer",
118
+ options: e.value.userOptions.print
119
+ }), _e = c(() => e.value.userOptions.show && !e.value.style.title.text), P = c(() => je(e.value.customPalette)), m = c(() => h.value.steps || 10);
120
+ function S(s, l, t) {
121
+ const r = [], _ = ne(s), C = ne(l);
122
+ for (let $ = 0; $ < t; $++) {
123
+ const Pe = G(_.red, C.red, $, t), Se = G(_.green, C.green, $, t), Me = G(_.blue, C.blue, $, t), Te = `#${B(Pe)}${B(Se)}${B(Me)}`;
124
+ r.push(Te);
125
+ }
126
+ return r;
127
+ }
128
+ function ne(s) {
129
+ const l = s.slice(1);
130
+ return {
131
+ red: parseInt(l.slice(0, 2), 16),
132
+ green: parseInt(l.slice(2, 4), 16),
133
+ blue: parseInt(l.slice(4, 6), 16)
134
+ };
135
+ }
136
+ function G(s, l, t, r) {
137
+ return Math.round(s + (l - s) * t / r);
138
+ }
139
+ function B(s) {
140
+ return s.toString(16).padStart(2, "0");
141
+ }
142
+ const o = c(() => {
143
+ const s = Math.max(0.1, q.value), l = Math.max(0.1, H.value), t = e.value.style.chart.padding;
144
+ return {
145
+ width: s,
146
+ left: s / 2 - e.value.style.chart.thermometer.width / 2,
147
+ right: s / 2 + e.value.style.chart.thermometer.width / 2,
148
+ top: t.top,
149
+ bottom: l - t.bottom - t.top,
150
+ height: l,
151
+ thermoHeight: l - t.top - t.bottom,
152
+ thermoWidth: e.value.style.chart.thermometer.width
153
+ };
154
+ }), Ce = c(() => o.value), M = c(() => {
155
+ const s = f(h.value.from) < 0 ? Math.abs(f(h.value.from)) : f(h.value.from), l = f(h.value.to) < 0 ? Math.abs(f(h.value.to)) : f(h.value.to);
156
+ let t = 0;
157
+ return f(h.value.to) > 0 ? t = s + l : s > l ? t = s - l : t = l - s, (1 - (Math.abs(f(h.value.from)) + f(h.value.value)) / t) * o.value.thermoHeight;
158
+ }), $e = c(() => `${M.value}px`), Ae = c(() => `${o.value.thermoHeight}px`), Fe = c(() => `${e.value.style.chart.animation.speedMs}ms`), Oe = c(() => {
159
+ if (h.value.colors) {
160
+ if (!h.value.colors.from)
161
+ return S(P.value[0] || F[0], Y(h.value.colors.to), m.value || 10);
162
+ if (!h.value.colors.to)
163
+ return S(Y(h.value.colors.from), P.value[1] || F[1], m.value || 10);
164
+ } else
165
+ return S(P.value[1] || F[1], P.value[0] || F[0], m.value || 10);
166
+ return S(Y(h.value.colors.from), Y(h.value.colors.to), m.value || 10);
167
+ }), ie = c(() => {
168
+ const s = [];
169
+ let l = 0;
170
+ const t = o.value.thermoHeight;
171
+ for (let r = 0; r < t - 1; r += t / m.value)
172
+ s.push({
173
+ x: o.value.left,
174
+ y: o.value.top + r,
175
+ qYLess: o.value.top + r + t / m.value / 4,
176
+ halfY: o.value.top + r + t / m.value / 2,
177
+ qYMore: o.value.top + r + t / m.value / 4 * 3,
178
+ color: Oe.value[l],
179
+ height: Math.max(0.1, t / m.value)
180
+ }), l += 1;
181
+ return s;
182
+ }), w = v(!1);
183
+ function he(s) {
184
+ w.value = s, X.value += 1;
185
+ }
186
+ const T = v(!1);
187
+ function D() {
188
+ T.value = !T.value;
189
+ }
190
+ async function Ie({ scale: s = 2 } = {}) {
191
+ if (!k.value) return;
192
+ const { width: l, height: t } = k.value.getBoundingClientRect(), r = l / t, { imageUri: _, base64: C } = await nt({ domElement: k.value, base64: !0, img: !0, scale: s });
193
+ return {
194
+ imageUri: _,
195
+ base64: C,
196
+ title: e.value.style.title.text,
197
+ width: l,
198
+ height: t,
199
+ aspectRatio: r
200
+ };
201
+ }
202
+ const x = c({
203
+ get: () => e.value.style.chart.label.fontSize,
204
+ set: (s) => s
205
+ }), { autoSizeLabels: ce } = rt({
206
+ svgRef: R,
207
+ fontSize: e.value.style.chart.label.fontSize,
208
+ minFontSize: e.value.style.chart.label.minFontSize,
209
+ sizeRef: x,
210
+ labelClass: ".vue-ui-thermometer-label"
211
+ });
212
+ return fe({
213
+ getImage: Ie,
214
+ generatePdf: re,
215
+ generateImage: ue,
216
+ toggleAnnotator: D,
217
+ toggleFullscreen: he
218
+ }), (s, l) => (a(), u("div", {
219
+ ref_key: "thermoChart",
220
+ ref: k,
221
+ class: z(`vue-ui-thermometer ${w.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
222
+ style: ve(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
223
+ id: `thermometer__${p.value}`,
224
+ onMouseenter: l[0] || (l[0] = () => n(se)(!0)),
225
+ onMouseleave: l[1] || (l[1] = () => n(se)(!1))
226
+ }, [
227
+ e.value.userOptions.buttons.annotator ? (a(), W(n(pe), {
228
+ key: 0,
229
+ svgRef: n(R),
230
+ backgroundColor: e.value.style.chart.backgroundColor,
231
+ color: e.value.style.chart.color,
232
+ active: T.value,
233
+ onClose: D
234
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
235
+ _e.value ? (a(), u("div", ct, null, 512)) : i("", !0),
236
+ e.value.style.title.text ? (a(), u("div", {
237
+ key: 2,
238
+ ref_key: "chartTitle",
239
+ ref: K,
240
+ style: "width:100%"
241
+ }, [
242
+ (a(), W(ut, {
243
+ key: `title_${J.value}`,
244
+ config: {
245
+ title: {
246
+ cy: "thermometer-div-title",
247
+ ...e.value.style.title
248
+ },
249
+ subtitle: {
250
+ cy: "thermometer-div-subtitle",
251
+ ...e.value.style.title.subtitle
252
+ }
253
+ }
254
+ }, null, 8, ["config"]))
255
+ ], 512)) : i("", !0),
256
+ e.value.userOptions.show && we.value && (n(oe) || n(E)) ? (a(), W(n(ke), {
257
+ ref: "details",
258
+ key: `user_options_${X.value}`,
259
+ backgroundColor: e.value.style.chart.backgroundColor,
260
+ color: e.value.style.chart.color,
261
+ isImaging: n(ae),
262
+ isPrinting: n(le),
263
+ uid: p.value,
264
+ hasPdf: e.value.userOptions.buttons.pdf,
265
+ hasImg: e.value.userOptions.buttons.img,
266
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
267
+ hasXls: !1,
268
+ isFullscreen: w.value,
269
+ titles: { ...e.value.userOptions.buttonTitles },
270
+ chartElement: k.value,
271
+ position: e.value.userOptions.position,
272
+ hasAnnotator: e.value.userOptions.buttons.annotator,
273
+ isAnnotation: T.value,
274
+ callbacks: e.value.userOptions.callbacks,
275
+ printScale: e.value.userOptions.print.scale,
276
+ onToggleFullscreen: he,
277
+ onGeneratePdf: n(re),
278
+ onGenerateImage: n(ue),
279
+ onToggleAnnotator: D,
280
+ style: ve({
281
+ visibility: n(oe) ? n(E) ? "visible" : "hidden" : "visible"
282
+ })
283
+ }, Ne({ _: 2 }, [
284
+ s.$slots.menuIcon ? {
285
+ name: "menuIcon",
286
+ fn: A(({ isOpen: t, color: r }) => [
287
+ y(s.$slots, "menuIcon", U(L({ isOpen: t, color: r })), void 0, !0)
288
+ ]),
289
+ key: "0"
290
+ } : void 0,
291
+ s.$slots.optionPdf ? {
292
+ name: "optionPdf",
293
+ fn: A(() => [
294
+ y(s.$slots, "optionPdf", {}, void 0, !0)
295
+ ]),
296
+ key: "1"
297
+ } : void 0,
298
+ s.$slots.optionImg ? {
299
+ name: "optionImg",
300
+ fn: A(() => [
301
+ y(s.$slots, "optionImg", {}, void 0, !0)
302
+ ]),
303
+ key: "2"
304
+ } : void 0,
305
+ s.$slots.optionFullscreen ? {
306
+ name: "optionFullscreen",
307
+ fn: A(({ toggleFullscreen: t, isFullscreen: r }) => [
308
+ y(s.$slots, "optionFullscreen", U(L({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
309
+ ]),
310
+ key: "3"
311
+ } : void 0,
312
+ s.$slots.optionAnnotator ? {
313
+ name: "optionAnnotator",
314
+ fn: A(({ toggleAnnotator: t, isAnnotator: r }) => [
315
+ y(s.$slots, "optionAnnotator", U(L({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
316
+ ]),
317
+ key: "4"
318
+ } : void 0
319
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
320
+ (a(), u("svg", {
321
+ ref_key: "svgRef",
322
+ ref: R,
323
+ xmlns: n(Xe),
324
+ class: z({ "vue-data-ui-fullscreen--on": w.value, "vue-data-ui-fulscreen--off": !w.value }),
325
+ width: "100%",
326
+ viewBox: `0 0 ${o.value.width} ${o.value.height}`,
327
+ style: "background:transparent"
328
+ }, [
329
+ Ye(n(ge)),
330
+ s.$slots["chart-background"] ? (a(), u("foreignObject", {
331
+ key: 0,
332
+ x: 0,
333
+ y: 0,
334
+ width: o.value.width,
335
+ height: o.value.height,
336
+ style: {
337
+ pointerEvents: "none"
338
+ }
339
+ }, [
340
+ y(s.$slots, "chart-background", {}, void 0, !0)
341
+ ], 8, dt)) : i("", !0),
342
+ d("defs", null, [
343
+ d("clipPath", {
344
+ id: `vueUiPill-${p.value}`,
345
+ clipPathUnits: "userSpaceOnUse"
346
+ }, [
347
+ d("rect", {
348
+ x: o.value.left,
349
+ y: o.value.top,
350
+ width: o.value.thermoWidth,
351
+ height: o.value.thermoHeight,
352
+ rx: o.value.thermoWidth / 2,
353
+ ry: o.value.thermoWidth / 2
354
+ }, null, 8, yt)
355
+ ], 8, mt),
356
+ (a(!0), u(N, null, de(ie.value, (t, r) => (a(), u("linearGradient", {
357
+ id: `vueUiThermometerGradient_${r}_${p.value}`,
358
+ x1: "0%",
359
+ y1: "0%",
360
+ x2: "100%",
361
+ y2: "0%"
362
+ }, [
363
+ d("stop", {
364
+ offset: "0%",
365
+ "stop-color": t.color
366
+ }, null, 8, gt),
367
+ d("stop", {
368
+ offset: "50%",
369
+ "stop-color": n(Je)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
370
+ }, null, 8, pt),
371
+ d("stop", {
372
+ offset: "100%",
373
+ "stop-color": t.color
374
+ }, null, 8, kt)
375
+ ], 8, ft))), 256))
376
+ ]),
377
+ d("g", {
378
+ "clip-path": `url(#vueUiPill-${p.value})`
379
+ }, [
380
+ d("rect", {
381
+ x: o.value.left,
382
+ y: o.value.top,
383
+ height: o.value.thermoHeight,
384
+ width: o.value.thermoWidth,
385
+ fill: "#FFFFFF"
386
+ }, null, 8, wt),
387
+ (a(!0), u(N, null, de(ie.value, (t, r) => (a(), u("g", {
388
+ key: `graduation_${r}`
389
+ }, [
390
+ d("rect", {
391
+ x: t.x,
392
+ y: t.y,
393
+ height: t.height,
394
+ width: o.value.thermoWidth,
395
+ fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${r}_${p.value})` : t.color,
396
+ "shape-rendering": "crispEdges"
397
+ }, null, 8, xt),
398
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
399
+ key: 0,
400
+ x1: t.x,
401
+ x2: t.x + 10,
402
+ y1: t.y,
403
+ y2: t.y,
404
+ "stroke-width": e.value.style.chart.graduations.strokeWidth,
405
+ stroke: e.value.style.chart.graduations.stroke,
406
+ "stroke-linecap": "round"
407
+ }, null, 8, _t)) : i("", !0),
408
+ e.value.style.chart.graduations.showIntermediate ? (a(), u(N, { key: 1 }, [
409
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
410
+ key: 0,
411
+ x1: t.x,
412
+ x2: t.x + 5,
413
+ y1: t.halfY,
414
+ y2: t.halfY,
415
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
416
+ stroke: e.value.style.chart.graduations.stroke,
417
+ "stroke-linecap": "round"
418
+ }, null, 8, Ct)) : i("", !0),
419
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
420
+ key: 1,
421
+ x1: t.x,
422
+ x2: t.x + 2.5,
423
+ y1: t.qYLess,
424
+ y2: t.qYLess,
425
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
426
+ stroke: e.value.style.chart.graduations.stroke,
427
+ "stroke-linecap": "round"
428
+ }, null, 8, $t)) : i("", !0),
429
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
430
+ key: 2,
431
+ x1: t.x,
432
+ x2: t.x + 2.5,
433
+ y1: t.qYMore,
434
+ y2: t.qYMore,
435
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
436
+ stroke: e.value.style.chart.graduations.stroke,
437
+ "stroke-linecap": "round"
438
+ }, null, 8, At)) : i("", !0)
439
+ ], 64)) : i("", !0),
440
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
441
+ key: 2,
442
+ x1: o.value.right,
443
+ x2: o.value.right - 10,
444
+ y1: t.y,
445
+ y2: t.y,
446
+ "stroke-width": e.value.style.chart.graduations.strokeWidth,
447
+ stroke: e.value.style.chart.graduations.stroke,
448
+ "stroke-linecap": "round"
449
+ }, null, 8, Ft)) : i("", !0),
450
+ e.value.style.chart.graduations.showIntermediate ? (a(), u(N, { key: 3 }, [
451
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
452
+ key: 0,
453
+ x1: o.value.right,
454
+ x2: o.value.right - 5,
455
+ y1: t.halfY,
456
+ y2: t.halfY,
457
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
458
+ stroke: e.value.style.chart.graduations.stroke,
459
+ "stroke-linecap": "round"
460
+ }, null, 8, Ot)) : i("", !0),
461
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
462
+ key: 1,
463
+ x1: o.value.right,
464
+ x2: o.value.right - 2.5,
465
+ y1: t.qYLess,
466
+ y2: t.qYLess,
467
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
468
+ stroke: e.value.style.chart.graduations.stroke,
469
+ "stroke-linecap": "round"
470
+ }, null, 8, It)) : i("", !0),
471
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
472
+ key: 2,
473
+ x1: o.value.right,
474
+ x2: o.value.right - 2.5,
475
+ y1: t.qYMore,
476
+ y2: t.qYMore,
477
+ "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
478
+ stroke: e.value.style.chart.graduations.stroke,
479
+ "stroke-linecap": "round"
480
+ }, null, 8, Pt)) : i("", !0)
481
+ ], 64)) : i("", !0)
482
+ ]))), 128)),
483
+ d("rect", {
484
+ class: z({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
485
+ x: o.value.left,
486
+ y: o.value.top,
487
+ height: M.value,
488
+ width: o.value.thermoWidth,
489
+ fill: "#FFFFFF66"
490
+ }, null, 10, St)
491
+ ], 8, bt),
492
+ e.value.style.chart.label.show ? (a(), u("g", Mt, [
493
+ n(Z) ? (a(), u("rect", {
494
+ key: 0,
495
+ x: o.value.left - 60,
496
+ y: M.value + o.value.top - x.value / 2,
497
+ width: 50,
498
+ height: x.value,
499
+ fill: "#6A6A6A40",
500
+ rx: "3"
501
+ }, null, 8, Tt)) : (a(), u("text", {
502
+ key: 1,
503
+ class: z({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use, "vue-ui-thermometer-label": !0 }),
504
+ y: M.value + o.value.top + x.value / 3,
505
+ x: o.value.left - 10,
506
+ "text-anchor": "end",
507
+ fill: e.value.style.chart.label.color,
508
+ "font-size": x.value,
509
+ "font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
510
+ }, He(n(Ke)(
511
+ e.value.style.chart.label.formatter,
512
+ O.dataset.value,
513
+ n(Qe)({
514
+ p: e.value.style.chart.label.prefix,
515
+ v: O.dataset.value,
516
+ s: e.value.style.chart.label.suffix,
517
+ r: e.value.style.chart.label.rounding
518
+ }),
519
+ { datapoint: O.dataset }
520
+ )), 11, zt))
521
+ ])) : i("", !0),
522
+ y(s.$slots, "svg", { svg: Ce.value }, void 0, !0)
523
+ ], 10, vt)),
524
+ s.$slots.watermark ? (a(), u("div", Wt, [
525
+ y(s.$slots, "watermark", U(L({ isPrinting: n(le) || n(ae) })), void 0, !0)
526
+ ])) : i("", !0),
527
+ s.$slots.source ? (a(), u("div", {
528
+ key: 5,
529
+ ref_key: "source",
530
+ ref: Q,
531
+ dir: "auto"
532
+ }, [
533
+ y(s.$slots, "source", {}, void 0, !0)
534
+ ], 512)) : i("", !0),
535
+ n(Z) ? (a(), W(st, { key: 6 })) : i("", !0)
536
+ ], 46, ht));
537
+ }
538
+ }, Xt = /* @__PURE__ */ it(Ut, [["__scopeId", "data-v-25e957fb"]]);
539
+ export {
540
+ Xt as default
541
+ };
@@ -1,10 +1,10 @@
1
1
  import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
2
- import { u as ne } from "./useNestedProp-DoTKbeYP.js";
3
- import { u as ce, c as ve, X as de, E as X } from "./index-DJKz3EWJ.js";
2
+ import { u as ne } from "./useNestedProp-DP91lffT.js";
3
+ import { u as ce, c as ve, X as de, E as X } from "./index-WItD8fls.js";
4
4
  import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
6
- import we from "./Title-3ACEciQv.js";
7
- import R from "./BaseIcon-DBAQZ9vX.js";
6
+ import we from "./Title-k4QgmSIv.js";
7
+ import R from "./BaseIcon-DS7JPu4C.js";
8
8
  import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  class ge {
10
10
  constructor(L, E, S, N = !0, A = !0) {
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
130
130
  },
131
131
  emits: ["start", "pause", "reset", "restart", "lap"],
132
132
  setup(q, { expose: L, emit: E }) {
133
- const S = se(() => import("./PackageVersion-DQcP7Cwd.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
133
+ const S = se(() => import("./PackageVersion-BIrL3taE.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
134
134
  le(() => {
135
135
  m();
136
136
  });