vue-data-ui 2.3.74 → 2.3.75
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-CYCrAySW.js → Arrow-BTG7M25z.js} +1 -1
- package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-CZK77NmC.cjs} +1 -1
- package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
- package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-BAOfPaXs.js} +1 -1
- package/dist/{DataTable-CKdV-L0e.js → DataTable-CQANRZju.js} +2 -2
- package/dist/{DataTable-BNFSPjhv.cjs → DataTable-DjQzrklZ.cjs} +1 -1
- package/dist/{Legend-Do2kcWFT.cjs → Legend-CtbPB0Bo.cjs} +1 -1
- package/dist/{Legend-Cj7T-DqJ.js → Legend-DX1kv21U.js} +1 -1
- package/dist/{Shape-DRDUAe_o.cjs → Shape-CadGs1Am.cjs} +1 -1
- package/dist/{Shape-Bo8ZjViG.js → Shape-kqcyauhC.js} +1 -1
- package/dist/{Slicer-D8jHSP7U.cjs → Slicer-i_oECHxH.cjs} +1 -1
- package/dist/{Slicer-4nGKvUYF.js → Slicer-yaJs-izT.js} +2 -2
- package/dist/{Title-DZjnxQdN.js → Title-C26I_HC3.js} +1 -1
- package/dist/{Title-D5cATWsL.cjs → Title-XBiDFYKD.cjs} +1 -1
- package/dist/{Tooltip--kgFEVZs.js → Tooltip-CH8GmDCG.js} +1 -1
- package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
- package/dist/{index-C8SH0f2u.js → index-Cm4Iry5c.js} +1 -1
- package/dist/{index-D_32ZGWd.cjs → index-DYUBiaGS.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-CurQIHTa.js} +1 -1
- package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
- package/dist/{usePrinter-Dj50NAxo.js → usePrinter-B8RnF8_q.js} +1 -1
- package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
- package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
- package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-Bj6kEIpq.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
- package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
- package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
- package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
- package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
- package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
- package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
- package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
- package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
- package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
- package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
- package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
- package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-BP04_XbB.js} +2 -2
- package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
- package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
- package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
- package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-DUhkLcmd.js} +2 -2
- package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
- package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-DRPSwmGr.js} +376 -362
- package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
- package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
- package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
- package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
- package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
- package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
- package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
- package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
- package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
- package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
- package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-bV148qAf.js} +66 -53
- package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
- package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
- package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
- package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
- package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
- package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
- package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
- package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
- package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
- package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
- package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
- package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-CFa4VD-w.js} +191 -177
- package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
- package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
- package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
- package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
- package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
- package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-CW8EKW4o.js} +202 -189
- package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
- package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-eSWsmJUU.js} +2 -2
- package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
- package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
- package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-BxhLbyG0.js} +203 -189
- package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
- package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-DQchX_mM.js} +284 -270
- package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
- package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
- package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
- package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
- package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
- package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
- package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
- package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
- package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
- package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
- package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
- package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
- package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
- package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
- package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
- package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
- package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
- package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
- package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-BSi_cHh7.js} +1 -1
- package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
- package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
- package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
- package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
- package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
- package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-CkB7eZaE.js} +191 -176
- package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
- package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
- package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
- package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
- package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
- package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-BA43_uHV.js} +314 -299
- package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
- package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
- package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
- package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
- package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
- package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
- package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
- package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-BMBYAC4z.js} +300 -274
- package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
- package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
- package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
- package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
- package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
- package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
- package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
- package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
- package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
- package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
- package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
- package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
- package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
- package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
- package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
- package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
- package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
- package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
- package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
- package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
- package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
- package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
- package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
- package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
- package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
- package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
- package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
- package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
- package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
- package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
- package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
- package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
- package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
- package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
- package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
- package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
- package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
- package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
- package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
- package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
- package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
- package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
- package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { computed as x, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
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 ae, guardReactiveProps as ue, 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 j, g as tt, c as De, t as lt, a as at, p as Y, b as ut, F as ot, d as oe, B as Te, m as se, X as st, w as re, C as rt, i as ne, f as K, j as Ie, k as q, n as Ee, G as Oe, q as nt, r as it } from "./index-Cm4Iry5c.js";
|
|
3
|
+
import { _ as ct } from "./Title-C26I_HC3.js";
|
|
4
|
+
import { u as vt, U as dt } from "./usePrinter-B8RnF8_q.js";
|
|
5
|
+
import { D as ht } from "./DataTable-CQANRZju.js";
|
|
6
|
+
import { L as yt } from "./Legend-DX1kv21U.js";
|
|
7
|
+
import gt from "./vue-ui-skeleton-C1oUnz7R.js";
|
|
8
|
+
import { S as ft } from "./Slicer-yaJs-izT.js";
|
|
9
|
+
import bt from "./vue-ui-accordion-Cb6XBCbu.js";
|
|
10
|
+
import { u as He } from "./useNestedProp-CurQIHTa.js";
|
|
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"], Bt = { key: 1 }, jt = ["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
|
-
},
|
|
19
|
+
}, yl = ["onClick"], gl = { key: 0 }, fl = { key: 1 }, bl = { key: 0 }, xl = { key: 1 }, ml = {
|
|
20
20
|
__name: "vue-ui-donut-evolution",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -33,23 +33,26 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
|
-
setup(
|
|
37
|
-
const
|
|
36
|
+
setup(Me, { expose: Ve, emit: ie }) {
|
|
37
|
+
const $ = Me, { vue_ui_donut_evolution: We } = Ze(), U = x(() => !!$.dataset && $.dataset.length), h = m({
|
|
38
38
|
start: 0,
|
|
39
|
-
end: Math.max(
|
|
39
|
+
end: Math.max(...$.dataset.map((l) => l.values.length))
|
|
40
40
|
});
|
|
41
|
-
function
|
|
41
|
+
function ce() {
|
|
42
42
|
h.value = {
|
|
43
43
|
start: 0,
|
|
44
|
-
end:
|
|
45
|
-
},
|
|
44
|
+
end: W.value
|
|
45
|
+
}, ye.value += 1;
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Ke(() => {
|
|
48
|
+
ve();
|
|
49
|
+
});
|
|
50
|
+
function ve() {
|
|
51
|
+
et($.dataset) ? j({
|
|
49
52
|
componentName: "VueUiDonutEvolution",
|
|
50
53
|
type: "dataset"
|
|
51
|
-
}) :
|
|
52
|
-
|
|
54
|
+
}) : $.dataset.length && $.dataset.forEach((l, i) => {
|
|
55
|
+
tt({
|
|
53
56
|
datasetObject: l,
|
|
54
57
|
requiredAttributes: ["name", "values"]
|
|
55
58
|
}).forEach((t) => {
|
|
@@ -61,23 +64,33 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
61
64
|
});
|
|
62
65
|
});
|
|
63
66
|
});
|
|
67
|
+
}
|
|
68
|
+
const I = m(De()), _ = m([]), f = m(null), J = m(null), S = m(!1), A = m(null), de = m(null), he = m(0), ye = m(0), ge = m(0), fe = m(0), be = m(0), e = x({
|
|
69
|
+
get: () => xe(),
|
|
70
|
+
set: (l) => l
|
|
64
71
|
});
|
|
65
|
-
|
|
66
|
-
const l =
|
|
67
|
-
userConfig:
|
|
68
|
-
defaultConfig:
|
|
72
|
+
function xe() {
|
|
73
|
+
const l = He({
|
|
74
|
+
userConfig: $.config,
|
|
75
|
+
defaultConfig: We
|
|
69
76
|
});
|
|
70
77
|
return l.theme ? {
|
|
71
|
-
...
|
|
72
|
-
userConfig:
|
|
78
|
+
...He({
|
|
79
|
+
userConfig: lt.vue_ui_donut_evolution[l.theme] || $.config,
|
|
73
80
|
defaultConfig: l
|
|
74
81
|
}),
|
|
75
|
-
customPalette:
|
|
82
|
+
customPalette: at[l.theme] || Y
|
|
76
83
|
} : l;
|
|
77
|
-
}
|
|
84
|
+
}
|
|
85
|
+
Fe(() => $.config, (l) => {
|
|
86
|
+
e.value = xe(), ve(), ge.value += 1, fe.value += 1, be.value += 1;
|
|
87
|
+
}, { deep: !0 }), Fe(() => $.dataset, (l) => {
|
|
88
|
+
ce();
|
|
89
|
+
}, { deep: !0 });
|
|
90
|
+
const { isPrinting: me, isImaging: pe, generatePdf: ke, generateImage: _e } = vt({
|
|
78
91
|
elementId: I.value,
|
|
79
92
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
80
|
-
}),
|
|
93
|
+
}), Re = x(() => ut(e.value.customPalette)), X = m({
|
|
81
94
|
showTable: e.value.table.show
|
|
82
95
|
}), s = x(() => ({
|
|
83
96
|
top: e.value.style.chart.layout.padding.top,
|
|
@@ -94,7 +107,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
94
107
|
height: t,
|
|
95
108
|
width: n
|
|
96
109
|
};
|
|
97
|
-
}), D = x(() => (
|
|
110
|
+
}), D = x(() => ($.dataset.forEach((l, i) => {
|
|
98
111
|
[null, void 0].includes(l.name) && j({
|
|
99
112
|
componentName: "VueUiDonutEvolution",
|
|
100
113
|
type: "datasetSerieAttribute",
|
|
@@ -106,55 +119,55 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
106
119
|
property: "values",
|
|
107
120
|
index: i
|
|
108
121
|
});
|
|
109
|
-
}),
|
|
122
|
+
}), $.dataset.map((l, i) => ({
|
|
110
123
|
...l,
|
|
111
|
-
values:
|
|
112
|
-
color: oe(l.color) ||
|
|
124
|
+
values: ot(l.values),
|
|
125
|
+
color: oe(l.color) || Re.value[i] || Y[i] || Y[i % Y.length],
|
|
113
126
|
length: (l.values || []).length,
|
|
114
|
-
uid:
|
|
115
|
-
})))),
|
|
127
|
+
uid: De()
|
|
128
|
+
})))), V = x(() => D.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
|
|
116
129
|
...l,
|
|
117
130
|
values: l.values.filter((i, t) => t >= h.value.start && t <= h.value.end)
|
|
118
|
-
}))),
|
|
131
|
+
}))), W = x(() => Math.max(...V.value.map((l) => l.length))), w = x(() => r.value.width / (h.value.end - h.value.start)), C = x(() => {
|
|
119
132
|
const l = [];
|
|
120
133
|
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
121
|
-
const
|
|
134
|
+
const g = V.value.map((z) => z.values[o] ?? null), y = g.filter((z) => [void 0, null].includes(z)).length === g.length, N = g.reduce((z, L) => z + L, 0), le = g.map((z) => z / N), M = s.value.left + w.value * o + w.value / 2;
|
|
122
135
|
l.push({
|
|
123
136
|
index: o,
|
|
124
137
|
percentages: le,
|
|
125
|
-
subtotal: y ||
|
|
126
|
-
values:
|
|
127
|
-
x:
|
|
138
|
+
subtotal: y || N < 0 ? null : N,
|
|
139
|
+
values: g,
|
|
140
|
+
x: M
|
|
128
141
|
});
|
|
129
142
|
}
|
|
130
143
|
const i = 0, t = Math.max(...l.map((o) => o.subtotal)), n = l.length === 1 ? t * 2 : t;
|
|
131
|
-
return l.map((o,
|
|
132
|
-
const y =
|
|
144
|
+
return l.map((o, g) => {
|
|
145
|
+
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, le = f.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;
|
|
133
146
|
return {
|
|
134
147
|
...o,
|
|
135
|
-
y:
|
|
136
|
-
radius:
|
|
148
|
+
y: z,
|
|
149
|
+
radius: N,
|
|
137
150
|
activeRadius: le,
|
|
138
|
-
hoverRadius:
|
|
151
|
+
hoverRadius: M,
|
|
139
152
|
donut: se({
|
|
140
|
-
series:
|
|
141
|
-
color:
|
|
142
|
-
name:
|
|
143
|
-
value:
|
|
153
|
+
series: V.value.map((L, ze) => ({
|
|
154
|
+
color: L.color,
|
|
155
|
+
name: L.name,
|
|
156
|
+
value: L.values[g] ?? 0
|
|
144
157
|
}))
|
|
145
|
-
}, o.x,
|
|
158
|
+
}, o.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
146
159
|
donutHover: se({
|
|
147
|
-
series:
|
|
148
|
-
color:
|
|
149
|
-
name:
|
|
150
|
-
value:
|
|
160
|
+
series: V.value.map((L, ze) => ({
|
|
161
|
+
color: L.color,
|
|
162
|
+
name: L.name,
|
|
163
|
+
value: L.values[g] ?? 0
|
|
151
164
|
}))
|
|
152
|
-
}, o.x,
|
|
165
|
+
}, o.x, z, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
|
|
153
166
|
donutFocus: se({
|
|
154
|
-
series:
|
|
155
|
-
color:
|
|
156
|
-
name:
|
|
157
|
-
value:
|
|
167
|
+
series: V.value.map((L, ze) => ({
|
|
168
|
+
color: L.color,
|
|
169
|
+
name: L.name,
|
|
170
|
+
value: L.values[g] ?? 0
|
|
158
171
|
}))
|
|
159
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)
|
|
160
173
|
};
|
|
@@ -174,36 +187,36 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
174
187
|
);
|
|
175
188
|
}
|
|
176
189
|
const Q = x(() => ({
|
|
177
|
-
max: Math.max(...
|
|
190
|
+
max: Math.max(...C.value.map((l) => l.subtotal)),
|
|
178
191
|
min: 0
|
|
179
|
-
})),
|
|
180
|
-
const l =
|
|
181
|
-
return
|
|
192
|
+
})), O = x(() => {
|
|
193
|
+
const l = C.value.length === 1 ? Q.value.max * 2 : Q.value.max;
|
|
194
|
+
return Te(Q.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
182
195
|
});
|
|
183
|
-
function
|
|
184
|
-
return l /
|
|
196
|
+
function Ue(l) {
|
|
197
|
+
return l / O.value.max;
|
|
185
198
|
}
|
|
186
|
-
const
|
|
187
|
-
y: r.value.absoluteHeight - s.value.bottom - r.value.height *
|
|
199
|
+
const Xe = x(() => O.value.ticks.map((l) => ({
|
|
200
|
+
y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ue(l),
|
|
188
201
|
value: l
|
|
189
202
|
})));
|
|
190
|
-
function
|
|
191
|
-
return isNaN(l.value /
|
|
203
|
+
function Ce(l, i) {
|
|
204
|
+
return isNaN(l.value / Oe(i, "value")) ? 0 : (l.value / Oe(i, "value") * 100).toFixed(0) + "%";
|
|
192
205
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
206
|
+
function we() {
|
|
207
|
+
S.value || (f.value = null, J.value = null);
|
|
195
208
|
}
|
|
196
|
-
function
|
|
197
|
-
|
|
209
|
+
function Ge(l) {
|
|
210
|
+
S.value || (f.value = l.index, J.value = l);
|
|
198
211
|
}
|
|
199
|
-
const Z =
|
|
212
|
+
const Z = m(null);
|
|
200
213
|
function ee(l, i) {
|
|
201
|
-
l.subtotal && (J.value = null,
|
|
214
|
+
l.subtotal && (J.value = null, f.value = null, S.value = !0, A.value = l, [null, void 0].includes(i) || (Z.value = i));
|
|
202
215
|
}
|
|
203
|
-
function
|
|
204
|
-
|
|
216
|
+
function Le() {
|
|
217
|
+
A.value = null, S.value = !1, Z.value = null;
|
|
205
218
|
}
|
|
206
|
-
const
|
|
219
|
+
const $e = x(() => D.value.map((l, i) => ({
|
|
207
220
|
name: l.name,
|
|
208
221
|
value: l.values.slice(h.value.start, h.value.end).reduce((t, n) => t + n, 0),
|
|
209
222
|
shape: "circle",
|
|
@@ -211,10 +224,10 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
211
224
|
color: l.color
|
|
212
225
|
})).sort((l, i) => i.value - l.value).map((l) => ({
|
|
213
226
|
...l,
|
|
214
|
-
opacity:
|
|
227
|
+
opacity: _.value.includes(l.uid) ? 0.5 : 1,
|
|
215
228
|
segregate: () => te(l.uid),
|
|
216
|
-
isSegregated:
|
|
217
|
-
}))),
|
|
229
|
+
isSegregated: _.value.includes(l.uid)
|
|
230
|
+
}))), Se = x(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), Be = x(() => ({
|
|
218
231
|
cy: "donut-div-legend",
|
|
219
232
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
220
233
|
color: e.value.style.chart.legend.color,
|
|
@@ -223,26 +236,26 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
223
236
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
224
237
|
}));
|
|
225
238
|
function te(l) {
|
|
226
|
-
if (
|
|
227
|
-
|
|
239
|
+
if (_.value.includes(l))
|
|
240
|
+
_.value = _.value.filter((i) => i !== l), ie("selectLegend", null);
|
|
228
241
|
else {
|
|
229
|
-
if (
|
|
230
|
-
|
|
242
|
+
if (_.value.length === D.value.length - 1) return;
|
|
243
|
+
_.value.push(l), ie("selectLegend", D.value.find((i) => i.uid === l));
|
|
231
244
|
}
|
|
232
|
-
|
|
245
|
+
A.value && ee(C.value.find((i, t) => t === Z.value));
|
|
233
246
|
}
|
|
234
|
-
const
|
|
235
|
-
const l = [""].concat(D.value.filter((o) => !
|
|
247
|
+
const H = x(() => {
|
|
248
|
+
const l = [""].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => ({
|
|
236
249
|
name: o.name,
|
|
237
250
|
color: o.color
|
|
238
251
|
}))).concat(["Σ"]);
|
|
239
252
|
let i = [];
|
|
240
|
-
for (let o = 0; o <
|
|
241
|
-
const
|
|
242
|
-
i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[o] ?? "-"].concat(D.value.filter((y) => !
|
|
253
|
+
for (let o = 0; o < W.value; o += 1) {
|
|
254
|
+
const g = D.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[o] ?? 0).reduce((y, N) => y + N, 0);
|
|
255
|
+
i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[o] ?? "-"].concat(D.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
|
|
243
256
|
value: y.values[o] ?? 0,
|
|
244
|
-
percentage: y.values[o] ? y.values[o] /
|
|
245
|
-
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(
|
|
257
|
+
percentage: y.values[o] ? y.values[o] / g * 100 : 0
|
|
258
|
+
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(g.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
246
259
|
}
|
|
247
260
|
const t = {
|
|
248
261
|
th: {
|
|
@@ -258,44 +271,45 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
258
271
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
259
272
|
}, n = [
|
|
260
273
|
e.value.table.columnNames.period
|
|
261
|
-
].concat(D.value.filter((o) => !
|
|
274
|
+
].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => o.name)).concat(e.value.table.columnNames.total);
|
|
262
275
|
return { head: l, body: i, config: t, colNames: n };
|
|
263
276
|
});
|
|
264
|
-
function
|
|
277
|
+
function je() {
|
|
265
278
|
return D.value;
|
|
266
279
|
}
|
|
267
|
-
function
|
|
268
|
-
|
|
269
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...
|
|
270
|
-
|
|
280
|
+
function Ae() {
|
|
281
|
+
Qe(() => {
|
|
282
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...H.value.head.map((g) => g.name ?? g)], t = [...H.value.body.map((g) => g.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = nt(n);
|
|
283
|
+
it({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
271
284
|
});
|
|
272
285
|
}
|
|
273
|
-
const
|
|
274
|
-
function
|
|
275
|
-
|
|
286
|
+
const R = m(!1);
|
|
287
|
+
function Ye(l) {
|
|
288
|
+
R.value = l, he.value += 1;
|
|
276
289
|
}
|
|
277
|
-
function
|
|
290
|
+
function Ne() {
|
|
278
291
|
X.value.showTable = !X.value.showTable;
|
|
279
292
|
}
|
|
280
|
-
return
|
|
281
|
-
getData:
|
|
282
|
-
generatePdf:
|
|
283
|
-
generateCsv:
|
|
284
|
-
generateImage:
|
|
285
|
-
toggleTable:
|
|
293
|
+
return Ve({
|
|
294
|
+
getData: je,
|
|
295
|
+
generatePdf: ke,
|
|
296
|
+
generateCsv: Ae,
|
|
297
|
+
generateImage: _e,
|
|
298
|
+
toggleTable: Ne
|
|
286
299
|
}), (l, i) => (a(), u("div", {
|
|
287
300
|
ref_key: "donutEvolutionChart",
|
|
288
|
-
ref:
|
|
289
|
-
class: F(`vue-ui-donut-evolution ${
|
|
301
|
+
ref: de,
|
|
302
|
+
class: F(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
290
303
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
291
304
|
id: I.value
|
|
292
305
|
}, [
|
|
293
306
|
e.value.style.chart.title.text ? (a(), u("div", {
|
|
294
307
|
key: 0,
|
|
295
308
|
style: B(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`),
|
|
296
|
-
onMouseleave:
|
|
309
|
+
onMouseleave: we
|
|
297
310
|
}, [
|
|
298
|
-
|
|
311
|
+
(a(), E(ct, {
|
|
312
|
+
key: `title_${ge.value}`,
|
|
299
313
|
config: {
|
|
300
314
|
title: {
|
|
301
315
|
cy: "donut-evolution-div-title",
|
|
@@ -306,30 +320,30 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
306
320
|
...e.value.style.chart.title.subtitle
|
|
307
321
|
}
|
|
308
322
|
}
|
|
309
|
-
}, null, 8, ["config"])
|
|
323
|
+
}, null, 8, ["config"]))
|
|
310
324
|
], 36)) : d("", !0),
|
|
311
|
-
e.value.userOptions.show && U.value ? (a(),
|
|
325
|
+
e.value.userOptions.show && U.value ? (a(), E(dt, {
|
|
312
326
|
ref: "details",
|
|
313
|
-
key: `user_options_${
|
|
327
|
+
key: `user_options_${he.value}`,
|
|
314
328
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
315
329
|
color: e.value.style.chart.color,
|
|
316
|
-
isPrinting: c(
|
|
317
|
-
isImaging: c(
|
|
330
|
+
isPrinting: c(me),
|
|
331
|
+
isImaging: c(pe),
|
|
318
332
|
uid: I.value,
|
|
319
333
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
320
334
|
hasImg: e.value.userOptions.buttons.img,
|
|
321
335
|
hasXls: e.value.userOptions.buttons.csv,
|
|
322
336
|
hasTable: e.value.userOptions.buttons.table,
|
|
323
337
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
324
|
-
isFullscreen:
|
|
338
|
+
isFullscreen: R.value,
|
|
325
339
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
326
|
-
chartElement:
|
|
327
|
-
onToggleFullscreen:
|
|
328
|
-
onGeneratePdf: c(
|
|
329
|
-
onGenerateCsv:
|
|
330
|
-
onGenerateImage: c(
|
|
331
|
-
onToggleTable:
|
|
332
|
-
},
|
|
340
|
+
chartElement: de.value,
|
|
341
|
+
onToggleFullscreen: Ye,
|
|
342
|
+
onGeneratePdf: c(ke),
|
|
343
|
+
onGenerateCsv: Ae,
|
|
344
|
+
onGenerateImage: c(_e),
|
|
345
|
+
onToggleTable: Ne
|
|
346
|
+
}, qe({ _: 2 }, [
|
|
333
347
|
l.$slots.optionPdf ? {
|
|
334
348
|
name: "optionPdf",
|
|
335
349
|
fn: P(() => [
|
|
@@ -368,8 +382,8 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
368
382
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
369
383
|
U.value ? (a(), u("svg", {
|
|
370
384
|
key: 2,
|
|
371
|
-
xmlns: c(
|
|
372
|
-
class: F({ "vue-data-ui-fullscreen--on":
|
|
385
|
+
xmlns: c(st),
|
|
386
|
+
class: F({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
373
387
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
374
388
|
style: B(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
375
389
|
}, [
|
|
@@ -384,30 +398,30 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
384
398
|
v("stop", {
|
|
385
399
|
offset: "0%",
|
|
386
400
|
"stop-color": `${e.value.style.chart.backgroundColor}${c(re)[e.value.style.chart.layout.highlighter.opacity]}`
|
|
387
|
-
}, null, 8,
|
|
401
|
+
}, null, 8, _t),
|
|
388
402
|
v("stop", {
|
|
389
403
|
offset: "100%",
|
|
390
404
|
"stop-color": `${e.value.style.chart.layout.highlighter.color}${c(re)[e.value.style.chart.layout.highlighter.opacity]}`
|
|
391
|
-
}, null, 8,
|
|
392
|
-
], 8,
|
|
405
|
+
}, null, 8, Ct)
|
|
406
|
+
], 8, kt),
|
|
393
407
|
v("radialGradient", {
|
|
394
408
|
id: `focus_${I.value}`
|
|
395
409
|
}, [
|
|
396
410
|
v("stop", {
|
|
397
411
|
offset: "0%",
|
|
398
412
|
"stop-color": `${c(oe)(e.value.style.chart.backgroundColor)}00`
|
|
399
|
-
}, null, 8,
|
|
413
|
+
}, null, 8, Lt),
|
|
400
414
|
v("stop", {
|
|
401
415
|
offset: "77%",
|
|
402
416
|
"stop-color": "#FFFFFF" + c(re)[30]
|
|
403
|
-
}, null, 8,
|
|
417
|
+
}, null, 8, $t),
|
|
404
418
|
v("stop", {
|
|
405
419
|
offset: "100%",
|
|
406
420
|
"stop-color": `${c(oe)(e.value.style.chart.backgroundColor)}00`
|
|
407
|
-
}, null, 8,
|
|
408
|
-
], 8,
|
|
421
|
+
}, null, 8, St)
|
|
422
|
+
], 8, wt)
|
|
409
423
|
]),
|
|
410
|
-
e.value.style.chart.layout.grid.show ? (a(), u("g",
|
|
424
|
+
e.value.style.chart.layout.grid.show ? (a(), u("g", At, [
|
|
411
425
|
v("line", {
|
|
412
426
|
x1: s.value.left,
|
|
413
427
|
x2: s.value.left,
|
|
@@ -416,7 +430,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
416
430
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
417
431
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
418
432
|
"stroke-linecap": "round"
|
|
419
|
-
}, null, 8,
|
|
433
|
+
}, null, 8, Nt),
|
|
420
434
|
v("line", {
|
|
421
435
|
x1: s.value.left,
|
|
422
436
|
x2: r.value.absoluteWidth - s.value.right,
|
|
@@ -425,25 +439,25 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
425
439
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
426
440
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
427
441
|
"stroke-linecap": "round"
|
|
428
|
-
}, null, 8,
|
|
429
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g",
|
|
430
|
-
(a(!0), u(
|
|
431
|
-
x1: s.value.left + (n + 1) *
|
|
432
|
-
x2: s.value.left + (n + 1) *
|
|
442
|
+
}, null, 8, zt),
|
|
443
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", Ft, [
|
|
444
|
+
(a(!0), u(p, null, k(h.value.end - h.value.start, (t, n) => (a(), u("line", {
|
|
445
|
+
x1: s.value.left + (n + 1) * w.value,
|
|
446
|
+
x2: s.value.left + (n + 1) * w.value,
|
|
433
447
|
y1: s.value.top,
|
|
434
448
|
y2: r.value.absoluteHeight - s.value.bottom,
|
|
435
449
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
436
450
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
437
451
|
"stroke-linecap": "round"
|
|
438
|
-
}, null, 8,
|
|
452
|
+
}, null, 8, Pt))), 256))
|
|
439
453
|
])) : d("", !0)
|
|
440
454
|
])) : d("", !0),
|
|
441
455
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
|
|
442
456
|
key: 1,
|
|
443
|
-
class: F({ "donut-opacity": !0, "donut-behind":
|
|
457
|
+
class: F({ "donut-opacity": !0, "donut-behind": f.value !== null || S.value })
|
|
444
458
|
}, [
|
|
445
|
-
(a(!0), u(
|
|
446
|
-
t.value >=
|
|
459
|
+
(a(!0), u(p, null, k(Xe.value, (t, n) => (a(), u("g", null, [
|
|
460
|
+
t.value >= O.value.min && t.value <= O.value.max ? (a(), u("line", {
|
|
447
461
|
key: 0,
|
|
448
462
|
x1: s.value.left,
|
|
449
463
|
x2: s.value.left - 5,
|
|
@@ -451,8 +465,8 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
451
465
|
y2: t.y,
|
|
452
466
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
453
467
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
454
|
-
}, null, 8,
|
|
455
|
-
t.value >=
|
|
468
|
+
}, null, 8, Dt)) : d("", !0),
|
|
469
|
+
t.value >= O.value.min && t.value <= O.value.max ? (a(), u("text", {
|
|
456
470
|
key: 1,
|
|
457
471
|
x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
458
472
|
y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -460,7 +474,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
460
474
|
"text-anchor": "end",
|
|
461
475
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
462
476
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
463
|
-
}, b(c(
|
|
477
|
+
}, b(c(rt)(t.value) ? c(ne)(
|
|
464
478
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
465
479
|
t.value,
|
|
466
480
|
c(K)({
|
|
@@ -470,71 +484,71 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
470
484
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
471
485
|
}),
|
|
472
486
|
{ datapoint: t, seriesIndex: n }
|
|
473
|
-
) : ""), 9,
|
|
487
|
+
) : ""), 9, Tt)) : d("", !0)
|
|
474
488
|
]))), 256))
|
|
475
489
|
], 2)) : d("", !0),
|
|
476
490
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
|
|
477
491
|
key: 2,
|
|
478
|
-
class: F({ "donut-opacity": !0, "donut-behind":
|
|
492
|
+
class: F({ "donut-opacity": !0, "donut-behind": S.value })
|
|
479
493
|
}, [
|
|
480
|
-
(a(!0), u(
|
|
481
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n ===
|
|
494
|
+
(a(!0), u(p, null, k(h.value.end - h.value.start, (t, n) => (a(), u("g", null, [
|
|
495
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === W.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), u("text", {
|
|
482
496
|
key: 0,
|
|
483
497
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
484
498
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
485
499
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
486
|
-
transform: `translate(${s.value.left +
|
|
487
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9,
|
|
500
|
+
transform: `translate(${s.value.left + w.value * n + w.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
501
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, It)) : d("", !0)
|
|
488
502
|
]))), 256))
|
|
489
503
|
], 2)) : d("", !0),
|
|
490
|
-
(a(!0), u(
|
|
491
|
-
e.value.style.chart.layout.line.show && n <
|
|
504
|
+
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", null, [
|
|
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", {
|
|
492
506
|
key: 0,
|
|
493
|
-
class: F({ "donut-opacity": !0, "donut-behind":
|
|
507
|
+
class: F({ "donut-opacity": !0, "donut-behind": f.value !== null || S.value }),
|
|
494
508
|
x1: t.x,
|
|
495
509
|
y1: t.y,
|
|
496
|
-
x2:
|
|
497
|
-
y2:
|
|
510
|
+
x2: C.value[n + 1].x,
|
|
511
|
+
y2: C.value[n + 1].y,
|
|
498
512
|
stroke: e.value.style.chart.layout.line.stroke,
|
|
499
513
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
500
514
|
"stroke-linecap": "round",
|
|
501
515
|
"stroke-linejoin": "round"
|
|
502
|
-
}, null, 10,
|
|
503
|
-
t.subtotal !== null ? (a(), u("g",
|
|
516
|
+
}, null, 10, Et)) : d("", !0),
|
|
517
|
+
t.subtotal !== null ? (a(), u("g", Ot, [
|
|
504
518
|
t.subtotal ? (a(), u("circle", {
|
|
505
519
|
key: 0,
|
|
506
520
|
cx: t.x,
|
|
507
521
|
cy: t.y,
|
|
508
522
|
r: t.activeRadius,
|
|
509
523
|
fill: e.value.style.chart.backgroundColor
|
|
510
|
-
}, null, 8,
|
|
524
|
+
}, null, 8, Ht)) : d("", !0)
|
|
511
525
|
])) : d("", !0)
|
|
512
526
|
]))), 256)),
|
|
513
|
-
(a(!0), u(
|
|
514
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
527
|
+
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
528
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== f.value && f.value !== null || S.value })
|
|
515
529
|
}, [
|
|
516
|
-
t.subtotal ? (a(), u("g",
|
|
517
|
-
|
|
518
|
-
(a(!0), u(
|
|
530
|
+
t.subtotal ? (a(), u("g", Mt, [
|
|
531
|
+
f.value !== null && f.value === n ? (a(), u("g", Vt, [
|
|
532
|
+
(a(!0), u(p, null, k(t.donutHover, (o) => (a(), u("g", null, [
|
|
519
533
|
v("path", {
|
|
520
|
-
d: c(
|
|
534
|
+
d: c(Ie)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0),
|
|
521
535
|
stroke: o.color,
|
|
522
536
|
"stroke-width": "1",
|
|
523
537
|
"stroke-linecap": "round",
|
|
524
538
|
"stroke-linejoin": "round",
|
|
525
539
|
fill: "none"
|
|
526
|
-
}, null, 8,
|
|
540
|
+
}, null, 8, Wt)
|
|
527
541
|
]))), 256)),
|
|
528
|
-
(a(!0), u(
|
|
542
|
+
(a(!0), u(p, null, k(t.donutHover, (o, g) => (a(), u("g", null, [
|
|
529
543
|
v("text", {
|
|
530
544
|
"data-cy-hover-label": "",
|
|
531
545
|
"text-anchor": c(q)(o, !0, 0).anchor,
|
|
532
546
|
x: c(q)(o, !0, 3).x,
|
|
533
|
-
y: c(
|
|
547
|
+
y: c(Ee)(o),
|
|
534
548
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
535
549
|
"font-size": 8,
|
|
536
550
|
"font-weight": "bold"
|
|
537
|
-
}, b(o.name) + ": " + b(
|
|
551
|
+
}, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : G(o.value, o, g)) + ") ", 9, Rt)
|
|
538
552
|
]))), 256)),
|
|
539
553
|
v("g", null, [
|
|
540
554
|
v("circle", {
|
|
@@ -542,73 +556,73 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
542
556
|
cy: t.y,
|
|
543
557
|
r: t.hoverRadius,
|
|
544
558
|
fill: e.value.style.chart.backgroundColor
|
|
545
|
-
}, null, 8,
|
|
559
|
+
}, null, 8, Ut)
|
|
546
560
|
])
|
|
547
561
|
])) : d("", !0)
|
|
548
562
|
])) : d("", !0)
|
|
549
563
|
], 2))), 256)),
|
|
550
|
-
(a(!0), u(
|
|
551
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
564
|
+
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
565
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== f.value && f.value !== null || S.value })
|
|
552
566
|
}, [
|
|
553
|
-
t.subtotal !== null ? (a(), u("g",
|
|
567
|
+
t.subtotal !== null ? (a(), u("g", Xt, [
|
|
554
568
|
t.subtotal === 0 ? (a(), u("circle", {
|
|
555
569
|
key: 0,
|
|
556
570
|
cx: t.x,
|
|
557
571
|
cy: t.y,
|
|
558
572
|
r: 3,
|
|
559
573
|
fill: e.value.style.chart.color
|
|
560
|
-
}, null, 8,
|
|
561
|
-
(a(!0), u(
|
|
574
|
+
}, null, 8, Gt)) : f.value !== null && f.value === n ? (a(), u("g", Bt, [
|
|
575
|
+
(a(!0), u(p, null, k(t.donutHover, (o, g) => (a(), u("path", {
|
|
562
576
|
d: o.arcSlice,
|
|
563
577
|
fill: `${o.color}`,
|
|
564
578
|
"stroke-width": 1,
|
|
565
579
|
stroke: e.value.style.chart.backgroundColor
|
|
566
|
-
}, null, 8,
|
|
567
|
-
])) : (a(), u("g",
|
|
568
|
-
(a(!0), u(
|
|
580
|
+
}, null, 8, jt))), 256))
|
|
581
|
+
])) : (a(), u("g", Yt, [
|
|
582
|
+
(a(!0), u(p, null, k(t.donut, (o, g) => (a(), u("path", {
|
|
569
583
|
d: o.arcSlice,
|
|
570
584
|
fill: `${o.color}`,
|
|
571
585
|
"stroke-width": 0.5,
|
|
572
586
|
stroke: e.value.style.chart.backgroundColor
|
|
573
|
-
}, null, 8,
|
|
587
|
+
}, null, 8, Kt))), 256))
|
|
574
588
|
]))
|
|
575
589
|
])) : d("", !0)
|
|
576
590
|
], 2))), 256)),
|
|
577
|
-
(a(!0), u(
|
|
578
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
591
|
+
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
592
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== f.value && f.value !== null || S.value })
|
|
579
593
|
}, [
|
|
580
594
|
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), u("text", {
|
|
581
595
|
key: 0,
|
|
582
596
|
"text-anchor": "middle",
|
|
583
597
|
x: t.x,
|
|
584
|
-
y:
|
|
598
|
+
y: f.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,
|
|
585
599
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
586
600
|
"font-weight": "bold",
|
|
587
601
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
588
|
-
}, b(G(t.subtotal, t, n)), 9,
|
|
602
|
+
}, b(G(t.subtotal, t, n)), 9, qt)) : d("", !0)
|
|
589
603
|
], 2))), 256)),
|
|
590
|
-
(a(!0), u(
|
|
591
|
-
x: s.value.left + n *
|
|
604
|
+
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
|
|
605
|
+
x: s.value.left + n * w.value,
|
|
592
606
|
y: r.value.absoluteHeight - s.value.bottom - 10,
|
|
593
|
-
width:
|
|
607
|
+
width: w.value,
|
|
594
608
|
height: 10,
|
|
595
|
-
fill:
|
|
609
|
+
fill: f.value === t.index ? `url(#hover_${I.value})` : "transparent",
|
|
596
610
|
onClick: (o) => ee(t, n),
|
|
597
|
-
class: F({ "donut-hover":
|
|
598
|
-
}, null, 10,
|
|
599
|
-
(a(!0), u(
|
|
611
|
+
class: F({ "donut-hover": f.value === t.index && t.subtotal })
|
|
612
|
+
}, null, 10, Jt))), 256)),
|
|
613
|
+
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
|
|
600
614
|
"data-cy-trap": "",
|
|
601
|
-
x: s.value.left + n *
|
|
615
|
+
x: s.value.left + n * w.value,
|
|
602
616
|
y: s.value.top,
|
|
603
|
-
width:
|
|
617
|
+
width: w.value,
|
|
604
618
|
height: r.value.height,
|
|
605
619
|
fill: "transparent",
|
|
606
|
-
onMouseenter: (o) =>
|
|
607
|
-
onMouseleave:
|
|
620
|
+
onMouseenter: (o) => Ge(t),
|
|
621
|
+
onMouseleave: we,
|
|
608
622
|
onClick: (o) => ee(t, n),
|
|
609
|
-
class: F({ "donut-hover":
|
|
610
|
-
}, null, 42,
|
|
611
|
-
|
|
623
|
+
class: F({ "donut-hover": f.value === t.index && t.subtotal })
|
|
624
|
+
}, null, 42, Qt))), 256)),
|
|
625
|
+
S.value ? (a(), u("g", Zt, [
|
|
612
626
|
v("rect", {
|
|
613
627
|
rx: 4,
|
|
614
628
|
x: s.value.left,
|
|
@@ -617,7 +631,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
617
631
|
height: r.value.height,
|
|
618
632
|
fill: e.value.style.chart.backgroundColor,
|
|
619
633
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
620
|
-
}, null, 8,
|
|
634
|
+
}, null, 8, el),
|
|
621
635
|
v("line", {
|
|
622
636
|
"data-html2canvas-ignore": "",
|
|
623
637
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -627,7 +641,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
627
641
|
"stroke-linecap": "round",
|
|
628
642
|
stroke: e.value.style.chart.color,
|
|
629
643
|
"stroke-width": "1.5"
|
|
630
|
-
}, null, 8,
|
|
644
|
+
}, null, 8, tl),
|
|
631
645
|
v("line", {
|
|
632
646
|
"data-html2canvas-ignore": "",
|
|
633
647
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -637,65 +651,65 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
637
651
|
"stroke-linecap": "round",
|
|
638
652
|
stroke: e.value.style.chart.color,
|
|
639
653
|
"stroke-width": "1.5"
|
|
640
|
-
}, null, 8,
|
|
654
|
+
}, null, 8, ll),
|
|
641
655
|
v("circle", {
|
|
642
656
|
"data-cy-close": "",
|
|
643
|
-
onClick:
|
|
644
|
-
onKeypress:
|
|
657
|
+
onClick: Le,
|
|
658
|
+
onKeypress: Je(Le, ["enter"]),
|
|
645
659
|
cx: r.value.absoluteWidth - s.value.right - r.value.width / 40,
|
|
646
660
|
cy: s.value.top + r.value.height / 30,
|
|
647
661
|
r: r.value.height / 12,
|
|
648
662
|
fill: "transparent",
|
|
649
663
|
style: { cursor: "pointer" },
|
|
650
664
|
tabindex: "0"
|
|
651
|
-
}, null, 40,
|
|
652
|
-
(a(!0), u(
|
|
665
|
+
}, null, 40, al),
|
|
666
|
+
(a(!0), u(p, null, k(A.value.donutFocus, (t) => (a(), u("g", null, [
|
|
653
667
|
v("path", {
|
|
654
668
|
"data-cy-zoom-donut": "",
|
|
655
|
-
d: c(
|
|
669
|
+
d: c(Ie)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 1),
|
|
656
670
|
stroke: t.color,
|
|
657
671
|
"stroke-width": "1",
|
|
658
672
|
"stroke-linecap": "round",
|
|
659
673
|
"stroke-linejoin": "round",
|
|
660
674
|
fill: "none",
|
|
661
675
|
class: "vue-ui-donut-evolution-focus"
|
|
662
|
-
}, null, 8,
|
|
676
|
+
}, null, 8, ul)
|
|
663
677
|
]))), 256)),
|
|
664
678
|
v("circle", {
|
|
665
679
|
cx: s.value.left + r.value.width / 2,
|
|
666
680
|
cy: s.value.top + r.value.height / 2,
|
|
667
681
|
r: r.value.height / 7,
|
|
668
682
|
fill: e.value.style.chart.backgroundColor
|
|
669
|
-
}, null, 8,
|
|
670
|
-
(a(!0), u(
|
|
683
|
+
}, null, 8, ol),
|
|
684
|
+
(a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("path", {
|
|
671
685
|
d: t.arcSlice,
|
|
672
686
|
fill: `${t.color}`,
|
|
673
687
|
"stroke-width": 1,
|
|
674
688
|
stroke: e.value.style.chart.backgroundColor,
|
|
675
689
|
class: "vue-ui-donut-evolution-focus"
|
|
676
|
-
}, null, 8,
|
|
677
|
-
(a(!0), u(
|
|
690
|
+
}, null, 8, sl))), 256)),
|
|
691
|
+
(a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("g", rl, [
|
|
678
692
|
v("text", {
|
|
679
693
|
"text-anchor": c(q)(t, !0, 20).anchor,
|
|
680
694
|
x: c(q)(t, !0, 10).x,
|
|
681
|
-
y: c(
|
|
695
|
+
y: c(Ee)(t),
|
|
682
696
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
683
697
|
"font-size": 10,
|
|
684
698
|
"font-weight": "bold"
|
|
685
|
-
}, b(t.name) + ": " + b(
|
|
699
|
+
}, b(t.name) + ": " + b(Ce(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : G(t.value, t, n)) + ") ", 9, nl)
|
|
686
700
|
]))), 256)),
|
|
687
701
|
v("circle", {
|
|
688
702
|
cx: s.value.left + r.value.width / 2,
|
|
689
703
|
cy: s.value.top + r.value.height / 2,
|
|
690
704
|
r: r.value.height / 3.8,
|
|
691
705
|
fill: `url(#focus_${I.value})`
|
|
692
|
-
}, null, 8,
|
|
706
|
+
}, null, 8, il),
|
|
693
707
|
v("circle", {
|
|
694
708
|
cx: s.value.left + r.value.width / 2,
|
|
695
709
|
cy: s.value.top + r.value.height / 2,
|
|
696
710
|
r: r.value.height / 7.7,
|
|
697
711
|
fill: e.value.style.chart.backgroundColor
|
|
698
|
-
}, null, 8,
|
|
712
|
+
}, null, 8, cl),
|
|
699
713
|
v("text", {
|
|
700
714
|
"text-anchor": "middle",
|
|
701
715
|
x: s.value.left + r.value.width / 2,
|
|
@@ -704,21 +718,21 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
704
718
|
"font-weight": "bold",
|
|
705
719
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
706
720
|
class: "vue-ui-donut-evolution-focus"
|
|
707
|
-
}, b(G(
|
|
708
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
721
|
+
}, b(G(A.value.subtotal, A.value, null)), 9, vl),
|
|
722
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index] ? (a(), u("text", {
|
|
709
723
|
key: 0,
|
|
710
724
|
x: s.value.left + 6,
|
|
711
725
|
y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
712
726
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
713
727
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
714
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
728
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9, dl)) : d("", !0)
|
|
715
729
|
])) : d("", !0),
|
|
716
730
|
T(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
717
|
-
], 14,
|
|
718
|
-
l.$slots.watermark ? (a(), u("div",
|
|
719
|
-
T(l.$slots, "watermark", ae(ue({ isPrinting: c(
|
|
731
|
+
], 14, pt)) : d("", !0),
|
|
732
|
+
l.$slots.watermark ? (a(), u("div", hl, [
|
|
733
|
+
T(l.$slots, "watermark", ae(ue({ isPrinting: c(me) || c(pe) })), void 0, !0)
|
|
720
734
|
])) : d("", !0),
|
|
721
|
-
U.value ? d("", !0) : (a(),
|
|
735
|
+
U.value ? d("", !0) : (a(), E(gt, {
|
|
722
736
|
key: 4,
|
|
723
737
|
config: {
|
|
724
738
|
type: "donutEvolution",
|
|
@@ -735,8 +749,8 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
735
749
|
}
|
|
736
750
|
}
|
|
737
751
|
}, null, 8, ["config"])),
|
|
738
|
-
|
|
739
|
-
key: `slicer_${
|
|
752
|
+
W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(ft, {
|
|
753
|
+
key: `slicer_${ye.value}`,
|
|
740
754
|
background: e.value.style.chart.zoom.color,
|
|
741
755
|
borderColor: e.value.style.chart.backgroundColor,
|
|
742
756
|
fontSize: e.value.style.chart.zoom.fontSize,
|
|
@@ -746,7 +760,7 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
746
760
|
textColor: e.value.style.chart.color,
|
|
747
761
|
inputColor: e.value.style.chart.zoom.color,
|
|
748
762
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
749
|
-
max:
|
|
763
|
+
max: W.value,
|
|
750
764
|
min: 0,
|
|
751
765
|
valueStart: h.value.start,
|
|
752
766
|
valueEnd: h.value.end,
|
|
@@ -754,26 +768,26 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
754
768
|
"onUpdate:start": i[0] || (i[0] = (t) => h.value.start = t),
|
|
755
769
|
end: h.value.end,
|
|
756
770
|
"onUpdate:end": i[1] || (i[1] = (t) => h.value.end = t),
|
|
757
|
-
onReset:
|
|
771
|
+
onReset: ce
|
|
758
772
|
}, {
|
|
759
773
|
"reset-action": P(({ reset: t }) => [
|
|
760
774
|
T(l.$slots, "reset-action", ae(ue({ reset: t })), void 0, !0)
|
|
761
775
|
]),
|
|
762
776
|
_: 3
|
|
763
777
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
|
|
764
|
-
e.value.style.chart.legend.show ? (a(),
|
|
765
|
-
key:
|
|
766
|
-
legendSet:
|
|
767
|
-
config:
|
|
778
|
+
e.value.style.chart.legend.show ? (a(), E(yt, {
|
|
779
|
+
key: `legend_${be.value}`,
|
|
780
|
+
legendSet: $e.value,
|
|
781
|
+
config: Be.value,
|
|
768
782
|
onClickMarker: i[2] || (i[2] = ({ legend: t }) => te(t.uid))
|
|
769
783
|
}, {
|
|
770
784
|
item: P(({ legend: t, index: n }) => [
|
|
771
785
|
v("div", {
|
|
772
786
|
"data-cy-legend-item": "",
|
|
773
787
|
onClick: (o) => te(t.uid),
|
|
774
|
-
style: B(`opacity:${
|
|
788
|
+
style: B(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
|
|
775
789
|
}, [
|
|
776
|
-
|
|
790
|
+
Pe(b(t.name) + ": " + b(c(ne)(
|
|
777
791
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
778
792
|
t.value,
|
|
779
793
|
c(K)({
|
|
@@ -784,17 +798,17 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
784
798
|
}),
|
|
785
799
|
{ datapoint: t, seriesIndex: n }
|
|
786
800
|
)) + " ", 1),
|
|
787
|
-
|
|
788
|
-
v: t.value /
|
|
801
|
+
_.value.includes(t.uid) ? (a(), u("span", fl, " ( - % ) ")) : (a(), u("span", gl, " (" + b(isNaN(t.value / Se.value) ? "-" : c(K)({
|
|
802
|
+
v: t.value / Se.value * 100,
|
|
789
803
|
s: "%",
|
|
790
804
|
r: e.value.style.chart.legend.roundingPercentage
|
|
791
805
|
})) + ") ", 1))
|
|
792
|
-
], 12,
|
|
806
|
+
], 12, yl)
|
|
793
807
|
]),
|
|
794
808
|
_: 1
|
|
795
809
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
796
|
-
T(l.$slots, "legend", { legend:
|
|
797
|
-
U.value ? (a(),
|
|
810
|
+
T(l.$slots, "legend", { legend: $e.value }, void 0, !0),
|
|
811
|
+
U.value ? (a(), E(bt, {
|
|
798
812
|
key: 7,
|
|
799
813
|
hideDetails: "",
|
|
800
814
|
config: {
|
|
@@ -811,29 +825,30 @@ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"],
|
|
|
811
825
|
}
|
|
812
826
|
}, {
|
|
813
827
|
content: P(() => [
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
828
|
+
(a(), E(ht, {
|
|
829
|
+
key: `table_${fe.value}`,
|
|
830
|
+
colNames: H.value.colNames,
|
|
831
|
+
head: H.value.head,
|
|
832
|
+
body: H.value.body,
|
|
833
|
+
config: H.value.config,
|
|
819
834
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
820
835
|
onClose: i[3] || (i[3] = (t) => X.value.showTable = !1)
|
|
821
836
|
}, {
|
|
822
837
|
th: P(({ th: t }) => [
|
|
823
|
-
|
|
838
|
+
Pe(b(t.name ?? t), 1)
|
|
824
839
|
]),
|
|
825
840
|
td: P(({ td: t }) => [
|
|
826
|
-
t.value === null ? (a(), u("span",
|
|
841
|
+
t.value === null ? (a(), u("span", bl, "-")) : (a(), u("b", xl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
827
842
|
v("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
828
843
|
]),
|
|
829
844
|
_: 1
|
|
830
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
845
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
831
846
|
]),
|
|
832
847
|
_: 1
|
|
833
848
|
}, 8, ["config"])) : d("", !0)
|
|
834
|
-
], 14,
|
|
849
|
+
], 14, mt));
|
|
835
850
|
}
|
|
836
|
-
},
|
|
851
|
+
}, Fl = /* @__PURE__ */ xt(ml, [["__scopeId", "data-v-83a9ab59"]]);
|
|
837
852
|
export {
|
|
838
|
-
|
|
853
|
+
Fl as default
|
|
839
854
|
};
|