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,23 +1,24 @@
|
|
|
1
|
-
import { defineAsyncComponent as _, computed as c, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as De } from "./usePrinter-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
1
|
+
import { defineAsyncComponent as _, computed as c, onMounted as Oe, ref as y, watch as Te, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as F, normalizeClass as oe, createBlock as m, createCommentVNode as i, renderSlot as v, createVNode as E, createSlots as Ie, withCtx as f, normalizeProps as S, guardReactiveProps as V, createElementVNode as s, Fragment as le, renderList as ae, toDisplayString as O, createTextVNode as se, nextTick as Le } from "vue";
|
|
2
|
+
import { u as Fe, o as Se, e as re, c as Ve, a as je, R as Re, X as Ue, s as C, w as Be, S as Ee, i as ne, f as j, q as We, r as ze } from "./index-pPGk-uhD.js";
|
|
3
|
+
import { u as ue } from "./useNestedProp-DjACxgdZ.js";
|
|
4
|
+
import { u as De } from "./usePrinter-DDHcrl0A.js";
|
|
5
|
+
import { u as Ge } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { u as He } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
+
import Xe from "./Legend-Bxlv67uY.js";
|
|
8
|
+
import Ke from "./Title-B-2bV0SW.js";
|
|
9
|
+
import qe from "./img-Y_hYz-ZC.js";
|
|
10
|
+
import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const Je = ["id"], Qe = {
|
|
11
12
|
key: 2,
|
|
12
13
|
style: "width:100%;background:transparent"
|
|
13
|
-
},
|
|
14
|
+
}, Ze = ["xmlns", "viewBox"], et = ["width", "height"], tt = ["id"], ot = ["stop-color"], lt = ["stop-color"], at = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], st = ["d", "stroke", "stroke-width"], rt = ["stroke"], nt = ["fill"], ut = ["stroke"], it = ["fill"], dt = ["stroke"], ct = ["fill"], vt = ["stroke"], yt = ["fill"], ht = ["stroke"], ft = ["fill"], pt = ["d", "stroke", "stroke-width", "fill"], mt = ["x1", "y1", "stroke"], gt = ["cx", "cy", "fill", "stroke"], kt = ["fill", "stroke"], bt = ["y", "fill", "font-weight"], Ct = ["y", "fill"], wt = {
|
|
14
15
|
key: 5,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
17
|
+
}, xt = ["onClick"], _t = { style: { "font-weight": "bold" } }, $t = {
|
|
17
18
|
key: 8,
|
|
18
19
|
ref: "source",
|
|
19
20
|
dir: "auto"
|
|
20
|
-
},
|
|
21
|
+
}, Mt = ["innerHTML"], Pt = {
|
|
21
22
|
__name: "vue-ui-mood-radar",
|
|
22
23
|
props: {
|
|
23
24
|
config: {
|
|
@@ -33,60 +34,60 @@ const qe = ["id"], Ye = {
|
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
|
-
setup(
|
|
37
|
-
const
|
|
38
|
-
|
|
37
|
+
setup(ie, { expose: de }) {
|
|
38
|
+
const ce = _(() => import("./vue-ui-accordion-CVnA550V.js")), $ = _(() => import("./BaseIcon-naqtCxVi.js")), ve = _(() => import("./DataTable-D0VYDhfx.js")), ye = _(() => import("./PackageVersion-5TR4ocqp.js")), he = _(() => import("./PenAndPaper-D6AqipIO.js")), fe = _(() => import("./vue-ui-skeleton-DJPjyNYn.js")), pe = _(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_mood_radar: me } = Fe(), d = ie, M = c(() => !!d.dataset && Object.keys(d.dataset).length);
|
|
39
|
+
Oe(() => {
|
|
39
40
|
W();
|
|
40
41
|
});
|
|
41
42
|
function W() {
|
|
42
|
-
|
|
43
|
+
Se(d.dataset) && re({
|
|
43
44
|
componentName: "VueUiMoodRadar",
|
|
44
45
|
type: "dataset"
|
|
45
46
|
});
|
|
46
47
|
}
|
|
47
|
-
const P = y(
|
|
48
|
+
const P = y(Ve()), T = y(null), ge = y(null), n = y(null), ke = y(null), be = y(0), Ce = y(0), z = y(0), e = c({
|
|
48
49
|
get: () => X(),
|
|
49
50
|
set: (o) => o
|
|
50
|
-
}), { userOptionsVisible:
|
|
51
|
+
}), { userOptionsVisible: R, setUserOptionsVisibility: D, keepUserOptionState: G } = Ge({ config: e.value }), { svgRef: H } = He({ config: e.value.style.chart.title });
|
|
51
52
|
function X() {
|
|
52
|
-
const o =
|
|
53
|
+
const o = ue({
|
|
53
54
|
userConfig: d.config,
|
|
54
|
-
defaultConfig:
|
|
55
|
+
defaultConfig: me
|
|
55
56
|
});
|
|
56
57
|
return o.theme ? {
|
|
57
|
-
...
|
|
58
|
-
userConfig:
|
|
58
|
+
...ue({
|
|
59
|
+
userConfig: je.vue_ui_mood_radar[o.theme] || d.config,
|
|
59
60
|
defaultConfig: o
|
|
60
61
|
})
|
|
61
62
|
} : o;
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
e.value = X(),
|
|
64
|
+
Te(() => d.config, (o) => {
|
|
65
|
+
e.value = X(), R.value = !e.value.userOptions.showOnChartHover, W(), be.value += 1, Ce.value += 1, z.value += 1, N.value.showTable = e.value.table.show;
|
|
65
66
|
}, { deep: !0 });
|
|
66
67
|
const { isPrinting: K, isImaging: q, generatePdf: Y, generateImage: J } = De({
|
|
67
68
|
elementId: P.value,
|
|
68
69
|
fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
|
|
69
70
|
options: e.value.userOptions.print
|
|
70
|
-
}),
|
|
71
|
+
}), we = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), N = y({
|
|
71
72
|
showTable: e.value.table.show
|
|
72
73
|
}), p = c(() => ({
|
|
73
74
|
height: 256,
|
|
74
75
|
width: 256
|
|
75
|
-
})),
|
|
76
|
+
})), U = c(() => Re({
|
|
76
77
|
plot: { x: 128, y: p.value.height / 2 },
|
|
77
78
|
radius: 90,
|
|
78
79
|
sides: 5,
|
|
79
80
|
rotation: 11
|
|
80
81
|
}));
|
|
81
|
-
function
|
|
82
|
+
function xe({ centerX: o, centerY: l, apexX: t, apexY: u, proportion: x, key: k, value: Ae }) {
|
|
82
83
|
return {
|
|
83
84
|
x: o + (t - o) * x,
|
|
84
85
|
y: l + (u - l) * x,
|
|
85
86
|
key: k,
|
|
86
|
-
value:
|
|
87
|
+
value: Ae
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
|
-
const
|
|
90
|
+
const _e = c(() => Math.max(...Object.values(d.dataset).map((o) => isNaN(o) ? 0 : o))), w = c(() => Object.values(d.dataset).reduce((o, l) => (isNaN(o) ? 0 : o) + (isNaN(l) ? 0 : l), 0)), g = c(() => Object.keys(d.dataset).map((o, l) => {
|
|
90
91
|
const t = typeof d.dataset[o] != "number" || isNaN(d.dataset[o]) ? 0 : d.dataset[o];
|
|
91
92
|
return {
|
|
92
93
|
index: l,
|
|
@@ -96,18 +97,18 @@ const qe = ["id"], Ye = {
|
|
|
96
97
|
color: e.value.style.chart.layout.smileys.colors[o]
|
|
97
98
|
};
|
|
98
99
|
}).sort((o, l) => l.key - o.key)), Q = c(() => M.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
|
|
99
|
-
[null, void 0].includes(d.dataset[o]) &&
|
|
100
|
+
[null, void 0].includes(d.dataset[o]) && re({
|
|
100
101
|
componentName: "VueUiMoodRadar",
|
|
101
102
|
type: "datasetAttribute",
|
|
102
103
|
property: o
|
|
103
104
|
});
|
|
104
|
-
}),
|
|
105
|
-
const t =
|
|
105
|
+
}), U.value.coordinates.map((o, l) => {
|
|
106
|
+
const t = xe({
|
|
106
107
|
centerX: p.value.width / 2,
|
|
107
108
|
centerY: p.value.height / 2,
|
|
108
109
|
apexX: o.x,
|
|
109
110
|
apexY: o.y,
|
|
110
|
-
proportion: g.value[l].value /
|
|
111
|
+
proportion: g.value[l].value / _e.value,
|
|
111
112
|
key: g.value[l].key,
|
|
112
113
|
value: g.value[l].value
|
|
113
114
|
});
|
|
@@ -116,7 +117,7 @@ const qe = ["id"], Ye = {
|
|
|
116
117
|
plots: t,
|
|
117
118
|
key: g.value[l].key
|
|
118
119
|
};
|
|
119
|
-
})) : []),
|
|
120
|
+
})) : []), $e = c(() => ({
|
|
120
121
|
cy: "mood-radar-legend",
|
|
121
122
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
122
123
|
color: e.value.style.chart.legend.color,
|
|
@@ -124,7 +125,7 @@ const qe = ["id"], Ye = {
|
|
|
124
125
|
paddingBottom: 12,
|
|
125
126
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
126
127
|
}));
|
|
127
|
-
function
|
|
128
|
+
function Me(o) {
|
|
128
129
|
o === n.value ? n.value = null : n.value = o;
|
|
129
130
|
}
|
|
130
131
|
const b = c(() => {
|
|
@@ -142,7 +143,7 @@ const qe = ["id"], Ye = {
|
|
|
142
143
|
o ? o(u) : ze({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
|
|
143
144
|
});
|
|
144
145
|
}
|
|
145
|
-
const
|
|
146
|
+
const I = c(() => {
|
|
146
147
|
const o = [
|
|
147
148
|
' <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>',
|
|
148
149
|
Number(w.value.toFixed(e.value.table.td.roundingValue)).toLocaleString(),
|
|
@@ -178,37 +179,44 @@ const qe = ["id"], Ye = {
|
|
|
178
179
|
colNames: u
|
|
179
180
|
};
|
|
180
181
|
});
|
|
181
|
-
function
|
|
182
|
+
function Pe() {
|
|
182
183
|
return g.value;
|
|
183
184
|
}
|
|
184
185
|
function ee() {
|
|
185
186
|
N.value.showTable = !N.value.showTable;
|
|
186
187
|
}
|
|
187
188
|
const A = y(!1);
|
|
188
|
-
function
|
|
189
|
+
function te(o) {
|
|
189
190
|
A.value = o;
|
|
190
191
|
}
|
|
191
192
|
const L = y(!1);
|
|
192
193
|
function B() {
|
|
193
194
|
L.value = !L.value;
|
|
194
195
|
}
|
|
195
|
-
|
|
196
|
-
|
|
196
|
+
async function Ne({ scale: o = 2 } = {}) {
|
|
197
|
+
if (!T.value) return;
|
|
198
|
+
const { imageUri: l, base64: t } = await qe({ domElement: T.value, base64: !0, img: !0, scale: o });
|
|
199
|
+
return { imageUri: l, base64: t };
|
|
200
|
+
}
|
|
201
|
+
return de({
|
|
202
|
+
getData: Pe,
|
|
203
|
+
getImage: Ne,
|
|
197
204
|
generatePdf: Y,
|
|
198
205
|
generateCsv: Z,
|
|
199
206
|
generateImage: J,
|
|
200
207
|
toggleTable: ee,
|
|
201
|
-
toggleAnnotator: B
|
|
208
|
+
toggleAnnotator: B,
|
|
209
|
+
toggleFullscreen: te
|
|
202
210
|
}), (o, l) => (r(), h("div", {
|
|
203
|
-
class:
|
|
211
|
+
class: oe(`vue-ui-mood-radar ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
204
212
|
ref_key: "moodRadarChart",
|
|
205
|
-
ref:
|
|
213
|
+
ref: T,
|
|
206
214
|
id: `${P.value}`,
|
|
207
|
-
style:
|
|
208
|
-
onMouseenter: l[11] || (l[11] = () => a(
|
|
209
|
-
onMouseleave: l[12] || (l[12] = () => a(
|
|
215
|
+
style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
216
|
+
onMouseenter: l[11] || (l[11] = () => a(D)(!0)),
|
|
217
|
+
onMouseleave: l[12] || (l[12] = () => a(D)(!1))
|
|
210
218
|
}, [
|
|
211
|
-
e.value.userOptions.buttons.annotator ? (r(), m(a(
|
|
219
|
+
e.value.userOptions.buttons.annotator ? (r(), m(a(he), {
|
|
212
220
|
key: 0,
|
|
213
221
|
svgRef: a(H),
|
|
214
222
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -216,15 +224,15 @@ const qe = ["id"], Ye = {
|
|
|
216
224
|
active: L.value,
|
|
217
225
|
onClose: B
|
|
218
226
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
|
|
219
|
-
|
|
227
|
+
we.value ? (r(), h("div", {
|
|
220
228
|
key: 1,
|
|
221
229
|
ref_key: "noTitle",
|
|
222
|
-
ref:
|
|
230
|
+
ref: ke,
|
|
223
231
|
class: "vue-data-ui-no-title-space",
|
|
224
232
|
style: "height:36px; width: 100%;background:transparent"
|
|
225
233
|
}, null, 512)) : i("", !0),
|
|
226
|
-
e.value.style.chart.title.text ? (r(), h("div",
|
|
227
|
-
|
|
234
|
+
e.value.style.chart.title.text ? (r(), h("div", Qe, [
|
|
235
|
+
E(Ke, {
|
|
228
236
|
config: {
|
|
229
237
|
title: {
|
|
230
238
|
cy: "mood-radar-title",
|
|
@@ -237,10 +245,10 @@ const qe = ["id"], Ye = {
|
|
|
237
245
|
}
|
|
238
246
|
}, null, 8, ["config"])
|
|
239
247
|
])) : i("", !0),
|
|
240
|
-
e.value.userOptions.show && M.value && (a(G) || a(
|
|
248
|
+
e.value.userOptions.show && M.value && (a(G) || a(R)) ? (r(), m(a(pe), {
|
|
241
249
|
key: 3,
|
|
242
250
|
ref_key: "details",
|
|
243
|
-
ref:
|
|
251
|
+
ref: ge,
|
|
244
252
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
245
253
|
color: e.value.style.chart.color,
|
|
246
254
|
isPrinting: a(K),
|
|
@@ -253,26 +261,26 @@ const qe = ["id"], Ye = {
|
|
|
253
261
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
254
262
|
isFullscreen: A.value,
|
|
255
263
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
256
|
-
chartElement:
|
|
264
|
+
chartElement: T.value,
|
|
257
265
|
position: e.value.userOptions.position,
|
|
258
266
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
259
267
|
isAnnotation: L.value,
|
|
260
268
|
callbacks: e.value.userOptions.callbacks,
|
|
261
269
|
printScale: e.value.userOptions.print.scale,
|
|
262
|
-
onToggleFullscreen:
|
|
270
|
+
onToggleFullscreen: te,
|
|
263
271
|
onGeneratePdf: a(Y),
|
|
264
272
|
onGenerateCsv: Z,
|
|
265
273
|
onGenerateImage: a(J),
|
|
266
274
|
onToggleTable: ee,
|
|
267
275
|
onToggleAnnotator: B,
|
|
268
|
-
style:
|
|
269
|
-
visibility: a(G) ? a(
|
|
276
|
+
style: F({
|
|
277
|
+
visibility: a(G) ? a(R) ? "visible" : "hidden" : "visible"
|
|
270
278
|
})
|
|
271
|
-
},
|
|
279
|
+
}, Ie({ _: 2 }, [
|
|
272
280
|
o.$slots.menuIcon ? {
|
|
273
281
|
name: "menuIcon",
|
|
274
282
|
fn: f(({ isOpen: t, color: u }) => [
|
|
275
|
-
v(o.$slots, "menuIcon",
|
|
283
|
+
v(o.$slots, "menuIcon", S(V({ isOpen: t, color: u })), void 0, !0)
|
|
276
284
|
]),
|
|
277
285
|
key: "0"
|
|
278
286
|
} : void 0,
|
|
@@ -307,14 +315,14 @@ const qe = ["id"], Ye = {
|
|
|
307
315
|
o.$slots.optionFullscreen ? {
|
|
308
316
|
name: "optionFullscreen",
|
|
309
317
|
fn: f(({ toggleFullscreen: t, isFullscreen: u }) => [
|
|
310
|
-
v(o.$slots, "optionFullscreen",
|
|
318
|
+
v(o.$slots, "optionFullscreen", S(V({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
|
|
311
319
|
]),
|
|
312
320
|
key: "5"
|
|
313
321
|
} : void 0,
|
|
314
322
|
o.$slots.optionAnnotator ? {
|
|
315
323
|
name: "optionAnnotator",
|
|
316
324
|
fn: f(({ toggleAnnotator: t, isAnnotator: u }) => [
|
|
317
|
-
v(o.$slots, "optionAnnotator",
|
|
325
|
+
v(o.$slots, "optionAnnotator", S(V({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
|
|
318
326
|
]),
|
|
319
327
|
key: "6"
|
|
320
328
|
} : void 0
|
|
@@ -323,12 +331,12 @@ const qe = ["id"], Ye = {
|
|
|
323
331
|
key: 4,
|
|
324
332
|
ref_key: "svgRef",
|
|
325
333
|
ref: H,
|
|
326
|
-
xmlns: a(
|
|
334
|
+
xmlns: a(Ue),
|
|
327
335
|
viewBox: `0 0 ${p.value.width} ${p.value.height}`,
|
|
328
|
-
class:
|
|
329
|
-
style:
|
|
336
|
+
class: oe({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
337
|
+
style: F(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
330
338
|
}, [
|
|
331
|
-
|
|
339
|
+
E(a(ye)),
|
|
332
340
|
o.$slots["chart-background"] ? (r(), h("foreignObject", {
|
|
333
341
|
key: 0,
|
|
334
342
|
x: 0,
|
|
@@ -340,7 +348,7 @@ const qe = ["id"], Ye = {
|
|
|
340
348
|
}
|
|
341
349
|
}, [
|
|
342
350
|
v(o.$slots, "chart-background", {}, void 0, !0)
|
|
343
|
-
], 8,
|
|
351
|
+
], 8, et)) : i("", !0),
|
|
344
352
|
s("defs", null, [
|
|
345
353
|
s("radialGradient", {
|
|
346
354
|
cx: "50%",
|
|
@@ -353,36 +361,36 @@ const qe = ["id"], Ye = {
|
|
|
353
361
|
s("stop", {
|
|
354
362
|
offset: "0%",
|
|
355
363
|
"stop-color": a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
356
|
-
}, null, 8,
|
|
364
|
+
}, null, 8, ot),
|
|
357
365
|
s("stop", {
|
|
358
366
|
offset: "100%",
|
|
359
367
|
"stop-color": a(C)(a(Be)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
|
|
360
|
-
}, null, 8,
|
|
361
|
-
], 8,
|
|
368
|
+
}, null, 8, lt)
|
|
369
|
+
], 8, tt)
|
|
362
370
|
]),
|
|
363
|
-
(r(!0), h(
|
|
371
|
+
(r(!0), h(le, null, ae(U.value.coordinates, (t) => (r(), h("line", {
|
|
364
372
|
x1: p.value.width / 2,
|
|
365
373
|
y1: p.value.height / 2,
|
|
366
374
|
x2: t.x,
|
|
367
375
|
y2: t.y,
|
|
368
376
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
369
377
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
370
|
-
}, null, 8,
|
|
378
|
+
}, null, 8, at))), 256)),
|
|
371
379
|
s("path", {
|
|
372
|
-
d:
|
|
380
|
+
d: U.value.path,
|
|
373
381
|
fill: "none",
|
|
374
382
|
stroke: e.value.style.chart.layout.outerPolygon.stroke,
|
|
375
383
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
376
384
|
"stroke-linejoin": "round",
|
|
377
385
|
"stroke-linecap": "round"
|
|
378
|
-
}, null, 8,
|
|
386
|
+
}, null, 8, st),
|
|
379
387
|
s("path", {
|
|
380
388
|
fill: "none",
|
|
381
389
|
stroke: e.value.style.chart.layout.smileys.colors[5],
|
|
382
390
|
"stroke-width": "1",
|
|
383
391
|
"stroke-linecap": "round",
|
|
384
392
|
d: "M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"
|
|
385
|
-
}, null, 8,
|
|
393
|
+
}, null, 8, rt),
|
|
386
394
|
s("circle", {
|
|
387
395
|
class: "vue-ui-mood-radar-trap",
|
|
388
396
|
onMouseenter: l[0] || (l[0] = (t) => n.value = 5),
|
|
@@ -391,14 +399,14 @@ const qe = ["id"], Ye = {
|
|
|
391
399
|
cy: "25",
|
|
392
400
|
r: "20",
|
|
393
401
|
fill: n.value === 5 ? a(C)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent"
|
|
394
|
-
}, null, 40,
|
|
402
|
+
}, null, 40, nt),
|
|
395
403
|
s("path", {
|
|
396
404
|
fill: "none",
|
|
397
405
|
stroke: e.value.style.chart.layout.smileys.colors[4],
|
|
398
406
|
"stroke-width": "1",
|
|
399
407
|
"stroke-linecap": "round",
|
|
400
408
|
d: "M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"
|
|
401
|
-
}, null, 8,
|
|
409
|
+
}, null, 8, ut),
|
|
402
410
|
s("circle", {
|
|
403
411
|
class: "vue-ui-mood-radar-trap",
|
|
404
412
|
onMouseenter: l[2] || (l[2] = (t) => n.value = 4),
|
|
@@ -407,14 +415,14 @@ const qe = ["id"], Ye = {
|
|
|
407
415
|
cy: "95.5",
|
|
408
416
|
r: "20",
|
|
409
417
|
fill: n.value === 4 ? a(C)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent"
|
|
410
|
-
}, null, 40,
|
|
418
|
+
}, null, 40, it),
|
|
411
419
|
s("path", {
|
|
412
420
|
fill: "none",
|
|
413
421
|
stroke: e.value.style.chart.layout.smileys.colors[3],
|
|
414
422
|
"stroke-width": "1",
|
|
415
423
|
"stroke-linecap": "round",
|
|
416
424
|
d: "M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"
|
|
417
|
-
}, null, 8,
|
|
425
|
+
}, null, 8, dt),
|
|
418
426
|
s("circle", {
|
|
419
427
|
class: "vue-ui-mood-radar-trap",
|
|
420
428
|
onMouseenter: l[4] || (l[4] = (t) => n.value = 3),
|
|
@@ -423,14 +431,14 @@ const qe = ["id"], Ye = {
|
|
|
423
431
|
cy: "213.5",
|
|
424
432
|
r: "20",
|
|
425
433
|
fill: n.value === 3 ? a(C)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent"
|
|
426
|
-
}, null, 40,
|
|
434
|
+
}, null, 40, ct),
|
|
427
435
|
s("path", {
|
|
428
436
|
fill: "none",
|
|
429
437
|
stroke: e.value.style.chart.layout.smileys.colors[2],
|
|
430
438
|
"stroke-width": "1",
|
|
431
439
|
"stroke-linecap": "round",
|
|
432
440
|
d: "M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"
|
|
433
|
-
}, null, 8,
|
|
441
|
+
}, null, 8, vt),
|
|
434
442
|
s("circle", {
|
|
435
443
|
class: "vue-ui-mood-radar-trap",
|
|
436
444
|
onMouseenter: l[6] || (l[6] = (t) => n.value = 2),
|
|
@@ -439,14 +447,14 @@ const qe = ["id"], Ye = {
|
|
|
439
447
|
cy: "213.5",
|
|
440
448
|
r: "20",
|
|
441
449
|
fill: n.value === 2 ? a(C)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent"
|
|
442
|
-
}, null, 40,
|
|
450
|
+
}, null, 40, yt),
|
|
443
451
|
s("path", {
|
|
444
452
|
fill: "none",
|
|
445
453
|
stroke: e.value.style.chart.layout.smileys.colors[1],
|
|
446
454
|
"stroke-width": "1",
|
|
447
455
|
"stroke-linecap": "round",
|
|
448
456
|
d: "M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"
|
|
449
|
-
}, null, 8,
|
|
457
|
+
}, null, 8, ht),
|
|
450
458
|
s("circle", {
|
|
451
459
|
class: "vue-ui-mood-radar-trap",
|
|
452
460
|
onMouseenter: l[8] || (l[8] = (t) => n.value = 1),
|
|
@@ -455,18 +463,18 @@ const qe = ["id"], Ye = {
|
|
|
455
463
|
cy: "95.5",
|
|
456
464
|
r: "20",
|
|
457
465
|
fill: n.value === 1 ? a(C)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent"
|
|
458
|
-
}, null, 40,
|
|
466
|
+
}, null, 40, ft),
|
|
459
467
|
s("path", {
|
|
460
|
-
d: a(
|
|
468
|
+
d: a(Ee)(Q.value.map((t) => t.plots)),
|
|
461
469
|
stroke: e.value.style.chart.layout.dataPolygon.stroke,
|
|
462
470
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
463
471
|
"stroke-linecap": "round",
|
|
464
472
|
"stroke-linejoin": "round",
|
|
465
473
|
fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${P.value})` : a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
466
|
-
}, null, 8,
|
|
467
|
-
(r(!0), h(
|
|
474
|
+
}, null, 8, pt),
|
|
475
|
+
(r(!0), h(le, null, ae(Q.value.map((t) => t.plots), (t, u) => (r(), h("g", {
|
|
468
476
|
class: "vue-ui-mood-radar-trap",
|
|
469
|
-
style:
|
|
477
|
+
style: F(`opacity:${n.value == t.key ? "1" : "0"}`)
|
|
470
478
|
}, [
|
|
471
479
|
s("line", {
|
|
472
480
|
x1: t.x,
|
|
@@ -474,7 +482,7 @@ const qe = ["id"], Ye = {
|
|
|
474
482
|
x2: 128,
|
|
475
483
|
y2: 128,
|
|
476
484
|
stroke: e.value.style.chart.layout.smileys.colors[t.key]
|
|
477
|
-
}, null, 8,
|
|
485
|
+
}, null, 8, mt),
|
|
478
486
|
s("circle", {
|
|
479
487
|
cx: t.x,
|
|
480
488
|
cy: t.y,
|
|
@@ -482,7 +490,7 @@ const qe = ["id"], Ye = {
|
|
|
482
490
|
r: "3",
|
|
483
491
|
stroke: e.value.style.chart.backgroundColor,
|
|
484
492
|
"stroke-width": 0.5
|
|
485
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, gt),
|
|
486
494
|
s("circle", {
|
|
487
495
|
cx: 128,
|
|
488
496
|
cy: 128,
|
|
@@ -490,7 +498,7 @@ const qe = ["id"], Ye = {
|
|
|
490
498
|
r: "3",
|
|
491
499
|
stroke: e.value.style.chart.backgroundColor,
|
|
492
500
|
"stroke-width": 0.5
|
|
493
|
-
}, null, 8,
|
|
501
|
+
}, null, 8, kt),
|
|
494
502
|
s("text", {
|
|
495
503
|
x: 128,
|
|
496
504
|
y: ["5", 5].includes(t.key) ? 145 : 120,
|
|
@@ -498,35 +506,35 @@ const qe = ["id"], Ye = {
|
|
|
498
506
|
"font-size": "12",
|
|
499
507
|
"text-anchor": "middle",
|
|
500
508
|
"font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
|
|
501
|
-
}, O(a(
|
|
509
|
+
}, O(a(ne)(
|
|
502
510
|
e.value.style.chart.layout.dataLabel.formatter,
|
|
503
511
|
t.value,
|
|
504
|
-
a(
|
|
512
|
+
a(j)({
|
|
505
513
|
p: e.value.style.chart.layout.dataLabel.prefix,
|
|
506
514
|
v: t.value,
|
|
507
515
|
s: e.value.style.chart.layout.dataLabel.suffix,
|
|
508
516
|
r: e.value.style.chart.layout.dataLabel.roundingValue
|
|
509
517
|
}),
|
|
510
518
|
{ datapoint: t, seriesIndex: u }
|
|
511
|
-
)), 9,
|
|
519
|
+
)), 9, bt),
|
|
512
520
|
s("text", {
|
|
513
521
|
x: 128,
|
|
514
522
|
y: ["5", 5].includes(t.key) ? 163 : 102,
|
|
515
523
|
fill: e.value.style.chart.layout.dataLabel.color,
|
|
516
524
|
"font-size": "12",
|
|
517
525
|
"text-anchor": "middle"
|
|
518
|
-
}, " (" + O(a(
|
|
526
|
+
}, " (" + O(a(j)({
|
|
519
527
|
v: t.value / w.value * 100,
|
|
520
528
|
s: "%",
|
|
521
529
|
r: e.value.style.chart.layout.dataLabel.roundingPercentage
|
|
522
|
-
})) + ") ", 9,
|
|
530
|
+
})) + ") ", 9, Ct)
|
|
523
531
|
], 4))), 256)),
|
|
524
532
|
v(o.$slots, "svg", { svg: p.value }, void 0, !0)
|
|
525
|
-
], 14,
|
|
526
|
-
o.$slots.watermark ? (r(), h("div",
|
|
527
|
-
v(o.$slots, "watermark",
|
|
533
|
+
], 14, Ze)) : i("", !0),
|
|
534
|
+
o.$slots.watermark ? (r(), h("div", wt, [
|
|
535
|
+
v(o.$slots, "watermark", S(V({ isPrinting: a(K) || a(q) })), void 0, !0)
|
|
528
536
|
])) : i("", !0),
|
|
529
|
-
M.value ? i("", !0) : (r(), m(a(
|
|
537
|
+
M.value ? i("", !0) : (r(), m(a(fe), {
|
|
530
538
|
key: 6,
|
|
531
539
|
config: {
|
|
532
540
|
type: "radar",
|
|
@@ -543,15 +551,15 @@ const qe = ["id"], Ye = {
|
|
|
543
551
|
}
|
|
544
552
|
}
|
|
545
553
|
}, null, 8, ["config"])),
|
|
546
|
-
e.value.style.chart.legend.show ? (r(), m(
|
|
554
|
+
e.value.style.chart.legend.show ? (r(), m(Xe, {
|
|
547
555
|
legendSet: g.value,
|
|
548
|
-
config:
|
|
549
|
-
key: `legend_${
|
|
556
|
+
config: $e.value,
|
|
557
|
+
key: `legend_${z.value}`,
|
|
550
558
|
style: { display: "flex", "row-gap": "6px" }
|
|
551
559
|
}, {
|
|
552
560
|
item: f(({ legend: t, index: u }) => [
|
|
553
561
|
s("div", {
|
|
554
|
-
onClick: () =>
|
|
562
|
+
onClick: () => Me(t.key),
|
|
555
563
|
style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" }
|
|
556
564
|
}, [
|
|
557
565
|
t.key == 1 ? (r(), m(a($), {
|
|
@@ -584,10 +592,10 @@ const qe = ["id"], Ye = {
|
|
|
584
592
|
name: "moodHappy",
|
|
585
593
|
stroke: e.value.style.chart.layout.smileys.colors[t.key]
|
|
586
594
|
}, null, 8, ["stroke"])) : i("", !0),
|
|
587
|
-
s("span",
|
|
595
|
+
s("span", _t, O(a(ne)(
|
|
588
596
|
e.value.style.chart.layout.dataLabel.formatter,
|
|
589
597
|
t.value,
|
|
590
|
-
a(
|
|
598
|
+
a(j)({
|
|
591
599
|
p: e.value.style.chart.layout.dataLabel.prefix,
|
|
592
600
|
v: t.value,
|
|
593
601
|
s: e.value.style.chart.layout.dataLabel.suffix,
|
|
@@ -595,20 +603,20 @@ const qe = ["id"], Ye = {
|
|
|
595
603
|
}),
|
|
596
604
|
{ datapoint: t, seriesIndex: u }
|
|
597
605
|
)), 1),
|
|
598
|
-
|
|
606
|
+
se(" (" + O(a(j)({
|
|
599
607
|
v: t.proportion * 100,
|
|
600
608
|
s: "%",
|
|
601
609
|
r: e.value.style.chart.legend.roundingPercentage
|
|
602
610
|
})) + ") ", 1)
|
|
603
|
-
], 8,
|
|
611
|
+
], 8, xt)
|
|
604
612
|
]),
|
|
605
613
|
_: 1
|
|
606
614
|
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
607
615
|
v(o.$slots, "legend", { legend: g.value }, void 0, !0),
|
|
608
|
-
o.$slots.source ? (r(), h("div",
|
|
616
|
+
o.$slots.source ? (r(), h("div", $t, [
|
|
609
617
|
v(o.$slots, "source", {}, void 0, !0)
|
|
610
618
|
], 512)) : i("", !0),
|
|
611
|
-
M.value ? (r(), m(a(
|
|
619
|
+
M.value ? (r(), m(a(ce), {
|
|
612
620
|
key: 9,
|
|
613
621
|
hideDetails: "",
|
|
614
622
|
config: {
|
|
@@ -625,11 +633,11 @@ const qe = ["id"], Ye = {
|
|
|
625
633
|
}
|
|
626
634
|
}, {
|
|
627
635
|
content: f(() => [
|
|
628
|
-
|
|
629
|
-
colNames:
|
|
630
|
-
head:
|
|
631
|
-
body:
|
|
632
|
-
config:
|
|
636
|
+
E(a(ve), {
|
|
637
|
+
colNames: I.value.colNames,
|
|
638
|
+
head: I.value.head,
|
|
639
|
+
body: I.value.body,
|
|
640
|
+
config: I.value.config,
|
|
633
641
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
634
642
|
onClose: l[10] || (l[10] = (t) => N.value.showTable = !1)
|
|
635
643
|
}, {
|
|
@@ -637,19 +645,19 @@ const qe = ["id"], Ye = {
|
|
|
637
645
|
s("div", {
|
|
638
646
|
innerHTML: t,
|
|
639
647
|
style: { display: "flex", "align-items": "center" }
|
|
640
|
-
}, null, 8,
|
|
648
|
+
}, null, 8, Mt)
|
|
641
649
|
]),
|
|
642
650
|
td: f(({ td: t }) => [
|
|
643
|
-
|
|
651
|
+
se(O(t.name || t), 1)
|
|
644
652
|
]),
|
|
645
653
|
_: 1
|
|
646
654
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
647
655
|
]),
|
|
648
656
|
_: 1
|
|
649
657
|
}, 8, ["config"])) : i("", !0)
|
|
650
|
-
], 46,
|
|
658
|
+
], 46, Je));
|
|
651
659
|
}
|
|
652
|
-
},
|
|
660
|
+
}, Rt = /* @__PURE__ */ Ye(Pt, [["__scopeId", "data-v-24375ed1"]]);
|
|
653
661
|
export {
|
|
654
|
-
|
|
662
|
+
Rt as default
|
|
655
663
|
};
|