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,22 +1,22 @@
|
|
|
1
|
-
import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as B, createBlock as E, createCommentVNode as d, unref as c, createSlots as qe, withCtx as P, renderSlot as T, normalizeProps as
|
|
2
|
-
import { u as Ze, o as et, e as
|
|
3
|
-
import { _ as ct } from "./Title-
|
|
4
|
-
import { u as vt, U as dt } from "./usePrinter-
|
|
5
|
-
import { D as ht } from "./DataTable-
|
|
6
|
-
import { L as yt } from "./Legend-
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import bt from "./vue-ui-accordion-
|
|
10
|
-
import { u as He } from "./useNestedProp-
|
|
1
|
+
import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as B, createBlock as E, createCommentVNode as d, unref as c, createSlots as qe, withCtx as P, renderSlot as T, normalizeProps as ue, guardReactiveProps as oe, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as Je, createTextVNode as Pe, nextTick as Qe } from "vue";
|
|
2
|
+
import { u as Ze, o as et, e as Y, g as tt, c as De, t as lt, a as at, p as K, b as ut, G as ot, d as se, C as Te, m as re, X as st, s as U, D as rt, i as ne, f as q, j as Ie, k as J, n as Ee, H as Oe, q as nt, r as it } from "./index-0KN57HdM.js";
|
|
3
|
+
import { _ as ct } from "./Title-gvR5aS6q.js";
|
|
4
|
+
import { u as vt, U as dt } from "./usePrinter-BvKYEc1z.js";
|
|
5
|
+
import { D as ht } from "./DataTable-OAUXdIYA.js";
|
|
6
|
+
import { L as yt } from "./Legend-BVByqGqZ.js";
|
|
7
|
+
import ft from "./vue-ui-skeleton-dgMXr8k9.js";
|
|
8
|
+
import { S as gt } from "./Slicer-BlRQsQu0.js";
|
|
9
|
+
import bt from "./vue-ui-accordion-CczyfFaC.js";
|
|
10
|
+
import { u as He } from "./useNestedProp-NeGalTYk.js";
|
|
11
11
|
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
-
const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"], Ct = ["stop-color"], wt = ["id"], Lt = ["stop-color"], $t = ["stop-color"], St = ["stop-color"], At = { key: 0 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = { key: 0 }, Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "fill", "font-weight"], It = ["text-anchor", "font-size", "fill", "transform"], Et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = { key: 1 }, Ht = ["cx", "cy", "r", "fill"], Mt = { key: 0 }, Vt = { key: 0 }, Wt = ["d", "stroke"], Rt = ["text-anchor", "x", "y", "fill"], Ut = ["cx", "cy", "r", "fill"], Xt = { key: 0 }, Gt = ["cx", "cy", "fill"],
|
|
12
|
+
const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"], Ct = ["stop-color"], wt = ["id"], Lt = ["stop-color"], $t = ["stop-color"], St = ["stop-color"], At = { key: 0 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = { key: 0 }, Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "fill", "font-weight"], It = ["text-anchor", "font-size", "fill", "transform"], Et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = { key: 1 }, Ht = ["cx", "cy", "r", "fill"], Mt = { key: 0 }, Vt = { key: 0 }, Wt = ["d", "stroke"], Rt = ["text-anchor", "x", "y", "fill"], Ut = ["cx", "cy", "r", "fill"], Xt = { key: 0 }, Gt = ["cx", "cy", "fill"], jt = { key: 1 }, Bt = ["d", "fill", "stroke"], Yt = { key: 2 }, Kt = ["d", "fill", "stroke"], qt = ["x", "y", "font-size", "fill"], Jt = ["x", "y", "width", "fill", "onClick"], Qt = ["x", "y", "width", "height", "onMouseenter", "onClick"], Zt = {
|
|
13
13
|
key: 3,
|
|
14
14
|
"data-cy-zoom": "",
|
|
15
15
|
class: "vue-ui-donut-evolution-dialog"
|
|
16
16
|
}, el = ["x", "y", "width", "height", "fill"], tl = ["x1", "y1", "x2", "y2", "stroke"], ll = ["x1", "y2", "x2", "y1", "stroke"], al = ["onKeypress", "cx", "cy", "r"], ul = ["d", "stroke"], ol = ["cx", "cy", "r", "fill"], sl = ["d", "fill", "stroke"], rl = { class: "vue-ui-donut-evolution-focus" }, nl = ["text-anchor", "x", "y", "fill"], il = ["cx", "cy", "r", "fill"], cl = ["cx", "cy", "r", "fill"], vl = ["x", "y", "fill"], dl = ["x", "y", "font-size", "fill"], hl = {
|
|
17
17
|
key: 3,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
}, yl = ["onClick"],
|
|
19
|
+
}, yl = ["onClick"], fl = { key: 0 }, gl = { key: 1 }, bl = { key: 0 }, xl = { key: 1 }, ml = {
|
|
20
20
|
__name: "vue-ui-donut-evolution",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,7 +34,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(Me, { expose: Ve, emit: ie }) {
|
|
37
|
-
const $ = Me, { vue_ui_donut_evolution: We } = Ze(),
|
|
37
|
+
const $ = Me, { vue_ui_donut_evolution: We } = Ze(), X = x(() => !!$.dataset && $.dataset.length), h = m({
|
|
38
38
|
start: 0,
|
|
39
39
|
end: Math.max(...$.dataset.map((l) => l.values.length))
|
|
40
40
|
});
|
|
@@ -48,7 +48,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
48
48
|
ve();
|
|
49
49
|
});
|
|
50
50
|
function ve() {
|
|
51
|
-
et($.dataset) ?
|
|
51
|
+
et($.dataset) ? Y({
|
|
52
52
|
componentName: "VueUiDonutEvolution",
|
|
53
53
|
type: "dataset"
|
|
54
54
|
}) : $.dataset.length && $.dataset.forEach((l, i) => {
|
|
@@ -56,7 +56,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
56
56
|
datasetObject: l,
|
|
57
57
|
requiredAttributes: ["name", "values"]
|
|
58
58
|
}).forEach((t) => {
|
|
59
|
-
|
|
59
|
+
Y({
|
|
60
60
|
componentName: "VueUiDonutEvolution",
|
|
61
61
|
type: "datasetSerieAttribute",
|
|
62
62
|
property: t,
|
|
@@ -65,7 +65,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
const I = m(De()), _ = m([]),
|
|
68
|
+
const I = m(De()), _ = m([]), g = m(null), Q = m(null), S = m(!1), A = m(null), de = m(null), he = m(0), ye = m(0), fe = m(0), ge = m(0), be = m(0), e = x({
|
|
69
69
|
get: () => xe(),
|
|
70
70
|
set: (l) => l
|
|
71
71
|
});
|
|
@@ -79,18 +79,18 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
79
79
|
userConfig: lt.vue_ui_donut_evolution[l.theme] || $.config,
|
|
80
80
|
defaultConfig: l
|
|
81
81
|
}),
|
|
82
|
-
customPalette: at[l.theme] ||
|
|
82
|
+
customPalette: at[l.theme] || K
|
|
83
83
|
} : l;
|
|
84
84
|
}
|
|
85
85
|
Fe(() => $.config, (l) => {
|
|
86
|
-
e.value = xe(), ve(),
|
|
86
|
+
e.value = xe(), ve(), fe.value += 1, ge.value += 1, be.value += 1;
|
|
87
87
|
}, { deep: !0 }), Fe(() => $.dataset, (l) => {
|
|
88
88
|
ce();
|
|
89
89
|
}, { deep: !0 });
|
|
90
90
|
const { isPrinting: me, isImaging: pe, generatePdf: ke, generateImage: _e } = vt({
|
|
91
91
|
elementId: I.value,
|
|
92
92
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
93
|
-
}), Re = x(() => ut(e.value.customPalette)),
|
|
93
|
+
}), Re = x(() => ut(e.value.customPalette)), G = m({
|
|
94
94
|
showTable: e.value.table.show
|
|
95
95
|
}), s = x(() => ({
|
|
96
96
|
top: e.value.style.chart.layout.padding.top,
|
|
@@ -108,12 +108,12 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
108
108
|
width: n
|
|
109
109
|
};
|
|
110
110
|
}), D = x(() => ($.dataset.forEach((l, i) => {
|
|
111
|
-
[null, void 0].includes(l.name) &&
|
|
111
|
+
[null, void 0].includes(l.name) && Y({
|
|
112
112
|
componentName: "VueUiDonutEvolution",
|
|
113
113
|
type: "datasetSerieAttribute",
|
|
114
114
|
property: "name",
|
|
115
115
|
index: i
|
|
116
|
-
}), [null, void 0].includes(l.values) &&
|
|
116
|
+
}), [null, void 0].includes(l.values) && Y({
|
|
117
117
|
componentName: "VueUiDonutEvolution",
|
|
118
118
|
type: "datasetSerieAttribute",
|
|
119
119
|
property: "values",
|
|
@@ -122,7 +122,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
122
122
|
}), $.dataset.map((l, i) => ({
|
|
123
123
|
...l,
|
|
124
124
|
values: ot(l.values),
|
|
125
|
-
color:
|
|
125
|
+
color: se(l.color) || Re.value[i] || K[i] || K[i % K.length],
|
|
126
126
|
length: (l.values || []).length,
|
|
127
127
|
uid: De()
|
|
128
128
|
})))), V = x(() => D.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
|
|
@@ -131,53 +131,53 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
131
131
|
}))), W = x(() => Math.max(...V.value.map((l) => l.length))), w = x(() => r.value.width / (h.value.end - h.value.start)), C = x(() => {
|
|
132
132
|
const l = [];
|
|
133
133
|
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
134
|
-
const
|
|
134
|
+
const f = V.value.map((z) => z.values[o] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), ae = f.map((z) => z / N), M = s.value.left + w.value * o + w.value / 2;
|
|
135
135
|
l.push({
|
|
136
136
|
index: o,
|
|
137
|
-
percentages:
|
|
137
|
+
percentages: ae,
|
|
138
138
|
subtotal: y || N < 0 ? null : N,
|
|
139
|
-
values:
|
|
139
|
+
values: f,
|
|
140
140
|
x: M
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
const i = 0, t = Math.max(...l.map((o) => o.subtotal)), n = l.length === 1 ? t * 2 : t;
|
|
144
|
-
return l.map((o,
|
|
145
|
-
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y,
|
|
144
|
+
return l.map((o, f) => {
|
|
145
|
+
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, ae = g.value === o.index ? r.value.width / 16 : N, M = l.length > 4 ? y * 2 : y * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : y * 2, z = r.value.absoluteHeight - s.value.bottom - r.value.height * o.subtotal / Te(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
146
146
|
return {
|
|
147
147
|
...o,
|
|
148
148
|
y: z,
|
|
149
149
|
radius: N,
|
|
150
|
-
activeRadius:
|
|
150
|
+
activeRadius: ae,
|
|
151
151
|
hoverRadius: M,
|
|
152
|
-
donut:
|
|
152
|
+
donut: re({
|
|
153
153
|
series: V.value.map((L, ze) => ({
|
|
154
154
|
color: L.color,
|
|
155
155
|
name: L.name,
|
|
156
|
-
value: L.values[
|
|
156
|
+
value: L.values[f] ?? 0
|
|
157
157
|
}))
|
|
158
158
|
}, o.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
159
|
-
donutHover:
|
|
159
|
+
donutHover: re({
|
|
160
160
|
series: V.value.map((L, ze) => ({
|
|
161
161
|
color: L.color,
|
|
162
162
|
name: L.name,
|
|
163
|
-
value: L.values[
|
|
163
|
+
value: L.values[f] ?? 0
|
|
164
164
|
}))
|
|
165
165
|
}, o.x, z, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
|
|
166
|
-
donutFocus:
|
|
166
|
+
donutFocus: re({
|
|
167
167
|
series: V.value.map((L, ze) => ({
|
|
168
168
|
color: L.color,
|
|
169
169
|
name: L.name,
|
|
170
|
-
value: L.values[
|
|
170
|
+
value: L.values[f] ?? 0
|
|
171
171
|
}))
|
|
172
172
|
}, r.value.centerX, r.value.centerY, r.value.height / 3.6, r.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, r.value.height / 6)
|
|
173
173
|
};
|
|
174
174
|
});
|
|
175
175
|
});
|
|
176
|
-
function
|
|
176
|
+
function j(l, i, t) {
|
|
177
177
|
return ne(
|
|
178
178
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
179
179
|
l,
|
|
180
|
-
|
|
180
|
+
q({
|
|
181
181
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
182
182
|
v: l,
|
|
183
183
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -186,12 +186,12 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
186
186
|
{ datapoint: i, index: t }
|
|
187
187
|
);
|
|
188
188
|
}
|
|
189
|
-
const
|
|
189
|
+
const Z = x(() => ({
|
|
190
190
|
max: Math.max(...C.value.map((l) => l.subtotal)),
|
|
191
191
|
min: 0
|
|
192
192
|
})), O = x(() => {
|
|
193
|
-
const l = C.value.length === 1 ?
|
|
194
|
-
return Te(
|
|
193
|
+
const l = C.value.length === 1 ? Z.value.max * 2 : Z.value.max;
|
|
194
|
+
return Te(Z.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
195
195
|
});
|
|
196
196
|
function Ue(l) {
|
|
197
197
|
return l / O.value.max;
|
|
@@ -204,17 +204,17 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
204
204
|
return isNaN(l.value / Oe(i, "value")) ? 0 : (l.value / Oe(i, "value") * 100).toFixed(0) + "%";
|
|
205
205
|
}
|
|
206
206
|
function we() {
|
|
207
|
-
S.value || (
|
|
207
|
+
S.value || (g.value = null, Q.value = null);
|
|
208
208
|
}
|
|
209
209
|
function Ge(l) {
|
|
210
|
-
S.value || (
|
|
210
|
+
S.value || (g.value = l.index, Q.value = l);
|
|
211
211
|
}
|
|
212
|
-
const
|
|
213
|
-
function
|
|
214
|
-
l.subtotal && (
|
|
212
|
+
const ee = m(null);
|
|
213
|
+
function te(l, i) {
|
|
214
|
+
l.subtotal && (Q.value = null, g.value = null, S.value = !0, A.value = l, [null, void 0].includes(i) || (ee.value = i));
|
|
215
215
|
}
|
|
216
216
|
function Le() {
|
|
217
|
-
A.value = null, S.value = !1,
|
|
217
|
+
A.value = null, S.value = !1, ee.value = null;
|
|
218
218
|
}
|
|
219
219
|
const $e = x(() => D.value.map((l, i) => ({
|
|
220
220
|
name: l.name,
|
|
@@ -225,9 +225,9 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
225
225
|
})).sort((l, i) => i.value - l.value).map((l) => ({
|
|
226
226
|
...l,
|
|
227
227
|
opacity: _.value.includes(l.uid) ? 0.5 : 1,
|
|
228
|
-
segregate: () =>
|
|
228
|
+
segregate: () => le(l.uid),
|
|
229
229
|
isSegregated: _.value.includes(l.uid)
|
|
230
|
-
}))), Se = x(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)),
|
|
230
|
+
}))), Se = x(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), je = x(() => ({
|
|
231
231
|
cy: "donut-div-legend",
|
|
232
232
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
233
233
|
color: e.value.style.chart.legend.color,
|
|
@@ -235,14 +235,14 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
235
235
|
paddingBottom: 12,
|
|
236
236
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
237
237
|
}));
|
|
238
|
-
function
|
|
238
|
+
function le(l) {
|
|
239
239
|
if (_.value.includes(l))
|
|
240
240
|
_.value = _.value.filter((i) => i !== l), ie("selectLegend", null);
|
|
241
241
|
else {
|
|
242
242
|
if (_.value.length === D.value.length - 1) return;
|
|
243
243
|
_.value.push(l), ie("selectLegend", D.value.find((i) => i.uid === l));
|
|
244
244
|
}
|
|
245
|
-
A.value &&
|
|
245
|
+
A.value && te(C.value.find((i, t) => t === ee.value));
|
|
246
246
|
}
|
|
247
247
|
const H = x(() => {
|
|
248
248
|
const l = [""].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => ({
|
|
@@ -251,11 +251,11 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
251
251
|
}))).concat(["Σ"]);
|
|
252
252
|
let i = [];
|
|
253
253
|
for (let o = 0; o < W.value; o += 1) {
|
|
254
|
-
const
|
|
254
|
+
const f = D.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[o] ?? 0).reduce((y, N) => y + N, 0);
|
|
255
255
|
i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[o] ?? "-"].concat(D.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
|
|
256
256
|
value: y.values[o] ?? 0,
|
|
257
|
-
percentage: y.values[o] ? y.values[o] /
|
|
258
|
-
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(
|
|
257
|
+
percentage: y.values[o] ? y.values[o] / f * 100 : 0
|
|
258
|
+
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
259
259
|
}
|
|
260
260
|
const t = {
|
|
261
261
|
th: {
|
|
@@ -274,12 +274,12 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
274
274
|
].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
|
|
275
275
|
return { head: l, body: i, config: t, colNames: n };
|
|
276
276
|
});
|
|
277
|
-
function
|
|
277
|
+
function Be() {
|
|
278
278
|
return D.value;
|
|
279
279
|
}
|
|
280
280
|
function Ae() {
|
|
281
281
|
Qe(() => {
|
|
282
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...H.value.head.map((
|
|
282
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...H.value.head.map((f) => f.name ?? f)], t = [...H.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = nt(n);
|
|
283
283
|
it({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
284
284
|
});
|
|
285
285
|
}
|
|
@@ -288,10 +288,10 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
288
288
|
R.value = l, he.value += 1;
|
|
289
289
|
}
|
|
290
290
|
function Ne() {
|
|
291
|
-
|
|
291
|
+
G.value.showTable = !G.value.showTable;
|
|
292
292
|
}
|
|
293
293
|
return Ve({
|
|
294
|
-
getData:
|
|
294
|
+
getData: Be,
|
|
295
295
|
generatePdf: ke,
|
|
296
296
|
generateCsv: Ae,
|
|
297
297
|
generateImage: _e,
|
|
@@ -309,7 +309,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
309
309
|
onMouseleave: we
|
|
310
310
|
}, [
|
|
311
311
|
(a(), E(ct, {
|
|
312
|
-
key: `title_${
|
|
312
|
+
key: `title_${fe.value}`,
|
|
313
313
|
config: {
|
|
314
314
|
title: {
|
|
315
315
|
cy: "donut-evolution-div-title",
|
|
@@ -322,7 +322,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
322
322
|
}
|
|
323
323
|
}, null, 8, ["config"]))
|
|
324
324
|
], 36)) : d("", !0),
|
|
325
|
-
e.value.userOptions.show &&
|
|
325
|
+
e.value.userOptions.show && X.value ? (a(), E(dt, {
|
|
326
326
|
ref: "details",
|
|
327
327
|
key: `user_options_${he.value}`,
|
|
328
328
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -375,12 +375,12 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
375
375
|
l.$slots.optionFullscreen ? {
|
|
376
376
|
name: "optionFullscreen",
|
|
377
377
|
fn: P(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
378
|
-
T(l.$slots, "optionFullscreen",
|
|
378
|
+
T(l.$slots, "optionFullscreen", ue(oe({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
379
379
|
]),
|
|
380
380
|
key: "4"
|
|
381
381
|
} : void 0
|
|
382
382
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
383
|
-
|
|
383
|
+
X.value ? (a(), u("svg", {
|
|
384
384
|
key: 2,
|
|
385
385
|
xmlns: c(st),
|
|
386
386
|
class: F({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
@@ -397,11 +397,11 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
397
397
|
}, [
|
|
398
398
|
v("stop", {
|
|
399
399
|
offset: "0%",
|
|
400
|
-
"stop-color":
|
|
400
|
+
"stop-color": c(U)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
401
401
|
}, null, 8, _t),
|
|
402
402
|
v("stop", {
|
|
403
403
|
offset: "100%",
|
|
404
|
-
"stop-color":
|
|
404
|
+
"stop-color": c(U)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
405
405
|
}, null, 8, Ct)
|
|
406
406
|
], 8, kt),
|
|
407
407
|
v("radialGradient", {
|
|
@@ -409,15 +409,15 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
409
409
|
}, [
|
|
410
410
|
v("stop", {
|
|
411
411
|
offset: "0%",
|
|
412
|
-
"stop-color":
|
|
412
|
+
"stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
|
|
413
413
|
}, null, 8, Lt),
|
|
414
414
|
v("stop", {
|
|
415
415
|
offset: "77%",
|
|
416
|
-
"stop-color": "#FFFFFF"
|
|
416
|
+
"stop-color": c(U)("#FFFFFF", 30)
|
|
417
417
|
}, null, 8, $t),
|
|
418
418
|
v("stop", {
|
|
419
419
|
offset: "100%",
|
|
420
|
-
"stop-color":
|
|
420
|
+
"stop-color": c(U)(c(se)(e.value.style.chart.backgroundColor), 0)
|
|
421
421
|
}, null, 8, St)
|
|
422
422
|
], 8, wt)
|
|
423
423
|
]),
|
|
@@ -454,7 +454,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
454
454
|
])) : d("", !0),
|
|
455
455
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
|
|
456
456
|
key: 1,
|
|
457
|
-
class: F({ "donut-opacity": !0, "donut-behind":
|
|
457
|
+
class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value })
|
|
458
458
|
}, [
|
|
459
459
|
(a(!0), u(p, null, k(Xe.value, (t, n) => (a(), u("g", null, [
|
|
460
460
|
t.value >= O.value.min && t.value <= O.value.max ? (a(), u("line", {
|
|
@@ -477,7 +477,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
477
477
|
}, b(c(rt)(t.value) ? c(ne)(
|
|
478
478
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
479
479
|
t.value,
|
|
480
|
-
c(
|
|
480
|
+
c(q)({
|
|
481
481
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
482
482
|
v: t.value,
|
|
483
483
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -504,7 +504,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
504
504
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", null, [
|
|
505
505
|
e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), u("line", {
|
|
506
506
|
key: 0,
|
|
507
|
-
class: F({ "donut-opacity": !0, "donut-behind":
|
|
507
|
+
class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value }),
|
|
508
508
|
x1: t.x,
|
|
509
509
|
y1: t.y,
|
|
510
510
|
x2: C.value[n + 1].x,
|
|
@@ -525,10 +525,10 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
525
525
|
])) : d("", !0)
|
|
526
526
|
]))), 256)),
|
|
527
527
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
528
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
528
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
529
529
|
}, [
|
|
530
530
|
t.subtotal ? (a(), u("g", Mt, [
|
|
531
|
-
|
|
531
|
+
g.value !== null && g.value === n ? (a(), u("g", Vt, [
|
|
532
532
|
(a(!0), u(p, null, k(t.donutHover, (o) => (a(), u("g", null, [
|
|
533
533
|
v("path", {
|
|
534
534
|
d: c(Ie)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0),
|
|
@@ -539,16 +539,16 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
539
539
|
fill: "none"
|
|
540
540
|
}, null, 8, Wt)
|
|
541
541
|
]))), 256)),
|
|
542
|
-
(a(!0), u(p, null, k(t.donutHover, (o,
|
|
542
|
+
(a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("g", null, [
|
|
543
543
|
v("text", {
|
|
544
544
|
"data-cy-hover-label": "",
|
|
545
|
-
"text-anchor": c(
|
|
546
|
-
x: c(
|
|
545
|
+
"text-anchor": c(J)(o, !0, 0).anchor,
|
|
546
|
+
x: c(J)(o, !0, 3).x,
|
|
547
547
|
y: c(Ee)(o),
|
|
548
548
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
549
549
|
"font-size": 8,
|
|
550
550
|
"font-weight": "bold"
|
|
551
|
-
}, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" :
|
|
551
|
+
}, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : j(o.value, o, f)) + ") ", 9, Rt)
|
|
552
552
|
]))), 256)),
|
|
553
553
|
v("g", null, [
|
|
554
554
|
v("circle", {
|
|
@@ -562,7 +562,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
562
562
|
])) : d("", !0)
|
|
563
563
|
], 2))), 256)),
|
|
564
564
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
565
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
565
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
566
566
|
}, [
|
|
567
567
|
t.subtotal !== null ? (a(), u("g", Xt, [
|
|
568
568
|
t.subtotal === 0 ? (a(), u("circle", {
|
|
@@ -571,15 +571,15 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
571
571
|
cy: t.y,
|
|
572
572
|
r: 3,
|
|
573
573
|
fill: e.value.style.chart.color
|
|
574
|
-
}, null, 8, Gt)) :
|
|
575
|
-
(a(!0), u(p, null, k(t.donutHover, (o,
|
|
574
|
+
}, null, 8, Gt)) : g.value !== null && g.value === n ? (a(), u("g", jt, [
|
|
575
|
+
(a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("path", {
|
|
576
576
|
d: o.arcSlice,
|
|
577
577
|
fill: `${o.color}`,
|
|
578
578
|
"stroke-width": 1,
|
|
579
579
|
stroke: e.value.style.chart.backgroundColor
|
|
580
|
-
}, null, 8,
|
|
580
|
+
}, null, 8, Bt))), 256))
|
|
581
581
|
])) : (a(), u("g", Yt, [
|
|
582
|
-
(a(!0), u(p, null, k(t.donut, (o,
|
|
582
|
+
(a(!0), u(p, null, k(t.donut, (o, f) => (a(), u("path", {
|
|
583
583
|
d: o.arcSlice,
|
|
584
584
|
fill: `${o.color}`,
|
|
585
585
|
"stroke-width": 0.5,
|
|
@@ -589,26 +589,26 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
589
589
|
])) : d("", !0)
|
|
590
590
|
], 2))), 256)),
|
|
591
591
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
592
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
592
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
593
593
|
}, [
|
|
594
594
|
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), u("text", {
|
|
595
595
|
key: 0,
|
|
596
596
|
"text-anchor": "middle",
|
|
597
597
|
x: t.x,
|
|
598
|
-
y:
|
|
598
|
+
y: g.value === t.index && t.subtotal ? t.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : t.y - t.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
|
|
599
599
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
600
600
|
"font-weight": "bold",
|
|
601
601
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
602
|
-
}, b(
|
|
602
|
+
}, b(j(t.subtotal, t, n)), 9, qt)) : d("", !0)
|
|
603
603
|
], 2))), 256)),
|
|
604
604
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
|
|
605
605
|
x: s.value.left + n * w.value,
|
|
606
606
|
y: r.value.absoluteHeight - s.value.bottom - 10,
|
|
607
607
|
width: w.value,
|
|
608
608
|
height: 10,
|
|
609
|
-
fill:
|
|
610
|
-
onClick: (o) =>
|
|
611
|
-
class: F({ "donut-hover":
|
|
609
|
+
fill: g.value === t.index ? `url(#hover_${I.value})` : "transparent",
|
|
610
|
+
onClick: (o) => te(t, n),
|
|
611
|
+
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
612
612
|
}, null, 10, Jt))), 256)),
|
|
613
613
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
|
|
614
614
|
"data-cy-trap": "",
|
|
@@ -619,8 +619,8 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
619
619
|
fill: "transparent",
|
|
620
620
|
onMouseenter: (o) => Ge(t),
|
|
621
621
|
onMouseleave: we,
|
|
622
|
-
onClick: (o) =>
|
|
623
|
-
class: F({ "donut-hover":
|
|
622
|
+
onClick: (o) => te(t, n),
|
|
623
|
+
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
624
624
|
}, null, 42, Qt))), 256)),
|
|
625
625
|
S.value ? (a(), u("g", Zt, [
|
|
626
626
|
v("rect", {
|
|
@@ -666,7 +666,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
666
666
|
(a(!0), u(p, null, k(A.value.donutFocus, (t) => (a(), u("g", null, [
|
|
667
667
|
v("path", {
|
|
668
668
|
"data-cy-zoom-donut": "",
|
|
669
|
-
d: c(Ie)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1,
|
|
669
|
+
d: c(Ie)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 15),
|
|
670
670
|
stroke: t.color,
|
|
671
671
|
"stroke-width": "1",
|
|
672
672
|
"stroke-linecap": "round",
|
|
@@ -690,13 +690,13 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
690
690
|
}, null, 8, sl))), 256)),
|
|
691
691
|
(a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("g", rl, [
|
|
692
692
|
v("text", {
|
|
693
|
-
"text-anchor": c(
|
|
694
|
-
x: c(
|
|
693
|
+
"text-anchor": c(J)(t, !0, 20).anchor,
|
|
694
|
+
x: c(J)(t, !0, 10).x,
|
|
695
695
|
y: c(Ee)(t),
|
|
696
696
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
697
697
|
"font-size": 10,
|
|
698
698
|
"font-weight": "bold"
|
|
699
|
-
}, b(t.name) + ": " + b(Ce(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" :
|
|
699
|
+
}, b(t.name) + ": " + b(Ce(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, nl)
|
|
700
700
|
]))), 256)),
|
|
701
701
|
v("circle", {
|
|
702
702
|
cx: s.value.left + r.value.width / 2,
|
|
@@ -718,7 +718,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
718
718
|
"font-weight": "bold",
|
|
719
719
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
720
720
|
class: "vue-ui-donut-evolution-focus"
|
|
721
|
-
}, b(
|
|
721
|
+
}, b(j(A.value.subtotal, A.value, null)), 9, vl),
|
|
722
722
|
e.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index] ? (a(), u("text", {
|
|
723
723
|
key: 0,
|
|
724
724
|
x: s.value.left + 6,
|
|
@@ -730,9 +730,9 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
730
730
|
T(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
731
731
|
], 14, pt)) : d("", !0),
|
|
732
732
|
l.$slots.watermark ? (a(), u("div", hl, [
|
|
733
|
-
T(l.$slots, "watermark",
|
|
733
|
+
T(l.$slots, "watermark", ue(oe({ isPrinting: c(me) || c(pe) })), void 0, !0)
|
|
734
734
|
])) : d("", !0),
|
|
735
|
-
|
|
735
|
+
X.value ? d("", !0) : (a(), E(ft, {
|
|
736
736
|
key: 4,
|
|
737
737
|
config: {
|
|
738
738
|
type: "donutEvolution",
|
|
@@ -749,7 +749,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
751
|
}, null, 8, ["config"])),
|
|
752
|
-
W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(
|
|
752
|
+
W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(gt, {
|
|
753
753
|
key: `slicer_${ye.value}`,
|
|
754
754
|
background: e.value.style.chart.zoom.color,
|
|
755
755
|
borderColor: e.value.style.chart.backgroundColor,
|
|
@@ -771,26 +771,26 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
771
771
|
onReset: ce
|
|
772
772
|
}, {
|
|
773
773
|
"reset-action": P(({ reset: t }) => [
|
|
774
|
-
T(l.$slots, "reset-action",
|
|
774
|
+
T(l.$slots, "reset-action", ue(oe({ reset: t })), void 0, !0)
|
|
775
775
|
]),
|
|
776
776
|
_: 3
|
|
777
777
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
|
|
778
778
|
e.value.style.chart.legend.show ? (a(), E(yt, {
|
|
779
779
|
key: `legend_${be.value}`,
|
|
780
780
|
legendSet: $e.value,
|
|
781
|
-
config:
|
|
782
|
-
onClickMarker: i[2] || (i[2] = ({ legend: t }) =>
|
|
781
|
+
config: je.value,
|
|
782
|
+
onClickMarker: i[2] || (i[2] = ({ legend: t }) => le(t.uid))
|
|
783
783
|
}, {
|
|
784
784
|
item: P(({ legend: t, index: n }) => [
|
|
785
785
|
v("div", {
|
|
786
786
|
"data-cy-legend-item": "",
|
|
787
|
-
onClick: (o) =>
|
|
787
|
+
onClick: (o) => le(t.uid),
|
|
788
788
|
style: B(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
|
|
789
789
|
}, [
|
|
790
790
|
Pe(b(t.name) + ": " + b(c(ne)(
|
|
791
791
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
792
792
|
t.value,
|
|
793
|
-
c(
|
|
793
|
+
c(q)({
|
|
794
794
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
795
795
|
v: t.value,
|
|
796
796
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -798,7 +798,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
798
798
|
}),
|
|
799
799
|
{ datapoint: t, seriesIndex: n }
|
|
800
800
|
)) + " ", 1),
|
|
801
|
-
_.value.includes(t.uid) ? (a(), u("span",
|
|
801
|
+
_.value.includes(t.uid) ? (a(), u("span", gl, " ( - % ) ")) : (a(), u("span", fl, " (" + b(isNaN(t.value / Se.value) ? "-" : c(q)({
|
|
802
802
|
v: t.value / Se.value * 100,
|
|
803
803
|
s: "%",
|
|
804
804
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -808,11 +808,11 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
808
808
|
_: 1
|
|
809
809
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
810
810
|
T(l.$slots, "legend", { legend: $e.value }, void 0, !0),
|
|
811
|
-
|
|
811
|
+
X.value ? (a(), E(bt, {
|
|
812
812
|
key: 7,
|
|
813
813
|
hideDetails: "",
|
|
814
814
|
config: {
|
|
815
|
-
open:
|
|
815
|
+
open: G.value.showTable,
|
|
816
816
|
maxHeight: 1e4,
|
|
817
817
|
body: {
|
|
818
818
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -826,13 +826,13 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
826
826
|
}, {
|
|
827
827
|
content: P(() => [
|
|
828
828
|
(a(), E(ht, {
|
|
829
|
-
key: `table_${
|
|
829
|
+
key: `table_${ge.value}`,
|
|
830
830
|
colNames: H.value.colNames,
|
|
831
831
|
head: H.value.head,
|
|
832
832
|
body: H.value.body,
|
|
833
833
|
config: H.value.config,
|
|
834
834
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
835
|
-
onClose: i[3] || (i[3] = (t) =>
|
|
835
|
+
onClose: i[3] || (i[3] = (t) => G.value.showTable = !1)
|
|
836
836
|
}, {
|
|
837
837
|
th: P(({ th: t }) => [
|
|
838
838
|
Pe(b(t.name ?? t), 1)
|
|
@@ -848,7 +848,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
848
848
|
}, 8, ["config"])) : d("", !0)
|
|
849
849
|
], 14, mt));
|
|
850
850
|
}
|
|
851
|
-
}, Fl = /* @__PURE__ */ xt(ml, [["__scopeId", "data-v-
|
|
851
|
+
}, Fl = /* @__PURE__ */ xt(ml, [["__scopeId", "data-v-df485855"]]);
|
|
852
852
|
export {
|
|
853
853
|
Fl as default
|
|
854
854
|
};
|