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,23 +1,24 @@
|
|
|
1
|
-
import { useSlots as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as Oe } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
import {
|
|
17
|
-
|
|
1
|
+
import { useSlots as Ge, ref as u, computed as h, watch as He, onMounted as je, onBeforeUnmount as Xe, createElementBlock as v, openBlock as n, unref as i, normalizeStyle as O, normalizeClass as L, createBlock as N, createCommentVNode as m, createElementVNode as _, createVNode as J, createSlots as we, withCtx as g, renderSlot as p, normalizeProps as M, guardReactiveProps as R, Fragment as K, renderList as Q, mergeProps as qe, createTextVNode as $e, toDisplayString as E, nextTick as Ye } from "vue";
|
|
2
|
+
import { u as Je, c as _e, t as Ke, p as P, a as Qe, o as Ze, e as Z, g as et, b as tt, J as lt, d as Te, f as I, X as ot, s as at, w as st, v as G, i as xe, q as nt, r as rt, x as ut, y as it } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as vt, u as ct } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as dt } from "./Title-DePxeqVl.js";
|
|
5
|
+
import { u as pt, U as ht } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-DRw9RoFp.js";
|
|
7
|
+
import { D as ft } from "./DataTable-D0-zzsJg.js";
|
|
8
|
+
import { L as yt } from "./Legend-Oaw0MY8Y.js";
|
|
9
|
+
import mt from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
10
|
+
import bt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
11
|
+
import { u as Oe } from "./useNestedProp-Cg0NIwr6.js";
|
|
12
|
+
import { _ as kt } from "./PackageVersion-J_USnljf.js";
|
|
13
|
+
import { P as Ct } from "./PenAndPaper-CoEXEMcN.js";
|
|
14
|
+
import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as $t } from "./Shape-Dtm6toQp.js";
|
|
16
|
+
import { u as _t } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["id"], It = ["stop-color"], St = ["stop-color"], At = { key: 1 }, Ft = ["stroke", "cx", "cy", "r", "fill"], Lt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Mt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Rt = ["cx", "cy", "r", "onMouseenter"], Vt = {
|
|
18
19
|
key: 5,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, zt = ["onClick"], Ut = { key: 0 }, Wt = { key: 1 }, Bt = ["innerHTML"], Dt = {
|
|
21
22
|
__name: "vue-ui-rings",
|
|
22
23
|
props: {
|
|
23
24
|
config: {
|
|
@@ -35,10 +36,10 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
35
36
|
},
|
|
36
37
|
emits: ["selectLegend"],
|
|
37
38
|
setup(Ne, { expose: Pe, emit: Ie }) {
|
|
38
|
-
const { vue_ui_rings: Se } =
|
|
39
|
+
const { vue_ui_rings: Se } = Je(), Ae = Ge(), b = Ne, x = u(!1), V = h(() => !!b.dataset && b.dataset.length), w = u(_e()), Fe = u(null), z = u(!1), H = u(""), $ = u(null), ee = u(0), S = u(null), te = u(null), le = u(null), oe = u(null), ae = u(null), se = u(0), ne = u(0), re = u(0), e = h({
|
|
39
40
|
get: () => ve(),
|
|
40
41
|
set: (t) => t
|
|
41
|
-
}), { userOptionsVisible: j, setUserOptionsVisibility:
|
|
42
|
+
}), { userOptionsVisible: j, setUserOptionsVisibility: ue, keepUserOptionState: ie } = wt({ config: e.value }), { svgRef: Le } = _t({ config: e.value.style.chart.title });
|
|
42
43
|
function ve() {
|
|
43
44
|
const t = Oe({
|
|
44
45
|
userConfig: b.config,
|
|
@@ -46,28 +47,28 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
46
47
|
});
|
|
47
48
|
return t.theme ? {
|
|
48
49
|
...Oe({
|
|
49
|
-
userConfig:
|
|
50
|
+
userConfig: Qe.vue_ui_rings[t.theme] || b.config,
|
|
50
51
|
defaultConfig: t
|
|
51
52
|
}),
|
|
52
|
-
customPalette:
|
|
53
|
+
customPalette: Ke[t.theme] || P
|
|
53
54
|
} : t;
|
|
54
55
|
}
|
|
55
|
-
|
|
56
|
-
e.value = ve(), j.value = !e.value.userOptions.showOnChartHover, ce(), se.value += 1, ne.value += 1,
|
|
56
|
+
He(() => b.config, (t) => {
|
|
57
|
+
e.value = ve(), j.value = !e.value.userOptions.showOnChartHover, ce(), se.value += 1, ne.value += 1, re.value += 1, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
57
58
|
}, { deep: !0 });
|
|
58
|
-
const U =
|
|
59
|
-
|
|
59
|
+
const U = u(null);
|
|
60
|
+
je(() => {
|
|
60
61
|
ce();
|
|
61
62
|
});
|
|
62
63
|
function ce() {
|
|
63
|
-
if (
|
|
64
|
+
if (Ze(b.dataset) ? Z({
|
|
64
65
|
componentName: "VueUiRings",
|
|
65
66
|
type: "dataset"
|
|
66
67
|
}) : b.dataset.forEach((t, o) => {
|
|
67
68
|
t.values.length || Z({
|
|
68
69
|
componentName: "VueUiRings",
|
|
69
70
|
type: "dataset"
|
|
70
|
-
}),
|
|
71
|
+
}), et({
|
|
71
72
|
datasetObject: t,
|
|
72
73
|
requiredAttributes: ["name", "values"]
|
|
73
74
|
}).forEach((l) => {
|
|
@@ -79,8 +80,8 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
79
80
|
});
|
|
80
81
|
});
|
|
81
82
|
}), e.value.responsive) {
|
|
82
|
-
const t =
|
|
83
|
-
const { width: o, height: l } =
|
|
83
|
+
const t = vt(() => {
|
|
84
|
+
const { width: o, height: l } = ct({
|
|
84
85
|
chart: S.value,
|
|
85
86
|
title: e.value.style.chart.title.text ? te.value : null,
|
|
86
87
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
@@ -97,19 +98,19 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
97
98
|
x.value = !0;
|
|
98
99
|
}, 600);
|
|
99
100
|
}
|
|
100
|
-
|
|
101
|
+
Xe(() => {
|
|
101
102
|
U.value && U.value.disconnect();
|
|
102
103
|
});
|
|
103
|
-
const { isPrinting: de, isImaging: pe, generatePdf: he, generateImage: ge } =
|
|
104
|
+
const { isPrinting: de, isImaging: pe, generatePdf: he, generateImage: ge } = pt({
|
|
104
105
|
elementId: `rings_${w.value}`,
|
|
105
106
|
fileName: e.value.style.chart.title.text || "vue-ui-rings"
|
|
106
|
-
}),
|
|
107
|
+
}), Me = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), fe = h(() => tt(e.value.customPalette)), k = u({
|
|
107
108
|
showTable: e.value.table.show,
|
|
108
109
|
showTooltip: e.value.style.chart.tooltip.show
|
|
109
|
-
}), s =
|
|
110
|
+
}), s = u({
|
|
110
111
|
height: 360,
|
|
111
112
|
width: 360
|
|
112
|
-
}),
|
|
113
|
+
}), Re = h(() => Math.min(s.value.height, s.value.width)), Ve = Ie, f = u([]);
|
|
113
114
|
function X(t) {
|
|
114
115
|
f.value.includes(t) ? f.value = f.value.filter((o) => o !== t) : f.value.push(t), Ve("selectLegend", d.value.map((o) => ({
|
|
115
116
|
name: o.name,
|
|
@@ -124,12 +125,12 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
124
125
|
return t / ze.value;
|
|
125
126
|
}
|
|
126
127
|
const W = h(() => b.dataset.map(({ values: t, name: o, color: l = null }, a) => {
|
|
127
|
-
const
|
|
128
|
+
const r = lt(t).reduce((y, F) => y + F, 0);
|
|
128
129
|
return {
|
|
129
130
|
name: o,
|
|
130
131
|
color: l || Te(l) || fe.value[a] || P[a] || P[a % P.length],
|
|
131
|
-
value:
|
|
132
|
-
proportion:
|
|
132
|
+
value: r,
|
|
133
|
+
proportion: r / b.dataset.map((y) => (y.values || []).reduce((F, Ee) => F + Ee, 0)).reduce((y, F) => y + F, 0),
|
|
133
134
|
uid: _e(),
|
|
134
135
|
absoluteIndex: a
|
|
135
136
|
};
|
|
@@ -139,15 +140,15 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
139
140
|
opacity: f.value.includes(t.uid) ? 0.5 : 1,
|
|
140
141
|
segregate: () => X(t.uid),
|
|
141
142
|
isSegregated: f.value.includes(t.uid)
|
|
142
|
-
})).toSorted((t, o) => o.value - t.value)),
|
|
143
|
+
})).toSorted((t, o) => o.value - t.value)), Ue = h(() => ({
|
|
143
144
|
cy: "rings-div-legend",
|
|
144
145
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
145
146
|
color: e.value.style.chart.legend.color,
|
|
146
147
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
147
148
|
paddingBottom: 12,
|
|
148
149
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
149
|
-
})), C = h(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), d = h(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a, absoluteIndex:
|
|
150
|
-
absoluteIndex:
|
|
150
|
+
})), C = h(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), d = h(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a, absoluteIndex: r }, y) => ({
|
|
151
|
+
absoluteIndex: r,
|
|
151
152
|
uid: a,
|
|
152
153
|
name: t,
|
|
153
154
|
color: l || Te(l) || fe.value[y] || P[y] || P[y % P.length],
|
|
@@ -156,19 +157,19 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
156
157
|
percentage: o / C.value * 100,
|
|
157
158
|
strokeWidth: e.value.style.chart.layout.rings.strokeWidth * ye(o)
|
|
158
159
|
})).toSorted((t, o) => o.value - t.value));
|
|
159
|
-
function
|
|
160
|
+
function We() {
|
|
160
161
|
return d.value.map(
|
|
161
|
-
({ name: t, color: o, value: l, absoluteValues: a, percentage:
|
|
162
|
+
({ name: t, color: o, value: l, absoluteValues: a, percentage: r }) => ({
|
|
162
163
|
name: t,
|
|
163
164
|
color: o,
|
|
164
165
|
value: l,
|
|
165
166
|
absoluteValues: a,
|
|
166
|
-
percentage:
|
|
167
|
+
percentage: r
|
|
167
168
|
})
|
|
168
169
|
);
|
|
169
170
|
}
|
|
170
|
-
const c = h(() =>
|
|
171
|
-
function
|
|
171
|
+
const c = h(() => Re.value - e.value.style.chart.layout.rings.strokeWidth * 2), q = u(null);
|
|
172
|
+
function Be(t, o) {
|
|
172
173
|
if (f.value.length === b.dataset.length) return;
|
|
173
174
|
q.value = {
|
|
174
175
|
datapoint: o,
|
|
@@ -177,7 +178,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
177
178
|
config: e.value
|
|
178
179
|
}, $.value = t;
|
|
179
180
|
const l = d.value[t], a = e.value.style.chart.tooltip.customFormat;
|
|
180
|
-
if (ut(a) &&
|
|
181
|
+
if (ut(a) && it(() => a({
|
|
181
182
|
seriesIndex: t,
|
|
182
183
|
datapoint: o,
|
|
183
184
|
series: d.value,
|
|
@@ -190,8 +191,8 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
190
191
|
config: e.value
|
|
191
192
|
});
|
|
192
193
|
else {
|
|
193
|
-
let
|
|
194
|
-
|
|
194
|
+
let r = "";
|
|
195
|
+
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${Ae.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${w.value}_${o.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${xe(
|
|
195
196
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
196
197
|
l.value,
|
|
197
198
|
I({
|
|
@@ -202,17 +203,17 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
202
203
|
}),
|
|
203
204
|
{ datapoint: o, seriesIndex: t }
|
|
204
205
|
)}
|
|
205
|
-
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ?
|
|
206
|
+
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${I({
|
|
206
207
|
v: l.value / C.value * 100,
|
|
207
208
|
s: "%",
|
|
208
209
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
209
|
-
})})</span></div>` :
|
|
210
|
+
})})</span></div>` : r += `<b>${I({
|
|
210
211
|
v: l.value / C.value * 100,
|
|
211
212
|
s: "%",
|
|
212
213
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
213
|
-
})}</b></div>`), H.value =
|
|
214
|
+
})}</b></div>`), H.value = r;
|
|
214
215
|
}
|
|
215
|
-
|
|
216
|
+
z.value = !0;
|
|
216
217
|
}
|
|
217
218
|
const T = h(() => {
|
|
218
219
|
const t = d.value.map((l) => ({
|
|
@@ -225,10 +226,10 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
225
226
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
226
227
|
I({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
227
228
|
"100%"
|
|
228
|
-
], o = T.value.head.map((
|
|
229
|
+
], o = T.value.head.map((r, y) => [
|
|
229
230
|
{
|
|
230
|
-
color:
|
|
231
|
-
name:
|
|
231
|
+
color: r.color,
|
|
232
|
+
name: r.name
|
|
232
233
|
},
|
|
233
234
|
I({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: T.value.body[y], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
234
235
|
isNaN(T.value.body[y] / C.value) ? "-" : (T.value.body[y] / C.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
@@ -257,15 +258,15 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
257
258
|
};
|
|
258
259
|
});
|
|
259
260
|
function be() {
|
|
260
|
-
|
|
261
|
-
const t = T.value.head.map((a,
|
|
261
|
+
Ye(() => {
|
|
262
|
+
const t = T.value.head.map((a, r) => [[
|
|
262
263
|
a.name
|
|
263
|
-
], [T.value.body[
|
|
264
|
-
|
|
264
|
+
], [T.value.body[r]], [isNaN(T.value.body[r] / C.value) ? "-" : T.value.body[r] / C.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = nt(o);
|
|
265
|
+
rt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
|
|
265
266
|
});
|
|
266
267
|
}
|
|
267
|
-
const A =
|
|
268
|
-
function
|
|
268
|
+
const A = u(!1);
|
|
269
|
+
function De(t) {
|
|
269
270
|
A.value = t, ee.value += 1;
|
|
270
271
|
}
|
|
271
272
|
function ke() {
|
|
@@ -274,12 +275,12 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
274
275
|
function Ce() {
|
|
275
276
|
k.value.showTooltip = !k.value.showTooltip;
|
|
276
277
|
}
|
|
277
|
-
const D =
|
|
278
|
+
const D = u(!1);
|
|
278
279
|
function Y() {
|
|
279
280
|
D.value = !D.value;
|
|
280
281
|
}
|
|
281
282
|
return Pe({
|
|
282
|
-
getData:
|
|
283
|
+
getData: We,
|
|
283
284
|
generatePdf: he,
|
|
284
285
|
generateCsv: be,
|
|
285
286
|
generateImage: ge,
|
|
@@ -293,11 +294,11 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
293
294
|
style: O(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
294
295
|
id: `rings_${w.value}`,
|
|
295
296
|
onMouseleave: o[3] || (o[3] = (l) => {
|
|
296
|
-
$.value = null,
|
|
297
|
+
$.value = null, z.value = !1, i(ue)(!1);
|
|
297
298
|
}),
|
|
298
|
-
onMouseenter: o[4] || (o[4] = () => i(
|
|
299
|
+
onMouseenter: o[4] || (o[4] = () => i(ue)(!0))
|
|
299
300
|
}, [
|
|
300
|
-
e.value.userOptions.buttons.annotator ? (n(), N(
|
|
301
|
+
e.value.userOptions.buttons.annotator ? (n(), N(Ct, {
|
|
301
302
|
key: 0,
|
|
302
303
|
parent: S.value,
|
|
303
304
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -305,7 +306,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
305
306
|
active: D.value,
|
|
306
307
|
onClose: Y
|
|
307
308
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
|
|
308
|
-
|
|
309
|
+
Me.value ? (n(), v("div", {
|
|
309
310
|
key: 1,
|
|
310
311
|
ref_key: "noTitle",
|
|
311
312
|
ref: ae,
|
|
@@ -318,7 +319,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
318
319
|
ref: te,
|
|
319
320
|
style: "width:100%;background:transparent"
|
|
320
321
|
}, [
|
|
321
|
-
(n(), N(
|
|
322
|
+
(n(), N(dt, {
|
|
322
323
|
key: `title_${se.value}`,
|
|
323
324
|
config: {
|
|
324
325
|
title: {
|
|
@@ -332,7 +333,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
332
333
|
}
|
|
333
334
|
}, null, 8, ["config"]))
|
|
334
335
|
], 512)) : m("", !0),
|
|
335
|
-
e.value.userOptions.show &&
|
|
336
|
+
e.value.userOptions.show && V.value && (i(ie) || i(j)) ? (n(), N(ht, {
|
|
336
337
|
ref_key: "details",
|
|
337
338
|
ref: Fe,
|
|
338
339
|
key: `user_options_${ee.value}`,
|
|
@@ -354,7 +355,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
354
355
|
position: e.value.userOptions.position,
|
|
355
356
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
356
357
|
isAnnotation: D.value,
|
|
357
|
-
onToggleFullscreen:
|
|
358
|
+
onToggleFullscreen: De,
|
|
358
359
|
onGeneratePdf: i(he),
|
|
359
360
|
onGenerateCsv: be,
|
|
360
361
|
onGenerateImage: i(ge),
|
|
@@ -403,26 +404,28 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
403
404
|
t.$slots.optionFullscreen ? {
|
|
404
405
|
name: "optionFullscreen",
|
|
405
406
|
fn: g(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
406
|
-
p(t.$slots, "optionFullscreen", M(
|
|
407
|
+
p(t.$slots, "optionFullscreen", M(R({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
407
408
|
]),
|
|
408
409
|
key: "5"
|
|
409
410
|
} : void 0,
|
|
410
411
|
t.$slots.optionAnnotator ? {
|
|
411
412
|
name: "optionAnnotator",
|
|
412
413
|
fn: g(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
413
|
-
p(t.$slots, "optionAnnotator", M(
|
|
414
|
+
p(t.$slots, "optionAnnotator", M(R({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
414
415
|
]),
|
|
415
416
|
key: "6"
|
|
416
417
|
} : void 0
|
|
417
418
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
418
|
-
|
|
419
|
+
V.value ? (n(), v("svg", {
|
|
419
420
|
key: 4,
|
|
420
|
-
|
|
421
|
+
ref_key: "svgRef",
|
|
422
|
+
ref: Le,
|
|
423
|
+
xmlns: i(ot),
|
|
421
424
|
class: L({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
422
425
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
423
426
|
style: O(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
424
427
|
}, [
|
|
425
|
-
J(
|
|
428
|
+
J(kt),
|
|
426
429
|
t.$slots["chart-background"] ? (n(), v("foreignObject", {
|
|
427
430
|
key: 0,
|
|
428
431
|
x: 0,
|
|
@@ -434,7 +437,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
434
437
|
}
|
|
435
438
|
}, [
|
|
436
439
|
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
437
|
-
], 8,
|
|
440
|
+
], 8, Nt)) : m("", !0),
|
|
438
441
|
_("defs", null, [
|
|
439
442
|
(n(!0), v(K, null, Q(d.value, (l, a) => (n(), v("radialGradient", {
|
|
440
443
|
cx: "50%",
|
|
@@ -446,17 +449,17 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
446
449
|
}, [
|
|
447
450
|
_("stop", {
|
|
448
451
|
offset: "0%",
|
|
449
|
-
"stop-color": i(
|
|
450
|
-
}, null, 8,
|
|
452
|
+
"stop-color": i(at)(i(st)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
|
|
453
|
+
}, null, 8, It),
|
|
451
454
|
_("stop", {
|
|
452
455
|
offset: "100%",
|
|
453
456
|
"stop-color": l.color
|
|
454
|
-
}, null, 8,
|
|
455
|
-
], 8,
|
|
457
|
+
}, null, 8, St)
|
|
458
|
+
], 8, Pt))), 256))
|
|
456
459
|
]),
|
|
457
|
-
t.$slots.pattern ? (n(), v("g",
|
|
460
|
+
t.$slots.pattern ? (n(), v("g", At, [
|
|
458
461
|
(n(!0), v(K, null, Q(d.value, (l) => (n(), v("defs", null, [
|
|
459
|
-
p(t.$slots, "pattern",
|
|
462
|
+
p(t.$slots, "pattern", qe({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${w.value}_${l.absoluteIndex}` }), void 0, !0)
|
|
460
463
|
]))), 256))
|
|
461
464
|
])) : m("", !0),
|
|
462
465
|
(n(!0), v(K, null, Q(d.value, (l, a) => (n(), v("g", null, [
|
|
@@ -472,7 +475,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
472
475
|
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * d.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
473
476
|
r: i(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
474
477
|
fill: e.value.style.chart.layout.rings.gradient.underlayerColor
|
|
475
|
-
}, null, 14,
|
|
478
|
+
}, null, 14, Ft),
|
|
476
479
|
_("circle", {
|
|
477
480
|
class: L({
|
|
478
481
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
@@ -487,7 +490,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
487
490
|
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * d.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
488
491
|
r: i(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
489
492
|
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${w.value}_${a})` : l.color
|
|
490
|
-
}, null, 14,
|
|
493
|
+
}, null, 14, Lt),
|
|
491
494
|
t.$slots.pattern ? (n(), v("circle", {
|
|
492
495
|
key: 0,
|
|
493
496
|
class: L({
|
|
@@ -503,25 +506,25 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
503
506
|
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * d.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
504
507
|
r: i(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
505
508
|
fill: `url(#pattern_${w.value}_${l.absoluteIndex})`
|
|
506
|
-
}, null, 14,
|
|
509
|
+
}, null, 14, Mt)) : m("", !0),
|
|
507
510
|
_("circle", {
|
|
508
511
|
stroke: "none",
|
|
509
512
|
cx: s.value.width / 2,
|
|
510
513
|
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * d.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
511
514
|
r: i(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
512
515
|
fill: "transparent",
|
|
513
|
-
onMouseenter: (
|
|
514
|
-
onMouseleave: o[0] || (o[0] = (
|
|
515
|
-
$.value = null,
|
|
516
|
+
onMouseenter: (r) => Be(a, l),
|
|
517
|
+
onMouseleave: o[0] || (o[0] = (r) => {
|
|
518
|
+
$.value = null, z.value = !1;
|
|
516
519
|
})
|
|
517
|
-
}, null, 40,
|
|
520
|
+
}, null, 40, Rt)
|
|
518
521
|
]))), 256)),
|
|
519
522
|
p(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
520
|
-
], 14,
|
|
521
|
-
t.$slots.watermark ? (n(), v("div",
|
|
522
|
-
p(t.$slots, "watermark", M(
|
|
523
|
+
], 14, Ot)) : m("", !0),
|
|
524
|
+
t.$slots.watermark ? (n(), v("div", Vt, [
|
|
525
|
+
p(t.$slots, "watermark", M(R({ isPrinting: i(de) || i(pe) })), void 0, !0)
|
|
523
526
|
])) : m("", !0),
|
|
524
|
-
|
|
527
|
+
V.value ? m("", !0) : (n(), N(mt, {
|
|
525
528
|
key: 6,
|
|
526
529
|
config: {
|
|
527
530
|
type: "rings",
|
|
@@ -537,15 +540,15 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
537
540
|
ref_key: "chartLegend",
|
|
538
541
|
ref: le
|
|
539
542
|
}, [
|
|
540
|
-
e.value.style.chart.legend.show ? (n(), N(
|
|
541
|
-
key: `legend_${
|
|
543
|
+
e.value.style.chart.legend.show ? (n(), N(yt, {
|
|
544
|
+
key: `legend_${re.value}`,
|
|
542
545
|
legendSet: me.value,
|
|
543
|
-
config:
|
|
546
|
+
config: Ue.value,
|
|
544
547
|
onClickMarker: o[1] || (o[1] = ({ legend: l }) => X(l.uid))
|
|
545
548
|
}, we({
|
|
546
549
|
item: g(({ legend: l, index: a }) => [
|
|
547
550
|
_("div", {
|
|
548
|
-
onClick: (
|
|
551
|
+
onClick: (r) => X(l.uid),
|
|
549
552
|
style: O(`opacity:${f.value.includes(l.uid) ? 0.5 : 1}`)
|
|
550
553
|
}, [
|
|
551
554
|
$e(E(l.name) + ": " + E(i(xe)(
|
|
@@ -559,19 +562,19 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
559
562
|
}),
|
|
560
563
|
{ datapoint: l, seriesIndex: a }
|
|
561
564
|
)) + " ", 1),
|
|
562
|
-
f.value.includes(l.uid) ? (n(), v("span",
|
|
565
|
+
f.value.includes(l.uid) ? (n(), v("span", Wt, " ( - % ) ")) : (n(), v("span", Ut, " (" + E(isNaN(l.value / C.value) ? "-" : i(I)({
|
|
563
566
|
v: l.value / C.value * 100,
|
|
564
567
|
s: "%",
|
|
565
568
|
r: e.value.style.chart.legend.roundingPercentage
|
|
566
569
|
})) + ") ", 1))
|
|
567
|
-
], 12,
|
|
570
|
+
], 12, zt)
|
|
568
571
|
]),
|
|
569
572
|
_: 2
|
|
570
573
|
}, [
|
|
571
574
|
t.$slots.pattern ? {
|
|
572
575
|
name: "legend-pattern",
|
|
573
576
|
fn: g(({ legend: l, index: a }) => [
|
|
574
|
-
J(
|
|
577
|
+
J($t, {
|
|
575
578
|
shape: l.shape,
|
|
576
579
|
radius: 30,
|
|
577
580
|
stroke: "none",
|
|
@@ -594,8 +597,8 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
594
597
|
}, [
|
|
595
598
|
p(t.$slots, "source", {}, void 0, !0)
|
|
596
599
|
], 512)) : m("", !0),
|
|
597
|
-
J(
|
|
598
|
-
show: k.value.showTooltip &&
|
|
600
|
+
J(gt, {
|
|
601
|
+
show: k.value.showTooltip && z.value && f.value.length < b.dataset.length,
|
|
599
602
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
600
603
|
color: e.value.style.chart.tooltip.color,
|
|
601
604
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -611,14 +614,14 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
611
614
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
612
615
|
}, {
|
|
613
616
|
"tooltip-before": g(() => [
|
|
614
|
-
p(t.$slots, "tooltip-before", M(
|
|
617
|
+
p(t.$slots, "tooltip-before", M(R({ ...q.value })), void 0, !0)
|
|
615
618
|
]),
|
|
616
619
|
"tooltip-after": g(() => [
|
|
617
|
-
p(t.$slots, "tooltip-after", M(
|
|
620
|
+
p(t.$slots, "tooltip-after", M(R({ ...q.value })), void 0, !0)
|
|
618
621
|
]),
|
|
619
622
|
_: 3
|
|
620
623
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
621
|
-
|
|
624
|
+
V.value ? (n(), N(bt, {
|
|
622
625
|
key: 8,
|
|
623
626
|
hideDetails: "",
|
|
624
627
|
config: {
|
|
@@ -635,7 +638,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
635
638
|
}
|
|
636
639
|
}, {
|
|
637
640
|
content: g(() => [
|
|
638
|
-
(n(), N(
|
|
641
|
+
(n(), N(ft, {
|
|
639
642
|
key: `table_${ne.value}`,
|
|
640
643
|
colNames: B.value.colNames,
|
|
641
644
|
head: B.value.head,
|
|
@@ -648,7 +651,7 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
648
651
|
_("div", {
|
|
649
652
|
innerHTML: l,
|
|
650
653
|
style: { display: "flex", "align-items": "center" }
|
|
651
|
-
}, null, 8,
|
|
654
|
+
}, null, 8, Bt)
|
|
652
655
|
]),
|
|
653
656
|
td: g(({ td: l }) => [
|
|
654
657
|
$e(E(l.name || l), 1)
|
|
@@ -658,9 +661,9 @@ const _t = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["i
|
|
|
658
661
|
]),
|
|
659
662
|
_: 1
|
|
660
663
|
}, 8, ["config"])) : m("", !0)
|
|
661
|
-
], 46,
|
|
664
|
+
], 46, xt));
|
|
662
665
|
}
|
|
663
|
-
},
|
|
666
|
+
}, nl = /* @__PURE__ */ Tt(Dt, [["__scopeId", "data-v-f6a0352e"]]);
|
|
664
667
|
export {
|
|
665
|
-
|
|
668
|
+
nl as default
|
|
666
669
|
};
|