vue-data-ui 2.17.0 → 2.17.2

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 (93) hide show
  1. package/README.md +2 -1
  2. package/dist/{Arrow-BAEkZGzL.js → Arrow-Dr2lyXds.js} +1 -1
  3. package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-DQ6yA8di.js} +2 -2
  4. package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-C2f-EcZc.js} +1 -1
  5. package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-D-JmDe31.js} +2 -2
  6. package/dist/{DataTable-D0VYDhfx.js → DataTable-6BxhjBzt.js} +2 -2
  7. package/dist/{Legend-Bxlv67uY.js → Legend-1R-B-7st.js} +11 -11
  8. package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-CLNy5uCL.js} +3 -3
  9. package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-CIX1W_aa.js} +1 -1
  10. package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-CqJ4wudB.js} +3 -3
  11. package/dist/{Shape-DtFT5EJa.js → Shape-DJKQgAbU.js} +1 -1
  12. package/dist/{Slicer-CL6-MRI6.js → Slicer-Dju6LE-h.js} +2 -2
  13. package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-D2mROH3o.js} +1 -1
  14. package/dist/{Title-B-2bV0SW.js → Title-BQb7X_OR.js} +1 -1
  15. package/dist/{Tooltip-CoQnTnr-.js → Tooltip-BTnTpPdO.js} +1 -1
  16. package/dist/{UserOptions-Dd34lEKb.js → UserOptions-lneAyZKu.js} +2 -2
  17. package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-C-9BWdwN.js} +1 -1
  18. package/dist/{img-Y_hYz-ZC.js → img-D0DpKcFX.js} +1 -1
  19. package/dist/{index-pPGk-uhD.js → index-JzUbx__y.js} +22 -8
  20. package/dist/{pdf-yfk3d1is.js → pdf-BgVDfZPT.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +65 -160
  23. package/dist/types/vue-data-ui.d.ts +65 -160
  24. package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-D_jd2dz9.js} +1 -1
  25. package/dist/{usePrinter-DDHcrl0A.js → usePrinter-CsyliflB.js} +2 -2
  26. package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-BMv8hEcb.js} +99 -97
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-CrdssfKx.js} +41 -34
  29. package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-CcTUbiHq.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-ZYFAAcwc.js} +134 -127
  31. package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-BEgBoRWQ.js} +2 -2
  32. package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-DYzLfkYB.js} +90 -83
  33. package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-Cdu2ozig.js} +101 -94
  34. package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Dce2wfVw.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CCMAbLrw.js} +270 -263
  36. package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-B8Sl_FwD.js} +60 -53
  37. package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-BX6_ToJl.js} +121 -114
  38. package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-CyaF0qp7.js} +2 -2
  39. package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-BmL_vnj5.js} +62 -62
  40. package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-BRKjd-LQ.js} +2 -2
  41. package/dist/vue-ui-donut-LZR-vpdS.js +1338 -0
  42. package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-dax3dN9r.js} +215 -211
  43. package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-C7ZNBVSy.js} +117 -110
  44. package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-BeLwkeHo.js} +105 -98
  45. package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BywaRLZR.js} +138 -131
  46. package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-DYavEd4o.js} +150 -146
  47. package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-DwQRlRWp.js} +125 -118
  48. package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-CjRczit6.js} +3 -3
  49. package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-cRy0tcES.js} +155 -148
  50. package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-D8aTdU23.js} +141 -134
  51. package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-B10h_Hbt.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-DNhr_0fr.js} +2 -2
  53. package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-4MeyWn0c.js} +141 -134
  54. package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-DJmgRVT2.js} +126 -119
  55. package/dist/vue-ui-nested-donuts-CgaPLxV2.js +1177 -0
  56. package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-swDxtTT3.js} +88 -81
  57. package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-DayzzOmK.js} +123 -116
  58. package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-CLf81ioF.js} +151 -144
  59. package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-smKrpIwq.js} +39 -32
  60. package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-D8CIvG2q.js} +58 -51
  61. package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-YZivkWBI.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-DsEYbNs_.js} +127 -120
  63. package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-Do6C5lMY.js} +98 -91
  64. package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-CMryJR1g.js} +208 -204
  65. package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-BtLKWQbX.js} +172 -165
  66. package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-B4KQLEQy.js} +3 -3
  67. package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-CZBuA-1x.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-CdgyexDu.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-DuZulYgD.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-Di0FmUXs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-CHNHz9Gm.js} +4 -4
  72. package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-TaWMi8gF.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-Bv2HEegT.js} +3 -3
  74. package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-Bk3Bbzjk.js} +61 -54
  75. package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-BNMDY4GI.js} +116 -109
  76. package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-JG0B8HuS.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-CCdWeNZj.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-C1u_b0RG.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-DkldIXw7.js} +88 -81
  80. package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-0KDTN-Gt.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-FPtGzTGi.js} +127 -120
  82. package/dist/vue-ui-treemap-BA5wC5Bs.js +965 -0
  83. package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-DUJWYMRn.js} +233 -226
  84. package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-BIngg99N.js} +183 -179
  85. package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-l5U2UH9c.js} +121 -114
  86. package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-CTKuxhFY.js} +152 -145
  87. package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-Dx5O9Is5.js} +77 -70
  88. package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-JjA1CMAo.js} +229 -222
  89. package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-CH82b2Lp.js} +154 -147
  90. package/package.json +1 -1
  91. package/dist/vue-ui-donut-CKa7nFjt.js +0 -1324
  92. package/dist/vue-ui-nested-donuts-D0RgFifU.js +0 -1163
  93. package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
@@ -1,24 +1,24 @@
1
- import { useCssVars as Ue, defineAsyncComponent as H, computed as se, ref as g, watch as ye, shallowRef as Me, onMounted as De, onBeforeUnmount as Ge, createElementBlock as I, openBlock as x, unref as r, normalizeStyle as he, createBlock as ie, createCommentVNode as B, createVNode as we, createSlots as Le, withCtx as A, renderSlot as M, normalizeProps as Q, guardReactiveProps as ee, normalizeClass as Pe, createElementVNode as ke, Fragment as He, renderList as je, toDisplayString as ze, createTextVNode as qe, nextTick as Oe } from "vue";
2
- import { u as Ze, c as Ae, ak as Je, v as Ke, t as Qe, p as me, a as et, o as tt, e as Ie, g as ot, f as at, X as lt, q as nt, r as st, x as it } from "./index-pPGk-uhD.js";
1
+ import { useCssVars as Ue, defineAsyncComponent as H, computed as se, ref as g, watch as be, shallowRef as Me, onMounted as De, onBeforeUnmount as Ge, createElementBlock as N, openBlock as T, unref as r, normalizeStyle as he, createBlock as ie, createCommentVNode as Y, createVNode as we, createSlots as Le, withCtx as A, renderSlot as M, normalizeProps as Q, guardReactiveProps as ee, normalizeClass as Pe, createElementVNode as ke, Fragment as He, renderList as je, toDisplayString as ze, createTextVNode as qe, nextTick as Oe } from "vue";
2
+ import { u as Ze, c as Ae, ak as Je, v as Ke, t as Qe, p as me, a as et, o as tt, e as Ie, g as ot, f as at, X as lt, q as nt, r as st, x as it } from "./index-JzUbx__y.js";
3
3
  import { t as rt, u as ut, d as ct } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ne } from "./useNestedProp-DjACxgdZ.js";
5
- import { u as dt } from "./usePrinter-DDHcrl0A.js";
4
+ import { u as Ne } from "./useNestedProp-D_jd2dz9.js";
5
+ import { u as dt } from "./usePrinter-CsyliflB.js";
6
6
  import { u as vt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
8
8
  import { u as mt } from "./usePanZoom-BQMvRXEQ.js";
9
- import ft from "./Title-B-2bV0SW.js";
10
- import pt from "./img-Y_hYz-ZC.js";
9
+ import ft from "./Title-BQb7X_OR.js";
10
+ import pt from "./img-D0DpKcFX.js";
11
11
  import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- function bt(w, p) {
13
- const { width: u, height: f } = w, m = p.getImageData(0, 0, u, f).data;
14
- let l = u, a = f, i = 0, k = 0, d = !1;
12
+ function yt(C, p) {
13
+ const { width: u, height: f } = C, m = p.getImageData(0, 0, u, f).data;
14
+ let l = u, a = f, i = 0, x = 0, d = !1;
15
15
  for (let h = 0; h < f; h += 1)
16
- for (let b = 0; b < u; b += 1)
17
- m[(h * u + b) * 4 + 3] > 1 && (d = !0, b < l && (l = b), b > i && (i = b), h < a && (a = h), h > k && (k = h));
18
- return d ? [l, a, i, k] : [0, 0, 0, 0];
16
+ for (let y = 0; y < u; y += 1)
17
+ m[(h * u + y) * 4 + 3] > 1 && (d = !0, y < l && (l = y), y > i && (i = y), h < a && (a = h), h > x && (x = h));
18
+ return d ? [l, a, i, x] : [0, 0, 0, 0];
19
19
  }
20
20
  function _e({
21
- word: w,
21
+ word: C,
22
22
  fontSize: p,
23
23
  pad: u,
24
24
  canvas: f,
@@ -26,93 +26,93 @@ function _e({
26
26
  svg: m
27
27
  }) {
28
28
  c.save(), c.font = `${m.style && m.style.bold ? "bold " : ""}${p}px Arial`;
29
- const l = c.measureText(w.name), a = Math.ceil(l.width) + 2 + (u ? u * 2 : 0), i = Math.ceil(p) + 2 + (u ? u * 2 : 0);
30
- f.width = a, f.height = i, c.clearRect(0, 0, a, i), c.font = `${m.style && m.style.bold ? "bold " : ""}${p}px Arial`, c.textAlign = "center", c.textBaseline = "middle", c.fillStyle = "black", c.fillText(w.name, a / 2, i / 2);
29
+ const l = c.measureText(C.name), a = Math.ceil(l.width) + 2 + (u ? u * 2 : 0), i = Math.ceil(p) + 2 + (u ? u * 2 : 0);
30
+ f.width = a, f.height = i, c.clearRect(0, 0, a, i), c.font = `${m.style && m.style.bold ? "bold " : ""}${p}px Arial`, c.textAlign = "center", c.textBaseline = "middle", c.fillStyle = "black", c.fillText(C.name, a / 2, i / 2);
31
31
  const d = c.getImageData(0, 0, a, i).data, h = [];
32
- for (let _ = 0; _ < i; _ += 1)
33
- for (let Y = 0; Y < a; Y += 1)
34
- d[(_ * a + Y) * 4 + 3] > 1 && h.push([Y, _]);
35
- const [b, U, S, N] = bt(f, c);
36
- return c.restore(), { w: a, h: i, wordMask: h, minX: b, minY: U, maxX: S, maxY: N };
32
+ for (let R = 0; R < i; R += 1)
33
+ for (let E = 0; E < a; E += 1)
34
+ d[(R * a + E) * 4 + 3] > 1 && h.push([E, R]);
35
+ const [y, U, S, _] = yt(f, c);
36
+ return c.restore(), { w: a, h: i, wordMask: h, minX: y, minY: U, maxX: S, maxY: _ };
37
37
  }
38
- function Re({ mask: w, maskW: p, maskH: u, wx: f, wy: c, wordMask: m }) {
38
+ function Re({ mask: C, maskW: p, maskH: u, wx: f, wy: c, wordMask: m }) {
39
39
  for (let l = 0; l < m.length; l += 1) {
40
40
  const a = f + m[l][0], i = c + m[l][1];
41
- if (a < 0 || i < 0 || a >= p || i >= u || w[i * p + a]) return !1;
41
+ if (a < 0 || i < 0 || a >= p || i >= u || C[i * p + a]) return !1;
42
42
  }
43
43
  return !0;
44
44
  }
45
- function Xe({ mask: w, maskW: p, maskH: u, wx: f, wy: c, wordMask: m }) {
45
+ function Xe({ mask: C, maskW: p, maskH: u, wx: f, wy: c, wordMask: m }) {
46
46
  for (let l = 0; l < m.length; l += 1) {
47
47
  const a = f + m[l][0], i = c + m[l][1];
48
- a >= 0 && i >= 0 && a < p && i < u && (w[i * p + a] = 1);
48
+ a >= 0 && i >= 0 && a < p && i < u && (C[i * p + a] = 1);
49
49
  }
50
50
  }
51
- function yt({ wordMask: w, w: p, h: u, dilation: f }) {
52
- const c = new Set(w.map(([l, a]) => `${l},${a}`)), m = new Set(c);
53
- for (let [l, a] of w)
51
+ function bt({ wordMask: C, w: p, h: u, dilation: f }) {
52
+ const c = new Set(C.map(([l, a]) => `${l},${a}`)), m = new Set(c);
53
+ for (let [l, a] of C)
54
54
  for (let i = -f; i <= f; i += 1)
55
- for (let k = -f; k <= f; k += 1) {
56
- if (i === 0 && k === 0) continue;
57
- const d = l + i, h = a + k;
55
+ for (let x = -f; x <= f; x += 1) {
56
+ if (i === 0 && x === 0) continue;
57
+ const d = l + i, h = a + x;
58
58
  d >= 0 && d < p && h >= 0 && h < u && m.add(`${d},${h}`);
59
59
  }
60
60
  return Array.from(m).map((l) => l.split(",").map(Number));
61
61
  }
62
62
  function wt({
63
- words: w,
63
+ words: C,
64
64
  proximity: p = 0,
65
65
  svg: u,
66
66
  strictPixelPadding: f
67
67
  }) {
68
- const { width: c, height: m } = u, l = Math.round(c), a = Math.round(m), i = 1, k = u.minFontSize, d = Math.min(u.maxFontSize, 100), h = w.map((F) => F.value), b = Math.min(...h), U = Math.max(...h), S = new Uint8Array(l * a), N = document.createElement("canvas"), _ = N.getContext("2d", { willReadFrequently: !0 });
69
- N.width = l, N.height = a;
70
- const Y = 6, re = 2, te = 2, e = 1, G = Math.floor(l / 2), oe = Math.floor(a / 2), ae = [...w].sort((F, z) => z.value - F.value), j = [];
68
+ const { width: c, height: m } = u, l = Math.round(c), a = Math.round(m), i = 1, x = u.minFontSize, d = Math.min(u.maxFontSize, 100), h = C.map((F) => F.value), y = Math.min(...h), U = Math.max(...h), S = new Uint8Array(l * a), _ = document.createElement("canvas"), R = _.getContext("2d", { willReadFrequently: !0 });
69
+ _.width = l, _.height = a;
70
+ const E = 6, re = 2, te = 2, e = 1, G = Math.floor(l / 2), oe = Math.floor(a / 2), ae = [...C].sort((F, z) => z.value - F.value), j = [];
71
71
  for (const F of ae) {
72
- let z = k;
73
- U !== b && (z = (F.value - b) / (U - b) * (d - k) + k), z = Math.max(k, Math.min(d, z));
74
- let R = !1, s = z;
75
- for (; !R && s >= i; ) {
76
- let { w: X, h: V, wordMask: C, minX: W, minY: q, maxX: Z, maxY: J } = _e({
72
+ let z = x;
73
+ U !== y && (z = (F.value - y) / (U - y) * (d - x) + x), z = Math.max(x, Math.min(d, z));
74
+ let X = !1, s = z;
75
+ for (; !X && s >= i; ) {
76
+ let { w: V, h: W, wordMask: $, minX: B, minY: q, maxX: Z, maxY: J } = _e({
77
77
  word: F,
78
78
  fontSize: s,
79
79
  pad: p,
80
- canvas: N,
81
- ctx: _,
80
+ canvas: _,
81
+ ctx: R,
82
82
  svg: u
83
83
  });
84
- f && (C = yt({ wordMask: C, w: X, h: V, dilation: 1 }));
84
+ f && ($ = bt({ wordMask: $, w: V, h: W, dilation: 1 }));
85
85
  let O = 0, D = 0;
86
- for (; O < Math.max(l, a) && !R && D < 1e4; ) {
87
- for (let v = 0; v < 360; v += Y) {
86
+ for (; O < Math.max(l, a) && !X && D < 1e4; ) {
87
+ for (let v = 0; v < 360; v += E) {
88
88
  D += 1;
89
- const P = Math.round(G + O * Math.cos(v * Math.PI / 180) - X / 2), y = Math.round(oe + O * Math.sin(v * Math.PI / 180) - V / 2);
90
- if (!(P < 0 || y < 0 || P + X > l || y + V > a) && Re({ mask: S, maskW: l, maskH: a, wx: P, wy: y, wordMask: C })) {
91
- j.push({ ...F, x: P - l / 2, y: y - a / 2, fontSize: s, width: X, height: V, angle: 0, minX: W, minY: q, maxX: Z, maxY: J }), Xe({ mask: S, maskW: l, maskH: a, wx: P, wy: y, wordMask: C }), R = !0;
89
+ const P = Math.round(G + O * Math.cos(v * Math.PI / 180) - V / 2), b = Math.round(oe + O * Math.sin(v * Math.PI / 180) - W / 2);
90
+ if (!(P < 0 || b < 0 || P + V > l || b + W > a) && Re({ mask: S, maskW: l, maskH: a, wx: P, wy: b, wordMask: $ })) {
91
+ j.push({ ...F, x: P - l / 2, y: b - a / 2, fontSize: s, width: V, height: W, angle: 0, minX: B, minY: q, maxX: Z, maxY: J }), Xe({ mask: S, maskW: l, maskH: a, wx: P, wy: b, wordMask: $ }), X = !0;
92
92
  break;
93
93
  }
94
94
  }
95
95
  O += re;
96
96
  }
97
- R || (s -= 1);
97
+ X || (s -= 1);
98
98
  }
99
- if (!R && s < i) {
99
+ if (!X && s < i) {
100
100
  s = i;
101
- const { w: X, h: V, wordMask: C, minX: W, minY: q, maxX: Z, maxY: J } = _e({
101
+ const { w: V, h: W, wordMask: $, minX: B, minY: q, maxX: Z, maxY: J } = _e({
102
102
  word: F,
103
103
  fontSize: s,
104
104
  pad: p,
105
- canvas: N,
106
- ctx: _,
105
+ canvas: _,
106
+ ctx: R,
107
107
  svg: u
108
108
  });
109
109
  let O = 0, D = 0;
110
- for (; O < Math.max(l, a) && !R && D < 25e3; ) {
110
+ for (; O < Math.max(l, a) && !X && D < 25e3; ) {
111
111
  for (let v = 0; v < 360; v += te) {
112
112
  D += 1;
113
- const P = Math.round(G + O * Math.cos(v * Math.PI / 180) - X / 2), y = Math.round(oe + O * Math.sin(v * Math.PI / 180) - V / 2);
114
- if (!(P < 0 || y < 0 || P + X > l || y + V > a) && Re({ mask: S, maskW: l, maskH: a, wx: P, wy: y, wordMask: C })) {
115
- j.push({ ...F, x: P - l / 2, y: y - a / 2, fontSize: s, width: X, height: V, angle: 0, minX: W, minY: q, maxX: Z, maxY: J }), Xe({ mask: S, maskW: l, maskH: a, wx: P, wy: y, wordMask: C }), R = !0;
113
+ const P = Math.round(G + O * Math.cos(v * Math.PI / 180) - V / 2), b = Math.round(oe + O * Math.sin(v * Math.PI / 180) - W / 2);
114
+ if (!(P < 0 || b < 0 || P + V > l || b + W > a) && Re({ mask: S, maskW: l, maskH: a, wx: P, wy: b, wordMask: $ })) {
115
+ j.push({ ...F, x: P - l / 2, y: b - a / 2, fontSize: s, width: V, height: W, angle: 0, minX: B, minY: q, maxX: Z, maxY: J }), Xe({ mask: S, maskW: l, maskH: a, wx: P, wy: b, wordMask: $ }), X = !0;
116
116
  break;
117
117
  }
118
118
  }
@@ -145,19 +145,19 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
145
145
  }
146
146
  }
147
147
  },
148
- setup(w, { expose: p }) {
148
+ setup(C, { expose: p }) {
149
149
  Ue((t) => ({
150
- "6bfb0274": t.slicerColor
150
+ "3ca772b1": t.slicerColor
151
151
  }));
152
- const u = H(() => import("./vue-ui-accordion-CVnA550V.js")), f = H(() => import("./BaseIcon-naqtCxVi.js")), c = H(() => import("./DataTable-D0VYDhfx.js")), m = H(() => import("./PackageVersion-5TR4ocqp.js")), l = H(() => import("./PenAndPaper-D6AqipIO.js")), a = H(() => import("./Tooltip-CoQnTnr-.js")), i = H(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_word_cloud: k } = Ze(), d = w, h = se({
152
+ const u = H(() => import("./vue-ui-accordion-CcTUbiHq.js")), f = H(() => import("./BaseIcon-C2f-EcZc.js")), c = H(() => import("./DataTable-6BxhjBzt.js")), m = H(() => import("./PackageVersion-CIX1W_aa.js")), l = H(() => import("./PenAndPaper-CqJ4wudB.js")), a = H(() => import("./Tooltip-BTnTpPdO.js")), i = H(() => import("./UserOptions-lneAyZKu.js")), { vue_ui_word_cloud: x } = Ze(), d = C, h = se({
153
153
  get() {
154
154
  return !!d.dataset && d.dataset.length;
155
155
  },
156
156
  set(t) {
157
157
  return t;
158
158
  }
159
- }), b = g(Ae()), U = g(0), S = g(null), N = g(null), _ = g(null), Y = g(0), re = g(0), te = g(!1), e = se({
160
- get: () => R(),
159
+ }), y = g(Ae()), U = g(0), S = g(null), _ = g(null), R = g(null), E = g(0), re = g(0), te = g(!1), e = se({
160
+ get: () => X(),
161
161
  set: (t) => t
162
162
  }), G = g(oe());
163
163
  function oe() {
@@ -166,14 +166,14 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
166
166
  value: Ke(t.value)
167
167
  }));
168
168
  }
169
- ye(() => d.dataset, () => {
169
+ be(() => d.dataset, () => {
170
170
  G.value = oe(), fe();
171
171
  });
172
172
  const { userOptionsVisible: ae, setUserOptionsVisibility: j, keepUserOptionState: F } = vt({ config: e.value }), { svgRef: z } = ht({ config: e.value.style.chart.title });
173
- function R() {
173
+ function X() {
174
174
  const t = Ne({
175
175
  userConfig: d.config,
176
- defaultConfig: k
176
+ defaultConfig: x
177
177
  });
178
178
  return t.theme ? {
179
179
  ...Ne({
@@ -183,8 +183,8 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
183
183
  customPalette: Qe[t.theme] || me
184
184
  } : t;
185
185
  }
186
- ye(() => d.config, (t) => {
187
- e.value = R(), ae.value = !e.value.userOptions.showOnChartHover, q(), Y.value += 1, re.value += 1, v.value.showTable = e.value.table.show, v.value.showTooltip = e.value.style.chart.tooltip.show;
186
+ be(() => d.config, (t) => {
187
+ e.value = X(), ae.value = !e.value.userOptions.showOnChartHover, q(), E.value += 1, re.value += 1, v.value.showTable = e.value.table.show, v.value.showTooltip = e.value.style.chart.tooltip.show;
188
188
  }, { deep: !0 });
189
189
  const s = g({
190
190
  width: e.value.style.chart.width,
@@ -192,18 +192,18 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
192
192
  maxFontSize: e.value.style.chart.words.maxFontSize,
193
193
  minFontSize: e.value.style.chart.words.minFontSize,
194
194
  bold: e.value.style.chart.words.bold
195
- }), X = ct(() => {
195
+ }), V = ct(() => {
196
196
  fe();
197
- }, 10), V = rt(() => {
197
+ }, 10), W = rt(() => {
198
198
  const { width: t, height: n } = ut({
199
199
  chart: S.value,
200
- title: e.value.style.chart.title.text ? N.value : null,
201
- source: _.value
200
+ title: e.value.style.chart.title.text ? _.value : null,
201
+ source: R.value
202
202
  });
203
203
  requestAnimationFrame(() => {
204
- s.value.width = t, s.value.height = n, Oe(X);
204
+ s.value.width = t, s.value.height = n, Oe(V);
205
205
  });
206
- }), C = Me(null), W = Me(null);
206
+ }), $ = Me(null), B = Me(null);
207
207
  De(q);
208
208
  function q() {
209
209
  tt(d.dataset) ? Ie({
@@ -221,13 +221,13 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
221
221
  index: n
222
222
  });
223
223
  });
224
- }), e.value.responsive && (C.value && (W.value && C.value.unobserve(W.value), C.value.disconnect()), C.value = new ResizeObserver(V), W.value = S.value.parentNode, C.value.observe(W.value));
224
+ }), e.value.responsive && ($.value && (B.value && $.value.unobserve(B.value), $.value.disconnect()), $.value = new ResizeObserver(W), B.value = S.value.parentNode, $.value.observe(B.value));
225
225
  }
226
226
  Ge(() => {
227
- C.value && (W.value && C.value.unobserve(W.value), C.value.disconnect());
227
+ $.value && (B.value && $.value.unobserve(B.value), $.value.disconnect());
228
228
  });
229
229
  const { isPrinting: Z, isImaging: J, generatePdf: O, generateImage: D } = dt({
230
- elementId: `wordCloud_${b.value}`,
230
+ elementId: `wordCloud_${y.value}`,
231
231
  fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
232
232
  options: e.value.userOptions.print
233
233
  }), v = g({
@@ -235,60 +235,60 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
235
235
  showTooltip: e.value.style.chart.tooltip.show
236
236
  });
237
237
  function P(t, n, o = "Arial") {
238
- const T = document.createElement("canvas").getContext("2d");
239
- return T.font = `${n}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
240
- width: T.measureText(t).width + e.value.style.chart.words.proximity,
238
+ const k = document.createElement("canvas").getContext("2d");
239
+ return k.font = `${n}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
240
+ width: k.measureText(t).width + e.value.style.chart.words.proximity,
241
241
  height: n
242
242
  };
243
243
  }
244
- const y = g([]);
245
- ye(() => d.dataset, fe, { immediate: !0 });
244
+ const b = g([]);
245
+ be(() => d.dataset, fe, { immediate: !0 });
246
246
  function fe() {
247
- const t = [...G.value].map((T) => T.value), n = Math.max(...t), o = Math.min(...t), $ = [...G.value].map((T, E) => {
248
- let L = (T.value - o) / (n - o) * (s.value.maxFontSize - s.value.minFontSize) + s.value.minFontSize;
247
+ const t = [...G.value].map((k) => k.value), n = Math.max(...t), o = Math.min(...t), w = [...G.value].map((k, I) => {
248
+ let L = (k.value - o) / (n - o) * (s.value.maxFontSize - s.value.minFontSize) + s.value.minFontSize;
249
249
  L = isNaN(L) ? s.value.minFontSize : L;
250
- const Fe = P(T.name, L);
250
+ const Fe = P(k.name, L);
251
251
  return {
252
- ...T,
252
+ ...k,
253
253
  id: Ae(),
254
254
  fontSize: L,
255
255
  width: Fe.width,
256
256
  height: Fe.height,
257
- color: e.value.style.chart.words.usePalette ? e.value.customPalette[E] || e.value.customPalette[E % e.value.customPalette.length] || me[E] || me[E % me.length] : e.value.style.chart.words.color
257
+ color: e.value.style.chart.words.usePalette ? e.value.customPalette[I] || e.value.customPalette[I % e.value.customPalette.length] || me[I] || me[I % me.length] : e.value.style.chart.words.color
258
258
  };
259
259
  });
260
- y.value = wt({
261
- words: $,
260
+ b.value = wt({
261
+ words: w,
262
262
  svg: s.value,
263
263
  proximity: e.value.style.chart.words.proximity,
264
264
  strictPixelPadding: e.value.strictPixelPadding
265
265
  });
266
266
  }
267
267
  const ue = se(() => {
268
- const t = y.value.map((o) => ({
268
+ const t = b.value.map((o) => ({
269
269
  name: o.name,
270
270
  color: o.color
271
- })), n = y.value.map((o) => o.value);
271
+ })), n = b.value.map((o) => o.value);
272
272
  return { head: t, body: n };
273
273
  });
274
274
  function Ce(t = null) {
275
275
  Oe(() => {
276
- const n = ue.value.head.map((T, E) => [[
277
- T.name
278
- ], [ue.value.body[E]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(n), $ = nt(o);
279
- t ? t($) : st({ csvContent: $, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
276
+ const n = ue.value.head.map((k, I) => [[
277
+ k.name
278
+ ], [ue.value.body[I]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(n), w = nt(o);
279
+ t ? t(w) : st({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
280
280
  });
281
281
  }
282
282
  const ce = se(() => {
283
283
  const t = [
284
284
  e.value.table.columnNames.series,
285
285
  e.value.table.columnNames.value
286
- ], n = ue.value.head.map((T, E) => {
287
- const L = at({ p: e.value.table.td.prefix, v: ue.value.body[E], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
286
+ ], n = ue.value.head.map((k, I) => {
287
+ const L = at({ p: e.value.table.td.prefix, v: ue.value.body[I], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
288
288
  return [
289
289
  {
290
- color: T.color,
291
- name: T.name
290
+ color: k.color,
291
+ name: k.name
292
292
  },
293
293
  L
294
294
  ];
@@ -319,7 +319,7 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
319
319
  de.value = t, U.value += 1;
320
320
  }
321
321
  function Ve() {
322
- return y.value;
322
+ return b.value;
323
323
  }
324
324
  function $e() {
325
325
  v.value.showTable = !v.value.showTable;
@@ -339,8 +339,15 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
339
339
  }, 1, We);
340
340
  async function Ye({ scale: t = 2 } = {}) {
341
341
  if (!S.value) return;
342
- const { imageUri: n, base64: o } = await pt({ domElement: S.value, base64: !0, img: !0, scale: t });
343
- return { imageUri: n, base64: o };
342
+ const { width: n, height: o } = S.value.getBoundingClientRect(), w = n / o, { imageUri: k, base64: I } = await pt({ domElement: S.value, base64: !0, img: !0, scale: t });
343
+ return {
344
+ imageUri: k,
345
+ base64: I,
346
+ title: e.value.style.chart.title.text,
347
+ width: n,
348
+ height: o,
349
+ aspectRatio: w
350
+ };
344
351
  }
345
352
  p({
346
353
  getData: Ve,
@@ -353,10 +360,10 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
353
360
  toggleAnnotator: pe,
354
361
  toggleFullscreen: xe
355
362
  });
356
- const K = g(null), ne = g(!1), ge = g(""), be = g(null);
363
+ const K = g(null), ne = g(!1), ge = g(""), ye = g(null);
357
364
  function Ee(t) {
358
365
  if (!v.value.showTooltip) return;
359
- K.value = t.id, be.value = { datapoint: t, config: e.value };
366
+ K.value = t.id, ye.value = { datapoint: t, config: e.value };
360
367
  const n = e.value.style.chart.tooltip.customFormat;
361
368
  if (ne.value = !1, it(n))
362
369
  try {
@@ -374,31 +381,31 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
374
381
  }
375
382
  te.value = !0;
376
383
  }
377
- return (t, n) => (x(), I("div", {
384
+ return (t, n) => (T(), N("div", {
378
385
  class: "vue-ui-word-cloud",
379
386
  ref_key: "wordCloudChart",
380
387
  ref: S,
381
- id: `wordCloud_${b.value}`,
388
+ id: `wordCloud_${y.value}`,
382
389
  style: he(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
383
390
  onMouseenter: n[3] || (n[3] = () => r(j)(!0)),
384
391
  onMouseleave: n[4] || (n[4] = () => r(j)(!1))
385
392
  }, [
386
- e.value.userOptions.buttons.annotator ? (x(), ie(r(l), {
393
+ e.value.userOptions.buttons.annotator ? (T(), ie(r(l), {
387
394
  key: 0,
388
395
  svgRef: r(z),
389
396
  backgroundColor: e.value.style.chart.backgroundColor,
390
397
  color: e.value.style.chart.color,
391
398
  active: le.value,
392
399
  onClose: pe
393
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : B("", !0),
394
- e.value.style.chart.title.text ? (x(), I("div", {
400
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : Y("", !0),
401
+ e.value.style.chart.title.text ? (T(), N("div", {
395
402
  key: 1,
396
403
  ref_key: "chartTitle",
397
- ref: N,
404
+ ref: _,
398
405
  style: "width:100%;background:transparent;padding-bottom:24px"
399
406
  }, [
400
- (x(), ie(ft, {
401
- key: `title_${Y.value}`,
407
+ (T(), ie(ft, {
408
+ key: `title_${E.value}`,
402
409
  config: {
403
410
  title: {
404
411
  ...e.value.style.chart.title
@@ -408,15 +415,15 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
408
415
  }
409
416
  }
410
417
  }, null, 8, ["config"]))
411
- ], 512)) : B("", !0),
412
- e.value.userOptions.show && h.value && (r(F) || r(ae)) ? (x(), ie(r(i), {
418
+ ], 512)) : Y("", !0),
419
+ e.value.userOptions.show && h.value && (r(F) || r(ae)) ? (T(), ie(r(i), {
413
420
  ref: "details",
414
421
  key: `user_option_${U.value}`,
415
422
  backgroundColor: e.value.style.chart.backgroundColor,
416
423
  color: e.value.style.chart.color,
417
424
  isPrinting: r(Z),
418
425
  isImaging: r(J),
419
- uid: b.value,
426
+ uid: y.value,
420
427
  hasPdf: e.value.userOptions.buttons.pdf,
421
428
  hasXls: e.value.userOptions.buttons.csv,
422
429
  hasImg: e.value.userOptions.buttons.img,
@@ -445,8 +452,8 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
445
452
  }, Le({ _: 2 }, [
446
453
  t.$slots.menuIcon ? {
447
454
  name: "menuIcon",
448
- fn: A(({ isOpen: o, color: $ }) => [
449
- M(t.$slots, "menuIcon", Q(ee({ isOpen: o, color: $ })), void 0, !0)
455
+ fn: A(({ isOpen: o, color: w }) => [
456
+ M(t.$slots, "menuIcon", Q(ee({ isOpen: o, color: w })), void 0, !0)
450
457
  ]),
451
458
  key: "0"
452
459
  } : void 0,
@@ -480,20 +487,20 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
480
487
  } : void 0,
481
488
  t.$slots.optionFullscreen ? {
482
489
  name: "optionFullscreen",
483
- fn: A(({ toggleFullscreen: o, isFullscreen: $ }) => [
484
- M(t.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: o, isFullscreen: $ })), void 0, !0)
490
+ fn: A(({ toggleFullscreen: o, isFullscreen: w }) => [
491
+ M(t.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: o, isFullscreen: w })), void 0, !0)
485
492
  ]),
486
493
  key: "5"
487
494
  } : void 0,
488
495
  t.$slots.optionAnnotator ? {
489
496
  name: "optionAnnotator",
490
- fn: A(({ toggleAnnotator: o, isAnnotator: $ }) => [
491
- M(t.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: o, isAnnotator: $ })), void 0, !0)
497
+ fn: A(({ toggleAnnotator: o, isAnnotator: w }) => [
498
+ M(t.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: o, isAnnotator: w })), void 0, !0)
492
499
  ]),
493
500
  key: "6"
494
501
  } : void 0
495
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : B("", !0),
496
- h.value ? (x(), I("svg", {
502
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : Y("", !0),
503
+ h.value ? (T(), N("svg", {
497
504
  key: 3,
498
505
  ref_key: "svgRef",
499
506
  ref: z,
@@ -503,7 +510,7 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
503
510
  style: "overflow:hidden;background:transparent;"
504
511
  }, [
505
512
  we(r(m)),
506
- t.$slots["chart-background"] ? (x(), I("foreignObject", {
513
+ t.$slots["chart-background"] ? (T(), N("foreignObject", {
507
514
  key: 0,
508
515
  x: 0,
509
516
  y: 0,
@@ -514,12 +521,12 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
514
521
  }
515
522
  }, [
516
523
  M(t.$slots, "chart-background", {}, void 0, !0)
517
- ], 8, xt)) : B("", !0),
524
+ ], 8, xt)) : Y("", !0),
518
525
  ke("g", {
519
526
  transform: `translate(${(s.value.width <= 0 ? 10 : s.value.width) / 2}, ${(s.value.height <= 0 ? 10 : s.value.height) / 2})`
520
527
  }, [
521
- (x(!0), I(He, null, je(y.value, (o, $) => (x(), I("g", null, [
522
- o.minX !== void 0 ? (x(), I("rect", {
528
+ (T(!0), N(He, null, je(b.value, (o, w) => (T(), N("g", null, [
529
+ o.minX !== void 0 ? (T(), N("rect", {
523
530
  key: 0,
524
531
  x: o.x + o.minX,
525
532
  y: o.y + o.minY * 1.25,
@@ -527,15 +534,15 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
527
534
  height: o.maxY - o.minY,
528
535
  fill: "transparent",
529
536
  "pointer-events": "visiblePainted",
530
- onMouseover: (T) => Ee(o),
531
- onMouseleave: n[0] || (n[0] = (T) => {
537
+ onMouseover: (k) => Ee(o),
538
+ onMouseleave: n[0] || (n[0] = (k) => {
532
539
  K.value = null, te.value = !1;
533
540
  })
534
- }, null, 40, Tt)) : B("", !0),
535
- (x(), I("text", {
541
+ }, null, 40, Tt)) : Y("", !0),
542
+ (T(), N("text", {
536
543
  fill: o.color,
537
544
  "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
538
- key: $,
545
+ key: w,
539
546
  x: o.x,
540
547
  y: o.y,
541
548
  "font-size": o.fontSize,
@@ -543,18 +550,18 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
543
550
  class: Pe({ animated: e.value.useCssAnimation, "word-selected": K.value && K.value === o.id && v.value.showTooltip, "word-not-selected": K.value && K.value !== o.id && v.value.showTooltip }),
544
551
  "text-anchor": "middle",
545
552
  "dominant-baseline": "central",
546
- style: he(`animation-delay:${$ * e.value.animationDelayMs}ms !important; pointer-events:none;`)
553
+ style: he(`animation-delay:${w * e.value.animationDelayMs}ms !important; pointer-events:none;`)
547
554
  }, ze(o.name), 15, St))
548
555
  ]))), 256))
549
556
  ], 8, $t),
550
557
  M(t.$slots, "svg", {
551
558
  svg: { height: s.value.height, width: s.value.width }
552
559
  }, void 0, !0)
553
- ], 10, Ct)) : B("", !0),
554
- t.$slots.watermark ? (x(), I("div", Ft, [
560
+ ], 10, Ct)) : Y("", !0),
561
+ t.$slots.watermark ? (T(), N("div", Ft, [
555
562
  M(t.$slots, "watermark", Q(ee({ isPrinting: r(Z) || r(J) })), void 0, !0)
556
- ])) : B("", !0),
557
- r(Be) ? (x(), I("div", Mt, [
563
+ ])) : Y("", !0),
564
+ r(Be) ? (T(), N("div", Mt, [
558
565
  M(t.$slots, "reset-action", { reset: r(Se) }, () => [
559
566
  ke("button", {
560
567
  "data-cy-reset": "",
@@ -572,7 +579,7 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
572
579
  }, null, 8, ["stroke"])
573
580
  ], 4)
574
581
  ], !0)
575
- ])) : B("", !0),
582
+ ])) : Y("", !0),
576
583
  we(r(a), {
577
584
  show: v.value.showTooltip && te.value,
578
585
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
@@ -589,22 +596,22 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
589
596
  isCustom: ne.value
590
597
  }, {
591
598
  "tooltip-before": A(() => [
592
- M(t.$slots, "tooltip-before", Q(ee({ ...be.value })), void 0, !0)
599
+ M(t.$slots, "tooltip-before", Q(ee({ ...ye.value })), void 0, !0)
593
600
  ]),
594
601
  "tooltip-after": A(() => [
595
- M(t.$slots, "tooltip-after", Q(ee({ ...be.value })), void 0, !0)
602
+ M(t.$slots, "tooltip-after", Q(ee({ ...ye.value })), void 0, !0)
596
603
  ]),
597
604
  _: 3
598
605
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
599
- t.$slots.source ? (x(), I("div", {
606
+ t.$slots.source ? (T(), N("div", {
600
607
  key: 6,
601
608
  ref_key: "source",
602
- ref: _,
609
+ ref: R,
603
610
  dir: "auto"
604
611
  }, [
605
612
  M(t.$slots, "source", {}, void 0, !0)
606
- ], 512)) : B("", !0),
607
- h.value ? (x(), ie(r(u), {
613
+ ], 512)) : Y("", !0),
614
+ h.value ? (T(), ie(r(u), {
608
615
  key: 7,
609
616
  hideDetails: "",
610
617
  config: {
@@ -621,7 +628,7 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
621
628
  }
622
629
  }, {
623
630
  content: A(() => [
624
- (x(), ie(r(c), {
631
+ (T(), ie(r(c), {
625
632
  key: `table_${re.value}`,
626
633
  colNames: ce.value.colNames,
627
634
  head: ce.value.head,
@@ -643,10 +650,10 @@ const kt = ["id"], Ct = ["xmlns", "viewBox"], xt = ["width", "height"], $t = ["t
643
650
  }, 8, ["colNames", "head", "body", "config", "title"]))
644
651
  ]),
645
652
  _: 1
646
- }, 8, ["config"])) : B("", !0)
653
+ }, 8, ["config"])) : Y("", !0)
647
654
  ], 44, kt));
648
655
  }
649
- }, Et = /* @__PURE__ */ gt(zt, [["__scopeId", "data-v-da476032"]]);
656
+ }, Et = /* @__PURE__ */ gt(zt, [["__scopeId", "data-v-1c33b161"]]);
650
657
  export {
651
658
  Et as default
652
659
  };