vue-data-ui 3.5.0 → 3.5.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 (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
1
1
  import { ref as w, computed as g, createElementBlock as e, openBlock as o, normalizeStyle as n, normalizeClass as N, createCommentVNode as a, unref as s, createVNode as d, createElementVNode as t, Fragment as k, renderList as h, createStaticVNode as $ } from "vue";
2
2
  import { k as B, X as c, s as v, j as F } from "./lib-C_mNZmhD.js";
3
- import { u as O, a as V } from "./useNestedProp-BjZe1Y85.js";
4
- import y from "./PackageVersion-Cyx_s25h.js";
3
+ import { u as O, a as V } from "./useNestedProp-DjGXw6S9.js";
4
+ import y from "./PackageVersion-DQvyATVa.js";
5
5
  import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const G = ["id"], R = ["xmlns"], T = { transform: "translate(300, 300)" }, U = ["d", "fill", "stroke"], Y = ["xmlns"], D = ["id"], J = ["stop-color"], K = ["stop-color"], l1 = ["stop-color"], t1 = ["stop-color"], e1 = ["fill", "stroke"], o1 = ["fill", "stroke"], s1 = ["fill", "stroke"], r1 = ["fill", "stroke"], i1 = ["fill", "stroke"], n1 = ["xmlns"], a1 = ["stroke"], c1 = ["stroke"], u1 = ["stroke"], d1 = ["fill", "stroke"], y1 = ["fill"], k1 = ["fill", "stroke"], h1 = ["fill"], v1 = ["fill", "stroke"], _1 = ["fill"], x1 = ["fill", "stroke"], p1 = ["fill"], g1 = ["fill", "stroke"], f1 = ["fill"], w1 = ["fill", "stroke"], C1 = ["fill"], m1 = ["xmlns"], b1 = ["stroke"], M1 = ["stroke"], L1 = ["stroke"], A1 = ["stroke"], $1 = ["stroke"], B1 = ["stroke"], P1 = ["stroke"], W1 = ["stroke"], j1 = ["stroke"], z1 = ["xmlns"], Z1 = ["stroke", "fill"], q1 = ["xmlns"], H1 = ["stroke", "fill"], Q1 = ["xmlns"], E1 = ["fill"], S1 = ["fill"], I1 = ["fill"], N1 = ["fill"], F1 = ["xmlns"], O1 = ["stroke"], V1 = ["fill"], X1 = ["stroke", "fill"], G1 = ["stroke", "fill"], R1 = ["fill"], T1 = ["stroke", "fill"], U1 = ["stroke", "fill"], Y1 = ["fill"], D1 = ["stroke", "fill"], J1 = ["stroke", "fill"], K1 = ["fill"], ll = ["stroke", "fill"], tl = ["stroke", "fill"], el = ["fill"], ol = ["stroke", "fill"], sl = ["stroke", "fill"], rl = ["xmlns"], il = ["stroke"], nl = ["stroke"], al = ["stroke", "fill"], cl = ["stroke", "fill"], ul = ["stroke", "fill"], dl = ["stroke", "fill"], yl = ["stroke", "fill"], kl = ["stroke", "fill"], hl = ["stroke", "fill"], vl = ["stroke", "fill"], _l = ["stroke", "fill"], xl = ["stroke", "fill"], pl = ["stroke", "fill"], gl = ["stroke", "fill"], fl = ["stroke", "fill"], wl = ["stroke", "fill"], Cl = ["stroke", "fill"], ml = ["stroke", "fill"], bl = ["stroke", "fill"], Ml = ["stroke", "fill"], Ll = ["stroke", "fill"], Al = ["stroke", "fill"], $l = ["stroke", "fill"], Bl = ["stroke", "fill"], Pl = ["stroke", "fill"], Wl = ["xmlns"], jl = ["stroke"], zl = ["xmlns"], Zl = ["stroke"], ql = ["xmlns"], Hl = ["stroke"], Ql = ["xmlns"], El = ["fill"], Sl = ["fill"], Il = ["fill"], Nl = ["fill"], Fl = ["fill"], Ol = ["fill"], Vl = ["fill"], Xl = ["fill"], Gl = ["fill"], Rl = ["fill"], Tl = ["fill"], Ul = ["fill"], Yl = ["xmlns"], Dl = ["stroke"], Jl = ["stroke"], Kl = ["stroke"], l0 = ["stroke"], t0 = ["stroke"], e0 = ["stroke"], o0 = ["xmlns"], s0 = ["stroke"], r0 = ["stroke"], i0 = ["stroke"], n0 = ["stroke"], a0 = ["stroke"], c0 = ["stroke"], u0 = ["stroke"], d0 = ["stroke"], y0 = ["stroke"], k0 = ["xmlns"], h0 = ["stroke"], v0 = ["xmlns"], _0 = ["stroke"], x0 = ["stroke"], p0 = ["stroke"], g0 = ["stroke"], f0 = ["stroke"], w0 = ["stroke"], C0 = ["stroke"], m0 = ["stroke"], b0 = ["stroke"], M0 = ["xmlns"], L0 = ["x1", "x2", "stroke"], A0 = ["xmlns"], $0 = ["x", "y", "width", "height", "fill"], B0 = ["y", "width", "height", "fill"], P0 = ["xmlns"], W0 = ["fill"], j0 = ["fill"], z0 = ["fill"], Z0 = ["xmlns"], q0 = ["x1", "x2", "y1", "y2", "stroke"], H0 = ["stroke"], Q0 = ["fill"], E0 = ["xmlns"], S0 = ["fill"], I0 = ["fill"], N0 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], F0 = ["xmlns"], O0 = { key: 0 }, V0 = ["stroke", "stroke-width"], X0 = ["stroke", "stroke-width"], G0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], R0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], T0 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], U0 = ["x", "y", "height", "width", "fill"], Y0 = ["xmlns", "viewBox"], D0 = ["x", "y", "stroke", "fill"], J0 = ["xmlns"], K0 = ["d", "stroke"], lt = ["cx", "cy", "r", "fill", "stroke"], tt = ["cx", "cy", "r", "fill", "stroke"], et = ["x", "y", "width", "fill"], ot = ["cx", "cy", "fill"], st = ["cx", "cy", "fill"], rt = ["stroke"], it = ["xmlns"], nt = ["stroke", "stroke-width"], at = ["stroke", "stroke-width"], ct = ["stroke", "stroke-width"], ut = ["fill"], dt = ["fill"], yt = ["fill"], kt = ["fill"], ht = ["fill"], vt = ["fill"], _t = ["xmlns"], xt = { key: 0 }, pt = ["stroke", "stroke-width"], gt = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], wt = { key: 1 }, Ct = ["r", "fill"], mt = ["r", "fill"], bt = ["xmlns"], Mt = { key: 0 }, Lt = ["stroke", "stroke-width"], At = ["stroke", "stroke-width"], $t = ["fill", "rx", "x", "y", "width", "height"], Bt = ["xmlns"], Pt = ["stroke-width", "stroke"], Wt = ["stroke-width", "stroke"], jt = ["stroke-width", "stroke"], zt = ["xmlns"], Zt = ["stroke"], qt = ["stroke"], Ht = ["stroke"], Qt = ["stroke"], Et = ["fill"], St = ["stroke"], It = ["xmlns"], Nt = ["stroke", "stroke-width"], Ft = ["stroke", "stroke-width"], Ot = ["fill", "r"], Vt = ["fill", "r"], Xt = ["fill", "r"], Gt = ["fill", "r"], Rt = ["fill", "r"], Tt = ["fill", "r"], Ut = ["fill", "r"], Yt = ["fill", "r"], Dt = ["fill", "r"], Jt = ["xmlns"], Kt = ["d", "stroke", "stroke-width"], le = ["d", "stroke", "stroke-width"], te = ["d", "stroke", "stroke-width"], ee = ["d", "stroke", "stroke-width"], oe = ["stroke", "stroke-width"], se = ["stroke", "stroke-width"], re = ["stroke", "stroke-width"], ie = ["fill"], ne = ["fill"], ae = ["xmlns"], ce = ["x", "y", "fill"], ue = ["x", "y", "fill"], de = ["x", "y", "fill"], ye = ["xmlns"], ke = ["fill"], he = ["fill"], ve = ["y1", "y2", "stroke", "stroke-width"], _e = ["x1", "x2", "stroke", "stroke-width"], xe = ["xmlns", "stroke"], pe = ["fill"], ge = ["xmlns", "stroke"], fe = ["xmlns", "stroke"], we = ["fill"], Ce = ["xmlns", "stroke"], me = ["xmlns", "stroke"], be = ["fill"], Me = ["xmlns", "stroke"], Le = ["xmlns", "stroke"], Ae = ["fill"], $e = ["xmlns", "stroke"], Be = ["xmlns", "stroke"], Pe = ["fill"], We = ["xmlns", "stroke"], je = ["xmlns"], ze = ["points", "fill", "stroke", "stroke-width"], Ze = ["xmlns"], qe = { key: 0 }, He = ["stroke", "stroke-width"], Qe = ["y", "width", "fill", "rx"], Ee = {
7
7
  __name: "vue-ui-skeleton",
@@ -1,6 +1,6 @@
1
1
  import { useSlots as E, onMounted as G, ref as R, computed as _, watch as T, createElementBlock as s, openBlock as i, normalizeStyle as a, createCommentVNode as u, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
2
2
  import { o as P, f as q, a as x, d as b, X as y, i as k } from "./lib-C_mNZmhD.js";
3
- import { u as J, a as Q } from "./useNestedProp-BjZe1Y85.js";
3
+ import { u as J, a as Q } from "./useNestedProp-DjGXw6S9.js";
4
4
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Z = {
6
6
  key: 0,
@@ -1,7 +1,7 @@
1
1
  import { defineAsyncComponent as ce, ref as f, toRefs as he, computed as u, watch as G, nextTick as J, onMounted as ye, createElementBlock as r, openBlock as o, normalizeStyle as pe, createCommentVNode as h, createBlock as ge, unref as i, createVNode as me, createElementVNode as z, renderSlot as K, toDisplayString as Q } from "vue";
2
2
  import { c as ke, t as be, u as Y, o as R, f as _e, x, ad as we, X as xe, s as Z, z as ee, d as te, a as $e } from "./lib-C_mNZmhD.js";
3
3
  import { t as Le, u as Ce } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ae, a as le } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as Ae, a as le } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as Te, B as Ne } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Se } from "./useFitSvgText-2crs6Fv5.js";
7
7
  import { t as ze } from "./themes-AUNCOb2G.js";
@@ -23,7 +23,7 @@ const Me = ["id"], Ie = ["xmlns", "viewBox"], je = ["width", "height"], Ee = ["i
23
23
  }
24
24
  },
25
25
  setup(ae) {
26
- const ne = ce(() => import("./PackageVersion-Cyx_s25h.js")), { vue_ui_spark_trend: ue } = Ae(), m = ae, F = f(null), W = f(null), H = f(null), $ = f(null), C = f(null), A = f(!1), y = f(null), L = f(ke()), e = f(j()), { loading: _, FINAL_DATASET: M, manualLoading: I } = Te({
26
+ const ne = ce(() => import("./PackageVersion-DQvyATVa.js")), { vue_ui_spark_trend: ue } = Ae(), m = ae, F = f(null), W = f(null), H = f(null), $ = f(null), C = f(null), A = f(!1), y = f(null), L = f(ke()), e = f(j()), { loading: _, FINAL_DATASET: M, manualLoading: I } = Te({
27
27
  ...he(m),
28
28
  FINAL_CONFIG: e,
29
29
  prepareConfig: j,
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as Z, useSlots as ee, onMounted as F, ref as x, toRefs as te, computed as w, watch as B, nextTick as le, createElementBlock as i, openBlock as s, normalizeStyle as d, unref as a, renderSlot as $, createCommentVNode as p, createBlock as ae, normalizeProps as oe, mergeProps as E, createElementVNode as v, toDisplayString as y, Fragment as M, renderList as ne, createVNode as se } from "vue";
2
2
  import { c as ue, t as ie, b as re, p as _, e as ve, o as ce, f as P, g as de, h as pe, s as D, a as C, d as A, X as fe, i as ye } from "./lib-C_mNZmhD.js";
3
- import { u as ge, a as V } from "./useNestedProp-BjZe1Y85.js";
3
+ import { u as ge, a as V } from "./useNestedProp-DjGXw6S9.js";
4
4
  import { t as me } from "./themes-AUNCOb2G.js";
5
5
  import { u as he, B as xe } from "./BaseScanner-BgWxam9d.js";
6
6
  const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["xmlns", "viewBox"], _e = ["id"], Ce = ["stop-color"], Ae = ["stop-color"], Se = ["height", "width", "fill", "rx"], $e = ["height", "width", "fill", "rx"], De = ["height", "width", "fill", "rx"], Ie = {
@@ -32,7 +32,7 @@ const ke = ["onClick", "onMouseenter", "onMouseleave"], be = { key: 1 }, we = ["
32
32
  },
33
33
  emits: ["selectDatapoint"],
34
34
  setup(O, { emit: j }) {
35
- const U = Z(() => import("./PackageVersion-Cyx_s25h.js")), { vue_ui_sparkbar: R } = ge(), f = O, W = ee();
35
+ const U = Z(() => import("./PackageVersion-DQvyATVa.js")), { vue_ui_sparkbar: R } = ge(), f = O, W = ee();
36
36
  F(() => {
37
37
  W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
38
38
  });
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent as T, ref as b, toRefs as U, onMounted as N, computed as s, watch as M, createElementBlock as r, openBlock as u, normalizeStyle as g, createCommentVNode as d, createBlock as P, toDisplayString as k, unref as i, createVNode as q, createElementVNode as m, renderSlot as F, normalizeClass as V } from "vue";
2
- import { u as X, a as B } from "./useNestedProp-BjZe1Y85.js";
2
+ import { u as X, a as B } from "./useNestedProp-DjGXw6S9.js";
3
3
  import { c as Y, t as H, o as J, f as E, g as K, ae as Q, X as W, a as Z, x, d as ee } from "./lib-C_mNZmhD.js";
4
4
  import { u as te, B as ae } from "./BaseScanner-BgWxam9d.js";
5
5
  import { u as le } from "./useChartAccessibility-9icAAmYg.js";
@@ -25,7 +25,7 @@ const se = ["xmlns", "viewBox"], ue = ["width", "height"], ie = ["id"], ne = ["s
25
25
  }
26
26
  },
27
27
  setup(D) {
28
- const O = T(() => import("./PackageVersion-Cyx_s25h.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = te({
28
+ const O = T(() => import("./PackageVersion-DQvyATVa.js")), { vue_ui_sparkgauge: j } = X(), c = D, _ = b(Y()), e = b(p()), { loading: h, FINAL_DATASET: v } = te({
29
29
  ...U(c),
30
30
  FINAL_CONFIG: e,
31
31
  prepareConfig: p,
@@ -1,14 +1,14 @@
1
- import { useCssVars as pe, computed as k, defineAsyncComponent as me, ref as y, toRefs as be, onMounted as U, watch as X, nextTick as j, createElementBlock as s, openBlock as a, normalizeStyle as S, createCommentVNode as c, createBlock as G, createElementVNode as g, createTextVNode as _e, toDisplayString as p, unref as n, createVNode as xe, renderSlot as q, Fragment as d, renderList as h, normalizeClass as Y } from "vue";
2
- import { c as ke, t as Ce, o as Ae, f as P, g as we, s as m, a as J, d as K, X as $e, i as D } from "./lib-C_mNZmhD.js";
3
- import { t as Le, u as ze } from "./useResponsive-DfdjqQps.js";
4
- import { u as Se, a as Q } from "./useNestedProp-BjZe1Y85.js";
1
+ import { useCssVars as be, computed as x, defineAsyncComponent as pe, ref as h, toRefs as me, onMounted as X, watch as j, nextTick as G, createElementBlock as s, openBlock as a, normalizeStyle as M, createCommentVNode as d, createBlock as q, createElementVNode as g, createTextVNode as _e, toDisplayString as b, unref as n, createVNode as ke, renderSlot as Y, Fragment as y, renderList as f, normalizeClass as P } from "vue";
2
+ import { c as xe, t as Ce, o as Ae, f as J, g as we, s as p, a as K, d as Q, X as Le, i as H } from "./lib-C_mNZmhD.js";
3
+ import { t as $e, u as ze } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Se, a as Z } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as Me, B as Fe } from "./BaseScanner-BgWxam9d.js";
6
6
  import { u as Ie } from "./useFitSvgText-2crs6Fv5.js";
7
7
  import { u as Te } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { _ as Ee } from "./Shape-CNXKB8O0.js";
9
9
  import { t as Ne } from "./themes-AUNCOb2G.js";
10
10
  import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width", "height"], Re = ["id"], Be = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], Ge = ["stop-color"], qe = ["id"], Ye = ["stop-color"], Pe = ["stop-color"], Je = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], Ke = { key: 1 }, Qe = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ze = { key: 2 }, et = ["x", "y", "font-size", "font-weight", "fill"], tt = ["x", "y", "font-size", "fill"], lt = ["x", "y", "font-size", "fill"], at = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], st = {
11
+ const He = { key: 0 }, We = { key: 1 }, Ve = ["xmlns", "viewBox"], Oe = ["width", "height"], Re = ["id"], Be = ["stop-color"], Ue = ["stop-color"], Xe = ["id"], je = ["stop-color"], Ge = ["stop-color"], qe = ["id"], Ye = ["stop-color"], Pe = ["stop-color"], Je = ["height", "width", "fill", "x", "stroke", "stroke-width", "rx", "stroke-dasharray"], Ke = { key: 1 }, Qe = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ze = { key: 2 }, et = ["x", "y", "font-size", "font-weight", "fill"], tt = ["x", "y", "font-size", "fill"], lt = ["x", "y", "font-size", "fill"], at = ["height", "width", "x", "onMouseover", "onMouseleave", "onClick"], st = {
12
12
  __name: "vue-ui-sparkhistogram",
13
13
  props: {
14
14
  config: {
@@ -25,14 +25,14 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
25
25
  }
26
26
  },
27
27
  emits: ["selectDatapoint"],
28
- setup(Z, { emit: ee }) {
29
- pe((l) => ({
30
- v693dff61: ve.value
28
+ setup(ee, { emit: te }) {
29
+ be((l) => ({
30
+ v151ed470: ce.value
31
31
  }));
32
- const te = me(() => import("./PackageVersion-Cyx_s25h.js")), { vue_ui_sparkhistogram: le } = Se(), b = Z, _ = y(ke()), W = y(null), V = y(null), M = y(null), C = y(null), w = y(null), e = y(T()), { loading: H, FINAL_DATASET: A } = Me({
33
- ...be(b),
32
+ const le = pe(() => import("./PackageVersion-DQvyATVa.js")), { vue_ui_sparkhistogram: ae } = Se(), m = ee, _ = h(xe()), W = h(null), V = h(null), F = h(null), C = h(null), L = h(null), e = h(E()), { loading: O, FINAL_DATASET: A } = Me({
33
+ ...me(m),
34
34
  FINAL_CONFIG: e,
35
- prepareConfig: T,
35
+ prepareConfig: E,
36
36
  skeletonDataset: [
37
37
  { value: 1, intensity: 0.2, color: "#CACACA" },
38
38
  { value: 2, intensity: 0.3, color: "#CACACA" },
@@ -57,167 +57,167 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
57
57
  }
58
58
  }
59
59
  })
60
- }), F = y(e.value.style.layout.width), I = y(e.value.style.layout.height), { svgRef: O } = Te({ config: e.value.style.title });
61
- function T() {
62
- const l = Q({
63
- userConfig: b.config,
64
- defaultConfig: le
60
+ }), I = h(e.value.style.layout.width), T = h(e.value.style.layout.height), { svgRef: R } = Te({ config: e.value.style.title });
61
+ function E() {
62
+ const l = Z({
63
+ userConfig: m.config,
64
+ defaultConfig: ae
65
65
  });
66
66
  return l.theme ? {
67
- ...Q({
68
- userConfig: Ne.vue_ui_sparkhistogram[l.theme] || b.config,
67
+ ...Z({
68
+ userConfig: Ne.vue_ui_sparkhistogram[l.theme] || m.config,
69
69
  defaultConfig: l
70
70
  })
71
71
  } : l;
72
72
  }
73
- U(() => {
74
- B();
73
+ X(() => {
74
+ U();
75
75
  });
76
- const R = k(() => !!e.value.debug);
77
- function B() {
78
- if (Ae(b.dataset) ? P({
76
+ const B = x(() => !!e.value.debug);
77
+ function U() {
78
+ if (Ae(m.dataset) ? J({
79
79
  componentName: "VueUiSparkHistogram",
80
80
  type: "dataset",
81
- debug: R.value
82
- }) : b.dataset.forEach((l, o) => {
81
+ debug: B.value
82
+ }) : m.dataset.forEach((l, i) => {
83
83
  we({
84
84
  datasetObject: l,
85
85
  requiredAttributes: ["value"]
86
86
  }).forEach((t) => {
87
- P({
87
+ J({
88
88
  componentName: "VueUiSparkHistogram",
89
89
  type: "datasetSerieAttribute",
90
90
  property: t,
91
- index: o,
92
- debug: R.value
91
+ index: i,
92
+ debug: B.value
93
93
  });
94
94
  });
95
95
  }), e.value.responsive) {
96
- const l = Le(() => {
97
- const { width: o, height: t } = ze({
98
- chart: M.value,
96
+ const l = $e(() => {
97
+ const { width: i, height: t } = ze({
98
+ chart: F.value,
99
99
  title: e.value.style.title.text ? V.value : null,
100
100
  source: W.value
101
- });
101
+ }), o = e.value.style.labels.timeLabel.show ? e.value.style.labels.timeLabel.fontSize * 2 : 0, c = e.value.style.labels.valueLabel.show ? e.value.style.labels.valueLabel.fontSize * 2 : 0;
102
102
  requestAnimationFrame(() => {
103
- F.value = Math.max(10, o), I.value = Math.max(10, t - 12);
103
+ I.value = Math.max(10, i), T.value = Math.max(10, t - 12 - o - c);
104
104
  });
105
105
  });
106
- C.value && (w.value && C.value.unobserve(w.value), C.value.disconnect()), C.value = new ResizeObserver(l), w.value = M.value.parentNode, C.value.observe(w.value);
106
+ C.value && (L.value && C.value.unobserve(L.value), C.value.disconnect()), C.value = new ResizeObserver(l), L.value = F.value.parentNode, C.value.observe(L.value);
107
107
  }
108
108
  }
109
- X(() => b.config, (l) => {
110
- e.value = T(), B();
109
+ j(() => m.config, (l) => {
110
+ e.value = E(), U();
111
111
  }, { deep: !0 });
112
- const v = k(() => {
113
- const l = I.value, o = F.value, t = e.value.style.layout.padding.top, i = l - e.value.style.layout.padding.bottom, f = e.value.style.layout.padding.left, $ = o - e.value.style.layout.padding.right, L = t + (l - t - e.value.style.layout.padding.bottom) / 2, E = l - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom, z = o - e.value.style.layout.padding.left - e.value.style.layout.padding.right;
112
+ const v = x(() => {
113
+ const l = e.value.style.labels.timeLabel.show ? e.value.style.labels.timeLabel.fontSize * 2 : 0, i = e.value.style.labels.valueLabel.show ? e.value.style.labels.valueLabel.fontSize * 2 : 0, t = T.value + l + i, o = I.value, c = e.value.style.layout.padding.top, $ = t - e.value.style.layout.padding.bottom, z = e.value.style.layout.padding.left, N = o - e.value.style.layout.padding.right, S = c + (t - c - e.value.style.layout.padding.bottom) / 2, D = t - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - l - i, w = o - e.value.style.layout.padding.left - e.value.style.layout.padding.right;
114
114
  return {
115
- bottom: i,
116
- centerY: L,
117
- drawingHeight: E,
118
- drawingWidth: z,
119
- height: l,
120
- left: f,
121
- right: $,
122
- top: t,
115
+ bottom: $,
116
+ centerY: S,
117
+ drawingHeight: D,
118
+ drawingWidth: w,
119
+ height: t,
120
+ left: z,
121
+ right: N,
122
+ top: c,
123
123
  width: o
124
124
  };
125
- }), ae = k(() => Math.max(...A.value.map((l) => Math.abs(l.value || 0))));
126
- function se(l) {
127
- return Math.abs(l) / ae.value;
125
+ }), se = x(() => Math.max(...A.value.map((l) => Math.abs(l.value || 0))));
126
+ function oe(l) {
127
+ return Math.abs(l) / se.value;
128
128
  }
129
- const u = k(() => A.value.map((l, o) => {
130
- const t = se(l.value || 0), i = v.value.drawingHeight * t, f = v.value.drawingWidth / A.value.length, $ = f * (e.value.style.bars.gap / 100), L = f - $, E = v.value.centerY - i / 2, z = v.value.left + ($ / 2 + o * f), de = v.value.left + o * f, N = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), ye = l.color ? l.color : l.value >= 0 ? m(e.value.style.bars.colors.positive, N) : m(e.value.style.bars.colors.negative, N), he = l.color ? l.color : l.value >= 0 ? e.value.style.bars.colors.positive : e.value.style.bars.colors.negative, fe = l.color ? `url(#gradient_datapoint_${o}_${_.value})` : l.value >= 0 ? `url(#gradient_positive_${o}_${_.value})` : `url(#gradient_negative_${o}_${_.value})`, ge = z + L / 2;
129
+ const u = x(() => A.value.map((l, i) => {
130
+ const t = oe(l.value || 0), o = v.value.drawingHeight * t, c = v.value.drawingWidth / A.value.length, $ = c * (e.value.style.bars.gap / 100), z = c - $, N = v.value.centerY - o / 2, S = v.value.left + ($ / 2 + i * c), D = v.value.left + i * c, w = typeof l.intensity > "u" ? 100 : Math.round(l.intensity * 100), ye = l.color ? l.color : l.value >= 0 ? p(e.value.style.bars.colors.positive, w) : p(e.value.style.bars.colors.negative, w), he = l.color ? l.color : l.value >= 0 ? e.value.style.bars.colors.positive : e.value.style.bars.colors.negative, fe = l.color ? `url(#gradient_datapoint_${i}_${_.value})` : l.value >= 0 ? `url(#gradient_positive_${i}_${_.value})` : `url(#gradient_negative_${i}_${_.value})`, ge = S + z / 2;
131
131
  return {
132
132
  ...l,
133
133
  color: ye,
134
134
  gradient: fe,
135
- height: i,
136
- intensity: N,
135
+ height: o,
136
+ intensity: w,
137
137
  proportion: t,
138
138
  stroke: he,
139
139
  textAnchor: ge,
140
- trapX: de,
141
- unitWidth: f,
142
- width: L,
143
- x: z,
144
- y: E
140
+ trapX: D,
141
+ unitWidth: c,
142
+ width: z,
143
+ x: S,
144
+ y: N
145
145
  };
146
146
  }));
147
- function oe(l, o) {
148
- return J(
147
+ function ie(l, i) {
148
+ return K(
149
149
  e.value.style.labels.value.formatter,
150
150
  l.value,
151
- K({
151
+ Q({
152
152
  p: e.value.style.labels.value.prefix,
153
153
  v: l.value,
154
154
  s: e.value.style.labels.value.suffix,
155
155
  r: e.value.style.labels.value.rounding
156
156
  }),
157
- { datapoint: l, seriesIndex: o }
157
+ { datapoint: l, seriesIndex: i }
158
158
  );
159
159
  }
160
- const r = y(null), ie = ee;
161
- function ue(l, o) {
162
- ie("selectDatapoint", { datapoint: l, index: o }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: o });
160
+ const r = h(null), ue = te;
161
+ function ne(l, i) {
162
+ ue("selectDatapoint", { datapoint: l, index: i }), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: l, seriesIndex: i });
163
163
  }
164
- function ne(l, o) {
165
- r.value = o, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: o });
164
+ function re(l, i) {
165
+ r.value = i, e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: l, seriesIndex: i });
166
166
  }
167
- function re(l, o) {
168
- r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: o });
167
+ function ve(l, i) {
168
+ r.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: l, seriesIndex: i });
169
169
  }
170
- const ve = k(() => `${e.value.style.animation.speedMs}ms`), ce = k(() => v.value.drawingWidth / A.value.length * 0.9), { fitText: x } = Ie({
171
- svgRef: O,
172
- unitWidth: ce
170
+ const ce = x(() => `${e.value.style.animation.speedMs}ms`), de = x(() => v.value.drawingWidth / A.value.length * 0.9), { fitText: k } = Ie({
171
+ svgRef: R,
172
+ unitWidth: de
173
173
  });
174
- return U(async () => {
175
- await j(), x(".vue-ui-sparkhistogram-top-label", e.value.style.labels.value.minFontSize), x(".vue-ui-sparkhistogram-bottom-label", e.value.style.labels.valueLabel.minFontSize), x(".vue-ui-sparkhistogram-time-label", e.value.style.labels.timeLabel.minFontSize);
176
- }), X([F, I, () => A.value], async () => {
177
- await j(), x(".vue-ui-sparkhistogram-top-label", e.value.style.labels.value.minFontSize), x(".vue-ui-sparkhistogram-bottom-label", e.value.style.labels.valueLabel.minFontSize), x(".vue-ui-sparkhistogram-time-label", e.value.style.labels.timeLabel.minFontSize);
178
- }), (l, o) => (a(), s("div", {
174
+ return X(async () => {
175
+ await G(), k(".vue-ui-sparkhistogram-top-label", e.value.style.labels.value.minFontSize), k(".vue-ui-sparkhistogram-bottom-label", e.value.style.labels.valueLabel.minFontSize), k(".vue-ui-sparkhistogram-time-label", e.value.style.labels.timeLabel.minFontSize);
176
+ }), j([I, T, () => A.value], async () => {
177
+ await G(), k(".vue-ui-sparkhistogram-top-label", e.value.style.labels.value.minFontSize), k(".vue-ui-sparkhistogram-bottom-label", e.value.style.labels.valueLabel.minFontSize), k(".vue-ui-sparkhistogram-time-label", e.value.style.labels.timeLabel.minFontSize);
178
+ }), (l, i) => (a(), s("div", {
179
179
  class: "vue-data-ui-component vue-ui-spark-histogram",
180
180
  ref_key: "histogramChart",
181
- ref: M,
182
- style: S(`width:100%;background:${e.value.style.backgroundColor};font-family:${e.value.style.fontFamily}`),
183
- onMouseleave: o[0] || (o[0] = (t) => r.value = null)
181
+ ref: F,
182
+ style: M(`width:100%;background:${e.value.style.backgroundColor};font-family:${e.value.style.fontFamily}`),
183
+ onMouseleave: i[0] || (i[0] = (t) => r.value = null)
184
184
  }, [
185
185
  e.value.style.title.text ? (a(), s("div", {
186
186
  key: 0,
187
187
  ref_key: "chartTitle",
188
188
  ref: V,
189
- style: S(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${e.value.style.title.margin};padding: 0 6px;text-align:${e.value.style.title.textAlign}`)
189
+ style: M(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${e.value.style.title.margin};padding: 0 6px;text-align:${e.value.style.title.textAlign}`)
190
190
  }, [
191
191
  g("div", {
192
- style: S(`font-size:${e.value.style.title.fontSize}px;color:${e.value.style.title.color};font-weight:${e.value.style.title.bold ? "bold" : "normal"}`)
192
+ style: M(`font-size:${e.value.style.title.fontSize}px;color:${e.value.style.title.color};font-weight:${e.value.style.title.bold ? "bold" : "normal"}`)
193
193
  }, [
194
- _e(p(e.value.style.title.text) + " ", 1),
195
- r.value !== null ? (a(), s("span", We, "- " + p(u.value[r.value].timeLabel || "") + " " + p(n(J)(
194
+ _e(b(e.value.style.title.text) + " ", 1),
195
+ r.value !== null ? (a(), s("span", He, "- " + b(u.value[r.value].timeLabel || "") + " " + b(n(K)(
196
196
  e.value.style.labels.value.formatter,
197
197
  u.value[r.value].value,
198
- n(K)({
198
+ n(Q)({
199
199
  p: e.value.style.labels.value.prefix,
200
200
  v: u.value[r.value].value,
201
201
  s: e.value.style.labels.value.suffix,
202
202
  r: e.value.style.labels.value.rounding
203
203
  }),
204
204
  { datapoint: u.value[r.value], seriesIndex: r.value }
205
- )), 1)) : c("", !0),
206
- ![void 0, null].includes(r.value) && ![null, void 0].includes(u.value[r.value].valueLabel) ? (a(), s("span", Ve, "(" + p(u.value[r.value].valueLabel || 0) + ")", 1)) : c("", !0)
205
+ )), 1)) : d("", !0),
206
+ ![void 0, null].includes(r.value) && ![null, void 0].includes(u.value[r.value].valueLabel) ? (a(), s("span", We, b(` (${u.value[r.value].valueLabel || 0})`), 1)) : d("", !0)
207
207
  ], 4),
208
208
  e.value.style.title.subtitle.text ? (a(), s("div", {
209
209
  key: 0,
210
- style: S(`font-size:${e.value.style.title.subtitle.fontSize}px;color:${e.value.style.title.subtitle.color};font-weight:${e.value.style.title.subtitle.bold ? "bold" : "normal"}`)
211
- }, p(e.value.style.title.subtitle.text), 5)) : c("", !0)
212
- ], 4)) : c("", !0),
210
+ style: M(`font-size:${e.value.style.title.subtitle.fontSize}px;color:${e.value.style.title.subtitle.color};font-weight:${e.value.style.title.subtitle.bold ? "bold" : "normal"}`)
211
+ }, b(e.value.style.title.subtitle.text), 5)) : d("", !0)
212
+ ], 4)) : d("", !0),
213
213
  (a(), s("svg", {
214
214
  ref_key: "svgRef",
215
- ref: O,
216
- xmlns: n($e),
215
+ ref: R,
216
+ xmlns: n(Le),
217
217
  viewBox: `0 0 ${v.value.width} ${v.value.height}`,
218
218
  style: { overflow: "visible" }
219
219
  }, [
220
- xe(n(te)),
220
+ ke(n(le)),
221
221
  l.$slots["chart-background"] ? (a(), s("foreignObject", {
222
222
  key: 0,
223
223
  x: 0,
@@ -228,11 +228,11 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
228
228
  pointerEvents: "none"
229
229
  }
230
230
  }, [
231
- q(l.$slots, "chart-background", {}, void 0, !0)
232
- ], 8, Oe)) : c("", !0),
231
+ Y(l.$slots, "chart-background", {}, void 0, !0)
232
+ ], 8, Oe)) : d("", !0),
233
233
  g("defs", null, [
234
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("radialGradient", {
235
- id: `gradient_positive_${i}_${_.value}`,
234
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("radialGradient", {
235
+ id: `gradient_positive_${o}_${_.value}`,
236
236
  cy: "50%",
237
237
  cx: "50%",
238
238
  r: "50%",
@@ -241,15 +241,15 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
241
241
  }, [
242
242
  g("stop", {
243
243
  offset: "0%",
244
- "stop-color": n(m)(n(D)(e.value.style.bars.colors.positive, 0.05), t.intensity)
244
+ "stop-color": n(p)(n(H)(e.value.style.bars.colors.positive, 0.05), t.intensity)
245
245
  }, null, 8, Be),
246
246
  g("stop", {
247
247
  offset: "100%",
248
- "stop-color": n(m)(e.value.style.bars.colors.positive, t.intensity)
248
+ "stop-color": n(p)(e.value.style.bars.colors.positive, t.intensity)
249
249
  }, null, 8, Ue)
250
250
  ], 8, Re))), 256)),
251
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("radialGradient", {
252
- id: `gradient_negative_${i}_${_.value}`,
251
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("radialGradient", {
252
+ id: `gradient_negative_${o}_${_.value}`,
253
253
  cy: "50%",
254
254
  cx: "50%",
255
255
  r: "50%",
@@ -258,15 +258,15 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
258
258
  }, [
259
259
  g("stop", {
260
260
  offset: "0%",
261
- "stop-color": n(m)(n(D)(e.value.style.bars.colors.negative, 0.05), t.intensity)
261
+ "stop-color": n(p)(n(H)(e.value.style.bars.colors.negative, 0.05), t.intensity)
262
262
  }, null, 8, je),
263
263
  g("stop", {
264
264
  offset: "100%",
265
- "stop-color": n(m)(e.value.style.bars.colors.negative, t.intensity)
265
+ "stop-color": n(p)(e.value.style.bars.colors.negative, t.intensity)
266
266
  }, null, 8, Ge)
267
267
  ], 8, Xe))), 256)),
268
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("radialGradient", {
269
- id: `gradient_datapoint_${i}_${_.value}`,
268
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("radialGradient", {
269
+ id: `gradient_datapoint_${o}_${_.value}`,
270
270
  cy: "50%",
271
271
  cx: "50%",
272
272
  r: "50%",
@@ -275,16 +275,16 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
275
275
  }, [
276
276
  g("stop", {
277
277
  offset: "0%",
278
- "stop-color": n(m)(n(D)(t.color, 0.05), t.intensity)
278
+ "stop-color": n(p)(n(H)(t.color, 0.05), t.intensity)
279
279
  }, null, 8, Ye),
280
280
  g("stop", {
281
281
  offset: "100%",
282
- "stop-color": n(m)(t.color, t.intensity)
282
+ "stop-color": n(p)(t.color, t.intensity)
283
283
  }, null, 8, Pe)
284
284
  ], 8, qe))), 256))
285
285
  ]),
286
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("g", null, [
287
- r.value !== null && r.value === i ? (a(), s("rect", {
286
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("g", null, [
287
+ r.value !== null && r.value === o ? (a(), s("rect", {
288
288
  key: 0,
289
289
  height: v.value.height,
290
290
  width: t.unitWidth,
@@ -295,10 +295,10 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
295
295
  "stroke-width": e.value.style.selector.strokeWidth,
296
296
  rx: e.value.style.selector.borderRadius,
297
297
  "stroke-dasharray": e.value.style.selector.strokeDasharray
298
- }, null, 8, Je)) : c("", !0)
298
+ }, null, 8, Je)) : d("", !0)
299
299
  ]))), 256)),
300
300
  !e.value.style.bars.shape || e.value.style.bars.shape === "square" ? (a(), s("g", Ke, [
301
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("rect", {
301
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("rect", {
302
302
  x: t.x,
303
303
  y: t.y,
304
304
  height: t.height,
@@ -307,29 +307,32 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
307
307
  stroke: t.stroke,
308
308
  "stroke-width": e.value.style.bars.strokeWidth,
309
309
  rx: `${e.value.style.bars.borderRadius * t.proportion / 12}%`,
310
- class: Y({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
310
+ class: P({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
311
311
  }, null, 10, Qe))), 256))
312
312
  ])) : (a(), s("g", Ze, [
313
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), G(Ee, {
313
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), q(Ee, {
314
314
  plot: { x: t.x + t.width / 2, y: t.y + t.height / 2 },
315
315
  color: e.value.style.bars.colors.gradient.show ? t.gradient : t.color,
316
316
  shape: e.value.style.bars.shape,
317
317
  radius: Math.min(t.height * 0.4, t.width * 0.4),
318
- class: Y({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
318
+ class: P({ "vue-ui-sparkhistogram-shape": e.value.style.animation.show })
319
319
  }, null, 8, ["plot", "color", "shape", "radius", "class"]))), 256))
320
320
  ])),
321
- n(H) ? c("", !0) : (a(), s(d, { key: 3 }, [
322
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("text", {
323
- class: "vue-ui-sparkhistogram-top-label",
324
- "text-anchor": "middle",
325
- x: t.textAnchor,
326
- y: t.y - e.value.style.labels.value.fontSize / 3 + e.value.style.labels.value.offsetY,
327
- "font-size": e.value.style.labels.value.fontSize,
328
- "font-weight": e.value.style.labels.value.bold ? "bold" : "normal",
329
- fill: e.value.style.labels.value.color
330
- }, p(oe(t, i)), 9, et))), 256)),
331
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("g", null, [
332
- t.valueLabel ? (a(), s("text", {
321
+ n(O) ? d("", !0) : (a(), s(y, { key: 3 }, [
322
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("g", null, [
323
+ e.value.style.labels.value.show ? (a(), s("text", {
324
+ key: 0,
325
+ class: "vue-ui-sparkhistogram-top-label",
326
+ "text-anchor": "middle",
327
+ x: t.textAnchor,
328
+ y: t.y - e.value.style.labels.value.fontSize / 3 + e.value.style.labels.value.offsetY,
329
+ "font-size": e.value.style.labels.value.fontSize,
330
+ "font-weight": e.value.style.labels.value.bold ? "bold" : "normal",
331
+ fill: e.value.style.labels.value.color
332
+ }, b(ie(t, o)), 9, et)) : d("", !0)
333
+ ]))), 256)),
334
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("g", null, [
335
+ t.valueLabel && e.value.style.labels.valueLabel.show ? (a(), s("text", {
333
336
  key: 0,
334
337
  class: "vue-ui-sparkhistogram-bottom-label",
335
338
  x: t.textAnchor,
@@ -337,45 +340,45 @@ const We = { key: 0 }, Ve = { key: 1 }, He = ["xmlns", "viewBox"], Oe = ["width"
337
340
  "font-size": e.value.style.labels.valueLabel.fontSize,
338
341
  "text-anchor": "middle",
339
342
  fill: e.value.style.labels.valueLabel.color
340
- }, p(t.valueLabel), 9, tt)) : c("", !0)
343
+ }, b(t.valueLabel), 9, tt)) : d("", !0)
341
344
  ]))), 256)),
342
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("g", null, [
343
- t.timeLabel ? (a(), s("text", {
345
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("g", null, [
346
+ t.timeLabel && e.value.style.labels.timeLabel.show ? (a(), s("text", {
344
347
  key: 0,
345
348
  class: "vue-ui-sparkhistogram-time-label",
346
349
  x: t.textAnchor,
347
- y: v.value.height - e.value.style.labels.timeLabel.fontSize / 2,
350
+ y: v.value.height,
348
351
  "font-size": e.value.style.labels.timeLabel.fontSize,
349
352
  fill: e.value.style.labels.timeLabel.color,
350
353
  "text-anchor": "middle"
351
- }, p(t.timeLabel), 9, lt)) : c("", !0)
354
+ }, b(t.timeLabel), 9, lt)) : d("", !0)
352
355
  ]))), 256))
353
356
  ], 64)),
354
- (a(!0), s(d, null, h(u.value, (t, i) => (a(), s("g", null, [
357
+ (a(!0), s(y, null, f(u.value, (t, o) => (a(), s("g", null, [
355
358
  g("rect", {
356
359
  height: v.value.height,
357
360
  width: t.unitWidth,
358
361
  fill: "transparent",
359
362
  x: t.trapX,
360
363
  y: 0,
361
- onMouseover: (f) => ne(t, i),
362
- onMouseleave: (f) => re(t, i),
363
- onClick: () => ue(t, i)
364
+ onMouseover: (c) => re(t, o),
365
+ onMouseleave: (c) => ve(t, o),
366
+ onClick: () => ne(t, o)
364
367
  }, null, 40, at)
365
368
  ]))), 256))
366
- ], 8, He)),
369
+ ], 8, Ve)),
367
370
  l.$slots.source ? (a(), s("div", {
368
371
  key: 1,
369
372
  ref_key: "source",
370
373
  ref: W,
371
374
  dir: "auto"
372
375
  }, [
373
- q(l.$slots, "source", {}, void 0, !0)
374
- ], 512)) : c("", !0),
375
- n(H) ? (a(), G(Fe, { key: 2 })) : c("", !0)
376
+ Y(l.$slots, "source", {}, void 0, !0)
377
+ ], 512)) : d("", !0),
378
+ n(O) ? (a(), q(Fe, { key: 2 })) : d("", !0)
376
379
  ], 36));
377
380
  }
378
- }, ft = /* @__PURE__ */ De(st, [["__scopeId", "data-v-df871618"]]);
381
+ }, ft = /* @__PURE__ */ De(st, [["__scopeId", "data-v-7f6b6b54"]]);
379
382
  export {
380
383
  ft as default
381
384
  };
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as he, computed as h, ref as y, toRefs as Pe, watch as J, shallowRef as fe, onMounted as Re, onBeforeUnmount as ye, createElementBlock as c, openBlock as n, normalizeStyle as D, renderSlot as S, createCommentVNode as f, createBlock as pe, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as T, unref as s, createVNode as Fe, Fragment as Q, renderList as ee, withCtx as Ee, createTextVNode as Oe, nextTick as Be } from "vue";
2
2
  import { c as Ge, t as je, O as be, af as te, o as ke, f as xe, g as Ue, i as W, L as Xe, ag as Ye, X as qe, s as P, z as _e, B as Ze, r as we, a as ae, d as le, ah as Ke } from "./lib-C_mNZmhD.js";
3
- import { u as He, a as Le } from "./useNestedProp-BjZe1Y85.js";
3
+ import { u as He, a as Le } from "./useNestedProp-DjGXw6S9.js";
4
4
  import { t as Je, u as Qe } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as et } from "./useChartAccessibility-9icAAmYg.js";
6
6
  import { u as tt, B as at } from "./BaseScanner-BgWxam9d.js";
@@ -41,7 +41,7 @@ const st = ["id"], nt = ["xmlns", "viewBox"], rt = ["width", "height"], it = ["i
41
41
  },
42
42
  emits: ["hoverIndex", "selectDatapoint"],
43
43
  setup($, { emit: Ae }) {
44
- const $e = he(() => import("./PackageVersion-Cyx_s25h.js")), Ne = he(() => import("./SparkTooltip-BEewz-_Q.js")), { vue_ui_sparkline: Me } = He(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(Ge()), R = y(null), oe = y(null), se = y(null), e = y(O());
44
+ const $e = he(() => import("./PackageVersion-DQvyATVa.js")), Ne = he(() => import("./SparkTooltip-BEewz-_Q.js")), { vue_ui_sparkline: Me } = He(), r = $, ue = h(() => Array.isArray(r.dataset) && r.dataset.length > 0), g = y(Ge()), R = y(null), oe = y(null), se = y(null), e = y(O());
45
45
  function Ce(t) {
46
46
  return Ke(t).map((a) => ({ period: "-", value: a }));
47
47
  }