vue-data-ui 3.22.7 → 3.22.8

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 (201) hide show
  1. package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
  2. package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
  3. package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
  4. package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
  5. package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
  6. package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
  7. package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
  8. package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
  10. package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
  11. package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
  12. package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
  13. package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
  14. package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
  15. package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
  16. package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
  17. package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
  18. package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
  89. package/dist/exposedLib-VXFp3Z2c.js +19 -0
  90. package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
  91. package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
  92. package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
  93. package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
  94. package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
  95. package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
  96. package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +18 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
  103. package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
  104. package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
  105. package/dist/utils.js +24 -24
  106. package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
  109. package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
  111. package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
  112. package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
  113. package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
  114. package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
  115. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
  116. package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
  117. package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
  118. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
  119. package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
  120. package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
  121. package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
  122. package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
  123. package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
  124. package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
  125. package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
  126. package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
  127. package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
  128. package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
  129. package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
  130. package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
  131. package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
  132. package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
  133. package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
  134. package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
  135. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
  136. package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
  137. package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
  138. package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
  139. package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
  140. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
  141. package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
  143. package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
  144. package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
  145. package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
  146. package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
  147. package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
  148. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
  149. package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
  150. package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
  151. package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
  152. package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
  153. package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
  154. package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
  155. package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
  156. package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
  157. package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
  158. package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
  159. package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
  160. package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
  161. package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
  162. package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
  163. package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
  164. package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
  165. package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
  166. package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
  167. package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
  168. package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
  169. package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
  170. package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
  171. package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
  172. package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
  173. package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
  174. package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
  175. package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
  176. package/package.json +1 -1
  177. package/dist/exposedLib-Be0ifkti.js +0 -19
  178. package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
  179. package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
  180. package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
  181. package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
  182. package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
  183. package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
  184. package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
  185. package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
  186. package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
  187. package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
  188. package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
  189. package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
  190. package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
  191. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
  192. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
  193. package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
  194. package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
  195. package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
  196. package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
  197. package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
  198. package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
  199. package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
  200. package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
  201. package/dist/vue-ui-world-B7npRmTa.js +0 -14264
@@ -1,52 +1,52 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Ct as t, Gt as n, Lt as r, Ot as i, Q as a, W as ee, i as o, j as te, m as ne, q as s, t as re, v as c } from "./lib-EAmk-PgA.js";
3
- import { t as ie } from "./useConfig-DYM3f6EI.js";
4
- import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as l } from "./useNestedProp-D8XqxgOU.js";
6
- import { t as se } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
2
+ import { $ as t, G as n, J as r, Kt as i, M as a, Rt as o, i as s, kt as c, m as ee, t as te, v as l, wt as ne } from "./lib-JqW18y5I.js";
3
+ import { t as re } from "./useConfig-DYM3f6EI.js";
4
+ import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
5
+ import { t as u } from "./useNestedProp-DIuuzG1r.js";
6
+ import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
8
  import { c as ce } from "./canvas-lib-BOP_HS11.js";
9
9
  import { t as le } from "./useResponsive-BfnK0KxU.js";
10
10
  import { t as ue } from "./usePrefersMotion-BC-CsqR1.js";
11
11
  import { t as de } from "./useFitSvgText-CT3nmlaS.js";
12
12
  import { t as fe } from "./vue_ui_spark_trend-DxVmpkmC.js";
13
- import { computed as d, createBlock as pe, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as me, defineAsyncComponent as he, nextTick as h, normalizeStyle as ge, onMounted as _e, openBlock as g, ref as _, renderSlot as v, toDisplayString as y, toRefs as ve, unref as b, watch as x } from "vue";
13
+ import { computed as d, createBlock as pe, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as me, defineAsyncComponent as he, nextTick as ge, normalizeStyle as _e, onMounted as ve, openBlock as h, ref as g, renderSlot as _, toDisplayString as v, toRefs as ye, unref as y, watch as b } from "vue";
14
14
  //#region src/components/vue-ui-spark-trend.vue
15
- var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"], be = ["id"], xe = ["xmlns", "viewBox"], Se = ["width", "height"], Ce = ["id"], we = ["stop-color"], Te = ["stop-color"], Ee = { key: 1 }, De = ["d", "fill"], Oe = ["d", "fill"], ke = [
15
+ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"], xe = ["id"], Se = ["xmlns", "viewBox"], Ce = ["width", "height"], we = ["id"], Te = ["stop-color"], Ee = ["stop-color"], De = { key: 1 }, Oe = ["d", "fill"], ke = ["d", "fill"], Ae = [
16
16
  "d",
17
17
  "stroke",
18
18
  "stroke-width",
19
19
  "stroke-linecap",
20
20
  "stroke-linejoin"
21
- ], Ae = [
21
+ ], je = [
22
22
  "d",
23
23
  "stroke",
24
24
  "stroke-width",
25
25
  "stroke-linecap",
26
26
  "stroke-linejoin"
27
- ], je = ["d"], Me = ["fill", "d"], Ne = [
27
+ ], Me = ["d"], Ne = ["fill", "d"], Pe = [
28
28
  "x",
29
29
  "y",
30
30
  "width",
31
31
  "height"
32
- ], Pe = [
32
+ ], Fe = [
33
33
  "x",
34
34
  "y",
35
35
  "fill",
36
36
  "font-size",
37
37
  "font-weight"
38
- ], Fe = [
38
+ ], Ie = [
39
39
  "stroke",
40
40
  "cx",
41
41
  "cy",
42
42
  "fill"
43
- ], Ie = [
43
+ ], Le = [
44
44
  "x",
45
45
  "y",
46
46
  "font-size",
47
47
  "fill",
48
48
  "font-weight"
49
- ], C = /*#__PURE__*/ u({
49
+ ], S = /*#__PURE__*/ se({
50
50
  __name: "vue-ui-spark-trend",
51
51
  props: {
52
52
  config: {
@@ -63,7 +63,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
63
63
  }
64
64
  },
65
65
  setup(e) {
66
- let u = he(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), { vue_ui_spark_trend: S } = ie(), { isThemeValid: C, warnInvalidTheme: Le } = se(), w = ue(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(ee()), M = _(I()), Be = d(() => n({
66
+ let se = he(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_spark_trend: x } = re(), { isThemeValid: S, warnInvalidTheme: Re } = oe(), C = ue(), w = e, T = g(null), E = g(null), ze = g(null), D = g(null), O = g(null), k = g(!1), A = g(null), j = g(n()), M = g(I()), Be = d(() => i({
67
67
  defaultConfig: { style: {
68
68
  animation: { show: !1 },
69
69
  backgroundColor: "#99999930",
@@ -78,11 +78,11 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
78
78
  }
79
79
  } },
80
80
  userConfig: M.value.skeletonConfig ?? {}
81
- })), { loading: N, FINAL_DATASET: P, manualLoading: F } = ae({
82
- ...ve(T),
81
+ })), { loading: N, FINAL_DATASET: P, manualLoading: F } = ie({
82
+ ...ye(w),
83
83
  FINAL_CONFIG: M,
84
84
  prepareConfig: I,
85
- skeletonDataset: T.config?.skeletonDataset ?? [
85
+ skeletonDataset: w.config?.skeletonDataset ?? [
86
86
  1,
87
87
  2,
88
88
  3,
@@ -96,68 +96,68 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
96
96
  144,
97
97
  233
98
98
  ],
99
- skeletonConfig: n({
99
+ skeletonConfig: i({
100
100
  defaultConfig: M.value,
101
101
  userConfig: Be.value
102
102
  })
103
103
  });
104
104
  function I() {
105
- let e = l({
106
- userConfig: T.config,
107
- defaultConfig: S
105
+ let e = u({
106
+ userConfig: w.config,
107
+ defaultConfig: x
108
108
  }), t = e.theme;
109
109
  if (!t) return e;
110
- if (!C.value(e)) return Le(e), e;
111
- let n = l({
112
- userConfig: fe[t] || T.config,
110
+ if (!S.value(e)) return Re(e), e;
111
+ let n = u({
112
+ userConfig: fe[t] || w.config,
113
113
  defaultConfig: e
114
114
  });
115
- return l({
116
- userConfig: T.config,
115
+ return u({
116
+ userConfig: w.config,
117
117
  defaultConfig: n
118
118
  });
119
119
  }
120
- let L = d(() => t({
120
+ let L = d(() => ne({
121
121
  data: P.value,
122
122
  threshold: M.value.downsample.threshold
123
123
  }));
124
- x(() => T.config, (e) => {
124
+ b(() => w.config, (e) => {
125
125
  M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
126
126
  }, { deep: !0 });
127
127
  function R(e) {
128
- return e.map((e) => c(e));
128
+ return e.map((e) => l(e));
129
129
  }
130
- let z = _(t({
130
+ let z = g(ne({
131
131
  data: P.value,
132
132
  threshold: M.value.downsample.threshold
133
- }).map((e) => M.value.style.animation.show && !w.value || [
133
+ }).map((e) => M.value.style.animation.show && !C.value || [
134
134
  void 0,
135
135
  Infinity,
136
136
  -Infinity,
137
137
  null,
138
138
  NaN
139
139
  ].includes(e) ? null : e));
140
- x(L, (e) => {
141
- A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !w.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
140
+ b(L, (e) => {
141
+ A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !C.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
142
142
  void 0,
143
143
  Infinity,
144
144
  -Infinity,
145
145
  null
146
- ].includes(e) && !Number.isNaN(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
146
+ ].includes(e) && !Number.isNaN(e) ? e : null), B(), ge(() => $(".vue-ui-sparktrend-progress-label", 6));
147
147
  }, {
148
148
  deep: !0,
149
149
  immediate: !0
150
- }), x(() => JSON.stringify(T.dataset), () => {
151
- A.value &&= (cancelAnimationFrame(A.value), null), F.value = i(T.dataset);
150
+ }), b(() => JSON.stringify(w.dataset), () => {
151
+ A.value &&= (cancelAnimationFrame(A.value), null), F.value = c(w.dataset);
152
152
  let e = L.value;
153
- z.value = M.value.style.animation.show && !w.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
153
+ z.value = M.value.style.animation.show && !C.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), ge(() => $(".vue-ui-sparktrend-progress-label", 6));
154
154
  }, {
155
155
  deep: !1,
156
156
  immediate: !0
157
157
  });
158
158
  function B() {
159
159
  let e = 1e3 / M.value.style.animation.animationFrames, t = performance.now();
160
- if (!N.value && M.value.style.animation.show && !w.value && M.value.style.animation.animationFrames && P.value.length > 1) {
160
+ if (!N.value && M.value.style.animation.show && !C.value && M.value.style.animation.animationFrames && P.value.length > 1) {
161
161
  z.value = [];
162
162
  let n = 0;
163
163
  function r() {
@@ -168,30 +168,30 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
168
168
  r();
169
169
  }
170
170
  }
171
- _e(() => {
171
+ ve(() => {
172
172
  V();
173
173
  });
174
174
  let Ve = d(() => M.value.debug);
175
175
  function V() {
176
- if (i(T.dataset) && (a({
176
+ if (c(w.dataset) && (t({
177
177
  componentName: "VueUiSparkTrend",
178
178
  type: "dataset",
179
179
  debug: Ve.value
180
- }), F.value = !0), i(T.dataset) || (F.value = !1), M.value.responsive) {
180
+ }), F.value = !0), c(w.dataset) || (F.value = !1), M.value.responsive) {
181
181
  let e = ce(() => {
182
182
  let { width: e, height: t } = le({
183
- chart: E.value,
183
+ chart: T.value,
184
184
  source: ze.value
185
185
  });
186
186
  requestAnimationFrame(() => {
187
187
  H.value = e, U.value = t;
188
188
  });
189
189
  });
190
- D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = E.value.parentNode, D.value.observe(O.value);
190
+ D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = T.value.parentNode, D.value.observe(O.value);
191
191
  }
192
192
  B(), $(".vue-ui-sparktrend-progress-label", 6);
193
193
  }
194
- let H = _(M.value.style.width), U = _(M.value.style.height), W = d(() => ({
194
+ let H = g(M.value.style.width), U = g(M.value.style.height), W = d(() => ({
195
195
  height: U.value,
196
196
  width: H.value
197
197
  })), G = d(() => ({
@@ -242,16 +242,16 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
242
242
  -Infinity
243
243
  ].includes(e) ? 0 : e || 0;
244
244
  return {
245
- value: c(e),
246
- absoluteValue: c(n),
247
- plotValue: c(n + q.value),
245
+ value: l(e),
246
+ absoluteValue: l(n),
247
+ plotValue: l(n + q.value),
248
248
  toMax: We(n + q.value),
249
- x: G.value.left + c(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
250
- y: G.value.bottom - c(G.value.height * We(n + q.value))
249
+ x: G.value.left + l(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
250
+ y: G.value.bottom - l(G.value.height * We(n + q.value))
251
251
  };
252
252
  })), Y = d(() => {
253
253
  let e = R(L.value);
254
- return M.value.style.trendLabel.trendType === "global" ? ne(e) : M.value.style.trendLabel.trendType === "n-1" && e.length > 1 ? (e.at(-1) / e.at(-2) - 1) * 100 : M.value.style.trendLabel.trendType === "lastToFirst" ? (e.at(-1) / e[0] - 1) * 100 : 0;
254
+ return M.value.style.trendLabel.trendType === "global" ? ee(e) : M.value.style.trendLabel.trendType === "n-1" && e.length > 1 ? (e.at(-1) / e.at(-2) - 1) * 100 : M.value.style.trendLabel.trendType === "lastToFirst" ? (e.at(-1) / e[0] - 1) * 100 : 0;
255
255
  }), X = d(() => k.value || Y.value === 0 ? "neutral" : Y.value > 0 ? "positive" : "negative"), Z = d(() => M.value.style.arrow.colors[X.value]), Ke = d(() => {
256
256
  let e = {
257
257
  x: J.value[0].x,
@@ -275,30 +275,30 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
275
275
  e.push(`${t.x},${t.y} `);
276
276
  }), `M ${e.toString()}`;
277
277
  }), Q = d(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = de({
278
- svgRef: Re,
278
+ svgRef: E,
279
279
  unitWidth: d(() => G.value.left * .8),
280
280
  fontSize: M.value.style.trendLabel.fontSize
281
281
  }), Je = d(() => {
282
282
  if (N.value || k.value) return "Trend chart loading";
283
- let e = J.value?.at(-1), t = e?.value, n = s({
283
+ let e = J.value?.at(-1), t = e?.value, n = r({
284
284
  p: Y.value > 0 ? "+" : "",
285
285
  v: Y.value,
286
286
  s: "%",
287
287
  r: M.value.style.trendLabel.rounding
288
- }), r = t == null ? "not available" : o(M.value.style.dataLabel.formatter, t, s({
288
+ }), i = t == null ? "not available" : s(M.value.style.dataLabel.formatter, t, r({
289
289
  p: M.value.style.dataLabel.prefix,
290
290
  v: t,
291
291
  s: M.value.style.dataLabel.suffix,
292
292
  r: M.value.style.dataLabel.rounding
293
293
  }), { datapoint: e });
294
- return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${r}.`;
294
+ return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${i}.`;
295
295
  }), Ye = d(() => `sparktrend-a11y-${j.value}`);
296
- return (e, t) => (g(), p("div", {
296
+ return (e, t) => (h(), p("div", {
297
297
  ref_key: "sparkTrendChart",
298
- ref: E,
298
+ ref: T,
299
299
  class: "vue-data-ui-component vue-ui-spark-trend",
300
300
  id: j.value,
301
- style: ge(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
301
+ style: _e(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
302
302
  role: "img",
303
303
  "aria-describedby": Ye.value
304
304
  }, [
@@ -306,25 +306,25 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
306
306
  id: Ye.value,
307
307
  class: "sr-only",
308
308
  "aria-live": "polite"
309
- }, y(Je.value), 9, be),
310
- (g(), p("svg", {
309
+ }, v(Je.value), 9, xe),
310
+ (h(), p("svg", {
311
311
  key: He.value,
312
312
  ref_key: "svgRef",
313
- ref: Re,
314
- xmlns: b(re),
313
+ ref: E,
314
+ xmlns: y(te),
315
315
  viewBox: `0 0 ${W.value.width} ${W.value.height}`,
316
316
  style: "width:100%;background:transparent;overflow:visible",
317
317
  "aria-hidden": "true"
318
318
  }, [
319
- me(b(u)),
320
- e.$slots["chart-background"] ? (g(), p("foreignObject", {
319
+ me(y(se)),
320
+ e.$slots["chart-background"] ? (h(), p("foreignObject", {
321
321
  key: 0,
322
322
  x: 0,
323
323
  y: 0,
324
324
  width: W.value.width <= 0 ? 10 : W.value.width,
325
325
  height: W.value.height <= 0 ? 10 : W.value.height,
326
326
  style: { pointerEvents: "none" }
327
- }, [v(e.$slots, "chart-background", {}, void 0, !0)], 8, Se)) : f("", !0),
327
+ }, [_(e.$slots, "chart-background", {}, void 0, !0)], 8, Ce)) : f("", !0),
328
328
  m("defs", null, [m("linearGradient", {
329
329
  x1: "0%",
330
330
  y1: "0%",
@@ -333,32 +333,32 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
333
333
  id: `pill_gradient_${j.value}`
334
334
  }, [m("stop", {
335
335
  offset: "0%",
336
- "stop-color": b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
337
- }, null, 8, we), m("stop", {
336
+ "stop-color": y(o)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
337
+ }, null, 8, Te), m("stop", {
338
338
  offset: "100%",
339
339
  "stop-color": M.value.style.backgroundColor
340
- }, null, 8, Te)], 8, Ce)]),
341
- M.value.style.area.show && J.value[0] ? (g(), p("g", Ee, [M.value.style.line.smooth ? (g(), p("path", {
340
+ }, null, 8, Ee)], 8, we)]),
341
+ M.value.style.area.show && J.value[0] ? (h(), p("g", De, [M.value.style.line.smooth ? (h(), p("path", {
342
342
  key: 0,
343
- d: `M ${J.value[0].x},${G.value.bottom} ${b(te)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
344
- fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
343
+ d: `M ${J.value[0].x},${G.value.bottom} ${y(a)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
344
+ fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : y(o)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
345
345
  stroke: "none"
346
- }, null, 8, De)) : (g(), p("path", {
346
+ }, null, 8, Oe)) : (h(), p("path", {
347
347
  key: 1,
348
348
  d: `M${Ke.value}Z`,
349
- fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
349
+ fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : y(o)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
350
350
  stroke: "none"
351
- }, null, 8, Oe))])) : f("", !0),
352
- M.value.style.line.smooth && J.value.length ? (g(), p("path", {
351
+ }, null, 8, ke))])) : f("", !0),
352
+ M.value.style.line.smooth && J.value.length ? (h(), p("path", {
353
353
  key: 2,
354
- d: `M ${b(te)(J.value)}`,
354
+ d: `M ${y(a)(J.value)}`,
355
355
  stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
356
356
  fill: "none",
357
357
  "stroke-width": M.value.style.line.strokeWidth,
358
358
  "stroke-linecap": M.value.style.line.strokeLinecap,
359
359
  "stroke-linejoin": M.value.style.line.strokeLinejoin
360
- }, null, 8, ke)) : f("", !0),
361
- !M.value.style.line.smooth && J.value.length ? (g(), p("path", {
360
+ }, null, 8, Ae)) : f("", !0),
361
+ !M.value.style.line.smooth && J.value.length ? (h(), p("path", {
362
362
  key: 3,
363
363
  d: qe.value,
364
364
  stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
@@ -366,17 +366,17 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
366
366
  "stroke-width": M.value.style.line.strokeWidth,
367
367
  "stroke-linecap": M.value.style.line.strokeLinecap,
368
368
  "stroke-linejoin": M.value.style.line.strokeLinejoin
369
- }, null, 8, Ae)) : f("", !0),
370
- b(N) ? (g(), p("path", {
369
+ }, null, 8, je)) : f("", !0),
370
+ y(N) ? (h(), p("path", {
371
371
  key: 4,
372
372
  fill: "#6A6A6A",
373
373
  d: `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
374
- }, null, 8, je)) : (g(), p("path", {
374
+ }, null, 8, Me)) : (h(), p("path", {
375
375
  key: 5,
376
376
  fill: Z.value,
377
377
  d: X.value === "positive" ? `M ${G.value.left / 2}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 12} ${G.value.left / 2 + 7}, ${Q.value + 12} Z` : X.value === "negative" ? `M ${G.value.left / 2}, ${Q.value + 12} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 + 7}, ${Q.value} Z` : `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
378
- }, null, 8, Me)),
379
- b(N) ? (g(), p("rect", {
378
+ }, null, 8, Ne)),
379
+ y(N) ? (h(), p("rect", {
380
380
  key: 6,
381
381
  x: G.value.left / 2 - M.value.style.trendLabel.fontSize - 2,
382
382
  y: U.value / 2 + M.value.style.trendLabel.fontSize - 2,
@@ -384,8 +384,8 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
384
384
  height: M.value.style.trendLabel.fontSize,
385
385
  fill: "#6A6A6A80",
386
386
  rx: "3"
387
- }, null, 8, Ne)) : f("", !0),
388
- !k.value && !b(N) ? (g(), p("text", {
387
+ }, null, 8, Pe)) : f("", !0),
388
+ !k.value && !y(N) ? (h(), p("text", {
389
389
  key: 7,
390
390
  class: "vue-ui-sparktrend-progress-label",
391
391
  x: G.value.left / 2,
@@ -394,22 +394,22 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
394
394
  fill: M.value.style.trendLabel.useColorTrend ? Z.value : M.value.style.trendLabel.color,
395
395
  "font-size": M.value.style.trendLabel.fontSize,
396
396
  "font-weight": M.value.style.trendLabel.bold ? "bold" : "normal"
397
- }, y(b(s)({
397
+ }, v(y(r)({
398
398
  p: Y.value > 0 ? "+" : "",
399
399
  v: Y.value,
400
400
  s: "%",
401
401
  r: M.value.style.trendLabel.rounding
402
- })), 9, Pe)) : f("", !0),
403
- J.value.length && J.value.at(-1).x !== void 0 ? (g(), p("circle", {
402
+ })), 9, Fe)) : f("", !0),
403
+ J.value.length && J.value.at(-1).x !== void 0 ? (h(), p("circle", {
404
404
  key: 8,
405
405
  stroke: M.value.style.backgroundColor,
406
406
  "stroke-width": 2,
407
407
  cx: J.value.at(-1).x,
408
408
  cy: J.value.at(-1).y,
409
409
  r: 4,
410
- fill: b(N) ? "#6A6A6A" : Z.value
411
- }, null, 8, Fe)) : f("", !0),
412
- J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (g(), p("text", {
410
+ fill: y(N) ? "#6A6A6A" : Z.value
411
+ }, null, 8, Ie)) : f("", !0),
412
+ J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (h(), p("text", {
413
413
  key: 9,
414
414
  "text-anchor": "middle",
415
415
  x: J.value.at(-1).x,
@@ -417,22 +417,22 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
417
417
  "font-size": M.value.style.dataLabel.fontSize,
418
418
  fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
419
419
  "font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
420
- }, y(b(o)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(s)({
420
+ }, v(y(s)(M.value.style.dataLabel.formatter, J.value.at(-1).value, y(r)({
421
421
  p: M.value.style.dataLabel.prefix,
422
422
  v: J.value.at(-1).value,
423
423
  s: M.value.style.dataLabel.suffix,
424
424
  r: M.value.style.dataLabel.rounding
425
- }), { datapoint: J.value.at(-1) })), 9, Ie)) : f("", !0)
426
- ], 8, xe)),
427
- e.$slots.source ? (g(), p("div", {
425
+ }), { datapoint: J.value.at(-1) })), 9, Le)) : f("", !0)
426
+ ], 8, Se)),
427
+ e.$slots.source ? (h(), p("div", {
428
428
  key: 0,
429
429
  ref_key: "source",
430
430
  ref: ze,
431
431
  dir: "auto"
432
- }, [v(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
433
- v(e.$slots, "skeleton", {}, () => [b(N) ? (g(), pe(oe, { key: 0 })) : f("", !0)], !0)
434
- ], 12, ye));
432
+ }, [_(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
433
+ _(e.$slots, "skeleton", {}, () => [y(N) ? (h(), pe(ae, { key: 0 })) : f("", !0)], !0)
434
+ ], 12, be));
435
435
  }
436
436
  }, [["__scopeId", "data-v-90a4c498"]]);
437
437
  //#endregion
438
- export { S as n, C as t };
438
+ export { x as n, S as t };
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Gt as t, Lt as n, Ot as r, Q as i, Rt as a, S as ee, Ut as te, W as ne, b as o, i as s, jt as c, q as l, t as re, ut as ie } from "./lib-EAmk-PgA.js";
2
+ import { $ as t, G as n, J as r, Kt as i, Mt as a, Rt as o, S as ee, Wt as te, b as s, dt as c, i as l, kt as ne, t as re, zt as ie } from "./lib-JqW18y5I.js";
3
3
  import { t as ae } from "./useConfig-DYM3f6EI.js";
4
4
  import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
5
- import { t as u } from "./useNestedProp-D8XqxgOU.js";
5
+ import { t as u } from "./useNestedProp-DIuuzG1r.js";
6
6
  import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
7
7
  import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
8
8
  import { t as d } from "./vue_ui_sparkbar-z6qO--Kf.js";
@@ -56,11 +56,11 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
56
56
  },
57
57
  emits: ["selectDatapoint"],
58
58
  setup(e, { emit: D }) {
59
- let R = fe(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ae(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), z = le(), B = e, be = T();
59
+ let R = fe(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ae(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), z = le(), B = e, be = T();
60
60
  y(() => {
61
61
  be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
62
62
  });
63
- let V = x(ne()), H = x(K()), xe = p(() => t({
63
+ let V = x(n()), H = x(K()), xe = p(() => i({
64
64
  defaultConfig: { style: {
65
65
  backgroundColor: "#99999930",
66
66
  animation: { show: !1 },
@@ -96,7 +96,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
96
96
  color: "#DBDBDB"
97
97
  }
98
98
  ],
99
- skeletonConfig: t({
99
+ skeletonConfig: i({
100
100
  defaultConfig: H.value,
101
101
  userConfig: xe.value
102
102
  })
@@ -117,7 +117,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
117
117
  });
118
118
  return {
119
119
  ...r,
120
- customPalette: r.customPalette.length ? r.customPalette : te[t] || c
120
+ customPalette: r.customPalette.length ? r.customPalette : te[t] || a
121
121
  };
122
122
  }
123
123
  E(() => B.config, (e) => {
@@ -129,7 +129,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
129
129
  formatter: e.formatter || null
130
130
  }))), J = x(null);
131
131
  y(async () => {
132
- r(B.dataset) && i({
132
+ ne(B.dataset) && t({
133
133
  componentName: "VueUiSparkbar",
134
134
  type: "dataset",
135
135
  debug: G.value
@@ -161,23 +161,23 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
161
161
  let X = x({
162
162
  width: 500,
163
163
  height: 16
164
- }), we = p(() => Math.max(...W.value.map((e) => e.value))), Te = p(() => (W.value.forEach((e, t) => {
165
- ie({
164
+ }), we = p(() => Math.max(...W.value.map((e) => e.value))), Te = p(() => (W.value.forEach((e, n) => {
165
+ c({
166
166
  datasetObject: e,
167
167
  requiredAttributes: ["name", "value"]
168
168
  }).forEach((e) => {
169
- i({
169
+ t({
170
170
  componentName: "VueUiSparkbar",
171
171
  type: "datasetSerieAttribute",
172
172
  property: e,
173
- index: t,
173
+ index: n,
174
174
  debug: G.value
175
175
  });
176
176
  });
177
177
  }), q.value.map((e, t) => ({
178
178
  ...e,
179
179
  value: e.value || 0,
180
- color: o(e.color) || Ce.value[t] || c[t] || c[t % c.length]
180
+ color: s(e.color) || Ce.value[t] || a[t] || a[t % a.length]
181
181
  }))));
182
182
  function Z(e) {
183
183
  return e / we.value;
@@ -216,7 +216,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
216
216
  width: "100%",
217
217
  position: "relative",
218
218
  fontFamily: H.value.style.fontFamily,
219
- background: B.backgroundOpacity === null ? H.value.style.backgroundColor : w(n)(H.value.style.backgroundColor, B.backgroundOpacity)
219
+ background: B.backgroundOpacity === null ? H.value.style.backgroundColor : w(o)(H.value.style.backgroundColor, B.backgroundOpacity)
220
220
  })
221
221
  }, [
222
222
  e.$slots.title ? S(e.$slots, "title", me(_({ key: 0 }, { title: {
@@ -248,11 +248,11 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
248
248
  fontWeight: H.value.style.title.subtitle.bold ? "bold" : "normal"
249
249
  })
250
250
  }, C(H.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
251
- (b(!0), h(f, null, he(Te.value, (t, r) => (b(), h("div", {
252
- style: v(`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;${w(W).length > 0 && r !== w(W).length - 1 ? "margin-bottom:6px" : ""}`),
253
- onClick: (e) => De(t, r),
254
- onMouseenter: (e) => Oe(t, r),
255
- onMouseleave: (e) => ke(t, r)
251
+ (b(!0), h(f, null, he(Te.value, (t, n) => (b(), h("div", {
252
+ style: v(`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;${w(W).length > 0 && n !== w(W).length - 1 ? "margin-bottom:6px" : ""}`),
253
+ onClick: (e) => De(t, n),
254
+ onMouseenter: (e) => Oe(t, n),
255
+ onMouseleave: (e) => ke(t, n)
256
256
  }, [
257
257
  w(U) ? m("", !0) : S(e.$slots, "data-label", _({
258
258
  key: 0,
@@ -260,23 +260,23 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
260
260
  }, { bar: {
261
261
  ...t,
262
262
  target: $(t),
263
- valueLabel: w(s)(t.formatter, t.value, w(l)({
263
+ valueLabel: w(l)(t.formatter, t.value, w(r)({
264
264
  p: t.prefix || "",
265
265
  v: t.value,
266
266
  s: t.suffix || "",
267
267
  r: t.rounding || 0
268
268
  }), {
269
269
  datapoint: t,
270
- seriesIndex: r
270
+ seriesIndex: n
271
271
  }),
272
- targetLabel: w(s)(t.formatter, $(t), w(l)({
272
+ targetLabel: w(l)(t.formatter, $(t), w(r)({
273
273
  p: t.prefix || "",
274
274
  v: $(t),
275
275
  s: t.suffix || "",
276
276
  r: t.rounding || 0
277
277
  }), {
278
278
  datapoint: t,
279
- seriesIndex: r
279
+ seriesIndex: n
280
280
  })
281
281
  } })),
282
282
  !e.$slots["data-label"] || w(U) ? (b(), h("div", {
@@ -319,23 +319,23 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
319
319
  key: 0,
320
320
  style: v(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
321
321
  class: "vue-ui-sparkbar-datapoint-name"
322
- }, ": " + C(w(s)(t.formatter, t.value, w(l)({
322
+ }, ": " + C(w(l)(t.formatter, t.value, w(r)({
323
323
  p: t.prefix || "",
324
324
  v: t.value,
325
325
  s: t.suffix || "",
326
326
  r: t.rounding || 0
327
327
  }), {
328
328
  datapoint: t,
329
- seriesIndex: r
329
+ seriesIndex: n
330
330
  })), 5)) : m("", !0),
331
- H.value.style.layout.showTargetValue ? (b(), h("span", k, C(" " + H.value.style.layout.targetValueText) + " " + C(w(s)(t.formatter, $(t), w(l)({
331
+ H.value.style.layout.showTargetValue ? (b(), h("span", k, C(" " + H.value.style.layout.targetValueText) + " " + C(w(l)(t.formatter, $(t), w(r)({
332
332
  p: t.prefix || "",
333
333
  v: $(t),
334
334
  s: t.suffix || "",
335
335
  r: t.rounding || 0
336
336
  }), {
337
337
  datapoint: t,
338
- seriesIndex: r
338
+ seriesIndex: n
339
339
  })), 1)) : m("", !0)
340
340
  ], 64))], 4)) : m("", !0),
341
341
  (b(), h("svg", {
@@ -350,10 +350,10 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
350
350
  y1: "0%",
351
351
  x2: "100%",
352
352
  y2: "0%",
353
- id: `sparkbar_gradient_${r}_${V.value}`
353
+ id: `sparkbar_gradient_${n}_${V.value}`
354
354
  }, [g("stop", {
355
355
  offset: "0%",
356
- "stop-color": w(n)(w(a)(t.color, .03), 100 - H.value.style.bar.gradient.intensity)
356
+ "stop-color": w(o)(w(ie)(t.color, .03), 100 - H.value.style.bar.gradient.intensity)
357
357
  }, null, 8, M), g("stop", {
358
358
  offset: "100%",
359
359
  "stop-color": t.color
@@ -363,7 +363,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
363
363
  width: X.value.width,
364
364
  x: 0,
365
365
  y: 0,
366
- fill: w(n)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
366
+ fill: w(o)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
367
367
  rx: X.value.height / 2
368
368
  }, null, 8, P),
369
369
  g("rect", {
@@ -379,7 +379,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
379
379
  width: X.value.width * Q(t),
380
380
  x: 0,
381
381
  y: 0,
382
- fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${V.value})` : t.color,
382
+ fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${V.value})` : t.color,
383
383
  rx: X.value.height / 2
384
384
  }, null, 8, I)
385
385
  ], 8, A))