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,16 +1,17 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { t as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
1
|
+
import { useCssVars as De, computed as d, defineAsyncComponent as O, ref as h, shallowRef as ge, onMounted as Re, onBeforeUnmount as Me, watch as Ee, createElementBlock as u, openBlock as o, unref as s, normalizeStyle as L, normalizeClass as z, createBlock as N, createCommentVNode as f, createSlots as Ve, withCtx as g, renderSlot as b, normalizeProps as V, guardReactiveProps as B, createVNode as Be, createElementVNode as w, mergeProps as J, Fragment as U, renderList as G, toDisplayString as j, createTextVNode as Ue, nextTick as Ge } from "vue";
|
|
2
|
+
import { u as je, c as He, o as Xe, e as pe, g as qe, d as Ye, l as We, i as H, f as X, X as Je, F as Ke, E as K, a as Qe, q as Ze, r as et } from "./index-pPGk-uhD.js";
|
|
3
|
+
import { u as ke } from "./useNestedProp-DjACxgdZ.js";
|
|
4
|
+
import { u as tt } from "./usePrinter-DDHcrl0A.js";
|
|
5
|
+
import { t as at, u as lt } from "./useResponsive-DfdjqQps.js";
|
|
6
|
+
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as ot } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import nt from "./Title-B-2bV0SW.js";
|
|
9
|
+
import rt from "./img-Y_hYz-ZC.js";
|
|
10
|
+
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], ft = ["stop-color"], bt = ["stop-color"], mt = ["stroke", "stroke-width"], yt = ["stroke", "stroke-width"], gt = ["x", "y", "font-size", "fill", "font-weight"], pt = ["points", "fill"], kt = ["stroke", "stroke-width", "rx"], Ct = ["x", "y", "font-size", "fill", "font-weight"], wt = ["x", "y", "font-size", "fill", "font-weight"], $t = {
|
|
11
12
|
key: 5,
|
|
12
13
|
class: "vue-data-ui-watermark"
|
|
13
|
-
},
|
|
14
|
+
}, xt = ["innerHTML"], Lt = {
|
|
14
15
|
__name: "vue-ui-funnel",
|
|
15
16
|
props: {
|
|
16
17
|
config: {
|
|
@@ -26,22 +27,22 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
},
|
|
29
|
-
setup(
|
|
30
|
-
|
|
31
|
-
"
|
|
30
|
+
setup(Ce, { expose: we }) {
|
|
31
|
+
De((t) => ({
|
|
32
|
+
"80091ad8": Pe.value
|
|
32
33
|
}));
|
|
33
|
-
const
|
|
34
|
-
|
|
34
|
+
const $e = O(() => import("./vue-ui-accordion-CVnA550V.js")), xe = O(() => import("./DataTable-D0VYDhfx.js")), Le = O(() => import("./PackageVersion-5TR4ocqp.js")), _e = O(() => import("./PenAndPaper-D6AqipIO.js")), Ae = O(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Te = O(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_funnel: Se } = je(), m = Ce, _ = h(null), P = h(He()), Q = h(0), Z = h(0), ee = h(0), te = h(null), ae = h(null), le = h(null), C = ge(null), A = ge(null), $ = h(!1), T = d(() => !!m.dataset && m.dataset.length);
|
|
35
|
+
Re(se);
|
|
35
36
|
function se() {
|
|
36
|
-
if (
|
|
37
|
+
if (Xe(m.dataset) ? pe({
|
|
37
38
|
componentName: "VueUiFunnel",
|
|
38
39
|
type: "dataset"
|
|
39
40
|
}) : m.dataset.forEach((t, l) => {
|
|
40
|
-
|
|
41
|
+
qe({
|
|
41
42
|
datasetObject: t,
|
|
42
43
|
requiredAttributes: ["name", "value"]
|
|
43
44
|
}).forEach((a) => {
|
|
44
|
-
|
|
45
|
+
T.value = !1, pe({
|
|
45
46
|
componentName: "VueUiFunnel",
|
|
46
47
|
type: "datasetSerieAttribute",
|
|
47
48
|
property: a,
|
|
@@ -49,9 +50,9 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
49
50
|
});
|
|
50
51
|
});
|
|
51
52
|
}), e.value.responsive) {
|
|
52
|
-
const t =
|
|
53
|
-
const { width: l, height: a } =
|
|
54
|
-
chart:
|
|
53
|
+
const t = at(() => {
|
|
54
|
+
const { width: l, height: a } = lt({
|
|
55
|
+
chart: _.value,
|
|
55
56
|
title: e.value.style.chart.title.text ? le.value : null,
|
|
56
57
|
source: ae.value,
|
|
57
58
|
noTitle: te.value
|
|
@@ -78,20 +79,20 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
78
79
|
})) : (i.value.circles = e.value.style.chart.circles.dataLabels.fontSize, i.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, i.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
|
|
79
80
|
});
|
|
80
81
|
});
|
|
81
|
-
C.value && (
|
|
82
|
+
C.value && (A.value && C.value.unobserve(A.value), C.value.disconnect()), C.value = new ResizeObserver(t), A.value = _.value.parentNode, C.value.observe(A.value);
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
C.value && (
|
|
85
|
+
Me(() => {
|
|
86
|
+
C.value && (A.value && C.value.unobserve(A.value), C.value.disconnect());
|
|
86
87
|
});
|
|
87
88
|
function oe() {
|
|
88
|
-
const t =
|
|
89
|
+
const t = ke({
|
|
89
90
|
userConfig: m.config,
|
|
90
|
-
defaultConfig:
|
|
91
|
+
defaultConfig: Se
|
|
91
92
|
});
|
|
92
93
|
return t.theme ? {
|
|
93
|
-
...
|
|
94
|
-
userConfig:
|
|
94
|
+
...ke({
|
|
95
|
+
userConfig: Qe.vue_ui_funnel[t.theme] || m.config,
|
|
95
96
|
defaultConfig: t
|
|
96
97
|
})
|
|
97
98
|
} : t;
|
|
@@ -99,15 +100,15 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
99
100
|
const e = d({
|
|
100
101
|
get: () => oe(),
|
|
101
102
|
set: (t) => t
|
|
102
|
-
}), { userOptionsVisible: q, setUserOptionsVisibility: ne, keepUserOptionState: re } =
|
|
103
|
-
|
|
104
|
-
e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, i.value.circles = e.value.style.chart.circles.dataLabels.fontSize, i.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, i.value.values = e.value.style.chart.bars.dataLabels.value.fontSize,
|
|
103
|
+
}), { userOptionsVisible: q, setUserOptionsVisibility: ne, keepUserOptionState: re } = st({ config: e.value }), { svgRef: ue } = ot({ config: e.value.style.chart.title });
|
|
104
|
+
Ee(() => m.config, (t) => {
|
|
105
|
+
e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, i.value.circles = e.value.style.chart.circles.dataLabels.fontSize, i.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, i.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, I.value.showTable = e.value.table.show;
|
|
105
106
|
}, { deep: !0 });
|
|
106
|
-
const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } =
|
|
107
|
-
elementId: `funnel_${
|
|
107
|
+
const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } = tt({
|
|
108
|
+
elementId: `funnel_${P.value}`,
|
|
108
109
|
fileName: e.value.style.chart.title.text || "vue-ui-funnel",
|
|
109
110
|
options: e.value.userOptions.print
|
|
110
|
-
}),
|
|
111
|
+
}), Oe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), I = h({
|
|
111
112
|
showTable: e.value.table.show
|
|
112
113
|
}), i = h({
|
|
113
114
|
circles: e.value.style.chart.circles.dataLabels.fontSize,
|
|
@@ -119,9 +120,9 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
119
120
|
width: e.value.style.chart.width
|
|
120
121
|
}),
|
|
121
122
|
set: (t) => t
|
|
122
|
-
}), p = d(() =>
|
|
123
|
+
}), p = d(() => T.value ? m.dataset.map((t, l) => ({
|
|
123
124
|
...t,
|
|
124
|
-
color: t.color ?
|
|
125
|
+
color: t.color ? Ye(t.color) : We(e.value.style.chart.bars.defaultColor, l / m.dataset.length)
|
|
125
126
|
})) : []);
|
|
126
127
|
setTimeout(() => {
|
|
127
128
|
$.value = !0;
|
|
@@ -137,8 +138,8 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
137
138
|
height: c.value.height - l - e.value.style.chart.padding.bottom
|
|
138
139
|
};
|
|
139
140
|
}
|
|
140
|
-
const k = h(he()),
|
|
141
|
-
const a =
|
|
141
|
+
const k = h(he()), S = d(() => k.value.height / m.dataset.length), x = d(() => S.value * e.value.style.chart.bars.gapRatio), fe = d(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), r = d(() => p.value.map((t, l) => {
|
|
142
|
+
const a = S.value - x.value, n = k.value.top + x.value / 2 * l + (S.value - x.value / 2) * l + x.value / 2, y = t.value / p.value[0].value, v = (k.value.width - a - fe.value) * (t.value / p.value[0].value);
|
|
142
143
|
return {
|
|
143
144
|
...t,
|
|
144
145
|
cx: k.value.left + a / 2,
|
|
@@ -152,43 +153,43 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
152
153
|
x: k.value.left + a + fe.value,
|
|
153
154
|
y: n
|
|
154
155
|
};
|
|
155
|
-
})),
|
|
156
|
-
const t = r.value.map((l) => `${l.x + l.width},${l.y + (
|
|
157
|
-
return `${r.value[0].x},${r.value[0].y + (
|
|
158
|
-
}),
|
|
156
|
+
})), ze = d(() => {
|
|
157
|
+
const t = r.value.map((l) => `${l.x + l.width},${l.y + (S.value - x.value) / 2}`);
|
|
158
|
+
return `${r.value[0].x},${r.value[0].y + (S.value - x.value) / 2} ${t.toString()} ${r.value.at(-1).x},${r.value.at(-1).y + (S.value - x.value) / 2}`;
|
|
159
|
+
}), Ne = d(() => ({
|
|
159
160
|
x1: r.value[0].cx,
|
|
160
161
|
y1: r.value[0].cy,
|
|
161
162
|
x2: r.value.at(-1).cx,
|
|
162
163
|
y2: r.value.at(-1).cy
|
|
163
164
|
})), F = h(!1);
|
|
164
|
-
function
|
|
165
|
+
function be(t) {
|
|
165
166
|
F.value = t, Q.value += 1;
|
|
166
167
|
}
|
|
167
168
|
const Pe = d(() => `${p.value.length * 150}ms`), M = h(!1);
|
|
168
169
|
function Y() {
|
|
169
170
|
M.value = !M.value;
|
|
170
171
|
}
|
|
171
|
-
function
|
|
172
|
-
|
|
172
|
+
function me() {
|
|
173
|
+
I.value.showTable = !I.value.showTable;
|
|
173
174
|
}
|
|
174
|
-
const
|
|
175
|
+
const D = d(() => {
|
|
175
176
|
const t = p.value.map((a) => ({
|
|
176
177
|
name: a.name,
|
|
177
178
|
color: a.color
|
|
178
179
|
})), l = p.value.map((a) => a.value);
|
|
179
180
|
return { head: t, body: l };
|
|
180
|
-
}),
|
|
181
|
+
}), E = d(() => {
|
|
181
182
|
const t = [
|
|
182
183
|
e.value.table.columnNames.series,
|
|
183
184
|
e.value.table.columnNames.value,
|
|
184
185
|
e.value.table.columnNames.percentage
|
|
185
|
-
], l =
|
|
186
|
-
const
|
|
186
|
+
], l = D.value.head.map((y, v) => {
|
|
187
|
+
const R = H(
|
|
187
188
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
188
|
-
|
|
189
|
+
D.value.body[v],
|
|
189
190
|
X({
|
|
190
191
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
191
|
-
v:
|
|
192
|
+
v: D.value.body[v],
|
|
192
193
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
193
194
|
r: e.value.table.td.roundingValue
|
|
194
195
|
}),
|
|
@@ -205,7 +206,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
205
206
|
);
|
|
206
207
|
return [
|
|
207
208
|
{ color: y.color, name: y.name },
|
|
208
|
-
|
|
209
|
+
R,
|
|
209
210
|
W
|
|
210
211
|
];
|
|
211
212
|
}), a = {
|
|
@@ -232,34 +233,41 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
232
233
|
config: a
|
|
233
234
|
};
|
|
234
235
|
});
|
|
235
|
-
function
|
|
236
|
-
|
|
237
|
-
const l =
|
|
236
|
+
function ye(t = null) {
|
|
237
|
+
Ge(() => {
|
|
238
|
+
const l = D.value.head.map((y, v) => [[
|
|
238
239
|
y.name
|
|
239
|
-
], [
|
|
240
|
-
t ? t(n) :
|
|
240
|
+
], [D.value.body[v]], [r.value[v].proportion * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(l), n = Ze(a);
|
|
241
|
+
t ? t(n) : et({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-funnel" });
|
|
241
242
|
});
|
|
242
243
|
}
|
|
243
|
-
function
|
|
244
|
+
function Ie() {
|
|
244
245
|
return p.value;
|
|
245
246
|
}
|
|
246
|
-
|
|
247
|
-
|
|
247
|
+
async function Fe({ scale: t = 2 } = {}) {
|
|
248
|
+
if (!_.value) return;
|
|
249
|
+
const { imageUri: l, base64: a } = await rt({ domElement: _.value, base64: !0, img: !0, scale: t });
|
|
250
|
+
return { imageUri: l, base64: a };
|
|
251
|
+
}
|
|
252
|
+
return we({
|
|
253
|
+
getData: Ie,
|
|
254
|
+
getImage: Fe,
|
|
248
255
|
generatePdf: ve,
|
|
249
|
-
generateCsv:
|
|
256
|
+
generateCsv: ye,
|
|
250
257
|
generateImage: de,
|
|
251
|
-
toggleTable:
|
|
252
|
-
toggleAnnotator: Y
|
|
258
|
+
toggleTable: me,
|
|
259
|
+
toggleAnnotator: Y,
|
|
260
|
+
toggleFullscreen: be
|
|
253
261
|
}), (t, l) => (o(), u("div", {
|
|
254
262
|
ref_key: "funnelChart",
|
|
255
|
-
ref:
|
|
256
|
-
class:
|
|
263
|
+
ref: _,
|
|
264
|
+
class: z(`vue-ui-funnel ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
257
265
|
style: L(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
258
|
-
id: `funnel_${
|
|
266
|
+
id: `funnel_${P.value}`,
|
|
259
267
|
onMouseenter: l[1] || (l[1] = () => s(ne)(!0)),
|
|
260
268
|
onMouseleave: l[2] || (l[2] = () => s(ne)(!1))
|
|
261
269
|
}, [
|
|
262
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
270
|
+
e.value.userOptions.buttons.annotator ? (o(), N(s(_e), {
|
|
263
271
|
key: 0,
|
|
264
272
|
svgRef: s(ue),
|
|
265
273
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -267,7 +275,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
267
275
|
active: M.value,
|
|
268
276
|
onClose: Y
|
|
269
277
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
270
|
-
|
|
278
|
+
Oe.value ? (o(), u("div", {
|
|
271
279
|
key: 1,
|
|
272
280
|
ref_key: "noTitle",
|
|
273
281
|
ref: te,
|
|
@@ -280,7 +288,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
280
288
|
ref: le,
|
|
281
289
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
282
290
|
}, [
|
|
283
|
-
(o(),
|
|
291
|
+
(o(), N(nt, {
|
|
284
292
|
key: `title_${Z.value}`,
|
|
285
293
|
config: {
|
|
286
294
|
title: {
|
|
@@ -294,14 +302,14 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
294
302
|
}
|
|
295
303
|
}, null, 8, ["config"]))
|
|
296
304
|
], 512)) : f("", !0),
|
|
297
|
-
e.value.userOptions.show &&
|
|
305
|
+
e.value.userOptions.show && T.value && (s(re) || s(q)) ? (o(), N(s(Te), {
|
|
298
306
|
ref: "details",
|
|
299
307
|
key: `user_option_${Q.value}`,
|
|
300
308
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
301
309
|
color: e.value.style.chart.color,
|
|
302
310
|
isPrinting: s(ie),
|
|
303
311
|
isImaging: s(ce),
|
|
304
|
-
uid:
|
|
312
|
+
uid: P.value,
|
|
305
313
|
hasTooltip: !1,
|
|
306
314
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
307
315
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -310,18 +318,19 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
310
318
|
hasLabel: !1,
|
|
311
319
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
312
320
|
isFullscreen: F.value,
|
|
313
|
-
chartElement:
|
|
321
|
+
chartElement: _.value,
|
|
314
322
|
position: e.value.userOptions.position,
|
|
315
323
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
316
324
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
317
325
|
isAnnotation: M.value,
|
|
318
326
|
callbacks: e.value.userOptions.callbacks,
|
|
327
|
+
printScale: e.value.userOptions.print.scale,
|
|
319
328
|
onToggleAnnotator: Y,
|
|
320
|
-
onToggleFullscreen:
|
|
329
|
+
onToggleFullscreen: be,
|
|
321
330
|
onGeneratePdf: s(ve),
|
|
322
331
|
onGenerateImage: s(de),
|
|
323
|
-
onToggleTable:
|
|
324
|
-
onGenerateCsv:
|
|
332
|
+
onToggleTable: me,
|
|
333
|
+
onGenerateCsv: ye,
|
|
325
334
|
style: L({
|
|
326
335
|
visibility: s(re) ? s(q) ? "visible" : "hidden" : "visible"
|
|
327
336
|
})
|
|
@@ -329,7 +338,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
329
338
|
t.$slots.menuIcon ? {
|
|
330
339
|
name: "menuIcon",
|
|
331
340
|
fn: g(({ isOpen: a, color: n }) => [
|
|
332
|
-
b(t.$slots, "menuIcon", B(
|
|
341
|
+
b(t.$slots, "menuIcon", V(B({ isOpen: a, color: n })), void 0, !0)
|
|
333
342
|
]),
|
|
334
343
|
key: "0"
|
|
335
344
|
} : void 0,
|
|
@@ -364,28 +373,28 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
364
373
|
t.$slots.optionFullscreen ? {
|
|
365
374
|
name: "optionFullscreen",
|
|
366
375
|
fn: g(({ toggleFullscreen: a, isFullscreen: n }) => [
|
|
367
|
-
b(t.$slots, "optionFullscreen", B(
|
|
376
|
+
b(t.$slots, "optionFullscreen", V(B({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
|
|
368
377
|
]),
|
|
369
378
|
key: "5"
|
|
370
379
|
} : void 0,
|
|
371
380
|
t.$slots.optionAnnotator ? {
|
|
372
381
|
name: "optionAnnotator",
|
|
373
382
|
fn: g(({ toggleAnnotator: a, isAnnotator: n }) => [
|
|
374
|
-
b(t.$slots, "optionAnnotator", B(
|
|
383
|
+
b(t.$slots, "optionAnnotator", V(B({ toggleAnnotator: a, isAnnotator: n })), void 0, !0)
|
|
375
384
|
]),
|
|
376
385
|
key: "6"
|
|
377
386
|
} : void 0
|
|
378
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
379
|
-
|
|
387
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
388
|
+
T.value ? (o(), u("svg", {
|
|
380
389
|
key: 4,
|
|
381
390
|
ref_key: "svgRef",
|
|
382
391
|
ref: ue,
|
|
383
|
-
xmlns: s(
|
|
384
|
-
class:
|
|
392
|
+
xmlns: s(Je),
|
|
393
|
+
class: z({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
385
394
|
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
386
395
|
style: L(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
387
396
|
}, [
|
|
388
|
-
Be(s(
|
|
397
|
+
Be(s(Le)),
|
|
389
398
|
t.$slots["chart-background"] ? (o(), u("foreignObject", {
|
|
390
399
|
key: 0,
|
|
391
400
|
x: 0,
|
|
@@ -397,10 +406,10 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
397
406
|
}
|
|
398
407
|
}, [
|
|
399
408
|
b(t.$slots, "chart-background", {}, void 0, !0)
|
|
400
|
-
], 8,
|
|
409
|
+
], 8, vt)) : f("", !0),
|
|
401
410
|
w("defs", null, [
|
|
402
411
|
w("linearGradient", {
|
|
403
|
-
id: `funnel_area_${
|
|
412
|
+
id: `funnel_area_${P.value}`,
|
|
404
413
|
x1: "0%",
|
|
405
414
|
x2: "100%",
|
|
406
415
|
y1: "0%",
|
|
@@ -410,18 +419,18 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
410
419
|
offset: "0%",
|
|
411
420
|
"stop-color": e.value.style.chart.backgroundColor,
|
|
412
421
|
"stop-opacity": 0
|
|
413
|
-
}, null, 8,
|
|
422
|
+
}, null, 8, ht),
|
|
414
423
|
w("stop", {
|
|
415
424
|
offset: "20%",
|
|
416
425
|
"stop-color": e.value.style.chart.area.color
|
|
417
|
-
}, null, 8,
|
|
426
|
+
}, null, 8, ft),
|
|
418
427
|
w("stop", {
|
|
419
428
|
offset: "100%",
|
|
420
429
|
"stop-color": e.value.style.chart.area.color
|
|
421
|
-
}, null, 8,
|
|
422
|
-
], 8,
|
|
430
|
+
}, null, 8, bt)
|
|
431
|
+
], 8, dt)
|
|
423
432
|
]),
|
|
424
|
-
e.value.style.chart.circleLinks.show ? (o(), u("line", J({ key: 1 },
|
|
433
|
+
e.value.style.chart.circleLinks.show ? (o(), u("line", J({ key: 1 }, Ne.value, {
|
|
425
434
|
stroke: e.value.style.chart.circleLinks.color,
|
|
426
435
|
"stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
|
|
427
436
|
"stroke-linecap": "round",
|
|
@@ -432,25 +441,25 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
432
441
|
strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
|
|
433
442
|
strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
|
|
434
443
|
}
|
|
435
|
-
}), null, 16,
|
|
436
|
-
(o(!0), u(U, null, G(r.value, ({ cx: a, cy: n, r: y, fill: v },
|
|
444
|
+
}), null, 16, mt)) : f("", !0),
|
|
445
|
+
(o(!0), u(U, null, G(r.value, ({ cx: a, cy: n, r: y, fill: v }, R) => (o(), u("circle", J({ ref_for: !0 }, { cx: a, cy: n, r: y, fill: v }, {
|
|
437
446
|
stroke: e.value.style.chart.circles.stroke,
|
|
438
447
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
439
448
|
class: {
|
|
440
449
|
animated: e.value.useCssAnimation && !$.value
|
|
441
450
|
},
|
|
442
451
|
style: {
|
|
443
|
-
animationDelay: `${150 *
|
|
452
|
+
animationDelay: `${150 * R}ms`
|
|
444
453
|
}
|
|
445
|
-
}), null, 16,
|
|
454
|
+
}), null, 16, yt))), 256)),
|
|
446
455
|
(o(!0), u(U, null, G(r.value, (a, n) => (o(), u("text", {
|
|
447
456
|
x: a.cx,
|
|
448
457
|
y: a.cy + i.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
|
|
449
458
|
"text-anchor": "middle",
|
|
450
459
|
"font-size": i.value.circles,
|
|
451
|
-
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(
|
|
460
|
+
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(Ke)(a.color) : e.value.style.chart.circles.dataLabels.color,
|
|
452
461
|
"font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
453
|
-
class:
|
|
462
|
+
class: z({
|
|
454
463
|
animated: e.value.useCssAnimation && !$.value
|
|
455
464
|
}),
|
|
456
465
|
style: L({
|
|
@@ -465,19 +474,19 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
465
474
|
r: e.value.style.chart.circles.dataLabels.rounding
|
|
466
475
|
}),
|
|
467
476
|
{ datapoint: a }
|
|
468
|
-
)), 15,
|
|
477
|
+
)), 15, gt))), 256)),
|
|
469
478
|
e.value.style.chart.area.show ? (o(), u("polygon", {
|
|
470
479
|
key: 2,
|
|
471
|
-
points:
|
|
472
|
-
fill: `url(#funnel_area_${
|
|
473
|
-
class:
|
|
480
|
+
points: ze.value,
|
|
481
|
+
fill: `url(#funnel_area_${P.value})`,
|
|
482
|
+
class: z({
|
|
474
483
|
animated: e.value.useCssAnimation && !$.value
|
|
475
484
|
}),
|
|
476
485
|
style: L({
|
|
477
486
|
transition: e.value.useCssAnimation ? `all ${150 * p.value.length}ms ease-in` : "none"
|
|
478
487
|
})
|
|
479
|
-
}, null, 14,
|
|
480
|
-
(o(!0), u(U, null, G(r.value, ({ x: a, y: n, height: y, width: v, fill:
|
|
488
|
+
}, null, 14, pt)) : f("", !0),
|
|
489
|
+
(o(!0), u(U, null, G(r.value, ({ x: a, y: n, height: y, width: v, fill: R }, W) => (o(), u("rect", J({ ref_for: !0 }, { x: a, y: n, height: y, width: v, fill: R }, {
|
|
481
490
|
stroke: e.value.style.chart.bars.stroke,
|
|
482
491
|
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
483
492
|
rx: e.value.style.chart.bars.borderRadius,
|
|
@@ -487,7 +496,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
487
496
|
style: {
|
|
488
497
|
animationDelay: `${150 * W}ms`
|
|
489
498
|
}
|
|
490
|
-
}), null, 16,
|
|
499
|
+
}), null, 16, kt))), 256)),
|
|
491
500
|
(o(!0), u(U, null, G(r.value, (a, n) => (o(), u("g", null, [
|
|
492
501
|
w("text", {
|
|
493
502
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
@@ -496,13 +505,13 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
496
505
|
"font-size": i.value.names,
|
|
497
506
|
fill: e.value.style.chart.bars.dataLabels.name.color,
|
|
498
507
|
"font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
499
|
-
class:
|
|
508
|
+
class: z({
|
|
500
509
|
animated: e.value.useCssAnimation && !$.value
|
|
501
510
|
}),
|
|
502
511
|
style: L({
|
|
503
512
|
animationDelay: `${150 * n}ms`
|
|
504
513
|
})
|
|
505
|
-
}, j(a.name), 15,
|
|
514
|
+
}, j(a.name), 15, Ct),
|
|
506
515
|
w("text", {
|
|
507
516
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
508
517
|
y: a.cy + i.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
|
|
@@ -510,7 +519,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
510
519
|
"font-size": i.value.values,
|
|
511
520
|
fill: e.value.style.chart.bars.dataLabels.value.color,
|
|
512
521
|
"font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
513
|
-
class:
|
|
522
|
+
class: z({
|
|
514
523
|
animated: e.value.useCssAnimation && !$.value
|
|
515
524
|
}),
|
|
516
525
|
style: L({
|
|
@@ -526,14 +535,14 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
526
535
|
r: e.value.style.chart.bars.dataLabels.value.rounding
|
|
527
536
|
}),
|
|
528
537
|
{ datapoint: a }
|
|
529
|
-
)), 15,
|
|
538
|
+
)), 15, wt)
|
|
530
539
|
]))), 256)),
|
|
531
540
|
b(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
532
|
-
], 14,
|
|
533
|
-
t.$slots.watermark ? (o(), u("div",
|
|
534
|
-
b(t.$slots, "watermark", B(
|
|
541
|
+
], 14, ct)) : f("", !0),
|
|
542
|
+
t.$slots.watermark ? (o(), u("div", $t, [
|
|
543
|
+
b(t.$slots, "watermark", V(B({ isPrinting: s(ie) || s(ce) })), void 0, !0)
|
|
535
544
|
])) : f("", !0),
|
|
536
|
-
|
|
545
|
+
T.value ? f("", !0) : (o(), N(s(Ae), {
|
|
537
546
|
key: 6,
|
|
538
547
|
config: {
|
|
539
548
|
type: "verticalBar",
|
|
@@ -556,11 +565,11 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
556
565
|
}, [
|
|
557
566
|
b(t.$slots, "source", {}, void 0, !0)
|
|
558
567
|
], 512)) : f("", !0),
|
|
559
|
-
|
|
568
|
+
T.value ? (o(), N(s($e), {
|
|
560
569
|
key: 8,
|
|
561
570
|
hideDetails: "",
|
|
562
571
|
config: {
|
|
563
|
-
open:
|
|
572
|
+
open: I.value.showTable,
|
|
564
573
|
maxHeight: 1e4,
|
|
565
574
|
body: {
|
|
566
575
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -573,32 +582,32 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
573
582
|
}
|
|
574
583
|
}, {
|
|
575
584
|
content: g(() => [
|
|
576
|
-
(o(),
|
|
585
|
+
(o(), N(s(xe), {
|
|
577
586
|
key: `table_${ee.value}`,
|
|
578
|
-
colNames:
|
|
579
|
-
head:
|
|
580
|
-
body:
|
|
581
|
-
config:
|
|
587
|
+
colNames: E.value.colNames,
|
|
588
|
+
head: E.value.head,
|
|
589
|
+
body: E.value.body,
|
|
590
|
+
config: E.value.config,
|
|
582
591
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
583
|
-
onClose: l[0] || (l[0] = (a) =>
|
|
592
|
+
onClose: l[0] || (l[0] = (a) => I.value.showTable = !1)
|
|
584
593
|
}, {
|
|
585
594
|
th: g(({ th: a }) => [
|
|
586
595
|
w("div", {
|
|
587
596
|
innerHTML: a,
|
|
588
597
|
style: { display: "flex", "align-items": "center" }
|
|
589
|
-
}, null, 8,
|
|
598
|
+
}, null, 8, xt)
|
|
590
599
|
]),
|
|
591
600
|
td: g(({ td: a }) => [
|
|
592
|
-
|
|
601
|
+
Ue(j(a.name ? a.name : a), 1)
|
|
593
602
|
]),
|
|
594
603
|
_: 1
|
|
595
604
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
596
605
|
]),
|
|
597
606
|
_: 1
|
|
598
607
|
}, 8, ["config"])) : f("", !0)
|
|
599
|
-
], 46,
|
|
608
|
+
], 46, it));
|
|
600
609
|
}
|
|
601
|
-
},
|
|
610
|
+
}, Dt = /* @__PURE__ */ ut(Lt, [["__scopeId", "data-v-eff0c793"]]);
|
|
602
611
|
export {
|
|
603
|
-
|
|
612
|
+
Dt as default
|
|
604
613
|
};
|