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,26 +1,27 @@
|
|
|
1
|
-
import { useSlots 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 qe } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
import {
|
|
17
|
-
|
|
1
|
+
import { useSlots as vt, computed as _, ref as d, onMounted as ct, onBeforeUnmount as dt, watch as Ue, createElementBlock as u, openBlock as o, unref as n, normalizeStyle as z, normalizeClass as ce, createBlock as U, createCommentVNode as i, renderSlot as b, createElementVNode as p, createVNode as de, createSlots as je, withCtx as $, normalizeProps as K, guardReactiveProps as Q, Fragment as g, renderList as F, mergeProps as Re, toDisplayString as C, createTextVNode as We, nextTick as ht } from "vue";
|
|
2
|
+
import { u as yt, o as ft, e as He, g as pt, c as gt, b as bt, d as Ee, p as j, m as mt, H as wt, f as O, X as kt, s as Z, w as _t, j as xt, I as L, i as A, k as ee, n as w, t as $t, a as Ct, q as Pt, r as St, x as Ft } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as Lt, u as Tt } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as zt } from "./Title-DePxeqVl.js";
|
|
5
|
+
import { u as Ot, U as Yt } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { D as At } from "./DataTable-D0-zzsJg.js";
|
|
7
|
+
import { _ as Nt } from "./Tooltip-DRw9RoFp.js";
|
|
8
|
+
import { L as Xt } from "./Legend-Oaw0MY8Y.js";
|
|
9
|
+
import It from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
10
|
+
import Dt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
11
|
+
import { u as qe } from "./useNestedProp-Cg0NIwr6.js";
|
|
12
|
+
import { _ as Mt } from "./PackageVersion-J_USnljf.js";
|
|
13
|
+
import { P as Bt } from "./PenAndPaper-CoEXEMcN.js";
|
|
14
|
+
import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as Gt } from "./Shape-Dtm6toQp.js";
|
|
16
|
+
import { u as Ut } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const Rt = ["id"], Wt = ["xmlns", "viewBox"], Ht = ["width", "height"], Et = { key: 1 }, qt = ["id"], Jt = ["stop-color"], Kt = ["offset", "stop-color"], Qt = ["offset", "stop-color"], Zt = ["stop-color"], el = { key: 2 }, tl = ["id", "cx", "cy"], ll = ["stop-color", "stop-opacity"], al = ["stop-color"], ol = ["id"], ul = ["id"], sl = ["id"], nl = ["flood-color"], rl = ["id"], il = ["flood-color"], vl = ["d", "stroke", "filter"], cl = ["x1", "y1", "x2", "y2", "stroke", "filter"], dl = ["cx", "cy", "r", "fill", "filter"], hl = { key: 6 }, yl = ["stroke", "d"], fl = { key: 0 }, pl = ["d", "fill", "stroke", "stroke-width", "filter"], gl = ["d", "fill", "stroke", "stroke-width", "filter"], bl = { key: 0 }, ml = ["stroke", "d"], wl = { key: 0 }, kl = ["d", "stroke", "stroke-width", "filter"], _l = { key: 1 }, xl = ["d", "fill", "stroke", "stroke-width", "filter"], $l = ["d", "fill", "stroke", "stroke-width", "filter"], Cl = { key: 1 }, Pl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Fl = ["cx", "cy", "r", "stroke"], Ll = ["cx", "cy", "r", "fill"], Tl = { key: 0 }, zl = ["d", "fill", "onMouseenter", "onClick"], Ol = { key: 1 }, Yl = ["cx", "cy", "r", "fill"], Al = ["x", "y", "fill", "font-size"], Nl = ["x", "y", "fill", "font-size"], Xl = ["x", "y", "fill", "font-size"], Il = ["x", "y", "fill", "font-size"], Dl = ["filter"], Ml = { key: 0 }, Bl = ["x", "y"], Vl = { key: 1 }, Gl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Ul = ["cx", "cy", "fill", "stroke", "filter", "onClick"], jl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Rl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Hl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], El = { key: 2 }, ql = ["x", "y", "width"], Jl = ["x", "y", "width"], Kl = {
|
|
18
19
|
key: 5,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, Ql = ["onClick"], Zl = {
|
|
21
22
|
key: 0,
|
|
22
23
|
style: { "font-variant-numeric": "tabular-nums" }
|
|
23
|
-
},
|
|
24
|
+
}, ea = { key: 1 }, ta = ["innerHTML"], la = {
|
|
24
25
|
__name: "vue-ui-donut",
|
|
25
26
|
props: {
|
|
26
27
|
config: {
|
|
@@ -38,29 +39,29 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
38
39
|
},
|
|
39
40
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
41
|
setup(Je, { expose: Ke, emit: Qe }) {
|
|
41
|
-
const { vue_ui_donut: Ze } =
|
|
42
|
+
const { vue_ui_donut: Ze } = yt(), et = vt(), N = Je, E = _({
|
|
42
43
|
get() {
|
|
43
44
|
return !!N.dataset && N.dataset.length;
|
|
44
45
|
},
|
|
45
46
|
set(l) {
|
|
46
47
|
return l;
|
|
47
48
|
}
|
|
48
|
-
}),
|
|
49
|
-
|
|
49
|
+
}), R = d(null), he = d(null), ye = d(null), te = d(null), fe = d(null), pe = d(null), ge = d(0), be = d(0), me = d(0);
|
|
50
|
+
ct(() => {
|
|
50
51
|
we();
|
|
51
|
-
}),
|
|
52
|
+
}), dt(() => {
|
|
52
53
|
te.value && te.value.disconnect();
|
|
53
54
|
});
|
|
54
55
|
function we() {
|
|
55
|
-
if (
|
|
56
|
+
if (ft(N.dataset) ? He({
|
|
56
57
|
componentName: "VueUiDonut",
|
|
57
58
|
type: "dataset"
|
|
58
59
|
}) : N.dataset.forEach((l, r) => {
|
|
59
|
-
|
|
60
|
+
pt({
|
|
60
61
|
datasetObject: l,
|
|
61
62
|
requiredAttributes: ["name", "values"]
|
|
62
63
|
}).forEach((t) => {
|
|
63
|
-
|
|
64
|
+
E.value = !1, He({
|
|
64
65
|
componentName: "VueUiDonut",
|
|
65
66
|
type: "datasetSerieAttribute",
|
|
66
67
|
property: t,
|
|
@@ -68,9 +69,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
68
69
|
});
|
|
69
70
|
});
|
|
70
71
|
}), e.value.responsive) {
|
|
71
|
-
const l =
|
|
72
|
-
const { width: r, height: t } =
|
|
73
|
-
chart:
|
|
72
|
+
const l = Lt(() => {
|
|
73
|
+
const { width: r, height: t } = Tt({
|
|
74
|
+
chart: R.value,
|
|
74
75
|
title: e.value.style.chart.title.text ? he.value : null,
|
|
75
76
|
legend: e.value.style.chart.legend.show ? ye.value : null,
|
|
76
77
|
source: fe.value,
|
|
@@ -80,10 +81,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
80
81
|
s.value.width = r, s.value.height = t;
|
|
81
82
|
});
|
|
82
83
|
});
|
|
83
|
-
te.value = new ResizeObserver(l), te.value.observe(
|
|
84
|
+
te.value = new ResizeObserver(l), te.value.observe(R.value.parentNode);
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
|
-
const y = d(
|
|
87
|
+
const y = d(gt()), tt = d(null), le = d(!1), ue = d(""), P = d(null), ke = d(0);
|
|
87
88
|
function _e() {
|
|
88
89
|
const l = qe({
|
|
89
90
|
userConfig: N.config,
|
|
@@ -91,23 +92,23 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
91
92
|
});
|
|
92
93
|
return l.theme ? {
|
|
93
94
|
...qe({
|
|
94
|
-
userConfig:
|
|
95
|
+
userConfig: Ct.vue_ui_donut[l.theme] || N.config,
|
|
95
96
|
defaultConfig: l
|
|
96
97
|
}),
|
|
97
|
-
customPalette:
|
|
98
|
+
customPalette: $t[l.theme] || j
|
|
98
99
|
} : l;
|
|
99
100
|
}
|
|
100
101
|
const e = _({
|
|
101
102
|
get: () => _e(),
|
|
102
103
|
set: (l) => l
|
|
103
|
-
}), { userOptionsVisible: se, setUserOptionsVisibility: xe, keepUserOptionState: $e } =
|
|
104
|
+
}), { userOptionsVisible: se, setUserOptionsVisibility: xe, keepUserOptionState: $e } = Vt({ config: e.value }), { svgRef: lt } = Ut({ config: e.value.style.chart.title });
|
|
104
105
|
Ue(() => N.config, (l) => {
|
|
105
106
|
e.value = _e(), se.value = !e.value.userOptions.showOnChartHover, we(), ge.value += 1, be.value += 1, me.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
106
107
|
}, { deep: !0 });
|
|
107
|
-
const { isPrinting: Ce, isImaging: Pe, generatePdf: Se, generateImage: Fe } =
|
|
108
|
+
const { isPrinting: Ce, isImaging: Pe, generatePdf: Se, generateImage: Fe } = Ot({
|
|
108
109
|
elementId: `donut__${y.value}`,
|
|
109
110
|
fileName: e.value.style.chart.title.text || "vue-ui-donut"
|
|
110
|
-
}),
|
|
111
|
+
}), at = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Le = _(() => bt(e.value.customPalette)), f = d({
|
|
111
112
|
dataLabels: {
|
|
112
113
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
113
114
|
},
|
|
@@ -121,14 +122,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
121
122
|
return t < 24 ? 24 : t;
|
|
122
123
|
}), Te = Qe, B = _(() => N.dataset.map((l, r) => ({
|
|
123
124
|
name: l.name,
|
|
124
|
-
color:
|
|
125
|
+
color: Ee(l.color) || Le.value[r] || j[r] || j[r % j.length],
|
|
125
126
|
value: l.values.reduce((t, a) => t + a, 0),
|
|
126
127
|
absoluteValues: l.values,
|
|
127
128
|
comment: l.comment || "",
|
|
128
129
|
patternIndex: r
|
|
129
130
|
}))), T = d(B.value);
|
|
130
131
|
Ue(() => B.value, (l) => T.value = l);
|
|
131
|
-
function
|
|
132
|
+
function ot() {
|
|
132
133
|
return B.value.map((l) => ({
|
|
133
134
|
name: l.name,
|
|
134
135
|
color: l.color,
|
|
@@ -181,7 +182,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
181
182
|
seriesIndex: r
|
|
182
183
|
})).filter((l, r) => !X.value.includes(r)))), Ae = _(() => N.dataset.map((l, r) => ({
|
|
183
184
|
name: l.name,
|
|
184
|
-
color:
|
|
185
|
+
color: Ee(l.color) || Le.value[r] || j[r] || j[r % j.length],
|
|
185
186
|
value: (l.values || []).reduce((t, a) => t + a, 0),
|
|
186
187
|
shape: "circle",
|
|
187
188
|
patternIndex: r
|
|
@@ -191,7 +192,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
191
192
|
opacity: X.value.includes(r) ? 0.5 : 1,
|
|
192
193
|
segregate: () => !V.value && Ye(r),
|
|
193
194
|
isSegregated: X.value.includes(r)
|
|
194
|
-
}))),
|
|
195
|
+
}))), ut = _(() => ({
|
|
195
196
|
cy: "donut-div-legend",
|
|
196
197
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
197
198
|
color: e.value.style.chart.legend.color,
|
|
@@ -201,9 +202,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
201
202
|
})), x = _(() => {
|
|
202
203
|
const l = Math.min(s.value.width / 3, s.value.height / 3);
|
|
203
204
|
return l < 55 ? 55 : l;
|
|
204
|
-
}), h = _(() =>
|
|
205
|
+
}), h = _(() => mt({ series: I.value }, s.value.width / 2, s.value.height / 2, x.value, x.value, 1.99999, 2, 1, 360, 105.25, q.value)), c = _(() => {
|
|
205
206
|
const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
|
|
206
|
-
return
|
|
207
|
+
return wt({
|
|
207
208
|
series: r,
|
|
208
209
|
center: {
|
|
209
210
|
x: s.value.width / 2,
|
|
@@ -212,17 +213,17 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
212
213
|
maxRadius: Math.min(s.value.width, s.value.height) / 3
|
|
213
214
|
});
|
|
214
215
|
});
|
|
215
|
-
function
|
|
216
|
+
function W(l) {
|
|
216
217
|
return l.x > s.value.width / 2 + 6 ? "start" : l.x < s.value.width / 2 - 6 ? "end" : "middle";
|
|
217
218
|
}
|
|
218
|
-
function
|
|
219
|
+
function st(l) {
|
|
219
220
|
return l.middlePoint.y > s.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y - 100;
|
|
220
221
|
}
|
|
221
222
|
function Y(l) {
|
|
222
223
|
return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
223
224
|
}
|
|
224
225
|
function ne(l, r) {
|
|
225
|
-
const t = l.value /
|
|
226
|
+
const t = l.value / nt(r);
|
|
226
227
|
return isNaN(t) ? 0 : A(
|
|
227
228
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
228
229
|
t * 100,
|
|
@@ -234,7 +235,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
234
235
|
{ datapoint: l }
|
|
235
236
|
);
|
|
236
237
|
}
|
|
237
|
-
function
|
|
238
|
+
function nt(l) {
|
|
238
239
|
return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
|
|
239
240
|
}
|
|
240
241
|
const S = _(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ne = _(() => S.value / I.value.length), Xe = _(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), re = d(null), J = d(!1);
|
|
@@ -242,7 +243,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
242
243
|
re.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, le.value = a, P.value = r;
|
|
243
244
|
let v = "";
|
|
244
245
|
const m = e.value.style.chart.tooltip.customFormat;
|
|
245
|
-
if (J.value = !1,
|
|
246
|
+
if (J.value = !1, Ft(m))
|
|
246
247
|
try {
|
|
247
248
|
const k = m({
|
|
248
249
|
seriesIndex: t,
|
|
@@ -300,11 +301,11 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
300
301
|
return { head: l, body: r };
|
|
301
302
|
});
|
|
302
303
|
function De() {
|
|
303
|
-
|
|
304
|
+
ht(() => {
|
|
304
305
|
const l = D.value.head.map((a, v) => [[
|
|
305
306
|
a.name
|
|
306
|
-
], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t =
|
|
307
|
-
|
|
307
|
+
], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = Pt(r);
|
|
308
|
+
St({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
|
|
308
309
|
});
|
|
309
310
|
}
|
|
310
311
|
const ae = _(() => {
|
|
@@ -342,12 +343,12 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
342
343
|
body: r,
|
|
343
344
|
config: t
|
|
344
345
|
};
|
|
345
|
-
}),
|
|
346
|
-
function
|
|
347
|
-
|
|
346
|
+
}), H = d(!1);
|
|
347
|
+
function rt(l) {
|
|
348
|
+
H.value = l, ke.value += 1;
|
|
348
349
|
}
|
|
349
350
|
const Me = _(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
350
|
-
function
|
|
351
|
+
function it(l) {
|
|
351
352
|
return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
|
|
352
353
|
}
|
|
353
354
|
function M(l, r) {
|
|
@@ -367,7 +368,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
367
368
|
oe.value = !oe.value;
|
|
368
369
|
}
|
|
369
370
|
return Ke({
|
|
370
|
-
getData:
|
|
371
|
+
getData: ot,
|
|
371
372
|
generatePdf: Se,
|
|
372
373
|
generateCsv: De,
|
|
373
374
|
generateImage: Fe,
|
|
@@ -377,23 +378,23 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
377
378
|
toggleAnnotator: ie
|
|
378
379
|
}), (l, r) => (o(), u("div", {
|
|
379
380
|
ref_key: "donutChart",
|
|
380
|
-
ref:
|
|
381
|
-
class: ce(`vue-ui-donut ${
|
|
381
|
+
ref: R,
|
|
382
|
+
class: ce(`vue-ui-donut ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
382
383
|
style: z(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
383
384
|
id: `donut__${y.value}`,
|
|
384
385
|
onMouseenter: r[6] || (r[6] = () => n(xe)(!0)),
|
|
385
386
|
onMouseleave: r[7] || (r[7] = () => n(xe)(!1))
|
|
386
387
|
}, [
|
|
387
|
-
e.value.userOptions.buttons.annotator ? (o(), U(
|
|
388
|
+
e.value.userOptions.buttons.annotator ? (o(), U(Bt, {
|
|
388
389
|
key: 0,
|
|
389
|
-
parent:
|
|
390
|
+
parent: R.value,
|
|
390
391
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
391
392
|
color: e.value.style.chart.color,
|
|
392
393
|
active: oe.value,
|
|
393
394
|
onClose: ie
|
|
394
395
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
395
396
|
b(l.$slots, "userConfig", {}, void 0, !0),
|
|
396
|
-
|
|
397
|
+
at.value ? (o(), u("div", {
|
|
397
398
|
key: 1,
|
|
398
399
|
ref_key: "noTitle",
|
|
399
400
|
ref: pe,
|
|
@@ -406,7 +407,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
406
407
|
ref: he,
|
|
407
408
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
408
409
|
}, [
|
|
409
|
-
(o(), U(
|
|
410
|
+
(o(), U(zt, {
|
|
410
411
|
key: `title_${ge.value}`,
|
|
411
412
|
config: {
|
|
412
413
|
title: {
|
|
@@ -420,7 +421,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
420
421
|
}
|
|
421
422
|
}, null, 8, ["config"]))
|
|
422
423
|
], 512)) : i("", !0),
|
|
423
|
-
e.value.userOptions.show &&
|
|
424
|
+
e.value.userOptions.show && E.value && (n($e) || n(se)) ? (o(), U(Yt, {
|
|
424
425
|
ref_key: "details",
|
|
425
426
|
ref: tt,
|
|
426
427
|
key: `user_option_${ke.value}`,
|
|
@@ -436,14 +437,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
436
437
|
hasTable: e.value.userOptions.buttons.table,
|
|
437
438
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
438
439
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
439
|
-
isFullscreen:
|
|
440
|
-
chartElement:
|
|
440
|
+
isFullscreen: H.value,
|
|
441
|
+
chartElement: R.value,
|
|
441
442
|
position: e.value.userOptions.position,
|
|
442
443
|
isTooltip: f.value.showTooltip,
|
|
443
444
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
444
445
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
445
446
|
isAnnotation: oe.value,
|
|
446
|
-
onToggleFullscreen:
|
|
447
|
+
onToggleFullscreen: rt,
|
|
447
448
|
onGeneratePdf: n(Se),
|
|
448
449
|
onGenerateCsv: De,
|
|
449
450
|
onGenerateImage: n(Fe),
|
|
@@ -512,14 +513,16 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
512
513
|
key: "7"
|
|
513
514
|
} : void 0
|
|
514
515
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
515
|
-
|
|
516
|
+
E.value ? (o(), u("svg", {
|
|
516
517
|
key: 4,
|
|
517
|
-
|
|
518
|
-
|
|
518
|
+
ref_key: "svgRef",
|
|
519
|
+
ref: lt,
|
|
520
|
+
xmlns: n(kt),
|
|
521
|
+
class: ce({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
519
522
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
520
523
|
style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
521
524
|
}, [
|
|
522
|
-
de(
|
|
525
|
+
de(Mt),
|
|
523
526
|
l.$slots["chart-background"] ? (o(), u("foreignObject", {
|
|
524
527
|
key: 0,
|
|
525
528
|
x: 0,
|
|
@@ -531,8 +534,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
531
534
|
}
|
|
532
535
|
}, [
|
|
533
536
|
b(l.$slots, "chart-background", {}, void 0, !0)
|
|
534
|
-
], 8,
|
|
535
|
-
e.value.type === "classic" ? (o(), u("defs",
|
|
537
|
+
], 8, Ht)) : i("", !0),
|
|
538
|
+
e.value.type === "classic" ? (o(), u("defs", Et, [
|
|
536
539
|
e.value.style.chart.useGradient ? (o(), u("radialGradient", {
|
|
537
540
|
key: 0,
|
|
538
541
|
id: `gradient_${y.value}`
|
|
@@ -541,24 +544,24 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
541
544
|
offset: "0%",
|
|
542
545
|
"stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
|
|
543
546
|
"stop-opacity": "0"
|
|
544
|
-
}, null, 8,
|
|
547
|
+
}, null, 8, Jt),
|
|
545
548
|
p("stop", {
|
|
546
549
|
offset: `${(1 - q.value / x.value) * 100}%`,
|
|
547
550
|
"stop-color": n(Z)("#FFFFFF", 0),
|
|
548
551
|
"stop-opacity": "0"
|
|
549
|
-
}, null, 8,
|
|
552
|
+
}, null, 8, Kt),
|
|
550
553
|
p("stop", {
|
|
551
554
|
offset: `${(1 - q.value / x.value / 2) * 100}%`,
|
|
552
555
|
"stop-color": n(Z)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
553
|
-
}, null, 8,
|
|
556
|
+
}, null, 8, Qt),
|
|
554
557
|
p("stop", {
|
|
555
558
|
offset: "100%",
|
|
556
559
|
"stop-color": n(Z)(e.value.style.chart.backgroundColor, 0),
|
|
557
560
|
"stop-opacity": "0"
|
|
558
|
-
}, null, 8,
|
|
559
|
-
], 8,
|
|
561
|
+
}, null, 8, Zt)
|
|
562
|
+
], 8, qt)) : i("", !0)
|
|
560
563
|
])) : i("", !0),
|
|
561
|
-
e.value.type === "polar" ? (o(), u("defs",
|
|
564
|
+
e.value.type === "polar" ? (o(), u("defs", el, [
|
|
562
565
|
(o(!0), u(g, null, F(c.value, (t, a) => (o(), u("radialGradient", {
|
|
563
566
|
id: `polar_gradient_${a}_${y.value}`,
|
|
564
567
|
cx: t.middlePoint.x / s.value.width * 100 + "%",
|
|
@@ -567,14 +570,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
567
570
|
}, [
|
|
568
571
|
p("stop", {
|
|
569
572
|
offset: "0%",
|
|
570
|
-
"stop-color": n(
|
|
573
|
+
"stop-color": n(_t)(h.value[a].color, 0.05),
|
|
571
574
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
572
|
-
}, null, 8,
|
|
575
|
+
}, null, 8, ll),
|
|
573
576
|
p("stop", {
|
|
574
577
|
offset: "100%",
|
|
575
578
|
"stop-color": h.value[a].color
|
|
576
|
-
}, null, 8,
|
|
577
|
-
], 8,
|
|
579
|
+
}, null, 8, al)
|
|
580
|
+
], 8, tl))), 256))
|
|
578
581
|
])) : i("", !0),
|
|
579
582
|
p("defs", null, [
|
|
580
583
|
p("filter", {
|
|
@@ -588,12 +591,12 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
588
591
|
in: "SourceGraphic",
|
|
589
592
|
stdDeviation: 2,
|
|
590
593
|
id: `blur_std_${y.value}`
|
|
591
|
-
}, null, 8,
|
|
594
|
+
}, null, 8, ul),
|
|
592
595
|
r[8] || (r[8] = p("feColorMatrix", {
|
|
593
596
|
type: "saturate",
|
|
594
597
|
values: "0"
|
|
595
598
|
}, null, -1))
|
|
596
|
-
], 8,
|
|
599
|
+
], 8, ol),
|
|
597
600
|
p("filter", {
|
|
598
601
|
id: `shadow_${y.value}`,
|
|
599
602
|
"color-interpolation-filters": "sRGB"
|
|
@@ -604,8 +607,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
604
607
|
stdDeviation: "10",
|
|
605
608
|
"flood-opacity": "0.5",
|
|
606
609
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
607
|
-
}, null, 8,
|
|
608
|
-
], 8,
|
|
610
|
+
}, null, 8, nl)
|
|
611
|
+
], 8, sl),
|
|
609
612
|
p("filter", {
|
|
610
613
|
id: `drop_shadow_${y.value}`,
|
|
611
614
|
"color-interpolation-filters": "sRGB",
|
|
@@ -620,20 +623,20 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
620
623
|
stdDeviation: "3",
|
|
621
624
|
"flood-opacity": "1",
|
|
622
625
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
623
|
-
}, null, 8,
|
|
624
|
-
], 8,
|
|
626
|
+
}, null, 8, il)
|
|
627
|
+
], 8, rl)
|
|
625
628
|
]),
|
|
626
629
|
e.value.type === "classic" ? (o(!0), u(g, { key: 3 }, F(h.value, (t, a) => (o(), u("g", null, [
|
|
627
630
|
Y(t) && f.value.dataLabels.show ? (o(), u("path", {
|
|
628
631
|
key: 0,
|
|
629
|
-
d: n(
|
|
632
|
+
d: n(xt)(t, { x: s.value.width / 2, y: s.value.height / 2 }, 16, 16, !1, !1, q.value),
|
|
630
633
|
stroke: t.color,
|
|
631
634
|
"stroke-width": "1",
|
|
632
635
|
"stroke-linecap": "round",
|
|
633
636
|
"stroke-linejoin": "round",
|
|
634
637
|
fill: "none",
|
|
635
638
|
filter: G(a)
|
|
636
|
-
}, null, 8,
|
|
639
|
+
}, null, 8, vl)) : i("", !0)
|
|
637
640
|
]))), 256)) : i("", !0),
|
|
638
641
|
e.value.type === "polar" ? (o(!0), u(g, { key: 4 }, F(h.value, (t, a) => (o(), u("g", null, [
|
|
639
642
|
Y(t) && f.value.dataLabels.show ? (o(), u("line", {
|
|
@@ -648,7 +651,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
648
651
|
"stroke-linejoin": "round",
|
|
649
652
|
fill: "none",
|
|
650
653
|
filter: G(a)
|
|
651
|
-
}, null, 8,
|
|
654
|
+
}, null, 8, cl)) : i("", !0)
|
|
652
655
|
]))), 256)) : i("", !0),
|
|
653
656
|
e.value.type === "classic" && e.value.style.chart.layout.donut.useShadow ? (o(), u("circle", {
|
|
654
657
|
key: 5,
|
|
@@ -657,10 +660,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
657
660
|
r: x.value <= 0 ? 10 : x.value,
|
|
658
661
|
fill: e.value.style.chart.backgroundColor,
|
|
659
662
|
filter: `url(#shadow_${y.value})`
|
|
660
|
-
}, null, 8,
|
|
661
|
-
l.$slots.pattern ? (o(), u("g",
|
|
663
|
+
}, null, 8, dl)) : i("", !0),
|
|
664
|
+
l.$slots.pattern ? (o(), u("g", hl, [
|
|
662
665
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("defs", null, [
|
|
663
|
-
b(l.$slots, "pattern",
|
|
666
|
+
b(l.$slots, "pattern", Re({ ref_for: !0 }, { ...t, patternId: `pattern_${y.value}_${t.patternIndex}` }), void 0, !0)
|
|
664
667
|
]))), 256))
|
|
665
668
|
])) : i("", !0),
|
|
666
669
|
S.value && e.value.type === "classic" ? (o(), u(g, { key: 7 }, [
|
|
@@ -668,8 +671,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
668
671
|
stroke: e.value.style.chart.backgroundColor,
|
|
669
672
|
d: t.arcSlice,
|
|
670
673
|
fill: "#FFFFFF"
|
|
671
|
-
}, null, 8,
|
|
672
|
-
l.$slots.pattern ? (o(), u("g",
|
|
674
|
+
}, null, 8, yl))), 256)),
|
|
675
|
+
l.$slots.pattern ? (o(), u("g", fl, [
|
|
673
676
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
|
|
674
677
|
class: "vue-ui-donut-arc-path",
|
|
675
678
|
d: t.arcSlice,
|
|
@@ -677,7 +680,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
677
680
|
stroke: e.value.style.chart.backgroundColor,
|
|
678
681
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
679
682
|
filter: G(a)
|
|
680
|
-
}, null, 8,
|
|
683
|
+
}, null, 8, pl))), 256))
|
|
681
684
|
])) : i("", !0),
|
|
682
685
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
|
|
683
686
|
class: "vue-ui-donut-arc-path",
|
|
@@ -686,16 +689,16 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
686
689
|
stroke: e.value.style.chart.backgroundColor,
|
|
687
690
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
688
691
|
filter: G(a)
|
|
689
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, gl))), 256))
|
|
690
693
|
], 64)) : i("", !0),
|
|
691
694
|
S.value && e.value.type === "polar" ? (o(), u(g, { key: 8 }, [
|
|
692
|
-
h.value.length > 1 ? (o(), u("g",
|
|
695
|
+
h.value.length > 1 ? (o(), u("g", bl, [
|
|
693
696
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
|
|
694
697
|
stroke: e.value.style.chart.backgroundColor,
|
|
695
698
|
d: c.value[a].path,
|
|
696
699
|
fill: "#FFFFFF"
|
|
697
|
-
}, null, 8,
|
|
698
|
-
e.value.style.chart.layout.donut.useShadow ? (o(), u("g",
|
|
700
|
+
}, null, 8, ml))), 256)),
|
|
701
|
+
e.value.style.chart.layout.donut.useShadow ? (o(), u("g", wl, [
|
|
699
702
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
|
|
700
703
|
class: "vue-ui-donut-arc-path",
|
|
701
704
|
d: c.value[a].path,
|
|
@@ -703,9 +706,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
703
706
|
stroke: e.value.style.chart.backgroundColor,
|
|
704
707
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
705
708
|
filter: `url(#drop_shadow_${y.value})`
|
|
706
|
-
}, null, 8,
|
|
709
|
+
}, null, 8, kl))), 256))
|
|
707
710
|
])) : i("", !0),
|
|
708
|
-
l.$slots.pattern ? (o(), u("g",
|
|
711
|
+
l.$slots.pattern ? (o(), u("g", _l, [
|
|
709
712
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
|
|
710
713
|
class: "vue-ui-donut-arc-path",
|
|
711
714
|
d: c.value[a].path,
|
|
@@ -713,7 +716,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
713
716
|
stroke: e.value.style.chart.backgroundColor,
|
|
714
717
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
715
718
|
filter: G(a)
|
|
716
|
-
}, null, 8,
|
|
719
|
+
}, null, 8, xl))), 256))
|
|
717
720
|
])) : i("", !0),
|
|
718
721
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
|
|
719
722
|
class: "vue-ui-donut-arc-path",
|
|
@@ -722,8 +725,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
722
725
|
stroke: e.value.style.chart.backgroundColor,
|
|
723
726
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
724
727
|
filter: G(a)
|
|
725
|
-
}, null, 8,
|
|
726
|
-
])) : (o(), u("g",
|
|
728
|
+
}, null, 8, $l))), 256))
|
|
729
|
+
])) : (o(), u("g", Cl, [
|
|
727
730
|
l.$slots.pattern ? (o(), u("circle", {
|
|
728
731
|
key: 0,
|
|
729
732
|
cx: s.value.width / 2,
|
|
@@ -732,7 +735,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
732
735
|
fill: `url(#pattern_${y.value}_${h.value[0].patternIndex})`,
|
|
733
736
|
stroke: e.value.style.chart.backgroundColor,
|
|
734
737
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
735
|
-
}, null, 8,
|
|
738
|
+
}, null, 8, Pl)) : i("", !0),
|
|
736
739
|
p("circle", {
|
|
737
740
|
cx: s.value.width / 2,
|
|
738
741
|
cy: s.value.height / 2,
|
|
@@ -740,7 +743,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
740
743
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${y.value})` : h.value[0].color,
|
|
741
744
|
stroke: e.value.style.chart.backgroundColor,
|
|
742
745
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
743
|
-
}, null, 8,
|
|
746
|
+
}, null, 8, Sl)
|
|
744
747
|
]))
|
|
745
748
|
], 64)) : (o(), u("circle", {
|
|
746
749
|
key: 9,
|
|
@@ -749,7 +752,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
749
752
|
r: x.value <= 0 ? 10 : x.value,
|
|
750
753
|
fill: "transparent",
|
|
751
754
|
stroke: e.value.style.chart.backgroundColor
|
|
752
|
-
}, null, 8,
|
|
755
|
+
}, null, 8, Fl)),
|
|
753
756
|
e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), u("circle", {
|
|
754
757
|
key: 10,
|
|
755
758
|
cx: s.value.width / 2,
|
|
@@ -759,9 +762,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
759
762
|
x.value <= 0 ? 10 : x.value
|
|
760
763
|
),
|
|
761
764
|
fill: `url(#gradient_${y.value})`
|
|
762
|
-
}, null, 8,
|
|
765
|
+
}, null, 8, Ll)) : i("", !0),
|
|
763
766
|
S.value ? (o(), u(g, { key: 11 }, [
|
|
764
|
-
h.value.length > 1 || e.value.type === "classic" ? (o(), u("g",
|
|
767
|
+
h.value.length > 1 || e.value.type === "classic" ? (o(), u("g", Tl, [
|
|
765
768
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("path", {
|
|
766
769
|
d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
|
|
767
770
|
fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
@@ -775,8 +778,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
775
778
|
le.value = !1, P.value = null;
|
|
776
779
|
}),
|
|
777
780
|
onClick: (v) => M(t, a)
|
|
778
|
-
}, null, 40,
|
|
779
|
-
])) : (o(), u("g",
|
|
781
|
+
}, null, 40, zl))), 256))
|
|
782
|
+
])) : (o(), u("g", Ol, [
|
|
780
783
|
p("circle", {
|
|
781
784
|
cx: s.value.width / 2,
|
|
782
785
|
cy: s.value.height / 2,
|
|
@@ -792,7 +795,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
792
795
|
le.value = !1, P.value = null;
|
|
793
796
|
}),
|
|
794
797
|
onClick: r[3] || (r[3] = (t) => M(h.value[0], l.i))
|
|
795
|
-
}, null, 40,
|
|
798
|
+
}, null, 40, Yl)
|
|
796
799
|
]))
|
|
797
800
|
], 64)) : i("", !0),
|
|
798
801
|
e.value.type === "classic" ? (o(), u(g, { key: 12 }, [
|
|
@@ -804,7 +807,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
804
807
|
fill: e.value.style.chart.layout.labels.hollow.total.color,
|
|
805
808
|
"font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
|
|
806
809
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
|
|
807
|
-
}, C(e.value.style.chart.layout.labels.hollow.total.text), 13,
|
|
810
|
+
}, C(e.value.style.chart.layout.labels.hollow.total.text), 13, Al)) : i("", !0),
|
|
808
811
|
e.value.style.chart.layout.labels.hollow.total.show ? (o(), u("text", {
|
|
809
812
|
key: 1,
|
|
810
813
|
"text-anchor": "middle",
|
|
@@ -821,7 +824,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
821
824
|
v: S.value,
|
|
822
825
|
s: e.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
823
826
|
})
|
|
824
|
-
)), 13,
|
|
827
|
+
)), 13, Nl)) : i("", !0),
|
|
825
828
|
e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
|
|
826
829
|
key: 2,
|
|
827
830
|
"text-anchor": "middle",
|
|
@@ -830,7 +833,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
830
833
|
fill: e.value.style.chart.layout.labels.hollow.average.color,
|
|
831
834
|
"font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
|
|
832
835
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
|
|
833
|
-
}, C(e.value.style.chart.layout.labels.hollow.average.text), 13,
|
|
836
|
+
}, C(e.value.style.chart.layout.labels.hollow.average.text), 13, Xl)) : i("", !0),
|
|
834
837
|
e.value.style.chart.layout.labels.hollow.average.show ? (o(), u("text", {
|
|
835
838
|
key: 3,
|
|
836
839
|
"text-anchor": "middle",
|
|
@@ -848,13 +851,13 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
848
851
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
849
852
|
r: e.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
850
853
|
})
|
|
851
|
-
)), 13,
|
|
854
|
+
)), 13, Il)) : i("", !0)
|
|
852
855
|
], 64)) : i("", !0),
|
|
853
856
|
(o(!0), u(g, null, F(h.value, (t, a) => (o(), u("g", {
|
|
854
857
|
filter: G(a),
|
|
855
858
|
class: ce({ animated: e.value.useCssAnimation })
|
|
856
859
|
}, [
|
|
857
|
-
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g",
|
|
860
|
+
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), u("g", Ml, [
|
|
858
861
|
(o(), u("foreignObject", {
|
|
859
862
|
x: n(w)(t, !0).anchor === "end" ? n(w)(t).x - 120 : n(w)(t, !0).anchor === "middle" ? n(w)(t).x - 60 : n(w)(t).x,
|
|
860
863
|
y: n(ee)(t) - (Me.value ? 20 : 0),
|
|
@@ -863,7 +866,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
863
866
|
style: { overflow: "visible" }
|
|
864
867
|
}, [
|
|
865
868
|
p("div", null, [
|
|
866
|
-
b(l.$slots, "dataLabel",
|
|
869
|
+
b(l.$slots, "dataLabel", Re({ ref_for: !0 }, {
|
|
867
870
|
datapoint: t,
|
|
868
871
|
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
|
|
869
872
|
isSafari: Me.value,
|
|
@@ -873,8 +876,8 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
873
876
|
percentage: ne(t, h.value)
|
|
874
877
|
}), void 0, !0)
|
|
875
878
|
])
|
|
876
|
-
], 8,
|
|
877
|
-
])) : (o(), u("g",
|
|
879
|
+
], 8, Bl))
|
|
880
|
+
])) : (o(), u("g", Vl, [
|
|
878
881
|
e.value.type === "classic" ? (o(), u(g, { key: 0 }, [
|
|
879
882
|
Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
|
|
880
883
|
key: 0,
|
|
@@ -886,7 +889,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
886
889
|
r: 3,
|
|
887
890
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
|
|
888
891
|
onClick: (v) => M(t, a)
|
|
889
|
-
}, null, 8,
|
|
892
|
+
}, null, 8, Gl)) : i("", !0)
|
|
890
893
|
], 64)) : i("", !0),
|
|
891
894
|
e.value.type === "polar" ? (o(), u(g, { key: 1 }, [
|
|
892
895
|
Y(t) && f.value.dataLabels.show ? (o(), u("circle", {
|
|
@@ -899,7 +902,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
899
902
|
r: 3,
|
|
900
903
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${y.value})`,
|
|
901
904
|
onClick: (v) => M(t, a)
|
|
902
|
-
}, null, 8,
|
|
905
|
+
}, null, 8, Ul)) : i("", !0)
|
|
903
906
|
], 64)) : i("", !0),
|
|
904
907
|
e.value.type === "classic" ? (o(), u(g, { key: 2 }, [
|
|
905
908
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
@@ -921,7 +924,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
921
924
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
922
925
|
}),
|
|
923
926
|
{ datapoint: t }
|
|
924
|
-
)})` : ""), 13,
|
|
927
|
+
)})` : ""), 13, jl)) : i("", !0),
|
|
925
928
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
926
929
|
key: 1,
|
|
927
930
|
"text-anchor": n(w)(t).anchor,
|
|
@@ -931,12 +934,12 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
931
934
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
932
935
|
style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
933
936
|
onClick: (v) => M(t, a)
|
|
934
|
-
}, C(t.name), 13,
|
|
937
|
+
}, C(t.name), 13, Rl)) : i("", !0)
|
|
935
938
|
], 64)) : i("", !0),
|
|
936
939
|
e.value.type === "polar" ? (o(), u(g, { key: 3 }, [
|
|
937
940
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
938
941
|
key: 0,
|
|
939
|
-
"text-anchor":
|
|
942
|
+
"text-anchor": W(c.value[a].middlePoint),
|
|
940
943
|
x: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
941
944
|
y: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y,
|
|
942
945
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
@@ -953,20 +956,20 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
953
956
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
954
957
|
}),
|
|
955
958
|
{ datapoint: t }
|
|
956
|
-
)})` : ""), 13,
|
|
959
|
+
)})` : ""), 13, Wl)) : i("", !0),
|
|
957
960
|
Y(t) && f.value.dataLabels.show ? (o(), u("text", {
|
|
958
961
|
key: 1,
|
|
959
|
-
"text-anchor":
|
|
962
|
+
"text-anchor": W(c.value[a].middlePoint),
|
|
960
963
|
x: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x,
|
|
961
964
|
y: n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
962
965
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
963
966
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
964
967
|
style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
965
968
|
onClick: (v) => M(t, a)
|
|
966
|
-
}, C(t.name), 13,
|
|
969
|
+
}, C(t.name), 13, Hl)) : i("", !0)
|
|
967
970
|
], 64)) : i("", !0)
|
|
968
971
|
])),
|
|
969
|
-
f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g",
|
|
972
|
+
f.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), u("g", El, [
|
|
970
973
|
Y(t) && e.value.type === "classic" ? (o(), u("foreignObject", {
|
|
971
974
|
key: 0,
|
|
972
975
|
x: e.value.style.chart.comments.offsetX + (n(w)(t, !0).anchor === "end" ? n(w)(t).x - e.value.style.chart.comments.width : n(w)(t, !0).anchor === "middle" ? n(w)(t).x - e.value.style.chart.comments.width / 2 : n(w)(t).x),
|
|
@@ -980,29 +983,29 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
980
983
|
plot: { ...t, textAlign: n(w)(t, !0, 16, !0).anchor, flexAlign: n(w)(t, !0, 16).anchor }
|
|
981
984
|
}, void 0, !0)
|
|
982
985
|
])
|
|
983
|
-
], 8,
|
|
986
|
+
], 8, ql)) : i("", !0),
|
|
984
987
|
Y(t) && e.value.type === "polar" ? (o(), u("foreignObject", {
|
|
985
988
|
key: 1,
|
|
986
|
-
x: e.value.style.chart.comments.offsetX + (
|
|
987
|
-
y:
|
|
989
|
+
x: e.value.style.chart.comments.offsetX + (W(c.value[a].middlePoint) === "end" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width : W(c.value[a].middlePoint) === "middle" ? n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : n(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: s.value.width / 2, centerY: s.value.height / 2 }).x),
|
|
990
|
+
y: st(c.value[a]) + e.value.style.chart.comments.offsetY,
|
|
988
991
|
width: e.value.style.chart.comments.width,
|
|
989
992
|
height: "200",
|
|
990
993
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
991
994
|
}, [
|
|
992
995
|
p("div", null, [
|
|
993
996
|
b(l.$slots, "plot-comment", {
|
|
994
|
-
plot: { ...t, textAlign:
|
|
997
|
+
plot: { ...t, textAlign: W(c.value[a].middlePoint), flexAlign: W(c.value[a].middlePoint) }
|
|
995
998
|
}, void 0, !0)
|
|
996
999
|
])
|
|
997
|
-
], 8,
|
|
1000
|
+
], 8, Jl)) : i("", !0)
|
|
998
1001
|
])) : i("", !0)
|
|
999
|
-
], 10,
|
|
1002
|
+
], 10, Dl))), 256)),
|
|
1000
1003
|
b(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
1001
|
-
], 14,
|
|
1002
|
-
l.$slots.watermark ? (o(), u("div",
|
|
1004
|
+
], 14, Wt)) : i("", !0),
|
|
1005
|
+
l.$slots.watermark ? (o(), u("div", Kl, [
|
|
1003
1006
|
b(l.$slots, "watermark", K(Q({ isPrinting: n(Ce) || n(Pe) })), void 0, !0)
|
|
1004
1007
|
])) : i("", !0),
|
|
1005
|
-
|
|
1008
|
+
E.value ? i("", !0) : (o(), U(It, {
|
|
1006
1009
|
key: 6,
|
|
1007
1010
|
config: {
|
|
1008
1011
|
type: "donut",
|
|
@@ -1019,10 +1022,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1019
1022
|
ref_key: "chartLegend",
|
|
1020
1023
|
ref: ye
|
|
1021
1024
|
}, [
|
|
1022
|
-
e.value.style.chart.legend.show ? (o(), U(
|
|
1025
|
+
e.value.style.chart.legend.show ? (o(), U(Xt, {
|
|
1023
1026
|
key: `legend_${me.value}`,
|
|
1024
1027
|
legendSet: Ae.value,
|
|
1025
|
-
config:
|
|
1028
|
+
config: ut.value,
|
|
1026
1029
|
onClickMarker: r[4] || (r[4] = ({ i: t }) => Ye(t))
|
|
1027
1030
|
}, je({
|
|
1028
1031
|
item: $(({ legend: t, index: a }) => [
|
|
@@ -1030,7 +1033,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1030
1033
|
style: z(`opacity:${X.value.includes(a) ? 0.5 : 1}`),
|
|
1031
1034
|
onClick: (v) => t.segregate()
|
|
1032
1035
|
}, [
|
|
1033
|
-
|
|
1036
|
+
We(C(t.name) + ": " + C(n(A)(
|
|
1034
1037
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1035
1038
|
t.value,
|
|
1036
1039
|
n(O)({
|
|
@@ -1044,7 +1047,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1044
1047
|
index: a
|
|
1045
1048
|
}
|
|
1046
1049
|
)) + " ", 1),
|
|
1047
|
-
X.value.includes(a) ? (o(), u("span",
|
|
1050
|
+
X.value.includes(a) ? (o(), u("span", ea, " ( " + C(it(t.proportion * 100)) + " % ) ", 1)) : (o(), u("span", Zl, " (" + C(isNaN(t.value / S.value) ? "-" : n(A)(
|
|
1048
1051
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1049
1052
|
Xe.value(t),
|
|
1050
1053
|
n(O)({
|
|
@@ -1053,14 +1056,14 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1053
1056
|
r: e.value.style.chart.legend.roundingPercentage
|
|
1054
1057
|
})
|
|
1055
1058
|
)) + ") ", 1))
|
|
1056
|
-
], 12,
|
|
1059
|
+
], 12, Ql)
|
|
1057
1060
|
]),
|
|
1058
1061
|
_: 2
|
|
1059
1062
|
}, [
|
|
1060
1063
|
l.$slots.pattern ? {
|
|
1061
1064
|
name: "legend-pattern",
|
|
1062
1065
|
fn: $(({ legend: t, index: a }) => [
|
|
1063
|
-
de(
|
|
1066
|
+
de(Gt, {
|
|
1064
1067
|
shape: t.shape,
|
|
1065
1068
|
radius: 30,
|
|
1066
1069
|
stroke: "none",
|
|
@@ -1081,7 +1084,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1081
1084
|
}, [
|
|
1082
1085
|
b(l.$slots, "source", {}, void 0, !0)
|
|
1083
1086
|
], 512)) : i("", !0),
|
|
1084
|
-
de(
|
|
1087
|
+
de(Nt, {
|
|
1085
1088
|
show: f.value.showTooltip && le.value,
|
|
1086
1089
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1087
1090
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1092,10 +1095,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1092
1095
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
1093
1096
|
position: e.value.style.chart.tooltip.position,
|
|
1094
1097
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1095
|
-
parent:
|
|
1098
|
+
parent: R.value,
|
|
1096
1099
|
content: ue.value,
|
|
1097
1100
|
isCustom: J.value,
|
|
1098
|
-
isFullscreen:
|
|
1101
|
+
isFullscreen: H.value
|
|
1099
1102
|
}, {
|
|
1100
1103
|
"tooltip-before": $(() => [
|
|
1101
1104
|
b(l.$slots, "tooltip-before", K(Q({ ...re.value })), void 0, !0)
|
|
@@ -1105,7 +1108,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1105
1108
|
]),
|
|
1106
1109
|
_: 3
|
|
1107
1110
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
1108
|
-
|
|
1111
|
+
E.value ? (o(), U(Dt, {
|
|
1109
1112
|
key: 8,
|
|
1110
1113
|
hideDetails: "",
|
|
1111
1114
|
config: {
|
|
@@ -1122,7 +1125,7 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1122
1125
|
}
|
|
1123
1126
|
}, {
|
|
1124
1127
|
content: $(() => [
|
|
1125
|
-
(o(), U(
|
|
1128
|
+
(o(), U(At, {
|
|
1126
1129
|
key: `table_${be.value}`,
|
|
1127
1130
|
colNames: ae.value.colNames,
|
|
1128
1131
|
head: ae.value.head,
|
|
@@ -1135,10 +1138,10 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1135
1138
|
p("div", {
|
|
1136
1139
|
innerHTML: t,
|
|
1137
1140
|
style: { display: "flex", "align-items": "center" }
|
|
1138
|
-
}, null, 8,
|
|
1141
|
+
}, null, 8, ta)
|
|
1139
1142
|
]),
|
|
1140
1143
|
td: $(({ td: t }) => [
|
|
1141
|
-
|
|
1144
|
+
We(C(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : n(A)(
|
|
1142
1145
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1143
1146
|
t,
|
|
1144
1147
|
n(O)({
|
|
@@ -1162,9 +1165,9 @@ const Ut = ["id"], jt = ["xmlns", "viewBox"], Wt = ["width", "height"], Ht = { k
|
|
|
1162
1165
|
]),
|
|
1163
1166
|
_: 1
|
|
1164
1167
|
}, 8, ["config"])) : i("", !0)
|
|
1165
|
-
], 46,
|
|
1168
|
+
], 46, Rt));
|
|
1166
1169
|
}
|
|
1167
|
-
},
|
|
1170
|
+
}, wa = /* @__PURE__ */ jt(la, [["__scopeId", "data-v-cc0f61b3"]]);
|
|
1168
1171
|
export {
|
|
1169
|
-
|
|
1172
|
+
wa as default
|
|
1170
1173
|
};
|