vue-data-ui 2.6.31 → 2.6.32
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-P8JQ180M.js → Arrow-BPwI80_0.js} +1 -1
- package/dist/{Arrow-DlzoZbyy.cjs → Arrow-COq0IvPj.cjs} +1 -1
- package/dist/{BaseIcon-q0bEOOzl.cjs → BaseIcon-CDeITuEU.cjs} +1 -1
- package/dist/{BaseIcon-AmoKryXo.js → BaseIcon-sDBiWkfr.js} +1 -1
- package/dist/{DataTable-B4YF6guk.js → DataTable-BEKUAVcP.js} +2 -2
- package/dist/{DataTable-DL8_xKlk.cjs → DataTable-hiEYve03.cjs} +1 -1
- package/dist/{Legend-tU5gqFrZ.cjs → Legend-DF6qb5tX.cjs} +1 -1
- package/dist/{Legend-BMXzxIhA.js → Legend-Dg_FBU8Y.js} +2 -2
- package/dist/{PackageVersion-DcMafJMi.js → PackageVersion-Bn_ZFONA.js} +1 -1
- package/dist/{PackageVersion-DHtx9fnE.cjs → PackageVersion-CcpHO3sy.cjs} +1 -1
- package/dist/{PenAndPaper-DPoMEHE6.cjs → PenAndPaper-B9N8U16M.cjs} +1 -1
- package/dist/{PenAndPaper-ljJaW1FE.js → PenAndPaper-D_VIX54u.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-CF1vjG1v.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-BWhwtTrK.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-B-psJjxF.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-Jg6Y7ev6.cjs} +1 -1
- package/dist/{Shape-Bs9E3f4-.js → Shape-BIyHBLQe.js} +1 -1
- package/dist/{Shape-C_rBdSHr.cjs → Shape-CJNFHBgX.cjs} +1 -1
- package/dist/{Slicer-qokIr-TL.js → Slicer-CZfPS8-K.js} +2 -2
- package/dist/{Slicer-9-SDSvre.cjs → Slicer-DsOAM_r4.cjs} +1 -1
- package/dist/{Title-CsERtJKI.cjs → Title-2ml74gB2.cjs} +1 -1
- package/dist/{Title-BwZtefYd.js → Title-BB1QZ_5K.js} +1 -1
- package/dist/{Tooltip-eCCz9HFo.js → Tooltip-DOa6gv6E.js} +1 -1
- package/dist/{Tooltip-C06-4zGf.cjs → Tooltip-IbltfEp3.cjs} +1 -1
- package/dist/{index-CHWA6Lnw.js → index-BNUkIdTt.js} +9 -1
- package/dist/index-C9vpNZwa.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +8 -0
- package/dist/types/vue-data-ui.d.ts +8 -0
- package/dist/{useNestedProp-BJQoarHp.cjs → useNestedProp-BdApDBnf.cjs} +1 -1
- package/dist/{useNestedProp-ByBiJC9_.js → useNestedProp-C7tnpkSe.js} +1 -1
- package/dist/{usePrinter-BRTNfg7r.cjs → usePrinter-B_SXdT0h.cjs} +1 -1
- package/dist/{usePrinter-DibtVl2x.js → usePrinter-KdhwGR1z.js} +1 -1
- package/dist/{vue-data-ui-JGaDyjOa.js → vue-data-ui-Cz_NLI_x.js} +61 -61
- package/dist/{vue-data-ui-NwBkWKwf.cjs → vue-data-ui-ViV1yGtR.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DbmbJ68T.cjs → vue-ui-3d-bar-BkoKb2NI.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-nYsGYklC.js → vue-ui-3d-bar-f7I09_od.js} +9 -9
- package/dist/{vue-ui-accordion-8mzPx86h.cjs → vue-ui-accordion-BMYTtWlA.cjs} +1 -1
- package/dist/{vue-ui-accordion-gHGrRoVr.js → vue-ui-accordion-DIl-JFbW.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DLRaoIRm.cjs → vue-ui-age-pyramid-Bkh2un5_.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BpGOmhzz.js → vue-ui-age-pyramid-uS2NbkxZ.js} +10 -10
- package/dist/{vue-ui-annotator-DhJ0ivNn.cjs → vue-ui-annotator-B5ggagjB.cjs} +1 -1
- package/dist/{vue-ui-annotator-CjM5ctaG.js → vue-ui-annotator-CW11mVji.js} +1 -1
- package/dist/{vue-ui-bullet-R702Xv5R.cjs → vue-ui-bullet-CvrCx2yb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DJvBVKjg.js → vue-ui-bullet-D4T_S1Jr.js} +8 -8
- package/dist/{vue-ui-candlestick-DCBBy4C8.cjs → vue-ui-candlestick-DgUkBH8g.cjs} +1 -1
- package/dist/{vue-ui-candlestick-5cmDQiwo.js → vue-ui-candlestick-oHdHZ_6Y.js} +11 -11
- package/dist/{vue-ui-carousel-table-meUcOS-A.js → vue-ui-carousel-table-BbkvVPUD.js} +4 -4
- package/dist/{vue-ui-carousel-table-CkGU0B6s.cjs → vue-ui-carousel-table-CqIHAYzC.cjs} +1 -1
- package/dist/{vue-ui-chestnut-C6DlvXs9.js → vue-ui-chestnut-ByXhi0DB.js} +8 -8
- package/dist/{vue-ui-chestnut-C-GeGI6H.cjs → vue-ui-chestnut-CV_ovqzA.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-mZPZZ3IN.cjs → vue-ui-circle-pack-BZ-rr-EA.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-3zIDTUNF.js → vue-ui-circle-pack-CkHBS5hW.js} +9 -9
- package/dist/{vue-ui-cursor-B-mv_xEC.js → vue-ui-cursor-3gehi0E1.js} +2 -2
- package/dist/{vue-ui-cursor-DOTfG9P-.cjs → vue-ui-cursor-DNR3W4Fn.cjs} +1 -1
- package/dist/{vue-ui-dashboard-i5ysWN1s.js → vue-ui-dashboard-B6hdlOgC.js} +2 -2
- package/dist/{vue-ui-dashboard-BLKM20n8.cjs → vue-ui-dashboard-e5ZwPw0z.cjs} +1 -1
- package/dist/{vue-ui-digits-B-LNRFDc.cjs → vue-ui-digits-BetTNVWE.cjs} +1 -1
- package/dist/{vue-ui-digits-B8crXGKw.js → vue-ui-digits-CtBrJiM8.js} +2 -2
- package/dist/{vue-ui-donut-_RwrFzJe.js → vue-ui-donut-CMWpzOrY.js} +12 -12
- package/dist/{vue-ui-donut-CdhiYoyd.cjs → vue-ui-donut-OJKwJA23.cjs} +1 -1
- package/dist/vue-ui-donut-evolution-BnxvwC5g.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-BynR7yrN.js → vue-ui-donut-evolution-G58fVwTM.js} +249 -239
- package/dist/{vue-ui-dumbbell-B5z4t3b-.cjs → vue-ui-dumbbell-BbmiYN5m.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-o86706ds.js → vue-ui-dumbbell-Clk7Fuw7.js} +10 -10
- package/dist/{vue-ui-flow-DepnWmwK.cjs → vue-ui-flow-B3CvEt4b.cjs} +1 -1
- package/dist/{vue-ui-flow-BkjQ5DxV.js → vue-ui-flow-BGb6GM6f.js} +9 -9
- package/dist/{vue-ui-funnel-CoyfIA1Y.cjs → vue-ui-funnel-CabZYoSP.cjs} +1 -1
- package/dist/{vue-ui-funnel-Dj7-Wzf2.js → vue-ui-funnel-DmsQslwh.js} +9 -9
- package/dist/{vue-ui-galaxy-n9zXvOd-.js → vue-ui-galaxy-B4ILy--g.js} +11 -11
- package/dist/{vue-ui-galaxy-DOzFYtp0.cjs → vue-ui-galaxy-DGP42fgc.cjs} +1 -1
- package/dist/{vue-ui-gauge-BPpaze3S.js → vue-ui-gauge-2Z-_Gexk.js} +7 -7
- package/dist/{vue-ui-gauge-DrTs5UqB.cjs → vue-ui-gauge-BndzbB73.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DJxRFhVW.cjs → vue-ui-gizmo-BEkvzlDJ.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CTmN8V32.js → vue-ui-gizmo-Bm_ohTme.js} +3 -3
- package/dist/{vue-ui-heatmap-ljQkIdZn.js → vue-ui-heatmap-5yvLvmmi.js} +10 -10
- package/dist/{vue-ui-heatmap-JYG2Pn3A.cjs → vue-ui-heatmap-CLVB56-Y.cjs} +1 -1
- package/dist/{vue-ui-history-plot-Ul0TT4Wf.cjs → vue-ui-history-plot-B-OvD2m6.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CQx5XlN1.js → vue-ui-history-plot-B2tqt9Dv.js} +11 -11
- package/dist/{vue-ui-kpi-BfCuGNby.js → vue-ui-kpi-BPe-I-MP.js} +3 -3
- package/dist/{vue-ui-kpi--LMVG67F.cjs → vue-ui-kpi-o2TmBd3y.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-cJg8IvUw.cjs → vue-ui-mini-loader-DYihu6Xb.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BqpELr7O.js → vue-ui-mini-loader-kxEeWECD.js} +2 -2
- package/dist/{vue-ui-molecule-YDA7UdtF.cjs → vue-ui-molecule-BN90mRyv.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bv_Pe_8Q.js → vue-ui-molecule-Dm2YJjij.js} +10 -10
- package/dist/{vue-ui-mood-radar-hKh_tnq2.cjs → vue-ui-mood-radar-C-olxB76.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CcykgM0n.js → vue-ui-mood-radar-Dj6fHdVC.js} +11 -11
- package/dist/{vue-ui-nested-donuts-Cix5WlV9.cjs → vue-ui-nested-donuts-CdRaGuUJ.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BWcLao-y.js → vue-ui-nested-donuts-DWAftaMA.js} +11 -11
- package/dist/{vue-ui-onion-Cgo2ZVwO.cjs → vue-ui-onion-Cl6cvGVf.cjs} +1 -1
- package/dist/{vue-ui-onion-D6iR8PW6.js → vue-ui-onion-WWJ7gKcW.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Bm-oID-Y.cjs → vue-ui-parallel-coordinate-plot-CocjItDk.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DEE9ou_Q.js → vue-ui-parallel-coordinate-plot-DMfIVaEn.js} +12 -12
- package/dist/{vue-ui-quadrant-DhSD6jGf.cjs → vue-ui-quadrant-BL8TNhSo.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CZQJGEbA.js → vue-ui-quadrant-D2phNKe4.js} +12 -12
- package/dist/{vue-ui-quick-chart-BX3hOGEG.js → vue-ui-quick-chart-C5xX1WWq.js} +9 -9
- package/dist/{vue-ui-quick-chart-GTYfOv6C.cjs → vue-ui-quick-chart-CfecRTzG.cjs} +1 -1
- package/dist/{vue-ui-radar-BIGFuJe_.js → vue-ui-radar-B7QLcDMz.js} +12 -12
- package/dist/{vue-ui-radar-CRhU6BWh.cjs → vue-ui-radar-BZRy9ChB.cjs} +1 -1
- package/dist/{vue-ui-rating-BSGT8Rew.cjs → vue-ui-rating-BAm42PxK.cjs} +1 -1
- package/dist/{vue-ui-rating-CSR7_gV-.js → vue-ui-rating-CQZEhD9w.js} +2 -2
- package/dist/{vue-ui-relation-circle-JEjpgv8I.js → vue-ui-relation-circle-Ce07eWvE.js} +7 -7
- package/dist/{vue-ui-relation-circle-tZFvSMa1.cjs → vue-ui-relation-circle-DmpmuwRs.cjs} +1 -1
- package/dist/{vue-ui-rings-DoNQjBvE.js → vue-ui-rings-BQgmxM-X.js} +12 -12
- package/dist/{vue-ui-rings-C-i8ANyb.cjs → vue-ui-rings-DRU9xK1q.cjs} +1 -1
- package/dist/{vue-ui-scatter-_WWbvZen.cjs → vue-ui-scatter-BODb0HYT.cjs} +1 -1
- package/dist/{vue-ui-scatter-CW2fwwda.js → vue-ui-scatter-C0URHU0u.js} +12 -12
- package/dist/{vue-ui-screenshot-B95FU-Gc.js → vue-ui-screenshot-BFfDhVQB.js} +1 -1
- package/dist/{vue-ui-screenshot-DfIuMlBS.cjs → vue-ui-screenshot-DVb_X043.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BSUFPx4a.js → vue-ui-skeleton-CxBSCzKj.js} +3 -3
- package/dist/{vue-ui-skeleton-KlT3Rmkn.cjs → vue-ui-skeleton-e-blkx9X.cjs} +1 -1
- package/dist/{vue-ui-smiley-qDBRPyDQ.js → vue-ui-smiley-C3VaDoVX.js} +2 -2
- package/dist/{vue-ui-smiley-CfLGqmi5.cjs → vue-ui-smiley-CmiNdBkg.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BSpnjX1o.js → vue-ui-spark-trend-Bhr0wRDJ.js} +5 -5
- package/dist/{vue-ui-spark-trend-S4a2SDhB.cjs → vue-ui-spark-trend-DlMTQ_Sa.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CrTC1o2D.js → vue-ui-sparkbar-BPWQX2Q7.js} +4 -4
- package/dist/{vue-ui-sparkbar-CTLSRwph.cjs → vue-ui-sparkbar-C1vhJ_6u.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CEOGh__Q.cjs → vue-ui-sparkgauge-BKyOUl_r.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CXN-HNq2.js → vue-ui-sparkgauge-Dr0MazSE.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B_lhpWvH.js → vue-ui-sparkhistogram-D9Ra0fRD.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-p7VmC6Jh.cjs → vue-ui-sparkhistogram-Dk-EmeNd.cjs} +1 -1
- package/dist/{vue-ui-sparkline-FWL-fTwQ.cjs → vue-ui-sparkline-B9j1LtdC.cjs} +1 -1
- package/dist/{vue-ui-sparkline-D9ETPDKl.js → vue-ui-sparkline-BGMFuBRa.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-QxbvlLet.js → vue-ui-sparkstackbar-B5XkFXfU.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DtWHuAGZ.cjs → vue-ui-sparkstackbar-riYbsDXM.cjs} +1 -1
- package/dist/{vue-ui-stackbar-lsjnigfJ.js → vue-ui-stackbar-RKqe3bKO.js} +13 -13
- package/dist/{vue-ui-stackbar-CnXEfFH0.cjs → vue-ui-stackbar-WstOhx3a.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-D39kSpeQ.js → vue-ui-strip-plot-Dv4p9K8i.js} +11 -11
- package/dist/{vue-ui-strip-plot-D-wDSHF4.cjs → vue-ui-strip-plot-Y308Zf1r.cjs} +1 -1
- package/dist/{vue-ui-table-h-SNgy2Q.js → vue-ui-table-CGSVXaVL.js} +1 -1
- package/dist/{vue-ui-table-C4ViP9oJ.cjs → vue-ui-table-T5jMYl3U.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-ClhJSmyw.js → vue-ui-table-heatmap-Biilp5Tl.js} +4 -4
- package/dist/{vue-ui-table-heatmap-CeEQjHdT.cjs → vue-ui-table-heatmap-DfpzFhj6.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-RFOlGtum.js → vue-ui-table-sparkline-Bu3odqI8.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DLt4efL6.cjs → vue-ui-table-sparkline-ChsIekY0.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C9H37a-g.cjs → vue-ui-thermometer-CWSMN1bn.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CE6mLojO.js → vue-ui-thermometer-D1uJtbYF.js} +7 -7
- package/dist/{vue-ui-timer-BCnbpogm.cjs → vue-ui-timer-CeXbpZjq.cjs} +1 -1
- package/dist/{vue-ui-timer-Bdq6_32v.js → vue-ui-timer-jNAWkYzG.js} +5 -5
- package/dist/{vue-ui-tiremarks-CdOzGAzN.cjs → vue-ui-tiremarks-DZFFJTmJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CaqziySq.js → vue-ui-tiremarks-PEYWiJ57.js} +7 -7
- package/dist/{vue-ui-treemap-BH7r2blb.cjs → vue-ui-treemap-BriWchYE.cjs} +1 -1
- package/dist/{vue-ui-treemap-fuhipZma.js → vue-ui-treemap-DdzfKHVy.js} +11 -11
- package/dist/{vue-ui-vertical-bar-DnUrxS2t.cjs → vue-ui-vertical-bar-CSJJLyxD.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-ByHpElpA.js → vue-ui-vertical-bar-goa7k9TQ.js} +12 -12
- package/dist/{vue-ui-waffle-CURVbAVs.cjs → vue-ui-waffle-ByWoOkOg.cjs} +1 -1
- package/dist/{vue-ui-waffle-D7Y55F5z.js → vue-ui-waffle-CR6wuZ-y.js} +12 -12
- package/dist/{vue-ui-wheel-KCxiG6Xt.cjs → vue-ui-wheel-BelVyEGA.cjs} +1 -1
- package/dist/{vue-ui-wheel-DjGKyAh5.js → vue-ui-wheel-xVRDRI8h.js} +7 -7
- package/dist/{vue-ui-word-cloud-CVTb20DJ.js → vue-ui-word-cloud-CuTCsMNV.js} +10 -10
- package/dist/{vue-ui-word-cloud-H0hw5gjm.cjs → vue-ui-word-cloud-joLt3j8s.cjs} +1 -1
- package/dist/{vue-ui-xy-DnsJUjcc.cjs → vue-ui-xy-CJWgEp_Y.cjs} +1 -1
- package/dist/{vue-ui-xy-C80BPN7E.js → vue-ui-xy-CbhuQN7O.js} +14 -14
- package/dist/{vue-ui-xy-canvas-BEx7_7h7.js → vue-ui-xy-canvas-DteNnGUl.js} +12 -12
- package/dist/{vue-ui-xy-canvas-BcUjj3X8.cjs → vue-ui-xy-canvas-hXquY_Do.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-_gyicZFE.cjs +0 -9
- package/dist/vue-ui-donut-evolution-Byaufydi.cjs +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { computed as p, ref as b, onMounted 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
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { computed as p, ref as b, onMounted as vt, watch as Ue, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as Z, normalizeClass as P, createBlock as D, createCommentVNode as v, renderSlot as S, createSlots as dt, withCtx as A, normalizeProps as B, guardReactiveProps as G, createVNode as ht, createElementVNode as y, Fragment as k, renderList as _, toDisplayString as m, withKeys as yt, createTextVNode as We, nextTick as j } from "vue";
|
|
2
|
+
import { u as ft, o as gt, e as Q, g as bt, c as Xe, t as mt, p as ee, a as xt, C as Be, b as pt, d as ve, J as kt, D as Ge, m as de, X as _t, s as Y, E as Ct, i as he, f as te, j as je, k as Ye, n as le, q as wt, r as zt, K as Ke } from "./index-BNUkIdTt.js";
|
|
3
|
+
import { _ as Lt } from "./Title-BB1QZ_5K.js";
|
|
4
|
+
import { u as St, U as At } from "./usePrinter-KdhwGR1z.js";
|
|
5
|
+
import { D as $t } from "./DataTable-BEKUAVcP.js";
|
|
6
|
+
import { L as It } from "./Legend-Dg_FBU8Y.js";
|
|
7
|
+
import Nt from "./vue-ui-skeleton-CxBSCzKj.js";
|
|
8
|
+
import { S as Ft } from "./Slicer-CZfPS8-K.js";
|
|
9
|
+
import Pt from "./vue-ui-accordion-DIl-JFbW.js";
|
|
10
|
+
import { u as qe } from "./useNestedProp-C7tnpkSe.js";
|
|
11
|
+
import { _ as Ot } from "./PackageVersion-Bn_ZFONA.js";
|
|
12
|
+
import { P as Dt } from "./PenAndPaper-D_VIX54u.js";
|
|
13
|
+
import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
|
+
import { u as Tt } from "./useChartAccessibility-BWojgys7.js";
|
|
15
|
+
import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ht = ["id"], Rt = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"], Ut = ["id"], Wt = ["stop-color"], Xt = ["stop-color"], Bt = ["id"], Gt = ["stop-color"], jt = ["stop-color"], Yt = ["stop-color"], Kt = { key: 1 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = { key: 0 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill", "font-weight"], ll = ["text-anchor", "font-size", "fill", "transform"], al = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], ol = { key: 1 }, ul = ["cx", "cy", "r", "fill"], sl = { key: 0 }, nl = { key: 0 }, rl = ["d", "stroke"], il = ["text-anchor", "x", "y", "fill"], cl = ["cx", "cy", "r", "fill"], vl = { key: 0 }, dl = ["cx", "cy", "fill"], hl = { key: 1 }, yl = ["d", "fill", "stroke"], fl = { key: 2 }, gl = ["d", "fill", "stroke"], bl = ["x", "y", "font-size", "fill"], ml = ["x", "y", "width", "fill", "onClick"], xl = ["x", "y", "width", "height", "onMouseenter", "onClick"], pl = {
|
|
17
17
|
key: 4,
|
|
18
18
|
"data-cy-zoom": "",
|
|
19
19
|
class: "vue-ui-donut-evolution-dialog"
|
|
20
|
-
},
|
|
20
|
+
}, kl = ["x", "y", "width", "height", "fill"], _l = ["x1", "y1", "x2", "y2", "stroke"], Cl = ["x1", "y2", "x2", "y1", "stroke"], wl = ["cx", "cy", "r"], zl = ["d", "stroke"], Ll = ["cx", "cy", "r", "fill"], Sl = ["d", "fill", "stroke"], Al = { class: "vue-ui-donut-evolution-focus" }, $l = ["text-anchor", "x", "y", "fill"], Il = ["cx", "cy", "r", "fill"], Nl = ["cx", "cy", "r", "fill"], Fl = ["x", "y", "fill"], Pl = ["x", "y", "font-size", "fill"], Ol = {
|
|
21
21
|
key: 5,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
23
|
+
}, Dl = ["onClick"], El = { key: 0 }, Tl = { key: 1 }, Vl = {
|
|
24
24
|
key: 9,
|
|
25
25
|
ref: "source",
|
|
26
26
|
dir: "auto"
|
|
27
|
-
},
|
|
27
|
+
}, Hl = { key: 0 }, Rl = { key: 1 }, Ml = {
|
|
28
28
|
__name: "vue-ui-donut-evolution",
|
|
29
29
|
props: {
|
|
30
30
|
config: {
|
|
@@ -41,8 +41,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectLegend"],
|
|
44
|
-
setup(
|
|
45
|
-
const { vue_ui_donut_evolution:
|
|
44
|
+
setup(Je, { expose: Ze, emit: Qe }) {
|
|
45
|
+
const { vue_ui_donut_evolution: et } = ft(), x = Je, K = p(() => !!x.dataset && x.dataset.length), d = b({
|
|
46
46
|
start: 0,
|
|
47
47
|
end: Math.max(...x.dataset.map((l) => l.values.length))
|
|
48
48
|
});
|
|
@@ -51,28 +51,28 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
51
51
|
}
|
|
52
52
|
const V = b(null);
|
|
53
53
|
async function fe() {
|
|
54
|
-
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await
|
|
54
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await j(), await j(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await j(), await j(), V.value && V.value.setEndValue(tt(e.value.style.chart.zoom.endIndex + 1)))) : (d.value = {
|
|
55
55
|
start: 0,
|
|
56
|
-
end:
|
|
56
|
+
end: T.value
|
|
57
57
|
}, xe.value += 1);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
const u =
|
|
59
|
+
function tt(l) {
|
|
60
|
+
const u = T.value;
|
|
61
61
|
return l > u ? u : l < 0 || e.value.style.chart.zoom.startIndex !== null && l < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : l;
|
|
62
62
|
}
|
|
63
|
-
|
|
63
|
+
vt(() => {
|
|
64
64
|
ge();
|
|
65
65
|
});
|
|
66
66
|
function ge() {
|
|
67
|
-
|
|
67
|
+
gt(x.dataset) ? Q({
|
|
68
68
|
componentName: "VueUiDonutEvolution",
|
|
69
69
|
type: "dataset"
|
|
70
70
|
}) : x.dataset.length && x.dataset.forEach((l, u) => {
|
|
71
|
-
|
|
71
|
+
bt({
|
|
72
72
|
datasetObject: l,
|
|
73
73
|
requiredAttributes: ["name", "values"]
|
|
74
74
|
}).forEach((t) => {
|
|
75
|
-
|
|
75
|
+
Q({
|
|
76
76
|
componentName: "VueUiDonutEvolution",
|
|
77
77
|
type: "datasetSerieAttribute",
|
|
78
78
|
property: t,
|
|
@@ -81,33 +81,33 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
81
81
|
});
|
|
82
82
|
}), fe();
|
|
83
83
|
}
|
|
84
|
-
const
|
|
84
|
+
const E = b(Xe()), C = b([]), g = b(null), ae = b(null), $ = b(!1), I = b(null), be = b(null), lt = b(null), me = b(0), xe = b(0), pe = b(0), ke = b(0), _e = b(0), Ce = Qe, e = p({
|
|
85
85
|
get: () => Se(),
|
|
86
86
|
set: (l) => l
|
|
87
|
-
}), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: ze } =
|
|
87
|
+
}), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: ze } = Et({ config: e.value }), { svgRef: Le } = Tt({ config: e.value.style.chart.title });
|
|
88
88
|
function Se() {
|
|
89
|
-
const l =
|
|
89
|
+
const l = qe({
|
|
90
90
|
userConfig: x.config,
|
|
91
|
-
defaultConfig:
|
|
91
|
+
defaultConfig: et
|
|
92
92
|
});
|
|
93
93
|
let u = {};
|
|
94
94
|
return l.theme ? u = {
|
|
95
|
-
...
|
|
96
|
-
userConfig:
|
|
95
|
+
...qe({
|
|
96
|
+
userConfig: xt.vue_ui_donut_evolution[l.theme] || x.config,
|
|
97
97
|
defaultConfig: l
|
|
98
98
|
}),
|
|
99
|
-
customPalette:
|
|
100
|
-
} : u = l, x.config &&
|
|
99
|
+
customPalette: mt[l.theme] || ee
|
|
100
|
+
} : u = l, x.config && Be(x.config, "style.chart.zoom.startIndex") ? u.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : u.style.chart.zoom.startIndex = null, x.config && Be(x.config, "style.chart.zoom.endIndex") ? u.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : u.style.chart.zoom.endIndex = null, u;
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
Ue(() => x.config, (l) => {
|
|
103
103
|
e.value = Se(), oe.value = !e.value.userOptions.showOnChartHover, ge(), pe.value += 1, ke.value += 1, _e.value += 1, U.value.showTable = e.value.table.show;
|
|
104
|
-
}, { deep: !0 }),
|
|
104
|
+
}, { deep: !0 }), Ue(() => x.dataset, (l) => {
|
|
105
105
|
ye();
|
|
106
106
|
}, { deep: !0 });
|
|
107
|
-
const { isPrinting:
|
|
108
|
-
elementId:
|
|
107
|
+
const { isPrinting: Ae, isImaging: $e, generatePdf: Ie, generateImage: Ne } = St({
|
|
108
|
+
elementId: E.value,
|
|
109
109
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
110
|
-
}),
|
|
110
|
+
}), at = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), ot = p(() => pt(e.value.customPalette)), U = b({
|
|
111
111
|
showTable: e.value.table.show
|
|
112
112
|
}), n = p(() => ({
|
|
113
113
|
top: e.value.style.chart.layout.padding.top,
|
|
@@ -125,12 +125,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
125
125
|
width: r
|
|
126
126
|
};
|
|
127
127
|
}), O = p(() => (x.dataset.forEach((l, u) => {
|
|
128
|
-
[null, void 0].includes(l.name) &&
|
|
128
|
+
[null, void 0].includes(l.name) && Q({
|
|
129
129
|
componentName: "VueUiDonutEvolution",
|
|
130
130
|
type: "datasetSerieAttribute",
|
|
131
131
|
property: "name",
|
|
132
132
|
index: u
|
|
133
|
-
}), [null, void 0].includes(l.values) &&
|
|
133
|
+
}), [null, void 0].includes(l.values) && Q({
|
|
134
134
|
componentName: "VueUiDonutEvolution",
|
|
135
135
|
type: "datasetSerieAttribute",
|
|
136
136
|
property: "values",
|
|
@@ -138,28 +138,28 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
138
138
|
});
|
|
139
139
|
}), x.dataset.map((l, u) => ({
|
|
140
140
|
...l,
|
|
141
|
-
values:
|
|
142
|
-
color: ve(l.color) ||
|
|
141
|
+
values: kt(l.values),
|
|
142
|
+
color: ve(l.color) || ot.value[u] || ee[u] || ee[u % ee.length],
|
|
143
143
|
length: (l.values || []).length,
|
|
144
|
-
uid:
|
|
144
|
+
uid: Xe()
|
|
145
145
|
})))), W = p(() => O.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
|
|
146
146
|
...l,
|
|
147
|
-
values: l.values.filter((u, t) => t >=
|
|
148
|
-
}))),
|
|
147
|
+
values: l.values.filter((u, t) => t >= d.value.start && t <= d.value.end)
|
|
148
|
+
}))), T = p(() => Math.max(...W.value.map((l) => l.length))), z = p(() => i.value.width / (d.value.end - d.value.start)), w = p(() => {
|
|
149
149
|
const l = [];
|
|
150
|
-
for (let s = 0; s <
|
|
151
|
-
const f = W.value.map((F) => F.values[s] ?? null),
|
|
150
|
+
for (let s = 0; s < d.value.end - d.value.start; s += 1) {
|
|
151
|
+
const f = W.value.map((F) => F.values[s] ?? null), h = f.filter((F) => [void 0, null].includes(F)).length === f.length, N = f.reduce((F, L) => F + L, 0), ce = f.map((F) => F / N), M = n.value.left + z.value * s + z.value / 2;
|
|
152
152
|
l.push({
|
|
153
153
|
index: s,
|
|
154
154
|
percentages: ce,
|
|
155
|
-
subtotal:
|
|
155
|
+
subtotal: h || N < 0 ? null : N,
|
|
156
156
|
values: f,
|
|
157
157
|
x: M
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
const u = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
|
|
161
161
|
return l.map((s, f) => {
|
|
162
|
-
const
|
|
162
|
+
const h = z.value / 2 * 0.7, N = h > i.value.width / 16 ? i.value.width / 16 : h, ce = g.value === s.index ? i.value.width / 16 : N, M = l.length > 4 ? h * 2 : h * 2 > z.value / 2 * 0.7 ? z.value / 2 * 0.7 : h * 2, F = i.value.absoluteHeight - n.value.bottom - i.value.height * s.subtotal / Ge(u, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
163
163
|
return {
|
|
164
164
|
...s,
|
|
165
165
|
y: F,
|
|
@@ -167,21 +167,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
167
167
|
activeRadius: ce,
|
|
168
168
|
hoverRadius: M,
|
|
169
169
|
donut: de({
|
|
170
|
-
series: W.value.map((L,
|
|
170
|
+
series: W.value.map((L, Me) => ({
|
|
171
171
|
color: L.color,
|
|
172
172
|
name: L.name,
|
|
173
173
|
value: L.values[f] ?? 0
|
|
174
174
|
}))
|
|
175
175
|
}, s.x, F, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
176
176
|
donutHover: de({
|
|
177
|
-
series: W.value.map((L,
|
|
177
|
+
series: W.value.map((L, Me) => ({
|
|
178
178
|
color: L.color,
|
|
179
179
|
name: L.name,
|
|
180
180
|
value: L.values[f] ?? 0
|
|
181
181
|
}))
|
|
182
182
|
}, s.x, F, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
|
|
183
183
|
donutFocus: de({
|
|
184
|
-
series: W.value.map((L,
|
|
184
|
+
series: W.value.map((L, Me) => ({
|
|
185
185
|
color: L.color,
|
|
186
186
|
name: L.name,
|
|
187
187
|
value: L.values[f] ?? 0
|
|
@@ -208,34 +208,34 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
208
208
|
min: 0
|
|
209
209
|
})), H = p(() => {
|
|
210
210
|
const l = w.value.length === 1 ? ue.value.max * 2 : ue.value.max;
|
|
211
|
-
return
|
|
211
|
+
return Ge(ue.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
212
212
|
});
|
|
213
|
-
function
|
|
213
|
+
function ut(l) {
|
|
214
214
|
return l / H.value.max;
|
|
215
215
|
}
|
|
216
|
-
const
|
|
217
|
-
y: i.value.absoluteHeight - n.value.bottom - i.value.height *
|
|
216
|
+
const st = p(() => H.value.ticks.map((l) => ({
|
|
217
|
+
y: i.value.absoluteHeight - n.value.bottom - i.value.height * ut(l),
|
|
218
218
|
value: l
|
|
219
219
|
})));
|
|
220
220
|
function Fe(l, u) {
|
|
221
|
-
return isNaN(l.value /
|
|
221
|
+
return isNaN(l.value / Ke(u, "value")) ? 0 : (l.value / Ke(u, "value") * 100).toFixed(0) + "%";
|
|
222
222
|
}
|
|
223
223
|
function Pe() {
|
|
224
|
-
|
|
224
|
+
$.value || (g.value = null, ae.value = null);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
|
|
226
|
+
function nt(l) {
|
|
227
|
+
$.value || (g.value = l.index, ae.value = l);
|
|
228
228
|
}
|
|
229
229
|
const se = b(null);
|
|
230
230
|
function ne(l, u) {
|
|
231
|
-
l.subtotal && (ae.value = null, g.value = null,
|
|
231
|
+
l.subtotal && (ae.value = null, g.value = null, $.value = !0, I.value = l, [null, void 0].includes(u) || (se.value = u));
|
|
232
232
|
}
|
|
233
233
|
function Oe() {
|
|
234
|
-
I.value = null,
|
|
234
|
+
I.value = null, $.value = !1, se.value = null;
|
|
235
235
|
}
|
|
236
236
|
const De = p(() => O.value.map((l, u) => ({
|
|
237
237
|
name: l.name,
|
|
238
|
-
value: l.values.slice(
|
|
238
|
+
value: l.values.slice(d.value.start, d.value.end).reduce((t, r) => t + r, 0),
|
|
239
239
|
shape: "circle",
|
|
240
240
|
uid: l.uid,
|
|
241
241
|
color: l.color
|
|
@@ -244,7 +244,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
244
244
|
opacity: C.value.includes(l.uid) ? 0.5 : 1,
|
|
245
245
|
segregate: () => re(l.uid),
|
|
246
246
|
isSegregated: C.value.includes(l.uid)
|
|
247
|
-
}))),
|
|
247
|
+
}))), Ee = p(() => w.value.map((l) => l.subtotal).reduce((l, u) => l + u, 0)), rt = p(() => ({
|
|
248
248
|
cy: "donut-div-legend",
|
|
249
249
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
250
250
|
color: e.value.style.chart.legend.color,
|
|
@@ -267,11 +267,11 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
267
267
|
color: s.color
|
|
268
268
|
}))).concat(["Σ"]);
|
|
269
269
|
let u = [];
|
|
270
|
-
for (let s = 0; s <
|
|
271
|
-
const f = O.value.filter((
|
|
272
|
-
u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(O.value.filter((
|
|
273
|
-
value:
|
|
274
|
-
percentage:
|
|
270
|
+
for (let s = 0; s < T.value; s += 1) {
|
|
271
|
+
const f = O.value.filter((h) => !C.value.includes(h.uid)).map((h) => h.values[s] ?? 0).reduce((h, N) => h + N, 0);
|
|
272
|
+
u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(O.value.filter((h) => !C.value.includes(h.uid)).map((h) => ({
|
|
273
|
+
value: h.values[s] ?? 0,
|
|
274
|
+
percentage: h.values[s] ? h.values[s] / f * 100 : 0
|
|
275
275
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
276
276
|
}
|
|
277
277
|
const t = {
|
|
@@ -291,17 +291,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
291
291
|
].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
|
|
292
292
|
return { head: l, body: u, config: t, colNames: r };
|
|
293
293
|
});
|
|
294
|
-
function
|
|
294
|
+
function it() {
|
|
295
295
|
return O.value;
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
|
|
299
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((
|
|
300
|
-
|
|
297
|
+
function Te() {
|
|
298
|
+
j(() => {
|
|
299
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((h) => h.value ?? h))], r = l.concat([u]).concat(t), s = wt(r);
|
|
300
|
+
zt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
const X = b(!1);
|
|
304
|
-
function
|
|
304
|
+
function ct(l) {
|
|
305
305
|
X.value = l, me.value += 1;
|
|
306
306
|
}
|
|
307
307
|
function Ve() {
|
|
@@ -311,10 +311,16 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
311
311
|
function ie() {
|
|
312
312
|
J.value = !J.value;
|
|
313
313
|
}
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
function He(l) {
|
|
315
|
+
return l.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
|
|
316
|
+
}
|
|
317
|
+
function Re(l) {
|
|
318
|
+
return l.proportion * 100 > e.value.style.chart.donuts.zoom.hideLabelsUnderValue;
|
|
319
|
+
}
|
|
320
|
+
return Ze({
|
|
321
|
+
getData: it,
|
|
316
322
|
generatePdf: Ie,
|
|
317
|
-
generateCsv:
|
|
323
|
+
generateCsv: Te,
|
|
318
324
|
generateImage: Ne,
|
|
319
325
|
toggleTable: Ve,
|
|
320
326
|
toggleAnnotator: ie
|
|
@@ -322,12 +328,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
322
328
|
ref_key: "donutEvolutionChart",
|
|
323
329
|
ref: be,
|
|
324
330
|
class: P(`vue-ui-donut-evolution ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
325
|
-
style:
|
|
326
|
-
id:
|
|
331
|
+
style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
332
|
+
id: E.value,
|
|
327
333
|
onMouseenter: u[4] || (u[4] = () => c(we)(!0)),
|
|
328
334
|
onMouseleave: u[5] || (u[5] = () => c(we)(!1))
|
|
329
335
|
}, [
|
|
330
|
-
e.value.userOptions.buttons.annotator ? (a(), D(
|
|
336
|
+
e.value.userOptions.buttons.annotator ? (a(), D(Dt, {
|
|
331
337
|
key: 0,
|
|
332
338
|
svgRef: c(Le),
|
|
333
339
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -335,10 +341,10 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
335
341
|
active: J.value,
|
|
336
342
|
onClose: ie
|
|
337
343
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
|
|
338
|
-
|
|
344
|
+
at.value ? (a(), o("div", {
|
|
339
345
|
key: 1,
|
|
340
346
|
ref_key: "noTitle",
|
|
341
|
-
ref:
|
|
347
|
+
ref: lt,
|
|
342
348
|
class: "vue-data-ui-no-title-space",
|
|
343
349
|
style: "height:36px; width: 100%;background:transparent"
|
|
344
350
|
}, null, 512)) : v("", !0),
|
|
@@ -347,7 +353,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
347
353
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
348
354
|
onMouseleave: Pe
|
|
349
355
|
}, [
|
|
350
|
-
(a(), D(
|
|
356
|
+
(a(), D(Lt, {
|
|
351
357
|
key: `title_${pe.value}`,
|
|
352
358
|
config: {
|
|
353
359
|
title: {
|
|
@@ -361,14 +367,14 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
361
367
|
}
|
|
362
368
|
}, null, 8, ["config"]))
|
|
363
369
|
], 32)) : v("", !0),
|
|
364
|
-
e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D(
|
|
370
|
+
e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D(At, {
|
|
365
371
|
ref: "details",
|
|
366
372
|
key: `user_options_${me.value}`,
|
|
367
373
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
368
374
|
color: e.value.style.chart.color,
|
|
369
|
-
isPrinting: c(
|
|
370
|
-
isImaging: c(
|
|
371
|
-
uid:
|
|
375
|
+
isPrinting: c(Ae),
|
|
376
|
+
isImaging: c($e),
|
|
377
|
+
uid: E.value,
|
|
372
378
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
373
379
|
hasImg: e.value.userOptions.buttons.img,
|
|
374
380
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -380,62 +386,62 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
380
386
|
position: e.value.userOptions.position,
|
|
381
387
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
382
388
|
isAnnotation: J.value,
|
|
383
|
-
onToggleFullscreen:
|
|
389
|
+
onToggleFullscreen: ct,
|
|
384
390
|
onGeneratePdf: c(Ie),
|
|
385
|
-
onGenerateCsv:
|
|
391
|
+
onGenerateCsv: Te,
|
|
386
392
|
onGenerateImage: c(Ne),
|
|
387
393
|
onToggleTable: Ve,
|
|
388
394
|
onToggleAnnotator: ie,
|
|
389
|
-
style:
|
|
395
|
+
style: Z({
|
|
390
396
|
visibility: c(ze) ? c(oe) ? "visible" : "hidden" : "visible"
|
|
391
397
|
})
|
|
392
|
-
},
|
|
398
|
+
}, dt({ _: 2 }, [
|
|
393
399
|
l.$slots.menuIcon ? {
|
|
394
400
|
name: "menuIcon",
|
|
395
|
-
fn:
|
|
396
|
-
S(l.$slots, "menuIcon", G(
|
|
401
|
+
fn: A(({ isOpen: t, color: r }) => [
|
|
402
|
+
S(l.$slots, "menuIcon", B(G({ isOpen: t, color: r })), void 0, !0)
|
|
397
403
|
]),
|
|
398
404
|
key: "0"
|
|
399
405
|
} : void 0,
|
|
400
406
|
l.$slots.optionPdf ? {
|
|
401
407
|
name: "optionPdf",
|
|
402
|
-
fn:
|
|
408
|
+
fn: A(() => [
|
|
403
409
|
S(l.$slots, "optionPdf", {}, void 0, !0)
|
|
404
410
|
]),
|
|
405
411
|
key: "1"
|
|
406
412
|
} : void 0,
|
|
407
413
|
l.$slots.optionCsv ? {
|
|
408
414
|
name: "optionCsv",
|
|
409
|
-
fn:
|
|
415
|
+
fn: A(() => [
|
|
410
416
|
S(l.$slots, "optionCsv", {}, void 0, !0)
|
|
411
417
|
]),
|
|
412
418
|
key: "2"
|
|
413
419
|
} : void 0,
|
|
414
420
|
l.$slots.optionImg ? {
|
|
415
421
|
name: "optionImg",
|
|
416
|
-
fn:
|
|
422
|
+
fn: A(() => [
|
|
417
423
|
S(l.$slots, "optionImg", {}, void 0, !0)
|
|
418
424
|
]),
|
|
419
425
|
key: "3"
|
|
420
426
|
} : void 0,
|
|
421
427
|
l.$slots.optionTable ? {
|
|
422
428
|
name: "optionTable",
|
|
423
|
-
fn:
|
|
429
|
+
fn: A(() => [
|
|
424
430
|
S(l.$slots, "optionTable", {}, void 0, !0)
|
|
425
431
|
]),
|
|
426
432
|
key: "4"
|
|
427
433
|
} : void 0,
|
|
428
434
|
l.$slots.optionFullscreen ? {
|
|
429
435
|
name: "optionFullscreen",
|
|
430
|
-
fn:
|
|
431
|
-
S(l.$slots, "optionFullscreen", G(
|
|
436
|
+
fn: A(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
437
|
+
S(l.$slots, "optionFullscreen", B(G({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
432
438
|
]),
|
|
433
439
|
key: "5"
|
|
434
440
|
} : void 0,
|
|
435
441
|
l.$slots.optionAnnotator ? {
|
|
436
442
|
name: "optionAnnotator",
|
|
437
|
-
fn:
|
|
438
|
-
S(l.$slots, "optionAnnotator", G(
|
|
443
|
+
fn: A(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
444
|
+
S(l.$slots, "optionAnnotator", B(G({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
439
445
|
]),
|
|
440
446
|
key: "6"
|
|
441
447
|
} : void 0
|
|
@@ -444,12 +450,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
444
450
|
key: 4,
|
|
445
451
|
ref_key: "svgRef",
|
|
446
452
|
ref: Le,
|
|
447
|
-
xmlns: c(
|
|
453
|
+
xmlns: c(_t),
|
|
448
454
|
class: P({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
449
455
|
viewBox: `0 0 ${i.value.absoluteWidth} ${i.value.absoluteHeight}`,
|
|
450
|
-
style:
|
|
456
|
+
style: Z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
451
457
|
}, [
|
|
452
|
-
|
|
458
|
+
ht(Ot),
|
|
453
459
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
454
460
|
key: 0,
|
|
455
461
|
x: n.value.left,
|
|
@@ -461,43 +467,43 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
461
467
|
}
|
|
462
468
|
}, [
|
|
463
469
|
S(l.$slots, "chart-background", {}, void 0, !0)
|
|
464
|
-
], 8,
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
id: `hover_${
|
|
470
|
+
], 8, Mt)) : v("", !0),
|
|
471
|
+
y("defs", null, [
|
|
472
|
+
y("linearGradient", {
|
|
473
|
+
id: `hover_${E.value}`,
|
|
468
474
|
x1: "0%",
|
|
469
475
|
y1: "0%",
|
|
470
476
|
x2: "0%",
|
|
471
477
|
y2: "100%"
|
|
472
478
|
}, [
|
|
473
|
-
|
|
479
|
+
y("stop", {
|
|
474
480
|
offset: "0%",
|
|
475
481
|
"stop-color": c(Y)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
476
|
-
}, null, 8,
|
|
477
|
-
|
|
482
|
+
}, null, 8, Wt),
|
|
483
|
+
y("stop", {
|
|
478
484
|
offset: "100%",
|
|
479
485
|
"stop-color": c(Y)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
480
|
-
}, null, 8,
|
|
481
|
-
], 8,
|
|
482
|
-
|
|
483
|
-
id: `focus_${
|
|
486
|
+
}, null, 8, Xt)
|
|
487
|
+
], 8, Ut),
|
|
488
|
+
y("radialGradient", {
|
|
489
|
+
id: `focus_${E.value}`
|
|
484
490
|
}, [
|
|
485
|
-
|
|
491
|
+
y("stop", {
|
|
486
492
|
offset: "0%",
|
|
487
493
|
"stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
488
|
-
}, null, 8,
|
|
489
|
-
|
|
494
|
+
}, null, 8, Gt),
|
|
495
|
+
y("stop", {
|
|
490
496
|
offset: "77%",
|
|
491
497
|
"stop-color": c(Y)("#FFFFFF", 30)
|
|
492
|
-
}, null, 8,
|
|
493
|
-
|
|
498
|
+
}, null, 8, jt),
|
|
499
|
+
y("stop", {
|
|
494
500
|
offset: "100%",
|
|
495
501
|
"stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
496
|
-
}, null, 8,
|
|
497
|
-
], 8,
|
|
502
|
+
}, null, 8, Yt)
|
|
503
|
+
], 8, Bt)
|
|
498
504
|
]),
|
|
499
|
-
e.value.style.chart.layout.grid.show ? (a(), o("g",
|
|
500
|
-
|
|
505
|
+
e.value.style.chart.layout.grid.show ? (a(), o("g", Kt, [
|
|
506
|
+
y("line", {
|
|
501
507
|
x1: n.value.left,
|
|
502
508
|
x2: n.value.left,
|
|
503
509
|
y1: n.value.top,
|
|
@@ -505,8 +511,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
505
511
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
506
512
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
507
513
|
"stroke-linecap": "round"
|
|
508
|
-
}, null, 8,
|
|
509
|
-
|
|
514
|
+
}, null, 8, qt),
|
|
515
|
+
y("line", {
|
|
510
516
|
x1: n.value.left,
|
|
511
517
|
x2: i.value.absoluteWidth - n.value.right,
|
|
512
518
|
y1: i.value.absoluteHeight - n.value.bottom,
|
|
@@ -514,9 +520,9 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
514
520
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
515
521
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
516
522
|
"stroke-linecap": "round"
|
|
517
|
-
}, null, 8,
|
|
518
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g",
|
|
519
|
-
(a(!0), o(k, null, _(
|
|
523
|
+
}, null, 8, Jt),
|
|
524
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Zt, [
|
|
525
|
+
(a(!0), o(k, null, _(d.value.end - d.value.start, (t, r) => (a(), o("line", {
|
|
520
526
|
x1: n.value.left + (r + 1) * z.value,
|
|
521
527
|
x2: n.value.left + (r + 1) * z.value,
|
|
522
528
|
y1: n.value.top,
|
|
@@ -524,14 +530,14 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
524
530
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
525
531
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
526
532
|
"stroke-linecap": "round"
|
|
527
|
-
}, null, 8,
|
|
533
|
+
}, null, 8, Qt))), 256))
|
|
528
534
|
])) : v("", !0)
|
|
529
535
|
])) : v("", !0),
|
|
530
536
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
|
|
531
537
|
key: 2,
|
|
532
|
-
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null ||
|
|
538
|
+
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
|
|
533
539
|
}, [
|
|
534
|
-
(a(!0), o(k, null, _(
|
|
540
|
+
(a(!0), o(k, null, _(st.value, (t, r) => (a(), o("g", null, [
|
|
535
541
|
t.value >= H.value.min && t.value <= H.value.max ? (a(), o("line", {
|
|
536
542
|
key: 0,
|
|
537
543
|
x1: n.value.left,
|
|
@@ -540,7 +546,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
540
546
|
y2: t.y,
|
|
541
547
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
542
548
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
543
|
-
}, null, 8,
|
|
549
|
+
}, null, 8, el)) : v("", !0),
|
|
544
550
|
t.value >= H.value.min && t.value <= H.value.max ? (a(), o("text", {
|
|
545
551
|
key: 1,
|
|
546
552
|
x: n.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
@@ -549,7 +555,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
549
555
|
"text-anchor": "end",
|
|
550
556
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
551
557
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
552
|
-
}, m(c(
|
|
558
|
+
}, m(c(Ct)(t.value) ? c(he)(
|
|
553
559
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
554
560
|
t.value,
|
|
555
561
|
c(te)({
|
|
@@ -559,27 +565,27 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
559
565
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
560
566
|
}),
|
|
561
567
|
{ datapoint: t, seriesIndex: r }
|
|
562
|
-
) : ""), 9,
|
|
568
|
+
) : ""), 9, tl)) : v("", !0)
|
|
563
569
|
]))), 256))
|
|
564
570
|
], 2)) : v("", !0),
|
|
565
571
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
|
|
566
572
|
key: 3,
|
|
567
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
573
|
+
class: P({ "donut-opacity": !0, "donut-behind": $.value })
|
|
568
574
|
}, [
|
|
569
|
-
(a(!0), o(k, null, _(
|
|
570
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r ===
|
|
575
|
+
(a(!0), o(k, null, _(d.value.end - d.value.start, (t, r) => (a(), o("g", null, [
|
|
576
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === T.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
|
|
571
577
|
key: 0,
|
|
572
578
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
573
579
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
574
580
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
575
581
|
transform: `translate(${n.value.left + z.value * r + z.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + i.value.absoluteHeight - n.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
576
|
-
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(
|
|
582
|
+
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(d.value.start)] ?? ""), 9, ll)) : v("", !0)
|
|
577
583
|
]))), 256))
|
|
578
584
|
], 2)) : v("", !0),
|
|
579
585
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", null, [
|
|
580
586
|
e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), o("line", {
|
|
581
587
|
key: 0,
|
|
582
|
-
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null ||
|
|
588
|
+
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value }),
|
|
583
589
|
x1: t.x,
|
|
584
590
|
y1: t.y,
|
|
585
591
|
x2: w.value[r + 1].x,
|
|
@@ -588,83 +594,85 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
588
594
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
589
595
|
"stroke-linecap": "round",
|
|
590
596
|
"stroke-linejoin": "round"
|
|
591
|
-
}, null, 10,
|
|
592
|
-
t.subtotal !== null ? (a(), o("g",
|
|
597
|
+
}, null, 10, al)) : v("", !0),
|
|
598
|
+
t.subtotal !== null ? (a(), o("g", ol, [
|
|
593
599
|
t.subtotal ? (a(), o("circle", {
|
|
594
600
|
key: 0,
|
|
595
601
|
cx: t.x,
|
|
596
602
|
cy: t.y,
|
|
597
603
|
r: t.activeRadius,
|
|
598
604
|
fill: e.value.style.chart.backgroundColor
|
|
599
|
-
}, null, 8,
|
|
605
|
+
}, null, 8, ul)) : v("", !0)
|
|
600
606
|
])) : v("", !0)
|
|
601
607
|
]))), 256)),
|
|
602
608
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
603
|
-
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null ||
|
|
609
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || $.value })
|
|
604
610
|
}, [
|
|
605
|
-
t.subtotal ? (a(), o("g",
|
|
606
|
-
g.value !== null && g.value === r ? (a(), o("g",
|
|
611
|
+
t.subtotal ? (a(), o("g", sl, [
|
|
612
|
+
g.value !== null && g.value === r ? (a(), o("g", nl, [
|
|
607
613
|
(a(!0), o(k, null, _(t.donutHover, (s) => (a(), o("g", null, [
|
|
608
|
-
|
|
609
|
-
|
|
614
|
+
He(s) ? (a(), o("path", {
|
|
615
|
+
key: 0,
|
|
616
|
+
d: c(je)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !1, 20),
|
|
610
617
|
stroke: s.color,
|
|
611
618
|
"stroke-width": "1",
|
|
612
619
|
"stroke-linecap": "round",
|
|
613
620
|
"stroke-linejoin": "round",
|
|
614
621
|
fill: "none"
|
|
615
|
-
}, null, 8,
|
|
622
|
+
}, null, 8, rl)) : v("", !0)
|
|
616
623
|
]))), 256)),
|
|
617
624
|
(a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("g", null, [
|
|
618
|
-
|
|
625
|
+
He(s) ? (a(), o("text", {
|
|
626
|
+
key: 0,
|
|
619
627
|
"data-cy-hover-label": "",
|
|
620
628
|
"text-anchor": c(le)(s, !0, 0).anchor,
|
|
621
|
-
x: c(le)(s, !0,
|
|
622
|
-
y: c(
|
|
629
|
+
x: c(le)(s, !0, 9).x,
|
|
630
|
+
y: c(Ye)(s, 14, 10),
|
|
623
631
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
624
632
|
"font-size": 8,
|
|
625
633
|
"font-weight": "bold"
|
|
626
|
-
}, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" : q(s.value, s, f)) + ") ", 9,
|
|
634
|
+
}, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" : q(s.value, s, f)) + ") ", 9, il)) : v("", !0)
|
|
627
635
|
]))), 256)),
|
|
628
|
-
|
|
629
|
-
|
|
636
|
+
y("g", null, [
|
|
637
|
+
y("circle", {
|
|
630
638
|
cx: t.x,
|
|
631
639
|
cy: t.y,
|
|
632
640
|
r: t.hoverRadius,
|
|
633
641
|
fill: e.value.style.chart.backgroundColor
|
|
634
|
-
}, null, 8,
|
|
642
|
+
}, null, 8, cl)
|
|
635
643
|
])
|
|
636
644
|
])) : v("", !0)
|
|
637
645
|
])) : v("", !0)
|
|
638
646
|
], 2))), 256)),
|
|
639
647
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
640
|
-
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null ||
|
|
648
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || $.value })
|
|
641
649
|
}, [
|
|
642
|
-
t.subtotal !== null ? (a(), o("g",
|
|
650
|
+
t.subtotal !== null ? (a(), o("g", vl, [
|
|
643
651
|
t.subtotal === 0 ? (a(), o("circle", {
|
|
644
652
|
key: 0,
|
|
645
653
|
cx: t.x,
|
|
646
654
|
cy: t.y,
|
|
647
655
|
r: 3,
|
|
648
656
|
fill: e.value.style.chart.color
|
|
649
|
-
}, null, 8,
|
|
657
|
+
}, null, 8, dl)) : g.value !== null && g.value === r ? (a(), o("g", hl, [
|
|
650
658
|
(a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("path", {
|
|
651
659
|
d: s.arcSlice,
|
|
652
660
|
fill: `${s.color}`,
|
|
653
661
|
"stroke-width": 1,
|
|
654
662
|
stroke: e.value.style.chart.backgroundColor
|
|
655
|
-
}, null, 8,
|
|
656
|
-
])) : (a(), o("g",
|
|
663
|
+
}, null, 8, yl))), 256))
|
|
664
|
+
])) : (a(), o("g", fl, [
|
|
657
665
|
(a(!0), o(k, null, _(t.donut, (s, f) => (a(), o("path", {
|
|
658
666
|
d: s.arcSlice,
|
|
659
667
|
fill: `${s.color}`,
|
|
660
668
|
"stroke-width": 0.5,
|
|
661
669
|
stroke: e.value.style.chart.backgroundColor
|
|
662
|
-
}, null, 8,
|
|
670
|
+
}, null, 8, gl))), 256))
|
|
663
671
|
]))
|
|
664
672
|
])) : v("", !0)
|
|
665
673
|
], 2))), 256)),
|
|
666
674
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
667
|
-
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null ||
|
|
675
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || $.value })
|
|
668
676
|
}, [
|
|
669
677
|
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
|
|
670
678
|
key: 0,
|
|
@@ -674,17 +682,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
674
682
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
675
683
|
"font-weight": "bold",
|
|
676
684
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
677
|
-
}, m(q(t.subtotal, t, r)), 9,
|
|
685
|
+
}, m(q(t.subtotal, t, r)), 9, bl)) : v("", !0)
|
|
678
686
|
], 2))), 256)),
|
|
679
687
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
|
|
680
688
|
x: n.value.left + r * z.value,
|
|
681
689
|
y: i.value.absoluteHeight - n.value.bottom - 10,
|
|
682
690
|
width: z.value,
|
|
683
691
|
height: 10,
|
|
684
|
-
fill: g.value === t.index ? `url(#hover_${
|
|
692
|
+
fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
|
|
685
693
|
onClick: (s) => ne(t, r),
|
|
686
694
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
687
|
-
}, null, 10,
|
|
695
|
+
}, null, 10, ml))), 256)),
|
|
688
696
|
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
|
|
689
697
|
"data-cy-trap": "",
|
|
690
698
|
x: n.value.left + r * z.value,
|
|
@@ -692,13 +700,13 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
692
700
|
width: z.value,
|
|
693
701
|
height: i.value.height,
|
|
694
702
|
fill: "transparent",
|
|
695
|
-
onMouseenter: (s) =>
|
|
703
|
+
onMouseenter: (s) => nt(t),
|
|
696
704
|
onMouseleave: Pe,
|
|
697
705
|
onClick: (s) => ne(t, r),
|
|
698
706
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
699
|
-
}, null, 42,
|
|
700
|
-
|
|
701
|
-
|
|
707
|
+
}, null, 42, xl))), 256)),
|
|
708
|
+
$.value ? (a(), o("g", pl, [
|
|
709
|
+
y("rect", {
|
|
702
710
|
rx: 4,
|
|
703
711
|
x: n.value.left,
|
|
704
712
|
y: n.value.top,
|
|
@@ -706,8 +714,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
706
714
|
height: i.value.height,
|
|
707
715
|
fill: e.value.style.chart.backgroundColor,
|
|
708
716
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
709
|
-
}, null, 8,
|
|
710
|
-
|
|
717
|
+
}, null, 8, kl),
|
|
718
|
+
y("line", {
|
|
711
719
|
"data-html2canvas-ignore": "",
|
|
712
720
|
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
713
721
|
y1: n.value.top + 5,
|
|
@@ -716,8 +724,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
716
724
|
"stroke-linecap": "round",
|
|
717
725
|
stroke: e.value.style.chart.color,
|
|
718
726
|
"stroke-width": "1.5"
|
|
719
|
-
}, null, 8,
|
|
720
|
-
|
|
727
|
+
}, null, 8, _l),
|
|
728
|
+
y("line", {
|
|
721
729
|
"data-html2canvas-ignore": "",
|
|
722
730
|
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
723
731
|
y2: n.value.top + 5,
|
|
@@ -726,66 +734,68 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
726
734
|
"stroke-linecap": "round",
|
|
727
735
|
stroke: e.value.style.chart.color,
|
|
728
736
|
"stroke-width": "1.5"
|
|
729
|
-
}, null, 8,
|
|
730
|
-
|
|
737
|
+
}, null, 8, Cl),
|
|
738
|
+
y("circle", {
|
|
731
739
|
"data-cy-close": "",
|
|
732
740
|
onClick: Oe,
|
|
733
|
-
onKeypress:
|
|
741
|
+
onKeypress: yt(Oe, ["enter"]),
|
|
734
742
|
cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
|
|
735
743
|
cy: n.value.top + i.value.height / 30,
|
|
736
744
|
r: i.value.height / 12,
|
|
737
745
|
fill: "transparent",
|
|
738
746
|
style: { cursor: "pointer" },
|
|
739
747
|
tabindex: "0"
|
|
740
|
-
}, null, 40,
|
|
748
|
+
}, null, 40, wl),
|
|
741
749
|
(a(!0), o(k, null, _(I.value.donutFocus, (t) => (a(), o("g", null, [
|
|
742
|
-
|
|
750
|
+
Re(t) ? (a(), o("path", {
|
|
751
|
+
key: 0,
|
|
743
752
|
"data-cy-zoom-donut": "",
|
|
744
|
-
d: c(
|
|
753
|
+
d: c(je)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
|
|
745
754
|
stroke: t.color,
|
|
746
755
|
"stroke-width": "1",
|
|
747
756
|
"stroke-linecap": "round",
|
|
748
757
|
"stroke-linejoin": "round",
|
|
749
758
|
fill: "none",
|
|
750
759
|
class: "vue-ui-donut-evolution-focus"
|
|
751
|
-
}, null, 8,
|
|
760
|
+
}, null, 8, zl)) : v("", !0)
|
|
752
761
|
]))), 256)),
|
|
753
|
-
|
|
762
|
+
y("circle", {
|
|
754
763
|
cx: n.value.left + i.value.width / 2,
|
|
755
764
|
cy: n.value.top + i.value.height / 2,
|
|
756
765
|
r: i.value.height / 7,
|
|
757
766
|
fill: e.value.style.chart.backgroundColor
|
|
758
|
-
}, null, 8,
|
|
767
|
+
}, null, 8, Ll),
|
|
759
768
|
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("path", {
|
|
760
769
|
d: t.arcSlice,
|
|
761
770
|
fill: `${t.color}`,
|
|
762
771
|
"stroke-width": 1,
|
|
763
772
|
stroke: e.value.style.chart.backgroundColor,
|
|
764
773
|
class: "vue-ui-donut-evolution-focus"
|
|
765
|
-
}, null, 8,
|
|
766
|
-
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g",
|
|
767
|
-
|
|
774
|
+
}, null, 8, Sl))), 256)),
|
|
775
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g", Al, [
|
|
776
|
+
Re(t) ? (a(), o("text", {
|
|
777
|
+
key: 0,
|
|
768
778
|
"text-anchor": c(le)(t, !0, 20).anchor,
|
|
769
779
|
x: c(le)(t, !0, 10).x,
|
|
770
|
-
y: c(
|
|
780
|
+
y: c(Ye)(t),
|
|
771
781
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
772
782
|
"font-size": 10,
|
|
773
783
|
"font-weight": "bold"
|
|
774
|
-
}, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9,
|
|
784
|
+
}, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9, $l)) : v("", !0)
|
|
775
785
|
]))), 256)),
|
|
776
|
-
|
|
786
|
+
y("circle", {
|
|
777
787
|
cx: n.value.left + i.value.width / 2,
|
|
778
788
|
cy: n.value.top + i.value.height / 2,
|
|
779
789
|
r: i.value.height / 3.8,
|
|
780
|
-
fill: `url(#focus_${
|
|
781
|
-
}, null, 8,
|
|
782
|
-
|
|
790
|
+
fill: `url(#focus_${E.value})`
|
|
791
|
+
}, null, 8, Il),
|
|
792
|
+
y("circle", {
|
|
783
793
|
cx: n.value.left + i.value.width / 2,
|
|
784
794
|
cy: n.value.top + i.value.height / 2,
|
|
785
795
|
r: i.value.height / 7.7,
|
|
786
796
|
fill: e.value.style.chart.backgroundColor
|
|
787
|
-
}, null, 8,
|
|
788
|
-
|
|
797
|
+
}, null, 8, Nl),
|
|
798
|
+
y("text", {
|
|
789
799
|
"text-anchor": "middle",
|
|
790
800
|
x: n.value.left + i.value.width / 2,
|
|
791
801
|
y: n.value.top + i.value.height / 2 + 14 / 3,
|
|
@@ -793,21 +803,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
793
803
|
"font-weight": "bold",
|
|
794
804
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
795
805
|
class: "vue-ui-donut-evolution-focus"
|
|
796
|
-
}, m(q(I.value.subtotal, I.value, null)), 9,
|
|
806
|
+
}, m(q(I.value.subtotal, I.value, null)), 9, Fl),
|
|
797
807
|
e.value.style.chart.layout.grid.xAxis.dataLabels.values[I.value.index] ? (a(), o("text", {
|
|
798
808
|
key: 0,
|
|
799
809
|
x: n.value.left + 6,
|
|
800
810
|
y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
801
811
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
802
812
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
803
|
-
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(
|
|
813
|
+
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(d.value.start)]), 9, Pl)) : v("", !0)
|
|
804
814
|
])) : v("", !0),
|
|
805
815
|
S(l.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
806
|
-
], 14,
|
|
807
|
-
l.$slots.watermark ? (a(), o("div",
|
|
808
|
-
S(l.$slots, "watermark", G(
|
|
816
|
+
], 14, Rt)) : v("", !0),
|
|
817
|
+
l.$slots.watermark ? (a(), o("div", Ol, [
|
|
818
|
+
S(l.$slots, "watermark", B(G({ isPrinting: c(Ae) || c($e) })), void 0, !0)
|
|
809
819
|
])) : v("", !0),
|
|
810
|
-
K.value ? v("", !0) : (a(), D(
|
|
820
|
+
K.value ? v("", !0) : (a(), D(Nt, {
|
|
811
821
|
key: 6,
|
|
812
822
|
config: {
|
|
813
823
|
type: "donutEvolution",
|
|
@@ -824,7 +834,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
824
834
|
}
|
|
825
835
|
}
|
|
826
836
|
}, null, 8, ["config"])),
|
|
827
|
-
|
|
837
|
+
T.value > 1 && e.value.style.chart.zoom.show ? (a(), D(Ft, {
|
|
828
838
|
ref_key: "slicerComponent",
|
|
829
839
|
ref: V,
|
|
830
840
|
key: `slicer_${xe.value}`,
|
|
@@ -832,42 +842,42 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
832
842
|
borderColor: e.value.style.chart.backgroundColor,
|
|
833
843
|
fontSize: e.value.style.chart.zoom.fontSize,
|
|
834
844
|
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
835
|
-
labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
836
|
-
labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
845
|
+
labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(d.value.start)] || "",
|
|
846
|
+
labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(d.value.end) - 1] || "",
|
|
837
847
|
textColor: e.value.style.chart.color,
|
|
838
848
|
inputColor: e.value.style.chart.zoom.color,
|
|
839
849
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
840
|
-
max:
|
|
850
|
+
max: T.value,
|
|
841
851
|
min: 0,
|
|
842
|
-
valueStart:
|
|
843
|
-
valueEnd:
|
|
844
|
-
start:
|
|
845
|
-
"onUpdate:start": u[0] || (u[0] = (t) =>
|
|
846
|
-
end:
|
|
847
|
-
"onUpdate:end": u[1] || (u[1] = (t) =>
|
|
852
|
+
valueStart: d.value.start,
|
|
853
|
+
valueEnd: d.value.end,
|
|
854
|
+
start: d.value.start,
|
|
855
|
+
"onUpdate:start": u[0] || (u[0] = (t) => d.value.start = t),
|
|
856
|
+
end: d.value.end,
|
|
857
|
+
"onUpdate:end": u[1] || (u[1] = (t) => d.value.end = t),
|
|
848
858
|
refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
|
|
849
|
-
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 :
|
|
859
|
+
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : T.value,
|
|
850
860
|
enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
|
|
851
861
|
enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
|
|
852
862
|
onReset: ye
|
|
853
863
|
}, {
|
|
854
|
-
"reset-action":
|
|
855
|
-
S(l.$slots, "reset-action", G(
|
|
864
|
+
"reset-action": A(({ reset: t }) => [
|
|
865
|
+
S(l.$slots, "reset-action", B(G({ reset: t })), void 0, !0)
|
|
856
866
|
]),
|
|
857
867
|
_: 3
|
|
858
868
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : v("", !0),
|
|
859
|
-
e.value.style.chart.legend.show ? (a(), D(
|
|
869
|
+
e.value.style.chart.legend.show ? (a(), D(It, {
|
|
860
870
|
key: `legend_${_e.value}`,
|
|
861
871
|
legendSet: De.value,
|
|
862
|
-
config:
|
|
872
|
+
config: rt.value,
|
|
863
873
|
onClickMarker: u[2] || (u[2] = ({ legend: t }) => re(t.uid))
|
|
864
874
|
}, {
|
|
865
|
-
item:
|
|
866
|
-
|
|
875
|
+
item: A(({ legend: t, index: r }) => [
|
|
876
|
+
y("div", {
|
|
867
877
|
onClick: (s) => re(t.uid),
|
|
868
|
-
style:
|
|
878
|
+
style: Z(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
|
|
869
879
|
}, [
|
|
870
|
-
|
|
880
|
+
We(m(t.name) + ": " + m(c(he)(
|
|
871
881
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
872
882
|
t.value,
|
|
873
883
|
c(te)({
|
|
@@ -878,20 +888,20 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
878
888
|
}),
|
|
879
889
|
{ datapoint: t, seriesIndex: r }
|
|
880
890
|
)) + " ", 1),
|
|
881
|
-
C.value.includes(t.uid) ? (a(), o("span",
|
|
882
|
-
v: t.value /
|
|
891
|
+
C.value.includes(t.uid) ? (a(), o("span", Tl, " ( - % ) ")) : (a(), o("span", El, " (" + m(isNaN(t.value / Ee.value) ? "-" : c(te)({
|
|
892
|
+
v: t.value / Ee.value * 100,
|
|
883
893
|
s: "%",
|
|
884
894
|
r: e.value.style.chart.legend.roundingPercentage
|
|
885
895
|
})) + ") ", 1))
|
|
886
|
-
], 12,
|
|
896
|
+
], 12, Dl)
|
|
887
897
|
]),
|
|
888
898
|
_: 1
|
|
889
899
|
}, 8, ["legendSet", "config"])) : v("", !0),
|
|
890
900
|
S(l.$slots, "legend", { legend: De.value }, void 0, !0),
|
|
891
|
-
l.$slots.source ? (a(), o("div",
|
|
901
|
+
l.$slots.source ? (a(), o("div", Vl, [
|
|
892
902
|
S(l.$slots, "source", {}, void 0, !0)
|
|
893
903
|
], 512)) : v("", !0),
|
|
894
|
-
K.value ? (a(), D(
|
|
904
|
+
K.value ? (a(), D(Pt, {
|
|
895
905
|
key: 10,
|
|
896
906
|
hideDetails: "",
|
|
897
907
|
config: {
|
|
@@ -907,8 +917,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
907
917
|
}
|
|
908
918
|
}
|
|
909
919
|
}, {
|
|
910
|
-
content:
|
|
911
|
-
(a(), D(
|
|
920
|
+
content: A(() => [
|
|
921
|
+
(a(), D($t, {
|
|
912
922
|
key: `table_${ke.value}`,
|
|
913
923
|
colNames: R.value.colNames,
|
|
914
924
|
head: R.value.head,
|
|
@@ -917,21 +927,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
917
927
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
918
928
|
onClose: u[3] || (u[3] = (t) => U.value.showTable = !1)
|
|
919
929
|
}, {
|
|
920
|
-
th:
|
|
921
|
-
|
|
930
|
+
th: A(({ th: t }) => [
|
|
931
|
+
We(m(t.name ?? t), 1)
|
|
922
932
|
]),
|
|
923
|
-
td:
|
|
924
|
-
t.value === null ? (a(), o("span",
|
|
925
|
-
|
|
933
|
+
td: A(({ td: t }) => [
|
|
934
|
+
t.value === null ? (a(), o("span", Hl, "-")) : (a(), o("b", Rl, m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
935
|
+
y("span", null, m(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
926
936
|
]),
|
|
927
937
|
_: 1
|
|
928
938
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
929
939
|
]),
|
|
930
940
|
_: 1
|
|
931
941
|
}, 8, ["config"])) : v("", !0)
|
|
932
|
-
], 46,
|
|
942
|
+
], 46, Ht));
|
|
933
943
|
}
|
|
934
|
-
},
|
|
944
|
+
}, aa = /* @__PURE__ */ Vt(Ml, [["__scopeId", "data-v-0880a0ca"]]);
|
|
935
945
|
export {
|
|
936
|
-
|
|
946
|
+
aa as default
|
|
937
947
|
};
|