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,17 +1,17 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
2
  import { Xt as t, q as n, t as r } from "./lib-Dql7cqyA.js";
3
3
  import { n as i, t as a } from "./useHints-Dq_w2E8B.js";
4
- import { t as o } from "./useConfig-C_mX5pOZ.js";
4
+ import { t as o } from "./useConfig-CIQZ6_r7.js";
5
5
  import { t as s } from "./useNestedProp-Chvyfpl-.js";
6
6
  import { n as c } from "./Title-CPHi-evi.js";
7
7
  import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
8
  import { l as ee, t as te } from "./useResponsive-ZtArZtUf.js";
9
- import { t as u } from "./BaseIcon-t83PDe9k.js";
9
+ import { t as u } from "./BaseIcon-D8R6_sKH.js";
10
10
  import { t as ne } from "./DefGrad-DVBqDjhO.js";
11
11
  import { t as re } from "./useChartAccessibility-DYqac8yF.js";
12
- import { computed as d, createBlock as ie, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as ae, guardReactiveProps as g, mergeProps as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as oe, onMounted as se, openBlock as b, ref as x, renderSlot as S, shallowRef as C, toDisplayString as ce, unref as w, watch as le } from "vue";
12
+ import { computed as d, createBlock as ie, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as ae, guardReactiveProps as g, mergeProps as oe, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as se, onMounted as ce, openBlock as y, ref as b, renderSlot as x, shallowRef as le, toDisplayString as ue, unref as S, watch as de } from "vue";
13
13
  //#region src/timer.js
14
- var ue = class {
14
+ var fe = class {
15
15
  constructor(e, t, n, r = !0, i = !0) {
16
16
  this.interval = t, this.elapsed = 0, this.isPaused = !1;
17
17
  let a = new Blob(["\n let interval;\n let elapsed = 0;\n let paused = false;\n let startTime;\n let tickInterval;\n\n onmessage = function(e) {\n const { action, data } = e.data;\n\n switch(action) {\n case 'start':\n startTime = Date.now();\n tickInterval = data.interval;\n elapsed = 0;\n paused = false;\n interval = setInterval(() => {\n elapsed += tickInterval;\n postMessage({ elapsed, timestamp: Date.now() });\n }, tickInterval);\n break;\n \n case 'pause':\n paused = true;\n clearInterval(interval);\n elapsed = Date.now() - startTime;\n break;\n\n case 'resume':\n if (paused) {\n startTime = Date.now() - elapsed;\n interval = setInterval(() => {\n elapsed += tickInterval;\n postMessage({ elapsed, timestamp: Date.now() });\n }, tickInterval);\n }\n paused = false;\n break;\n\n case 'stop':\n clearInterval(interval);\n elapsed = 0;\n postMessage({ elapsed });\n break;\n\n case 'reset':\n elapsed = 0;\n clearInterval(interval);\n postMessage({ elapsed });\n break;\n\n case 'lap':\n postMessage({\n elapsed,\n timestamp: Date.now(),\n action: 'lap'\n });\n break;\n\n default:\n break;\n }\n };\n "], { type: "application/javascript" }), o = URL.createObjectURL(a), s = new Worker(o);
@@ -57,37 +57,37 @@ var ue = class {
57
57
  n && n(e);
58
58
  };
59
59
  }
60
- }, T = /* @__PURE__ */ e({ default: () => E }), de = ["xmlns", "viewBox"], fe = ["width", "height"], pe = { key: 1 }, me = [
60
+ }, C = /* @__PURE__ */ e({ default: () => w }), pe = ["xmlns", "viewBox"], me = ["width", "height"], he = { key: 1 }, ge = [
61
61
  "cx",
62
62
  "cy",
63
63
  "r",
64
64
  "fill",
65
65
  "stroke",
66
66
  "stroke-width"
67
- ], he = [
67
+ ], _e = [
68
68
  "d",
69
69
  "stroke",
70
70
  "stroke-width"
71
- ], ge = [
71
+ ], ve = [
72
72
  "r",
73
73
  "fill",
74
74
  "stroke",
75
75
  "stroke-width"
76
- ], _e = [
76
+ ], ye = [
77
77
  "r",
78
78
  "fill",
79
79
  "stroke",
80
80
  "stroke-width"
81
- ], ve = ["x", "y"], ye = { key: 5 }, be = [
81
+ ], be = ["x", "y"], xe = { key: 5 }, Se = [
82
82
  "x",
83
83
  "y",
84
84
  "font-size",
85
85
  "fill",
86
86
  "font-weight"
87
- ], xe = {
87
+ ], Ce = {
88
88
  key: 0,
89
89
  class: "vue-ui-timer-controls"
90
- }, Se = ["title"], Ce = ["title"], we = ["title"], Te = ["title"], Ee = ["title"], E = /*#__PURE__*/ l({
90
+ }, we = ["title"], Te = ["title"], Ee = ["title"], De = ["title"], Oe = ["title"], w = /*#__PURE__*/ l({
91
91
  __name: "vue-ui-timer",
92
92
  props: { config: {
93
93
  type: Object,
@@ -102,111 +102,111 @@ var ue = class {
102
102
  "restart",
103
103
  "lap"
104
104
  ],
105
- setup(e, { expose: l, emit: T }) {
106
- let E = ae(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), { vue_ui_timer: De } = o(), D = e, O = T, k = x(null), A = x(null), j = x(null), M = C(null), N = C(null), P = x(n()), F = x(0);
107
- se(() => {
108
- I();
105
+ setup(e, { expose: l, emit: C }) {
106
+ let w = ae(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), { vue_ui_timer: ke } = o(), T = e, E = C, D = b(null), O = b(null), k = b(null), A = le(null), j = le(null), M = b(n()), N = b(0);
107
+ ce(() => {
108
+ P();
109
109
  });
110
- function I() {
111
- if (L.value.responsive) {
110
+ function P() {
111
+ if (F.value.responsive) {
112
112
  let e = ee(() => {
113
113
  let { width: e, height: n } = te({
114
- chart: k.value,
115
- title: L.value.style.title.text ? A.value : null,
116
- legend: j.value
114
+ chart: D.value,
115
+ title: F.value.style.title.text ? O.value : null,
116
+ legend: k.value
117
117
  });
118
118
  requestAnimationFrame(() => {
119
- B.value.width = e, B.value.height = n, L.value.responsiveProportionalSizing ? (B.value.tracker.core = t({
119
+ B.value.width = e, B.value.height = n, F.value.responsiveProportionalSizing ? (B.value.tracker.core = t({
120
120
  relator: Math.min(e, n),
121
- adjuster: L.value.style.width,
122
- source: 6 * L.value.stopwatch.tracker.radiusRatio,
121
+ adjuster: F.value.style.width,
122
+ source: 6 * L.value.radiusRatio,
123
123
  threshold: 1,
124
124
  fallback: 1
125
125
  }), B.value.tracker.aura = t({
126
126
  relator: Math.min(e, n),
127
- adjuster: L.value.style.width,
128
- source: 12 * L.value.stopwatch.tracker.aura.radiusRatio,
127
+ adjuster: F.value.style.width,
128
+ source: 12 * L.value.aura.radiusRatio,
129
129
  threshold: 1,
130
130
  fallback: 1
131
131
  }), B.value.label = t({
132
132
  relator: Math.min(e, n),
133
- adjuster: L.value.style.width,
134
- source: L.value.stopwatch.label.fontSize,
133
+ adjuster: F.value.style.width,
134
+ source: I.value.label.fontSize,
135
135
  threshold: 10,
136
136
  fallback: 10
137
- })) : B.value.label = L.value.stopwatch.label.fontSize;
137
+ })) : B.value.label = I.value.label.fontSize;
138
138
  });
139
139
  });
140
- M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect()), M.value = new ResizeObserver(e), N.value = k.value.parentNode, M.value.observe(N.value);
140
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(e), j.value = D.value.parentNode, A.value.observe(j.value);
141
141
  }
142
142
  }
143
- oe(() => {
144
- M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
143
+ se(() => {
144
+ A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
145
145
  });
146
- let L = d({
147
- get: () => z(),
146
+ let F = d({
147
+ get: () => je(),
148
148
  set: (e) => e
149
- });
149
+ }), I = d(() => F.value.stopwatch), L = d(() => F.value.stopwatch.tracker), R = d(() => F.value.stopwatch.legend);
150
150
  i({
151
- config: () => L.value,
151
+ config: () => F.value,
152
152
  dataset: () => [],
153
153
  component: "VueUiTimer",
154
154
  rules: [a.noHint]
155
155
  });
156
- let R = d(() => L.value.useCursorPointer), { svgRef: Oe } = re({ config: L.value.style.title });
157
- function z() {
156
+ let z = d(() => F.value.useCursorPointer), { svgRef: Ae } = re({ config: F.value.style.title });
157
+ function je() {
158
158
  return s({
159
- userConfig: D.config,
160
- defaultConfig: De
159
+ userConfig: T.config,
160
+ defaultConfig: ke
161
161
  });
162
162
  }
163
- le(() => D.config, (e) => {
164
- L.value = z(), I(), F.value += 1;
163
+ de(() => T.config, (e) => {
164
+ F.value = je(), P(), N.value += 1;
165
165
  }, { deep: !0 });
166
- let ke = d(() => {
167
- if (L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00:00.00";
168
- if (L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00:00";
169
- if (!L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00.00";
170
- if (!L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00";
171
- }), B = x({
172
- height: L.value.style.height,
173
- width: L.value.style.width,
166
+ let Me = d(() => {
167
+ if (I.value.showHours && I.value.showHundredth) return "00:00:00.00";
168
+ if (I.value.showHours && !I.value.showHundredth) return "00:00:00";
169
+ if (!I.value.showHours && I.value.showHundredth) return "00:00.00";
170
+ if (!I.value.showHours && !I.value.showHundredth) return "00:00";
171
+ }), B = b({
172
+ height: F.value.style.height,
173
+ width: F.value.style.width,
174
174
  tracker: {
175
- core: 6 * L.value.stopwatch.tracker.radiusRatio,
176
- aura: 12 * L.value.stopwatch.tracker.aura.radiusRatio
175
+ core: 6 * L.value.radiusRatio,
176
+ aura: 12 * L.value.aura.radiusRatio
177
177
  },
178
- label: L.value.stopwatch.label.fontSize
179
- }), V = x(0), H = new ue((e) => Ae(e), 10, "", L.value.stopwatch.showHundredth, L.value.stopwatch.showHours), U = x(!0), W = x(!1), G = x(!1);
178
+ label: I.value.label.fontSize
179
+ }), V = b(0), H = new fe((e) => Ne(e), 10, "", I.value.showHundredth, I.value.showHours), U = b(!0), W = b(!1), G = b(!1);
180
180
  function K() {
181
- O("start"), U.value && H.start(), U.value = !1, W.value = !0;
181
+ E("start"), U.value && H.start(), U.value = !1, W.value = !0;
182
182
  }
183
183
  function q() {
184
- W.value &&= (O("reset"), H.stop(), X.value = [], U.value = !0, !1);
184
+ W.value &&= (E("reset"), H.stop(), X.value = [], U.value = !0, !1);
185
185
  }
186
186
  function J() {
187
- G.value = !G.value, O("pause", V.value), H.pause();
187
+ G.value = !G.value, E("pause", V.value), H.pause();
188
188
  }
189
189
  function Y() {
190
- W.value && (G.value = !1, O("restart"), X.value = [], H.restart());
190
+ W.value && (G.value = !1, E("restart"), X.value = [], H.restart());
191
191
  }
192
- let X = x([]);
192
+ let X = b([]);
193
193
  async function Z() {
194
194
  if (!W.value || G.value) return;
195
195
  let e = await H.lap();
196
- e && (X.value.push(e), O("lap", X.value));
196
+ e && (X.value.push(e), E("lap", X.value));
197
197
  }
198
- function Ae({ timestamp: e, elapsed: t, formatted: n }) {
198
+ function Ne({ timestamp: e, elapsed: t, formatted: n }) {
199
199
  V.value = {
200
200
  timestamp: e,
201
201
  elapsed: t,
202
202
  formatted: n
203
203
  };
204
204
  }
205
- let Q = d(() => Math.min(B.value.width, B.value.height) / 2.5 * L.value.stopwatch.track.radiusRatio);
206
- function je(e, t) {
205
+ let Q = d(() => Math.min(B.value.width, B.value.height) / 2.5 * I.value.track.radiusRatio);
206
+ function Pe(e, t) {
207
207
  return e * (360 / (t * 1e3)) % 360;
208
208
  }
209
- function Me(e) {
209
+ function Fe(e) {
210
210
  let t = Math.PI / 180 * e;
211
211
  return {
212
212
  cx: B.value.width / 2 + Q.value * Math.cos(t),
@@ -214,7 +214,7 @@ var ue = class {
214
214
  };
215
215
  }
216
216
  let $ = d(() => {
217
- let e = je(V.value.elapsed, L.value.stopwatch.cycleSeconds), { cx: t, cy: n } = Me(e - 90), r = +(e > 180);
217
+ let e = Pe(V.value.elapsed, I.value.cycleSeconds), { cx: t, cy: n } = Fe(e - 90), r = +(e > 180);
218
218
  return {
219
219
  cx: t || B.value.width / 2,
220
220
  cy: n || B.value.height / 2 - Q.value,
@@ -228,61 +228,61 @@ var ue = class {
228
228
  reset: q,
229
229
  restart: Y,
230
230
  lap: Z
231
- }), (e, t) => (b(), p("div", {
231
+ }), (e, t) => (y(), p("div", {
232
232
  ref_key: "timerChart",
233
- ref: k,
233
+ ref: D,
234
234
  class: "vue-data-ui-component vue-ui-timer",
235
- style: y({
236
- fontFamily: L.value.style.fontFamily,
235
+ style: v({
236
+ fontFamily: F.value.style.fontFamily,
237
237
  width: "100%",
238
- height: L.value.responsive ? "100%" : "auto",
238
+ height: F.value.responsive ? "100%" : "auto",
239
239
  textAlign: "center"
240
240
  })
241
241
  }, [
242
- L.value.style.title.text ? (b(), p("div", {
242
+ F.value.style.title.text ? (y(), p("div", {
243
243
  key: 0,
244
244
  ref_key: "chartTitle",
245
- ref: A,
246
- style: y({
245
+ ref: O,
246
+ style: v({
247
247
  width: "100%",
248
- background: L.value.style.backgroundColor
248
+ background: F.value.style.backgroundColor
249
249
  })
250
- }, [(b(), ie(c, {
251
- key: `title_${F.value}`,
250
+ }, [(y(), ie(c, {
251
+ key: `title_${N.value}`,
252
252
  config: {
253
253
  title: {
254
254
  cy: "title",
255
- ...L.value.style.title
255
+ ...F.value.style.title
256
256
  },
257
257
  subtitle: {
258
258
  cy: "subtitle",
259
- ...L.value.style.title.subtitle
259
+ ...F.value.style.title.subtitle
260
260
  }
261
261
  }
262
262
  }, null, 8, ["config"]))], 4)) : f("", !0),
263
- (b(), p("svg", {
263
+ (y(), p("svg", {
264
264
  ref_key: "svgRef",
265
- ref: Oe,
266
- xmlns: w(r),
265
+ ref: Ae,
266
+ xmlns: S(r),
267
267
  viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
268
- style: y({
268
+ style: v({
269
269
  maxWidth: "100%",
270
270
  overflow: "visible",
271
- background: L.value.style.backgroundColor
271
+ background: F.value.style.backgroundColor
272
272
  })
273
273
  }, [
274
- h(w(E)),
275
- e.$slots["chart-background"] ? (b(), p("foreignObject", {
274
+ h(S(w)),
275
+ e.$slots["chart-background"] ? (y(), p("foreignObject", {
276
276
  key: 0,
277
277
  x: 0,
278
278
  y: 0,
279
279
  width: B.value.width <= 0 ? 10 : B.value.width,
280
280
  height: B.value.height <= 0 ? 10 : B.value.height,
281
281
  style: { pointerEvents: "none" }
282
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, fe)) : f("", !0),
283
- L.value.stopwatch.tracker.gradient.show ? (b(), p("defs", pe, [h(ne, {
282
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, me)) : f("", !0),
283
+ L.value.gradient.show ? (y(), p("defs", he, [h(ne, {
284
284
  t: "radial",
285
- id: `tracker_gradient_${P.value}`,
285
+ id: `tracker_gradient_${M.value}`,
286
286
  cx: "50%",
287
287
  cy: "50%",
288
288
  r: "50%",
@@ -290,11 +290,11 @@ var ue = class {
290
290
  fy: "50%",
291
291
  stops: [[
292
292
  "0%",
293
- L.value.stopwatch.tracker.gradient.color,
293
+ L.value.gradient.color,
294
294
  1
295
295
  ], [
296
296
  "100%",
297
- L.value.stopwatch.tracker.fill,
297
+ L.value.fill,
298
298
  1
299
299
  ]]
300
300
  }, null, 8, ["id", "stops"])])) : f("", !0),
@@ -302,130 +302,130 @@ var ue = class {
302
302
  cx: B.value.width / 2,
303
303
  cy: B.value.height / 2,
304
304
  r: Q.value,
305
- fill: L.value.stopwatch.track.fill,
306
- stroke: L.value.stopwatch.track.stroke,
307
- "stroke-width": L.value.stopwatch.track.strokeWidth
308
- }, null, 8, me),
309
- L.value.stopwatch.cycleTrack.show ? (b(), p("path", {
305
+ fill: I.value.track.fill,
306
+ stroke: I.value.track.stroke,
307
+ "stroke-width": I.value.track.strokeWidth
308
+ }, null, 8, ge),
309
+ I.value.cycleTrack.show ? (y(), p("path", {
310
310
  key: 2,
311
311
  d: `M ${B.value.width / 2},${B.value.height / 2 - Q.value} A ${Q.value},${Q.value} 0 ${$.value.largeArcFlag},${$.value.sweepFlag} ${$.value.cx},${$.value.cy}`,
312
- stroke: L.value.stopwatch.cycleTrack.stroke,
313
- "stroke-width": L.value.stopwatch.cycleTrack.strokeWidth,
312
+ stroke: I.value.cycleTrack.stroke,
313
+ "stroke-width": I.value.cycleTrack.strokeWidth,
314
314
  "stroke-linecap": "round",
315
315
  fill: "none"
316
- }, null, 8, he)) : f("", !0),
317
- m("circle", _($.value, {
316
+ }, null, 8, _e)) : f("", !0),
317
+ m("circle", oe($.value, {
318
318
  r: B.value.tracker.core,
319
- fill: L.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${P.value})` : L.value.stopwatch.tracker.fill,
320
- stroke: L.value.stopwatch.tracker.stroke,
321
- "stroke-width": L.value.stopwatch.tracker.strokeWidth
322
- }), null, 16, ge),
323
- L.value.stopwatch.tracker.aura.show ? (b(), p("circle", _({ key: 3 }, $.value, {
319
+ fill: L.value.gradient.show ? `url(#tracker_gradient_${M.value})` : L.value.fill,
320
+ stroke: L.value.stroke,
321
+ "stroke-width": L.value.strokeWidth
322
+ }), null, 16, ve),
323
+ L.value.aura.show ? (y(), p("circle", oe({ key: 3 }, $.value, {
324
324
  r: B.value.tracker.aura,
325
- fill: `${L.value.stopwatch.tracker.aura.fill}20`,
326
- stroke: L.value.stopwatch.tracker.aura.stroke,
327
- "stroke-width": L.value.stopwatch.tracker.aura.strokeWidth
328
- }), null, 16, _e)) : f("", !0),
329
- e.$slots.time ? (b(), p("foreignObject", {
325
+ fill: `${L.value.aura.fill}20`,
326
+ stroke: L.value.aura.stroke,
327
+ "stroke-width": L.value.aura.strokeWidth
328
+ }), null, 16, ye)) : f("", !0),
329
+ e.$slots.time ? (y(), p("foreignObject", {
330
330
  key: 4,
331
331
  x: B.value.width / 2,
332
332
  y: B.value.height / 2,
333
333
  height: "0.1",
334
334
  width: "0.1",
335
335
  style: { overflow: "visible" }
336
- }, [S(e.$slots, "time", v(g({
336
+ }, [x(e.$slots, "time", _(g({
337
337
  ...V.value,
338
338
  ...B.value
339
- })), void 0, !0)], 8, ve)) : e.$slots.timeSvg ? (b(), p("g", ye, [S(e.$slots, "timeSvg", v(g({
339
+ })), void 0, !0)], 8, be)) : e.$slots.timeSvg ? (y(), p("g", xe, [x(e.$slots, "timeSvg", _(g({
340
340
  ...V.value,
341
341
  ...B.value
342
- })), void 0, !0)])) : (b(), p("text", {
342
+ })), void 0, !0)])) : (y(), p("text", {
343
343
  key: 6,
344
344
  x: B.value.width / 2,
345
345
  y: B.value.height / 2 + B.value.label / 4,
346
346
  "font-size": B.value.label,
347
347
  "text-anchor": "middle",
348
- fill: L.value.stopwatch.label.color,
349
- "font-weight": L.value.stopwatch.label.bold ? "bold" : "normal",
348
+ fill: I.value.label.color,
349
+ "font-weight": I.value.label.bold ? "bold" : "normal",
350
350
  style: { "font-variant-numeric": "tabular-nums !important" }
351
- }, ce(V.value.formatted || ke.value), 9, be))
352
- ], 12, de)),
351
+ }, ue(V.value.formatted || Me.value), 9, Se))
352
+ ], 12, pe)),
353
353
  m("div", {
354
354
  ref_key: "chartLegend",
355
- ref: j,
356
- style: y({
355
+ ref: k,
356
+ style: v({
357
357
  width: "100%",
358
- backgroundColor: L.value.stopwatch.legend.backgroundColor
358
+ backgroundColor: R.value.backgroundColor
359
359
  })
360
360
  }, [
361
- e.$slots.controls ? f("", !0) : (b(), p("div", xe, [
362
- L.value.stopwatch.legend.buttons.start ? (b(), p("button", {
361
+ e.$slots.controls ? f("", !0) : (y(), p("div", Ce, [
362
+ R.value.buttons.start ? (y(), p("button", {
363
363
  key: 0,
364
- title: L.value.stopwatch.legend.buttonTitles.start,
364
+ title: R.value.buttonTitles.start,
365
365
  onClick: K,
366
366
  class: "vue-ui-timer-button",
367
- style: y({
367
+ style: v({
368
368
  opacity: W.value ? .2 : 1,
369
- cursor: W.value ? "default" : R.value ? "pointer" : "default"
369
+ cursor: W.value ? "default" : z.value ? "pointer" : "default"
370
370
  })
371
371
  }, [h(u, {
372
372
  name: "play",
373
- stroke: L.value.stopwatch.legend.buttons.iconColor
374
- }, null, 8, ["stroke"])], 12, Se)) : f("", !0),
375
- L.value.stopwatch.legend.buttons.pause ? (b(), p("button", {
373
+ stroke: R.value.buttons.iconColor
374
+ }, null, 8, ["stroke"])], 12, we)) : f("", !0),
375
+ R.value.buttons.pause ? (y(), p("button", {
376
376
  key: 1,
377
- title: G.value ? L.value.stopwatch.legend.buttonTitles.resume : L.value.stopwatch.legend.buttonTitles.pause,
377
+ title: G.value ? R.value.buttonTitles.resume : R.value.buttonTitles.pause,
378
378
  onClick: J,
379
379
  class: "vue-ui-timer-button",
380
- style: y({
380
+ style: v({
381
381
  opacity: W.value ? 1 : .2,
382
- cursor: W.value && R.value ? "pointer" : "default"
382
+ cursor: W.value && z.value ? "pointer" : "default"
383
383
  })
384
384
  }, [h(u, {
385
385
  name: "pause",
386
- stroke: L.value.stopwatch.legend.buttons.iconColor
387
- }, null, 8, ["stroke"])], 12, Ce)) : f("", !0),
388
- L.value.stopwatch.legend.buttons.reset ? (b(), p("button", {
386
+ stroke: R.value.buttons.iconColor
387
+ }, null, 8, ["stroke"])], 12, Te)) : f("", !0),
388
+ R.value.buttons.reset ? (y(), p("button", {
389
389
  key: 2,
390
- title: L.value.stopwatch.legend.buttonTitles.reset,
390
+ title: R.value.buttonTitles.reset,
391
391
  onClick: q,
392
392
  class: "vue-ui-timer-button",
393
- style: y({
393
+ style: v({
394
394
  opacity: W.value ? 1 : .2,
395
- cursor: W.value && R.value ? "pointer" : "default"
395
+ cursor: W.value && z.value ? "pointer" : "default"
396
396
  })
397
397
  }, [h(u, {
398
398
  name: "stop",
399
- stroke: L.value.stopwatch.legend.buttons.iconColor
400
- }, null, 8, ["stroke"])], 12, we)) : f("", !0),
401
- L.value.stopwatch.legend.buttons.restart ? (b(), p("button", {
399
+ stroke: R.value.buttons.iconColor
400
+ }, null, 8, ["stroke"])], 12, Ee)) : f("", !0),
401
+ R.value.buttons.restart ? (y(), p("button", {
402
402
  key: 3,
403
- title: L.value.stopwatch.legend.buttonTitles.restart,
403
+ title: R.value.buttonTitles.restart,
404
404
  onClick: Y,
405
405
  class: "vue-ui-timer-button",
406
- style: y({
406
+ style: v({
407
407
  opacity: W.value ? 1 : .2,
408
- cursor: W.value && R.value ? "pointer" : "default"
408
+ cursor: W.value && z.value ? "pointer" : "default"
409
409
  })
410
410
  }, [h(u, {
411
411
  name: "restart",
412
- stroke: L.value.stopwatch.legend.buttons.iconColor
413
- }, null, 8, ["stroke"])], 12, Te)) : f("", !0),
414
- L.value.stopwatch.legend.buttons.lap ? (b(), p("button", {
412
+ stroke: R.value.buttons.iconColor
413
+ }, null, 8, ["stroke"])], 12, De)) : f("", !0),
414
+ R.value.buttons.lap ? (y(), p("button", {
415
415
  key: 4,
416
- title: L.value.stopwatch.legend.buttonTitles.lap,
416
+ title: R.value.buttonTitles.lap,
417
417
  onClick: Z,
418
418
  class: "vue-ui-timer-button",
419
- style: y({
419
+ style: v({
420
420
  opacity: W.value && !G.value ? 1 : .2,
421
- cursor: W.value && !G.value && R.value ? "pointer" : "default"
421
+ cursor: W.value && !G.value && z.value ? "pointer" : "default"
422
422
  })
423
423
  }, [h(u, {
424
424
  name: "lap",
425
- stroke: L.value.stopwatch.legend.buttons.iconColor
426
- }, null, 8, ["stroke"])], 12, Ee)) : f("", !0)
425
+ stroke: R.value.buttons.iconColor
426
+ }, null, 8, ["stroke"])], 12, Oe)) : f("", !0)
427
427
  ])),
428
- S(e.$slots, "controls", v(g({
428
+ x(e.$slots, "controls", _(g({
429
429
  start: K,
430
430
  pause: J,
431
431
  reset: q,
@@ -436,7 +436,7 @@ var ue = class {
436
436
  isPaused: G.value,
437
437
  ...V.value
438
438
  })), void 0, !0),
439
- S(e.$slots, "laps", v(g({
439
+ x(e.$slots, "laps", _(g({
440
440
  laps: X.value,
441
441
  lap: Z,
442
442
  isRunning: W.value,
@@ -446,6 +446,6 @@ var ue = class {
446
446
  ], 4)
447
447
  ], 4));
448
448
  }
449
- }, [["__scopeId", "data-v-64177013"]]);
449
+ }, [["__scopeId", "data-v-2ce4581a"]]);
450
450
  //#endregion
451
- export { T as n, E as t };
451
+ export { C as n, w as t };