vue-data-ui 3.15.12 → 3.16.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 (218) hide show
  1. package/README.md +132 -59
  2. package/dist/A11yDataTable-KcVAX2cP.js +54 -0
  3. package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
  4. package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
  5. package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
  6. package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
  7. package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
  8. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  9. package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
  10. package/dist/Legend-CS7Xo5LK.js +101 -0
  11. package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
  12. package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
  13. package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  14. package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
  15. package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
  16. package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
  17. package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
  18. package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
  19. package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
  20. package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
  91. package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
  92. package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
  93. package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
  94. package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
  95. package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
  96. package/dist/style.css +1 -1
  97. package/dist/types/vue-data-ui.d.ts +59 -0
  98. package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
  99. package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
  100. package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
  101. package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
  102. package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
  103. package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
  104. package/dist/utils.js +3 -3
  105. package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
  106. package/dist/vue-data-ui.js +72 -72
  107. package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
  108. package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
  109. package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
  110. package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
  111. package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
  112. package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
  113. package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
  114. package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
  115. package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
  116. package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
  117. package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
  118. package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
  119. package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
  120. package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
  121. package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
  122. package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
  123. package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
  124. package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
  125. package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
  126. package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
  127. package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
  128. package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
  129. package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
  130. package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
  131. package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
  132. package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
  133. package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
  134. package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
  135. package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
  136. package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
  137. package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
  138. package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
  139. package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
  141. package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
  142. package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
  143. package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
  144. package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
  145. package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
  146. package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
  147. package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
  148. package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
  149. package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
  150. package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
  151. package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
  152. package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
  153. package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
  154. package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
  155. package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
  156. package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
  157. package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
  158. package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
  159. package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
  160. package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
  161. package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
  162. package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
  163. package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
  164. package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
  165. package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
  166. package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
  167. package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
  168. package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
  169. package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
  170. package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
  171. package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
  172. package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
  173. package/package.json +2 -2
  174. package/dist/ColorPicker-j0ySewhI.js +0 -244
  175. package/dist/Legend-1LMMsPxL.js +0 -90
  176. package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
  177. package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
  178. package/dist/vue-ui-bump-C_fKharc.js +0 -1059
  179. package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
  180. package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
  181. package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
  182. package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
  183. package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
  184. package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
  185. package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
  186. package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
  187. package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
  188. package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
  189. package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
  190. package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
  191. package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
  192. package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
  193. package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
  194. package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
  195. package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
  196. package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
  197. package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
  198. package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
  199. package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
  200. package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
  201. package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
  202. package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
  203. package/dist/vue-ui-rings-80ZUki42.js +0 -1083
  204. package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
  205. package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
  206. package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
  207. package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
  208. package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
  209. package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
  210. package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
  211. package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
  212. package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
  213. package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
  214. package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
  215. package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
  216. package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
  217. package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
  218. package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
@@ -1,10 +1,10 @@
1
- import { defineAsyncComponent as V, ref as k, useSlots as F, onMounted as y, computed as l, toRefs as S, watch as I, openBlock as o, createElementBlock as s, normalizeStyle as M, createVNode as U, unref as i, createElementVNode as t, createCommentVNode as r, Fragment as C, toDisplayString as x, renderSlot as P, createBlock as E } from "vue";
2
- import { u as O } from "./useConfig-CIgyKZ6R.js";
3
- import { j as T, q as j, t as w, k as b, l as z } from "./lib-GwPnJSrY.js";
4
- import { u as q } from "./useNestedProp-BBT0mbHh.js";
1
+ import { defineAsyncComponent as V, ref as y, useSlots as F, onMounted as C, computed as i, toRefs as S, watch as I, openBlock as a, createElementBlock as s, unref as r, normalizeStyle as M, createVNode as U, createElementVNode as t, createCommentVNode as l, Fragment as x, toDisplayString as w, renderSlot as P, createBlock as E } from "vue";
2
+ import { u as O } from "./useConfig-DO94Aj5s.js";
3
+ import { j as T, q as j, t as b, k as z, l as A } from "./lib-DBptbyyI.js";
4
+ import { u as q } from "./useNestedProp-Bf5XFbs8.js";
5
5
  import { u as R, B as H } from "./BaseScanner-BhhkKVoj.js";
6
6
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox", "width"], W = { key: 0 }, X = ["id"], Y = ["stop-color"], Z = ["stop-color"], ee = ["stroke"], te = ["stroke"], oe = ["width", "fill"], ae = ["fill"], se = { key: 0 }, re = ["id"], ne = ["stroke"], le = ["stroke", "stroke-dasharray", "stroke-dashoffset"], ie = ["filter"], ue = ["stroke", "stroke-dasharray", "stroke-dashoffset"], de = ["fill"], ce = {
7
+ const K = ["aria-label", "aria-valuenow", "aria-valuetext", "aria-busy"], Q = ["viewBox", "width"], W = { key: 0 }, X = ["id"], Y = ["stop-color"], Z = ["stop-color"], ee = ["stroke"], te = ["stroke"], ae = ["width", "fill"], oe = ["fill"], se = { key: 0 }, re = ["id"], le = ["stroke"], ne = ["stroke", "stroke-dasharray", "stroke-dashoffset"], ie = ["filter"], ue = ["stroke", "stroke-dasharray", "stroke-dashoffset"], de = ["fill"], ce = {
8
8
  __name: "vue-ui-gizmo",
9
9
  props: {
10
10
  config: {
@@ -17,22 +17,22 @@ const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox
17
17
  type: Number
18
18
  }
19
19
  },
20
- setup(A) {
21
- const G = V(() => import("./PackageVersion-DN9d0ME5.js")), { vue_ui_gizmo: L } = O(), a = A, u = k(T()), N = F();
22
- y(() => {
23
- g();
24
- }), y(() => {
25
- N["chart-background"] && d.value && console.warn("VueUiGizmo does not support the #chart-background slot.");
20
+ setup(G) {
21
+ const L = V(() => import("./PackageVersion-DPO-OOVI.js")), { vue_ui_gizmo: N } = O(), o = G, u = y(T()), $ = F();
22
+ C(() => {
23
+ m();
24
+ }), C(() => {
25
+ $["chart-background"] && d.value && console.warn("VueUiGizmo does not support the #chart-background slot.");
26
26
  });
27
- const d = l(() => e.value.debug);
28
- function g() {
29
- !a.dataset && a.dataset !== 0 && j({
27
+ const d = i(() => e.value.debug);
28
+ function m() {
29
+ !o.dataset && o.dataset !== 0 && j({
30
30
  componentName: "VueUiGizmo",
31
31
  type: "dataset",
32
32
  debug: d.value
33
- }), a.dataset < 0 && d.value && console.warn("VueUiGizmo: dataset cannot be negative."), a.dataset > 100 && d.value && console.warn(`VueUiGizmo: gauge is maxed out, as dataset exceeds 100% (props.dataset = ${a.dataset})`);
33
+ }), o.dataset < 0 && d.value && console.warn("VueUiGizmo: dataset cannot be negative."), o.dataset > 100 && d.value && console.warn(`VueUiGizmo: gauge is maxed out, as dataset exceeds 100% (props.dataset = ${o.dataset})`);
34
34
  }
35
- const e = k(v()), $ = l(() => w({
35
+ const e = y(p()), B = i(() => b({
36
36
  defaultConfig: {
37
37
  stroke: "#6A6A6A80",
38
38
  color: "#6A6A6A",
@@ -40,48 +40,57 @@ const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox
40
40
  textColor: "transparent"
41
41
  },
42
42
  userConfig: e.value.skeletonConfig ?? {}
43
- })), { loading: B, FINAL_DATASET: p } = R({
44
- ...S(a),
43
+ })), { loading: g, FINAL_DATASET: _ } = R({
44
+ ...S(o),
45
45
  FINAL_CONFIG: e,
46
- prepareConfig: v,
46
+ prepareConfig: p,
47
47
  dsIsNumber: !0,
48
- skeletonDataset: a.config?.skeletonDataset ?? 50,
49
- skeletonConfig: w({
48
+ skeletonDataset: o.config?.skeletonDataset ?? 50,
49
+ skeletonConfig: b({
50
50
  defaultConfig: e.value,
51
- userConfig: $.value
51
+ userConfig: B.value
52
52
  })
53
53
  });
54
- function v() {
54
+ function p() {
55
55
  return q({
56
- userConfig: a.config,
57
- defaultConfig: L
56
+ userConfig: o.config,
57
+ defaultConfig: N
58
58
  });
59
59
  }
60
- I(() => a.config, (h) => {
61
- e.value = v(), g();
60
+ I(() => o.config, (h) => {
61
+ e.value = p(), m();
62
62
  }, { deep: !0 });
63
- const _ = l(() => ({
63
+ const k = i(() => ({
64
64
  battery: { width: e.value.showPercentage ? 150 : 80, height: 50 },
65
65
  gauge: { width: 80, height: 80 }
66
- })[e.value.type]), m = l(() => Math.min(Math.max(0, p.value), 100)), c = l(() => Math.max(0, p.value)), f = l(() => {
67
- const n = 2 * Math.PI * 35, D = n - m.value / 100 * n;
66
+ })[e.value.type]), c = i(() => Math.min(Math.max(0, _.value), 100)), f = i(() => Math.max(0, _.value)), v = i(() => {
67
+ const n = 2 * Math.PI * 35, D = n - c.value / 100 * n;
68
68
  return {
69
69
  dasharray: `${n} ${n}`,
70
70
  dashoffset: D
71
71
  };
72
72
  });
73
- return (h, n) => (o(), s("div", K, [
74
- (o(), s("svg", {
73
+ return (h, n) => (a(), s("div", {
74
+ class: "vue-data-ui-component vue-ui-gizmo-wrapper",
75
+ role: "progressbar",
76
+ "aria-label": e.value.a11y.translations.label,
77
+ "aria-valuemin": "0",
78
+ "aria-valuemax": "100",
79
+ "aria-valuenow": r(g) ? void 0 : c.value,
80
+ "aria-valuetext": c.value + "%",
81
+ "aria-busy": r(g) ? "true" : "false"
82
+ }, [
83
+ (a(), s("svg", {
75
84
  class: "vue-ui-gizmo",
76
- viewBox: `0 0 ${_.value.width} ${_.value.height}`,
85
+ viewBox: `0 0 ${k.value.width} ${k.value.height}`,
77
86
  width: e.value.size,
78
87
  style: M({
79
88
  background: "transparent",
80
89
  fontFamily: e.value.fontFamily
81
90
  })
82
91
  }, [
83
- U(i(G)),
84
- e.value.useGradient ? (o(), s("defs", W, [
92
+ U(r(L)),
93
+ e.value.useGradient ? (a(), s("defs", W, [
85
94
  t("linearGradient", {
86
95
  id: `gizmo_gradient_${u.value}`,
87
96
  x1: "0%",
@@ -98,8 +107,8 @@ const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox
98
107
  "stop-color": e.value.color
99
108
  }, null, 8, Z)
100
109
  ], 8, X)
101
- ])) : r("", !0),
102
- e.value.type === "battery" ? (o(), s(C, { key: 1 }, [
110
+ ])) : l("", !0),
111
+ e.value.type === "battery" ? (a(), s(x, { key: 1 }, [
103
112
  t("path", {
104
113
  d: "M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",
105
114
  stroke: e.value.stroke,
@@ -117,28 +126,28 @@ const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox
117
126
  x: 10,
118
127
  y: 10,
119
128
  height: 30,
120
- width: 55 * (m.value / 100),
129
+ width: 55 * (c.value / 100),
121
130
  fill: e.value.useGradient ? `url(#gizmo_gradient_${u.value})` : e.value.color,
122
131
  rx: 2
123
- }, null, 8, oe),
124
- e.value.showPercentage ? (o(), s("text", {
132
+ }, null, 8, ae),
133
+ e.value.showPercentage ? (a(), s("text", {
125
134
  key: 0,
126
135
  x: 85,
127
136
  y: 32,
128
137
  "text-anchor": "start",
129
138
  "font-size": "20",
130
139
  fill: e.value.textColor
131
- }, x(i(b)(
140
+ }, w(r(z)(
132
141
  e.value.formatter,
133
- c.value,
134
- i(z)({
135
- v: c.value,
142
+ f.value,
143
+ r(A)({
144
+ v: f.value,
136
145
  s: "%"
137
146
  })
138
- )), 9, ae)) : r("", !0)
139
- ], 64)) : r("", !0),
140
- e.value.type === "gauge" ? (o(), s(C, { key: 2 }, [
141
- e.value.useGradient ? (o(), s("defs", se, [
147
+ )), 9, oe)) : l("", !0)
148
+ ], 64)) : l("", !0),
149
+ e.value.type === "gauge" ? (a(), s(x, { key: 2 }, [
150
+ e.value.useGradient ? (a(), s("defs", se, [
142
151
  t("filter", {
143
152
  id: `blur_${u.value}`,
144
153
  x: "-50%",
@@ -151,7 +160,7 @@ const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox
151
160
  stdDeviation: 1
152
161
  }, null, -1)
153
162
  ])], 8, re)
154
- ])) : r("", !0),
163
+ ])) : l("", !0),
155
164
  t("circle", {
156
165
  cx: 40,
157
166
  cy: 40,
@@ -159,20 +168,20 @@ const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox
159
168
  stroke: e.value.stroke,
160
169
  "stroke-width": 8,
161
170
  fill: "none"
162
- }, null, 8, ne),
171
+ }, null, 8, le),
163
172
  t("circle", {
164
173
  cx: 40,
165
174
  cy: 40,
166
175
  r: 35,
167
176
  stroke: e.value.color,
168
177
  "stroke-width": 8,
169
- "stroke-dasharray": f.value.dasharray,
170
- "stroke-dashoffset": f.value.dashoffset,
178
+ "stroke-dasharray": v.value.dasharray,
179
+ "stroke-dashoffset": v.value.dashoffset,
171
180
  "stroke-linecap": "round",
172
181
  fill: "none",
173
182
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
174
- }, null, 8, le),
175
- e.value.useGradient ? (o(), s("g", {
183
+ }, null, 8, ne),
184
+ e.value.useGradient ? (a(), s("g", {
176
185
  key: 1,
177
186
  filter: `url(#blur_${u.value})`
178
187
  }, [
@@ -183,34 +192,34 @@ const K = { class: "vue-data-ui-component vue-ui-gizmo-wrapper" }, Q = ["viewBox
183
192
  stroke: e.value.gradientColor,
184
193
  "stroke-width": 1,
185
194
  fill: "none",
186
- "stroke-dasharray": f.value.dasharray,
187
- "stroke-dashoffset": f.value.dashoffset,
195
+ "stroke-dasharray": v.value.dasharray,
196
+ "stroke-dashoffset": v.value.dashoffset,
188
197
  style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
189
198
  }, null, 8, ue)
190
- ], 8, ie)) : r("", !0),
191
- e.value.showPercentage ? (o(), s("text", {
199
+ ], 8, ie)) : l("", !0),
200
+ e.value.showPercentage ? (a(), s("text", {
192
201
  key: 2,
193
202
  x: 40,
194
203
  y: 47,
195
204
  "text-anchor": "middle",
196
205
  "font-size": "20",
197
206
  fill: e.value.textColor
198
- }, x(i(b)(
207
+ }, w(r(z)(
199
208
  e.value.formatter,
200
- c.value,
201
- i(z)({
202
- v: c.value,
209
+ f.value,
210
+ r(A)({
211
+ v: f.value,
203
212
  s: "%"
204
213
  })
205
- )), 9, de)) : r("", !0)
206
- ], 64)) : r("", !0)
214
+ )), 9, de)) : l("", !0)
215
+ ], 64)) : l("", !0)
207
216
  ], 12, Q)),
208
217
  P(h.$slots, "skeleton", {}, () => [
209
- i(B) ? (o(), E(H, { key: 0 })) : r("", !0)
218
+ r(g) ? (a(), E(H, { key: 0 })) : l("", !0)
210
219
  ], !0)
211
- ]));
220
+ ], 8, K));
212
221
  }
213
- }, me = /* @__PURE__ */ J(ce, [["__scopeId", "data-v-c88b56eb"]]);
222
+ }, _e = /* @__PURE__ */ J(ce, [["__scopeId", "data-v-49a5a45d"]]);
214
223
  export {
215
- me as default
224
+ _e as default
216
225
  };