vue-data-ui 3.22.13 → 3.23.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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,15 +1,16 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, C as r, Gt as i, K as ee, Nt as a, Y as o, et as s, ft as te, i as c, qt as l, t as ne, x as re, zt as u } from "./lib-CFm_J26b.js";
3
- import { t as ie } from "./useConfig-C0V0eG7L.js";
4
- import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as d } from "./useNestedProp-BY6DNN3i.js";
6
- import { t as se } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as f } from "./DefGrad-DVBqDjhO.js";
8
- import { t as ce } from "./usePrefersMotion-BC-CsqR1.js";
9
- import { t as le } from "./vue_ui_sparkbar-z6qO--Kf.js";
10
- import { Fragment as p, computed as m, createBlock as ue, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as y, guardReactiveProps as de, mergeProps as b, nextTick as fe, normalizeProps as x, normalizeStyle as S, onMounted as C, openBlock as w, ref as T, renderList as pe, renderSlot as E, toDisplayString as D, toRefs as me, unref as O, useSlots as k, watch as A } from "vue";
2
+ import { Bt as t, Jt as n, Kt as r, Pt as i, S as a, Vt as ee, X as o, i as s, jt as te, pt as ne, q as re, t as ie, tt as c, w as ae } from "./lib-BuMGJ_a0.js";
3
+ import { n as oe, t as l } from "./useHints-Dq_w2E8B.js";
4
+ import { t as u } from "./useConfig-BilxnBNr.js";
5
+ import { n as d, t as se } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as f } from "./useNestedProp--NSEmhOH.js";
7
+ import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as le } from "./DefGrad-DVBqDjhO.js";
9
+ import { t as ue } from "./usePrefersMotion-BC-CsqR1.js";
10
+ import { t as de } from "./vue_ui_sparkbar-z6qO--Kf.js";
11
+ import { Fragment as p, computed as m, createBlock as fe, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as pe, guardReactiveProps as me, mergeProps as y, nextTick as b, normalizeProps as he, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as ge, renderSlot as T, toDisplayString as E, toRefs as D, unref as O, useSlots as k, watch as A } from "vue";
11
12
  //#region src/components/vue-ui-sparkbar.vue
12
- var j = /* @__PURE__ */ e({ default: () => z }), M = [
13
+ var j = /* @__PURE__ */ e({ default: () => R }), M = [
13
14
  "onClick",
14
15
  "onMouseenter",
15
16
  "onMouseleave"
@@ -31,11 +32,11 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
31
32
  "width",
32
33
  "fill",
33
34
  "rx"
34
- ], R = {
35
+ ], _e = {
35
36
  key: 2,
36
37
  ref: "source",
37
38
  dir: "auto"
38
- }, z = {
39
+ }, R = {
39
40
  __name: "vue-ui-sparkbar",
40
41
  props: {
41
42
  config: {
@@ -57,11 +58,18 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
57
58
  },
58
59
  emits: ["selectDatapoint"],
59
60
  setup(e, { emit: j }) {
60
- let z = y(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), { vue_ui_sparkbar: he } = ie(), { isThemeValid: ge, warnInvalidTheme: _e } = se(), B = ce(), V = e, ve = k();
61
- C(() => {
62
- ve["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
61
+ let R = pe(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_sparkbar: z } = u(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), B = ue(), V = e, be = k();
62
+ S(() => {
63
+ be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
63
64
  });
64
- let H = T(ee()), U = T(q()), ye = m(() => l({
65
+ let H = w(re()), U = w(q());
66
+ oe({
67
+ config: () => U.value,
68
+ dataset: () => V.dataset,
69
+ component: "VueUiSparkbar",
70
+ rules: [l.noHint]
71
+ });
72
+ let xe = m(() => n({
65
73
  defaultConfig: { style: {
66
74
  backgroundColor: "#99999930",
67
75
  animation: { show: !1 },
@@ -73,8 +81,8 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
73
81
  bar: { gradient: { underlayerColor: "#6A6A6A" } }
74
82
  } },
75
83
  userConfig: U.value.skeletonConfig ?? {}
76
- })), { loading: W, FINAL_DATASET: G, manualLoading: be } = ae({
77
- ...me(V),
84
+ })), { loading: W, FINAL_DATASET: G, manualLoading: Se } = d({
85
+ ...D(V),
78
86
  FINAL_CONFIG: U,
79
87
  prepareConfig: q,
80
88
  skeletonDataset: V.config?.skeletonDataset ?? [
@@ -97,40 +105,40 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
97
105
  color: "#DBDBDB"
98
106
  }
99
107
  ],
100
- skeletonConfig: l({
108
+ skeletonConfig: n({
101
109
  defaultConfig: U.value,
102
- userConfig: ye.value
110
+ userConfig: xe.value
103
111
  })
104
112
  }), K = m(() => !!U.value.debug);
105
113
  function q() {
106
- let e = d({
114
+ let e = f({
107
115
  userConfig: V.config,
108
- defaultConfig: he
116
+ defaultConfig: z
109
117
  }), t = e.theme;
110
118
  if (!t) return e;
111
- if (!ge.value(e)) return _e(e), e;
112
- let n = d({
113
- userConfig: le[t] || V.config,
119
+ if (!ve.value(e)) return ye(e), e;
120
+ let n = f({
121
+ userConfig: de[t] || V.config,
114
122
  defaultConfig: e
115
- }), r = d({
123
+ }), a = f({
116
124
  userConfig: V.config,
117
125
  defaultConfig: n
118
126
  });
119
127
  return {
120
- ...r,
121
- customPalette: r.customPalette.length ? r.customPalette : i[t] || a
128
+ ...a,
129
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || i
122
130
  };
123
131
  }
124
132
  A(() => V.config, (e) => {
125
133
  U.value = q();
126
134
  }, { deep: !0 });
127
- let xe = m(() => r(U.value.customPalette)), J = T(G.value.map((e) => ({
135
+ let Ce = m(() => ae(U.value.customPalette)), J = w(G.value.map((e) => ({
128
136
  ...e,
129
137
  value: U.value.style.animation.show ? 0 : e.value || 0,
130
138
  formatter: e.formatter || null
131
- }))), Y = T(null);
132
- C(async () => {
133
- t(V.dataset) && s({
139
+ }))), Y = w(null);
140
+ S(async () => {
141
+ te(V.dataset) && c({
134
142
  componentName: "VueUiSparkbar",
135
143
  type: "dataset",
136
144
  debug: K.value
@@ -157,17 +165,17 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
157
165
  ...e,
158
166
  value: U.value.style.animation.show && !B.value ? 0 : e.value || 0,
159
167
  formatter: e.formatter || null
160
- })), fe(X);
168
+ })), b(X);
161
169
  }, { deep: !0 });
162
- let Z = T({
170
+ let Z = w({
163
171
  width: 500,
164
172
  height: 16
165
- }), Se = m(() => Math.max(...G.value.map((e) => e.value))), Ce = m(() => (G.value.forEach((e, t) => {
166
- te({
173
+ }), we = m(() => Math.max(...G.value.map((e) => e.value))), Te = m(() => (G.value.forEach((e, t) => {
174
+ ne({
167
175
  datasetObject: e,
168
176
  requiredAttributes: ["name", "value"]
169
177
  }).forEach((e) => {
170
- s({
178
+ c({
171
179
  componentName: "VueUiSparkbar",
172
180
  type: "datasetSerieAttribute",
173
181
  property: e,
@@ -178,20 +186,20 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
178
186
  }), J.value.map((e, t) => ({
179
187
  ...e,
180
188
  value: e.value || 0,
181
- color: re(e.color) || xe.value[t] || a[t] || a[t % a.length]
189
+ color: a(e.color) || Ce.value[t] || i[t] || i[t % i.length]
182
190
  }))));
183
- function we(e) {
184
- return e / Se.value;
191
+ function Ee(e) {
192
+ return e / we.value;
185
193
  }
186
194
  function Q(e) {
187
- return U.value.style.layout.independant ? e.target ? e.value / e.target : U.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : U.value.style.layout.target === 0 ? 1 : e.value / U.value.style.layout.target : we(e.value);
195
+ return U.value.style.layout.independant ? e.target ? e.value / e.target : U.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : U.value.style.layout.target === 0 ? 1 : e.value / U.value.style.layout.target : Ee(e.value);
188
196
  }
189
197
  function $(e) {
190
198
  return U.value.style.layout.independant && e.target || U.value.style.layout.target;
191
199
  }
192
- let Te = j;
193
- function Ee(e, t) {
194
- Te("selectDatapoint", {
200
+ let De = j;
201
+ function Oe(e, t) {
202
+ De("selectDatapoint", {
195
203
  datapoint: e,
196
204
  index: t
197
205
  }), U.value.events.datapointClick && U.value.events.datapointClick({
@@ -199,87 +207,87 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
199
207
  seriesIndex: t
200
208
  });
201
209
  }
202
- function De(e, t) {
210
+ function ke(e, t) {
203
211
  U.value.events.datapointEnter && U.value.events.datapointEnter({
204
212
  datapoint: e,
205
213
  seriesIndex: t
206
214
  });
207
215
  }
208
- function Oe(e, t) {
216
+ function Ae(e, t) {
209
217
  U.value.events.datapointLeave && U.value.events.datapointLeave({
210
218
  datapoint: e,
211
219
  seriesIndex: t
212
220
  });
213
221
  }
214
- return (e, t) => (w(), g("div", {
222
+ return (e, n) => (C(), g("div", {
215
223
  class: "vue-data-ui-component vue-ui-sparkbar",
216
- style: S({
224
+ style: x({
217
225
  width: "100%",
218
226
  position: "relative",
219
227
  fontFamily: U.value.style.fontFamily,
220
- background: V.backgroundOpacity === null ? U.value.style.backgroundColor : O(u)(U.value.style.backgroundColor, V.backgroundOpacity)
228
+ background: V.backgroundOpacity === null ? U.value.style.backgroundColor : O(t)(U.value.style.backgroundColor, V.backgroundOpacity)
221
229
  })
222
230
  }, [
223
- e.$slots.title ? E(e.$slots, "title", x(de({ title: {
231
+ e.$slots.title ? T(e.$slots, "title", he(me({ title: {
224
232
  ...e.title,
225
233
  title: U.value.style.title.text,
226
234
  subtitle: U.value.style.title.subtitle.text
227
235
  } })), void 0, void 0, 0) : h("", !0),
228
- !e.$slots.title && U.value.style.title.text ? (w(), g("div", {
236
+ !e.$slots.title && U.value.style.title.text ? (C(), g("div", {
229
237
  key: 1,
230
238
  class: "vue-ui-sparkbar-title-container",
231
- style: S({
239
+ style: x({
232
240
  background: U.value.style.title.backgroundColor,
233
241
  margin: U.value.style.title.margin,
234
242
  textAlign: U.value.style.title.textAlign
235
243
  })
236
244
  }, [_("div", {
237
245
  class: "vue-ui-sparkbar-title",
238
- style: S({
246
+ style: x({
239
247
  fontSize: U.value.style.title.fontSize + "px",
240
248
  color: U.value.style.title.color,
241
249
  fontWeight: U.value.style.title.bold ? "bold" : "normal"
242
250
  })
243
- }, D(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (w(), g("div", {
251
+ }, E(U.value.style.title.text), 5), U.value.style.title.subtitle.text ? (C(), g("div", {
244
252
  key: 0,
245
253
  class: "vue-ui-sparkbar-subtitle",
246
- style: S({
254
+ style: x({
247
255
  fontSize: U.value.style.title.subtitle.fontSize + "px",
248
256
  color: U.value.style.title.subtitle.color,
249
257
  fontWeight: U.value.style.title.subtitle.bold ? "bold" : "normal"
250
258
  })
251
- }, D(U.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
252
- (w(!0), g(p, null, pe(Ce.value, (t, r) => (w(), g("div", {
253
- style: S(`display:flex !important;${["left", "right"].includes(U.value.style.labels.name.position) ? `flex-direction: ${U.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${U.value.style.gap}px !important;align-items:center;${O(G).length > 0 && r !== O(G).length - 1 ? "margin-bottom:6px" : ""}`),
254
- onClick: (e) => Ee(t, r),
255
- onMouseenter: (e) => De(t, r),
256
- onMouseleave: (e) => Oe(t, r)
259
+ }, E(U.value.style.title.subtitle.text), 5)) : h("", !0)], 4)) : h("", !0),
260
+ (C(!0), g(p, null, ge(Te.value, (n, r) => (C(), g("div", {
261
+ style: x(`display:flex !important;${["left", "right"].includes(U.value.style.labels.name.position) ? `flex-direction: ${U.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${U.value.style.gap}px !important;align-items:center;${O(G).length > 0 && r !== O(G).length - 1 ? "margin-bottom:6px" : ""}`),
262
+ onClick: (e) => Oe(n, r),
263
+ onMouseenter: (e) => ke(n, r),
264
+ onMouseleave: (e) => Ae(n, r)
257
265
  }, [
258
- O(W) ? h("", !0) : E(e.$slots, "data-label", b({ ref_for: !0 }, { bar: {
259
- ...t,
260
- target: $(t),
261
- valueLabel: O(c)(t.formatter, t.value, O(o)({
262
- p: t.prefix || "",
263
- v: t.value,
264
- s: t.suffix || "",
265
- r: t.rounding || 0
266
+ O(W) ? h("", !0) : T(e.$slots, "data-label", y({ ref_for: !0 }, { bar: {
267
+ ...n,
268
+ target: $(n),
269
+ valueLabel: O(s)(n.formatter, n.value, O(o)({
270
+ p: n.prefix || "",
271
+ v: n.value,
272
+ s: n.suffix || "",
273
+ r: n.rounding || 0
266
274
  }), {
267
- datapoint: t,
275
+ datapoint: n,
268
276
  seriesIndex: r
269
277
  }),
270
- targetLabel: O(c)(t.formatter, $(t), O(o)({
271
- p: t.prefix || "",
272
- v: $(t),
273
- s: t.suffix || "",
274
- r: t.rounding || 0
278
+ targetLabel: O(s)(n.formatter, $(n), O(o)({
279
+ p: n.prefix || "",
280
+ v: $(n),
281
+ s: n.suffix || "",
282
+ r: n.rounding || 0
275
283
  }), {
276
- datapoint: t,
284
+ datapoint: n,
277
285
  seriesIndex: r
278
286
  })
279
287
  } }), void 0, void 0, 0),
280
- !e.$slots["data-label"] || O(W) ? (w(), g("div", {
288
+ !e.$slots["data-label"] || O(W) ? (C(), g("div", {
281
289
  key: 1,
282
- style: S({
290
+ style: x({
283
291
  display: "flex",
284
292
  justifyContent: ["right", "top-right"].includes(U.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(U.value.style.labels.name.position) ? "center" : "flex-start",
285
293
  alignItems: "center",
@@ -289,10 +297,10 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
289
297
  fontWeight: U.value.style.labels.name.bold ? "bold" : "normal",
290
298
  flexWrap: "wrap"
291
299
  })
292
- }, [O(W) ? (w(), g("div", {
300
+ }, [O(W) ? (C(), g("div", {
293
301
  key: 0,
294
302
  class: "vue-ui-sparkbar-skeleton-name",
295
- style: S({
303
+ style: x({
296
304
  width: "60px",
297
305
  height: U.value.style.labels.fontSize + "px",
298
306
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
@@ -301,49 +309,49 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
301
309
  justifyContent: "space-between",
302
310
  marginTop: "5px"
303
311
  })
304
- }, [_("div", { style: S({
312
+ }, [_("div", { style: x({
305
313
  height: "100%",
306
314
  width: "40px",
307
315
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
308
316
  backgroundColor: "#6A6A6A80"
309
- }) }, null, 4), _("div", { style: S({
317
+ }) }, null, 4), _("div", { style: x({
310
318
  height: "100%",
311
319
  width: "15px",
312
320
  borderRadius: U.value.style.labels.fontSize / 4 + "px",
313
321
  backgroundColor: "#6A6A6A80"
314
- }) }, null, 4)], 4)) : (w(), g(p, { key: 1 }, [
315
- _("span", null, D(t.name), 1),
316
- U.value.style.labels.value.show ? (w(), g("span", {
322
+ }) }, null, 4)], 4)) : (C(), g(p, { key: 1 }, [
323
+ _("span", null, E(n.name), 1),
324
+ U.value.style.labels.value.show ? (C(), g("span", {
317
325
  key: 0,
318
- style: S(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
326
+ style: x(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
319
327
  class: "vue-ui-sparkbar-datapoint-name"
320
- }, ": " + D(O(c)(t.formatter, t.value, O(o)({
321
- p: t.prefix || "",
322
- v: t.value,
323
- s: t.suffix || "",
324
- r: t.rounding || 0
328
+ }, ": " + E(O(s)(n.formatter, n.value, O(o)({
329
+ p: n.prefix || "",
330
+ v: n.value,
331
+ s: n.suffix || "",
332
+ r: n.rounding || 0
325
333
  }), {
326
- datapoint: t,
334
+ datapoint: n,
327
335
  seriesIndex: r
328
336
  })), 5)) : h("", !0),
329
- U.value.style.layout.showTargetValue ? (w(), g("span", N, D(" " + U.value.style.layout.targetValueText) + " " + D(O(c)(t.formatter, $(t), O(o)({
330
- p: t.prefix || "",
331
- v: $(t),
332
- s: t.suffix || "",
333
- r: t.rounding || 0
337
+ U.value.style.layout.showTargetValue ? (C(), g("span", N, E(" " + U.value.style.layout.targetValueText) + " " + E(O(s)(n.formatter, $(n), O(o)({
338
+ p: n.prefix || "",
339
+ v: $(n),
340
+ s: n.suffix || "",
341
+ r: n.rounding || 0
334
342
  }), {
335
- datapoint: t,
343
+ datapoint: n,
336
344
  seriesIndex: r
337
345
  })), 1)) : h("", !0)
338
346
  ], 64))], 4)) : h("", !0),
339
- (w(), g("svg", {
347
+ (C(), g("svg", {
340
348
  role: "img",
341
- xmlns: O(ne),
349
+ xmlns: O(ie),
342
350
  viewBox: `0 0 ${Z.value.width} ${Z.value.height}`,
343
351
  width: "100%"
344
352
  }, [
345
- v(O(z)),
346
- _("defs", null, [v(f, {
353
+ v(O(R)),
354
+ _("defs", null, [v(le, {
347
355
  t: "linear",
348
356
  x1: "0%",
349
357
  y1: "0%",
@@ -352,11 +360,11 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
352
360
  id: `sparkbar_gradient_${r}_${H.value}`,
353
361
  stops: [[
354
362
  "0%",
355
- O(u)(O(n)(t.color, .03), 100 - U.value.style.bar.gradient.intensity),
363
+ O(t)(O(ee)(n.color, .03), 100 - U.value.style.bar.gradient.intensity),
356
364
  1
357
365
  ], [
358
366
  "100%",
359
- t.color,
367
+ n.color,
360
368
  1
361
369
  ]]
362
370
  }, null, 8, ["id", "stops"])]),
@@ -365,12 +373,12 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
365
373
  width: Z.value.width,
366
374
  x: 0,
367
375
  y: 0,
368
- fill: O(u)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
376
+ fill: O(t)(U.value.style.gutter.backgroundColor, U.value.style.gutter.opacity),
369
377
  rx: Z.value.height / 2
370
378
  }, null, 8, F),
371
379
  _("rect", {
372
380
  height: Z.value.height,
373
- width: Z.value.width * Q(t),
381
+ width: Z.value.width * Q(n),
374
382
  x: 0,
375
383
  y: 0,
376
384
  fill: U.value.style.bar.gradient.underlayerColor,
@@ -378,18 +386,18 @@ var j = /* @__PURE__ */ e({ default: () => z }), M = [
378
386
  }, null, 8, I),
379
387
  _("rect", {
380
388
  height: Z.value.height,
381
- width: Z.value.width * Q(t),
389
+ width: Z.value.width * Q(n),
382
390
  x: 0,
383
391
  y: 0,
384
- fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${H.value})` : t.color,
392
+ fill: U.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${H.value})` : n.color,
385
393
  rx: Z.value.height / 2
386
394
  }, null, 8, L)
387
395
  ], 8, P))
388
396
  ], 44, M))), 256)),
389
- e.$slots.source ? (w(), g("div", R, [E(e.$slots, "source")], 512)) : h("", !0),
390
- O(W) ? (w(), ue(oe, { key: 3 })) : h("", !0)
397
+ e.$slots.source ? (C(), g("div", _e, [T(e.$slots, "source")], 512)) : h("", !0),
398
+ O(W) ? (C(), fe(se, { key: 3 })) : h("", !0)
391
399
  ], 4));
392
400
  }
393
401
  };
394
402
  //#endregion
395
- export { j as n, z as t };
403
+ export { j as n, R as t };