vue-data-ui 3.20.11 → 3.21.0

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 (188) hide show
  1. package/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
  2. package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
  3. package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
  4. package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
  5. package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
  6. package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
  7. package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
  8. package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
  10. package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
  11. package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
  12. package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
  13. package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
  14. package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
  15. package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
  16. package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
  17. package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
  18. package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
  89. package/dist/exposedLib-BJbE_A8E.js +19 -0
  90. package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
  91. package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
  92. package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
  93. package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
  94. package/dist/ssr.js +1366 -0
  95. package/dist/types/ssr.d.ts +128 -0
  96. package/dist/types/vue-data-ui.d.ts +135 -1
  97. package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
  98. package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
  99. package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
  100. package/dist/utils.js +8 -8
  101. package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
  102. package/dist/vue-data-ui.js +72 -72
  103. package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
  104. package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
  105. package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
  106. package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
  107. package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
  108. package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
  109. package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
  110. package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
  111. package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
  112. package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
  113. package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
  114. package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
  115. package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
  116. package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
  117. package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
  118. package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
  119. package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
  120. package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
  121. package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
  122. package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
  123. package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
  124. package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
  125. package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
  126. package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
  127. package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
  128. package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
  129. package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
  130. package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
  131. package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
  132. package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
  133. package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
  134. package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
  135. package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
  136. package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
  137. package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
  138. package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
  139. package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
  140. package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
  141. package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
  142. package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
  143. package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
  144. package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
  145. package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
  146. package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
  147. package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
  148. package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
  149. package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
  150. package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
  151. package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
  152. package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
  153. package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
  154. package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
  155. package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
  156. package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
  157. package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
  158. package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
  159. package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
  160. package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
  161. package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
  162. package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
  163. package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
  164. package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
  165. package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
  166. package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
  167. package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
  168. package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
  169. package/package.json +5 -1
  170. package/dist/exposedLib-CI8ji8G-.js +0 -19
  171. package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
  172. package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
  173. package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
  174. package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
  175. package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
  176. package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
  177. package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
  178. package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
  179. package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
  180. package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
  181. package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
  182. package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
  183. package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
  184. package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
  185. package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
  186. package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
  187. package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
  188. package/dist/vue-ui-xy-omDIF90L.js +0 -4744
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, Et as n, G as r, H as i, J as a, Rt as ee, S as te, X as ne, f as re, i as o, ot as ie, x as ae, y as oe } from "./lib-DUeYQsS0.js";
2
+ import { Bt as t, G as n, H as r, J as i, Ot as a, S as ee, Tt as te, X as ne, ct as re, f as ie, i as o, x as ae, y as oe } from "./lib-AJRHFE5U.js";
3
3
  import { t as se } from "./useConfig-DnH7Pf_2.js";
4
- import { t as ce } from "./usePrinter-C1Gqt_Sp.js";
5
- import { t as s } from "./useNestedProp-CNcoy38D.js";
4
+ import { t as ce } from "./usePrinter-6n2MzVyV.js";
5
+ import { t as s } from "./useNestedProp-DtcXIg7n.js";
6
6
  import { t as le } from "./useThemeCheck-C43Tcqmk.js";
7
7
  import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
8
  import { t as ue } from "./useUserOptionState-DK-_1ddE.js";
@@ -50,7 +50,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
50
50
  emits: ["copyAlt"],
51
51
  setup(e, { expose: c, emit: Se }) {
52
52
  ve((e) => ({ v7ad8dbe3: e.tdo }));
53
- let D = h(() => import("./vue-ui-sparkline-C5EDZIAt.js").then((e) => e.n)), O = h(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Ie = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), { vue_ui_table_sparkline: Le } = se(), { isThemeValid: Re, warnInvalidTheme: ze } = le(), k = e, Be = Se, A = x(i()), Ve = x(0), j = x(0), M = x(null), He = ye(), Ue = x(!1);
53
+ let D = h(() => import("./vue-ui-sparkline-BSdOdtKu.js").then((e) => e.n)), O = h(() => import("./BaseIcon-CbDazQLH.js").then((e) => e.n)), Ie = h(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), { vue_ui_table_sparkline: Le } = se(), { isThemeValid: Re, warnInvalidTheme: ze } = le(), k = e, Be = Se, A = x(r()), Ve = x(0), j = x(0), M = x(null), He = ye(), Ue = x(!1);
54
54
  y(() => {
55
55
  He["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
56
56
  });
@@ -62,11 +62,11 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
62
62
  let e = s({
63
63
  userConfig: k.config,
64
64
  defaultConfig: Le
65
- }), t = e.theme;
66
- if (!t) return e;
65
+ }), n = e.theme;
66
+ if (!n) return e;
67
67
  if (!Re.value(e)) return ze(e), e;
68
68
  let r = s({
69
- userConfig: fe[t] || k.config,
69
+ userConfig: fe[n] || k.config,
70
70
  defaultConfig: e
71
71
  }), i = s({
72
72
  userConfig: k.config,
@@ -74,7 +74,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
74
74
  });
75
75
  return {
76
76
  ...i,
77
- customPalette: i.customPalette.length ? i.customPalette : ee[t] || n
77
+ customPalette: i.customPalette.length ? i.customPalette : t[n] || a
78
78
  };
79
79
  }
80
80
  be(() => k.config, (e) => {
@@ -92,7 +92,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
92
92
  });
93
93
  let R = x(N.value.colNames), z = _e(null);
94
94
  function $e() {
95
- t(k.dataset) && ne({
95
+ te(k.dataset) && ne({
96
96
  componentName: "VueUiTableSparkline",
97
97
  type: "dataset"
98
98
  }), z.value && z.value.disconnect(), z.value = new ResizeObserver((e) => {
@@ -106,7 +106,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
106
106
  z.value && z.value.disconnect();
107
107
  });
108
108
  let B = u(() => (k.dataset.forEach((e, t) => {
109
- ie({
109
+ re({
110
110
  datasetObject: e,
111
111
  requiredAttributes: ["name", "values"]
112
112
  }).forEach((e) => {
@@ -118,15 +118,15 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
118
118
  });
119
119
  });
120
120
  }), k.dataset.map((e, t) => {
121
- let r = (e.values || []).map((e) => isNaN(e) ? 0 : e ?? 0), i = r.reduce((e, t) => e + t, 0), a = i / r.length, ee = re(r);
121
+ let n = (e.values || []).map((e) => isNaN(e) ? 0 : e ?? 0), r = n.reduce((e, t) => e + t, 0), i = r / n.length, ee = ie(n);
122
122
  return {
123
123
  ...e,
124
124
  values: e.values || [],
125
- color: oe(e.color) || Ze.value[t] || n[t] || n[t % n.length],
126
- sum: i,
127
- average: a,
125
+ color: oe(e.color) || Ze.value[t] || a[t] || a[t % a.length],
126
+ sum: r,
127
+ average: i,
128
128
  median: ee,
129
- sparklineDataset: r.map((e, t) => ({
129
+ sparklineDataset: n.map((e, t) => ({
130
130
  period: N.value.colNames[t] || `col ${t}`,
131
131
  value: e || 0
132
132
  }))
@@ -241,8 +241,8 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
241
241
  [e.sum],
242
242
  [e.average],
243
243
  [e.median]
244
- ]), r = te([t].concat(n));
245
- e ? e(r) : a({
244
+ ]), r = ee([t].concat(n));
245
+ e ? e(r) : i({
246
246
  csvContent: r,
247
247
  title: N.value.title.text || "vue-ui-table-sparkline"
248
248
  });
@@ -549,7 +549,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
549
549
  key: 0,
550
550
  style: v({ color: e.color })
551
551
  }, "⬤", 4)) : d("", !0), p("span", null, w(e.name ?? "-"), 1)], 4)], 12, ke),
552
- (b(!0), f(l, null, S(tt.value, (n, i) => (b(), f("td", {
552
+ (b(!0), f(l, null, S(tt.value, (r, i) => (b(), f("td", {
553
553
  dir: "auto",
554
554
  role: "cell",
555
555
  ref_for: !0,
@@ -567,7 +567,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
567
567
  onPointerenter: (e) => {
568
568
  Q.value = t, Z.value = i;
569
569
  }
570
- }, w([null, void 0].includes(e.values[i]) ? "-" : T(o)(N.value.formatter, Number(e.values[i]), T(r)({
570
+ }, w([null, void 0].includes(e.values[i]) ? "-" : T(o)(N.value.formatter, Number(e.values[i]), T(n)({
571
571
  p: N.value.prefix,
572
572
  v: Number(e.values[i]),
573
573
  s: N.value.suffix,
@@ -589,7 +589,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
589
589
  }),
590
590
  "data-cell": N.value.translations.total,
591
591
  class: "vue-ui-data-table__tbody__td"
592
- }, w(T(o)(N.value.formatter, e.sum, T(r)({
592
+ }, w(T(o)(N.value.formatter, e.sum, T(n)({
593
593
  p: N.value.prefix,
594
594
  v: e.sum,
595
595
  s: N.value.suffix,
@@ -610,7 +610,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
610
610
  }),
611
611
  "data-cell": N.value.translations.average,
612
612
  class: "vue-ui-data-table__tbody__td"
613
- }, w(T(o)(N.value.formatter, e.average, T(r)({
613
+ }, w(T(o)(N.value.formatter, e.average, T(n)({
614
614
  p: N.value.prefix,
615
615
  v: e.average,
616
616
  s: N.value.suffix,
@@ -631,7 +631,7 @@ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
631
631
  }),
632
632
  "data-cell": N.value.translations.median,
633
633
  class: "vue-ui-data-table__tbody__td"
634
- }, w(T(o)(N.value.formatter, e.median, T(r)({
634
+ }, w(T(o)(N.value.formatter, e.median, T(n)({
635
635
  p: N.value.prefix,
636
636
  v: e.median,
637
637
  s: N.value.suffix,
@@ -1,19 +1,19 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, Et as r, G as i, H as a, Mt as ee, Rt as te, X as ne, i as re, ot as ie, t as ae, v as o, x as oe, y as s } from "./lib-DUeYQsS0.js";
2
+ import { Bt as t, G as n, H as r, Ht as i, Ot as a, Pt as ee, Tt as te, X as ne, ct as re, i as ie, t as ae, v as o, x as oe, y as s } from "./lib-AJRHFE5U.js";
3
3
  import { t as se } from "./useConfig-DnH7Pf_2.js";
4
- import { t as ce } from "./usePrinter-C1Gqt_Sp.js";
4
+ import { t as ce } from "./usePrinter-6n2MzVyV.js";
5
5
  import { n as le, t as ue } from "./BaseScanner-Dr2a1Msy.js";
6
6
  import { t as de } from "./useSvgExport-SVIsDot8.js";
7
- import { t as c } from "./useNestedProp-CNcoy38D.js";
7
+ import { t as c } from "./useNestedProp-DtcXIg7n.js";
8
8
  import { t as fe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as pe } from "./img-1cKsci8e.js";
10
- import { n as me } from "./Title-NWp4qB4K.js";
9
+ import { t as pe } from "./img-C_RNNswI.js";
10
+ import { n as me } from "./Title-DH6G8_cZ.js";
11
11
  import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { c as ge } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as _e } from "./useResponsive-BfnK0KxU.js";
14
14
  import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
15
15
  import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as be } from "./useAutoSizeLabelsInsideViewbox-BIVntRZp.js";
16
+ import { t as be } from "./useAutoSizeLabelsInsideViewbox-kjVKQz36.js";
17
17
  import { t as xe } from "./usePrefersMotion-BC-CsqR1.js";
18
18
  import { t as Se } from "./vue_ui_thermometer-DxgqWKlE.js";
19
19
  import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ce, createVNode as we, defineAsyncComponent as h, guardReactiveProps as g, nextTick as Te, normalizeClass as _, normalizeProps as v, normalizeStyle as Ee, onMounted as De, openBlock as y, ref as b, renderList as Oe, renderSlot as x, toDisplayString as ke, toRefs as Ae, unref as S, useCssVars as je, watch as Me, withCtx as C } from "vue";
@@ -143,11 +143,11 @@ var Ne = /* @__PURE__ */ e({ default: () => w }), Pe = ["id"], Fe = {
143
143
  v30de9373: Nt.value,
144
144
  v105f2dc0: Mt.value
145
145
  }));
146
- let w = h(() => import("./PackageVersion-eS823iMF.js").then((e) => e.t)), ct = h(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), lt = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), { vue_ui_thermometer: ut } = se(), { isThemeValid: dt, warnInvalidTheme: ft } = fe(), pt = xe(), T = e, mt = Ne, E = b(a()), D = b(null), ht = b(0), gt = b(0), _t = b(null), vt = b(null), O = b(null), k = b(null), A = b(!1), j = b(!1), yt = u(() => !!T.dataset && Object.keys(T.dataset).length);
146
+ let w = h(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), ct = h(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), lt = h(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), { vue_ui_thermometer: ut } = se(), { isThemeValid: dt, warnInvalidTheme: ft } = fe(), pt = xe(), T = e, mt = Ne, E = b(r()), D = b(null), ht = b(0), gt = b(0), _t = b(null), vt = b(null), O = b(null), k = b(null), A = b(!1), j = b(!1), yt = u(() => !!T.dataset && Object.keys(T.dataset).length);
147
147
  De(() => {
148
148
  wt();
149
149
  });
150
- let M = b(z()), bt = b(M.value.style.chart.thermometer.width), N = b(M.value.style.chart.height), P = b(M.value.style.chart.width), xt = u(() => M.value.userOptions.useCursorPointer), St = u(() => t({
150
+ let M = b(z()), bt = b(M.value.style.chart.thermometer.width), N = b(M.value.style.chart.height), P = b(M.value.style.chart.width), xt = u(() => M.value.userOptions.useCursorPointer), St = u(() => i({
151
151
  defaultConfig: {
152
152
  userOptions: { show: !1 },
153
153
  style: { chart: {
@@ -171,17 +171,17 @@ var Ne = /* @__PURE__ */ e({ default: () => w }), Pe = ["id"], Fe = {
171
171
  to: "#CACACA"
172
172
  }
173
173
  },
174
- skeletonConfig: t({
174
+ skeletonConfig: i({
175
175
  defaultConfig: M.value,
176
176
  userConfig: St.value
177
177
  })
178
178
  }), Ct = u(() => !!M.value.debug);
179
179
  function wt() {
180
- if (n(T.dataset) ? ne({
180
+ if (te(T.dataset) ? ne({
181
181
  componentName: "VueUiThermometer",
182
182
  type: "dataset",
183
183
  debug: Ct.value
184
- }) : ie({
184
+ }) : re({
185
185
  datasetObject: T.dataset,
186
186
  requiredAttributes: [
187
187
  "value",
@@ -215,19 +215,19 @@ var Ne = /* @__PURE__ */ e({ default: () => w }), Pe = ["id"], Fe = {
215
215
  let e = c({
216
216
  userConfig: T.config,
217
217
  defaultConfig: ut
218
- }), t = e.theme;
219
- if (!t) return e;
218
+ }), n = e.theme;
219
+ if (!n) return e;
220
220
  if (!dt.value(e)) return ft(e), e;
221
- let n = c({
222
- userConfig: Se[t] || T.config,
221
+ let r = c({
222
+ userConfig: Se[n] || T.config,
223
223
  defaultConfig: e
224
224
  }), i = c({
225
225
  userConfig: T.config,
226
- defaultConfig: n
226
+ defaultConfig: r
227
227
  });
228
228
  return {
229
229
  ...i,
230
- customPalette: i.customPalette.length ? i.customPalette : te[t] || r
230
+ customPalette: i.customPalette.length ? i.customPalette : t[n] || a
231
231
  };
232
232
  }
233
233
  Me(() => T.config, (e) => {
@@ -277,9 +277,9 @@ var Ne = /* @__PURE__ */ e({ default: () => w }), Pe = ["id"], Fe = {
277
277
  return n = o(I.value.to) > 0 ? e + t : e > t ? e - t : t - e, (1 - (Math.abs(o(I.value.from)) + o(I.value.value)) / n) * q.value.thermoHeight;
278
278
  }), Mt = u(() => `${J.value}px`), Nt = u(() => `${q.value.thermoHeight}px`), Pt = u(() => pt.value ? "0ms" : `${M.value.style.chart.animation.speedMs}ms`), Ft = u(() => {
279
279
  if (I.value.colors) {
280
- if (!I.value.colors.from) return W(H.value[0] || r[0], s(I.value.colors.to), U.value || 10);
281
- if (!I.value.colors.to) return W(s(I.value.colors.from), H.value[1] || r[1], U.value || 10);
282
- } else return W(H.value[1] || r[1], H.value[0] || r[0], U.value || 10);
280
+ if (!I.value.colors.from) return W(H.value[0] || a[0], s(I.value.colors.to), U.value || 10);
281
+ if (!I.value.colors.to) return W(s(I.value.colors.from), H.value[1] || a[1], U.value || 10);
282
+ } else return W(H.value[1] || a[1], H.value[0] || a[0], U.value || 10);
283
283
  return W(s(I.value.colors.from), s(I.value.colors.to), U.value || 10);
284
284
  }), It = u(() => {
285
285
  let e = [], t = 0, n = q.value.thermoHeight;
@@ -372,7 +372,7 @@ var Ne = /* @__PURE__ */ e({ default: () => w }), Pe = ["id"], Fe = {
372
372
  dataset: I.value
373
373
  }));
374
374
  }
375
- let Kt = u(() => `${E.value}-title`), qt = u(() => `${E.value}-desc`), $ = u(() => re(M.value.style.chart.label.formatter, I.value.value, i({
375
+ let Kt = u(() => `${E.value}-title`), qt = u(() => `${E.value}-desc`), $ = u(() => ie(M.value.style.chart.label.formatter, I.value.value, n({
376
376
  p: M.value.style.chart.label.prefix,
377
377
  v: I.value.value,
378
378
  s: M.value.style.chart.label.suffix,
@@ -1,16 +1,16 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { H as t, t as n, zt as r } from "./lib-DUeYQsS0.js";
2
+ import { H as t, Vt as n, t as r } from "./lib-AJRHFE5U.js";
3
3
  import { t as i } from "./useConfig-DnH7Pf_2.js";
4
- import { t as a } from "./useNestedProp-CNcoy38D.js";
5
- import { n as o } from "./Title-NWp4qB4K.js";
4
+ import { t as a } from "./useNestedProp-DtcXIg7n.js";
5
+ import { n as o } from "./Title-DH6G8_cZ.js";
6
6
  import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
7
7
  import { c } from "./canvas-lib-BOP_HS11.js";
8
8
  import { t as ee } from "./useResponsive-BfnK0KxU.js";
9
- import { t as l } from "./BaseIcon-DfLoHNUj.js";
9
+ import { t as l } from "./BaseIcon-CbDazQLH.js";
10
10
  import { t as te } from "./useChartAccessibility-DYqac8yF.js";
11
- import { computed as u, createBlock as ne, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineAsyncComponent as re, guardReactiveProps as h, mergeProps as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as ie, onMounted as ae, openBlock as y, ref as b, renderSlot as x, shallowRef as S, toDisplayString as C, unref as w, watch as oe } from "vue";
11
+ import { computed as u, createBlock as ne, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineAsyncComponent as re, guardReactiveProps as h, mergeProps as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as ie, onMounted as ae, openBlock as y, ref as b, renderSlot as x, shallowRef as S, toDisplayString as oe, unref as C, watch as se } from "vue";
12
12
  //#region src/timer.js
13
- var se = class {
13
+ var ce = class {
14
14
  constructor(e, t, n, r = !0, i = !0) {
15
15
  this.interval = t, this.elapsed = 0, this.isPaused = !1;
16
16
  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);
@@ -56,7 +56,7 @@ var se = class {
56
56
  n && n(e);
57
57
  };
58
58
  }
59
- }, T = /* @__PURE__ */ e({ default: () => E }), ce = ["xmlns", "viewBox"], le = ["width", "height"], ue = { key: 1 }, de = ["id"], fe = ["stop-color"], pe = ["stop-color"], me = [
59
+ }, w = /* @__PURE__ */ e({ default: () => E }), le = ["xmlns", "viewBox"], ue = ["width", "height"], de = { key: 1 }, fe = ["id"], pe = ["stop-color"], T = ["stop-color"], me = [
60
60
  "cx",
61
61
  "cy",
62
62
  "r",
@@ -101,8 +101,8 @@ var se = class {
101
101
  "restart",
102
102
  "lap"
103
103
  ],
104
- setup(e, { expose: s, emit: T }) {
105
- let E = re(() => import("./PackageVersion-eS823iMF.js").then((e) => e.t)), { vue_ui_timer: De } = i(), D = e, O = T, k = b(null), A = b(null), j = b(null), M = S(null), N = S(null), P = b(t()), F = b(0);
104
+ setup(e, { expose: s, emit: w }) {
105
+ let E = re(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), { vue_ui_timer: De } = i(), D = e, O = w, k = b(null), A = b(null), j = b(null), M = S(null), N = S(null), P = b(t()), F = b(0);
106
106
  ae(() => {
107
107
  I();
108
108
  });
@@ -115,19 +115,19 @@ var se = class {
115
115
  legend: j.value
116
116
  });
117
117
  requestAnimationFrame(() => {
118
- B.value.width = e, B.value.height = t, L.value.responsiveProportionalSizing ? (B.value.tracker.core = r({
118
+ B.value.width = e, B.value.height = t, L.value.responsiveProportionalSizing ? (B.value.tracker.core = n({
119
119
  relator: Math.min(e, t),
120
120
  adjuster: L.value.style.width,
121
121
  source: 6 * L.value.stopwatch.tracker.radiusRatio,
122
122
  threshold: 1,
123
123
  fallback: 1
124
- }), B.value.tracker.aura = r({
124
+ }), B.value.tracker.aura = n({
125
125
  relator: Math.min(e, t),
126
126
  adjuster: L.value.style.width,
127
127
  source: 12 * L.value.stopwatch.tracker.aura.radiusRatio,
128
128
  threshold: 1,
129
129
  fallback: 1
130
- }), B.value.label = r({
130
+ }), B.value.label = n({
131
131
  relator: Math.min(e, t),
132
132
  adjuster: L.value.style.width,
133
133
  source: L.value.stopwatch.label.fontSize,
@@ -152,7 +152,7 @@ var se = class {
152
152
  defaultConfig: De
153
153
  });
154
154
  }
155
- oe(() => D.config, (e) => {
155
+ se(() => D.config, (e) => {
156
156
  L.value = z(), I(), F.value += 1;
157
157
  }, { deep: !0 });
158
158
  let ke = u(() => {
@@ -168,7 +168,7 @@ var se = class {
168
168
  aura: 12 * L.value.stopwatch.tracker.aura.radiusRatio
169
169
  },
170
170
  label: L.value.stopwatch.label.fontSize
171
- }), V = b(0), H = new se((e) => Ae(e), 10, "", L.value.stopwatch.showHundredth, L.value.stopwatch.showHours), U = b(!0), W = b(!1), G = b(!1);
171
+ }), V = b(0), H = new ce((e) => Ae(e), 10, "", L.value.stopwatch.showHundredth, L.value.stopwatch.showHours), U = b(!0), W = b(!1), G = b(!1);
172
172
  function K() {
173
173
  O("start"), U.value && H.start(), U.value = !1, W.value = !0;
174
174
  }
@@ -255,7 +255,7 @@ var se = class {
255
255
  (y(), f("svg", {
256
256
  ref_key: "svgRef",
257
257
  ref: Oe,
258
- xmlns: w(n),
258
+ xmlns: C(r),
259
259
  viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
260
260
  style: v({
261
261
  maxWidth: "100%",
@@ -263,7 +263,7 @@ var se = class {
263
263
  background: L.value.style.backgroundColor
264
264
  })
265
265
  }, [
266
- m(w(E)),
266
+ m(C(E)),
267
267
  e.$slots["chart-background"] ? (y(), f("foreignObject", {
268
268
  key: 0,
269
269
  x: 0,
@@ -271,8 +271,8 @@ var se = class {
271
271
  width: B.value.width <= 0 ? 10 : B.value.width,
272
272
  height: B.value.height <= 0 ? 10 : B.value.height,
273
273
  style: { pointerEvents: "none" }
274
- }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, le)) : d("", !0),
275
- L.value.stopwatch.tracker.gradient.show ? (y(), f("defs", ue, [p("radialGradient", {
274
+ }, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, ue)) : d("", !0),
275
+ L.value.stopwatch.tracker.gradient.show ? (y(), f("defs", de, [p("radialGradient", {
276
276
  id: `tracker_gradient_${P.value}`,
277
277
  cx: "50%",
278
278
  cy: "50%",
@@ -282,10 +282,10 @@ var se = class {
282
282
  }, [p("stop", {
283
283
  offset: "0%",
284
284
  "stop-color": L.value.stopwatch.tracker.gradient.color
285
- }, null, 8, fe), p("stop", {
285
+ }, null, 8, pe), p("stop", {
286
286
  offset: "100%",
287
287
  "stop-color": L.value.stopwatch.tracker.fill
288
- }, null, 8, pe)], 8, de)])) : d("", !0),
288
+ }, null, 8, T)], 8, fe)])) : d("", !0),
289
289
  p("circle", {
290
290
  cx: B.value.width / 2,
291
291
  cy: B.value.height / 2,
@@ -336,8 +336,8 @@ var se = class {
336
336
  fill: L.value.stopwatch.label.color,
337
337
  "font-weight": L.value.stopwatch.label.bold ? "bold" : "normal",
338
338
  style: { "font-variant-numeric": "tabular-nums !important" }
339
- }, C(V.value.formatted || ke.value), 9, be))
340
- ], 12, ce)),
339
+ }, oe(V.value.formatted || ke.value), 9, be))
340
+ ], 12, le)),
341
341
  p("div", {
342
342
  ref_key: "chartLegend",
343
343
  ref: j,
@@ -436,4 +436,4 @@ var se = class {
436
436
  }
437
437
  }, [["__scopeId", "data-v-7cc009e4"]]);
438
438
  //#endregion
439
- export { T as n, E as t };
439
+ export { w as n, E as t };
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, G as r, H as i, Nt as a, X as o, i as s, t as c, v as l } from "./lib-DUeYQsS0.js";
2
+ import { Ft as t, G as n, H as r, Ht as i, Tt as a, X as o, i as s, t as c, v as l } from "./lib-AJRHFE5U.js";
3
3
  import { t as ee } from "./useConfig-DnH7Pf_2.js";
4
- import { t as te } from "./usePrinter-C1Gqt_Sp.js";
4
+ import { t as te } from "./usePrinter-6n2MzVyV.js";
5
5
  import { n as ne, t as re } from "./BaseScanner-Dr2a1Msy.js";
6
6
  import { t as ie } from "./useSvgExport-SVIsDot8.js";
7
- import { t as u } from "./useNestedProp-CNcoy38D.js";
7
+ import { t as u } from "./useNestedProp-DtcXIg7n.js";
8
8
  import { t as ae } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as oe } from "./img-1cKsci8e.js";
10
- import { n as se } from "./Title-NWp4qB4K.js";
9
+ import { t as oe } from "./img-C_RNNswI.js";
10
+ import { n as se } from "./Title-DH6G8_cZ.js";
11
11
  import { t as ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
12
  import { c as le } from "./canvas-lib-BOP_HS11.js";
13
13
  import { t as ue } from "./useResponsive-BfnK0KxU.js";
@@ -65,7 +65,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
65
65
  },
66
66
  emits: ["copyAlt"],
67
67
  setup(e, { expose: ce, emit: we }) {
68
- let E = h(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Re = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-eS823iMF.js").then((e) => e.t)), { vue_ui_tiremarks: Be } = ee(), { isThemeValid: Ve, warnInvalidTheme: He } = ae(), D = pe(), O = e, Ue = we, We = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(i()), A = x(null), Ge = x(null), Ke = x(null), qe = x(null), Je = x(0), Ye = x(0), j = x(null), M = x(null), N = x(!1), P = x(!1), F = x(B()), Xe = d(() => F.value.userOptions.useCursorPointer), Ze = d(() => t({
68
+ let E = h(() => import("./PenAndPaper-D4aFMYZf.js").then((e) => e.t)), Re = h(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-DYLo3MRd.js").then((e) => e.t)), { vue_ui_tiremarks: Be } = ee(), { isThemeValid: Ve, warnInvalidTheme: He } = ae(), D = pe(), O = e, Ue = we, We = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(r()), A = x(null), Ge = x(null), Ke = x(null), qe = x(null), Je = x(0), Ye = x(0), j = x(null), M = x(null), N = x(!1), P = x(!1), F = x(B()), Xe = d(() => F.value.userOptions.useCursorPointer), Ze = d(() => i({
69
69
  defaultConfig: {
70
70
  userOptions: { show: !1 },
71
71
  style: { chart: {
@@ -84,7 +84,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
84
84
  FINAL_CONFIG: F,
85
85
  prepareConfig: B,
86
86
  skeletonDataset: O.config?.skeletonDataset ?? { percentage: 50 },
87
- skeletonConfig: t({
87
+ skeletonConfig: i({
88
88
  defaultConfig: F.value,
89
89
  userConfig: Ze.value
90
90
  })
@@ -127,7 +127,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
127
127
  }
128
128
  let it = d(() => !!F.value.debug);
129
129
  function at() {
130
- if (n(O.dataset) && o({
130
+ if (a(O.dataset) && o({
131
131
  componentName: "VueUiTiremarks",
132
132
  type: "dataset",
133
133
  debug: it.value
@@ -184,27 +184,27 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
184
184
  space: (Y.value.width - K.value) / 100 * .5
185
185
  }), st = d(() => {
186
186
  let e = [];
187
- for (let t = 0; t < 100; t += 1) {
188
- let n = F.value.style.chart.layout.ticks.gradient.show ? a(F.value.style.chart.layout.activeColor, t / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.layout.activeColor;
187
+ for (let n = 0; n < 100; n += 1) {
188
+ let r = F.value.style.chart.layout.ticks.gradient.show ? t(F.value.style.chart.layout.activeColor, n / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.layout.activeColor;
189
189
  if (W.value) {
190
- let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + r, a = Y.value.width - G.value.right - 4 - r, o = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, c = (a - i) / F.value.style.chart.layout.curveAngleX, l = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100);
190
+ let t = F.value.style.chart.layout.crescendo ? (100 - n) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + t, a = Y.value.width - G.value.right - 4 - t, o = Y.value.height - G.value.bottom - n * X.value.mark - n * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - n * X.value.mark - n * X.value.space - X.value.mark, c = (a - i) / F.value.style.chart.layout.curveAngleX, l = F.value.style.chart.layout.curveAngleY * ((1 + n) / 100);
191
191
  e.push({
192
192
  x1: i,
193
193
  x2: a,
194
194
  y1: o,
195
195
  y2: s,
196
196
  curve: `M ${i} ${o} C ${i + c} ${o - l}, ${a - c} ${s - l}, ${a} ${s}`,
197
- color: n
197
+ color: r
198
198
  });
199
199
  } else {
200
- let r = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + t * X.value.mark + t * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + r, s = Y.value.height - G.value.bottom - 4 - r, c = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100), l = (s - o) / F.value.style.chart.layout.curveAngleX;
200
+ let t = F.value.style.chart.layout.crescendo ? (100 - n) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + n * X.value.mark + n * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + t, s = Y.value.height - G.value.bottom - 4 - t, c = F.value.style.chart.layout.curveAngleY * ((1 + n) / 100), l = (s - o) / F.value.style.chart.layout.curveAngleX;
201
201
  e.push({
202
202
  x1: i,
203
203
  x2: a,
204
204
  y1: o,
205
205
  y2: s,
206
206
  curve: `M ${i} ${o} C ${i + c} ${o + l}, ${a + c} ${s - l}, ${a} ${s}`,
207
- color: n
207
+ color: r
208
208
  });
209
209
  }
210
210
  }
@@ -289,7 +289,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
289
289
  dataset: L.value
290
290
  }));
291
291
  }
292
- let _t = d(() => `${k.value}-title`), vt = d(() => `${k.value}-desc`), yt = d(() => s(F.value.style.chart.percentage.formatter, U.value, r({
292
+ let _t = d(() => `${k.value}-title`), vt = d(() => `${k.value}-desc`), yt = d(() => s(F.value.style.chart.percentage.formatter, U.value, n({
293
293
  v: U.value,
294
294
  s: "%",
295
295
  r: F.value.style.chart.percentage.rounding
@@ -302,14 +302,14 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
302
302
  toggleAnnotator: lt,
303
303
  toggleFullscreen: ct,
304
304
  copyAlt: gt
305
- }), (e, t) => (b(), m("div", {
305
+ }), (e, n) => (b(), m("div", {
306
306
  ref_key: "tiremarksChart",
307
307
  ref: A,
308
308
  class: _(`vue-data-ui-component vue-ui-tiremarks ${F.value.useCssAnimation ? "" : "vue-ui-dna"}`),
309
309
  style: y(`font-family:${F.value.style.fontFamily};width:100%; text-align:center;background:${F.value.style.chart.backgroundColor}`),
310
310
  id: k.value,
311
- onMouseenter: t[0] ||= () => w(Qe)(!0),
312
- onMouseleave: t[1] ||= () => w(Qe)(!1)
311
+ onMouseenter: n[0] ||= () => w(Qe)(!0),
312
+ onMouseleave: n[1] ||= () => w(Qe)(!1)
313
313
  }, [
314
314
  F.value.userOptions.buttons.annotator ? (b(), f(w(E), {
315
315
  key: 0,
@@ -527,7 +527,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
527
527
  x: Z.value.x,
528
528
  y: Z.value.y,
529
529
  "font-size": Z.value.fontSize,
530
- fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(a)(F.value.style.chart.layout.activeColor, U.value / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.percentage.color,
530
+ fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(t)(F.value.style.chart.layout.activeColor, U.value / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.percentage.color,
531
531
  "font-weight": Z.value.bold ? "bold" : "normal",
532
532
  "text-anchor": Z.value.textAnchor
533
533
  }, C(yt.value), 9, Ie))], 8, Pe)) : p("", !0),