vue-data-ui 2.17.0 → 2.17.1
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/README.md +2 -1
- package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
- package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
- package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
- package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
- package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
- package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
- package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
- package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
- package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
- package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
- package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
- package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
- package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
- package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
- package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
- package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
- package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
- package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
- package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +63 -160
- package/dist/types/vue-data-ui.d.ts +63 -160
- package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
- package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
- package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
- package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
- package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
- package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
- package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
- package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
- package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
- package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
- package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
- package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
- package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
- package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
- package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
- package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
- package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
- package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
- package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
- package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
- package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
- package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
- package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
- package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
- package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
- package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
- package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
- package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
- package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
- package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
- package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
- package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
- package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
- package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
- package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
- package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
- package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
- package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
- package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
- package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
- package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
- package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
- package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
- package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
- package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
- package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
- package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
- package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
- package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
- package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
- package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
- package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
- package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
- package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
- package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
- package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
- package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
- package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
- package/package.json +1 -1
- package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { useCssVars as at, computed as
|
|
2
|
-
import { u as vt, c as Le, t as de, p as oe, a as dt, o as ht, e as ft, b as yt, d as mt, h as Ve, f as he, X as pt, l as bt, F as Z, ag as gt, q as kt, r as xt, i as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as wt } from "./usePrinter-
|
|
1
|
+
import { useCssVars as at, computed as z, defineAsyncComponent as V, ref as b, watch as Re, shallowRef as Ee, onMounted as ot, onBeforeUnmount as st, watchEffect as nt, createElementBlock as g, openBlock as y, unref as u, normalizeStyle as le, normalizeClass as Me, createBlock as B, createCommentVNode as k, renderSlot as x, createSlots as rt, withCtx as $, normalizeProps as W, guardReactiveProps as X, createVNode as ut, Fragment as ae, renderList as it, createElementVNode as _, mergeProps as Ae, toDisplayString as Y, createTextVNode as ct, nextTick as De } from "vue";
|
|
2
|
+
import { u as vt, c as Le, t as de, p as oe, a as dt, o as ht, e as ft, b as yt, d as mt, h as Ve, f as he, X as pt, l as bt, F as Z, ag as gt, q as kt, r as xt, i as Be } from "./index-CobsZUkv.js";
|
|
3
|
+
import { u as He } from "./useNestedProp-BwL5wmVa.js";
|
|
4
|
+
import { u as wt } from "./usePrinter-DPh6U_Qk.js";
|
|
5
5
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as zt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { t as _t, u as $t } from "./useResponsive-DfdjqQps.js";
|
|
8
|
-
import Tt from "./Title-
|
|
9
|
-
import Pt from "./img-
|
|
8
|
+
import Tt from "./Title-DpERl1yr.js";
|
|
9
|
+
import Pt from "./img-utitT2Gd.js";
|
|
10
10
|
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
function
|
|
12
|
-
const
|
|
13
|
-
return [
|
|
11
|
+
function Ue(r, i = 0) {
|
|
12
|
+
const f = r.reduce((a, { x: n, r: v }) => Math.min(a, n - v - i), 1 / 0), m = r.reduce((a, { x: n, r: v }) => Math.max(a, n + v + i), -1 / 0), c = r.reduce((a, { y: n, r: v }) => Math.min(a, n - v - i), 1 / 0), o = r.reduce((a, { y: n, r: v }) => Math.max(a, n + v + i), -1 / 0);
|
|
13
|
+
return [f, c, m - f, o - c];
|
|
14
14
|
}
|
|
15
|
-
function Ot(r, i,
|
|
15
|
+
function Ot(r, i, f) {
|
|
16
16
|
const m = r._, c = r.next._, o = m.r + c.r, a = (m.x * c.r + c.x * m.r) / o, n = (m.y * c.r + c.y * m.r) / o;
|
|
17
|
-
return Math.max(Math.abs(a *
|
|
17
|
+
return Math.max(Math.abs(a * f), Math.abs(n * i));
|
|
18
18
|
}
|
|
19
|
-
function Ge(r, i,
|
|
19
|
+
function Ge(r, i, f) {
|
|
20
20
|
const m = Ot, c = r.length;
|
|
21
21
|
if (!c) return r;
|
|
22
22
|
let o, a, n;
|
|
@@ -41,37 +41,37 @@ function Ge(r, i, h) {
|
|
|
41
41
|
}
|
|
42
42
|
while (p !== T.next);
|
|
43
43
|
n.previous = o, n.next = a, o.next = a.previous = a = n;
|
|
44
|
-
let P = m(o,
|
|
44
|
+
let P = m(o, f, i), w;
|
|
45
45
|
for (; (n = n.next) !== a; )
|
|
46
|
-
(
|
|
46
|
+
(w = m(n, f, i)) < P && (o = n, P = w);
|
|
47
47
|
a = o.next;
|
|
48
48
|
}
|
|
49
49
|
return r;
|
|
50
50
|
}
|
|
51
|
-
function je(r, i,
|
|
51
|
+
function je(r, i, f) {
|
|
52
52
|
const m = r.x - i.x, c = r.y - i.y, o = m * m + c * c;
|
|
53
53
|
if (o) {
|
|
54
|
-
const a = (i.r +
|
|
54
|
+
const a = (i.r + f.r) ** 2, n = (r.r + f.r) ** 2;
|
|
55
55
|
if (a > n) {
|
|
56
56
|
const v = (o + n - a) / (2 * o), p = Math.sqrt(Math.max(0, n / o - v * v));
|
|
57
|
-
|
|
57
|
+
f.x = r.x - v * m - p * c, f.y = r.y - v * c + p * m;
|
|
58
58
|
} else {
|
|
59
59
|
const v = (o + a - n) / (2 * o), p = Math.sqrt(Math.max(0, a / o - v * v));
|
|
60
|
-
|
|
60
|
+
f.x = i.x + v * m - p * c, f.y = i.y + v * c + p * m;
|
|
61
61
|
}
|
|
62
62
|
} else
|
|
63
|
-
|
|
63
|
+
f.x = i.x + f.r, f.y = i.y;
|
|
64
64
|
}
|
|
65
65
|
function qe(r, i) {
|
|
66
|
-
const
|
|
67
|
-
return
|
|
66
|
+
const f = r.r + i.r - 1e-6, m = i.x - r.x, c = i.y - r.y;
|
|
67
|
+
return f > 0 && f * f > m * m + c * c;
|
|
68
68
|
}
|
|
69
69
|
class se {
|
|
70
70
|
constructor(i) {
|
|
71
71
|
this._ = i, this.next = null, this.previous = null;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y", "width", "height"],
|
|
74
|
+
const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y", "width", "height"], Rt = ["id"], Et = ["stop-color"], Mt = ["stop-color"], At = ["stop-color"], Dt = { key: 0 }, Lt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter", "onClick"], Vt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Bt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ht = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ut = ["cx", "cy", "r", "opacity", "stroke", "stroke-width", "fill"], Gt = {
|
|
75
75
|
key: 0,
|
|
76
76
|
style: { pointerEvents: "none" }
|
|
77
77
|
}, jt = { key: 1 }, qt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Wt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Xt = {
|
|
@@ -94,12 +94,12 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
emits: ["selectDatapoint"],
|
|
97
|
-
setup(r, { expose: i, emit:
|
|
97
|
+
setup(r, { expose: i, emit: f }) {
|
|
98
98
|
at((t) => ({
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
"05e4027a": L.value,
|
|
100
|
+
"85bc3108": ue.value
|
|
101
101
|
}));
|
|
102
|
-
const m =
|
|
102
|
+
const m = V(() => import("./vue-ui-accordion-UewqY6OI.js")), c = V(() => import("./DataTable-Dt-TIOyY.js")), o = V(() => import("./PackageVersion-C-4Ee8BQ.js")), a = V(() => import("./PenAndPaper-Cde-wJ3N.js")), n = V(() => import("./vue-ui-skeleton-8s4xts8z.js")), v = V(() => import("./UserOptions-DTEJ3UM_.js")), p = r, T = f, { vue_ui_circle_pack: J } = vt(), N = z(() => !!p.dataset && p.dataset.length), P = b(Le()), w = b(null), fe = b(null), ye = b(null), me = b(0), pe = b(0), be = b(0), We = b(null), e = z({
|
|
103
103
|
get: () => we(),
|
|
104
104
|
set: (t) => t
|
|
105
105
|
}), { svgRef: ge } = zt({ config: e.value.style.chart.title }), {
|
|
@@ -108,47 +108,47 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
108
108
|
keepUserOptionState: xe
|
|
109
109
|
} = Ct({ config: e.value });
|
|
110
110
|
function we() {
|
|
111
|
-
const t =
|
|
111
|
+
const t = He({
|
|
112
112
|
userConfig: p.config,
|
|
113
113
|
defaultConfig: J
|
|
114
114
|
});
|
|
115
115
|
return t.theme ? {
|
|
116
|
-
...
|
|
116
|
+
...He({
|
|
117
117
|
userConfig: dt.vue_ui_circle_pack[t.theme] || p.config,
|
|
118
118
|
defaultConfig: t
|
|
119
119
|
}),
|
|
120
120
|
customPalette: de[t.theme] || oe
|
|
121
121
|
} : t;
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
Re(() => p.config, (t) => {
|
|
124
124
|
e.value = we(), ne.value = !e.value.userOptions.showOnChartHover, re(), me.value += 1, pe.value += 1, H.value.showTable = e.value.table.show;
|
|
125
125
|
}, { deep: !0 });
|
|
126
126
|
const { isPrinting: Ce, isImaging: ze, generatePdf: _e, generateImage: $e } = wt({
|
|
127
127
|
elementId: `vue-ui-circle-pack_${P.value}`,
|
|
128
128
|
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack",
|
|
129
129
|
options: e.value.userOptions.print
|
|
130
|
-
}), Xe =
|
|
130
|
+
}), Xe = z(() => e.value.userOptions.show && !e.value.style.chart.title.text), H = b({
|
|
131
131
|
showTable: e.value.table.show
|
|
132
|
-
}), S =
|
|
132
|
+
}), S = Ee(null), E = Ee(null), M = b({ h: 10, w: 10 }), Te = b(0), A = b([0, 0, 100, 100]), K = b({ h: 0, w: 0 });
|
|
133
133
|
async function re() {
|
|
134
134
|
ht(p.dataset) && ft({
|
|
135
135
|
componentName: "VueUiCirclePack",
|
|
136
136
|
type: "dataset"
|
|
137
|
-
}),
|
|
137
|
+
}), D.value = await Ge(Q.value), O.value = Ue(D.value, 1).join(" "), K.value = Pe(w.value);
|
|
138
138
|
const t = _t(() => {
|
|
139
|
-
const { width: s, height: l, heightTitle:
|
|
140
|
-
chart:
|
|
139
|
+
const { width: s, height: l, heightTitle: h, heightNoTitle: C } = $t({
|
|
140
|
+
chart: w.value,
|
|
141
141
|
title: fe.value,
|
|
142
142
|
noTitle: ye.value
|
|
143
|
-
}),
|
|
144
|
-
Te.value = e.value.style.chart.title.text ?
|
|
145
|
-
M.value.w =
|
|
143
|
+
}), R = s || 10, ve = l && l > 10 ? l : 10;
|
|
144
|
+
Te.value = e.value.style.chart.title.text ? h : C, requestAnimationFrame(() => {
|
|
145
|
+
M.value.w = R, M.value.h = ve - Te.value, De(async () => {
|
|
146
146
|
const tt = Q.value.map((lt) => ({ ...lt }));
|
|
147
|
-
|
|
147
|
+
D.value = await Ge(tt, M.value.h, M.value.w), A.value = Ue(D.value, 1), O.value = A.value.join(" "), K.value = Pe(w.value);
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
|
-
S.value && (E.value && S.value.unobserve(E.value), S.value.disconnect()), S.value = new ResizeObserver(t), E.value =
|
|
151
|
+
S.value && (E.value && S.value.unobserve(E.value), S.value.disconnect()), S.value = new ResizeObserver(t), E.value = w.value.parentNode, S.value.observe(E.value);
|
|
152
152
|
}
|
|
153
153
|
ot(re), st(() => {
|
|
154
154
|
S.value && (E.value && S.value.unobserve(E.value), S.value.disconnect());
|
|
@@ -159,13 +159,13 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
159
159
|
const s = t.parentElement;
|
|
160
160
|
if (s.offsetWidth > 0 && s.offsetHeight > 0)
|
|
161
161
|
return { w: s.offsetWidth, h: s.offsetHeight };
|
|
162
|
-
const l = window.getComputedStyle(s),
|
|
163
|
-
return
|
|
162
|
+
const l = window.getComputedStyle(s), h = l.width, C = l.height;
|
|
163
|
+
return h !== "auto" && C !== "auto" && parseFloat(h) > 0 && parseFloat(C) > 0 ? { w: parseFloat(h), h: parseFloat(C) } : { w: 0, h: 0 };
|
|
164
164
|
}
|
|
165
|
-
|
|
165
|
+
Re(() => p.dataset, async (t) => {
|
|
166
166
|
await re();
|
|
167
167
|
}, { deep: !0 });
|
|
168
|
-
const Ye =
|
|
168
|
+
const Ye = z(() => yt(e.value.customPalette)), Q = z(() => p.dataset.map((t, s) => {
|
|
169
169
|
const l = mt(t.color) || Ye.value[s] || de[e.value.theme || "default"][s % de[e.value.theme || "default"].length] || oe[s] || oe[s % oe.length];
|
|
170
170
|
return {
|
|
171
171
|
...t,
|
|
@@ -173,7 +173,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
173
173
|
id: Le(),
|
|
174
174
|
color: l
|
|
175
175
|
};
|
|
176
|
-
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))),
|
|
176
|
+
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), D = b([]), O = b("0 0 100 100"), U = z(() => Math.max(...D.value.map((t) => t.r)));
|
|
177
177
|
function Se(t, s) {
|
|
178
178
|
return s / U.value * t;
|
|
179
179
|
}
|
|
@@ -181,27 +181,27 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
181
181
|
function Ze(t) {
|
|
182
182
|
e.value.style.chart.circles.zoom.show && (d.value = t);
|
|
183
183
|
}
|
|
184
|
-
const
|
|
184
|
+
const L = z(() => d.value ? d.value.r : 0), ue = z(() => F.value ? L.value : d.value ? d.value.r > A.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? d.value.r : A.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), I = b(0), Je = z(() => ({
|
|
185
185
|
pointerEvents: "none",
|
|
186
186
|
opacity: I.value,
|
|
187
187
|
filter: `drop-shadow(0px 0px 6px ${Ve(d.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
|
|
188
|
-
})),
|
|
188
|
+
})), G = b(L.value);
|
|
189
189
|
nt(() => {
|
|
190
|
-
|
|
190
|
+
G.value = L.value, I.value = 0;
|
|
191
191
|
let t = null;
|
|
192
192
|
function s(l) {
|
|
193
193
|
t || (t = l);
|
|
194
|
-
const
|
|
195
|
-
|
|
194
|
+
const h = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
|
|
195
|
+
h < 1 ? (G.value = L.value + (ue.value - L.value) * h, I.value = 0 + e.value.style.chart.circles.zoom.opacity * h, requestAnimationFrame(s)) : (G.value = ue.value, I.value = e.value.style.chart.circles.zoom.opacity);
|
|
196
196
|
}
|
|
197
197
|
requestAnimationFrame(s);
|
|
198
198
|
});
|
|
199
|
-
const
|
|
200
|
-
name: e.value.style.chart.circles.zoom.label.name.fontSize *
|
|
201
|
-
value: e.value.style.chart.circles.zoom.label.value.fontSize *
|
|
199
|
+
const j = z(() => ({
|
|
200
|
+
name: e.value.style.chart.circles.zoom.label.name.fontSize * A.value[3] / 300,
|
|
201
|
+
value: e.value.style.chart.circles.zoom.label.value.fontSize * A.value[3] / 300
|
|
202
202
|
}));
|
|
203
203
|
function ie(t) {
|
|
204
|
-
return
|
|
204
|
+
return Be(
|
|
205
205
|
e.value.style.chart.circles.labels.value.formatter,
|
|
206
206
|
t.value,
|
|
207
207
|
he({
|
|
@@ -213,7 +213,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
213
213
|
);
|
|
214
214
|
}
|
|
215
215
|
function Ke() {
|
|
216
|
-
return
|
|
216
|
+
return Be(
|
|
217
217
|
e.value.style.chart.circles.zoom.label.value.formatter,
|
|
218
218
|
d.value.value,
|
|
219
219
|
he({
|
|
@@ -230,45 +230,45 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
230
230
|
const s = t.r / ie(t).length * (ie(t).length === 1 ? 1 : 2);
|
|
231
231
|
return Math.min(t.r / 2.5, s);
|
|
232
232
|
}
|
|
233
|
-
const
|
|
233
|
+
const q = b(!1);
|
|
234
234
|
function Ie(t) {
|
|
235
|
-
|
|
235
|
+
q.value = t, be.value += 1;
|
|
236
236
|
}
|
|
237
237
|
const F = b(!1);
|
|
238
238
|
function ce() {
|
|
239
239
|
F.value = !F.value;
|
|
240
240
|
}
|
|
241
|
-
const ee =
|
|
241
|
+
const ee = z(() => {
|
|
242
242
|
const t = Q.value.map((l) => ({
|
|
243
243
|
name: l.name,
|
|
244
244
|
value: l.value,
|
|
245
245
|
color: l.color
|
|
246
|
-
})).toSorted((l,
|
|
246
|
+
})).toSorted((l, h) => h.value - l.value), s = t.map((l) => l.value);
|
|
247
247
|
return { head: t, body: s };
|
|
248
248
|
});
|
|
249
249
|
function Fe(t = null) {
|
|
250
250
|
De(() => {
|
|
251
|
-
const s = ee.value.head.map((
|
|
252
|
-
|
|
253
|
-
], [ee.value.body[
|
|
254
|
-
t ? t(
|
|
251
|
+
const s = ee.value.head.map((C, R) => [[
|
|
252
|
+
C.name
|
|
253
|
+
], [ee.value.body[R]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(s), h = kt(l);
|
|
254
|
+
t ? t(h) : xt({ csvContent: h, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
const te =
|
|
257
|
+
const te = z(() => {
|
|
258
258
|
const t = [
|
|
259
259
|
e.value.table.columnNames.datapoint,
|
|
260
260
|
e.value.table.columnNames.value
|
|
261
|
-
], s = ee.value.head.map((
|
|
261
|
+
], s = ee.value.head.map((C, R) => {
|
|
262
262
|
const ve = he({
|
|
263
263
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
264
|
-
v: ee.value.body[
|
|
264
|
+
v: ee.value.body[R],
|
|
265
265
|
s: e.value.style.chart.circles.labels.value.suffix,
|
|
266
266
|
r: e.value.style.chart.circles.labels.value.rounding
|
|
267
267
|
});
|
|
268
268
|
return [
|
|
269
269
|
{
|
|
270
|
-
color:
|
|
271
|
-
name:
|
|
270
|
+
color: C.color,
|
|
271
|
+
name: C.name
|
|
272
272
|
},
|
|
273
273
|
ve
|
|
274
274
|
];
|
|
@@ -302,9 +302,16 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
302
302
|
return Q.value;
|
|
303
303
|
}
|
|
304
304
|
async function et({ scale: t = 2 } = {}) {
|
|
305
|
-
if (!
|
|
306
|
-
const {
|
|
307
|
-
return {
|
|
305
|
+
if (!w.value) return;
|
|
306
|
+
const { width: s, height: l } = w.value.getBoundingClientRect(), h = s / l, { imageUri: C, base64: R } = await Pt({ domElement: w.value, base64: !0, img: !0, scale: t });
|
|
307
|
+
return {
|
|
308
|
+
imageUri: C,
|
|
309
|
+
base64: R,
|
|
310
|
+
title: e.value.style.chart.title.text,
|
|
311
|
+
width: s,
|
|
312
|
+
height: l,
|
|
313
|
+
aspectRatio: h
|
|
314
|
+
};
|
|
308
315
|
}
|
|
309
316
|
return i({
|
|
310
317
|
getData: Qe,
|
|
@@ -317,14 +324,14 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
317
324
|
toggleFullscreen: Ie
|
|
318
325
|
}), (t, s) => (y(), g("div", {
|
|
319
326
|
id: `vue-ui-circle-pack_${P.value}`,
|
|
320
|
-
class:
|
|
327
|
+
class: Me(`vue-ui-circle-pack ${q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
321
328
|
ref_key: "circlePackChart",
|
|
322
|
-
ref:
|
|
329
|
+
ref: w,
|
|
323
330
|
style: le(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor}; height: ${K.value.h}px; width:${K.value.w}px`),
|
|
324
331
|
onMouseenter: s[2] || (s[2] = () => u(ke)(!0)),
|
|
325
332
|
onMouseleave: s[3] || (s[3] = () => u(ke)(!1))
|
|
326
333
|
}, [
|
|
327
|
-
e.value.userOptions.buttons.annotator ? (y(),
|
|
334
|
+
e.value.userOptions.buttons.annotator ? (y(), B(u(a), {
|
|
328
335
|
key: 0,
|
|
329
336
|
svgRef: u(ge),
|
|
330
337
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -347,7 +354,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
347
354
|
ref: fe,
|
|
348
355
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
349
356
|
}, [
|
|
350
|
-
(y(),
|
|
357
|
+
(y(), B(Tt, {
|
|
351
358
|
key: `title_${me.value}`,
|
|
352
359
|
config: {
|
|
353
360
|
title: {
|
|
@@ -361,7 +368,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
361
368
|
}
|
|
362
369
|
}, null, 8, ["config"]))
|
|
363
370
|
], 512)) : k("", !0),
|
|
364
|
-
e.value.userOptions.show && N.value && (u(xe) || u(ne)) ? (y(),
|
|
371
|
+
e.value.userOptions.show && N.value && (u(xe) || u(ne)) ? (y(), B(u(v), {
|
|
365
372
|
ref: "details",
|
|
366
373
|
key: `user_option_${be.value}`,
|
|
367
374
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -376,8 +383,8 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
376
383
|
hasXls: e.value.userOptions.buttons.csv,
|
|
377
384
|
hasTable: e.value.userOptions.buttons.table,
|
|
378
385
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
379
|
-
isFullscreen:
|
|
380
|
-
chartElement:
|
|
386
|
+
isFullscreen: q.value,
|
|
387
|
+
chartElement: w.value,
|
|
381
388
|
position: e.value.userOptions.position,
|
|
382
389
|
callbacks: e.value.userOptions.callbacks,
|
|
383
390
|
printScale: e.value.userOptions.print.scale,
|
|
@@ -396,8 +403,8 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
396
403
|
}, rt({ _: 2 }, [
|
|
397
404
|
t.$slots.menuIcon ? {
|
|
398
405
|
name: "menuIcon",
|
|
399
|
-
fn: $(({ isOpen: l, color:
|
|
400
|
-
x(t.$slots, "menuIcon", W(X({ isOpen: l, color:
|
|
406
|
+
fn: $(({ isOpen: l, color: h }) => [
|
|
407
|
+
x(t.$slots, "menuIcon", W(X({ isOpen: l, color: h })), void 0, !0)
|
|
401
408
|
]),
|
|
402
409
|
key: "0"
|
|
403
410
|
} : void 0,
|
|
@@ -431,15 +438,15 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
431
438
|
} : void 0,
|
|
432
439
|
t.$slots.optionFullscreen ? {
|
|
433
440
|
name: "optionFullscreen",
|
|
434
|
-
fn: $(({ toggleFullscreen: l, isFullscreen:
|
|
435
|
-
x(t.$slots, "optionFullscreen", W(X({ toggleFullscreen: l, isFullscreen:
|
|
441
|
+
fn: $(({ toggleFullscreen: l, isFullscreen: h }) => [
|
|
442
|
+
x(t.$slots, "optionFullscreen", W(X({ toggleFullscreen: l, isFullscreen: h })), void 0, !0)
|
|
436
443
|
]),
|
|
437
444
|
key: "5"
|
|
438
445
|
} : void 0,
|
|
439
446
|
t.$slots.optionAnnotator ? {
|
|
440
447
|
name: "optionAnnotator",
|
|
441
|
-
fn: $(({ toggleAnnotator: l, isAnnotator:
|
|
442
|
-
x(t.$slots, "optionAnnotator", W(X({ toggleAnnotator: l, isAnnotator:
|
|
448
|
+
fn: $(({ toggleAnnotator: l, isAnnotator: h }) => [
|
|
449
|
+
x(t.$slots, "optionAnnotator", W(X({ toggleAnnotator: l, isAnnotator: h })), void 0, !0)
|
|
443
450
|
]),
|
|
444
451
|
key: "6"
|
|
445
452
|
} : void 0
|
|
@@ -452,7 +459,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
452
459
|
viewBox: O.value,
|
|
453
460
|
height: M.value.h,
|
|
454
461
|
width: M.value.w,
|
|
455
|
-
class:
|
|
462
|
+
class: Me({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
|
|
456
463
|
style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};background:${e.value.style.chart.backgroundColor};`)
|
|
457
464
|
}, [
|
|
458
465
|
ut(u(o)),
|
|
@@ -468,32 +475,32 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
468
475
|
}, [
|
|
469
476
|
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
470
477
|
], 8, Nt)) : k("", !0),
|
|
471
|
-
(y(!0), g(ae, null, it(
|
|
472
|
-
|
|
473
|
-
|
|
478
|
+
(y(!0), g(ae, null, it(D.value, (l) => (y(), g(ae, null, [
|
|
479
|
+
_("defs", null, [
|
|
480
|
+
_("radialGradient", {
|
|
474
481
|
id: l.id,
|
|
475
482
|
fy: "30%"
|
|
476
483
|
}, [
|
|
477
|
-
|
|
484
|
+
_("stop", {
|
|
478
485
|
offset: "10%",
|
|
479
486
|
"stop-color": u(bt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
|
|
480
|
-
}, null, 8,
|
|
481
|
-
|
|
487
|
+
}, null, 8, Et),
|
|
488
|
+
_("stop", {
|
|
482
489
|
offset: "90%",
|
|
483
490
|
"stop-color": u(Ve)(l.color, 0.1)
|
|
484
|
-
}, null, 8,
|
|
485
|
-
|
|
491
|
+
}, null, 8, Mt),
|
|
492
|
+
_("stop", {
|
|
486
493
|
offset: "100%",
|
|
487
494
|
"stop-color": l.color
|
|
488
495
|
}, null, 8, At)
|
|
489
|
-
], 8,
|
|
496
|
+
], 8, Rt)
|
|
490
497
|
]),
|
|
491
498
|
t.$slots.pattern ? (y(), g("g", Dt, [
|
|
492
|
-
|
|
499
|
+
_("defs", null, [
|
|
493
500
|
x(t.$slots, "pattern", Ae({ ref_for: !0 }, { ...l, patternId: `pattern_${P.value}_${l.id}` }), void 0, !0)
|
|
494
501
|
])
|
|
495
502
|
])) : k("", !0),
|
|
496
|
-
|
|
503
|
+
_("rect", {
|
|
497
504
|
x: l.x - l.r,
|
|
498
505
|
y: l.y - l.r,
|
|
499
506
|
width: l.r * 2,
|
|
@@ -503,8 +510,8 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
503
510
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
|
|
504
511
|
rx: l.r,
|
|
505
512
|
onMouseenter: () => Ze(l),
|
|
506
|
-
onMouseout: s[0] || (s[0] = (
|
|
507
|
-
onClick: (
|
|
513
|
+
onMouseout: s[0] || (s[0] = (h) => d.value = null),
|
|
514
|
+
onClick: (h) => T("selectDatapoint", l)
|
|
508
515
|
}, null, 40, Lt),
|
|
509
516
|
t.$slots.pattern ? (y(), g("rect", {
|
|
510
517
|
key: 1,
|
|
@@ -537,7 +544,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
537
544
|
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(Z)(l.color),
|
|
538
545
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
539
546
|
"text-anchor": "middle"
|
|
540
|
-
}, Y(l.name), 9,
|
|
547
|
+
}, Y(l.name), 9, Bt)) : k("", !0),
|
|
541
548
|
e.value.style.chart.circles.labels.value.show ? (y(), g("text", {
|
|
542
549
|
key: 1,
|
|
543
550
|
style: {
|
|
@@ -551,44 +558,44 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
551
558
|
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : u(Z)(l.color),
|
|
552
559
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
553
560
|
"text-anchor": "middle"
|
|
554
|
-
}, Y(ie(l)), 9,
|
|
561
|
+
}, Y(ie(l)), 9, Ht)) : k("", !0)
|
|
555
562
|
], 64))
|
|
556
563
|
], 64))), 256)),
|
|
557
564
|
d.value && e.value.style.chart.circles.zoom.show && !F.value ? (y(), g(ae, { key: 1 }, [
|
|
558
|
-
|
|
565
|
+
_("circle", {
|
|
559
566
|
style: le(Je.value),
|
|
560
567
|
cx: d.value.x,
|
|
561
568
|
cy: d.value.y,
|
|
562
|
-
r:
|
|
569
|
+
r: G.value,
|
|
563
570
|
opacity: I.value,
|
|
564
571
|
stroke: e.value.style.chart.circles.stroke,
|
|
565
572
|
"stroke-width": e.value.style.chart.circles.strokeWidth * U.value / 100,
|
|
566
573
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${d.value.id})` : d.value.color
|
|
567
|
-
}, null, 12,
|
|
574
|
+
}, null, 12, Ut),
|
|
568
575
|
t.$slots["zoom-label"] ? (y(), g("g", Gt, [
|
|
569
|
-
x(t.$slots, "zoom-label", W(X({ ...d.value, zoomOpacity: I.value, currentRadius:
|
|
576
|
+
x(t.$slots, "zoom-label", W(X({ ...d.value, zoomOpacity: I.value, currentRadius: G.value, fontSize: j.value })), void 0, !0)
|
|
570
577
|
])) : (y(), g("g", jt, [
|
|
571
|
-
|
|
578
|
+
_("text", {
|
|
572
579
|
style: {
|
|
573
580
|
pointerEvents: "none"
|
|
574
581
|
},
|
|
575
582
|
opacity: I.value,
|
|
576
583
|
x: d.value.x,
|
|
577
|
-
y: d.value.y + e.value.style.chart.circles.zoom.label.name.offsetY -
|
|
584
|
+
y: d.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - j.value.name / 4,
|
|
578
585
|
"text-anchor": "middle",
|
|
579
|
-
"font-size":
|
|
586
|
+
"font-size": j.value.name,
|
|
580
587
|
fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : u(Z)(d.value.color),
|
|
581
588
|
"font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
|
|
582
589
|
}, Y(d.value.name), 9, qt),
|
|
583
|
-
|
|
590
|
+
_("text", {
|
|
584
591
|
style: {
|
|
585
592
|
pointerEvents: "none"
|
|
586
593
|
},
|
|
587
594
|
opacity: I.value,
|
|
588
595
|
x: d.value.x,
|
|
589
|
-
y: d.value.y +
|
|
596
|
+
y: d.value.y + j.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
|
|
590
597
|
"text-anchor": "middle",
|
|
591
|
-
"font-size":
|
|
598
|
+
"font-size": j.value.value,
|
|
592
599
|
fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : u(Z)(d.value.color),
|
|
593
600
|
"font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
|
|
594
601
|
}, Y(Ke()), 9, Wt)
|
|
@@ -598,7 +605,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
598
605
|
svg: { ...O.value }
|
|
599
606
|
}, void 0, !0)
|
|
600
607
|
], 14, Ft)) : k("", !0),
|
|
601
|
-
N.value ? k("", !0) : (y(),
|
|
608
|
+
N.value ? k("", !0) : (y(), B(u(n), {
|
|
602
609
|
key: 5,
|
|
603
610
|
config: {
|
|
604
611
|
type: "circlePack",
|
|
@@ -618,7 +625,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
618
625
|
}, [
|
|
619
626
|
x(t.$slots, "source", {}, void 0, !0)
|
|
620
627
|
], 512)) : k("", !0),
|
|
621
|
-
N.value ? (y(),
|
|
628
|
+
N.value ? (y(), B(u(m), {
|
|
622
629
|
key: 8,
|
|
623
630
|
hideDetails: "",
|
|
624
631
|
config: {
|
|
@@ -635,7 +642,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
635
642
|
}
|
|
636
643
|
}, {
|
|
637
644
|
content: $(() => [
|
|
638
|
-
(y(),
|
|
645
|
+
(y(), B(u(c), {
|
|
639
646
|
key: `table_${pe.value}`,
|
|
640
647
|
colNames: te.value.colNames,
|
|
641
648
|
head: te.value.head,
|
|
@@ -645,7 +652,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
645
652
|
onClose: s[1] || (s[1] = (l) => H.value.showTable = !1)
|
|
646
653
|
}, {
|
|
647
654
|
th: $(({ th: l }) => [
|
|
648
|
-
|
|
655
|
+
_("div", {
|
|
649
656
|
innerHTML: l,
|
|
650
657
|
style: { display: "flex", "align-items": "center" }
|
|
651
658
|
}, null, 8, Yt)
|
|
@@ -660,7 +667,7 @@ const It = ["id"], Ft = ["xmlns", "viewBox", "height", "width"], Nt = ["x", "y",
|
|
|
660
667
|
}, 8, ["config"])) : k("", !0)
|
|
661
668
|
], 46, It));
|
|
662
669
|
}
|
|
663
|
-
}, rl = /* @__PURE__ */ St(Zt, [["__scopeId", "data-v-
|
|
670
|
+
}, rl = /* @__PURE__ */ St(Zt, [["__scopeId", "data-v-542d122d"]]);
|
|
664
671
|
export {
|
|
665
672
|
rl as default
|
|
666
673
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
|
|
2
|
-
import { u as F } from "./useNestedProp-
|
|
3
|
-
import { u as L, c as z, X as O, s as I } from "./index-
|
|
2
|
+
import { u as F } from "./useNestedProp-BwL5wmVa.js";
|
|
3
|
+
import { u as L, c as z, X as O, s as I } from "./index-CobsZUkv.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const N = ["xmlns", "height", "width"], T = {
|
|
6
6
|
id: "follower",
|