vue-data-ui 2.17.0 → 2.17.1
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 +2 -1
- package/dist/{Arrow-BAEkZGzL.js → Arrow-BDCVJzQB.js} +1 -1
- package/dist/{BaseDraggableDialog-ChCkcmj_.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
- package/dist/{BaseIcon-naqtCxVi.js → BaseIcon-D9Tz8ARD.js} +1 -1
- package/dist/{ColorPicker-CfIPgxcj.js → ColorPicker-wGf46G2G.js} +2 -2
- package/dist/{DataTable-D0VYDhfx.js → DataTable-Dt-TIOyY.js} +2 -2
- package/dist/{Legend-Bxlv67uY.js → Legend-3LNqqLDg.js} +2 -2
- package/dist/{NonSvgPenAndPaper-b_oVy-Dd.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
- package/dist/{PackageVersion-5TR4ocqp.js → PackageVersion-C-4Ee8BQ.js} +1 -1
- package/dist/{PenAndPaper-D6AqipIO.js → PenAndPaper-Cde-wJ3N.js} +3 -3
- package/dist/{Shape-DtFT5EJa.js → Shape-C75836Jl.js} +1 -1
- package/dist/{Slicer-CL6-MRI6.js → Slicer-CpSu7plp.js} +2 -2
- package/dist/{SparkTooltip-Bcv1aoA5.js → SparkTooltip-B_GXa2tb.js} +1 -1
- package/dist/{Title-B-2bV0SW.js → Title-DpERl1yr.js} +1 -1
- package/dist/{Tooltip-CoQnTnr-.js → Tooltip-DA0bYKFG.js} +1 -1
- package/dist/{UserOptions-Dd34lEKb.js → UserOptions-DTEJ3UM_.js} +2 -2
- package/dist/{dom-to-png-2AA0wHlX.js → dom-to-png-DWDGYXFL.js} +1 -1
- package/dist/{img-Y_hYz-ZC.js → img-utitT2Gd.js} +1 -1
- package/dist/{index-pPGk-uhD.js → index-CobsZUkv.js} +22 -8
- package/dist/{pdf-yfk3d1is.js → pdf-DWZ8IB56.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +63 -160
- package/dist/types/vue-data-ui.d.ts +63 -160
- package/dist/{useNestedProp-DjACxgdZ.js → useNestedProp-BwL5wmVa.js} +1 -1
- package/dist/{usePrinter-DDHcrl0A.js → usePrinter-DPh6U_Qk.js} +2 -2
- package/dist/{vue-data-ui-CIWxgKjd.js → vue-data-ui-D7ZgRDQ_.js} +63 -63
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D5Wpdqfk.js → vue-ui-3d-bar-ORUAjkg7.js} +41 -34
- package/dist/{vue-ui-accordion-CVnA550V.js → vue-ui-accordion-UewqY6OI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BuAl-zC5.js → vue-ui-age-pyramid-Yl4aRpNc.js} +134 -127
- package/dist/{vue-ui-annotator-gl2A20m3.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
- package/dist/{vue-ui-bullet-D-VMKpwe.js → vue-ui-bullet-C307lCPt.js} +90 -83
- package/dist/{vue-ui-candlestick-1r6YwiUV.js → vue-ui-candlestick-BE6PcEdh.js} +101 -94
- package/dist/{vue-ui-carousel-table-B6UJoNtP.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
- package/dist/{vue-ui-chestnut-DnlBYpC5.js → vue-ui-chestnut-CUw74AgC.js} +270 -263
- package/dist/{vue-ui-chord-D3kpzYjp.js → vue-ui-chord-CCPGeAiY.js} +60 -53
- package/dist/{vue-ui-circle-pack-CHgdpoYu.js → vue-ui-circle-pack-dfyPiQmy.js} +121 -114
- package/dist/{vue-ui-cursor-63EAvElT.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
- package/dist/{vue-ui-dashboard-Da6CPET-.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
- package/dist/{vue-ui-digits-CA8pUKej.js → vue-ui-digits-7qJFCuoI.js} +2 -2
- package/dist/{vue-ui-donut-CKa7nFjt.js → vue-ui-donut-D41WeqQU.js} +244 -243
- package/dist/{vue-ui-donut-evolution-qeBEA4W8.js → vue-ui-donut-evolution-Deg0dsYg.js} +215 -211
- package/dist/{vue-ui-dumbbell-Bm0PvAKT.js → vue-ui-dumbbell-DDwNoTPG.js} +117 -110
- package/dist/{vue-ui-flow-C2dqXvrU.js → vue-ui-flow-6oR7IMyi.js} +105 -98
- package/dist/{vue-ui-funnel-Dvy5rRld.js → vue-ui-funnel-BnXtOJmh.js} +138 -131
- package/dist/{vue-ui-galaxy-Y8LYp5n2.js → vue-ui-galaxy-75XC8SpV.js} +150 -146
- package/dist/{vue-ui-gauge-BBo0jWAP.js → vue-ui-gauge-w31j915C.js} +125 -118
- package/dist/{vue-ui-gizmo-DjXfTOWn.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
- package/dist/{vue-ui-heatmap-BbxRpltP.js → vue-ui-heatmap-BfU62tMW.js} +155 -148
- package/dist/{vue-ui-history-plot-ChYf3Nvc.js → vue-ui-history-plot-CFfco-Yj.js} +141 -134
- package/dist/{vue-ui-kpi-Vfc5-JnE.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
- package/dist/{vue-ui-mini-loader-C0-Nsz8K.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
- package/dist/{vue-ui-molecule-B7Yu7vzF.js → vue-ui-molecule-Tdk3Gd8M.js} +141 -134
- package/dist/{vue-ui-mood-radar-C8JUTwNw.js → vue-ui-mood-radar-Dg5wS7W5.js} +126 -119
- package/dist/{vue-ui-nested-donuts-D0RgFifU.js → vue-ui-nested-donuts-CpRe0sQB.js} +244 -244
- package/dist/{vue-ui-onion-D4U7TL_N.js → vue-ui-onion-B8o4ft2v.js} +88 -81
- package/dist/{vue-ui-parallel-coordinate-plot-CXMT7Rjr.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +123 -116
- package/dist/{vue-ui-quadrant-B13pTVVZ.js → vue-ui-quadrant-DiRtZ16w.js} +151 -144
- package/dist/{vue-ui-quick-chart-C0UL4o63.js → vue-ui-quick-chart-BRlYC_yT.js} +39 -32
- package/dist/{vue-ui-radar-XpdiXnhz.js → vue-ui-radar-DKgX1Ibx.js} +58 -51
- package/dist/{vue-ui-rating-CM8ZrUb1.js → vue-ui-rating-DlklKr-X.js} +2 -2
- package/dist/{vue-ui-relation-circle-CYoFNekk.js → vue-ui-relation-circle-MHiAp8dC.js} +127 -120
- package/dist/{vue-ui-ridgeline-QUquE6ck.js → vue-ui-ridgeline-DA8verAe.js} +98 -91
- package/dist/{vue-ui-rings-DwT0IfOh.js → vue-ui-rings-Dh6lFqun.js} +208 -204
- package/dist/{vue-ui-scatter-zDpy1udm.js → vue-ui-scatter-CLC5sTOi.js} +172 -165
- package/dist/{vue-ui-skeleton-DJPjyNYn.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
- package/dist/{vue-ui-smiley-DoDXl6k0.js → vue-ui-smiley-utuzw8uI.js} +2 -2
- package/dist/{vue-ui-spark-trend-CniV6Cpr.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
- package/dist/{vue-ui-sparkbar-Ds2ITgwn.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CosfK-kw.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C7O1wPAJ.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
- package/dist/{vue-ui-sparkline-B_iUj3F2.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DBhWrysr.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
- package/dist/{vue-ui-stackbar-C3aV4IcL.js → vue-ui-stackbar-C6rjCYDD.js} +61 -54
- package/dist/{vue-ui-strip-plot-Bvr1GAzH.js → vue-ui-strip-plot-B6cYojHQ.js} +116 -109
- package/dist/{vue-ui-table-DQKKRgyo.js → vue-ui-table-IC7SmWVd.js} +3 -3
- package/dist/{vue-ui-table-heatmap-Dyqj5XJC.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D4RubyLj.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
- package/dist/{vue-ui-thermometer-B0FKI5cG.js → vue-ui-thermometer-D-oiVT3n.js} +88 -81
- package/dist/{vue-ui-timer-DUCBRIl-.js → vue-ui-timer-C9jVyX5l.js} +5 -5
- package/dist/{vue-ui-tiremarks-CRt4UQZD.js → vue-ui-tiremarks-B1bM9Aoo.js} +127 -120
- package/dist/vue-ui-treemap-DX48YlU5.js +965 -0
- package/dist/{vue-ui-vertical-bar-C5fPYltO.js → vue-ui-vertical-bar-6SjKPQWR.js} +233 -226
- package/dist/{vue-ui-waffle-BpWLlfpg.js → vue-ui-waffle-CYao9MMw.js} +183 -179
- package/dist/{vue-ui-wheel-CTzuCroy.js → vue-ui-wheel-USuDhMwW.js} +121 -114
- package/dist/{vue-ui-word-cloud-BPokdaP1.js → vue-ui-word-cloud-TOBTs7yF.js} +152 -145
- package/dist/{vue-ui-world-CS6k-oil.js → vue-ui-world-C2qikqBa.js} +77 -70
- package/dist/{vue-ui-xy-CQ425kLR.js → vue-ui-xy-DxwgKoO-.js} +229 -222
- package/dist/{vue-ui-xy-canvas-D2IFwAr7.js → vue-ui-xy-canvas-N69OpVn8.js} +154 -147
- package/package.json +1 -1
- package/dist/vue-ui-treemap-CWP5nYDx.js +0 -961
|
@@ -1,12 +1,12 @@
|
|
|
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
|
|
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-
|
|
3
|
-
import { u as ke } from "./useNestedProp-
|
|
4
|
-
import { u as tt } from "./usePrinter-
|
|
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 Be, createElementBlock as i, openBlock as n, unref as s, normalizeStyle as _, normalizeClass as z, createBlock as N, createCommentVNode as b, createSlots as Ee, withCtx as g, renderSlot as m, normalizeProps as E, guardReactiveProps as V, createVNode as Ve, 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-CobsZUkv.js";
|
|
3
|
+
import { u as ke } from "./useNestedProp-BwL5wmVa.js";
|
|
4
|
+
import { u as tt } from "./usePrinter-DPh6U_Qk.js";
|
|
5
5
|
import { t as at, u as lt } from "./useResponsive-DfdjqQps.js";
|
|
6
6
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { u as ot } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
-
import nt from "./Title-
|
|
9
|
-
import rt from "./img-
|
|
8
|
+
import nt from "./Title-DpERl1yr.js";
|
|
9
|
+
import rt from "./img-utitT2Gd.js";
|
|
10
10
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
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 = {
|
|
12
12
|
key: 5,
|
|
@@ -29,15 +29,15 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
29
29
|
},
|
|
30
30
|
setup(Ce, { expose: we }) {
|
|
31
31
|
De((t) => ({
|
|
32
|
-
"
|
|
32
|
+
"5b02cfb2": Pe.value
|
|
33
33
|
}));
|
|
34
|
-
const $e = O(() => import("./vue-ui-accordion-
|
|
34
|
+
const $e = O(() => import("./vue-ui-accordion-UewqY6OI.js")), xe = O(() => import("./DataTable-Dt-TIOyY.js")), Le = O(() => import("./PackageVersion-C-4Ee8BQ.js")), _e = O(() => import("./PenAndPaper-Cde-wJ3N.js")), Ae = O(() => import("./vue-ui-skeleton-8s4xts8z.js")), Te = O(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_funnel: Se } = je(), y = 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), x = h(!1), T = d(() => !!y.dataset && y.dataset.length);
|
|
35
35
|
Re(se);
|
|
36
36
|
function se() {
|
|
37
|
-
if (Xe(
|
|
37
|
+
if (Xe(y.dataset) ? pe({
|
|
38
38
|
componentName: "VueUiFunnel",
|
|
39
39
|
type: "dataset"
|
|
40
|
-
}) :
|
|
40
|
+
}) : y.dataset.forEach((t, l) => {
|
|
41
41
|
qe({
|
|
42
42
|
datasetObject: t,
|
|
43
43
|
requiredAttributes: ["name", "value"]
|
|
@@ -52,34 +52,34 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
52
52
|
}), e.value.responsive) {
|
|
53
53
|
const t = at(() => {
|
|
54
54
|
const { width: l, height: a } = lt({
|
|
55
|
-
chart:
|
|
55
|
+
chart: $.value,
|
|
56
56
|
title: e.value.style.chart.title.text ? le.value : null,
|
|
57
57
|
source: ae.value,
|
|
58
58
|
noTitle: te.value
|
|
59
59
|
});
|
|
60
60
|
requestAnimationFrame(() => {
|
|
61
|
-
|
|
61
|
+
v.value.height = a, v.value.width = l, k.value = he(), e.value.responsiveProportionalSizing ? (c.value.circles = K({
|
|
62
62
|
relator: Math.min(l, a),
|
|
63
63
|
adjuster: 600,
|
|
64
64
|
source: e.value.style.chart.circles.dataLabels.fontSize,
|
|
65
65
|
threshold: 10,
|
|
66
66
|
fallback: 10
|
|
67
|
-
}),
|
|
67
|
+
}), c.value.names = K({
|
|
68
68
|
relator: Math.min(l, a),
|
|
69
69
|
adjuster: 600,
|
|
70
70
|
source: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
71
71
|
threshold: 10,
|
|
72
72
|
fallback: 10
|
|
73
|
-
}),
|
|
73
|
+
}), c.value.values = K({
|
|
74
74
|
relator: Math.min(l, a),
|
|
75
75
|
adjuster: 600,
|
|
76
76
|
source: e.value.style.chart.bars.dataLabels.value.fontSize,
|
|
77
77
|
threshold: 10,
|
|
78
78
|
fallback: 10
|
|
79
|
-
})) : (
|
|
79
|
+
})) : (c.value.circles = e.value.style.chart.circles.dataLabels.fontSize, c.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, c.value.values = e.value.style.chart.bars.dataLabels.value.fontSize);
|
|
80
80
|
});
|
|
81
81
|
});
|
|
82
|
-
C.value && (A.value && C.value.unobserve(A.value), C.value.disconnect()), C.value = new ResizeObserver(t), A.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);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
Me(() => {
|
|
@@ -87,12 +87,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
87
87
|
});
|
|
88
88
|
function oe() {
|
|
89
89
|
const t = ke({
|
|
90
|
-
userConfig:
|
|
90
|
+
userConfig: y.config,
|
|
91
91
|
defaultConfig: Se
|
|
92
92
|
});
|
|
93
93
|
return t.theme ? {
|
|
94
94
|
...ke({
|
|
95
|
-
userConfig: Qe.vue_ui_funnel[t.theme] ||
|
|
95
|
+
userConfig: Qe.vue_ui_funnel[t.theme] || y.config,
|
|
96
96
|
defaultConfig: t
|
|
97
97
|
})
|
|
98
98
|
} : t;
|
|
@@ -101,8 +101,8 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
101
101
|
get: () => oe(),
|
|
102
102
|
set: (t) => t
|
|
103
103
|
}), { userOptionsVisible: q, setUserOptionsVisibility: ne, keepUserOptionState: re } = st({ config: e.value }), { svgRef: ue } = ot({ config: e.value.style.chart.title });
|
|
104
|
-
|
|
105
|
-
e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1,
|
|
104
|
+
Be(() => y.config, (t) => {
|
|
105
|
+
e.value = oe(), q.value = !e.value.userOptions.showOnChartHover, se(), Z.value += 1, ee.value += 1, c.value.circles = e.value.style.chart.circles.dataLabels.fontSize, c.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, c.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, I.value.showTable = e.value.table.show;
|
|
106
106
|
}, { deep: !0 });
|
|
107
107
|
const { isPrinting: ie, isImaging: ce, generatePdf: ve, generateImage: de } = tt({
|
|
108
108
|
elementId: `funnel_${P.value}`,
|
|
@@ -110,52 +110,52 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
110
110
|
options: e.value.userOptions.print
|
|
111
111
|
}), Oe = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), I = h({
|
|
112
112
|
showTable: e.value.table.show
|
|
113
|
-
}),
|
|
113
|
+
}), c = h({
|
|
114
114
|
circles: e.value.style.chart.circles.dataLabels.fontSize,
|
|
115
115
|
names: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
116
116
|
values: e.value.style.chart.bars.dataLabels.value.fontSize
|
|
117
|
-
}),
|
|
117
|
+
}), v = d({
|
|
118
118
|
get: () => ({
|
|
119
119
|
height: e.value.style.chart.height,
|
|
120
120
|
width: e.value.style.chart.width
|
|
121
121
|
}),
|
|
122
122
|
set: (t) => t
|
|
123
|
-
}), p = d(() => T.value ?
|
|
123
|
+
}), p = d(() => T.value ? y.dataset.map((t, l) => ({
|
|
124
124
|
...t,
|
|
125
|
-
color: t.color ? Ye(t.color) : We(e.value.style.chart.bars.defaultColor, l /
|
|
125
|
+
color: t.color ? Ye(t.color) : We(e.value.style.chart.bars.defaultColor, l / y.dataset.length)
|
|
126
126
|
})) : []);
|
|
127
127
|
setTimeout(() => {
|
|
128
|
-
|
|
128
|
+
x.value = !0;
|
|
129
129
|
}, p.value.length * 150);
|
|
130
130
|
function he() {
|
|
131
131
|
const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
|
|
132
132
|
return {
|
|
133
133
|
left: t,
|
|
134
134
|
top: l,
|
|
135
|
-
right:
|
|
136
|
-
bottom:
|
|
137
|
-
width:
|
|
138
|
-
height:
|
|
135
|
+
right: v.value.width - e.value.style.chart.padding.right,
|
|
136
|
+
bottom: v.value.height - e.value.style.chart.padding.bottom,
|
|
137
|
+
width: v.value.width - t - e.value.style.chart.padding.right,
|
|
138
|
+
height: v.value.height - l - e.value.style.chart.padding.bottom
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
const k = h(he()), S = d(() => k.value.height /
|
|
142
|
-
const a = S.value -
|
|
141
|
+
const k = h(he()), S = d(() => k.value.height / y.dataset.length), L = 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 - L.value, o = k.value.top + L.value / 2 * l + (S.value - L.value / 2) * l + L.value / 2, f = t.value / p.value[0].value, u = (k.value.width - a - fe.value) * (t.value / p.value[0].value);
|
|
143
143
|
return {
|
|
144
144
|
...t,
|
|
145
145
|
cx: k.value.left + a / 2,
|
|
146
|
-
cy:
|
|
146
|
+
cy: o + a / 2,
|
|
147
147
|
datapointIndex: l,
|
|
148
148
|
fill: t.color,
|
|
149
149
|
height: Math.max(a, 0),
|
|
150
|
-
proportion:
|
|
150
|
+
proportion: f,
|
|
151
151
|
r: Math.max(a / 2, 0),
|
|
152
|
-
width: Math.max(
|
|
152
|
+
width: Math.max(u, 0),
|
|
153
153
|
x: k.value.left + a + fe.value,
|
|
154
|
-
y:
|
|
154
|
+
y: o
|
|
155
155
|
};
|
|
156
156
|
})), ze = d(() => {
|
|
157
|
-
const t = r.value.map((l) => `${l.x + l.width},${l.y + (S.value -
|
|
158
|
-
return `${r.value[0].x},${r.value[0].y + (S.value -
|
|
157
|
+
const t = r.value.map((l) => `${l.x + l.width},${l.y + (S.value - L.value) / 2}`);
|
|
158
|
+
return `${r.value[0].x},${r.value[0].y + (S.value - L.value) / 2} ${t.toString()} ${r.value.at(-1).x},${r.value.at(-1).y + (S.value - L.value) / 2}`;
|
|
159
159
|
}), Ne = d(() => ({
|
|
160
160
|
x1: r.value[0].cx,
|
|
161
161
|
y1: r.value[0].cy,
|
|
@@ -178,34 +178,34 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
178
178
|
color: a.color
|
|
179
179
|
})), l = p.value.map((a) => a.value);
|
|
180
180
|
return { head: t, body: l };
|
|
181
|
-
}),
|
|
181
|
+
}), B = d(() => {
|
|
182
182
|
const t = [
|
|
183
183
|
e.value.table.columnNames.series,
|
|
184
184
|
e.value.table.columnNames.value,
|
|
185
185
|
e.value.table.columnNames.percentage
|
|
186
|
-
], l = D.value.head.map((
|
|
186
|
+
], l = D.value.head.map((f, u) => {
|
|
187
187
|
const R = H(
|
|
188
188
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
189
|
-
D.value.body[
|
|
189
|
+
D.value.body[u],
|
|
190
190
|
X({
|
|
191
191
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
192
|
-
v: D.value.body[
|
|
192
|
+
v: D.value.body[u],
|
|
193
193
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
194
194
|
r: e.value.table.td.roundingValue
|
|
195
195
|
}),
|
|
196
|
-
{ datapoint: r.value[
|
|
196
|
+
{ datapoint: r.value[u] }
|
|
197
197
|
), W = H(
|
|
198
198
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
199
|
-
r.value[
|
|
199
|
+
r.value[u].proportion * 100,
|
|
200
200
|
X({
|
|
201
|
-
v: r.value[
|
|
201
|
+
v: r.value[u].proportion * 100,
|
|
202
202
|
s: "%",
|
|
203
203
|
r: e.value.table.td.roundingPercentage
|
|
204
204
|
}),
|
|
205
|
-
{ datapoint: r.value[
|
|
205
|
+
{ datapoint: r.value[u] }
|
|
206
206
|
);
|
|
207
207
|
return [
|
|
208
|
-
{ color:
|
|
208
|
+
{ color: f.color, name: f.name },
|
|
209
209
|
R,
|
|
210
210
|
W
|
|
211
211
|
];
|
|
@@ -235,19 +235,26 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
235
235
|
});
|
|
236
236
|
function ye(t = null) {
|
|
237
237
|
Ge(() => {
|
|
238
|
-
const l = D.value.head.map((
|
|
239
|
-
|
|
240
|
-
], [D.value.body[
|
|
241
|
-
t ? t(
|
|
238
|
+
const l = D.value.head.map((f, u) => [[
|
|
239
|
+
f.name
|
|
240
|
+
], [D.value.body[u]], [r.value[u].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), o = Ze(a);
|
|
241
|
+
t ? t(o) : et({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-funnel" });
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
244
|
function Ie() {
|
|
245
245
|
return p.value;
|
|
246
246
|
}
|
|
247
247
|
async function Fe({ scale: t = 2 } = {}) {
|
|
248
|
-
if (
|
|
249
|
-
const {
|
|
250
|
-
return {
|
|
248
|
+
if (!$.value) return;
|
|
249
|
+
const { width: l, height: a } = $.value.getBoundingClientRect(), o = l / a, { imageUri: f, base64: u } = await rt({ domElement: $.value, base64: !0, img: !0, scale: t });
|
|
250
|
+
return {
|
|
251
|
+
imageUri: f,
|
|
252
|
+
base64: u,
|
|
253
|
+
title: e.value.style.chart.title.text,
|
|
254
|
+
width: l,
|
|
255
|
+
height: a,
|
|
256
|
+
aspectRatio: o
|
|
257
|
+
};
|
|
251
258
|
}
|
|
252
259
|
return we({
|
|
253
260
|
getData: Ie,
|
|
@@ -258,37 +265,37 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
258
265
|
toggleTable: me,
|
|
259
266
|
toggleAnnotator: Y,
|
|
260
267
|
toggleFullscreen: be
|
|
261
|
-
}), (t, l) => (
|
|
268
|
+
}), (t, l) => (n(), i("div", {
|
|
262
269
|
ref_key: "funnelChart",
|
|
263
|
-
ref:
|
|
270
|
+
ref: $,
|
|
264
271
|
class: z(`vue-ui-funnel ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
265
|
-
style:
|
|
272
|
+
style: _(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
266
273
|
id: `funnel_${P.value}`,
|
|
267
274
|
onMouseenter: l[1] || (l[1] = () => s(ne)(!0)),
|
|
268
275
|
onMouseleave: l[2] || (l[2] = () => s(ne)(!1))
|
|
269
276
|
}, [
|
|
270
|
-
e.value.userOptions.buttons.annotator ? (
|
|
277
|
+
e.value.userOptions.buttons.annotator ? (n(), N(s(_e), {
|
|
271
278
|
key: 0,
|
|
272
279
|
svgRef: s(ue),
|
|
273
280
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
274
281
|
color: e.value.style.chart.color,
|
|
275
282
|
active: M.value,
|
|
276
283
|
onClose: Y
|
|
277
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
278
|
-
Oe.value ? (
|
|
284
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
|
|
285
|
+
Oe.value ? (n(), i("div", {
|
|
279
286
|
key: 1,
|
|
280
287
|
ref_key: "noTitle",
|
|
281
288
|
ref: te,
|
|
282
289
|
class: "vue-data-ui-no-title-space",
|
|
283
290
|
style: "height:36px; width: 100%;background:transparent"
|
|
284
|
-
}, null, 512)) :
|
|
285
|
-
e.value.style.chart.title.text ? (
|
|
291
|
+
}, null, 512)) : b("", !0),
|
|
292
|
+
e.value.style.chart.title.text ? (n(), i("div", {
|
|
286
293
|
key: 2,
|
|
287
294
|
ref_key: "chartTitle",
|
|
288
295
|
ref: le,
|
|
289
296
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
290
297
|
}, [
|
|
291
|
-
(
|
|
298
|
+
(n(), N(nt, {
|
|
292
299
|
key: `title_${Z.value}`,
|
|
293
300
|
config: {
|
|
294
301
|
title: {
|
|
@@ -301,8 +308,8 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
301
308
|
}
|
|
302
309
|
}
|
|
303
310
|
}, null, 8, ["config"]))
|
|
304
|
-
], 512)) :
|
|
305
|
-
e.value.userOptions.show && T.value && (s(re) || s(q)) ? (
|
|
311
|
+
], 512)) : b("", !0),
|
|
312
|
+
e.value.userOptions.show && T.value && (s(re) || s(q)) ? (n(), N(s(Te), {
|
|
306
313
|
ref: "details",
|
|
307
314
|
key: `user_option_${Q.value}`,
|
|
308
315
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -318,7 +325,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
318
325
|
hasLabel: !1,
|
|
319
326
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
320
327
|
isFullscreen: F.value,
|
|
321
|
-
chartElement:
|
|
328
|
+
chartElement: $.value,
|
|
322
329
|
position: e.value.userOptions.position,
|
|
323
330
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
324
331
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
@@ -331,82 +338,82 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
331
338
|
onGenerateImage: s(de),
|
|
332
339
|
onToggleTable: me,
|
|
333
340
|
onGenerateCsv: ye,
|
|
334
|
-
style:
|
|
341
|
+
style: _({
|
|
335
342
|
visibility: s(re) ? s(q) ? "visible" : "hidden" : "visible"
|
|
336
343
|
})
|
|
337
|
-
},
|
|
344
|
+
}, Ee({ _: 2 }, [
|
|
338
345
|
t.$slots.menuIcon ? {
|
|
339
346
|
name: "menuIcon",
|
|
340
|
-
fn: g(({ isOpen: a, color:
|
|
341
|
-
|
|
347
|
+
fn: g(({ isOpen: a, color: o }) => [
|
|
348
|
+
m(t.$slots, "menuIcon", E(V({ isOpen: a, color: o })), void 0, !0)
|
|
342
349
|
]),
|
|
343
350
|
key: "0"
|
|
344
351
|
} : void 0,
|
|
345
352
|
t.$slots.optionPdf ? {
|
|
346
353
|
name: "optionPdf",
|
|
347
354
|
fn: g(() => [
|
|
348
|
-
|
|
355
|
+
m(t.$slots, "optionPdf", {}, void 0, !0)
|
|
349
356
|
]),
|
|
350
357
|
key: "1"
|
|
351
358
|
} : void 0,
|
|
352
359
|
t.$slots.optionCsv ? {
|
|
353
360
|
name: "optionCsv",
|
|
354
361
|
fn: g(() => [
|
|
355
|
-
|
|
362
|
+
m(t.$slots, "optionCsv", {}, void 0, !0)
|
|
356
363
|
]),
|
|
357
364
|
key: "2"
|
|
358
365
|
} : void 0,
|
|
359
366
|
t.$slots.optionImg ? {
|
|
360
367
|
name: "optionImg",
|
|
361
368
|
fn: g(() => [
|
|
362
|
-
|
|
369
|
+
m(t.$slots, "optionImg", {}, void 0, !0)
|
|
363
370
|
]),
|
|
364
371
|
key: "3"
|
|
365
372
|
} : void 0,
|
|
366
373
|
t.$slots.optionTable ? {
|
|
367
374
|
name: "optionTable",
|
|
368
375
|
fn: g(() => [
|
|
369
|
-
|
|
376
|
+
m(t.$slots, "optionTable", {}, void 0, !0)
|
|
370
377
|
]),
|
|
371
378
|
key: "4"
|
|
372
379
|
} : void 0,
|
|
373
380
|
t.$slots.optionFullscreen ? {
|
|
374
381
|
name: "optionFullscreen",
|
|
375
|
-
fn: g(({ toggleFullscreen: a, isFullscreen:
|
|
376
|
-
|
|
382
|
+
fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
383
|
+
m(t.$slots, "optionFullscreen", E(V({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
377
384
|
]),
|
|
378
385
|
key: "5"
|
|
379
386
|
} : void 0,
|
|
380
387
|
t.$slots.optionAnnotator ? {
|
|
381
388
|
name: "optionAnnotator",
|
|
382
|
-
fn: g(({ toggleAnnotator: a, isAnnotator:
|
|
383
|
-
|
|
389
|
+
fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
390
|
+
m(t.$slots, "optionAnnotator", E(V({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
384
391
|
]),
|
|
385
392
|
key: "6"
|
|
386
393
|
} : void 0
|
|
387
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
388
|
-
T.value ? (
|
|
394
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
|
|
395
|
+
T.value ? (n(), i("svg", {
|
|
389
396
|
key: 4,
|
|
390
397
|
ref_key: "svgRef",
|
|
391
398
|
ref: ue,
|
|
392
399
|
xmlns: s(Je),
|
|
393
400
|
class: z({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
394
|
-
viewBox: `0 0 ${
|
|
395
|
-
style:
|
|
401
|
+
viewBox: `0 0 ${v.value.width <= 0 ? 10 : v.value.width} ${v.value.height <= 0 ? 10 : v.value.height}`,
|
|
402
|
+
style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
396
403
|
}, [
|
|
397
|
-
|
|
398
|
-
t.$slots["chart-background"] ? (
|
|
404
|
+
Ve(s(Le)),
|
|
405
|
+
t.$slots["chart-background"] ? (n(), i("foreignObject", {
|
|
399
406
|
key: 0,
|
|
400
407
|
x: 0,
|
|
401
408
|
y: 0,
|
|
402
|
-
width:
|
|
403
|
-
height:
|
|
409
|
+
width: v.value.width <= 0 ? 10 : v.value.width,
|
|
410
|
+
height: v.value.height <= 0 ? 10 : v.value.height,
|
|
404
411
|
style: {
|
|
405
412
|
pointerEvents: "none"
|
|
406
413
|
}
|
|
407
414
|
}, [
|
|
408
|
-
|
|
409
|
-
], 8, vt)) :
|
|
415
|
+
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
416
|
+
], 8, vt)) : b("", !0),
|
|
410
417
|
w("defs", null, [
|
|
411
418
|
w("linearGradient", {
|
|
412
419
|
id: `funnel_area_${P.value}`,
|
|
@@ -430,7 +437,7 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
430
437
|
}, null, 8, bt)
|
|
431
438
|
], 8, dt)
|
|
432
439
|
]),
|
|
433
|
-
e.value.style.chart.circleLinks.show ? (
|
|
440
|
+
e.value.style.chart.circleLinks.show ? (n(), i("line", J({ key: 1 }, Ne.value, {
|
|
434
441
|
stroke: e.value.style.chart.circleLinks.color,
|
|
435
442
|
"stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
|
|
436
443
|
"stroke-linecap": "round",
|
|
@@ -441,29 +448,29 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
441
448
|
strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
|
|
442
449
|
strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
|
|
443
450
|
}
|
|
444
|
-
}), null, 16, mt)) :
|
|
445
|
-
(
|
|
451
|
+
}), null, 16, mt)) : b("", !0),
|
|
452
|
+
(n(!0), i(U, null, G(r.value, ({ cx: a, cy: o, r: f, fill: u }, R) => (n(), i("circle", J({ ref_for: !0 }, { cx: a, cy: o, r: f, fill: u }, {
|
|
446
453
|
stroke: e.value.style.chart.circles.stroke,
|
|
447
454
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
448
455
|
class: {
|
|
449
|
-
animated: e.value.useCssAnimation &&
|
|
456
|
+
animated: e.value.useCssAnimation && !x.value
|
|
450
457
|
},
|
|
451
458
|
style: {
|
|
452
459
|
animationDelay: `${150 * R}ms`
|
|
453
460
|
}
|
|
454
461
|
}), null, 16, yt))), 256)),
|
|
455
|
-
(
|
|
462
|
+
(n(!0), i(U, null, G(r.value, (a, o) => (n(), i("text", {
|
|
456
463
|
x: a.cx,
|
|
457
|
-
y: a.cy +
|
|
464
|
+
y: a.cy + c.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
|
|
458
465
|
"text-anchor": "middle",
|
|
459
|
-
"font-size":
|
|
466
|
+
"font-size": c.value.circles,
|
|
460
467
|
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? s(Ke)(a.color) : e.value.style.chart.circles.dataLabels.color,
|
|
461
468
|
"font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
462
469
|
class: z({
|
|
463
|
-
animated: e.value.useCssAnimation &&
|
|
470
|
+
animated: e.value.useCssAnimation && !x.value
|
|
464
471
|
}),
|
|
465
|
-
style:
|
|
466
|
-
animationDelay: `${150 *
|
|
472
|
+
style: _({
|
|
473
|
+
animationDelay: `${150 * o}ms`
|
|
467
474
|
})
|
|
468
475
|
}, j(s(H)(
|
|
469
476
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
@@ -475,55 +482,55 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
475
482
|
}),
|
|
476
483
|
{ datapoint: a }
|
|
477
484
|
)), 15, gt))), 256)),
|
|
478
|
-
e.value.style.chart.area.show ? (
|
|
485
|
+
e.value.style.chart.area.show ? (n(), i("polygon", {
|
|
479
486
|
key: 2,
|
|
480
487
|
points: ze.value,
|
|
481
488
|
fill: `url(#funnel_area_${P.value})`,
|
|
482
489
|
class: z({
|
|
483
|
-
animated: e.value.useCssAnimation &&
|
|
490
|
+
animated: e.value.useCssAnimation && !x.value
|
|
484
491
|
}),
|
|
485
|
-
style:
|
|
492
|
+
style: _({
|
|
486
493
|
transition: e.value.useCssAnimation ? `all ${150 * p.value.length}ms ease-in` : "none"
|
|
487
494
|
})
|
|
488
|
-
}, null, 14, pt)) :
|
|
489
|
-
(
|
|
495
|
+
}, null, 14, pt)) : b("", !0),
|
|
496
|
+
(n(!0), i(U, null, G(r.value, ({ x: a, y: o, height: f, width: u, fill: R }, W) => (n(), i("rect", J({ ref_for: !0 }, { x: a, y: o, height: f, width: u, fill: R }, {
|
|
490
497
|
stroke: e.value.style.chart.bars.stroke,
|
|
491
498
|
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
492
499
|
rx: e.value.style.chart.bars.borderRadius,
|
|
493
500
|
class: {
|
|
494
|
-
animated: e.value.useCssAnimation &&
|
|
501
|
+
animated: e.value.useCssAnimation && !x.value
|
|
495
502
|
},
|
|
496
503
|
style: {
|
|
497
504
|
animationDelay: `${150 * W}ms`
|
|
498
505
|
}
|
|
499
506
|
}), null, 16, kt))), 256)),
|
|
500
|
-
(
|
|
507
|
+
(n(!0), i(U, null, G(r.value, (a, o) => (n(), i("g", null, [
|
|
501
508
|
w("text", {
|
|
502
509
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
503
|
-
y: a.cy -
|
|
510
|
+
y: a.cy - c.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
|
|
504
511
|
"text-anchor": "start",
|
|
505
|
-
"font-size":
|
|
512
|
+
"font-size": c.value.names,
|
|
506
513
|
fill: e.value.style.chart.bars.dataLabels.name.color,
|
|
507
514
|
"font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
508
515
|
class: z({
|
|
509
|
-
animated: e.value.useCssAnimation &&
|
|
516
|
+
animated: e.value.useCssAnimation && !x.value
|
|
510
517
|
}),
|
|
511
|
-
style:
|
|
512
|
-
animationDelay: `${150 *
|
|
518
|
+
style: _({
|
|
519
|
+
animationDelay: `${150 * o}ms`
|
|
513
520
|
})
|
|
514
521
|
}, j(a.name), 15, Ct),
|
|
515
522
|
w("text", {
|
|
516
523
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
517
|
-
y: a.cy +
|
|
524
|
+
y: a.cy + c.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
|
|
518
525
|
"text-anchor": "start",
|
|
519
|
-
"font-size":
|
|
526
|
+
"font-size": c.value.values,
|
|
520
527
|
fill: e.value.style.chart.bars.dataLabels.value.color,
|
|
521
528
|
"font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
522
529
|
class: z({
|
|
523
|
-
animated: e.value.useCssAnimation &&
|
|
530
|
+
animated: e.value.useCssAnimation && !x.value
|
|
524
531
|
}),
|
|
525
|
-
style:
|
|
526
|
-
animationDelay: `${150 *
|
|
532
|
+
style: _({
|
|
533
|
+
animationDelay: `${150 * o}ms`
|
|
527
534
|
})
|
|
528
535
|
}, j(s(H)(
|
|
529
536
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
@@ -537,12 +544,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
537
544
|
{ datapoint: a }
|
|
538
545
|
)), 15, wt)
|
|
539
546
|
]))), 256)),
|
|
540
|
-
|
|
541
|
-
], 14, ct)) :
|
|
542
|
-
t.$slots.watermark ? (
|
|
543
|
-
|
|
544
|
-
])) :
|
|
545
|
-
T.value ?
|
|
547
|
+
m(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
548
|
+
], 14, ct)) : b("", !0),
|
|
549
|
+
t.$slots.watermark ? (n(), i("div", $t, [
|
|
550
|
+
m(t.$slots, "watermark", E(V({ isPrinting: s(ie) || s(ce) })), void 0, !0)
|
|
551
|
+
])) : b("", !0),
|
|
552
|
+
T.value ? b("", !0) : (n(), N(s(Ae), {
|
|
546
553
|
key: 6,
|
|
547
554
|
config: {
|
|
548
555
|
type: "verticalBar",
|
|
@@ -557,15 +564,15 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
557
564
|
}
|
|
558
565
|
}
|
|
559
566
|
}, null, 8, ["config"])),
|
|
560
|
-
t.$slots.source ? (
|
|
567
|
+
t.$slots.source ? (n(), i("div", {
|
|
561
568
|
key: 7,
|
|
562
569
|
ref_key: "source",
|
|
563
570
|
ref: ae,
|
|
564
571
|
dir: "auto"
|
|
565
572
|
}, [
|
|
566
|
-
|
|
567
|
-
], 512)) :
|
|
568
|
-
T.value ? (
|
|
573
|
+
m(t.$slots, "source", {}, void 0, !0)
|
|
574
|
+
], 512)) : b("", !0),
|
|
575
|
+
T.value ? (n(), N(s($e), {
|
|
569
576
|
key: 8,
|
|
570
577
|
hideDetails: "",
|
|
571
578
|
config: {
|
|
@@ -582,12 +589,12 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
582
589
|
}
|
|
583
590
|
}, {
|
|
584
591
|
content: g(() => [
|
|
585
|
-
(
|
|
592
|
+
(n(), N(s(xe), {
|
|
586
593
|
key: `table_${ee.value}`,
|
|
587
|
-
colNames:
|
|
588
|
-
head:
|
|
589
|
-
body:
|
|
590
|
-
config:
|
|
594
|
+
colNames: B.value.colNames,
|
|
595
|
+
head: B.value.head,
|
|
596
|
+
body: B.value.body,
|
|
597
|
+
config: B.value.config,
|
|
591
598
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
592
599
|
onClose: l[0] || (l[0] = (a) => I.value.showTable = !1)
|
|
593
600
|
}, {
|
|
@@ -604,10 +611,10 @@ const it = ["id"], ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["i
|
|
|
604
611
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
605
612
|
]),
|
|
606
613
|
_: 1
|
|
607
|
-
}, 8, ["config"])) :
|
|
614
|
+
}, 8, ["config"])) : b("", !0)
|
|
608
615
|
], 46, it));
|
|
609
616
|
}
|
|
610
|
-
}, Dt = /* @__PURE__ */ ut(Lt, [["__scopeId", "data-v-
|
|
617
|
+
}, Dt = /* @__PURE__ */ ut(Lt, [["__scopeId", "data-v-029174d3"]]);
|
|
611
618
|
export {
|
|
612
619
|
Dt as default
|
|
613
620
|
};
|