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,22 +1,23 @@
|
|
|
1
|
-
import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as ae, createBlock as E, createCommentVNode as d, unref as c, createSlots as qe, withCtx as P, renderSlot as T, normalizeProps as ue, guardReactiveProps as oe, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as He } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
|
|
1
|
+
import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as ae, createBlock as E, createCommentVNode as d, unref as c, createSlots as qe, withCtx as P, renderSlot as T, normalizeProps as ue, guardReactiveProps as oe, createVNode as Je, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as Qe, createTextVNode as Pe, nextTick as Ze } from "vue";
|
|
2
|
+
import { u as et, o as tt, e as B, g as lt, c as De, t as at, a as ut, p as Y, b as ot, G as st, d as se, C as Te, m as re, X as rt, s as U, D as nt, i as ne, f as K, j as Ie, k as q, n as Ee, H as Oe, q as it, r as ct } from "./index-mBy4elhB.js";
|
|
3
|
+
import { _ as vt } from "./Title-CECK1w9L.js";
|
|
4
|
+
import { u as dt, U as ht } from "./usePrinter-Ck-yukK2.js";
|
|
5
|
+
import { D as yt } from "./DataTable-BKc3r3k3.js";
|
|
6
|
+
import { L as ft } from "./Legend-WNL92WSx.js";
|
|
7
|
+
import gt from "./vue-ui-skeleton-DDhwPZd_.js";
|
|
8
|
+
import { S as bt } from "./Slicer-DE9nFM_c.js";
|
|
9
|
+
import xt from "./vue-ui-accordion-dyF20BlD.js";
|
|
10
|
+
import { u as He } from "./useNestedProp-BrIRtQj1.js";
|
|
11
|
+
import { _ as mt } from "./PackageVersion-D9PU8glB.js";
|
|
12
|
+
import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"], Lt = ["stop-color"], $t = ["id"], St = ["stop-color"], At = ["stop-color"], Nt = ["stop-color"], zt = { key: 0 }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 0 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["text-anchor", "font-size", "fill", "transform"], Ht = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Vt = { key: 1 }, Mt = ["cx", "cy", "r", "fill"], Wt = { key: 0 }, Rt = { key: 0 }, Ut = ["d", "stroke"], Xt = ["text-anchor", "x", "y", "fill"], Gt = ["cx", "cy", "r", "fill"], jt = { key: 0 }, Bt = ["cx", "cy", "fill"], Yt = { key: 1 }, Kt = ["d", "fill", "stroke"], qt = { key: 2 }, Jt = ["d", "fill", "stroke"], Qt = ["x", "y", "font-size", "fill"], Zt = ["x", "y", "width", "fill", "onClick"], el = ["x", "y", "width", "height", "onMouseenter", "onClick"], tl = {
|
|
13
14
|
key: 3,
|
|
14
15
|
"data-cy-zoom": "",
|
|
15
16
|
class: "vue-ui-donut-evolution-dialog"
|
|
16
|
-
},
|
|
17
|
+
}, ll = ["x", "y", "width", "height", "fill"], al = ["x1", "y1", "x2", "y2", "stroke"], ul = ["x1", "y2", "x2", "y1", "stroke"], ol = ["onKeypress", "cx", "cy", "r"], sl = ["d", "stroke"], rl = ["cx", "cy", "r", "fill"], nl = ["d", "fill", "stroke"], il = { class: "vue-ui-donut-evolution-focus" }, cl = ["text-anchor", "x", "y", "fill"], vl = ["cx", "cy", "r", "fill"], dl = ["cx", "cy", "r", "fill"], hl = ["x", "y", "fill"], yl = ["x", "y", "font-size", "fill"], fl = {
|
|
17
18
|
key: 3,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, gl = ["onClick"], bl = { key: 0 }, xl = { key: 1 }, ml = { key: 0 }, pl = { key: 1 }, kl = {
|
|
20
21
|
__name: "vue-ui-donut-evolution",
|
|
21
22
|
props: {
|
|
22
23
|
config: {
|
|
@@ -33,8 +34,8 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
33
34
|
}
|
|
34
35
|
},
|
|
35
36
|
emits: ["selectLegend"],
|
|
36
|
-
setup(
|
|
37
|
-
const $ =
|
|
37
|
+
setup(Ve, { expose: Me, emit: ie }) {
|
|
38
|
+
const $ = Ve, { vue_ui_donut_evolution: We } = et(), X = x(() => !!$.dataset && $.dataset.length), h = m({
|
|
38
39
|
start: 0,
|
|
39
40
|
end: Math.max(...$.dataset.map((l) => l.values.length))
|
|
40
41
|
});
|
|
@@ -48,11 +49,11 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
48
49
|
ve();
|
|
49
50
|
});
|
|
50
51
|
function ve() {
|
|
51
|
-
|
|
52
|
+
tt($.dataset) ? B({
|
|
52
53
|
componentName: "VueUiDonutEvolution",
|
|
53
54
|
type: "dataset"
|
|
54
55
|
}) : $.dataset.length && $.dataset.forEach((l, i) => {
|
|
55
|
-
|
|
56
|
+
lt({
|
|
56
57
|
datasetObject: l,
|
|
57
58
|
requiredAttributes: ["name", "values"]
|
|
58
59
|
}).forEach((t) => {
|
|
@@ -76,10 +77,10 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
76
77
|
});
|
|
77
78
|
return l.theme ? {
|
|
78
79
|
...He({
|
|
79
|
-
userConfig:
|
|
80
|
+
userConfig: at.vue_ui_donut_evolution[l.theme] || $.config,
|
|
80
81
|
defaultConfig: l
|
|
81
82
|
}),
|
|
82
|
-
customPalette:
|
|
83
|
+
customPalette: ut[l.theme] || Y
|
|
83
84
|
} : l;
|
|
84
85
|
}
|
|
85
86
|
Fe(() => $.config, (l) => {
|
|
@@ -87,10 +88,10 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
87
88
|
}, { deep: !0 }), Fe(() => $.dataset, (l) => {
|
|
88
89
|
ce();
|
|
89
90
|
}, { deep: !0 });
|
|
90
|
-
const { isPrinting: me, isImaging: pe, generatePdf: ke, generateImage: _e } =
|
|
91
|
+
const { isPrinting: me, isImaging: pe, generatePdf: ke, generateImage: _e } = dt({
|
|
91
92
|
elementId: I.value,
|
|
92
93
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
93
|
-
}), Re = x(() =>
|
|
94
|
+
}), Re = x(() => ot(e.value.customPalette)), G = m({
|
|
94
95
|
showTable: e.value.table.show
|
|
95
96
|
}), s = x(() => ({
|
|
96
97
|
top: e.value.style.chart.layout.padding.top,
|
|
@@ -121,50 +122,50 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
121
122
|
});
|
|
122
123
|
}), $.dataset.map((l, i) => ({
|
|
123
124
|
...l,
|
|
124
|
-
values:
|
|
125
|
+
values: st(l.values),
|
|
125
126
|
color: se(l.color) || Re.value[i] || Y[i] || Y[i % Y.length],
|
|
126
127
|
length: (l.values || []).length,
|
|
127
128
|
uid: De()
|
|
128
|
-
})))),
|
|
129
|
+
})))), M = x(() => D.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
|
|
129
130
|
...l,
|
|
130
131
|
values: l.values.filter((i, t) => t >= h.value.start && t <= h.value.end)
|
|
131
|
-
}))), W = x(() => Math.max(...
|
|
132
|
+
}))), W = x(() => Math.max(...M.value.map((l) => l.length))), w = x(() => r.value.width / (h.value.end - h.value.start)), C = x(() => {
|
|
132
133
|
const l = [];
|
|
133
134
|
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
134
|
-
const f =
|
|
135
|
+
const f = M.value.map((z) => z.values[o] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), le = f.map((z) => z / N), V = s.value.left + w.value * o + w.value / 2;
|
|
135
136
|
l.push({
|
|
136
137
|
index: o,
|
|
137
138
|
percentages: le,
|
|
138
139
|
subtotal: y || N < 0 ? null : N,
|
|
139
140
|
values: f,
|
|
140
|
-
x:
|
|
141
|
+
x: V
|
|
141
142
|
});
|
|
142
143
|
}
|
|
143
144
|
const i = 0, t = Math.max(...l.map((o) => o.subtotal)), n = l.length === 1 ? t * 2 : t;
|
|
144
145
|
return l.map((o, f) => {
|
|
145
|
-
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, le = g.value === o.index ? r.value.width / 16 : N,
|
|
146
|
+
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, le = g.value === o.index ? r.value.width / 16 : N, V = l.length > 4 ? y * 2 : y * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : y * 2, z = r.value.absoluteHeight - s.value.bottom - r.value.height * o.subtotal / Te(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
146
147
|
return {
|
|
147
148
|
...o,
|
|
148
149
|
y: z,
|
|
149
150
|
radius: N,
|
|
150
151
|
activeRadius: le,
|
|
151
|
-
hoverRadius:
|
|
152
|
+
hoverRadius: V,
|
|
152
153
|
donut: re({
|
|
153
|
-
series:
|
|
154
|
+
series: M.value.map((L, ze) => ({
|
|
154
155
|
color: L.color,
|
|
155
156
|
name: L.name,
|
|
156
157
|
value: L.values[f] ?? 0
|
|
157
158
|
}))
|
|
158
159
|
}, o.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
159
160
|
donutHover: re({
|
|
160
|
-
series:
|
|
161
|
+
series: M.value.map((L, ze) => ({
|
|
161
162
|
color: L.color,
|
|
162
163
|
name: L.name,
|
|
163
164
|
value: L.values[f] ?? 0
|
|
164
165
|
}))
|
|
165
|
-
}, o.x, z,
|
|
166
|
+
}, o.x, z, V, V, 1.99999, 2, 1, 360, 105.25, V / 2),
|
|
166
167
|
donutFocus: re({
|
|
167
|
-
series:
|
|
168
|
+
series: M.value.map((L, ze) => ({
|
|
168
169
|
color: L.color,
|
|
169
170
|
name: L.name,
|
|
170
171
|
value: L.values[f] ?? 0
|
|
@@ -278,9 +279,9 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
278
279
|
return D.value;
|
|
279
280
|
}
|
|
280
281
|
function Ae() {
|
|
281
|
-
|
|
282
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...H.value.head.map((f) => f.name ?? f)], t = [...H.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o =
|
|
283
|
-
|
|
282
|
+
Ze(() => {
|
|
283
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...H.value.head.map((f) => f.name ?? f)], t = [...H.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = it(n);
|
|
284
|
+
ct({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
284
285
|
});
|
|
285
286
|
}
|
|
286
287
|
const R = m(!1);
|
|
@@ -290,7 +291,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
290
291
|
function Ne() {
|
|
291
292
|
G.value.showTable = !G.value.showTable;
|
|
292
293
|
}
|
|
293
|
-
return
|
|
294
|
+
return Me({
|
|
294
295
|
getData: Be,
|
|
295
296
|
generatePdf: ke,
|
|
296
297
|
generateCsv: Ae,
|
|
@@ -308,7 +309,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
308
309
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
309
310
|
onMouseleave: we
|
|
310
311
|
}, [
|
|
311
|
-
(a(), E(
|
|
312
|
+
(a(), E(vt, {
|
|
312
313
|
key: `title_${fe.value}`,
|
|
313
314
|
config: {
|
|
314
315
|
title: {
|
|
@@ -322,7 +323,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
322
323
|
}
|
|
323
324
|
}, null, 8, ["config"]))
|
|
324
325
|
], 32)) : d("", !0),
|
|
325
|
-
e.value.userOptions.show && X.value ? (a(), E(
|
|
326
|
+
e.value.userOptions.show && X.value ? (a(), E(ht, {
|
|
326
327
|
ref: "details",
|
|
327
328
|
key: `user_options_${he.value}`,
|
|
328
329
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -383,11 +384,12 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
383
384
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
384
385
|
X.value ? (a(), u("svg", {
|
|
385
386
|
key: 2,
|
|
386
|
-
xmlns: c(
|
|
387
|
+
xmlns: c(rt),
|
|
387
388
|
class: F({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
388
389
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
389
390
|
style: ae(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
390
391
|
}, [
|
|
392
|
+
Je(mt),
|
|
391
393
|
v("defs", null, [
|
|
392
394
|
v("linearGradient", {
|
|
393
395
|
id: `hover_${I.value}`,
|
|
@@ -399,30 +401,30 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
399
401
|
v("stop", {
|
|
400
402
|
offset: "0%",
|
|
401
403
|
"stop-color": c(U)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
402
|
-
}, null, 8,
|
|
404
|
+
}, null, 8, wt),
|
|
403
405
|
v("stop", {
|
|
404
406
|
offset: "100%",
|
|
405
407
|
"stop-color": c(U)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
406
|
-
}, null, 8,
|
|
407
|
-
], 8,
|
|
408
|
+
}, null, 8, Lt)
|
|
409
|
+
], 8, Ct),
|
|
408
410
|
v("radialGradient", {
|
|
409
411
|
id: `focus_${I.value}`
|
|
410
412
|
}, [
|
|
411
413
|
v("stop", {
|
|
412
414
|
offset: "0%",
|
|
413
415
|
"stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
|
|
414
|
-
}, null, 8,
|
|
416
|
+
}, null, 8, St),
|
|
415
417
|
v("stop", {
|
|
416
418
|
offset: "77%",
|
|
417
419
|
"stop-color": c(U)("#FFFFFF", 30)
|
|
418
|
-
}, null, 8,
|
|
420
|
+
}, null, 8, At),
|
|
419
421
|
v("stop", {
|
|
420
422
|
offset: "100%",
|
|
421
423
|
"stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
|
|
422
|
-
}, null, 8,
|
|
423
|
-
], 8,
|
|
424
|
+
}, null, 8, Nt)
|
|
425
|
+
], 8, $t)
|
|
424
426
|
]),
|
|
425
|
-
e.value.style.chart.layout.grid.show ? (a(), u("g",
|
|
427
|
+
e.value.style.chart.layout.grid.show ? (a(), u("g", zt, [
|
|
426
428
|
v("line", {
|
|
427
429
|
x1: s.value.left,
|
|
428
430
|
x2: s.value.left,
|
|
@@ -431,7 +433,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
431
433
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
432
434
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
433
435
|
"stroke-linecap": "round"
|
|
434
|
-
}, null, 8,
|
|
436
|
+
}, null, 8, Ft),
|
|
435
437
|
v("line", {
|
|
436
438
|
x1: s.value.left,
|
|
437
439
|
x2: r.value.absoluteWidth - s.value.right,
|
|
@@ -440,8 +442,8 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
440
442
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
441
443
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
442
444
|
"stroke-linecap": "round"
|
|
443
|
-
}, null, 8,
|
|
444
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g",
|
|
445
|
+
}, null, 8, Pt),
|
|
446
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", Dt, [
|
|
445
447
|
(a(!0), u(p, null, k(h.value.end - h.value.start, (t, n) => (a(), u("line", {
|
|
446
448
|
x1: s.value.left + (n + 1) * w.value,
|
|
447
449
|
x2: s.value.left + (n + 1) * w.value,
|
|
@@ -450,7 +452,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
450
452
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
451
453
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
452
454
|
"stroke-linecap": "round"
|
|
453
|
-
}, null, 8,
|
|
455
|
+
}, null, 8, Tt))), 256))
|
|
454
456
|
])) : d("", !0)
|
|
455
457
|
])) : d("", !0),
|
|
456
458
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
|
|
@@ -466,7 +468,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
466
468
|
y2: t.y,
|
|
467
469
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
468
470
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
469
|
-
}, null, 8,
|
|
471
|
+
}, null, 8, It)) : d("", !0),
|
|
470
472
|
t.value >= O.value.min && t.value <= O.value.max ? (a(), u("text", {
|
|
471
473
|
key: 1,
|
|
472
474
|
x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
@@ -475,7 +477,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
475
477
|
"text-anchor": "end",
|
|
476
478
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
477
479
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
478
|
-
}, b(c(
|
|
480
|
+
}, b(c(nt)(t.value) ? c(ne)(
|
|
479
481
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
480
482
|
t.value,
|
|
481
483
|
c(K)({
|
|
@@ -485,7 +487,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
485
487
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
486
488
|
}),
|
|
487
489
|
{ datapoint: t, seriesIndex: n }
|
|
488
|
-
) : ""), 9,
|
|
490
|
+
) : ""), 9, Et)) : d("", !0)
|
|
489
491
|
]))), 256))
|
|
490
492
|
], 2)) : d("", !0),
|
|
491
493
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
|
|
@@ -499,7 +501,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
499
501
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
500
502
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
501
503
|
transform: `translate(${s.value.left + w.value * n + w.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
502
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9,
|
|
504
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, Ot)) : d("", !0)
|
|
503
505
|
]))), 256))
|
|
504
506
|
], 2)) : d("", !0),
|
|
505
507
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", null, [
|
|
@@ -514,22 +516,22 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
514
516
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
515
517
|
"stroke-linecap": "round",
|
|
516
518
|
"stroke-linejoin": "round"
|
|
517
|
-
}, null, 10,
|
|
518
|
-
t.subtotal !== null ? (a(), u("g",
|
|
519
|
+
}, null, 10, Ht)) : d("", !0),
|
|
520
|
+
t.subtotal !== null ? (a(), u("g", Vt, [
|
|
519
521
|
t.subtotal ? (a(), u("circle", {
|
|
520
522
|
key: 0,
|
|
521
523
|
cx: t.x,
|
|
522
524
|
cy: t.y,
|
|
523
525
|
r: t.activeRadius,
|
|
524
526
|
fill: e.value.style.chart.backgroundColor
|
|
525
|
-
}, null, 8,
|
|
527
|
+
}, null, 8, Mt)) : d("", !0)
|
|
526
528
|
])) : d("", !0)
|
|
527
529
|
]))), 256)),
|
|
528
530
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
529
531
|
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
530
532
|
}, [
|
|
531
|
-
t.subtotal ? (a(), u("g",
|
|
532
|
-
g.value !== null && g.value === n ? (a(), u("g",
|
|
533
|
+
t.subtotal ? (a(), u("g", Wt, [
|
|
534
|
+
g.value !== null && g.value === n ? (a(), u("g", Rt, [
|
|
533
535
|
(a(!0), u(p, null, k(t.donutHover, (o) => (a(), u("g", null, [
|
|
534
536
|
v("path", {
|
|
535
537
|
d: c(Ie)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
|
|
@@ -538,7 +540,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
538
540
|
"stroke-linecap": "round",
|
|
539
541
|
"stroke-linejoin": "round",
|
|
540
542
|
fill: "none"
|
|
541
|
-
}, null, 8,
|
|
543
|
+
}, null, 8, Ut)
|
|
542
544
|
]))), 256)),
|
|
543
545
|
(a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("g", null, [
|
|
544
546
|
v("text", {
|
|
@@ -549,7 +551,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
549
551
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
550
552
|
"font-size": 8,
|
|
551
553
|
"font-weight": "bold"
|
|
552
|
-
}, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : j(o.value, o, f)) + ") ", 9,
|
|
554
|
+
}, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : j(o.value, o, f)) + ") ", 9, Xt)
|
|
553
555
|
]))), 256)),
|
|
554
556
|
v("g", null, [
|
|
555
557
|
v("circle", {
|
|
@@ -557,7 +559,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
557
559
|
cy: t.y,
|
|
558
560
|
r: t.hoverRadius,
|
|
559
561
|
fill: e.value.style.chart.backgroundColor
|
|
560
|
-
}, null, 8,
|
|
562
|
+
}, null, 8, Gt)
|
|
561
563
|
])
|
|
562
564
|
])) : d("", !0)
|
|
563
565
|
])) : d("", !0)
|
|
@@ -565,27 +567,27 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
565
567
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
566
568
|
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
567
569
|
}, [
|
|
568
|
-
t.subtotal !== null ? (a(), u("g",
|
|
570
|
+
t.subtotal !== null ? (a(), u("g", jt, [
|
|
569
571
|
t.subtotal === 0 ? (a(), u("circle", {
|
|
570
572
|
key: 0,
|
|
571
573
|
cx: t.x,
|
|
572
574
|
cy: t.y,
|
|
573
575
|
r: 3,
|
|
574
576
|
fill: e.value.style.chart.color
|
|
575
|
-
}, null, 8,
|
|
577
|
+
}, null, 8, Bt)) : g.value !== null && g.value === n ? (a(), u("g", Yt, [
|
|
576
578
|
(a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("path", {
|
|
577
579
|
d: o.arcSlice,
|
|
578
580
|
fill: `${o.color}`,
|
|
579
581
|
"stroke-width": 1,
|
|
580
582
|
stroke: e.value.style.chart.backgroundColor
|
|
581
|
-
}, null, 8,
|
|
582
|
-
])) : (a(), u("g",
|
|
583
|
+
}, null, 8, Kt))), 256))
|
|
584
|
+
])) : (a(), u("g", qt, [
|
|
583
585
|
(a(!0), u(p, null, k(t.donut, (o, f) => (a(), u("path", {
|
|
584
586
|
d: o.arcSlice,
|
|
585
587
|
fill: `${o.color}`,
|
|
586
588
|
"stroke-width": 0.5,
|
|
587
589
|
stroke: e.value.style.chart.backgroundColor
|
|
588
|
-
}, null, 8,
|
|
590
|
+
}, null, 8, Jt))), 256))
|
|
589
591
|
]))
|
|
590
592
|
])) : d("", !0)
|
|
591
593
|
], 2))), 256)),
|
|
@@ -600,7 +602,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
600
602
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
601
603
|
"font-weight": "bold",
|
|
602
604
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
603
|
-
}, b(j(t.subtotal, t, n)), 9,
|
|
605
|
+
}, b(j(t.subtotal, t, n)), 9, Qt)) : d("", !0)
|
|
604
606
|
], 2))), 256)),
|
|
605
607
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
|
|
606
608
|
x: s.value.left + n * w.value,
|
|
@@ -610,7 +612,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
610
612
|
fill: g.value === t.index ? `url(#hover_${I.value})` : "transparent",
|
|
611
613
|
onClick: (o) => ee(t, n),
|
|
612
614
|
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
613
|
-
}, null, 10,
|
|
615
|
+
}, null, 10, Zt))), 256)),
|
|
614
616
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
|
|
615
617
|
"data-cy-trap": "",
|
|
616
618
|
x: s.value.left + n * w.value,
|
|
@@ -622,8 +624,8 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
622
624
|
onMouseleave: we,
|
|
623
625
|
onClick: (o) => ee(t, n),
|
|
624
626
|
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
625
|
-
}, null, 42,
|
|
626
|
-
S.value ? (a(), u("g",
|
|
627
|
+
}, null, 42, el))), 256)),
|
|
628
|
+
S.value ? (a(), u("g", tl, [
|
|
627
629
|
v("rect", {
|
|
628
630
|
rx: 4,
|
|
629
631
|
x: s.value.left,
|
|
@@ -632,7 +634,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
632
634
|
height: r.value.height,
|
|
633
635
|
fill: e.value.style.chart.backgroundColor,
|
|
634
636
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
635
|
-
}, null, 8,
|
|
637
|
+
}, null, 8, ll),
|
|
636
638
|
v("line", {
|
|
637
639
|
"data-html2canvas-ignore": "",
|
|
638
640
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -642,7 +644,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
642
644
|
"stroke-linecap": "round",
|
|
643
645
|
stroke: e.value.style.chart.color,
|
|
644
646
|
"stroke-width": "1.5"
|
|
645
|
-
}, null, 8,
|
|
647
|
+
}, null, 8, al),
|
|
646
648
|
v("line", {
|
|
647
649
|
"data-html2canvas-ignore": "",
|
|
648
650
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -652,18 +654,18 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
652
654
|
"stroke-linecap": "round",
|
|
653
655
|
stroke: e.value.style.chart.color,
|
|
654
656
|
"stroke-width": "1.5"
|
|
655
|
-
}, null, 8,
|
|
657
|
+
}, null, 8, ul),
|
|
656
658
|
v("circle", {
|
|
657
659
|
"data-cy-close": "",
|
|
658
660
|
onClick: Le,
|
|
659
|
-
onKeypress:
|
|
661
|
+
onKeypress: Qe(Le, ["enter"]),
|
|
660
662
|
cx: r.value.absoluteWidth - s.value.right - r.value.width / 40,
|
|
661
663
|
cy: s.value.top + r.value.height / 30,
|
|
662
664
|
r: r.value.height / 12,
|
|
663
665
|
fill: "transparent",
|
|
664
666
|
style: { cursor: "pointer" },
|
|
665
667
|
tabindex: "0"
|
|
666
|
-
}, null, 40,
|
|
668
|
+
}, null, 40, ol),
|
|
667
669
|
(a(!0), u(p, null, k(A.value.donutFocus, (t) => (a(), u("g", null, [
|
|
668
670
|
v("path", {
|
|
669
671
|
"data-cy-zoom-donut": "",
|
|
@@ -674,22 +676,22 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
674
676
|
"stroke-linejoin": "round",
|
|
675
677
|
fill: "none",
|
|
676
678
|
class: "vue-ui-donut-evolution-focus"
|
|
677
|
-
}, null, 8,
|
|
679
|
+
}, null, 8, sl)
|
|
678
680
|
]))), 256)),
|
|
679
681
|
v("circle", {
|
|
680
682
|
cx: s.value.left + r.value.width / 2,
|
|
681
683
|
cy: s.value.top + r.value.height / 2,
|
|
682
684
|
r: r.value.height / 7,
|
|
683
685
|
fill: e.value.style.chart.backgroundColor
|
|
684
|
-
}, null, 8,
|
|
686
|
+
}, null, 8, rl),
|
|
685
687
|
(a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("path", {
|
|
686
688
|
d: t.arcSlice,
|
|
687
689
|
fill: `${t.color}`,
|
|
688
690
|
"stroke-width": 1,
|
|
689
691
|
stroke: e.value.style.chart.backgroundColor,
|
|
690
692
|
class: "vue-ui-donut-evolution-focus"
|
|
691
|
-
}, null, 8,
|
|
692
|
-
(a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("g",
|
|
693
|
+
}, null, 8, nl))), 256)),
|
|
694
|
+
(a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("g", il, [
|
|
693
695
|
v("text", {
|
|
694
696
|
"text-anchor": c(q)(t, !0, 20).anchor,
|
|
695
697
|
x: c(q)(t, !0, 10).x,
|
|
@@ -697,20 +699,20 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
697
699
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
698
700
|
"font-size": 10,
|
|
699
701
|
"font-weight": "bold"
|
|
700
|
-
}, b(t.name) + ": " + b(Ce(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9,
|
|
702
|
+
}, b(t.name) + ": " + b(Ce(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, cl)
|
|
701
703
|
]))), 256)),
|
|
702
704
|
v("circle", {
|
|
703
705
|
cx: s.value.left + r.value.width / 2,
|
|
704
706
|
cy: s.value.top + r.value.height / 2,
|
|
705
707
|
r: r.value.height / 3.8,
|
|
706
708
|
fill: `url(#focus_${I.value})`
|
|
707
|
-
}, null, 8,
|
|
709
|
+
}, null, 8, vl),
|
|
708
710
|
v("circle", {
|
|
709
711
|
cx: s.value.left + r.value.width / 2,
|
|
710
712
|
cy: s.value.top + r.value.height / 2,
|
|
711
713
|
r: r.value.height / 7.7,
|
|
712
714
|
fill: e.value.style.chart.backgroundColor
|
|
713
|
-
}, null, 8,
|
|
715
|
+
}, null, 8, dl),
|
|
714
716
|
v("text", {
|
|
715
717
|
"text-anchor": "middle",
|
|
716
718
|
x: s.value.left + r.value.width / 2,
|
|
@@ -719,21 +721,21 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
719
721
|
"font-weight": "bold",
|
|
720
722
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
721
723
|
class: "vue-ui-donut-evolution-focus"
|
|
722
|
-
}, b(j(A.value.subtotal, A.value, null)), 9,
|
|
724
|
+
}, b(j(A.value.subtotal, A.value, null)), 9, hl),
|
|
723
725
|
e.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index] ? (a(), u("text", {
|
|
724
726
|
key: 0,
|
|
725
727
|
x: s.value.left + 6,
|
|
726
728
|
y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
727
729
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
728
730
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
729
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9,
|
|
731
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9, yl)) : d("", !0)
|
|
730
732
|
])) : d("", !0),
|
|
731
733
|
T(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
732
|
-
], 14,
|
|
733
|
-
l.$slots.watermark ? (a(), u("div",
|
|
734
|
+
], 14, _t)) : d("", !0),
|
|
735
|
+
l.$slots.watermark ? (a(), u("div", fl, [
|
|
734
736
|
T(l.$slots, "watermark", ue(oe({ isPrinting: c(me) || c(pe) })), void 0, !0)
|
|
735
737
|
])) : d("", !0),
|
|
736
|
-
X.value ? d("", !0) : (a(), E(
|
|
738
|
+
X.value ? d("", !0) : (a(), E(gt, {
|
|
737
739
|
key: 4,
|
|
738
740
|
config: {
|
|
739
741
|
type: "donutEvolution",
|
|
@@ -750,7 +752,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
750
752
|
}
|
|
751
753
|
}
|
|
752
754
|
}, null, 8, ["config"])),
|
|
753
|
-
W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(
|
|
755
|
+
W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(bt, {
|
|
754
756
|
key: `slicer_${ye.value}`,
|
|
755
757
|
background: e.value.style.chart.zoom.color,
|
|
756
758
|
borderColor: e.value.style.chart.backgroundColor,
|
|
@@ -776,7 +778,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
776
778
|
]),
|
|
777
779
|
_: 3
|
|
778
780
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
|
|
779
|
-
e.value.style.chart.legend.show ? (a(), E(
|
|
781
|
+
e.value.style.chart.legend.show ? (a(), E(ft, {
|
|
780
782
|
key: `legend_${be.value}`,
|
|
781
783
|
legendSet: $e.value,
|
|
782
784
|
config: je.value,
|
|
@@ -799,17 +801,17 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
799
801
|
}),
|
|
800
802
|
{ datapoint: t, seriesIndex: n }
|
|
801
803
|
)) + " ", 1),
|
|
802
|
-
_.value.includes(t.uid) ? (a(), u("span",
|
|
804
|
+
_.value.includes(t.uid) ? (a(), u("span", xl, " ( - % ) ")) : (a(), u("span", bl, " (" + b(isNaN(t.value / Se.value) ? "-" : c(K)({
|
|
803
805
|
v: t.value / Se.value * 100,
|
|
804
806
|
s: "%",
|
|
805
807
|
r: e.value.style.chart.legend.roundingPercentage
|
|
806
808
|
})) + ") ", 1))
|
|
807
|
-
], 12,
|
|
809
|
+
], 12, gl)
|
|
808
810
|
]),
|
|
809
811
|
_: 1
|
|
810
812
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
811
813
|
T(l.$slots, "legend", { legend: $e.value }, void 0, !0),
|
|
812
|
-
X.value ? (a(), E(
|
|
814
|
+
X.value ? (a(), E(xt, {
|
|
813
815
|
key: 7,
|
|
814
816
|
hideDetails: "",
|
|
815
817
|
config: {
|
|
@@ -826,7 +828,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
826
828
|
}
|
|
827
829
|
}, {
|
|
828
830
|
content: P(() => [
|
|
829
|
-
(a(), E(
|
|
831
|
+
(a(), E(yt, {
|
|
830
832
|
key: `table_${ge.value}`,
|
|
831
833
|
colNames: H.value.colNames,
|
|
832
834
|
head: H.value.head,
|
|
@@ -839,7 +841,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
839
841
|
Pe(b(t.name ?? t), 1)
|
|
840
842
|
]),
|
|
841
843
|
td: P(({ td: t }) => [
|
|
842
|
-
t.value === null ? (a(), u("span",
|
|
844
|
+
t.value === null ? (a(), u("span", ml, "-")) : (a(), u("b", pl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
843
845
|
v("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
844
846
|
]),
|
|
845
847
|
_: 1
|
|
@@ -847,9 +849,9 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
847
849
|
]),
|
|
848
850
|
_: 1
|
|
849
851
|
}, 8, ["config"])) : d("", !0)
|
|
850
|
-
], 14,
|
|
852
|
+
], 14, kt));
|
|
851
853
|
}
|
|
852
|
-
},
|
|
854
|
+
}, Tl = /* @__PURE__ */ pt(kl, [["__scopeId", "data-v-715ec8d1"]]);
|
|
853
855
|
export {
|
|
854
|
-
|
|
856
|
+
Tl as default
|
|
855
857
|
};
|