vue-data-ui 2.12.8-beta.3 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -4
- package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
- package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
- package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
- package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
- package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
- package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
- package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
- package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
- package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
- package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
- package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
- package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
- package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
- package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
- package/dist/dom-to-png-4VVH9Qna.js +247 -0
- package/dist/img-Dy6IrSzX.js +20 -0
- package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
- package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +20 -3
- package/dist/types/vue-data-ui.d.ts +20 -3
- package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
- package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
- package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
- package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
- package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
- package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
- package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
- package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
- package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
- package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
- package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
- package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
- package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
- package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
- package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
- package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
- package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
- package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
- package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
- package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
- package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
- package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
- package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
- package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
- package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
- package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
- package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
- package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
- package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
- package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
- package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
- package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
- package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
- package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
- package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
- package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
- package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
- package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
- package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
- package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
- package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
- package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
- package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
- package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
- package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
- package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
- package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
- package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
- package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
- package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
- package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
- package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
- package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
- package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
- package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
- package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
- package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
- package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
- package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
- package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
- package/package.json +1 -1
- package/dist/dom-to-png-C0Ct8ClX.js +0 -243
- package/dist/img-P0SFFw37.js +0 -19
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineAsyncComponent as F, computed as b, ref as y, onMounted as xt, watch as Be, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as Z, normalizeClass as P, createBlock as N, createCommentVNode as c, renderSlot as
|
|
2
|
-
import { u as _t, o as wt, e as ee, g as St, c as Xe, t as $t, p as te, a as At, C as Ge, b as Lt, d as de, H as zt, D as We, m as he, X as It, s as q, E as Nt, i as ye, f as le, j as Pt, k as Dt, n as je, q as Ft, r as Ot, I as Ye, J as Et } from "./index-
|
|
3
|
-
import { u as qe } from "./useNestedProp-
|
|
4
|
-
import { u as Tt } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as F, computed as b, ref as y, onMounted as xt, watch as Be, createElementBlock as n, openBlock as o, unref as r, normalizeStyle as Z, normalizeClass as P, createBlock as N, createCommentVNode as c, renderSlot as A, createSlots as kt, withCtx as _, normalizeProps as W, guardReactiveProps as j, createVNode as Ct, createElementVNode as w, Fragment as L, renderList as z, toDisplayString as p, createTextVNode as ve, nextTick as Y } from "vue";
|
|
2
|
+
import { u as _t, o as wt, e as ee, g as St, c as Xe, t as $t, p as te, a as At, C as Ge, b as Lt, d as de, H as zt, D as We, m as he, X as It, s as q, E as Nt, i as ye, f as le, j as Pt, k as Dt, n as je, q as Ft, r as Ot, I as Ye, J as Et } from "./index-BXbyT0Qn.js";
|
|
3
|
+
import { u as qe } from "./useNestedProp-DVZpeH84.js";
|
|
4
|
+
import { u as Tt } from "./usePrinter-aKh5-HcK.js";
|
|
5
5
|
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { u as Ht } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
-
import Rt from "./Legend-
|
|
8
|
-
import { S as Mt } from "./Slicer-
|
|
9
|
-
import Ut from "./Title-
|
|
7
|
+
import Rt from "./Legend-DcDRW3Xd.js";
|
|
8
|
+
import { S as Mt } from "./Slicer-CxdgZOQ7.js";
|
|
9
|
+
import Ut from "./Title-DoWqzga-.js";
|
|
10
10
|
import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"], jt = ["id"], Yt = ["stop-color"], qt = ["stop-color"], Jt = ["id"], Kt = ["stop-color"], Qt = ["stop-color"], Zt = ["stop-color"], el = { key: 1 }, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], al = { key: 0 }, ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ul = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nl = ["x", "y", "font-size", "fill", "font-weight"], sl = {
|
|
12
12
|
key: 3,
|
|
@@ -36,7 +36,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
38
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
39
|
-
const Ze = F(() => import("./vue-ui-accordion-
|
|
39
|
+
const Ze = F(() => import("./vue-ui-accordion-CXsjHe1y.js")), et = F(() => import("./BaseDraggableDialog-B3CZVeze.js")), tt = F(() => import("./DataTable-DBkfb6pd.js")), lt = F(() => import("./PackageVersion-C5fpg4GN.js")), at = F(() => import("./PenAndPaper-BRkuVFb4.js")), ot = F(() => import("./vue-ui-skeleton-Fxr752Oi.js")), ut = F(() => import("./UserOptions-B3q-xfQV.js")), nt = F(() => import("./vue-ui-donut-DS-DfHIm.js")), { vue_ui_donut_evolution: st } = _t(), m = Je, J = b(() => !!m.dataset && m.dataset.length), h = y({
|
|
40
40
|
start: 0,
|
|
41
41
|
end: Math.max(...m.dataset.map((t) => t.values.length))
|
|
42
42
|
});
|
|
@@ -45,7 +45,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
45
45
|
}
|
|
46
46
|
const E = y(null);
|
|
47
47
|
async function fe() {
|
|
48
|
-
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && E.value ? (e.value.style.chart.zoom.startIndex !== null && (await Y(), await Y(), E.value && E.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await Y(), await Y(), E.value && E.value.setEndValue(rt(e.value.style.chart.zoom.endIndex + 1)))) : (
|
|
48
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && E.value ? (e.value.style.chart.zoom.startIndex !== null && (await Y(), await Y(), E.value && E.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await Y(), await Y(), E.value && E.value.setEndValue(rt(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
|
|
49
49
|
start: 0,
|
|
50
50
|
end: O.value
|
|
51
51
|
}, pe.value += 1);
|
|
@@ -139,47 +139,47 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
139
139
|
uid: Xe()
|
|
140
140
|
})))), X = b(() => D.value.filter((t) => !x.value.includes(t.uid)).map((t) => ({
|
|
141
141
|
...t,
|
|
142
|
-
values: t.values.filter((a, l) => l >=
|
|
143
|
-
}))), O = b(() => Math.max(...X.value.map((t) => t.length))),
|
|
142
|
+
values: t.values.filter((a, l) => l >= h.value.start && l <= h.value.end)
|
|
143
|
+
}))), O = b(() => Math.max(...X.value.map((t) => t.length))), S = b(() => v.value.width / (h.value.end - h.value.start)), k = b(() => {
|
|
144
144
|
const t = [];
|
|
145
|
-
for (let u = 0; u <
|
|
146
|
-
const f = X.value.map((I) => I.values[u] ?? null),
|
|
145
|
+
for (let u = 0; u < h.value.end - h.value.start; u += 1) {
|
|
146
|
+
const f = X.value.map((I) => I.values[u] ?? null), d = f.filter((I) => [void 0, null].includes(I)).length === f.length, C = f.reduce((I, $) => I + $, 0), ce = f.map((I) => I / C), U = i.value.left + S.value * u + S.value / 2;
|
|
147
147
|
t.push({
|
|
148
148
|
index: u,
|
|
149
149
|
percentages: ce,
|
|
150
|
-
subtotal:
|
|
150
|
+
subtotal: d || C < 0 ? null : C,
|
|
151
151
|
values: f,
|
|
152
152
|
x: U
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
const a = 0, l = Math.max(...t.map((u) => u.subtotal)), s = t.length === 1 ? l * 2 : l;
|
|
156
156
|
return t.map((u, f) => {
|
|
157
|
-
const
|
|
157
|
+
const d = S.value / 2 * 0.7, C = d > v.value.width / 16 ? v.value.width / 16 : d, ce = g.value === u.index ? v.value.width / 16 : C, U = t.length > 4 ? d * 2 : d * 2 > S.value / 2 * 0.7 ? S.value / 2 * 0.7 : d * 2, I = v.value.absoluteHeight - i.value.bottom - v.value.height * u.subtotal / We(a, s, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
158
158
|
return {
|
|
159
159
|
...u,
|
|
160
160
|
y: I,
|
|
161
|
-
radius:
|
|
161
|
+
radius: C,
|
|
162
162
|
activeRadius: ce,
|
|
163
163
|
hoverRadius: U,
|
|
164
164
|
donut: he({
|
|
165
|
-
series: X.value.map((
|
|
166
|
-
color:
|
|
167
|
-
name:
|
|
168
|
-
value:
|
|
165
|
+
series: X.value.map(($, Ue) => ({
|
|
166
|
+
color: $.color,
|
|
167
|
+
name: $.name,
|
|
168
|
+
value: $.values[f] ?? 0
|
|
169
169
|
}))
|
|
170
|
-
}, u.x, I,
|
|
170
|
+
}, u.x, I, C, C, 1.99999, 2, 1, 360, 105.25, C / 2),
|
|
171
171
|
donutHover: he({
|
|
172
|
-
series: X.value.map((
|
|
173
|
-
color:
|
|
174
|
-
name:
|
|
175
|
-
value:
|
|
172
|
+
series: X.value.map(($, Ue) => ({
|
|
173
|
+
color: $.color,
|
|
174
|
+
name: $.name,
|
|
175
|
+
value: $.values[f] ?? 0
|
|
176
176
|
}))
|
|
177
177
|
}, u.x, I, U, U, 1.99999, 2, 1, 360, 105.25, U / 2),
|
|
178
178
|
donutFocus: he({
|
|
179
|
-
series: X.value.map((
|
|
180
|
-
color:
|
|
181
|
-
name:
|
|
182
|
-
value:
|
|
179
|
+
series: X.value.map(($, Ue) => ({
|
|
180
|
+
color: $.color,
|
|
181
|
+
name: $.name,
|
|
182
|
+
value: $.values[f] ?? 0
|
|
183
183
|
}))
|
|
184
184
|
}, v.value.centerX, v.value.centerY, v.value.height / 3.6, v.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, v.value.height / 6)
|
|
185
185
|
};
|
|
@@ -227,7 +227,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
227
227
|
}
|
|
228
228
|
const Oe = b(() => D.value.map((t, a) => ({
|
|
229
229
|
name: t.name,
|
|
230
|
-
value: t.values.slice(
|
|
230
|
+
value: t.values.slice(h.value.start, h.value.end).reduce((l, s) => l + s, 0),
|
|
231
231
|
shape: "circle",
|
|
232
232
|
uid: t.uid,
|
|
233
233
|
color: t.color
|
|
@@ -260,10 +260,10 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
260
260
|
}))).concat(["Σ"]);
|
|
261
261
|
let a = [];
|
|
262
262
|
for (let u = 0; u < O.value; u += 1) {
|
|
263
|
-
const f = D.value.filter((
|
|
264
|
-
a.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(D.value.filter((
|
|
265
|
-
value:
|
|
266
|
-
percentage:
|
|
263
|
+
const f = D.value.filter((d) => !x.value.includes(d.uid)).map((d) => d.values[u] ?? 0).reduce((d, C) => d + C, 0);
|
|
264
|
+
a.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(D.value.filter((d) => !x.value.includes(d.uid)).map((d) => ({
|
|
265
|
+
value: d.values[u] ?? 0,
|
|
266
|
+
percentage: d.values[u] ? d.values[u] / f * 100 : 0
|
|
267
267
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
268
268
|
}
|
|
269
269
|
const l = {
|
|
@@ -286,10 +286,10 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
286
286
|
function mt() {
|
|
287
287
|
return D.value;
|
|
288
288
|
}
|
|
289
|
-
function Te() {
|
|
289
|
+
function Te(t = null) {
|
|
290
290
|
Y(() => {
|
|
291
|
-
const
|
|
292
|
-
Ot({ csvContent:
|
|
291
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...R.value.head.map((d) => d.name ?? d)], s = [...R.value.body.map((d) => d.map((C) => C.value ?? C))], u = a.concat([l]).concat(s), f = Ft(u);
|
|
292
|
+
t ? t(f) : Ot({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
295
|
const M = y(!1);
|
|
@@ -400,50 +400,50 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
400
400
|
}, kt({ _: 2 }, [
|
|
401
401
|
t.$slots.menuIcon ? {
|
|
402
402
|
name: "menuIcon",
|
|
403
|
-
fn:
|
|
404
|
-
|
|
403
|
+
fn: _(({ isOpen: l, color: s }) => [
|
|
404
|
+
A(t.$slots, "menuIcon", W(j({ isOpen: l, color: s })), void 0, !0)
|
|
405
405
|
]),
|
|
406
406
|
key: "0"
|
|
407
407
|
} : void 0,
|
|
408
408
|
t.$slots.optionPdf ? {
|
|
409
409
|
name: "optionPdf",
|
|
410
|
-
fn:
|
|
411
|
-
|
|
410
|
+
fn: _(() => [
|
|
411
|
+
A(t.$slots, "optionPdf", {}, void 0, !0)
|
|
412
412
|
]),
|
|
413
413
|
key: "1"
|
|
414
414
|
} : void 0,
|
|
415
415
|
t.$slots.optionCsv ? {
|
|
416
416
|
name: "optionCsv",
|
|
417
|
-
fn:
|
|
418
|
-
|
|
417
|
+
fn: _(() => [
|
|
418
|
+
A(t.$slots, "optionCsv", {}, void 0, !0)
|
|
419
419
|
]),
|
|
420
420
|
key: "2"
|
|
421
421
|
} : void 0,
|
|
422
422
|
t.$slots.optionImg ? {
|
|
423
423
|
name: "optionImg",
|
|
424
|
-
fn:
|
|
425
|
-
|
|
424
|
+
fn: _(() => [
|
|
425
|
+
A(t.$slots, "optionImg", {}, void 0, !0)
|
|
426
426
|
]),
|
|
427
427
|
key: "3"
|
|
428
428
|
} : void 0,
|
|
429
429
|
t.$slots.optionTable ? {
|
|
430
430
|
name: "optionTable",
|
|
431
|
-
fn:
|
|
432
|
-
|
|
431
|
+
fn: _(() => [
|
|
432
|
+
A(t.$slots, "optionTable", {}, void 0, !0)
|
|
433
433
|
]),
|
|
434
434
|
key: "4"
|
|
435
435
|
} : void 0,
|
|
436
436
|
t.$slots.optionFullscreen ? {
|
|
437
437
|
name: "optionFullscreen",
|
|
438
|
-
fn:
|
|
439
|
-
|
|
438
|
+
fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
439
|
+
A(t.$slots, "optionFullscreen", W(j({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
440
440
|
]),
|
|
441
441
|
key: "5"
|
|
442
442
|
} : void 0,
|
|
443
443
|
t.$slots.optionAnnotator ? {
|
|
444
444
|
name: "optionAnnotator",
|
|
445
|
-
fn:
|
|
446
|
-
|
|
445
|
+
fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
446
|
+
A(t.$slots, "optionAnnotator", W(j({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
447
447
|
]),
|
|
448
448
|
key: "6"
|
|
449
449
|
} : void 0
|
|
@@ -468,44 +468,44 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
468
468
|
pointerEvents: "none"
|
|
469
469
|
}
|
|
470
470
|
}, [
|
|
471
|
-
|
|
471
|
+
A(t.$slots, "chart-background", {}, void 0, !0)
|
|
472
472
|
], 8, Wt)) : c("", !0),
|
|
473
|
-
|
|
474
|
-
|
|
473
|
+
w("defs", null, [
|
|
474
|
+
w("linearGradient", {
|
|
475
475
|
id: `hover_${T.value}`,
|
|
476
476
|
x1: "0%",
|
|
477
477
|
y1: "0%",
|
|
478
478
|
x2: "0%",
|
|
479
479
|
y2: "100%"
|
|
480
480
|
}, [
|
|
481
|
-
|
|
481
|
+
w("stop", {
|
|
482
482
|
offset: "0%",
|
|
483
483
|
"stop-color": r(q)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
484
484
|
}, null, 8, Yt),
|
|
485
|
-
|
|
485
|
+
w("stop", {
|
|
486
486
|
offset: "100%",
|
|
487
487
|
"stop-color": r(q)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
488
488
|
}, null, 8, qt)
|
|
489
489
|
], 8, jt),
|
|
490
|
-
|
|
490
|
+
w("radialGradient", {
|
|
491
491
|
id: `focus_${T.value}`
|
|
492
492
|
}, [
|
|
493
|
-
|
|
493
|
+
w("stop", {
|
|
494
494
|
offset: "0%",
|
|
495
495
|
"stop-color": r(q)(r(de)(e.value.style.chart.backgroundColor), 0)
|
|
496
496
|
}, null, 8, Kt),
|
|
497
|
-
|
|
497
|
+
w("stop", {
|
|
498
498
|
offset: "77%",
|
|
499
499
|
"stop-color": r(q)("#FFFFFF", 30)
|
|
500
500
|
}, null, 8, Qt),
|
|
501
|
-
|
|
501
|
+
w("stop", {
|
|
502
502
|
offset: "100%",
|
|
503
503
|
"stop-color": r(q)(r(de)(e.value.style.chart.backgroundColor), 0)
|
|
504
504
|
}, null, 8, Zt)
|
|
505
505
|
], 8, Jt)
|
|
506
506
|
]),
|
|
507
507
|
e.value.style.chart.layout.grid.show ? (o(), n("g", el, [
|
|
508
|
-
|
|
508
|
+
w("line", {
|
|
509
509
|
x1: i.value.left,
|
|
510
510
|
x2: i.value.left,
|
|
511
511
|
y1: i.value.top,
|
|
@@ -514,7 +514,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
514
514
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
515
515
|
"stroke-linecap": "round"
|
|
516
516
|
}, null, 8, tl),
|
|
517
|
-
|
|
517
|
+
w("line", {
|
|
518
518
|
x1: i.value.left,
|
|
519
519
|
x2: v.value.absoluteWidth - i.value.right,
|
|
520
520
|
y1: v.value.absoluteHeight - i.value.bottom,
|
|
@@ -524,9 +524,9 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
524
524
|
"stroke-linecap": "round"
|
|
525
525
|
}, null, 8, ll),
|
|
526
526
|
e.value.style.chart.layout.grid.showVerticalLines ? (o(), n("g", al, [
|
|
527
|
-
(o(!0), n(
|
|
528
|
-
x1: i.value.left + (s + 1) *
|
|
529
|
-
x2: i.value.left + (s + 1) *
|
|
527
|
+
(o(!0), n(L, null, z(h.value.end - h.value.start, (l, s) => (o(), n("line", {
|
|
528
|
+
x1: i.value.left + (s + 1) * S.value,
|
|
529
|
+
x2: i.value.left + (s + 1) * S.value,
|
|
530
530
|
y1: i.value.top,
|
|
531
531
|
y2: v.value.absoluteHeight - i.value.bottom,
|
|
532
532
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
@@ -539,7 +539,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
539
539
|
key: 2,
|
|
540
540
|
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null })
|
|
541
541
|
}, [
|
|
542
|
-
(o(!0), n(
|
|
542
|
+
(o(!0), n(L, null, z(ht.value, (l, s) => (o(), n("g", null, [
|
|
543
543
|
l.value >= H.value.min && l.value <= H.value.max ? (o(), n("line", {
|
|
544
544
|
key: 0,
|
|
545
545
|
x1: i.value.left,
|
|
@@ -571,17 +571,17 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
571
571
|
]))), 256))
|
|
572
572
|
], 2)) : c("", !0),
|
|
573
573
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (o(), n("g", sl, [
|
|
574
|
-
(o(!0), n(
|
|
574
|
+
(o(!0), n(L, null, z(h.value.end - h.value.start, (l, s) => (o(), n("g", null, [
|
|
575
575
|
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (s === 0 || s === O.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (o(), n("text", {
|
|
576
576
|
key: 0,
|
|
577
577
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
578
578
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
579
579
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
580
|
-
transform: `translate(${i.value.left +
|
|
581
|
-
}, p(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s) + Number(
|
|
580
|
+
transform: `translate(${i.value.left + S.value * s + S.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + v.value.absoluteHeight - i.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
581
|
+
}, p(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s) + Number(h.value.start)] ?? ""), 9, rl)) : c("", !0)
|
|
582
582
|
]))), 256))
|
|
583
583
|
])) : c("", !0),
|
|
584
|
-
(o(!0), n(
|
|
584
|
+
(o(!0), n(L, null, z(k.value, (l, s) => (o(), n("g", null, [
|
|
585
585
|
e.value.style.chart.layout.line.show && s < k.value.length - 1 && ![l.subtotal, k.value[s + 1].subtotal].includes(null) ? (o(), n("line", {
|
|
586
586
|
key: 0,
|
|
587
587
|
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null }),
|
|
@@ -604,12 +604,12 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
604
604
|
}, null, 8, vl)) : c("", !0)
|
|
605
605
|
])) : c("", !0)
|
|
606
606
|
]))), 256)),
|
|
607
|
-
(o(!0), n(
|
|
607
|
+
(o(!0), n(L, null, z(k.value, (l, s) => (o(), n("g", {
|
|
608
608
|
class: P({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
|
|
609
609
|
}, [
|
|
610
610
|
l.subtotal ? (o(), n("g", dl, [
|
|
611
611
|
g.value !== null && g.value === s ? (o(), n("g", hl, [
|
|
612
|
-
(o(!0), n(
|
|
612
|
+
(o(!0), n(L, null, z(l.donutHover, (u) => (o(), n("g", null, [
|
|
613
613
|
He(u) ? (o(), n("path", {
|
|
614
614
|
key: 0,
|
|
615
615
|
d: r(Pt)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
|
|
@@ -620,7 +620,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
620
620
|
fill: "none"
|
|
621
621
|
}, null, 8, yl)) : c("", !0)
|
|
622
622
|
]))), 256)),
|
|
623
|
-
(o(!0), n(
|
|
623
|
+
(o(!0), n(L, null, z(l.donutHover, (u, f) => (o(), n("g", null, [
|
|
624
624
|
He(u) ? (o(), n("text", {
|
|
625
625
|
key: 0,
|
|
626
626
|
"data-cy-hover-label": "",
|
|
@@ -632,8 +632,8 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
632
632
|
"font-weight": "bold"
|
|
633
633
|
}, p(u.name) + ": " + p(yt(u, l.donut)) + " (" + p(u.value === null ? "-" : Pe(u.value, u, f)) + ") ", 9, gl)) : c("", !0)
|
|
634
634
|
]))), 256)),
|
|
635
|
-
|
|
636
|
-
|
|
635
|
+
w("g", null, [
|
|
636
|
+
w("circle", {
|
|
637
637
|
cx: l.x,
|
|
638
638
|
cy: l.y,
|
|
639
639
|
r: l.hoverRadius,
|
|
@@ -643,7 +643,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
643
643
|
])) : c("", !0)
|
|
644
644
|
])) : c("", !0)
|
|
645
645
|
], 2))), 256)),
|
|
646
|
-
(o(!0), n(
|
|
646
|
+
(o(!0), n(L, null, z(k.value, (l, s) => (o(), n("g", {
|
|
647
647
|
class: P({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null })
|
|
648
648
|
}, [
|
|
649
649
|
l.subtotal !== null ? (o(), n("g", ml, [
|
|
@@ -654,14 +654,14 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
654
654
|
r: 3,
|
|
655
655
|
fill: e.value.style.chart.color
|
|
656
656
|
}, null, 8, bl)) : g.value !== null && g.value === s ? (o(), n("g", pl, [
|
|
657
|
-
(o(!0), n(
|
|
657
|
+
(o(!0), n(L, null, z(l.donutHover, (u, f) => (o(), n("path", {
|
|
658
658
|
d: u.arcSlice,
|
|
659
659
|
fill: `${u.color}`,
|
|
660
660
|
"stroke-width": 1,
|
|
661
661
|
stroke: e.value.style.chart.backgroundColor
|
|
662
662
|
}, null, 8, xl))), 256))
|
|
663
663
|
])) : (o(), n("g", kl, [
|
|
664
|
-
(o(!0), n(
|
|
664
|
+
(o(!0), n(L, null, z(l.donut, (u, f) => (o(), n("path", {
|
|
665
665
|
d: u.arcSlice,
|
|
666
666
|
fill: `${u.color}`,
|
|
667
667
|
"stroke-width": 0.5,
|
|
@@ -670,7 +670,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
670
670
|
]))
|
|
671
671
|
])) : c("", !0)
|
|
672
672
|
], 2))), 256)),
|
|
673
|
-
(o(!0), n(
|
|
673
|
+
(o(!0), n(L, null, z(k.value, (l, s) => (o(), n("g", {
|
|
674
674
|
class: P({ "donut-opacity": !0, "donut-behind": s !== g.value && g.value !== null || ae.value && s !== V.value.index })
|
|
675
675
|
}, [
|
|
676
676
|
l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (o(), n("text", {
|
|
@@ -683,10 +683,10 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
683
683
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
684
684
|
}, p(Pe(l.subtotal, l, s)), 9, _l)) : c("", !0)
|
|
685
685
|
], 2))), 256)),
|
|
686
|
-
(o(!0), n(
|
|
687
|
-
x: i.value.left + s *
|
|
686
|
+
(o(!0), n(L, null, z(k.value, (l, s) => (o(), n("rect", {
|
|
687
|
+
x: i.value.left + s * S.value,
|
|
688
688
|
y: i.value.top,
|
|
689
|
-
width:
|
|
689
|
+
width: S.value,
|
|
690
690
|
height: v.value.height,
|
|
691
691
|
fill: [g.value, G.value].includes(l.index) ? `url(#hover_${T.value})` : "transparent",
|
|
692
692
|
class: P({ "donut-hover": l.subtotal && [g.value, G.value].includes(l.index) }),
|
|
@@ -694,11 +694,11 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
694
694
|
pointerEvents: "none"
|
|
695
695
|
}
|
|
696
696
|
}, null, 10, wl))), 256)),
|
|
697
|
-
(o(!0), n(
|
|
697
|
+
(o(!0), n(L, null, z(k.value, (l, s) => (o(), n("rect", {
|
|
698
698
|
"data-cy-trap": "",
|
|
699
|
-
x: i.value.left + s *
|
|
699
|
+
x: i.value.left + s * S.value,
|
|
700
700
|
y: i.value.top,
|
|
701
|
-
width:
|
|
701
|
+
width: S.value,
|
|
702
702
|
height: v.value.height,
|
|
703
703
|
fill: "transparent",
|
|
704
704
|
onMouseenter: (u) => gt(l),
|
|
@@ -706,10 +706,10 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
706
706
|
onClick: (u) => Fe(l, s),
|
|
707
707
|
class: P({ "donut-hover": g.value === l.index && l.subtotal })
|
|
708
708
|
}, null, 42, Sl))), 256)),
|
|
709
|
-
|
|
709
|
+
A(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
710
710
|
], 14, Gt)) : c("", !0),
|
|
711
711
|
t.$slots.watermark ? (o(), n("div", $l, [
|
|
712
|
-
|
|
712
|
+
A(t.$slots, "watermark", W(j({ isPrinting: r(Le) || r(ze) })), void 0, !0)
|
|
713
713
|
])) : c("", !0),
|
|
714
714
|
J.value ? c("", !0) : (o(), N(r(ot), {
|
|
715
715
|
key: 6,
|
|
@@ -736,27 +736,27 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
736
736
|
borderColor: e.value.style.chart.backgroundColor,
|
|
737
737
|
fontSize: e.value.style.chart.zoom.fontSize,
|
|
738
738
|
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
739
|
-
labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
740
|
-
labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
739
|
+
labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.start)] || "",
|
|
740
|
+
labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.end) - 1] || "",
|
|
741
741
|
textColor: e.value.style.chart.color,
|
|
742
742
|
inputColor: e.value.style.chart.zoom.color,
|
|
743
743
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
744
744
|
max: O.value,
|
|
745
745
|
min: 0,
|
|
746
|
-
valueStart:
|
|
747
|
-
valueEnd:
|
|
748
|
-
start:
|
|
749
|
-
"onUpdate:start": a[0] || (a[0] = (l) =>
|
|
750
|
-
end:
|
|
751
|
-
"onUpdate:end": a[1] || (a[1] = (l) =>
|
|
746
|
+
valueStart: h.value.start,
|
|
747
|
+
valueEnd: h.value.end,
|
|
748
|
+
start: h.value.start,
|
|
749
|
+
"onUpdate:start": a[0] || (a[0] = (l) => h.value.start = l),
|
|
750
|
+
end: h.value.end,
|
|
751
|
+
"onUpdate:end": a[1] || (a[1] = (l) => h.value.end = l),
|
|
752
752
|
refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
|
|
753
753
|
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : O.value,
|
|
754
754
|
enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
|
|
755
755
|
enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
|
|
756
756
|
onReset: ge
|
|
757
757
|
}, {
|
|
758
|
-
"reset-action":
|
|
759
|
-
|
|
758
|
+
"reset-action": _(({ reset: l }) => [
|
|
759
|
+
A(t.$slots, "reset-action", W(j({ reset: l })), void 0, !0)
|
|
760
760
|
]),
|
|
761
761
|
_: 3
|
|
762
762
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : c("", !0),
|
|
@@ -766,8 +766,8 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
766
766
|
config: ft.value,
|
|
767
767
|
onClickMarker: a[2] || (a[2] = ({ legend: l }) => se(l.uid))
|
|
768
768
|
}, {
|
|
769
|
-
item:
|
|
770
|
-
|
|
769
|
+
item: _(({ legend: l, index: s }) => [
|
|
770
|
+
w("div", {
|
|
771
771
|
onClick: (u) => se(l.uid),
|
|
772
772
|
style: Z(`opacity:${x.value.includes(l.uid) ? 0.5 : 1}`)
|
|
773
773
|
}, [
|
|
@@ -791,9 +791,9 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
791
791
|
]),
|
|
792
792
|
_: 1
|
|
793
793
|
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
794
|
-
|
|
794
|
+
A(t.$slots, "legend", { legend: Oe.value }, void 0, !0),
|
|
795
795
|
t.$slots.source ? (o(), n("div", Il, [
|
|
796
|
-
|
|
796
|
+
A(t.$slots, "source", {}, void 0, !0)
|
|
797
797
|
], 512)) : c("", !0),
|
|
798
798
|
J.value ? (o(), N(r(Ze), {
|
|
799
799
|
key: 10,
|
|
@@ -811,7 +811,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
811
811
|
}
|
|
812
812
|
}
|
|
813
813
|
}, {
|
|
814
|
-
content:
|
|
814
|
+
content: _(() => [
|
|
815
815
|
(o(), N(r(tt), {
|
|
816
816
|
key: `table_${ke.value}`,
|
|
817
817
|
colNames: R.value.colNames,
|
|
@@ -821,12 +821,12 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
821
821
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
822
822
|
onClose: a[3] || (a[3] = (l) => B.value.showTable = !1)
|
|
823
823
|
}, {
|
|
824
|
-
th:
|
|
824
|
+
th: _(({ th: l }) => [
|
|
825
825
|
ve(p(l.name ?? l), 1)
|
|
826
826
|
]),
|
|
827
|
-
td:
|
|
827
|
+
td: _(({ td: l }) => [
|
|
828
828
|
l.value === null ? (o(), n("span", Nl, "-")) : (o(), n("b", Pl, p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + p(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + p(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
829
|
-
|
|
829
|
+
w("span", null, p(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
830
830
|
]),
|
|
831
831
|
_: 1
|
|
832
832
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -847,10 +847,10 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
847
847
|
isFullscreen: M.value,
|
|
848
848
|
fullscreenParent: oe.value
|
|
849
849
|
}, {
|
|
850
|
-
title:
|
|
851
|
-
ve(p(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(V.value.index) + Number(
|
|
850
|
+
title: _(() => [
|
|
851
|
+
ve(p(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(V.value.index) + Number(h.value.start)]), 1)
|
|
852
852
|
]),
|
|
853
|
-
default:
|
|
853
|
+
default: _(() => [
|
|
854
854
|
V.value ? (o(), N(r(nt), {
|
|
855
855
|
key: 0,
|
|
856
856
|
config: Me.value,
|
|
@@ -861,7 +861,7 @@ const Xt = ["id"], Gt = ["xmlns", "viewBox"], Wt = ["x", "y", "width", "height"]
|
|
|
861
861
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
|
|
862
862
|
], 46, Xt));
|
|
863
863
|
}
|
|
864
|
-
}, Xl = /* @__PURE__ */ Bt(Dl, [["__scopeId", "data-v-
|
|
864
|
+
}, Xl = /* @__PURE__ */ Bt(Dl, [["__scopeId", "data-v-8140cd84"]]);
|
|
865
865
|
export {
|
|
866
866
|
Xl as default
|
|
867
867
|
};
|