vue-data-ui 2.6.6 → 2.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DFWjAvCY.js → Arrow-BHD3VBsD.js} +1 -1
- package/dist/{Arrow-BYqxz6UG.cjs → Arrow-YuEygGzC.cjs} +1 -1
- package/dist/{BaseIcon-COe_H-UB.cjs → BaseIcon-D326yPTV.cjs} +1 -1
- package/dist/{BaseIcon-t20JEZNG.js → BaseIcon-dThl5uNa.js} +1 -1
- package/dist/{DataTable-Du7nJ0TM.cjs → DataTable-CaD8j-SL.cjs} +1 -1
- package/dist/{DataTable-CJN0sipt.js → DataTable-D0-zzsJg.js} +2 -2
- package/dist/{Legend-CM7IGBC3.cjs → Legend-CEw2uq9s.cjs} +1 -1
- package/dist/{Legend-BDyPoYfp.js → Legend-Oaw0MY8Y.js} +2 -2
- package/dist/{PackageVersion-qeLvq6l8.cjs → PackageVersion-CCgJTyH9.cjs} +1 -1
- package/dist/{PackageVersion-DqmHcoqz.js → PackageVersion-J_USnljf.js} +1 -1
- package/dist/{PenAndPaper-6UYizrkQ.js → PenAndPaper-CoEXEMcN.js} +3 -3
- package/dist/{PenAndPaper-BYqaxOpk.cjs → PenAndPaper-DvNBHCpq.cjs} +1 -1
- package/dist/Shape-Cwx-wRaK.cjs +1 -0
- package/dist/{Shape-C_qIhG3J.js → Shape-Dtm6toQp.js} +26 -23
- package/dist/{Slicer-DPae3p1M.cjs → Slicer-7z_6bjyU.cjs} +1 -1
- package/dist/{Slicer-BQP3UIW-.js → Slicer-BAcq2vD0.js} +2 -2
- package/dist/{Title-BGiQdt7J.cjs → Title-BQSh4ukk.cjs} +1 -1
- package/dist/{Title-D6h1gTvZ.js → Title-DePxeqVl.js} +1 -1
- package/dist/{Tooltip-BonEVaob.js → Tooltip-DRw9RoFp.js} +23 -20
- package/dist/Tooltip-DtqrGu-Q.cjs +1 -0
- package/dist/{index-B9qF6XbP.js → index-CZlI7PiS.js} +1 -1
- package/dist/{index-kZKcQZM_.cjs → index-DD4PT0Pl.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/useChartAccessibility-BWojgys7.js +13 -0
- package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
- package/dist/{useNestedProp-g5oKzlVy.js → useNestedProp-Cg0NIwr6.js} +1 -1
- package/dist/{useNestedProp-D4Jn2Oxr.cjs → useNestedProp-DU7JFxpL.cjs} +1 -1
- package/dist/{usePrinter-DR42gTOS.cjs → usePrinter-BtJq2wwh.cjs} +1 -1
- package/dist/{usePrinter-DsiBLAy1.js → usePrinter-D-sSdR2l.js} +1 -1
- package/dist/{vue-data-ui-DB2kdhYH.js → vue-data-ui-Dh3BJvUF.js} +61 -61
- package/dist/{vue-data-ui-DbhVASfn.cjs → vue-data-ui-DzVmFW3P.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-DHeSFJ5z.js → vue-ui-3d-bar-Ckd-GTWY.js} +171 -168
- package/dist/vue-ui-3d-bar-llxfgI9N.cjs +19 -0
- package/dist/{vue-ui-accordion-BfDu7hTY.cjs → vue-ui-accordion-2He8z0Sy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DBmchkva.js → vue-ui-accordion-DVtmOO3I.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CvUCPqxa.js → vue-ui-age-pyramid-BUGAES7K.js} +85 -82
- package/dist/vue-ui-age-pyramid-CxBb12yp.cjs +1 -0
- package/dist/{vue-ui-annotator-BV9t6ro7.cjs → vue-ui-annotator-BDUanFLb.cjs} +1 -1
- package/dist/{vue-ui-annotator-Dr5PLrJx.js → vue-ui-annotator-gIa7-tAI.js} +1 -1
- package/dist/vue-ui-bullet-Bg8f_RzX.cjs +34 -0
- package/dist/{vue-ui-bullet-D7Uw9tez.js → vue-ui-bullet-DNfzMdcg.js} +92 -89
- package/dist/vue-ui-candlestick-CnKPX6xB.cjs +2 -0
- package/dist/{vue-ui-candlestick-BFmh-zx1.js → vue-ui-candlestick-jErGIOZA.js} +155 -152
- package/dist/{vue-ui-carousel-table-CUhkylz_.js → vue-ui-carousel-table-DHyvpjWL.js} +4 -4
- package/dist/{vue-ui-carousel-table-C30Gvanv.cjs → vue-ui-carousel-table-DsY9Mrdg.cjs} +1 -1
- package/dist/vue-ui-chestnut-BTCxF3dU.cjs +6 -0
- package/dist/{vue-ui-chestnut-C53wdHmR.js → vue-ui-chestnut-kQjk4FqR.js} +186 -183
- package/dist/{vue-ui-circle-pack-Bj3sA7RV.js → vue-ui-circle-pack-BQbwIDRa.js} +99 -96
- package/dist/vue-ui-circle-pack-D-eMMNzU.cjs +1 -0
- package/dist/{vue-ui-cursor-ZBrt-jTo.cjs → vue-ui-cursor-Dd2eSMAz.cjs} +1 -1
- package/dist/{vue-ui-cursor-0GY46Ywr.js → vue-ui-cursor-xy62w2ep.js} +2 -2
- package/dist/{vue-ui-dashboard-BX787_or.js → vue-ui-dashboard-DPjU-kPn.js} +2 -2
- package/dist/{vue-ui-dashboard-pzZD8J2y.cjs → vue-ui-dashboard-nMODKstD.cjs} +1 -1
- package/dist/{vue-ui-digits-BvCMwL0L.js → vue-ui-digits-BNTE0Lsb.js} +2 -2
- package/dist/{vue-ui-digits-Blb8fghV.cjs → vue-ui-digits-Beuy8wvV.cjs} +1 -1
- package/dist/vue-ui-donut-DWKUDr7k.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BICtQ8ke.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DRfJVMrP.js → vue-ui-donut-evolution-DfHfXqar.js} +133 -131
- package/dist/{vue-ui-donut-yBjSgsTz.js → vue-ui-donut-ipVF2Pk6.js} +158 -155
- package/dist/{vue-ui-dumbbell-4-hWZn-o.js → vue-ui-dumbbell-D04To0aO.js} +125 -122
- package/dist/vue-ui-dumbbell-DPZYa6RZ.cjs +9 -0
- package/dist/{vue-ui-flow-aH6xSdwn.js → vue-ui-flow-DYpBU4gG.js} +96 -93
- package/dist/vue-ui-flow-HFjfjzgX.cjs +1 -0
- package/dist/vue-ui-funnel-BwClLXO6.cjs +1 -0
- package/dist/{vue-ui-funnel-BZy4SvlW.js → vue-ui-funnel-CVQHETom.js} +88 -85
- package/dist/vue-ui-galaxy-B0W8yBZU.cjs +1 -0
- package/dist/{vue-ui-galaxy-GDXdZqjm.js → vue-ui-galaxy-DseGnRIL.js} +123 -120
- package/dist/vue-ui-gauge-0vhiDi19.cjs +1 -0
- package/dist/{vue-ui-gauge-CeyHdkuS.js → vue-ui-gauge-B7nCLtyI.js} +86 -83
- package/dist/{vue-ui-gizmo-veFxjktw.js → vue-ui-gizmo-C1fpqm2H.js} +3 -3
- package/dist/{vue-ui-gizmo-CRTzb1J_.cjs → vue-ui-gizmo-CTMnMH7C.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BizLgjJ8.js → vue-ui-heatmap-B0a6TegZ.js} +109 -106
- package/dist/vue-ui-heatmap-DjxXVFyU.cjs +1 -0
- package/dist/vue-ui-history-plot-CfjWg_3c.cjs +1 -0
- package/dist/{vue-ui-history-plot-gzx5uGyY.js → vue-ui-history-plot-DsLgXpZ8.js} +130 -127
- package/dist/{vue-ui-kpi-CP08PB51.cjs → vue-ui-kpi-CTsWQvCi.cjs} +1 -1
- package/dist/{vue-ui-kpi-MdyAQjdJ.js → vue-ui-kpi-be1EaVNS.js} +3 -3
- package/dist/{vue-ui-mini-loader-CYVr1K6S.js → vue-ui-mini-loader-BHm2QQQF.js} +2 -2
- package/dist/{vue-ui-mini-loader-BRmtJ6az.cjs → vue-ui-mini-loader-DLdlPE48.cjs} +1 -1
- package/dist/{vue-ui-molecule-CJ05ddhf.js → vue-ui-molecule--G2QIMak.js} +147 -144
- package/dist/vue-ui-molecule-DQOP_2JN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DG1pF6Ii.js → vue-ui-mood-radar-Bhr5Q9pC.js} +97 -94
- package/dist/vue-ui-mood-radar-HxyTIDLP.cjs +1 -0
- package/dist/vue-ui-nested-donuts-C0aK_Cmr.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CDjZ6KfI.js → vue-ui-nested-donuts-Dtll0W-x.js} +99 -96
- package/dist/{vue-ui-onion-DsskQUiP.js → vue-ui-onion-CRRZ8ajr.js} +105 -102
- package/dist/vue-ui-onion-DJFv8ezH.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BTkf3dkR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-D7r71vdp.js → vue-ui-parallel-coordinate-plot-DMk3iobe.js} +97 -94
- package/dist/vue-ui-quadrant-B7iHGaqG.cjs +1 -0
- package/dist/{vue-ui-quadrant-DCHEhvMX.js → vue-ui-quadrant-EcGC8p0U.js} +155 -152
- package/dist/vue-ui-quick-chart-BOla8Yse.cjs +15 -0
- package/dist/{vue-ui-quick-chart-BB5b4AQ1.js → vue-ui-quick-chart-D6AS1YSx.js} +164 -161
- package/dist/vue-ui-radar-DmM3tCiY.cjs +1 -0
- package/dist/{vue-ui-radar-CNEXWSEx.js → vue-ui-radar-LzAasUWm.js} +105 -102
- package/dist/{vue-ui-rating-ClvF4LPg.cjs → vue-ui-rating-D9K7meNL.cjs} +1 -1
- package/dist/{vue-ui-rating-DJLSl0-4.js → vue-ui-rating-DK4hwg8z.js} +2 -2
- package/dist/{vue-ui-relation-circle-Hdzt7fOS.js → vue-ui-relation-circle-CbOCYAmF.js} +127 -124
- package/dist/vue-ui-relation-circle-DIJuJZrt.cjs +1 -0
- package/dist/vue-ui-rings-BWgF92GG.cjs +2 -0
- package/dist/{vue-ui-rings-BAFkqjcL.js → vue-ui-rings-Cqzy5T3m.js} +114 -111
- package/dist/{vue-ui-scatter-Ca67EOrI.js → vue-ui-scatter-DXvyWQYL.js} +157 -154
- package/dist/vue-ui-scatter-F-gNKXpp.cjs +1 -0
- package/dist/{vue-ui-screenshot-CsdnwhSO.js → vue-ui-screenshot-BL75IkNz.js} +1 -1
- package/dist/{vue-ui-screenshot-CFcvBOJm.cjs → vue-ui-screenshot-BXngAa8V.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CHEZlRpn.js → vue-ui-skeleton-D8r-yAkW.js} +3 -3
- package/dist/{vue-ui-skeleton-BBNX7lud.cjs → vue-ui-skeleton-Tk4j6G2D.cjs} +1 -1
- package/dist/{vue-ui-smiley-Dth6gRqg.js → vue-ui-smiley-BKWWVHh7.js} +2 -2
- package/dist/{vue-ui-smiley-EngC6Vc4.cjs → vue-ui-smiley-BLnMEG6Z.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-33sBlF-n.js → vue-ui-spark-trend-Bb7xpmpt.js} +5 -5
- package/dist/{vue-ui-spark-trend-DJ8yhFMx.cjs → vue-ui-spark-trend-CqG-PKFp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-D9QLpB7G.cjs → vue-ui-sparkbar-0h661dcM.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-mJu95295.js → vue-ui-sparkbar-JIpGYhbq.js} +4 -4
- package/dist/vue-ui-sparkgauge-BLglWMCN.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-nFFf8h-x.js → vue-ui-sparkgauge-Cc-l_NLU.js} +56 -53
- package/dist/{vue-ui-sparkhistogram-Bh6R737O.js → vue-ui-sparkhistogram-BysifQmq.js} +93 -90
- package/dist/vue-ui-sparkhistogram-CCbcvIJ1.cjs +1 -0
- package/dist/vue-ui-sparkline-CDJX8K9i.cjs +1 -0
- package/dist/{vue-ui-sparkline-BfBiA1O5.js → vue-ui-sparkline-CV-N3Wio.js} +109 -106
- package/dist/vue-ui-sparkstackbar-Bo4JAlsR.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-BNTFNUIA.js → vue-ui-sparkstackbar-WOO_AbtI.js} +59 -56
- package/dist/{vue-ui-stackbar-BbFUifMU.js → vue-ui-stackbar-CP0igpri.js} +136 -133
- package/dist/vue-ui-stackbar-D7odU6jb.cjs +6 -0
- package/dist/vue-ui-strip-plot-CUqC58Ki.cjs +1 -0
- package/dist/{vue-ui-strip-plot-wsxpyqrw.js → vue-ui-strip-plot-_3AJWLnm.js} +127 -124
- package/dist/{vue-ui-table-DUokotBj.cjs → vue-ui-table-8O19epjz.cjs} +1 -1
- package/dist/{vue-ui-table-CQYM4uPf.js → vue-ui-table-WdE7p5Oy.js} +1 -1
- package/dist/{vue-ui-table-heatmap-OYQ9OOzo.js → vue-ui-table-heatmap-CXS6WfTi.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Brk58nK_.cjs → vue-ui-table-heatmap-DH5kHmxx.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DUjDhg8A.js → vue-ui-table-sparkline-CWwjANqk.js} +5 -5
- package/dist/{vue-ui-table-sparkline-C9dOsIAB.cjs → vue-ui-table-sparkline-DnvQfr2p.cjs} +1 -1
- package/dist/{vue-ui-thermometer-WSMSVcM_.js → vue-ui-thermometer-BxrDTquG.js} +84 -81
- package/dist/vue-ui-thermometer-COmtpPaq.cjs +1 -0
- package/dist/vue-ui-timer-Bx3W4oUc.cjs +64 -0
- package/dist/{vue-ui-timer-DBP_fRcm.js → vue-ui-timer-DjKCOw9A.js} +183 -180
- package/dist/vue-ui-tiremarks--XDyJeJg.cjs +1 -0
- package/dist/{vue-ui-tiremarks-WWgS2mqw.js → vue-ui-tiremarks-VWxcZxB-.js} +59 -56
- package/dist/{vue-ui-treemap-CXoXEuSA.js → vue-ui-treemap-BGFmZcII.js} +123 -120
- package/dist/vue-ui-treemap-DTwjydy8.cjs +1 -0
- package/dist/vue-ui-vertical-bar-Bpv8mXW2.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-COaAa4nz.js → vue-ui-vertical-bar-DC9czKCT.js} +108 -105
- package/dist/vue-ui-waffle-B_6ZAnKt.cjs +1 -0
- package/dist/{vue-ui-waffle-DD8pT7JN.js → vue-ui-waffle-Cu63K9Iy.js} +107 -104
- package/dist/{vue-ui-wheel-BLlKekiu.js → vue-ui-wheel-AOt-pfpa.js} +75 -72
- package/dist/vue-ui-wheel-BQM-dxTa.cjs +1 -0
- package/dist/vue-ui-word-cloud-Bam3-7P_.cjs +1 -0
- package/dist/{vue-ui-word-cloud-CcYtTXW6.js → vue-ui-word-cloud-CrILrx6m.js} +97 -94
- package/dist/{vue-ui-xy-DYzfiZnJ.js → vue-ui-xy-BuLymzS3.js} +179 -150
- package/dist/vue-ui-xy-CSmObuR7.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CkB7VDhF.cjs → vue-ui-xy-canvas-BQ0Lbxbd.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DqnK_i0Q.js → vue-ui-xy-canvas-DPnb5mqS.js} +82 -81
- package/package.json +1 -1
- package/dist/Shape-BN3-_2DI.cjs +0 -1
- package/dist/Tooltip-DSPKrQcQ.cjs +0 -1
- package/dist/vue-ui-3d-bar-DEu24HHj.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CRYYDXFo.cjs +0 -1
- package/dist/vue-ui-bullet-Dy71N3Jf.cjs +0 -34
- package/dist/vue-ui-candlestick-aZ1YN4hh.cjs +0 -2
- package/dist/vue-ui-chestnut-DuycsDaB.cjs +0 -6
- package/dist/vue-ui-circle-pack-BFF5_9Sm.cjs +0 -1
- package/dist/vue-ui-donut-BO6RWqZ6.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BgJMw_a4.cjs +0 -1
- package/dist/vue-ui-dumbbell-BSXxNjyK.cjs +0 -9
- package/dist/vue-ui-flow-LNlNIRfb.cjs +0 -1
- package/dist/vue-ui-funnel-BhDmLkFj.cjs +0 -1
- package/dist/vue-ui-galaxy-BcwAAgUh.cjs +0 -1
- package/dist/vue-ui-gauge-BCf-2H4T.cjs +0 -1
- package/dist/vue-ui-heatmap-Bxhy4dCf.cjs +0 -1
- package/dist/vue-ui-history-plot-CTBCFIG0.cjs +0 -1
- package/dist/vue-ui-molecule-pTMJG_3k.cjs +0 -1
- package/dist/vue-ui-mood-radar-DXLYUXbX.cjs +0 -1
- package/dist/vue-ui-nested-donuts-yztsnsjM.cjs +0 -17
- package/dist/vue-ui-onion-BgbKMVNe.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-Cha1Em8k.cjs +0 -8
- package/dist/vue-ui-quadrant-BzYnR_Hc.cjs +0 -1
- package/dist/vue-ui-quick-chart-BcW7URue.cjs +0 -15
- package/dist/vue-ui-radar-D-XPVXa9.cjs +0 -1
- package/dist/vue-ui-relation-circle-DfxnHEqR.cjs +0 -1
- package/dist/vue-ui-rings-C9NFME3F.cjs +0 -2
- package/dist/vue-ui-scatter-D0UloS1C.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CBCbyOG2.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BstSpbti.cjs +0 -1
- package/dist/vue-ui-sparkline-DTRZ-_Qw.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-CuU8Vpcv.cjs +0 -1
- package/dist/vue-ui-stackbar-B5uNBkxp.cjs +0 -6
- package/dist/vue-ui-strip-plot-7G7BAGQM.cjs +0 -1
- package/dist/vue-ui-thermometer-VnlcJh4G.cjs +0 -1
- package/dist/vue-ui-timer-Bh8RpM2u.cjs +0 -64
- package/dist/vue-ui-tiremarks-Ct96o_fd.cjs +0 -1
- package/dist/vue-ui-treemap-BfDk53pM.cjs +0 -1
- package/dist/vue-ui-vertical-bar-EIy7A0dV.cjs +0 -4
- package/dist/vue-ui-waffle-BB3l0zZU.cjs +0 -1
- package/dist/vue-ui-wheel-DfpXZJ8A.cjs +0 -1
- package/dist/vue-ui-word-cloud-DdaMzF2e.cjs +0 -1
- package/dist/vue-ui-xy-B4Mzyy81.cjs +0 -3
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { computed as m, ref as i, watch as Ve, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as Ge } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
import { computed as m, ref as i, watch as Ve, onMounted as ot, onBeforeUnmount as st, createElementBlock as n, openBlock as u, unref as r, normalizeStyle as K, normalizeClass as P, createBlock as D, createCommentVNode as f, createVNode as Me, createSlots as ut, withCtx as k, renderSlot as w, normalizeProps as B, guardReactiveProps as R, createElementVNode as b, Fragment as C, renderList as F, toDisplayString as S, createTextVNode as Q, nextTick as nt } from "vue";
|
|
2
|
+
import { u as rt, c as it, t as dt, p as Z, a as vt, o as ct, e as M, b as ft, J as Ue, d as ht, m as Be, f as x, X as yt, s as Re, L as pt, k as ie, n as U, i as E, x as Ee, q as bt, r as gt, y as mt } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as kt, u as wt } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as $t } from "./Title-DePxeqVl.js";
|
|
5
|
+
import { u as Lt, U as Ct } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { D as xt } from "./DataTable-D0-zzsJg.js";
|
|
7
|
+
import { _ as _t } from "./Tooltip-DRw9RoFp.js";
|
|
8
|
+
import { L as Tt } from "./Legend-Oaw0MY8Y.js";
|
|
9
|
+
import Ft from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
10
|
+
import Nt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
11
|
+
import { u as Ge } from "./useNestedProp-Cg0NIwr6.js";
|
|
12
|
+
import { _ as St } from "./PackageVersion-J_USnljf.js";
|
|
13
|
+
import { P as Ot } from "./PenAndPaper-CoEXEMcN.js";
|
|
14
|
+
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as It } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Dt = ["id"], zt = ["xmlns", "viewBox"], Vt = ["width", "height"], Mt = ["id"], Ut = ["offset", "stop-color"], Bt = ["offset", "stop-opacity"], Rt = ["id"], Et = ["id"], Gt = ["id"], Yt = ["flood-color"], Xt = ["d", "fill", "stroke", "stroke-width", "filter"], Ht = { key: 1 }, Wt = ["d", "fill"], qt = { key: 2 }, Jt = ["x", "y", "font-size", "font-weight", "fill"], Kt = { key: 3 }, Qt = ["filter"], Zt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], jt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], el = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], tl = ["d", "fill", "onMouseenter", "onClick"], ll = {
|
|
17
18
|
key: 5,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, al = {
|
|
20
21
|
key: 0,
|
|
21
22
|
class: "vue-ui-nested-donuts-legend-title"
|
|
22
|
-
},
|
|
23
|
+
}, ol = ["onClick"], sl = ["innerHTML"], ul = {
|
|
23
24
|
__name: "vue-ui-nested-donuts",
|
|
24
25
|
props: {
|
|
25
26
|
config: {
|
|
@@ -37,14 +38,14 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
37
38
|
},
|
|
38
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
39
40
|
setup(Ye, { expose: Xe, emit: He }) {
|
|
40
|
-
const { vue_ui_nested_donuts: We } =
|
|
41
|
+
const { vue_ui_nested_donuts: We } = rt(), O = Ye, G = m(() => !!O.dataset && O.dataset.length), $ = i(it()), j = i(!1), ee = i(""), qe = i(null), de = i(0), z = i(null), ve = i(null), te = i(null), ce = i(null), fe = i(null), he = i(0), ye = i(0), pe = i(0), V = i(!1);
|
|
41
42
|
function Je(t) {
|
|
42
43
|
V.value = t, de.value += 1;
|
|
43
44
|
}
|
|
44
45
|
const e = m({
|
|
45
46
|
get: () => me(),
|
|
46
47
|
set: (t) => t
|
|
47
|
-
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } =
|
|
48
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } = At({ config: e.value }), { svgRef: Ke } = It({ config: e.value.style.chart.title });
|
|
48
49
|
function me() {
|
|
49
50
|
const t = Ge({
|
|
50
51
|
userConfig: O.config,
|
|
@@ -52,26 +53,26 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
52
53
|
});
|
|
53
54
|
return t.theme ? {
|
|
54
55
|
...Ge({
|
|
55
|
-
userConfig:
|
|
56
|
+
userConfig: vt.vue_ui_nested_donuts[t.theme] || O.config,
|
|
56
57
|
defaultConfig: t
|
|
57
58
|
}),
|
|
58
|
-
customPalette:
|
|
59
|
+
customPalette: dt[t.theme] || Z
|
|
59
60
|
} : t;
|
|
60
61
|
}
|
|
61
62
|
Ve(() => O.config, (t) => {
|
|
62
63
|
e.value = me(), le.value = !e.value.userOptions.showOnChartHover, ke(), he.value += 1, ye.value += 1, pe.value += 1, y.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, y.value.showTable = e.value.table.show, y.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
63
64
|
}, { deep: !0 });
|
|
64
65
|
const Y = i(null);
|
|
65
|
-
|
|
66
|
+
ot(() => {
|
|
66
67
|
ke();
|
|
67
68
|
});
|
|
68
69
|
function ke() {
|
|
69
|
-
if (
|
|
70
|
+
if (ct(O.dataset) && M({
|
|
70
71
|
componentName: "VueUiNestedDonuts",
|
|
71
72
|
type: "dataset"
|
|
72
73
|
}), e.value.responsive) {
|
|
73
|
-
const t =
|
|
74
|
-
const { width: s, height: a } =
|
|
74
|
+
const t = kt(() => {
|
|
75
|
+
const { width: s, height: a } = wt({
|
|
75
76
|
chart: z.value,
|
|
76
77
|
title: e.value.style.chart.title.text ? ve.value : null,
|
|
77
78
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
@@ -85,13 +86,13 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
85
86
|
Y.value = new ResizeObserver(t), Y.value.observe(z.value.parentNode);
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
|
-
|
|
89
|
+
st(() => {
|
|
89
90
|
Y.value && Y.value.disconnect();
|
|
90
91
|
});
|
|
91
|
-
const { isPrinting: we, isImaging: $e, generatePdf: Le, generateImage: Ce } =
|
|
92
|
+
const { isPrinting: we, isImaging: $e, generatePdf: Le, generateImage: Ce } = Lt({
|
|
92
93
|
elementId: `nested_donuts_${$.value}`,
|
|
93
94
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
94
|
-
}),
|
|
95
|
+
}), Qe = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ze = m(() => ft(e.value.customPalette)), y = i({
|
|
95
96
|
dataLabels: {
|
|
96
97
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
97
98
|
},
|
|
@@ -101,7 +102,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
101
102
|
height: 512,
|
|
102
103
|
width: 512
|
|
103
104
|
}), xe = He;
|
|
104
|
-
function
|
|
105
|
+
function je({ datapoint: t, index: s }) {
|
|
105
106
|
xe("selectDatapoint", { datapoint: t, index: s });
|
|
106
107
|
}
|
|
107
108
|
const p = i([]), _ = m(() => (O.dataset.forEach((t, s) => {
|
|
@@ -146,7 +147,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
146
147
|
id: `${$.value}_${s}_${o}`,
|
|
147
148
|
seriesIndex: o,
|
|
148
149
|
datasetIndex: s,
|
|
149
|
-
color:
|
|
150
|
+
color: ht(a.color) || Ze.value[o] || Z[o] || Z[o % Z.length],
|
|
150
151
|
value: Ue(a.values).reduce((l, d) => l + d, 0),
|
|
151
152
|
absoluteValues: a.values || []
|
|
152
153
|
}))
|
|
@@ -161,7 +162,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
161
162
|
}))
|
|
162
163
|
};
|
|
163
164
|
}));
|
|
164
|
-
function
|
|
165
|
+
function et(t, s, a) {
|
|
165
166
|
let o = 0;
|
|
166
167
|
for (let l = 0; l < t.length; l += 1)
|
|
167
168
|
a.includes(t[l]) && (o += 1);
|
|
@@ -174,7 +175,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
174
175
|
xe("selectLegend", t);
|
|
175
176
|
const s = _.value.flatMap((v) => v.series).find((v) => v.id === t.id), a = h.value.flatMap((v) => v.series).find((v) => v.id === t.id);
|
|
176
177
|
let l = a ? a.value : 0;
|
|
177
|
-
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id), g =
|
|
178
|
+
const d = _.value.find((v) => v.id === s.arcOfId).series.map((v) => v.id), g = et(d, d.length - 1, p.value);
|
|
178
179
|
if (p.value.includes(t.id)) {
|
|
179
180
|
let v = function() {
|
|
180
181
|
l > s.value ? (cancelAnimationFrame(Te.value), h.value = h.value.map((L) => ({
|
|
@@ -249,7 +250,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
249
250
|
)[0]
|
|
250
251
|
};
|
|
251
252
|
})), Oe = i(null), H = i(null), W = i(null), se = i(null);
|
|
252
|
-
function
|
|
253
|
+
function tt({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
|
|
253
254
|
Oe.value = t.arcOfId, H.value = t.id, W.value = a, se.value = {
|
|
254
255
|
datapoint: t,
|
|
255
256
|
seriesIndex: a,
|
|
@@ -257,7 +258,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
257
258
|
config: e.value
|
|
258
259
|
};
|
|
259
260
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
260
|
-
if (
|
|
261
|
+
if (Ee(o) && mt(() => o({
|
|
261
262
|
seriesIndex: a,
|
|
262
263
|
datapoint: t,
|
|
263
264
|
series: h.value,
|
|
@@ -286,7 +287,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
286
287
|
</span>
|
|
287
288
|
</div>
|
|
288
289
|
<span>
|
|
289
|
-
${e.value.style.chart.tooltip.showValue ? `<b>${
|
|
290
|
+
${e.value.style.chart.tooltip.showValue ? `<b>${E(
|
|
290
291
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
291
292
|
t.value,
|
|
292
293
|
x({
|
|
@@ -308,7 +309,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
308
309
|
`;
|
|
309
310
|
});
|
|
310
311
|
} else
|
|
311
|
-
l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${
|
|
312
|
+
l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.arcOf ?? ""} - ${t.name}</div>`, l += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${E(
|
|
312
313
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
313
314
|
t.value,
|
|
314
315
|
x({
|
|
@@ -357,7 +358,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
357
358
|
opacity: p.value.includes(a.id) ? 0.5 : 1,
|
|
358
359
|
segregate: () => ae(a),
|
|
359
360
|
isSegregated: p.value.includes(a.id)
|
|
360
|
-
})))),
|
|
361
|
+
})))), lt = m(() => ({
|
|
361
362
|
cy: "nested-donuts-legend",
|
|
362
363
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
363
364
|
color: e.value.style.chart.legend.color,
|
|
@@ -373,11 +374,11 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
373
374
|
return { head: t, body: s };
|
|
374
375
|
});
|
|
375
376
|
function Ie() {
|
|
376
|
-
|
|
377
|
+
nt(() => {
|
|
377
378
|
const t = A.value.head.map((o, l) => [[
|
|
378
379
|
o.name
|
|
379
|
-
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a =
|
|
380
|
-
|
|
380
|
+
], [A.value.body[l]], [isNaN(A.value.body[l] / o.total) ? "-" : A.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = bt(s);
|
|
381
|
+
gt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
381
382
|
});
|
|
382
383
|
}
|
|
383
384
|
const q = m(() => {
|
|
@@ -423,7 +424,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
423
424
|
config: a
|
|
424
425
|
};
|
|
425
426
|
});
|
|
426
|
-
function
|
|
427
|
+
function at() {
|
|
427
428
|
return _.value;
|
|
428
429
|
}
|
|
429
430
|
function Pe() {
|
|
@@ -440,7 +441,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
440
441
|
J.value = !J.value;
|
|
441
442
|
}
|
|
442
443
|
return Xe({
|
|
443
|
-
getData:
|
|
444
|
+
getData: at,
|
|
444
445
|
generatePdf: Le,
|
|
445
446
|
generateCsv: Ie,
|
|
446
447
|
generateImage: Ce,
|
|
@@ -457,7 +458,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
457
458
|
onMouseenter: s[3] || (s[3] = () => r(be)(!0)),
|
|
458
459
|
onMouseleave: s[4] || (s[4] = () => r(be)(!1))
|
|
459
460
|
}, [
|
|
460
|
-
e.value.userOptions.buttons.annotator ? (u(), D(
|
|
461
|
+
e.value.userOptions.buttons.annotator ? (u(), D(Ot, {
|
|
461
462
|
key: 0,
|
|
462
463
|
parent: z.value,
|
|
463
464
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -465,7 +466,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
465
466
|
active: J.value,
|
|
466
467
|
onClose: re
|
|
467
468
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
468
|
-
|
|
469
|
+
Qe.value ? (u(), n("div", {
|
|
469
470
|
key: 1,
|
|
470
471
|
ref_key: "noTitle",
|
|
471
472
|
ref: fe,
|
|
@@ -477,7 +478,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
477
478
|
ref_key: "chartTitle",
|
|
478
479
|
ref: ve
|
|
479
480
|
}, [
|
|
480
|
-
(u(), D(
|
|
481
|
+
(u(), D($t, {
|
|
481
482
|
key: `title_${he.value}`,
|
|
482
483
|
config: {
|
|
483
484
|
title: {
|
|
@@ -491,7 +492,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
491
492
|
}
|
|
492
493
|
}, null, 8, ["config"]))
|
|
493
494
|
], 512)) : f("", !0),
|
|
494
|
-
e.value.userOptions.show && G.value && (r(ge) || r(le)) ? (u(), D(
|
|
495
|
+
e.value.userOptions.show && G.value && (r(ge) || r(le)) ? (u(), D(Ct, {
|
|
495
496
|
ref: "details",
|
|
496
497
|
key: `user_option_${de.value}`,
|
|
497
498
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -524,7 +525,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
524
525
|
style: K({
|
|
525
526
|
visibility: r(ge) ? r(le) ? "visible" : "hidden" : "visible"
|
|
526
527
|
})
|
|
527
|
-
},
|
|
528
|
+
}, ut({ _: 2 }, [
|
|
528
529
|
t.$slots.optionTooltip ? {
|
|
529
530
|
name: "optionTooltip",
|
|
530
531
|
fn: k(() => [
|
|
@@ -570,26 +571,28 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
570
571
|
t.$slots.optionFullscreen ? {
|
|
571
572
|
name: "optionFullscreen",
|
|
572
573
|
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
573
|
-
w(t.$slots, "optionFullscreen", B(
|
|
574
|
+
w(t.$slots, "optionFullscreen", B(R({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
574
575
|
]),
|
|
575
576
|
key: "6"
|
|
576
577
|
} : void 0,
|
|
577
578
|
t.$slots.optionAnnotator ? {
|
|
578
579
|
name: "optionAnnotator",
|
|
579
580
|
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
580
|
-
w(t.$slots, "optionAnnotator", B(
|
|
581
|
+
w(t.$slots, "optionAnnotator", B(R({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
581
582
|
]),
|
|
582
583
|
key: "7"
|
|
583
584
|
} : void 0
|
|
584
585
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
585
586
|
G.value ? (u(), n("svg", {
|
|
586
587
|
key: 4,
|
|
587
|
-
|
|
588
|
+
ref_key: "svgRef",
|
|
589
|
+
ref: Ke,
|
|
590
|
+
xmlns: r(yt),
|
|
588
591
|
class: P({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
|
|
589
592
|
viewBox: `0 0 ${c.value.width <= 0 ? 1e-3 : c.value.width} ${c.value.height < 0 ? 1e-3 : c.value.height}`,
|
|
590
593
|
style: K(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
591
594
|
}, [
|
|
592
|
-
Me(
|
|
595
|
+
Me(St),
|
|
593
596
|
t.$slots["chart-background"] ? (u(), n("foreignObject", {
|
|
594
597
|
key: 0,
|
|
595
598
|
x: 0,
|
|
@@ -601,7 +604,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
601
604
|
}
|
|
602
605
|
}, [
|
|
603
606
|
w(t.$slots, "chart-background", {}, void 0, !0)
|
|
604
|
-
], 8,
|
|
607
|
+
], 8, Vt)) : f("", !0),
|
|
605
608
|
b("defs", null, [
|
|
606
609
|
(u(!0), n(C, null, F(Se.value, (a, o) => (u(), n("radialGradient", {
|
|
607
610
|
id: `radial_${$.value}_${o}`
|
|
@@ -613,20 +616,20 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
613
616
|
}, null, -1)),
|
|
614
617
|
b("stop", {
|
|
615
618
|
offset: `${(1 - oe.value / Ne.value[o]) * 100}%`,
|
|
616
|
-
"stop-color": r(
|
|
619
|
+
"stop-color": r(Re)("#FFFFFF", 0),
|
|
617
620
|
"stop-opacity": "0"
|
|
618
|
-
}, null, 8,
|
|
621
|
+
}, null, 8, Ut),
|
|
619
622
|
b("stop", {
|
|
620
623
|
offset: `${(1 - oe.value / Ne.value[o] / 2) * 100}%`,
|
|
621
624
|
"stop-color": "#FFFFFF",
|
|
622
625
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
623
|
-
}, null, 8,
|
|
626
|
+
}, null, 8, Bt),
|
|
624
627
|
s[6] || (s[6] = b("stop", {
|
|
625
628
|
offset: "100%",
|
|
626
629
|
"stop-color": "#FFFFFF",
|
|
627
630
|
"stop-opacity": "0"
|
|
628
631
|
}, null, -1))
|
|
629
|
-
], 8,
|
|
632
|
+
], 8, Mt))), 256))
|
|
630
633
|
]),
|
|
631
634
|
b("defs", null, [
|
|
632
635
|
b("filter", {
|
|
@@ -640,12 +643,12 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
640
643
|
in: "SourceGraphic",
|
|
641
644
|
stdDeviation: 2,
|
|
642
645
|
id: `blur_std_${$.value}`
|
|
643
|
-
}, null, 8,
|
|
646
|
+
}, null, 8, Et),
|
|
644
647
|
s[7] || (s[7] = b("feColorMatrix", {
|
|
645
648
|
type: "saturate",
|
|
646
649
|
values: "0"
|
|
647
650
|
}, null, -1))
|
|
648
|
-
], 8,
|
|
651
|
+
], 8, Rt),
|
|
649
652
|
b("filter", {
|
|
650
653
|
id: `shadow_${$.value}`,
|
|
651
654
|
"color-interpolation-filters": "sRGB"
|
|
@@ -656,32 +659,32 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
656
659
|
stdDeviation: "10",
|
|
657
660
|
"flood-opacity": "0.5",
|
|
658
661
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
659
|
-
}, null, 8,
|
|
660
|
-
], 8,
|
|
662
|
+
}, null, 8, Yt)
|
|
663
|
+
], 8, Gt)
|
|
661
664
|
]),
|
|
662
665
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
663
666
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
664
667
|
b("path", {
|
|
665
668
|
class: "vue-ui-donut-arc-path",
|
|
666
669
|
d: l.arcSlice,
|
|
667
|
-
fill: r(
|
|
670
|
+
fill: r(Re)(l.color, 80),
|
|
668
671
|
stroke: e.value.style.chart.backgroundColor,
|
|
669
672
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
670
673
|
filter: Ae(l, d)
|
|
671
|
-
}, null, 8,
|
|
674
|
+
}, null, 8, Xt)
|
|
672
675
|
]))), 256))
|
|
673
676
|
]))), 256)),
|
|
674
|
-
e.value.style.chart.useGradient ? (u(), n("g",
|
|
677
|
+
e.value.style.chart.useGradient ? (u(), n("g", Ht, [
|
|
675
678
|
(u(!0), n(C, null, F(Se.value, (a, o) => (u(), n("g", null, [
|
|
676
679
|
b("path", {
|
|
677
680
|
d: a.donut.arcSlice,
|
|
678
681
|
fill: `url(#radial_${$.value}_${o})`,
|
|
679
682
|
stroke: "transparent",
|
|
680
683
|
"stroke-width": "0"
|
|
681
|
-
}, null, 8,
|
|
684
|
+
}, null, 8, Wt)
|
|
682
685
|
]))), 256))
|
|
683
686
|
])) : f("", !0),
|
|
684
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g",
|
|
687
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", qt, [
|
|
685
688
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
686
689
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
687
690
|
d === 0 && c.value.width && c.value.height ? (u(), n("text", {
|
|
@@ -693,11 +696,11 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
693
696
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
694
697
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
695
698
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
696
|
-
}, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(
|
|
699
|
+
}, S(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(pt)({ source: a.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : a.name), 11, Jt)) : f("", !0)
|
|
697
700
|
]))), 256))
|
|
698
701
|
]))), 256))
|
|
699
702
|
])) : f("", !0),
|
|
700
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g",
|
|
703
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Kt, [
|
|
701
704
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
702
705
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", {
|
|
703
706
|
filter: Ae(l, d)
|
|
@@ -711,7 +714,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
711
714
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
712
715
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
713
716
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
714
|
-
}, S(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11,
|
|
717
|
+
}, S(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Zt)) : f("", !0),
|
|
715
718
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
716
719
|
key: 1,
|
|
717
720
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -721,7 +724,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
721
724
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
722
725
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
723
726
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
724
|
-
}, " (" + S(r(
|
|
727
|
+
}, " (" + S(r(E)(
|
|
725
728
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
726
729
|
l.value,
|
|
727
730
|
r(x)({
|
|
@@ -731,7 +734,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
731
734
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
732
735
|
}),
|
|
733
736
|
{ datapoint: l, seriesIndex: o, datapointIndex: d }
|
|
734
|
-
)) + ") ", 11,
|
|
737
|
+
)) + ") ", 11, jt)) : f("", !0),
|
|
735
738
|
ue(l) && y.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
736
739
|
key: 2,
|
|
737
740
|
class: P({ animated: e.value.useCssAnimation }),
|
|
@@ -741,7 +744,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
741
744
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? l.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
742
745
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
743
746
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
744
|
-
}, S(r(
|
|
747
|
+
}, S(r(E)(
|
|
745
748
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
746
749
|
l.value,
|
|
747
750
|
r(x)({
|
|
@@ -751,8 +754,8 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
751
754
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
752
755
|
}),
|
|
753
756
|
{ datapoint: l, seriesIndex: o, datapointIndex: d }
|
|
754
|
-
)), 11,
|
|
755
|
-
], 8,
|
|
757
|
+
)), 11, el)) : f("", !0)
|
|
758
|
+
], 8, Qt))), 256))
|
|
756
759
|
]))), 256))
|
|
757
760
|
])) : f("", !0),
|
|
758
761
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
@@ -760,23 +763,23 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
760
763
|
b("path", {
|
|
761
764
|
d: l.arcSlice,
|
|
762
765
|
fill: qe.value === o ? "rgba(0,0,0,0.1)" : "transparent",
|
|
763
|
-
onMouseenter: (g) =>
|
|
766
|
+
onMouseenter: (g) => tt({
|
|
764
767
|
datapoint: l,
|
|
765
768
|
seriesIndex: l.seriesIndex
|
|
766
769
|
}),
|
|
767
|
-
onClick: (g) =>
|
|
770
|
+
onClick: (g) => je({ datapoint: l, index: d }),
|
|
768
771
|
onMouseleave: s[0] || (s[0] = (g) => {
|
|
769
772
|
j.value = !1, Oe.value = null, H.value = null, W.value = null;
|
|
770
773
|
})
|
|
771
|
-
}, null, 40,
|
|
774
|
+
}, null, 40, tl)
|
|
772
775
|
]))), 256))
|
|
773
776
|
]))), 256)),
|
|
774
777
|
w(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
775
|
-
], 14,
|
|
776
|
-
t.$slots.watermark ? (u(), n("div",
|
|
777
|
-
w(t.$slots, "watermark", B(
|
|
778
|
+
], 14, zt)) : f("", !0),
|
|
779
|
+
t.$slots.watermark ? (u(), n("div", ll, [
|
|
780
|
+
w(t.$slots, "watermark", B(R({ isPrinting: r(we) || r($e) })), void 0, !0)
|
|
778
781
|
])) : f("", !0),
|
|
779
|
-
G.value ? f("", !0) : (u(), D(
|
|
782
|
+
G.value ? f("", !0) : (u(), D(Ft, {
|
|
780
783
|
key: 6,
|
|
781
784
|
config: {
|
|
782
785
|
type: "donut",
|
|
@@ -788,7 +791,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
788
791
|
}
|
|
789
792
|
}
|
|
790
793
|
}, null, 8, ["config"])),
|
|
791
|
-
Me(
|
|
794
|
+
Me(_t, {
|
|
792
795
|
show: y.value.showTooltip && j.value,
|
|
793
796
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
794
797
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -802,13 +805,13 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
802
805
|
parent: z.value,
|
|
803
806
|
content: ee.value,
|
|
804
807
|
isFullscreen: V.value,
|
|
805
|
-
isCustom: r(
|
|
808
|
+
isCustom: r(Ee)(e.value.style.chart.tooltip.customFormat)
|
|
806
809
|
}, {
|
|
807
810
|
"tooltip-before": k(() => [
|
|
808
|
-
w(t.$slots, "tooltip-before", B(
|
|
811
|
+
w(t.$slots, "tooltip-before", B(R({ ...se.value })), void 0, !0)
|
|
809
812
|
]),
|
|
810
813
|
"tooltip-after": k(() => [
|
|
811
|
-
w(t.$slots, "tooltip-after", B(
|
|
814
|
+
w(t.$slots, "tooltip-after", B(R({ ...se.value })), void 0, !0)
|
|
812
815
|
]),
|
|
813
816
|
_: 3
|
|
814
817
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -818,21 +821,21 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
818
821
|
ref: te,
|
|
819
822
|
class: P({ "vue-ui-nested-donuts-legend": ne.value.length > 1 })
|
|
820
823
|
}, [
|
|
821
|
-
(u(!0), n(C, null, F(ne.value, (a, o) => (u(), D(
|
|
824
|
+
(u(!0), n(C, null, F(ne.value, (a, o) => (u(), D(Tt, {
|
|
822
825
|
key: `legend_${o}_${pe.value}`,
|
|
823
826
|
legendSet: a,
|
|
824
|
-
config:
|
|
827
|
+
config: lt.value,
|
|
825
828
|
onClickMarker: s[1] || (s[1] = ({ legend: l }) => ae(l))
|
|
826
829
|
}, {
|
|
827
830
|
legendTitle: k(({ titleSet: l }) => [
|
|
828
|
-
l[0] && l[0].arcOf ? (u(), n("div",
|
|
831
|
+
l[0] && l[0].arcOf ? (u(), n("div", al, S(l[0].arcOf), 1)) : f("", !0)
|
|
829
832
|
]),
|
|
830
833
|
item: k(({ legend: l, index: d }) => [
|
|
831
834
|
b("div", {
|
|
832
835
|
onClick: (g) => ae(l),
|
|
833
836
|
style: K(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
834
837
|
}, [
|
|
835
|
-
Q(S(l.name) + ": " + S(r(
|
|
838
|
+
Q(S(l.name) + ": " + S(r(E)(
|
|
836
839
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
837
840
|
l.value,
|
|
838
841
|
r(x)({
|
|
@@ -848,7 +851,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
848
851
|
], 64)) : (u(), n(C, { key: 0 }, [
|
|
849
852
|
Q(" (" + S(isNaN(l.value / l.total) ? "-" : r(x)({ v: l.value / l.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
850
853
|
], 64))
|
|
851
|
-
], 12,
|
|
854
|
+
], 12, ol)
|
|
852
855
|
]),
|
|
853
856
|
_: 2
|
|
854
857
|
}, 1032, ["legendSet", "config"]))), 128))
|
|
@@ -868,7 +871,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
868
871
|
}, [
|
|
869
872
|
w(t.$slots, "source", {}, void 0, !0)
|
|
870
873
|
], 512)) : f("", !0),
|
|
871
|
-
G.value ? (u(), D(
|
|
874
|
+
G.value ? (u(), D(Nt, {
|
|
872
875
|
key: 10,
|
|
873
876
|
hideDetails: "",
|
|
874
877
|
config: {
|
|
@@ -885,7 +888,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
885
888
|
}
|
|
886
889
|
}, {
|
|
887
890
|
content: k(() => [
|
|
888
|
-
(u(), D(
|
|
891
|
+
(u(), D(xt, {
|
|
889
892
|
key: `table_${ye.value}`,
|
|
890
893
|
colNames: q.value.colNames,
|
|
891
894
|
head: q.value.head,
|
|
@@ -898,7 +901,7 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
898
901
|
b("div", {
|
|
899
902
|
innerHTML: a,
|
|
900
903
|
style: { display: "flex", "align-items": "center" }
|
|
901
|
-
}, null, 8,
|
|
904
|
+
}, null, 8, sl)
|
|
902
905
|
]),
|
|
903
906
|
td: k(({ td: a }) => [
|
|
904
907
|
Q(S(a.name || a), 1)
|
|
@@ -908,9 +911,9 @@ const It = ["id"], Pt = ["xmlns", "viewBox"], Dt = ["width", "height"], zt = ["i
|
|
|
908
911
|
]),
|
|
909
912
|
_: 1
|
|
910
913
|
}, 8, ["config"])) : f("", !0)
|
|
911
|
-
], 46,
|
|
914
|
+
], 46, Dt));
|
|
912
915
|
}
|
|
913
|
-
},
|
|
916
|
+
}, Ll = /* @__PURE__ */ Pt(ul, [["__scopeId", "data-v-30ef1ce7"]]);
|
|
914
917
|
export {
|
|
915
|
-
|
|
918
|
+
Ll as default
|
|
916
919
|
};
|