vue-data-ui 3.1.18 → 3.1.19-next.1

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 (224) hide show
  1. package/dist/{Arrow-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
  2. package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
  3. package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
  4. package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
  5. package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
  6. package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
  8. package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-B6W-zkH-.js} +3 -3
  9. package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
  10. package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
  11. package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
  12. package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
  13. package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
  14. package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
  15. package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
  16. package/dist/components/arrow.js +5 -0
  17. package/dist/components/vue-ui-3d-bar.js +5 -0
  18. package/dist/components/vue-ui-accordion.js +5 -0
  19. package/dist/components/vue-ui-age-pyramid.js +5 -0
  20. package/dist/components/vue-ui-bullet.js +5 -0
  21. package/dist/components/vue-ui-candlestick.js +5 -0
  22. package/dist/components/vue-ui-carousel-table.js +5 -0
  23. package/dist/components/vue-ui-chestnut.js +5 -0
  24. package/dist/components/vue-ui-chord.js +5 -0
  25. package/dist/components/vue-ui-circle-pack.js +5 -0
  26. package/dist/components/vue-ui-cursor.js +5 -0
  27. package/dist/components/vue-ui-dashboard.js +5 -0
  28. package/dist/components/vue-ui-digits.js +5 -0
  29. package/dist/components/vue-ui-donut-evolution.js +5 -0
  30. package/dist/components/vue-ui-donut.js +5 -0
  31. package/dist/components/vue-ui-dumbbell.js +5 -0
  32. package/dist/components/vue-ui-flow.js +5 -0
  33. package/dist/components/vue-ui-funnel.js +5 -0
  34. package/dist/components/vue-ui-galaxy.js +5 -0
  35. package/dist/components/vue-ui-gauge.js +5 -0
  36. package/dist/components/vue-ui-gizmo.js +5 -0
  37. package/dist/components/vue-ui-heatmap.js +5 -0
  38. package/dist/components/vue-ui-history-plot.js +5 -0
  39. package/dist/components/vue-ui-horizontal-bar.js +5 -0
  40. package/dist/components/vue-ui-icon.js +5 -0
  41. package/dist/components/vue-ui-kpi.js +5 -0
  42. package/dist/components/vue-ui-mini-loader.js +5 -0
  43. package/dist/components/vue-ui-molecule.js +5 -0
  44. package/dist/components/vue-ui-mood-radar.js +5 -0
  45. package/dist/components/vue-ui-nested-donuts.js +5 -0
  46. package/dist/components/vue-ui-onion.js +5 -0
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
  48. package/dist/components/vue-ui-pattern.js +5 -0
  49. package/dist/components/vue-ui-quadrant.js +5 -0
  50. package/dist/components/vue-ui-quick-chart.js +5 -0
  51. package/dist/components/vue-ui-radar.js +5 -0
  52. package/dist/components/vue-ui-rating.js +5 -0
  53. package/dist/components/vue-ui-relation-circle.js +5 -0
  54. package/dist/components/vue-ui-ridgeline.js +5 -0
  55. package/dist/components/vue-ui-rings.js +5 -0
  56. package/dist/components/vue-ui-scatter.js +5 -0
  57. package/dist/components/vue-ui-skeleton.js +5 -0
  58. package/dist/components/vue-ui-smiley.js +5 -0
  59. package/dist/components/vue-ui-spark-trend.js +5 -0
  60. package/dist/components/vue-ui-sparkbar.js +5 -0
  61. package/dist/components/vue-ui-sparkgauge.js +5 -0
  62. package/dist/components/vue-ui-sparkhistogram.js +5 -0
  63. package/dist/components/vue-ui-sparkline.js +5 -0
  64. package/dist/components/vue-ui-sparkstackbar.js +5 -0
  65. package/dist/components/vue-ui-stackbar.js +5 -0
  66. package/dist/components/vue-ui-strip-plot.js +5 -0
  67. package/dist/components/vue-ui-table-heatmap.js +5 -0
  68. package/dist/components/vue-ui-table-sparkline.js +5 -0
  69. package/dist/components/vue-ui-table.js +5 -0
  70. package/dist/components/vue-ui-thermometer.js +5 -0
  71. package/dist/components/vue-ui-timer.js +5 -0
  72. package/dist/components/vue-ui-tiremarks.js +5 -0
  73. package/dist/components/vue-ui-treemap.js +5 -0
  74. package/dist/components/vue-ui-vertical-bar.js +5 -0
  75. package/dist/components/vue-ui-waffle.js +5 -0
  76. package/dist/components/vue-ui-wheel.js +5 -0
  77. package/dist/components/vue-ui-word-cloud.js +5 -0
  78. package/dist/components/vue-ui-world.js +5 -0
  79. package/dist/components/vue-ui-xy-canvas.js +5 -0
  80. package/dist/components/vue-ui-xy.js +5 -0
  81. package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
  82. package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
  83. package/dist/lib-p5pfHmOX.js +1882 -0
  84. package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/themes-D3cUNuKw.js +53 -0
  87. package/dist/types/arrow.d.ts +4 -0
  88. package/dist/types/vue-data-ui.d.ts +71 -21
  89. package/dist/types/vue-ui-3d-bar.d.ts +18 -0
  90. package/dist/types/vue-ui-accordion.d.ts +12 -0
  91. package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
  92. package/dist/types/vue-ui-bullet.d.ts +16 -0
  93. package/dist/types/vue-ui-candlestick.d.ts +16 -0
  94. package/dist/types/vue-ui-carousel-table.d.ts +14 -0
  95. package/dist/types/vue-ui-chestnut.d.ts +17 -0
  96. package/dist/types/vue-ui-chord.d.ts +19 -0
  97. package/dist/types/vue-ui-circle-pack.d.ts +17 -0
  98. package/dist/types/vue-ui-cursor.d.ts +7 -0
  99. package/dist/types/vue-ui-dashboard.d.ts +14 -0
  100. package/dist/types/vue-ui-digits.d.ts +10 -0
  101. package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
  102. package/dist/types/vue-ui-donut.d.ts +18 -0
  103. package/dist/types/vue-ui-dumbbell.d.ts +18 -0
  104. package/dist/types/vue-ui-flow.d.ts +18 -0
  105. package/dist/types/vue-ui-funnel.d.ts +15 -0
  106. package/dist/types/vue-ui-galaxy.d.ts +18 -0
  107. package/dist/types/vue-ui-gauge.d.ts +16 -0
  108. package/dist/types/vue-ui-gizmo.d.ts +14 -0
  109. package/dist/types/vue-ui-heatmap.d.ts +17 -0
  110. package/dist/types/vue-ui-history-plot.d.ts +19 -0
  111. package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
  112. package/dist/types/vue-ui-icon.d.ts +16 -0
  113. package/dist/types/vue-ui-kpi.d.ts +13 -0
  114. package/dist/types/vue-ui-mini-loader.d.ts +13 -0
  115. package/dist/types/vue-ui-molecule.d.ts +17 -0
  116. package/dist/types/vue-ui-mood-radar.d.ts +17 -0
  117. package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
  118. package/dist/types/vue-ui-onion.d.ts +18 -0
  119. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
  120. package/dist/types/vue-ui-pattern.d.ts +17 -0
  121. package/dist/types/vue-ui-quadrant.d.ts +20 -0
  122. package/dist/types/vue-ui-quick-chart.d.ts +16 -0
  123. package/dist/types/vue-ui-radar.d.ts +22 -0
  124. package/dist/types/vue-ui-rating.d.ts +15 -0
  125. package/dist/types/vue-ui-relation-circle.d.ts +17 -0
  126. package/dist/types/vue-ui-ridgeline.d.ts +20 -0
  127. package/dist/types/vue-ui-rings.d.ts +17 -0
  128. package/dist/types/vue-ui-scatter.d.ts +19 -0
  129. package/dist/types/vue-ui-skeleton.d.ts +12 -0
  130. package/dist/types/vue-ui-smiley.d.ts +14 -0
  131. package/dist/types/vue-ui-spark-trend.d.ts +13 -0
  132. package/dist/types/vue-ui-sparkbar.d.ts +15 -0
  133. package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
  134. package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
  135. package/dist/types/vue-ui-sparkline.d.ts +15 -0
  136. package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
  137. package/dist/types/vue-ui-stackbar.d.ts +18 -0
  138. package/dist/types/vue-ui-strip-plot.d.ts +19 -0
  139. package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
  140. package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
  141. package/dist/types/vue-ui-table.d.ts +17 -0
  142. package/dist/types/vue-ui-thermometer.d.ts +15 -0
  143. package/dist/types/vue-ui-timer.d.ts +12 -0
  144. package/dist/types/vue-ui-tiremarks.d.ts +15 -0
  145. package/dist/types/vue-ui-treemap.d.ts +18 -0
  146. package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
  147. package/dist/types/vue-ui-waffle.d.ts +18 -0
  148. package/dist/types/vue-ui-wheel.d.ts +15 -0
  149. package/dist/types/vue-ui-word-cloud.d.ts +17 -0
  150. package/dist/types/vue-ui-world.d.ts +17 -0
  151. package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
  152. package/dist/types/vue-ui-xy.d.ts +24 -0
  153. package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
  154. package/dist/useNestedProp-DF7e2h1z.js +6645 -0
  155. package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
  156. package/dist/{vue-data-ui-DcBYykse.js → vue-data-ui-DfcfqSDl.js} +64 -64
  157. package/dist/vue-data-ui.js +243 -85
  158. package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-DKkCWxob.js} +58 -57
  159. package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
  160. package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-gGF4DSOi.js} +28 -27
  161. package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
  162. package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-Coqi_swO.js} +28 -27
  163. package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-C78EYmhY.js} +32 -31
  164. package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-B7i_eOe9.js} +25 -25
  165. package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-QzsKNF-J.js} +41 -40
  166. package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-BxiWe3MD.js} +61 -60
  167. package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-C3TZdbF1.js} +75 -74
  168. package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
  169. package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-Dh0EyLe8.js} +68 -68
  170. package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
  171. package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-DTJCIEig.js} +39 -38
  172. package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DYJmrFDC.js} +81 -80
  173. package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-COm32YHr.js} +97 -96
  174. package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-BD2XeR-d.js} +127 -126
  175. package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-Cy9J1JpW.js} +39 -38
  176. package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-KyUZ5tNb.js} +53 -52
  177. package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-BpXYJd5z.js} +43 -42
  178. package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-DM3wSOOe.js} +6 -6
  179. package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-B2NzGPtL.js} +98 -97
  180. package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BTnau6bc.js} +105 -104
  181. package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
  182. package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
  183. package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-8oQQTCN2.js} +54 -53
  184. package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-B3ZrQSqP.js} +30 -29
  185. package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BoUb_OX8.js} +69 -68
  186. package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-xprTPjVq.js} +33 -32
  187. package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-Cpzi3BO0.js} +61 -60
  188. package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
  189. package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CHTnDwZ7.js} +35 -34
  190. package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-zJyIT4di.js} +30 -29
  191. package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-B5QRDHJ1.js} +90 -89
  192. package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
  193. package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-DStHH_sz.js} +44 -43
  194. package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-VI1I1k9W.js} +82 -81
  195. package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-D26TgYmU.js} +74 -73
  196. package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-9CX5JEVI.js} +121 -120
  197. package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-0yto3ZRt.js} +5 -5
  198. package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
  199. package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-13xDAi4U.js} +47 -46
  200. package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DBMeKvSW.js} +16 -15
  201. package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-febkbzOk.js} +32 -31
  202. package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-rc9uWj4C.js} +22 -21
  203. package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BpZKuk92.js} +131 -130
  204. package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-DuOsScHl.js} +28 -27
  205. package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-BsdEyuPC.js} +77 -76
  206. package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-Dem6Qr7N.js} +52 -51
  207. package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-Dds0EE_Q.js} +9 -8
  208. package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
  209. package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-DcHLIhbA.js} +20 -19
  210. package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-DZwSnX7w.js} +66 -65
  211. package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-BVmo70Ts.js} +31 -31
  212. package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-Cr6Fy7Sq.js} +30 -29
  213. package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-DiKGxMUR.js} +32 -31
  214. package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-D3_W8WLN.js} +54 -53
  215. package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CoVrrxzt.js} +76 -75
  216. package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-Cwl-WsK2.js} +85 -84
  217. package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-L-58-uVD.js} +49 -48
  218. package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-CaA-eKMJ.js} +19 -19
  219. package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-Bm2SYaTT.js} +135 -134
  220. package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-2Vg9eVqi.js} +166 -165
  221. package/package.json +14 -11
  222. package/dist/index-smzxfsyV.js +0 -8729
  223. package/dist/types/vue-data-ui.d.cts +0 -9435
  224. package/dist/useNestedProp-DeKmJzsE.js +0 -13
@@ -1,21 +1,22 @@
1
- import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as m, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
2
- import { u as Ee, c as Re, t as Ve, o as qe, f as ye, g as Ge, a as Be, p as F, b as De, d as je, h as f, e as Y, X as Xe, s as Je, k as Ke, i as Qe } from "./index-smzxfsyV.js";
3
- import { t as Ze, u as et } from "./useResponsive-DfdjqQps.js";
4
- import { u as tt, B as st } from "./BaseScanner-BgWxam9d.js";
5
- import { u as ot } from "./usePrinter-nFj0xF0a.js";
6
- import { u as me } from "./useNestedProp-DeKmJzsE.js";
7
- import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as at } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as rt } from "./useAutoSizeLabelsInsideViewbox-DeqXeTNw.js";
10
- import ut from "./Title-B_WMW2Bp.js";
11
- import nt from "./img-BArHHegM.js";
1
+ import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as y, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
2
+ import { c as qe, t as Ee, o as Re, f as me, g as Ve, b as Ge, p as F, e as Be, q as f, h as Y, X as De, s as je, a as Xe, d as Je } from "./lib-p5pfHmOX.js";
3
+ import { t as Ke, u as Qe } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ze, a as ye } from "./useNestedProp-DF7e2h1z.js";
5
+ import { u as et, B as tt } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as st } from "./usePrinter-Yeu5jOfm.js";
7
+ import { u as ot } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as lt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as at } from "./useAutoSizeLabelsInsideViewbox-VqESrzQg.js";
10
+ import { t as rt } from "./themes-D3cUNuKw.js";
11
+ import ut from "./Title-pI68ZJsq.js";
12
+ import nt from "./img-CH7J0fYg.js";
12
13
  import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
14
  const ht = ["id"], ct = {
14
15
  key: 1,
15
16
  ref: "noTitle",
16
17
  class: "vue-data-ui-no-title-space",
17
18
  style: "height:36px; width: 100%;background:transparent"
18
- }, vt = ["xmlns", "viewBox"], dt = ["width", "height"], yt = ["id"], mt = ["x", "y", "width", "height", "rx", "ry"], ft = ["id"], gt = ["stop-color"], pt = ["stop-color"], kt = ["stop-color"], bt = ["clip-path"], xt = ["x", "y", "height", "width"], wt = ["x", "y", "height", "width", "fill"], _t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], $t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], At = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], It = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Pt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], St = ["x", "y", "height", "width"], Mt = { key: 1 }, Tt = ["x", "y", "height"], zt = ["y", "x", "fill", "font-size", "font-weight"], Wt = {
19
+ }, vt = ["xmlns", "viewBox"], dt = ["width", "height"], mt = ["id"], yt = ["x", "y", "width", "height", "rx", "ry"], ft = ["id"], gt = ["stop-color"], pt = ["stop-color"], kt = ["stop-color"], bt = ["clip-path"], xt = ["x", "y", "height", "width"], wt = ["x", "y", "height", "width", "fill"], _t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], $t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], At = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], It = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Pt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], St = ["x", "y", "height", "width"], Mt = { key: 1 }, Tt = ["x", "y", "height"], zt = ["y", "x", "fill", "font-size", "font-weight"], Wt = {
19
20
  key: 4,
20
21
  class: "vue-data-ui-watermark"
21
22
  }, Ut = {
@@ -40,16 +41,16 @@ const ht = ["id"], ct = {
40
41
  "6fd0a11e": Ae.value,
41
42
  "1ea034ea": $e.value
42
43
  }));
43
- const ge = j(() => import("./PackageVersion-BzGzkGiC.js")), pe = j(() => import("./PenAndPaper-Deh70G9d.js")), ke = j(() => import("./UserOptions-CtECQwBN.js")), { vue_ui_thermometer: be } = Ee(), g = O, p = v(Re()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), xe = c(() => !!g.dataset && Object.keys(g.dataset).length);
44
+ const ge = j(() => import("./PackageVersion-B6W-zkH-.js")), pe = j(() => import("./PenAndPaper-CtDMyIvW.js")), ke = j(() => import("./UserOptions-Bn3u4JQu.js")), { vue_ui_thermometer: be } = Ze(), g = O, p = v(qe()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), xe = c(() => !!g.dataset && Object.keys(g.dataset).length);
44
45
  We(() => {
45
46
  te();
46
47
  });
47
- const e = v(q()), we = v(e.value.style.chart.thermometer.width), H = v(e.value.style.chart.height), E = v(e.value.style.chart.width), { loading: Z, FINAL_DATASET: h } = tt({
48
+ const e = v(V()), we = v(e.value.style.chart.thermometer.width), H = v(e.value.style.chart.height), q = v(e.value.style.chart.width), { loading: Z, FINAL_DATASET: h } = et({
48
49
  ...Ue(g),
49
50
  FINAL_CONFIG: e,
50
- prepareConfig: q,
51
+ prepareConfig: V,
51
52
  skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
52
- skeletonConfig: Ve({
53
+ skeletonConfig: Ee({
53
54
  defaultConfig: e.value,
54
55
  userConfig: {
55
56
  userOptions: { show: !1 },
@@ -66,57 +67,57 @@ const ht = ["id"], ct = {
66
67
  })
67
68
  }), ee = c(() => !!e.value.debug);
68
69
  function te() {
69
- if (qe(g.dataset) ? ye({
70
+ if (Re(g.dataset) ? me({
70
71
  componentName: "VueUiThermometer",
71
72
  type: "dataset",
72
73
  debug: ee.value
73
- }) : Ge({
74
+ }) : Ve({
74
75
  datasetObject: g.dataset,
75
76
  requiredAttributes: ["value", "from", "to"]
76
77
  }).forEach((s) => {
77
- ye({
78
+ me({
78
79
  componentName: "VueUiThermometer",
79
80
  type: "datasetAttribute",
80
81
  property: s,
81
82
  debug: ee.value
82
83
  });
83
84
  }), e.value.responsive) {
84
- const s = Ze(() => {
85
- const { width: l, height: t } = et({
85
+ const s = Ke(() => {
86
+ const { width: l, height: t } = Qe({
86
87
  chart: k.value,
87
88
  title: e.value.style.title.text ? K.value : null,
88
89
  source: Q.value
89
90
  });
90
91
  requestAnimationFrame(() => {
91
- H.value = Math.max(0.1, t - 12), E.value = l, ce();
92
+ H.value = Math.max(0.1, t - 12), q.value = l, ce();
92
93
  });
93
94
  });
94
95
  b.value && (I.value && b.value.unobserve(I.value), b.value.disconnect()), b.value = new ResizeObserver(s), I.value = k.value, b.value.observe(I.value);
95
96
  }
96
97
  ce();
97
98
  }
98
- const { userOptionsVisible: R, setUserOptionsVisibility: se, keepUserOptionState: oe } = lt({ config: e.value }), { svgRef: V } = at({ config: e.value.style.title });
99
- function q() {
100
- const s = me({
99
+ const { userOptionsVisible: E, setUserOptionsVisibility: se, keepUserOptionState: oe } = ot({ config: e.value }), { svgRef: R } = lt({ config: e.value.style.title });
100
+ function V() {
101
+ const s = ye({
101
102
  userConfig: g.config,
102
103
  defaultConfig: be
103
104
  });
104
105
  return s.theme ? {
105
- ...me({
106
- userConfig: De.vue_ui_thermometer[s.theme] || g.config,
106
+ ...ye({
107
+ userConfig: rt.vue_ui_thermometer[s.theme] || g.config,
107
108
  defaultConfig: s
108
109
  }),
109
- customPalette: Be[s.theme] || F
110
+ customPalette: Ge[s.theme] || F
110
111
  } : s;
111
112
  }
112
113
  Le(() => g.config, (s) => {
113
- e.value = q(), R.value = !e.value.userOptions.showOnChartHover, we.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, E.value = e.value.style.chart.width, te(), J.value += 1;
114
+ e.value = V(), E.value = !e.value.userOptions.showOnChartHover, we.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, q.value = e.value.style.chart.width, te(), J.value += 1;
114
115
  }, { deep: !0 });
115
- const { isPrinting: le, isImaging: ae, generatePdf: re, generateImage: ue } = ot({
116
+ const { isPrinting: le, isImaging: ae, generatePdf: re, generateImage: ue } = st({
116
117
  elementId: `thermometer__${p.value}`,
117
118
  fileName: e.value.style.title.text || "vue-ui-thermometer",
118
119
  options: e.value.userOptions.print
119
- }), _e = c(() => e.value.userOptions.show && !e.value.style.title.text), P = c(() => je(e.value.customPalette)), y = c(() => h.value.steps || 10);
120
+ }), _e = c(() => e.value.userOptions.show && !e.value.style.title.text), P = c(() => Be(e.value.customPalette)), m = c(() => h.value.steps || 10);
120
121
  function S(s, l, t) {
121
122
  const r = [], _ = ne(s), C = ne(l);
122
123
  for (let $ = 0; $ < t; $++) {
@@ -140,7 +141,7 @@ const ht = ["id"], ct = {
140
141
  return s.toString(16).padStart(2, "0");
141
142
  }
142
143
  const o = c(() => {
143
- const s = Math.max(0.1, E.value), l = Math.max(0.1, H.value), t = e.value.style.chart.padding;
144
+ const s = Math.max(0.1, q.value), l = Math.max(0.1, H.value), t = e.value.style.chart.padding;
144
145
  return {
145
146
  width: s,
146
147
  left: s / 2 - e.value.style.chart.thermometer.width / 2,
@@ -158,25 +159,25 @@ const ht = ["id"], ct = {
158
159
  }), $e = c(() => `${M.value}px`), Ae = c(() => `${o.value.thermoHeight}px`), Fe = c(() => `${e.value.style.chart.animation.speedMs}ms`), Oe = c(() => {
159
160
  if (h.value.colors) {
160
161
  if (!h.value.colors.from)
161
- return S(P.value[0] || F[0], Y(h.value.colors.to), y.value || 10);
162
+ return S(P.value[0] || F[0], Y(h.value.colors.to), m.value || 10);
162
163
  if (!h.value.colors.to)
163
- return S(Y(h.value.colors.from), P.value[1] || F[1], y.value || 10);
164
+ return S(Y(h.value.colors.from), P.value[1] || F[1], m.value || 10);
164
165
  } else
165
- return S(P.value[1] || F[1], P.value[0] || F[0], y.value || 10);
166
- return S(Y(h.value.colors.from), Y(h.value.colors.to), y.value || 10);
166
+ return S(P.value[1] || F[1], P.value[0] || F[0], m.value || 10);
167
+ return S(Y(h.value.colors.from), Y(h.value.colors.to), m.value || 10);
167
168
  }), ie = c(() => {
168
169
  const s = [];
169
170
  let l = 0;
170
171
  const t = o.value.thermoHeight;
171
- for (let r = 0; r < t - 1; r += t / y.value)
172
+ for (let r = 0; r < t - 1; r += t / m.value)
172
173
  s.push({
173
174
  x: o.value.left,
174
175
  y: o.value.top + r,
175
- qYLess: o.value.top + r + t / y.value / 4,
176
- halfY: o.value.top + r + t / y.value / 2,
177
- qYMore: o.value.top + r + t / y.value / 4 * 3,
176
+ qYLess: o.value.top + r + t / m.value / 4,
177
+ halfY: o.value.top + r + t / m.value / 2,
178
+ qYMore: o.value.top + r + t / m.value / 4 * 3,
178
179
  color: Oe.value[l],
179
- height: Math.max(0.1, t / y.value)
180
+ height: Math.max(0.1, t / m.value)
180
181
  }), l += 1;
181
182
  return s;
182
183
  }), x = v(!1);
@@ -202,8 +203,8 @@ const ht = ["id"], ct = {
202
203
  const w = c({
203
204
  get: () => e.value.style.chart.label.fontSize,
204
205
  set: (s) => s
205
- }), { autoSizeLabels: ce } = rt({
206
- svgRef: V,
206
+ }), { autoSizeLabels: ce } = at({
207
+ svgRef: R,
207
208
  fontSize: e.value.style.chart.label.fontSize,
208
209
  minFontSize: e.value.style.chart.label.minFontSize,
209
210
  sizeRef: w,
@@ -226,7 +227,7 @@ const ht = ["id"], ct = {
226
227
  }, [
227
228
  e.value.userOptions.buttons.annotator ? (a(), W(n(pe), {
228
229
  key: 0,
229
- svgRef: n(V),
230
+ svgRef: n(R),
230
231
  backgroundColor: e.value.style.chart.backgroundColor,
231
232
  color: e.value.style.chart.color,
232
233
  active: T.value,
@@ -253,7 +254,7 @@ const ht = ["id"], ct = {
253
254
  }
254
255
  }, null, 8, ["config"]))
255
256
  ], 512)) : i("", !0),
256
- e.value.userOptions.show && xe.value && (n(oe) || n(R)) ? (a(), W(n(ke), {
257
+ e.value.userOptions.show && xe.value && (n(oe) || n(E)) ? (a(), W(n(ke), {
257
258
  ref: "details",
258
259
  key: `user_options_${X.value}`,
259
260
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -278,49 +279,49 @@ const ht = ["id"], ct = {
278
279
  onGenerateImage: n(ue),
279
280
  onToggleAnnotator: D,
280
281
  style: ve({
281
- visibility: n(oe) ? n(R) ? "visible" : "hidden" : "visible"
282
+ visibility: n(oe) ? n(E) ? "visible" : "hidden" : "visible"
282
283
  })
283
284
  }, Ne({ _: 2 }, [
284
285
  s.$slots.menuIcon ? {
285
286
  name: "menuIcon",
286
287
  fn: A(({ isOpen: t, color: r }) => [
287
- m(s.$slots, "menuIcon", U(L({ isOpen: t, color: r })), void 0, !0)
288
+ y(s.$slots, "menuIcon", U(L({ isOpen: t, color: r })), void 0, !0)
288
289
  ]),
289
290
  key: "0"
290
291
  } : void 0,
291
292
  s.$slots.optionPdf ? {
292
293
  name: "optionPdf",
293
294
  fn: A(() => [
294
- m(s.$slots, "optionPdf", {}, void 0, !0)
295
+ y(s.$slots, "optionPdf", {}, void 0, !0)
295
296
  ]),
296
297
  key: "1"
297
298
  } : void 0,
298
299
  s.$slots.optionImg ? {
299
300
  name: "optionImg",
300
301
  fn: A(() => [
301
- m(s.$slots, "optionImg", {}, void 0, !0)
302
+ y(s.$slots, "optionImg", {}, void 0, !0)
302
303
  ]),
303
304
  key: "2"
304
305
  } : void 0,
305
306
  s.$slots.optionFullscreen ? {
306
307
  name: "optionFullscreen",
307
308
  fn: A(({ toggleFullscreen: t, isFullscreen: r }) => [
308
- m(s.$slots, "optionFullscreen", U(L({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
309
+ y(s.$slots, "optionFullscreen", U(L({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
309
310
  ]),
310
311
  key: "3"
311
312
  } : void 0,
312
313
  s.$slots.optionAnnotator ? {
313
314
  name: "optionAnnotator",
314
315
  fn: A(({ toggleAnnotator: t, isAnnotator: r }) => [
315
- m(s.$slots, "optionAnnotator", U(L({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
316
+ y(s.$slots, "optionAnnotator", U(L({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
316
317
  ]),
317
318
  key: "4"
318
319
  } : void 0
319
320
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
320
321
  (a(), u("svg", {
321
322
  ref_key: "svgRef",
322
- ref: V,
323
- xmlns: n(Xe),
323
+ ref: R,
324
+ xmlns: n(De),
324
325
  class: z({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
325
326
  width: "100%",
326
327
  viewBox: `0 0 ${o.value.width} ${o.value.height}`,
@@ -337,7 +338,7 @@ const ht = ["id"], ct = {
337
338
  pointerEvents: "none"
338
339
  }
339
340
  }, [
340
- m(s.$slots, "chart-background", {}, void 0, !0)
341
+ y(s.$slots, "chart-background", {}, void 0, !0)
341
342
  ], 8, dt)) : i("", !0),
342
343
  d("defs", null, [
343
344
  d("clipPath", {
@@ -351,8 +352,8 @@ const ht = ["id"], ct = {
351
352
  height: o.value.thermoHeight,
352
353
  rx: o.value.thermoWidth / 2,
353
354
  ry: o.value.thermoWidth / 2
354
- }, null, 8, mt)
355
- ], 8, yt),
355
+ }, null, 8, yt)
356
+ ], 8, mt),
356
357
  (a(!0), u(N, null, de(ie.value, (t, r) => (a(), u("linearGradient", {
357
358
  id: `vueUiThermometerGradient_${r}_${p.value}`,
358
359
  x1: "0%",
@@ -366,7 +367,7 @@ const ht = ["id"], ct = {
366
367
  }, null, 8, gt),
367
368
  d("stop", {
368
369
  offset: "50%",
369
- "stop-color": n(Je)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
370
+ "stop-color": n(je)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
370
371
  }, null, 8, pt),
371
372
  d("stop", {
372
373
  offset: "100%",
@@ -507,10 +508,10 @@ const ht = ["id"], ct = {
507
508
  fill: e.value.style.chart.label.color,
508
509
  "font-size": w.value,
509
510
  "font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
510
- }, He(n(Ke)(
511
+ }, He(n(Xe)(
511
512
  e.value.style.chart.label.formatter,
512
513
  O.dataset.value,
513
- n(Qe)({
514
+ n(Je)({
514
515
  p: e.value.style.chart.label.prefix,
515
516
  v: O.dataset.value,
516
517
  s: e.value.style.chart.label.suffix,
@@ -519,10 +520,10 @@ const ht = ["id"], ct = {
519
520
  { datapoint: O.dataset }
520
521
  )), 11, zt))
521
522
  ])) : i("", !0),
522
- m(s.$slots, "svg", { svg: Ce.value }, void 0, !0)
523
+ y(s.$slots, "svg", { svg: Ce.value }, void 0, !0)
523
524
  ], 10, vt)),
524
525
  s.$slots.watermark ? (a(), u("div", Wt, [
525
- m(s.$slots, "watermark", U(L({ isPrinting: n(le) || n(ae) })), void 0, !0)
526
+ y(s.$slots, "watermark", U(L({ isPrinting: n(le) || n(ae) })), void 0, !0)
526
527
  ])) : i("", !0),
527
528
  s.$slots.source ? (a(), u("div", {
528
529
  key: 5,
@@ -530,12 +531,12 @@ const ht = ["id"], ct = {
530
531
  ref: Q,
531
532
  dir: "auto"
532
533
  }, [
533
- m(s.$slots, "source", {}, void 0, !0)
534
+ y(s.$slots, "source", {}, void 0, !0)
534
535
  ], 512)) : i("", !0),
535
- n(Z) ? (a(), W(st, { key: 6 })) : i("", !0)
536
+ n(Z) ? (a(), W(tt, { key: 6 })) : i("", !0)
536
537
  ], 46, ht));
537
538
  }
538
- }, Xt = /* @__PURE__ */ it(Ut, [["__scopeId", "data-v-0a386d4f"]]);
539
+ }, Jt = /* @__PURE__ */ it(Ut, [["__scopeId", "data-v-0a386d4f"]]);
539
540
  export {
540
- Xt as default
541
+ Jt as default
541
542
  };
@@ -1,14 +1,14 @@
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-DeKmJzsE.js";
3
- import { u as ce, c as ve, X as de, E as X } from "./index-smzxfsyV.js";
1
+ import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as z, 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, a as ce } from "./useNestedProp-DF7e2h1z.js";
3
+ import { c as ve, X as de, F as X } from "./lib-p5pfHmOX.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-B_WMW2Bp.js";
7
- import R from "./BaseIcon-BPiT94Lb.js";
6
+ import we from "./Title-pI68ZJsq.js";
7
+ import R from "./BaseIcon-D2f9w5Z5.js";
8
8
  import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  class ge {
10
- constructor(L, E, S, N = !0, A = !0) {
11
- this.interval = E, this.elapsed = 0, this.isPaused = !1;
10
+ constructor(L, N, S, j = !0, A = !0) {
11
+ this.interval = N, this.elapsed = 0, this.isPaused = !1;
12
12
  const g = `
13
13
  let interval;
14
14
  let elapsed = 0;
@@ -75,7 +75,7 @@ class ge {
75
75
  `, $ = new Blob([g], { type: "application/javascript" }), D = URL.createObjectURL($), i = new Worker(D);
76
76
  function n(o) {
77
77
  let h = Math.floor(o / 1e3), k = Math.floor(o % 1e3 / 10), m = Math.floor(h / 3600), e = Math.floor(h % 3600 / 60), x = h % 60, p = "";
78
- return A && (p += String(m).padStart(2, "0") + ":"), p += String(e).padStart(2, "0") + ":", p += String(x).padStart(2, "0"), N && (p += "." + String(k).padStart(2, "0")), p;
78
+ return A && (p += String(m).padStart(2, "0") + ":"), p += String(e).padStart(2, "0") + ":", p += String(x).padStart(2, "0"), j && (p += "." + String(k).padStart(2, "0")), p;
79
79
  }
80
80
  this.start = () => {
81
81
  this.isPaused = !1, i.postMessage({ action: "start", data: { interval: this.interval } });
@@ -118,7 +118,7 @@ class ge {
118
118
  const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e = ["id"], Ce = ["stop-color"], Me = ["stop-color"], Te = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], $e = ["d", "stroke", "stroke-width"], xe = ["r", "fill", "stroke", "stroke-width"], Ie = ["r", "fill", "stroke", "stroke-width"], Pe = ["x", "y"], Re = ["x", "y", "font-size", "fill", "font-weight"], Se = {
119
119
  key: 0,
120
120
  class: "vue-ui-timer-controls"
121
- }, Ae = ["title"], De = ["title"], ze = ["title"], Fe = ["title"], He = ["title"], Le = {
121
+ }, Ae = ["title"], De = ["title"], Fe = ["title"], ze = ["title"], He = ["title"], Le = {
122
122
  __name: "vue-ui-timer",
123
123
  props: {
124
124
  config: {
@@ -129,8 +129,8 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
129
129
  }
130
130
  },
131
131
  emits: ["start", "pause", "reset", "restart", "lap"],
132
- setup(q, { expose: L, emit: E }) {
133
- const S = se(() => import("./PackageVersion-BzGzkGiC.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);
132
+ setup(q, { expose: L, emit: N }) {
133
+ const S = se(() => import("./PackageVersion-B6W-zkH-.js")), { vue_ui_timer: j } = ne(), A = q, g = N, $ = 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
  });
@@ -170,20 +170,20 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
170
170
  oe(() => {
171
171
  n.value && (o.value && n.value.unobserve(o.value), n.value.disconnect());
172
172
  });
173
- const e = F({
173
+ const e = z({
174
174
  get: () => p(),
175
175
  set: (a) => a
176
176
  }), { svgRef: x } = fe({ config: e.value.style.title });
177
177
  function p() {
178
- return ne({
178
+ return ce({
179
179
  userConfig: A.config,
180
- defaultConfig: N
180
+ defaultConfig: j
181
181
  });
182
182
  }
183
183
  re(() => A.config, (a) => {
184
184
  e.value = p(), m(), k.value += 1;
185
185
  }, { deep: !0 });
186
- const J = F(() => {
186
+ const J = z(() => {
187
187
  if (e.value.stopwatch.showHours && e.value.stopwatch.showHundredth)
188
188
  return "00:00:00.00";
189
189
  if (e.value.stopwatch.showHours && !e.value.stopwatch.showHundredth)
@@ -206,12 +206,12 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
206
206
  "",
207
207
  e.value.stopwatch.showHundredth,
208
208
  e.value.stopwatch.showHours
209
- ), j = v(!0), s = v(!1), f = v(!1);
210
- function B() {
211
- g("start"), j.value && I.start(), j.value = !1, s.value = !0;
209
+ ), B = v(!0), s = v(!1), f = v(!1);
210
+ function E() {
211
+ g("start"), B.value && I.start(), B.value = !1, s.value = !0;
212
212
  }
213
213
  function O() {
214
- s.value && (g("reset"), I.stop(), _.value = [], j.value = !0, s.value = !1);
214
+ s.value && (g("reset"), I.stop(), _.value = [], B.value = !0, s.value = !1);
215
215
  }
216
216
  function U() {
217
217
  f.value = !f.value, g("pause", y.value), I.pause();
@@ -220,7 +220,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
220
220
  s.value && (f.value = !1, g("restart"), _.value = [], I.restart());
221
221
  }
222
222
  const _ = v([]);
223
- async function z() {
223
+ async function F() {
224
224
  if (!s.value || f.value) return;
225
225
  const a = await I.lap();
226
226
  a && (_.value.push(a), g("lap", _.value));
@@ -228,7 +228,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
228
228
  function Z({ timestamp: a, elapsed: u, formatted: c }) {
229
229
  y.value = { timestamp: a, elapsed: u, formatted: c };
230
230
  }
231
- const b = F(() => Math.min(t.value.width, t.value.height) / 2.5 * e.value.stopwatch.track.radiusRatio);
231
+ const b = z(() => Math.min(t.value.width, t.value.height) / 2.5 * e.value.stopwatch.track.radiusRatio);
232
232
  function ee(a, u) {
233
233
  const P = 360 / (u * 1e3);
234
234
  return a * P % 360;
@@ -237,7 +237,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
237
237
  let u = a * (Math.PI / 180), c = t.value.width / 2 + b.value * Math.cos(u), P = t.value.height / 2 + b.value * Math.sin(u);
238
238
  return { cx: c, cy: P };
239
239
  }
240
- const C = F(() => {
240
+ const C = z(() => {
241
241
  const a = ee(y.value.elapsed, e.value.stopwatch.cycleSeconds), { cx: u, cy: c } = te(a - 90), P = a > 180 ? 1 : 0;
242
242
  return {
243
243
  cx: u || t.value.width / 2,
@@ -247,11 +247,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
247
247
  };
248
248
  });
249
249
  return L({
250
- start: B,
250
+ start: E,
251
251
  pause: U,
252
252
  reset: O,
253
253
  restart: W,
254
- lap: z
254
+ lap: F
255
255
  }), (a, u) => (l(), r("div", {
256
256
  ref_key: "timerChart",
257
257
  ref: $,
@@ -386,7 +386,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
386
386
  e.value.stopwatch.legend.buttons.start ? (l(), r("button", {
387
387
  key: 0,
388
388
  title: e.value.stopwatch.legend.buttonTitles.start,
389
- onClick: B,
389
+ onClick: E,
390
390
  class: "vue-ui-timer-button",
391
391
  style: w({
392
392
  opacity: s.value ? 0.2 : 1,
@@ -427,7 +427,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
427
427
  name: "stop",
428
428
  stroke: e.value.stopwatch.legend.buttons.iconColor
429
429
  }, null, 8, ["stroke"])
430
- ], 12, ze)) : d("", !0),
430
+ ], 12, Fe)) : d("", !0),
431
431
  e.value.stopwatch.legend.buttons.restart ? (l(), r("button", {
432
432
  key: 3,
433
433
  title: e.value.stopwatch.legend.buttonTitles.restart,
@@ -442,11 +442,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
442
442
  name: "restart",
443
443
  stroke: e.value.stopwatch.legend.buttons.iconColor
444
444
  }, null, 8, ["stroke"])
445
- ], 12, Fe)) : d("", !0),
445
+ ], 12, ze)) : d("", !0),
446
446
  e.value.stopwatch.legend.buttons.lap ? (l(), r("button", {
447
447
  key: 4,
448
448
  title: e.value.stopwatch.legend.buttonTitles.lap,
449
- onClick: z,
449
+ onClick: F,
450
450
  class: "vue-ui-timer-button",
451
451
  style: w({
452
452
  opacity: s.value && !f.value ? 1 : 0.2,
@@ -460,11 +460,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
460
460
  ], 12, He)) : d("", !0)
461
461
  ])),
462
462
  H(a.$slots, "controls", V(G({
463
- start: B,
463
+ start: E,
464
464
  pause: U,
465
465
  reset: O,
466
466
  restart: W,
467
- lap: z,
467
+ lap: F,
468
468
  laps: _.value,
469
469
  isRunning: s.value,
470
470
  isPaused: f.value,
@@ -472,7 +472,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
472
472
  })), void 0, !0),
473
473
  H(a.$slots, "laps", V(G({
474
474
  laps: _.value,
475
- lap: z,
475
+ lap: F,
476
476
  isRunning: s.value,
477
477
  isPaused: f.value,
478
478
  ...y.value