vue-data-ui 2.12.8-beta.3 → 2.13.0
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 +10 -4
- package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
- package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
- package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
- package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
- package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
- package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
- package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
- package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
- package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
- package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
- package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
- package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
- package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
- package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
- package/dist/dom-to-png-4VVH9Qna.js +247 -0
- package/dist/img-Dy6IrSzX.js +20 -0
- package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
- package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +20 -3
- package/dist/types/vue-data-ui.d.ts +20 -3
- package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
- package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
- package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
- package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
- package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
- package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
- package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
- package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
- package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
- package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
- package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
- package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
- package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
- package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
- package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
- package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
- package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
- package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
- package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
- package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
- package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
- package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
- package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
- package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
- package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
- package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
- package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
- package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
- package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
- package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
- package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
- package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
- package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
- package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
- package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
- package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
- package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
- package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
- package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
- package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
- package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
- package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
- package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
- package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
- package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
- package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
- package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
- package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
- package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
- package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
- package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
- package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
- package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
- package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
- package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
- package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
- package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
- package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
- package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
- package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
- package/package.json +1 -1
- package/dist/dom-to-png-C0Ct8ClX.js +0 -243
- package/dist/img-P0SFFw37.js +0 -19
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { useCssVars as lt, computed as w, defineAsyncComponent as L, ref as b, watch as Ne, shallowRef as Me, onMounted as at, onBeforeUnmount as ot, watchEffect as st, createElementBlock as g, openBlock as
|
|
2
|
-
import { u as ct, c as De, t as de, p as
|
|
3
|
-
import { u as He } from "./useNestedProp-
|
|
4
|
-
import { u as xt } from "./usePrinter-
|
|
1
|
+
import { useCssVars as lt, computed as w, defineAsyncComponent as L, ref as b, watch as Ne, shallowRef as Me, onMounted as at, onBeforeUnmount as ot, watchEffect as st, createElementBlock as g, openBlock as y, unref as u, normalizeStyle as le, normalizeClass as Ee, createBlock as V, createCommentVNode as k, renderSlot as x, createSlots as nt, withCtx as _, normalizeProps as W, guardReactiveProps as X, createVNode as rt, Fragment as ae, renderList as ut, createElementVNode as C, mergeProps as Re, toDisplayString as Y, createTextVNode as it, nextTick as Ae } from "vue";
|
|
2
|
+
import { u as ct, c as De, t as de, p as oe, a as vt, o as dt, e as ht, b as ft, d as yt, h as Le, f as he, X as mt, l as pt, G as Z, af as bt, q as gt, r as kt, i as Ve } from "./index-BXbyT0Qn.js";
|
|
3
|
+
import { u as He } from "./useNestedProp-DVZpeH84.js";
|
|
4
|
+
import { u as xt } from "./usePrinter-aKh5-HcK.js";
|
|
5
5
|
import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ct } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
7
|
import { t as zt, u as _t } from "./useResponsive-JZ9xq-JV.js";
|
|
8
|
-
import $t from "./Title-
|
|
8
|
+
import $t from "./Title-DoWqzga-.js";
|
|
9
9
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
function Be(r, i = 0) {
|
|
11
|
-
const h = r.reduce((a, { x: s, r: v }) => Math.min(a, s - v - i), 1 / 0),
|
|
12
|
-
return [h, c,
|
|
11
|
+
const h = r.reduce((a, { x: s, r: v }) => Math.min(a, s - v - i), 1 / 0), m = r.reduce((a, { x: s, r: v }) => Math.max(a, s + v + i), -1 / 0), c = r.reduce((a, { y: s, r: v }) => Math.min(a, s - v - i), 1 / 0), o = r.reduce((a, { y: s, r: v }) => Math.max(a, s + v + i), -1 / 0);
|
|
12
|
+
return [h, c, m - h, o - c];
|
|
13
13
|
}
|
|
14
14
|
function Pt(r, i, h) {
|
|
15
|
-
const
|
|
15
|
+
const m = r._, c = r.next._, o = m.r + c.r, a = (m.x * c.r + c.x * m.r) / o, s = (m.y * c.r + c.y * m.r) / o;
|
|
16
16
|
return Math.max(Math.abs(a * h), Math.abs(s * i));
|
|
17
17
|
}
|
|
18
18
|
function Ge(r, i, h) {
|
|
19
|
-
const
|
|
19
|
+
const m = Pt, c = r.length;
|
|
20
20
|
if (!c) return r;
|
|
21
21
|
let o, a, s;
|
|
22
22
|
if (o = r[0], o.x = 0, o.y = 0, !(c > 1) || (a = r[1], o.x = -a.r, a.x = o.r, a.y = 0, !(c > 2))) return r;
|
|
23
|
-
Ue(a, o, s = r[2]), o = new
|
|
23
|
+
Ue(a, o, s = r[2]), o = new se(o), a = new se(a), s = new se(s), o.next = s.previous = a, a.next = o.previous = s, s.next = a.previous = o;
|
|
24
24
|
e: for (let v = 3; v < c; ++v) {
|
|
25
|
-
Ue(o._, a._, s = r[v]), s = new
|
|
26
|
-
let p = a.next, T = o.previous,
|
|
25
|
+
Ue(o._, a._, s = r[v]), s = new se(s);
|
|
26
|
+
let p = a.next, T = o.previous, J = a._.r, N = o._.r;
|
|
27
27
|
do
|
|
28
|
-
if (
|
|
28
|
+
if (J <= N) {
|
|
29
29
|
if (je(p._, s._)) {
|
|
30
30
|
a = p, o.next = a, a.previous = o, --v;
|
|
31
31
|
continue e;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
J += p._.r, p = p.next;
|
|
34
34
|
} else {
|
|
35
35
|
if (je(T._, s._)) {
|
|
36
36
|
o = T, o.next = a, a.previous = o, --v;
|
|
@@ -40,32 +40,32 @@ function Ge(r, i, h) {
|
|
|
40
40
|
}
|
|
41
41
|
while (p !== T.next);
|
|
42
42
|
s.previous = o, s.next = a, o.next = a.previous = a = s;
|
|
43
|
-
let P =
|
|
43
|
+
let P = m(o, h, i), $;
|
|
44
44
|
for (; (s = s.next) !== a; )
|
|
45
|
-
($ =
|
|
45
|
+
($ = m(s, h, i)) < P && (o = s, P = $);
|
|
46
46
|
a = o.next;
|
|
47
47
|
}
|
|
48
48
|
return r;
|
|
49
49
|
}
|
|
50
50
|
function Ue(r, i, h) {
|
|
51
|
-
const
|
|
51
|
+
const m = r.x - i.x, c = r.y - i.y, o = m * m + c * c;
|
|
52
52
|
if (o) {
|
|
53
53
|
const a = (i.r + h.r) ** 2, s = (r.r + h.r) ** 2;
|
|
54
54
|
if (a > s) {
|
|
55
55
|
const v = (o + s - a) / (2 * o), p = Math.sqrt(Math.max(0, s / o - v * v));
|
|
56
|
-
h.x = r.x - v *
|
|
56
|
+
h.x = r.x - v * m - p * c, h.y = r.y - v * c + p * m;
|
|
57
57
|
} else {
|
|
58
58
|
const v = (o + a - s) / (2 * o), p = Math.sqrt(Math.max(0, a / o - v * v));
|
|
59
|
-
h.x = i.x + v *
|
|
59
|
+
h.x = i.x + v * m - p * c, h.y = i.y + v * c + p * m;
|
|
60
60
|
}
|
|
61
61
|
} else
|
|
62
62
|
h.x = i.x + h.r, h.y = i.y;
|
|
63
63
|
}
|
|
64
64
|
function je(r, i) {
|
|
65
|
-
const h = r.r + i.r - 1e-6,
|
|
66
|
-
return h > 0 && h * h >
|
|
65
|
+
const h = r.r + i.r - 1e-6, m = i.x - r.x, c = i.y - r.y;
|
|
66
|
+
return h > 0 && h * h > m * m + c * c;
|
|
67
67
|
}
|
|
68
|
-
class
|
|
68
|
+
class se {
|
|
69
69
|
constructor(i) {
|
|
70
70
|
this._ = i, this.next = null, this.previous = null;
|
|
71
71
|
}
|
|
@@ -95,32 +95,32 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
95
95
|
emits: ["selectDatapoint"],
|
|
96
96
|
setup(r, { expose: i, emit: h }) {
|
|
97
97
|
lt((t) => ({
|
|
98
|
-
"
|
|
99
|
-
|
|
98
|
+
"3044b7fa": D.value,
|
|
99
|
+
76538273: ue.value
|
|
100
100
|
}));
|
|
101
|
-
const
|
|
101
|
+
const m = L(() => import("./vue-ui-accordion-CXsjHe1y.js")), c = L(() => import("./DataTable-DBkfb6pd.js")), o = L(() => import("./PackageVersion-C5fpg4GN.js")), a = L(() => import("./PenAndPaper-BRkuVFb4.js")), s = L(() => import("./vue-ui-skeleton-Fxr752Oi.js")), v = L(() => import("./UserOptions-B3q-xfQV.js")), p = r, T = h, { vue_ui_circle_pack: J } = ct(), N = w(() => !!p.dataset && p.dataset.length), P = b(De()), $ = b(null), fe = b(null), ye = b(null), me = b(0), pe = b(0), be = b(0), qe = b(null), e = w({
|
|
102
102
|
get: () => we(),
|
|
103
103
|
set: (t) => t
|
|
104
104
|
}), { svgRef: ge } = Ct({ config: e.value.style.chart.title }), {
|
|
105
|
-
userOptionsVisible:
|
|
105
|
+
userOptionsVisible: ne,
|
|
106
106
|
setUserOptionsVisibility: ke,
|
|
107
107
|
keepUserOptionState: xe
|
|
108
108
|
} = wt({ config: e.value });
|
|
109
109
|
function we() {
|
|
110
110
|
const t = He({
|
|
111
111
|
userConfig: p.config,
|
|
112
|
-
defaultConfig:
|
|
112
|
+
defaultConfig: J
|
|
113
113
|
});
|
|
114
114
|
return t.theme ? {
|
|
115
115
|
...He({
|
|
116
116
|
userConfig: vt.vue_ui_circle_pack[t.theme] || p.config,
|
|
117
117
|
defaultConfig: t
|
|
118
118
|
}),
|
|
119
|
-
customPalette: de[t.theme] ||
|
|
119
|
+
customPalette: de[t.theme] || oe
|
|
120
120
|
} : t;
|
|
121
121
|
}
|
|
122
122
|
Ne(() => p.config, (t) => {
|
|
123
|
-
e.value = we(),
|
|
123
|
+
e.value = we(), ne.value = !e.value.userOptions.showOnChartHover, re(), me.value += 1, pe.value += 1, H.value.showTable = e.value.table.show;
|
|
124
124
|
}, { deep: !0 });
|
|
125
125
|
const { isPrinting: Ce, isImaging: ze, generatePdf: _e, generateImage: $e } = xt({
|
|
126
126
|
elementId: `vue-ui-circle-pack_${P.value}`,
|
|
@@ -128,28 +128,28 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
128
128
|
options: e.value.userOptions.print
|
|
129
129
|
}), We = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), H = b({
|
|
130
130
|
showTable: e.value.table.show
|
|
131
|
-
}), O = Me(null), M = Me(null), E = b({ h: 10, w: 10 }), Te = b(0), R = b([0, 0, 100, 100]),
|
|
132
|
-
async function
|
|
131
|
+
}), O = Me(null), M = Me(null), E = b({ h: 10, w: 10 }), Te = b(0), R = b([0, 0, 100, 100]), K = b({ h: 0, w: 0 });
|
|
132
|
+
async function re() {
|
|
133
133
|
dt(p.dataset) && ht({
|
|
134
134
|
componentName: "VueUiCirclePack",
|
|
135
135
|
type: "dataset"
|
|
136
|
-
}), A.value = await Ge(
|
|
136
|
+
}), A.value = await Ge(Q.value), S.value = Be(A.value, 1).join(" "), K.value = Pe($.value);
|
|
137
137
|
const t = zt(() => {
|
|
138
|
-
const { width: n, height: l, heightTitle:
|
|
138
|
+
const { width: n, height: l, heightTitle: f, heightNoTitle: z } = _t({
|
|
139
139
|
chart: $.value,
|
|
140
140
|
title: fe.value,
|
|
141
141
|
noTitle: ye.value
|
|
142
|
-
}),
|
|
143
|
-
Te.value = e.value.style.chart.title.text ?
|
|
144
|
-
E.value.w =
|
|
145
|
-
const et =
|
|
146
|
-
A.value = await Ge(et, E.value.h, E.value.w), R.value = Be(A.value, 1), S.value = R.value.join(" "),
|
|
142
|
+
}), q = n || 10, ve = l && l > 10 ? l : 10;
|
|
143
|
+
Te.value = e.value.style.chart.title.text ? f : z, requestAnimationFrame(() => {
|
|
144
|
+
E.value.w = q, E.value.h = ve - Te.value, Ae(async () => {
|
|
145
|
+
const et = Q.value.map((tt) => ({ ...tt }));
|
|
146
|
+
A.value = await Ge(et, E.value.h, E.value.w), R.value = Be(A.value, 1), S.value = R.value.join(" "), K.value = Pe($.value);
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
150
|
O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect()), O.value = new ResizeObserver(t), M.value = $.value.parentNode, O.value.observe(M.value);
|
|
151
151
|
}
|
|
152
|
-
at(
|
|
152
|
+
at(re), ot(() => {
|
|
153
153
|
O.value && (M.value && O.value.unobserve(M.value), O.value.disconnect());
|
|
154
154
|
});
|
|
155
155
|
function Pe(t) {
|
|
@@ -158,14 +158,14 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
158
158
|
const n = t.parentElement;
|
|
159
159
|
if (n.offsetWidth > 0 && n.offsetHeight > 0)
|
|
160
160
|
return { w: n.offsetWidth, h: n.offsetHeight };
|
|
161
|
-
const l = window.getComputedStyle(n),
|
|
162
|
-
return
|
|
161
|
+
const l = window.getComputedStyle(n), f = l.width, z = l.height;
|
|
162
|
+
return f !== "auto" && z !== "auto" && parseFloat(f) > 0 && parseFloat(z) > 0 ? { w: parseFloat(f), h: parseFloat(z) } : { w: 0, h: 0 };
|
|
163
163
|
}
|
|
164
164
|
Ne(() => p.dataset, async (t) => {
|
|
165
|
-
await
|
|
165
|
+
await re();
|
|
166
166
|
}, { deep: !0 });
|
|
167
|
-
const Xe = w(() => ft(e.value.customPalette)),
|
|
168
|
-
const l = yt(t.color) || Xe.value[n] || de[e.value.theme || "default"][n % de[e.value.theme || "default"].length] ||
|
|
167
|
+
const Xe = w(() => ft(e.value.customPalette)), Q = w(() => p.dataset.map((t, n) => {
|
|
168
|
+
const l = yt(t.color) || Xe.value[n] || de[e.value.theme || "default"][n % de[e.value.theme || "default"].length] || oe[n] || oe[n % oe.length];
|
|
169
169
|
return {
|
|
170
170
|
...t,
|
|
171
171
|
r: t.value,
|
|
@@ -180,7 +180,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
180
180
|
function Ye(t) {
|
|
181
181
|
e.value.style.chart.circles.zoom.show && (d.value = t);
|
|
182
182
|
}
|
|
183
|
-
const D = w(() => d.value ? d.value.r : 0),
|
|
183
|
+
const D = w(() => d.value ? d.value.r : 0), ue = w(() => F.value ? D.value : d.value ? d.value.r > R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? d.value.r : R.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), I = b(0), Ze = w(() => ({
|
|
184
184
|
pointerEvents: "none",
|
|
185
185
|
opacity: I.value,
|
|
186
186
|
filter: `drop-shadow(0px 0px 6px ${Le(d.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
|
|
@@ -190,8 +190,8 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
190
190
|
let t = null;
|
|
191
191
|
function n(l) {
|
|
192
192
|
t || (t = l);
|
|
193
|
-
const
|
|
194
|
-
|
|
193
|
+
const f = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
|
|
194
|
+
f < 1 ? (G.value = D.value + (ue.value - D.value) * f, I.value = 0 + e.value.style.chart.circles.zoom.opacity * f, requestAnimationFrame(n)) : (G.value = ue.value, I.value = e.value.style.chart.circles.zoom.opacity);
|
|
195
195
|
}
|
|
196
196
|
requestAnimationFrame(n);
|
|
197
197
|
});
|
|
@@ -199,7 +199,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
199
199
|
name: e.value.style.chart.circles.zoom.label.name.fontSize * R.value[3] / 300,
|
|
200
200
|
value: e.value.style.chart.circles.zoom.label.value.fontSize * R.value[3] / 300
|
|
201
201
|
}));
|
|
202
|
-
function
|
|
202
|
+
function ie(t) {
|
|
203
203
|
return Ve(
|
|
204
204
|
e.value.style.chart.circles.labels.value.formatter,
|
|
205
205
|
t.value,
|
|
@@ -226,7 +226,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
226
226
|
function Se(t) {
|
|
227
227
|
if (!t)
|
|
228
228
|
return 0;
|
|
229
|
-
const n = t.r /
|
|
229
|
+
const n = t.r / ie(t).length * (ie(t).length === 1 ? 1 : 2);
|
|
230
230
|
return Math.min(t.r / 2.5, n);
|
|
231
231
|
}
|
|
232
232
|
const j = b(!1);
|
|
@@ -234,33 +234,33 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
234
234
|
j.value = t, be.value += 1;
|
|
235
235
|
}
|
|
236
236
|
const F = b(!1);
|
|
237
|
-
function
|
|
237
|
+
function ce() {
|
|
238
238
|
F.value = !F.value;
|
|
239
239
|
}
|
|
240
|
-
const
|
|
241
|
-
const t =
|
|
240
|
+
const ee = w(() => {
|
|
241
|
+
const t = Q.value.map((l) => ({
|
|
242
242
|
name: l.name,
|
|
243
243
|
value: l.value,
|
|
244
244
|
color: l.color
|
|
245
|
-
})).toSorted((l,
|
|
245
|
+
})).toSorted((l, f) => f.value - l.value), n = t.map((l) => l.value);
|
|
246
246
|
return { head: t, body: n };
|
|
247
247
|
});
|
|
248
|
-
function Ie() {
|
|
248
|
+
function Ie(t = null) {
|
|
249
249
|
Ae(() => {
|
|
250
|
-
const
|
|
251
|
-
|
|
252
|
-
], [
|
|
253
|
-
kt({ csvContent:
|
|
250
|
+
const n = ee.value.head.map((z, q) => [[
|
|
251
|
+
z.name
|
|
252
|
+
], [ee.value.body[q]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(n), f = gt(l);
|
|
253
|
+
t ? t(f) : kt({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
|
-
const
|
|
256
|
+
const te = w(() => {
|
|
257
257
|
const t = [
|
|
258
258
|
e.value.table.columnNames.datapoint,
|
|
259
259
|
e.value.table.columnNames.value
|
|
260
|
-
], n =
|
|
260
|
+
], n = ee.value.head.map((z, q) => {
|
|
261
261
|
const ve = he({
|
|
262
262
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
263
|
-
v:
|
|
263
|
+
v: ee.value.body[q],
|
|
264
264
|
s: e.value.style.chart.circles.labels.value.suffix,
|
|
265
265
|
r: e.value.style.chart.circles.labels.value.rounding
|
|
266
266
|
});
|
|
@@ -298,7 +298,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
298
298
|
H.value.showTable = !H.value.showTable;
|
|
299
299
|
}
|
|
300
300
|
function Qe() {
|
|
301
|
-
return
|
|
301
|
+
return Q.value;
|
|
302
302
|
}
|
|
303
303
|
return i({
|
|
304
304
|
getData: Qe,
|
|
@@ -306,40 +306,40 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
306
306
|
generatePdf: _e,
|
|
307
307
|
generateImage: $e,
|
|
308
308
|
toggleTable: Fe,
|
|
309
|
-
toggleAnnotator:
|
|
310
|
-
}), (t, n) => (
|
|
309
|
+
toggleAnnotator: ce
|
|
310
|
+
}), (t, n) => (y(), g("div", {
|
|
311
311
|
id: `vue-ui-circle-pack_${P.value}`,
|
|
312
312
|
class: Ee(`vue-ui-circle-pack ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
313
313
|
ref_key: "circlePackChart",
|
|
314
314
|
ref: $,
|
|
315
|
-
style:
|
|
315
|
+
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`),
|
|
316
316
|
onMouseenter: n[2] || (n[2] = () => u(ke)(!0)),
|
|
317
317
|
onMouseleave: n[3] || (n[3] = () => u(ke)(!1))
|
|
318
318
|
}, [
|
|
319
|
-
e.value.userOptions.buttons.annotator ? (
|
|
319
|
+
e.value.userOptions.buttons.annotator ? (y(), V(u(a), {
|
|
320
320
|
key: 0,
|
|
321
321
|
svgRef: u(ge),
|
|
322
322
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
323
323
|
color: e.value.style.chart.color,
|
|
324
324
|
active: F.value,
|
|
325
325
|
scale: B.value / 100,
|
|
326
|
-
onClose:
|
|
326
|
+
onClose: ce
|
|
327
327
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active", "scale"])) : k("", !0),
|
|
328
328
|
x(t.$slots, "userConfig", {}, void 0, !0),
|
|
329
|
-
We.value ? (
|
|
329
|
+
We.value ? (y(), g("div", {
|
|
330
330
|
key: 1,
|
|
331
331
|
ref_key: "noTitle",
|
|
332
332
|
ref: ye,
|
|
333
333
|
class: "vue-data-ui-no-title-space",
|
|
334
334
|
style: "height:36px; width: 100%;background:transparent"
|
|
335
335
|
}, null, 512)) : k("", !0),
|
|
336
|
-
e.value.style.chart.title.text ? (
|
|
336
|
+
e.value.style.chart.title.text ? (y(), g("div", {
|
|
337
337
|
key: 2,
|
|
338
338
|
ref_key: "chartTitle",
|
|
339
339
|
ref: fe,
|
|
340
340
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
341
341
|
}, [
|
|
342
|
-
(
|
|
342
|
+
(y(), V($t, {
|
|
343
343
|
key: `title_${me.value}`,
|
|
344
344
|
config: {
|
|
345
345
|
title: {
|
|
@@ -353,7 +353,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
353
353
|
}
|
|
354
354
|
}, null, 8, ["config"]))
|
|
355
355
|
], 512)) : k("", !0),
|
|
356
|
-
e.value.userOptions.show && N.value && (u(xe) || u(
|
|
356
|
+
e.value.userOptions.show && N.value && (u(xe) || u(ne)) ? (y(), V(u(v), {
|
|
357
357
|
ref: "details",
|
|
358
358
|
key: `user_option_${be.value}`,
|
|
359
359
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -380,15 +380,15 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
380
380
|
onGenerateCsv: Ie,
|
|
381
381
|
onGenerateImage: u($e),
|
|
382
382
|
onToggleTable: Fe,
|
|
383
|
-
onToggleAnnotator:
|
|
384
|
-
style:
|
|
385
|
-
visibility: u(xe) ? u(
|
|
383
|
+
onToggleAnnotator: ce,
|
|
384
|
+
style: le({
|
|
385
|
+
visibility: u(xe) ? u(ne) ? "visible" : "hidden" : "visible"
|
|
386
386
|
})
|
|
387
387
|
}, nt({ _: 2 }, [
|
|
388
388
|
t.$slots.menuIcon ? {
|
|
389
389
|
name: "menuIcon",
|
|
390
|
-
fn: _(({ isOpen: l, color:
|
|
391
|
-
x(t.$slots, "menuIcon",
|
|
390
|
+
fn: _(({ isOpen: l, color: f }) => [
|
|
391
|
+
x(t.$slots, "menuIcon", W(X({ isOpen: l, color: f })), void 0, !0)
|
|
392
392
|
]),
|
|
393
393
|
key: "0"
|
|
394
394
|
} : void 0,
|
|
@@ -422,20 +422,20 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
422
422
|
} : void 0,
|
|
423
423
|
t.$slots.optionFullscreen ? {
|
|
424
424
|
name: "optionFullscreen",
|
|
425
|
-
fn: _(({ toggleFullscreen: l, isFullscreen:
|
|
426
|
-
x(t.$slots, "optionFullscreen",
|
|
425
|
+
fn: _(({ toggleFullscreen: l, isFullscreen: f }) => [
|
|
426
|
+
x(t.$slots, "optionFullscreen", W(X({ toggleFullscreen: l, isFullscreen: f })), void 0, !0)
|
|
427
427
|
]),
|
|
428
428
|
key: "5"
|
|
429
429
|
} : void 0,
|
|
430
430
|
t.$slots.optionAnnotator ? {
|
|
431
431
|
name: "optionAnnotator",
|
|
432
|
-
fn: _(({ toggleAnnotator: l, isAnnotator:
|
|
433
|
-
x(t.$slots, "optionAnnotator",
|
|
432
|
+
fn: _(({ toggleAnnotator: l, isAnnotator: f }) => [
|
|
433
|
+
x(t.$slots, "optionAnnotator", W(X({ toggleAnnotator: l, isAnnotator: f })), void 0, !0)
|
|
434
434
|
]),
|
|
435
435
|
key: "6"
|
|
436
436
|
} : void 0
|
|
437
437
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
|
|
438
|
-
N.value ? (
|
|
438
|
+
N.value ? (y(), g("svg", {
|
|
439
439
|
key: 4,
|
|
440
440
|
ref_key: "svgRef",
|
|
441
441
|
ref: ge,
|
|
@@ -444,10 +444,10 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
444
444
|
height: E.value.h,
|
|
445
445
|
width: E.value.w,
|
|
446
446
|
class: Ee({ "vue-data-ui-fullscreen--on": j.value, "vue-data-ui-fulscreen--off": !j.value }),
|
|
447
|
-
style:
|
|
447
|
+
style: le(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};background:${e.value.style.chart.backgroundColor};`)
|
|
448
448
|
}, [
|
|
449
449
|
rt(u(o)),
|
|
450
|
-
t.$slots["chart-background"] ? (
|
|
450
|
+
t.$slots["chart-background"] ? (y(), g("foreignObject", {
|
|
451
451
|
key: 0,
|
|
452
452
|
x: S.value.x,
|
|
453
453
|
y: S.value.y,
|
|
@@ -459,7 +459,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
459
459
|
}, [
|
|
460
460
|
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
461
461
|
], 8, It)) : k("", !0),
|
|
462
|
-
(
|
|
462
|
+
(y(!0), g(ae, null, ut(A.value, (l) => (y(), g(ae, null, [
|
|
463
463
|
C("defs", null, [
|
|
464
464
|
C("radialGradient", {
|
|
465
465
|
id: l.id,
|
|
@@ -479,7 +479,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
479
479
|
}, null, 8, Et)
|
|
480
480
|
], 8, Ft)
|
|
481
481
|
]),
|
|
482
|
-
t.$slots.pattern ? (
|
|
482
|
+
t.$slots.pattern ? (y(), g("g", Rt, [
|
|
483
483
|
C("defs", null, [
|
|
484
484
|
x(t.$slots, "pattern", Re({ ref_for: !0 }, { ...l, patternId: `pattern_${P.value}_${l.id}` }), void 0, !0)
|
|
485
485
|
])
|
|
@@ -494,10 +494,10 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
494
494
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
|
|
495
495
|
rx: l.r,
|
|
496
496
|
onMouseenter: () => Ye(l),
|
|
497
|
-
onMouseout: n[0] || (n[0] = (
|
|
498
|
-
onClick: (
|
|
497
|
+
onMouseout: n[0] || (n[0] = (f) => d.value = null),
|
|
498
|
+
onClick: (f) => T("selectDatapoint", l)
|
|
499
499
|
}, null, 40, At),
|
|
500
|
-
t.$slots.pattern ? (
|
|
500
|
+
t.$slots.pattern ? (y(), g("rect", {
|
|
501
501
|
key: 1,
|
|
502
502
|
x: l.x - l.r,
|
|
503
503
|
y: l.y - l.r,
|
|
@@ -514,8 +514,8 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
514
514
|
t.$slots["data-label"] ? x(t.$slots, "data-label", Re({
|
|
515
515
|
key: 2,
|
|
516
516
|
ref_for: !0
|
|
517
|
-
}, { ...l, createTSpans: u(bt), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Se(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(
|
|
518
|
-
e.value.style.chart.circles.labels.name.show && l.name ? (
|
|
517
|
+
}, { ...l, createTSpans: u(bt), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Se(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(Z)(l.color) }), void 0, !0) : (y(), g(ae, { key: 3 }, [
|
|
518
|
+
e.value.style.chart.circles.labels.name.show && l.name ? (y(), g("text", {
|
|
519
519
|
key: 0,
|
|
520
520
|
style: {
|
|
521
521
|
pointerEvents: "none",
|
|
@@ -525,11 +525,11 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
525
525
|
x: l.x,
|
|
526
526
|
y: l.y + Oe(l.r, e.value.style.chart.circles.labels.name.offsetY) - l.r / 10,
|
|
527
527
|
"font-size": l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
528
|
-
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(
|
|
528
|
+
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : u(Z)(l.color),
|
|
529
529
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
530
530
|
"text-anchor": "middle"
|
|
531
|
-
},
|
|
532
|
-
e.value.style.chart.circles.labels.value.show ? (
|
|
531
|
+
}, Y(l.name), 9, Lt)) : k("", !0),
|
|
532
|
+
e.value.style.chart.circles.labels.value.show ? (y(), g("text", {
|
|
533
533
|
key: 1,
|
|
534
534
|
style: {
|
|
535
535
|
pointerEvents: "none",
|
|
@@ -539,15 +539,15 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
539
539
|
x: l.x,
|
|
540
540
|
y: l.y + Oe(l.r, e.value.style.chart.circles.labels.value.offsetY) + l.r / 2.5,
|
|
541
541
|
"font-size": Se(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
|
|
542
|
-
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : u(
|
|
542
|
+
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : u(Z)(l.color),
|
|
543
543
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
544
544
|
"text-anchor": "middle"
|
|
545
|
-
},
|
|
545
|
+
}, Y(ie(l)), 9, Vt)) : k("", !0)
|
|
546
546
|
], 64))
|
|
547
547
|
], 64))), 256)),
|
|
548
|
-
d.value && e.value.style.chart.circles.zoom.show && !F.value ? (
|
|
548
|
+
d.value && e.value.style.chart.circles.zoom.show && !F.value ? (y(), g(ae, { key: 1 }, [
|
|
549
549
|
C("circle", {
|
|
550
|
-
style:
|
|
550
|
+
style: le(Ze.value),
|
|
551
551
|
cx: d.value.x,
|
|
552
552
|
cy: d.value.y,
|
|
553
553
|
r: G.value,
|
|
@@ -556,9 +556,9 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
556
556
|
"stroke-width": e.value.style.chart.circles.strokeWidth * B.value / 100,
|
|
557
557
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${d.value.id})` : d.value.color
|
|
558
558
|
}, null, 12, Ht),
|
|
559
|
-
t.$slots["zoom-label"] ? (
|
|
560
|
-
x(t.$slots, "zoom-label",
|
|
561
|
-
])) : (
|
|
559
|
+
t.$slots["zoom-label"] ? (y(), g("g", Bt, [
|
|
560
|
+
x(t.$slots, "zoom-label", W(X({ ...d.value, zoomOpacity: I.value, currentRadius: G.value, fontSize: U.value })), void 0, !0)
|
|
561
|
+
])) : (y(), g("g", Gt, [
|
|
562
562
|
C("text", {
|
|
563
563
|
style: {
|
|
564
564
|
pointerEvents: "none"
|
|
@@ -568,9 +568,9 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
568
568
|
y: d.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - U.value.name / 4,
|
|
569
569
|
"text-anchor": "middle",
|
|
570
570
|
"font-size": U.value.name,
|
|
571
|
-
fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : u(
|
|
571
|
+
fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : u(Z)(d.value.color),
|
|
572
572
|
"font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
|
|
573
|
-
},
|
|
573
|
+
}, Y(d.value.name), 9, Ut),
|
|
574
574
|
C("text", {
|
|
575
575
|
style: {
|
|
576
576
|
pointerEvents: "none"
|
|
@@ -580,16 +580,16 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
580
580
|
y: d.value.y + U.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
|
|
581
581
|
"text-anchor": "middle",
|
|
582
582
|
"font-size": U.value.value,
|
|
583
|
-
fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : u(
|
|
583
|
+
fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : u(Z)(d.value.color),
|
|
584
584
|
"font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
|
|
585
|
-
},
|
|
585
|
+
}, Y(Je()), 9, jt)
|
|
586
586
|
]))
|
|
587
587
|
], 64)) : k("", !0),
|
|
588
588
|
x(t.$slots, "svg", {
|
|
589
589
|
svg: { ...S.value }
|
|
590
590
|
}, void 0, !0)
|
|
591
591
|
], 14, St)) : k("", !0),
|
|
592
|
-
N.value ? k("", !0) : (
|
|
592
|
+
N.value ? k("", !0) : (y(), V(u(s), {
|
|
593
593
|
key: 5,
|
|
594
594
|
config: {
|
|
595
595
|
type: "circlePack",
|
|
@@ -598,10 +598,10 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
})),
|
|
601
|
-
t.$slots.watermark ? (
|
|
602
|
-
x(t.$slots, "watermark",
|
|
601
|
+
t.$slots.watermark ? (y(), g("div", qt, [
|
|
602
|
+
x(t.$slots, "watermark", W(X({ isPrinting: u(Ce) || u(ze) })), void 0, !0)
|
|
603
603
|
])) : k("", !0),
|
|
604
|
-
t.$slots.source ? (
|
|
604
|
+
t.$slots.source ? (y(), g("div", {
|
|
605
605
|
key: 7,
|
|
606
606
|
ref_key: "source",
|
|
607
607
|
ref: qe,
|
|
@@ -609,7 +609,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
609
609
|
}, [
|
|
610
610
|
x(t.$slots, "source", {}, void 0, !0)
|
|
611
611
|
], 512)) : k("", !0),
|
|
612
|
-
N.value ? (
|
|
612
|
+
N.value ? (y(), V(u(m), {
|
|
613
613
|
key: 8,
|
|
614
614
|
hideDetails: "",
|
|
615
615
|
config: {
|
|
@@ -626,12 +626,12 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
626
626
|
}
|
|
627
627
|
}, {
|
|
628
628
|
content: _(() => [
|
|
629
|
-
(
|
|
629
|
+
(y(), V(u(c), {
|
|
630
630
|
key: `table_${pe.value}`,
|
|
631
|
-
colNames:
|
|
632
|
-
head:
|
|
633
|
-
body:
|
|
634
|
-
config:
|
|
631
|
+
colNames: te.value.colNames,
|
|
632
|
+
head: te.value.head,
|
|
633
|
+
body: te.value.body,
|
|
634
|
+
config: te.value.config,
|
|
635
635
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
636
636
|
onClose: n[1] || (n[1] = (l) => H.value.showTable = !1)
|
|
637
637
|
}, {
|
|
@@ -642,7 +642,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
642
642
|
}, null, 8, Wt)
|
|
643
643
|
]),
|
|
644
644
|
td: _(({ td: l }) => [
|
|
645
|
-
it(
|
|
645
|
+
it(Y(l.name || l), 1)
|
|
646
646
|
]),
|
|
647
647
|
_: 1
|
|
648
648
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -651,7 +651,7 @@ const Ot = ["id"], St = ["xmlns", "viewBox", "height", "width"], It = ["x", "y",
|
|
|
651
651
|
}, 8, ["config"])) : k("", !0)
|
|
652
652
|
], 46, Ot));
|
|
653
653
|
}
|
|
654
|
-
}, ol = /* @__PURE__ */ Tt(Xt, [["__scopeId", "data-v-
|
|
654
|
+
}, ol = /* @__PURE__ */ Tt(Xt, [["__scopeId", "data-v-b02f724d"]]);
|
|
655
655
|
export {
|
|
656
656
|
ol as default
|
|
657
657
|
};
|
|
@@ -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-DVZpeH84.js";
|
|
3
|
+
import { u as L, c as z, X as O, s as I } from "./index-BXbyT0Qn.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",
|