vue-data-ui 2.16.5 → 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 +85 -55
- package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
- package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
- package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
- package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
- package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
- package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
- package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
- package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
- package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
- package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
- package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
- package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
- package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
- package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
- package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
- package/dist/img-Y_hYz-ZC.js +27 -0
- package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
- package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1098 -162
- package/dist/types/vue-data-ui.d.ts +1098 -162
- package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
- package/dist/{usePrinter-ButWuZVm.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-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
- package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
- package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
- package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
- package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
- package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
- package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
- package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
- package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
- package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
- package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
- package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
- package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
- package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
- package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
- package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
- package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
- package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
- package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
- package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
- package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
- package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
- package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
- package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
- package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
- package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
- package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
- package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
- package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
- package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
- package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
- package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
- package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
- package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
- package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
- package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
- package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
- package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
- package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
- package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
- package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
- package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
- package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
- package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
- package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
- package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
- package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
- package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
- package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
- package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
- package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
- package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
- package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
- package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
- package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
- package/package.json +1 -1
- package/dist/img-CTC5DLKL.js +0 -20
- package/dist/vue-data-ui-BB8Upnjm.js +0 -301
|
@@ -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,25 +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,
|
|
270
|
+
onToggleFullscreen: te,
|
|
262
271
|
onGeneratePdf: a(Y),
|
|
263
272
|
onGenerateCsv: Z,
|
|
264
273
|
onGenerateImage: a(J),
|
|
265
274
|
onToggleTable: ee,
|
|
266
275
|
onToggleAnnotator: B,
|
|
267
|
-
style:
|
|
268
|
-
visibility: a(G) ? a(
|
|
276
|
+
style: F({
|
|
277
|
+
visibility: a(G) ? a(R) ? "visible" : "hidden" : "visible"
|
|
269
278
|
})
|
|
270
|
-
},
|
|
279
|
+
}, Ie({ _: 2 }, [
|
|
271
280
|
o.$slots.menuIcon ? {
|
|
272
281
|
name: "menuIcon",
|
|
273
282
|
fn: f(({ isOpen: t, color: u }) => [
|
|
274
|
-
v(o.$slots, "menuIcon",
|
|
283
|
+
v(o.$slots, "menuIcon", S(V({ isOpen: t, color: u })), void 0, !0)
|
|
275
284
|
]),
|
|
276
285
|
key: "0"
|
|
277
286
|
} : void 0,
|
|
@@ -306,28 +315,28 @@ const qe = ["id"], Ye = {
|
|
|
306
315
|
o.$slots.optionFullscreen ? {
|
|
307
316
|
name: "optionFullscreen",
|
|
308
317
|
fn: f(({ toggleFullscreen: t, isFullscreen: u }) => [
|
|
309
|
-
v(o.$slots, "optionFullscreen",
|
|
318
|
+
v(o.$slots, "optionFullscreen", S(V({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
|
|
310
319
|
]),
|
|
311
320
|
key: "5"
|
|
312
321
|
} : void 0,
|
|
313
322
|
o.$slots.optionAnnotator ? {
|
|
314
323
|
name: "optionAnnotator",
|
|
315
324
|
fn: f(({ toggleAnnotator: t, isAnnotator: u }) => [
|
|
316
|
-
v(o.$slots, "optionAnnotator",
|
|
325
|
+
v(o.$slots, "optionAnnotator", S(V({ toggleAnnotator: t, isAnnotator: u })), void 0, !0)
|
|
317
326
|
]),
|
|
318
327
|
key: "6"
|
|
319
328
|
} : void 0
|
|
320
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
329
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
321
330
|
M.value ? (r(), h("svg", {
|
|
322
331
|
key: 4,
|
|
323
332
|
ref_key: "svgRef",
|
|
324
333
|
ref: H,
|
|
325
|
-
xmlns: a(
|
|
334
|
+
xmlns: a(Ue),
|
|
326
335
|
viewBox: `0 0 ${p.value.width} ${p.value.height}`,
|
|
327
|
-
class:
|
|
328
|
-
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}`)
|
|
329
338
|
}, [
|
|
330
|
-
|
|
339
|
+
E(a(ye)),
|
|
331
340
|
o.$slots["chart-background"] ? (r(), h("foreignObject", {
|
|
332
341
|
key: 0,
|
|
333
342
|
x: 0,
|
|
@@ -339,7 +348,7 @@ const qe = ["id"], Ye = {
|
|
|
339
348
|
}
|
|
340
349
|
}, [
|
|
341
350
|
v(o.$slots, "chart-background", {}, void 0, !0)
|
|
342
|
-
], 8,
|
|
351
|
+
], 8, et)) : i("", !0),
|
|
343
352
|
s("defs", null, [
|
|
344
353
|
s("radialGradient", {
|
|
345
354
|
cx: "50%",
|
|
@@ -352,36 +361,36 @@ const qe = ["id"], Ye = {
|
|
|
352
361
|
s("stop", {
|
|
353
362
|
offset: "0%",
|
|
354
363
|
"stop-color": a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
355
|
-
}, null, 8,
|
|
364
|
+
}, null, 8, ot),
|
|
356
365
|
s("stop", {
|
|
357
366
|
offset: "100%",
|
|
358
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)
|
|
359
|
-
}, null, 8,
|
|
360
|
-
], 8,
|
|
368
|
+
}, null, 8, lt)
|
|
369
|
+
], 8, tt)
|
|
361
370
|
]),
|
|
362
|
-
(r(!0), h(
|
|
371
|
+
(r(!0), h(le, null, ae(U.value.coordinates, (t) => (r(), h("line", {
|
|
363
372
|
x1: p.value.width / 2,
|
|
364
373
|
y1: p.value.height / 2,
|
|
365
374
|
x2: t.x,
|
|
366
375
|
y2: t.y,
|
|
367
376
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
368
377
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
369
|
-
}, null, 8,
|
|
378
|
+
}, null, 8, at))), 256)),
|
|
370
379
|
s("path", {
|
|
371
|
-
d:
|
|
380
|
+
d: U.value.path,
|
|
372
381
|
fill: "none",
|
|
373
382
|
stroke: e.value.style.chart.layout.outerPolygon.stroke,
|
|
374
383
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
375
384
|
"stroke-linejoin": "round",
|
|
376
385
|
"stroke-linecap": "round"
|
|
377
|
-
}, null, 8,
|
|
386
|
+
}, null, 8, st),
|
|
378
387
|
s("path", {
|
|
379
388
|
fill: "none",
|
|
380
389
|
stroke: e.value.style.chart.layout.smileys.colors[5],
|
|
381
390
|
"stroke-width": "1",
|
|
382
391
|
"stroke-linecap": "round",
|
|
383
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"
|
|
384
|
-
}, null, 8,
|
|
393
|
+
}, null, 8, rt),
|
|
385
394
|
s("circle", {
|
|
386
395
|
class: "vue-ui-mood-radar-trap",
|
|
387
396
|
onMouseenter: l[0] || (l[0] = (t) => n.value = 5),
|
|
@@ -390,14 +399,14 @@ const qe = ["id"], Ye = {
|
|
|
390
399
|
cy: "25",
|
|
391
400
|
r: "20",
|
|
392
401
|
fill: n.value === 5 ? a(C)(e.value.style.chart.layout.smileys.colors[5], 20) : "transparent"
|
|
393
|
-
}, null, 40,
|
|
402
|
+
}, null, 40, nt),
|
|
394
403
|
s("path", {
|
|
395
404
|
fill: "none",
|
|
396
405
|
stroke: e.value.style.chart.layout.smileys.colors[4],
|
|
397
406
|
"stroke-width": "1",
|
|
398
407
|
"stroke-linecap": "round",
|
|
399
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"
|
|
400
|
-
}, null, 8,
|
|
409
|
+
}, null, 8, ut),
|
|
401
410
|
s("circle", {
|
|
402
411
|
class: "vue-ui-mood-radar-trap",
|
|
403
412
|
onMouseenter: l[2] || (l[2] = (t) => n.value = 4),
|
|
@@ -406,14 +415,14 @@ const qe = ["id"], Ye = {
|
|
|
406
415
|
cy: "95.5",
|
|
407
416
|
r: "20",
|
|
408
417
|
fill: n.value === 4 ? a(C)(e.value.style.chart.layout.smileys.colors[4], 20) : "transparent"
|
|
409
|
-
}, null, 40,
|
|
418
|
+
}, null, 40, it),
|
|
410
419
|
s("path", {
|
|
411
420
|
fill: "none",
|
|
412
421
|
stroke: e.value.style.chart.layout.smileys.colors[3],
|
|
413
422
|
"stroke-width": "1",
|
|
414
423
|
"stroke-linecap": "round",
|
|
415
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"
|
|
416
|
-
}, null, 8,
|
|
425
|
+
}, null, 8, dt),
|
|
417
426
|
s("circle", {
|
|
418
427
|
class: "vue-ui-mood-radar-trap",
|
|
419
428
|
onMouseenter: l[4] || (l[4] = (t) => n.value = 3),
|
|
@@ -422,14 +431,14 @@ const qe = ["id"], Ye = {
|
|
|
422
431
|
cy: "213.5",
|
|
423
432
|
r: "20",
|
|
424
433
|
fill: n.value === 3 ? a(C)(e.value.style.chart.layout.smileys.colors[3], 20) : "transparent"
|
|
425
|
-
}, null, 40,
|
|
434
|
+
}, null, 40, ct),
|
|
426
435
|
s("path", {
|
|
427
436
|
fill: "none",
|
|
428
437
|
stroke: e.value.style.chart.layout.smileys.colors[2],
|
|
429
438
|
"stroke-width": "1",
|
|
430
439
|
"stroke-linecap": "round",
|
|
431
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"
|
|
432
|
-
}, null, 8,
|
|
441
|
+
}, null, 8, vt),
|
|
433
442
|
s("circle", {
|
|
434
443
|
class: "vue-ui-mood-radar-trap",
|
|
435
444
|
onMouseenter: l[6] || (l[6] = (t) => n.value = 2),
|
|
@@ -438,14 +447,14 @@ const qe = ["id"], Ye = {
|
|
|
438
447
|
cy: "213.5",
|
|
439
448
|
r: "20",
|
|
440
449
|
fill: n.value === 2 ? a(C)(e.value.style.chart.layout.smileys.colors[2], 20) : "transparent"
|
|
441
|
-
}, null, 40,
|
|
450
|
+
}, null, 40, yt),
|
|
442
451
|
s("path", {
|
|
443
452
|
fill: "none",
|
|
444
453
|
stroke: e.value.style.chart.layout.smileys.colors[1],
|
|
445
454
|
"stroke-width": "1",
|
|
446
455
|
"stroke-linecap": "round",
|
|
447
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"
|
|
448
|
-
}, null, 8,
|
|
457
|
+
}, null, 8, ht),
|
|
449
458
|
s("circle", {
|
|
450
459
|
class: "vue-ui-mood-radar-trap",
|
|
451
460
|
onMouseenter: l[8] || (l[8] = (t) => n.value = 1),
|
|
@@ -454,18 +463,18 @@ const qe = ["id"], Ye = {
|
|
|
454
463
|
cy: "95.5",
|
|
455
464
|
r: "20",
|
|
456
465
|
fill: n.value === 1 ? a(C)(e.value.style.chart.layout.smileys.colors[1], 20) : "transparent"
|
|
457
|
-
}, null, 40,
|
|
466
|
+
}, null, 40, ft),
|
|
458
467
|
s("path", {
|
|
459
|
-
d: a(
|
|
468
|
+
d: a(Ee)(Q.value.map((t) => t.plots)),
|
|
460
469
|
stroke: e.value.style.chart.layout.dataPolygon.stroke,
|
|
461
470
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
462
471
|
"stroke-linecap": "round",
|
|
463
472
|
"stroke-linejoin": "round",
|
|
464
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)
|
|
465
|
-
}, null, 8,
|
|
466
|
-
(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", {
|
|
467
476
|
class: "vue-ui-mood-radar-trap",
|
|
468
|
-
style:
|
|
477
|
+
style: F(`opacity:${n.value == t.key ? "1" : "0"}`)
|
|
469
478
|
}, [
|
|
470
479
|
s("line", {
|
|
471
480
|
x1: t.x,
|
|
@@ -473,7 +482,7 @@ const qe = ["id"], Ye = {
|
|
|
473
482
|
x2: 128,
|
|
474
483
|
y2: 128,
|
|
475
484
|
stroke: e.value.style.chart.layout.smileys.colors[t.key]
|
|
476
|
-
}, null, 8,
|
|
485
|
+
}, null, 8, mt),
|
|
477
486
|
s("circle", {
|
|
478
487
|
cx: t.x,
|
|
479
488
|
cy: t.y,
|
|
@@ -481,7 +490,7 @@ const qe = ["id"], Ye = {
|
|
|
481
490
|
r: "3",
|
|
482
491
|
stroke: e.value.style.chart.backgroundColor,
|
|
483
492
|
"stroke-width": 0.5
|
|
484
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, gt),
|
|
485
494
|
s("circle", {
|
|
486
495
|
cx: 128,
|
|
487
496
|
cy: 128,
|
|
@@ -489,7 +498,7 @@ const qe = ["id"], Ye = {
|
|
|
489
498
|
r: "3",
|
|
490
499
|
stroke: e.value.style.chart.backgroundColor,
|
|
491
500
|
"stroke-width": 0.5
|
|
492
|
-
}, null, 8,
|
|
501
|
+
}, null, 8, kt),
|
|
493
502
|
s("text", {
|
|
494
503
|
x: 128,
|
|
495
504
|
y: ["5", 5].includes(t.key) ? 145 : 120,
|
|
@@ -497,35 +506,35 @@ const qe = ["id"], Ye = {
|
|
|
497
506
|
"font-size": "12",
|
|
498
507
|
"text-anchor": "middle",
|
|
499
508
|
"font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
|
|
500
|
-
}, O(a(
|
|
509
|
+
}, O(a(ne)(
|
|
501
510
|
e.value.style.chart.layout.dataLabel.formatter,
|
|
502
511
|
t.value,
|
|
503
|
-
a(
|
|
512
|
+
a(j)({
|
|
504
513
|
p: e.value.style.chart.layout.dataLabel.prefix,
|
|
505
514
|
v: t.value,
|
|
506
515
|
s: e.value.style.chart.layout.dataLabel.suffix,
|
|
507
516
|
r: e.value.style.chart.layout.dataLabel.roundingValue
|
|
508
517
|
}),
|
|
509
518
|
{ datapoint: t, seriesIndex: u }
|
|
510
|
-
)), 9,
|
|
519
|
+
)), 9, bt),
|
|
511
520
|
s("text", {
|
|
512
521
|
x: 128,
|
|
513
522
|
y: ["5", 5].includes(t.key) ? 163 : 102,
|
|
514
523
|
fill: e.value.style.chart.layout.dataLabel.color,
|
|
515
524
|
"font-size": "12",
|
|
516
525
|
"text-anchor": "middle"
|
|
517
|
-
}, " (" + O(a(
|
|
526
|
+
}, " (" + O(a(j)({
|
|
518
527
|
v: t.value / w.value * 100,
|
|
519
528
|
s: "%",
|
|
520
529
|
r: e.value.style.chart.layout.dataLabel.roundingPercentage
|
|
521
|
-
})) + ") ", 9,
|
|
530
|
+
})) + ") ", 9, Ct)
|
|
522
531
|
], 4))), 256)),
|
|
523
532
|
v(o.$slots, "svg", { svg: p.value }, void 0, !0)
|
|
524
|
-
], 14,
|
|
525
|
-
o.$slots.watermark ? (r(), h("div",
|
|
526
|
-
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)
|
|
527
536
|
])) : i("", !0),
|
|
528
|
-
M.value ? i("", !0) : (r(), m(a(
|
|
537
|
+
M.value ? i("", !0) : (r(), m(a(fe), {
|
|
529
538
|
key: 6,
|
|
530
539
|
config: {
|
|
531
540
|
type: "radar",
|
|
@@ -542,15 +551,15 @@ const qe = ["id"], Ye = {
|
|
|
542
551
|
}
|
|
543
552
|
}
|
|
544
553
|
}, null, 8, ["config"])),
|
|
545
|
-
e.value.style.chart.legend.show ? (r(), m(
|
|
554
|
+
e.value.style.chart.legend.show ? (r(), m(Xe, {
|
|
546
555
|
legendSet: g.value,
|
|
547
|
-
config:
|
|
548
|
-
key: `legend_${
|
|
556
|
+
config: $e.value,
|
|
557
|
+
key: `legend_${z.value}`,
|
|
549
558
|
style: { display: "flex", "row-gap": "6px" }
|
|
550
559
|
}, {
|
|
551
560
|
item: f(({ legend: t, index: u }) => [
|
|
552
561
|
s("div", {
|
|
553
|
-
onClick: () =>
|
|
562
|
+
onClick: () => Me(t.key),
|
|
554
563
|
style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center", margin: "3px 0" }
|
|
555
564
|
}, [
|
|
556
565
|
t.key == 1 ? (r(), m(a($), {
|
|
@@ -583,10 +592,10 @@ const qe = ["id"], Ye = {
|
|
|
583
592
|
name: "moodHappy",
|
|
584
593
|
stroke: e.value.style.chart.layout.smileys.colors[t.key]
|
|
585
594
|
}, null, 8, ["stroke"])) : i("", !0),
|
|
586
|
-
s("span",
|
|
595
|
+
s("span", _t, O(a(ne)(
|
|
587
596
|
e.value.style.chart.layout.dataLabel.formatter,
|
|
588
597
|
t.value,
|
|
589
|
-
a(
|
|
598
|
+
a(j)({
|
|
590
599
|
p: e.value.style.chart.layout.dataLabel.prefix,
|
|
591
600
|
v: t.value,
|
|
592
601
|
s: e.value.style.chart.layout.dataLabel.suffix,
|
|
@@ -594,20 +603,20 @@ const qe = ["id"], Ye = {
|
|
|
594
603
|
}),
|
|
595
604
|
{ datapoint: t, seriesIndex: u }
|
|
596
605
|
)), 1),
|
|
597
|
-
|
|
606
|
+
se(" (" + O(a(j)({
|
|
598
607
|
v: t.proportion * 100,
|
|
599
608
|
s: "%",
|
|
600
609
|
r: e.value.style.chart.legend.roundingPercentage
|
|
601
610
|
})) + ") ", 1)
|
|
602
|
-
], 8,
|
|
611
|
+
], 8, xt)
|
|
603
612
|
]),
|
|
604
613
|
_: 1
|
|
605
614
|
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
606
615
|
v(o.$slots, "legend", { legend: g.value }, void 0, !0),
|
|
607
|
-
o.$slots.source ? (r(), h("div",
|
|
616
|
+
o.$slots.source ? (r(), h("div", $t, [
|
|
608
617
|
v(o.$slots, "source", {}, void 0, !0)
|
|
609
618
|
], 512)) : i("", !0),
|
|
610
|
-
M.value ? (r(), m(a(
|
|
619
|
+
M.value ? (r(), m(a(ce), {
|
|
611
620
|
key: 9,
|
|
612
621
|
hideDetails: "",
|
|
613
622
|
config: {
|
|
@@ -624,11 +633,11 @@ const qe = ["id"], Ye = {
|
|
|
624
633
|
}
|
|
625
634
|
}, {
|
|
626
635
|
content: f(() => [
|
|
627
|
-
|
|
628
|
-
colNames:
|
|
629
|
-
head:
|
|
630
|
-
body:
|
|
631
|
-
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,
|
|
632
641
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
633
642
|
onClose: l[10] || (l[10] = (t) => N.value.showTable = !1)
|
|
634
643
|
}, {
|
|
@@ -636,19 +645,19 @@ const qe = ["id"], Ye = {
|
|
|
636
645
|
s("div", {
|
|
637
646
|
innerHTML: t,
|
|
638
647
|
style: { display: "flex", "align-items": "center" }
|
|
639
|
-
}, null, 8,
|
|
648
|
+
}, null, 8, Mt)
|
|
640
649
|
]),
|
|
641
650
|
td: f(({ td: t }) => [
|
|
642
|
-
|
|
651
|
+
se(O(t.name || t), 1)
|
|
643
652
|
]),
|
|
644
653
|
_: 1
|
|
645
654
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
646
655
|
]),
|
|
647
656
|
_: 1
|
|
648
657
|
}, 8, ["config"])) : i("", !0)
|
|
649
|
-
], 46,
|
|
658
|
+
], 46, Je));
|
|
650
659
|
}
|
|
651
|
-
},
|
|
660
|
+
}, Rt = /* @__PURE__ */ Ye(Pt, [["__scopeId", "data-v-24375ed1"]]);
|
|
652
661
|
export {
|
|
653
|
-
|
|
662
|
+
Rt as default
|
|
654
663
|
};
|