vue-data-ui 2.16.6 → 2.17.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 +83 -53
- package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
- package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
- package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
- package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
- package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
- package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
- package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
- package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
- package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
- package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
- package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
- package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
- package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
- package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
- package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
- package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
- package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
- package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1096 -160
- package/dist/types/vue-data-ui.d.ts +1096 -160
- package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
- package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
- package/dist/vue-data-ui-CIWxgKjd.js +312 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
- package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
- package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
- package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
- package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
- package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
- package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
- package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
- package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
- package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
- package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
- package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
- package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
- package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
- package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
- package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
- package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
- package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
- package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
- package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
- package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
- package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
- package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
- package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
- package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
- package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
- package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
- package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
- package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
- package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
- package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
- package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
- package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
- package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
- package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
- package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
- package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
- package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
- package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
- package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
- package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
- package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
- package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
- package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
- package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
- package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
- package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
- package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
- package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
- package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
- package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
- package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
- package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
- package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
- package/package.json +1 -1
- package/dist/vue-data-ui-B8EWlMIK.js +0 -301
- package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { defineAsyncComponent as k, computed as h, onMounted as Re, ref as n, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import
|
|
8
|
-
|
|
1
|
+
import { defineAsyncComponent as k, computed as h, onMounted as Re, ref as n, watch as He, createElementBlock as i, openBlock as r, unref as o, normalizeStyle as V, normalizeClass as M, createBlock as x, createCommentVNode as c, renderSlot as v, createVNode as de, createSlots as Xe, withCtx as d, normalizeProps as _, guardReactiveProps as O, createElementVNode as S, Fragment as he, renderList as pe, createTextVNode as ye, toDisplayString as G, nextTick as je } from "vue";
|
|
2
|
+
import { u as Ye, o as qe, e as ge, g as Je, c as fe, t as Ke, p as B, a as Qe, b as Ze, G as be, d as et, M as tt, f as w, X as lt, i as me, x as ke, q as at, r as ot, y as st } from "./index-pPGk-uhD.js";
|
|
3
|
+
import { u as Ce } from "./useNestedProp-DjACxgdZ.js";
|
|
4
|
+
import { u as rt } from "./usePrinter-DDHcrl0A.js";
|
|
5
|
+
import { u as ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { u as nt } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
+
import it from "./img-Y_hYz-ZC.js";
|
|
8
|
+
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const vt = ["id"], dt = {
|
|
9
10
|
key: 1,
|
|
10
11
|
ref: "noTitle",
|
|
11
12
|
class: "vue-data-ui-no-title-space",
|
|
12
13
|
style: "height:36px; width: 100%;background:transparent"
|
|
13
|
-
},
|
|
14
|
+
}, ht = {
|
|
14
15
|
key: 2,
|
|
15
16
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
16
|
-
},
|
|
17
|
+
}, pt = ["xmlns", "viewBox"], yt = ["width", "height"], gt = ["id"], ft = ["stdDeviation"], bt = ["d", "stroke", "stroke-width"], mt = ["d", "stroke", "stroke-width"], kt = ["filter"], Ct = ["d", "stroke", "stroke-width"], wt = ["d", "stroke-width", "onMouseenter", "onClick"], $t = {
|
|
17
18
|
key: 5,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, xt = ["onClick"], Tt = { key: 0 }, _t = { key: 1 }, Ot = {
|
|
20
21
|
key: 8,
|
|
21
22
|
ref: "source",
|
|
22
23
|
dir: "auto"
|
|
23
|
-
},
|
|
24
|
+
}, St = ["innerHTML"], Pt = {
|
|
24
25
|
__name: "vue-ui-galaxy",
|
|
25
26
|
props: {
|
|
26
27
|
config: {
|
|
@@ -37,111 +38,111 @@ const it = ["id"], ct = {
|
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
|
-
setup(
|
|
41
|
-
const
|
|
41
|
+
setup(we, { expose: $e, emit: xe }) {
|
|
42
|
+
const Te = k(() => import("./vue-ui-accordion-CVnA550V.js")), _e = k(() => import("./DataTable-D0VYDhfx.js")), Oe = k(() => import("./Legend-Bxlv67uY.js")), Se = k(() => import("./PackageVersion-5TR4ocqp.js")), Pe = k(() => import("./PenAndPaper-D6AqipIO.js")), Ne = k(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Le = k(() => import("./Title-B-2bV0SW.js")), Ie = k(() => import("./Tooltip-CoQnTnr-.js")), Ae = k(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_galaxy: Fe } = Ye(), f = we, A = h(() => !!f.dataset && f.dataset.length);
|
|
42
43
|
Re(() => {
|
|
43
44
|
X();
|
|
44
45
|
});
|
|
45
46
|
function X() {
|
|
46
|
-
|
|
47
|
+
qe(f.dataset) ? ge({
|
|
47
48
|
componentName: "VueUiGalaxy",
|
|
48
49
|
type: "dataset"
|
|
49
|
-
}) : f.dataset.forEach((t,
|
|
50
|
-
|
|
50
|
+
}) : f.dataset.forEach((t, a) => {
|
|
51
|
+
Je({
|
|
51
52
|
datasetObject: t,
|
|
52
53
|
requiredAttributes: ["name", "values"]
|
|
53
54
|
}).forEach((l) => {
|
|
54
|
-
|
|
55
|
+
ge({
|
|
55
56
|
componentName: "VueUiGalaxy",
|
|
56
57
|
type: "datasetSerieAttribute",
|
|
57
58
|
property: l,
|
|
58
|
-
index:
|
|
59
|
+
index: a
|
|
59
60
|
});
|
|
60
61
|
});
|
|
61
62
|
});
|
|
62
63
|
}
|
|
63
|
-
const P = n(
|
|
64
|
+
const P = n(fe()), N = n(null), Ee = n(null), D = n(!1), z = n(""), b = n(null), j = n(0), Y = n(0), q = n(0), J = n(0), e = h({
|
|
64
65
|
get: () => ee(),
|
|
65
66
|
set: (t) => t
|
|
66
|
-
}), { userOptionsVisible:
|
|
67
|
+
}), { userOptionsVisible: U, setUserOptionsVisibility: K, keepUserOptionState: Q } = ut({ config: e.value }), { svgRef: Z } = nt({ config: e.value.style.chart.title });
|
|
67
68
|
function ee() {
|
|
68
|
-
const t =
|
|
69
|
+
const t = Ce({
|
|
69
70
|
userConfig: f.config,
|
|
70
|
-
defaultConfig:
|
|
71
|
+
defaultConfig: Fe
|
|
71
72
|
});
|
|
72
73
|
return t.theme ? {
|
|
73
|
-
...
|
|
74
|
-
userConfig:
|
|
74
|
+
...Ce({
|
|
75
|
+
userConfig: Qe.vue_ui_galaxy[t.theme] || f.config,
|
|
75
76
|
defaultConfig: t
|
|
76
77
|
}),
|
|
77
|
-
customPalette:
|
|
78
|
+
customPalette: Ke[t.theme] || B
|
|
78
79
|
} : t;
|
|
79
80
|
}
|
|
80
|
-
|
|
81
|
-
e.value = ee(),
|
|
81
|
+
He(() => f.config, (t) => {
|
|
82
|
+
e.value = ee(), U.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;
|
|
82
83
|
}, { deep: !0 });
|
|
83
|
-
const { isPrinting: te, isImaging: le, generatePdf:
|
|
84
|
+
const { isPrinting: te, isImaging: le, generatePdf: ae, generateImage: oe } = rt({
|
|
84
85
|
elementId: `galaxy_${P.value}`,
|
|
85
86
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy",
|
|
86
87
|
options: e.value.userOptions.print
|
|
87
|
-
}), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
88
|
+
}), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Me = h(() => Ze(e.value.customPalette)), p = n({
|
|
88
89
|
dataLabels: {
|
|
89
90
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
90
91
|
},
|
|
91
92
|
showTable: e.value.table.show,
|
|
92
93
|
showTooltip: e.value.style.chart.tooltip.show
|
|
93
|
-
}),
|
|
94
|
+
}), L = n({
|
|
94
95
|
height: 180,
|
|
95
96
|
// or 250 if non fibo
|
|
96
97
|
width: 250
|
|
97
|
-
}), se =
|
|
98
|
-
function
|
|
99
|
-
y.value.includes(t.id) ? y.value = y.value.filter((
|
|
100
|
-
name:
|
|
101
|
-
color:
|
|
102
|
-
value:
|
|
98
|
+
}), se = xe, y = n([]);
|
|
99
|
+
function W(t) {
|
|
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
|
+
name: a.name,
|
|
102
|
+
color: a.color,
|
|
103
|
+
value: a.value
|
|
103
104
|
})));
|
|
104
105
|
}
|
|
105
|
-
const $ = h(() => f.dataset.map((t,
|
|
106
|
+
const $ = h(() => f.dataset.map((t, a) => ({
|
|
106
107
|
name: t.name,
|
|
107
|
-
color:
|
|
108
|
-
value: t.values ?
|
|
109
|
-
absoluteValues:
|
|
110
|
-
id:
|
|
111
|
-
seriesIndex:
|
|
112
|
-
})).sort((t,
|
|
113
|
-
function
|
|
108
|
+
color: et(t.color) || Me.value[a] || B[a] || B[a % B.length],
|
|
109
|
+
value: t.values ? be(t.values).reduce((l, s) => l + s, 0) : 0,
|
|
110
|
+
absoluteValues: be(t.values),
|
|
111
|
+
id: fe(),
|
|
112
|
+
seriesIndex: a
|
|
113
|
+
})).sort((t, a) => a.value - t.value));
|
|
114
|
+
function Ge() {
|
|
114
115
|
return $.value.map((t) => ({
|
|
115
116
|
name: t.name,
|
|
116
117
|
color: t.color,
|
|
117
118
|
value: t.value
|
|
118
119
|
}));
|
|
119
120
|
}
|
|
120
|
-
const m = h(() => $.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t,
|
|
121
|
+
const m = h(() => $.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Be = n(190), re = h(() => $.value.filter((t) => !y.value.includes(t.id))), I = h(() => {
|
|
121
122
|
const t = [];
|
|
122
|
-
for (let
|
|
123
|
-
const l = re.value[
|
|
124
|
-
let s = l.value / m.value *
|
|
125
|
-
|
|
123
|
+
for (let a = 0; a < re.value.length; a += 1) {
|
|
124
|
+
const l = re.value[a];
|
|
125
|
+
let s = l.value / m.value * Be.value;
|
|
126
|
+
a > 0 && t.length && (s += t[a - 1].points), t.push({
|
|
126
127
|
points: s,
|
|
127
128
|
...l,
|
|
128
|
-
seriesIndex:
|
|
129
|
+
seriesIndex: a,
|
|
129
130
|
proportion: l.value / m.value,
|
|
130
|
-
path:
|
|
131
|
+
path: tt({
|
|
131
132
|
points: s,
|
|
132
133
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
133
134
|
startY: 90 + e.value.style.chart.layout.arcs.offsetY
|
|
134
135
|
})
|
|
135
136
|
});
|
|
136
137
|
}
|
|
137
|
-
return t.filter((
|
|
138
|
+
return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
138
139
|
}), T = n(!1);
|
|
139
|
-
function
|
|
140
|
+
function ue(t) {
|
|
140
141
|
T.value = t, j.value += 1;
|
|
141
142
|
}
|
|
142
|
-
const
|
|
143
|
-
function De({ datapoint: t, _relativeIndex:
|
|
144
|
-
|
|
143
|
+
const R = n(null);
|
|
144
|
+
function De({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
|
|
145
|
+
R.value = {
|
|
145
146
|
datapoint: t,
|
|
146
147
|
seriesIndex: l,
|
|
147
148
|
series: $.value,
|
|
@@ -149,7 +150,7 @@ const it = ["id"], ct = {
|
|
|
149
150
|
}, D.value = s, b.value = t.id;
|
|
150
151
|
let u = "";
|
|
151
152
|
const g = e.value.style.chart.tooltip.customFormat;
|
|
152
|
-
|
|
153
|
+
ke(g) && st(() => g({
|
|
153
154
|
seriesIndex: l,
|
|
154
155
|
datapoint: t,
|
|
155
156
|
series: $.value,
|
|
@@ -159,7 +160,7 @@ const it = ["id"], ct = {
|
|
|
159
160
|
datapoint: t,
|
|
160
161
|
series: $.value,
|
|
161
162
|
config: e.value
|
|
162
|
-
}) : (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>${me(
|
|
163
164
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
164
165
|
t.value,
|
|
165
166
|
w({
|
|
@@ -179,12 +180,12 @@ const it = ["id"], ct = {
|
|
|
179
180
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
180
181
|
})}</b></div>`), z.value = `<div>${u}</div>`);
|
|
181
182
|
}
|
|
182
|
-
const
|
|
183
|
+
const ne = h(() => $.value.map((t, a) => ({
|
|
183
184
|
...t,
|
|
184
185
|
proportion: (t.value || 0) / f.dataset.map((l) => (l.values || []).reduce((s, u) => s + u, 0)).reduce((l, s) => l + s, 0),
|
|
185
186
|
opacity: y.value.includes(t.id) ? 0.5 : 1,
|
|
186
187
|
shape: t.shape || "circle",
|
|
187
|
-
segregate: () =>
|
|
188
|
+
segregate: () => W(t),
|
|
188
189
|
isSegregated: y.value.includes(t.id)
|
|
189
190
|
}))), ze = h(() => ({
|
|
190
191
|
cy: "galaxy-div-legend",
|
|
@@ -194,26 +195,26 @@ const it = ["id"], ct = {
|
|
|
194
195
|
paddingBottom: 12,
|
|
195
196
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
196
197
|
})), C = h(() => {
|
|
197
|
-
const t =
|
|
198
|
+
const t = I.value.map((l) => ({
|
|
198
199
|
name: l.name,
|
|
199
200
|
color: l.color
|
|
200
|
-
})),
|
|
201
|
-
return { head: t, body:
|
|
201
|
+
})), a = I.value.map((l) => l.value);
|
|
202
|
+
return { head: t, body: a };
|
|
202
203
|
});
|
|
203
|
-
function
|
|
204
|
-
|
|
205
|
-
const
|
|
204
|
+
function ie(t = null) {
|
|
205
|
+
je(() => {
|
|
206
|
+
const a = C.value.head.map((u, g) => [[
|
|
206
207
|
u.name
|
|
207
|
-
], [C.value.body[g]], [isNaN(C.value.body[g] / m.value) ? "-" : C.value.body[g] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(
|
|
208
|
+
], [C.value.body[g]], [isNaN(C.value.body[g] / m.value) ? "-" : C.value.body[g] / m.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(a), s = at(l);
|
|
208
209
|
t ? t(s) : ot({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
209
210
|
});
|
|
210
211
|
}
|
|
211
|
-
const
|
|
212
|
+
const F = h(() => {
|
|
212
213
|
const t = [
|
|
213
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>',
|
|
214
215
|
w({ 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 }),
|
|
215
216
|
"100%"
|
|
216
|
-
],
|
|
217
|
+
], a = C.value.head.map((u, g) => {
|
|
217
218
|
const We = w({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
218
219
|
return [
|
|
219
220
|
{
|
|
@@ -247,48 +248,55 @@ const it = ["id"], ct = {
|
|
|
247
248
|
e.value.table.columnNames.percentage
|
|
248
249
|
],
|
|
249
250
|
head: t,
|
|
250
|
-
body:
|
|
251
|
+
body: a,
|
|
251
252
|
config: l
|
|
252
253
|
};
|
|
253
254
|
});
|
|
254
|
-
function
|
|
255
|
+
function ce() {
|
|
255
256
|
p.value.showTable = !p.value.showTable;
|
|
256
257
|
}
|
|
257
|
-
function
|
|
258
|
+
function ve() {
|
|
258
259
|
p.value.showTooltip = !p.value.showTooltip;
|
|
259
260
|
}
|
|
260
|
-
const
|
|
261
|
+
const E = n(!1);
|
|
261
262
|
function H() {
|
|
262
|
-
|
|
263
|
+
E.value = !E.value;
|
|
264
|
+
}
|
|
265
|
+
async function Ue({ scale: t = 2 } = {}) {
|
|
266
|
+
if (!N.value) return;
|
|
267
|
+
const { imageUri: a, base64: l } = await it({ domElement: N.value, base64: !0, img: !0, scale: t });
|
|
268
|
+
return { imageUri: a, base64: l };
|
|
263
269
|
}
|
|
264
|
-
return
|
|
265
|
-
getData:
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
return $e({
|
|
271
|
+
getData: Ge,
|
|
272
|
+
getImage: Ue,
|
|
273
|
+
generatePdf: ae,
|
|
274
|
+
generateCsv: ie,
|
|
275
|
+
generateImage: oe,
|
|
276
|
+
toggleTable: ce,
|
|
277
|
+
toggleTooltip: ve,
|
|
278
|
+
toggleAnnotator: H,
|
|
279
|
+
toggleFullscreen: ue
|
|
280
|
+
}), (t, a) => (r(), i("div", {
|
|
273
281
|
ref_key: "galaxyChart",
|
|
274
|
-
ref:
|
|
275
|
-
class:
|
|
282
|
+
ref: N,
|
|
283
|
+
class: M(`vue-ui-galaxy ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
276
284
|
style: V(`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}`),
|
|
277
285
|
id: `galaxy_${P.value}`,
|
|
278
|
-
onMouseenter:
|
|
279
|
-
onMouseleave:
|
|
286
|
+
onMouseenter: a[3] || (a[3] = () => o(K)(!0)),
|
|
287
|
+
onMouseleave: a[4] || (a[4] = () => o(K)(!1))
|
|
280
288
|
}, [
|
|
281
|
-
e.value.userOptions.buttons.annotator ? (r(), x(
|
|
289
|
+
e.value.userOptions.buttons.annotator ? (r(), x(o(Pe), {
|
|
282
290
|
key: 0,
|
|
283
|
-
svgRef:
|
|
291
|
+
svgRef: o(Z),
|
|
284
292
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
285
293
|
color: e.value.style.chart.color,
|
|
286
|
-
active:
|
|
294
|
+
active: E.value,
|
|
287
295
|
onClose: H
|
|
288
296
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
289
|
-
Ve.value ? (r(), i("div",
|
|
290
|
-
e.value.style.chart.title.text ? (r(), i("div",
|
|
291
|
-
(r(), x(
|
|
297
|
+
Ve.value ? (r(), i("div", dt, null, 512)) : c("", !0),
|
|
298
|
+
e.value.style.chart.title.text ? (r(), i("div", ht, [
|
|
299
|
+
(r(), x(o(Le), {
|
|
292
300
|
key: `title_${Y.value}`,
|
|
293
301
|
config: {
|
|
294
302
|
title: {
|
|
@@ -302,14 +310,14 @@ const it = ["id"], ct = {
|
|
|
302
310
|
}
|
|
303
311
|
}, null, 8, ["config"]))
|
|
304
312
|
])) : c("", !0),
|
|
305
|
-
e.value.userOptions.show &&
|
|
313
|
+
e.value.userOptions.show && A.value && (o(Q) || o(U)) ? (r(), x(o(Ae), {
|
|
306
314
|
ref_key: "details",
|
|
307
|
-
ref:
|
|
315
|
+
ref: Ee,
|
|
308
316
|
key: `user_option_${j.value}`,
|
|
309
317
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
310
318
|
color: e.value.style.chart.color,
|
|
311
|
-
isPrinting:
|
|
312
|
-
isImaging:
|
|
319
|
+
isPrinting: o(te),
|
|
320
|
+
isImaging: o(le),
|
|
313
321
|
uid: P.value,
|
|
314
322
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
315
323
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -320,23 +328,23 @@ const it = ["id"], ct = {
|
|
|
320
328
|
isTooltip: p.value.showTooltip,
|
|
321
329
|
isFullscreen: T.value,
|
|
322
330
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
323
|
-
chartElement:
|
|
331
|
+
chartElement: N.value,
|
|
324
332
|
position: e.value.userOptions.position,
|
|
325
333
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
326
|
-
isAnnotation:
|
|
334
|
+
isAnnotation: E.value,
|
|
327
335
|
callbacks: e.value.userOptions.callbacks,
|
|
328
336
|
printScale: e.value.userOptions.print.scale,
|
|
329
|
-
onToggleFullscreen:
|
|
330
|
-
onGeneratePdf:
|
|
331
|
-
onGenerateCsv:
|
|
332
|
-
onGenerateImage:
|
|
333
|
-
onToggleTable:
|
|
334
|
-
onToggleTooltip:
|
|
337
|
+
onToggleFullscreen: ue,
|
|
338
|
+
onGeneratePdf: o(ae),
|
|
339
|
+
onGenerateCsv: ie,
|
|
340
|
+
onGenerateImage: o(oe),
|
|
341
|
+
onToggleTable: ce,
|
|
342
|
+
onToggleTooltip: ve,
|
|
335
343
|
onToggleAnnotator: H,
|
|
336
344
|
style: V({
|
|
337
|
-
visibility:
|
|
345
|
+
visibility: o(Q) ? o(U) ? "visible" : "hidden" : "visible"
|
|
338
346
|
})
|
|
339
|
-
},
|
|
347
|
+
}, Xe({ _: 2 }, [
|
|
340
348
|
t.$slots.menuIcon ? {
|
|
341
349
|
name: "menuIcon",
|
|
342
350
|
fn: d(({ isOpen: l, color: s }) => [
|
|
@@ -394,28 +402,28 @@ const it = ["id"], ct = {
|
|
|
394
402
|
key: "7"
|
|
395
403
|
} : void 0
|
|
396
404
|
]), 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),
|
|
397
|
-
|
|
405
|
+
A.value ? (r(), i("svg", {
|
|
398
406
|
key: 4,
|
|
399
407
|
ref_key: "svgRef",
|
|
400
408
|
ref: Z,
|
|
401
|
-
xmlns:
|
|
402
|
-
class:
|
|
403
|
-
viewBox: `0 0 ${
|
|
409
|
+
xmlns: o(lt),
|
|
410
|
+
class: M({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
411
|
+
viewBox: `0 0 ${L.value.width} ${L.value.height}`,
|
|
404
412
|
style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
405
413
|
}, [
|
|
406
|
-
|
|
414
|
+
de(o(Se)),
|
|
407
415
|
t.$slots["chart-background"] ? (r(), i("foreignObject", {
|
|
408
416
|
key: 0,
|
|
409
417
|
x: 0,
|
|
410
418
|
y: 0,
|
|
411
|
-
width:
|
|
412
|
-
height:
|
|
419
|
+
width: L.value.width,
|
|
420
|
+
height: L.value.height,
|
|
413
421
|
style: {
|
|
414
422
|
pointerEvents: "none"
|
|
415
423
|
}
|
|
416
424
|
}, [
|
|
417
425
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
418
|
-
], 8,
|
|
426
|
+
], 8, yt)) : c("", !0),
|
|
419
427
|
S("defs", null, [
|
|
420
428
|
S("filter", {
|
|
421
429
|
id: `blur_${P.value}`,
|
|
@@ -427,10 +435,10 @@ const it = ["id"], ct = {
|
|
|
427
435
|
S("feGaussianBlur", {
|
|
428
436
|
in: "SourceGraphic",
|
|
429
437
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
430
|
-
}, null, 8,
|
|
431
|
-
], 8,
|
|
438
|
+
}, null, 8, ft)
|
|
439
|
+
], 8, gt)
|
|
432
440
|
]),
|
|
433
|
-
(r(!0), i(
|
|
441
|
+
(r(!0), i(he, null, pe(I.value, (l) => (r(), i("g", null, [
|
|
434
442
|
l.value ? (r(), i("path", {
|
|
435
443
|
key: 0,
|
|
436
444
|
d: l.path,
|
|
@@ -438,7 +446,7 @@ const it = ["id"], ct = {
|
|
|
438
446
|
stroke: e.value.style.chart.backgroundColor,
|
|
439
447
|
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (b.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
440
448
|
"stroke-linecap": "round"
|
|
441
|
-
}, null, 8,
|
|
449
|
+
}, null, 8, bt)) : c("", !0),
|
|
442
450
|
l.value ? (r(), i("path", {
|
|
443
451
|
key: 1,
|
|
444
452
|
d: l.path,
|
|
@@ -446,8 +454,8 @@ const it = ["id"], ct = {
|
|
|
446
454
|
stroke: l.color,
|
|
447
455
|
"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),
|
|
448
456
|
"stroke-linecap": "round",
|
|
449
|
-
class:
|
|
450
|
-
}, null, 10,
|
|
457
|
+
class: M(`${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
458
|
+
}, null, 10, mt)) : c("", !0),
|
|
451
459
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (r(), i("g", {
|
|
452
460
|
key: 2,
|
|
453
461
|
filter: `url(#blur_${P.value})`
|
|
@@ -458,11 +466,11 @@ const it = ["id"], ct = {
|
|
|
458
466
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
459
467
|
"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),
|
|
460
468
|
"stroke-linecap": "round",
|
|
461
|
-
class:
|
|
462
|
-
}, null, 10,
|
|
463
|
-
], 8,
|
|
469
|
+
class: M(`vue-ui-galaxy-gradient ${b.value && b.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
470
|
+
}, null, 10, Ct)
|
|
471
|
+
], 8, kt)) : c("", !0)
|
|
464
472
|
]))), 256)),
|
|
465
|
-
(r(!0), i(
|
|
473
|
+
(r(!0), i(he, null, pe(I.value, (l, s) => (r(), i("g", null, [
|
|
466
474
|
l.value ? (r(), i("path", {
|
|
467
475
|
key: 0,
|
|
468
476
|
d: l.path,
|
|
@@ -475,18 +483,18 @@ const it = ["id"], ct = {
|
|
|
475
483
|
seriesIndex: l.seriesIndex,
|
|
476
484
|
show: !0
|
|
477
485
|
}),
|
|
478
|
-
onMouseleave:
|
|
486
|
+
onMouseleave: a[0] || (a[0] = (u) => {
|
|
479
487
|
D.value = !1, b.value = null;
|
|
480
488
|
}),
|
|
481
489
|
onClick: (u) => se("selectDatapoint", l)
|
|
482
|
-
}, null, 40,
|
|
490
|
+
}, null, 40, wt)) : c("", !0)
|
|
483
491
|
]))), 256)),
|
|
484
|
-
v(t.$slots, "svg", { svg:
|
|
485
|
-
], 14,
|
|
486
|
-
t.$slots.watermark ? (r(), i("div",
|
|
487
|
-
v(t.$slots, "watermark", _(O({ isPrinting:
|
|
492
|
+
v(t.$slots, "svg", { svg: L.value }, void 0, !0)
|
|
493
|
+
], 14, pt)) : c("", !0),
|
|
494
|
+
t.$slots.watermark ? (r(), i("div", $t, [
|
|
495
|
+
v(t.$slots, "watermark", _(O({ isPrinting: o(te) || o(le) })), void 0, !0)
|
|
488
496
|
])) : c("", !0),
|
|
489
|
-
|
|
497
|
+
A.value ? c("", !0) : (r(), x(o(Ne), {
|
|
490
498
|
key: 6,
|
|
491
499
|
config: {
|
|
492
500
|
type: "galaxy",
|
|
@@ -498,21 +506,21 @@ const it = ["id"], ct = {
|
|
|
498
506
|
}
|
|
499
507
|
}
|
|
500
508
|
}, null, 8, ["config"])),
|
|
501
|
-
e.value.style.chart.legend.show ? (r(), x(
|
|
509
|
+
e.value.style.chart.legend.show ? (r(), x(o(Oe), {
|
|
502
510
|
key: `legend_${J.value}`,
|
|
503
|
-
legendSet:
|
|
511
|
+
legendSet: ne.value,
|
|
504
512
|
config: ze.value,
|
|
505
|
-
onClickMarker:
|
|
513
|
+
onClickMarker: a[1] || (a[1] = ({ legend: l }) => W(l))
|
|
506
514
|
}, {
|
|
507
515
|
item: d(({ legend: l, index: s }) => [
|
|
508
516
|
S("div", {
|
|
509
|
-
onClick: (u) =>
|
|
517
|
+
onClick: (u) => W(l),
|
|
510
518
|
style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
|
|
511
519
|
}, [
|
|
512
|
-
|
|
520
|
+
ye(G(l.name) + ": " + G(o(me)(
|
|
513
521
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
514
522
|
l.value,
|
|
515
|
-
|
|
523
|
+
o(w)({
|
|
516
524
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
517
525
|
v: l.value,
|
|
518
526
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -520,20 +528,20 @@ const it = ["id"], ct = {
|
|
|
520
528
|
}),
|
|
521
529
|
{ datapoint: l, seriesIndex: s }
|
|
522
530
|
)) + " ", 1),
|
|
523
|
-
y.value.includes(l.id) ? (r(), i("span",
|
|
531
|
+
y.value.includes(l.id) ? (r(), i("span", _t, " ( - % ) ")) : (r(), i("span", Tt, " (" + G(isNaN(l.value / m.value) ? "-" : o(w)({
|
|
524
532
|
v: l.value / m.value * 100,
|
|
525
533
|
s: "%",
|
|
526
534
|
r: e.value.style.chart.legend.roundingPercentage
|
|
527
535
|
})) + ") ", 1))
|
|
528
|
-
], 12,
|
|
536
|
+
], 12, xt)
|
|
529
537
|
]),
|
|
530
538
|
_: 1
|
|
531
539
|
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
532
|
-
v(t.$slots, "legend", { legend:
|
|
533
|
-
t.$slots.source ? (r(), i("div",
|
|
540
|
+
v(t.$slots, "legend", { legend: ne.value }, void 0, !0),
|
|
541
|
+
t.$slots.source ? (r(), i("div", Ot, [
|
|
534
542
|
v(t.$slots, "source", {}, void 0, !0)
|
|
535
543
|
], 512)) : c("", !0),
|
|
536
|
-
|
|
544
|
+
de(o(Ie), {
|
|
537
545
|
show: p.value.showTooltip && D.value,
|
|
538
546
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
539
547
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -544,20 +552,20 @@ const it = ["id"], ct = {
|
|
|
544
552
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
545
553
|
position: e.value.style.chart.tooltip.position,
|
|
546
554
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
547
|
-
parent:
|
|
555
|
+
parent: N.value,
|
|
548
556
|
content: z.value,
|
|
549
557
|
isFullscreen: T.value,
|
|
550
|
-
isCustom:
|
|
558
|
+
isCustom: o(ke)(e.value.style.chart.tooltip.customFormat)
|
|
551
559
|
}, {
|
|
552
560
|
"tooltip-before": d(() => [
|
|
553
|
-
v(t.$slots, "tooltip-before", _(O({ ...
|
|
561
|
+
v(t.$slots, "tooltip-before", _(O({ ...R.value })), void 0, !0)
|
|
554
562
|
]),
|
|
555
563
|
"tooltip-after": d(() => [
|
|
556
|
-
v(t.$slots, "tooltip-after", _(O({ ...
|
|
564
|
+
v(t.$slots, "tooltip-after", _(O({ ...R.value })), void 0, !0)
|
|
557
565
|
]),
|
|
558
566
|
_: 3
|
|
559
567
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
560
|
-
|
|
568
|
+
A.value ? (r(), x(o(Te), {
|
|
561
569
|
key: 9,
|
|
562
570
|
hideDetails: "",
|
|
563
571
|
config: {
|
|
@@ -574,32 +582,32 @@ const it = ["id"], ct = {
|
|
|
574
582
|
}
|
|
575
583
|
}, {
|
|
576
584
|
content: d(() => [
|
|
577
|
-
(r(), x(
|
|
585
|
+
(r(), x(o(_e), {
|
|
578
586
|
key: `table_${q.value}`,
|
|
579
|
-
colNames:
|
|
580
|
-
head:
|
|
581
|
-
body:
|
|
582
|
-
config:
|
|
587
|
+
colNames: F.value.colNames,
|
|
588
|
+
head: F.value.head,
|
|
589
|
+
body: F.value.body,
|
|
590
|
+
config: F.value.config,
|
|
583
591
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
584
|
-
onClose:
|
|
592
|
+
onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
|
|
585
593
|
}, {
|
|
586
594
|
th: d(({ th: l }) => [
|
|
587
595
|
S("div", {
|
|
588
596
|
innerHTML: l,
|
|
589
597
|
style: { display: "flex", "align-items": "center" }
|
|
590
|
-
}, null, 8,
|
|
598
|
+
}, null, 8, St)
|
|
591
599
|
]),
|
|
592
600
|
td: d(({ td: l }) => [
|
|
593
|
-
|
|
601
|
+
ye(G(l.name || l), 1)
|
|
594
602
|
]),
|
|
595
603
|
_: 1
|
|
596
604
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
597
605
|
]),
|
|
598
606
|
_: 1
|
|
599
607
|
}, 8, ["config"])) : c("", !0)
|
|
600
|
-
], 46,
|
|
608
|
+
], 46, vt));
|
|
601
609
|
}
|
|
602
|
-
},
|
|
610
|
+
}, Gt = /* @__PURE__ */ ct(Pt, [["__scopeId", "data-v-fc63f38c"]]);
|
|
603
611
|
export {
|
|
604
|
-
|
|
612
|
+
Gt as default
|
|
605
613
|
};
|