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 { computed as S, ref as T, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import { u as Se } from "./useNestedProp-
|
|
9
|
-
import { _ as
|
|
10
|
-
import { P as
|
|
11
|
-
import { u as
|
|
12
|
-
import {
|
|
13
|
-
|
|
1
|
+
import { computed as S, ref as T, watch as He, onMounted as Ze, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as D, normalizeClass as Fe, createBlock as G, createCommentVNode as y, createSlots as Re, withCtx as O, renderSlot as j, normalizeProps as ne, guardReactiveProps as re, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, mergeProps as Me, createTextVNode as Xe, nextTick as Ye } from "vue";
|
|
2
|
+
import { u as Je, c as Pe, t as Ke, p as Y, a as Qe, b as et, d as tt, o as lt, e as J, g as ue, l as U, m as je, f as z, X as ot, s as g, h as K, i as Q, j as Te, k as ee, n as A, q as st, r as at } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { _ as nt } from "./Title-DePxeqVl.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-D-sSdR2l.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
6
|
+
import { D as dt } from "./DataTable-D0-zzsJg.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-DVtmOO3I.js";
|
|
8
|
+
import { u as Se } from "./useNestedProp-Cg0NIwr6.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-J_USnljf.js";
|
|
10
|
+
import { P as vt } from "./PenAndPaper-CoEXEMcN.js";
|
|
11
|
+
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
+
import { u as pt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
|
+
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const kt = ["id"], gt = {
|
|
14
15
|
key: 1,
|
|
15
16
|
style: "width:100%;background:transparent"
|
|
16
|
-
},
|
|
17
|
+
}, $t = ["xmlns", "viewBox"], _t = ["width", "height"], mt = ["id"], bt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], jt = ["stop-color"], Tt = ["id"], St = ["stop-color"], zt = ["stop-color"], Dt = ["stop-color"], Ot = { key: 1 }, Nt = ["id"], Bt = ["stop-color"], At = ["stop-color"], Lt = ["id"], It = ["stop-color"], Wt = ["stop-color"], Vt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"], Ht = ["x", "y", "font-size", "font-weight", "fill"], Zt = ["x", "y"], Rt = ["d", "stroke"], qt = ["d", "stroke"], Xt = { key: 4 }, Yt = { key: 0 }, Jt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = { key: 1 }, ll = ["d", "stroke", "stroke-width", "fill"], ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = { key: 2 }, nl = ["d", "fill", "onMouseenter", "onClick"], rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "onMouseenter", "onClick"], dl = ["d"], cl = ["d", "stroke"], hl = ["onClick"], vl = ["stroke", "d"], fl = ["cx", "cy", "fill", "stroke"], pl = ["x", "y", "width", "height"], yl = { key: 1 }, kl = ["d", "stroke"], gl = ["d", "fill", "stroke"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["cx", "cy", "fill"], xl = ["cx", "cy", "fill"], wl = { key: 0 }, Cl = ["text-anchor", "x", "y", "fill", "font-size"], Fl = ["text-anchor", "x", "y", "fill", "font-size"], Ml = { key: 2 }, Pl = ["d", "fill", "stroke"], jl = { key: 5 }, Tl = { key: 0 }, Sl = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["d", "stroke", "stroke-width", "fill"], Bl = ["d", "stroke", "stroke-width", "fill"], Al = { key: 1 }, Ll = ["onClick"], Il = ["id"], Wl = ["stop-color"], Vl = ["stop-color"], Gl = ["id"], Ul = ["stop-color"], El = ["stop-color"], Hl = ["stop-color"], Zl = ["stop-color"], Rl = ["stop-color"], ql = ["onMouseenter", "onClick", "d", "fill"], Xl = ["onMouseenter", "onClick", "d"], Yl = ["onMouseenter", "onClick", "d", "fill"], Jl = ["onClick"], Kl = ["stroke", "d"], Ql = ["cx", "cy", "fill", "stroke"], eo = ["x", "y", "width", "height"], to = { key: 1 }, lo = ["d", "stroke"], oo = ["d", "fill", "stroke"], so = ["id"], ao = ["stop-color"], no = ["stop-color"], ro = ["cx", "cy", "fill"], uo = ["cx", "cy", "fill"], io = { key: 0 }, co = ["text-anchor", "x", "y", "fill", "font-size"], ho = ["text-anchor", "x", "y", "fill", "font-size"], vo = { key: 2 }, fo = ["d", "fill", "stroke"], po = {
|
|
17
18
|
key: 4,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, yo = {
|
|
20
21
|
key: 6,
|
|
21
22
|
ref: "source",
|
|
22
23
|
dir: "auto"
|
|
23
|
-
},
|
|
24
|
+
}, ko = ["innerHTML"], go = {
|
|
24
25
|
__name: "vue-ui-3d-bar",
|
|
25
26
|
props: {
|
|
26
27
|
config: {
|
|
@@ -38,10 +39,10 @@ const pt = ["id"], yt = {
|
|
|
38
39
|
},
|
|
39
40
|
emits: ["selectDatapoint"],
|
|
40
41
|
setup(ze, { expose: De, emit: Oe }) {
|
|
41
|
-
const { vue_ui_3d_bar: Ne } =
|
|
42
|
+
const { vue_ui_3d_bar: Ne } = Je(), $ = ze, Z = Oe, R = S(() => !!$.dataset && Object.keys($.dataset).length), b = T(Pe()), Be = T(null), te = T(null), L = T(!1), ie = T(0), de = T(0), t = S({
|
|
42
43
|
get: () => ve(),
|
|
43
44
|
set: (a) => a
|
|
44
|
-
}), { userOptionsVisible: le, setUserOptionsVisibility: ce, keepUserOptionState: he } =
|
|
45
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: ce, keepUserOptionState: he } = ft({ config: t.value }), { svgRef: Ae } = pt({ config: t.value.style.chart.title });
|
|
45
46
|
function ve() {
|
|
46
47
|
const a = Se({
|
|
47
48
|
userConfig: $.config,
|
|
@@ -49,19 +50,19 @@ const pt = ["id"], yt = {
|
|
|
49
50
|
});
|
|
50
51
|
return a.theme ? {
|
|
51
52
|
...Se({
|
|
52
|
-
userConfig:
|
|
53
|
+
userConfig: Qe.vue_ui_3d_bar[a.theme] || $.config,
|
|
53
54
|
defaultConfig: a
|
|
54
55
|
}),
|
|
55
|
-
customPalette:
|
|
56
|
+
customPalette: Ke[a.theme] || Y
|
|
56
57
|
} : a;
|
|
57
58
|
}
|
|
58
|
-
|
|
59
|
+
He(() => $.config, (a) => {
|
|
59
60
|
t.value = ve(), le.value = !t.value.userOptions.showOnChartHover, ge(), ie.value += 1, de.value += 1, E.value.showTable = t.value.table.show;
|
|
60
61
|
}, { deep: !0 });
|
|
61
|
-
const { isPrinting: fe, isImaging: pe, generatePdf: ye, generateImage: ke } =
|
|
62
|
+
const { isPrinting: fe, isImaging: pe, generatePdf: ye, generateImage: ke } = rt({
|
|
62
63
|
elementId: `3d_bar_${b.value}`,
|
|
63
64
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
64
|
-
}),
|
|
65
|
+
}), Le = S(() => et(t.value.customPalette)), E = T({
|
|
65
66
|
showTable: t.value.table.show
|
|
66
67
|
}), F = S(() => $.dataset.series && $.dataset.series.length), o = S(() => ({
|
|
67
68
|
height: t.value.style.chart.box.dimensions.height,
|
|
@@ -78,14 +79,14 @@ const pt = ["id"], yt = {
|
|
|
78
79
|
...l,
|
|
79
80
|
id: Pe(),
|
|
80
81
|
proportion: (l.value || 0) / a,
|
|
81
|
-
color:
|
|
82
|
+
color: tt(l.color) || Le.value[r] || Y[r] || Y[r % Y.length],
|
|
82
83
|
breakdown: l.breakdown ? l.breakdown.sort((c, k) => k.value - c.value) : null
|
|
83
84
|
})).sort((l, r) => r.value - l.value), e = [];
|
|
84
85
|
let h = 0;
|
|
85
86
|
for (let l = 0; l < s.length; l += 1)
|
|
86
87
|
e.push({
|
|
87
88
|
...s[l],
|
|
88
|
-
fill:
|
|
89
|
+
fill: Ie(h, s[l].proportion, s[l].breakdown, s[l].color)
|
|
89
90
|
}), h += s[l].proportion;
|
|
90
91
|
return e;
|
|
91
92
|
}
|
|
@@ -100,7 +101,7 @@ const pt = ["id"], yt = {
|
|
|
100
101
|
tubeRight: `M${o.value.width - o.value.right},${o.value.top + o.value.perspective} ${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective}`,
|
|
101
102
|
tubeBottom: `M${o.value.width - o.value.right},${o.value.height - o.value.bottom - o.value.perspective} C ${o.value.width - o.value.right},${o.value.height} ${o.value.left},${o.value.height} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`
|
|
102
103
|
})), W = T(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
|
|
103
|
-
|
|
104
|
+
Ze(() => {
|
|
104
105
|
ge();
|
|
105
106
|
let a = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
|
|
106
107
|
function h() {
|
|
@@ -109,7 +110,7 @@ const pt = ["id"], yt = {
|
|
|
109
110
|
t.value.style.chart.animation.use && (W.value = 0, h());
|
|
110
111
|
});
|
|
111
112
|
function ge() {
|
|
112
|
-
|
|
113
|
+
lt($.dataset) ? J({
|
|
113
114
|
componentName: "VueUi3dBar",
|
|
114
115
|
type: "dataset"
|
|
115
116
|
}) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
|
|
@@ -147,17 +148,17 @@ const pt = ["id"], yt = {
|
|
|
147
148
|
});
|
|
148
149
|
});
|
|
149
150
|
}
|
|
150
|
-
function
|
|
151
|
-
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, ae = c - v - p - l * s / 2,
|
|
151
|
+
function Ie(a, s, e, h) {
|
|
152
|
+
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, ae = c - v - p - l * s / 2, Ge = ae > o.value.height / 2 ? "top" : "bottom", be = 64, Ue = !!e;
|
|
152
153
|
let xe = null, we = null;
|
|
153
|
-
return
|
|
154
|
+
return Ue && (e = e.map((Ce, Ee) => ({
|
|
154
155
|
...Ce,
|
|
155
156
|
value: Ce.value || 0,
|
|
156
|
-
color: U(h,
|
|
157
|
+
color: U(h, Ee / e.length)
|
|
157
158
|
})), xe = je(
|
|
158
159
|
{ series: e },
|
|
159
160
|
r + o.value.absoluteWidth / 4 - 14,
|
|
160
|
-
|
|
161
|
+
Ge === "top" ? ae - be : ae + be,
|
|
161
162
|
28,
|
|
162
163
|
28,
|
|
163
164
|
1.99999,
|
|
@@ -241,10 +242,10 @@ const pt = ["id"], yt = {
|
|
|
241
242
|
return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
|
|
242
243
|
}
|
|
243
244
|
const oe = T(!1);
|
|
244
|
-
function
|
|
245
|
+
function We(a) {
|
|
245
246
|
oe.value = a;
|
|
246
247
|
}
|
|
247
|
-
function
|
|
248
|
+
function Ve() {
|
|
248
249
|
return F.value ? C.value : $.dataset.percentage;
|
|
249
250
|
}
|
|
250
251
|
const B = S(() => {
|
|
@@ -265,14 +266,14 @@ const pt = ["id"], yt = {
|
|
|
265
266
|
console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
|
|
266
267
|
return;
|
|
267
268
|
}
|
|
268
|
-
|
|
269
|
+
Ye(() => {
|
|
269
270
|
const a = C.value.map((l) => l.value).reduce((l, r) => l + r, 0), s = B.value.head.map((l, r) => [[
|
|
270
271
|
l.name
|
|
271
|
-
], [B.value.body[r]], [isNaN(B.value.body[r] / a) ? "-" : B.value.body[r] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h =
|
|
272
|
-
|
|
272
|
+
], [B.value.body[r]], [isNaN(B.value.body[r] / a) ? "-" : B.value.body[r] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h = st(e);
|
|
273
|
+
at({ csvContent: h, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
273
274
|
});
|
|
274
275
|
}
|
|
275
|
-
const
|
|
276
|
+
const q = S(() => {
|
|
276
277
|
const a = C.value.map((r) => r.value).reduce((r, c) => r + c, 0), s = [
|
|
277
278
|
' <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>',
|
|
278
279
|
z({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
|
|
@@ -319,15 +320,15 @@ const pt = ["id"], yt = {
|
|
|
319
320
|
function me() {
|
|
320
321
|
E.value.showTable = !E.value.showTable;
|
|
321
322
|
}
|
|
322
|
-
const
|
|
323
|
+
const X = T(!1);
|
|
323
324
|
function se() {
|
|
324
|
-
|
|
325
|
+
X.value = !X.value;
|
|
325
326
|
}
|
|
326
327
|
return De({
|
|
327
328
|
generateCsv: _e,
|
|
328
329
|
generatePdf: ye,
|
|
329
330
|
generateImage: ke,
|
|
330
|
-
getData:
|
|
331
|
+
getData: Ve,
|
|
331
332
|
toggleTable: me,
|
|
332
333
|
toggleAnnotator: se
|
|
333
334
|
}), (a, s) => (n(), i("div", {
|
|
@@ -339,16 +340,16 @@ const pt = ["id"], yt = {
|
|
|
339
340
|
onMouseenter: s[2] || (s[2] = () => d(ce)(!0)),
|
|
340
341
|
onMouseleave: s[3] || (s[3] = () => d(ce)(!1))
|
|
341
342
|
}, [
|
|
342
|
-
t.value.userOptions.buttons.annotator ? (n(), G(
|
|
343
|
+
t.value.userOptions.buttons.annotator ? (n(), G(vt, {
|
|
343
344
|
key: 0,
|
|
344
345
|
parent: te.value,
|
|
345
346
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
346
347
|
color: t.value.style.chart.color,
|
|
347
|
-
active:
|
|
348
|
+
active: X.value,
|
|
348
349
|
onClose: se
|
|
349
350
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
350
|
-
t.value.style.chart.title.text ? (n(), i("div",
|
|
351
|
-
(n(), G(
|
|
351
|
+
t.value.style.chart.title.text ? (n(), i("div", gt, [
|
|
352
|
+
(n(), G(nt, {
|
|
352
353
|
key: `title_${ie.value}`,
|
|
353
354
|
config: {
|
|
354
355
|
title: {
|
|
@@ -362,7 +363,7 @@ const pt = ["id"], yt = {
|
|
|
362
363
|
}
|
|
363
364
|
}, null, 8, ["config"]))
|
|
364
365
|
])) : y("", !0),
|
|
365
|
-
t.value.userOptions.show &&
|
|
366
|
+
t.value.userOptions.show && R.value && (d(he) || d(le)) ? (n(), G(ut, {
|
|
366
367
|
key: 2,
|
|
367
368
|
ref_key: "details",
|
|
368
369
|
ref: Be,
|
|
@@ -380,8 +381,8 @@ const pt = ["id"], yt = {
|
|
|
380
381
|
chartElement: te.value,
|
|
381
382
|
position: t.value.userOptions.position,
|
|
382
383
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
383
|
-
isAnnotation:
|
|
384
|
-
onToggleFullscreen:
|
|
384
|
+
isAnnotation: X.value,
|
|
385
|
+
onToggleFullscreen: We,
|
|
385
386
|
onGeneratePdf: d(ye),
|
|
386
387
|
onGenerateCsv: _e,
|
|
387
388
|
onGenerateImage: d(ke),
|
|
@@ -390,7 +391,7 @@ const pt = ["id"], yt = {
|
|
|
390
391
|
style: D({
|
|
391
392
|
visibility: d(he) ? d(le) ? "visible" : "hidden" : "visible"
|
|
392
393
|
})
|
|
393
|
-
},
|
|
394
|
+
}, Re({ _: 2 }, [
|
|
394
395
|
a.$slots.optionPdf ? {
|
|
395
396
|
name: "optionPdf",
|
|
396
397
|
fn: O(() => [
|
|
@@ -434,14 +435,16 @@ const pt = ["id"], yt = {
|
|
|
434
435
|
key: "5"
|
|
435
436
|
} : void 0
|
|
436
437
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
437
|
-
|
|
438
|
+
R.value ? (n(), i("svg", {
|
|
438
439
|
key: 3,
|
|
439
|
-
|
|
440
|
+
ref_key: "svgRef",
|
|
441
|
+
ref: Ae,
|
|
442
|
+
xmlns: d(ot),
|
|
440
443
|
class: Fe({ "vue-data-ui-fullscreen--on": oe.value, "vue-data-ui-fulscreen--off": !oe.value }),
|
|
441
444
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
442
445
|
style: D(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
|
|
443
446
|
}, [
|
|
444
|
-
qe(
|
|
447
|
+
qe(ht),
|
|
445
448
|
a.$slots["chart-background"] ? (n(), i("foreignObject", {
|
|
446
449
|
key: 0,
|
|
447
450
|
x: 0,
|
|
@@ -453,7 +456,7 @@ const pt = ["id"], yt = {
|
|
|
453
456
|
}
|
|
454
457
|
}, [
|
|
455
458
|
j(a.$slots, "chart-background", {}, void 0, !0)
|
|
456
|
-
], 8,
|
|
459
|
+
], 8, _t)) : y("", !0),
|
|
457
460
|
u("defs", null, [
|
|
458
461
|
u("radialGradient", {
|
|
459
462
|
id: `gradient_top${b.value}`
|
|
@@ -461,36 +464,36 @@ const pt = ["id"], yt = {
|
|
|
461
464
|
u("stop", {
|
|
462
465
|
offset: "0%",
|
|
463
466
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
464
|
-
}, null, 8,
|
|
467
|
+
}, null, 8, bt),
|
|
465
468
|
u("stop", {
|
|
466
469
|
offset: "100%",
|
|
467
470
|
"stop-color": t.value.style.chart.bar.color
|
|
468
|
-
}, null, 8,
|
|
469
|
-
], 8,
|
|
471
|
+
}, null, 8, xt)
|
|
472
|
+
], 8, mt),
|
|
470
473
|
u("radialGradient", {
|
|
471
474
|
id: `gradient_left${b.value}`
|
|
472
475
|
}, [
|
|
473
476
|
u("stop", {
|
|
474
477
|
offset: "0%",
|
|
475
478
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
476
|
-
}, null, 8,
|
|
479
|
+
}, null, 8, Ct),
|
|
477
480
|
u("stop", {
|
|
478
481
|
offset: "100%",
|
|
479
482
|
"stop-color": d(g)(t.value.style.chart.bar.color, 20)
|
|
480
|
-
}, null, 8,
|
|
481
|
-
], 8,
|
|
483
|
+
}, null, 8, Ft)
|
|
484
|
+
], 8, wt),
|
|
482
485
|
u("radialGradient", {
|
|
483
486
|
id: `gradient_right${b.value}`
|
|
484
487
|
}, [
|
|
485
488
|
u("stop", {
|
|
486
489
|
offset: "0%",
|
|
487
490
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
488
|
-
}, null, 8,
|
|
491
|
+
}, null, 8, Pt),
|
|
489
492
|
u("stop", {
|
|
490
493
|
offset: "100%",
|
|
491
494
|
"stop-color": d(g)(t.value.style.chart.bar.color, 20)
|
|
492
|
-
}, null, 8,
|
|
493
|
-
], 8,
|
|
495
|
+
}, null, 8, jt)
|
|
496
|
+
], 8, Mt),
|
|
494
497
|
u("linearGradient", {
|
|
495
498
|
id: `gradient_tube_body${b.value}`,
|
|
496
499
|
x1: "0%",
|
|
@@ -501,54 +504,54 @@ const pt = ["id"], yt = {
|
|
|
501
504
|
u("stop", {
|
|
502
505
|
offset: "0%",
|
|
503
506
|
"stop-color": `${t.value.style.chart.bar.color}`
|
|
504
|
-
}, null, 8,
|
|
507
|
+
}, null, 8, St),
|
|
505
508
|
u("stop", {
|
|
506
509
|
offset: "75%",
|
|
507
510
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
508
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, zt),
|
|
509
512
|
u("stop", {
|
|
510
513
|
offset: "100%",
|
|
511
514
|
"stop-color": d(g)(t.value.style.chart.bar.color, 40)
|
|
512
|
-
}, null, 8,
|
|
513
|
-
], 8,
|
|
515
|
+
}, null, 8, Dt)
|
|
516
|
+
], 8, Tt)
|
|
514
517
|
]),
|
|
515
|
-
F.value ? (n(), i("defs",
|
|
518
|
+
F.value ? (n(), i("defs", Ot, [
|
|
516
519
|
(n(!0), i(_, null, m(C.value, (e) => (n(), i("radialGradient", {
|
|
517
520
|
id: `grad_top_${e.id}`
|
|
518
521
|
}, [
|
|
519
522
|
u("stop", {
|
|
520
523
|
offset: "0%",
|
|
521
524
|
"stop-color": d(g)(d(U)(e.color, 0.5), 80)
|
|
522
|
-
}, null, 8,
|
|
525
|
+
}, null, 8, Bt),
|
|
523
526
|
u("stop", {
|
|
524
527
|
offset: "100%",
|
|
525
528
|
"stop-color": e.color
|
|
526
|
-
}, null, 8,
|
|
527
|
-
], 8,
|
|
529
|
+
}, null, 8, At)
|
|
530
|
+
], 8, Nt))), 256)),
|
|
528
531
|
(n(!0), i(_, null, m(C.value, (e) => (n(), i("linearGradient", {
|
|
529
532
|
id: `grad_left_${e.id}`
|
|
530
533
|
}, [
|
|
531
534
|
u("stop", {
|
|
532
535
|
offset: "0%",
|
|
533
536
|
"stop-color": d(g)(e.color, 80)
|
|
534
|
-
}, null, 8,
|
|
537
|
+
}, null, 8, It),
|
|
535
538
|
u("stop", {
|
|
536
539
|
offset: "100%",
|
|
537
540
|
"stop-color": d(g)(d(K)(e.color, 0.5), 100)
|
|
538
|
-
}, null, 8,
|
|
539
|
-
], 8,
|
|
541
|
+
}, null, 8, Wt)
|
|
542
|
+
], 8, Lt))), 256)),
|
|
540
543
|
(n(!0), i(_, null, m(C.value, (e) => (n(), i("linearGradient", {
|
|
541
544
|
id: `grad_right_${e.id}`
|
|
542
545
|
}, [
|
|
543
546
|
u("stop", {
|
|
544
547
|
offset: "2%",
|
|
545
548
|
"stop-color": d(g)(d(U)(e.color, 0.5), 100)
|
|
546
|
-
}, null, 8,
|
|
549
|
+
}, null, 8, Gt),
|
|
547
550
|
u("stop", {
|
|
548
551
|
offset: "100%",
|
|
549
552
|
"stop-color": d(g)(e.color, 80)
|
|
550
|
-
}, null, 8,
|
|
551
|
-
], 8,
|
|
553
|
+
}, null, 8, Ut)
|
|
554
|
+
], 8, Vt))), 256)),
|
|
552
555
|
u("linearGradient", {
|
|
553
556
|
x1: "0%",
|
|
554
557
|
y1: "0%",
|
|
@@ -564,7 +567,7 @@ const pt = ["id"], yt = {
|
|
|
564
567
|
offset: "100%",
|
|
565
568
|
"stop-color": "#FFFFFF33"
|
|
566
569
|
}, null, -1)
|
|
567
|
-
]), 8,
|
|
570
|
+
]), 8, Et)
|
|
568
571
|
])) : y("", !0),
|
|
569
572
|
t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (n(), i("text", {
|
|
570
573
|
key: 2,
|
|
@@ -578,7 +581,7 @@ const pt = ["id"], yt = {
|
|
|
578
581
|
v: W.value,
|
|
579
582
|
s: "%",
|
|
580
583
|
r: t.value.style.chart.dataLabel.rounding
|
|
581
|
-
})), 9,
|
|
584
|
+
})), 9, Ht)) : y("", !0),
|
|
582
585
|
L.value ? (n(), i("g", {
|
|
583
586
|
key: 3,
|
|
584
587
|
onClick: s[0] || (s[0] = (e) => {
|
|
@@ -593,22 +596,22 @@ const pt = ["id"], yt = {
|
|
|
593
596
|
height: 12,
|
|
594
597
|
width: 12,
|
|
595
598
|
fill: "transparent"
|
|
596
|
-
}, null, 8,
|
|
599
|
+
}, null, 8, Zt),
|
|
597
600
|
u("path", {
|
|
598
601
|
d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
|
|
599
602
|
stroke: t.value.style.chart.color,
|
|
600
603
|
"stroke-linecap": "round",
|
|
601
604
|
"stroke-width": "1"
|
|
602
|
-
}, null, 8,
|
|
605
|
+
}, null, 8, Rt),
|
|
603
606
|
u("path", {
|
|
604
607
|
d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
|
|
605
608
|
stroke: t.value.style.chart.color,
|
|
606
609
|
"stroke-linecap": "round",
|
|
607
610
|
"stroke-width": "1"
|
|
608
|
-
}, null, 8,
|
|
611
|
+
}, null, 8, qt)
|
|
609
612
|
])) : y("", !0),
|
|
610
|
-
!t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g",
|
|
611
|
-
F.value ? y("", !0) : (n(), i("g",
|
|
613
|
+
!t.value.style.shape || t.value.style.shape === "bar" ? (n(), i("g", Xt, [
|
|
614
|
+
F.value ? y("", !0) : (n(), i("g", Yt, [
|
|
612
615
|
u("path", {
|
|
613
616
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
614
617
|
d: N.value.right,
|
|
@@ -617,7 +620,7 @@ const pt = ["id"], yt = {
|
|
|
617
620
|
"stroke-linejoin": "round",
|
|
618
621
|
"stroke-linecap": "round",
|
|
619
622
|
fill: "none"
|
|
620
|
-
}, null, 8,
|
|
623
|
+
}, null, 8, Jt),
|
|
621
624
|
u("path", {
|
|
622
625
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
623
626
|
d: N.value.left,
|
|
@@ -626,7 +629,7 @@ const pt = ["id"], yt = {
|
|
|
626
629
|
"stroke-linejoin": "round",
|
|
627
630
|
"stroke-linecap": "round",
|
|
628
631
|
fill: "none"
|
|
629
|
-
}, null, 8,
|
|
632
|
+
}, null, 8, Kt),
|
|
630
633
|
u("path", {
|
|
631
634
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
632
635
|
d: N.value.side,
|
|
@@ -635,7 +638,7 @@ const pt = ["id"], yt = {
|
|
|
635
638
|
"stroke-linejoin": "round",
|
|
636
639
|
"stroke-linecap": "round",
|
|
637
640
|
fill: "none"
|
|
638
|
-
}, null, 8,
|
|
641
|
+
}, null, 8, Qt),
|
|
639
642
|
u("path", {
|
|
640
643
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
641
644
|
d: N.value.topSides,
|
|
@@ -644,9 +647,9 @@ const pt = ["id"], yt = {
|
|
|
644
647
|
"stroke-linejoin": "round",
|
|
645
648
|
"stroke-linecap": "round",
|
|
646
649
|
fill: "none"
|
|
647
|
-
}, null, 8,
|
|
650
|
+
}, null, 8, el)
|
|
648
651
|
])),
|
|
649
|
-
F.value ? y("", !0) : (n(), i("g",
|
|
652
|
+
F.value ? y("", !0) : (n(), i("g", tl, [
|
|
650
653
|
u("path", {
|
|
651
654
|
d: H.value.right,
|
|
652
655
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -654,7 +657,7 @@ const pt = ["id"], yt = {
|
|
|
654
657
|
"stroke-linejoin": "round",
|
|
655
658
|
"stroke-linecap": "round",
|
|
656
659
|
fill: `url(#gradient_right${b.value})`
|
|
657
|
-
}, null, 8,
|
|
660
|
+
}, null, 8, ll),
|
|
658
661
|
u("path", {
|
|
659
662
|
d: H.value.left,
|
|
660
663
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -662,7 +665,7 @@ const pt = ["id"], yt = {
|
|
|
662
665
|
"stroke-linejoin": "round",
|
|
663
666
|
"stroke-linecap": "round",
|
|
664
667
|
fill: `url(#gradient_left${b.value})`
|
|
665
|
-
}, null, 8,
|
|
668
|
+
}, null, 8, ol),
|
|
666
669
|
u("path", {
|
|
667
670
|
d: H.value.top,
|
|
668
671
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -670,9 +673,9 @@ const pt = ["id"], yt = {
|
|
|
670
673
|
"stroke-linejoin": "round",
|
|
671
674
|
"stroke-linecap": "round",
|
|
672
675
|
fill: `url(#gradient_top${b.value})`
|
|
673
|
-
}, null, 8,
|
|
676
|
+
}, null, 8, sl)
|
|
674
677
|
])),
|
|
675
|
-
F.value ? (n(), i("g",
|
|
678
|
+
F.value ? (n(), i("g", al, [
|
|
676
679
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
677
680
|
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
678
681
|
class: "vue-ui-3d-bar-stack"
|
|
@@ -683,21 +686,21 @@ const pt = ["id"], yt = {
|
|
|
683
686
|
onMouseenter: (l) => M(e),
|
|
684
687
|
onClick: (l) => M(e, !0),
|
|
685
688
|
onMouseout: I
|
|
686
|
-
}, null, 40,
|
|
689
|
+
}, null, 40, nl),
|
|
687
690
|
u("path", {
|
|
688
691
|
d: e.fill.left,
|
|
689
692
|
fill: `url(#grad_left_${e.id})`,
|
|
690
693
|
onMouseenter: (l) => M(e),
|
|
691
694
|
onClick: (l) => M(e, !0),
|
|
692
695
|
onMouseout: I
|
|
693
|
-
}, null, 40,
|
|
696
|
+
}, null, 40, rl),
|
|
694
697
|
u("path", {
|
|
695
698
|
d: e.fill.top,
|
|
696
699
|
fill: `url(#grad_top_${e.id})`,
|
|
697
700
|
onMouseenter: (l) => M(e),
|
|
698
701
|
onClick: (l) => M(e, !0),
|
|
699
702
|
onMouseout: I
|
|
700
|
-
}, null, 40,
|
|
703
|
+
}, null, 40, ul),
|
|
701
704
|
u("path", {
|
|
702
705
|
d: e.fill.liningTop,
|
|
703
706
|
stroke: "#FFFFFF",
|
|
@@ -707,13 +710,13 @@ const pt = ["id"], yt = {
|
|
|
707
710
|
onMouseenter: (l) => M(e),
|
|
708
711
|
onClick: (l) => M(e, !0),
|
|
709
712
|
onMouseout: I
|
|
710
|
-
}, null, 40,
|
|
713
|
+
}, null, 40, il),
|
|
711
714
|
u("path", {
|
|
712
715
|
d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
|
|
713
716
|
stroke: "#FFFFFF",
|
|
714
717
|
"stroke-width": "0.5",
|
|
715
718
|
"stroke-linecap": "round"
|
|
716
|
-
}, null, 8,
|
|
719
|
+
}, null, 8, dl)
|
|
717
720
|
], 4))), 256)),
|
|
718
721
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", null, [
|
|
719
722
|
h !== C.value.length - 1 ? (n(), i("path", {
|
|
@@ -724,7 +727,7 @@ const pt = ["id"], yt = {
|
|
|
724
727
|
"stroke-linecap": "round",
|
|
725
728
|
fill: "none",
|
|
726
729
|
style: { "pointer-events": "none" }
|
|
727
|
-
}, null, 8,
|
|
730
|
+
}, null, 8, cl)) : y("", !0)
|
|
728
731
|
]))), 256)),
|
|
729
732
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
730
733
|
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
@@ -736,7 +739,7 @@ const pt = ["id"], yt = {
|
|
|
736
739
|
"stroke-width": "0.5",
|
|
737
740
|
"stroke-linecap": "round",
|
|
738
741
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
739
|
-
}, null, 8,
|
|
742
|
+
}, null, 8, vl),
|
|
740
743
|
!e.fill.miniDonut || x.value ? (n(), i("circle", {
|
|
741
744
|
key: 0,
|
|
742
745
|
cx: e.fill.sidePointer.x + 20,
|
|
@@ -744,7 +747,7 @@ const pt = ["id"], yt = {
|
|
|
744
747
|
r: 2,
|
|
745
748
|
fill: e.color,
|
|
746
749
|
stroke: t.value.style.chart.backgroundColor
|
|
747
|
-
}, null, 8,
|
|
750
|
+
}, null, 8, fl)) : y("", !0),
|
|
748
751
|
(n(), i("foreignObject", {
|
|
749
752
|
x: e.fill.sidePointer.x + 30,
|
|
750
753
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -767,8 +770,8 @@ const pt = ["id"], yt = {
|
|
|
767
770
|
{ datapoint: e, seriesIndex: h }
|
|
768
771
|
)) + ") ", 5)) : y("", !0),
|
|
769
772
|
j(a.$slots, "legend", Me({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
|
|
770
|
-
], 8,
|
|
771
|
-
e.fill.donut && x.value === e.id ? (n(), i("g",
|
|
773
|
+
], 8, pl)),
|
|
774
|
+
e.fill.donut && x.value === e.id ? (n(), i("g", yl, [
|
|
772
775
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
773
776
|
V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
|
|
774
777
|
key: 0,
|
|
@@ -779,7 +782,7 @@ const pt = ["id"], yt = {
|
|
|
779
782
|
"stroke-linecap": "round",
|
|
780
783
|
"stroke-linejoin": "round",
|
|
781
784
|
fill: "none"
|
|
782
|
-
}, null, 8,
|
|
785
|
+
}, null, 8, kl)) : y("", !0)
|
|
783
786
|
]))), 256)),
|
|
784
787
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("path", {
|
|
785
788
|
class: "vue-ui-donut-arc-path",
|
|
@@ -787,7 +790,7 @@ const pt = ["id"], yt = {
|
|
|
787
790
|
fill: `${l.color}`,
|
|
788
791
|
stroke: t.value.style.chart.backgroundColor,
|
|
789
792
|
"stroke-width": 1
|
|
790
|
-
}, null, 8,
|
|
793
|
+
}, null, 8, gl))), 256)),
|
|
791
794
|
u("defs", null, [
|
|
792
795
|
u("radialGradient", {
|
|
793
796
|
id: `hollow_gradient_${b.value}`
|
|
@@ -795,7 +798,7 @@ const pt = ["id"], yt = {
|
|
|
795
798
|
u("stop", {
|
|
796
799
|
offset: "0%",
|
|
797
800
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
798
|
-
}, null, 8,
|
|
801
|
+
}, null, 8, _l),
|
|
799
802
|
s[5] || (s[5] = u("stop", {
|
|
800
803
|
offset: "77%",
|
|
801
804
|
"stop-color": "#FFFFFF20"
|
|
@@ -803,8 +806,8 @@ const pt = ["id"], yt = {
|
|
|
803
806
|
u("stop", {
|
|
804
807
|
offset: "100%",
|
|
805
808
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
806
|
-
}, null, 8,
|
|
807
|
-
], 8,
|
|
809
|
+
}, null, 8, ml)
|
|
810
|
+
], 8, $l)
|
|
808
811
|
]),
|
|
809
812
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
810
813
|
class: "vue-ui-donut-arc-path",
|
|
@@ -812,16 +815,16 @@ const pt = ["id"], yt = {
|
|
|
812
815
|
cy: l.cy,
|
|
813
816
|
r: 28,
|
|
814
817
|
fill: `url(#hollow_gradient_${b.value})`
|
|
815
|
-
}, null, 8,
|
|
818
|
+
}, null, 8, bl))), 256)),
|
|
816
819
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
817
820
|
class: "vue-ui-donut-arc-path",
|
|
818
821
|
cx: l.cx,
|
|
819
822
|
cy: l.cy,
|
|
820
823
|
r: 14,
|
|
821
824
|
fill: t.value.style.chart.backgroundColor
|
|
822
|
-
}, null, 8,
|
|
825
|
+
}, null, 8, xl))), 256)),
|
|
823
826
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
824
|
-
V(l, e.fill.donut, !0) > 6 ? (n(), i("g",
|
|
827
|
+
V(l, e.fill.donut, !0) > 6 ? (n(), i("g", wl, [
|
|
825
828
|
u("text", {
|
|
826
829
|
"text-anchor": d(A)(l, !0, 0).anchor,
|
|
827
830
|
x: d(A)(l, !0, 2).x,
|
|
@@ -838,31 +841,31 @@ const pt = ["id"], yt = {
|
|
|
838
841
|
r: t.value.style.chart.legend.roundingValue
|
|
839
842
|
}),
|
|
840
843
|
{ datapoint: l, seriesIndex: r }
|
|
841
|
-
)) + ") ", 9,
|
|
844
|
+
)) + ") ", 9, Cl),
|
|
842
845
|
u("text", {
|
|
843
846
|
"text-anchor": d(A)(l).anchor,
|
|
844
847
|
x: d(A)(l, !0, 2).x,
|
|
845
848
|
y: d(ee)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
846
849
|
fill: t.value.style.chart.legend.color,
|
|
847
850
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
848
|
-
}, P(l.name), 9,
|
|
851
|
+
}, P(l.name), 9, Fl)
|
|
849
852
|
])) : y("", !0)
|
|
850
853
|
]))), 256))
|
|
851
854
|
])) : y("", !0),
|
|
852
|
-
e.fill.miniDonut && !x.value ? (n(), i("g",
|
|
855
|
+
e.fill.miniDonut && !x.value ? (n(), i("g", Ml, [
|
|
853
856
|
(n(!0), i(_, null, m(e.fill.miniDonut, (l, r) => (n(), i("path", {
|
|
854
857
|
class: "vue-ui-donut-arc-path",
|
|
855
858
|
d: l.arcSlice,
|
|
856
859
|
fill: `${l.color}`,
|
|
857
860
|
stroke: t.value.style.chart.backgroundColor,
|
|
858
861
|
"stroke-width": 0.5
|
|
859
|
-
}, null, 8,
|
|
862
|
+
}, null, 8, Pl))), 256))
|
|
860
863
|
])) : y("", !0)
|
|
861
|
-
], 12,
|
|
864
|
+
], 12, hl))), 256))
|
|
862
865
|
])) : y("", !0)
|
|
863
866
|
])) : y("", !0),
|
|
864
|
-
t.value.style.shape === "tube" ? (n(), i("g",
|
|
865
|
-
F.value ? y("", !0) : (n(), i("g",
|
|
867
|
+
t.value.style.shape === "tube" ? (n(), i("g", jl, [
|
|
868
|
+
F.value ? y("", !0) : (n(), i("g", Tl, [
|
|
866
869
|
u("path", {
|
|
867
870
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
868
871
|
d: N.value.tubeTop,
|
|
@@ -871,7 +874,7 @@ const pt = ["id"], yt = {
|
|
|
871
874
|
"stroke-linejoin": "round",
|
|
872
875
|
"stroke-linecap": "round",
|
|
873
876
|
fill: "none"
|
|
874
|
-
}, null, 8,
|
|
877
|
+
}, null, 8, Sl),
|
|
875
878
|
u("path", {
|
|
876
879
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
877
880
|
d: N.value.tubeLeft,
|
|
@@ -880,7 +883,7 @@ const pt = ["id"], yt = {
|
|
|
880
883
|
"stroke-linejoin": "round",
|
|
881
884
|
"stroke-linecap": "round",
|
|
882
885
|
fill: "none"
|
|
883
|
-
}, null, 8,
|
|
886
|
+
}, null, 8, zl),
|
|
884
887
|
u("path", {
|
|
885
888
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
886
889
|
d: N.value.tubeRight,
|
|
@@ -889,7 +892,7 @@ const pt = ["id"], yt = {
|
|
|
889
892
|
"stroke-linejoin": "round",
|
|
890
893
|
"stroke-linecap": "round",
|
|
891
894
|
fill: "none"
|
|
892
|
-
}, null, 8,
|
|
895
|
+
}, null, 8, Dl),
|
|
893
896
|
u("path", {
|
|
894
897
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
895
898
|
d: N.value.tubeBottom,
|
|
@@ -898,7 +901,7 @@ const pt = ["id"], yt = {
|
|
|
898
901
|
"stroke-linejoin": "round",
|
|
899
902
|
"stroke-linecap": "round",
|
|
900
903
|
fill: "none"
|
|
901
|
-
}, null, 8,
|
|
904
|
+
}, null, 8, Ol),
|
|
902
905
|
u("path", {
|
|
903
906
|
d: H.value.tubeTop,
|
|
904
907
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -906,7 +909,7 @@ const pt = ["id"], yt = {
|
|
|
906
909
|
"stroke-linejoin": "round",
|
|
907
910
|
"stroke-linecap": "round",
|
|
908
911
|
fill: `url(#gradient_top${b.value})`
|
|
909
|
-
}, null, 8,
|
|
912
|
+
}, null, 8, Nl),
|
|
910
913
|
u("path", {
|
|
911
914
|
d: H.value.tubeBody,
|
|
912
915
|
stroke: t.value.style.chart.bar.stroke,
|
|
@@ -914,9 +917,9 @@ const pt = ["id"], yt = {
|
|
|
914
917
|
"stroke-linejoin": "round",
|
|
915
918
|
"stroke-linecap": "round",
|
|
916
919
|
fill: `url(#gradient_tube_body${b.value})`
|
|
917
|
-
}, null, 8,
|
|
920
|
+
}, null, 8, Bl)
|
|
918
921
|
])),
|
|
919
|
-
F.value ? (n(), i("g",
|
|
922
|
+
F.value ? (n(), i("g", Al, [
|
|
920
923
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
921
924
|
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
922
925
|
class: "vue-ui-3d-bar-stack",
|
|
@@ -931,12 +934,12 @@ const pt = ["id"], yt = {
|
|
|
931
934
|
u("stop", {
|
|
932
935
|
offset: "0%",
|
|
933
936
|
"stop-color": d(g)(d(U)(e.color, 0.5), 80)
|
|
934
|
-
}, null, 8,
|
|
937
|
+
}, null, 8, Wl),
|
|
935
938
|
u("stop", {
|
|
936
939
|
offset: "100%",
|
|
937
940
|
"stop-color": d(g)(d(K)(e.color, 0.1), 80)
|
|
938
|
-
}, null, 8,
|
|
939
|
-
], 8,
|
|
941
|
+
}, null, 8, Vl)
|
|
942
|
+
], 8, Il),
|
|
940
943
|
u("linearGradient", {
|
|
941
944
|
id: `gradient_tube_body_${e.id}`,
|
|
942
945
|
x1: "0%",
|
|
@@ -947,24 +950,24 @@ const pt = ["id"], yt = {
|
|
|
947
950
|
u("stop", {
|
|
948
951
|
offset: "0%",
|
|
949
952
|
"stop-color": `${e.color}`
|
|
950
|
-
}, null, 8,
|
|
953
|
+
}, null, 8, Ul),
|
|
951
954
|
u("stop", {
|
|
952
955
|
offset: "10%",
|
|
953
956
|
"stop-color": d(g)(d(K)(e.color, 0.7), 100)
|
|
954
|
-
}, null, 8,
|
|
957
|
+
}, null, 8, El),
|
|
955
958
|
u("stop", {
|
|
956
959
|
offset: "25%",
|
|
957
960
|
"stop-color": d(g)(d(K)(e.color, 0.5), 100)
|
|
958
|
-
}, null, 8,
|
|
961
|
+
}, null, 8, Hl),
|
|
959
962
|
u("stop", {
|
|
960
963
|
offset: "75%",
|
|
961
964
|
"stop-color": d(g)(e.color, 80)
|
|
962
|
-
}, null, 8,
|
|
965
|
+
}, null, 8, Zl),
|
|
963
966
|
u("stop", {
|
|
964
967
|
offset: "100%",
|
|
965
968
|
"stop-color": d(g)(d(U)(e.color, 0.7), 100)
|
|
966
|
-
}, null, 8,
|
|
967
|
-
], 8,
|
|
969
|
+
}, null, 8, Rl)
|
|
970
|
+
], 8, Gl)
|
|
968
971
|
]),
|
|
969
972
|
u("path", {
|
|
970
973
|
onMouseenter: (l) => M(e),
|
|
@@ -976,7 +979,7 @@ const pt = ["id"], yt = {
|
|
|
976
979
|
"stroke-linejoin": "round",
|
|
977
980
|
"stroke-linecap": "round",
|
|
978
981
|
fill: `url(#gradient_tube_body_${e.id})`
|
|
979
|
-
}, null, 40,
|
|
982
|
+
}, null, 40, ql),
|
|
980
983
|
h > 0 ? (n(), i("path", {
|
|
981
984
|
key: 0,
|
|
982
985
|
onMouseenter: (l) => M(e),
|
|
@@ -988,7 +991,7 @@ const pt = ["id"], yt = {
|
|
|
988
991
|
"stroke-linejoin": "round",
|
|
989
992
|
"stroke-linecap": "round",
|
|
990
993
|
fill: "none"
|
|
991
|
-
}, null, 40,
|
|
994
|
+
}, null, 40, Xl)) : y("", !0),
|
|
992
995
|
u("path", {
|
|
993
996
|
onMouseenter: (l) => M(e),
|
|
994
997
|
onClick: (l) => M(e, !0),
|
|
@@ -999,8 +1002,8 @@ const pt = ["id"], yt = {
|
|
|
999
1002
|
"stroke-linejoin": "round",
|
|
1000
1003
|
"stroke-linecap": "round",
|
|
1001
1004
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
1002
|
-
}, null, 40,
|
|
1003
|
-
], 12,
|
|
1005
|
+
}, null, 40, Yl)
|
|
1006
|
+
], 12, Ll))), 256)),
|
|
1004
1007
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
1005
1008
|
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
1006
1009
|
onClick: (l) => Z("selectDatapoint", e)
|
|
@@ -1011,7 +1014,7 @@ const pt = ["id"], yt = {
|
|
|
1011
1014
|
"stroke-width": "0.5",
|
|
1012
1015
|
"stroke-linecap": "round",
|
|
1013
1016
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
1014
|
-
}, null, 8,
|
|
1017
|
+
}, null, 8, Kl),
|
|
1015
1018
|
!e.fill.miniDonut || x.value ? (n(), i("circle", {
|
|
1016
1019
|
key: 0,
|
|
1017
1020
|
cx: e.fill.sidePointer.x + 20,
|
|
@@ -1019,7 +1022,7 @@ const pt = ["id"], yt = {
|
|
|
1019
1022
|
r: 2,
|
|
1020
1023
|
fill: e.color,
|
|
1021
1024
|
stroke: t.value.style.chart.backgroundColor
|
|
1022
|
-
}, null, 8,
|
|
1025
|
+
}, null, 8, Ql)) : y("", !0),
|
|
1023
1026
|
(n(), i("foreignObject", {
|
|
1024
1027
|
x: e.fill.sidePointer.x + 30,
|
|
1025
1028
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -1042,8 +1045,8 @@ const pt = ["id"], yt = {
|
|
|
1042
1045
|
{ datapoint: e, seriesIndex: h }
|
|
1043
1046
|
)) + ") ", 5)) : y("", !0),
|
|
1044
1047
|
j(a.$slots, "legend", Me({ ref_for: !0 }, { datapoint: e, config: t.value, dataset: C.value }), void 0, !0)
|
|
1045
|
-
], 8,
|
|
1046
|
-
e.fill.donut && x.value === e.id ? (n(), i("g",
|
|
1048
|
+
], 8, eo)),
|
|
1049
|
+
e.fill.donut && x.value === e.id ? (n(), i("g", to, [
|
|
1047
1050
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
1048
1051
|
V(l, e.fill.donut, !0) > 6 ? (n(), i("path", {
|
|
1049
1052
|
key: 0,
|
|
@@ -1054,7 +1057,7 @@ const pt = ["id"], yt = {
|
|
|
1054
1057
|
"stroke-linecap": "round",
|
|
1055
1058
|
"stroke-linejoin": "round",
|
|
1056
1059
|
fill: "none"
|
|
1057
|
-
}, null, 8,
|
|
1060
|
+
}, null, 8, lo)) : y("", !0)
|
|
1058
1061
|
]))), 256)),
|
|
1059
1062
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("path", {
|
|
1060
1063
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1062,7 +1065,7 @@ const pt = ["id"], yt = {
|
|
|
1062
1065
|
fill: `${l.color}`,
|
|
1063
1066
|
stroke: t.value.style.chart.backgroundColor,
|
|
1064
1067
|
"stroke-width": 1
|
|
1065
|
-
}, null, 8,
|
|
1068
|
+
}, null, 8, oo))), 256)),
|
|
1066
1069
|
u("defs", null, [
|
|
1067
1070
|
u("radialGradient", {
|
|
1068
1071
|
id: `hollow_gradient_${b.value}`
|
|
@@ -1070,7 +1073,7 @@ const pt = ["id"], yt = {
|
|
|
1070
1073
|
u("stop", {
|
|
1071
1074
|
offset: "0%",
|
|
1072
1075
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
1073
|
-
}, null, 8,
|
|
1076
|
+
}, null, 8, ao),
|
|
1074
1077
|
s[6] || (s[6] = u("stop", {
|
|
1075
1078
|
offset: "77%",
|
|
1076
1079
|
"stop-color": "#FFFFFF20"
|
|
@@ -1078,8 +1081,8 @@ const pt = ["id"], yt = {
|
|
|
1078
1081
|
u("stop", {
|
|
1079
1082
|
offset: "100%",
|
|
1080
1083
|
"stop-color": d(g)(t.value.style.chart.backgroundColor, 0)
|
|
1081
|
-
}, null, 8,
|
|
1082
|
-
], 8,
|
|
1084
|
+
}, null, 8, no)
|
|
1085
|
+
], 8, so)
|
|
1083
1086
|
]),
|
|
1084
1087
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
1085
1088
|
class: "vue-ui-donut-arc-path",
|
|
@@ -1087,16 +1090,16 @@ const pt = ["id"], yt = {
|
|
|
1087
1090
|
cy: l.cy,
|
|
1088
1091
|
r: 28,
|
|
1089
1092
|
fill: `url(#hollow_gradient_${b.value})`
|
|
1090
|
-
}, null, 8,
|
|
1093
|
+
}, null, 8, ro))), 256)),
|
|
1091
1094
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("circle", {
|
|
1092
1095
|
class: "vue-ui-donut-arc-path",
|
|
1093
1096
|
cx: l.cx,
|
|
1094
1097
|
cy: l.cy,
|
|
1095
1098
|
r: 14,
|
|
1096
1099
|
fill: t.value.style.chart.backgroundColor
|
|
1097
|
-
}, null, 8,
|
|
1100
|
+
}, null, 8, uo))), 256)),
|
|
1098
1101
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
1099
|
-
V(l, e.fill.donut, !0) > 6 ? (n(), i("g",
|
|
1102
|
+
V(l, e.fill.donut, !0) > 6 ? (n(), i("g", io, [
|
|
1100
1103
|
u("text", {
|
|
1101
1104
|
"text-anchor": d(A)(l, !0, 0).anchor,
|
|
1102
1105
|
x: d(A)(l, !0, 2).x,
|
|
@@ -1113,35 +1116,35 @@ const pt = ["id"], yt = {
|
|
|
1113
1116
|
r: t.value.style.chart.legend.roundingValue
|
|
1114
1117
|
}),
|
|
1115
1118
|
{ datapoint: l, seriesIndex: r }
|
|
1116
|
-
)) + ") ", 9,
|
|
1119
|
+
)) + ") ", 9, co),
|
|
1117
1120
|
u("text", {
|
|
1118
1121
|
"text-anchor": d(A)(l).anchor,
|
|
1119
1122
|
x: d(A)(l, !0, 2).x,
|
|
1120
1123
|
y: d(ee)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
1121
1124
|
fill: t.value.style.chart.legend.color,
|
|
1122
1125
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1123
|
-
}, P(l.name), 9,
|
|
1126
|
+
}, P(l.name), 9, ho)
|
|
1124
1127
|
])) : y("", !0)
|
|
1125
1128
|
]))), 256))
|
|
1126
1129
|
])) : y("", !0),
|
|
1127
|
-
e.fill.miniDonut && !x.value ? (n(), i("g",
|
|
1130
|
+
e.fill.miniDonut && !x.value ? (n(), i("g", vo, [
|
|
1128
1131
|
(n(!0), i(_, null, m(e.fill.miniDonut, (l, r) => (n(), i("path", {
|
|
1129
1132
|
class: "vue-ui-donut-arc-path",
|
|
1130
1133
|
d: l.arcSlice,
|
|
1131
1134
|
fill: `${l.color}`,
|
|
1132
1135
|
stroke: t.value.style.chart.backgroundColor,
|
|
1133
1136
|
"stroke-width": 0.5
|
|
1134
|
-
}, null, 8,
|
|
1137
|
+
}, null, 8, fo))), 256))
|
|
1135
1138
|
])) : y("", !0)
|
|
1136
|
-
], 12,
|
|
1139
|
+
], 12, Jl))), 256))
|
|
1137
1140
|
])) : y("", !0)
|
|
1138
1141
|
])) : y("", !0),
|
|
1139
1142
|
j(a.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1140
|
-
], 14,
|
|
1141
|
-
a.$slots.watermark ? (n(), i("div",
|
|
1143
|
+
], 14, $t)) : y("", !0),
|
|
1144
|
+
a.$slots.watermark ? (n(), i("div", po, [
|
|
1142
1145
|
j(a.$slots, "watermark", ne(re({ isPrinting: d(fe) || d(pe) })), void 0, !0)
|
|
1143
1146
|
])) : y("", !0),
|
|
1144
|
-
|
|
1147
|
+
R.value ? y("", !0) : (n(), G(it, {
|
|
1145
1148
|
key: 5,
|
|
1146
1149
|
config: {
|
|
1147
1150
|
type: "bar3d",
|
|
@@ -1153,10 +1156,10 @@ const pt = ["id"], yt = {
|
|
|
1153
1156
|
}
|
|
1154
1157
|
}
|
|
1155
1158
|
}, null, 8, ["config"])),
|
|
1156
|
-
a.$slots.source ? (n(), i("div",
|
|
1159
|
+
a.$slots.source ? (n(), i("div", yo, [
|
|
1157
1160
|
j(a.$slots, "source", {}, void 0, !0)
|
|
1158
1161
|
], 512)) : y("", !0),
|
|
1159
|
-
|
|
1162
|
+
R.value && F.value ? (n(), G(ct, {
|
|
1160
1163
|
key: 7,
|
|
1161
1164
|
hideDetails: "",
|
|
1162
1165
|
config: {
|
|
@@ -1173,12 +1176,12 @@ const pt = ["id"], yt = {
|
|
|
1173
1176
|
}
|
|
1174
1177
|
}, {
|
|
1175
1178
|
content: O(() => [
|
|
1176
|
-
(n(), G(
|
|
1179
|
+
(n(), G(dt, {
|
|
1177
1180
|
key: `table_${de.value}`,
|
|
1178
|
-
colNames:
|
|
1179
|
-
head:
|
|
1180
|
-
body:
|
|
1181
|
-
config:
|
|
1181
|
+
colNames: q.value.colNames,
|
|
1182
|
+
head: q.value.head,
|
|
1183
|
+
body: q.value.body,
|
|
1184
|
+
config: q.value.config,
|
|
1182
1185
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1183
1186
|
onClose: s[1] || (s[1] = (e) => E.value.showTable = !1)
|
|
1184
1187
|
}, {
|
|
@@ -1186,7 +1189,7 @@ const pt = ["id"], yt = {
|
|
|
1186
1189
|
u("div", {
|
|
1187
1190
|
innerHTML: e,
|
|
1188
1191
|
style: { display: "flex", "align-items": "center" }
|
|
1189
|
-
}, null, 8,
|
|
1192
|
+
}, null, 8, ko)
|
|
1190
1193
|
]),
|
|
1191
1194
|
td: O(({ td: e }) => [
|
|
1192
1195
|
Xe(P(e.name || e), 1)
|
|
@@ -1196,9 +1199,9 @@ const pt = ["id"], yt = {
|
|
|
1196
1199
|
]),
|
|
1197
1200
|
_: 1
|
|
1198
1201
|
}, 8, ["config"])) : y("", !0)
|
|
1199
|
-
], 44,
|
|
1202
|
+
], 44, kt));
|
|
1200
1203
|
}
|
|
1201
|
-
},
|
|
1204
|
+
}, zo = /* @__PURE__ */ yt(go, [["__scopeId", "data-v-6b564b43"]]);
|
|
1202
1205
|
export {
|
|
1203
|
-
|
|
1206
|
+
zo as default
|
|
1204
1207
|
};
|