vue-data-ui 2.3.89 → 2.3.91
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/{Arrow-6DWnAEHt.js → Arrow-CHTslrAF.js} +1 -1
- package/dist/{Arrow-CW5gDSmt.cjs → Arrow-DpuaFuue.cjs} +1 -1
- package/dist/{BaseIcon-Dj8EbAXm.js → BaseIcon-DfaCNBgc.js} +1 -1
- package/dist/{BaseIcon-B_MrASni.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
- package/dist/{DataTable-BmYcdJ1w.js → DataTable-BKc3r3k3.js} +2 -2
- package/dist/{DataTable-DAwK5x3h.cjs → DataTable-CnkdsvIo.cjs} +1 -1
- package/dist/{Legend-DhQ-a1RH.cjs → Legend-BQJV6Xk4.cjs} +1 -1
- package/dist/{Legend-BRG8ddDy.js → Legend-WNL92WSx.js} +1 -1
- package/dist/PackageVersion-D9PU8glB.js +10 -0
- package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
- package/dist/{Shape-D7jva0XA.cjs → Shape-CgW0V2Og.cjs} +1 -1
- package/dist/{Shape-BcL3EDZ5.js → Shape-DPvoEBm9.js} +1 -1
- package/dist/{Slicer-DI1kgq9D.js → Slicer-DE9nFM_c.js} +2 -2
- package/dist/{Slicer-DV29nclP.cjs → Slicer-Dma3nlzi.cjs} +1 -1
- package/dist/{Title-DYwo_Q5b.cjs → Title-Bg_BK11V.cjs} +1 -1
- package/dist/{Title-fAvrqioZ.js → Title-CECK1w9L.js} +1 -1
- package/dist/{Tooltip-TZYYFvPe.js → Tooltip-Ci3AprCm.js} +1 -1
- package/dist/{Tooltip-03RvVGln.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
- package/dist/{index-BKTciLz4.cjs → index-BhH89oF0.cjs} +1 -1
- package/dist/{index-Ca4RHJ4t.js → index-mBy4elhB.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-vP7uimPz.js → useNestedProp-BrIRtQj1.js} +1 -1
- package/dist/{useNestedProp-BFnXnY0k.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
- package/dist/{usePrinter-CxYg-Dw-.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
- package/dist/{usePrinter-5fwXghqP.js → usePrinter-Ck-yukK2.js} +1 -1
- package/dist/{vue-data-ui-BaLkNH7M.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
- package/dist/{vue-data-ui-4VG00HFR.js → vue-data-ui-BuL-2aYA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-C9a-AsIX.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DPJWcxqV.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
- package/dist/{vue-ui-accordion-SXHdW20_.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
- package/dist/{vue-ui-accordion-vYoYjedX.js → vue-ui-accordion-dyF20BlD.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BEC4SHLl.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
- package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
- package/dist/{vue-ui-annotator-B1NZRuJJ.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
- package/dist/{vue-ui-annotator-DFpv61wn.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
- package/dist/{vue-ui-candlestick-AEKT8X3p.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
- package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
- package/dist/{vue-ui-carousel-table-DhzVxOvp.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
- package/dist/{vue-ui-carousel-table-DCk2p-1k.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-qqcIpMGB.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
- package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
- package/dist/{vue-ui-cursor-CgSghVjL.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
- package/dist/{vue-ui-cursor-CvJgJk1M.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CtJdVmtu.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CYzkic0X.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
- package/dist/{vue-ui-digits-C0dMG-hR.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
- package/dist/{vue-ui-digits-BO1hSjoq.js → vue-ui-digits-DZJI0YuX.js} +2 -2
- package/dist/{vue-ui-donut-DP-yxiw3.js → vue-ui-donut-CBG9ECp8.js} +118 -116
- package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C-yDyglF.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
- package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
- package/dist/{vue-ui-dumbbell-D2SQ4cKV.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
- package/dist/{vue-ui-flow-D_E9V2A1.js → vue-ui-flow-CXqGztWj.js} +65 -63
- package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
- package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
- package/dist/{vue-ui-galaxy-DqE2UiA3.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
- package/dist/{vue-ui-gauge-CFYXDw2p.js → vue-ui-gauge-BEludqYn.js} +56 -54
- package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
- package/dist/{vue-ui-gizmo-BWztIJ3j.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
- package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
- package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
- package/dist/{vue-ui-heatmap-E1MlhSCs.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
- package/dist/{vue-ui-kpi-BWDPF-9X.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
- package/dist/{vue-ui-kpi-DeP0XmP7.js → vue-ui-kpi-zr721ux9.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bal12IrX.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
- package/dist/{vue-ui-mini-loader-D5e8uW_d.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
- package/dist/{vue-ui-molecule-DHrHeQgF.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
- package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-dJaJotNf.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
- package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
- package/dist/{vue-ui-nested-donuts--K9ygdH3.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
- package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
- package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
- package/dist/{vue-ui-onion-Bm1inM56.js → vue-ui-onion-CmUXelhy.js} +82 -80
- package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9PSGD-LR.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
- package/dist/{vue-ui-quadrant-iGQbx93I.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
- package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
- package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DeEQcx6A.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
- package/dist/{vue-ui-radar-DfnhsNQV.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
- package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
- package/dist/{vue-ui-rating-D0rgVdkT.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
- package/dist/{vue-ui-rating-CCesFD6e.js → vue-ui-rating-DuRLpMwk.js} +2 -2
- package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
- package/dist/{vue-ui-relation-circle-D2GXm_Fk.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
- package/dist/{vue-ui-rings-B7_-G3JM.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
- package/dist/{vue-ui-rings-CScmcQ1n.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
- package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
- package/dist/{vue-ui-scatter-DdhiNjLc.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
- package/dist/{vue-ui-screenshot-BrhjnTwn.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Cpy2qbf1.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
- package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
- package/dist/{vue-ui-skeleton-D7aLznpP.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
- package/dist/{vue-ui-smiley-Cj0yi7_H.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
- package/dist/{vue-ui-smiley-vcpYARLj.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
- package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CFJSCQnf.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
- package/dist/{vue-ui-sparkbar-CgRdDfk6.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
- package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-CCPMNge0.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
- package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-D5z2Wtpk.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
- package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
- package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
- package/dist/{vue-ui-sparkline-KYN0oKt1.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
- package/dist/{vue-ui-sparkstackbar-7lurD9-4.js → vue-ui-sparkstackbar-BS9I8en7.js} +102 -87
- package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
- package/dist/{vue-ui-stackbar-CsVmAvl3.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
- package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
- package/dist/{vue-ui-strip-plot-B63AgKts.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
- package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
- package/dist/{vue-ui-table-hPqdMR-m.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
- package/dist/{vue-ui-table-G5O8K-F_.js → vue-ui-table-Dtfv71zG.js} +1 -1
- package/dist/{vue-ui-table-heatmap-t9Ngijvp.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BhVuTdSS.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DtjJrGve.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BX4en1c-.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
- package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
- package/dist/{vue-ui-thermometer-BWGyDQ7_.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
- package/dist/{vue-ui-timer-8AlVLAJi.js → vue-ui-timer-2PRDq1w6.js} +62 -60
- package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
- package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DYIHGkBU.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
- package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
- package/dist/{vue-ui-treemap-mmvdTHiX.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
- package/dist/{vue-ui-vertical-bar-DAKHNRoR.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
- package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
- package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
- package/dist/{vue-ui-waffle-B-A4NYNd.js → vue-ui-waffle-wikAjwZY.js} +72 -70
- package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
- package/dist/{vue-ui-wheel-DN9WvA6Z.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
- package/dist/{vue-ui-word-cloud-BWTyaGAT.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
- package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
- package/dist/{vue-ui-xy-Dzp4qCjk.js → vue-ui-xy-CUjllUSv.js} +507 -504
- package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CAcTkk_r.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-9NPbm7dE.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-rOT9iPsm.cjs +0 -19
- package/dist/vue-ui-age-pyramid-HElID9Ax.cjs +0 -1
- package/dist/vue-ui-candlestick-p1s0Av21.cjs +0 -2
- package/dist/vue-ui-chestnut-oFfB3fBF.cjs +0 -6
- package/dist/vue-ui-donut-Dnnoj71c.cjs +0 -1
- package/dist/vue-ui-donut-evolution-vBUH5VVx.cjs +0 -1
- package/dist/vue-ui-dumbbell-BUA_uSse.cjs +0 -9
- package/dist/vue-ui-flow-B-AFlw-n.cjs +0 -1
- package/dist/vue-ui-galaxy-CbL5nONj.cjs +0 -1
- package/dist/vue-ui-gauge-BUV_hQND.cjs +0 -1
- package/dist/vue-ui-gizmo-B-LxuvDh.cjs +0 -1
- package/dist/vue-ui-heatmap-DW5StHKM.cjs +0 -1
- package/dist/vue-ui-molecule-DHBId4h4.cjs +0 -1
- package/dist/vue-ui-mood-radar-DSXB9l99.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CEX2cvop.cjs +0 -17
- package/dist/vue-ui-onion-Iekdjs8b.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-OlFoYL_3.cjs +0 -8
- package/dist/vue-ui-quadrant-CgJeo2zZ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Du8lDPmh.cjs +0 -15
- package/dist/vue-ui-radar-BYk9DWnM.cjs +0 -1
- package/dist/vue-ui-relation-circle-8eoBav4O.cjs +0 -1
- package/dist/vue-ui-scatter-BnBI8qdt.cjs +0 -1
- package/dist/vue-ui-skeleton-pDeQ3NcD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BW8k0jDd.cjs +0 -1
- package/dist/vue-ui-sparkbar-BbJHfAQj.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BESRB8_4.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BYnSfLdb.cjs +0 -1
- package/dist/vue-ui-sparkline-D5WUy4p5.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-Dy-IfQ3q.cjs +0 -1
- package/dist/vue-ui-stackbar-Ch-fmE9l.cjs +0 -6
- package/dist/vue-ui-strip-plot-BLRl-tF6.cjs +0 -1
- package/dist/vue-ui-thermometer-B07RI9fZ.cjs +0 -1
- package/dist/vue-ui-timer-CXrENAVg.cjs +0 -64
- package/dist/vue-ui-tiremarks-C43c4_IR.cjs +0 -1
- package/dist/vue-ui-treemap-BN90ISQv.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BRDO_Rsu.cjs +0 -4
- package/dist/vue-ui-waffle-BN_yZEtJ.cjs +0 -1
- package/dist/vue-ui-wheel-50_zeiIW.cjs +0 -1
- package/dist/vue-ui-word-cloud-BVoFIb_q.cjs +0 -1
- package/dist/vue-ui-xy-CJHHesUD.cjs +0 -3
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { computed as g, ref as d, watch as De, onMounted as
|
|
2
|
-
import { u as tt, c as lt, t as at, a as ot, p as Q, o as st, e as A, b as ut, G as
|
|
1
|
+
import { computed as g, ref as d, watch as De, onMounted as Je, onBeforeUnmount as Ke, openBlock as u, createElementBlock as n, normalizeClass as z, normalizeStyle as ue, createBlock as P, createCommentVNode as y, unref as r, createSlots as Qe, withCtx as m, renderSlot as $, normalizeProps as q, guardReactiveProps as J, createVNode as Oe, createElementVNode as p, Fragment as x, renderList as S, toDisplayString as T, createTextVNode as K, nextTick as Ze, pushScopeId as je, popScopeId as et } from "vue";
|
|
2
|
+
import { u as tt, c as lt, t as at, a as ot, p as Q, o as st, e as A, b as ut, G as ze, d as nt, m as Pe, f as L, X as rt, s as Ae, I as it, k as V, n as ne, i as G, x as Ve, y as dt, q as ct, r as vt } from "./index-mBy4elhB.js";
|
|
3
3
|
import { t as ft, u as ht } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as yt } from "./Title-
|
|
5
|
-
import { u as pt, U as bt } from "./usePrinter-
|
|
6
|
-
import { D as gt } from "./DataTable-
|
|
7
|
-
import { _ as mt } from "./Tooltip-
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import kt from "./vue-ui-accordion-
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as xt } from "./
|
|
13
|
-
|
|
4
|
+
import { _ as yt } from "./Title-CECK1w9L.js";
|
|
5
|
+
import { u as pt, U as bt } from "./usePrinter-Ck-yukK2.js";
|
|
6
|
+
import { D as gt } from "./DataTable-BKc3r3k3.js";
|
|
7
|
+
import { _ as mt } from "./Tooltip-Ci3AprCm.js";
|
|
8
|
+
import { L as _t } from "./Legend-WNL92WSx.js";
|
|
9
|
+
import wt from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
10
|
+
import kt from "./vue-ui-accordion-dyF20BlD.js";
|
|
11
|
+
import { u as Me } from "./useNestedProp-BrIRtQj1.js";
|
|
12
|
+
import { _ as xt } from "./PackageVersion-D9PU8glB.js";
|
|
13
|
+
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const re = (M) => (je("data-v-e05474aa"), M = M(), et(), M), Lt = ["id"], Ct = ["xmlns", "viewBox"], Ft = ["id"], St = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
|
|
14
15
|
offset: "0%",
|
|
15
16
|
"stop-color": "#FFFFFF",
|
|
16
17
|
"stop-opacity": "0"
|
|
17
|
-
}, null, -1)),
|
|
18
|
+
}, null, -1)), Nt = ["offset", "stop-color"], Tt = ["offset", "stop-opacity"], It = /* @__PURE__ */ re(() => /* @__PURE__ */ p("stop", {
|
|
18
19
|
offset: "100%",
|
|
19
20
|
"stop-color": "#FFFFFF",
|
|
20
21
|
"stop-opacity": "0"
|
|
21
|
-
}, null, -1)),
|
|
22
|
+
}, null, -1)), Dt = ["id"], Ot = ["id"], zt = /* @__PURE__ */ re(() => /* @__PURE__ */ p("feColorMatrix", {
|
|
22
23
|
type: "saturate",
|
|
23
24
|
values: "0"
|
|
24
|
-
}, null, -1)),
|
|
25
|
+
}, null, -1)), Pt = ["id"], At = ["flood-color"], Vt = ["d", "fill", "stroke", "stroke-width", "filter"], Mt = { key: 0 }, Bt = ["d", "fill"], Ut = { key: 1 }, Gt = ["x", "y", "font-size", "font-weight", "fill"], Rt = { key: 2 }, Et = ["filter"], Yt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Xt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Wt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Ht = ["d", "fill", "onMouseenter", "onClick"], qt = {
|
|
25
26
|
key: 3,
|
|
26
27
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
28
|
+
}, Jt = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "vue-ui-nested-donuts-legend-title"
|
|
30
|
-
},
|
|
31
|
+
}, Kt = ["onClick"], Qt = ["innerHTML"], Zt = {
|
|
31
32
|
__name: "vue-ui-nested-donuts",
|
|
32
33
|
props: {
|
|
33
34
|
config: {
|
|
@@ -44,9 +45,9 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
47
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
|
-
setup(M, { expose:
|
|
48
|
-
const I = M, { vue_ui_nested_donuts:
|
|
49
|
-
function
|
|
48
|
+
setup(M, { expose: Be, emit: ie }) {
|
|
49
|
+
const I = M, { vue_ui_nested_donuts: Ue } = tt(), R = g(() => !!I.dataset && I.dataset.length), _ = d(lt()), Z = d(!1), j = d(""), Ge = d(null), de = d(0), B = d(null), ce = d(null), ee = d(null), ve = d(0), fe = d(0), he = d(0), U = d(!1);
|
|
50
|
+
function Re(t) {
|
|
50
51
|
U.value = t, de.value += 1;
|
|
51
52
|
}
|
|
52
53
|
const e = g({
|
|
@@ -54,12 +55,12 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
54
55
|
set: (t) => t
|
|
55
56
|
});
|
|
56
57
|
function ye() {
|
|
57
|
-
const t =
|
|
58
|
+
const t = Me({
|
|
58
59
|
userConfig: I.config,
|
|
59
|
-
defaultConfig:
|
|
60
|
+
defaultConfig: Ue
|
|
60
61
|
});
|
|
61
62
|
return t.theme ? {
|
|
62
|
-
...
|
|
63
|
+
...Me({
|
|
63
64
|
userConfig: at.vue_ui_nested_donuts[t.theme] || I.config,
|
|
64
65
|
defaultConfig: t
|
|
65
66
|
}),
|
|
@@ -70,7 +71,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
70
71
|
e.value = ye(), pe(), ve.value += 1, fe.value += 1, he.value += 1;
|
|
71
72
|
}, { deep: !0 });
|
|
72
73
|
const E = d(null);
|
|
73
|
-
|
|
74
|
+
Je(() => {
|
|
74
75
|
pe();
|
|
75
76
|
});
|
|
76
77
|
function pe() {
|
|
@@ -89,13 +90,13 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
89
90
|
E.value = new ResizeObserver(t), E.value.observe(B.value.parentNode);
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
|
-
|
|
93
|
+
Ke(() => {
|
|
93
94
|
E.value && E.value.disconnect();
|
|
94
95
|
});
|
|
95
|
-
const { isPrinting: be, isImaging: ge, generatePdf: me, generateImage:
|
|
96
|
-
elementId: `nested_donuts_${
|
|
96
|
+
const { isPrinting: be, isImaging: ge, generatePdf: me, generateImage: _e } = pt({
|
|
97
|
+
elementId: `nested_donuts_${_.value}`,
|
|
97
98
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
98
|
-
}),
|
|
99
|
+
}), Ee = g(() => ut(e.value.customPalette)), w = d({
|
|
99
100
|
dataLabels: {
|
|
100
101
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
101
102
|
},
|
|
@@ -105,7 +106,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
105
106
|
height: 512,
|
|
106
107
|
width: 512
|
|
107
108
|
});
|
|
108
|
-
function
|
|
109
|
+
function Ye({ datapoint: t, index: s }) {
|
|
109
110
|
ie("selectDatapoint", { datapoint: t, index: s });
|
|
110
111
|
}
|
|
111
112
|
const h = d([]), C = g(() => (I.dataset.forEach((t, s) => {
|
|
@@ -140,21 +141,21 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
140
141
|
});
|
|
141
142
|
}), I.dataset.map((t, s) => ({
|
|
142
143
|
...t,
|
|
143
|
-
total: t.series.filter((a) => !h.value.includes(a.id)).map((a) =>
|
|
144
|
+
total: t.series.filter((a) => !h.value.includes(a.id)).map((a) => ze(a.values).reduce((o, l) => o + l, 0)).reduce((a, o) => a + o, 0),
|
|
144
145
|
datasetIndex: s,
|
|
145
|
-
id: `${
|
|
146
|
+
id: `${_.value}_${s}`,
|
|
146
147
|
series: t.series.map((a, o) => ({
|
|
147
148
|
name: a.name,
|
|
148
149
|
arcOf: t.name,
|
|
149
|
-
arcOfId: `${
|
|
150
|
-
id: `${
|
|
150
|
+
arcOfId: `${_.value}_${s}`,
|
|
151
|
+
id: `${_.value}_${s}_${o}`,
|
|
151
152
|
seriesIndex: o,
|
|
152
153
|
datasetIndex: s,
|
|
153
|
-
color: nt(a.color) ||
|
|
154
|
-
value:
|
|
154
|
+
color: nt(a.color) || Ee.value[o] || Q[o] || Q[o % Q.length],
|
|
155
|
+
value: ze(a.values).reduce((l, i) => l + i, 0),
|
|
155
156
|
absoluteValues: a.values || []
|
|
156
157
|
}))
|
|
157
|
-
})))), F = g(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)),
|
|
158
|
+
})))), F = g(() => Math.min(f.value.height, f.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), we = g(() => [...C.value].map((t, s) => {
|
|
158
159
|
const a = t.series.filter((o) => !h.value.includes(o.id)).map((o) => o.value).reduce((o, l) => o + l, 0);
|
|
159
160
|
return {
|
|
160
161
|
...t,
|
|
@@ -165,20 +166,20 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
165
166
|
}))
|
|
166
167
|
};
|
|
167
168
|
}));
|
|
168
|
-
function
|
|
169
|
+
function Xe(t, s, a) {
|
|
169
170
|
let o = 0;
|
|
170
171
|
for (let l = 0; l < t.length; l += 1)
|
|
171
172
|
a.includes(t[l]) && (o += 1);
|
|
172
173
|
return o < s;
|
|
173
174
|
}
|
|
174
|
-
const v = d(
|
|
175
|
-
De(() =>
|
|
175
|
+
const v = d(we.value);
|
|
176
|
+
De(() => we.value, (t) => v.value = t);
|
|
176
177
|
const ke = d(null), xe = d(null);
|
|
177
178
|
function te(t) {
|
|
178
179
|
ie("selectLegend", t);
|
|
179
180
|
const s = C.value.flatMap((c) => c.series).find((c) => c.id === t.id), a = v.value.flatMap((c) => c.series).find((c) => c.id === t.id);
|
|
180
181
|
let l = a ? a.value : 0;
|
|
181
|
-
const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b =
|
|
182
|
+
const i = C.value.find((c) => c.id === s.arcOfId).series.map((c) => c.id), b = Xe(i, i.length - 1, h.value);
|
|
182
183
|
if (h.value.includes(t.id)) {
|
|
183
184
|
let c = function() {
|
|
184
185
|
l > s.value ? (cancelAnimationFrame(ke.value), v.value = v.value.map((k) => ({
|
|
@@ -220,7 +221,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
220
221
|
return {
|
|
221
222
|
...t,
|
|
222
223
|
radius: F.value - a,
|
|
223
|
-
donut:
|
|
224
|
+
donut: Pe(
|
|
224
225
|
{ series: t.series },
|
|
225
226
|
f.value.width / 2,
|
|
226
227
|
f.value.height / 2,
|
|
@@ -238,7 +239,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
238
239
|
const a = s * F.value / C.value.length;
|
|
239
240
|
return {
|
|
240
241
|
sizeRatio: a,
|
|
241
|
-
donut:
|
|
242
|
+
donut: Pe(
|
|
242
243
|
{ series: [{ value: 1 }] },
|
|
243
244
|
f.value.width / 2,
|
|
244
245
|
f.value.height / 2,
|
|
@@ -253,7 +254,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
253
254
|
)[0]
|
|
254
255
|
};
|
|
255
256
|
})), Ce = d(null), X = d(null), W = d(null), ae = d(null);
|
|
256
|
-
function
|
|
257
|
+
function We({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
|
|
257
258
|
Ce.value = t.arcOfId, X.value = t.id, W.value = a, ae.value = {
|
|
258
259
|
datapoint: t,
|
|
259
260
|
seriesIndex: a,
|
|
@@ -261,7 +262,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
261
262
|
config: e.value
|
|
262
263
|
};
|
|
263
264
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
264
|
-
if (
|
|
265
|
+
if (Ve(o) && dt(() => o({
|
|
265
266
|
seriesIndex: a,
|
|
266
267
|
datapoint: t,
|
|
267
268
|
series: v.value,
|
|
@@ -342,9 +343,9 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
342
343
|
if (!e.value.useBlurOnHover)
|
|
343
344
|
return "";
|
|
344
345
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && h.value.length === 0)
|
|
345
|
-
return [null, void 0].includes(W.value) || W.value === s ? "" : `url(#blur_${
|
|
346
|
+
return [null, void 0].includes(W.value) || W.value === s ? "" : `url(#blur_${_.value})`;
|
|
346
347
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || h.value.length)
|
|
347
|
-
return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${
|
|
348
|
+
return [null, void 0].includes(X.value) || X.value === t.id ? "" : `url(#blur_${_.value})`;
|
|
348
349
|
}
|
|
349
350
|
const se = g(() => C.value.map((t, s) => t.series.map((a, o) => ({
|
|
350
351
|
name: a.name,
|
|
@@ -361,7 +362,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
361
362
|
opacity: h.value.includes(a.id) ? 0.5 : 1,
|
|
362
363
|
segregate: () => te(a),
|
|
363
364
|
isSegregated: h.value.includes(a.id)
|
|
364
|
-
})))),
|
|
365
|
+
})))), He = g(() => ({
|
|
365
366
|
cy: "nested-donuts-legend",
|
|
366
367
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
367
368
|
color: e.value.style.chart.legend.color,
|
|
@@ -427,23 +428,23 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
427
428
|
config: a
|
|
428
429
|
};
|
|
429
430
|
});
|
|
430
|
-
function
|
|
431
|
+
function qe() {
|
|
431
432
|
return C.value;
|
|
432
433
|
}
|
|
433
434
|
function Ne() {
|
|
434
|
-
|
|
435
|
+
w.value.showTable = !w.value.showTable;
|
|
435
436
|
}
|
|
436
437
|
function Te() {
|
|
437
|
-
|
|
438
|
+
w.value.dataLabels.show = !w.value.dataLabels.show;
|
|
438
439
|
}
|
|
439
440
|
function Ie() {
|
|
440
|
-
|
|
441
|
+
w.value.showTooltip = !w.value.showTooltip;
|
|
441
442
|
}
|
|
442
|
-
return
|
|
443
|
-
getData:
|
|
443
|
+
return Be({
|
|
444
|
+
getData: qe,
|
|
444
445
|
generatePdf: me,
|
|
445
446
|
generateCsv: Se,
|
|
446
|
-
generateImage:
|
|
447
|
+
generateImage: _e,
|
|
447
448
|
toggleTable: Ne,
|
|
448
449
|
toggleLabels: Te,
|
|
449
450
|
toggleTooltip: Ie
|
|
@@ -452,7 +453,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
452
453
|
ref: B,
|
|
453
454
|
class: z(`vue-ui-nested-donuts ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
454
455
|
style: ue(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
|
|
455
|
-
id: `nested_donuts_${
|
|
456
|
+
id: `nested_donuts_${_.value}`
|
|
456
457
|
}, [
|
|
457
458
|
e.value.style.chart.title.text ? (u(), n("div", {
|
|
458
459
|
key: 0,
|
|
@@ -480,7 +481,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
480
481
|
color: e.value.style.chart.color,
|
|
481
482
|
isPrinting: r(be),
|
|
482
483
|
isImaging: r(ge),
|
|
483
|
-
uid:
|
|
484
|
+
uid: _.value,
|
|
484
485
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
485
486
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
486
487
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -489,18 +490,18 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
489
490
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
490
491
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
491
492
|
isFullscreen: U.value,
|
|
492
|
-
isTooltip:
|
|
493
|
+
isTooltip: w.value.showTooltip,
|
|
493
494
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
494
495
|
chartElement: B.value,
|
|
495
496
|
position: e.value.userOptions.position,
|
|
496
|
-
onToggleFullscreen:
|
|
497
|
+
onToggleFullscreen: Re,
|
|
497
498
|
onGeneratePdf: r(me),
|
|
498
499
|
onGenerateCsv: Se,
|
|
499
|
-
onGenerateImage: r(
|
|
500
|
+
onGenerateImage: r(_e),
|
|
500
501
|
onToggleTable: Ne,
|
|
501
502
|
onToggleLabels: Te,
|
|
502
503
|
onToggleTooltip: Ie
|
|
503
|
-
},
|
|
504
|
+
}, Qe({ _: 2 }, [
|
|
504
505
|
t.$slots.optionTooltip ? {
|
|
505
506
|
name: "optionTooltip",
|
|
506
507
|
fn: m(() => [
|
|
@@ -558,27 +559,28 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
558
559
|
viewBox: `0 0 ${f.value.width <= 0 ? 1e-3 : f.value.width} ${f.value.height < 0 ? 1e-3 : f.value.height}`,
|
|
559
560
|
style: ue(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
560
561
|
}, [
|
|
562
|
+
Oe(xt),
|
|
561
563
|
p("defs", null, [
|
|
562
564
|
(u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("radialGradient", {
|
|
563
|
-
id: `radial_${
|
|
565
|
+
id: `radial_${_.value}_${o}`
|
|
564
566
|
}, [
|
|
565
|
-
|
|
567
|
+
St,
|
|
566
568
|
p("stop", {
|
|
567
569
|
offset: `${(1 - le.value / $e.value[o]) * 100}%`,
|
|
568
|
-
"stop-color": r(
|
|
570
|
+
"stop-color": r(Ae)("#FFFFFF", 0),
|
|
569
571
|
"stop-opacity": "0"
|
|
570
|
-
}, null, 8,
|
|
572
|
+
}, null, 8, Nt),
|
|
571
573
|
p("stop", {
|
|
572
574
|
offset: `${(1 - le.value / $e.value[o] / 2) * 100}%`,
|
|
573
575
|
"stop-color": "#FFFFFF",
|
|
574
576
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
575
|
-
}, null, 8,
|
|
576
|
-
|
|
577
|
-
], 8,
|
|
577
|
+
}, null, 8, Tt),
|
|
578
|
+
It
|
|
579
|
+
], 8, Ft))), 256))
|
|
578
580
|
]),
|
|
579
581
|
p("defs", null, [
|
|
580
582
|
p("filter", {
|
|
581
|
-
id: `blur_${
|
|
583
|
+
id: `blur_${_.value}`,
|
|
582
584
|
x: "-50%",
|
|
583
585
|
y: "-50%",
|
|
584
586
|
width: "200%",
|
|
@@ -587,12 +589,12 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
587
589
|
p("feGaussianBlur", {
|
|
588
590
|
in: "SourceGraphic",
|
|
589
591
|
stdDeviation: 2,
|
|
590
|
-
id: `blur_std_${
|
|
591
|
-
}, null, 8,
|
|
592
|
-
|
|
593
|
-
], 8,
|
|
592
|
+
id: `blur_std_${_.value}`
|
|
593
|
+
}, null, 8, Ot),
|
|
594
|
+
zt
|
|
595
|
+
], 8, Dt),
|
|
594
596
|
p("filter", {
|
|
595
|
-
id: `shadow_${
|
|
597
|
+
id: `shadow_${_.value}`,
|
|
596
598
|
"color-interpolation-filters": "sRGB"
|
|
597
599
|
}, [
|
|
598
600
|
p("feDropShadow", {
|
|
@@ -601,32 +603,32 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
601
603
|
stdDeviation: "10",
|
|
602
604
|
"flood-opacity": "0.5",
|
|
603
605
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
604
|
-
}, null, 8,
|
|
605
|
-
], 8,
|
|
606
|
+
}, null, 8, At)
|
|
607
|
+
], 8, Pt)
|
|
606
608
|
]),
|
|
607
609
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
608
610
|
(u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
|
|
609
611
|
p("path", {
|
|
610
612
|
class: "vue-ui-donut-arc-path",
|
|
611
613
|
d: l.arcSlice,
|
|
612
|
-
fill: r(
|
|
614
|
+
fill: r(Ae)(l.color, 80),
|
|
613
615
|
stroke: e.value.style.chart.backgroundColor,
|
|
614
616
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
615
617
|
filter: Fe(l, i)
|
|
616
|
-
}, null, 8,
|
|
618
|
+
}, null, 8, Vt)
|
|
617
619
|
]))), 256))
|
|
618
620
|
]))), 256)),
|
|
619
|
-
e.value.style.chart.useGradient ? (u(), n("g",
|
|
621
|
+
e.value.style.chart.useGradient ? (u(), n("g", Mt, [
|
|
620
622
|
(u(!0), n(x, null, S(Le.value, (a, o) => (u(), n("g", null, [
|
|
621
623
|
p("path", {
|
|
622
624
|
d: a.donut.arcSlice,
|
|
623
|
-
fill: `url(#radial_${
|
|
625
|
+
fill: `url(#radial_${_.value}_${o})`,
|
|
624
626
|
stroke: "transparent",
|
|
625
627
|
"stroke-width": "0"
|
|
626
|
-
}, null, 8,
|
|
628
|
+
}, null, 8, Bt)
|
|
627
629
|
]))), 256))
|
|
628
630
|
])) : y("", !0),
|
|
629
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g",
|
|
631
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", Ut, [
|
|
630
632
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
631
633
|
(u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", null, [
|
|
632
634
|
i === 0 && f.value.width && f.value.height ? (u(), n("text", {
|
|
@@ -638,16 +640,16 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
638
640
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
639
641
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
640
642
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
641
|
-
}, T(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(it)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11,
|
|
643
|
+
}, T(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(it)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Gt)) : y("", !0)
|
|
642
644
|
]))), 256))
|
|
643
645
|
]))), 256))
|
|
644
646
|
])) : y("", !0),
|
|
645
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g",
|
|
647
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Rt, [
|
|
646
648
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
647
649
|
(u(!0), n(x, null, S(a.donut, (l, i) => (u(), n("g", {
|
|
648
650
|
filter: Fe(l, i)
|
|
649
651
|
}, [
|
|
650
|
-
oe(l) &&
|
|
652
|
+
oe(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
651
653
|
key: 0,
|
|
652
654
|
class: z({ animated: e.value.useCssAnimation }),
|
|
653
655
|
"text-anchor": r(V)(l, !0).anchor,
|
|
@@ -656,8 +658,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
656
658
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
657
659
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
658
660
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
659
|
-
}, T(r(L)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11,
|
|
660
|
-
oe(l) &&
|
|
661
|
+
}, T(r(L)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Yt)) : y("", !0),
|
|
662
|
+
oe(l) && w.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
661
663
|
key: 1,
|
|
662
664
|
class: z({ animated: e.value.useCssAnimation }),
|
|
663
665
|
"text-anchor": r(V)(l, !0).anchor,
|
|
@@ -676,8 +678,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
676
678
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
677
679
|
}),
|
|
678
680
|
{ datapoint: l, seriesIndex: o, datapointIndex: i }
|
|
679
|
-
)) + ") ", 11,
|
|
680
|
-
oe(l) &&
|
|
681
|
+
)) + ") ", 11, Xt)) : y("", !0),
|
|
682
|
+
oe(l) && w.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
681
683
|
key: 2,
|
|
682
684
|
class: z({ animated: e.value.useCssAnimation }),
|
|
683
685
|
"text-anchor": r(V)(l, !0).anchor,
|
|
@@ -696,8 +698,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
696
698
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
697
699
|
}),
|
|
698
700
|
{ datapoint: l, seriesIndex: o, datapointIndex: i }
|
|
699
|
-
)), 11,
|
|
700
|
-
], 8,
|
|
701
|
+
)), 11, Wt)) : y("", !0)
|
|
702
|
+
], 8, Et))), 256))
|
|
701
703
|
]))), 256))
|
|
702
704
|
])) : y("", !0),
|
|
703
705
|
(u(!0), n(x, null, S(Y.value, (a, o) => (u(), n("g", null, [
|
|
@@ -705,25 +707,25 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
705
707
|
p("path", {
|
|
706
708
|
"data-cy-donut-trap": "",
|
|
707
709
|
d: l.arcSlice,
|
|
708
|
-
fill:
|
|
709
|
-
onMouseenter: (b) =>
|
|
710
|
+
fill: Ge.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
711
|
+
onMouseenter: (b) => We({
|
|
710
712
|
datapoint: l,
|
|
711
713
|
relativeIndex: o,
|
|
712
714
|
seriesIndex: l.seriesIndex
|
|
713
715
|
}),
|
|
714
|
-
onClick: (b) =>
|
|
716
|
+
onClick: (b) => Ye({ datapoint: l, index: i }),
|
|
715
717
|
onMouseleave: s[0] || (s[0] = (b) => {
|
|
716
718
|
Z.value = !1, Ce.value = null, X.value = null, W.value = null;
|
|
717
719
|
})
|
|
718
|
-
}, null, 40,
|
|
720
|
+
}, null, 40, Ht)
|
|
719
721
|
]))), 256))
|
|
720
722
|
]))), 256)),
|
|
721
723
|
$(t.$slots, "svg", { svg: f.value }, void 0, !0)
|
|
722
|
-
], 14,
|
|
723
|
-
t.$slots.watermark ? (u(), n("div",
|
|
724
|
+
], 14, Ct)) : y("", !0),
|
|
725
|
+
t.$slots.watermark ? (u(), n("div", qt, [
|
|
724
726
|
$(t.$slots, "watermark", q(J({ isPrinting: r(be) || r(ge) })), void 0, !0)
|
|
725
727
|
])) : y("", !0),
|
|
726
|
-
R.value ? y("", !0) : (u(), P(
|
|
728
|
+
R.value ? y("", !0) : (u(), P(wt, {
|
|
727
729
|
key: 4,
|
|
728
730
|
config: {
|
|
729
731
|
type: "donut",
|
|
@@ -735,8 +737,8 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
735
737
|
}
|
|
736
738
|
}
|
|
737
739
|
}, null, 8, ["config"])),
|
|
738
|
-
|
|
739
|
-
show:
|
|
740
|
+
Oe(mt, {
|
|
741
|
+
show: w.value.showTooltip && Z.value,
|
|
740
742
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
741
743
|
color: e.value.style.chart.tooltip.color,
|
|
742
744
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -748,7 +750,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
748
750
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
749
751
|
parent: B.value,
|
|
750
752
|
content: j.value,
|
|
751
|
-
isCustom: r(
|
|
753
|
+
isCustom: r(Ve)(e.value.style.chart.tooltip.customFormat)
|
|
752
754
|
}, {
|
|
753
755
|
"tooltip-before": m(() => [
|
|
754
756
|
$(t.$slots, "tooltip-before", q(J({ ...ae.value })), void 0, !0)
|
|
@@ -764,14 +766,14 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
764
766
|
ref: ee,
|
|
765
767
|
class: z({ "vue-ui-nested-donuts-legend": se.value.length > 1 })
|
|
766
768
|
}, [
|
|
767
|
-
(u(!0), n(x, null, S(se.value, (a, o) => (u(), P(
|
|
769
|
+
(u(!0), n(x, null, S(se.value, (a, o) => (u(), P(_t, {
|
|
768
770
|
key: `legend_${o}_${he.value}`,
|
|
769
771
|
legendSet: a,
|
|
770
|
-
config:
|
|
772
|
+
config: He.value,
|
|
771
773
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => te(l))
|
|
772
774
|
}, {
|
|
773
775
|
legendTitle: m(({ titleSet: l }) => [
|
|
774
|
-
l[0] && l[0].arcOf ? (u(), n("div",
|
|
776
|
+
l[0] && l[0].arcOf ? (u(), n("div", Jt, T(l[0].arcOf), 1)) : y("", !0)
|
|
775
777
|
]),
|
|
776
778
|
item: m(({ legend: l, index: i }) => [
|
|
777
779
|
p("div", {
|
|
@@ -794,7 +796,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
794
796
|
], 64)) : (u(), n(x, { key: 0 }, [
|
|
795
797
|
K(" (" + T(isNaN(l.value / l.total) ? "-" : r(L)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
796
798
|
], 64))
|
|
797
|
-
], 12,
|
|
799
|
+
], 12, Kt)
|
|
798
800
|
]),
|
|
799
801
|
_: 2
|
|
800
802
|
}, 1032, ["legendSet", "config"]))), 128))
|
|
@@ -810,7 +812,7 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
810
812
|
key: 7,
|
|
811
813
|
hideDetails: "",
|
|
812
814
|
config: {
|
|
813
|
-
open:
|
|
815
|
+
open: w.value.showTable,
|
|
814
816
|
maxHeight: 1e4,
|
|
815
817
|
body: {
|
|
816
818
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -830,13 +832,13 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
830
832
|
body: H.value.body,
|
|
831
833
|
config: H.value.config,
|
|
832
834
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
833
|
-
onClose: s[2] || (s[2] = (a) =>
|
|
835
|
+
onClose: s[2] || (s[2] = (a) => w.value.showTable = !1)
|
|
834
836
|
}, {
|
|
835
837
|
th: m(({ th: a }) => [
|
|
836
838
|
p("div", {
|
|
837
839
|
innerHTML: a,
|
|
838
840
|
style: { display: "flex", "align-items": "center" }
|
|
839
|
-
}, null, 8,
|
|
841
|
+
}, null, 8, Qt)
|
|
840
842
|
]),
|
|
841
843
|
td: m(({ td: a }) => [
|
|
842
844
|
K(T(a.name || a), 1)
|
|
@@ -846,9 +848,9 @@ const re = (M) => (je("data-v-eafd4899"), M = M(), et(), M), $t = ["id"], Lt = [
|
|
|
846
848
|
]),
|
|
847
849
|
_: 1
|
|
848
850
|
}, 8, ["config"])) : y("", !0)
|
|
849
|
-
], 14,
|
|
851
|
+
], 14, Lt));
|
|
850
852
|
}
|
|
851
|
-
},
|
|
853
|
+
}, vl = /* @__PURE__ */ $t(Zt, [["__scopeId", "data-v-e05474aa"]]);
|
|
852
854
|
export {
|
|
853
|
-
|
|
855
|
+
vl as default
|
|
854
856
|
};
|