vue-data-ui 3.22.14 → 3.23.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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
  4. package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  5. package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
  6. package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  7. package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  8. package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
  9. package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
  10. package/dist/HillActions-BD9j_sOU.js +187 -0
  11. package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
  13. package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
  14. package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
  15. package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
  16. package/dist/Slicer-CIk57nL4.js +1163 -0
  17. package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
  18. package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
  19. package/dist/Title-BE3qg9xl.js +87 -0
  20. package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
  21. package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.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/composables.js +1 -1
  93. package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
  94. package/dist/exposedLib-C0DPCgFj.js +28 -0
  95. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  96. package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
  97. package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
  98. package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
  99. package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
  100. package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
  101. package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
  102. package/dist/ssr/vue-ui-donut.js +1 -1
  103. package/dist/ssr/vue-ui-xy.js +1 -1
  104. package/dist/ssr.js +2 -2
  105. package/dist/style.css +1 -1
  106. package/dist/types/vue-data-ui.d.ts +496 -0
  107. package/dist/types/vue-ui-hill.d.ts +90 -0
  108. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  109. package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
  110. package/dist/useHints-Dq_w2E8B.js +66 -0
  111. package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
  112. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
  113. package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
  114. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  115. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  116. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  117. package/dist/useTransitions-g_zBREk2.js +39 -0
  118. package/dist/utils.js +14 -14
  119. package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
  120. package/dist/vue-data-ui.js +77 -76
  121. package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
  122. package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
  123. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
  124. package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
  125. package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
  126. package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
  127. package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
  128. package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
  129. package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
  130. package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
  131. package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
  132. package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
  133. package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
  134. package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
  135. package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
  136. package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
  137. package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
  138. package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
  139. package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
  140. package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
  141. package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
  142. package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
  143. package/dist/vue-ui-gauge-ByE_txav.js +953 -0
  144. package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
  145. package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
  146. package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
  147. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  148. package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
  149. package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
  150. package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
  151. package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
  152. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  153. package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
  154. package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
  155. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  156. package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
  157. package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
  158. package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
  159. package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
  160. package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
  161. package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
  162. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  163. package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
  164. package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
  165. package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
  166. package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
  167. package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
  168. package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
  169. package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
  170. package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
  171. package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
  172. package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
  173. package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
  174. package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
  175. package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
  176. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  177. package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
  178. package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
  179. package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
  180. package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
  181. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  182. package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
  183. package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
  184. package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
  185. package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
  186. package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
  187. package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
  188. package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
  189. package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
  190. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  191. package/package.json +4 -4
  192. package/dist/Slicer-JdCzBeYM.js +0 -1149
  193. package/dist/Title-Thf71-8D.js +0 -87
  194. package/dist/exposedLib-CfZhN94x.js +0 -25
  195. package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
  196. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  197. package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
  198. package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
  199. package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
  200. package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
  201. package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
  202. package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
  203. package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
  204. package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
  205. package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
  206. package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
  207. package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
  208. package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
  209. package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
  210. package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
  211. package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
  212. package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
  213. package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
  214. package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
  215. package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
  216. package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
  217. package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
  218. package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
  219. package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
  220. package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
  221. package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
  222. package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
  223. package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
  224. package/dist/vue-ui-table-DEhy61ln.js +0 -1339
  225. package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
  226. package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
  227. package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
  228. package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
  229. package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
@@ -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-C-QGo8GG.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-BYfiWVP8.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-Bttd6u5E.js";
3
+ import { n as oe, t as l } from "./useHints-Dq_w2E8B.js";
4
+ import { t as u } from "./useConfig-D3scuR88.js";
5
+ import { n as d, t as se } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as f } from "./useNestedProp-vPNvh7rV.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-BUmadjVO.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-D6d8SCp9.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 };