vue-data-ui 2.12.8-beta.3 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -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
- import { u as F, Q as B, X as u, s as v, Z as O } from "./index-CH_mJIWj.js";
3
- import { u as V } from "./useNestedProp-rMR-JeOJ.js";
4
- import y from "./PackageVersion-ClpqQxYT.js";
2
+ import { u as F, Q as B, X as u, s as v, Z as O } from "./index-BXbyT0Qn.js";
3
+ import { u as V } from "./useNestedProp-DVZpeH84.js";
4
+ import y from "./PackageVersion-C5fpg4GN.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"], u1 = ["stroke"], c1 = ["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"], ul = ["stroke", "fill"], cl = ["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"], u0 = ["stroke"], c0 = ["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"], ut = ["stroke", "stroke-width"], ct = ["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"], ue = ["x", "y", "fill"], ce = ["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 d, createElementVNode as l, toDisplayString as c, unref as o, withKeys as z, normalizeClass as M, createTextVNode as S, createStaticVNode as $ } from "vue";
2
- import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-CH_mJIWj.js";
3
- import { u as Q } from "./useNestedProp-rMR-JeOJ.js";
2
+ import { u as P, o as q, e as J, i as x, f as b, X as f, w as k } from "./index-BXbyT0Qn.js";
3
+ import { u as Q } from "./useNestedProp-DVZpeH84.js";
4
4
  import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const Z = {
6
6
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as M, computed as s, ref as k, watch as D, onMounted as ee, createElementBlock as r, openBlock as o, normalizeStyle as te, createBlock as L, createCommentVNode as i, unref as u, createVNode as ae, createElementVNode as _, renderSlot as O, toDisplayString as G } from "vue";
2
- import { u as le, c as ne, a as oe, a1 as I, o as se, e as ue, v as c, a2 as re, X as ie, s as F, U, f as P, i as de } from "./index-CH_mJIWj.js";
3
- import { u as q } from "./useNestedProp-rMR-JeOJ.js";
2
+ import { u as le, c as ne, a as oe, a1 as I, o as se, e as ue, v as c, a2 as re, X as ie, s as F, U, f as P, i as de } from "./index-BXbyT0Qn.js";
3
+ import { u as q } from "./useNestedProp-DVZpeH84.js";
4
4
  import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["id"], pe = ["stop-color"], ge = ["stop-color"], me = { key: 1 }, ke = ["d", "fill"], _e = ["d", "fill"], be = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], we = ["d", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"], xe = ["height", "width", "x"], Ce = { style: { width: "100%" } }, Le = ["x", "y", "fill", "font-size", "font-weight"], $e = ["stroke", "cx", "cy", "fill"], Ne = ["x", "y", "font-size", "fill", "font-weight"], Te = {
6
6
  key: 2,
@@ -23,7 +23,7 @@ const he = ["id"], ce = ["xmlns", "viewBox"], ye = ["width", "height"], fe = ["i
23
23
  }
24
24
  },
25
25
  setup(W) {
26
- const $ = M(() => import("./BaseIcon-DaR0sIWZ.js")), X = M(() => import("./PackageVersion-ClpqQxYT.js")), Z = M(() => import("./vue-ui-skeleton-C6PWt_m5.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
26
+ const $ = M(() => import("./BaseIcon-P7wV92Er.js")), X = M(() => import("./PackageVersion-C5fpg4GN.js")), Z = M(() => import("./vue-ui-skeleton-Fxr752Oi.js")), { vue_ui_spark_trend: R } = le(), d = W, H = s(() => !!d.dataset && d.dataset.length), b = k(ne()), e = s({
27
27
  get: () => j(),
28
28
  set: (t) => t
29
29
  });
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as V, useSlots as R, onMounted as z, computed as g, ref as k, watch as L, nextTick as Y, createElementBlock as c, openBlock as u, normalizeStyle as p, unref as o, renderSlot as _, createCommentVNode as v, createBlock as Z, normalizeProps as ee, mergeProps as O, createElementVNode as d, toDisplayString as f, Fragment as T, renderList as te, createVNode as le } from "vue";
2
- import { u as ae, c as oe, t as se, p as x, a as ne, b as ue, o as re, e as E, g as ie, d as ce, s as $, i as b, f as w, X as ve, w as de } from "./index-CH_mJIWj.js";
3
- import { u as B } from "./useNestedProp-rMR-JeOJ.js";
2
+ import { u as ae, c as oe, t as se, p as x, a as ne, b as ue, o as re, e as E, g as ie, d as ce, s as $, i as b, f as w, X as ve, w as de } from "./index-BXbyT0Qn.js";
3
+ import { u as B } from "./useNestedProp-DVZpeH84.js";
4
4
  const pe = ["onClick"], fe = { key: 1 }, ye = ["xmlns", "viewBox"], me = ["id"], ge = ["stop-color"], he = ["stop-color"], ke = ["height", "width", "fill", "rx"], xe = ["height", "width", "fill", "rx"], be = ["height", "width", "fill", "rx"], we = {
5
5
  key: 2,
6
6
  ref: "source",
@@ -30,7 +30,7 @@ const pe = ["onClick"], fe = { key: 1 }, ye = ["xmlns", "viewBox"], me = ["id"],
30
30
  },
31
31
  emits: ["selectDatapoint"],
32
32
  setup(C, { emit: M }) {
33
- const U = V(() => import("./PackageVersion-ClpqQxYT.js")), j = V(() => import("./vue-ui-skeleton-C6PWt_m5.js")), { vue_ui_sparkbar: G } = ae(), a = C, W = R();
33
+ const U = V(() => import("./PackageVersion-C5fpg4GN.js")), j = V(() => import("./vue-ui-skeleton-Fxr752Oi.js")), { vue_ui_sparkbar: G } = ae(), a = C, W = R();
34
34
  z(() => {
35
35
  W["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
36
36
  });
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as A, computed as s, onMounted as N, ref as M, watch as S, createElementBlock as r, openBlock as n, normalizeStyle as y, createCommentVNode as v, createBlock as U, toDisplayString as g, unref as i, createVNode as P, createElementVNode as d, renderSlot as z, normalizeClass as q } from "vue";
2
- import { u as O } from "./useNestedProp-rMR-JeOJ.js";
3
- import { u as T, o as V, e as j, g as X, c as H, a as Y, O as J, X as K, i as Q, v as m, f as W } from "./index-CH_mJIWj.js";
2
+ import { u as O } from "./useNestedProp-DVZpeH84.js";
3
+ import { u as T, o as V, e as j, g as X, c as H, a as Y, O as J, X as K, i as Q, v as m, f as W } from "./index-BXbyT0Qn.js";
4
4
  import { u as Z } from "./useChartAccessibility-9icAAmYg.js";
5
5
  const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["stop-color"], oe = ["stop-color"], se = ["d", "stroke", "stroke-linecap"], ue = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], ne = ["x", "y", "font-size", "fill", "font-weight"], ie = {
6
6
  key: 4,
@@ -23,7 +23,7 @@ const ee = ["xmlns", "viewBox"], te = ["width", "height"], ae = ["id"], le = ["s
23
23
  }
24
24
  },
25
25
  setup(E) {
26
- const F = A(() => import("./PackageVersion-ClpqQxYT.js")), B = A(() => import("./vue-ui-skeleton-C6PWt_m5.js")), { vue_ui_sparkgauge: D } = T(), a = E, p = s(() => !!a.dataset && Object.keys(a.dataset).length);
26
+ const F = A(() => import("./PackageVersion-C5fpg4GN.js")), B = A(() => import("./vue-ui-skeleton-Fxr752Oi.js")), { vue_ui_sparkgauge: D } = T(), a = E, p = s(() => !!a.dataset && Object.keys(a.dataset).length);
27
27
  N(() => {
28
28
  h();
29
29
  });
@@ -1,8 +1,8 @@
1
1
  import { useCssVars as le, computed as _, defineAsyncComponent as N, onMounted as ae, ref as D, watch as se, createElementBlock as s, openBlock as a, normalizeStyle as $, createCommentVNode as c, createBlock as V, createElementVNode as h, createTextVNode as oe, toDisplayString as p, unref as n, createVNode as ie, renderSlot as I, Fragment as f, renderList as g, normalizeClass as E } from "vue";
2
- import { u as ue, o as re, e as H, g as ne, c as ve, a as de, s as b, i as F, f as O, X as ce, w as z } from "./index-CH_mJIWj.js";
3
- import { u as W } from "./useNestedProp-rMR-JeOJ.js";
2
+ import { u as ue, o as re, e as H, g as ne, c as ve, a as de, s as b, i as F, f as O, X as ce, w as z } from "./index-BXbyT0Qn.js";
3
+ import { u as W } from "./useNestedProp-DVZpeH84.js";
4
4
  import { u as ye } from "./useChartAccessibility-9icAAmYg.js";
5
- import { _ as he } from "./Shape-DEWxbZ-l.js";
5
+ import { _ as he } from "./Shape-CnD-h_98.js";
6
6
  import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
7
  const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width", "height"], _e = ["id"], xe = ["stop-color"], ke = ["stop-color"], we = ["id"], $e = ["stop-color"], Ce = ["stop-color"], Le = ["id"], ze = ["stop-color"], Se = ["stop-color"], Ae = { key: 1 }, Me = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ne = { key: 2 }, De = ["x", "y", "font-size", "font-weight", "fill"], Ve = ["x", "y", "font-size", "fill"], Ie = ["x", "y", "font-size", "fill"], Ee = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray", "onClick"], He = {
8
8
  key: 2,
@@ -29,7 +29,7 @@ const ge = { key: 0 }, pe = { key: 1 }, be = ["xmlns", "viewBox"], me = ["width"
29
29
  le((l) => ({
30
30
  "2d6ebc7a": J.value
31
31
  }));
32
- const j = N(() => import("./PackageVersion-ClpqQxYT.js")), R = N(() => import("./vue-ui-skeleton-C6PWt_m5.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
32
+ const j = N(() => import("./PackageVersion-C5fpg4GN.js")), R = N(() => import("./vue-ui-skeleton-Fxr752Oi.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
33
33
  ae(() => {
34
34
  A();
35
35
  });
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as O, computed as h, ref as m, watch as Q, shallowRef as ee, onMounted as ke, onBeforeUnmount as xe, createElementBlock as v, openBlock as n, normalizeStyle as S, renderSlot as M, createCommentVNode as y, createBlock as te, normalizeProps as ae, guardReactiveProps as le, createElementVNode as f, toDisplayString as z, unref as i, createVNode as _e, Fragment as B, renderList as E, withCtx as we, createTextVNode as Le } from "vue";
2
- import { u as $e, c as Ne, a as Ce, C as ue, a3 as F, o as Me, e as oe, g as Ie, w as A, a4 as Ve, a5 as Se, X as ze, s as W, U as se, T as Ae, a6 as re, i as G, f as U } from "./index-CH_mJIWj.js";
3
- import { u as ne } from "./useNestedProp-rMR-JeOJ.js";
2
+ import { u as $e, c as Ne, a as Ce, C as ue, a3 as F, o as Me, e as oe, g as Ie, w as A, a4 as Ve, a5 as Se, X as ze, s as W, U as se, T as Ae, a6 as re, i as G, f as U } from "./index-BXbyT0Qn.js";
3
+ import { u as ne } from "./useNestedProp-DVZpeH84.js";
4
4
  import { t as We, u as Pe } from "./useResponsive-JZ9xq-JV.js";
5
5
  import { u as Re } from "./useChartAccessibility-9icAAmYg.js";
6
6
  import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -38,7 +38,7 @@ const Te = ["id"], Oe = ["xmlns", "viewBox"], Be = ["width", "height"], Ee = ["i
38
38
  },
39
39
  emits: ["hoverIndex", "selectDatapoint"],
40
40
  setup(_, { emit: ie }) {
41
- const de = O(() => import("./vue-ui-skeleton-C6PWt_m5.js")), ve = O(() => import("./PackageVersion-ClpqQxYT.js")), ce = O(() => import("./SparkTooltip-LPnbBoFu.js")), { vue_ui_sparkline: he } = $e(), s = _, I = h(() => Array.isArray(s.dataset) && s.dataset.length > 0), p = m(Ne()), P = m(null), j = m(null), X = m(null), e = h({
41
+ const de = O(() => import("./vue-ui-skeleton-Fxr752Oi.js")), ve = O(() => import("./PackageVersion-C5fpg4GN.js")), ce = O(() => import("./SparkTooltip-BIAMOmfJ.js")), { vue_ui_sparkline: he } = $e(), s = _, I = h(() => Array.isArray(s.dataset) && s.dataset.length > 0), p = m(Ne()), P = m(null), j = m(null), X = m(null), e = h({
42
42
  get: () => q(),
43
43
  set: (t) => t
44
44
  }), { svgRef: Y } = Re({ config: e.value.style.title });
@@ -1,6 +1,6 @@
1
1
  import { defineAsyncComponent as V, useSlots as pe, onMounted as G, computed as b, ref as d, watch as q, createElementBlock as r, openBlock as s, normalizeStyle as v, createCommentVNode as y, createBlock as ge, createVNode as H, createElementVNode as p, toDisplayString as C, unref as m, Fragment as x, renderList as $, normalizeClass as D, withCtx as X, renderSlot as T, normalizeProps as J, guardReactiveProps as K } from "vue";
2
- import { u as fe, c as Q, t as he, p as i, a as ye, d as F, b as me, o as be, e as Z, g as ke, f as U, X as _e, s as we, w as Ce, i as ee, x as xe } from "./index-CH_mJIWj.js";
3
- import { u as te } from "./useNestedProp-rMR-JeOJ.js";
2
+ import { u as fe, c as Q, t as he, p as i, a as ye, d as F, b as me, o as be, e as Z, g as ke, f as U, X as _e, s as we, w as Ce, i as ee, x as xe } from "./index-BXbyT0Qn.js";
3
+ import { u as te } from "./useNestedProp-DVZpeH84.js";
4
4
  import { u as $e } from "./useChartAccessibility-9icAAmYg.js";
5
5
  import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-color"], Fe = ["stop-color"], Ne = {
@@ -31,7 +31,7 @@ const Pe = ["xmlns", "viewBox"], ze = ["id"], Ae = ["stop-color"], De = ["stop-c
31
31
  },
32
32
  emits: ["selectDatapoint"],
33
33
  setup(le, { emit: oe }) {
34
- const ae = V(() => import("./PackageVersion-ClpqQxYT.js")), se = V(() => import("./vue-ui-skeleton-C6PWt_m5.js")), re = V(() => import("./Tooltip-BuHsMAfp.js")), { vue_ui_sparkstackbar: ne } = fe(), u = le, ue = pe();
34
+ const ae = V(() => import("./PackageVersion-C5fpg4GN.js")), se = V(() => import("./vue-ui-skeleton-Fxr752Oi.js")), re = V(() => import("./Tooltip-DYCBNM-_.js")), { vue_ui_sparkstackbar: ne } = fe(), u = le, ue = pe();
35
35
  G(() => {
36
36
  ue["chart-background"] && console.warn("VueUiSparkStackbar does not support the #chart-background slot.");
37
37
  });
@@ -1,14 +1,14 @@
1
- import { defineAsyncComponent as Y, useSlots as Yt, computed as w, ref as m, onMounted as rt, watch as ot, shallowRef as st, onBeforeUnmount as Xt, nextTick as ye, createElementBlock as s, openBlock as o, unref as y, normalizeStyle as X, normalizeClass as re, createBlock as Q, createCommentVNode as h, renderSlot as x, createElementVNode as G, createVNode as oe, createSlots as it, withCtx as C, normalizeProps as E, guardReactiveProps as F, Fragment as v, renderList as g, mergeProps as Le, toDisplayString as $, createTextVNode as Gt } from "vue";
2
- import { u as Jt, c as nt, t as qt, p as ge, a as Zt, C as be, b as Kt, o as Qt, e as ut, g as jt, d as ea, ak as fe, ah as ct, D as vt, X as ta, l as aa, a6 as me, G as ht, f as J, x as dt, q as la, r as ra, i as yt, y as oa } from "./index-CH_mJIWj.js";
3
- import { u as gt } from "./useNestedProp-rMR-JeOJ.js";
1
+ import { defineAsyncComponent as Y, useSlots as Yt, computed as w, ref as m, onMounted as rt, watch as ot, shallowRef as st, onBeforeUnmount as Xt, nextTick as ye, createElementBlock as s, openBlock as o, unref as y, normalizeStyle as X, normalizeClass as re, createBlock as Q, createCommentVNode as h, renderSlot as x, createElementVNode as G, createVNode as oe, createSlots as it, withCtx as _, normalizeProps as E, guardReactiveProps as F, Fragment as v, renderList as g, mergeProps as Le, toDisplayString as $, createTextVNode as Gt } from "vue";
2
+ import { u as Jt, c as nt, t as qt, p as ge, a as Zt, C as be, b as Kt, o as Qt, e as ut, g as jt, d as ea, ak as fe, ah as ct, D as vt, X as ta, l as aa, a6 as me, G as ht, f as J, x as dt, q as la, r as ra, i as yt, y as oa } from "./index-BXbyT0Qn.js";
3
+ import { u as gt } from "./useNestedProp-DVZpeH84.js";
4
4
  import { t as sa, u as ia } from "./useResponsive-JZ9xq-JV.js";
5
- import { u as na } from "./usePrinter-DJ7WfWUs.js";
5
+ import { u as na } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as ua } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ca } from "./useChartAccessibility-9icAAmYg.js";
8
- import va from "./Legend-DRqzYrP9.js";
9
- import { S as ha } from "./Slicer-o6jJH5bw.js";
10
- import da from "./Title-apr_T9tg.js";
11
- import { _ as ya } from "./Shape-DEWxbZ-l.js";
8
+ import va from "./Legend-DcDRW3Xd.js";
9
+ import { S as ha } from "./Slicer-CxdgZOQ7.js";
10
+ import da from "./Title-DoWqzga-.js";
11
+ import { _ as ya } from "./Shape-CnD-h_98.js";
12
12
  import { _ as ga } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"], pa = { key: 1 }, xa = ["id"], ka = ["stop-color"], wa = ["stop-color"], za = ["stop-color"], Ca = ["x1", "x2", "y1", "y2", "stroke"], _a = ["x1", "x2", "y1", "y2", "stroke"], La = ["x1", "x2", "y1", "y2", "stroke"], Sa = ["x1", "x2", "y1", "y2", "stroke"], $a = { key: 0 }, Ma = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Ta = { key: 0 }, Na = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], Ia = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Oa = { key: 0 }, Ra = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Va = ["x", "y", "font-size", "fill", "font-weight"], Ea = ["transform", "font-size", "fill", "font-weight"], Fa = ["x", "y", "font-size", "fill", "font-weight"], Da = { key: 0 }, Ha = ["x", "y", "font-size", "font-weight", "fill"], Wa = ["x", "y", "font-size", "fill", "font-weight"], Ba = { key: 0 }, Ua = ["x", "y", "font-size", "font-weight", "fill"], Ya = ["x1", "x2", "y1", "y2", "stroke"], Xa = ["x", "y", "font-size", "font-weight", "fill"], Ga = ["x1", "x2", "y1", "y2", "stroke"], Ja = ["font-size", "font-weight", "fill", "text-anchor", "transform"], qa = { key: 0 }, Za = { key: 1 }, Ka = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Qa = { key: 0 }, ja = { key: 1 }, el = ["font-size", "font-weight", "fill", "x", "y", "onClick"], tl = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], al = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], ll = {
14
14
  key: 4,
@@ -31,7 +31,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
31
31
  },
32
32
  emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
33
33
  setup(pe, { expose: bt, emit: ft }) {
34
- const mt = Y(() => import("./vue-ui-accordion-Ds4zkPIx.js")), pt = Y(() => import("./DataTable-BBqbcutV.js")), xt = Y(() => import("./PackageVersion-ClpqQxYT.js")), kt = Y(() => import("./PenAndPaper-B-T7XvxF.js")), wt = Y(() => import("./vue-ui-skeleton-C6PWt_m5.js")), zt = Y(() => import("./Tooltip-BuHsMAfp.js")), Ct = Y(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_stackbar: _t } = Jt(), Lt = Yt(), b = pe, xe = ft, q = w({
34
+ const mt = Y(() => import("./vue-ui-accordion-CXsjHe1y.js")), pt = Y(() => import("./DataTable-DBkfb6pd.js")), xt = Y(() => import("./PackageVersion-C5fpg4GN.js")), kt = Y(() => import("./PenAndPaper-BRkuVFb4.js")), wt = Y(() => import("./vue-ui-skeleton-Fxr752Oi.js")), zt = Y(() => import("./Tooltip-DYCBNM-_.js")), Ct = Y(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_stackbar: _t } = Jt(), Lt = Yt(), b = pe, xe = ft, q = w({
35
35
  get() {
36
36
  return !!b.dataset && b.dataset.length;
37
37
  },
@@ -130,14 +130,14 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
130
130
  R.value && (K.value && R.value.unobserve(K.value), R.value.disconnect());
131
131
  });
132
132
  const i = w(() => {
133
- const { height: a, width: r } = ne.value, { right: t } = ne.value.paddingRatio, l = e.value.style.chart.padding.top, u = r - r * t, n = a - e.value.style.chart.padding.bottom, _ = e.value.style.chart.padding.left, H = r - _ - r * t, W = a - l - e.value.style.chart.padding.bottom;
133
+ const { height: a, width: r } = ne.value, { right: t } = ne.value.paddingRatio, l = e.value.style.chart.padding.top, u = r - r * t, n = a - e.value.style.chart.padding.bottom, C = e.value.style.chart.padding.left, H = r - C - r * t, W = a - l - e.value.style.chart.padding.bottom;
134
134
  return {
135
135
  chartHeight: a,
136
136
  chartWidth: r,
137
137
  top: l,
138
138
  right: u,
139
139
  bottom: n,
140
- left: _,
140
+ left: C,
141
141
  width: H,
142
142
  height: W < 0 ? 0 : W
143
143
  };
@@ -210,7 +210,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
210
210
  }), k = w(() => {
211
211
  if (!q.value) return [];
212
212
  let a = Array(A.value).fill(0), r = Array(A.value).fill(0), t = Array(A.value).fill(0), l = Array(A.value).fill(0);
213
- const u = Math.max(...ue.value.positive) || 0, n = Math.min(...ue.value.negative), _ = [-1 / 0, 1 / 0, NaN, void 0, null].includes(n) ? 0 : n, H = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ct(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : u < 0 ? 0 : u, e.value.style.chart.grid.scale.ticks) : vt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : _ > 0 ? 0 : _, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : u < 0 ? 0 : u, e.value.style.chart.grid.scale.ticks), { min: W, max: ae } = H, B = ae + (W >= 0 ? 0 : Math.abs(W)) || 1, S = i.value.height, de = i.value.width, at = N.value[0] ? N.value[0].zero : i.value.bottom, lt = N.value[0] ? N.value[0].horizontal_zero : i.value.left;
213
+ const u = Math.max(...ue.value.positive) || 0, n = Math.min(...ue.value.negative), C = [-1 / 0, 1 / 0, NaN, void 0, null].includes(n) ? 0 : n, H = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? ct(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : u < 0 ? 0 : u, e.value.style.chart.grid.scale.ticks) : vt(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : u < 0 ? 0 : u, e.value.style.chart.grid.scale.ticks), { min: W, max: ae } = H, B = ae + (W >= 0 ? 0 : Math.abs(W)) || 1, S = i.value.height, de = i.value.width, at = N.value[0] ? N.value[0].zero : i.value.bottom, lt = N.value[0] ? N.value[0].horizontal_zero : i.value.left;
214
214
  return P.value.filter((le) => !L.value.includes(le.id)).map((le) => {
215
215
  const I = le.series.slice(c.value.start, c.value.end), Vt = le.signedSeries.slice(c.value.start, c.value.end), Et = I.map((f, p) => i.value.left + d.value * p + d.value * e.value.style.chart.bars.gapRatio / 4), Ft = I.map((f, p) => i.value.top + d.value * p + d.value * e.value.style.chart.bars.gapRatio / 4), Dt = I.map((f, p) => {
216
216
  const M = e.value.style.chart.bars.distributed ? (f || 0) / te.value[p] : (f || 0) / B;
@@ -313,12 +313,12 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
313
313
  const {
314
314
  showValue: u,
315
315
  showPercentage: n,
316
- borderColor: _,
316
+ borderColor: C,
317
317
  roundingValue: H,
318
318
  roundingPercentage: W
319
319
  } = e.value.style.chart.tooltip;
320
320
  let ae = "";
321
- V.value[a] && V.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (ae += `<div style="width:100%;text-align:center;border-bottom:1px solid ${_};padding-bottom:6px;margin-bottom:3px;">${V.value[a].text}</div>`);
321
+ V.value[a] && V.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (ae += `<div style="width:100%;text-align:center;border-bottom:1px solid ${C};padding-bottom:6px;margin-bottom:3px;">${V.value[a].text}</div>`);
322
322
  const B = [
323
323
  u && n ? "(" : "",
324
324
  u && n ? ")" : ""
@@ -372,16 +372,16 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
372
372
  }
373
373
  return { head: a, body: r };
374
374
  });
375
- function Qe() {
376
- const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], r = ["", ...Ke.value.head.map((n) => n.label)], t = Ke.value.body, l = a.concat([r]).concat(t), u = la(l);
377
- ra({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
375
+ function Qe(a = null) {
376
+ const r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = ["", ...Ke.value.head.map((C) => C.label)], l = Ke.value.body, u = r.concat([t]).concat(l), n = la(u);
377
+ a ? a(n) : ra({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
378
378
  }
379
379
  const ve = w(() => {
380
380
  const a = [""].concat(k.value.map((u) => u.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
381
381
  let r = [];
382
382
  for (let u = 0; u < A.value; u += 1) {
383
- const n = k.value.map((_) => _.series[u] ?? 0).reduce((_, H) => _ + H, 0);
384
- r.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[u] ?? u + 1].concat(k.value.map((_) => (_.series[u] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((n ?? 0).toFixed(e.value.table.td.roundingValue)));
383
+ const n = k.value.map((C) => C.series[u] ?? 0).reduce((C, H) => C + H, 0);
384
+ r.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[u] ?? u + 1].concat(k.value.map((C) => (C.series[u] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((n ?? 0).toFixed(e.value.table.td.roundingValue)));
385
385
  }
386
386
  const t = {
387
387
  th: {
@@ -525,63 +525,63 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
525
525
  }, it({ _: 2 }, [
526
526
  a.$slots.menuIcon ? {
527
527
  name: "menuIcon",
528
- fn: C(({ isOpen: t, color: l }) => [
528
+ fn: _(({ isOpen: t, color: l }) => [
529
529
  x(a.$slots, "menuIcon", E(F({ isOpen: t, color: l })), void 0, !0)
530
530
  ]),
531
531
  key: "0"
532
532
  } : void 0,
533
533
  a.$slots.optionTooltip ? {
534
534
  name: "optionTooltip",
535
- fn: C(() => [
535
+ fn: _(() => [
536
536
  x(a.$slots, "optionTooltip", {}, void 0, !0)
537
537
  ]),
538
538
  key: "1"
539
539
  } : void 0,
540
540
  a.$slots.optionPdf ? {
541
541
  name: "optionPdf",
542
- fn: C(() => [
542
+ fn: _(() => [
543
543
  x(a.$slots, "optionPdf", {}, void 0, !0)
544
544
  ]),
545
545
  key: "2"
546
546
  } : void 0,
547
547
  a.$slots.optionCsv ? {
548
548
  name: "optionCsv",
549
- fn: C(() => [
549
+ fn: _(() => [
550
550
  x(a.$slots, "optionCsv", {}, void 0, !0)
551
551
  ]),
552
552
  key: "3"
553
553
  } : void 0,
554
554
  a.$slots.optionImg ? {
555
555
  name: "optionImg",
556
- fn: C(() => [
556
+ fn: _(() => [
557
557
  x(a.$slots, "optionImg", {}, void 0, !0)
558
558
  ]),
559
559
  key: "4"
560
560
  } : void 0,
561
561
  a.$slots.optionTable ? {
562
562
  name: "optionTable",
563
- fn: C(() => [
563
+ fn: _(() => [
564
564
  x(a.$slots, "optionTable", {}, void 0, !0)
565
565
  ]),
566
566
  key: "5"
567
567
  } : void 0,
568
568
  a.$slots.optionLabels ? {
569
569
  name: "optionLabels",
570
- fn: C(() => [
570
+ fn: _(() => [
571
571
  x(a.$slots, "optionLabels", {}, void 0, !0)
572
572
  ]),
573
573
  key: "6"
574
574
  } : void 0,
575
575
  a.$slots.optionFullscreen ? {
576
576
  name: "optionFullscreen",
577
- fn: C(({ toggleFullscreen: t, isFullscreen: l }) => [
577
+ fn: _(({ toggleFullscreen: t, isFullscreen: l }) => [
578
578
  x(a.$slots, "optionFullscreen", E(F({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
579
579
  ]),
580
580
  key: "7"
581
581
  } : void 0,
582
582
  a.$slots.optionAnnotator ? {
583
583
  name: "optionAnnotator",
584
- fn: C(({ toggleAnnotator: t, isAnnotator: l }) => [
584
+ fn: _(({ toggleAnnotator: t, isAnnotator: l }) => [
585
585
  x(a.$slots, "optionAnnotator", E(F({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
586
586
  ]),
587
587
  key: "8"
@@ -1009,7 +1009,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1009
1009
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
1010
1010
  onReset: We
1011
1011
  }, {
1012
- "reset-action": C(({ reset: t }) => [
1012
+ "reset-action": _(({ reset: t }) => [
1013
1013
  x(a.$slots, "reset-action", E(F({ reset: t })), void 0, !0)
1014
1014
  ]),
1015
1015
  _: 3
@@ -1031,10 +1031,10 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1031
1031
  isFullscreen: ie.value,
1032
1032
  isCustom: y(dt)(e.value.style.chart.tooltip.customFormat)
1033
1033
  }, {
1034
- "tooltip-before": C(() => [
1034
+ "tooltip-before": _(() => [
1035
1035
  x(a.$slots, "tooltip-before", E(F({ ...ke.value })), void 0, !0)
1036
1036
  ]),
1037
- "tooltip-after": C(() => [
1037
+ "tooltip-after": _(() => [
1038
1038
  x(a.$slots, "tooltip-after", E(F({ ...ke.value })), void 0, !0)
1039
1039
  ]),
1040
1040
  _: 3
@@ -1049,7 +1049,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1049
1049
  config: At.value,
1050
1050
  onClickMarker: r[4] || (r[4] = ({ legend: t }) => t.segregate())
1051
1051
  }, it({
1052
- item: C(({ legend: t }) => [
1052
+ item: _(({ legend: t }) => [
1053
1053
  G("div", {
1054
1054
  onClick: (l) => t.segregate(),
1055
1055
  style: X(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
@@ -1059,7 +1059,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1059
1059
  }, [
1060
1060
  a.$slots.pattern ? {
1061
1061
  name: "legend-pattern",
1062
- fn: C(({ legend: t, index: l }) => [
1062
+ fn: _(({ legend: t, index: l }) => [
1063
1063
  oe(ya, {
1064
1064
  shape: t.shape,
1065
1065
  radius: 30,
@@ -1099,7 +1099,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1099
1099
  }
1100
1100
  }
1101
1101
  }, {
1102
- content: C(() => [
1102
+ content: _(() => [
1103
1103
  oe(y(pt), {
1104
1104
  colNames: ve.value.colNames,
1105
1105
  head: ve.value.head,
@@ -1108,10 +1108,10 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1108
1108
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1109
1109
  onClose: r[5] || (r[5] = (t) => z.value.showTable = !1)
1110
1110
  }, {
1111
- th: C(({ th: t }) => [
1111
+ th: _(({ th: t }) => [
1112
1112
  G("div", { innerHTML: t }, null, 8, ol)
1113
1113
  ]),
1114
- td: C(({ td: t }) => [
1114
+ td: _(({ td: t }) => [
1115
1115
  Gt($(isNaN(Number(t)) ? t : y(J)({
1116
1116
  p: e.value.style.chart.bars.dataLabels.prefix,
1117
1117
  v: t,
@@ -1126,7 +1126,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1126
1126
  }, 8, ["config"])) : h("", !0)
1127
1127
  ], 46, ba));
1128
1128
  }
1129
- }, pl = /* @__PURE__ */ ga(sl, [["__scopeId", "data-v-9b1b7519"]]);
1129
+ }, pl = /* @__PURE__ */ ga(sl, [["__scopeId", "data-v-4216aa1f"]]);
1130
1130
  export {
1131
1131
  pl as default
1132
1132
  };