vue-data-ui 2.4.57 → 2.4.59

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 (202) hide show
  1. package/README.md +82 -51
  2. package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
  3. package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
  4. package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
  5. package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
  6. package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
  7. package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
  8. package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
  9. package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
  10. package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
  11. package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
  12. package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
  13. package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
  14. package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
  15. package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
  16. package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
  17. package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
  18. package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
  19. package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
  20. package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
  21. package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
  22. package/dist/documentation/installation.md +48 -48
  23. package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
  24. package/dist/index-DaDv7p0W.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
  27. package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
  28. package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
  29. package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
  30. package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
  31. package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
  35. package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
  36. package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
  39. package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
  42. package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
  43. package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
  44. package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
  45. package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
  46. package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
  47. package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
  48. package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
  50. package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
  51. package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
  53. package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
  54. package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
  55. package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
  56. package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
  57. package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
  58. package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
  59. package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
  60. package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
  62. package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
  63. package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
  64. package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
  65. package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
  66. package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
  67. package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
  68. package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
  69. package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
  70. package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
  72. package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
  73. package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
  74. package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
  75. package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
  76. package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
  77. package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
  78. package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
  80. package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
  81. package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
  82. package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
  83. package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
  84. package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
  85. package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
  86. package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
  87. package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
  88. package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
  89. package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
  90. package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
  92. package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
  93. package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
  94. package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
  95. package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
  96. package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
  97. package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
  100. package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
  101. package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
  102. package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
  103. package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
  106. package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
  108. package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
  109. package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
  110. package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
  111. package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
  112. package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
  113. package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
  115. package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
  116. package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
  117. package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
  118. package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
  120. package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
  121. package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
  122. package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
  123. package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
  124. package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
  125. package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
  126. package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
  127. package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
  128. package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
  129. package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
  130. package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
  131. package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
  132. package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
  133. package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
  134. package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
  135. package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
  136. package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
  137. package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
  138. package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
  139. package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
  141. package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
  142. package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
  143. package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
  144. package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
  145. package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
  146. package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
  147. package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
  148. package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
  149. package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
  150. package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
  151. package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/index-o6tXRhOr.cjs +0 -9
  154. package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
  155. package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
  156. package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
  157. package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
  158. package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
  159. package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
  160. package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
  161. package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
  162. package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
  163. package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
  164. package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
  165. package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
  166. package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
  167. package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
  168. package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
  169. package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
  170. package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
  171. package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
  174. package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
  176. package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
  178. package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
  179. package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
  181. package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
  182. package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
  183. package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
  184. package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
  185. package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
  186. package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
  187. package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
  188. package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
  189. package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
  190. package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
  191. package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
  192. package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
  193. package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
  194. package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
  195. package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
  196. package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
  197. package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
  198. package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
  199. package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
  200. package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
  201. package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
  202. package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
@@ -1,13 +1,13 @@
1
- import { ref as n, onMounted as Q, onBeforeUnmount as Y, computed as z, watch as Z, openBlock as l, createElementBlock as r, normalizeStyle as f, createBlock as ee, createCommentVNode as v, unref as te, createVNode as M, createElementVNode as C, mergeProps as V, renderSlot as O, normalizeProps as U, guardReactiveProps as E, toDisplayString as ae } from "vue";
2
- import { u as se } from "./useNestedProp-D1eJ0dvv.js";
3
- import { u as le, c as oe, X as re, F as W } from "./index-CI-N9klv.js";
1
+ import { ref as n, onMounted as Q, onBeforeUnmount as Y, computed as z, watch as Z, openBlock as l, createElementBlock as o, normalizeStyle as f, createBlock as ee, createCommentVNode as v, unref as te, createVNode as M, renderSlot as A, createElementVNode as C, mergeProps as V, normalizeProps as E, guardReactiveProps as U, toDisplayString as ae } from "vue";
2
+ import { u as se } from "./useNestedProp-DuruL3Nt.js";
3
+ import { u as le, c as oe, X as re, F as W } from "./index-B9RAElpI.js";
4
4
  import { t as ue, u as ie } from "./useResponsive-CoxXLe23.js";
5
- import P from "./BaseIcon-9gdEHMWK.js";
6
- import { _ as ne } from "./Title-DLjHHdyq.js";
7
- import { _ as ce } from "./PackageVersion-S3SzpuwC.js";
5
+ import P from "./BaseIcon-BbU81zOd.js";
6
+ import { _ as ne } from "./Title-zZtEcB9F.js";
7
+ import { _ as ce } from "./PackageVersion-C_FFs0BP.js";
8
8
  import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  class he {
10
- constructor(A, k, T, H = !0, x = !0) {
10
+ constructor(H, k, T, L = !0, $ = !0) {
11
11
  this.interval = k, this.elapsed = 0, this.isPaused = !1;
12
12
  const S = `
13
13
  let interval;
@@ -73,9 +73,9 @@ class he {
73
73
  }
74
74
  };
75
75
  `, R = new Blob([S], { type: "application/javascript" }), m = URL.createObjectURL(R), i = new Worker(m);
76
- function I(c) {
76
+ function x(c) {
77
77
  let e = Math.floor(c / 1e3), w = Math.floor(c % 1e3 / 10), y = Math.floor(e / 3600), t = Math.floor(e % 3600 / 60), d = e % 60, u = "";
78
- return x && (u += String(y).padStart(2, "0") + ":"), u += String(t).padStart(2, "0") + ":", u += String(d).padStart(2, "0"), H && (u += "." + String(w).padStart(2, "0")), u;
78
+ return $ && (u += String(y).padStart(2, "0") + ":"), u += String(t).padStart(2, "0") + ":", u += String(d).padStart(2, "0"), L && (u += "." + String(w).padStart(2, "0")), u;
79
79
  }
80
80
  this.start = () => {
81
81
  this.isPaused = !1, i.postMessage({ action: "start", data: { interval: this.interval } });
@@ -94,7 +94,7 @@ class he {
94
94
  const e = (w) => {
95
95
  const { elapsed: y, timestamp: t, action: d } = w.data;
96
96
  if (d === "lap") {
97
- const u = I(y);
97
+ const u = x(y);
98
98
  c({
99
99
  timestamp: t || 0,
100
100
  elapsed: y,
@@ -105,20 +105,20 @@ class he {
105
105
  i.addEventListener("message", e, { once: !0 });
106
106
  }), i.onmessage = (c) => {
107
107
  const { elapsed: e, timestamp: w } = c.data;
108
- this.elapsed = e, A({
108
+ this.elapsed = e, H({
109
109
  timestamp: w || 0,
110
110
  elapsed: this.elapsed,
111
- formatted: I(this.elapsed)
111
+ formatted: x(this.elapsed)
112
112
  });
113
113
  }, i.onerror = (c) => {
114
114
  T && T(c);
115
115
  };
116
116
  }
117
117
  }
118
- const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color"], ke = ["stop-color"], ge = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], me = ["d", "stroke", "stroke-width"], ye = ["r", "fill", "stroke", "stroke-width"], be = ["r", "fill", "stroke", "stroke-width"], _e = ["x", "y"], Me = ["x", "y", "font-size", "fill", "font-weight"], Ce = {
118
+ const ve = ["xmlns", "viewBox"], pe = ["width", "height"], fe = { key: 1 }, we = ["id"], ke = ["stop-color"], ge = ["stop-color"], me = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ye = ["d", "stroke", "stroke-width"], be = ["r", "fill", "stroke", "stroke-width"], _e = ["r", "fill", "stroke", "stroke-width"], Me = ["x", "y"], Ce = ["x", "y", "font-size", "fill", "font-weight"], Te = {
119
119
  key: 0,
120
120
  class: "vue-ui-timer-controls"
121
- }, Te = ["title"], xe = ["title"], Ie = ["title"], $e = ["title"], Pe = ["title"], Se = {
121
+ }, $e = ["title"], xe = ["title"], Ie = ["title"], Pe = ["title"], Se = ["title"], Re = {
122
122
  __name: "vue-ui-timer",
123
123
  props: {
124
124
  config: {
@@ -129,40 +129,40 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
129
129
  }
130
130
  },
131
131
  emits: ["start", "pause", "reset", "restart", "lap"],
132
- setup(G, { expose: A, emit: k }) {
133
- const T = G, { vue_ui_timer: H } = le(), x = n(null), S = n(null), R = n(null), m = n(null), i = n(oe()), I = n(0);
132
+ setup(G, { expose: H, emit: k }) {
133
+ const T = G, { vue_ui_timer: L } = le(), $ = n(null), S = n(null), R = n(null), m = n(null), i = n(oe()), x = n(0);
134
134
  Q(() => {
135
135
  c();
136
136
  });
137
137
  function c() {
138
138
  if (e.value.responsive) {
139
139
  const a = ue(() => {
140
- const { width: o, height: h } = ie({
141
- chart: x.value,
140
+ const { width: r, height: h } = ie({
141
+ chart: $.value,
142
142
  title: e.value.style.title.text ? S.value : null,
143
143
  legend: R.value
144
144
  });
145
- t.value.width = o, t.value.height = h, t.value.tracker.core = W({
146
- relator: Math.min(o, h),
145
+ t.value.width = r, t.value.height = h, t.value.tracker.core = W({
146
+ relator: Math.min(r, h),
147
147
  adjuster: e.value.style.width,
148
148
  source: 6 * e.value.stopwatch.tracker.radiusRatio,
149
149
  threshold: 1,
150
150
  fallback: 1
151
151
  }), t.value.tracker.aura = W({
152
- relator: Math.min(o, h),
152
+ relator: Math.min(r, h),
153
153
  adjuster: e.value.style.width,
154
154
  source: 12 * e.value.stopwatch.tracker.aura.radiusRatio,
155
155
  threshold: 1,
156
156
  fallback: 1
157
157
  }), t.value.label = W({
158
- relator: Math.min(o, h),
158
+ relator: Math.min(r, h),
159
159
  adjuster: e.value.style.width,
160
160
  source: e.value.stopwatch.label.fontSize,
161
161
  threshold: 10,
162
162
  fallback: 10
163
163
  });
164
164
  });
165
- m.value = new ResizeObserver(a), m.value.observe(x.value.parentNode);
165
+ m.value = new ResizeObserver(a), m.value.observe($.value.parentNode);
166
166
  }
167
167
  }
168
168
  Y(() => {
@@ -175,11 +175,11 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
175
175
  function w() {
176
176
  return se({
177
177
  userConfig: T.config,
178
- defaultConfig: H
178
+ defaultConfig: L
179
179
  });
180
180
  }
181
181
  Z(() => T.config, (a) => {
182
- e.value = w(), c(), I.value += 1;
182
+ e.value = w(), c(), x.value += 1;
183
183
  }, { deep: !0 });
184
184
  const y = z(() => {
185
185
  if (e.value.stopwatch.showHours && e.value.stopwatch.showHundredth)
@@ -205,16 +205,16 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
205
205
  e.value.stopwatch.showHundredth,
206
206
  e.value.stopwatch.showHours
207
207
  ), D = n(!0), s = n(!1), p = n(!1);
208
- function L() {
208
+ function N() {
209
209
  k("start"), D.value && u.start(), D.value = !1, s.value = !0;
210
210
  }
211
- function N() {
211
+ function j() {
212
212
  s.value && (k("reset"), u.stop(), b.value = [], D.value = !0, s.value = !1);
213
213
  }
214
214
  function B() {
215
215
  p.value = !p.value, k("pause", d.value), u.pause();
216
216
  }
217
- function j() {
217
+ function O() {
218
218
  s.value && (p.value = !1, k("restart"), b.value = [], u.restart());
219
219
  }
220
220
  const b = n([]);
@@ -223,36 +223,36 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
223
223
  const a = await u.lap();
224
224
  a && (b.value.push(a), k("lap", b.value));
225
225
  }
226
- function X({ timestamp: a, elapsed: o, formatted: h }) {
227
- d.value = { timestamp: a, elapsed: o, formatted: h };
226
+ function X({ timestamp: a, elapsed: r, formatted: h }) {
227
+ d.value = { timestamp: a, elapsed: r, formatted: h };
228
228
  }
229
229
  const g = z(() => Math.min(t.value.width, t.value.height) / 2.5 * e.value.stopwatch.track.radiusRatio);
230
- function q(a, o) {
231
- const $ = 360 / (o * 1e3);
232
- return a * $ % 360;
230
+ function q(a, r) {
231
+ const I = 360 / (r * 1e3);
232
+ return a * I % 360;
233
233
  }
234
234
  function J(a) {
235
- let o = a * (Math.PI / 180), h = t.value.width / 2 + g.value * Math.cos(o), $ = t.value.height / 2 + g.value * Math.sin(o);
236
- return { cx: h, cy: $ };
235
+ let r = a * (Math.PI / 180), h = t.value.width / 2 + g.value * Math.cos(r), I = t.value.height / 2 + g.value * Math.sin(r);
236
+ return { cx: h, cy: I };
237
237
  }
238
238
  const _ = z(() => {
239
- const a = q(d.value.elapsed, e.value.stopwatch.cycleSeconds), { cx: o, cy: h } = J(a - 90), $ = a > 180 ? 1 : 0;
239
+ const a = q(d.value.elapsed, e.value.stopwatch.cycleSeconds), { cx: r, cy: h } = J(a - 90), I = a > 180 ? 1 : 0;
240
240
  return {
241
- cx: o || t.value.width / 2,
241
+ cx: r || t.value.width / 2,
242
242
  cy: h || t.value.height / 2 - g.value,
243
- largeArcFlag: $,
243
+ largeArcFlag: I,
244
244
  sweepFlag: 1
245
245
  };
246
246
  });
247
- return A({
248
- start: L,
247
+ return H({
248
+ start: N,
249
249
  pause: B,
250
- reset: N,
251
- restart: j,
250
+ reset: j,
251
+ restart: O,
252
252
  lap: F
253
- }), (a, o) => (l(), r("div", {
253
+ }), (a, r) => (l(), o("div", {
254
254
  ref_key: "timerChart",
255
- ref: x,
255
+ ref: $,
256
256
  class: "vue-ui-timer",
257
257
  style: f({
258
258
  fontFamily: e.value.style.fontFamily,
@@ -261,7 +261,7 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
261
261
  textAlign: "center"
262
262
  })
263
263
  }, [
264
- e.value.style.title.text ? (l(), r("div", {
264
+ e.value.style.title.text ? (l(), o("div", {
265
265
  key: 0,
266
266
  ref_key: "chartTitle",
267
267
  ref: S,
@@ -271,7 +271,7 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
271
271
  })
272
272
  }, [
273
273
  (l(), ee(ne, {
274
- key: `title_${I.value}`,
274
+ key: `title_${x.value}`,
275
275
  config: {
276
276
  title: {
277
277
  cy: "title",
@@ -284,7 +284,7 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
284
284
  }
285
285
  }, null, 8, ["config"]))
286
286
  ], 4)) : v("", !0),
287
- (l(), r("svg", {
287
+ (l(), o("svg", {
288
288
  xmlns: te(re),
289
289
  viewBox: `0 0 ${t.value.width <= 0 ? 10 : t.value.width} ${t.value.height <= 0 ? 10 : t.value.height}`,
290
290
  style: f({
@@ -294,7 +294,19 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
294
294
  })
295
295
  }, [
296
296
  M(ce),
297
- e.value.stopwatch.tracker.gradient.show ? (l(), r("defs", pe, [
297
+ a.$slots["chart-background"] ? (l(), o("foreignObject", {
298
+ key: 0,
299
+ x: 0,
300
+ y: 0,
301
+ width: t.value.width <= 0 ? 10 : t.value.width,
302
+ height: t.value.height <= 0 ? 10 : t.value.height,
303
+ style: {
304
+ pointerEvents: "none"
305
+ }
306
+ }, [
307
+ A(a.$slots, "chart-background", {}, void 0, !0)
308
+ ], 8, pe)) : v("", !0),
309
+ e.value.stopwatch.tracker.gradient.show ? (l(), o("defs", fe, [
298
310
  C("radialGradient", {
299
311
  id: `tracker_gradient_${i.value}`,
300
312
  cx: "50%",
@@ -306,12 +318,12 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
306
318
  C("stop", {
307
319
  offset: "0%",
308
320
  "stop-color": e.value.stopwatch.tracker.gradient.color
309
- }, null, 8, we),
321
+ }, null, 8, ke),
310
322
  C("stop", {
311
323
  offset: "100%",
312
324
  "stop-color": e.value.stopwatch.tracker.fill
313
- }, null, 8, ke)
314
- ], 8, fe)
325
+ }, null, 8, ge)
326
+ ], 8, we)
315
327
  ])) : v("", !0),
316
328
  C("circle", {
317
329
  cx: t.value.width / 2,
@@ -320,38 +332,38 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
320
332
  fill: e.value.stopwatch.track.fill,
321
333
  stroke: e.value.stopwatch.track.stroke,
322
334
  "stroke-width": e.value.stopwatch.track.strokeWidth
323
- }, null, 8, ge),
324
- e.value.stopwatch.cycleTrack.show ? (l(), r("path", {
325
- key: 1,
335
+ }, null, 8, me),
336
+ e.value.stopwatch.cycleTrack.show ? (l(), o("path", {
337
+ key: 2,
326
338
  d: `M ${t.value.width / 2},${t.value.height / 2 - g.value} A ${g.value},${g.value} 0 ${_.value.largeArcFlag},${_.value.sweepFlag} ${_.value.cx},${_.value.cy}`,
327
339
  stroke: e.value.stopwatch.cycleTrack.stroke,
328
340
  "stroke-width": e.value.stopwatch.cycleTrack.strokeWidth,
329
341
  "stroke-linecap": "round",
330
342
  fill: "none"
331
- }, null, 8, me)) : v("", !0),
343
+ }, null, 8, ye)) : v("", !0),
332
344
  C("circle", V(_.value, {
333
345
  r: t.value.tracker.core,
334
346
  fill: e.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${i.value})` : e.value.stopwatch.tracker.fill,
335
347
  stroke: e.value.stopwatch.tracker.stroke,
336
348
  "stroke-width": e.value.stopwatch.tracker.strokeWidth
337
- }), null, 16, ye),
338
- e.value.stopwatch.tracker.aura.show ? (l(), r("circle", V({ key: 2 }, _.value, {
349
+ }), null, 16, be),
350
+ e.value.stopwatch.tracker.aura.show ? (l(), o("circle", V({ key: 3 }, _.value, {
339
351
  r: t.value.tracker.aura,
340
352
  fill: `${e.value.stopwatch.tracker.aura.fill}20`,
341
353
  stroke: e.value.stopwatch.tracker.aura.stroke,
342
354
  "stroke-width": e.value.stopwatch.tracker.aura.strokeWidth
343
- }), null, 16, be)) : v("", !0),
344
- a.$slots.time ? (l(), r("foreignObject", {
345
- key: 3,
355
+ }), null, 16, _e)) : v("", !0),
356
+ a.$slots.time ? (l(), o("foreignObject", {
357
+ key: 4,
346
358
  x: t.value.width / 2,
347
359
  y: t.value.height / 2,
348
360
  height: "0.1",
349
361
  width: "0.1",
350
362
  style: { overflow: "visible" }
351
363
  }, [
352
- O(a.$slots, "time", U(E({ ...d.value })), void 0, !0)
353
- ], 8, _e)) : (l(), r("text", {
354
- key: 4,
364
+ A(a.$slots, "time", E(U({ ...d.value })), void 0, !0)
365
+ ], 8, Me)) : (l(), o("text", {
366
+ key: 5,
355
367
  x: t.value.width / 2,
356
368
  y: t.value.height / 2 + t.value.label / 4,
357
369
  "font-size": t.value.label,
@@ -359,18 +371,18 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
359
371
  fill: e.value.stopwatch.label.color,
360
372
  "font-weight": e.value.stopwatch.label.bold ? "bold" : "normal",
361
373
  style: { "font-variant-numeric": "tabular-nums !important" }
362
- }, ae(d.value.formatted || y.value), 9, Me))
374
+ }, ae(d.value.formatted || y.value), 9, Ce))
363
375
  ], 12, ve)),
364
376
  C("div", {
365
377
  ref_key: "chartLegend",
366
378
  ref: R,
367
379
  style: f({ width: "100%", backgroundColor: e.value.stopwatch.legend.backgroundColor })
368
380
  }, [
369
- a.$slots.controls ? v("", !0) : (l(), r("div", Ce, [
370
- e.value.stopwatch.legend.buttons.start ? (l(), r("button", {
381
+ a.$slots.controls ? v("", !0) : (l(), o("div", Te, [
382
+ e.value.stopwatch.legend.buttons.start ? (l(), o("button", {
371
383
  key: 0,
372
384
  title: e.value.stopwatch.legend.buttonTitles.start,
373
- onClick: L,
385
+ onClick: N,
374
386
  class: "vue-ui-timer-button",
375
387
  style: f({
376
388
  opacity: s.value ? 0.2 : 1,
@@ -381,8 +393,8 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
381
393
  name: "play",
382
394
  stroke: e.value.stopwatch.legend.buttons.iconColor
383
395
  }, null, 8, ["stroke"])
384
- ], 12, Te)) : v("", !0),
385
- e.value.stopwatch.legend.buttons.pause ? (l(), r("button", {
396
+ ], 12, $e)) : v("", !0),
397
+ e.value.stopwatch.legend.buttons.pause ? (l(), o("button", {
386
398
  key: 1,
387
399
  title: p.value ? e.value.stopwatch.legend.buttonTitles.resume : e.value.stopwatch.legend.buttonTitles.pause,
388
400
  onClick: B,
@@ -397,10 +409,10 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
397
409
  stroke: e.value.stopwatch.legend.buttons.iconColor
398
410
  }, null, 8, ["stroke"])
399
411
  ], 12, xe)) : v("", !0),
400
- e.value.stopwatch.legend.buttons.reset ? (l(), r("button", {
412
+ e.value.stopwatch.legend.buttons.reset ? (l(), o("button", {
401
413
  key: 2,
402
414
  title: e.value.stopwatch.legend.buttonTitles.reset,
403
- onClick: N,
415
+ onClick: j,
404
416
  class: "vue-ui-timer-button",
405
417
  style: f({
406
418
  opacity: s.value ? 1 : 0.2,
@@ -412,10 +424,10 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
412
424
  stroke: e.value.stopwatch.legend.buttons.iconColor
413
425
  }, null, 8, ["stroke"])
414
426
  ], 12, Ie)) : v("", !0),
415
- e.value.stopwatch.legend.buttons.restart ? (l(), r("button", {
427
+ e.value.stopwatch.legend.buttons.restart ? (l(), o("button", {
416
428
  key: 3,
417
429
  title: e.value.stopwatch.legend.buttonTitles.restart,
418
- onClick: j,
430
+ onClick: O,
419
431
  class: "vue-ui-timer-button",
420
432
  style: f({
421
433
  opacity: s.value ? 1 : 0.2,
@@ -426,8 +438,8 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
426
438
  name: "restart",
427
439
  stroke: e.value.stopwatch.legend.buttons.iconColor
428
440
  }, null, 8, ["stroke"])
429
- ], 12, $e)) : v("", !0),
430
- e.value.stopwatch.legend.buttons.lap ? (l(), r("button", {
441
+ ], 12, Pe)) : v("", !0),
442
+ e.value.stopwatch.legend.buttons.lap ? (l(), o("button", {
431
443
  key: 4,
432
444
  title: e.value.stopwatch.legend.buttonTitles.lap,
433
445
  onClick: F,
@@ -441,20 +453,20 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
441
453
  name: "lap",
442
454
  stroke: e.value.stopwatch.legend.buttons.iconColor
443
455
  }, null, 8, ["stroke"])
444
- ], 12, Pe)) : v("", !0)
456
+ ], 12, Se)) : v("", !0)
445
457
  ])),
446
- O(a.$slots, "controls", U(E({
447
- start: L,
458
+ A(a.$slots, "controls", E(U({
459
+ start: N,
448
460
  pause: B,
449
- reset: N,
450
- restart: j,
461
+ reset: j,
462
+ restart: O,
451
463
  lap: F,
452
464
  laps: b.value,
453
465
  isRunning: s.value,
454
466
  isPaused: p.value,
455
467
  ...d.value
456
468
  })), void 0, !0),
457
- O(a.$slots, "laps", U(E({
469
+ A(a.$slots, "laps", E(U({
458
470
  laps: b.value,
459
471
  lap: F,
460
472
  isRunning: s.value,
@@ -464,7 +476,7 @@ const ve = ["xmlns", "viewBox"], pe = { key: 0 }, fe = ["id"], we = ["stop-color
464
476
  ], 4)
465
477
  ], 4));
466
478
  }
467
- }, Be = /* @__PURE__ */ de(Se, [["__scopeId", "data-v-8609e7e7"]]);
479
+ }, Be = /* @__PURE__ */ de(Re, [["__scopeId", "data-v-b9d21393"]]);
468
480
  export {
469
481
  Be as default
470
482
  };