vue-data-ui 2.3.75 → 2.3.77
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-BTG7M25z.js → Arrow-Dj2zuGLq.js} +1 -1
- package/dist/{Arrow-CZK77NmC.cjs → Arrow-VCEIU9wi.cjs} +1 -1
- package/dist/{BaseIcon--PMhZ3f-.cjs → BaseIcon-CP535rdy.cjs} +1 -1
- package/dist/{BaseIcon-BAOfPaXs.js → BaseIcon-Cbr8np30.js} +1 -1
- package/dist/{DataTable-DjQzrklZ.cjs → DataTable-CeHw-cqZ.cjs} +1 -1
- package/dist/{DataTable-CQANRZju.js → DataTable-OAUXdIYA.js} +2 -2
- package/dist/{Legend-DX1kv21U.js → Legend-BVByqGqZ.js} +1 -1
- package/dist/{Legend-CtbPB0Bo.cjs → Legend-DfU44fjz.cjs} +1 -1
- package/dist/{Shape-CadGs1Am.cjs → Shape-B6cEKeIN.cjs} +1 -1
- package/dist/{Shape-kqcyauhC.js → Shape-Clmb3iTX.js} +1 -1
- package/dist/{Slicer-yaJs-izT.js → Slicer-BlRQsQu0.js} +12 -12
- package/dist/{Slicer-i_oECHxH.cjs → Slicer-Dt9iqvAA.cjs} +1 -1
- package/dist/{Title-XBiDFYKD.cjs → Title-D9lSjLTg.cjs} +1 -1
- package/dist/{Title-C26I_HC3.js → Title-gvR5aS6q.js} +1 -1
- package/dist/{Tooltip-CH8GmDCG.js → Tooltip-BGmkuAK4.js} +23 -23
- package/dist/Tooltip-C0PSN8vf.cjs +1 -0
- package/dist/{index-Cm4Iry5c.js → index-0KN57HdM.js} +1147 -1145
- package/dist/index-TabZg_HV.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-w7AMWWmz.cjs → useNestedProp-CoLyVvV9.cjs} +1 -1
- package/dist/{useNestedProp-CurQIHTa.js → useNestedProp-NeGalTYk.js} +1 -1
- package/dist/{usePrinter-ZlHxdaEz.cjs → usePrinter--7sLxlpn.cjs} +1 -1
- package/dist/{usePrinter-B8RnF8_q.js → usePrinter-BvKYEc1z.js} +1 -1
- package/dist/{vue-data-ui-B7amrpT-.cjs → vue-data-ui-CNZP_Hk4.cjs} +1 -1
- package/dist/{vue-data-ui-Bj6kEIpq.js → vue-data-ui-Du0OReJH.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +9 -9
- package/dist/vue-ui-3d-bar-AUSKibZS.cjs +19 -0
- package/dist/{vue-ui-3d-bar-Bg9IgVVc.js → vue-ui-3d-bar-Dasj0J9j.js} +342 -342
- package/dist/{vue-ui-accordion-1WxrfiCH.cjs → vue-ui-accordion-0uSZBHsp.cjs} +1 -1
- package/dist/{vue-ui-accordion-Cb6XBCbu.js → vue-ui-accordion-CczyfFaC.js} +3 -3
- package/dist/vue-ui-age-pyramid-CjBr4CXC.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BhwmnQru.js → vue-ui-age-pyramid-DZ7vnojR.js} +22 -22
- package/dist/{vue-ui-annotator-BiHQvMdW.js → vue-ui-annotator-BWwxpp_v.js} +39 -39
- package/dist/{vue-ui-annotator-B22cdlhA.cjs → vue-ui-annotator-CyYSiELS.cjs} +2 -2
- package/dist/{vue-ui-candlestick-D7DjdYyw.cjs → vue-ui-candlestick-B9oSgBPN.cjs} +2 -2
- package/dist/{vue-ui-candlestick-Cl9dyh4l.js → vue-ui-candlestick-Dr9aS-Ku.js} +34 -34
- package/dist/vue-ui-carousel-table-CjDze14W.cjs +1 -0
- package/dist/{vue-ui-carousel-table-QsONwqNz.js → vue-ui-carousel-table-D2LK5a9p.js} +83 -81
- package/dist/{vue-ui-chestnut-Drb01WMC.js → vue-ui-chestnut-DIqR-vZo.js} +291 -288
- package/dist/vue-ui-chestnut-RhZaDeRG.cjs +6 -0
- package/dist/vue-ui-cursor-7QhVReKN.cjs +1 -0
- package/dist/{vue-ui-cursor-BP04_XbB.js → vue-ui-cursor-BxHK0bB7.js} +20 -20
- package/dist/{vue-ui-dashboard-Z63RE1XS.cjs → vue-ui-dashboard-DO-zVgDu.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BWdx5gjZ.js → vue-ui-dashboard-fYKECIc7.js} +2 -2
- package/dist/{vue-ui-digits-DUhkLcmd.js → vue-ui-digits-B8hAl2RW.js} +2 -2
- package/dist/{vue-ui-digits-CBQaHW6a.cjs → vue-ui-digits-CSsB4Zlr.cjs} +1 -1
- package/dist/{vue-ui-donut-DRPSwmGr.js → vue-ui-donut-D5DTvWXB.js} +60 -60
- package/dist/vue-ui-donut-D8evqk7g.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BUdWXb-N.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-gRXAyxq8.js → vue-ui-donut-evolution-CPTiiUY6.js} +106 -106
- package/dist/{vue-ui-dumbbell-CQo5jqSK.js → vue-ui-dumbbell-CfeTfNTU.js} +17 -17
- package/dist/{vue-ui-dumbbell-DLfZcrXq.cjs → vue-ui-dumbbell-Fm-Bqc5W.cjs} +1 -1
- package/dist/{vue-ui-flow-BlX2-eEC.cjs → vue-ui-flow-24WIcZVL.cjs} +1 -1
- package/dist/{vue-ui-flow-BQ3UbMUb.js → vue-ui-flow-B2WWQo6P.js} +28 -28
- package/dist/{vue-ui-galaxy-Cax5o6Yl.cjs → vue-ui-galaxy-DkRizJxm.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BHWugUKG.js → vue-ui-galaxy-yfpv7Hky.js} +22 -22
- package/dist/vue-ui-gauge-BkB7BlNM.cjs +1 -0
- package/dist/{vue-ui-gauge-DG6_kvKh.js → vue-ui-gauge-CRVB3wlV.js} +99 -108
- package/dist/{vue-ui-gizmo-bV148qAf.js → vue-ui-gizmo-DJYOx_YH.js} +2 -2
- package/dist/{vue-ui-gizmo-D9Vh9Rmr.cjs → vue-ui-gizmo-Zyo15xm3.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BZZUvnMa.js → vue-ui-heatmap-C6fDCc7O.js} +17 -17
- package/dist/{vue-ui-heatmap-B_ELXKKV.cjs → vue-ui-heatmap-uynT8kN9.cjs} +1 -1
- package/dist/{vue-ui-kpi-C5v7qQvZ.js → vue-ui-kpi-CGC4h9uF.js} +3 -3
- package/dist/{vue-ui-kpi-CwVAvTB2.cjs → vue-ui-kpi-CqEEFb04.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BdKizX_J.js → vue-ui-mini-loader-2A0YUUIB.js} +2 -2
- package/dist/{vue-ui-mini-loader-DZNY-3rr.cjs → vue-ui-mini-loader-ku9X16tx.cjs} +1 -1
- package/dist/{vue-ui-molecule-bva6OvPc.cjs → vue-ui-molecule-Bv1IBx1L.cjs} +1 -1
- package/dist/{vue-ui-molecule-MKyrhqqm.js → vue-ui-molecule-CwcUmg-k.js} +33 -33
- package/dist/vue-ui-mood-radar-Bf5g118s.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BNIFFvq0.js → vue-ui-mood-radar-V04waMIM.js} +129 -132
- package/dist/{vue-ui-nested-donuts-CxdZC6JF.cjs → vue-ui-nested-donuts-DgVrAToy.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-BDAlZrMF.js → vue-ui-nested-donuts-DoFALZtp.js} +98 -98
- package/dist/{vue-ui-onion-Df7YcsVR.cjs → vue-ui-onion-BdZC2qt8.cjs} +1 -1
- package/dist/{vue-ui-onion-CFa4VD-w.js → vue-ui-onion-_GaJ78t_.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs → vue-ui-parallel-coordinate-plot-BHYr1iqZ.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DmqYXT-U.js → vue-ui-parallel-coordinate-plot-Eh0gXDVG.js} +24 -24
- package/dist/vue-ui-quadrant-BEhnCog2.cjs +1 -0
- package/dist/{vue-ui-quadrant-D5jHkq9g.js → vue-ui-quadrant-C4LHosyR.js} +35 -35
- package/dist/{vue-ui-quick-chart-BjXXSx7V.js → vue-ui-quick-chart-IqY67olA.js} +69 -69
- package/dist/{vue-ui-quick-chart-Dt9AsEU6.cjs → vue-ui-quick-chart-YFEmJP_6.cjs} +1 -1
- package/dist/{vue-ui-radar-CW8EKW4o.js → vue-ui-radar-BSsDvnVt.js} +39 -39
- package/dist/{vue-ui-radar-2EuZr7i2.cjs → vue-ui-radar-Cel3ZnfN.cjs} +1 -1
- package/dist/{vue-ui-rating-eSWsmJUU.js → vue-ui-rating-Bb1xXC_r.js} +6 -6
- package/dist/{vue-ui-rating-DrtLvVA0.cjs → vue-ui-rating-D-qBEM1w.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DiUCpEqa.js → vue-ui-relation-circle-CSqi6DqF.js} +29 -29
- package/dist/vue-ui-relation-circle-fb8g1ms8.cjs +1 -0
- package/dist/{vue-ui-rings-CHq-a5ZS.cjs → vue-ui-rings-Bgb538Wa.cjs} +2 -2
- package/dist/{vue-ui-rings-BxhLbyG0.js → vue-ui-rings-ezoy9PIq.js} +31 -31
- package/dist/vue-ui-scatter-B7z6AOLU.cjs +1 -0
- package/dist/{vue-ui-scatter-DQchX_mM.js → vue-ui-scatter-Ci5l--xS.js} +95 -95
- package/dist/{vue-ui-screenshot-CLa9vMzM.js → vue-ui-screenshot-C2X1am1d.js} +4 -4
- package/dist/{vue-ui-screenshot-SLSIpqx2.cjs → vue-ui-screenshot-DLXQWgeo.cjs} +1 -1
- package/dist/vue-ui-skeleton-CYeXVNFu.cjs +41 -0
- package/dist/{vue-ui-skeleton-C1oUnz7R.js → vue-ui-skeleton-dgMXr8k9.js} +96 -96
- package/dist/{vue-ui-smiley-Daw8fPDy.cjs → vue-ui-smiley-CDhXPYa7.cjs} +1 -1
- package/dist/{vue-ui-smiley-CmWHSt1S.js → vue-ui-smiley-DXb5VqXk.js} +2 -2
- package/dist/vue-ui-spark-trend-1hcgCu8H.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CO69Dg31.js → vue-ui-spark-trend-Bv1-LLRs.js} +21 -21
- package/dist/vue-ui-sparkbar-CWdFQTkx.cjs +1 -0
- package/dist/{vue-ui-sparkbar-BRlqpe4e.js → vue-ui-sparkbar-CbmzVXcW.js} +10 -10
- package/dist/{vue-ui-sparkgauge-CbuFESsM.js → vue-ui-sparkgauge-CHODK9jn.js} +8 -8
- package/dist/{vue-ui-sparkgauge-CCxKzDjT.cjs → vue-ui-sparkgauge-r7VEpPtv.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B4-hrDHz.js → vue-ui-sparkhistogram-CKiO1LGI.js} +111 -101
- package/dist/vue-ui-sparkhistogram-Do5qTT2U.cjs +1 -0
- package/dist/vue-ui-sparkline-Bw3dw-vW.cjs +1 -0
- package/dist/{vue-ui-sparkline-DlXNmG6M.js → vue-ui-sparkline-DLU7hK0K.js} +34 -34
- package/dist/{vue-ui-sparkstackbar-J1YowQmP.js → vue-ui-sparkstackbar-B3TQVHlU.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CDmZeXnq.cjs → vue-ui-sparkstackbar-CD-HZ4Rq.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CXGWukoJ.cjs → vue-ui-stackbar-2WJh-QtY.cjs} +2 -2
- package/dist/{vue-ui-stackbar-CKIDqkkY.js → vue-ui-stackbar-BnIeIS12.js} +202 -200
- package/dist/{vue-ui-strip-plot-JVLwIy0j.js → vue-ui-strip-plot-CddHmHSX.js} +26 -26
- package/dist/{vue-ui-strip-plot-CvmoRcYN.cjs → vue-ui-strip-plot-DyL8FH29.cjs} +1 -1
- package/dist/{vue-ui-table-BSi_cHh7.js → vue-ui-table-BZ6yonvx.js} +1 -1
- package/dist/{vue-ui-table-Dqi64VE7.cjs → vue-ui-table-_Sxgp6iC.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CfvW3rcm.js → vue-ui-table-heatmap-CYOgunS2.js} +24 -24
- package/dist/{vue-ui-table-heatmap-BwghEh5t.cjs → vue-ui-table-heatmap-DGWhBhp0.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Y6Lrrzxy.js → vue-ui-table-sparkline-D33NLyyx.js} +26 -26
- package/dist/{vue-ui-table-sparkline-bIy3kkHB.cjs → vue-ui-table-sparkline-IVMQG6tp.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDtxYr7w.cjs → vue-ui-thermometer-8XDaKLt5.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BPTs7Nxc.js → vue-ui-thermometer-DMwZ2O16.js} +40 -40
- package/dist/{vue-ui-timer-DRSSYxOX.cjs → vue-ui-timer-B3_-DhDj.cjs} +1 -1
- package/dist/{vue-ui-timer-CkB7eZaE.js → vue-ui-timer-D59VSia6.js} +8 -8
- package/dist/{vue-ui-tiremarks-BbOaoY8S.js → vue-ui-tiremarks-Bczw28td.js} +18 -18
- package/dist/{vue-ui-tiremarks-Bttwg3-p.cjs → vue-ui-tiremarks-Br_jF9bH.cjs} +1 -1
- package/dist/{vue-ui-treemap-CoaK3wBl.js → vue-ui-treemap-DGJNw2WX.js} +29 -29
- package/dist/{vue-ui-treemap-Chq0WQPe.cjs → vue-ui-treemap-DLHdaXss.cjs} +1 -1
- package/dist/vue-ui-vertical-bar-BGYrmyAK.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-BA43_uHV.js → vue-ui-vertical-bar-De0N4Ggo.js} +14 -14
- package/dist/{vue-ui-waffle-NBjY0mko.cjs → vue-ui-waffle-CJPVEDgC.cjs} +1 -1
- package/dist/{vue-ui-waffle-BoEf8CcG.js → vue-ui-waffle-CnXLf5xd.js} +84 -84
- package/dist/{vue-ui-wheel-Bgo2jpj0.js → vue-ui-wheel-Bciq0JM9.js} +24 -24
- package/dist/{vue-ui-wheel-t5bI4a-P.cjs → vue-ui-wheel-CAKYmn0b.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DPW_-Hzz.cjs → vue-ui-word-cloud-4ooTRM2O.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Jd9_JUyi.js → vue-ui-word-cloud-CWm6r9Zf.js} +19 -19
- package/dist/{vue-ui-xy-BMBYAC4z.js → vue-ui-xy-B5nBhYgd.js} +351 -350
- package/dist/vue-ui-xy-Ch5hDEec.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-LOsQ_DM-.js → vue-ui-xy-canvas-CzLTSmDS.js} +18 -18
- package/dist/vue-ui-xy-canvas-d-EE9_dN.cjs +9 -0
- package/package.json +1 -1
- package/dist/Tooltip-DxtWkIt5.cjs +0 -1
- package/dist/index-DYUBiaGS.cjs +0 -4
- package/dist/vue-ui-3d-bar-BAz41kL7.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +0 -1
- package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +0 -1
- package/dist/vue-ui-chestnut-CyE8MafY.cjs +0 -6
- package/dist/vue-ui-cursor-DZeTQBKz.cjs +0 -1
- package/dist/vue-ui-donut-D2YJYgOB.cjs +0 -1
- package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +0 -1
- package/dist/vue-ui-gauge-DpGcv_00.cjs +0 -1
- package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +0 -1
- package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +0 -1
- package/dist/vue-ui-relation-circle-C60OTe88.cjs +0 -1
- package/dist/vue-ui-scatter-DZUZUbnk.cjs +0 -1
- package/dist/vue-ui-skeleton-ClpTCY1x.cjs +0 -41
- package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +0 -1
- package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +0 -1
- package/dist/vue-ui-sparkline-BZTEi9YC.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +0 -4
- package/dist/vue-ui-xy-CBHEBcZK.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +0 -9
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as He, c as we, t as Ze, a as qe, p as K, b as Xe, d as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import { u as Me } from "./useNestedProp-
|
|
9
|
-
import { _ as
|
|
10
|
-
const oe = (U) => (Ue("data-v-
|
|
1
|
+
import { computed as S, ref as j, watch as Oe, onMounted as We, openBlock as r, createElementBlock as i, normalizeClass as be, normalizeStyle as z, createBlock as H, createCommentVNode as y, unref as c, createSlots as Ge, withCtx as I, renderSlot as D, normalizeProps as Y, guardReactiveProps as J, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ve, nextTick as Ae, pushScopeId as Ue, popScopeId as Ee } from "vue";
|
|
2
|
+
import { u as He, c as we, t as Ze, a as qe, p as K, b as Xe, d as Re, o as Ye, e as Q, g as ne, l as A, m as Ce, f as T, X as Je, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Ke, r as Qe } from "./index-0KN57HdM.js";
|
|
3
|
+
import { _ as et } from "./Title-gvR5aS6q.js";
|
|
4
|
+
import { u as tt, U as lt } from "./usePrinter-BvKYEc1z.js";
|
|
5
|
+
import ot from "./vue-ui-skeleton-dgMXr8k9.js";
|
|
6
|
+
import { D as st } from "./DataTable-OAUXdIYA.js";
|
|
7
|
+
import at from "./vue-ui-accordion-CczyfFaC.js";
|
|
8
|
+
import { u as Me } from "./useNestedProp-NeGalTYk.js";
|
|
9
|
+
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const oe = (U) => (Ue("data-v-c6fbaa1b"), U = U(), Ee(), U), rt = ["id"], ut = ["xmlns", "viewBox"], it = ["id"], dt = ["stop-color"], ct = ["stop-color"], ht = ["id"], vt = ["stop-color"], ft = ["stop-color"], pt = ["id"], yt = ["stop-color"], kt = ["stop-color"], gt = ["id"], $t = ["stop-color"], _t = ["stop-color"], mt = ["stop-color"], xt = { key: 0 }, bt = ["id"], wt = ["stop-color"], Ct = ["stop-color"], Ft = ["id"], Mt = ["stop-color"], Pt = ["stop-color"], St = ["id"], jt = ["stop-color"], Tt = ["stop-color"], zt = ["id"], Dt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
11
11
|
offset: "0%",
|
|
12
12
|
"stop-color": "#FFFFFF"
|
|
13
|
-
}, null, -1)),
|
|
13
|
+
}, null, -1)), Nt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
14
14
|
offset: "100%",
|
|
15
15
|
"stop-color": "#FFFFFF33"
|
|
16
|
-
}, null, -1)),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
],
|
|
16
|
+
}, null, -1)), Bt = [
|
|
17
|
+
Dt,
|
|
18
|
+
Nt
|
|
19
|
+
], It = ["x", "y", "font-size", "font-weight", "fill"], Lt = ["x", "y"], Ot = ["d", "stroke"], Wt = ["d", "stroke"], Gt = { key: 3 }, Vt = { key: 0 }, At = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ut = ["stroke-dasharray", "d", "stroke", "stroke-width"], Et = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ht = ["stroke-dasharray", "d", "stroke", "stroke-width"], Zt = { key: 1 }, qt = ["d", "stroke", "stroke-width", "fill"], Xt = ["d", "stroke", "stroke-width", "fill"], Rt = ["d", "stroke", "stroke-width", "fill"], Yt = { key: 2 }, Jt = ["d", "fill", "onMouseenter", "onClick"], Kt = ["d", "fill", "onMouseenter", "onClick"], Qt = ["d", "fill", "onMouseenter", "onClick"], el = ["d", "onMouseenter", "onClick"], tl = ["d"], ll = ["d", "stroke"], ol = ["onClick"], sl = ["stroke", "d"], al = ["cx", "cy", "fill", "stroke"], nl = ["x", "y", "width", "height"], rl = { key: 1 }, ul = ["d", "stroke"], il = ["d", "fill", "stroke"], dl = ["id"], cl = ["stop-color"], hl = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
20
20
|
offset: "77%",
|
|
21
21
|
"stop-color": "#FFFFFF20"
|
|
22
|
-
}, null, -1)),
|
|
22
|
+
}, null, -1)), vl = ["stop-color"], fl = ["cx", "cy", "fill"], pl = ["cx", "cy", "fill"], yl = { key: 0 }, kl = ["text-anchor", "x", "y", "fill", "font-size"], gl = ["text-anchor", "x", "y", "fill", "font-size"], $l = { key: 2 }, _l = ["d", "fill", "stroke"], ml = { key: 4 }, xl = { key: 0 }, bl = ["stroke-dasharray", "d", "stroke", "stroke-width"], wl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Cl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Fl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ml = ["d", "stroke", "stroke-width", "fill"], Pl = ["d", "stroke", "stroke-width", "fill"], Sl = { key: 1 }, jl = ["onClick"], Tl = ["id"], zl = ["stop-color"], Dl = ["stop-color"], Nl = ["id"], Bl = ["stop-color"], Il = ["stop-color"], Ll = ["stop-color"], Ol = ["stop-color"], Wl = ["stop-color"], Gl = ["onMouseenter", "onClick", "d", "fill"], Vl = ["onMouseenter", "onClick", "d"], Al = ["onMouseenter", "onClick", "d", "fill"], Ul = ["onClick"], El = ["stroke", "d"], Hl = ["cx", "cy", "fill", "stroke"], Zl = ["x", "y", "width", "height"], ql = { key: 1 }, Xl = ["d", "stroke"], Rl = ["d", "fill", "stroke"], Yl = ["id"], Jl = ["stop-color"], Kl = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
23
23
|
offset: "77%",
|
|
24
24
|
"stop-color": "#FFFFFF20"
|
|
25
|
-
}, null, -1)),
|
|
25
|
+
}, null, -1)), Ql = ["stop-color"], eo = ["cx", "cy", "fill"], to = ["cx", "cy", "fill"], lo = { key: 0 }, oo = ["text-anchor", "x", "y", "fill", "font-size"], so = ["text-anchor", "x", "y", "fill", "font-size"], ao = { key: 2 }, no = ["d", "fill", "stroke"], ro = {
|
|
26
26
|
key: 3,
|
|
27
27
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
28
|
+
}, uo = ["innerHTML"], io = {
|
|
29
29
|
__name: "vue-ui-3d-bar",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -43,14 +43,14 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
43
43
|
},
|
|
44
44
|
emits: ["selectDatapoint"],
|
|
45
45
|
setup(U, { expose: Pe, emit: Z }) {
|
|
46
|
-
const $ = U, { vue_ui_3d_bar:
|
|
46
|
+
const $ = U, { vue_ui_3d_bar: Se } = He(), q = S(() => !!$.dataset && Object.keys($.dataset).length), x = j(we()), je = j(null), re = j(null), O = j(!1), ue = j(0), ie = j(0), t = S({
|
|
47
47
|
get: () => de(),
|
|
48
48
|
set: (a) => a
|
|
49
49
|
});
|
|
50
50
|
function de() {
|
|
51
51
|
const a = Me({
|
|
52
52
|
userConfig: $.config,
|
|
53
|
-
defaultConfig:
|
|
53
|
+
defaultConfig: Se
|
|
54
54
|
});
|
|
55
55
|
return a.theme ? {
|
|
56
56
|
...Me({
|
|
@@ -63,39 +63,39 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
63
63
|
Oe(() => $.config, (a) => {
|
|
64
64
|
t.value = de(), pe(), ue.value += 1, ie.value += 1;
|
|
65
65
|
}, { deep: !0 });
|
|
66
|
-
const { isPrinting: ce, isImaging: he, generatePdf: ve, generateImage: fe } =
|
|
67
|
-
elementId: `3d_bar_${
|
|
66
|
+
const { isPrinting: ce, isImaging: he, generatePdf: ve, generateImage: fe } = tt({
|
|
67
|
+
elementId: `3d_bar_${x.value}`,
|
|
68
68
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
69
|
-
}),
|
|
69
|
+
}), Te = S(() => Xe(t.value.customPalette)), X = j({
|
|
70
70
|
showTable: t.value.table.show
|
|
71
|
-
}),
|
|
71
|
+
}), F = S(() => $.dataset.series && $.dataset.series.length), o = S(() => ({
|
|
72
72
|
height: t.value.style.chart.box.dimensions.height,
|
|
73
73
|
width: t.value.style.chart.box.dimensions.width,
|
|
74
|
-
absoluteWidth: t.value.style.chart.box.dimensions.width * (
|
|
74
|
+
absoluteWidth: t.value.style.chart.box.dimensions.width * (F.value ? 2 : 1),
|
|
75
75
|
top: t.value.style.chart.box.dimensions.top,
|
|
76
76
|
bottom: t.value.style.chart.box.dimensions.bottom,
|
|
77
77
|
left: t.value.style.chart.box.dimensions.left,
|
|
78
78
|
right: t.value.style.chart.box.dimensions.right,
|
|
79
79
|
perspective: t.value.style.chart.box.dimensions.perspective
|
|
80
|
-
})),
|
|
81
|
-
if (
|
|
80
|
+
})), C = S(() => {
|
|
81
|
+
if (F.value) {
|
|
82
82
|
const a = $.dataset.series.map((l) => l.value || 0).reduce((l, n) => l + n, 0), s = $.dataset.series.map((l, n) => ({
|
|
83
83
|
...l,
|
|
84
84
|
id: we(),
|
|
85
85
|
proportion: (l.value || 0) / a,
|
|
86
|
-
color:
|
|
86
|
+
color: Re(l.color) || Te.value[n] || K[n] || K[n % K.length],
|
|
87
87
|
breakdown: l.breakdown ? l.breakdown.sort((d, k) => k.value - d.value) : null
|
|
88
88
|
})).sort((l, n) => n.value - l.value), e = [];
|
|
89
|
-
let
|
|
89
|
+
let h = 0;
|
|
90
90
|
for (let l = 0; l < s.length; l += 1)
|
|
91
91
|
e.push({
|
|
92
92
|
...s[l],
|
|
93
|
-
fill:
|
|
94
|
-
}),
|
|
93
|
+
fill: ze(h, s[l].proportion, s[l].breakdown, s[l].color)
|
|
94
|
+
}), h += s[l].proportion;
|
|
95
95
|
return e;
|
|
96
96
|
}
|
|
97
97
|
return null;
|
|
98
|
-
}), N =
|
|
98
|
+
}), N = S(() => ({
|
|
99
99
|
right: `M${o.value.width / 2},${o.value.top} ${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} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
|
|
100
100
|
left: `M${o.value.width / 2},${o.value.top} ${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective} ${o.value.width / 2},${o.value.height - o.value.bottom}`,
|
|
101
101
|
side: `M${o.value.width / 2},${o.value.height - o.value.bottom} ${o.value.width / 2},${o.value.top + o.value.perspective * 2}`,
|
|
@@ -104,17 +104,17 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
104
104
|
tubeLeft: `M${o.value.left},${o.value.top + o.value.perspective} ${o.value.left},${o.value.height - o.value.bottom - o.value.perspective}`,
|
|
105
105
|
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}`,
|
|
106
106
|
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}`
|
|
107
|
-
})), G =
|
|
107
|
+
})), G = j(t.value.style.chart.animation.use ? 0 : $.dataset.percentage);
|
|
108
108
|
We(() => {
|
|
109
109
|
pe();
|
|
110
110
|
let a = 0, s = t.value.style.chart.animation.speed, e = 5e-3 * t.value.style.chart.animation.acceleration;
|
|
111
|
-
function
|
|
112
|
-
G.value += s + a, a += e, G.value < $.dataset.percentage ? requestAnimationFrame(
|
|
111
|
+
function h() {
|
|
112
|
+
G.value += s + a, a += e, G.value < $.dataset.percentage ? requestAnimationFrame(h) : G.value = $.dataset.percentage;
|
|
113
113
|
}
|
|
114
|
-
t.value.style.chart.animation.use && (G.value = 0,
|
|
114
|
+
t.value.style.chart.animation.use && (G.value = 0, h());
|
|
115
115
|
});
|
|
116
116
|
function pe() {
|
|
117
|
-
|
|
117
|
+
Ye($.dataset) ? Q({
|
|
118
118
|
componentName: "VueUi3dBar",
|
|
119
119
|
type: "dataset"
|
|
120
120
|
}) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
|
|
@@ -128,7 +128,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
128
128
|
property: e,
|
|
129
129
|
index: s
|
|
130
130
|
});
|
|
131
|
-
}), a.breakdown && a.breakdown.forEach((e,
|
|
131
|
+
}), a.breakdown && a.breakdown.forEach((e, h) => {
|
|
132
132
|
ne({
|
|
133
133
|
datasetObject: e,
|
|
134
134
|
requiredAttributes: ["name", "value"]
|
|
@@ -137,7 +137,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
137
137
|
componentName: "VueUi3dBar",
|
|
138
138
|
type: "datasetSerieAttribute",
|
|
139
139
|
property: l,
|
|
140
|
-
index: `${s} - ${
|
|
140
|
+
index: `${s} - ${h}`
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
});
|
|
@@ -152,17 +152,17 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: n, height: d, bottom: k, right:
|
|
155
|
+
function ze(a, s, e, h) {
|
|
156
|
+
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: n, height: d, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, ae = d - v - p - l * s / 2, Be = ae > o.value.height / 2 ? "top" : "bottom", $e = 64, Ie = !!e;
|
|
157
157
|
let _e = null, me = null;
|
|
158
158
|
return Ie && (e = e.map((xe, Le) => ({
|
|
159
159
|
...xe,
|
|
160
160
|
value: xe.value || 0,
|
|
161
|
-
color: A(
|
|
161
|
+
color: A(h, Le / e.length)
|
|
162
162
|
})), _e = Ce(
|
|
163
163
|
{ series: e },
|
|
164
164
|
n + o.value.absoluteWidth / 4 - 14,
|
|
165
|
-
Be === "top" ? ae -
|
|
165
|
+
Be === "top" ? ae - $e : ae + $e,
|
|
166
166
|
28,
|
|
167
167
|
28,
|
|
168
168
|
1.99999,
|
|
@@ -173,7 +173,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
173
173
|
14
|
|
174
174
|
), me = Ce(
|
|
175
175
|
{ series: e },
|
|
176
|
-
n -
|
|
176
|
+
n - w + 20,
|
|
177
177
|
d - v - p - l * s / 2,
|
|
178
178
|
6,
|
|
179
179
|
6,
|
|
@@ -187,116 +187,116 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
187
187
|
donut: _e,
|
|
188
188
|
miniDonut: me,
|
|
189
189
|
sidePointer: {
|
|
190
|
-
x: n -
|
|
190
|
+
x: n - w,
|
|
191
191
|
y: d - v - p - l * s / 2,
|
|
192
192
|
topY: d - v - p - l * s,
|
|
193
193
|
height: l * s
|
|
194
194
|
},
|
|
195
195
|
apexBottom: { y: d - v, x: n / 2 },
|
|
196
196
|
apexTop: { y: d - v - l * s, x: n / 2 },
|
|
197
|
-
right: `M${n / 2},${d - v} ${n / 2},${d - v - l * s} ${n -
|
|
197
|
+
right: `M${n / 2},${d - v} ${n / 2},${d - v - l * s} ${n - w},${d - v - p - l * s} ${n - w},${d - v - p}Z`,
|
|
198
198
|
left: `M${n / 2},${d - v} ${n / 2},${d - v - l * s} ${f}, ${d - v - p - l * s} ${f},${d - v - p}Z`,
|
|
199
|
-
liningTop: `M${f},${d - v - p - l * s} ${n / 2},${d - v - l * s} ${n -
|
|
200
|
-
liningTopShade: `M${f},${d - v - p - l * s - 0.5} ${n / 2},${d - v - l * s - 0.5} ${n -
|
|
201
|
-
top: `M${n / 2},${d - v - l * s} ${f},${d - v - p - l * s} ${n / 2},${d - v - p * 2 - l * s} ${n -
|
|
202
|
-
tubeTop: `M${f},${d - v - l * s - p} C ${f},${d - v - l * s - p * 2.5} ${n -
|
|
203
|
-
bottomTubeTop: `M ${n -
|
|
199
|
+
liningTop: `M${f},${d - v - p - l * s} ${n / 2},${d - v - l * s} ${n - w},${d - v - p - l * s}`,
|
|
200
|
+
liningTopShade: `M${f},${d - v - p - l * s - 0.5} ${n / 2},${d - v - l * s - 0.5} ${n - w},${d - v - p - l * s - 0.5}`,
|
|
201
|
+
top: `M${n / 2},${d - v - l * s} ${f},${d - v - p - l * s} ${n / 2},${d - v - p * 2 - l * s} ${n - w},${d - v - p - l * s} Z`,
|
|
202
|
+
tubeTop: `M${f},${d - v - l * s - p} C ${f},${d - v - l * s - p * 2.5} ${n - w},${d - v - l * s - p * 2.5} ${n - w},${d - v - l * s - p} C ${n - w},${d - v - l * s + p / 2} ${f},${d - v - l * s + p / 2} ${f},${d - v - l * s - p}`,
|
|
203
|
+
bottomTubeTop: `M ${n - w - 0.5},${d - v - p} C ${n - w - 0.5},${d - v + p / 2} ${f},${d - v + p / 2} ${f + 0.5},${d - v - p}`,
|
|
204
204
|
tubeBody: `M
|
|
205
205
|
${f},${d - v - l * s - p}
|
|
206
206
|
C ${f},${d - v - l * s + p / 2}
|
|
207
|
-
${n -
|
|
208
|
-
${n -
|
|
209
|
-
L${n -
|
|
207
|
+
${n - w},${d - v - l * s + p / 2}
|
|
208
|
+
${n - w},${d - v - l * s - p}
|
|
209
|
+
L${n - w},${d - v - p}
|
|
210
210
|
C
|
|
211
|
-
${n -
|
|
211
|
+
${n - w},${d - v + p / 2}
|
|
212
212
|
${f},${d - v + p / 2}
|
|
213
213
|
${f},${d - v - p}Z`
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
|
-
const E =
|
|
217
|
-
const a = G.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height:
|
|
216
|
+
const E = S(() => {
|
|
217
|
+
const a = G.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: n, left: d, perspective: k } = o.value, f = l + s * 0;
|
|
218
218
|
return {
|
|
219
|
-
right: `M${e / 2},${
|
|
220
|
-
left: `M${e / 2},${
|
|
221
|
-
top: `M${e / 2},${
|
|
222
|
-
tubeTop: `M${d},${
|
|
219
|
+
right: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${e - n},${h - f - k - s * a} ${e - n},${h - f - k}Z`,
|
|
220
|
+
left: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${d}, ${h - f - k - s * a} ${d},${h - f - k}Z`,
|
|
221
|
+
top: `M${e / 2},${h - f - s * a} ${d},${h - f - k - s * a} ${e / 2},${h - f - k * 2 - s * a} ${e - n},${h - f - k - s * a} Z`,
|
|
222
|
+
tubeTop: `M${d},${h - f - s * a - k} C ${d},${h - f - s * a - k * 2.5} ${e - n},${h - f - s * a - k * 2.5} ${e - n},${h - f - s * a - k} C ${e - n},${h - f - s * a + k / 2} ${d},${h - f - s * a + k / 2} ${d},${h - f - s * a - k}`,
|
|
223
223
|
tubeBody: `M
|
|
224
|
-
${d},${
|
|
225
|
-
C ${d},${
|
|
226
|
-
${e - n},${
|
|
227
|
-
${e - n},${
|
|
228
|
-
L${e - n},${
|
|
224
|
+
${d},${h - f - s * a - k}
|
|
225
|
+
C ${d},${h - f - s * a + k / 2}
|
|
226
|
+
${e - n},${h - f - s * a + k / 2}
|
|
227
|
+
${e - n},${h - f - s * a - k}
|
|
228
|
+
L${e - n},${h - k * 1.5}
|
|
229
229
|
C
|
|
230
|
-
${e - n},${
|
|
231
|
-
${d},${
|
|
232
|
-
${d},${
|
|
230
|
+
${e - n},${h}
|
|
231
|
+
${d},${h}
|
|
232
|
+
${d},${h - f - k}Z`
|
|
233
233
|
};
|
|
234
|
-
}),
|
|
235
|
-
function
|
|
236
|
-
Z("selectDatapoint", a), s || (
|
|
234
|
+
}), b = j(null);
|
|
235
|
+
function M(a, s = !1) {
|
|
236
|
+
Z("selectDatapoint", a), s || (b.value = a.id), s && O.value && (O.value = !1), s && !O.value && (O.value = !0);
|
|
237
237
|
}
|
|
238
238
|
function W() {
|
|
239
|
-
O.value || (
|
|
239
|
+
O.value || (b.value = null);
|
|
240
240
|
}
|
|
241
241
|
function V(a, s, e = !1) {
|
|
242
|
-
const
|
|
242
|
+
const h = $.dataset.series.map((d) => d.value || 0).reduce((d, k) => d + k, 0), l = isNaN(a.value / h) ? 0 : a.value / h * 100, n = isNaN(a.value / ye(s)) ? 0 : a.value / ye(s) * 100;
|
|
243
243
|
return e ? n : l.toFixed(0) + "%";
|
|
244
244
|
}
|
|
245
245
|
function ye(a) {
|
|
246
246
|
return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
|
|
247
247
|
}
|
|
248
|
-
const se =
|
|
249
|
-
function
|
|
248
|
+
const se = j(!1);
|
|
249
|
+
function De(a) {
|
|
250
250
|
se.value = a;
|
|
251
251
|
}
|
|
252
252
|
function Ne() {
|
|
253
|
-
return
|
|
253
|
+
return F.value ? C.value : $.dataset.percentage;
|
|
254
254
|
}
|
|
255
|
-
const B =
|
|
256
|
-
if (
|
|
257
|
-
const a =
|
|
258
|
-
name:
|
|
255
|
+
const B = S(() => {
|
|
256
|
+
if (F.value) {
|
|
257
|
+
const a = C.value.flatMap((e) => e.breakdown && e.breakdown.length ? [{ name: e.name, color: e.color }, ...e.breakdown.map((h, l) => ({
|
|
258
|
+
name: h.name,
|
|
259
259
|
color: A(e.color, l / e.breakdown.length)
|
|
260
260
|
}))] : {
|
|
261
261
|
name: e.name,
|
|
262
262
|
color: e.color
|
|
263
|
-
}), s =
|
|
263
|
+
}), s = C.value.flatMap((e) => e.breakdown && e.breakdown.length ? [e.value, ...e.breakdown.map((h) => h.value)] : e.value);
|
|
264
264
|
return { head: a, body: s };
|
|
265
265
|
} else
|
|
266
266
|
return null;
|
|
267
267
|
});
|
|
268
268
|
function ke() {
|
|
269
|
-
if (!
|
|
269
|
+
if (!F.value) {
|
|
270
270
|
console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
273
273
|
Ae(() => {
|
|
274
|
-
const a =
|
|
274
|
+
const a = C.value.map((l) => l.value).reduce((l, n) => l + n, 0), s = B.value.head.map((l, n) => [[
|
|
275
275
|
l.name
|
|
276
|
-
], [B.value.body[n]], [isNaN(B.value.body[n] / a) ? "-" : B.value.body[n] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s),
|
|
277
|
-
|
|
276
|
+
], [B.value.body[n]], [isNaN(B.value.body[n] / a) ? "-" : B.value.body[n] / a * 100]]), e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(s), h = Ke(e);
|
|
277
|
+
Qe({ csvContent: h, title: t.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
278
278
|
});
|
|
279
279
|
}
|
|
280
|
-
const R =
|
|
281
|
-
const a =
|
|
280
|
+
const R = S(() => {
|
|
281
|
+
const a = C.value.map((n) => n.value).reduce((n, d) => n + d, 0), s = [
|
|
282
282
|
' <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>',
|
|
283
|
-
|
|
283
|
+
T({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
|
|
284
284
|
"100%"
|
|
285
285
|
], e = B.value.head.map((n, d) => {
|
|
286
|
-
const k =
|
|
286
|
+
const k = T({ p: t.value.style.chart.legend.prefix, v: B.value.body[d], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
|
|
287
287
|
return [
|
|
288
288
|
{
|
|
289
289
|
color: n.color,
|
|
290
290
|
name: n.name
|
|
291
291
|
},
|
|
292
292
|
k,
|
|
293
|
-
isNaN(B.value.body[d] / a) ? "-" :
|
|
293
|
+
isNaN(B.value.body[d] / a) ? "-" : T({
|
|
294
294
|
v: B.value.body[d] / a * 100,
|
|
295
295
|
s: "%",
|
|
296
296
|
r: t.value.table.td.roundingPercentage
|
|
297
297
|
})
|
|
298
298
|
];
|
|
299
|
-
}),
|
|
299
|
+
}), h = {
|
|
300
300
|
th: {
|
|
301
301
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
302
302
|
color: t.value.table.th.color,
|
|
@@ -318,10 +318,10 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
318
318
|
],
|
|
319
319
|
head: s,
|
|
320
320
|
body: e,
|
|
321
|
-
config:
|
|
321
|
+
config: h
|
|
322
322
|
};
|
|
323
323
|
});
|
|
324
|
-
function
|
|
324
|
+
function ge() {
|
|
325
325
|
X.value.showTable = !X.value.showTable;
|
|
326
326
|
}
|
|
327
327
|
return Pe({
|
|
@@ -329,19 +329,19 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
329
329
|
generatePdf: ve,
|
|
330
330
|
generateImage: fe,
|
|
331
331
|
getData: Ne,
|
|
332
|
-
toggleTable:
|
|
332
|
+
toggleTable: ge
|
|
333
333
|
}), (a, s) => (r(), i("div", {
|
|
334
334
|
ref_key: "bar3dChart",
|
|
335
335
|
ref: re,
|
|
336
336
|
class: be("vue-ui-3d-bar"),
|
|
337
|
-
style:
|
|
338
|
-
id: `3d_bar_${
|
|
337
|
+
style: z(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
338
|
+
id: `3d_bar_${x.value}`
|
|
339
339
|
}, [
|
|
340
340
|
t.value.style.chart.title.text ? (r(), i("div", {
|
|
341
341
|
key: 0,
|
|
342
|
-
style:
|
|
342
|
+
style: z(`width:100%;background:${t.value.style.chart.backgroundColor}`)
|
|
343
343
|
}, [
|
|
344
|
-
(r(), H(
|
|
344
|
+
(r(), H(et, {
|
|
345
345
|
key: `title_${ue.value}`,
|
|
346
346
|
config: {
|
|
347
347
|
title: {
|
|
@@ -355,110 +355,110 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
355
355
|
}
|
|
356
356
|
}, null, 8, ["config"]))
|
|
357
357
|
], 4)) : y("", !0),
|
|
358
|
-
t.value.userOptions.show && q.value ? (r(), H(
|
|
358
|
+
t.value.userOptions.show && q.value ? (r(), H(lt, {
|
|
359
359
|
key: 1,
|
|
360
360
|
ref_key: "details",
|
|
361
|
-
ref:
|
|
361
|
+
ref: je,
|
|
362
362
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
363
363
|
color: t.value.style.chart.color,
|
|
364
|
-
isPrinting:
|
|
365
|
-
isImaging:
|
|
366
|
-
uid:
|
|
364
|
+
isPrinting: c(ce),
|
|
365
|
+
isImaging: c(he),
|
|
366
|
+
uid: x.value,
|
|
367
367
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
368
|
-
hasTable: !!
|
|
369
|
-
hasXls: !!
|
|
368
|
+
hasTable: !!F.value && t.value.userOptions.buttons.table,
|
|
369
|
+
hasXls: !!F.value && t.value.userOptions.buttons.csv,
|
|
370
370
|
hasImg: t.value.userOptions.buttons.img,
|
|
371
371
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
372
372
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
373
373
|
chartElement: re.value,
|
|
374
|
-
onToggleFullscreen:
|
|
375
|
-
onGeneratePdf:
|
|
374
|
+
onToggleFullscreen: De,
|
|
375
|
+
onGeneratePdf: c(ve),
|
|
376
376
|
onGenerateCsv: ke,
|
|
377
|
-
onGenerateImage:
|
|
378
|
-
onToggleTable:
|
|
377
|
+
onGenerateImage: c(fe),
|
|
378
|
+
onToggleTable: ge
|
|
379
379
|
}, Ge({ _: 2 }, [
|
|
380
380
|
a.$slots.optionPdf ? {
|
|
381
381
|
name: "optionPdf",
|
|
382
382
|
fn: I(() => [
|
|
383
|
-
|
|
383
|
+
D(a.$slots, "optionPdf", {}, void 0, !0)
|
|
384
384
|
]),
|
|
385
385
|
key: "0"
|
|
386
386
|
} : void 0,
|
|
387
387
|
a.$slots.optionCsv ? {
|
|
388
388
|
name: "optionCsv",
|
|
389
389
|
fn: I(() => [
|
|
390
|
-
|
|
390
|
+
D(a.$slots, "optionCsv", {}, void 0, !0)
|
|
391
391
|
]),
|
|
392
392
|
key: "1"
|
|
393
393
|
} : void 0,
|
|
394
394
|
a.$slots.optionImg ? {
|
|
395
395
|
name: "optionImg",
|
|
396
396
|
fn: I(() => [
|
|
397
|
-
|
|
397
|
+
D(a.$slots, "optionImg", {}, void 0, !0)
|
|
398
398
|
]),
|
|
399
399
|
key: "2"
|
|
400
400
|
} : void 0,
|
|
401
401
|
a.$slots.optionTable ? {
|
|
402
402
|
name: "optionTable",
|
|
403
403
|
fn: I(() => [
|
|
404
|
-
|
|
404
|
+
D(a.$slots, "optionTable", {}, void 0, !0)
|
|
405
405
|
]),
|
|
406
406
|
key: "3"
|
|
407
407
|
} : void 0,
|
|
408
408
|
a.$slots.optionFullscreen ? {
|
|
409
409
|
name: "optionFullscreen",
|
|
410
|
-
fn: I(({ toggleFullscreen: e, isFullscreen:
|
|
411
|
-
|
|
410
|
+
fn: I(({ toggleFullscreen: e, isFullscreen: h }) => [
|
|
411
|
+
D(a.$slots, "optionFullscreen", Y(J({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
|
|
412
412
|
]),
|
|
413
413
|
key: "4"
|
|
414
414
|
} : void 0
|
|
415
415
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
416
416
|
q.value ? (r(), i("svg", {
|
|
417
417
|
key: 2,
|
|
418
|
-
xmlns:
|
|
418
|
+
xmlns: c(Je),
|
|
419
419
|
class: be({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
|
|
420
420
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
421
|
-
style:
|
|
421
|
+
style: z(`max-width:100%; overflow: visible; background:${t.value.style.chart.backgroundColor};color:${t.value.style.chart.color}`)
|
|
422
422
|
}, [
|
|
423
423
|
u("defs", null, [
|
|
424
424
|
u("radialGradient", {
|
|
425
|
-
id: `gradient_top${
|
|
425
|
+
id: `gradient_top${x.value}`
|
|
426
426
|
}, [
|
|
427
427
|
u("stop", {
|
|
428
428
|
offset: "0%",
|
|
429
|
-
"stop-color":
|
|
430
|
-
}, null, 8,
|
|
429
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
430
|
+
}, null, 8, dt),
|
|
431
431
|
u("stop", {
|
|
432
432
|
offset: "100%",
|
|
433
|
-
"stop-color":
|
|
434
|
-
}, null, 8,
|
|
435
|
-
], 8,
|
|
433
|
+
"stop-color": t.value.style.chart.bar.color
|
|
434
|
+
}, null, 8, ct)
|
|
435
|
+
], 8, it),
|
|
436
436
|
u("radialGradient", {
|
|
437
|
-
id: `gradient_left${
|
|
437
|
+
id: `gradient_left${x.value}`
|
|
438
438
|
}, [
|
|
439
439
|
u("stop", {
|
|
440
440
|
offset: "0%",
|
|
441
|
-
"stop-color":
|
|
442
|
-
}, null, 8,
|
|
441
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
442
|
+
}, null, 8, vt),
|
|
443
443
|
u("stop", {
|
|
444
444
|
offset: "100%",
|
|
445
|
-
"stop-color":
|
|
446
|
-
}, null, 8,
|
|
447
|
-
], 8,
|
|
445
|
+
"stop-color": c(g)(t.value.style.chart.bar.color, 20)
|
|
446
|
+
}, null, 8, ft)
|
|
447
|
+
], 8, ht),
|
|
448
448
|
u("radialGradient", {
|
|
449
|
-
id: `gradient_right${
|
|
449
|
+
id: `gradient_right${x.value}`
|
|
450
450
|
}, [
|
|
451
451
|
u("stop", {
|
|
452
452
|
offset: "0%",
|
|
453
|
-
"stop-color":
|
|
454
|
-
}, null, 8,
|
|
453
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
454
|
+
}, null, 8, yt),
|
|
455
455
|
u("stop", {
|
|
456
456
|
offset: "100%",
|
|
457
|
-
"stop-color":
|
|
458
|
-
}, null, 8,
|
|
459
|
-
], 8,
|
|
457
|
+
"stop-color": c(g)(t.value.style.chart.bar.color, 20)
|
|
458
|
+
}, null, 8, kt)
|
|
459
|
+
], 8, pt),
|
|
460
460
|
u("linearGradient", {
|
|
461
|
-
id: `gradient_tube_body${
|
|
461
|
+
id: `gradient_tube_body${x.value}`,
|
|
462
462
|
x1: "0%",
|
|
463
463
|
y1: "0%",
|
|
464
464
|
x2: "100%",
|
|
@@ -470,58 +470,58 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
470
470
|
}, null, 8, $t),
|
|
471
471
|
u("stop", {
|
|
472
472
|
offset: "75%",
|
|
473
|
-
"stop-color":
|
|
474
|
-
}, null, 8,
|
|
473
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
474
|
+
}, null, 8, _t),
|
|
475
475
|
u("stop", {
|
|
476
476
|
offset: "100%",
|
|
477
|
-
"stop-color":
|
|
478
|
-
}, null, 8,
|
|
479
|
-
], 8,
|
|
477
|
+
"stop-color": c(g)(t.value.style.chart.bar.color, 40)
|
|
478
|
+
}, null, 8, mt)
|
|
479
|
+
], 8, gt)
|
|
480
480
|
]),
|
|
481
|
-
|
|
482
|
-
(r(!0), i(
|
|
481
|
+
F.value ? (r(), i("defs", xt, [
|
|
482
|
+
(r(!0), i(_, null, m(C.value, (e) => (r(), i("radialGradient", {
|
|
483
483
|
id: `grad_top_${e.id}`
|
|
484
484
|
}, [
|
|
485
485
|
u("stop", {
|
|
486
486
|
offset: "0%",
|
|
487
|
-
"stop-color":
|
|
488
|
-
}, null, 8,
|
|
487
|
+
"stop-color": c(g)(c(A)(e.color, 0.5), 80)
|
|
488
|
+
}, null, 8, wt),
|
|
489
489
|
u("stop", {
|
|
490
490
|
offset: "100%",
|
|
491
|
-
"stop-color":
|
|
492
|
-
}, null, 8,
|
|
493
|
-
], 8,
|
|
494
|
-
(r(!0), i(
|
|
491
|
+
"stop-color": e.color
|
|
492
|
+
}, null, 8, Ct)
|
|
493
|
+
], 8, bt))), 256)),
|
|
494
|
+
(r(!0), i(_, null, m(C.value, (e) => (r(), i("linearGradient", {
|
|
495
495
|
id: `grad_left_${e.id}`
|
|
496
496
|
}, [
|
|
497
497
|
u("stop", {
|
|
498
498
|
offset: "0%",
|
|
499
|
-
"stop-color":
|
|
500
|
-
}, null, 8,
|
|
499
|
+
"stop-color": c(g)(e.color, 80)
|
|
500
|
+
}, null, 8, Mt),
|
|
501
501
|
u("stop", {
|
|
502
502
|
offset: "100%",
|
|
503
|
-
"stop-color":
|
|
504
|
-
}, null, 8,
|
|
505
|
-
], 8,
|
|
506
|
-
(r(!0), i(
|
|
503
|
+
"stop-color": c(g)(c(ee)(e.color, 0.5), 100)
|
|
504
|
+
}, null, 8, Pt)
|
|
505
|
+
], 8, Ft))), 256)),
|
|
506
|
+
(r(!0), i(_, null, m(C.value, (e) => (r(), i("linearGradient", {
|
|
507
507
|
id: `grad_right_${e.id}`
|
|
508
508
|
}, [
|
|
509
509
|
u("stop", {
|
|
510
510
|
offset: "2%",
|
|
511
|
-
"stop-color":
|
|
512
|
-
}, null, 8,
|
|
511
|
+
"stop-color": c(g)(c(A)(e.color, 0.5), 100)
|
|
512
|
+
}, null, 8, jt),
|
|
513
513
|
u("stop", {
|
|
514
514
|
offset: "100%",
|
|
515
|
-
"stop-color":
|
|
516
|
-
}, null, 8,
|
|
517
|
-
], 8,
|
|
515
|
+
"stop-color": c(g)(e.color, 80)
|
|
516
|
+
}, null, 8, Tt)
|
|
517
|
+
], 8, St))), 256)),
|
|
518
518
|
u("linearGradient", {
|
|
519
519
|
x1: "0%",
|
|
520
520
|
y1: "0%",
|
|
521
521
|
x2: "0%",
|
|
522
522
|
y2: "100%",
|
|
523
|
-
id: `vertical_line_${
|
|
524
|
-
},
|
|
523
|
+
id: `vertical_line_${x.value}`
|
|
524
|
+
}, Bt, 8, zt)
|
|
525
525
|
])) : y("", !0),
|
|
526
526
|
t.value.style.chart.dataLabel.show && ![null, void 0].includes($.dataset.percentage) && [null, void 0].includes($.dataset.series) ? (r(), i("text", {
|
|
527
527
|
key: 1,
|
|
@@ -531,15 +531,15 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
531
531
|
"font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
532
532
|
fill: t.value.style.chart.dataLabel.color,
|
|
533
533
|
"text-anchor": "middle"
|
|
534
|
-
},
|
|
534
|
+
}, P(c(T)({
|
|
535
535
|
v: G.value,
|
|
536
536
|
s: "%",
|
|
537
537
|
r: t.value.style.chart.dataLabel.rounding
|
|
538
|
-
})), 9,
|
|
538
|
+
})), 9, It)) : y("", !0),
|
|
539
539
|
O.value ? (r(), i("g", {
|
|
540
540
|
key: 2,
|
|
541
541
|
onClick: s[0] || (s[0] = (e) => {
|
|
542
|
-
O.value = !1,
|
|
542
|
+
O.value = !1, b.value = null;
|
|
543
543
|
}),
|
|
544
544
|
"data-html2canvas-ignore": "",
|
|
545
545
|
style: { cursor: "pointer" }
|
|
@@ -550,22 +550,22 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
550
550
|
height: 12,
|
|
551
551
|
width: 12,
|
|
552
552
|
fill: "transparent"
|
|
553
|
-
}, null, 8,
|
|
553
|
+
}, null, 8, Lt),
|
|
554
554
|
u("path", {
|
|
555
555
|
d: `M${o.value.width / 2 - 6},${o.value.top - 20} ${o.value.width / 2 + 6},${o.value.top - 9}`,
|
|
556
556
|
stroke: t.value.style.chart.color,
|
|
557
557
|
"stroke-linecap": "round",
|
|
558
558
|
"stroke-width": "1"
|
|
559
|
-
}, null, 8,
|
|
559
|
+
}, null, 8, Ot),
|
|
560
560
|
u("path", {
|
|
561
561
|
d: `M${o.value.width / 2 + 6},${o.value.top - 20} ${o.value.width / 2 - 6},${o.value.top - 9}`,
|
|
562
562
|
stroke: t.value.style.chart.color,
|
|
563
563
|
"stroke-linecap": "round",
|
|
564
564
|
"stroke-width": "1"
|
|
565
|
-
}, null, 8,
|
|
565
|
+
}, null, 8, Wt)
|
|
566
566
|
])) : y("", !0),
|
|
567
|
-
!t.value.style.shape || t.value.style.shape === "bar" ? (r(), i("g",
|
|
568
|
-
|
|
567
|
+
!t.value.style.shape || t.value.style.shape === "bar" ? (r(), i("g", Gt, [
|
|
568
|
+
F.value ? y("", !0) : (r(), i("g", Vt, [
|
|
569
569
|
u("path", {
|
|
570
570
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
571
571
|
d: N.value.right,
|
|
@@ -574,7 +574,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
574
574
|
"stroke-linejoin": "round",
|
|
575
575
|
"stroke-linecap": "round",
|
|
576
576
|
fill: "none"
|
|
577
|
-
}, null, 8,
|
|
577
|
+
}, null, 8, At),
|
|
578
578
|
u("path", {
|
|
579
579
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
580
580
|
d: N.value.left,
|
|
@@ -583,7 +583,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
583
583
|
"stroke-linejoin": "round",
|
|
584
584
|
"stroke-linecap": "round",
|
|
585
585
|
fill: "none"
|
|
586
|
-
}, null, 8,
|
|
586
|
+
}, null, 8, Ut),
|
|
587
587
|
u("path", {
|
|
588
588
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
589
589
|
d: N.value.side,
|
|
@@ -592,7 +592,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
592
592
|
"stroke-linejoin": "round",
|
|
593
593
|
"stroke-linecap": "round",
|
|
594
594
|
fill: "none"
|
|
595
|
-
}, null, 8,
|
|
595
|
+
}, null, 8, Et),
|
|
596
596
|
u("path", {
|
|
597
597
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
598
598
|
d: N.value.topSides,
|
|
@@ -601,79 +601,79 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
601
601
|
"stroke-linejoin": "round",
|
|
602
602
|
"stroke-linecap": "round",
|
|
603
603
|
fill: "none"
|
|
604
|
-
}, null, 8,
|
|
604
|
+
}, null, 8, Ht)
|
|
605
605
|
])),
|
|
606
|
-
|
|
606
|
+
F.value ? y("", !0) : (r(), i("g", Zt, [
|
|
607
607
|
u("path", {
|
|
608
608
|
d: E.value.right,
|
|
609
609
|
stroke: t.value.style.chart.bar.stroke,
|
|
610
610
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
611
611
|
"stroke-linejoin": "round",
|
|
612
612
|
"stroke-linecap": "round",
|
|
613
|
-
fill: `url(#gradient_right${
|
|
614
|
-
}, null, 8,
|
|
613
|
+
fill: `url(#gradient_right${x.value})`
|
|
614
|
+
}, null, 8, qt),
|
|
615
615
|
u("path", {
|
|
616
616
|
d: E.value.left,
|
|
617
617
|
stroke: t.value.style.chart.bar.stroke,
|
|
618
618
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
619
619
|
"stroke-linejoin": "round",
|
|
620
620
|
"stroke-linecap": "round",
|
|
621
|
-
fill: `url(#gradient_left${
|
|
622
|
-
}, null, 8,
|
|
621
|
+
fill: `url(#gradient_left${x.value})`
|
|
622
|
+
}, null, 8, Xt),
|
|
623
623
|
u("path", {
|
|
624
624
|
d: E.value.top,
|
|
625
625
|
stroke: t.value.style.chart.bar.stroke,
|
|
626
626
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
627
627
|
"stroke-linejoin": "round",
|
|
628
628
|
"stroke-linecap": "round",
|
|
629
|
-
fill: `url(#gradient_top${
|
|
630
|
-
}, null, 8,
|
|
629
|
+
fill: `url(#gradient_top${x.value})`
|
|
630
|
+
}, null, 8, Rt)
|
|
631
631
|
])),
|
|
632
|
-
|
|
633
|
-
(r(!0), i(
|
|
634
|
-
style:
|
|
632
|
+
F.value ? (r(), i("g", Yt, [
|
|
633
|
+
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
634
|
+
style: z(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
|
|
635
635
|
class: "vue-ui-3d-bar-stack"
|
|
636
636
|
}, [
|
|
637
637
|
u("path", {
|
|
638
638
|
d: e.fill.right,
|
|
639
639
|
fill: `url(#grad_right_${e.id})`,
|
|
640
|
-
onMouseenter: (l) =>
|
|
641
|
-
onClick: (l) =>
|
|
640
|
+
onMouseenter: (l) => M(e),
|
|
641
|
+
onClick: (l) => M(e, !0),
|
|
642
642
|
onMouseout: W
|
|
643
|
-
}, null, 40,
|
|
643
|
+
}, null, 40, Jt),
|
|
644
644
|
u("path", {
|
|
645
645
|
d: e.fill.left,
|
|
646
646
|
fill: `url(#grad_left_${e.id})`,
|
|
647
|
-
onMouseenter: (l) =>
|
|
648
|
-
onClick: (l) =>
|
|
647
|
+
onMouseenter: (l) => M(e),
|
|
648
|
+
onClick: (l) => M(e, !0),
|
|
649
649
|
onMouseout: W
|
|
650
|
-
}, null, 40,
|
|
650
|
+
}, null, 40, Kt),
|
|
651
651
|
u("path", {
|
|
652
652
|
d: e.fill.top,
|
|
653
653
|
fill: `url(#grad_top_${e.id})`,
|
|
654
|
-
onMouseenter: (l) =>
|
|
655
|
-
onClick: (l) =>
|
|
654
|
+
onMouseenter: (l) => M(e),
|
|
655
|
+
onClick: (l) => M(e, !0),
|
|
656
656
|
onMouseout: W
|
|
657
|
-
}, null, 40,
|
|
657
|
+
}, null, 40, Qt),
|
|
658
658
|
u("path", {
|
|
659
659
|
d: e.fill.liningTop,
|
|
660
660
|
stroke: "#FFFFFF",
|
|
661
661
|
"stroke-width": "0.5",
|
|
662
662
|
"stroke-linecap": "round",
|
|
663
663
|
fill: "none",
|
|
664
|
-
onMouseenter: (l) =>
|
|
665
|
-
onClick: (l) =>
|
|
664
|
+
onMouseenter: (l) => M(e),
|
|
665
|
+
onClick: (l) => M(e, !0),
|
|
666
666
|
onMouseout: W
|
|
667
|
-
}, null, 40,
|
|
667
|
+
}, null, 40, el),
|
|
668
668
|
u("path", {
|
|
669
669
|
d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
|
|
670
670
|
stroke: "#FFFFFF",
|
|
671
671
|
"stroke-width": "0.5",
|
|
672
672
|
"stroke-linecap": "round"
|
|
673
|
-
}, null, 8,
|
|
673
|
+
}, null, 8, tl)
|
|
674
674
|
], 4))), 256)),
|
|
675
|
-
(r(!0), i(
|
|
676
|
-
|
|
675
|
+
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", null, [
|
|
676
|
+
h !== C.value.length - 1 ? (r(), i("path", {
|
|
677
677
|
key: 0,
|
|
678
678
|
d: e.fill.liningTopShade,
|
|
679
679
|
stroke: t.value.style.chart.bar.shadeColor,
|
|
@@ -681,10 +681,10 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
681
681
|
"stroke-linecap": "round",
|
|
682
682
|
fill: "none",
|
|
683
683
|
style: { "pointer-events": "none" }
|
|
684
|
-
}, null, 8,
|
|
684
|
+
}, null, 8, ll)) : y("", !0)
|
|
685
685
|
]))), 256)),
|
|
686
|
-
(r(!0), i(
|
|
687
|
-
style:
|
|
686
|
+
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
687
|
+
style: z(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
688
688
|
onClick: (l) => Z("selectDatapoint", e)
|
|
689
689
|
}, [
|
|
690
690
|
u("path", {
|
|
@@ -693,15 +693,15 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
693
693
|
"stroke-width": "0.5",
|
|
694
694
|
"stroke-linecap": "round",
|
|
695
695
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
696
|
-
}, null, 8,
|
|
697
|
-
!e.fill.miniDonut ||
|
|
696
|
+
}, null, 8, sl),
|
|
697
|
+
!e.fill.miniDonut || b.value ? (r(), i("circle", {
|
|
698
698
|
key: 0,
|
|
699
699
|
cx: e.fill.sidePointer.x + 20,
|
|
700
700
|
cy: e.fill.sidePointer.y,
|
|
701
701
|
r: 2,
|
|
702
702
|
fill: e.color,
|
|
703
703
|
stroke: t.value.style.chart.backgroundColor
|
|
704
|
-
}, null, 8,
|
|
704
|
+
}, null, 8, al)) : y("", !0),
|
|
705
705
|
(r(), i("foreignObject", {
|
|
706
706
|
x: e.fill.sidePointer.x + 30,
|
|
707
707
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -711,112 +711,112 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
711
711
|
}, [
|
|
712
712
|
t.value.style.chart.legend.showDefault ? (r(), i("div", {
|
|
713
713
|
key: 0,
|
|
714
|
-
style:
|
|
715
|
-
},
|
|
714
|
+
style: z(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
|
|
715
|
+
}, P(e.name) + ": " + P(c(T)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(c(te)(
|
|
716
716
|
t.value.style.chart.dataLabel.formatter,
|
|
717
717
|
e.value,
|
|
718
|
-
|
|
718
|
+
c(T)({
|
|
719
719
|
p: t.value.style.chart.legend.prefix,
|
|
720
720
|
v: e.value,
|
|
721
721
|
s: t.value.style.chart.legend.suffix,
|
|
722
722
|
r: t.value.style.chart.legend.roundingValue
|
|
723
723
|
}),
|
|
724
|
-
{ datapoint: e, seriesIndex:
|
|
724
|
+
{ datapoint: e, seriesIndex: h }
|
|
725
725
|
)) + ") ", 5)) : y("", !0),
|
|
726
|
-
|
|
727
|
-
], 8,
|
|
728
|
-
e.fill.donut &&
|
|
729
|
-
(r(!0), i(
|
|
726
|
+
D(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
727
|
+
], 8, nl)),
|
|
728
|
+
e.fill.donut && b.value === e.id ? (r(), i("g", rl, [
|
|
729
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
730
730
|
V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
|
|
731
731
|
key: 0,
|
|
732
|
-
d:
|
|
732
|
+
d: c(Fe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
|
|
733
733
|
stroke: l.color,
|
|
734
734
|
class: "vue-ui-donut-arc-path",
|
|
735
735
|
"stroke-width": "0.5",
|
|
736
736
|
"stroke-linecap": "round",
|
|
737
737
|
"stroke-linejoin": "round",
|
|
738
738
|
fill: "none"
|
|
739
|
-
}, null, 8,
|
|
739
|
+
}, null, 8, ul)) : y("", !0)
|
|
740
740
|
]))), 256)),
|
|
741
|
-
(r(!0), i(
|
|
741
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("path", {
|
|
742
742
|
class: "vue-ui-donut-arc-path",
|
|
743
743
|
d: l.arcSlice,
|
|
744
744
|
fill: `${l.color}`,
|
|
745
745
|
stroke: t.value.style.chart.backgroundColor,
|
|
746
746
|
"stroke-width": 1
|
|
747
|
-
}, null, 8,
|
|
747
|
+
}, null, 8, il))), 256)),
|
|
748
748
|
u("defs", null, [
|
|
749
749
|
u("radialGradient", {
|
|
750
|
-
id: `hollow_gradient_${
|
|
750
|
+
id: `hollow_gradient_${x.value}`
|
|
751
751
|
}, [
|
|
752
752
|
u("stop", {
|
|
753
753
|
offset: "0%",
|
|
754
|
-
"stop-color":
|
|
755
|
-
}, null, 8,
|
|
756
|
-
|
|
754
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
755
|
+
}, null, 8, cl),
|
|
756
|
+
hl,
|
|
757
757
|
u("stop", {
|
|
758
758
|
offset: "100%",
|
|
759
|
-
"stop-color":
|
|
760
|
-
}, null, 8,
|
|
761
|
-
], 8,
|
|
759
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
760
|
+
}, null, 8, vl)
|
|
761
|
+
], 8, dl)
|
|
762
762
|
]),
|
|
763
|
-
(r(!0), i(
|
|
763
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
764
764
|
class: "vue-ui-donut-arc-path",
|
|
765
765
|
cx: l.cx,
|
|
766
766
|
cy: l.cy,
|
|
767
767
|
r: 28,
|
|
768
|
-
fill: `url(#hollow_gradient_${
|
|
769
|
-
}, null, 8,
|
|
770
|
-
(r(!0), i(
|
|
768
|
+
fill: `url(#hollow_gradient_${x.value})`
|
|
769
|
+
}, null, 8, fl))), 256)),
|
|
770
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
771
771
|
class: "vue-ui-donut-arc-path",
|
|
772
772
|
cx: l.cx,
|
|
773
773
|
cy: l.cy,
|
|
774
774
|
r: 14,
|
|
775
775
|
fill: t.value.style.chart.backgroundColor
|
|
776
|
-
}, null, 8,
|
|
777
|
-
(r(!0), i(
|
|
778
|
-
V(l, e.fill.donut, !0) > 6 ? (r(), i("g",
|
|
776
|
+
}, null, 8, pl))), 256)),
|
|
777
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
778
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("g", yl, [
|
|
779
779
|
u("text", {
|
|
780
|
-
"text-anchor":
|
|
781
|
-
x:
|
|
782
|
-
y:
|
|
780
|
+
"text-anchor": c(L)(l, !0, 0).anchor,
|
|
781
|
+
x: c(L)(l, !0, 2).x,
|
|
782
|
+
y: c(le)(l, 12, 12),
|
|
783
783
|
fill: t.value.style.chart.legend.color,
|
|
784
784
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
785
|
-
},
|
|
785
|
+
}, P(V(l, e.fill.donut)) + " (" + P(c(te)(
|
|
786
786
|
t.value.style.chart.dataLabel.formatter,
|
|
787
787
|
l.value,
|
|
788
|
-
|
|
788
|
+
c(T)({
|
|
789
789
|
p: t.value.style.chart.legend.prefix,
|
|
790
790
|
v: l.value,
|
|
791
791
|
s: t.value.style.chart.legend.suffix,
|
|
792
792
|
r: t.value.style.chart.legend.roundingValue
|
|
793
793
|
}),
|
|
794
794
|
{ datapoint: l, seriesIndex: n }
|
|
795
|
-
)) + ") ", 9,
|
|
795
|
+
)) + ") ", 9, kl),
|
|
796
796
|
u("text", {
|
|
797
|
-
"text-anchor":
|
|
798
|
-
x:
|
|
799
|
-
y:
|
|
797
|
+
"text-anchor": c(L)(l).anchor,
|
|
798
|
+
x: c(L)(l, !0, 2).x,
|
|
799
|
+
y: c(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
800
800
|
fill: t.value.style.chart.legend.color,
|
|
801
801
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
802
|
-
},
|
|
802
|
+
}, P(l.name), 9, gl)
|
|
803
803
|
])) : y("", !0)
|
|
804
804
|
]))), 256))
|
|
805
805
|
])) : y("", !0),
|
|
806
|
-
e.fill.miniDonut && !
|
|
807
|
-
(r(!0), i(
|
|
806
|
+
e.fill.miniDonut && !b.value ? (r(), i("g", $l, [
|
|
807
|
+
(r(!0), i(_, null, m(e.fill.miniDonut, (l, n) => (r(), i("path", {
|
|
808
808
|
class: "vue-ui-donut-arc-path",
|
|
809
809
|
d: l.arcSlice,
|
|
810
810
|
fill: `${l.color}`,
|
|
811
811
|
stroke: t.value.style.chart.backgroundColor,
|
|
812
812
|
"stroke-width": 0.5
|
|
813
|
-
}, null, 8,
|
|
813
|
+
}, null, 8, _l))), 256))
|
|
814
814
|
])) : y("", !0)
|
|
815
|
-
], 12,
|
|
815
|
+
], 12, ol))), 256))
|
|
816
816
|
])) : y("", !0)
|
|
817
817
|
])) : y("", !0),
|
|
818
|
-
t.value.style.shape === "tube" ? (r(), i("g",
|
|
819
|
-
|
|
818
|
+
t.value.style.shape === "tube" ? (r(), i("g", ml, [
|
|
819
|
+
F.value ? y("", !0) : (r(), i("g", xl, [
|
|
820
820
|
u("path", {
|
|
821
821
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
822
822
|
d: N.value.tubeTop,
|
|
@@ -825,7 +825,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
825
825
|
"stroke-linejoin": "round",
|
|
826
826
|
"stroke-linecap": "round",
|
|
827
827
|
fill: "none"
|
|
828
|
-
}, null, 8,
|
|
828
|
+
}, null, 8, bl),
|
|
829
829
|
u("path", {
|
|
830
830
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
831
831
|
d: N.value.tubeLeft,
|
|
@@ -834,7 +834,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
834
834
|
"stroke-linejoin": "round",
|
|
835
835
|
"stroke-linecap": "round",
|
|
836
836
|
fill: "none"
|
|
837
|
-
}, null, 8,
|
|
837
|
+
}, null, 8, wl),
|
|
838
838
|
u("path", {
|
|
839
839
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
840
840
|
d: N.value.tubeRight,
|
|
@@ -843,7 +843,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
843
843
|
"stroke-linejoin": "round",
|
|
844
844
|
"stroke-linecap": "round",
|
|
845
845
|
fill: "none"
|
|
846
|
-
}, null, 8,
|
|
846
|
+
}, null, 8, Cl),
|
|
847
847
|
u("path", {
|
|
848
848
|
"stroke-dasharray": t.value.style.chart.box.strokeDasharray,
|
|
849
849
|
d: N.value.tubeBottom,
|
|
@@ -852,27 +852,27 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
852
852
|
"stroke-linejoin": "round",
|
|
853
853
|
"stroke-linecap": "round",
|
|
854
854
|
fill: "none"
|
|
855
|
-
}, null, 8,
|
|
855
|
+
}, null, 8, Fl),
|
|
856
856
|
u("path", {
|
|
857
857
|
d: E.value.tubeTop,
|
|
858
858
|
stroke: t.value.style.chart.bar.stroke,
|
|
859
859
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
860
860
|
"stroke-linejoin": "round",
|
|
861
861
|
"stroke-linecap": "round",
|
|
862
|
-
fill: `url(#gradient_top${
|
|
863
|
-
}, null, 8,
|
|
862
|
+
fill: `url(#gradient_top${x.value})`
|
|
863
|
+
}, null, 8, Ml),
|
|
864
864
|
u("path", {
|
|
865
865
|
d: E.value.tubeBody,
|
|
866
866
|
stroke: t.value.style.chart.bar.stroke,
|
|
867
867
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
868
868
|
"stroke-linejoin": "round",
|
|
869
869
|
"stroke-linecap": "round",
|
|
870
|
-
fill: `url(#gradient_tube_body${
|
|
871
|
-
}, null, 8,
|
|
870
|
+
fill: `url(#gradient_tube_body${x.value})`
|
|
871
|
+
}, null, 8, Pl)
|
|
872
872
|
])),
|
|
873
|
-
|
|
874
|
-
(r(!0), i(
|
|
875
|
-
style:
|
|
873
|
+
F.value ? (r(), i("g", Sl, [
|
|
874
|
+
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
875
|
+
style: z(`opacity:${b.value ? b.value === e.id ? 1 : 0.3 : 1}`),
|
|
876
876
|
class: "vue-ui-3d-bar-stack",
|
|
877
877
|
onClick: (l) => Z("selectDatapoint", e)
|
|
878
878
|
}, [
|
|
@@ -884,13 +884,13 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
884
884
|
}, [
|
|
885
885
|
u("stop", {
|
|
886
886
|
offset: "0%",
|
|
887
|
-
"stop-color":
|
|
888
|
-
}, null, 8,
|
|
887
|
+
"stop-color": c(g)(c(A)(e.color, 0.5), 80)
|
|
888
|
+
}, null, 8, zl),
|
|
889
889
|
u("stop", {
|
|
890
890
|
offset: "100%",
|
|
891
|
-
"stop-color":
|
|
892
|
-
}, null, 8,
|
|
893
|
-
], 8,
|
|
891
|
+
"stop-color": c(g)(c(ee)(e.color, 0.1), 80)
|
|
892
|
+
}, null, 8, Dl)
|
|
893
|
+
], 8, Tl),
|
|
894
894
|
u("linearGradient", {
|
|
895
895
|
id: `gradient_tube_body_${e.id}`,
|
|
896
896
|
x1: "0%",
|
|
@@ -901,28 +901,28 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
901
901
|
u("stop", {
|
|
902
902
|
offset: "0%",
|
|
903
903
|
"stop-color": `${e.color}`
|
|
904
|
-
}, null, 8,
|
|
904
|
+
}, null, 8, Bl),
|
|
905
905
|
u("stop", {
|
|
906
906
|
offset: "10%",
|
|
907
|
-
"stop-color":
|
|
908
|
-
}, null, 8,
|
|
907
|
+
"stop-color": c(g)(c(ee)(e.color, 0.7), 100)
|
|
908
|
+
}, null, 8, Il),
|
|
909
909
|
u("stop", {
|
|
910
910
|
offset: "25%",
|
|
911
|
-
"stop-color":
|
|
912
|
-
}, null, 8,
|
|
911
|
+
"stop-color": c(g)(c(ee)(e.color, 0.5), 100)
|
|
912
|
+
}, null, 8, Ll),
|
|
913
913
|
u("stop", {
|
|
914
914
|
offset: "75%",
|
|
915
|
-
"stop-color":
|
|
916
|
-
}, null, 8,
|
|
915
|
+
"stop-color": c(g)(e.color, 80)
|
|
916
|
+
}, null, 8, Ol),
|
|
917
917
|
u("stop", {
|
|
918
918
|
offset: "100%",
|
|
919
|
-
"stop-color":
|
|
920
|
-
}, null, 8,
|
|
921
|
-
], 8,
|
|
919
|
+
"stop-color": c(g)(c(A)(e.color, 0.7), 100)
|
|
920
|
+
}, null, 8, Wl)
|
|
921
|
+
], 8, Nl)
|
|
922
922
|
]),
|
|
923
923
|
u("path", {
|
|
924
|
-
onMouseenter: (l) =>
|
|
925
|
-
onClick: (l) =>
|
|
924
|
+
onMouseenter: (l) => M(e),
|
|
925
|
+
onClick: (l) => M(e, !0),
|
|
926
926
|
onMouseout: W,
|
|
927
927
|
d: e.fill.tubeBody,
|
|
928
928
|
stroke: "#FFFFFF",
|
|
@@ -930,11 +930,11 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
930
930
|
"stroke-linejoin": "round",
|
|
931
931
|
"stroke-linecap": "round",
|
|
932
932
|
fill: `url(#gradient_tube_body_${e.id})`
|
|
933
|
-
}, null, 40,
|
|
934
|
-
|
|
933
|
+
}, null, 40, Gl),
|
|
934
|
+
h > 0 ? (r(), i("path", {
|
|
935
935
|
key: 0,
|
|
936
|
-
onMouseenter: (l) =>
|
|
937
|
-
onClick: (l) =>
|
|
936
|
+
onMouseenter: (l) => M(e),
|
|
937
|
+
onClick: (l) => M(e, !0),
|
|
938
938
|
onMouseout: W,
|
|
939
939
|
d: e.fill.bottomTubeTop,
|
|
940
940
|
stroke: "#000000",
|
|
@@ -942,10 +942,10 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
942
942
|
"stroke-linejoin": "round",
|
|
943
943
|
"stroke-linecap": "round",
|
|
944
944
|
fill: "none"
|
|
945
|
-
}, null, 40,
|
|
945
|
+
}, null, 40, Vl)) : y("", !0),
|
|
946
946
|
u("path", {
|
|
947
|
-
onMouseenter: (l) =>
|
|
948
|
-
onClick: (l) =>
|
|
947
|
+
onMouseenter: (l) => M(e),
|
|
948
|
+
onClick: (l) => M(e, !0),
|
|
949
949
|
onMouseout: W,
|
|
950
950
|
d: e.fill.tubeTop,
|
|
951
951
|
stroke: "#FFFFFF",
|
|
@@ -953,10 +953,10 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
953
953
|
"stroke-linejoin": "round",
|
|
954
954
|
"stroke-linecap": "round",
|
|
955
955
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
956
|
-
}, null, 40,
|
|
957
|
-
], 12,
|
|
958
|
-
(r(!0), i(
|
|
959
|
-
style:
|
|
956
|
+
}, null, 40, Al)
|
|
957
|
+
], 12, jl))), 256)),
|
|
958
|
+
(r(!0), i(_, null, m(C.value, (e, h) => (r(), i("g", {
|
|
959
|
+
style: z(`opacity:${b.value ? b.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
960
960
|
onClick: (l) => Z("selectDatapoint", e)
|
|
961
961
|
}, [
|
|
962
962
|
u("path", {
|
|
@@ -965,15 +965,15 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
965
965
|
"stroke-width": "0.5",
|
|
966
966
|
"stroke-linecap": "round",
|
|
967
967
|
d: `M${e.fill.sidePointer.x},${e.fill.sidePointer.y} ${e.fill.sidePointer.x + 20},${e.fill.sidePointer.y}`
|
|
968
|
-
}, null, 8,
|
|
969
|
-
!e.fill.miniDonut ||
|
|
968
|
+
}, null, 8, El),
|
|
969
|
+
!e.fill.miniDonut || b.value ? (r(), i("circle", {
|
|
970
970
|
key: 0,
|
|
971
971
|
cx: e.fill.sidePointer.x + 20,
|
|
972
972
|
cy: e.fill.sidePointer.y,
|
|
973
973
|
r: 2,
|
|
974
974
|
fill: e.color,
|
|
975
975
|
stroke: t.value.style.chart.backgroundColor
|
|
976
|
-
}, null, 8,
|
|
976
|
+
}, null, 8, Hl)) : y("", !0),
|
|
977
977
|
(r(), i("foreignObject", {
|
|
978
978
|
x: e.fill.sidePointer.x + 30,
|
|
979
979
|
y: e.fill.sidePointer.y - t.value.style.chart.legend.fontSize,
|
|
@@ -983,116 +983,116 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
983
983
|
}, [
|
|
984
984
|
t.value.style.chart.legend.showDefault ? (r(), i("div", {
|
|
985
985
|
key: 0,
|
|
986
|
-
style:
|
|
987
|
-
},
|
|
986
|
+
style: z(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
|
|
987
|
+
}, P(e.name) + ": " + P(c(T)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(c(te)(
|
|
988
988
|
t.value.style.chart.dataLabel.formatter,
|
|
989
989
|
e.value,
|
|
990
|
-
|
|
990
|
+
c(T)({
|
|
991
991
|
p: t.value.style.chart.legend.prefix,
|
|
992
992
|
v: e.value,
|
|
993
993
|
s: t.value.style.chart.legend.suffix,
|
|
994
994
|
r: t.value.style.chart.legend.roundingValue
|
|
995
995
|
}),
|
|
996
|
-
{ datapoint: e, seriesIndex:
|
|
996
|
+
{ datapoint: e, seriesIndex: h }
|
|
997
997
|
)) + ") ", 5)) : y("", !0),
|
|
998
|
-
|
|
999
|
-
], 8,
|
|
1000
|
-
e.fill.donut &&
|
|
1001
|
-
(r(!0), i(
|
|
998
|
+
D(a.$slots, "legend", Y(J({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
999
|
+
], 8, Zl)),
|
|
1000
|
+
e.fill.donut && b.value === e.id ? (r(), i("g", ql, [
|
|
1001
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
1002
1002
|
V(l, e.fill.donut, !0) > 6 ? (r(), i("path", {
|
|
1003
1003
|
key: 0,
|
|
1004
|
-
d:
|
|
1004
|
+
d: c(Fe)(l, { x: l.cx, y: l.cy }, 0, 8, !1, !0, 10),
|
|
1005
1005
|
stroke: l.color,
|
|
1006
1006
|
class: "vue-ui-donut-arc-path",
|
|
1007
1007
|
"stroke-width": "0.5",
|
|
1008
1008
|
"stroke-linecap": "round",
|
|
1009
1009
|
"stroke-linejoin": "round",
|
|
1010
1010
|
fill: "none"
|
|
1011
|
-
}, null, 8,
|
|
1011
|
+
}, null, 8, Xl)) : y("", !0)
|
|
1012
1012
|
]))), 256)),
|
|
1013
|
-
(r(!0), i(
|
|
1013
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("path", {
|
|
1014
1014
|
class: "vue-ui-donut-arc-path",
|
|
1015
1015
|
d: l.arcSlice,
|
|
1016
1016
|
fill: `${l.color}`,
|
|
1017
1017
|
stroke: t.value.style.chart.backgroundColor,
|
|
1018
1018
|
"stroke-width": 1
|
|
1019
|
-
}, null, 8,
|
|
1019
|
+
}, null, 8, Rl))), 256)),
|
|
1020
1020
|
u("defs", null, [
|
|
1021
1021
|
u("radialGradient", {
|
|
1022
|
-
id: `hollow_gradient_${
|
|
1022
|
+
id: `hollow_gradient_${x.value}`
|
|
1023
1023
|
}, [
|
|
1024
1024
|
u("stop", {
|
|
1025
1025
|
offset: "0%",
|
|
1026
|
-
"stop-color":
|
|
1027
|
-
}, null, 8,
|
|
1028
|
-
|
|
1026
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
1027
|
+
}, null, 8, Jl),
|
|
1028
|
+
Kl,
|
|
1029
1029
|
u("stop", {
|
|
1030
1030
|
offset: "100%",
|
|
1031
|
-
"stop-color":
|
|
1032
|
-
}, null, 8,
|
|
1033
|
-
], 8,
|
|
1031
|
+
"stop-color": c(g)(t.value.style.chart.backgroundColor, 0)
|
|
1032
|
+
}, null, 8, Ql)
|
|
1033
|
+
], 8, Yl)
|
|
1034
1034
|
]),
|
|
1035
|
-
(r(!0), i(
|
|
1035
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
1036
1036
|
class: "vue-ui-donut-arc-path",
|
|
1037
1037
|
cx: l.cx,
|
|
1038
1038
|
cy: l.cy,
|
|
1039
1039
|
r: 28,
|
|
1040
|
-
fill: `url(#hollow_gradient_${
|
|
1041
|
-
}, null, 8,
|
|
1042
|
-
(r(!0), i(
|
|
1040
|
+
fill: `url(#hollow_gradient_${x.value})`
|
|
1041
|
+
}, null, 8, eo))), 256)),
|
|
1042
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("circle", {
|
|
1043
1043
|
class: "vue-ui-donut-arc-path",
|
|
1044
1044
|
cx: l.cx,
|
|
1045
1045
|
cy: l.cy,
|
|
1046
1046
|
r: 14,
|
|
1047
1047
|
fill: t.value.style.chart.backgroundColor
|
|
1048
|
-
}, null, 8,
|
|
1049
|
-
(r(!0), i(
|
|
1050
|
-
V(l, e.fill.donut, !0) > 6 ? (r(), i("g",
|
|
1048
|
+
}, null, 8, to))), 256)),
|
|
1049
|
+
(r(!0), i(_, null, m(e.fill.donut, (l, n) => (r(), i("g", null, [
|
|
1050
|
+
V(l, e.fill.donut, !0) > 6 ? (r(), i("g", lo, [
|
|
1051
1051
|
u("text", {
|
|
1052
|
-
"text-anchor":
|
|
1053
|
-
x:
|
|
1054
|
-
y:
|
|
1052
|
+
"text-anchor": c(L)(l, !0, 0).anchor,
|
|
1053
|
+
x: c(L)(l, !0, 2).x,
|
|
1054
|
+
y: c(le)(l, 12, 12),
|
|
1055
1055
|
fill: t.value.style.chart.legend.color,
|
|
1056
1056
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1057
|
-
},
|
|
1057
|
+
}, P(V(l, e.fill.donut)) + " (" + P(c(te)(
|
|
1058
1058
|
t.value.style.chart.dataLabel.formatter,
|
|
1059
1059
|
l.value,
|
|
1060
|
-
|
|
1060
|
+
c(T)({
|
|
1061
1061
|
p: t.value.style.chart.legend.prefix,
|
|
1062
1062
|
v: l.value,
|
|
1063
1063
|
s: t.value.style.chart.legend.suffix,
|
|
1064
1064
|
r: t.value.style.chart.legend.roundingValue
|
|
1065
1065
|
}),
|
|
1066
1066
|
{ datapoint: l, seriesIndex: n }
|
|
1067
|
-
)) + ") ", 9,
|
|
1067
|
+
)) + ") ", 9, oo),
|
|
1068
1068
|
u("text", {
|
|
1069
|
-
"text-anchor":
|
|
1070
|
-
x:
|
|
1071
|
-
y:
|
|
1069
|
+
"text-anchor": c(L)(l).anchor,
|
|
1070
|
+
x: c(L)(l, !0, 2).x,
|
|
1071
|
+
y: c(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
1072
1072
|
fill: t.value.style.chart.legend.color,
|
|
1073
1073
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1074
|
-
},
|
|
1074
|
+
}, P(l.name), 9, so)
|
|
1075
1075
|
])) : y("", !0)
|
|
1076
1076
|
]))), 256))
|
|
1077
1077
|
])) : y("", !0),
|
|
1078
|
-
e.fill.miniDonut && !
|
|
1079
|
-
(r(!0), i(
|
|
1078
|
+
e.fill.miniDonut && !b.value ? (r(), i("g", ao, [
|
|
1079
|
+
(r(!0), i(_, null, m(e.fill.miniDonut, (l, n) => (r(), i("path", {
|
|
1080
1080
|
class: "vue-ui-donut-arc-path",
|
|
1081
1081
|
d: l.arcSlice,
|
|
1082
1082
|
fill: `${l.color}`,
|
|
1083
1083
|
stroke: t.value.style.chart.backgroundColor,
|
|
1084
1084
|
"stroke-width": 0.5
|
|
1085
|
-
}, null, 8,
|
|
1085
|
+
}, null, 8, no))), 256))
|
|
1086
1086
|
])) : y("", !0)
|
|
1087
|
-
], 12,
|
|
1087
|
+
], 12, Ul))), 256))
|
|
1088
1088
|
])) : y("", !0)
|
|
1089
1089
|
])) : y("", !0),
|
|
1090
|
-
|
|
1091
|
-
], 14,
|
|
1092
|
-
a.$slots.watermark ? (r(), i("div",
|
|
1093
|
-
|
|
1090
|
+
D(a.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1091
|
+
], 14, ut)) : y("", !0),
|
|
1092
|
+
a.$slots.watermark ? (r(), i("div", ro, [
|
|
1093
|
+
D(a.$slots, "watermark", Y(J({ isPrinting: c(ce) || c(he) })), void 0, !0)
|
|
1094
1094
|
])) : y("", !0),
|
|
1095
|
-
q.value ? y("", !0) : (r(), H(
|
|
1095
|
+
q.value ? y("", !0) : (r(), H(ot, {
|
|
1096
1096
|
key: 4,
|
|
1097
1097
|
config: {
|
|
1098
1098
|
type: "bar3d",
|
|
@@ -1104,7 +1104,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
1104
1104
|
}
|
|
1105
1105
|
}
|
|
1106
1106
|
}, null, 8, ["config"])),
|
|
1107
|
-
q.value &&
|
|
1107
|
+
q.value && F.value ? (r(), H(at, {
|
|
1108
1108
|
key: 5,
|
|
1109
1109
|
hideDetails: "",
|
|
1110
1110
|
config: {
|
|
@@ -1121,7 +1121,7 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
1121
1121
|
}
|
|
1122
1122
|
}, {
|
|
1123
1123
|
content: I(() => [
|
|
1124
|
-
(r(), H(
|
|
1124
|
+
(r(), H(st, {
|
|
1125
1125
|
key: `table_${ie.value}`,
|
|
1126
1126
|
colNames: R.value.colNames,
|
|
1127
1127
|
head: R.value.head,
|
|
@@ -1134,19 +1134,19 @@ const oe = (U) => (Ue("data-v-11451b65"), U = U(), Ee(), U), nt = ["id"], rt = [
|
|
|
1134
1134
|
u("div", {
|
|
1135
1135
|
innerHTML: e,
|
|
1136
1136
|
style: { display: "flex", "align-items": "center" }
|
|
1137
|
-
}, null, 8,
|
|
1137
|
+
}, null, 8, uo)
|
|
1138
1138
|
]),
|
|
1139
1139
|
td: I(({ td: e }) => [
|
|
1140
|
-
Ve(
|
|
1140
|
+
Ve(P(e.name || e), 1)
|
|
1141
1141
|
]),
|
|
1142
1142
|
_: 1
|
|
1143
1143
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1144
1144
|
]),
|
|
1145
1145
|
_: 1
|
|
1146
1146
|
}, 8, ["config"])) : y("", !0)
|
|
1147
|
-
], 12,
|
|
1147
|
+
], 12, rt));
|
|
1148
1148
|
}
|
|
1149
|
-
},
|
|
1149
|
+
}, _o = /* @__PURE__ */ nt(io, [["__scopeId", "data-v-c6fbaa1b"]]);
|
|
1150
1150
|
export {
|
|
1151
|
-
|
|
1151
|
+
_o as default
|
|
1152
1152
|
};
|