vue-data-ui 3.4.7 → 3.4.8
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/dist/{PackageVersion-QNVkHOgG.js → PackageVersion-D-auaEEJ.js} +1 -1
- package/dist/{UserOptions-CnzumGJj.js → UserOptions-CGnQt6Fd.js} +91 -91
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-BFwmY6si.js → vue-data-ui-CzqHcPqG.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CwXiD8zD.js} +49 -42
- package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-DlEPlWmV.js} +12 -5
- package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-DtzpeIu4.js} +59 -52
- package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-DzoiyaeB.js} +56 -49
- package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BqRERrjs.js} +79 -72
- package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-CzBGckif.js} +77 -70
- package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-B4waG93A.js} +71 -64
- package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-DiTw_p5r.js} +58 -51
- package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-Bt-MUKqy.js} +56 -56
- package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-Bc492JeS.js} +95 -88
- package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-D6TaZK2x.js} +80 -73
- package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-BlZr68Sq.js} +12 -5
- package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-ByEP18dA.js} +205 -198
- package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-BU7d_U6T.js} +98 -91
- package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-CpVrxaTr.js} +140 -133
- package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-B9Z4EXoj.js} +108 -101
- package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-T1paJEJ3.js} +1 -1
- package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-Uw83eEMz.js} +97 -90
- package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-C93VwVCY.js} +41 -34
- package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-CFMWwXFN.js} +94 -87
- package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-FkVaaOVG.js} +71 -64
- package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-Cyi98NXq.js} +93 -86
- package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-BCENNhsY.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-Dca9wkD0.js} +116 -109
- package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-CEtFEZT3.js} +46 -39
- package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-bqcp6BIl.js} +171 -164
- package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-lgRCmyNP.js} +36 -29
- package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-cRRrbaIT.js} +100 -93
- package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-CaeFJq9a.js} +23 -16
- package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-DbsYfGjx.js} +55 -48
- package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-DcMnoNrY.js} +189 -182
- package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-b5fdgyHv.js} +1 -1
- package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DrQ26BzL.js} +1 -1
- package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-BlvXLcfO.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-CQmNePxu.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-CJatqy8x.js} +1 -1
- package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-5m7hFiMq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-Z5g6L2Hj.js} +1 -1
- package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-WrexTg8_.js} +53 -46
- package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-DqX7yya9.js} +13 -6
- package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-BhrP9BCp.js} +2 -2
- package/dist/{vue-ui-table-heatmap-B4rjR34n.js → vue-ui-table-heatmap-BqCEBoUf.js} +1 -1
- package/dist/{vue-ui-table-sparkline-B71QVMkq.js → vue-ui-table-sparkline-BECa8n5_.js} +1 -1
- package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-BxBGrsSR.js} +83 -76
- package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-BbHY5Ed5.js} +1 -1
- package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-DzL3Sc1f.js} +43 -36
- package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-DoHoS5NK.js} +114 -107
- package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-D0N5btU-.js} +89 -82
- package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-CTt7dxCY.js} +41 -34
- package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel--TIPvQ9I.js} +132 -125
- package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-D5pZq4Jq.js} +116 -109
- package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BERHgePa.js} +71 -64
- package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-BI5stV8f.js} +163 -156
- package/dist/{vue-ui-xy-canvas-BGl_2pHw.js → vue-ui-xy-canvas-DXnLFwW3.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as z, computed as b, ref as c, toRefs as rl, watch as le, onMounted as il, shallowRef as mt, onBeforeUnmount as dl, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ce, normalizeClass as M, createBlock as B, createCommentVNode as
|
|
2
|
-
import { c as fl, t as pl, b as yl, p as ze, O as Me, o as gl, f as J, e as bl, a1 as E, h as ml, T as Be, a as ae, d as O, X as wl, s as
|
|
1
|
+
import { defineAsyncComponent as z, computed as b, ref as c, toRefs as rl, watch as le, onMounted as il, shallowRef as mt, onBeforeUnmount as dl, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ce, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as y, createVNode as Ve, createSlots as wt, withCtx as C, renderSlot as _, normalizeProps as q, guardReactiveProps as Q, Fragment as A, renderList as T, toDisplayString as D, withDirectives as $t, vShow as kt, Teleport as vl, resolveDynamicComponent as cl, mergeProps as hl, createTextVNode as Ct, nextTick as Lt } from "vue";
|
|
2
|
+
import { c as fl, t as pl, b as yl, p as ze, O as Me, o as gl, f as J, e as bl, a1 as E, h as ml, T as Be, a as ae, d as O, X as wl, s as $l, I as xt, W as Ee, Y as K, G as _t, P as kl, Q as Cl, H as Ll, a0 as At, x as Re } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { t as xl, u as _l } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as Al, a as Tt } from "./useNestedProp-BjZe1Y85.js";
|
|
5
5
|
import { u as Tl, B as Sl } from "./BaseScanner-BgWxam9d.js";
|
|
@@ -36,7 +36,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend", "selectDatapoint"],
|
|
38
38
|
setup(St, { expose: Ot, emit: Ft }) {
|
|
39
|
-
const It = z(() => import("./Tooltip-oWCO1HKy.js")), Nt = z(() => import("./BaseIcon-BmMbm4d0.js")), Dt = z(() => import("./vue-ui-accordion-CZ0thhxa.js")), Pt = z(() => import("./DataTable-BT7VF2ua.js")), Vt = z(() => import("./UserOptions-
|
|
39
|
+
const It = z(() => import("./Tooltip-oWCO1HKy.js")), Nt = z(() => import("./BaseIcon-BmMbm4d0.js")), Dt = z(() => import("./vue-ui-accordion-CZ0thhxa.js")), Pt = z(() => import("./DataTable-BT7VF2ua.js")), Vt = z(() => import("./UserOptions-CGnQt6Fd.js")), zt = z(() => import("./PenAndPaper-DSvu9dwa.js")), Mt = z(() => import("./PackageVersion-D-auaEEJ.js")), Bt = z(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_nested_donuts: Et } = Al(), w = St, he = b({
|
|
40
40
|
get() {
|
|
41
41
|
return !!w.dataset && w.dataset.length;
|
|
42
42
|
},
|
|
@@ -47,7 +47,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
47
47
|
function Je(t) {
|
|
48
48
|
G.value = t, Ue.value += 1;
|
|
49
49
|
}
|
|
50
|
-
const e = c(
|
|
50
|
+
const e = c(ke()), Ke = {
|
|
51
51
|
name: "",
|
|
52
52
|
series: [
|
|
53
53
|
{
|
|
@@ -69,7 +69,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
69
69
|
}, { loading: me, FINAL_DATASET: Y, manualLoading: we } = Tl({
|
|
70
70
|
...rl(w),
|
|
71
71
|
FINAL_CONFIG: e,
|
|
72
|
-
prepareConfig:
|
|
72
|
+
prepareConfig: ke,
|
|
73
73
|
callback: () => {
|
|
74
74
|
Promise.resolve().then(async () => {
|
|
75
75
|
await tt();
|
|
@@ -102,10 +102,10 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
})
|
|
105
|
-
}), { userOptionsVisible:
|
|
105
|
+
}), { userOptionsVisible: $e, setUserOptionsVisibility: Ze, keepUserOptionState: je } = Il({ config: e.value }), { svgRef: ee } = Nl({
|
|
106
106
|
config: e.value.style.chart.title
|
|
107
107
|
});
|
|
108
|
-
function
|
|
108
|
+
function ke() {
|
|
109
109
|
const t = Tt({
|
|
110
110
|
userConfig: w.config,
|
|
111
111
|
defaultConfig: Et
|
|
@@ -122,7 +122,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
122
122
|
le(
|
|
123
123
|
() => w.config,
|
|
124
124
|
(t) => {
|
|
125
|
-
me.value || (e.value =
|
|
125
|
+
me.value || (e.value = ke()), $e.value = !e.value.userOptions.showOnChartHover, lt(), Xe.value += 1, He.value += 1, qe.value += 1, L.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.chart.tooltip.show, h.value.width = e.value.style.chart.width, h.value.height = e.value.style.chart.height;
|
|
126
126
|
},
|
|
127
127
|
{ deep: !0 }
|
|
128
128
|
);
|
|
@@ -240,7 +240,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
240
240
|
elementId: `nested_donuts_${p.value}`,
|
|
241
241
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
242
242
|
options: e.value.userOptions.print
|
|
243
|
-
}), Ut = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Gt = b(() => bl(e.value.customPalette)),
|
|
243
|
+
}), Ut = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Gt = b(() => bl(e.value.customPalette)), L = c({
|
|
244
244
|
dataLabels: {
|
|
245
245
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
246
246
|
},
|
|
@@ -248,7 +248,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
248
248
|
showTooltip: e.value.style.chart.tooltip.show
|
|
249
249
|
});
|
|
250
250
|
le(e, () => {
|
|
251
|
-
|
|
251
|
+
L.value = {
|
|
252
252
|
dataLabels: {
|
|
253
253
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
254
254
|
},
|
|
@@ -357,10 +357,10 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
357
357
|
a.includes(t[l]) && (o += 1);
|
|
358
358
|
return o < s;
|
|
359
359
|
}
|
|
360
|
-
const
|
|
360
|
+
const $ = c(it.value);
|
|
361
361
|
le(
|
|
362
362
|
() => it.value,
|
|
363
|
-
(t) =>
|
|
363
|
+
(t) => $.value = t
|
|
364
364
|
);
|
|
365
365
|
function Ce(t) {
|
|
366
366
|
nt("selectLegend", t);
|
|
@@ -372,7 +372,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
372
372
|
}))
|
|
373
373
|
).find((d) => d.id === t.id);
|
|
374
374
|
if (!s) return;
|
|
375
|
-
const a = F.value.flatMap((d) => d.series).find((d) => d.id === t.id)?.value ?? 0, o =
|
|
375
|
+
const a = F.value.flatMap((d) => d.series).find((d) => d.id === t.id)?.value ?? 0, o = $.value.flatMap((d) => d.series).find((d) => d.id === t.id);
|
|
376
376
|
let n = o ? o.value : 0;
|
|
377
377
|
const v = F.value.find(
|
|
378
378
|
(d) => d.id === s.arcOfId
|
|
@@ -388,12 +388,12 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
388
388
|
to: a,
|
|
389
389
|
duration: e.value.serieToggleAnimation.durationMs,
|
|
390
390
|
onUpdate: (d) => {
|
|
391
|
-
|
|
391
|
+
$.value = $.value.map((g) => ({
|
|
392
392
|
...g,
|
|
393
393
|
series: g.series.map((S) => S.id === t.id ? { ...S, value: d } : S)
|
|
394
394
|
}));
|
|
395
395
|
}
|
|
396
|
-
}) :
|
|
396
|
+
}) : $.value = $.value.map((d) => ({
|
|
397
397
|
...d,
|
|
398
398
|
series: d.series.map((g) => g.id === t.id ? { ...g, value: a } : g)
|
|
399
399
|
}))) : m && (e.value.serieToggleAnimation.show ? rt({
|
|
@@ -401,7 +401,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
401
401
|
to: 0,
|
|
402
402
|
duration: e.value.serieToggleAnimation.durationMs,
|
|
403
403
|
onUpdate: (d) => {
|
|
404
|
-
|
|
404
|
+
$.value = $.value.map((g) => ({
|
|
405
405
|
...g,
|
|
406
406
|
series: g.series.map((S) => S.id === t.id ? { ...S, value: d } : S)
|
|
407
407
|
}));
|
|
@@ -409,13 +409,13 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
409
409
|
onDone: () => {
|
|
410
410
|
x.value.push(t.id);
|
|
411
411
|
}
|
|
412
|
-
}) : (
|
|
412
|
+
}) : ($.value = $.value.map((d) => ({
|
|
413
413
|
...d,
|
|
414
414
|
series: d.series.map((g) => g.id === t.id ? { ...g, value: 0 } : g)
|
|
415
415
|
})), x.value.push(t.id)));
|
|
416
416
|
}
|
|
417
|
-
const oe = b(() => N.value / F.value.length * e.value.style.chart.layout.donut.spacingRatio), dt = b(() =>
|
|
418
|
-
const a = Math.abs(t.series.map((m) => m.value).reduce((m, d) => m + d, 0)) > 0, o = N.value - s * N.value /
|
|
417
|
+
const oe = b(() => N.value / F.value.length * e.value.style.chart.layout.donut.spacingRatio), dt = b(() => $.value.map((t, s) => N.value - s * N.value / F.value.length)), H = b(() => $.value.map((t, s) => {
|
|
418
|
+
const a = Math.abs(t.series.map((m) => m.value).reduce((m, d) => m + d, 0)) > 0, o = N.value - s * N.value / $.value.length, l = R.value ? Z.value.find((m) => m.datasetIndex === s) : null, n = [...t.series, ...l ? [l] : []].map((m) => ({
|
|
419
419
|
...m,
|
|
420
420
|
value: m.value < 1e-11 ? Number.MIN_VALUE : m.value
|
|
421
421
|
})), v = Be(
|
|
@@ -481,7 +481,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
481
481
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), ct.value = t.arcOfId, se.value = t.id, ue.value = a, ye.value = t.id, Le.value = {
|
|
482
482
|
datapoint: t,
|
|
483
483
|
seriesIndex: a,
|
|
484
|
-
series:
|
|
484
|
+
series: $.value,
|
|
485
485
|
config: e.value
|
|
486
486
|
};
|
|
487
487
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
@@ -489,20 +489,20 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
489
489
|
() => o({
|
|
490
490
|
seriesIndex: a,
|
|
491
491
|
datapoint: t,
|
|
492
|
-
series:
|
|
492
|
+
series: $.value,
|
|
493
493
|
config: e.value
|
|
494
494
|
})
|
|
495
495
|
))
|
|
496
496
|
pe.value = o({
|
|
497
497
|
seriesIndex: a,
|
|
498
498
|
datapoint: t,
|
|
499
|
-
series:
|
|
499
|
+
series: $.value,
|
|
500
500
|
config: e.value
|
|
501
501
|
});
|
|
502
502
|
else {
|
|
503
503
|
let l = "";
|
|
504
504
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && x.value.length === 0) {
|
|
505
|
-
const n =
|
|
505
|
+
const n = $.value.map((v) => v.series.find((f) => f.seriesIndex === a));
|
|
506
506
|
n.forEach((v, f) => {
|
|
507
507
|
if (!v) return "";
|
|
508
508
|
l += `
|
|
@@ -627,11 +627,11 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
627
627
|
paddingBottom: 12,
|
|
628
628
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
629
629
|
})), V = b(() => {
|
|
630
|
-
const t =
|
|
630
|
+
const t = $.value.flatMap((a) => a.series.map((o) => ({
|
|
631
631
|
name: `${a.name} - ${o.name}`,
|
|
632
632
|
color: o.color,
|
|
633
633
|
total: a.total
|
|
634
|
-
}))), s =
|
|
634
|
+
}))), s = $.value.flatMap((a) => a.series.map((o) => o.value));
|
|
635
635
|
return { head: t, body: s };
|
|
636
636
|
});
|
|
637
637
|
function _e(t = null) {
|
|
@@ -646,7 +646,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
646
646
|
[e.value.style.chart.title.text],
|
|
647
647
|
[e.value.style.chart.title.subtitle.text],
|
|
648
648
|
[[""], ["val"], ["%"]]
|
|
649
|
-
].concat(s), o =
|
|
649
|
+
].concat(s), o = kl(a);
|
|
650
650
|
t ? t(o) : Cl({
|
|
651
651
|
csvContent: o,
|
|
652
652
|
title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
@@ -705,13 +705,13 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
705
705
|
return F.value;
|
|
706
706
|
}
|
|
707
707
|
function ft() {
|
|
708
|
-
|
|
708
|
+
L.value.showTable = !L.value.showTable;
|
|
709
709
|
}
|
|
710
710
|
function pt() {
|
|
711
|
-
|
|
711
|
+
L.value.dataLabels.show = !L.value.dataLabels.show;
|
|
712
712
|
}
|
|
713
713
|
function yt() {
|
|
714
|
-
|
|
714
|
+
L.value.showTooltip = !L.value.showTooltip;
|
|
715
715
|
}
|
|
716
716
|
const ie = c(!1);
|
|
717
717
|
function Ae() {
|
|
@@ -736,7 +736,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
736
736
|
ee.value && ee.value.setAttribute("viewBox", `${t} ${s} ${a + Math.min(0, t)} ${o + Math.min(0, s)}`);
|
|
737
737
|
}
|
|
738
738
|
const te = b(() => {
|
|
739
|
-
const t = e.value.table.useDialog && !e.value.table.show, s =
|
|
739
|
+
const t = e.value.table.useDialog && !e.value.table.show, s = L.value.showTable;
|
|
740
740
|
return {
|
|
741
741
|
component: t ? Bt : Dt,
|
|
742
742
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
@@ -765,11 +765,11 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
765
765
|
}
|
|
766
766
|
};
|
|
767
767
|
});
|
|
768
|
-
le(() =>
|
|
768
|
+
le(() => L.value.showTable, (t) => {
|
|
769
769
|
e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
770
770
|
});
|
|
771
771
|
function gt() {
|
|
772
|
-
|
|
772
|
+
L.value.showTable = !1, be.value && be.value.setTableIconState(!1);
|
|
773
773
|
}
|
|
774
774
|
const Zt = b(() => e.value.style.chart.backgroundColor), jt = b(() => e.value.style.chart.legend), el = b(() => e.value.style.chart.title), tl = b(() => ne.value.flat().map((t) => ({
|
|
775
775
|
...t,
|
|
@@ -817,14 +817,14 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
817
817
|
color: e.value.style.chart.color,
|
|
818
818
|
active: ie.value,
|
|
819
819
|
onClose: Ae
|
|
820
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
820
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : k("", !0),
|
|
821
821
|
Ut.value ? (u(), r("div", {
|
|
822
822
|
key: 1,
|
|
823
823
|
ref_key: "noTitle",
|
|
824
824
|
ref: We,
|
|
825
825
|
class: "vue-data-ui-no-title-space",
|
|
826
826
|
style: "height:36px; width: 100%;background:transparent"
|
|
827
|
-
}, null, 512)) :
|
|
827
|
+
}, null, 512)) : k("", !0),
|
|
828
828
|
e.value.style.chart.title.text ? (u(), r("div", {
|
|
829
829
|
key: 2,
|
|
830
830
|
ref_key: "chartTitle",
|
|
@@ -843,11 +843,11 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
845
|
}, null, 8, ["config"]))
|
|
846
|
-
], 512)) :
|
|
846
|
+
], 512)) : k("", !0),
|
|
847
847
|
y("div", {
|
|
848
848
|
id: `legend-top-${p.value}`
|
|
849
849
|
}, null, 8, El),
|
|
850
|
-
e.value.userOptions.show && he.value && (i(je) || i(
|
|
850
|
+
e.value.userOptions.show && he.value && (i(je) || i($e)) ? (u(), B(i(Vt), {
|
|
851
851
|
ref_key: "userOptionsRef",
|
|
852
852
|
ref: be,
|
|
853
853
|
key: `user_option_${Ue.value}`,
|
|
@@ -865,7 +865,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
865
865
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
866
866
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
867
867
|
isFullscreen: G.value,
|
|
868
|
-
isTooltip:
|
|
868
|
+
isTooltip: L.value.showTooltip,
|
|
869
869
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
870
870
|
chartElement: I.value,
|
|
871
871
|
position: e.value.userOptions.position,
|
|
@@ -884,73 +884,80 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
884
884
|
onToggleTooltip: yt,
|
|
885
885
|
onToggleAnnotator: Ae,
|
|
886
886
|
style: ce({
|
|
887
|
-
visibility: i(je) ? i(
|
|
887
|
+
visibility: i(je) ? i($e) ? "visible" : "hidden" : "visible"
|
|
888
888
|
})
|
|
889
889
|
}, wt({ _: 2 }, [
|
|
890
890
|
t.$slots.menuIcon ? {
|
|
891
891
|
name: "menuIcon",
|
|
892
|
-
fn:
|
|
892
|
+
fn: C(({ isOpen: a, color: o }) => [
|
|
893
893
|
_(t.$slots, "menuIcon", q(Q({ isOpen: a, color: o })), void 0, !0)
|
|
894
894
|
]),
|
|
895
895
|
key: "0"
|
|
896
896
|
} : void 0,
|
|
897
897
|
t.$slots.optionTooltip ? {
|
|
898
898
|
name: "optionTooltip",
|
|
899
|
-
fn:
|
|
899
|
+
fn: C(() => [
|
|
900
900
|
_(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
901
901
|
]),
|
|
902
902
|
key: "1"
|
|
903
903
|
} : void 0,
|
|
904
904
|
t.$slots.optionPdf ? {
|
|
905
905
|
name: "optionPdf",
|
|
906
|
-
fn:
|
|
906
|
+
fn: C(() => [
|
|
907
907
|
_(t.$slots, "optionPdf", {}, void 0, !0)
|
|
908
908
|
]),
|
|
909
909
|
key: "2"
|
|
910
910
|
} : void 0,
|
|
911
911
|
t.$slots.optionCsv ? {
|
|
912
912
|
name: "optionCsv",
|
|
913
|
-
fn:
|
|
913
|
+
fn: C(() => [
|
|
914
914
|
_(t.$slots, "optionCsv", {}, void 0, !0)
|
|
915
915
|
]),
|
|
916
916
|
key: "3"
|
|
917
917
|
} : void 0,
|
|
918
918
|
t.$slots.optionImg ? {
|
|
919
919
|
name: "optionImg",
|
|
920
|
-
fn:
|
|
920
|
+
fn: C(() => [
|
|
921
921
|
_(t.$slots, "optionImg", {}, void 0, !0)
|
|
922
922
|
]),
|
|
923
923
|
key: "4"
|
|
924
924
|
} : void 0,
|
|
925
|
+
t.$slots.optionSvg ? {
|
|
926
|
+
name: "optionSvg",
|
|
927
|
+
fn: C(() => [
|
|
928
|
+
_(t.$slots, "optionSvg", {}, void 0, !0)
|
|
929
|
+
]),
|
|
930
|
+
key: "5"
|
|
931
|
+
} : void 0,
|
|
925
932
|
t.$slots.optionTable ? {
|
|
926
933
|
name: "optionTable",
|
|
927
|
-
fn:
|
|
934
|
+
fn: C(() => [
|
|
928
935
|
_(t.$slots, "optionTable", {}, void 0, !0)
|
|
929
936
|
]),
|
|
930
|
-
key: "
|
|
937
|
+
key: "6"
|
|
931
938
|
} : void 0,
|
|
932
939
|
t.$slots.optionLabels ? {
|
|
933
940
|
name: "optionLabels",
|
|
934
|
-
fn:
|
|
941
|
+
fn: C(() => [
|
|
935
942
|
_(t.$slots, "optionLabels", {}, void 0, !0)
|
|
936
943
|
]),
|
|
937
|
-
key: "
|
|
944
|
+
key: "7"
|
|
938
945
|
} : void 0,
|
|
939
946
|
t.$slots.optionFullscreen ? {
|
|
940
947
|
name: "optionFullscreen",
|
|
941
|
-
fn:
|
|
948
|
+
fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
942
949
|
_(t.$slots, "optionFullscreen", q(Q({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
943
950
|
]),
|
|
944
|
-
key: "
|
|
951
|
+
key: "8"
|
|
945
952
|
} : void 0,
|
|
946
953
|
t.$slots.optionAnnotator ? {
|
|
947
954
|
name: "optionAnnotator",
|
|
948
|
-
fn:
|
|
955
|
+
fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
949
956
|
_(t.$slots, "optionAnnotator", q(Q({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
950
957
|
]),
|
|
951
|
-
key: "
|
|
958
|
+
key: "9"
|
|
952
959
|
} : void 0
|
|
953
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
960
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : k("", !0),
|
|
954
961
|
(u(), r("svg", {
|
|
955
962
|
ref_key: "svgRef",
|
|
956
963
|
ref: ee,
|
|
@@ -980,7 +987,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
980
987
|
}
|
|
981
988
|
}, [
|
|
982
989
|
_(t.$slots, "chart-background", {}, void 0, !0)
|
|
983
|
-
], 8, Ul)) :
|
|
990
|
+
], 8, Ul)) : k("", !0),
|
|
984
991
|
y("defs", null, [
|
|
985
992
|
(u(!0), r(A, null, T(vt.value, (a, o) => (u(), r("radialGradient", {
|
|
986
993
|
id: `radial_${p.value}_${o}`
|
|
@@ -992,7 +999,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
992
999
|
}, null, -1)),
|
|
993
1000
|
y("stop", {
|
|
994
1001
|
offset: `${(1 - oe.value / dt.value[o]) * 100}%`,
|
|
995
|
-
"stop-color": i(
|
|
1002
|
+
"stop-color": i($l)("#FFFFFF", 0),
|
|
996
1003
|
"stop-opacity": "0"
|
|
997
1004
|
}, null, 8, Yl),
|
|
998
1005
|
y("stop", {
|
|
@@ -1075,7 +1082,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1075
1082
|
"stroke-width": "0"
|
|
1076
1083
|
}, null, 8, ea)
|
|
1077
1084
|
]))), 256))
|
|
1078
|
-
])) :
|
|
1085
|
+
])) : k("", !0),
|
|
1079
1086
|
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), r("g", ta, [
|
|
1080
1087
|
e.value.style.chart.layout.labels.dataLabels.curvedDonutName ? (u(!0), r(A, { key: 0 }, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1081
1088
|
(u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
|
|
@@ -1098,7 +1105,7 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1098
1105
|
source: a.name,
|
|
1099
1106
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1100
1107
|
}) : a.name), 9, aa)
|
|
1101
|
-
], 10, la)) :
|
|
1108
|
+
], 10, la)) : k("", !0)
|
|
1102
1109
|
]))), 256))
|
|
1103
1110
|
]))), 256)) : (u(!0), r(A, { key: 1 }, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1104
1111
|
(u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
|
|
@@ -1114,16 +1121,16 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1114
1121
|
}, D(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(xt)({
|
|
1115
1122
|
source: a.name,
|
|
1116
1123
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1117
|
-
}) : a.name), 11, oa)) :
|
|
1124
|
+
}) : a.name), 11, oa)) : k("", !0)
|
|
1118
1125
|
]))), 256))
|
|
1119
1126
|
]))), 256))
|
|
1120
|
-
])) :
|
|
1127
|
+
])) : k("", !0),
|
|
1121
1128
|
e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", sa, [
|
|
1122
1129
|
(u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1123
1130
|
(u(!0), r(A, null, T(a.donut.filter((l) => !l.ghost), (l, n) => (u(), r("g", {
|
|
1124
1131
|
filter: ht(l, n)
|
|
1125
1132
|
}, [
|
|
1126
|
-
|
|
1133
|
+
$t(y("text", {
|
|
1127
1134
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1128
1135
|
opacity: xe(l) ? 1 : 0,
|
|
1129
1136
|
"text-anchor": i(K)(l, !0).anchor,
|
|
@@ -1146,11 +1153,11 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1146
1153
|
r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage
|
|
1147
1154
|
})), 11, na), [
|
|
1148
1155
|
[
|
|
1149
|
-
|
|
1150
|
-
|
|
1156
|
+
kt,
|
|
1157
|
+
L.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage
|
|
1151
1158
|
]
|
|
1152
1159
|
]),
|
|
1153
|
-
|
|
1160
|
+
$t(y("text", {
|
|
1154
1161
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1155
1162
|
opacity: xe(l) ? 1 : 0,
|
|
1156
1163
|
"text-anchor": i(K)(l, !0).anchor,
|
|
@@ -1179,11 +1186,11 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1179
1186
|
{ datapoint: l, seriesIndex: o, datapointIndex: n }
|
|
1180
1187
|
)) + ") ", 11, ra), [
|
|
1181
1188
|
[
|
|
1182
|
-
|
|
1183
|
-
|
|
1189
|
+
kt,
|
|
1190
|
+
L.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue
|
|
1184
1191
|
]
|
|
1185
1192
|
]),
|
|
1186
|
-
xe(l) &&
|
|
1193
|
+
xe(l) && L.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), r("text", {
|
|
1187
1194
|
key: 0,
|
|
1188
1195
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1189
1196
|
"text-anchor": i(K)(l, !0).anchor,
|
|
@@ -1210,10 +1217,10 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1210
1217
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
1211
1218
|
}),
|
|
1212
1219
|
{ datapoint: l, seriesIndex: o, datapointIndex: n }
|
|
1213
|
-
)), 11, ia)) :
|
|
1220
|
+
)), 11, ia)) : k("", !0)
|
|
1214
1221
|
], 8, ua))), 256))
|
|
1215
1222
|
]))), 256))
|
|
1216
|
-
])) :
|
|
1223
|
+
])) : k("", !0),
|
|
1217
1224
|
(u(!0), r(A, null, T(H.value, (a, o) => (u(), r("g", null, [
|
|
1218
1225
|
(u(!0), r(A, null, T(a.donut, (l, n) => (u(), r("g", null, [
|
|
1219
1226
|
y("path", {
|
|
@@ -1233,9 +1240,9 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1233
1240
|
], 14, Rl)),
|
|
1234
1241
|
t.$slots.watermark ? (u(), r("div", va, [
|
|
1235
1242
|
_(t.$slots, "watermark", q(Q({ isPrinting: i(at) || i(ot) })), void 0, !0)
|
|
1236
|
-
])) :
|
|
1243
|
+
])) : k("", !0),
|
|
1237
1244
|
Ve(i(It), {
|
|
1238
|
-
show:
|
|
1245
|
+
show: L.value.showTooltip && fe.value,
|
|
1239
1246
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1240
1247
|
color: e.value.style.chart.tooltip.color,
|
|
1241
1248
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -1254,10 +1261,10 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1254
1261
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1255
1262
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1256
1263
|
}, {
|
|
1257
|
-
"tooltip-before":
|
|
1264
|
+
"tooltip-before": C(() => [
|
|
1258
1265
|
_(t.$slots, "tooltip-before", q(Q({ ...Le.value })), void 0, !0)
|
|
1259
1266
|
]),
|
|
1260
|
-
"tooltip-after":
|
|
1267
|
+
"tooltip-after": C(() => [
|
|
1261
1268
|
_(t.$slots, "tooltip-after", q(Q({ ...Le.value })), void 0, !0)
|
|
1262
1269
|
]),
|
|
1263
1270
|
_: 3
|
|
@@ -1281,10 +1288,10 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1281
1288
|
config: qt.value,
|
|
1282
1289
|
onClickMarker: s[0] || (s[0] = ({ legend: l }) => Ce(l))
|
|
1283
1290
|
}, {
|
|
1284
|
-
legendTitle:
|
|
1285
|
-
l[0] && l[0].arcOf ? (u(), r("div", ha, D(l[0].arcOf), 1)) :
|
|
1291
|
+
legendTitle: C(({ titleSet: l }) => [
|
|
1292
|
+
l[0] && l[0].arcOf ? (u(), r("div", ha, D(l[0].arcOf), 1)) : k("", !0)
|
|
1286
1293
|
]),
|
|
1287
|
-
item:
|
|
1294
|
+
item: C(({ legend: l, index: n }) => [
|
|
1288
1295
|
y("div", {
|
|
1289
1296
|
onClick: (v) => Ce(l),
|
|
1290
1297
|
style: ce(`opacity:${x.value.includes(l.id) ? 0.5 : 1}`)
|
|
@@ -1292,9 +1299,9 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1292
1299
|
]),
|
|
1293
1300
|
_: 1
|
|
1294
1301
|
}, 8, ["legendSet", "config"]))), 128))
|
|
1295
|
-
], 2)) :
|
|
1296
|
-
], 8, ["to"])) :
|
|
1297
|
-
e.value.style.chart.legend.show ?
|
|
1302
|
+
], 2)) : k("", !0)
|
|
1303
|
+
], 8, ["to"])) : k("", !0),
|
|
1304
|
+
e.value.style.chart.legend.show ? k("", !0) : (u(), r("div", {
|
|
1298
1305
|
key: 6,
|
|
1299
1306
|
ref_key: "chartLegend",
|
|
1300
1307
|
ref: ge
|
|
@@ -1308,13 +1315,13 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1308
1315
|
dir: "auto"
|
|
1309
1316
|
}, [
|
|
1310
1317
|
_(t.$slots, "source", {}, void 0, !0)
|
|
1311
|
-
], 512)) :
|
|
1318
|
+
], 512)) : k("", !0),
|
|
1312
1319
|
he.value && e.value.userOptions.buttons.table ? (u(), B(cl(te.value.component), hl({ key: 8 }, te.value.props, {
|
|
1313
1320
|
ref_key: "tableUnit",
|
|
1314
1321
|
ref: j,
|
|
1315
1322
|
onClose: gt
|
|
1316
1323
|
}), wt({
|
|
1317
|
-
content:
|
|
1324
|
+
content: C(() => [
|
|
1318
1325
|
(u(), B(i(Pt), {
|
|
1319
1326
|
key: `table_${He.value}`,
|
|
1320
1327
|
colNames: re.value.colNames,
|
|
@@ -1325,13 +1332,13 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1325
1332
|
withCloseButton: !e.value.table.useDialog,
|
|
1326
1333
|
onClose: gt
|
|
1327
1334
|
}, {
|
|
1328
|
-
th:
|
|
1335
|
+
th: C(({ th: a }) => [
|
|
1329
1336
|
y("div", {
|
|
1330
1337
|
innerHTML: a,
|
|
1331
1338
|
style: { display: "flex", "align-items": "center" }
|
|
1332
1339
|
}, null, 8, pa)
|
|
1333
1340
|
]),
|
|
1334
|
-
td:
|
|
1341
|
+
td: C(({ td: a }) => [
|
|
1335
1342
|
Ct(D(a.name || a), 1)
|
|
1336
1343
|
]),
|
|
1337
1344
|
_: 1
|
|
@@ -1341,14 +1348,14 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1341
1348
|
}, [
|
|
1342
1349
|
e.value.table.useDialog ? {
|
|
1343
1350
|
name: "title",
|
|
1344
|
-
fn:
|
|
1351
|
+
fn: C(() => [
|
|
1345
1352
|
Ct(D(te.value.title), 1)
|
|
1346
1353
|
]),
|
|
1347
1354
|
key: "0"
|
|
1348
1355
|
} : void 0,
|
|
1349
1356
|
e.value.table.useDialog ? {
|
|
1350
1357
|
name: "actions",
|
|
1351
|
-
fn:
|
|
1358
|
+
fn: C(() => [
|
|
1352
1359
|
y("button", {
|
|
1353
1360
|
tabindex: "0",
|
|
1354
1361
|
class: "vue-ui-user-options-button",
|
|
@@ -1362,11 +1369,11 @@ const Bl = ["id"], El = ["id"], Rl = ["xmlns", "viewBox"], Ul = ["width", "heigh
|
|
|
1362
1369
|
]),
|
|
1363
1370
|
key: "1"
|
|
1364
1371
|
} : void 0
|
|
1365
|
-
]), 1040)) :
|
|
1366
|
-
i(me) ? (u(), B(Sl, { key: 9 })) :
|
|
1372
|
+
]), 1040)) : k("", !0),
|
|
1373
|
+
i(me) ? (u(), B(Sl, { key: 9 })) : k("", !0)
|
|
1367
1374
|
], 46, Bl));
|
|
1368
1375
|
}
|
|
1369
|
-
}, Fa = /* @__PURE__ */ Ml(ya, [["__scopeId", "data-v-
|
|
1376
|
+
}, Fa = /* @__PURE__ */ Ml(ya, [["__scopeId", "data-v-4462e610"]]);
|
|
1370
1377
|
export {
|
|
1371
1378
|
Fa as default
|
|
1372
1379
|
};
|