vue-data-ui 3.0.0-next.0 → 3.0.0-next.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/README.md +109 -68
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-8Wnel_lw.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-D-IcFGSE.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-RLse0qy8.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-D9dpnizT.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-IzCJ9gby.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-SfJ53F5x.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-3oZlBiCt.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-u8Hc4rJi.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-6iArlmj7.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-vSWSsIaU.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-CPMTQDCj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-sazd7MmK.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-CTsOHFNh.js} +1 -1
  15. package/dist/Tooltip-4cn1szzA.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-X9Ckvwp-.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-C3BKllTG.js} +1 -1
  18. package/dist/img-D9CjuW6g.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-DBSLpcPM.js} +1515 -1426
  20. package/dist/pdf-V4tIjxUb.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -222
  23. package/dist/types/vue-data-ui.d.ts +1098 -222
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-BQFkJRtL.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-CjyE7ii3.js} +2 -2
  27. package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DG97x2hL.js} +139 -132
  28. package/dist/vue-data-ui-BgN2CPSV.js +320 -0
  29. package/dist/vue-data-ui.js +53 -52
  30. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DlnRLAbw.js} +261 -245
  31. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-yWXqkLfQ.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-C_4kFlWe.js} +233 -217
  33. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-DVXA74Er.js} +2 -2
  34. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-DoxSEGR4.js} +172 -156
  35. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bke-ZK92.js} +271 -254
  36. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-CqRuHaU6.js} +17 -16
  37. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-BYIowBXd.js} +419 -403
  38. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-DyA4jvyD.js} +256 -240
  39. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-BVT22rGO.js} +230 -214
  40. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-B3RyMKwx.js} +2 -2
  41. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-Cgqpnpao.js} +62 -62
  42. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-Db9yuqjo.js} +2 -2
  43. package/dist/vue-ui-donut-CdsBUcPD.js +1547 -0
  44. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-D5eUZJuU.js} +370 -357
  45. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-CWgs8sB6.js} +216 -200
  46. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CL5jxEBp.js} +217 -201
  47. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DT9BzBp3.js} +213 -197
  48. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-hwr5J-b7.js} +215 -202
  49. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-D_fnRyKs.js} +220 -204
  50. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-CLni95HP.js} +3 -3
  51. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-Bd8qoV2F.js} +244 -224
  52. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BJvaJkPO.js} +268 -252
  53. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-B7uO6vRA.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CTDfGO91.js} +2 -2
  55. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-BSE6LaGt.js} +204 -188
  56. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-CN24P-Tk.js} +206 -190
  57. package/dist/vue-ui-nested-donuts-CWL3uP-u.js +1212 -0
  58. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-Bib32nel.js} +196 -180
  59. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-l0O-i93L.js} +194 -178
  60. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-D0pzeobL.js} +321 -305
  61. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-CaLIrn96.js} +347 -331
  62. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DXJ1WS7s.js} +193 -177
  63. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-C6qqU59J.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-SpPQ2WhH.js} +188 -172
  65. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-BMsbiTjU.js} +212 -196
  66. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-ES4LhrT0.js} +223 -210
  67. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-yV6nLFs6.js} +288 -273
  68. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-7gkY0oe-.js} +3 -3
  69. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-CYLqgGm1.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-kQ3dsaGO.js} +3 -3
  71. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-Bfe8SMeM.js} +3 -3
  72. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-Dxts3pPS.js} +3 -3
  73. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-CC6-gQ2R.js} +4 -4
  74. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-Ba6FPyOS.js} +3 -3
  75. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-CQr6s7Ij.js} +3 -3
  76. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-cJAK-x5g.js} +497 -474
  77. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-DyU5K6-X.js} +241 -225
  78. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-B_KeSP8f.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-CzGGjLl6.js} +26 -25
  80. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-BoW1Y5Hh.js} +8 -7
  81. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-ROH_nY6z.js} +170 -154
  82. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-DmgpfYIT.js} +5 -5
  83. package/dist/vue-ui-tiremarks-CkmD6BQB.js +358 -0
  84. package/dist/vue-ui-treemap-BOxeG-ql.js +965 -0
  85. package/dist/vue-ui-vertical-bar-BoKi7wHJ.js +1106 -0
  86. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-BIM_Qg3a.js} +234 -221
  87. package/dist/vue-ui-wheel-CGZgFZax.js +352 -0
  88. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-Dt-X1dFo.js} +249 -233
  89. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BrPqffT7.js} +239 -223
  90. package/dist/vue-ui-xy-CYko0Jmo.js +2982 -0
  91. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-DVRWryRe.js} +447 -431
  92. package/package.json +2 -2
  93. package/dist/Tooltip-hVZUY_s5.js +0 -149
  94. package/dist/img-BeMVTwmF.js +0 -20
  95. package/dist/pdf-DPxOdzfi.js +0 -51
  96. package/dist/useMouse-AicQS8Vf.js +0 -13
  97. package/dist/vue-data-ui-nceqWRts.js +0 -301
  98. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  99. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  100. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  101. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  102. package/dist/vue-ui-vertical-bar-Dd4sYeAC.js +0 -958
  103. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  104. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -1,30 +1,31 @@
1
- import { useCssVars as Ce, computed as d, defineAsyncComponent as F, onMounted as $e, ref as p, watch as Pe, createElementBlock as u, openBlock as l, unref as i, normalizeStyle as se, normalizeClass as O, createBlock as I, createCommentVNode as c, createSlots as Fe, withCtx as x, renderSlot as f, normalizeProps as A, guardReactiveProps as M, createVNode as Oe, createElementVNode as v, Fragment as Y, renderList as oe, toDisplayString as Ie } from "vue";
2
- import { u as Ae, o as Me, e as le, g as Ye, c as Ne, t as Se, p as w, a as Ue, b as Te, v as g, d as N, X as Ve, s as qe, i as Le, f as Ee } from "./index-DMqAxz7R.js";
3
- import { u as ae } from "./useNestedProp-YgN3FV_8.js";
4
- import { u as Ge } from "./usePrinter-COkTjv6C.js";
5
- import { u as We } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as je } from "./useChartAccessibility-9icAAmYg.js";
7
- import ze from "./Title-D29apS4l.js";
8
- import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const Re = ["id"], De = {
1
+ import { useCssVars as $e, computed as d, defineAsyncComponent as A, onMounted as Pe, ref as p, watch as Fe, createElementBlock as u, openBlock as l, unref as i, normalizeStyle as oe, normalizeClass as S, createBlock as M, createCommentVNode as c, createSlots as Oe, withCtx as C, renderSlot as f, normalizeProps as U, guardReactiveProps as Y, createVNode as Ie, createElementVNode as v, Fragment as N, renderList as ae, toDisplayString as Ae } from "vue";
2
+ import { u as Se, o as Me, e as le, g as Ue, c as Ye, t as Ne, p as $, a as Te, b as Ve, v as g, d as T, X as qe, s as Le, i as Ee, f as Ge } from "./index-DBSLpcPM.js";
3
+ import { u as re } from "./useNestedProp-BQFkJRtL.js";
4
+ import { u as We } from "./usePrinter-CjyE7ii3.js";
5
+ import { u as Be } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as Re } from "./useChartAccessibility-9icAAmYg.js";
7
+ import je from "./Title-CTsOHFNh.js";
8
+ import ze from "./img-D9CjuW6g.js";
9
+ import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const He = ["id"], Xe = {
10
11
  key: 1,
11
12
  ref: "noTitle",
12
13
  class: "vue-data-ui-no-title-space",
13
14
  style: "height:36px; width: 100%;background:transparent"
14
- }, He = {
15
+ }, Je = {
15
16
  key: 2,
16
17
  style: "width:100%"
17
- }, Xe = ["xmlns", "viewBox"], Je = ["width", "height"], Ke = {
18
+ }, Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = {
18
19
  id: "vueUiPill",
19
20
  clipPathUnits: "objectBoundingBox"
20
- }, Qe = ["fill"], Ze = ["id"], et = ["stop-color"], tt = ["stop-color"], st = ["stop-color"], ot = { "clip-path": "url(#vueUiPill)" }, lt = ["x", "y", "height", "width"], at = ["x", "y", "height", "width", "fill"], rt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], dt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], vt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], yt = ["x", "y", "height", "width"], ft = ["y", "x", "fill", "font-size", "font-weight"], gt = {
21
+ }, et = ["fill"], tt = ["id"], st = ["stop-color"], ot = ["stop-color"], at = ["stop-color"], lt = { "clip-path": "url(#vueUiPill)" }, rt = ["x", "y", "height", "width"], nt = ["x", "y", "height", "width", "fill"], ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], dt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], vt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], yt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], gt = ["x", "y", "height", "width"], pt = ["y", "x", "fill", "font-size", "font-weight"], mt = {
21
22
  key: 5,
22
23
  class: "vue-data-ui-watermark"
23
- }, pt = {
24
+ }, kt = {
24
25
  key: 6,
25
26
  ref: "source",
26
27
  dir: "auto"
27
- }, mt = {
28
+ }, bt = {
28
29
  __name: "vue-ui-thermometer",
29
30
  props: {
30
31
  dataset: {
@@ -40,22 +41,22 @@ const Re = ["id"], De = {
40
41
  }
41
42
  }
42
43
  },
43
- setup(_, { expose: re }) {
44
- Ce((s) => ({
45
- "4bc80fca": pe.value,
46
- "19db7204": ge.value,
47
- "5e34901e": fe.value
44
+ setup(P, { expose: ne }) {
45
+ $e((s) => ({
46
+ "7efc96cd": me.value,
47
+ "4d37cb61": pe.value,
48
+ "295a76e4": ge.value
48
49
  }));
49
- const ne = F(() => import("./PackageVersion-D0VPY8-5.js")), ue = F(() => import("./PenAndPaper-DhBJsnob.js")), ie = F(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), ce = F(() => import("./UserOptions-Bdit7AWO.js")), { vue_ui_thermometer: he } = Ae(), a = _, S = d(() => !!a.dataset && Object.keys(a.dataset).length);
50
- $e(() => {
51
- W();
50
+ const ue = A(() => import("./PackageVersion-u8Hc4rJi.js")), ie = A(() => import("./PenAndPaper-6iArlmj7.js")), ce = A(() => import("./vue-ui-skeleton-7gkY0oe-.js")), he = A(() => import("./UserOptions-X9Ckvwp-.js")), { vue_ui_thermometer: de } = Se(), r = P, V = d(() => !!r.dataset && Object.keys(r.dataset).length);
51
+ Pe(() => {
52
+ B();
52
53
  });
53
- function W() {
54
- Me(a.dataset) ? le({
54
+ function B() {
55
+ Me(r.dataset) ? le({
55
56
  componentName: "VueUiThermometer",
56
57
  type: "dataset"
57
- }) : Ye({
58
- datasetObject: a.dataset,
58
+ }) : Ue({
59
+ datasetObject: r.dataset,
59
60
  requiredAttributes: ["value", "from", "to"]
60
61
  }).forEach((s) => {
61
62
  le({
@@ -65,84 +66,84 @@ const Re = ["id"], De = {
65
66
  });
66
67
  });
67
68
  }
68
- const m = p(Ne()), j = p(null), z = p(0), B = p(0), e = d({
69
+ const m = p(Ye()), k = p(null), R = p(0), j = p(0), e = d({
69
70
  get: () => X(),
70
71
  set: (s) => s
71
- }), { userOptionsVisible: U, setUserOptionsVisibility: R, keepUserOptionState: D } = We({ config: e.value }), { svgRef: H } = je({ config: e.value.style.title });
72
+ }), { userOptionsVisible: q, setUserOptionsVisibility: z, keepUserOptionState: D } = Be({ config: e.value }), { svgRef: H } = Re({ config: e.value.style.title });
72
73
  function X() {
73
- const s = ae({
74
- userConfig: a.config,
75
- defaultConfig: he
74
+ const s = re({
75
+ userConfig: r.config,
76
+ defaultConfig: de
76
77
  });
77
78
  return s.theme ? {
78
- ...ae({
79
- userConfig: Ue.vue_ui_thermometer[s.theme] || a.config,
79
+ ...re({
80
+ userConfig: Te.vue_ui_thermometer[s.theme] || r.config,
80
81
  defaultConfig: s
81
82
  }),
82
- customPalette: Se[s.theme] || w
83
+ customPalette: Ne[s.theme] || $
83
84
  } : s;
84
85
  }
85
- Pe(() => a.config, (s) => {
86
- e.value = X(), U.value = !e.value.userOptions.showOnChartHover, W(), B.value += 1;
86
+ Fe(() => r.config, (s) => {
87
+ e.value = X(), q.value = !e.value.userOptions.showOnChartHover, B(), j.value += 1;
87
88
  }, { deep: !0 });
88
- const { isPrinting: J, isImaging: K, generatePdf: Q, generateImage: Z } = Ge({
89
+ const { isPrinting: J, isImaging: K, generatePdf: Q, generateImage: Z } = We({
89
90
  elementId: `thermometer__${m.value}`,
90
91
  fileName: e.value.style.title.text || "vue-ui-thermometer",
91
92
  options: e.value.userOptions.print
92
- }), de = d(() => e.value.userOptions.show && !e.value.style.title.text), C = d(() => Te(e.value.customPalette)), ve = d(() => e.value.style.chart.thermometer.width), y = d(() => a.dataset.steps || 10), h = p({
93
+ }), ve = d(() => e.value.userOptions.show && !e.value.style.title.text), F = d(() => Ve(e.value.customPalette)), ye = d(() => e.value.style.chart.thermometer.width), y = d(() => r.dataset.steps || 10), h = p({
93
94
  top: e.value.style.chart.padding.top,
94
95
  left: e.value.style.chart.padding.left,
95
96
  right: e.value.style.chart.padding.right,
96
97
  bottom: e.value.style.chart.padding.bottom
97
98
  });
98
- function $(s, r, t) {
99
- const n = [], E = ee(s), G = ee(r);
100
- for (let b = 0; b < t; b++) {
101
- const be = T(E.red, G.red, b, t), xe = T(E.green, G.green, b, t), we = T(E.blue, G.blue, b, t), _e = `#${V(be)}${V(xe)}${V(we)}`;
102
- n.push(_e);
99
+ function O(s, a, t) {
100
+ const n = [], x = ee(s), w = ee(a);
101
+ for (let _ = 0; _ < t; _++) {
102
+ const xe = L(x.red, w.red, _, t), we = L(x.green, w.green, _, t), _e = L(x.blue, w.blue, _, t), Ce = `#${E(xe)}${E(we)}${E(_e)}`;
103
+ n.push(Ce);
103
104
  }
104
105
  return n;
105
106
  }
106
107
  function ee(s) {
107
- const r = s.slice(1);
108
+ const a = s.slice(1);
108
109
  return {
109
- red: parseInt(r.slice(0, 2), 16),
110
- green: parseInt(r.slice(2, 4), 16),
111
- blue: parseInt(r.slice(4, 6), 16)
110
+ red: parseInt(a.slice(0, 2), 16),
111
+ green: parseInt(a.slice(2, 4), 16),
112
+ blue: parseInt(a.slice(4, 6), 16)
112
113
  };
113
114
  }
114
- function T(s, r, t, n) {
115
- return Math.round(s + (r - s) * t / n);
115
+ function L(s, a, t, n) {
116
+ return Math.round(s + (a - s) * t / n);
116
117
  }
117
- function V(s) {
118
+ function E(s) {
118
119
  return s.toString(16).padStart(2, "0");
119
120
  }
120
121
  const o = d(() => {
121
- const s = ve.value + h.value.left + h.value.right, r = e.value.style.chart.height;
122
+ const s = ye.value + h.value.left + h.value.right, a = e.value.style.chart.height;
122
123
  return {
123
124
  width: s,
124
125
  left: h.value.left,
125
126
  right: s - h.value.right,
126
127
  top: h.value.top,
127
- bottom: r - h.value.bottom,
128
- height: r
128
+ bottom: a - h.value.bottom,
129
+ height: a
129
130
  };
130
- }), ye = d(() => o.value), q = d(() => {
131
- const s = g(a.dataset.from) < 0 ? Math.abs(g(a.dataset.from)) : g(a.dataset.from), r = g(a.dataset.to) < 0 ? Math.abs(g(a.dataset.to)) : g(a.dataset.to);
131
+ }), fe = d(() => o.value), G = d(() => {
132
+ const s = g(r.dataset.from) < 0 ? Math.abs(g(r.dataset.from)) : g(r.dataset.from), a = g(r.dataset.to) < 0 ? Math.abs(g(r.dataset.to)) : g(r.dataset.to);
132
133
  let t = 0;
133
- return g(a.dataset.to) > 0 ? t = s + r : s > r ? t = s - r : t = r - s, (1 - (Math.abs(g(a.dataset.from)) + g(a.dataset.value)) / t) * (o.value.height - h.value.top - h.value.bottom);
134
- }), fe = d(() => `${q.value}px`), ge = d(() => `${o.value.height - e.value.style.chart.padding.bottom - h.value.top}px`), pe = d(() => `${e.value.style.chart.animation.speedMs}ms`), me = d(() => {
135
- if (a.dataset.colors) {
136
- if (!a.dataset.colors.from)
137
- return $(C.value[0] || w[0], N(a.dataset.colors.to), y.value || 10);
138
- if (!a.dataset.colors.to)
139
- return $(N(a.dataset.colors.from), C.value[1] || w[1], y.value || 10);
134
+ return g(r.dataset.to) > 0 ? t = s + a : s > a ? t = s - a : t = a - s, (1 - (Math.abs(g(r.dataset.from)) + g(r.dataset.value)) / t) * (o.value.height - h.value.top - h.value.bottom);
135
+ }), ge = d(() => `${G.value}px`), pe = d(() => `${o.value.height - e.value.style.chart.padding.bottom - h.value.top}px`), me = d(() => `${e.value.style.chart.animation.speedMs}ms`), ke = d(() => {
136
+ if (r.dataset.colors) {
137
+ if (!r.dataset.colors.from)
138
+ return O(F.value[0] || $[0], T(r.dataset.colors.to), y.value || 10);
139
+ if (!r.dataset.colors.to)
140
+ return O(T(r.dataset.colors.from), F.value[1] || $[1], y.value || 10);
140
141
  } else
141
- return $(C.value[1] || w[1], C.value[0] || w[0], y.value || 10);
142
- return $(N(a.dataset.colors.from), N(a.dataset.colors.to), y.value || 10);
142
+ return O(F.value[1] || $[1], F.value[0] || $[0], y.value || 10);
143
+ return O(T(r.dataset.colors.from), T(r.dataset.colors.to), y.value || 10);
143
144
  }), te = d(() => {
144
145
  const s = [];
145
- let r = 0;
146
+ let a = 0;
146
147
  const t = o.value.height - h.value.top - h.value.bottom;
147
148
  for (let n = 0; n < t - 1; n += t / y.value)
148
149
  s.push({
@@ -151,43 +152,57 @@ const Re = ["id"], De = {
151
152
  qYLess: o.value.top + n + t / y.value / 4,
152
153
  halfY: o.value.top + n + t / y.value / 2,
153
154
  qYMore: o.value.top + n + t / y.value / 4 * 3,
154
- color: me.value[r],
155
+ color: ke.value[a],
155
156
  height: t / y.value
156
- }), r += 1;
157
+ }), a += 1;
157
158
  return s;
158
- }), k = p(!1);
159
- function ke(s) {
160
- k.value = s, z.value += 1;
159
+ }), b = p(!1);
160
+ function se(s) {
161
+ b.value = s, R.value += 1;
162
+ }
163
+ const I = p(!1);
164
+ function W() {
165
+ I.value = !I.value;
161
166
  }
162
- const P = p(!1);
163
- function L() {
164
- P.value = !P.value;
167
+ async function be({ scale: s = 2 } = {}) {
168
+ if (!k.value) return;
169
+ const { width: a, height: t } = k.value.getBoundingClientRect(), n = a / t, { imageUri: x, base64: w } = await ze({ domElement: k.value, base64: !0, img: !0, scale: s });
170
+ return {
171
+ imageUri: x,
172
+ base64: w,
173
+ title: e.value.style.title.text,
174
+ width: a,
175
+ height: t,
176
+ aspectRatio: n
177
+ };
165
178
  }
166
- return re({
179
+ return ne({
180
+ getImage: be,
167
181
  generatePdf: Q,
168
182
  generateImage: Z,
169
- toggleAnnotator: L
170
- }), (s, r) => (l(), u("div", {
183
+ toggleAnnotator: W,
184
+ toggleFullscreen: se
185
+ }), (s, a) => (l(), u("div", {
171
186
  ref_key: "thermoChart",
172
- ref: j,
173
- class: O(`vue-ui-thermometer ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
174
- style: se(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
187
+ ref: k,
188
+ class: S(`vue-ui-thermometer ${b.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
189
+ style: oe(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
175
190
  id: `thermometer__${m.value}`,
176
- onMouseenter: r[0] || (r[0] = () => i(R)(!0)),
177
- onMouseleave: r[1] || (r[1] = () => i(R)(!1))
191
+ onMouseenter: a[0] || (a[0] = () => i(z)(!0)),
192
+ onMouseleave: a[1] || (a[1] = () => i(z)(!1))
178
193
  }, [
179
- e.value.userOptions.buttons.annotator ? (l(), I(i(ue), {
194
+ e.value.userOptions.buttons.annotator ? (l(), M(i(ie), {
180
195
  key: 0,
181
196
  svgRef: i(H),
182
197
  backgroundColor: e.value.style.chart.backgroundColor,
183
198
  color: e.value.style.chart.color,
184
- active: P.value,
185
- onClose: L
199
+ active: I.value,
200
+ onClose: W
186
201
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
187
- de.value ? (l(), u("div", De, null, 512)) : c("", !0),
188
- e.value.style.title.text ? (l(), u("div", He, [
189
- (l(), I(ze, {
190
- key: `title_${B.value}`,
202
+ ve.value ? (l(), u("div", Xe, null, 512)) : c("", !0),
203
+ e.value.style.title.text ? (l(), u("div", Je, [
204
+ (l(), M(je, {
205
+ key: `title_${j.value}`,
191
206
  config: {
192
207
  title: {
193
208
  cy: "thermometer-div-title",
@@ -200,9 +215,9 @@ const Re = ["id"], De = {
200
215
  }
201
216
  }, null, 8, ["config"]))
202
217
  ])) : c("", !0),
203
- e.value.userOptions.show && S.value && (i(D) || i(U)) ? (l(), I(i(ce), {
218
+ e.value.userOptions.show && V.value && (i(D) || i(q)) ? (l(), M(i(he), {
204
219
  ref: "details",
205
- key: `user_options_${z.value}`,
220
+ key: `user_options_${R.value}`,
206
221
  backgroundColor: e.value.style.chart.backgroundColor,
207
222
  color: e.value.style.chart.color,
208
223
  isImaging: i(K),
@@ -212,68 +227,69 @@ const Re = ["id"], De = {
212
227
  hasImg: e.value.userOptions.buttons.img,
213
228
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
214
229
  hasXls: !1,
215
- isFullscreen: k.value,
230
+ isFullscreen: b.value,
216
231
  titles: { ...e.value.userOptions.buttonTitles },
217
- chartElement: j.value,
232
+ chartElement: k.value,
218
233
  position: e.value.userOptions.position,
219
234
  hasAnnotator: e.value.userOptions.buttons.annotator,
220
- isAnnotation: P.value,
235
+ isAnnotation: I.value,
221
236
  callbacks: e.value.userOptions.callbacks,
222
- onToggleFullscreen: ke,
237
+ printScale: e.value.userOptions.print.scale,
238
+ onToggleFullscreen: se,
223
239
  onGeneratePdf: i(Q),
224
240
  onGenerateImage: i(Z),
225
- onToggleAnnotator: L,
226
- style: se({
227
- visibility: i(D) ? i(U) ? "visible" : "hidden" : "visible"
241
+ onToggleAnnotator: W,
242
+ style: oe({
243
+ visibility: i(D) ? i(q) ? "visible" : "hidden" : "visible"
228
244
  })
229
- }, Fe({ _: 2 }, [
245
+ }, Oe({ _: 2 }, [
230
246
  s.$slots.menuIcon ? {
231
247
  name: "menuIcon",
232
- fn: x(({ isOpen: t, color: n }) => [
233
- f(s.$slots, "menuIcon", A(M({ isOpen: t, color: n })), void 0, !0)
248
+ fn: C(({ isOpen: t, color: n }) => [
249
+ f(s.$slots, "menuIcon", U(Y({ isOpen: t, color: n })), void 0, !0)
234
250
  ]),
235
251
  key: "0"
236
252
  } : void 0,
237
253
  s.$slots.optionPdf ? {
238
254
  name: "optionPdf",
239
- fn: x(() => [
255
+ fn: C(() => [
240
256
  f(s.$slots, "optionPdf", {}, void 0, !0)
241
257
  ]),
242
258
  key: "1"
243
259
  } : void 0,
244
260
  s.$slots.optionImg ? {
245
261
  name: "optionImg",
246
- fn: x(() => [
262
+ fn: C(() => [
247
263
  f(s.$slots, "optionImg", {}, void 0, !0)
248
264
  ]),
249
265
  key: "2"
250
266
  } : void 0,
251
267
  s.$slots.optionFullscreen ? {
252
268
  name: "optionFullscreen",
253
- fn: x(({ toggleFullscreen: t, isFullscreen: n }) => [
254
- f(s.$slots, "optionFullscreen", A(M({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
269
+ fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [
270
+ f(s.$slots, "optionFullscreen", U(Y({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
255
271
  ]),
256
272
  key: "3"
257
273
  } : void 0,
258
274
  s.$slots.optionAnnotator ? {
259
275
  name: "optionAnnotator",
260
- fn: x(({ toggleAnnotator: t, isAnnotator: n }) => [
261
- f(s.$slots, "optionAnnotator", A(M({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
276
+ fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [
277
+ f(s.$slots, "optionAnnotator", U(Y({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
262
278
  ]),
263
279
  key: "4"
264
280
  } : void 0
265
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
266
- S.value ? (l(), u("svg", {
281
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
282
+ V.value ? (l(), u("svg", {
267
283
  key: 4,
268
284
  ref_key: "svgRef",
269
285
  ref: H,
270
- xmlns: i(Ve),
271
- class: O({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value }),
286
+ xmlns: i(qe),
287
+ class: S({ "vue-data-ui-fullscreen--on": b.value, "vue-data-ui-fulscreen--off": !b.value }),
272
288
  width: "100%",
273
289
  viewBox: `0 0 ${o.value.width} ${o.value.height}`,
274
290
  style: "background:transparent"
275
291
  }, [
276
- Oe(i(ne)),
292
+ Ie(i(ue)),
277
293
  s.$slots["chart-background"] ? (l(), u("foreignObject", {
278
294
  key: 0,
279
295
  x: 0,
@@ -285,9 +301,9 @@ const Re = ["id"], De = {
285
301
  }
286
302
  }, [
287
303
  f(s.$slots, "chart-background", {}, void 0, !0)
288
- ], 8, Je)) : c("", !0),
304
+ ], 8, Qe)) : c("", !0),
289
305
  v("defs", null, [
290
- v("clipPath", Ke, [
306
+ v("clipPath", Ze, [
291
307
  v("rect", {
292
308
  x: "0",
293
309
  y: "0",
@@ -296,9 +312,9 @@ const Re = ["id"], De = {
296
312
  rx: "0.5",
297
313
  ry: "0.07",
298
314
  fill: e.value.style.chart.backgroundColor
299
- }, null, 8, Qe)
315
+ }, null, 8, et)
300
316
  ]),
301
- (l(!0), u(Y, null, oe(te.value, (t, n) => (l(), u("linearGradient", {
317
+ (l(!0), u(N, null, ae(te.value, (t, n) => (l(), u("linearGradient", {
302
318
  id: `vueUiThermometerGradient_${n}_${m.value}`,
303
319
  x1: "0%",
304
320
  y1: "0%",
@@ -308,26 +324,26 @@ const Re = ["id"], De = {
308
324
  v("stop", {
309
325
  offset: "0%",
310
326
  "stop-color": t.color
311
- }, null, 8, et),
327
+ }, null, 8, st),
312
328
  v("stop", {
313
329
  offset: "50%",
314
- "stop-color": i(qe)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
315
- }, null, 8, tt),
330
+ "stop-color": i(Le)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
331
+ }, null, 8, ot),
316
332
  v("stop", {
317
333
  offset: "100%",
318
334
  "stop-color": t.color
319
- }, null, 8, st)
320
- ], 8, Ze))), 256))
335
+ }, null, 8, at)
336
+ ], 8, tt))), 256))
321
337
  ]),
322
- v("g", ot, [
338
+ v("g", lt, [
323
339
  v("rect", {
324
340
  x: o.value.left,
325
341
  y: o.value.top,
326
342
  height: o.value.height - h.value.top - h.value.bottom,
327
343
  width: o.value.width - h.value.left - h.value.right,
328
344
  fill: "#FFFFFF"
329
- }, null, 8, lt),
330
- (l(!0), u(Y, null, oe(te.value, (t, n) => (l(), u("g", {
345
+ }, null, 8, rt),
346
+ (l(!0), u(N, null, ae(te.value, (t, n) => (l(), u("g", {
331
347
  key: `graduation_${n}`
332
348
  }, [
333
349
  v("rect", {
@@ -337,7 +353,7 @@ const Re = ["id"], De = {
337
353
  width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
338
354
  fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${n}_${m.value})` : t.color,
339
355
  "shape-rendering": "crispEdges"
340
- }, null, 8, at),
356
+ }, null, 8, nt),
341
357
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
342
358
  key: 0,
343
359
  x1: t.x,
@@ -347,8 +363,8 @@ const Re = ["id"], De = {
347
363
  "stroke-width": e.value.style.chart.graduations.strokeWidth,
348
364
  stroke: e.value.style.chart.graduations.stroke,
349
365
  "stroke-linecap": "round"
350
- }, null, 8, rt)) : c("", !0),
351
- e.value.style.chart.graduations.showIntermediate ? (l(), u(Y, { key: 1 }, [
366
+ }, null, 8, ut)) : c("", !0),
367
+ e.value.style.chart.graduations.showIntermediate ? (l(), u(N, { key: 1 }, [
352
368
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
353
369
  key: 0,
354
370
  x1: t.x,
@@ -358,7 +374,7 @@ const Re = ["id"], De = {
358
374
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
359
375
  stroke: e.value.style.chart.graduations.stroke,
360
376
  "stroke-linecap": "round"
361
- }, null, 8, nt)) : c("", !0),
377
+ }, null, 8, it)) : c("", !0),
362
378
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
363
379
  key: 1,
364
380
  x1: t.x,
@@ -368,7 +384,7 @@ const Re = ["id"], De = {
368
384
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
369
385
  stroke: e.value.style.chart.graduations.stroke,
370
386
  "stroke-linecap": "round"
371
- }, null, 8, ut)) : c("", !0),
387
+ }, null, 8, ct)) : c("", !0),
372
388
  e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
373
389
  key: 2,
374
390
  x1: t.x,
@@ -378,7 +394,7 @@ const Re = ["id"], De = {
378
394
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
379
395
  stroke: e.value.style.chart.graduations.stroke,
380
396
  "stroke-linecap": "round"
381
- }, null, 8, it)) : c("", !0)
397
+ }, null, 8, ht)) : c("", !0)
382
398
  ], 64)) : c("", !0),
383
399
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
384
400
  key: 2,
@@ -389,8 +405,8 @@ const Re = ["id"], De = {
389
405
  "stroke-width": e.value.style.chart.graduations.strokeWidth,
390
406
  stroke: e.value.style.chart.graduations.stroke,
391
407
  "stroke-linecap": "round"
392
- }, null, 8, ct)) : c("", !0),
393
- e.value.style.chart.graduations.showIntermediate ? (l(), u(Y, { key: 3 }, [
408
+ }, null, 8, dt)) : c("", !0),
409
+ e.value.style.chart.graduations.showIntermediate ? (l(), u(N, { key: 3 }, [
394
410
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
395
411
  key: 0,
396
412
  x1: o.value.right,
@@ -400,7 +416,7 @@ const Re = ["id"], De = {
400
416
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
401
417
  stroke: e.value.style.chart.graduations.stroke,
402
418
  "stroke-linecap": "round"
403
- }, null, 8, ht)) : c("", !0),
419
+ }, null, 8, vt)) : c("", !0),
404
420
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
405
421
  key: 1,
406
422
  x1: o.value.right,
@@ -410,7 +426,7 @@ const Re = ["id"], De = {
410
426
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
411
427
  stroke: e.value.style.chart.graduations.stroke,
412
428
  "stroke-linecap": "round"
413
- }, null, 8, dt)) : c("", !0),
429
+ }, null, 8, yt)) : c("", !0),
414
430
  e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
415
431
  key: 2,
416
432
  x1: o.value.right,
@@ -420,46 +436,46 @@ const Re = ["id"], De = {
420
436
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
421
437
  stroke: e.value.style.chart.graduations.stroke,
422
438
  "stroke-linecap": "round"
423
- }, null, 8, vt)) : c("", !0)
439
+ }, null, 8, ft)) : c("", !0)
424
440
  ], 64)) : c("", !0)
425
441
  ]))), 128)),
426
442
  v("rect", {
427
- class: O({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
443
+ class: S({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
428
444
  x: o.value.left,
429
445
  y: o.value.top,
430
- height: q.value,
446
+ height: G.value,
431
447
  width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
432
448
  fill: "#FFFFFF66"
433
- }, null, 10, yt)
449
+ }, null, 10, gt)
434
450
  ]),
435
451
  v("text", {
436
- class: O({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
437
- y: q.value + o.value.top + e.value.style.chart.label.fontSize / 3,
452
+ class: S({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
453
+ y: G.value + o.value.top + e.value.style.chart.label.fontSize / 3,
438
454
  x: o.value.left - 10,
439
455
  "text-anchor": "end",
440
456
  fill: e.value.style.chart.label.color,
441
457
  "font-size": e.value.style.chart.label.fontSize,
442
458
  "font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
443
- }, Ie(i(Le)(
459
+ }, Ae(i(Ee)(
444
460
  e.value.style.chart.label.formatter,
445
- _.dataset.value,
446
- i(Ee)({
461
+ P.dataset.value,
462
+ i(Ge)({
447
463
  p: e.value.style.chart.label.prefix,
448
- v: _.dataset.value,
464
+ v: P.dataset.value,
449
465
  s: e.value.style.chart.label.suffix,
450
466
  r: e.value.style.chart.label.rounding
451
467
  }),
452
- { datapoint: _.dataset }
453
- )), 11, ft),
454
- f(s.$slots, "svg", { svg: ye.value }, void 0, !0)
455
- ], 10, Xe)) : c("", !0),
456
- s.$slots.watermark ? (l(), u("div", gt, [
457
- f(s.$slots, "watermark", A(M({ isPrinting: i(J) || i(K) })), void 0, !0)
468
+ { datapoint: P.dataset }
469
+ )), 11, pt),
470
+ f(s.$slots, "svg", { svg: fe.value }, void 0, !0)
471
+ ], 10, Ke)) : c("", !0),
472
+ s.$slots.watermark ? (l(), u("div", mt, [
473
+ f(s.$slots, "watermark", U(Y({ isPrinting: i(J) || i(K) })), void 0, !0)
458
474
  ])) : c("", !0),
459
- s.$slots.source ? (l(), u("div", pt, [
475
+ s.$slots.source ? (l(), u("div", kt, [
460
476
  f(s.$slots, "source", {}, void 0, !0)
461
477
  ], 512)) : c("", !0),
462
- S.value ? c("", !0) : (l(), I(i(ie), {
478
+ V.value ? c("", !0) : (l(), M(i(ce), {
463
479
  key: 7,
464
480
  config: {
465
481
  type: "thermometer",
@@ -471,9 +487,9 @@ const Re = ["id"], De = {
471
487
  }
472
488
  }
473
489
  }, null, 8, ["config"]))
474
- ], 46, Re));
490
+ ], 46, He));
475
491
  }
476
- }, Ft = /* @__PURE__ */ Be(mt, [["__scopeId", "data-v-c84e39bf"]]);
492
+ }, At = /* @__PURE__ */ De(bt, [["__scopeId", "data-v-8985051a"]]);
477
493
  export {
478
- Ft as default
494
+ At as default
479
495
  };
@@ -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-YgN3FV_8.js";
3
- import { u as ce, c as ve, X as de, E as X } from "./index-DMqAxz7R.js";
2
+ import { u as ne } from "./useNestedProp-BQFkJRtL.js";
3
+ import { u as ce, c as ve, X as de, E as X } from "./index-DBSLpcPM.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-D29apS4l.js";
7
- import R from "./BaseIcon-DoDjTdD5.js";
6
+ import we from "./Title-CTsOHFNh.js";
7
+ import R from "./BaseIcon-RLse0qy8.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-D0VPY8-5.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-u8Hc4rJi.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
  });