vue-data-ui 3.23.14 → 3.24.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 (186) hide show
  1. package/README.md +14 -13
  2. package/dist/{Arrow-DrF4NNJO.js → Arrow-CJuuMivt.js} +1 -1
  3. package/dist/{BaseDraggableDialog-Dr_Q6Yt5.js → BaseDraggableDialog-9RMU4zIz.js} +2 -2
  4. package/dist/{BaseIcon-BbElSC8_.js → BaseIcon-U0y1Y7dC.js} +1 -1
  5. package/dist/{BaseLegendToggle-CtEdLr4R.js → BaseLegendToggle-B_wibe7d.js} +1 -1
  6. package/dist/{BaseZoomControls-Cvq4UmNG.js → BaseZoomControls-DXDTBATh.js} +2 -2
  7. package/dist/{ColorPicker-ChOgAmCi.js → ColorPicker-Diee0Pe9.js} +2 -2
  8. package/dist/{DataTable-CmyEubtT.js → DataTable-1Lsn9w61.js} +2 -2
  9. package/dist/{HillActions-3HneGJhS.js → HillActions-DntqVj-0.js} +1 -1
  10. package/dist/{Legend-BJtY2RA9.js → Legend-Cg1jtWxv.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-DmxzHJtV.js → NonSvgPenAndPaper-aCu8CNkj.js} +4 -4
  12. package/dist/{PackageVersion-D_ULhZan.js → PackageVersion-DtE5p3O7.js} +1 -1
  13. package/dist/{PenAndPaper-CIa1F5Jq.js → PenAndPaper-ktbpEc-t.js} +4 -4
  14. package/dist/{Shape-BAL5bQmA.js → Shape-BV_BCG2F.js} +1 -1
  15. package/dist/{SlicerPreview-BGtbrAz9.js → SlicerPreview-CsFT236o.js} +2 -2
  16. package/dist/{SparkTooltip-Bou05CV_.js → SparkTooltip-BqzJa3h2.js} +1 -1
  17. package/dist/{Title-CaVA8EIw.js → Title-C5ytqOnj.js} +1 -1
  18. package/dist/{Tooltip-CVxJe3UW.js → Tooltip-CTgk02J6.js} +1 -1
  19. package/dist/{UserOptions-WH7-49V0.js → UserOptions-DJt-e5q0.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-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-label.js +2 -0
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-quadrant.js +1 -1
  59. package/dist/components/vue-ui-quick-chart.js +1 -1
  60. package/dist/components/vue-ui-radar.js +1 -1
  61. package/dist/components/vue-ui-rating.js +1 -1
  62. package/dist/components/vue-ui-relation-circle.js +1 -1
  63. package/dist/components/vue-ui-ridgeline.js +1 -1
  64. package/dist/components/vue-ui-rings.js +1 -1
  65. package/dist/components/vue-ui-scatter.js +1 -1
  66. package/dist/components/vue-ui-skeleton.js +1 -1
  67. package/dist/components/vue-ui-smiley.js +1 -1
  68. package/dist/components/vue-ui-spark-trend.js +1 -1
  69. package/dist/components/vue-ui-sparkbar.js +1 -1
  70. package/dist/components/vue-ui-sparkgauge.js +1 -1
  71. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  72. package/dist/components/vue-ui-sparkline.js +1 -1
  73. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  74. package/dist/components/vue-ui-stackbar.js +1 -1
  75. package/dist/components/vue-ui-stackline.js +1 -1
  76. package/dist/components/vue-ui-strip-plot.js +1 -1
  77. package/dist/components/vue-ui-table-heatmap.js +1 -1
  78. package/dist/components/vue-ui-table-sparkline.js +1 -1
  79. package/dist/components/vue-ui-table.js +1 -1
  80. package/dist/components/vue-ui-thermometer.js +1 -1
  81. package/dist/components/vue-ui-timer.js +1 -1
  82. package/dist/components/vue-ui-tiremarks.js +1 -1
  83. package/dist/components/vue-ui-treemap.js +1 -1
  84. package/dist/components/vue-ui-vertical-bar.js +1 -1
  85. package/dist/components/vue-ui-waffle.js +1 -1
  86. package/dist/components/vue-ui-wheel.js +1 -1
  87. package/dist/components/vue-ui-word-cloud.js +1 -1
  88. package/dist/components/vue-ui-world.js +1 -1
  89. package/dist/components/vue-ui-xy-canvas.js +1 -1
  90. package/dist/components/vue-ui-xy.js +1 -1
  91. package/dist/{dom-to-png-COvyU2SG.js → dom-to-png-K9hvrmBm.js} +1 -1
  92. package/dist/{exposedLib-DrUEXSyf.js → exposedLib-CNHCqGuG.js} +1 -1
  93. package/dist/{img-Bkzj3lDD.js → img-DRq3Equ5.js} +1 -1
  94. package/dist/{labelUtils-iX76cA2-.js → labelUtils-CSh956Gz.js} +1 -1
  95. package/dist/{lib-Dqr_-I6Y.js → lib-DfMn_3jf.js} +6 -5
  96. package/dist/{package-CZsqzWIV.js → package-Bat6pcGG.js} +1 -1
  97. package/dist/{pdf-Bk_9lTdQ.js → pdf-CglSdC4O.js} +1 -1
  98. package/dist/{render-common-BIlL8QxZ.js → render-common-CSapi1Tq.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +155 -3
  104. package/dist/types/vue-ui-label.d.ts +50 -0
  105. package/dist/{useChartExport-DNiwdPmb.js → useChartExport-iwOqiIWX.js} +9 -8
  106. package/dist/{useConfig-DwdGsXTx.js → useConfig-DcMi9POF.js} +85 -11
  107. package/dist/{useNestedProp-CulPqtou.js → useNestedProp-CLEe1P5W.js} +1 -1
  108. package/dist/{useObjectBindings-BKkmFRiI.js → useObjectBindings-C1q6rUju.js} +3 -2
  109. package/dist/{usePrinter-CEiH1b6R.js → usePrinter-Daqyj6c7.js} +2 -2
  110. package/dist/utils.js +3 -3
  111. package/dist/{vue-data-ui-Cud9FUgc.js → vue-data-ui-C0fmRYow.js} +78 -76
  112. package/dist/vue-data-ui.js +76 -75
  113. package/dist/{vue-ui-3d-bar-DHVSMPn3.js → vue-ui-3d-bar-ChPC71Co.js} +8 -8
  114. package/dist/{vue-ui-accordion-C6L7glHU.js → vue-ui-accordion-JvX3LRnx.js} +4 -4
  115. package/dist/{vue-ui-age-pyramid-DWEVRxFJ.js → vue-ui-age-pyramid-BYbPULSz.js} +8 -8
  116. package/dist/{vue-ui-annotator-BwIu0JUV.js → vue-ui-annotator-CP_yXH6-.js} +7 -7
  117. package/dist/{vue-ui-bullet-zp5a502n.js → vue-ui-bullet-q_4VhquE.js} +9 -9
  118. package/dist/{vue-ui-bump-BPgVmi6f.js → vue-ui-bump-BDzA8rut.js} +24 -23
  119. package/dist/{vue-ui-candlestick-Bgby7chP.js → vue-ui-candlestick-37VcRMeY.js} +22 -21
  120. package/dist/{vue-ui-carousel-table-CFmOi8yt.js → vue-ui-carousel-table-DqSCFkVD.js} +5 -5
  121. package/dist/{vue-ui-chestnut-DDeAaWQu.js → vue-ui-chestnut-BKNzHCli.js} +7 -7
  122. package/dist/{vue-ui-chord-i15aljUN.js → vue-ui-chord-CaqZO79L.js} +10 -10
  123. package/dist/{vue-ui-circle-pack-Bxnh1ayh.js → vue-ui-circle-pack-DuagAe7S.js} +8 -8
  124. package/dist/{vue-ui-cursor-BcwcG6m6.js → vue-ui-cursor-UznztJgM.js} +4 -4
  125. package/dist/{vue-ui-dag-BHIBv8gS.js → vue-ui-dag-DayEAerz.js} +9 -9
  126. package/dist/{vue-ui-dashboard-DR0oNZQY.js → vue-ui-dashboard-PVDbL2as.js} +70 -70
  127. package/dist/{vue-ui-digits-DzdL2IUe.js → vue-ui-digits-ANtccD2D.js} +4 -4
  128. package/dist/{vue-ui-donut-BtYYw4sA.js → vue-ui-donut-B2SN01C2.js} +12 -12
  129. package/dist/{vue-ui-donut-BAOzjBOl.js → vue-ui-donut-BmIwx_4X.js} +3 -3
  130. package/dist/{vue-ui-donut-evolution-DqvCyZTm.js → vue-ui-donut-evolution-DmOcFGM2.js} +27 -26
  131. package/dist/{vue-ui-dumbbell-DCxv0rQl.js → vue-ui-dumbbell-BTYjJwdn.js} +9 -9
  132. package/dist/{vue-ui-flow-fIr0gKWv.js → vue-ui-flow-Brgb7h1u.js} +25 -24
  133. package/dist/{vue-ui-funnel-CgG4woIj.js → vue-ui-funnel-Bakw8upJ.js} +8 -8
  134. package/dist/{vue-ui-galaxy-BjO5BIJl.js → vue-ui-galaxy-CHXQeZWX.js} +11 -11
  135. package/dist/{vue-ui-gauge-Bjjicr4p.js → vue-ui-gauge-CyNuXMfH.js} +8 -8
  136. package/dist/{vue-ui-geo-CEzwDQ_V.js → vue-ui-geo-CD0mHBGl.js} +9 -9
  137. package/dist/{vue-ui-gizmo-BJw77tPf.js → vue-ui-gizmo-BPIlDZzj.js} +4 -4
  138. package/dist/{vue-ui-heatmap-Cc29HCj1.js → vue-ui-heatmap-DRBR2Nat.js} +22 -21
  139. package/dist/{vue-ui-hill-EfMGu5ri.js → vue-ui-hill-CpPVpCqp.js} +8 -8
  140. package/dist/{vue-ui-history-plot-BTpJ59Lx.js → vue-ui-history-plot-Dbgh6ZMG.js} +26 -25
  141. package/dist/{vue-ui-horizontal-bar-DBOOwgrm.js → vue-ui-horizontal-bar-CcbktPgh.js} +28 -27
  142. package/dist/{vue-ui-kpi-CDbkhzwo.js → vue-ui-kpi-CCW0CCsE.js} +4 -4
  143. package/dist/vue-ui-label-C5KLiynU.js +1455 -0
  144. package/dist/{vue-ui-mini-loader-BVSIAFYi.js → vue-ui-mini-loader-Cciw-UGb.js} +3 -3
  145. package/dist/{vue-ui-molecule-BqJZMPiV.js → vue-ui-molecule-CAcS9ieT.js} +7 -7
  146. package/dist/{vue-ui-mood-radar-DGGN0Cmw.js → vue-ui-mood-radar-CH3rh85o.js} +9 -9
  147. package/dist/{vue-ui-nested-donuts-Ca_Zd5J7.js → vue-ui-nested-donuts-DszZU11H.js} +27 -26
  148. package/dist/{vue-ui-onion-BVD4bvt5.js → vue-ui-onion-DB5c36QB.js} +11 -11
  149. package/dist/{vue-ui-parallel-coordinate-plot-DcopyBZF.js → vue-ui-parallel-coordinate-plot-X6D_5Mj4.js} +11 -11
  150. package/dist/{vue-ui-quadrant-DMEfD67Y.js → vue-ui-quadrant-C8Y-yWaA.js} +59 -57
  151. package/dist/{vue-ui-quick-chart-C3ci7l0p.js → vue-ui-quick-chart-CCVKDf4q.js} +25 -24
  152. package/dist/{vue-ui-radar-lk-I-dTc.js → vue-ui-radar-1xUvbkGR.js} +10 -10
  153. package/dist/{vue-ui-rating-dBCk6ECe.js → vue-ui-rating-C7HEmcRF.js} +3 -3
  154. package/dist/{vue-ui-relation-circle-CVO4khKR.js → vue-ui-relation-circle-Be3arMpy.js} +8 -8
  155. package/dist/{vue-ui-ridgeline-m-nLgYLV.js → vue-ui-ridgeline-hr0s0GV0.js} +11 -11
  156. package/dist/{vue-ui-rings-C_F5EeXv.js → vue-ui-rings-DaXIzfV_.js} +14 -14
  157. package/dist/{vue-ui-scatter-X7coP9SA.js → vue-ui-scatter-QNsbsTU3.js} +13 -13
  158. package/dist/{vue-ui-skeleton-cjQBOPy-.js → vue-ui-skeleton-1fsWFan-.js} +4 -4
  159. package/dist/{vue-ui-smiley-D1pW2Fdy.js → vue-ui-smiley-CN4OtE_a.js} +3 -3
  160. package/dist/{vue-ui-spark-trend-DCqxm1ML.js → vue-ui-spark-trend-CeuwSIJP.js} +4 -4
  161. package/dist/vue-ui-sparkbar-BykHIrxz.js +401 -0
  162. package/dist/{vue-ui-sparkgauge-CljM575j.js → vue-ui-sparkgauge-irYUg_Rc.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DorI7KeS.js → vue-ui-sparkhistogram-DzNLp6Cm.js} +5 -5
  164. package/dist/{vue-ui-sparkline-BY4VBHMA.js → vue-ui-sparkline-BJuiIvej.js} +27 -24
  165. package/dist/vue-ui-sparkstackbar-CocakHUY.js +738 -0
  166. package/dist/{vue-ui-stackbar-DnLwabox.js → vue-ui-stackbar-DHAf4jiH.js} +28 -27
  167. package/dist/{vue-ui-stackline-JW2LqP8f.js → vue-ui-stackline-DhI6OUVZ.js} +28 -27
  168. package/dist/{vue-ui-strip-plot-BfDQngrE.js → vue-ui-strip-plot-DxbyNG63.js} +9 -9
  169. package/dist/{vue-ui-table-Dxgu_hYy.js → vue-ui-table-BjXS95bg.js} +6 -6
  170. package/dist/{vue-ui-table-heatmap-CglQqfWH.js → vue-ui-table-heatmap-CQGZCO11.js} +6 -6
  171. package/dist/{vue-ui-table-sparkline-B9Ib-eba.js → vue-ui-table-sparkline-uZFaAqdt.js} +5 -5
  172. package/dist/{vue-ui-thermometer-H4aDS80w.js → vue-ui-thermometer-9U-zKD__.js} +8 -8
  173. package/dist/{vue-ui-timer-BQD_HJ4q.js → vue-ui-timer-Bm3CbIuS.js} +6 -6
  174. package/dist/{vue-ui-tiremarks-0NSM6oqA.js → vue-ui-tiremarks-CdRfwM99.js} +8 -8
  175. package/dist/{vue-ui-treemap-De2ZtVgy.js → vue-ui-treemap-5i3XHRb4.js} +11 -11
  176. package/dist/{vue-ui-waffle-Btd2dkHT.js → vue-ui-waffle-nSiwg2fY.js} +12 -12
  177. package/dist/{vue-ui-wheel-BeUgGDbi.js → vue-ui-wheel-dpWC3-wh.js} +8 -8
  178. package/dist/{vue-ui-word-cloud-Ba-dlAjt.js → vue-ui-word-cloud-BVU-x59g.js} +9 -9
  179. package/dist/{vue-ui-world-C94_A952.js → vue-ui-world-CwI1vCHG.js} +9 -9
  180. package/dist/{vue-ui-xy-DvFl3Jdp.js → vue-ui-xy-BKb9YmVU.js} +249 -240
  181. package/dist/{vue-ui-xy-Dyb14cfx.js → vue-ui-xy-DqSbxddV.js} +3 -3
  182. package/dist/{vue-ui-xy-canvas-8JpYZTA8.js → vue-ui-xy-canvas-Bs_O-0UT.js} +28 -27
  183. package/dist/vue_ui_label-B0QoxQrJ.js +115 -0
  184. package/package.json +4 -4
  185. package/dist/vue-ui-sparkbar-BygKCOYg.js +0 -400
  186. package/dist/vue-ui-sparkstackbar-DDCWSqti.js +0 -688
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, G as r, It as i, Jt as a, N as ee, Nt as o, P as te, Q as ne, S as re, V as ie, Wt as ae, X as s, Xt as oe, gt as se, i as c, mt as ce, nt as le, q as ue, r as de, t as fe, w as pe } from "./lib-Dqr_-I6Y.js";
2
+ import { $ as t, D as n, G as r, It as i, Jt as a, N as ee, Nt as o, P as te, Q as ne, S as re, V as ie, Wt as ae, X as s, Xt as oe, gt as se, i as c, mt as ce, nt as le, q as ue, r as de, t as fe, w as pe } from "./lib-DfMn_3jf.js";
3
3
  import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
4
  import { t as ge } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as _e } from "./useConfig-DwdGsXTx.js";
6
- import { t as ve } from "./usePrinter-CEiH1b6R.js";
5
+ import { t as _e } from "./useConfig-DcMi9POF.js";
6
+ import { t as ve } from "./usePrinter-Daqyj6c7.js";
7
7
  import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as xe } from "./useNestedProp-CulPqtou.js";
8
+ import { t as xe } from "./useNestedProp-CLEe1P5W.js";
9
9
  import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as Ce } from "./useChartExport-DNiwdPmb.js";
10
+ import { t as Ce } from "./useChartExport-iwOqiIWX.js";
11
11
  import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as Te } from "./img-Bkzj3lDD.js";
13
- import { n as Ee } from "./Title-CaVA8EIw.js";
14
- import { t as De } from "./Shape-BAL5bQmA.js";
12
+ import { t as Te } from "./img-DRq3Equ5.js";
13
+ import { n as Ee } from "./Title-C5ytqOnj.js";
14
+ import { t as De } from "./Shape-BV_BCG2F.js";
15
15
  import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
16
  import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
17
17
  import { t as je } from "./DefGrad-DVBqDjhO.js";
18
- import { t as Me } from "./BaseLegendToggle-CtEdLr4R.js";
18
+ import { t as Me } from "./BaseLegendToggle-B_wibe7d.js";
19
19
  import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
20
20
  import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
21
21
  import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
22
- import { t as Ie } from "./Legend-BJtY2RA9.js";
22
+ import { t as Ie } from "./Legend-Cg1jtWxv.js";
23
23
  import { t as Le } from "./vue_ui_ridgeline-VM8_mx4J.js";
24
24
  import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ve, nextTick as He, normalizeClass as Ue, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as We, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as C, toRefs as qe, unref as w, watch as Je, watchEffect as Ye, withCtx as T } from "vue";
25
25
  //#region src/components/vue-ui-ridgeline.vue
@@ -138,7 +138,7 @@ var Xe = /* @__PURE__ */ e({ default: () => yt }), Ze = ["id"], Qe = ["id"], $e
138
138
  "copyAlt"
139
139
  ],
140
140
  setup(e, { expose: Oe, emit: Xe }) {
141
- let yt = h(() => import("./vue-ui-xy-DvFl3Jdp.js").then((e) => e.n)), bt = h(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), xt = h(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), St = h(() => import("./DataTable-CmyEubtT.js")), Ct = h(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), wt = h(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Tt = h(() => import("./PackageVersion-D_ULhZan.js").then((e) => e.t)), Et = h(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_ridgeline: Dt } = _e(), { isThemeValid: Ot, warnInvalidTheme: kt } = Se(), E = e, D = u({
141
+ let yt = h(() => import("./vue-ui-xy-BKb9YmVU.js").then((e) => e.n)), bt = h(() => import("./BaseIcon-U0y1Y7dC.js").then((e) => e.n)), xt = h(() => import("./vue-ui-accordion-JvX3LRnx.js").then((e) => e.n)), St = h(() => import("./DataTable-1Lsn9w61.js")), Ct = h(() => import("./PenAndPaper-ktbpEc-t.js").then((e) => e.t)), wt = h(() => import("./UserOptions-DJt-e5q0.js").then((e) => e.n)), Tt = h(() => import("./PackageVersion-DtE5p3O7.js").then((e) => e.t)), Et = h(() => import("./BaseDraggableDialog-9RMU4zIz.js").then((e) => e.n)), { vue_ui_ridgeline: Dt } = _e(), { isThemeValid: Ot, warnInvalidTheme: kt } = Se(), E = e, D = u({
142
142
  get() {
143
143
  return Array.isArray(R.value) && R.value.length > 0;
144
144
  },
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Bt as n, D as r, G as i, Ht as a, It as o, Jt as ee, Nt as te, S as ne, St as re, Ut as ie, X as s, Xt as ae, b as oe, i as se, lt as ce, mt as le, nt as ue, q as de, t as fe, w as pe } from "./lib-Dqr_-I6Y.js";
2
+ import { $ as t, Bt as n, D as r, G as i, Ht as a, It as o, Jt as ee, Nt as te, S as ne, St as re, Ut as ie, X as s, Xt as ae, b as oe, i as se, lt as ce, mt as le, nt as ue, q as de, t as fe, w as pe } from "./lib-DfMn_3jf.js";
3
3
  import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
- import { t as ge } from "./useConfig-DwdGsXTx.js";
5
- import { t as _e } from "./usePrinter-CEiH1b6R.js";
4
+ import { t as ge } from "./useConfig-DcMi9POF.js";
5
+ import { t as _e } from "./usePrinter-Daqyj6c7.js";
6
6
  import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as be } from "./useNestedProp-CulPqtou.js";
7
+ import { t as be } from "./useNestedProp-CLEe1P5W.js";
8
8
  import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as Se } from "./useChartExport-DNiwdPmb.js";
9
+ import { t as Se } from "./useChartExport-iwOqiIWX.js";
10
10
  import { t as Ce } from "./useTransitions-g_zBREk2.js";
11
- import { t as we } from "./img-Bkzj3lDD.js";
12
- import { n as Te } from "./Title-CaVA8EIw.js";
13
- import { t as Ee } from "./Shape-BAL5bQmA.js";
11
+ import { t as we } from "./img-DRq3Equ5.js";
12
+ import { n as Te } from "./Title-C5ytqOnj.js";
13
+ import { t as Ee } from "./Shape-BV_BCG2F.js";
14
14
  import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
15
  import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
16
16
  import { t as Ae } from "./DefGrad-DVBqDjhO.js";
17
- import { t as je } from "./BaseLegendToggle-CtEdLr4R.js";
17
+ import { t as je } from "./BaseLegendToggle-B_wibe7d.js";
18
18
  import { t as Me } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as Ne } from "./useUserOptionState-DK-_1ddE.js";
20
20
  import { t as Pe } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Fe } from "./labelUtils-iX76cA2-.js";
22
- import { t as Ie } from "./Legend-BJtY2RA9.js";
21
+ import { t as Fe } from "./labelUtils-CSh956Gz.js";
22
+ import { t as Ie } from "./Legend-Cg1jtWxv.js";
23
23
  import { t as Le } from "./vue_ui_rings-BVgD2aMn.js";
24
24
  import { Fragment as Re, Teleport as ze, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as Ue, nextTick as We, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Ge, onMounted as Ke, openBlock as v, ref as y, renderList as qe, renderSlot as b, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as x, toRefs as Xe, unref as S, useSlots as Ze, watch as Qe, withCtx as C } from "vue";
25
25
  //#region src/components/vue-ui-rings.vue
@@ -108,7 +108,7 @@ var $e = /* @__PURE__ */ e({ default: () => bt }), et = ["id"], tt = ["id"], nt
108
108
  },
109
109
  emits: ["selectLegend", "copyAlt"],
110
110
  setup(e, { expose: De, emit: $e }) {
111
- let bt = p(() => import("./Tooltip-CVxJe3UW.js")), xt = p(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), St = p(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), Ct = p(() => import("./DataTable-CmyEubtT.js")), wt = p(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), Tt = p(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Et = p(() => import("./PackageVersion-D_ULhZan.js").then((e) => e.t)), Dt = p(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_rings: Ot } = ge(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), jt = Ze(), w = e, T = y(!1), Mt = c(() => !!w.dataset && w.dataset.length), E = y(de()), D = y(!1), Nt = y(""), O = y(null), Pt = y(0), k = y(null), Ft = y(null), It = y(null), Lt = y(null), Rt = y(null), zt = y(0), Bt = y(0), Vt = y(0), Ht = y(!1), Ut = y(!1), A = y(null), Wt = y(null), j = y(null), Gt = y({
111
+ let bt = p(() => import("./Tooltip-CTgk02J6.js")), xt = p(() => import("./BaseIcon-U0y1Y7dC.js").then((e) => e.n)), St = p(() => import("./vue-ui-accordion-JvX3LRnx.js").then((e) => e.n)), Ct = p(() => import("./DataTable-1Lsn9w61.js")), wt = p(() => import("./PenAndPaper-ktbpEc-t.js").then((e) => e.t)), Tt = p(() => import("./UserOptions-DJt-e5q0.js").then((e) => e.n)), Et = p(() => import("./PackageVersion-DtE5p3O7.js").then((e) => e.t)), Dt = p(() => import("./BaseDraggableDialog-9RMU4zIz.js").then((e) => e.n)), { vue_ui_rings: Ot } = ge(), { isThemeValid: kt, warnInvalidTheme: At } = xe(), jt = Ze(), w = e, T = y(!1), Mt = c(() => !!w.dataset && w.dataset.length), E = y(de()), D = y(!1), Nt = y(""), O = y(null), Pt = y(0), k = y(null), Ft = y(null), It = y(null), Lt = y(null), Rt = y(null), zt = y(0), Bt = y(0), Vt = y(0), Ht = y(!1), Ut = y(!1), A = y(null), Wt = y(null), j = y(null), Gt = y({
112
112
  x: 0,
113
113
  y: 0
114
114
  }), Kt = y("pointer"), qt = y(!1), M = y(en());
@@ -1056,7 +1056,7 @@ var $e = /* @__PURE__ */ e({ default: () => bt }), et = ["id"], tt = ["id"], nt
1056
1056
  "vue-ui-rings-shadow": M.value.style.chart.layout.rings.useShadow,
1057
1057
  "vue-ui-rings-blur": O.value !== null && O.value !== n
1058
1058
  }),
1059
- transform: `translate(${Y(t, n).x + (M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -M.value.style.chart.layout.labels.dataLabels.offsetX - 6 : M.value.style.chart.layout.labels.dataLabels.offsetX) + 6}, ${Y(t, n).y + M.value.style.chart.layout.labels.dataLabels.fontSize / 3})`,
1059
+ transform: `translate(${Y(t, n).x + (M.value.style.chart.layout.labels.dataLabels.markers.position === "left" ? -M.value.style.chart.layout.labels.dataLabels.offsetX - 14 : M.value.style.chart.layout.labels.dataLabels.offsetX) + 6}, ${Y(t, n).y + M.value.style.chart.layout.labels.dataLabels.fontSize / 3})`,
1060
1060
  onMouseenter: (e) => kn(t, n, "pointer"),
1061
1061
  onMouseleave: (e) => Cn(t, n),
1062
1062
  onClick: (e) => Sn(t, n),
@@ -1245,6 +1245,6 @@ var $e = /* @__PURE__ */ e({ default: () => bt }), et = ["id"], tt = ["id"], nt
1245
1245
  b(e.$slots, "skeleton", {}, () => [S(F) ? (v(), l(ye, { key: 0 })) : u("", !0)], !0)
1246
1246
  ], 46, et));
1247
1247
  }
1248
- }, [["__scopeId", "data-v-e181a4c5"]]);
1248
+ }, [["__scopeId", "data-v-157db649"]]);
1249
1249
  //#endregion
1250
1250
  export { $e as n, bt as t };
@@ -1,24 +1,24 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, D as n, Et as r, F as i, Ht as a, It as o, Jt as s, Nt as c, P as l, S as u, St as d, X as f, Xt as p, _ as m, b as h, i as g, lt as _, mt as ee, nt as te, q as ne, qt as re, t as ie, v as ae, vt as oe, w as se } from "./lib-Dqr_-I6Y.js";
2
+ import { $ as t, D as n, Et as r, F as i, Ht as a, It as o, Jt as s, Nt as c, P as l, S as u, St as d, X as f, Xt as p, _ as m, b as h, i as g, lt as _, mt as ee, nt as te, q as ne, qt as re, t as ie, v as ae, vt as oe, w as se } from "./lib-DfMn_3jf.js";
3
3
  import { n as ce, t as le } from "./useHints-Dq_w2E8B.js";
4
- import { t as ue } from "./useConfig-DwdGsXTx.js";
5
- import { t as de } from "./usePrinter-CEiH1b6R.js";
4
+ import { t as ue } from "./useConfig-DcMi9POF.js";
5
+ import { t as de } from "./usePrinter-Daqyj6c7.js";
6
6
  import { n as fe, t as pe } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as me } from "./useNestedProp-CulPqtou.js";
7
+ import { t as me } from "./useNestedProp-CLEe1P5W.js";
8
8
  import { t as he } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ge } from "./useChartExport-DNiwdPmb.js";
9
+ import { t as ge } from "./useChartExport-iwOqiIWX.js";
10
10
  import { t as _e } from "./useTransitions-g_zBREk2.js";
11
- import { t as ve } from "./img-Bkzj3lDD.js";
12
- import { n as ye } from "./Title-CaVA8EIw.js";
13
- import { t as be } from "./Shape-BAL5bQmA.js";
11
+ import { t as ve } from "./img-DRq3Equ5.js";
12
+ import { n as ye } from "./Title-C5ytqOnj.js";
13
+ import { t as be } from "./Shape-BV_BCG2F.js";
14
14
  import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
15
  import { l as Se, t as Ce } from "./useResponsive-ZtArZtUf.js";
16
16
  import { t as we } from "./DefGrad-DVBqDjhO.js";
17
- import { t as Te } from "./BaseLegendToggle-CtEdLr4R.js";
17
+ import { t as Te } from "./BaseLegendToggle-B_wibe7d.js";
18
18
  import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as De } from "./useUserOptionState-DK-_1ddE.js";
20
20
  import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as ke } from "./Legend-BJtY2RA9.js";
21
+ import { t as ke } from "./Legend-Cg1jtWxv.js";
22
22
  import { t as Ae } from "./vue_ui_scatter-I0POnicu.js";
23
23
  import { Fragment as v, Teleport as je, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createSlots as Me, createTextVNode as Ne, createVNode as Pe, defineAsyncComponent as Fe, guardReactiveProps as w, mergeProps as Ie, nextTick as Le, normalizeClass as Re, normalizeProps as T, normalizeStyle as E, onBeforeUnmount as ze, onMounted as Be, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as j, toRefs as Ue, unref as M, watch as We, withCtx as N } from "vue";
24
24
  //#region src/components/vue-ui-scatter.vue
@@ -379,7 +379,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
379
379
  },
380
380
  emits: ["copyAlt", "selectLegend"],
381
381
  setup(e, { expose: xe, emit: Ge }) {
382
- let gn = Fe(() => import("./Tooltip-CVxJe3UW.js")), _n = Fe(() => import("./BaseIcon-BbElSC8_.js").then((e) => e.n)), vn = Fe(() => import("./vue-ui-accordion-C6L7glHU.js").then((e) => e.n)), yn = Fe(() => import("./DataTable-CmyEubtT.js")), bn = Fe(() => import("./PenAndPaper-CIa1F5Jq.js").then((e) => e.t)), xn = Fe(() => import("./UserOptions-WH7-49V0.js").then((e) => e.n)), Sn = Fe(() => import("./PackageVersion-D_ULhZan.js").then((e) => e.t)), Cn = Fe(() => import("./BaseDraggableDialog-Dr_Q6Yt5.js").then((e) => e.n)), { vue_ui_scatter: wn } = ue(), { isThemeValid: Tn, warnInvalidTheme: En } = he(), P = e, Dn = Ge, On = y(() => !!P.dataset && P.dataset.length), F = O(ne()), kn = O(!1), An = O(""), jn = O(0), I = O(null), Mn = O(null), Nn = O(null), Pn = O(null), Fn = O(null), In = O(0), Ln = O(0), Rn = O(0), L = O([]), zn = O(!1), Bn = O(null), Vn = O(null), Hn = O(null), Un = O(null), Wn = O(null), Gn = O(null), Kn = O(null), qn = O(null), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O({
382
+ let gn = Fe(() => import("./Tooltip-CTgk02J6.js")), _n = Fe(() => import("./BaseIcon-U0y1Y7dC.js").then((e) => e.n)), vn = Fe(() => import("./vue-ui-accordion-JvX3LRnx.js").then((e) => e.n)), yn = Fe(() => import("./DataTable-1Lsn9w61.js")), bn = Fe(() => import("./PenAndPaper-ktbpEc-t.js").then((e) => e.t)), xn = Fe(() => import("./UserOptions-DJt-e5q0.js").then((e) => e.n)), Sn = Fe(() => import("./PackageVersion-DtE5p3O7.js").then((e) => e.t)), Cn = Fe(() => import("./BaseDraggableDialog-9RMU4zIz.js").then((e) => e.n)), { vue_ui_scatter: wn } = ue(), { isThemeValid: Tn, warnInvalidTheme: En } = he(), P = e, Dn = Ge, On = y(() => !!P.dataset && P.dataset.length), F = O(ne()), kn = O(!1), An = O(""), jn = O(0), I = O(null), Mn = O(null), Nn = O(null), Pn = O(null), Fn = O(null), In = O(0), Ln = O(0), Rn = O(0), L = O([]), zn = O(!1), Bn = O(null), Vn = O(null), Hn = O(null), Un = O(null), Wn = O(null), Gn = O(null), Kn = O(null), qn = O(null), Jn = O(null), Yn = O(null), Xn = O(null), Zn = O({
383
383
  x: 0,
384
384
  y: 0
385
385
  }), Qn = O("pointer"), $n = O(!1), er = O(null), R = O(dr());
@@ -1147,7 +1147,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
1147
1147
  case "pentagon": {
1148
1148
  let e = [];
1149
1149
  for (let r = 0; r < 5; r += 1) {
1150
- let a = (-90 + 360 / 5 * r) * Math.PI / 180;
1150
+ let a = (-90 + r * 72) * Math.PI / 180;
1151
1151
  e.push([t + i * Math.cos(a), n + i * Math.sin(a)]);
1152
1152
  }
1153
1153
  let r = `M ${Q(e[0][0])} ${Q(e[0][1])}`;
@@ -1157,7 +1157,7 @@ var Ge = /* @__PURE__ */ e({ default: () => gn }), Ke = ["id"], qe = ["id"], Je
1157
1157
  case "hexagon": {
1158
1158
  let e = [];
1159
1159
  for (let r = 0; r < 6; r += 1) {
1160
- let a = (-60 + 360 / 6 * r) * Math.PI / 180;
1160
+ let a = (-60 + r * 60) * Math.PI / 180;
1161
1161
  e.push([t + i * Math.cos(a), n + i * Math.sin(a)]);
1162
1162
  }
1163
1163
  let r = `M ${Q(e[0][0])} ${Q(e[0][1])}`;
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ht as t, M as n, q as r, t as i, z as ee } from "./lib-Dqr_-I6Y.js";
2
+ import { Ht as t, M as n, q as r, t as i, z as ee } from "./lib-DfMn_3jf.js";
3
3
  import { n as te, t as ne } from "./useHints-Dq_w2E8B.js";
4
- import { t as re } from "./useConfig-DwdGsXTx.js";
5
- import { t as ie } from "./useNestedProp-CulPqtou.js";
4
+ import { t as re } from "./useConfig-DcMi9POF.js";
5
+ import { t as ie } from "./useNestedProp-CLEe1P5W.js";
6
6
  import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
7
7
  import { t as ae } from "./DefGrad-DVBqDjhO.js";
8
- import { n as o } from "./PackageVersion-D_ULhZan.js";
8
+ import { n as o } from "./PackageVersion-DtE5p3O7.js";
9
9
  import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as oe, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
10
10
  //#region src/components/vue-ui-skeleton.vue
11
11
  var y = /* @__PURE__ */ e({ default: () => K }), se = ["id"], ce = ["xmlns"], le = { transform: "translate(300, 300)" }, b = [
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Nt as t, Ut as n, X as r, i, nt as a, t as o } from "./lib-Dqr_-I6Y.js";
2
+ import { Nt as t, Ut as n, X as r, i, nt as a, t as o } from "./lib-DfMn_3jf.js";
3
3
  import { n as s, t as c } from "./useHints-Dq_w2E8B.js";
4
- import { t as l } from "./useConfig-DwdGsXTx.js";
5
- import { t as u } from "./useNestedProp-CulPqtou.js";
4
+ import { t as l } from "./useConfig-DcMi9POF.js";
5
+ import { t as u } from "./useNestedProp-CLEe1P5W.js";
6
6
  import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
7
7
  import { t as f } from "./DefGrad-DVBqDjhO.js";
8
8
  import { Fragment as p, computed as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, normalizeClass as b, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useSlots as k, watch as A, withCtx as j, withKeys as M } from "vue";
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Dt as t, Ht as n, Nt as r, P as i, X as a, Xt as o, b as s, g as ee, i as c, nt as te, q as ne, t as re } from "./lib-Dqr_-I6Y.js";
2
+ import { Dt as t, Ht as n, Nt as r, P as i, X as a, Xt as o, b as s, g as ee, i as c, nt as te, q as ne, t as re } from "./lib-DfMn_3jf.js";
3
3
  import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
4
- import { t as oe } from "./useConfig-DwdGsXTx.js";
4
+ import { t as oe } from "./useConfig-DcMi9POF.js";
5
5
  import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as l } from "./useNestedProp-CulPqtou.js";
6
+ import { t as l } from "./useNestedProp-CLEe1P5W.js";
7
7
  import { t as le } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
9
9
  import { l as ue, t as de } from "./useResponsive-ZtArZtUf.js";
@@ -64,7 +64,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
64
64
  }
65
65
  },
66
66
  setup(e) {
67
- let u = ve(() => import("./PackageVersion-D_ULhZan.js").then((e) => e.t)), { vue_ui_spark_trend: S } = oe(), { isThemeValid: C, warnInvalidTheme: Le } = le(), w = pe(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(ne()), M = _(I());
67
+ let u = ve(() => import("./PackageVersion-DtE5p3O7.js").then((e) => e.t)), { vue_ui_spark_trend: S } = oe(), { isThemeValid: C, warnInvalidTheme: Le } = le(), w = pe(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(ne()), M = _(I());
68
68
  ie({
69
69
  config: () => M.value,
70
70
  dataset: () => T.dataset,
@@ -0,0 +1,401 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Ht as t, It as n, Jt as r, Nt as i, S as a, Ut as ee, X as o, Xt as s, i as c, mt as te, nt as l, q as ne, t as re, w as ie } from "./lib-DfMn_3jf.js";
3
+ import { n as ae, t as oe } from "./useHints-Dq_w2E8B.js";
4
+ import { t as se } from "./useConfig-DcMi9POF.js";
5
+ import { n as u, t as ce } from "./BaseScanner-DZvpgOjM.js";
6
+ import { t as d } from "./useNestedProp-CLEe1P5W.js";
7
+ import { t as le } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as ue } from "./DefGrad-DVBqDjhO.js";
9
+ import { t as de } from "./usePrefersMotion-BC-CsqR1.js";
10
+ import { t as fe } from "./vue_ui_sparkbar-z6qO--Kf.js";
11
+ import { Fragment as f, computed as p, createBlock as pe, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineAsyncComponent as me, guardReactiveProps as he, mergeProps as v, nextTick as y, normalizeProps as ge, normalizeStyle as b, onMounted as x, openBlock as S, ref as C, renderList as _e, renderSlot as w, toDisplayString as T, toRefs as E, unref as D, useSlots as O, watch as k } from "vue";
12
+ //#region src/components/vue-ui-sparkbar.vue
13
+ var A = /* @__PURE__ */ e({ default: () => L }), j = [
14
+ "onClick",
15
+ "onMouseenter",
16
+ "onMouseleave"
17
+ ], M = {
18
+ key: 1,
19
+ class: "vue-ui-sparkbar-datapoint-value"
20
+ }, N = ["xmlns", "viewBox"], P = [
21
+ "height",
22
+ "width",
23
+ "fill",
24
+ "rx"
25
+ ], F = [
26
+ "height",
27
+ "width",
28
+ "fill",
29
+ "rx"
30
+ ], I = [
31
+ "height",
32
+ "width",
33
+ "fill",
34
+ "rx"
35
+ ], ve = {
36
+ key: 2,
37
+ ref: "source",
38
+ dir: "auto"
39
+ }, L = {
40
+ __name: "vue-ui-sparkbar",
41
+ props: {
42
+ config: {
43
+ type: Object,
44
+ default() {
45
+ return {};
46
+ }
47
+ },
48
+ dataset: {
49
+ type: Array,
50
+ default() {
51
+ return [];
52
+ }
53
+ },
54
+ backgroundOpacity: {
55
+ type: Number,
56
+ default: null
57
+ }
58
+ },
59
+ emits: ["selectDatapoint"],
60
+ setup(e, { emit: A }) {
61
+ let L = me(() => import("./PackageVersion-DtE5p3O7.js").then((e) => e.t)), { vue_ui_sparkbar: ye } = se(), { isThemeValid: be, warnInvalidTheme: xe } = le(), R = de(), z = e, B = O(), V = C(ne()), H = C(K()), U = p(() => H.value.debug);
62
+ x(() => {
63
+ B["chart-background"] && U.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
64
+ }), ae({
65
+ config: () => H.value,
66
+ dataset: () => z.dataset,
67
+ component: "VueUiSparkbar",
68
+ rules: [oe.noHint]
69
+ });
70
+ let Se = p(() => s({
71
+ defaultConfig: { style: {
72
+ backgroundColor: "#99999930",
73
+ animation: { show: !1 },
74
+ layout: { independant: !0 },
75
+ gutter: {
76
+ backgroundColor: "#6A6A6A",
77
+ opacity: 50
78
+ },
79
+ bar: { gradient: { underlayerColor: "#6A6A6A" } }
80
+ } },
81
+ userConfig: H.value.skeletonConfig ?? {}
82
+ })), { loading: W, FINAL_DATASET: G, manualLoading: Ce } = u({
83
+ ...E(z),
84
+ FINAL_CONFIG: H,
85
+ prepareConfig: K,
86
+ skeletonDataset: z.config?.skeletonDataset ?? [
87
+ {
88
+ name: "_",
89
+ value: 21,
90
+ target: 25,
91
+ color: "#808080"
92
+ },
93
+ {
94
+ name: "_",
95
+ value: 13,
96
+ target: 25,
97
+ color: "#ADADAD"
98
+ },
99
+ {
100
+ name: "_",
101
+ value: 8,
102
+ target: 25,
103
+ color: "#DBDBDB"
104
+ }
105
+ ],
106
+ skeletonConfig: s({
107
+ defaultConfig: H.value,
108
+ userConfig: Se.value
109
+ })
110
+ });
111
+ function K() {
112
+ let e = d({
113
+ userConfig: z.config,
114
+ defaultConfig: ye
115
+ }), t = e.theme;
116
+ if (!t) return e;
117
+ if (!be.value(e)) return xe(e), e;
118
+ let i = d({
119
+ userConfig: fe[t] || z.config,
120
+ defaultConfig: e
121
+ }), a = d({
122
+ userConfig: z.config,
123
+ defaultConfig: i
124
+ });
125
+ return {
126
+ ...a,
127
+ customPalette: a.customPalette.length ? a.customPalette : r[t] || n
128
+ };
129
+ }
130
+ k(() => z.config, (e) => {
131
+ H.value = K();
132
+ }, { deep: !0 });
133
+ let we = p(() => ie(H.value.customPalette)), q = C(G.value.map((e) => ({
134
+ ...e,
135
+ value: H.value.style.animation.show ? 0 : e.value || 0,
136
+ formatter: e.formatter || null
137
+ }))), J = C(null);
138
+ x(async () => {
139
+ i(z.dataset) && l({
140
+ componentName: "VueUiSparkbar",
141
+ type: "dataset",
142
+ debug: U.value
143
+ }), Y();
144
+ });
145
+ function Y() {
146
+ if (H.value.style.animation.show && !R.value) {
147
+ let e = H.value.style.animation.animationFrames, t = G.value.map((t, n) => t.value / e), n = G.value.map((e) => e.value || 0).reduce((e, t) => e + t, 0), r = 0;
148
+ function i() {
149
+ r += n / e, r < n ? (q.value = q.value.map((e, n) => ({
150
+ ...e,
151
+ value: e.value += t[n]
152
+ })), J.value = requestAnimationFrame(i)) : q.value = G.value.map((e) => ({
153
+ ...e,
154
+ value: e.value || 0,
155
+ formatter: e.formatter || null
156
+ }));
157
+ }
158
+ i();
159
+ }
160
+ }
161
+ k(() => G.value, async (e) => {
162
+ cancelAnimationFrame(J.value), q.value = G.value.map((e) => ({
163
+ ...e,
164
+ value: H.value.style.animation.show && !R.value ? 0 : e.value || 0,
165
+ formatter: e.formatter || null
166
+ })), y(Y);
167
+ }, { deep: !0 });
168
+ let X = C({
169
+ width: 500,
170
+ height: 16
171
+ }), Te = p(() => Math.max(...G.value.map((e) => e.value))), Ee = p(() => (U.value && G.value.forEach((e, t) => {
172
+ te({
173
+ datasetObject: e,
174
+ requiredAttributes: ["name", "value"]
175
+ }).forEach((e) => {
176
+ l({
177
+ componentName: "VueUiSparkbar",
178
+ type: "datasetSerieAttribute",
179
+ property: e,
180
+ index: t
181
+ });
182
+ });
183
+ }), q.value.map((e, t) => ({
184
+ ...e,
185
+ value: e.value || 0,
186
+ color: a(e.color) || we.value[t] || n[t] || n[t % n.length]
187
+ }))));
188
+ function De(e) {
189
+ return e / Te.value;
190
+ }
191
+ function Z(e) {
192
+ return H.value.style.layout.independant ? e.target ? e.value / e.target : H.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : H.value.style.layout.target === 0 ? 1 : e.value / H.value.style.layout.target : De(e.value);
193
+ }
194
+ function Q(e) {
195
+ return H.value.style.layout.independant && e.target || H.value.style.layout.target;
196
+ }
197
+ let Oe = A;
198
+ function ke(e, t) {
199
+ Oe("selectDatapoint", {
200
+ datapoint: e,
201
+ index: t
202
+ }), H.value.events.datapointClick && H.value.events.datapointClick({
203
+ datapoint: e,
204
+ seriesIndex: t
205
+ });
206
+ }
207
+ function Ae(e, t) {
208
+ H.value.events.datapointEnter && H.value.events.datapointEnter({
209
+ datapoint: e,
210
+ seriesIndex: t
211
+ });
212
+ }
213
+ function je(e, t) {
214
+ H.value.events.datapointLeave && H.value.events.datapointLeave({
215
+ datapoint: e,
216
+ seriesIndex: t
217
+ });
218
+ }
219
+ let $ = p(() => H.value.style.bar.borderRadius == null ? X.value.height / 2 : Math.min(X.value.height / 2, H.value.style.bar.borderRadius));
220
+ return (e, n) => (S(), h("div", {
221
+ class: "vue-data-ui-component vue-ui-sparkbar",
222
+ style: b({
223
+ width: "100%",
224
+ position: "relative",
225
+ fontFamily: H.value.style.fontFamily,
226
+ background: z.backgroundOpacity === null ? H.value.style.backgroundColor : D(t)(H.value.style.backgroundColor, z.backgroundOpacity)
227
+ })
228
+ }, [
229
+ e.$slots.title ? w(e.$slots, "title", ge(he({ title: {
230
+ ...e.title,
231
+ title: H.value.style.title.text,
232
+ subtitle: H.value.style.title.subtitle.text
233
+ } })), void 0, void 0, 0) : m("", !0),
234
+ !e.$slots.title && H.value.style.title.text ? (S(), h("div", {
235
+ key: 1,
236
+ class: "vue-ui-sparkbar-title-container",
237
+ style: b({
238
+ background: H.value.style.title.backgroundColor,
239
+ margin: H.value.style.title.margin,
240
+ textAlign: H.value.style.title.textAlign
241
+ })
242
+ }, [g("div", {
243
+ class: "vue-ui-sparkbar-title",
244
+ style: b({
245
+ fontSize: H.value.style.title.fontSize + "px",
246
+ color: H.value.style.title.color,
247
+ fontWeight: H.value.style.title.bold ? "bold" : "normal"
248
+ })
249
+ }, T(H.value.style.title.text), 5), H.value.style.title.subtitle.text ? (S(), h("div", {
250
+ key: 0,
251
+ class: "vue-ui-sparkbar-subtitle",
252
+ style: b({
253
+ fontSize: H.value.style.title.subtitle.fontSize + "px",
254
+ color: H.value.style.title.subtitle.color,
255
+ fontWeight: H.value.style.title.subtitle.bold ? "bold" : "normal"
256
+ })
257
+ }, T(H.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
258
+ (S(!0), h(f, null, _e(Ee.value, (n, r) => (S(), h("div", {
259
+ style: b(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${D(G).length > 0 && r !== D(G).length - 1 ? "margin-bottom:6px" : ""}`),
260
+ onClick: (e) => ke(n, r),
261
+ onMouseenter: (e) => Ae(n, r),
262
+ onMouseleave: (e) => je(n, r)
263
+ }, [
264
+ D(W) ? m("", !0) : w(e.$slots, "data-label", v({ ref_for: !0 }, { bar: {
265
+ ...n,
266
+ target: Q(n),
267
+ valueLabel: D(c)(n.formatter, n.value, D(o)({
268
+ p: n.prefix || "",
269
+ v: n.value,
270
+ s: n.suffix || "",
271
+ r: n.rounding || 0
272
+ }), {
273
+ datapoint: n,
274
+ seriesIndex: r
275
+ }),
276
+ targetLabel: D(c)(n.formatter, Q(n), D(o)({
277
+ p: n.prefix || "",
278
+ v: Q(n),
279
+ s: n.suffix || "",
280
+ r: n.rounding || 0
281
+ }), {
282
+ datapoint: n,
283
+ seriesIndex: r
284
+ })
285
+ } }), void 0, void 0, 0),
286
+ !e.$slots["data-label"] || D(W) ? (S(), h("div", {
287
+ key: 1,
288
+ style: b({
289
+ display: "flex",
290
+ justifyContent: ["right", "top-right"].includes(H.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(H.value.style.labels.name.position) ? "center" : "flex-start",
291
+ alignItems: "center",
292
+ width: H.value.style.labels.name.width,
293
+ color: H.value.style.labels.name.color,
294
+ fontSize: H.value.style.labels.fontSize + "px",
295
+ fontWeight: H.value.style.labels.name.bold ? "bold" : "normal",
296
+ flexWrap: "wrap"
297
+ })
298
+ }, [D(W) ? (S(), h("div", {
299
+ key: 0,
300
+ class: "vue-ui-sparkbar-skeleton-name",
301
+ style: b({
302
+ width: "60px",
303
+ height: H.value.style.labels.fontSize + "px",
304
+ borderRadius: H.value.style.labels.fontSize / 4 + "px",
305
+ display: "flex",
306
+ alignItems: "center",
307
+ justifyContent: "space-between",
308
+ marginTop: "5px"
309
+ })
310
+ }, [g("div", { style: b({
311
+ height: "100%",
312
+ width: "40px",
313
+ borderRadius: H.value.style.labels.fontSize / 4 + "px",
314
+ backgroundColor: "#6A6A6A80"
315
+ }) }, null, 4), g("div", { style: b({
316
+ height: "100%",
317
+ width: "15px",
318
+ borderRadius: H.value.style.labels.fontSize / 4 + "px",
319
+ backgroundColor: "#6A6A6A80"
320
+ }) }, null, 4)], 4)) : (S(), h(f, { key: 1 }, [
321
+ g("span", null, T(n.name), 1),
322
+ H.value.style.labels.value.show ? (S(), h("span", {
323
+ key: 0,
324
+ style: b(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
325
+ class: "vue-ui-sparkbar-datapoint-name"
326
+ }, ": " + T(D(c)(n.formatter, n.value, D(o)({
327
+ p: n.prefix || "",
328
+ v: n.value,
329
+ s: n.suffix || "",
330
+ r: n.rounding || 0
331
+ }), {
332
+ datapoint: n,
333
+ seriesIndex: r
334
+ })), 5)) : m("", !0),
335
+ H.value.style.layout.showTargetValue ? (S(), h("span", M, T(" " + H.value.style.layout.targetValueText) + " " + T(D(c)(n.formatter, Q(n), D(o)({
336
+ p: n.prefix || "",
337
+ v: Q(n),
338
+ s: n.suffix || "",
339
+ r: n.rounding || 0
340
+ }), {
341
+ datapoint: n,
342
+ seriesIndex: r
343
+ })), 1)) : m("", !0)
344
+ ], 64))], 4)) : m("", !0),
345
+ (S(), h("svg", {
346
+ role: "img",
347
+ xmlns: D(re),
348
+ viewBox: `0 0 ${X.value.width} ${X.value.height}`,
349
+ width: "100%"
350
+ }, [
351
+ _(D(L)),
352
+ g("defs", null, [_(ue, {
353
+ t: "linear",
354
+ x1: "0%",
355
+ y1: "0%",
356
+ x2: "100%",
357
+ y2: "0%",
358
+ id: `sparkbar_gradient_${r}_${V.value}`,
359
+ stops: [[
360
+ "0%",
361
+ D(t)(D(ee)(n.color, .03), 100 - H.value.style.bar.gradient.intensity),
362
+ 1
363
+ ], [
364
+ "100%",
365
+ n.color,
366
+ 1
367
+ ]]
368
+ }, null, 8, ["id", "stops"])]),
369
+ g("rect", {
370
+ height: X.value.height,
371
+ width: X.value.width,
372
+ x: 0,
373
+ y: 0,
374
+ fill: D(t)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
375
+ rx: $.value
376
+ }, null, 8, P),
377
+ g("rect", {
378
+ height: X.value.height,
379
+ width: X.value.width * Z(n),
380
+ x: 0,
381
+ y: 0,
382
+ fill: H.value.style.bar.gradient.underlayerColor,
383
+ rx: $.value
384
+ }, null, 8, F),
385
+ g("rect", {
386
+ height: X.value.height,
387
+ width: X.value.width * Z(n),
388
+ x: 0,
389
+ y: 0,
390
+ fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${V.value})` : n.color,
391
+ rx: $.value
392
+ }, null, 8, I)
393
+ ], 8, N))
394
+ ], 44, j))), 256)),
395
+ e.$slots.source ? (S(), h("div", ve, [w(e.$slots, "source")], 512)) : m("", !0),
396
+ D(W) ? (S(), pe(ce, { key: 3 })) : m("", !0)
397
+ ], 4));
398
+ }
399
+ };
400
+ //#endregion
401
+ export { A as n, L as t };
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Nt as t, X as n, Xt as r, b as i, bt as ee, i as a, mt as te, nt as o, q as ne, t as re } from "./lib-Dqr_-I6Y.js";
2
+ import { Nt as t, X as n, Xt as r, b as i, bt as ee, i as a, mt as te, nt as o, q as ne, t as re } from "./lib-DfMn_3jf.js";
3
3
  import { n as s, t as c } from "./useHints-Dq_w2E8B.js";
4
- import { t as ie } from "./useConfig-DwdGsXTx.js";
4
+ import { t as ie } from "./useConfig-DcMi9POF.js";
5
5
  import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as l } from "./useNestedProp-CulPqtou.js";
6
+ import { t as l } from "./useNestedProp-CLEe1P5W.js";
7
7
  import { t as se } from "./useThemeCheck-C43Tcqmk.js";
8
8
  import { t as ce } from "./DefGrad-DVBqDjhO.js";
9
9
  import { t as le } from "./useChartAccessibility-DYqac8yF.js";
@@ -52,7 +52,7 @@ var T = /* @__PURE__ */ e({ default: () => j }), he = ["xmlns", "viewBox"], ge =
52
52
  }
53
53
  },
54
54
  setup(e) {
55
- let T = fe(() => import("./PackageVersion-D_ULhZan.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ie(), { isThemeValid: M, warnInvalidTheme: N } = se(), P = u(), F = b(null), I = e, L = b(ne()), R = b(W());
55
+ let T = fe(() => import("./PackageVersion-DtE5p3O7.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ie(), { isThemeValid: M, warnInvalidTheme: N } = se(), P = u(), F = b(null), I = e, L = b(ne()), R = b(W());
56
56
  s({
57
57
  config: () => R.value,
58
58
  dataset: () => I.dataset,