vue-data-ui 3.1.1 → 3.1.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/dist/{Arrow-xQM7mBzd.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-8_V5egWW.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dz-j6ERs.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-vwh3dolO.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-C4B0wEFn.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  39. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-xseR2SnT.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-NfRSd6fU.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-C973vfYh.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-BC9czZGG.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-DITnRSiS.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  76. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  77. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-rmbBw_0d.js} +3 -3
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-DOCeCCqz.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  86. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/pdf-Cjsn5GEE.js +0 -61
  92. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  93. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,811 +0,0 @@
1
- import { useCssVars as nt, defineAsyncComponent as G, computed as Q, ref as m, toRefs as st, watch as ee, shallowRef as Ve, onMounted as it, onBeforeUnmount as ut, createElementBlock as V, openBlock as k, unref as i, normalizeStyle as ge, createBlock as te, createCommentVNode as X, createVNode as be, createSlots as _e, withCtx as S, renderSlot as M, normalizeProps as ae, guardReactiveProps as oe, normalizeClass as We, createElementVNode as ye, Fragment as rt, renderList as ct, toDisplayString as Me, resolveDynamicComponent as vt, mergeProps as dt, createTextVNode as Xe, nextTick as Ee } from "vue";
2
- import { d as mt, t as ht, u as ft } from "./useResponsive-DfdjqQps.js";
3
- import { u as pt, c as Ue, t as gt, an as bt, h as yt, a as wt, p as we, b as Ct, o as Le, f as Ye, g as kt, i as xt, X as $t, v as Tt, w as St, y as Mt } from "./index-BKQqb9lF.js";
4
- import { u as Ft, B as Pt } from "./BaseScanner-BgWxam9d.js";
5
- import { u as At } from "./usePrinter-BzuXiubT.js";
6
- import { u as Ge } from "./useNestedProp-aBOhgs4U.js";
7
- import { u as It } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as Ot } from "./useChartAccessibility-9icAAmYg.js";
9
- import zt from "./img-gBDz7xQQ.js";
10
- import Nt from "./Title-Dz-j6ERs.js";
11
- import { u as Dt } from "./usePanZoom-BVca3eMk.js";
12
- import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- function Rt(x, g) {
14
- const { width: v, height: h } = x, f = g.getImageData(0, 0, v, h).data;
15
- let n = v, o = h, s = 0, $ = 0, F = !1;
16
- for (let u = 0; u < h; u += 1)
17
- for (let w = 0; w < v; w += 1)
18
- f[(u * v + w) * 4 + 3] > 1 && (F = !0, w < n && (n = w), w > s && (s = w), u < o && (o = u), u > $ && ($ = u));
19
- return F ? [n, o, s, $] : [0, 0, 0, 0];
20
- }
21
- function je({
22
- word: x,
23
- fontSize: g,
24
- pad: v,
25
- canvas: h,
26
- ctx: d,
27
- svg: f
28
- }) {
29
- d.save(), d.font = `${f.style && f.style.bold ? "bold " : ""}${g}px Arial`;
30
- const n = d.measureText(x.name), o = Math.ceil(n.width) + 2 + (v ? v * 2 : 0), s = Math.ceil(g) + 2 + (v ? v * 2 : 0);
31
- h.width = o, h.height = s, d.clearRect(0, 0, o, s), d.font = `${f.style && f.style.bold ? "bold " : ""}${g}px Arial`, d.textAlign = "center", d.textBaseline = "middle", d.fillStyle = "black", d.fillText(x.name, o / 2, s / 2);
32
- const F = d.getImageData(0, 0, o, s).data, u = [];
33
- for (let _ = 0; _ < s; _ += 1)
34
- for (let L = 0; L < o; L += 1)
35
- F[(_ * o + L) * 4 + 3] > 1 && u.push([L, _]);
36
- const [w, E, U, C] = Rt(h, d);
37
- return d.restore(), { w: o, h: s, wordMask: u, minX: w, minY: E, maxX: U, maxY: C };
38
- }
39
- function qe({ mask: x, maskW: g, maskH: v, wx: h, wy: d, wordMask: f }) {
40
- for (let n = 0; n < f.length; n += 1) {
41
- const o = h + f[n][0], s = d + f[n][1];
42
- if (o < 0 || s < 0 || o >= g || s >= v || x[s * g + o]) return !1;
43
- }
44
- return !0;
45
- }
46
- function He({ mask: x, maskW: g, maskH: v, wx: h, wy: d, wordMask: f }) {
47
- for (let n = 0; n < f.length; n += 1) {
48
- const o = h + f[n][0], s = d + f[n][1];
49
- o >= 0 && s >= 0 && o < g && s < v && (x[s * g + o] = 1);
50
- }
51
- }
52
- function Vt({ wordMask: x, w: g, h: v, dilation: h }) {
53
- const d = new Set(x.map(([n, o]) => `${n},${o}`)), f = new Set(d);
54
- for (let [n, o] of x)
55
- for (let s = -h; s <= h; s += 1)
56
- for (let $ = -h; $ <= h; $ += 1) {
57
- if (s === 0 && $ === 0) continue;
58
- const F = n + s, u = o + $;
59
- F >= 0 && F < g && u >= 0 && u < v && f.add(`${F},${u}`);
60
- }
61
- return Array.from(f).map((n) => n.split(",").map(Number));
62
- }
63
- function _t({
64
- words: x,
65
- proximity: g = 0,
66
- svg: v,
67
- strictPixelPadding: h
68
- }) {
69
- const { width: d, height: f } = v, n = Math.round(d), o = Math.round(f), s = 1, $ = v.minFontSize, F = Math.min(v.maxFontSize, 100), u = x.map((P) => P.value), w = Math.min(...u), E = Math.max(...u), U = new Uint8Array(n * o), C = document.createElement("canvas"), _ = C.getContext("2d", { willReadFrequently: !0 });
70
- C.width = n, C.height = o;
71
- const L = 6, ve = 2, de = 2, le = 1, Y = Math.floor(n / 2), e = Math.floor(o / 2), Ce = [...x].sort((P, A) => A.value - P.value), j = [];
72
- for (const P of Ce) {
73
- let A = $;
74
- E !== w && (A = (P.value - w) / (E - w) * (F - $) + $), A = Math.max($, Math.min(F, A));
75
- let W = !1, O = A;
76
- for (; !W && O >= s; ) {
77
- let { w: z, h: N, wordMask: D, minX: q, minY: H, maxX: Z, maxY: ne } = je({
78
- word: P,
79
- fontSize: O,
80
- pad: g,
81
- canvas: C,
82
- ctx: _,
83
- svg: v
84
- });
85
- h && (D = Vt({ wordMask: D, w: z, h: N, dilation: 1 }));
86
- let I = 0, c = 0;
87
- for (; I < Math.max(n, o) && !W && c < 1e4; ) {
88
- for (let B = 0; B < 360; B += L) {
89
- c += 1;
90
- const p = Math.round(Y + I * Math.cos(B * Math.PI / 180) - z / 2), b = Math.round(e + I * Math.sin(B * Math.PI / 180) - N / 2);
91
- if (!(p < 0 || b < 0 || p + z > n || b + N > o) && qe({ mask: U, maskW: n, maskH: o, wx: p, wy: b, wordMask: D })) {
92
- j.push({ ...P, x: p - n / 2, y: b - o / 2, fontSize: O, width: z, height: N, angle: 0, minX: q, minY: H, maxX: Z, maxY: ne }), He({ mask: U, maskW: n, maskH: o, wx: p, wy: b, wordMask: D }), W = !0;
93
- break;
94
- }
95
- }
96
- I += ve;
97
- }
98
- W || (O -= 1);
99
- }
100
- if (!W && O < s) {
101
- O = s;
102
- const { w: z, h: N, wordMask: D, minX: q, minY: H, maxX: Z, maxY: ne } = je({
103
- word: P,
104
- fontSize: O,
105
- pad: g,
106
- canvas: C,
107
- ctx: _,
108
- svg: v
109
- });
110
- let I = 0, c = 0;
111
- for (; I < Math.max(n, o) && !W && c < 25e3; ) {
112
- for (let B = 0; B < 360; B += de) {
113
- c += 1;
114
- const p = Math.round(Y + I * Math.cos(B * Math.PI / 180) - z / 2), b = Math.round(e + I * Math.sin(B * Math.PI / 180) - N / 2);
115
- if (!(p < 0 || b < 0 || p + z > n || b + N > o) && qe({ mask: U, maskW: n, maskH: o, wx: p, wy: b, wordMask: D })) {
116
- j.push({ ...P, x: p - n / 2, y: b - o / 2, fontSize: O, width: z, height: N, angle: 0, minX: q, minY: H, maxX: Z, maxY: ne }), He({ mask: U, maskW: n, maskH: o, wx: p, wy: b, wordMask: D }), W = !0;
117
- break;
118
- }
119
- }
120
- I += le;
121
- }
122
- }
123
- }
124
- return j.sort((P, A) => A.fontSize - P.fontSize);
125
- }
126
- const Wt = ["id"], Xt = ["xmlns", "viewBox"], Et = ["width", "height"], Ut = ["transform"], Lt = ["x", "y", "width", "height", "onMouseover", "onMouseleave", "onClick"], Yt = ["fill", "font-weight", "x", "y", "font-size", "transform"], Gt = {
127
- key: 3,
128
- class: "vue-data-ui-watermark"
129
- }, jt = {
130
- key: 4,
131
- "data-dom-to-png-ignore": "",
132
- class: "reset-wrapper"
133
- }, qt = ["innerHTML"], Ht = {
134
- __name: "vue-ui-word-cloud",
135
- props: {
136
- config: {
137
- type: Object,
138
- default() {
139
- return {};
140
- }
141
- },
142
- dataset: {
143
- type: [Array, String],
144
- default() {
145
- return [];
146
- }
147
- }
148
- },
149
- setup(x, { expose: g }) {
150
- nt((t) => ({
151
- "264af12c": t.slicerColor
152
- }));
153
- const v = G(() => import("./Tooltip-BTGOEC7w.js")), h = G(() => import("./BaseIcon-DLesaZpW.js")), d = G(() => import("./vue-ui-accordion-B5QeV3BK.js")), f = G(() => import("./DataTable-BAf4Obr9.js")), n = G(() => import("./PenAndPaper-B6OvfyHH.js")), o = G(() => import("./UserOptions-CsDlFB0L.js")), s = G(() => import("./PackageVersion-Cv_ypT0N.js")), $ = G(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_word_cloud: F } = pt(), u = x, w = Q({
154
- get() {
155
- return !!u.dataset && u.dataset.length;
156
- },
157
- set(t) {
158
- return t;
159
- }
160
- }), E = m(Ue()), U = m(0), C = m(null), _ = m(null), L = m(null), ve = m(0), de = m(0), le = m(!1), Y = m(null), e = m(q()), { loading: Ce, FINAL_DATASET: j, manualLoading: P } = Ft({
161
- ...st(u),
162
- FINAL_CONFIG: e,
163
- prepareConfig: q,
164
- skeletonDataset: [
165
- { name: "Lorem", value: 6 },
166
- { name: "ipsum", value: 3 },
167
- { name: "dolor", value: 1 },
168
- { name: "sit", value: 3 },
169
- { name: "amet", value: 3 },
170
- { name: "consectetur", value: 2 },
171
- { name: "adipiscing", value: 1 },
172
- { name: "elit", value: 2 },
173
- { name: "Vivamus", value: 2 },
174
- { name: "pulvinar", value: 1 },
175
- { name: "pretium", value: 1 },
176
- { name: "venenatis", value: 2 },
177
- { name: "Donec", value: 1 },
178
- { name: "imperdiet", value: 3 },
179
- { name: "id", value: 1 },
180
- { name: "porttitor", value: 2 },
181
- { name: "tristique", value: 1 },
182
- { name: "Aenean", value: 2 },
183
- { name: "ac", value: 5 },
184
- { name: "commodo", value: 2 },
185
- { name: "justo", value: 2 },
186
- { name: "Vestibulum", value: 2 },
187
- { name: "placerat", value: 1 },
188
- { name: "molestie", value: 1 },
189
- { name: "nisl", value: 1 },
190
- { name: "lacinia", value: 2 },
191
- { name: "nulla", value: 1 },
192
- { name: "posuere", value: 2 },
193
- { name: "quis", value: 3 },
194
- { name: "ullamcorper", value: 1 },
195
- { name: "eu", value: 1 },
196
- { name: "ex", value: 1 },
197
- { name: "vitae", value: 3 },
198
- { name: "facilisis", value: 1 },
199
- { name: "Aliquam", value: 1 },
200
- { name: "erat", value: 1 },
201
- { name: "volutpat", value: 1 },
202
- { name: "Proin", value: 1 },
203
- { name: "nunc", value: 1 },
204
- { name: "felis", value: 1 },
205
- { name: "gravida", value: 3 },
206
- { name: "sed", value: 1 },
207
- { name: "orci", value: 1 },
208
- { name: "Interdum", value: 1 },
209
- { name: "et", value: 1 },
210
- { name: "malesuada", value: 1 },
211
- { name: "fames", value: 1 },
212
- { name: "ante", value: 1 }
213
- ],
214
- skeletonConfig: gt({
215
- defaultConfig: e.value,
216
- userConfig: {
217
- userOptions: { show: !1 },
218
- table: { show: !1 },
219
- useCssAnimation: !1,
220
- animationDelayMs: 0,
221
- nodeCategories: {},
222
- nodeCategoryColors: {},
223
- style: {
224
- chart: {
225
- backgroundColor: "#99999930",
226
- words: {
227
- color: "#6A6A6A",
228
- usePalette: !1
229
- }
230
- }
231
- }
232
- }
233
- })
234
- }), A = m(W());
235
- function W() {
236
- return typeof j.value == "string" ? bt(j.value) : j.value.map((t, l) => ({
237
- ...t,
238
- value: yt(t.value)
239
- }));
240
- }
241
- ee(() => u.dataset, () => {
242
- A.value = W(), ke(), Z();
243
- });
244
- const { userOptionsVisible: O, setUserOptionsVisibility: z, keepUserOptionState: N } = It({ config: e.value }), { svgRef: D } = Ot({ config: e.value.style.chart.title });
245
- function q() {
246
- const t = Ge({
247
- userConfig: u.config,
248
- defaultConfig: F
249
- });
250
- return t.theme ? {
251
- ...Ge({
252
- userConfig: Ct.vue_ui_word_cloud[t.theme] || u.config,
253
- defaultConfig: t
254
- }),
255
- customPalette: wt[t.theme] || we
256
- } : t;
257
- }
258
- const H = m({ x: 0, y: 0 });
259
- function Z() {
260
- const t = {
261
- x: 0,
262
- y: 0,
263
- width: Math.max(10, c.value.width),
264
- height: Math.max(10, c.value.height)
265
- };
266
- et(t), H.value = {
267
- x: t.x + t.width / 2,
268
- y: t.y + t.height / 2
269
- }, pe();
270
- }
271
- const ne = mt(() => {
272
- ke();
273
- }, 10), I = m(!1);
274
- ee(() => I.value, (t) => {
275
- t === !1 && (ne(), Z());
276
- }), ee(() => u.config, (t) => {
277
- e.value = q(), O.value = !e.value.userOptions.showOnChartHover, Pe(), ve.value += 1, de.value += 1, T.value.showTable = e.value.table.show, T.value.showTooltip = e.value.style.chart.tooltip.show;
278
- }, { deep: !0 });
279
- const c = m({
280
- width: e.value.style.chart.width,
281
- height: e.value.style.chart.height,
282
- maxFontSize: e.value.style.chart.words.maxFontSize,
283
- minFontSize: e.value.style.chart.words.minFontSize,
284
- bold: e.value.style.chart.words.bold
285
- }), B = ht(() => {
286
- I.value = !0;
287
- const { width: t, height: l } = ft({
288
- chart: C.value,
289
- title: e.value.style.chart.title.text ? _.value : null,
290
- source: L.value
291
- });
292
- requestAnimationFrame(async () => {
293
- c.value.width = Math.max(10, t), c.value.height = Math.max(10, l - 12), await Ee(), I.value = !1;
294
- });
295
- }), p = Ve(null), b = Ve(null);
296
- it(Pe);
297
- const Fe = Q(() => !!e.value.debug);
298
- function Pe() {
299
- Le(u.dataset) ? Ye({
300
- componentName: "VueUiWordCloud",
301
- type: "dataset",
302
- debug: Fe.value
303
- }) : A.value.forEach((t, l) => {
304
- kt({
305
- datasetObject: t,
306
- requiredAttributes: ["name", "value"]
307
- }).forEach((a) => {
308
- w.value = !1, Ye({
309
- componentName: "VueUiWordCloud",
310
- type: "datasetSerieAttribute",
311
- property: a,
312
- index: l,
313
- debug: Fe.value
314
- });
315
- });
316
- }), Le(u.dataset) || (P.value = e.value.loading), e.value.responsive && (p.value && (b.value && p.value.unobserve(b.value), p.value.disconnect()), p.value = new ResizeObserver(B), b.value = C.value.parentNode, p.value.observe(b.value)), Z();
317
- }
318
- ut(() => {
319
- p.value && (b.value && p.value.unobserve(b.value), p.value.disconnect());
320
- });
321
- const { isPrinting: Ae, isImaging: Ie, generatePdf: Oe, generateImage: ze } = At({
322
- elementId: `wordCloud_${E.value}`,
323
- fileName: e.value.style.chart.title.text || "vue-ui-word-cloud",
324
- options: e.value.userOptions.print
325
- }), T = m({
326
- showTable: e.value.table.show,
327
- showTooltip: e.value.style.chart.tooltip.show
328
- });
329
- ee(e, () => {
330
- T.value = {
331
- showTable: e.value.table.show,
332
- showTooltip: e.value.style.chart.tooltip.show
333
- };
334
- }, { immediate: !0 });
335
- function Ze(t, l, a = "Arial") {
336
- const y = document.createElement("canvas").getContext("2d");
337
- return y.font = `${l}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${a}`, {
338
- width: y.measureText(t).width + e.value.style.chart.words.proximity,
339
- height: l
340
- };
341
- }
342
- const se = m([]);
343
- ee(() => u.dataset, ke, { immediate: !0 });
344
- function ke() {
345
- const t = [...A.value].map((y) => y.value), l = Math.max(...t), a = Math.min(...t), r = [...A.value].map((y, R) => {
346
- let J = (y.value - a) / (l - a) * (c.value.maxFontSize - c.value.minFontSize) + c.value.minFontSize;
347
- J = isNaN(J) ? c.value.minFontSize : J;
348
- const Re = Ze(y.name, J);
349
- return {
350
- ...y,
351
- id: Ue(),
352
- fontSize: J,
353
- width: Re.width,
354
- height: Re.height,
355
- color: e.value.style.chart.words.usePalette ? e.value.customPalette[R] || e.value.customPalette[R % e.value.customPalette.length] || we[R] || we[R % we.length] : e.value.style.chart.words.color
356
- };
357
- });
358
- se.value = _t({
359
- words: r,
360
- svg: c.value,
361
- proximity: e.value.style.chart.words.proximity,
362
- strictPixelPadding: e.value.strictPixelPadding
363
- });
364
- }
365
- const me = Q(() => {
366
- const t = se.value.map((a) => ({
367
- name: a.name,
368
- color: a.color
369
- })), l = se.value.map((a) => a.value);
370
- return { head: t, body: l };
371
- });
372
- function xe(t = null) {
373
- Ee(() => {
374
- const l = me.value.head.map((y, R) => [[
375
- y.name
376
- ], [me.value.body[R]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(l), r = Tt(a);
377
- t ? t(r) : St({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
378
- });
379
- }
380
- const he = Q(() => {
381
- const t = [
382
- e.value.table.columnNames.series,
383
- e.value.table.columnNames.value
384
- ], l = me.value.head.map((y, R) => {
385
- const J = xt({ p: e.value.table.td.prefix, v: me.value.body[R], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
386
- return [
387
- {
388
- color: y.color,
389
- name: y.name
390
- },
391
- J
392
- ];
393
- }), a = {
394
- th: {
395
- backgroundColor: e.value.table.th.backgroundColor,
396
- color: e.value.table.th.color,
397
- outline: e.value.table.th.outline
398
- },
399
- td: {
400
- backgroundColor: e.value.table.td.backgroundColor,
401
- color: e.value.table.td.color,
402
- outline: e.value.table.td.outline
403
- },
404
- breakpoint: e.value.table.responsiveBreakpoint
405
- };
406
- return {
407
- colNames: [
408
- e.value.table.columnNames.series,
409
- e.value.table.columnNames.value
410
- ],
411
- head: t,
412
- body: l,
413
- config: a
414
- };
415
- }), ie = m(!1);
416
- function Ne(t) {
417
- ie.value = t, U.value += 1;
418
- }
419
- function Je() {
420
- return se.value;
421
- }
422
- function De() {
423
- T.value.showTable = !T.value.showTable;
424
- }
425
- function Be() {
426
- T.value.showTooltip = !T.value.showTooltip;
427
- }
428
- const ue = m(!1);
429
- function $e() {
430
- ue.value = !ue.value;
431
- }
432
- const Ke = Q(() => !ue.value && e.value.style.chart.zoom.show), { viewBox: fe, resetZoom: pe, isZoom: Qe, setInitialViewBox: et } = Dt(D, {
433
- x: 0,
434
- y: 0,
435
- width: c.value.width <= 0 ? 10 : c.value.width,
436
- height: c.value.height <= 0 ? 10 : c.value.height
437
- }, 1, Ke);
438
- async function tt({ scale: t = 2 } = {}) {
439
- if (!C.value) return;
440
- const { width: l, height: a } = C.value.getBoundingClientRect(), r = l / a, { imageUri: y, base64: R } = await zt({ domElement: C.value, base64: !0, img: !0, scale: t });
441
- return {
442
- imageUri: y,
443
- base64: R,
444
- title: e.value.style.chart.title.text,
445
- width: l,
446
- height: a,
447
- aspectRatio: r
448
- };
449
- }
450
- const re = Q(() => {
451
- const t = e.value.table.useDialog && !e.value.table.show, l = T.value.showTable;
452
- return {
453
- component: t ? $ : d,
454
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
455
- props: t ? {
456
- backgroundColor: e.value.table.th.backgroundColor,
457
- color: e.value.table.th.color,
458
- headerColor: e.value.table.th.color,
459
- headerBg: e.value.table.th.backgroundColor,
460
- isFullscreen: ie.value,
461
- fullscreenParent: C.value,
462
- forcedWidth: Math.min(500, window.innerWidth * 0.8)
463
- } : {
464
- hideDetails: !0,
465
- config: {
466
- open: l,
467
- maxHeight: 1e4,
468
- body: {
469
- backgroundColor: e.value.style.chart.backgroundColor,
470
- color: e.value.style.chart.color
471
- },
472
- head: {
473
- backgroundColor: e.value.style.chart.backgroundColor,
474
- color: e.value.style.chart.color
475
- }
476
- }
477
- }
478
- };
479
- });
480
- ee(() => T.value.showTable, (t) => {
481
- e.value.table.show || (t && e.value.table.useDialog && Y.value ? Y.value.open() : "close" in Y.value && Y.value.close());
482
- }), g({
483
- getData: Je,
484
- getImage: tt,
485
- generateCsv: xe,
486
- generatePdf: Oe,
487
- generateImage: ze,
488
- resetZoom: pe,
489
- toggleTable: De,
490
- toggleTooltip: Be,
491
- toggleAnnotator: $e,
492
- toggleFullscreen: Ne
493
- });
494
- const K = m(null), ce = m(!1), Te = m(""), Se = m(null);
495
- function at(t, l) {
496
- K.value = null, le.value = !1, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: l });
497
- }
498
- function ot(t, l) {
499
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: l });
500
- }
501
- function lt(t, l) {
502
- if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: l }), !T.value.showTooltip) return;
503
- K.value = t.id, Se.value = { datapoint: t, config: e.value };
504
- const a = e.value.style.chart.tooltip.customFormat;
505
- if (ce.value = !1, Mt(a))
506
- try {
507
- const r = a({
508
- datapoint: t,
509
- config: e.value
510
- });
511
- typeof r == "string" && (Te.value = r, ce.value = !0);
512
- } catch {
513
- console.warn("Custom format cannot be applied."), ce.value = !1;
514
- }
515
- if (!ce.value) {
516
- let r = `<svg viewBox="0 0 10 10" height="${e.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${t.color}"/></svg><span>${t.name}:</span><b>${(t.value || 0).toFixed(e.value.style.chart.tooltip.roundingValue)}</b>`;
517
- Te.value = `<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${r}</div>`;
518
- }
519
- le.value = !0;
520
- }
521
- return (t, l) => (k(), V("div", {
522
- class: "vue-ui-word-cloud",
523
- ref_key: "wordCloudChart",
524
- ref: C,
525
- id: `wordCloud_${E.value}`,
526
- style: ge(`width: 100%; font-family:${e.value.style.fontFamily};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
527
- onMouseenter: l[4] || (l[4] = () => i(z)(!0)),
528
- onMouseleave: l[5] || (l[5] = () => i(z)(!1))
529
- }, [
530
- e.value.userOptions.buttons.annotator ? (k(), te(i(n), {
531
- key: 0,
532
- svgRef: i(D),
533
- backgroundColor: e.value.style.chart.backgroundColor,
534
- color: e.value.style.chart.color,
535
- active: ue.value,
536
- onClose: $e
537
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : X("", !0),
538
- e.value.style.chart.title.text ? (k(), V("div", {
539
- key: 1,
540
- ref_key: "chartTitle",
541
- ref: _,
542
- style: "width:100%;background:transparent;padding-bottom:24px"
543
- }, [
544
- (k(), te(Nt, {
545
- key: `title_${ve.value}`,
546
- config: {
547
- title: {
548
- ...e.value.style.chart.title
549
- },
550
- subtitle: {
551
- ...e.value.style.chart.title.subtitle
552
- }
553
- }
554
- }, null, 8, ["config"]))
555
- ], 512)) : X("", !0),
556
- e.value.userOptions.show && w.value && (i(N) || i(O)) ? (k(), te(i(o), {
557
- ref: "details",
558
- key: `user_option_${U.value}`,
559
- backgroundColor: e.value.style.chart.backgroundColor,
560
- color: e.value.style.chart.color,
561
- isPrinting: i(Ae),
562
- isImaging: i(Ie),
563
- uid: E.value,
564
- hasPdf: e.value.userOptions.buttons.pdf,
565
- hasXls: e.value.userOptions.buttons.csv,
566
- hasImg: e.value.userOptions.buttons.img,
567
- hasTable: e.value.userOptions.buttons.table,
568
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
569
- isFullscreen: ie.value,
570
- titles: { ...e.value.userOptions.buttonTitles },
571
- chartElement: C.value,
572
- position: e.value.userOptions.position,
573
- hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
574
- isTooltip: T.value.showTooltip,
575
- hasAnnotator: e.value.userOptions.buttons.annotator,
576
- isAnnotation: ue.value,
577
- callbacks: e.value.userOptions.callbacks,
578
- printScale: e.value.userOptions.print.scale,
579
- onToggleFullscreen: Ne,
580
- onGeneratePdf: i(Oe),
581
- onGenerateCsv: xe,
582
- onGenerateImage: i(ze),
583
- onToggleTable: De,
584
- onToggleTooltip: Be,
585
- onToggleAnnotator: $e,
586
- style: ge({
587
- visibility: i(N) ? i(O) ? "visible" : "hidden" : "visible"
588
- })
589
- }, _e({ _: 2 }, [
590
- t.$slots.menuIcon ? {
591
- name: "menuIcon",
592
- fn: S(({ isOpen: a, color: r }) => [
593
- M(t.$slots, "menuIcon", ae(oe({ isOpen: a, color: r })), void 0, !0)
594
- ]),
595
- key: "0"
596
- } : void 0,
597
- t.$slots.optionPdf ? {
598
- name: "optionPdf",
599
- fn: S(() => [
600
- M(t.$slots, "optionPdf", {}, void 0, !0)
601
- ]),
602
- key: "1"
603
- } : void 0,
604
- t.$slots.optionCsv ? {
605
- name: "optionCsv",
606
- fn: S(() => [
607
- M(t.$slots, "optionCsv", {}, void 0, !0)
608
- ]),
609
- key: "2"
610
- } : void 0,
611
- t.$slots.optionImg ? {
612
- name: "optionImg",
613
- fn: S(() => [
614
- M(t.$slots, "optionImg", {}, void 0, !0)
615
- ]),
616
- key: "3"
617
- } : void 0,
618
- t.$slots.optionTable ? {
619
- name: "optionTable",
620
- fn: S(() => [
621
- M(t.$slots, "optionTable", {}, void 0, !0)
622
- ]),
623
- key: "4"
624
- } : void 0,
625
- t.$slots.optionFullscreen ? {
626
- name: "optionFullscreen",
627
- fn: S(({ toggleFullscreen: a, isFullscreen: r }) => [
628
- M(t.$slots, "optionFullscreen", ae(oe({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
629
- ]),
630
- key: "5"
631
- } : void 0,
632
- t.$slots.optionAnnotator ? {
633
- name: "optionAnnotator",
634
- fn: S(({ toggleAnnotator: a, isAnnotator: r }) => [
635
- M(t.$slots, "optionAnnotator", ae(oe({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
636
- ]),
637
- key: "6"
638
- } : void 0
639
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : X("", !0),
640
- (k(), V("svg", {
641
- ref_key: "svgRef",
642
- ref: D,
643
- class: We({ "vue-data-ui-fullscreen--on": ie.value, "vue-data-ui-fulscreen--off": !ie.value }),
644
- xmlns: i($t),
645
- viewBox: `${i(fe).x} ${i(fe).y} ${i(fe).width} ${i(fe).height}`,
646
- style: "overflow:hidden;background:transparent;"
647
- }, [
648
- be(i(s)),
649
- t.$slots["chart-background"] ? (k(), V("foreignObject", {
650
- key: 0,
651
- x: 0,
652
- y: 0,
653
- width: c.value.width <= 0 ? 10 : c.value.width,
654
- height: c.value.height <= 0 ? 10 : c.value.height,
655
- style: {
656
- pointerEvents: "none"
657
- }
658
- }, [
659
- M(t.$slots, "chart-background", {}, void 0, !0)
660
- ], 8, Et)) : X("", !0),
661
- ye("g", {
662
- transform: `translate(${H.value.x}, ${H.value.y})`
663
- }, [
664
- (k(!0), V(rt, null, ct(se.value, (a, r) => (k(), V("g", null, [
665
- a.minX !== void 0 ? (k(), V("rect", {
666
- key: 0,
667
- x: a.x + a.minX,
668
- y: a.y + a.minY * 1.25,
669
- width: a.maxX - a.minX,
670
- height: a.maxY - a.minY,
671
- fill: "transparent",
672
- "pointer-events": "visiblePainted",
673
- onMouseover: (y) => lt(a, r),
674
- onMouseleave: (y) => at(a, r),
675
- onClick: (y) => ot(a, r)
676
- }, null, 40, Lt)) : X("", !0),
677
- (k(), V("text", {
678
- fill: a.color,
679
- "font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
680
- key: r,
681
- x: a.x,
682
- y: a.y,
683
- "font-size": a.fontSize,
684
- transform: `translate(${a.width / 2}, ${a.height / 2})`,
685
- class: We({ animated: e.value.useCssAnimation, "word-selected": K.value && K.value === a.id && T.value.showTooltip, "word-not-selected": K.value && K.value !== a.id && T.value.showTooltip }),
686
- "text-anchor": "middle",
687
- "dominant-baseline": "central",
688
- style: ge(`animation-delay:${r * e.value.animationDelayMs}ms !important; pointer-events:none;`)
689
- }, Me(a.name), 15, Yt))
690
- ]))), 256))
691
- ], 8, Ut),
692
- M(t.$slots, "svg", {
693
- svg: { height: c.value.height, width: c.value.width }
694
- }, void 0, !0)
695
- ], 10, Xt)),
696
- t.$slots.watermark ? (k(), V("div", Gt, [
697
- M(t.$slots, "watermark", ae(oe({ isPrinting: i(Ae) || i(Ie) })), void 0, !0)
698
- ])) : X("", !0),
699
- i(Qe) ? (k(), V("div", jt, [
700
- M(t.$slots, "reset-action", { reset: i(pe) }, () => [
701
- ye("button", {
702
- "data-cy-reset": "",
703
- tabindex: "0",
704
- role: "button",
705
- class: "vue-data-ui-refresh-button",
706
- style: ge({
707
- background: e.value.style.chart.backgroundColor
708
- }),
709
- onClick: l[0] || (l[0] = (a) => i(pe)(!0))
710
- }, [
711
- be(i(h), {
712
- name: "refresh",
713
- stroke: e.value.style.chart.color
714
- }, null, 8, ["stroke"])
715
- ], 4)
716
- ], !0)
717
- ])) : X("", !0),
718
- be(i(v), {
719
- show: T.value.showTooltip && le.value,
720
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
721
- color: e.value.style.chart.tooltip.color,
722
- fontSize: e.value.style.chart.tooltip.fontSize,
723
- borderRadius: e.value.style.chart.tooltip.borderRadius,
724
- borderColor: e.value.style.chart.tooltip.borderColor,
725
- borderWidth: e.value.style.chart.tooltip.borderWidth,
726
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
727
- position: e.value.style.chart.tooltip.position,
728
- offsetY: e.value.style.chart.tooltip.offsetY,
729
- parent: C.value,
730
- content: Te.value,
731
- isCustom: ce.value,
732
- smooth: e.value.style.chart.tooltip.smooth,
733
- backdropFilter: e.value.style.chart.tooltip.backdropFilter
734
- }, {
735
- "tooltip-before": S(() => [
736
- M(t.$slots, "tooltip-before", ae(oe({ ...Se.value })), void 0, !0)
737
- ]),
738
- "tooltip-after": S(() => [
739
- M(t.$slots, "tooltip-after", ae(oe({ ...Se.value })), void 0, !0)
740
- ]),
741
- _: 3
742
- }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "smooth", "backdropFilter"]),
743
- t.$slots.source ? (k(), V("div", {
744
- key: 5,
745
- ref_key: "source",
746
- ref: L,
747
- dir: "auto"
748
- }, [
749
- M(t.$slots, "source", {}, void 0, !0)
750
- ], 512)) : X("", !0),
751
- w.value ? (k(), te(vt(re.value.component), dt({ key: 6 }, re.value.props, {
752
- ref_key: "tableUnit",
753
- ref: Y,
754
- onClose: l[3] || (l[3] = (a) => T.value.showTable = !1)
755
- }), _e({
756
- content: S(() => [
757
- (k(), te(i(f), {
758
- key: `table_${de.value}`,
759
- colNames: he.value.colNames,
760
- head: he.value.head,
761
- body: he.value.body,
762
- config: he.value.config,
763
- title: e.value.table.useDialog ? "" : re.value.title,
764
- withCloseButton: !e.value.table.useDialog,
765
- onClose: l[2] || (l[2] = (a) => T.value.showTable = !1)
766
- }, {
767
- th: S(({ th: a }) => [
768
- ye("div", {
769
- innerHTML: a,
770
- style: { display: "flex", "align-items": "center" }
771
- }, null, 8, qt)
772
- ]),
773
- td: S(({ td: a }) => [
774
- Xe(Me(a.name || a), 1)
775
- ]),
776
- _: 1
777
- }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
778
- ]),
779
- _: 2
780
- }, [
781
- e.value.table.useDialog ? {
782
- name: "title",
783
- fn: S(() => [
784
- Xe(Me(re.value.title), 1)
785
- ]),
786
- key: "0"
787
- } : void 0,
788
- e.value.table.useDialog ? {
789
- name: "actions",
790
- fn: S(() => [
791
- ye("button", {
792
- tabindex: "0",
793
- class: "vue-ui-user-options-button",
794
- onClick: l[1] || (l[1] = (a) => xe(e.value.userOptions.callbacks.csv))
795
- }, [
796
- be(i(h), {
797
- name: "excel",
798
- stroke: re.value.props.color
799
- }, null, 8, ["stroke"])
800
- ])
801
- ]),
802
- key: "1"
803
- } : void 0
804
- ]), 1040)) : X("", !0),
805
- i(Ce) ? (k(), te(Pt, { key: 7 })) : X("", !0)
806
- ], 44, Wt));
807
- }
808
- }, ua = /* @__PURE__ */ Bt(Ht, [["__scopeId", "data-v-7568908b"]]);
809
- export {
810
- ua as default
811
- };