vue-data-ui 3.22.8 → 3.22.10

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 (209) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/BaseIcon-CDTIUIKV.js +483 -0
  4. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  11. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
  12. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
  13. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  14. package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
  15. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
  16. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  17. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  18. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  19. package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  90. package/dist/exposedLib-CZbtc2a6.js +25 -0
  91. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  94. package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  96. package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  103. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  104. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  105. package/dist/utils.js +26 -24
  106. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  109. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  111. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  112. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  113. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  114. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
  115. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  116. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  117. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  118. package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
  119. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  120. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
  121. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  122. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
  123. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  124. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  125. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  126. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  127. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  128. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  129. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  130. package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
  131. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  132. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
  133. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  134. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
  135. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  136. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
  137. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  138. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  139. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
  140. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  141. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  143. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  144. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  145. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  146. package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
  147. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  148. package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
  149. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  150. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  151. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
  152. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
  153. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
  154. package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
  155. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
  156. package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
  157. package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
  158. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  159. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
  160. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  161. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
  162. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  163. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  164. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  165. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  166. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
  167. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  168. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
  169. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  170. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  171. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  172. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
  173. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
  174. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
  175. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  176. package/package.json +1 -1
  177. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  178. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  179. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
  181. package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
  182. package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
  183. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
  184. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  185. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  186. package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
  187. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  188. package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
  189. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  190. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  191. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
  192. package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
  193. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
  194. package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
  195. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
  196. package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
  197. package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
  198. package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
  199. package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
  200. package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
  201. package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
  202. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  203. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  204. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
  205. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  206. package/dist/vue-ui-table-Q3brrivC.js +0 -1338
  207. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
  208. package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
  209. package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
@@ -1,19 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, G as n, J as ee, Kt as r, _t as te, dt as ne, i as re, kt as ie, t as ae, v as i } from "./lib-JqW18y5I.js";
3
- import { t as oe } from "./useConfig-DYM3f6EI.js";
4
- import { n as se, t as a } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as o } from "./useNestedProp-DIuuzG1r.js";
6
- import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as s } from "./useChartAccessibility-DYqac8yF.js";
8
- import { t as c } from "./usePrefersMotion-BC-CsqR1.js";
9
- import { t as l } from "./vue_ui_sparkgauge-BX1MS3bA.js";
10
- import { computed as u, createBlock as le, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ue, defineAsyncComponent as de, normalizeClass as fe, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, toRefs as pe, unref as x, watch as S } from "vue";
2
+ import { At as t, K as n, Y as ee, et as r, ft as te, i as ne, qt as i, t as re, vt as a, y as o } from "./lib-CnHx5WfV.js";
3
+ import { t as ie } from "./useConfig-DYM3f6EI.js";
4
+ import { n as s, t as ae } from "./BaseScanner-DZvpgOjM.js";
5
+ import { t as c } from "./useNestedProp-D8NuRneO.js";
6
+ import { t as l } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as u } from "./DefGrad-DVBqDjhO.js";
8
+ import { t as d } from "./useChartAccessibility-DYqac8yF.js";
9
+ import { t as f } from "./usePrefersMotion-BC-CsqR1.js";
10
+ import { t as oe } from "./vue_ui_sparkgauge-BX1MS3bA.js";
11
+ import { computed as p, createBlock as se, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineAsyncComponent as ce, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as le, onMounted as b, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, toRefs as ue, unref as T, watch as E } from "vue";
11
12
  //#region src/components/vue-ui-sparkgauge.vue
12
- var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he = ["width", "height"], ge = ["id"], w = ["stop-color"], T = ["stop-color"], E = [
13
+ var D = /* @__PURE__ */ e({ default: () => j }), de = ["xmlns", "viewBox"], fe = ["width", "height"], pe = [
13
14
  "d",
14
15
  "stroke",
15
16
  "stroke-linecap"
16
- ], D = [
17
+ ], me = [
17
18
  "d",
18
19
  "stroke",
19
20
  "stroke-linecap",
@@ -50,7 +51,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
50
51
  }
51
52
  },
52
53
  setup(e) {
53
- let C = de(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = oe(), { isThemeValid: M, warnInvalidTheme: N } = ce(), P = c(), F = v(null), I = e, L = v(n()), R = v(W()), z = u(() => R.value.style.animation.show && !P.value), _e = u(() => r({
54
+ let D = ce(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ie(), { isThemeValid: M, warnInvalidTheme: N } = l(), P = f(), F = S(null), I = e, L = S(n()), R = S(W()), z = p(() => R.value.style.animation.show && !P.value), he = p(() => i({
54
55
  defaultConfig: { style: {
55
56
  animation: { show: !1 },
56
57
  background: "#99999930",
@@ -62,8 +63,8 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
62
63
  gutter: { color: "#6A6A6A80" }
63
64
  } },
64
65
  userConfig: R.value.skeletonConfig ?? {}
65
- })), { loading: B, FINAL_DATASET: V } = se({
66
- ...pe(I),
66
+ })), { loading: B, FINAL_DATASET: V } = s({
67
+ ...ue(I),
67
68
  FINAL_CONFIG: R,
68
69
  prepareConfig: W,
69
70
  skeletonDataset: I.config?.skeletonDataset ?? {
@@ -72,44 +73,44 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
72
73
  max: 1,
73
74
  title: ""
74
75
  },
75
- skeletonConfig: r({
76
+ skeletonConfig: i({
76
77
  defaultConfig: R.value,
77
- userConfig: _e.value
78
+ userConfig: he.value
78
79
  })
79
- }), H = u(() => {
80
+ }), H = p(() => {
80
81
  let e = V.value.min ?? 0, t = V.value.max ?? 0;
81
82
  return {
82
83
  min: e,
83
84
  max: t,
84
85
  diff: t - e
85
86
  };
86
- }), U = u(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ve } = s({ config: { text: I.dataset?.title || "" } });
87
+ }), U = p(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ge } = d({ config: { text: I.dataset?.title || "" } });
87
88
  function W() {
88
- let e = o({
89
+ let e = c({
89
90
  userConfig: I.config,
90
91
  defaultConfig: j
91
92
  }), t = e.theme;
92
93
  if (!t) return e;
93
94
  if (!M.value(e)) return N(e), e;
94
- let n = o({
95
- userConfig: l[t] || I.config,
95
+ let n = c({
96
+ userConfig: oe[t] || I.config,
96
97
  defaultConfig: e
97
98
  });
98
- return o({
99
+ return c({
99
100
  userConfig: I.config,
100
101
  defaultConfig: n
101
102
  });
102
103
  }
103
- g(() => {
104
+ b(() => {
104
105
  K();
105
106
  });
106
- let G = u(() => R.value.debug);
107
+ let G = p(() => R.value.debug);
107
108
  function K() {
108
- ie(I.dataset) ? t({
109
+ t(I.dataset) ? r({
109
110
  componentName: "VueUiSparkgauge",
110
111
  type: "dataset",
111
112
  debug: G.value
112
- }) : ne({
113
+ }) : te({
113
114
  datasetObject: I.dataset,
114
115
  requiredAttributes: [
115
116
  "value",
@@ -117,7 +118,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
117
118
  "max"
118
119
  ]
119
120
  }).forEach((e) => {
120
- t({
121
+ r({
121
122
  componentName: "VueUiSparkgauge",
122
123
  type: "datasetAttribute",
123
124
  property: e,
@@ -125,19 +126,19 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
125
126
  });
126
127
  });
127
128
  }
128
- S(() => I.config, () => {
129
+ E(() => I.config, () => {
129
130
  R.value = W(), J.value = z.value ? H.value.min : V.value.value, K();
130
131
  }, { deep: !0 });
131
- let q = u(() => ({
132
+ let q = p(() => ({
132
133
  height: R.value.style.height,
133
134
  width: 128,
134
135
  base: R.value.style.basePosition
135
- })), J = v(z.value ? H.value.min : V.value.value);
136
- S([() => V.value.value, z], ([e, t]) => {
136
+ })), J = S(z.value ? H.value.min : V.value.value);
137
+ E([() => V.value.value, z], ([e, t]) => {
137
138
  Y(e || 0, t);
138
139
  }, { immediate: !0 });
139
- let ye = u(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
140
- g(() => {
140
+ let _e = p(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
141
+ b(() => {
141
142
  Y(V.value.value || 0);
142
143
  });
143
144
  function Y(e, t = z.value) {
@@ -150,72 +151,76 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
150
151
  }
151
152
  n();
152
153
  }
153
- let X = u(() => V.value.title ?? ""), Z = u(() => {
154
+ let X = p(() => V.value.title ?? ""), Z = p(() => {
154
155
  let e = H.value.diff;
155
156
  if (!isFinite(e) || e === 0) return 0;
156
- let t = H.value.min, n = ye.value;
157
+ let t = H.value.min, n = _e.value;
157
158
  return n >= 0 ? (n - t) / e : (Math.abs(t) - Math.abs(n)) / e;
158
- }), Q = u(() => te(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = u(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), be = u(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
159
- return h(() => {
159
+ }), Q = p(() => a(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = p(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), ve = p(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
160
+ return le(() => {
160
161
  F.value && cancelAnimationFrame(F.value);
161
- }), (e, t) => (_(), f("div", {
162
+ }), (e, t) => (x(), h("div", {
162
163
  class: "vue-data-ui-component vue-ui-sparkgauge",
163
- style: m(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
164
+ style: y(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
164
165
  }, [
165
- R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (_(), f("div", {
166
+ R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (x(), h("div", {
166
167
  key: 0,
167
168
  class: "vue-data-ui-sparkgauge-label",
168
- style: m(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
169
- }, b(X.value), 5)) : d("", !0),
170
- (_(), f("svg", {
169
+ style: y(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
170
+ }, w(X.value), 5)) : m("", !0),
171
+ (x(), h("svg", {
171
172
  ref_key: "svgRef",
172
- ref: ve,
173
- xmlns: x(ae),
173
+ ref: ge,
174
+ xmlns: T(re),
174
175
  viewBox: `0 0 ${q.value.width} ${q.value.height}`,
175
176
  style: "overflow: visible; background:transparent; width:100%;"
176
177
  }, [
177
- ue(x(C)),
178
- e.$slots["chart-background"] && !x(B) ? (_(), f("foreignObject", {
178
+ _(T(D)),
179
+ e.$slots["chart-background"] && !T(B) ? (x(), h("foreignObject", {
179
180
  key: 0,
180
181
  x: 0,
181
182
  y: 0,
182
183
  width: q.value.width,
183
184
  height: q.value.height,
184
185
  style: { pointerEvents: "none" }
185
- }, [y(e.$slots, "chart-background")], 8, he)) : d("", !0),
186
- p("defs", null, [p("linearGradient", {
186
+ }, [C(e.$slots, "chart-background")], 8, fe)) : m("", !0),
187
+ g("defs", null, [_(u, {
188
+ t: "linear",
187
189
  id: `gradient_${L.value}`,
188
190
  x1: "-10%",
189
191
  y1: "100%",
190
192
  x2: "110%",
191
- y2: "100%"
192
- }, [p("stop", {
193
- offset: "0%",
194
- "stop-color": R.value.style.colors.min
195
- }, null, 8, w), p("stop", {
196
- offset: "100%",
197
- "stop-color": R.value.style.colors.max
198
- }, null, 8, T)], 8, ge)]),
199
- p("path", {
193
+ y2: "100%",
194
+ stops: [[
195
+ "0%",
196
+ R.value.style.colors.min,
197
+ 1
198
+ ], [
199
+ "100%",
200
+ R.value.style.colors.max,
201
+ 1
202
+ ]]
203
+ }, null, 8, ["id", "stops"])]),
204
+ g("path", {
200
205
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
201
206
  stroke: R.value.style.gutter.color,
202
207
  "stroke-width": 8,
203
208
  "stroke-linecap": R.value.style.gutter.strokeLinecap,
204
209
  fill: "none"
205
- }, null, 8, E),
206
- Z.value === 0 ? d("", !0) : (_(), f("path", {
210
+ }, null, 8, pe),
211
+ Z.value === 0 ? m("", !0) : (x(), h("path", {
207
212
  key: 1,
208
213
  d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
209
- stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : be.value,
214
+ stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : ve.value,
210
215
  "stroke-width": 8,
211
216
  "stroke-linecap": R.value.style.track.strokeLinecap,
212
217
  fill: "none",
213
218
  "stroke-dasharray": 169.5,
214
219
  "stroke-dashoffset": 169.5 - 169.5 * Z.value,
215
- class: fe({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
216
- style: m(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
217
- }, null, 14, D)),
218
- x(B) ? (_(), f("rect", {
220
+ class: v({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
221
+ style: y(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
222
+ }, null, 14, me)),
223
+ T(B) ? (x(), h("rect", {
219
224
  key: 2,
220
225
  x: q.value.width / 2 - R.value.style.dataLabel.fontSize / 2,
221
226
  y: q.value.base + 6 + R.value.style.dataLabel.offsetY - R.value.style.dataLabel.fontSize,
@@ -223,7 +228,7 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
223
228
  height: R.value.style.dataLabel.fontSize,
224
229
  fill: "#6A6A6A50",
225
230
  rx: 3
226
- }, null, 8, O)) : (_(), f("text", {
231
+ }, null, 8, O)) : (x(), h("text", {
227
232
  key: 3,
228
233
  "text-anchor": "middle",
229
234
  x: q.value.width / 2,
@@ -231,25 +236,25 @@ var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he =
231
236
  "font-size": R.value.style.dataLabel.fontSize,
232
237
  fill: $.value,
233
238
  "font-weight": R.value.style.dataLabel.bold ? "bold" : "normal"
234
- }, b(x(re)(R.value.style.dataLabel.formatter, x(i)(J.value), x(ee)({
239
+ }, w(T(ne)(R.value.style.dataLabel.formatter, T(o)(J.value), T(ee)({
235
240
  p: R.value.style.dataLabel.prefix,
236
- v: x(i)(J.value),
241
+ v: T(o)(J.value),
237
242
  s: R.value.style.dataLabel.suffix,
238
243
  r: R.value.style.dataLabel.rounding
239
244
  }), {
240
- datapoint: x(i)(J.value),
245
+ datapoint: T(o)(J.value),
241
246
  color: $.value
242
247
  })), 9, k))
243
- ], 8, me)),
244
- R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (_(), f("div", {
248
+ ], 8, de)),
249
+ R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (x(), h("div", {
245
250
  key: 1,
246
251
  class: "vue-data-ui-sparkgauge-label",
247
- style: m(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
248
- }, b(X.value), 5)) : d("", !0),
249
- e.$slots.source ? (_(), f("div", A, [y(e.$slots, "source")], 512)) : d("", !0),
250
- y(e.$slots, "skeleton", {}, () => [x(B) ? (_(), le(a, { key: 0 })) : d("", !0)])
252
+ style: y(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
253
+ }, w(X.value), 5)) : m("", !0),
254
+ e.$slots.source ? (x(), h("div", A, [C(e.$slots, "source")], 512)) : m("", !0),
255
+ C(e.$slots, "skeleton", {}, () => [T(B) ? (x(), se(ae, { key: 0 })) : m("", !0)])
251
256
  ], 4));
252
257
  }
253
258
  };
254
259
  //#endregion
255
- export { C as n, j as t };
260
+ export { D as n, j as t };