vue-data-ui 2.12.3 → 2.12.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.
- package/dist/{Arrow-7DZD153U.js → Arrow-DWXcP0Gw.js} +1 -1
- package/dist/BaseDraggableDialog-DyV-BY6O.js +186 -0
- package/dist/{BaseIcon-4Tt-jDsF.js → BaseIcon-DIIS9hFE.js} +1 -1
- package/dist/{ColorPicker-D9cQ_1h3.js → ColorPicker-D09a5oTx.js} +3 -3
- package/dist/{DataTable-CXRbXtrU.js → DataTable-BAr4XpSA.js} +2 -2
- package/dist/{Legend-CMVT8Hmn.js → Legend-CxZqkiNm.js} +4 -4
- package/dist/{PackageVersion-DrcIKw3H.js → PackageVersion-CQUs0b3q.js} +1 -1
- package/dist/{PenAndPaper-B52M1Af-.js → PenAndPaper-DmGOEcsD.js} +3 -3
- package/dist/{Shape-DsC3hyrC.js → Shape-gJBc0QCq.js} +1 -1
- package/dist/{Slicer-9d1_C4bi.js → Slicer-B81b2Jr1.js} +2 -2
- package/dist/{Title-9qKNVCMA.js → Title-BQKp20eU.js} +1 -1
- package/dist/{Tooltip-n2JxyMqg.js → Tooltip-Bjsc232E.js} +1 -1
- package/dist/{dom-to-png-mBFxJrIS.js → dom-to-png-BAR1EMYe.js} +1 -1
- package/dist/{img-DrpWNEaa.js → img-BDqur_YP.js} +1 -1
- package/dist/{index-CK9QG5R4.js → index-BKDMQMKQ.js} +441 -393
- package/dist/{pdf-BalkhgZX.js → pdf-CMw0Bw1w.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +12 -0
- package/dist/types/vue-data-ui.d.ts +12 -0
- package/dist/{useNestedProp-X5zYwXdP.js → useNestedProp-B_1UW4X2.js} +1 -1
- package/dist/{usePrinter-BZsCVIwN.js → usePrinter-BNaQ2HUw.js} +3 -3
- package/dist/{vue-data-ui-65FSOU9n.js → vue-data-ui-RV3mQ1d3.js} +63 -63
- package/dist/vue-data-ui.js +23 -23
- package/dist/{vue-ui-3d-bar-CaLDkBVj.js → vue-ui-3d-bar-Bq4AcGdm.js} +9 -9
- package/dist/{vue-ui-accordion-BA3mkouQ.js → vue-ui-accordion-DyqkVlpC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DdlGpZy9.js → vue-ui-age-pyramid-BYn8ffyI.js} +10 -10
- package/dist/{vue-ui-annotator-CKvRES98.js → vue-ui-annotator-Biv6tN6c.js} +2 -2
- package/dist/{vue-ui-bullet-CdcJXA6l.js → vue-ui-bullet-DVflwrvi.js} +8 -8
- package/dist/{vue-ui-candlestick-CkllTOUY.js → vue-ui-candlestick-C-gmKrpa.js} +11 -11
- package/dist/{vue-ui-carousel-table-D3vCB81N.js → vue-ui-carousel-table-DJT77KEd.js} +4 -4
- package/dist/{vue-ui-chestnut-BE16kanb.js → vue-ui-chestnut-CuF02nem.js} +8 -8
- package/dist/{vue-ui-chord-BpsjJuE7.js → vue-ui-chord-7PHPveVU.js} +12 -12
- package/dist/{vue-ui-circle-pack-C438GSXx.js → vue-ui-circle-pack-BU_MxW6h.js} +9 -9
- package/dist/{vue-ui-cursor-a30lAfyb.js → vue-ui-cursor-DSFHMrnK.js} +2 -2
- package/dist/{vue-ui-dashboard-BkRc89ac.js → vue-ui-dashboard-CHyk8pO_.js} +62 -62
- package/dist/{vue-ui-digits-C3f9FAdw.js → vue-ui-digits-GOVpxQeg.js} +2 -2
- package/dist/{vue-ui-donut-Dwsm3xe8.js → vue-ui-donut-C5sXao7U.js} +103 -103
- package/dist/vue-ui-donut-evolution-BsoNZw0_.js +871 -0
- package/dist/{vue-ui-dumbbell-CIICXHWw.js → vue-ui-dumbbell-BVX3en_Z.js} +10 -10
- package/dist/{vue-ui-flow-Bs4GfLdc.js → vue-ui-flow-CrRVJbjl.js} +24 -24
- package/dist/{vue-ui-funnel-CASIJPoW.js → vue-ui-funnel-DyJvSMLV.js} +9 -9
- package/dist/{vue-ui-galaxy-BoTSH1dz.js → vue-ui-galaxy-B1WrIt-g.js} +32 -32
- package/dist/{vue-ui-gauge-Cfvwu5jW.js → vue-ui-gauge-C7qvMFcc.js} +19 -19
- package/dist/{vue-ui-gizmo-HB1PEZIT.js → vue-ui-gizmo-Agt3kM2d.js} +3 -3
- package/dist/{vue-ui-heatmap-BXQslQxq.js → vue-ui-heatmap-Czh2uHtX.js} +32 -32
- package/dist/{vue-ui-history-plot-qW_cLH2J.js → vue-ui-history-plot-KGGrayk7.js} +11 -11
- package/dist/{vue-ui-kpi-CHTFlQmm.js → vue-ui-kpi-B-aYK4fp.js} +3 -3
- package/dist/{vue-ui-mini-loader-CZFa8WdC.js → vue-ui-mini-loader-C0W2_f3L.js} +2 -2
- package/dist/{vue-ui-molecule-2XWcGAxa.js → vue-ui-molecule-DjWODfzW.js} +22 -22
- package/dist/{vue-ui-mood-radar-B0wwOAcZ.js → vue-ui-mood-radar-CFEN6SOJ.js} +11 -11
- package/dist/{vue-ui-nested-donuts-CD47r6S8.js → vue-ui-nested-donuts-Dw_TX78M.js} +56 -56
- package/dist/{vue-ui-onion-BrefEoKM.js → vue-ui-onion-CiTCTFRi.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Ci9k0ZMR.js → vue-ui-parallel-coordinate-plot-YAyEWj2K.js} +36 -36
- package/dist/{vue-ui-quadrant-DRd3t6uQ.js → vue-ui-quadrant-j54lbADV.js} +41 -41
- package/dist/{vue-ui-quick-chart-DVyuMMNZ.js → vue-ui-quick-chart-f9MTErUH.js} +9 -9
- package/dist/{vue-ui-radar-BMlo5wj_.js → vue-ui-radar-BQ45fltP.js} +12 -12
- package/dist/{vue-ui-rating-BZLepZbE.js → vue-ui-rating-BjTlb4Lj.js} +11 -11
- package/dist/{vue-ui-relation-circle-BMWf_-ts.js → vue-ui-relation-circle-NX-yzRRP.js} +7 -7
- package/dist/vue-ui-ridgeline-BezQ7Hj-.js +924 -0
- package/dist/{vue-ui-rings-CyN6PZZw.js → vue-ui-rings-DJbgQBHR.js} +12 -12
- package/dist/{vue-ui-scatter-Dm24n28E.js → vue-ui-scatter-17fw3Pcy.js} +60 -60
- package/dist/{vue-ui-skeleton-CCPLO_mW.js → vue-ui-skeleton-BgWQSBb-.js} +19 -19
- package/dist/{vue-ui-smiley-D5GLTCkV.js → vue-ui-smiley-Bo-A4uMV.js} +2 -2
- package/dist/{vue-ui-spark-trend-DM-YH2Vz.js → vue-ui-spark-trend-BV9qCKr_.js} +5 -5
- package/dist/{vue-ui-sparkbar-Dp-Vp0Bz.js → vue-ui-sparkbar-CSGGtPTT.js} +4 -4
- package/dist/{vue-ui-sparkgauge-AhGrljqS.js → vue-ui-sparkgauge-BAia263V.js} +9 -9
- package/dist/{vue-ui-sparkhistogram-C_WzbJka.js → vue-ui-sparkhistogram-CKexMmEN.js} +5 -5
- package/dist/{vue-ui-sparkline-D3TgSaqu.js → vue-ui-sparkline-DRtP5cMm.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-Dx1gnUfv.js → vue-ui-sparkstackbar-D_bqkCIj.js} +5 -5
- package/dist/{vue-ui-stackbar-kPpS5ytk.js → vue-ui-stackbar-u_kZc4Th.js} +13 -13
- package/dist/{vue-ui-strip-plot-DMgQkOFL.js → vue-ui-strip-plot-UQEhmlcX.js} +11 -11
- package/dist/{vue-ui-table-DhN_orHh.js → vue-ui-table-4BTltNPf.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CghBmNfB.js → vue-ui-table-heatmap-BXlfBI5z.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DwZ6dDd7.js → vue-ui-table-sparkline-DFqDxs2Y.js} +5 -5
- package/dist/{vue-ui-thermometer-Bk2nGclO.js → vue-ui-thermometer-DD0QQ8b8.js} +7 -7
- package/dist/{vue-ui-timer-C7G-xWU0.js → vue-ui-timer-jlPkhU3j.js} +5 -5
- package/dist/{vue-ui-tiremarks-DInEjYlc.js → vue-ui-tiremarks-DZ1kGvwG.js} +7 -7
- package/dist/{vue-ui-treemap-BKvkNCsR.js → vue-ui-treemap-Xo1ZAK3l.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DiQI4bPT.js → vue-ui-vertical-bar-G3mo6Ms5.js} +12 -12
- package/dist/{vue-ui-waffle-z1dbL3gf.js → vue-ui-waffle-B2Oz6oPQ.js} +27 -27
- package/dist/{vue-ui-wheel-cH-wbQMg.js → vue-ui-wheel-Ml-x_ere.js} +7 -7
- package/dist/{vue-ui-word-cloud-L7hmGLCt.js → vue-ui-word-cloud-3LB7Ntxy.js} +49 -49
- package/dist/{vue-ui-world-DNbRBwbT.js → vue-ui-world-ttJISk8E.js} +11 -11
- package/dist/{vue-ui-xy-CHkLFwbF.js → vue-ui-xy-2Z_f3J92.js} +16 -16
- package/dist/{vue-ui-xy-canvas-CXZZH9wb.js → vue-ui-xy-canvas-olPGemLS.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-ui-donut-evolution-HVTx2TzC.js +0 -948
- package/dist/vue-ui-ridgeline-DoNIDa-r.js +0 -1102
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { useCssVars as Oe, computed as oe, ref as f, watch as me, onMounted as Ne, onBeforeUnmount as Ae, createElementBlock as X, openBlock as w, unref as h, normalizeStyle as re, createBlock as ae, createCommentVNode as B, createVNode as fe, createSlots as Ie, withCtx as P, renderSlot as F, normalizeProps as J, guardReactiveProps as K, normalizeClass as we, createElementVNode as pe, Fragment as Xe, renderList as Re, toDisplayString as
|
|
2
|
-
import { u as Ve, c as xe,
|
|
3
|
-
import { _ as Je } from "./Title-
|
|
4
|
-
import { u as Ke, U as Qe } from "./usePrinter-
|
|
1
|
+
import { useCssVars as Oe, computed as oe, ref as f, watch as me, onMounted as Ne, onBeforeUnmount as Ae, createElementBlock as X, openBlock as w, unref as h, normalizeStyle as re, createBlock as ae, createCommentVNode as B, createVNode as fe, createSlots as Ie, withCtx as P, renderSlot as F, normalizeProps as J, guardReactiveProps as K, normalizeClass as we, createElementVNode as pe, Fragment as Xe, renderList as Re, toDisplayString as ke, createTextVNode as We, nextTick as Ce } from "vue";
|
|
2
|
+
import { u as Ve, c as xe, ak as Be, v as Ye, t as De, p as ue, a as Ue, o as Ee, e as $e, g as Ge, f as Le, X as He, q as je, r as qe, x as Ze } from "./index-BKDMQMKQ.js";
|
|
3
|
+
import { _ as Je } from "./Title-BQKp20eU.js";
|
|
4
|
+
import { u as Ke, U as Qe } from "./usePrinter-BNaQ2HUw.js";
|
|
5
5
|
import { t as et, u as tt, d as ot } from "./useResponsive-JZ9xq-JV.js";
|
|
6
|
-
import at from "./vue-ui-accordion-
|
|
7
|
-
import { D as lt } from "./DataTable-
|
|
8
|
-
import { u as Te } from "./useNestedProp-
|
|
9
|
-
import { _ as nt } from "./PackageVersion-
|
|
10
|
-
import { _ as st } from "./Tooltip-
|
|
11
|
-
import { _ as it } from "./PenAndPaper-
|
|
6
|
+
import at from "./vue-ui-accordion-DyqkVlpC.js";
|
|
7
|
+
import { D as lt } from "./DataTable-BAr4XpSA.js";
|
|
8
|
+
import { u as Te } from "./useNestedProp-B_1UW4X2.js";
|
|
9
|
+
import { _ as nt } from "./PackageVersion-CQUs0b3q.js";
|
|
10
|
+
import { _ as st } from "./Tooltip-Bjsc232E.js";
|
|
11
|
+
import { _ as it } from "./PenAndPaper-DmGOEcsD.js";
|
|
12
12
|
import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
13
|
import { u as ut } from "./useChartAccessibility-BWojgys7.js";
|
|
14
14
|
import { u as ct } from "./usePanZoom-CUkkqW81.js";
|
|
15
|
-
import dt from "./BaseIcon-
|
|
15
|
+
import dt from "./BaseIcon-DIIS9hFE.js";
|
|
16
16
|
import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
function ht(b, p) {
|
|
18
18
|
const { width: c, height: n } = b, d = p.getImageData(0, 0, c, n).data;
|
|
19
|
-
let l = c, a = n, s = 0, g = 0,
|
|
19
|
+
let l = c, a = n, s = 0, g = 0, C = !1;
|
|
20
20
|
for (let m = 0; m < n; m += 1)
|
|
21
21
|
for (let y = 0; y < c; y += 1)
|
|
22
|
-
d[(m * c + y) * 4 + 3] > 1 && (
|
|
23
|
-
return
|
|
22
|
+
d[(m * c + y) * 4 + 3] > 1 && (C = !0, y < l && (l = y), y > s && (s = y), m < a && (a = m), m > g && (g = m));
|
|
23
|
+
return C ? [l, a, s, g] : [0, 0, 0, 0];
|
|
24
24
|
}
|
|
25
25
|
function Se({
|
|
26
26
|
word: b,
|
|
@@ -33,10 +33,10 @@ function Se({
|
|
|
33
33
|
r.save(), r.font = `${d.style && d.style.bold ? "bold " : ""}${p}px Arial`;
|
|
34
34
|
const l = r.measureText(b.name), a = Math.ceil(l.width) + 2 + (c ? c * 2 : 0), s = Math.ceil(p) + 2 + (c ? c * 2 : 0);
|
|
35
35
|
n.width = a, n.height = s, r.clearRect(0, 0, a, s), r.font = `${d.style && d.style.bold ? "bold " : ""}${p}px Arial`, r.textAlign = "center", r.textBaseline = "middle", r.fillStyle = "black", r.fillText(b.name, a / 2, s / 2);
|
|
36
|
-
const
|
|
36
|
+
const C = r.getImageData(0, 0, a, s).data, m = [];
|
|
37
37
|
for (let _ = 0; _ < s; _ += 1)
|
|
38
38
|
for (let Y = 0; Y < a; Y += 1)
|
|
39
|
-
|
|
39
|
+
C[(_ * a + Y) * 4 + 3] > 1 && m.push([Y, _]);
|
|
40
40
|
const [y, e, z, R] = ht(n, r);
|
|
41
41
|
return r.restore(), { w: a, h: s, wordMask: m, minX: y, minY: e, maxX: z, maxY: R };
|
|
42
42
|
}
|
|
@@ -59,8 +59,8 @@ function mt({ wordMask: b, w: p, h: c, dilation: n }) {
|
|
|
59
59
|
for (let s = -n; s <= n; s += 1)
|
|
60
60
|
for (let g = -n; g <= n; g += 1) {
|
|
61
61
|
if (s === 0 && g === 0) continue;
|
|
62
|
-
const
|
|
63
|
-
|
|
62
|
+
const C = l + s, m = a + g;
|
|
63
|
+
C >= 0 && C < p && m >= 0 && m < c && d.add(`${C},${m}`);
|
|
64
64
|
}
|
|
65
65
|
return Array.from(d).map((l) => l.split(",").map(Number));
|
|
66
66
|
}
|
|
@@ -70,12 +70,12 @@ function ft({
|
|
|
70
70
|
svg: c,
|
|
71
71
|
strictPixelPadding: n
|
|
72
72
|
}) {
|
|
73
|
-
const { width: r, height: d } = c, l = Math.round(r), a = Math.round(d), s = 1, g = c.minFontSize,
|
|
73
|
+
const { width: r, height: d } = c, l = Math.round(r), a = Math.round(d), s = 1, g = c.minFontSize, C = Math.min(c.maxFontSize, 100), m = b.map((x) => x.value), y = Math.min(...m), e = Math.max(...m), z = new Uint8Array(l * a), R = document.createElement("canvas"), _ = R.getContext("2d", { willReadFrequently: !0 });
|
|
74
74
|
R.width = l, R.height = a;
|
|
75
75
|
const Y = 6, le = 2, Q = 2, ne = 1, u = Math.floor(l / 2), se = Math.floor(a / 2), ce = [...b].sort((x, O) => O.value - x.value), E = [];
|
|
76
76
|
for (const x of ce) {
|
|
77
77
|
let O = g;
|
|
78
|
-
e !== y && (O = (x.value - y) / (e - y) * (
|
|
78
|
+
e !== y && (O = (x.value - y) / (e - y) * (C - g) + g), O = Math.max(g, Math.min(C, O));
|
|
79
79
|
let W = !1, N = O;
|
|
80
80
|
for (; !W && N >= s; ) {
|
|
81
81
|
let { w: A, h: v, wordMask: D, minX: U, minY: L, maxX: G, maxY: q } = Se({
|
|
@@ -127,7 +127,7 @@ function ft({
|
|
|
127
127
|
}
|
|
128
128
|
return E.sort((x, O) => O.fontSize - x.fontSize);
|
|
129
129
|
}
|
|
130
|
-
const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["transform"], wt = ["x", "y", "width", "height", "onMouseover"],
|
|
130
|
+
const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["transform"], wt = ["x", "y", "width", "height", "onMouseover"], kt = ["fill", "font-weight", "x", "y", "font-size", "transform"], Ct = {
|
|
131
131
|
key: 4,
|
|
132
132
|
class: "vue-data-ui-watermark"
|
|
133
133
|
}, xt = {
|
|
@@ -161,7 +161,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
161
161
|
set(t) {
|
|
162
162
|
return t;
|
|
163
163
|
}
|
|
164
|
-
}), d = f(xe()), l = f(0), a = f(null), s = f(null), g = f(null),
|
|
164
|
+
}), d = f(xe()), l = f(0), a = f(null), s = f(null), g = f(null), C = f(0), m = f(0), y = f(!1), e = oe({
|
|
165
165
|
get: () => ne(),
|
|
166
166
|
set: (t) => t
|
|
167
167
|
}), z = f(R());
|
|
@@ -189,7 +189,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
189
189
|
} : t;
|
|
190
190
|
}
|
|
191
191
|
me(() => n.config, (t) => {
|
|
192
|
-
e.value = ne(), _.value = !e.value.userOptions.showOnChartHover, x(),
|
|
192
|
+
e.value = ne(), _.value = !e.value.userOptions.showOnChartHover, x(), C.value += 1, m.value += 1, v.value.showTable = e.value.table.show, v.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
193
193
|
}, { deep: !0 });
|
|
194
194
|
const u = f({
|
|
195
195
|
width: e.value.style.chart.width,
|
|
@@ -206,7 +206,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
206
206
|
source: g.value
|
|
207
207
|
});
|
|
208
208
|
requestAnimationFrame(() => {
|
|
209
|
-
u.value.width = t, u.value.height = i,
|
|
209
|
+
u.value.width = t, u.value.height = i, Ce(se);
|
|
210
210
|
});
|
|
211
211
|
}), E = f(null);
|
|
212
212
|
Ne(x);
|
|
@@ -240,26 +240,26 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
240
240
|
showTooltip: e.value.style.chart.tooltip.show
|
|
241
241
|
});
|
|
242
242
|
function D(t, i, o = "Arial") {
|
|
243
|
-
const
|
|
244
|
-
return
|
|
245
|
-
width:
|
|
243
|
+
const k = document.createElement("canvas").getContext("2d");
|
|
244
|
+
return k.font = `${i}px ${e.value.style.chart.words.bold ? "bold" : "normal"} ${o}`, {
|
|
245
|
+
width: k.measureText(t).width + e.value.style.chart.words.proximity,
|
|
246
246
|
height: i
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
const U = f([]);
|
|
250
250
|
me(() => n.dataset, L, { immediate: !0 });
|
|
251
251
|
function L() {
|
|
252
|
-
const t = [...z.value].map((
|
|
253
|
-
let
|
|
254
|
-
|
|
255
|
-
const be = D(
|
|
252
|
+
const t = [...z.value].map((k) => k.value), i = Math.max(...t), o = Math.min(...t), S = [...z.value].map((k, H) => {
|
|
253
|
+
let j = (k.value - o) / (i - o) * (u.value.maxFontSize - u.value.minFontSize) + u.value.minFontSize;
|
|
254
|
+
j = isNaN(j) ? u.value.minFontSize : j;
|
|
255
|
+
const be = D(k.name, j);
|
|
256
256
|
return {
|
|
257
|
-
...
|
|
257
|
+
...k,
|
|
258
258
|
id: xe(),
|
|
259
|
-
fontSize:
|
|
259
|
+
fontSize: j,
|
|
260
260
|
width: be.width,
|
|
261
261
|
height: be.height,
|
|
262
|
-
color: e.value.style.chart.words.usePalette ? e.value.customPalette[
|
|
262
|
+
color: e.value.style.chart.words.usePalette ? e.value.customPalette[H] || e.value.customPalette[H % e.value.customPalette.length] || ue[H] || ue[H % ue.length] : e.value.style.chart.words.color
|
|
263
263
|
};
|
|
264
264
|
});
|
|
265
265
|
U.value = ft({
|
|
@@ -277,10 +277,10 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
277
277
|
return { head: t, body: i };
|
|
278
278
|
});
|
|
279
279
|
function q() {
|
|
280
|
-
|
|
281
|
-
const t = G.value.head.map((S,
|
|
280
|
+
Ce(() => {
|
|
281
|
+
const t = G.value.head.map((S, k) => [[
|
|
282
282
|
S.name
|
|
283
|
-
], [G.value.body[
|
|
283
|
+
], [G.value.body[k]]]), i = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o = je(i);
|
|
284
284
|
qe({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
|
|
285
285
|
});
|
|
286
286
|
}
|
|
@@ -288,14 +288,14 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
288
288
|
const t = [
|
|
289
289
|
e.value.table.columnNames.series,
|
|
290
290
|
e.value.table.columnNames.value
|
|
291
|
-
], i = G.value.head.map((
|
|
292
|
-
const
|
|
291
|
+
], i = G.value.head.map((k, H) => {
|
|
292
|
+
const j = Le({ p: e.value.table.td.prefix, v: G.value.body[H], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
|
|
293
293
|
return [
|
|
294
294
|
{
|
|
295
|
-
color:
|
|
296
|
-
name:
|
|
295
|
+
color: k.color,
|
|
296
|
+
name: k.name
|
|
297
297
|
},
|
|
298
|
-
|
|
298
|
+
j
|
|
299
299
|
];
|
|
300
300
|
}), o = {
|
|
301
301
|
th: {
|
|
@@ -396,7 +396,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
396
396
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
397
397
|
}, [
|
|
398
398
|
(w(), ae(Je, {
|
|
399
|
-
key: `title_${
|
|
399
|
+
key: `title_${C.value}`,
|
|
400
400
|
config: {
|
|
401
401
|
title: {
|
|
402
402
|
...e.value.style.chart.title
|
|
@@ -494,7 +494,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
494
494
|
ref_key: "svgRef",
|
|
495
495
|
ref: Q,
|
|
496
496
|
class: we({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
|
|
497
|
-
xmlns: h(
|
|
497
|
+
xmlns: h(He),
|
|
498
498
|
viewBox: `${h(ie).x} ${h(ie).y} ${h(ie).width} ${h(ie).height}`,
|
|
499
499
|
style: "overflow:hidden;background:transparent;"
|
|
500
500
|
}, [
|
|
@@ -523,8 +523,8 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
523
523
|
height: o.maxY - o.minY,
|
|
524
524
|
fill: "transparent",
|
|
525
525
|
"pointer-events": "visiblePainted",
|
|
526
|
-
onMouseover: (
|
|
527
|
-
onMouseleave: i[0] || (i[0] = (
|
|
526
|
+
onMouseover: (k) => _e(o),
|
|
527
|
+
onMouseleave: i[0] || (i[0] = (k) => {
|
|
528
528
|
Z.value = null, y.value = !1;
|
|
529
529
|
})
|
|
530
530
|
}, null, 40, wt)) : B("", !0),
|
|
@@ -540,14 +540,14 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
540
540
|
"text-anchor": "middle",
|
|
541
541
|
"dominant-baseline": "central",
|
|
542
542
|
style: re(`animation-delay:${S * e.value.animationDelayMs}ms !important; pointer-events:none;`)
|
|
543
|
-
},
|
|
543
|
+
}, ke(o.name), 15, kt))
|
|
544
544
|
]))), 256))
|
|
545
545
|
], 8, bt),
|
|
546
546
|
F(t.$slots, "svg", {
|
|
547
547
|
svg: { height: u.value.height, width: u.value.width }
|
|
548
548
|
}, void 0, !0)
|
|
549
549
|
], 10, gt)) : B("", !0),
|
|
550
|
-
t.$slots.watermark ? (w(), X("div",
|
|
550
|
+
t.$slots.watermark ? (w(), X("div", Ct, [
|
|
551
551
|
F(t.$slots, "watermark", J(K({ isPrinting: h(O) || h(W) })), void 0, !0)
|
|
552
552
|
])) : B("", !0),
|
|
553
553
|
h(ze) ? (w(), X("div", xt, [
|
|
@@ -633,7 +633,7 @@ const pt = ["id"], gt = ["xmlns", "viewBox"], yt = ["width", "height"], bt = ["t
|
|
|
633
633
|
}, null, 8, $t)
|
|
634
634
|
]),
|
|
635
635
|
td: P(({ td: o }) => [
|
|
636
|
-
We(
|
|
636
|
+
We(ke(o.name || o), 1)
|
|
637
637
|
]),
|
|
638
638
|
_: 1
|
|
639
639
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|