vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.4

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 +21 -0
  2. package/dist/{Arrow-HbfibAF0.js → Arrow-XoY1VXNf.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-CXe0WfN-.js} +2 -2
  4. package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-d4dmqhkb.js} +1 -1
  5. package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-B3v0IhDO.js} +2 -2
  6. package/dist/{DataTable-CsoAI95B.js → DataTable-CmbjnjRg.js} +2 -2
  7. package/dist/{Legend-ZW-PFcHg.js → Legend-YPYnzTBz.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-SD-bH_GI.js} +3 -3
  9. package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-OcbP0WH2.js} +1 -1
  10. package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-BgPXmpGI.js} +3 -3
  11. package/dist/{Shape-BBbhObHC.js → Shape-WvXjwML_.js} +1 -1
  12. package/dist/{Slicer-Vh74fjdf.js → Slicer-CaMHCF_p.js} +2 -2
  13. package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-BTLad6y3.js} +1 -1
  14. package/dist/{Title-Dx8ctnVy.js → Title-CJcZXNtK.js} +1 -1
  15. package/dist/{Tooltip-COHlzpZI.js → Tooltip-dXp8FaUj.js} +1 -1
  16. package/dist/{UserOptions-CGn3YdRV.js → UserOptions-Cs7JW3dK.js} +154 -138
  17. package/dist/dom-to-png-DGfv21rX.js +247 -0
  18. package/dist/img-fdViJw1e.js +20 -0
  19. package/dist/{index-CbcpITE_.js → index-BzQ0j5xI.js} +190 -128
  20. package/dist/{pdf-Cy09nTjn.js → pdf-Bj65uPK-.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +60 -1
  23. package/dist/types/vue-data-ui.d.ts +60 -1
  24. package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-DqpZEE3h.js} +1 -1
  25. package/dist/{usePrinter-u-gQiRNz.js → usePrinter-CpG5jh_z.js} +2 -2
  26. package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-CeIncf6V.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-fAJK0nIB.js} +175 -174
  29. package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-bpaEpjqI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-D5w5EqmV.js} +200 -199
  31. package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-CSGemK-O.js} +2 -2
  32. package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-FPBahjOr.js} +9 -8
  33. package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-BpP9MQC2.js} +115 -114
  34. package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-lpdLFAfT.js} +80 -79
  35. package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-D5um0tmC.js} +453 -452
  36. package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-CgrXXOgv.js} +43 -42
  37. package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-Jk-Yd8T_.js} +143 -142
  38. package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-BjmAMjTd.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-CQ0B1DMq.js} +62 -62
  40. package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-B3h4BufU.js} +2 -2
  41. package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-DcjJqRof.js} +151 -150
  42. package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DmSbXlMu.js} +111 -110
  43. package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-BLcmTUd_.js} +54 -53
  44. package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-BmIGl6DC.js} +14 -13
  45. package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-BJfxaSQC.js} +75 -74
  46. package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-Cpnr2YW-.js} +84 -83
  47. package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BhPFNziU.js} +33 -32
  48. package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-B2wA-kmz.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-CpwNMx3i.js} +222 -221
  50. package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-DpxHqDZw.js} +234 -233
  51. package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-CvqXwiiE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-DIjSfc7L.js} +2 -2
  53. package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-3-vg0Re6.js} +44 -43
  54. package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-B7W7wGkW.js} +76 -75
  55. package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-ByoeDL-3.js} +53 -52
  56. package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-CNVwf4QX.js} +72 -71
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-C0KJrBX8.js} +13 -12
  58. package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-C-wPn5l5.js} +13 -12
  59. package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-SV-m_FhA.js} +8 -7
  60. package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DqOzvLUy.js} +283 -282
  61. package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CsZXcINB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-B0zxq02O.js} +75 -74
  63. package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-CykFyAin.js} +102 -101
  64. package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-DoJwXgd3.js} +110 -109
  65. package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BTT3BYrI.js} +166 -165
  66. package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-CavMQlAm.js} +3 -3
  67. package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-DdT6TBz8.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-D9q63V2-.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-DCS_f__b.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-CGDjBHjo.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-Ctpm0106.js} +4 -4
  72. package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-BVyjNK_A.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-BsNDucJO.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-DuGcJQ6F.js} +39 -38
  75. package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-C6vbloAI.js} +82 -81
  76. package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-Bb6pNaIM.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-_ypWL_z2.js} +77 -76
  78. package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-_pPedR_D.js} +74 -73
  79. package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-CmLnTIU7.js} +22 -21
  80. package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CpAJT80M.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-DXgmJClr.js} +38 -37
  82. package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-Ci2Yi9Gh.js} +109 -108
  83. package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-pn_EqFmU.js} +82 -81
  84. package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-vqh1kEDT.js} +33 -32
  85. package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-BCcK6wwZ.js} +8 -7
  86. package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-Bu8Giu0b.js} +110 -109
  87. package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-CzRlg19V.js} +57 -56
  88. package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-0gHPOOwZ.js} +982 -856
  89. package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-DuAgXbBB.js} +41 -40
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-BjSUS-jY.js +0 -243
  92. package/dist/img-DWfzRJdv.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-CbcpITE_.js";
3
- import { u as V } from "./useNestedProp-y56W8I7J.js";
4
- import y from "./PackageVersion-DCAZ9Z7V.js";
2
+ import { u as F, Q as B, X as u, s as v, Z as O } from "./index-BzQ0j5xI.js";
3
+ import { u as V } from "./useNestedProp-DqpZEE3h.js";
4
+ import y from "./PackageVersion-OcbP0WH2.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-CbcpITE_.js";
3
- import { u as Q } from "./useNestedProp-y56W8I7J.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-BzQ0j5xI.js";
3
+ import { u as Q } from "./useNestedProp-DqpZEE3h.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-CbcpITE_.js";
3
- import { u as q } from "./useNestedProp-y56W8I7J.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-BzQ0j5xI.js";
3
+ import { u as q } from "./useNestedProp-DqpZEE3h.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-j0c6lJUs.js")), X = M(() => import("./PackageVersion-DCAZ9Z7V.js")), Z = M(() => import("./vue-ui-skeleton-miKWlCAi.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-d4dmqhkb.js")), X = M(() => import("./PackageVersion-OcbP0WH2.js")), Z = M(() => import("./vue-ui-skeleton-CavMQlAm.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-CbcpITE_.js";
3
- import { u as B } from "./useNestedProp-y56W8I7J.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-BzQ0j5xI.js";
3
+ import { u as B } from "./useNestedProp-DqpZEE3h.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-DCAZ9Z7V.js")), j = V(() => import("./vue-ui-skeleton-miKWlCAi.js")), { vue_ui_sparkbar: G } = ae(), a = C, W = R();
33
+ const U = V(() => import("./PackageVersion-OcbP0WH2.js")), j = V(() => import("./vue-ui-skeleton-CavMQlAm.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-y56W8I7J.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-CbcpITE_.js";
2
+ import { u as O } from "./useNestedProp-DqpZEE3h.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-BzQ0j5xI.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-DCAZ9Z7V.js")), B = A(() => import("./vue-ui-skeleton-miKWlCAi.js")), { vue_ui_sparkgauge: D } = T(), a = E, p = s(() => !!a.dataset && Object.keys(a.dataset).length);
26
+ const F = A(() => import("./PackageVersion-OcbP0WH2.js")), B = A(() => import("./vue-ui-skeleton-CavMQlAm.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-CbcpITE_.js";
3
- import { u as W } from "./useNestedProp-y56W8I7J.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-BzQ0j5xI.js";
3
+ import { u as W } from "./useNestedProp-DqpZEE3h.js";
4
4
  import { u as ye } from "./useChartAccessibility-9icAAmYg.js";
5
- import { _ as he } from "./Shape-BBbhObHC.js";
5
+ import { _ as he } from "./Shape-WvXjwML_.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-DCAZ9Z7V.js")), R = N(() => import("./vue-ui-skeleton-miKWlCAi.js")), { vue_ui_sparkhistogram: X } = ue(), d = B, S = _(() => !!d.dataset && d.dataset.length);
32
+ const j = N(() => import("./PackageVersion-OcbP0WH2.js")), R = N(() => import("./vue-ui-skeleton-CavMQlAm.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-CbcpITE_.js";
3
- import { u as ne } from "./useNestedProp-y56W8I7J.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-BzQ0j5xI.js";
3
+ import { u as ne } from "./useNestedProp-DqpZEE3h.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-miKWlCAi.js")), ve = O(() => import("./PackageVersion-DCAZ9Z7V.js")), ce = O(() => import("./SparkTooltip-CG-HMbX2.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-CavMQlAm.js")), ve = O(() => import("./PackageVersion-OcbP0WH2.js")), ce = O(() => import("./SparkTooltip-BTLad6y3.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-CbcpITE_.js";
3
- import { u as te } from "./useNestedProp-y56W8I7J.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-BzQ0j5xI.js";
3
+ import { u as te } from "./useNestedProp-DqpZEE3h.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-DCAZ9Z7V.js")), se = V(() => import("./vue-ui-skeleton-miKWlCAi.js")), re = V(() => import("./Tooltip-COHlzpZI.js")), { vue_ui_sparkstackbar: ne } = fe(), u = le, ue = pe();
34
+ const ae = V(() => import("./PackageVersion-OcbP0WH2.js")), se = V(() => import("./vue-ui-skeleton-CavMQlAm.js")), re = V(() => import("./Tooltip-dXp8FaUj.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-CbcpITE_.js";
3
- import { u as gt } from "./useNestedProp-y56W8I7J.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-BzQ0j5xI.js";
3
+ import { u as gt } from "./useNestedProp-DqpZEE3h.js";
4
4
  import { t as sa, u as ia } from "./useResponsive-JZ9xq-JV.js";
5
- import { u as na } from "./usePrinter-u-gQiRNz.js";
5
+ import { u as na } from "./usePrinter-CpG5jh_z.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-ZW-PFcHg.js";
9
- import { S as ha } from "./Slicer-Vh74fjdf.js";
10
- import da from "./Title-Dx8ctnVy.js";
11
- import { _ as ya } from "./Shape-BBbhObHC.js";
8
+ import va from "./Legend-YPYnzTBz.js";
9
+ import { S as ha } from "./Slicer-CaMHCF_p.js";
10
+ import da from "./Title-CJcZXNtK.js";
11
+ import { _ as ya } from "./Shape-WvXjwML_.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-BkA7rtwr.js")), pt = Y(() => import("./DataTable-CsoAI95B.js")), xt = Y(() => import("./PackageVersion-DCAZ9Z7V.js")), kt = Y(() => import("./PenAndPaper-B9RP4oFj.js")), wt = Y(() => import("./vue-ui-skeleton-miKWlCAi.js")), zt = Y(() => import("./Tooltip-COHlzpZI.js")), Ct = Y(() => import("./UserOptions-CGn3YdRV.js")), { vue_ui_stackbar: _t } = Jt(), Lt = Yt(), b = pe, xe = ft, q = w({
34
+ const mt = Y(() => import("./vue-ui-accordion-bpaEpjqI.js")), pt = Y(() => import("./DataTable-CmbjnjRg.js")), xt = Y(() => import("./PackageVersion-OcbP0WH2.js")), kt = Y(() => import("./PenAndPaper-BgPXmpGI.js")), wt = Y(() => import("./vue-ui-skeleton-CavMQlAm.js")), zt = Y(() => import("./Tooltip-dXp8FaUj.js")), Ct = Y(() => import("./UserOptions-Cs7JW3dK.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: {
@@ -510,6 +510,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
510
510
  titles: { ...e.value.userOptions.buttonTitles },
511
511
  hasAnnotator: e.value.userOptions.buttons.annotator,
512
512
  isAnnotation: he.value,
513
+ callbacks: e.value.userOptions.callbacks,
513
514
  onToggleFullscreen: Ot,
514
515
  onGeneratePdf: y(Fe),
515
516
  onGenerateCsv: Qe,
@@ -524,68 +525,68 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
524
525
  }, it({ _: 2 }, [
525
526
  a.$slots.menuIcon ? {
526
527
  name: "menuIcon",
527
- fn: C(({ isOpen: t, color: l }) => [
528
+ fn: _(({ isOpen: t, color: l }) => [
528
529
  x(a.$slots, "menuIcon", E(F({ isOpen: t, color: l })), void 0, !0)
529
530
  ]),
530
531
  key: "0"
531
532
  } : void 0,
532
533
  a.$slots.optionTooltip ? {
533
534
  name: "optionTooltip",
534
- fn: C(() => [
535
+ fn: _(() => [
535
536
  x(a.$slots, "optionTooltip", {}, void 0, !0)
536
537
  ]),
537
538
  key: "1"
538
539
  } : void 0,
539
540
  a.$slots.optionPdf ? {
540
541
  name: "optionPdf",
541
- fn: C(() => [
542
+ fn: _(() => [
542
543
  x(a.$slots, "optionPdf", {}, void 0, !0)
543
544
  ]),
544
545
  key: "2"
545
546
  } : void 0,
546
547
  a.$slots.optionCsv ? {
547
548
  name: "optionCsv",
548
- fn: C(() => [
549
+ fn: _(() => [
549
550
  x(a.$slots, "optionCsv", {}, void 0, !0)
550
551
  ]),
551
552
  key: "3"
552
553
  } : void 0,
553
554
  a.$slots.optionImg ? {
554
555
  name: "optionImg",
555
- fn: C(() => [
556
+ fn: _(() => [
556
557
  x(a.$slots, "optionImg", {}, void 0, !0)
557
558
  ]),
558
559
  key: "4"
559
560
  } : void 0,
560
561
  a.$slots.optionTable ? {
561
562
  name: "optionTable",
562
- fn: C(() => [
563
+ fn: _(() => [
563
564
  x(a.$slots, "optionTable", {}, void 0, !0)
564
565
  ]),
565
566
  key: "5"
566
567
  } : void 0,
567
568
  a.$slots.optionLabels ? {
568
569
  name: "optionLabels",
569
- fn: C(() => [
570
+ fn: _(() => [
570
571
  x(a.$slots, "optionLabels", {}, void 0, !0)
571
572
  ]),
572
573
  key: "6"
573
574
  } : void 0,
574
575
  a.$slots.optionFullscreen ? {
575
576
  name: "optionFullscreen",
576
- fn: C(({ toggleFullscreen: t, isFullscreen: l }) => [
577
+ fn: _(({ toggleFullscreen: t, isFullscreen: l }) => [
577
578
  x(a.$slots, "optionFullscreen", E(F({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
578
579
  ]),
579
580
  key: "7"
580
581
  } : void 0,
581
582
  a.$slots.optionAnnotator ? {
582
583
  name: "optionAnnotator",
583
- fn: C(({ toggleAnnotator: t, isAnnotator: l }) => [
584
+ fn: _(({ toggleAnnotator: t, isAnnotator: l }) => [
584
585
  x(a.$slots, "optionAnnotator", E(F({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
585
586
  ]),
586
587
  key: "8"
587
588
  } : void 0
588
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
589
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
589
590
  q.value ? (o(), s("svg", {
590
591
  key: 3,
591
592
  ref_key: "svgRef",
@@ -1008,7 +1009,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1008
1009
  enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
1009
1010
  onReset: We
1010
1011
  }, {
1011
- "reset-action": C(({ reset: t }) => [
1012
+ "reset-action": _(({ reset: t }) => [
1012
1013
  x(a.$slots, "reset-action", E(F({ reset: t })), void 0, !0)
1013
1014
  ]),
1014
1015
  _: 3
@@ -1030,10 +1031,10 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1030
1031
  isFullscreen: ie.value,
1031
1032
  isCustom: y(dt)(e.value.style.chart.tooltip.customFormat)
1032
1033
  }, {
1033
- "tooltip-before": C(() => [
1034
+ "tooltip-before": _(() => [
1034
1035
  x(a.$slots, "tooltip-before", E(F({ ...ke.value })), void 0, !0)
1035
1036
  ]),
1036
- "tooltip-after": C(() => [
1037
+ "tooltip-after": _(() => [
1037
1038
  x(a.$slots, "tooltip-after", E(F({ ...ke.value })), void 0, !0)
1038
1039
  ]),
1039
1040
  _: 3
@@ -1048,7 +1049,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1048
1049
  config: At.value,
1049
1050
  onClickMarker: r[4] || (r[4] = ({ legend: t }) => t.segregate())
1050
1051
  }, it({
1051
- item: C(({ legend: t }) => [
1052
+ item: _(({ legend: t }) => [
1052
1053
  G("div", {
1053
1054
  onClick: (l) => t.segregate(),
1054
1055
  style: X(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
@@ -1058,7 +1059,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1058
1059
  }, [
1059
1060
  a.$slots.pattern ? {
1060
1061
  name: "legend-pattern",
1061
- fn: C(({ legend: t, index: l }) => [
1062
+ fn: _(({ legend: t, index: l }) => [
1062
1063
  oe(ya, {
1063
1064
  shape: t.shape,
1064
1065
  radius: 30,
@@ -1098,7 +1099,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1098
1099
  }
1099
1100
  }
1100
1101
  }, {
1101
- content: C(() => [
1102
+ content: _(() => [
1102
1103
  oe(y(pt), {
1103
1104
  colNames: ve.value.colNames,
1104
1105
  head: ve.value.head,
@@ -1107,10 +1108,10 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1107
1108
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
1108
1109
  onClose: r[5] || (r[5] = (t) => z.value.showTable = !1)
1109
1110
  }, {
1110
- th: C(({ th: t }) => [
1111
+ th: _(({ th: t }) => [
1111
1112
  G("div", { innerHTML: t }, null, 8, ol)
1112
1113
  ]),
1113
- td: C(({ td: t }) => [
1114
+ td: _(({ td: t }) => [
1114
1115
  Gt($(isNaN(Number(t)) ? t : y(J)({
1115
1116
  p: e.value.style.chart.bars.dataLabels.prefix,
1116
1117
  v: t,
@@ -1125,7 +1126,7 @@ const ba = ["id"], fa = ["xmlns", "viewBox"], ma = ["x", "y", "width", "height"]
1125
1126
  }, 8, ["config"])) : h("", !0)
1126
1127
  ], 46, ba));
1127
1128
  }
1128
- }, pl = /* @__PURE__ */ ga(sl, [["__scopeId", "data-v-ec3e4633"]]);
1129
+ }, pl = /* @__PURE__ */ ga(sl, [["__scopeId", "data-v-4216aa1f"]]);
1129
1130
  export {
1130
1131
  pl as default
1131
1132
  };