vue-data-ui 2.16.6 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -53
- package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
- package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
- package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
- package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
- package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
- package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
- package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
- package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
- package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
- package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
- package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
- package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
- package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
- package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
- package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
- package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
- package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
- package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1096 -160
- package/dist/types/vue-data-ui.d.ts +1096 -160
- package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
- package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
- package/dist/vue-data-ui-CIWxgKjd.js +312 -0
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
- package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
- package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
- package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
- package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
- package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
- package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
- package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
- package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
- package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
- package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
- package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
- package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
- package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
- package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
- package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
- package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
- package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
- package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
- package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
- package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
- package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
- package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
- package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
- package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
- package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
- package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
- package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
- package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
- package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
- package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
- package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
- package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
- package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
- package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
- package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
- package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
- package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
- package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
- package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
- package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
- package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
- package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
- package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
- package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
- package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
- package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
- package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
- package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
- package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
- package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
- package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
- package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
- package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
- package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
- package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
- package/package.json +1 -1
- package/dist/vue-data-ui-B8EWlMIK.js +0 -301
- package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
|
@@ -1,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,7 +318,7 @@ 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,
|
|
@@ -318,11 +326,11 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
318
326
|
callbacks: e.value.userOptions.callbacks,
|
|
319
327
|
printScale: e.value.userOptions.print.scale,
|
|
320
328
|
onToggleAnnotator: Y,
|
|
321
|
-
onToggleFullscreen:
|
|
329
|
+
onToggleFullscreen: be,
|
|
322
330
|
onGeneratePdf: s(ve),
|
|
323
331
|
onGenerateImage: s(de),
|
|
324
|
-
onToggleTable:
|
|
325
|
-
onGenerateCsv:
|
|
332
|
+
onToggleTable: me,
|
|
333
|
+
onGenerateCsv: ye,
|
|
326
334
|
style: L({
|
|
327
335
|
visibility: s(re) ? s(q) ? "visible" : "hidden" : "visible"
|
|
328
336
|
})
|
|
@@ -330,7 +338,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
330
338
|
t.$slots.menuIcon ? {
|
|
331
339
|
name: "menuIcon",
|
|
332
340
|
fn: g(({ isOpen: a, color: n }) => [
|
|
333
|
-
b(t.$slots, "menuIcon", B(
|
|
341
|
+
b(t.$slots, "menuIcon", V(B({ isOpen: a, color: n })), void 0, !0)
|
|
334
342
|
]),
|
|
335
343
|
key: "0"
|
|
336
344
|
} : void 0,
|
|
@@ -365,28 +373,28 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
365
373
|
t.$slots.optionFullscreen ? {
|
|
366
374
|
name: "optionFullscreen",
|
|
367
375
|
fn: g(({ toggleFullscreen: a, isFullscreen: n }) => [
|
|
368
|
-
b(t.$slots, "optionFullscreen", B(
|
|
376
|
+
b(t.$slots, "optionFullscreen", V(B({ toggleFullscreen: a, isFullscreen: n })), void 0, !0)
|
|
369
377
|
]),
|
|
370
378
|
key: "5"
|
|
371
379
|
} : void 0,
|
|
372
380
|
t.$slots.optionAnnotator ? {
|
|
373
381
|
name: "optionAnnotator",
|
|
374
382
|
fn: g(({ toggleAnnotator: a, isAnnotator: n }) => [
|
|
375
|
-
b(t.$slots, "optionAnnotator", B(
|
|
383
|
+
b(t.$slots, "optionAnnotator", V(B({ toggleAnnotator: a, isAnnotator: n })), void 0, !0)
|
|
376
384
|
]),
|
|
377
385
|
key: "6"
|
|
378
386
|
} : void 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),
|
|
380
|
-
|
|
388
|
+
T.value ? (o(), u("svg", {
|
|
381
389
|
key: 4,
|
|
382
390
|
ref_key: "svgRef",
|
|
383
391
|
ref: ue,
|
|
384
|
-
xmlns: s(
|
|
385
|
-
class:
|
|
392
|
+
xmlns: s(Je),
|
|
393
|
+
class: z({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
386
394
|
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
387
395
|
style: L(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
388
396
|
}, [
|
|
389
|
-
Be(s(
|
|
397
|
+
Be(s(Le)),
|
|
390
398
|
t.$slots["chart-background"] ? (o(), u("foreignObject", {
|
|
391
399
|
key: 0,
|
|
392
400
|
x: 0,
|
|
@@ -398,10 +406,10 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
398
406
|
}
|
|
399
407
|
}, [
|
|
400
408
|
b(t.$slots, "chart-background", {}, void 0, !0)
|
|
401
|
-
], 8,
|
|
409
|
+
], 8, vt)) : f("", !0),
|
|
402
410
|
w("defs", null, [
|
|
403
411
|
w("linearGradient", {
|
|
404
|
-
id: `funnel_area_${
|
|
412
|
+
id: `funnel_area_${P.value}`,
|
|
405
413
|
x1: "0%",
|
|
406
414
|
x2: "100%",
|
|
407
415
|
y1: "0%",
|
|
@@ -411,18 +419,18 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
411
419
|
offset: "0%",
|
|
412
420
|
"stop-color": e.value.style.chart.backgroundColor,
|
|
413
421
|
"stop-opacity": 0
|
|
414
|
-
}, null, 8,
|
|
422
|
+
}, null, 8, ht),
|
|
415
423
|
w("stop", {
|
|
416
424
|
offset: "20%",
|
|
417
425
|
"stop-color": e.value.style.chart.area.color
|
|
418
|
-
}, null, 8,
|
|
426
|
+
}, null, 8, ft),
|
|
419
427
|
w("stop", {
|
|
420
428
|
offset: "100%",
|
|
421
429
|
"stop-color": e.value.style.chart.area.color
|
|
422
|
-
}, null, 8,
|
|
423
|
-
], 8,
|
|
430
|
+
}, null, 8, bt)
|
|
431
|
+
], 8, dt)
|
|
424
432
|
]),
|
|
425
|
-
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, {
|
|
426
434
|
stroke: e.value.style.chart.circleLinks.color,
|
|
427
435
|
"stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
|
|
428
436
|
"stroke-linecap": "round",
|
|
@@ -433,25 +441,25 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
433
441
|
strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
|
|
434
442
|
strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
|
|
435
443
|
}
|
|
436
|
-
}), null, 16,
|
|
437
|
-
(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 }, {
|
|
438
446
|
stroke: e.value.style.chart.circles.stroke,
|
|
439
447
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
440
448
|
class: {
|
|
441
449
|
animated: e.value.useCssAnimation && !$.value
|
|
442
450
|
},
|
|
443
451
|
style: {
|
|
444
|
-
animationDelay: `${150 *
|
|
452
|
+
animationDelay: `${150 * R}ms`
|
|
445
453
|
}
|
|
446
|
-
}), null, 16,
|
|
454
|
+
}), null, 16, yt))), 256)),
|
|
447
455
|
(o(!0), u(U, null, G(r.value, (a, n) => (o(), u("text", {
|
|
448
456
|
x: a.cx,
|
|
449
457
|
y: a.cy + i.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
|
|
450
458
|
"text-anchor": "middle",
|
|
451
459
|
"font-size": i.value.circles,
|
|
452
|
-
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,
|
|
453
461
|
"font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
454
|
-
class:
|
|
462
|
+
class: z({
|
|
455
463
|
animated: e.value.useCssAnimation && !$.value
|
|
456
464
|
}),
|
|
457
465
|
style: L({
|
|
@@ -466,19 +474,19 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
466
474
|
r: e.value.style.chart.circles.dataLabels.rounding
|
|
467
475
|
}),
|
|
468
476
|
{ datapoint: a }
|
|
469
|
-
)), 15,
|
|
477
|
+
)), 15, gt))), 256)),
|
|
470
478
|
e.value.style.chart.area.show ? (o(), u("polygon", {
|
|
471
479
|
key: 2,
|
|
472
|
-
points:
|
|
473
|
-
fill: `url(#funnel_area_${
|
|
474
|
-
class:
|
|
480
|
+
points: ze.value,
|
|
481
|
+
fill: `url(#funnel_area_${P.value})`,
|
|
482
|
+
class: z({
|
|
475
483
|
animated: e.value.useCssAnimation && !$.value
|
|
476
484
|
}),
|
|
477
485
|
style: L({
|
|
478
486
|
transition: e.value.useCssAnimation ? `all ${150 * p.value.length}ms ease-in` : "none"
|
|
479
487
|
})
|
|
480
|
-
}, null, 14,
|
|
481
|
-
(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 }, {
|
|
482
490
|
stroke: e.value.style.chart.bars.stroke,
|
|
483
491
|
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
484
492
|
rx: e.value.style.chart.bars.borderRadius,
|
|
@@ -488,7 +496,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
488
496
|
style: {
|
|
489
497
|
animationDelay: `${150 * W}ms`
|
|
490
498
|
}
|
|
491
|
-
}), null, 16,
|
|
499
|
+
}), null, 16, kt))), 256)),
|
|
492
500
|
(o(!0), u(U, null, G(r.value, (a, n) => (o(), u("g", null, [
|
|
493
501
|
w("text", {
|
|
494
502
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
@@ -497,13 +505,13 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
497
505
|
"font-size": i.value.names,
|
|
498
506
|
fill: e.value.style.chart.bars.dataLabels.name.color,
|
|
499
507
|
"font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
500
|
-
class:
|
|
508
|
+
class: z({
|
|
501
509
|
animated: e.value.useCssAnimation && !$.value
|
|
502
510
|
}),
|
|
503
511
|
style: L({
|
|
504
512
|
animationDelay: `${150 * n}ms`
|
|
505
513
|
})
|
|
506
|
-
}, j(a.name), 15,
|
|
514
|
+
}, j(a.name), 15, Ct),
|
|
507
515
|
w("text", {
|
|
508
516
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
509
517
|
y: a.cy + i.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
|
|
@@ -511,7 +519,7 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
511
519
|
"font-size": i.value.values,
|
|
512
520
|
fill: e.value.style.chart.bars.dataLabels.value.color,
|
|
513
521
|
"font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
514
|
-
class:
|
|
522
|
+
class: z({
|
|
515
523
|
animated: e.value.useCssAnimation && !$.value
|
|
516
524
|
}),
|
|
517
525
|
style: L({
|
|
@@ -527,14 +535,14 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
527
535
|
r: e.value.style.chart.bars.dataLabels.value.rounding
|
|
528
536
|
}),
|
|
529
537
|
{ datapoint: a }
|
|
530
|
-
)), 15,
|
|
538
|
+
)), 15, wt)
|
|
531
539
|
]))), 256)),
|
|
532
540
|
b(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
533
|
-
], 14,
|
|
534
|
-
t.$slots.watermark ? (o(), u("div",
|
|
535
|
-
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)
|
|
536
544
|
])) : f("", !0),
|
|
537
|
-
|
|
545
|
+
T.value ? f("", !0) : (o(), N(s(Ae), {
|
|
538
546
|
key: 6,
|
|
539
547
|
config: {
|
|
540
548
|
type: "verticalBar",
|
|
@@ -557,11 +565,11 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
557
565
|
}, [
|
|
558
566
|
b(t.$slots, "source", {}, void 0, !0)
|
|
559
567
|
], 512)) : f("", !0),
|
|
560
|
-
|
|
568
|
+
T.value ? (o(), N(s($e), {
|
|
561
569
|
key: 8,
|
|
562
570
|
hideDetails: "",
|
|
563
571
|
config: {
|
|
564
|
-
open:
|
|
572
|
+
open: I.value.showTable,
|
|
565
573
|
maxHeight: 1e4,
|
|
566
574
|
body: {
|
|
567
575
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -574,32 +582,32 @@ const rt = ["id"], ut = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["i
|
|
|
574
582
|
}
|
|
575
583
|
}, {
|
|
576
584
|
content: g(() => [
|
|
577
|
-
(o(),
|
|
585
|
+
(o(), N(s(xe), {
|
|
578
586
|
key: `table_${ee.value}`,
|
|
579
|
-
colNames:
|
|
580
|
-
head:
|
|
581
|
-
body:
|
|
582
|
-
config:
|
|
587
|
+
colNames: E.value.colNames,
|
|
588
|
+
head: E.value.head,
|
|
589
|
+
body: E.value.body,
|
|
590
|
+
config: E.value.config,
|
|
583
591
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
584
|
-
onClose: l[0] || (l[0] = (a) =>
|
|
592
|
+
onClose: l[0] || (l[0] = (a) => I.value.showTable = !1)
|
|
585
593
|
}, {
|
|
586
594
|
th: g(({ th: a }) => [
|
|
587
595
|
w("div", {
|
|
588
596
|
innerHTML: a,
|
|
589
597
|
style: { display: "flex", "align-items": "center" }
|
|
590
|
-
}, null, 8,
|
|
598
|
+
}, null, 8, xt)
|
|
591
599
|
]),
|
|
592
600
|
td: g(({ td: a }) => [
|
|
593
|
-
|
|
601
|
+
Ue(j(a.name ? a.name : a), 1)
|
|
594
602
|
]),
|
|
595
603
|
_: 1
|
|
596
604
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
597
605
|
]),
|
|
598
606
|
_: 1
|
|
599
607
|
}, 8, ["config"])) : f("", !0)
|
|
600
|
-
], 46,
|
|
608
|
+
], 46, it));
|
|
601
609
|
}
|
|
602
|
-
},
|
|
610
|
+
}, Dt = /* @__PURE__ */ ut(Lt, [["__scopeId", "data-v-eff0c793"]]);
|
|
603
611
|
export {
|
|
604
|
-
|
|
612
|
+
Dt as default
|
|
605
613
|
};
|