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,10 +1,10 @@
|
|
|
1
|
-
import { defineAsyncComponent as k, computed as
|
|
2
|
-
import { u as Ye, o as qe, e as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as rt } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as k, computed as g, onMounted as Ue, ref as n, watch as We, createElementBlock as i, openBlock as r, unref as o, normalizeStyle as M, normalizeClass as B, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as de, createSlots as He, withCtx as d, normalizeProps as P, guardReactiveProps as S, createElementVNode as _, Fragment as he, renderList as ge, toDisplayString as A, createTextVNode as Xe, nextTick as je } from "vue";
|
|
2
|
+
import { u as Ye, o as qe, e as pe, g as Je, c as ye, t as Ke, p as G, a as Qe, b as Ze, G as fe, d as et, M as tt, f as C, X as lt, i as be, x as me, q as at, r as ot, y as st } from "./index-CobsZUkv.js";
|
|
3
|
+
import { u as ke } from "./useNestedProp-BwL5wmVa.js";
|
|
4
|
+
import { u as rt } from "./usePrinter-DPh6U_Qk.js";
|
|
5
5
|
import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import it from "./img-
|
|
7
|
+
import it from "./img-utitT2Gd.js";
|
|
8
8
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const vt = ["id"], dt = {
|
|
10
10
|
key: 1,
|
|
@@ -14,14 +14,14 @@ const vt = ["id"], dt = {
|
|
|
14
14
|
}, ht = {
|
|
15
15
|
key: 2,
|
|
16
16
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
17
|
-
},
|
|
17
|
+
}, gt = ["xmlns", "viewBox"], pt = ["width", "height"], yt = ["id"], ft = ["stdDeviation"], bt = ["d", "stroke", "stroke-width"], mt = ["d", "stroke", "stroke-width"], kt = ["filter"], wt = ["d", "stroke", "stroke-width"], Ct = ["d", "stroke-width", "onMouseenter", "onClick"], $t = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
}, xt = ["onClick"], Tt = {
|
|
20
|
+
}, xt = ["onClick"], Tt = {
|
|
21
21
|
key: 8,
|
|
22
22
|
ref: "source",
|
|
23
23
|
dir: "auto"
|
|
24
|
-
},
|
|
24
|
+
}, Ot = ["innerHTML"], Pt = {
|
|
25
25
|
__name: "vue-ui-galaxy",
|
|
26
26
|
props: {
|
|
27
27
|
config: {
|
|
@@ -38,13 +38,13 @@ const vt = ["id"], dt = {
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41
|
-
setup(we, { expose:
|
|
42
|
-
const
|
|
43
|
-
|
|
41
|
+
setup(we, { expose: Ce, emit: $e }) {
|
|
42
|
+
const xe = k(() => import("./vue-ui-accordion-UewqY6OI.js")), Te = k(() => import("./DataTable-Dt-TIOyY.js")), Oe = k(() => import("./Legend-3LNqqLDg.js")), Pe = k(() => import("./PackageVersion-C-4Ee8BQ.js")), Se = k(() => import("./PenAndPaper-Cde-wJ3N.js")), _e = k(() => import("./vue-ui-skeleton-8s4xts8z.js")), Ne = k(() => import("./Title-DpERl1yr.js")), Le = k(() => import("./Tooltip-DA0bYKFG.js")), Ie = k(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_galaxy: Ae } = Ye(), f = we, F = g(() => !!f.dataset && f.dataset.length);
|
|
43
|
+
Ue(() => {
|
|
44
44
|
X();
|
|
45
45
|
});
|
|
46
46
|
function X() {
|
|
47
|
-
qe(f.dataset) ?
|
|
47
|
+
qe(f.dataset) ? pe({
|
|
48
48
|
componentName: "VueUiGalaxy",
|
|
49
49
|
type: "dataset"
|
|
50
50
|
}) : f.dataset.forEach((t, a) => {
|
|
@@ -52,7 +52,7 @@ const vt = ["id"], dt = {
|
|
|
52
52
|
datasetObject: t,
|
|
53
53
|
requiredAttributes: ["name", "values"]
|
|
54
54
|
}).forEach((l) => {
|
|
55
|
-
|
|
55
|
+
pe({
|
|
56
56
|
componentName: "VueUiGalaxy",
|
|
57
57
|
type: "datasetSerieAttribute",
|
|
58
58
|
property: l,
|
|
@@ -61,31 +61,31 @@ const vt = ["id"], dt = {
|
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
|
-
const
|
|
64
|
+
const N = n(ye()), T = n(null), Fe = n(null), D = n(!1), R = n(""), b = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = g({
|
|
65
65
|
get: () => ee(),
|
|
66
66
|
set: (t) => t
|
|
67
|
-
}), { userOptionsVisible:
|
|
67
|
+
}), { userOptionsVisible: z, setUserOptionsVisibility: K, keepUserOptionState: Q } = ut({ config: e.value }), { svgRef: Z } = nt({ config: e.value.style.chart.title });
|
|
68
68
|
function ee() {
|
|
69
|
-
const t =
|
|
69
|
+
const t = ke({
|
|
70
70
|
userConfig: f.config,
|
|
71
|
-
defaultConfig:
|
|
71
|
+
defaultConfig: Ae
|
|
72
72
|
});
|
|
73
73
|
return t.theme ? {
|
|
74
|
-
...
|
|
74
|
+
...ke({
|
|
75
75
|
userConfig: Qe.vue_ui_galaxy[t.theme] || f.config,
|
|
76
76
|
defaultConfig: t
|
|
77
77
|
}),
|
|
78
|
-
customPalette: Ke[t.theme] ||
|
|
78
|
+
customPalette: Ke[t.theme] || G
|
|
79
79
|
} : t;
|
|
80
80
|
}
|
|
81
|
-
|
|
82
|
-
e.value = ee(),
|
|
81
|
+
We(() => f.config, (t) => {
|
|
82
|
+
e.value = ee(), z.value = !e.value.userOptions.showOnChartHover, X(), Y.value += 1, q.value += 1, J.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
83
83
|
}, { deep: !0 });
|
|
84
84
|
const { isPrinting: te, isImaging: le, generatePdf: ae, generateImage: oe } = rt({
|
|
85
|
-
elementId: `galaxy_${
|
|
85
|
+
elementId: `galaxy_${N.value}`,
|
|
86
86
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
87
87
|
options: e.value.userOptions.print
|
|
88
|
-
}), Ve =
|
|
88
|
+
}), Ve = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ee = g(() => Ze(e.value.customPalette)), p = n({
|
|
89
89
|
dataLabels: {
|
|
90
90
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
91
91
|
},
|
|
@@ -95,30 +95,30 @@ const vt = ["id"], dt = {
|
|
|
95
95
|
height: 180,
|
|
96
96
|
// or 250 if non fibo
|
|
97
97
|
width: 250
|
|
98
|
-
}), se =
|
|
99
|
-
function
|
|
98
|
+
}), se = $e, y = n([]);
|
|
99
|
+
function U(t) {
|
|
100
100
|
y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), se("selectLegend", I.value.map((a) => ({
|
|
101
101
|
name: a.name,
|
|
102
102
|
color: a.color,
|
|
103
103
|
value: a.value
|
|
104
104
|
})));
|
|
105
105
|
}
|
|
106
|
-
const $ =
|
|
106
|
+
const $ = g(() => f.dataset.map((t, a) => ({
|
|
107
107
|
name: t.name,
|
|
108
|
-
color: et(t.color) ||
|
|
109
|
-
value: t.values ?
|
|
110
|
-
absoluteValues:
|
|
111
|
-
id:
|
|
108
|
+
color: et(t.color) || Ee.value[a] || G[a] || G[a % G.length],
|
|
109
|
+
value: t.values ? fe(t.values).reduce((l, s) => l + s, 0) : 0,
|
|
110
|
+
absoluteValues: fe(t.values),
|
|
111
|
+
id: ye(),
|
|
112
112
|
seriesIndex: a
|
|
113
113
|
})).sort((t, a) => a.value - t.value));
|
|
114
|
-
function
|
|
114
|
+
function Me() {
|
|
115
115
|
return $.value.map((t) => ({
|
|
116
116
|
name: t.name,
|
|
117
117
|
color: t.color,
|
|
118
118
|
value: t.value
|
|
119
119
|
}));
|
|
120
120
|
}
|
|
121
|
-
const m =
|
|
121
|
+
const m = g(() => $.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Be = n(190), re = g(() => $.value.filter((t) => !y.value.includes(t.id))), I = g(() => {
|
|
122
122
|
const t = [];
|
|
123
123
|
for (let a = 0; a < re.value.length; a += 1) {
|
|
124
124
|
const l = re.value[a];
|
|
@@ -136,65 +136,65 @@ const vt = ["id"], dt = {
|
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
139
|
-
}),
|
|
139
|
+
}), O = n(!1);
|
|
140
140
|
function ue(t) {
|
|
141
|
-
|
|
141
|
+
O.value = t, j.value += 1;
|
|
142
142
|
}
|
|
143
|
-
const
|
|
144
|
-
function
|
|
145
|
-
|
|
143
|
+
const W = n(null);
|
|
144
|
+
function Ge({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
|
|
145
|
+
W.value = {
|
|
146
146
|
datapoint: t,
|
|
147
147
|
seriesIndex: l,
|
|
148
148
|
series: $.value,
|
|
149
149
|
config: e.value
|
|
150
150
|
}, D.value = s, b.value = t.id;
|
|
151
151
|
let u = "";
|
|
152
|
-
const
|
|
153
|
-
|
|
152
|
+
const h = e.value.style.chart.tooltip.customFormat;
|
|
153
|
+
me(h) && st(() => h({
|
|
154
154
|
seriesIndex: l,
|
|
155
155
|
datapoint: t,
|
|
156
156
|
series: $.value,
|
|
157
157
|
config: e.value
|
|
158
|
-
})) ?
|
|
158
|
+
})) ? R.value = h({
|
|
159
159
|
seriesIndex: l,
|
|
160
160
|
datapoint: t,
|
|
161
161
|
series: $.value,
|
|
162
162
|
config: e.value
|
|
163
|
-
}) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${
|
|
163
|
+
}) : (u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, u += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${be(
|
|
164
164
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
165
165
|
t.value,
|
|
166
|
-
|
|
166
|
+
C({
|
|
167
167
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
168
168
|
v: t.value,
|
|
169
169
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
170
170
|
r: e.value.style.chart.tooltip.roundingValue
|
|
171
171
|
}),
|
|
172
172
|
{ datapoint: t, seriesIndex: l }
|
|
173
|
-
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${
|
|
173
|
+
)}</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${C({
|
|
174
174
|
v: t.proportion * 100,
|
|
175
175
|
s: "%",
|
|
176
176
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
177
|
-
})})</span></div>` : u += `<b>${
|
|
177
|
+
})})</span></div>` : u += `<b>${C({
|
|
178
178
|
v: t.proportion * 100,
|
|
179
179
|
s: "%",
|
|
180
180
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
181
|
-
})}</b></div>`),
|
|
181
|
+
})}</b></div>`), R.value = `<div>${u}</div>`);
|
|
182
182
|
}
|
|
183
|
-
const ne =
|
|
183
|
+
const ne = g(() => $.value.map((t, a) => ({
|
|
184
184
|
...t,
|
|
185
185
|
proportion: (t.value || 0) / f.dataset.map((l) => (l.values || []).reduce((s, u) => s + u, 0)).reduce((l, s) => l + s, 0),
|
|
186
186
|
opacity: y.value.includes(t.id) ? 0.5 : 1,
|
|
187
187
|
shape: t.shape || "circle",
|
|
188
|
-
segregate: () =>
|
|
188
|
+
segregate: () => U(t),
|
|
189
189
|
isSegregated: y.value.includes(t.id)
|
|
190
|
-
}))),
|
|
190
|
+
}))), De = g(() => ({
|
|
191
191
|
cy: "galaxy-div-legend",
|
|
192
192
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
193
193
|
color: e.value.style.chart.legend.color,
|
|
194
194
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
195
195
|
paddingBottom: 12,
|
|
196
196
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
197
|
-
})),
|
|
197
|
+
})), w = g(() => {
|
|
198
198
|
const t = I.value.map((l) => ({
|
|
199
199
|
name: l.name,
|
|
200
200
|
color: l.color
|
|
@@ -203,27 +203,27 @@ const vt = ["id"], dt = {
|
|
|
203
203
|
});
|
|
204
204
|
function ie(t = null) {
|
|
205
205
|
je(() => {
|
|
206
|
-
const a =
|
|
206
|
+
const a = w.value.head.map((u, h) => [[
|
|
207
207
|
u.name
|
|
208
|
-
], [
|
|
208
|
+
], [w.value.body[h]], [isNaN(w.value.body[h] / m.value) ? "-" : w.value.body[h] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = at(l);
|
|
209
209
|
t ? t(s) : ot({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
|
-
const
|
|
212
|
+
const V = g(() => {
|
|
213
213
|
const t = [
|
|
214
214
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
215
|
-
|
|
215
|
+
C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
216
216
|
"100%"
|
|
217
|
-
], a =
|
|
218
|
-
const
|
|
217
|
+
], a = w.value.head.map((u, h) => {
|
|
218
|
+
const ze = C({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: w.value.body[h], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
219
219
|
return [
|
|
220
220
|
{
|
|
221
221
|
color: u.color,
|
|
222
222
|
name: u.name
|
|
223
223
|
},
|
|
224
|
-
|
|
225
|
-
isNaN(
|
|
226
|
-
v:
|
|
224
|
+
ze,
|
|
225
|
+
isNaN(w.value.body[h] / m.value) ? "-" : C({
|
|
226
|
+
v: w.value.body[h] / m.value * 100,
|
|
227
227
|
s: "%",
|
|
228
228
|
r: e.value.table.td.roundingPercentage
|
|
229
229
|
})
|
|
@@ -262,14 +262,21 @@ const vt = ["id"], dt = {
|
|
|
262
262
|
function H() {
|
|
263
263
|
E.value = !E.value;
|
|
264
264
|
}
|
|
265
|
-
async function
|
|
266
|
-
if (!
|
|
267
|
-
const {
|
|
268
|
-
return {
|
|
265
|
+
async function Re({ scale: t = 2 } = {}) {
|
|
266
|
+
if (!T.value) return;
|
|
267
|
+
const { width: a, height: l } = T.value.getBoundingClientRect(), s = a / l, { imageUri: u, base64: h } = await it({ domElement: T.value, base64: !0, img: !0, scale: t });
|
|
268
|
+
return {
|
|
269
|
+
imageUri: u,
|
|
270
|
+
base64: h,
|
|
271
|
+
title: e.value.style.chart.title.text,
|
|
272
|
+
width: a,
|
|
273
|
+
height: l,
|
|
274
|
+
aspectRatio: s
|
|
275
|
+
};
|
|
269
276
|
}
|
|
270
|
-
return
|
|
271
|
-
getData:
|
|
272
|
-
getImage:
|
|
277
|
+
return Ce({
|
|
278
|
+
getData: Me,
|
|
279
|
+
getImage: Re,
|
|
273
280
|
generatePdf: ae,
|
|
274
281
|
generateCsv: ie,
|
|
275
282
|
generateImage: oe,
|
|
@@ -279,14 +286,14 @@ const vt = ["id"], dt = {
|
|
|
279
286
|
toggleFullscreen: ue
|
|
280
287
|
}), (t, a) => (r(), i("div", {
|
|
281
288
|
ref_key: "galaxyChart",
|
|
282
|
-
ref:
|
|
283
|
-
class:
|
|
284
|
-
style:
|
|
285
|
-
id: `galaxy_${
|
|
289
|
+
ref: T,
|
|
290
|
+
class: B(`vue-ui-galaxy ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
291
|
+
style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
292
|
+
id: `galaxy_${N.value}`,
|
|
286
293
|
onMouseenter: a[3] || (a[3] = () => o(K)(!0)),
|
|
287
294
|
onMouseleave: a[4] || (a[4] = () => o(K)(!1))
|
|
288
295
|
}, [
|
|
289
|
-
e.value.userOptions.buttons.annotator ? (r(), x(o(
|
|
296
|
+
e.value.userOptions.buttons.annotator ? (r(), x(o(Se), {
|
|
290
297
|
key: 0,
|
|
291
298
|
svgRef: o(Z),
|
|
292
299
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -296,7 +303,7 @@ const vt = ["id"], dt = {
|
|
|
296
303
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
297
304
|
Ve.value ? (r(), i("div", dt, null, 512)) : c("", !0),
|
|
298
305
|
e.value.style.chart.title.text ? (r(), i("div", ht, [
|
|
299
|
-
(r(), x(o(
|
|
306
|
+
(r(), x(o(Ne), {
|
|
300
307
|
key: `title_${Y.value}`,
|
|
301
308
|
config: {
|
|
302
309
|
title: {
|
|
@@ -310,15 +317,15 @@ const vt = ["id"], dt = {
|
|
|
310
317
|
}
|
|
311
318
|
}, null, 8, ["config"]))
|
|
312
319
|
])) : c("", !0),
|
|
313
|
-
e.value.userOptions.show &&
|
|
320
|
+
e.value.userOptions.show && F.value && (o(Q) || o(z)) ? (r(), x(o(Ie), {
|
|
314
321
|
ref_key: "details",
|
|
315
|
-
ref:
|
|
322
|
+
ref: Fe,
|
|
316
323
|
key: `user_option_${j.value}`,
|
|
317
324
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
318
325
|
color: e.value.style.chart.color,
|
|
319
326
|
isPrinting: o(te),
|
|
320
327
|
isImaging: o(le),
|
|
321
|
-
uid:
|
|
328
|
+
uid: N.value,
|
|
322
329
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
323
330
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
324
331
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -326,9 +333,9 @@ const vt = ["id"], dt = {
|
|
|
326
333
|
hasTable: e.value.userOptions.buttons.table,
|
|
327
334
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
328
335
|
isTooltip: p.value.showTooltip,
|
|
329
|
-
isFullscreen:
|
|
336
|
+
isFullscreen: O.value,
|
|
330
337
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
331
|
-
chartElement:
|
|
338
|
+
chartElement: T.value,
|
|
332
339
|
position: e.value.userOptions.position,
|
|
333
340
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
334
341
|
isAnnotation: E.value,
|
|
@@ -341,14 +348,14 @@ const vt = ["id"], dt = {
|
|
|
341
348
|
onToggleTable: ce,
|
|
342
349
|
onToggleTooltip: ve,
|
|
343
350
|
onToggleAnnotator: H,
|
|
344
|
-
style:
|
|
345
|
-
visibility: o(Q) ? o(
|
|
351
|
+
style: M({
|
|
352
|
+
visibility: o(Q) ? o(z) ? "visible" : "hidden" : "visible"
|
|
346
353
|
})
|
|
347
|
-
},
|
|
354
|
+
}, He({ _: 2 }, [
|
|
348
355
|
t.$slots.menuIcon ? {
|
|
349
356
|
name: "menuIcon",
|
|
350
357
|
fn: d(({ isOpen: l, color: s }) => [
|
|
351
|
-
v(t.$slots, "menuIcon",
|
|
358
|
+
v(t.$slots, "menuIcon", P(S({ isOpen: l, color: s })), void 0, !0)
|
|
352
359
|
]),
|
|
353
360
|
key: "0"
|
|
354
361
|
} : void 0,
|
|
@@ -390,28 +397,28 @@ const vt = ["id"], dt = {
|
|
|
390
397
|
t.$slots.optionFullscreen ? {
|
|
391
398
|
name: "optionFullscreen",
|
|
392
399
|
fn: d(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
393
|
-
v(t.$slots, "optionFullscreen",
|
|
400
|
+
v(t.$slots, "optionFullscreen", P(S({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
394
401
|
]),
|
|
395
402
|
key: "6"
|
|
396
403
|
} : void 0,
|
|
397
404
|
t.$slots.optionAnnotator ? {
|
|
398
405
|
name: "optionAnnotator",
|
|
399
406
|
fn: d(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
400
|
-
v(t.$slots, "optionAnnotator",
|
|
407
|
+
v(t.$slots, "optionAnnotator", P(S({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
401
408
|
]),
|
|
402
409
|
key: "7"
|
|
403
410
|
} : void 0
|
|
404
411
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
405
|
-
|
|
412
|
+
F.value ? (r(), i("svg", {
|
|
406
413
|
key: 4,
|
|
407
414
|
ref_key: "svgRef",
|
|
408
415
|
ref: Z,
|
|
409
416
|
xmlns: o(lt),
|
|
410
|
-
class:
|
|
417
|
+
class: B({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
411
418
|
viewBox: `0 0 ${L.value.width} ${L.value.height}`,
|
|
412
|
-
style:
|
|
419
|
+
style: M(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
413
420
|
}, [
|
|
414
|
-
de(o(
|
|
421
|
+
de(o(Pe)),
|
|
415
422
|
t.$slots["chart-background"] ? (r(), i("foreignObject", {
|
|
416
423
|
key: 0,
|
|
417
424
|
x: 0,
|
|
@@ -423,22 +430,22 @@ const vt = ["id"], dt = {
|
|
|
423
430
|
}
|
|
424
431
|
}, [
|
|
425
432
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
426
|
-
], 8,
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
id: `blur_${
|
|
433
|
+
], 8, pt)) : c("", !0),
|
|
434
|
+
_("defs", null, [
|
|
435
|
+
_("filter", {
|
|
436
|
+
id: `blur_${N.value}`,
|
|
430
437
|
x: "-50%",
|
|
431
438
|
y: "-50%",
|
|
432
439
|
width: "200%",
|
|
433
440
|
height: "200%"
|
|
434
441
|
}, [
|
|
435
|
-
|
|
442
|
+
_("feGaussianBlur", {
|
|
436
443
|
in: "SourceGraphic",
|
|
437
444
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
438
445
|
}, null, 8, ft)
|
|
439
|
-
], 8,
|
|
446
|
+
], 8, yt)
|
|
440
447
|
]),
|
|
441
|
-
(r(!0), i(he, null,
|
|
448
|
+
(r(!0), i(he, null, ge(I.value, (l) => (r(), i("g", null, [
|
|
442
449
|
l.value ? (r(), i("path", {
|
|
443
450
|
key: 0,
|
|
444
451
|
d: l.path,
|
|
@@ -454,23 +461,23 @@ const vt = ["id"], dt = {
|
|
|
454
461
|
stroke: l.color,
|
|
455
462
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (b.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
456
463
|
"stroke-linecap": "round",
|
|
457
|
-
class:
|
|
464
|
+
class: B(`${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
458
465
|
}, null, 10, mt)) : c("", !0),
|
|
459
466
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), i("g", {
|
|
460
467
|
key: 2,
|
|
461
|
-
filter: `url(#blur_${
|
|
468
|
+
filter: `url(#blur_${N.value})`
|
|
462
469
|
}, [
|
|
463
|
-
|
|
470
|
+
_("path", {
|
|
464
471
|
d: l.path,
|
|
465
472
|
fill: "none",
|
|
466
473
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
467
474
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (b.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
468
475
|
"stroke-linecap": "round",
|
|
469
|
-
class:
|
|
470
|
-
}, null, 10,
|
|
476
|
+
class: B(`vue-ui-galaxy-gradient ${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
477
|
+
}, null, 10, wt)
|
|
471
478
|
], 8, kt)) : c("", !0)
|
|
472
479
|
]))), 256)),
|
|
473
|
-
(r(!0), i(he, null,
|
|
480
|
+
(r(!0), i(he, null, ge(I.value, (l, s) => (r(), i("g", null, [
|
|
474
481
|
l.value ? (r(), i("path", {
|
|
475
482
|
key: 0,
|
|
476
483
|
d: l.path,
|
|
@@ -478,7 +485,7 @@ const vt = ["id"], dt = {
|
|
|
478
485
|
stroke: "transparent",
|
|
479
486
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
480
487
|
"stroke-linecap": "round",
|
|
481
|
-
onMouseenter: (u) =>
|
|
488
|
+
onMouseenter: (u) => Ge({
|
|
482
489
|
datapoint: l,
|
|
483
490
|
seriesIndex: l.seriesIndex,
|
|
484
491
|
show: !0
|
|
@@ -487,14 +494,14 @@ const vt = ["id"], dt = {
|
|
|
487
494
|
D.value = !1, b.value = null;
|
|
488
495
|
}),
|
|
489
496
|
onClick: (u) => se("selectDatapoint", l)
|
|
490
|
-
}, null, 40,
|
|
497
|
+
}, null, 40, Ct)) : c("", !0)
|
|
491
498
|
]))), 256)),
|
|
492
499
|
v(t.$slots, "svg", { svg: L.value }, void 0, !0)
|
|
493
|
-
], 14,
|
|
500
|
+
], 14, gt)) : c("", !0),
|
|
494
501
|
t.$slots.watermark ? (r(), i("div", $t, [
|
|
495
|
-
v(t.$slots, "watermark",
|
|
502
|
+
v(t.$slots, "watermark", P(S({ isPrinting: o(te) || o(le) })), void 0, !0)
|
|
496
503
|
])) : c("", !0),
|
|
497
|
-
|
|
504
|
+
F.value ? c("", !0) : (r(), x(o(_e), {
|
|
498
505
|
key: 6,
|
|
499
506
|
config: {
|
|
500
507
|
type: "galaxy",
|
|
@@ -509,39 +516,36 @@ const vt = ["id"], dt = {
|
|
|
509
516
|
e.value.style.chart.legend.show ? (r(), x(o(Oe), {
|
|
510
517
|
key: `legend_${J.value}`,
|
|
511
518
|
legendSet: ne.value,
|
|
512
|
-
config:
|
|
513
|
-
onClickMarker: a[1] || (a[1] = ({ legend: l }) =>
|
|
519
|
+
config: De.value,
|
|
520
|
+
onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
|
|
514
521
|
}, {
|
|
515
522
|
item: d(({ legend: l, index: s }) => [
|
|
516
|
-
|
|
517
|
-
onClick: (u) =>
|
|
518
|
-
style:
|
|
519
|
-
},
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
r: e.value.style.chart.legend.roundingPercentage
|
|
535
|
-
})) + ") ", 1))
|
|
536
|
-
], 12, xt)
|
|
523
|
+
_("div", {
|
|
524
|
+
onClick: (u) => U(l),
|
|
525
|
+
style: M(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
|
|
526
|
+
}, A(l.name) + A(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + A(e.value.style.chart.legend.showValue ? o(be)(
|
|
527
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
528
|
+
l.value,
|
|
529
|
+
o(C)({
|
|
530
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
531
|
+
v: l.value,
|
|
532
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
533
|
+
r: e.value.style.chart.legend.roundingValue
|
|
534
|
+
}),
|
|
535
|
+
{ datapoint: l, seriesIndex: s }
|
|
536
|
+
) : "") + " " + A(e.value.style.chart.legend.showPercentage ? y.value.includes(l.id) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / m.value) ? "-" : o(C)({
|
|
537
|
+
v: l.value / m.value * 100,
|
|
538
|
+
s: "%",
|
|
539
|
+
r: e.value.style.chart.legend.roundingPercentage
|
|
540
|
+
})}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""), 13, xt)
|
|
537
541
|
]),
|
|
538
542
|
_: 1
|
|
539
543
|
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
540
544
|
v(t.$slots, "legend", { legend: ne.value }, void 0, !0),
|
|
541
|
-
t.$slots.source ? (r(), i("div",
|
|
545
|
+
t.$slots.source ? (r(), i("div", Tt, [
|
|
542
546
|
v(t.$slots, "source", {}, void 0, !0)
|
|
543
547
|
], 512)) : c("", !0),
|
|
544
|
-
de(o(
|
|
548
|
+
de(o(Le), {
|
|
545
549
|
show: p.value.showTooltip && D.value,
|
|
546
550
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
547
551
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -552,20 +556,20 @@ const vt = ["id"], dt = {
|
|
|
552
556
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
553
557
|
position: e.value.style.chart.tooltip.position,
|
|
554
558
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
555
|
-
parent:
|
|
556
|
-
content:
|
|
557
|
-
isFullscreen:
|
|
558
|
-
isCustom: o(
|
|
559
|
+
parent: T.value,
|
|
560
|
+
content: R.value,
|
|
561
|
+
isFullscreen: O.value,
|
|
562
|
+
isCustom: o(me)(e.value.style.chart.tooltip.customFormat)
|
|
559
563
|
}, {
|
|
560
564
|
"tooltip-before": d(() => [
|
|
561
|
-
v(t.$slots, "tooltip-before",
|
|
565
|
+
v(t.$slots, "tooltip-before", P(S({ ...W.value })), void 0, !0)
|
|
562
566
|
]),
|
|
563
567
|
"tooltip-after": d(() => [
|
|
564
|
-
v(t.$slots, "tooltip-after",
|
|
568
|
+
v(t.$slots, "tooltip-after", P(S({ ...W.value })), void 0, !0)
|
|
565
569
|
]),
|
|
566
570
|
_: 3
|
|
567
571
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
568
|
-
|
|
572
|
+
F.value ? (r(), x(o(xe), {
|
|
569
573
|
key: 9,
|
|
570
574
|
hideDetails: "",
|
|
571
575
|
config: {
|
|
@@ -582,23 +586,23 @@ const vt = ["id"], dt = {
|
|
|
582
586
|
}
|
|
583
587
|
}, {
|
|
584
588
|
content: d(() => [
|
|
585
|
-
(r(), x(o(
|
|
589
|
+
(r(), x(o(Te), {
|
|
586
590
|
key: `table_${q.value}`,
|
|
587
|
-
colNames:
|
|
588
|
-
head:
|
|
589
|
-
body:
|
|
590
|
-
config:
|
|
591
|
+
colNames: V.value.colNames,
|
|
592
|
+
head: V.value.head,
|
|
593
|
+
body: V.value.body,
|
|
594
|
+
config: V.value.config,
|
|
591
595
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
592
596
|
onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
|
|
593
597
|
}, {
|
|
594
598
|
th: d(({ th: l }) => [
|
|
595
|
-
|
|
599
|
+
_("div", {
|
|
596
600
|
innerHTML: l,
|
|
597
601
|
style: { display: "flex", "align-items": "center" }
|
|
598
|
-
}, null, 8,
|
|
602
|
+
}, null, 8, Ot)
|
|
599
603
|
]),
|
|
600
604
|
td: d(({ td: l }) => [
|
|
601
|
-
|
|
605
|
+
Xe(A(l.name || l), 1)
|
|
602
606
|
]),
|
|
603
607
|
_: 1
|
|
604
608
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -607,7 +611,7 @@ const vt = ["id"], dt = {
|
|
|
607
611
|
}, 8, ["config"])) : c("", !0)
|
|
608
612
|
], 46, vt));
|
|
609
613
|
}
|
|
610
|
-
},
|
|
614
|
+
}, Et = /* @__PURE__ */ ct(Pt, [["__scopeId", "data-v-138fd332"]]);
|
|
611
615
|
export {
|
|
612
|
-
|
|
616
|
+
Et as default
|
|
613
617
|
};
|