vue-data-ui 3.4.7 → 3.4.9
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-CTUqGqWV.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-DjxWWa78.js} +55 -55
- package/dist/vue-data-ui.js +55 -55
- package/dist/{vue-ui-3d-bar-D1GoJWeg.js → vue-ui-3d-bar-CLE7f9pl.js} +49 -42
- package/dist/{vue-ui-age-pyramid-BDGFSsA5.js → vue-ui-age-pyramid-D73uIOPm.js} +12 -5
- package/dist/{vue-ui-bullet-C3GtE3bF.js → vue-ui-bullet-Bybo0xK2.js} +59 -52
- package/dist/{vue-ui-candlestick-BlzmB2vM.js → vue-ui-candlestick-D_FyMdqH.js} +56 -49
- package/dist/{vue-ui-carousel-table-TKa7KYZ0.js → vue-ui-carousel-table-BvMlNdVo.js} +79 -72
- package/dist/{vue-ui-chestnut-DNxARRsx.js → vue-ui-chestnut-DA0g0bDV.js} +77 -70
- package/dist/{vue-ui-chord-BM7tZig3.js → vue-ui-chord-CDgzolI-.js} +71 -64
- package/dist/{vue-ui-circle-pack-BZU75WUb.js → vue-ui-circle-pack-BPDm-ro5.js} +58 -51
- package/dist/{vue-ui-dashboard-pNXFzQu4.js → vue-ui-dashboard-CeJwbiON.js} +56 -56
- package/dist/{vue-ui-donut-CRvfqCUO.js → vue-ui-donut-DjQXHBJE.js} +95 -88
- package/dist/{vue-ui-donut-evolution-CCdIWlyZ.js → vue-ui-donut-evolution-Ca3Svr0B.js} +80 -73
- package/dist/{vue-ui-dumbbell-CLmwZyrf.js → vue-ui-dumbbell-CxCE2luV.js} +12 -5
- package/dist/{vue-ui-flow-BY8XQXKF.js → vue-ui-flow-DEvwXd4W.js} +205 -198
- package/dist/{vue-ui-funnel-BmxhWoVW.js → vue-ui-funnel-Bgcx7xia.js} +98 -91
- package/dist/{vue-ui-galaxy-BgtKffX5.js → vue-ui-galaxy-BWr1EMob.js} +140 -133
- package/dist/{vue-ui-gauge-DLpK4-Cd.js → vue-ui-gauge-DQricvo2.js} +108 -101
- package/dist/{vue-ui-gizmo-CCNboEnL.js → vue-ui-gizmo-C-fKe3io.js} +1 -1
- package/dist/{vue-ui-heatmap-BSDmuvq8.js → vue-ui-heatmap-B-o_i7Hu.js} +97 -90
- package/dist/{vue-ui-history-plot-s8wYm7fn.js → vue-ui-history-plot-DzQ9DPUJ.js} +41 -34
- package/dist/{vue-ui-molecule-BYWE2ONy.js → vue-ui-molecule-I2OhrCR2.js} +94 -87
- package/dist/{vue-ui-mood-radar-BOvaA1Jq.js → vue-ui-mood-radar-BAT7kZUy.js} +71 -64
- package/dist/{vue-ui-nested-donuts-BUGkuN56.js → vue-ui-nested-donuts-CjhJDAQi.js} +93 -86
- package/dist/{vue-ui-onion-CPshjlgf.js → vue-ui-onion-DTY2p87s.js} +82 -75
- package/dist/{vue-ui-parallel-coordinate-plot-orQotxDr.js → vue-ui-parallel-coordinate-plot-C8aWTcNn.js} +116 -109
- package/dist/{vue-ui-quadrant-CM3iH31f.js → vue-ui-quadrant-DGnasrCR.js} +46 -39
- package/dist/{vue-ui-quick-chart-BhO2YQn0.js → vue-ui-quick-chart-Cam_sWet.js} +171 -164
- package/dist/{vue-ui-radar-CNZVFG-v.js → vue-ui-radar-DNI9WI2R.js} +36 -29
- package/dist/{vue-ui-relation-circle-BX48Cgx3.js → vue-ui-relation-circle-Dj1jhcsl.js} +100 -93
- package/dist/{vue-ui-ridgeline-MQAF9nvq.js → vue-ui-ridgeline-adIls6bj.js} +23 -16
- package/dist/{vue-ui-rings-BPhLSCUX.js → vue-ui-rings-CnTMFK6R.js} +55 -48
- package/dist/{vue-ui-scatter-C3dD6T6q.js → vue-ui-scatter-fzR2c0St.js} +189 -182
- package/dist/{vue-ui-skeleton-Be8xm0gy.js → vue-ui-skeleton-DUdI2uOO.js} +1 -1
- package/dist/{vue-ui-spark-trend-suNsujGP.js → vue-ui-spark-trend-DxpRfUJz.js} +1 -1
- package/dist/{vue-ui-sparkbar-BjD2kUth.js → vue-ui-sparkbar-B44oER5n.js} +1 -1
- package/dist/{vue-ui-sparkgauge-C816ocz6.js → vue-ui-sparkgauge-ix12NZ7M.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAgfueUq.js → vue-ui-sparkhistogram-Cs-QDYBR.js} +1 -1
- package/dist/{vue-ui-sparkline-BmVwG9vw.js → vue-ui-sparkline-Cb8ZmyUq.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-DoFTW_u_.js → vue-ui-sparkstackbar-BiRZ51OU.js} +1 -1
- package/dist/{vue-ui-stackbar-C1qHHSuI.js → vue-ui-stackbar-DubS6Pg8.js} +55 -47
- package/dist/{vue-ui-strip-plot-Ccz9BiSl.js → vue-ui-strip-plot-BjG-Jxnb.js} +13 -6
- package/dist/{vue-ui-table-IKsrsEUh.js → vue-ui-table-DdBdLrAL.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-EpCo2Be5.js} +1 -1
- package/dist/{vue-ui-thermometer-fY5WxAbX.js → vue-ui-thermometer-DTnfnf9z.js} +83 -76
- package/dist/{vue-ui-timer-BBdNJ0fK.js → vue-ui-timer-Br3wp8hG.js} +1 -1
- package/dist/{vue-ui-tiremarks-Co0t61HH.js → vue-ui-tiremarks-CrC_tlIx.js} +43 -36
- package/dist/{vue-ui-treemap-ujTn_36A.js → vue-ui-treemap-kyuyi2ES.js} +114 -107
- package/dist/{vue-ui-vertical-bar-BNp-Vl0q.js → vue-ui-vertical-bar-yfbEfLqy.js} +89 -82
- package/dist/{vue-ui-waffle-CRPYb9mZ.js → vue-ui-waffle-m-9sqQik.js} +41 -34
- package/dist/{vue-ui-wheel-BvycoQ3Z.js → vue-ui-wheel-BasM7FWt.js} +132 -125
- package/dist/{vue-ui-word-cloud-Cjs46-dC.js → vue-ui-word-cloud-vNwswYZD.js} +116 -109
- package/dist/{vue-ui-world-BTLAdJeD.js → vue-ui-world-BsCNyZy_.js} +71 -64
- package/dist/{vue-ui-xy-CBRHUbAn.js → vue-ui-xy-CIrw1lWQ.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 ee, useSlots as kl, computed as y, shallowRef as H, ref as g, onMounted as
|
|
2
|
-
import { o as Lt, f as He, g as Al, c as
|
|
1
|
+
import { defineAsyncComponent as ee, useSlots as kl, computed as y, shallowRef as H, ref as g, onMounted as St, onBeforeUnmount as Tt, toRefs as xl, watch as fe, createElementBlock as r, openBlock as n, normalizeStyle as $, normalizeClass as Ue, createBlock as te, createCommentVNode as v, renderSlot as b, createElementVNode as h, createVNode as Se, unref as u, createSlots as We, withCtx as C, normalizeProps as ue, guardReactiveProps as re, Fragment as w, renderList as L, mergeProps as qe, toDisplayString as V, withDirectives as Pt, createTextVNode as Te, vShow as Ft, Teleport as _l, resolveDynamicComponent as $l, nextTick as Cl } from "vue";
|
|
2
|
+
import { o as Lt, f as He, g as Al, c as Sl, t as Tl, e as Pl, x as Fl, h as It, p as ie, a as E, d as O, T as Mt, Z as Ll, X as Il, s as Pe, i as Ml, V as zl, _ as P, W as ge, Y as x, $ as zt, l as Ol, b as Dl, O as je, P as Nl, Q as Yl, G as Xl, a0 as Ot } from "./lib-C_mNZmhD.js";
|
|
3
3
|
import { t as Bl, u as Vl } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as El, a as Dt } from "./useNestedProp-BjZe1Y85.js";
|
|
5
5
|
import { u as Rl } from "./usePrinter-DTzqpYKF.js";
|
|
@@ -13,7 +13,7 @@ import Zl from "./Title-l36lOBMx.js";
|
|
|
13
13
|
import { t as Jl } from "./themes-AUNCOb2G.js";
|
|
14
14
|
import Kl from "./Legend-G6GMcdAc.js";
|
|
15
15
|
import { _ as ea } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "height"], sa = { key: 1 }, na = ["id"], ua = ["stop-color"], ra = ["offset", "stop-color"], ia = ["offset", "stop-color"], va = ["stop-color"], da = { key: 2 }, ca = ["id", "cx", "cy"], ha = ["stop-color", "stop-opacity"], ya = ["stop-color"], fa = ["id"], ga = ["id"], pa = ["id"], ma = ["flood-color"], ba = ["id"], wa = ["flood-color"], ka = ["d", "stroke", "filter"], xa = ["d", "stroke", "filter"], _a = ["cx", "cy", "r", "fill", "filter"], $a = { key: 6 }, Ca = ["stroke", "d"], Aa = ["d", "fill", "stroke", "stroke-width", "filter"],
|
|
16
|
+
const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "height"], sa = { key: 1 }, na = ["id"], ua = ["stop-color"], ra = ["offset", "stop-color"], ia = ["offset", "stop-color"], va = ["stop-color"], da = { key: 2 }, ca = ["id", "cx", "cy"], ha = ["stop-color", "stop-opacity"], ya = ["stop-color"], fa = ["id"], ga = ["id"], pa = ["id"], ma = ["flood-color"], ba = ["id"], wa = ["flood-color"], ka = ["d", "stroke", "filter"], xa = ["d", "stroke", "filter"], _a = ["cx", "cy", "r", "fill", "filter"], $a = { key: 6 }, Ca = ["stroke", "d"], Aa = ["d", "fill", "stroke", "stroke-width", "filter"], Sa = { key: 0 }, Ta = ["d", "fill", "stroke", "stroke-width", "filter"], Pa = { key: 0 }, Fa = ["stroke", "d"], La = { key: 0 }, Ia = ["d", "stroke", "stroke-width", "filter"], Ma = { key: 1 }, za = ["d", "fill", "stroke", "stroke-width", "filter"], Oa = ["d", "fill", "stroke", "stroke-width", "filter"], Da = { key: 1 }, Na = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ya = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xa = { key: 0 }, Ba = ["d", "fill", "stroke", "stroke-width"], Va = ["cx", "cy", "r", "stroke"], Ea = ["cx", "cy", "r", "fill"], Ra = ["cx", "cy", "r"], Ga = { key: 0 }, Ua = ["d", "stroke", "fill", "onMouseenter", "onMouseleave", "onClick"], Wa = { key: 1 }, qa = ["cx", "cy", "r"], Ha = ["x", "y", "fill", "font-size"], ja = ["x", "y", "fill", "font-size"], Qa = ["x", "y", "fill", "font-size"], Za = ["x", "y", "fill", "font-size"], Ja = ["filter"], Ka = { key: 0 }, eo = ["x", "y"], to = { key: 1 }, lo = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], ao = ["cx", "cy", "fill", "stroke", "filter", "onClick", "onMouseenter", "onMouseleave"], oo = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], so = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], no = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "onMouseenter", "onMouseleave"], uo = ["text-anchor", "x", "y", "fill", "font-size", "onClick", "innerHTML"], ro = { key: 2 }, io = ["x", "y", "width"], vo = ["x", "y", "width"], co = {
|
|
17
17
|
key: 4,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
19
|
}, ho = ["id"], yo = ["onClick"], fo = {
|
|
@@ -37,7 +37,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
37
37
|
},
|
|
38
38
|
emits: ["selectLegend", "selectDatapoint"],
|
|
39
39
|
setup(Qe, { expose: Nt, emit: Yt }) {
|
|
40
|
-
const Xt = ee(() => import("./Tooltip-oWCO1HKy.js")), Bt = ee(() => import("./BaseIcon-BmMbm4d0.js")), Vt = ee(() => import("./vue-ui-accordion-CZ0thhxa.js")), Et = ee(() => import("./DataTable-BT7VF2ua.js")), Rt = ee(() => import("./PenAndPaper-DSvu9dwa.js")), Gt = ee(() => import("./UserOptions-
|
|
40
|
+
const Xt = ee(() => import("./Tooltip-oWCO1HKy.js")), Bt = ee(() => import("./BaseIcon-BmMbm4d0.js")), Vt = ee(() => import("./vue-ui-accordion-CZ0thhxa.js")), Et = ee(() => import("./DataTable-BT7VF2ua.js")), Rt = ee(() => import("./PenAndPaper-DSvu9dwa.js")), Gt = ee(() => import("./UserOptions-CGnQt6Fd.js")), Ut = ee(() => import("./PackageVersion-CTUqGqWV.js")), Wt = ee(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_donut: qt } = El(), Ht = kl(), k = Qe, we = y({
|
|
41
41
|
get() {
|
|
42
42
|
return !!k.dataset && k.dataset.length;
|
|
43
43
|
},
|
|
@@ -57,7 +57,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
57
57
|
Le = !1;
|
|
58
58
|
const t = e.value, o = ke.value, l = le.value;
|
|
59
59
|
if (!t.autoSize || !o || !l) return;
|
|
60
|
-
const [a, i, c, m] = l.getAttribute("viewBox").split(" ").map(Number),
|
|
60
|
+
const [a, i, c, m] = l.getAttribute("viewBox").split(" ").map(Number), A = { x: a, y: i, width: c, height: m }, M = [
|
|
61
61
|
{
|
|
62
62
|
selector: ".vue-data-ui-datalabel-value",
|
|
63
63
|
baseSize: t.style.chart.layout.labels.percentage.fontSize,
|
|
@@ -75,7 +75,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
75
75
|
o.querySelectorAll(B).forEach((bl) => {
|
|
76
76
|
const wl = Ol({
|
|
77
77
|
el: bl,
|
|
78
|
-
bounds:
|
|
78
|
+
bounds: A,
|
|
79
79
|
currentFontSize: K,
|
|
80
80
|
minFontSize: Ge,
|
|
81
81
|
attempts: 200,
|
|
@@ -86,11 +86,11 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
St(async () => {
|
|
90
90
|
ot.value = !0, st(), requestAnimationFrame(R);
|
|
91
91
|
});
|
|
92
92
|
let Ie;
|
|
93
|
-
|
|
93
|
+
St(() => {
|
|
94
94
|
D.value && (Ie = new ResizeObserver((t) => {
|
|
95
95
|
for (const o of t) {
|
|
96
96
|
const { width: l, height: a } = o.contentRect;
|
|
@@ -100,9 +100,9 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}), Ie.observe(D.value.parentElement));
|
|
103
|
-
}),
|
|
103
|
+
}), Tt(() => {
|
|
104
104
|
Ie?.disconnect();
|
|
105
|
-
}),
|
|
105
|
+
}), Tt(() => {
|
|
106
106
|
j.value && (ve.value && j.value.unobserve(ve.value), j.value.disconnect());
|
|
107
107
|
});
|
|
108
108
|
const Me = y(() => !!e.value.debug);
|
|
@@ -149,7 +149,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
149
149
|
j.value && (ve.value && j.value.unobserve(ve.value), j.value.disconnect()), j.value = new ResizeObserver(t), ve.value = D.value.parentNode, j.value.observe(ve.value);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
const f = g(
|
|
152
|
+
const f = g(Sl());
|
|
153
153
|
g(null);
|
|
154
154
|
const ze = g(!1), Oe = g(""), N = g(null), nt = g(0);
|
|
155
155
|
function De() {
|
|
@@ -187,7 +187,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
187
187
|
color: "#CACACA"
|
|
188
188
|
}
|
|
189
189
|
],
|
|
190
|
-
skeletonConfig:
|
|
190
|
+
skeletonConfig: Tl({
|
|
191
191
|
defaultConfig: e.value,
|
|
192
192
|
userConfig: {
|
|
193
193
|
useCssAnimation: !1,
|
|
@@ -224,21 +224,21 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
})
|
|
227
|
-
}),
|
|
227
|
+
}), S = g(!0), W = H([]);
|
|
228
228
|
function Jt(t, o = 1e3, l = 50) {
|
|
229
229
|
return new Promise((a) => {
|
|
230
230
|
const i = t.length;
|
|
231
231
|
W.value = Array(i).fill(0);
|
|
232
232
|
let c = 0;
|
|
233
|
-
t.forEach((m,
|
|
233
|
+
t.forEach((m, A) => {
|
|
234
234
|
setTimeout(() => {
|
|
235
235
|
const M = performance.now();
|
|
236
236
|
function z(B) {
|
|
237
237
|
const K = Math.min((B - M) / o, 1), Ge = Ot(K);
|
|
238
|
-
W.value[
|
|
238
|
+
W.value[A] = m * Ge, W.value = [...W.value], K < 1 ? (requestAnimationFrame(z), requestAnimationFrame(R)) : (W.value[A] = m, W.value = [...W.value], c += 1, c === i && a(), requestAnimationFrame(R));
|
|
239
239
|
}
|
|
240
240
|
requestAnimationFrame(z);
|
|
241
|
-
},
|
|
241
|
+
}, A * l);
|
|
242
242
|
});
|
|
243
243
|
});
|
|
244
244
|
}
|
|
@@ -259,7 +259,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
259
259
|
e.value.startAnimation.staggerMs
|
|
260
260
|
);
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
S.value = !1;
|
|
263
263
|
},
|
|
264
264
|
{ immediate: !0 }
|
|
265
265
|
);
|
|
@@ -338,11 +338,11 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
338
338
|
const U = g([]), oe = g(!1);
|
|
339
339
|
function pt({ from: t, to: o, duration: l, onUpdate: a, onDone: i, easing: c = Ot }) {
|
|
340
340
|
const m = performance.now();
|
|
341
|
-
function
|
|
341
|
+
function A(M) {
|
|
342
342
|
const z = Math.min((M - m) / l, 1), B = c(z), K = t + (o - t) * B;
|
|
343
|
-
a(K, z), z < 1 ? requestAnimationFrame(
|
|
343
|
+
a(K, z), z < 1 ? requestAnimationFrame(A) : (a(o, 1), i && i());
|
|
344
344
|
}
|
|
345
|
-
requestAnimationFrame(
|
|
345
|
+
requestAnimationFrame(A);
|
|
346
346
|
}
|
|
347
347
|
function mt(t) {
|
|
348
348
|
const o = G.value.find((i, c) => c === t);
|
|
@@ -350,16 +350,16 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
350
350
|
if (U.value.includes(t)) {
|
|
351
351
|
let c = function() {
|
|
352
352
|
I.value = I.value.map(
|
|
353
|
-
(
|
|
353
|
+
(A, M) => t === M ? { ...A, value: i } : A
|
|
354
354
|
);
|
|
355
355
|
}, m = function() {
|
|
356
356
|
oe.value = !0, pt({
|
|
357
357
|
from: a,
|
|
358
358
|
to: i,
|
|
359
359
|
duration: e.value.serieToggleAnimation.durationMs,
|
|
360
|
-
onUpdate: (
|
|
360
|
+
onUpdate: (A, M) => {
|
|
361
361
|
I.value = I.value.map(
|
|
362
|
-
(z, B) => t === B ? { ...z, value:
|
|
362
|
+
(z, B) => t === B ? { ...z, value: A } : z
|
|
363
363
|
), requestAnimationFrame(R);
|
|
364
364
|
},
|
|
365
365
|
onDone: () => {
|
|
@@ -367,20 +367,20 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
367
367
|
}
|
|
368
368
|
});
|
|
369
369
|
};
|
|
370
|
-
U.value = U.value.filter((
|
|
370
|
+
U.value = U.value.filter((A) => A !== t);
|
|
371
371
|
const i = o.value;
|
|
372
372
|
e.value.serieToggleAnimation.show && e.value.type === "classic" ? m() : (c(), requestAnimationFrame(R));
|
|
373
373
|
} else if (U.value.length < G.value.length - 1) {
|
|
374
374
|
let i = function() {
|
|
375
375
|
U.value.push(t), I.value = I.value.map(
|
|
376
|
-
(m,
|
|
376
|
+
(m, A) => t === A ? { ...m, value: 0 } : m
|
|
377
377
|
);
|
|
378
378
|
}, c = function() {
|
|
379
379
|
oe.value = !0, pt({
|
|
380
380
|
from: a,
|
|
381
381
|
to: 0,
|
|
382
382
|
duration: e.value.serieToggleAnimation.durationMs,
|
|
383
|
-
onUpdate: (m,
|
|
383
|
+
onUpdate: (m, A) => {
|
|
384
384
|
I.value = I.value.map(
|
|
385
385
|
(M, z) => t === z ? { ...M, value: m } : M
|
|
386
386
|
), requestAnimationFrame(R);
|
|
@@ -399,7 +399,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
399
399
|
})));
|
|
400
400
|
}
|
|
401
401
|
const al = y(() => de.value.reduce((t, o) => t + o.values.reduce((l, a) => l + a, 0), 0)), q = y(() => {
|
|
402
|
-
if (
|
|
402
|
+
if (S.value && !_e.value) {
|
|
403
403
|
const t = W.value.map((l, a) => ({
|
|
404
404
|
...G.value[a],
|
|
405
405
|
value: l,
|
|
@@ -458,7 +458,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
458
458
|
})), _ = y(() => {
|
|
459
459
|
const t = e.value.style.chart.layout.donut.radiusRatio, o = Math.max(0.1, Math.min(0.50001, t)), l = Math.min(s.value.width * o, s.value.height * o);
|
|
460
460
|
return Math.max(12, l);
|
|
461
|
-
}),
|
|
461
|
+
}), T = y(() => Mt({ series: q.value }, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ae.value)), sl = y(() => Math.abs(q.value.map((t) => t.value).reduce((t, o) => t + o, 0)) > 0), nl = y(() => Mt({
|
|
462
462
|
series: [
|
|
463
463
|
{
|
|
464
464
|
value: 1,
|
|
@@ -470,7 +470,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
470
470
|
absoluteValues: [1]
|
|
471
471
|
}
|
|
472
472
|
]
|
|
473
|
-
}, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ae.value)), Y = y(() =>
|
|
473
|
+
}, s.value.width / 2, s.value.height / 2, _.value, _.value, 1.99999, 2, 1, 360, 105.25, ae.value)), Y = y(() => T.value.filter((t) => !t.ghost)), d = y(() => {
|
|
474
474
|
const t = Math.max(...q.value.map((l) => l.value)), o = q.value.map((l) => l.value / t);
|
|
475
475
|
return Ll({
|
|
476
476
|
series: o,
|
|
@@ -479,7 +479,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
479
479
|
y: s.value.height / 2
|
|
480
480
|
},
|
|
481
481
|
maxRadius: Math.min(s.value.width, s.value.height) / 3,
|
|
482
|
-
hasGhost:
|
|
482
|
+
hasGhost: S.value
|
|
483
483
|
});
|
|
484
484
|
});
|
|
485
485
|
function ce(t) {
|
|
@@ -814,66 +814,73 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
814
814
|
}, We({ _: 2 }, [
|
|
815
815
|
t.$slots.menuIcon ? {
|
|
816
816
|
name: "menuIcon",
|
|
817
|
-
fn:
|
|
817
|
+
fn: C(({ isOpen: l, color: a }) => [
|
|
818
818
|
b(t.$slots, "menuIcon", ue(re({ isOpen: l, color: a })), void 0, !0)
|
|
819
819
|
]),
|
|
820
820
|
key: "0"
|
|
821
821
|
} : void 0,
|
|
822
822
|
t.$slots.optionTooltip ? {
|
|
823
823
|
name: "optionTooltip",
|
|
824
|
-
fn:
|
|
824
|
+
fn: C(() => [
|
|
825
825
|
b(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
826
826
|
]),
|
|
827
827
|
key: "1"
|
|
828
828
|
} : void 0,
|
|
829
829
|
t.$slots.optionPdf ? {
|
|
830
830
|
name: "optionPdf",
|
|
831
|
-
fn:
|
|
831
|
+
fn: C(() => [
|
|
832
832
|
b(t.$slots, "optionPdf", {}, void 0, !0)
|
|
833
833
|
]),
|
|
834
834
|
key: "2"
|
|
835
835
|
} : void 0,
|
|
836
836
|
t.$slots.optionCsv ? {
|
|
837
837
|
name: "optionCsv",
|
|
838
|
-
fn:
|
|
838
|
+
fn: C(() => [
|
|
839
839
|
b(t.$slots, "optionCsv", {}, void 0, !0)
|
|
840
840
|
]),
|
|
841
841
|
key: "3"
|
|
842
842
|
} : void 0,
|
|
843
843
|
t.$slots.optionImg ? {
|
|
844
844
|
name: "optionImg",
|
|
845
|
-
fn:
|
|
845
|
+
fn: C(() => [
|
|
846
846
|
b(t.$slots, "optionImg", {}, void 0, !0)
|
|
847
847
|
]),
|
|
848
848
|
key: "4"
|
|
849
849
|
} : void 0,
|
|
850
|
+
t.$slots.optionSvg ? {
|
|
851
|
+
name: "optionSvg",
|
|
852
|
+
fn: C(() => [
|
|
853
|
+
b(t.$slots, "optionSvg", {}, void 0, !0)
|
|
854
|
+
]),
|
|
855
|
+
key: "5"
|
|
856
|
+
} : void 0,
|
|
850
857
|
t.$slots.optionTable ? {
|
|
851
858
|
name: "optionTable",
|
|
852
|
-
fn:
|
|
859
|
+
fn: C(() => [
|
|
853
860
|
b(t.$slots, "optionTable", {}, void 0, !0)
|
|
854
861
|
]),
|
|
855
|
-
key: "
|
|
862
|
+
key: "6"
|
|
856
863
|
} : void 0,
|
|
857
864
|
t.$slots.optionLabels ? {
|
|
858
865
|
name: "optionLabels",
|
|
859
|
-
fn:
|
|
866
|
+
fn: C(() => [
|
|
860
867
|
b(t.$slots, "optionLabels", {}, void 0, !0)
|
|
861
868
|
]),
|
|
862
|
-
key: "
|
|
869
|
+
key: "7"
|
|
863
870
|
} : void 0,
|
|
864
871
|
t.$slots.optionFullscreen ? {
|
|
865
872
|
name: "optionFullscreen",
|
|
866
|
-
fn:
|
|
873
|
+
fn: C(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
867
874
|
b(t.$slots, "optionFullscreen", ue(re({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
868
875
|
]),
|
|
869
|
-
key: "
|
|
876
|
+
key: "8"
|
|
870
877
|
} : void 0,
|
|
871
878
|
t.$slots.optionAnnotator ? {
|
|
872
879
|
name: "optionAnnotator",
|
|
873
|
-
fn:
|
|
880
|
+
fn: C(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
874
881
|
b(t.$slots, "optionAnnotator", ue(re({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
875
882
|
]),
|
|
876
|
-
key: "
|
|
883
|
+
key: "9"
|
|
877
884
|
} : void 0
|
|
878
885
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "callbacks", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
879
886
|
(n(), r("svg", {
|
|
@@ -889,7 +896,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
889
896
|
ref: ke,
|
|
890
897
|
class: "vue-data-ui-g"
|
|
891
898
|
}, [
|
|
892
|
-
|
|
899
|
+
Se(u(Ut)),
|
|
893
900
|
t.$slots["chart-background"] ? (n(), r("foreignObject", {
|
|
894
901
|
key: 0,
|
|
895
902
|
x: 0,
|
|
@@ -937,12 +944,12 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
937
944
|
}, [
|
|
938
945
|
h("stop", {
|
|
939
946
|
offset: "0%",
|
|
940
|
-
"stop-color": u(Ml)(
|
|
947
|
+
"stop-color": u(Ml)(T.value[a].color, 0.05),
|
|
941
948
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
942
949
|
}, null, 8, ha),
|
|
943
950
|
h("stop", {
|
|
944
951
|
offset: "100%",
|
|
945
|
-
"stop-color":
|
|
952
|
+
"stop-color": T.value[a].color
|
|
946
953
|
}, null, 8, ya)
|
|
947
954
|
], 8, ca))), 256))
|
|
948
955
|
])) : v("", !0),
|
|
@@ -993,7 +1000,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
993
1000
|
}, null, 8, wa)
|
|
994
1001
|
], 8, ba)
|
|
995
1002
|
]),
|
|
996
|
-
e.value.type === "classic" ? (n(!0), r(w, { key: 3 }, L(
|
|
1003
|
+
e.value.type === "classic" ? (n(!0), r(w, { key: 3 }, L(T.value.filter((l) => !l.ghost), (l, a) => (n(), r("g", null, [
|
|
997
1004
|
X(l) && p.value.dataLabels.show ? (n(), r("path", {
|
|
998
1005
|
key: 0,
|
|
999
1006
|
d: u(zl)(l, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, ae.value, 12, e.value.style.chart.layout.curvedMarkers),
|
|
@@ -1005,7 +1012,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1005
1012
|
filter: se(a)
|
|
1006
1013
|
}, null, 8, ka)) : v("", !0)
|
|
1007
1014
|
]))), 256)) : v("", !0),
|
|
1008
|
-
e.value.type === "polar" ? (n(!0), r(w, { key: 4 }, L(
|
|
1015
|
+
e.value.type === "polar" ? (n(!0), r(w, { key: 4 }, L(T.value.filter((l) => !l.ghost), (l, a) => (n(), r("g", null, [
|
|
1009
1016
|
X(l) && p.value.dataLabels.show ? (n(), r("path", {
|
|
1010
1017
|
key: 0,
|
|
1011
1018
|
d: `M ${u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x},${u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 24, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y} ${d.value[a].middlePoint.x},${d.value[a].middlePoint.y}`,
|
|
@@ -1016,7 +1023,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1016
1023
|
fill: "none",
|
|
1017
1024
|
filter: se(a),
|
|
1018
1025
|
style: $({
|
|
1019
|
-
transition:
|
|
1026
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
|
|
1020
1027
|
})
|
|
1021
1028
|
}, null, 12, xa)) : v("", !0)
|
|
1022
1029
|
]))), 256)) : v("", !0),
|
|
@@ -1049,7 +1056,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1049
1056
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
1050
1057
|
filter: se(a)
|
|
1051
1058
|
}, null, 8, Aa))), 256)),
|
|
1052
|
-
t.$slots.pattern ? (n(), r("g",
|
|
1059
|
+
t.$slots.pattern ? (n(), r("g", Sa, [
|
|
1053
1060
|
(n(!0), r(w, null, L(Y.value, (l, a) => (n(), r("path", {
|
|
1054
1061
|
class: "vue-ui-donut-arc-path",
|
|
1055
1062
|
d: l.arcSlice,
|
|
@@ -1057,17 +1064,17 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1057
1064
|
stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
|
|
1058
1065
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
1059
1066
|
filter: se(a)
|
|
1060
|
-
}, null, 8,
|
|
1067
|
+
}, null, 8, Ta))), 256))
|
|
1061
1068
|
])) : v("", !0)
|
|
1062
1069
|
], 64)) : v("", !0),
|
|
1063
1070
|
F.value && e.value.type === "polar" ? (n(), r(w, { key: 8 }, [
|
|
1064
|
-
|
|
1071
|
+
T.value.length > 1 ? (n(), r("g", Pa, [
|
|
1065
1072
|
(n(!0), r(w, null, L(Y.value, (l, a) => (n(), r("path", {
|
|
1066
1073
|
stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
|
|
1067
1074
|
d: d.value[a].path,
|
|
1068
1075
|
fill: "#FFFFFF",
|
|
1069
1076
|
style: $({
|
|
1070
|
-
transition:
|
|
1077
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
|
|
1071
1078
|
})
|
|
1072
1079
|
}, null, 12, Fa))), 256)),
|
|
1073
1080
|
e.value.style.chart.layout.donut.useShadow ? (n(), r("g", La, [
|
|
@@ -1079,7 +1086,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1079
1086
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
1080
1087
|
filter: `url(#drop_shadow_${f.value})`,
|
|
1081
1088
|
style: $({
|
|
1082
|
-
transition:
|
|
1089
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
|
|
1083
1090
|
})
|
|
1084
1091
|
}, null, 12, Ia))), 256))
|
|
1085
1092
|
])) : v("", !0),
|
|
@@ -1092,7 +1099,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1092
1099
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
1093
1100
|
filter: se(a),
|
|
1094
1101
|
style: $({
|
|
1095
|
-
transition:
|
|
1102
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
|
|
1096
1103
|
transformOrigin: "center"
|
|
1097
1104
|
})
|
|
1098
1105
|
}, null, 12, za))), 256))
|
|
@@ -1105,7 +1112,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1105
1112
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
1106
1113
|
filter: se(a),
|
|
1107
1114
|
style: $({
|
|
1108
|
-
transition:
|
|
1115
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
|
|
1109
1116
|
})
|
|
1110
1117
|
}, null, 12, Oa))), 256))
|
|
1111
1118
|
])) : (n(), r("g", Da, [
|
|
@@ -1114,7 +1121,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1114
1121
|
cx: s.value.width / 2,
|
|
1115
1122
|
cy: s.value.height / 2,
|
|
1116
1123
|
r: _.value,
|
|
1117
|
-
fill: `url(#pattern_${f.value}_${
|
|
1124
|
+
fill: `url(#pattern_${f.value}_${T.value[0].patternIndex})`,
|
|
1118
1125
|
stroke: e.value.style.chart.backgroundColor,
|
|
1119
1126
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
1120
1127
|
}, null, 8, Na)) : v("", !0),
|
|
@@ -1122,7 +1129,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1122
1129
|
cx: s.value.width / 2,
|
|
1123
1130
|
cy: s.value.height / 2,
|
|
1124
1131
|
r: _.value,
|
|
1125
|
-
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${f.value})` :
|
|
1132
|
+
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${f.value})` : T.value[0].color,
|
|
1126
1133
|
stroke: e.value.style.chart.backgroundColor,
|
|
1127
1134
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
1128
1135
|
}, null, 8, Ya)
|
|
@@ -1165,8 +1172,8 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1165
1172
|
r: Math.max(0.1, ae.value * 1.7)
|
|
1166
1173
|
}, null, 8, Ra),
|
|
1167
1174
|
F.value ? (n(), r(w, { key: 11 }, [
|
|
1168
|
-
|
|
1169
|
-
(n(!0), r(w, null, L(
|
|
1175
|
+
T.value.length > 1 || e.value.type === "classic" ? (n(), r("g", Ga, [
|
|
1176
|
+
(n(!0), r(w, null, L(T.value.filter((l) => !l.ghost), (l, a) => (n(), r("path", {
|
|
1170
1177
|
d: e.value.type === "classic" ? l.arcSlice : d.value[a].path,
|
|
1171
1178
|
stroke: e.value.style.chart.layout.donut.borderColorAuto ? e.value.style.chart.backgroundColor : e.value.style.chart.layout.donut.borderColor,
|
|
1172
1179
|
fill: N.value === a ? e.value.style.chart.layout.donut.selectedColor : "transparent",
|
|
@@ -1186,13 +1193,13 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1186
1193
|
r: _.value,
|
|
1187
1194
|
fill: "transparent",
|
|
1188
1195
|
onMouseenter: o[0] || (o[0] = (l) => ye({
|
|
1189
|
-
datapoint:
|
|
1196
|
+
datapoint: T.value[0],
|
|
1190
1197
|
relativeIndex: 0,
|
|
1191
|
-
seriesIndex:
|
|
1198
|
+
seriesIndex: T.value[0].seriesIndex,
|
|
1192
1199
|
show: !0
|
|
1193
1200
|
})),
|
|
1194
|
-
onMouseleave: o[1] || (o[1] = (l) => he({ datapoint:
|
|
1195
|
-
onClick: o[2] || (o[2] = (l) => J(
|
|
1201
|
+
onMouseleave: o[1] || (o[1] = (l) => he({ datapoint: T.value[0], seriesIndex: T.value[0].seriesIndex })),
|
|
1202
|
+
onClick: o[2] || (o[2] = (l) => J(T.value[0], t.i))
|
|
1196
1203
|
}, null, 40, qa)
|
|
1197
1204
|
]))
|
|
1198
1205
|
], 64)) : v("", !0),
|
|
@@ -1245,7 +1252,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1245
1252
|
fill: e.value.style.chart.layout.labels.hollow.average.value.color,
|
|
1246
1253
|
"font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
1247
1254
|
style: $(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
1248
|
-
}, V(oe.value ||
|
|
1255
|
+
}, V(oe.value || S.value ? "--" : u(E)(
|
|
1249
1256
|
e.value.style.chart.layout.labels.hollow.average.value.formatter,
|
|
1250
1257
|
Be.value,
|
|
1251
1258
|
u(O)({
|
|
@@ -1321,7 +1328,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1321
1328
|
}),
|
|
1322
1329
|
onMouseleave: (i) => he({ datapoint: l, seriesIndex: l.seriesIndex }),
|
|
1323
1330
|
style: $({
|
|
1324
|
-
transition:
|
|
1331
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`
|
|
1325
1332
|
})
|
|
1326
1333
|
}, null, 44, ao)) : v("", !0)
|
|
1327
1334
|
], 64)) : v("", !0),
|
|
@@ -1374,7 +1381,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1374
1381
|
}, null, 12, so), [
|
|
1375
1382
|
[Ft, X(l) && p.value.dataLabels.show]
|
|
1376
1383
|
]),
|
|
1377
|
-
o[6] || (o[6] =
|
|
1384
|
+
o[6] || (o[6] = Te(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
|
|
1378
1385
|
], 64)) : v("", !0),
|
|
1379
1386
|
e.value.type === "polar" ? (n(), r(w, { key: 3 }, [
|
|
1380
1387
|
X(l) && p.value.dataLabels.show ? (n(), r("text", {
|
|
@@ -1386,7 +1393,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1386
1393
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
1387
1394
|
"font-size": xe.value,
|
|
1388
1395
|
style: $({
|
|
1389
|
-
transition:
|
|
1396
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
|
|
1390
1397
|
fontWeight: e.value.style.chart.layout.labels.percentage.bold ? "bold" : "normal"
|
|
1391
1398
|
}),
|
|
1392
1399
|
onClick: (i) => J(l, a),
|
|
@@ -1417,7 +1424,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1417
1424
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
1418
1425
|
"font-size": Q.value,
|
|
1419
1426
|
style: $({
|
|
1420
|
-
transition:
|
|
1427
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
|
|
1421
1428
|
fontWeight: e.value.style.chart.layout.labels.name.bold ? "bold" : "normal"
|
|
1422
1429
|
}),
|
|
1423
1430
|
onClick: (i) => J(l, a),
|
|
@@ -1429,7 +1436,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1429
1436
|
y: u(P)({ initX: d.value[a].middlePoint.x, initY: d.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + Q.value * 1.2
|
|
1430
1437
|
})
|
|
1431
1438
|
}, null, 12, uo)) : v("", !0),
|
|
1432
|
-
o[7] || (o[7] =
|
|
1439
|
+
o[7] || (o[7] = Te(' @mouseenter="useTooltip({ datapoint: arc, relativeIndex: i, seriesIndex: arc.seriesIndex, show: true })" @mouseleave="handleDatapointLeave({ datapoint: arc, seriesIndex: arc.seriesIndex })" /> ', -1))
|
|
1433
1440
|
], 64)) : v("", !0)
|
|
1434
1441
|
])),
|
|
1435
1442
|
p.value.dataLabels.show && e.value.style.chart.comments.show && l.comment ? (n(), r("g", ro, [
|
|
@@ -1443,7 +1450,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1443
1450
|
}, [
|
|
1444
1451
|
h("div", null, [
|
|
1445
1452
|
b(t.$slots, "plot-comment", {
|
|
1446
|
-
plot: { ...l, textAlign: u(x)(l, !0, 16, !0).anchor, flexAlign: u(x)(l, !0, 16).anchor, isFirstLoad:
|
|
1453
|
+
plot: { ...l, textAlign: u(x)(l, !0, 16, !0).anchor, flexAlign: u(x)(l, !0, 16).anchor, isFirstLoad: S.value }
|
|
1447
1454
|
}, void 0, !0)
|
|
1448
1455
|
])
|
|
1449
1456
|
], 8, io)) : v("", !0),
|
|
@@ -1454,14 +1461,14 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1454
1461
|
width: e.value.style.chart.comments.width,
|
|
1455
1462
|
height: "200",
|
|
1456
1463
|
style: $({
|
|
1457
|
-
transition:
|
|
1464
|
+
transition: S.value || !e.value.serieToggleAnimation.show ? "none" : `all ${e.value.serieToggleAnimation.durationMs}ms ease-in-out`,
|
|
1458
1465
|
overflow: "visible",
|
|
1459
1466
|
pointerEvents: "none"
|
|
1460
1467
|
})
|
|
1461
1468
|
}, [
|
|
1462
1469
|
h("div", null, [
|
|
1463
1470
|
b(t.$slots, "plot-comment", {
|
|
1464
|
-
plot: { ...l, textAlign: ce(d.value[a].middlePoint), flexAlign: ce(d.value[a].middlePoint), isFirstLoad:
|
|
1471
|
+
plot: { ...l, textAlign: ce(d.value[a].middlePoint), flexAlign: ce(d.value[a].middlePoint), isFirstLoad: S.value }
|
|
1465
1472
|
}, void 0, !0)
|
|
1466
1473
|
])
|
|
1467
1474
|
], 12, vo)) : v("", !0)
|
|
@@ -1490,7 +1497,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1490
1497
|
config: ol.value,
|
|
1491
1498
|
onClickMarker: o[3] || (o[3] = ({ i: l }) => mt(l))
|
|
1492
1499
|
}, We({
|
|
1493
|
-
item:
|
|
1500
|
+
item: C(({ legend: l, index: a }) => [
|
|
1494
1501
|
h("div", {
|
|
1495
1502
|
style: $(`opacity:${U.value.includes(a) ? 0.5 : 1}`),
|
|
1496
1503
|
onClick: (i) => l.segregate()
|
|
@@ -1500,8 +1507,8 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1500
1507
|
}, [
|
|
1501
1508
|
t.$slots.pattern ? {
|
|
1502
1509
|
name: "legend-pattern",
|
|
1503
|
-
fn:
|
|
1504
|
-
|
|
1510
|
+
fn: C(({ legend: l, index: a }) => [
|
|
1511
|
+
Se(Ql, {
|
|
1505
1512
|
shape: l.shape,
|
|
1506
1513
|
radius: 30,
|
|
1507
1514
|
stroke: "none",
|
|
@@ -1530,7 +1537,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1530
1537
|
dataset: G.value
|
|
1531
1538
|
})), void 0, !0)
|
|
1532
1539
|
])) : v("", !0),
|
|
1533
|
-
|
|
1540
|
+
Se(u(Xt), {
|
|
1534
1541
|
show: p.value.showTooltip && ze.value,
|
|
1535
1542
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1536
1543
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1550,10 +1557,10 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1550
1557
|
smoothForce: e.value.style.chart.tooltip.smoothForce,
|
|
1551
1558
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThrehsold
|
|
1552
1559
|
}, {
|
|
1553
|
-
"tooltip-before":
|
|
1560
|
+
"tooltip-before": C(() => [
|
|
1554
1561
|
b(t.$slots, "tooltip-before", ue(re({ ...Ve.value })), void 0, !0)
|
|
1555
1562
|
]),
|
|
1556
|
-
"tooltip-after":
|
|
1563
|
+
"tooltip-after": C(() => [
|
|
1557
1564
|
b(t.$slots, "tooltip-after", ue(re({ ...Ve.value })), void 0, !0)
|
|
1558
1565
|
]),
|
|
1559
1566
|
_: 3
|
|
@@ -1563,7 +1570,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1563
1570
|
ref: pe,
|
|
1564
1571
|
onClose: Ct
|
|
1565
1572
|
}), We({
|
|
1566
|
-
content:
|
|
1573
|
+
content: C(() => [
|
|
1567
1574
|
(n(), te(u(Et), {
|
|
1568
1575
|
key: `table_${lt.value}`,
|
|
1569
1576
|
colNames: Ce.value.colNames,
|
|
@@ -1574,14 +1581,14 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1574
1581
|
withCloseButton: !e.value.table.useDialog,
|
|
1575
1582
|
onClose: Ct
|
|
1576
1583
|
}, {
|
|
1577
|
-
th:
|
|
1584
|
+
th: C(({ th: l }) => [
|
|
1578
1585
|
h("div", {
|
|
1579
1586
|
innerHTML: l,
|
|
1580
1587
|
style: { display: "flex", "align-items": "center" }
|
|
1581
1588
|
}, null, 8, go)
|
|
1582
1589
|
]),
|
|
1583
|
-
td:
|
|
1584
|
-
|
|
1590
|
+
td: C(({ td: l }) => [
|
|
1591
|
+
Te(V(l.name ? l.name : isNaN(Number(l)) ? l.includes("%") ? l : u(E)(
|
|
1585
1592
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1586
1593
|
l,
|
|
1587
1594
|
u(O)({
|
|
@@ -1607,20 +1614,20 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1607
1614
|
}, [
|
|
1608
1615
|
e.value.table.useDialog ? {
|
|
1609
1616
|
name: "title",
|
|
1610
|
-
fn:
|
|
1611
|
-
|
|
1617
|
+
fn: C(() => [
|
|
1618
|
+
Te(V(be.value.title), 1)
|
|
1612
1619
|
]),
|
|
1613
1620
|
key: "0"
|
|
1614
1621
|
} : void 0,
|
|
1615
1622
|
e.value.table.useDialog ? {
|
|
1616
1623
|
name: "actions",
|
|
1617
|
-
fn:
|
|
1624
|
+
fn: C(() => [
|
|
1618
1625
|
h("button", {
|
|
1619
1626
|
tabindex: "0",
|
|
1620
1627
|
class: "vue-ui-user-options-button",
|
|
1621
1628
|
onClick: o[4] || (o[4] = (l) => Ee(e.value.userOptions.callbacks.csv))
|
|
1622
1629
|
}, [
|
|
1623
|
-
|
|
1630
|
+
Se(u(Bt), {
|
|
1624
1631
|
name: "excel",
|
|
1625
1632
|
stroke: be.value.props.color
|
|
1626
1633
|
}, null, 8, ["stroke"])
|
|
@@ -1632,7 +1639,7 @@ const ta = ["id"], la = ["id"], aa = ["xmlns", "viewBox"], oa = ["width", "heigh
|
|
|
1632
1639
|
u(_e) ? (n(), te(Ul, { key: 9 })) : v("", !0)
|
|
1633
1640
|
], 46, ta));
|
|
1634
1641
|
}
|
|
1635
|
-
}, Mo = /* @__PURE__ */ ea(po, [["__scopeId", "data-v-
|
|
1642
|
+
}, Mo = /* @__PURE__ */ ea(po, [["__scopeId", "data-v-2942bdc6"]]);
|
|
1636
1643
|
export {
|
|
1637
1644
|
Mo as default
|
|
1638
1645
|
};
|