vue-data-ui 2.4.57 → 2.4.59
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/README.md +82 -51
- package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
- package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
- package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
- package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
- package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
- package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
- package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
- package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
- package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
- package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
- package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
- package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
- package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
- package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
- package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
- package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
- package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
- package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
- package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
- package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
- package/dist/documentation/installation.md +48 -48
- package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
- package/dist/index-DaDv7p0W.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
- package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
- package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
- package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
- package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
- package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
- package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
- package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
- package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
- package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
- package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
- package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
- package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
- package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
- package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
- package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
- package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
- package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
- package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
- package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
- package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
- package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
- package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
- package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
- package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
- package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
- package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
- package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
- package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
- package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
- package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
- package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
- package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
- package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
- package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
- package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
- package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
- package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
- package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
- package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
- package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
- package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
- package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
- package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
- package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
- package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
- package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
- package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
- package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
- package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
- package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
- package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
- package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
- package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
- package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
- package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
- package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
- package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
- package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
- package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
- package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
- package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
- package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
- package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
- package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
- package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
- package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
- package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
- package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
- package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
- package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
- package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
- package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
- package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
- package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
- package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
- package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
- package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
- package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
- package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
- package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
- package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
- package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
- package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
- package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
- package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
- package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
- package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
- package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
- package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
- package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
- package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
- package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
- package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
- package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
- package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
- package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
- package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
- package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
- package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
- package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
- package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
- package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
- package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
- package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
- package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
- package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
- package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
- package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
- package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
- package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-o6tXRhOr.cjs +0 -9
- package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
- package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
- package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
- package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
- package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
- package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
- package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
- package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
- package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
- package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
- package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
- package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
- package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
- package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
- package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
- package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
- package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
- package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
- package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
- package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
- package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
- package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
- package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
- package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
- package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
- package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
- package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
- package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
- package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
- package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
- package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
- package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
- package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
- package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
- package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
- package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
- package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
- package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as ct, o as dt, e as
|
|
1
|
+
import { computed as w, ref as d, onMounted as ut, onBeforeUnmount as st, watch as Ue, openBlock as o, createElementBlock as n, normalizeClass as de, normalizeStyle as z, unref as s, createBlock as G, createCommentVNode as i, renderSlot as b, createSlots as nt, withCtx as $, normalizeProps as R, guardReactiveProps as W, createVNode as je, createElementVNode as h, Fragment as k, renderList as X, toDisplayString as x, createTextVNode as He, nextTick as rt, pushScopeId as it, popScopeId as vt } from "vue";
|
|
2
|
+
import { u as ct, o as dt, e as Ee, g as ht, c as yt, b as ft, d as Re, p as U, m as pt, H as gt, f as F, X as bt, s as ee, w as mt, j as wt, I as L, i as Y, k as m, n as te, t as kt, a as _t, x as xt, q as Ct, r as $t } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as Pt, u as St } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Ft } from "./Title-
|
|
5
|
-
import { u as Lt, U as Tt } from "./usePrinter-
|
|
6
|
-
import { D as zt } from "./DataTable-
|
|
7
|
-
import { _ as Ot } from "./Tooltip-
|
|
8
|
-
import { L as Yt } from "./Legend-
|
|
9
|
-
import At from "./vue-ui-skeleton-
|
|
10
|
-
import Nt from "./vue-ui-accordion-
|
|
11
|
-
import { u as We } from "./useNestedProp-
|
|
12
|
-
import { _ as Xt } from "./PackageVersion-
|
|
13
|
-
import { P as It } from "./PenAndPaper-
|
|
4
|
+
import { _ as Ft } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as Lt, U as Tt } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { D as zt } from "./DataTable-CFUKU8PU.js";
|
|
7
|
+
import { _ as Ot } from "./Tooltip-DDJ2Wvjy.js";
|
|
8
|
+
import { L as Yt } from "./Legend-f52bnttJ.js";
|
|
9
|
+
import At from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
10
|
+
import Nt from "./vue-ui-accordion-rNA598L6.js";
|
|
11
|
+
import { u as We } from "./useNestedProp-DuruL3Nt.js";
|
|
12
|
+
import { _ as Xt } from "./PackageVersion-C_FFs0BP.js";
|
|
13
|
+
import { P as It } from "./PenAndPaper-Dx24BtRW.js";
|
|
14
14
|
import { u as Dt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const Bt = (q) => (it("data-v-
|
|
16
|
+
const Bt = (q) => (it("data-v-aa563e7d"), q = q(), vt(), q), Vt = ["id"], Gt = ["xmlns", "viewBox"], Ut = ["width", "height"], jt = { key: 1 }, Ht = ["id"], Et = ["stop-color"], Rt = ["offset", "stop-color"], Wt = ["offset", "stop-color"], qt = ["stop-color"], Jt = { key: 2 }, Kt = ["id", "cx", "cy"], Qt = ["stop-color", "stop-opacity"], Zt = ["stop-color"], el = ["id"], tl = ["id"], ll = /* @__PURE__ */ Bt(() => /* @__PURE__ */ h("feColorMatrix", {
|
|
17
17
|
type: "saturate",
|
|
18
18
|
values: "0"
|
|
19
|
-
}, null, -1)),
|
|
19
|
+
}, null, -1)), al = ["id"], ol = ["flood-color"], ul = ["id"], sl = ["flood-color"], nl = ["d", "stroke", "filter"], rl = ["x1", "y1", "x2", "y2", "stroke", "filter"], il = ["cx", "cy", "r", "fill", "filter"], vl = ["stroke", "d"], cl = ["d", "fill", "stroke", "stroke-width", "filter"], dl = { key: 0 }, hl = ["stroke", "d"], yl = { key: 0 }, fl = ["d", "stroke", "stroke-width", "filter"], pl = ["d", "fill", "stroke", "stroke-width", "filter"], gl = { key: 1 }, bl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ml = ["cx", "cy", "r", "stroke"], wl = ["cx", "cy", "r", "fill"], kl = { key: 0 }, _l = ["d", "fill", "onMouseenter", "onClick"], xl = { key: 1 }, Cl = ["cx", "cy", "r", "fill"], $l = ["x", "y", "fill", "font-size"], Pl = ["x", "y", "fill", "font-size"], Sl = ["x", "y", "fill", "font-size"], Fl = ["x", "y", "fill", "font-size"], Ll = ["filter"], Tl = { key: 0 }, zl = ["x", "y"], Ol = { key: 1 }, Yl = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Al = ["cx", "cy", "fill", "stroke", "filter", "onClick"], Nl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Xl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Il = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Dl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Ml = { key: 2 }, Bl = ["x", "y", "width"], Vl = ["x", "y", "width"], Gl = {
|
|
20
20
|
key: 5,
|
|
21
21
|
class: "vue-data-ui-watermark"
|
|
22
|
-
},
|
|
22
|
+
}, Ul = ["onClick"], jl = {
|
|
23
23
|
key: 0,
|
|
24
24
|
style: { "font-variant-numeric": "tabular-nums" }
|
|
25
|
-
},
|
|
25
|
+
}, Hl = { key: 1 }, El = ["innerHTML"], Rl = {
|
|
26
26
|
__name: "vue-ui-donut",
|
|
27
27
|
props: {
|
|
28
28
|
config: {
|
|
@@ -40,7 +40,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
40
40
|
},
|
|
41
41
|
emits: ["selectLegend", "selectDatapoint"],
|
|
42
42
|
setup(q, { expose: qe, emit: he }) {
|
|
43
|
-
const A = q, { vue_ui_donut: Je } = ct(), J =
|
|
43
|
+
const A = q, { vue_ui_donut: Je } = ct(), J = w({
|
|
44
44
|
get() {
|
|
45
45
|
return !!A.dataset && A.dataset.length;
|
|
46
46
|
},
|
|
@@ -54,31 +54,31 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
54
54
|
le.value && le.value.disconnect();
|
|
55
55
|
});
|
|
56
56
|
function ke() {
|
|
57
|
-
if (dt(A.dataset) ?
|
|
57
|
+
if (dt(A.dataset) ? Ee({
|
|
58
58
|
componentName: "VueUiDonut",
|
|
59
59
|
type: "dataset"
|
|
60
|
-
}) : A.dataset.forEach((l,
|
|
60
|
+
}) : A.dataset.forEach((l, r) => {
|
|
61
61
|
ht({
|
|
62
62
|
datasetObject: l,
|
|
63
63
|
requiredAttributes: ["name", "values"]
|
|
64
64
|
}).forEach((t) => {
|
|
65
|
-
J.value = !1,
|
|
65
|
+
J.value = !1, Ee({
|
|
66
66
|
componentName: "VueUiDonut",
|
|
67
67
|
type: "datasetSerieAttribute",
|
|
68
68
|
property: t,
|
|
69
|
-
index:
|
|
69
|
+
index: r
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
72
|
}), e.value.responsive) {
|
|
73
73
|
const l = Pt(() => {
|
|
74
|
-
const { width:
|
|
74
|
+
const { width: r, height: t } = St({
|
|
75
75
|
chart: j.value,
|
|
76
76
|
title: e.value.style.chart.title.text ? ye.value : null,
|
|
77
77
|
legend: e.value.style.chart.legend.show ? fe.value : null,
|
|
78
78
|
source: pe.value,
|
|
79
79
|
noTitle: ge.value
|
|
80
80
|
});
|
|
81
|
-
|
|
81
|
+
u.value.width = r, u.value.height = t;
|
|
82
82
|
});
|
|
83
83
|
le.value = new ResizeObserver(l), le.value.observe(j.value.parentNode);
|
|
84
84
|
}
|
|
@@ -97,7 +97,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
97
97
|
customPalette: _t[l.theme] || U
|
|
98
98
|
} : l;
|
|
99
99
|
}
|
|
100
|
-
const e =
|
|
100
|
+
const e = w({
|
|
101
101
|
get: () => xe(),
|
|
102
102
|
set: (l) => l
|
|
103
103
|
}), { userOptionsVisible: ne, setUserOptionsVisibility: Ce, keepUserOptionState: $e } = Dt({ config: e.value });
|
|
@@ -107,21 +107,21 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
107
107
|
const { isPrinting: Pe, isImaging: Se, generatePdf: Fe, generateImage: Le } = Lt({
|
|
108
108
|
elementId: `donut__${_.value}`,
|
|
109
109
|
fileName: e.value.style.chart.title.text || "vue-ui-donut"
|
|
110
|
-
}), Qe =
|
|
110
|
+
}), Qe = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), Te = w(() => ft(e.value.customPalette)), y = d({
|
|
111
111
|
dataLabels: {
|
|
112
112
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
113
113
|
},
|
|
114
114
|
showTable: e.value.table.show,
|
|
115
115
|
showTooltip: e.value.style.chart.tooltip.show
|
|
116
|
-
}),
|
|
116
|
+
}), u = d({
|
|
117
117
|
height: 360,
|
|
118
118
|
width: 512
|
|
119
|
-
}), K =
|
|
120
|
-
const l = e.value.style.chart.layout.donut.strokeWidth / 512,
|
|
119
|
+
}), K = w(() => {
|
|
120
|
+
const l = e.value.style.chart.layout.donut.strokeWidth / 512, r = u.value.width * l, t = r > C.value ? C.value : r;
|
|
121
121
|
return t < 24 ? 24 : t;
|
|
122
|
-
}), B =
|
|
122
|
+
}), B = w(() => A.dataset.map((l, r) => ({
|
|
123
123
|
name: l.name,
|
|
124
|
-
color:
|
|
124
|
+
color: Re(l.color) || Te.value[r] || U[r] || U[r % U.length],
|
|
125
125
|
value: l.values.reduce((t, a) => t + a, 0),
|
|
126
126
|
absoluteValues: l.values,
|
|
127
127
|
comment: l.comment || ""
|
|
@@ -136,7 +136,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
136
136
|
}
|
|
137
137
|
const N = d([]), ze = d(null), Oe = d(null), V = d(!1);
|
|
138
138
|
function Ye(l) {
|
|
139
|
-
const
|
|
139
|
+
const r = B.value.find((v, g) => g === l), t = T.value.find((v, g) => g === l);
|
|
140
140
|
let a = t.value;
|
|
141
141
|
if (N.value.includes(l)) {
|
|
142
142
|
let g = function() {
|
|
@@ -149,7 +149,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
149
149
|
} : p), ze.value = requestAnimationFrame(g));
|
|
150
150
|
};
|
|
151
151
|
N.value = N.value.filter((p) => p !== l);
|
|
152
|
-
const v =
|
|
152
|
+
const v = r.value;
|
|
153
153
|
g();
|
|
154
154
|
} else if (N.value.length < B.value.length - 1) {
|
|
155
155
|
let v = function() {
|
|
@@ -169,58 +169,58 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
169
169
|
value: v.value
|
|
170
170
|
})));
|
|
171
171
|
}
|
|
172
|
-
const I =
|
|
172
|
+
const I = w(() => (T.value.forEach((l, r) => {
|
|
173
173
|
if ([null, void 0].includes(l.values))
|
|
174
174
|
return {
|
|
175
175
|
...l,
|
|
176
176
|
values: []
|
|
177
177
|
};
|
|
178
|
-
}), T.value.map((l,
|
|
178
|
+
}), T.value.map((l, r) => ({
|
|
179
179
|
...l,
|
|
180
|
-
seriesIndex:
|
|
181
|
-
})).filter((l,
|
|
180
|
+
seriesIndex: r
|
|
181
|
+
})).filter((l, r) => !N.value.includes(r)))), Ae = w(() => A.dataset.map((l, r) => ({
|
|
182
182
|
name: l.name,
|
|
183
|
-
color:
|
|
183
|
+
color: Re(l.color) || Te.value[r] || U[r] || U[r % U.length],
|
|
184
184
|
value: (l.values || []).reduce((t, a) => t + a, 0),
|
|
185
185
|
shape: "circle"
|
|
186
|
-
})).map((l,
|
|
186
|
+
})).map((l, r) => ({
|
|
187
187
|
...l,
|
|
188
188
|
proportion: l.value / A.dataset.map((t) => (t.values || []).reduce((a, v) => a + v, 0)).reduce((t, a) => t + a, 0),
|
|
189
|
-
opacity: N.value.includes(
|
|
190
|
-
segregate: () => !V.value && Ye(
|
|
191
|
-
isSegregated: N.value.includes(
|
|
192
|
-
}))), et =
|
|
189
|
+
opacity: N.value.includes(r) ? 0.5 : 1,
|
|
190
|
+
segregate: () => !V.value && Ye(r),
|
|
191
|
+
isSegregated: N.value.includes(r)
|
|
192
|
+
}))), et = w(() => ({
|
|
193
193
|
cy: "donut-div-legend",
|
|
194
194
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
195
195
|
color: e.value.style.chart.legend.color,
|
|
196
196
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
197
197
|
paddingBottom: 12,
|
|
198
198
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
199
|
-
})), C =
|
|
200
|
-
const l = Math.min(
|
|
199
|
+
})), C = w(() => {
|
|
200
|
+
const l = Math.min(u.value.width / 3, u.value.height / 3);
|
|
201
201
|
return l < 55 ? 55 : l;
|
|
202
|
-
}), f =
|
|
203
|
-
const l = Math.max(...I.value.map((t) => t.value)),
|
|
202
|
+
}), f = w(() => pt({ series: I.value }, u.value.width / 2, u.value.height / 2, C.value, C.value, 1.99999, 2, 1, 360, 105.25, K.value)), c = w(() => {
|
|
203
|
+
const l = Math.max(...I.value.map((t) => t.value)), r = I.value.map((t) => t.value / l);
|
|
204
204
|
return gt({
|
|
205
|
-
series:
|
|
205
|
+
series: r,
|
|
206
206
|
center: {
|
|
207
|
-
x:
|
|
208
|
-
y:
|
|
207
|
+
x: u.value.width / 2,
|
|
208
|
+
y: u.value.height / 2
|
|
209
209
|
},
|
|
210
|
-
maxRadius: Math.min(
|
|
210
|
+
maxRadius: Math.min(u.value.width, u.value.height) / 3
|
|
211
211
|
});
|
|
212
212
|
});
|
|
213
213
|
function H(l) {
|
|
214
|
-
return l.x >
|
|
214
|
+
return l.x > u.value.width / 2 + 6 ? "start" : l.x < u.value.width / 2 - 6 ? "end" : "middle";
|
|
215
215
|
}
|
|
216
216
|
function tt(l) {
|
|
217
|
-
return l.middlePoint.y >
|
|
217
|
+
return l.middlePoint.y > u.value.height / 2 ? L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 100, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y : L({ initX: l.middlePoint.x, initY: l.middlePoint.y, offset: 0, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y - 100;
|
|
218
218
|
}
|
|
219
219
|
function O(l) {
|
|
220
220
|
return l.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
221
221
|
}
|
|
222
|
-
function re(l,
|
|
223
|
-
const t = l.value / lt(
|
|
222
|
+
function re(l, r) {
|
|
223
|
+
const t = l.value / lt(r);
|
|
224
224
|
return isNaN(t) ? 0 : Y(
|
|
225
225
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
226
226
|
t * 100,
|
|
@@ -233,11 +233,11 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
235
|
function lt(l) {
|
|
236
|
-
return [...l].map((
|
|
236
|
+
return [...l].map((r) => r.value).reduce((r, t) => r + t, 0);
|
|
237
237
|
}
|
|
238
|
-
const S =
|
|
239
|
-
function Ie({ datapoint: l, relativeIndex:
|
|
240
|
-
ie.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, ae.value = a, P.value =
|
|
238
|
+
const S = w(() => I.value.map((l) => l.value).reduce((l, r) => l + r, 0)), Ne = w(() => S.value / I.value.length), Xe = w(() => (l) => V.value ? l.proportion * 100 : l.value / S.value * 100), ie = d(null), Q = d(!1);
|
|
239
|
+
function Ie({ datapoint: l, relativeIndex: r, seriesIndex: t, show: a = !1 }) {
|
|
240
|
+
ie.value = { datapoint: l, seriesIndex: t, config: e.value, series: B.value }, ae.value = a, P.value = r;
|
|
241
241
|
let v = "";
|
|
242
242
|
const g = e.value.style.chart.tooltip.customFormat;
|
|
243
243
|
if (Q.value = !1, xt(g))
|
|
@@ -264,7 +264,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
264
264
|
}),
|
|
265
265
|
{
|
|
266
266
|
datapoint: l,
|
|
267
|
-
relativeIndex:
|
|
267
|
+
relativeIndex: r,
|
|
268
268
|
seriesIndex: t
|
|
269
269
|
}
|
|
270
270
|
)}</b>`), e.value.style.chart.tooltip.showPercentage) {
|
|
@@ -278,7 +278,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
278
278
|
}),
|
|
279
279
|
{
|
|
280
280
|
datapoint: l,
|
|
281
|
-
relativeIndex:
|
|
281
|
+
relativeIndex: r,
|
|
282
282
|
seriesIndex: t
|
|
283
283
|
}
|
|
284
284
|
);
|
|
@@ -290,27 +290,27 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
290
290
|
function Z(l) {
|
|
291
291
|
return e.value.useBlurOnHover && ![null, void 0].includes(P.value) && P.value !== l ? `url(#blur_${_.value})` : "";
|
|
292
292
|
}
|
|
293
|
-
const D =
|
|
293
|
+
const D = w(() => {
|
|
294
294
|
const l = I.value.map((t) => ({
|
|
295
295
|
name: t.name,
|
|
296
296
|
color: t.color
|
|
297
|
-
})),
|
|
298
|
-
return { head: l, body:
|
|
297
|
+
})), r = I.value.map((t) => t.value);
|
|
298
|
+
return { head: l, body: r };
|
|
299
299
|
});
|
|
300
300
|
function De() {
|
|
301
301
|
rt(() => {
|
|
302
302
|
const l = D.value.head.map((a, v) => [[
|
|
303
303
|
a.name
|
|
304
|
-
], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]),
|
|
304
|
+
], [D.value.body[v]], [isNaN(D.value.body[v] / S.value) ? "-" : D.value.body[v] / S.value * 100]]), r = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), t = Ct(r);
|
|
305
305
|
$t({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-donut" });
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
|
-
const oe =
|
|
308
|
+
const oe = w(() => {
|
|
309
309
|
const l = [
|
|
310
310
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
311
311
|
F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: S.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
312
312
|
"100%"
|
|
313
|
-
],
|
|
313
|
+
], r = D.value.head.map((v, g) => {
|
|
314
314
|
const p = F({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: D.value.body[g], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
315
315
|
return [
|
|
316
316
|
{
|
|
@@ -340,19 +340,19 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
340
340
|
e.value.table.columnNames.percentage
|
|
341
341
|
],
|
|
342
342
|
head: l,
|
|
343
|
-
body:
|
|
343
|
+
body: r,
|
|
344
344
|
config: t
|
|
345
345
|
};
|
|
346
|
-
}),
|
|
346
|
+
}), E = d(!1);
|
|
347
347
|
function at(l) {
|
|
348
|
-
|
|
348
|
+
E.value = l, _e.value += 1;
|
|
349
349
|
}
|
|
350
|
-
const Me =
|
|
350
|
+
const Me = w(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent));
|
|
351
351
|
function ot(l) {
|
|
352
|
-
return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((
|
|
352
|
+
return l.toFixed(e.value.style.chart.legend.roundingPercentage).split("").map((r) => "-").join("");
|
|
353
353
|
}
|
|
354
|
-
function M(l,
|
|
355
|
-
he("selectDatapoint", { datapoint: l, index:
|
|
354
|
+
function M(l, r) {
|
|
355
|
+
he("selectDatapoint", { datapoint: l, index: r });
|
|
356
356
|
}
|
|
357
357
|
function Be() {
|
|
358
358
|
y.value.showTable = !y.value.showTable;
|
|
@@ -376,14 +376,14 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
376
376
|
toggleLabels: Ve,
|
|
377
377
|
toggleTooltip: Ge,
|
|
378
378
|
toggleAnnotator: ve
|
|
379
|
-
}), (l,
|
|
379
|
+
}), (l, r) => (o(), n("div", {
|
|
380
380
|
ref_key: "donutChart",
|
|
381
381
|
ref: j,
|
|
382
|
-
class: de(`vue-ui-donut ${
|
|
382
|
+
class: de(`vue-ui-donut ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
383
383
|
style: z(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
384
384
|
id: `donut__${_.value}`,
|
|
385
|
-
onMouseenter:
|
|
386
|
-
onMouseleave:
|
|
385
|
+
onMouseenter: r[6] || (r[6] = () => s(Ce)(!0)),
|
|
386
|
+
onMouseleave: r[7] || (r[7] = () => s(Ce)(!1))
|
|
387
387
|
}, [
|
|
388
388
|
e.value.userOptions.buttons.annotator ? (o(), G(It, {
|
|
389
389
|
key: 0,
|
|
@@ -393,15 +393,15 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
393
393
|
active: ue.value,
|
|
394
394
|
onClose: ve
|
|
395
395
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : i("", !0),
|
|
396
|
-
|
|
397
|
-
Qe.value ? (o(),
|
|
396
|
+
b(l.$slots, "userConfig", {}, void 0, !0),
|
|
397
|
+
Qe.value ? (o(), n("div", {
|
|
398
398
|
key: 1,
|
|
399
399
|
ref_key: "noTitle",
|
|
400
400
|
ref: ge,
|
|
401
401
|
class: "vue-data-ui-no-title-space",
|
|
402
402
|
style: "height:36px; width: 100%;background:transparent"
|
|
403
403
|
}, null, 512)) : i("", !0),
|
|
404
|
-
e.value.style.chart.title.text ? (o(),
|
|
404
|
+
e.value.style.chart.title.text ? (o(), n("div", {
|
|
405
405
|
key: 2,
|
|
406
406
|
ref_key: "chartTitle",
|
|
407
407
|
ref: ye,
|
|
@@ -421,14 +421,14 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
421
421
|
}
|
|
422
422
|
}, null, 8, ["config"]))
|
|
423
423
|
], 512)) : i("", !0),
|
|
424
|
-
e.value.userOptions.show && J.value && (
|
|
424
|
+
e.value.userOptions.show && J.value && (s($e) || s(ne)) ? (o(), G(Tt, {
|
|
425
425
|
ref_key: "details",
|
|
426
426
|
ref: Ke,
|
|
427
427
|
key: `user_option_${_e.value}`,
|
|
428
428
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
429
429
|
color: e.value.style.chart.color,
|
|
430
|
-
isPrinting:
|
|
431
|
-
isImaging:
|
|
430
|
+
isPrinting: s(Pe),
|
|
431
|
+
isImaging: s(Se),
|
|
432
432
|
uid: _.value,
|
|
433
433
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
434
434
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -437,7 +437,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
437
437
|
hasTable: e.value.userOptions.buttons.table,
|
|
438
438
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
439
439
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
440
|
-
isFullscreen:
|
|
440
|
+
isFullscreen: E.value,
|
|
441
441
|
chartElement: j.value,
|
|
442
442
|
position: e.value.userOptions.position,
|
|
443
443
|
isTooltip: y.value.showTooltip,
|
|
@@ -445,125 +445,137 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
445
445
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
446
446
|
isAnnotation: ue.value,
|
|
447
447
|
onToggleFullscreen: at,
|
|
448
|
-
onGeneratePdf:
|
|
448
|
+
onGeneratePdf: s(Fe),
|
|
449
449
|
onGenerateCsv: De,
|
|
450
|
-
onGenerateImage:
|
|
450
|
+
onGenerateImage: s(Le),
|
|
451
451
|
onToggleTable: Be,
|
|
452
452
|
onToggleLabels: Ve,
|
|
453
453
|
onToggleTooltip: Ge,
|
|
454
454
|
onToggleAnnotator: ve,
|
|
455
455
|
style: z({
|
|
456
|
-
visibility:
|
|
456
|
+
visibility: s($e) ? s(ne) ? "visible" : "hidden" : "visible"
|
|
457
457
|
})
|
|
458
458
|
}, nt({ _: 2 }, [
|
|
459
459
|
l.$slots.optionTooltip ? {
|
|
460
460
|
name: "optionTooltip",
|
|
461
461
|
fn: $(() => [
|
|
462
|
-
|
|
462
|
+
b(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
463
463
|
]),
|
|
464
464
|
key: "0"
|
|
465
465
|
} : void 0,
|
|
466
466
|
l.$slots.optionPdf ? {
|
|
467
467
|
name: "optionPdf",
|
|
468
468
|
fn: $(() => [
|
|
469
|
-
|
|
469
|
+
b(l.$slots, "optionPdf", {}, void 0, !0)
|
|
470
470
|
]),
|
|
471
471
|
key: "1"
|
|
472
472
|
} : void 0,
|
|
473
473
|
l.$slots.optionCsv ? {
|
|
474
474
|
name: "optionCsv",
|
|
475
475
|
fn: $(() => [
|
|
476
|
-
|
|
476
|
+
b(l.$slots, "optionCsv", {}, void 0, !0)
|
|
477
477
|
]),
|
|
478
478
|
key: "2"
|
|
479
479
|
} : void 0,
|
|
480
480
|
l.$slots.optionImg ? {
|
|
481
481
|
name: "optionImg",
|
|
482
482
|
fn: $(() => [
|
|
483
|
-
|
|
483
|
+
b(l.$slots, "optionImg", {}, void 0, !0)
|
|
484
484
|
]),
|
|
485
485
|
key: "3"
|
|
486
486
|
} : void 0,
|
|
487
487
|
l.$slots.optionTable ? {
|
|
488
488
|
name: "optionTable",
|
|
489
489
|
fn: $(() => [
|
|
490
|
-
|
|
490
|
+
b(l.$slots, "optionTable", {}, void 0, !0)
|
|
491
491
|
]),
|
|
492
492
|
key: "4"
|
|
493
493
|
} : void 0,
|
|
494
494
|
l.$slots.optionLabels ? {
|
|
495
495
|
name: "optionLabels",
|
|
496
496
|
fn: $(() => [
|
|
497
|
-
|
|
497
|
+
b(l.$slots, "optionLabels", {}, void 0, !0)
|
|
498
498
|
]),
|
|
499
499
|
key: "5"
|
|
500
500
|
} : void 0,
|
|
501
501
|
l.$slots.optionFullscreen ? {
|
|
502
502
|
name: "optionFullscreen",
|
|
503
503
|
fn: $(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
504
|
-
|
|
504
|
+
b(l.$slots, "optionFullscreen", R(W({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
505
505
|
]),
|
|
506
506
|
key: "6"
|
|
507
507
|
} : void 0,
|
|
508
508
|
l.$slots.optionAnnotator ? {
|
|
509
509
|
name: "optionAnnotator",
|
|
510
510
|
fn: $(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
511
|
-
|
|
511
|
+
b(l.$slots, "optionAnnotator", R(W({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
512
512
|
]),
|
|
513
513
|
key: "7"
|
|
514
514
|
} : void 0
|
|
515
515
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
516
|
-
J.value ? (o(),
|
|
516
|
+
J.value ? (o(), n("svg", {
|
|
517
517
|
key: 4,
|
|
518
|
-
xmlns:
|
|
519
|
-
class: de({ "vue-data-ui-fullscreen--on":
|
|
520
|
-
viewBox: `0 0 ${
|
|
518
|
+
xmlns: s(bt),
|
|
519
|
+
class: de({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
|
|
520
|
+
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
521
521
|
style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
522
522
|
}, [
|
|
523
523
|
je(Xt),
|
|
524
|
-
|
|
525
|
-
|
|
524
|
+
l.$slots["chart-background"] ? (o(), n("foreignObject", {
|
|
525
|
+
key: 0,
|
|
526
|
+
x: 0,
|
|
527
|
+
y: 0,
|
|
528
|
+
width: u.value.width <= 0 ? 10 : u.value.width,
|
|
529
|
+
height: u.value.height <= 0 ? 10 : u.value.height,
|
|
530
|
+
style: {
|
|
531
|
+
pointerEvents: "none"
|
|
532
|
+
}
|
|
533
|
+
}, [
|
|
534
|
+
b(l.$slots, "chart-background", {}, void 0, !0)
|
|
535
|
+
], 8, Ut)) : i("", !0),
|
|
536
|
+
e.value.type === "classic" ? (o(), n("defs", jt, [
|
|
537
|
+
e.value.style.chart.useGradient ? (o(), n("radialGradient", {
|
|
526
538
|
key: 0,
|
|
527
539
|
id: `gradient_${_.value}`
|
|
528
540
|
}, [
|
|
529
541
|
h("stop", {
|
|
530
542
|
offset: "0%",
|
|
531
|
-
"stop-color":
|
|
543
|
+
"stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
|
|
532
544
|
"stop-opacity": "0"
|
|
533
|
-
}, null, 8,
|
|
545
|
+
}, null, 8, Et),
|
|
534
546
|
h("stop", {
|
|
535
547
|
offset: `${(1 - K.value / C.value) * 100}%`,
|
|
536
|
-
"stop-color":
|
|
548
|
+
"stop-color": s(ee)("#FFFFFF", 0),
|
|
537
549
|
"stop-opacity": "0"
|
|
538
550
|
}, null, 8, Rt),
|
|
539
551
|
h("stop", {
|
|
540
552
|
offset: `${(1 - K.value / C.value / 2) * 100}%`,
|
|
541
|
-
"stop-color":
|
|
542
|
-
}, null, 8,
|
|
553
|
+
"stop-color": s(ee)("#FFFFFF", e.value.style.chart.gradientIntensity)
|
|
554
|
+
}, null, 8, Wt),
|
|
543
555
|
h("stop", {
|
|
544
556
|
offset: "100%",
|
|
545
|
-
"stop-color":
|
|
557
|
+
"stop-color": s(ee)(e.value.style.chart.backgroundColor, 0),
|
|
546
558
|
"stop-opacity": "0"
|
|
547
|
-
}, null, 8,
|
|
548
|
-
], 8,
|
|
559
|
+
}, null, 8, qt)
|
|
560
|
+
], 8, Ht)) : i("", !0)
|
|
549
561
|
])) : i("", !0),
|
|
550
|
-
e.value.type === "polar" ? (o(),
|
|
551
|
-
(o(!0),
|
|
562
|
+
e.value.type === "polar" ? (o(), n("defs", Jt, [
|
|
563
|
+
(o(!0), n(k, null, X(c.value, (t, a) => (o(), n("radialGradient", {
|
|
552
564
|
id: `polar_gradient_${a}_${_.value}`,
|
|
553
|
-
cx: t.middlePoint.x /
|
|
554
|
-
cy: t.middlePoint.y /
|
|
565
|
+
cx: t.middlePoint.x / u.value.width * 100 + "%",
|
|
566
|
+
cy: t.middlePoint.y / u.value.height * 100 + "%",
|
|
555
567
|
r: "62%"
|
|
556
568
|
}, [
|
|
557
569
|
h("stop", {
|
|
558
570
|
offset: "0%",
|
|
559
|
-
"stop-color":
|
|
571
|
+
"stop-color": s(mt)(f.value[a].color, 0.05),
|
|
560
572
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
561
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, Qt),
|
|
562
574
|
h("stop", {
|
|
563
575
|
offset: "100%",
|
|
564
576
|
"stop-color": f.value[a].color
|
|
565
|
-
}, null, 8,
|
|
566
|
-
], 8,
|
|
577
|
+
}, null, 8, Zt)
|
|
578
|
+
], 8, Kt))), 256))
|
|
567
579
|
])) : i("", !0),
|
|
568
580
|
h("defs", null, [
|
|
569
581
|
h("filter", {
|
|
@@ -577,9 +589,9 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
577
589
|
in: "SourceGraphic",
|
|
578
590
|
stdDeviation: 2,
|
|
579
591
|
id: `blur_std_${_.value}`
|
|
580
|
-
}, null, 8,
|
|
581
|
-
|
|
582
|
-
], 8,
|
|
592
|
+
}, null, 8, tl),
|
|
593
|
+
ll
|
|
594
|
+
], 8, el),
|
|
583
595
|
h("filter", {
|
|
584
596
|
id: `shadow_${_.value}`,
|
|
585
597
|
"color-interpolation-filters": "sRGB"
|
|
@@ -590,8 +602,8 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
590
602
|
stdDeviation: "10",
|
|
591
603
|
"flood-opacity": "0.5",
|
|
592
604
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
593
|
-
}, null, 8,
|
|
594
|
-
], 8,
|
|
605
|
+
}, null, 8, ol)
|
|
606
|
+
], 8, al),
|
|
595
607
|
h("filter", {
|
|
596
608
|
id: `drop_shadow_${_.value}`,
|
|
597
609
|
"color-interpolation-filters": "sRGB",
|
|
@@ -606,26 +618,26 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
606
618
|
stdDeviation: "3",
|
|
607
619
|
"flood-opacity": "1",
|
|
608
620
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
609
|
-
}, null, 8,
|
|
610
|
-
], 8,
|
|
621
|
+
}, null, 8, sl)
|
|
622
|
+
], 8, ul)
|
|
611
623
|
]),
|
|
612
|
-
e.value.type === "classic" ? (o(!0),
|
|
613
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
624
|
+
e.value.type === "classic" ? (o(!0), n(k, { key: 3 }, X(f.value, (t, a) => (o(), n("g", null, [
|
|
625
|
+
O(t) && y.value.dataLabels.show ? (o(), n("path", {
|
|
614
626
|
key: 0,
|
|
615
|
-
d:
|
|
627
|
+
d: s(wt)(t, { x: u.value.width / 2, y: u.value.height / 2 }, 16, 16, !1, !1, K.value),
|
|
616
628
|
stroke: t.color,
|
|
617
629
|
"stroke-width": "1",
|
|
618
630
|
"stroke-linecap": "round",
|
|
619
631
|
"stroke-linejoin": "round",
|
|
620
632
|
fill: "none",
|
|
621
633
|
filter: Z(a)
|
|
622
|
-
}, null, 8,
|
|
634
|
+
}, null, 8, nl)) : i("", !0)
|
|
623
635
|
]))), 256)) : i("", !0),
|
|
624
|
-
e.value.type === "polar" ? (o(!0),
|
|
625
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
636
|
+
e.value.type === "polar" ? (o(!0), n(k, { key: 4 }, X(f.value, (t, a) => (o(), n("g", null, [
|
|
637
|
+
O(t) && y.value.dataLabels.show ? (o(), n("line", {
|
|
626
638
|
key: 0,
|
|
627
|
-
x1:
|
|
628
|
-
y1:
|
|
639
|
+
x1: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
640
|
+
y1: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
|
|
629
641
|
x2: c.value[a].middlePoint.x,
|
|
630
642
|
y2: c.value[a].middlePoint.y,
|
|
631
643
|
stroke: t.color,
|
|
@@ -634,87 +646,87 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
634
646
|
"stroke-linejoin": "round",
|
|
635
647
|
fill: "none",
|
|
636
648
|
filter: Z(a)
|
|
637
|
-
}, null, 8,
|
|
649
|
+
}, null, 8, rl)) : i("", !0)
|
|
638
650
|
]))), 256)) : i("", !0),
|
|
639
|
-
e.value.type === "classic" ? (o(),
|
|
640
|
-
key:
|
|
641
|
-
cx:
|
|
642
|
-
cy:
|
|
651
|
+
e.value.type === "classic" ? (o(), n("circle", {
|
|
652
|
+
key: 5,
|
|
653
|
+
cx: u.value.width / 2,
|
|
654
|
+
cy: u.value.height / 2,
|
|
643
655
|
r: C.value <= 0 ? 10 : C.value,
|
|
644
656
|
fill: e.value.style.chart.backgroundColor,
|
|
645
657
|
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${_.value})` : ""
|
|
646
|
-
}, null, 8,
|
|
647
|
-
S.value && e.value.type === "classic" ? (o(),
|
|
648
|
-
(o(!0),
|
|
658
|
+
}, null, 8, il)) : i("", !0),
|
|
659
|
+
S.value && e.value.type === "classic" ? (o(), n(k, { key: 6 }, [
|
|
660
|
+
(o(!0), n(k, null, X(f.value, (t, a) => (o(), n("path", {
|
|
649
661
|
stroke: e.value.style.chart.backgroundColor,
|
|
650
662
|
d: t.arcSlice,
|
|
651
663
|
fill: "#FFFFFF"
|
|
652
|
-
}, null, 8,
|
|
653
|
-
(o(!0),
|
|
664
|
+
}, null, 8, vl))), 256)),
|
|
665
|
+
(o(!0), n(k, null, X(f.value, (t, a) => (o(), n("path", {
|
|
654
666
|
class: "vue-ui-donut-arc-path",
|
|
655
667
|
d: t.arcSlice,
|
|
656
|
-
fill:
|
|
668
|
+
fill: s(ee)(t.color, 80),
|
|
657
669
|
stroke: e.value.style.chart.backgroundColor,
|
|
658
670
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
659
671
|
filter: Z(a)
|
|
660
|
-
}, null, 8,
|
|
672
|
+
}, null, 8, cl))), 256))
|
|
661
673
|
], 64)) : i("", !0),
|
|
662
|
-
S.value && e.value.type === "polar" ? (o(),
|
|
663
|
-
f.value.length > 1 ? (o(),
|
|
664
|
-
(o(!0),
|
|
674
|
+
S.value && e.value.type === "polar" ? (o(), n(k, { key: 7 }, [
|
|
675
|
+
f.value.length > 1 ? (o(), n("g", dl, [
|
|
676
|
+
(o(!0), n(k, null, X(f.value, (t, a) => (o(), n("path", {
|
|
665
677
|
stroke: e.value.style.chart.backgroundColor,
|
|
666
678
|
d: c.value[a].path,
|
|
667
679
|
fill: "#FFFFFF"
|
|
668
|
-
}, null, 8,
|
|
669
|
-
e.value.style.chart.layout.donut.useShadow ? (o(),
|
|
670
|
-
(o(!0),
|
|
680
|
+
}, null, 8, hl))), 256)),
|
|
681
|
+
e.value.style.chart.layout.donut.useShadow ? (o(), n("g", yl, [
|
|
682
|
+
(o(!0), n(k, null, X(f.value, (t, a) => (o(), n("path", {
|
|
671
683
|
class: "vue-ui-donut-arc-path",
|
|
672
684
|
d: c.value[a].path,
|
|
673
685
|
fill: "transparent",
|
|
674
686
|
stroke: e.value.style.chart.backgroundColor,
|
|
675
687
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
676
688
|
filter: `url(#drop_shadow_${_.value})`
|
|
677
|
-
}, null, 8,
|
|
689
|
+
}, null, 8, fl))), 256))
|
|
678
690
|
])) : i("", !0),
|
|
679
|
-
(o(!0),
|
|
691
|
+
(o(!0), n(k, null, X(f.value, (t, a) => (o(), n("path", {
|
|
680
692
|
class: "vue-ui-donut-arc-path",
|
|
681
693
|
d: c.value[a].path,
|
|
682
694
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_${a}_${_.value})` : t.color,
|
|
683
695
|
stroke: e.value.style.chart.backgroundColor,
|
|
684
696
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
685
697
|
filter: Z(a)
|
|
686
|
-
}, null, 8,
|
|
687
|
-
])) : (o(),
|
|
698
|
+
}, null, 8, pl))), 256))
|
|
699
|
+
])) : (o(), n("g", gl, [
|
|
688
700
|
h("circle", {
|
|
689
|
-
cx:
|
|
690
|
-
cy:
|
|
701
|
+
cx: u.value.width / 2,
|
|
702
|
+
cy: u.value.height / 2,
|
|
691
703
|
r: C.value,
|
|
692
704
|
fill: e.value.style.chart.useGradient ? `url(#polar_gradient_0_${_.value})` : f.value[0].color,
|
|
693
705
|
stroke: e.value.style.chart.backgroundColor,
|
|
694
706
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth
|
|
695
|
-
}, null, 8,
|
|
707
|
+
}, null, 8, bl)
|
|
696
708
|
]))
|
|
697
|
-
], 64)) : (o(),
|
|
698
|
-
key:
|
|
699
|
-
cx:
|
|
700
|
-
cy:
|
|
709
|
+
], 64)) : (o(), n("circle", {
|
|
710
|
+
key: 8,
|
|
711
|
+
cx: u.value.width / 2,
|
|
712
|
+
cy: u.value.height / 2,
|
|
701
713
|
r: C.value <= 0 ? 10 : C.value,
|
|
702
714
|
fill: "transparent",
|
|
703
715
|
stroke: e.value.style.chart.backgroundColor
|
|
704
|
-
}, null, 8,
|
|
705
|
-
e.value.style.chart.useGradient && e.value.type === "classic" ? (o(),
|
|
706
|
-
key:
|
|
707
|
-
cx:
|
|
708
|
-
cy:
|
|
716
|
+
}, null, 8, ml)),
|
|
717
|
+
e.value.style.chart.useGradient && e.value.type === "classic" ? (o(), n("circle", {
|
|
718
|
+
key: 9,
|
|
719
|
+
cx: u.value.width / 2,
|
|
720
|
+
cy: u.value.height / 2,
|
|
709
721
|
r: (
|
|
710
722
|
/* This might require adjustments */
|
|
711
723
|
C.value <= 0 ? 10 : C.value
|
|
712
724
|
),
|
|
713
725
|
fill: `url(#gradient_${_.value})`
|
|
714
|
-
}, null, 8,
|
|
715
|
-
S.value ? (o(),
|
|
716
|
-
f.value.length > 1 || e.value.type === "classic" ? (o(),
|
|
717
|
-
(o(!0),
|
|
726
|
+
}, null, 8, wl)) : i("", !0),
|
|
727
|
+
S.value ? (o(), n(k, { key: 10 }, [
|
|
728
|
+
f.value.length > 1 || e.value.type === "classic" ? (o(), n("g", kl, [
|
|
729
|
+
(o(!0), n(k, null, X(f.value, (t, a) => (o(), n("path", {
|
|
718
730
|
"data-cy-donut-trap": "",
|
|
719
731
|
d: e.value.type === "classic" ? t.arcSlice : c.value[a].path,
|
|
720
732
|
fill: P.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
@@ -724,237 +736,237 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
724
736
|
seriesIndex: t.seriesIndex,
|
|
725
737
|
show: !0
|
|
726
738
|
}),
|
|
727
|
-
onMouseleave:
|
|
739
|
+
onMouseleave: r[0] || (r[0] = (v) => {
|
|
728
740
|
ae.value = !1, P.value = null;
|
|
729
741
|
}),
|
|
730
742
|
onClick: (v) => M(t, a)
|
|
731
|
-
}, null, 40,
|
|
732
|
-
])) : (o(),
|
|
743
|
+
}, null, 40, _l))), 256))
|
|
744
|
+
])) : (o(), n("g", xl, [
|
|
733
745
|
h("circle", {
|
|
734
|
-
cx:
|
|
735
|
-
cy:
|
|
746
|
+
cx: u.value.width / 2,
|
|
747
|
+
cy: u.value.height / 2,
|
|
736
748
|
r: C.value,
|
|
737
749
|
fill: P.value === l.i ? "rgba(0,0,0,0.1)" : "transparent",
|
|
738
750
|
"data-cy-donut-trap": "",
|
|
739
|
-
onMouseenter:
|
|
751
|
+
onMouseenter: r[1] || (r[1] = (t) => Ie({
|
|
740
752
|
datapoint: f.value[0],
|
|
741
753
|
relativeIndex: 0,
|
|
742
754
|
seriesIndex: f.value[0].seriesIndex,
|
|
743
755
|
show: !0
|
|
744
756
|
})),
|
|
745
|
-
onMouseleave:
|
|
757
|
+
onMouseleave: r[2] || (r[2] = (t) => {
|
|
746
758
|
ae.value = !1, P.value = null;
|
|
747
759
|
}),
|
|
748
|
-
onClick:
|
|
749
|
-
}, null, 40,
|
|
760
|
+
onClick: r[3] || (r[3] = (t) => M(f.value[0], l.i))
|
|
761
|
+
}, null, 40, Cl)
|
|
750
762
|
]))
|
|
751
763
|
], 64)) : i("", !0),
|
|
752
|
-
e.value.type === "classic" ? (o(),
|
|
753
|
-
e.value.style.chart.layout.labels.hollow.total.show ? (o(),
|
|
764
|
+
e.value.type === "classic" ? (o(), n(k, { key: 11 }, [
|
|
765
|
+
e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
|
|
754
766
|
key: 0,
|
|
755
767
|
"text-anchor": "middle",
|
|
756
|
-
x:
|
|
757
|
-
y:
|
|
768
|
+
x: u.value.width / 2,
|
|
769
|
+
y: u.value.height / 2 - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.offsetY,
|
|
758
770
|
fill: e.value.style.chart.layout.labels.hollow.total.color,
|
|
759
771
|
"font-size": e.value.style.chart.layout.labels.hollow.total.fontSize,
|
|
760
772
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.bold ? "bold" : ""}`)
|
|
761
|
-
}, x(e.value.style.chart.layout.labels.hollow.total.text), 13,
|
|
762
|
-
e.value.style.chart.layout.labels.hollow.total.show ? (o(),
|
|
773
|
+
}, x(e.value.style.chart.layout.labels.hollow.total.text), 13, $l)) : i("", !0),
|
|
774
|
+
e.value.style.chart.layout.labels.hollow.total.show ? (o(), n("text", {
|
|
763
775
|
key: 1,
|
|
764
776
|
"text-anchor": "middle",
|
|
765
|
-
x:
|
|
766
|
-
y:
|
|
777
|
+
x: u.value.width / 2,
|
|
778
|
+
y: u.value.height / 2 + e.value.style.chart.layout.labels.hollow.total.fontSize - (e.value.style.chart.layout.labels.hollow.average.show ? e.value.style.chart.layout.labels.hollow.total.fontSize : 0) + e.value.style.chart.layout.labels.hollow.total.value.offsetY,
|
|
767
779
|
fill: e.value.style.chart.layout.labels.hollow.total.value.color,
|
|
768
780
|
"font-size": e.value.style.chart.layout.labels.hollow.total.value.fontSize,
|
|
769
781
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
|
|
770
|
-
}, x(
|
|
782
|
+
}, x(s(Y)(
|
|
771
783
|
e.value.style.chart.layout.labels.hollow.total.value.formatter,
|
|
772
784
|
S.value,
|
|
773
|
-
|
|
785
|
+
s(F)({
|
|
774
786
|
p: e.value.style.chart.layout.labels.hollow.total.value.prefix,
|
|
775
787
|
v: S.value,
|
|
776
788
|
s: e.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
777
789
|
})
|
|
778
|
-
)), 13,
|
|
779
|
-
e.value.style.chart.layout.labels.hollow.average.show ? (o(),
|
|
790
|
+
)), 13, Pl)) : i("", !0),
|
|
791
|
+
e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
|
|
780
792
|
key: 2,
|
|
781
793
|
"text-anchor": "middle",
|
|
782
|
-
x:
|
|
783
|
-
y:
|
|
794
|
+
x: u.value.width / 2,
|
|
795
|
+
y: u.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.offsetY,
|
|
784
796
|
fill: e.value.style.chart.layout.labels.hollow.average.color,
|
|
785
797
|
"font-size": e.value.style.chart.layout.labels.hollow.average.fontSize,
|
|
786
798
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.bold ? "bold" : ""}`)
|
|
787
|
-
}, x(e.value.style.chart.layout.labels.hollow.average.text), 13,
|
|
788
|
-
e.value.style.chart.layout.labels.hollow.average.show ? (o(),
|
|
799
|
+
}, x(e.value.style.chart.layout.labels.hollow.average.text), 13, Sl)) : i("", !0),
|
|
800
|
+
e.value.style.chart.layout.labels.hollow.average.show ? (o(), n("text", {
|
|
789
801
|
key: 3,
|
|
790
802
|
"text-anchor": "middle",
|
|
791
|
-
x:
|
|
792
|
-
y:
|
|
803
|
+
x: u.value.width / 2,
|
|
804
|
+
y: u.value.height / 2 + (e.value.style.chart.layout.labels.hollow.total.show ? e.value.style.chart.layout.labels.hollow.average.fontSize : 0) + e.value.style.chart.layout.labels.hollow.average.fontSize + e.value.style.chart.layout.labels.hollow.average.value.offsetY,
|
|
793
805
|
fill: e.value.style.chart.layout.labels.hollow.average.value.color,
|
|
794
806
|
"font-size": e.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
795
807
|
style: z(`font-weight:${e.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
796
|
-
}, x(V.value ? "--" :
|
|
808
|
+
}, x(V.value ? "--" : s(Y)(
|
|
797
809
|
e.value.style.chart.layout.labels.hollow.average.value.formatter,
|
|
798
810
|
Ne.value,
|
|
799
|
-
|
|
811
|
+
s(F)({
|
|
800
812
|
p: e.value.style.chart.layout.labels.hollow.average.value.prefix,
|
|
801
813
|
v: Ne.value,
|
|
802
814
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
803
815
|
r: e.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
804
816
|
})
|
|
805
|
-
)), 13,
|
|
817
|
+
)), 13, Fl)) : i("", !0)
|
|
806
818
|
], 64)) : i("", !0),
|
|
807
|
-
(o(!0),
|
|
819
|
+
(o(!0), n(k, null, X(f.value, (t, a) => (o(), n("g", {
|
|
808
820
|
filter: Z(a),
|
|
809
821
|
class: de({ animated: e.value.useCssAnimation })
|
|
810
822
|
}, [
|
|
811
|
-
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(),
|
|
812
|
-
(o(),
|
|
813
|
-
x:
|
|
814
|
-
y:
|
|
823
|
+
e.value.style.chart.layout.labels.dataLabels.useLabelSlots ? (o(), n("g", Tl, [
|
|
824
|
+
(o(), n("foreignObject", {
|
|
825
|
+
x: s(m)(t, !0).anchor === "end" ? s(m)(t).x - 120 : s(m)(t, !0).anchor === "middle" ? s(m)(t).x - 60 : s(m)(t).x,
|
|
826
|
+
y: s(te)(t) - (Me.value ? 20 : 0),
|
|
815
827
|
width: "120",
|
|
816
828
|
height: "60",
|
|
817
829
|
style: { overflow: "visible" }
|
|
818
830
|
}, [
|
|
819
831
|
h("div", null, [
|
|
820
|
-
|
|
832
|
+
b(l.$slots, "dataLabel", R(W({
|
|
821
833
|
datapoint: t,
|
|
822
834
|
isBlur: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a,
|
|
823
835
|
isSafari: Me.value,
|
|
824
836
|
isVisible: O(t) && y.value.dataLabels.show,
|
|
825
|
-
textAlign:
|
|
826
|
-
flexAlign:
|
|
837
|
+
textAlign: s(m)(t, !0, 16, !0).anchor,
|
|
838
|
+
flexAlign: s(m)(t, !0, 16).anchor,
|
|
827
839
|
percentage: re(t, f.value)
|
|
828
840
|
})), void 0, !0)
|
|
829
841
|
])
|
|
830
|
-
], 8,
|
|
831
|
-
])) : (o(),
|
|
832
|
-
e.value.type === "classic" ? (o(),
|
|
833
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
842
|
+
], 8, zl))
|
|
843
|
+
])) : (o(), n("g", Ol, [
|
|
844
|
+
e.value.type === "classic" ? (o(), n(k, { key: 0 }, [
|
|
845
|
+
O(t) && y.value.dataLabels.show ? (o(), n("circle", {
|
|
834
846
|
key: 0,
|
|
835
|
-
cx:
|
|
836
|
-
cy:
|
|
847
|
+
cx: s(m)(t).x,
|
|
848
|
+
cy: s(te)(t) - 3.5,
|
|
837
849
|
fill: t.color,
|
|
838
850
|
stroke: e.value.style.chart.backgroundColor,
|
|
839
851
|
"stroke-width": 1,
|
|
840
852
|
r: 3,
|
|
841
853
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${_.value})`,
|
|
842
854
|
onClick: (v) => M(t, a)
|
|
843
|
-
}, null, 8,
|
|
855
|
+
}, null, 8, Yl)) : i("", !0)
|
|
844
856
|
], 64)) : i("", !0),
|
|
845
|
-
e.value.type === "polar" ? (o(),
|
|
846
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
857
|
+
e.value.type === "polar" ? (o(), n(k, { key: 1 }, [
|
|
858
|
+
O(t) && y.value.dataLabels.show ? (o(), n("circle", {
|
|
847
859
|
key: 0,
|
|
848
|
-
cx:
|
|
849
|
-
cy:
|
|
860
|
+
cx: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
861
|
+
cy: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 24, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
|
|
850
862
|
fill: t.color,
|
|
851
863
|
stroke: e.value.style.chart.backgroundColor,
|
|
852
864
|
"stroke-width": 1,
|
|
853
865
|
r: 3,
|
|
854
866
|
filter: !e.value.useBlurOnHover || [null, void 0].includes(P.value) || P.value === a ? "" : `url(#blur_${_.value})`,
|
|
855
867
|
onClick: (v) => M(t, a)
|
|
856
|
-
}, null, 8,
|
|
868
|
+
}, null, 8, Al)) : i("", !0)
|
|
857
869
|
], 64)) : i("", !0),
|
|
858
|
-
e.value.type === "classic" ? (o(),
|
|
859
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
870
|
+
e.value.type === "classic" ? (o(), n(k, { key: 2 }, [
|
|
871
|
+
O(t) && y.value.dataLabels.show ? (o(), n("text", {
|
|
860
872
|
key: 0,
|
|
861
|
-
"text-anchor":
|
|
862
|
-
x:
|
|
863
|
-
y:
|
|
873
|
+
"text-anchor": s(m)(t, !0, 12).anchor,
|
|
874
|
+
x: s(m)(t, !0, 12).x,
|
|
875
|
+
y: s(te)(t),
|
|
864
876
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
865
877
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
866
878
|
style: z(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
867
879
|
onClick: (v) => M(t, a)
|
|
868
|
-
}, x(re(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${
|
|
880
|
+
}, x(re(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(Y)(
|
|
869
881
|
e.value.style.chart.layout.labels.value.formatter,
|
|
870
882
|
t.value,
|
|
871
|
-
|
|
883
|
+
s(F)({
|
|
872
884
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
873
885
|
v: t.value,
|
|
874
886
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
875
887
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
876
888
|
}),
|
|
877
889
|
{ datapoint: t }
|
|
878
|
-
)})` : ""), 13,
|
|
879
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
890
|
+
)})` : ""), 13, Nl)) : i("", !0),
|
|
891
|
+
O(t) && y.value.dataLabels.show ? (o(), n("text", {
|
|
880
892
|
key: 1,
|
|
881
|
-
"text-anchor":
|
|
882
|
-
x:
|
|
883
|
-
y:
|
|
893
|
+
"text-anchor": s(m)(t).anchor,
|
|
894
|
+
x: s(m)(t, !0, 12).x,
|
|
895
|
+
y: s(te)(t) + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
884
896
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
885
897
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
886
898
|
style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
887
899
|
onClick: (v) => M(t, a)
|
|
888
|
-
}, x(t.name), 13,
|
|
900
|
+
}, x(t.name), 13, Xl)) : i("", !0)
|
|
889
901
|
], 64)) : i("", !0),
|
|
890
|
-
e.value.type === "polar" ? (o(),
|
|
891
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
902
|
+
e.value.type === "polar" ? (o(), n(k, { key: 3 }, [
|
|
903
|
+
O(t) && y.value.dataLabels.show ? (o(), n("text", {
|
|
892
904
|
key: 0,
|
|
893
905
|
"text-anchor": H(c.value[a].middlePoint),
|
|
894
|
-
x:
|
|
895
|
-
y:
|
|
906
|
+
x: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
907
|
+
y: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y,
|
|
896
908
|
fill: e.value.style.chart.layout.labels.percentage.color,
|
|
897
909
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
898
910
|
style: z(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
899
911
|
onClick: (v) => M(t, a)
|
|
900
|
-
}, x(re(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${
|
|
912
|
+
}, x(re(t, f.value)) + " " + x(e.value.style.chart.layout.labels.value.show ? `(${s(Y)(
|
|
901
913
|
e.value.style.chart.layout.labels.value.formatter,
|
|
902
914
|
t.value,
|
|
903
|
-
|
|
915
|
+
s(F)({
|
|
904
916
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
905
917
|
v: t.value,
|
|
906
918
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
907
919
|
r: e.value.style.chart.layout.labels.value.rounding
|
|
908
920
|
}),
|
|
909
921
|
{ datapoint: t }
|
|
910
|
-
)})` : ""), 13,
|
|
911
|
-
O(t) && y.value.dataLabels.show ? (o(),
|
|
922
|
+
)})` : ""), 13, Il)) : i("", !0),
|
|
923
|
+
O(t) && y.value.dataLabels.show ? (o(), n("text", {
|
|
912
924
|
key: 1,
|
|
913
925
|
"text-anchor": H(c.value[a].middlePoint),
|
|
914
|
-
x:
|
|
915
|
-
y:
|
|
926
|
+
x: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x,
|
|
927
|
+
y: s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).y + e.value.style.chart.layout.labels.percentage.fontSize,
|
|
916
928
|
fill: e.value.style.chart.layout.labels.name.color,
|
|
917
929
|
"font-size": e.value.style.chart.layout.labels.name.fontSize,
|
|
918
930
|
style: z(`font-weight:${e.value.style.chart.layout.labels.name.bold ? "bold" : ""}`),
|
|
919
931
|
onClick: (v) => M(t, a)
|
|
920
|
-
}, x(t.name), 13,
|
|
932
|
+
}, x(t.name), 13, Dl)) : i("", !0)
|
|
921
933
|
], 64)) : i("", !0)
|
|
922
934
|
])),
|
|
923
|
-
y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(),
|
|
924
|
-
O(t) && e.value.type === "classic" ? (o(),
|
|
935
|
+
y.value.dataLabels.show && e.value.style.chart.comments.show && t.comment ? (o(), n("g", Ml, [
|
|
936
|
+
O(t) && e.value.type === "classic" ? (o(), n("foreignObject", {
|
|
925
937
|
key: 0,
|
|
926
|
-
x: e.value.style.chart.comments.offsetX + (
|
|
927
|
-
y:
|
|
938
|
+
x: e.value.style.chart.comments.offsetX + (s(m)(t, !0).anchor === "end" ? s(m)(t).x - e.value.style.chart.comments.width : s(m)(t, !0).anchor === "middle" ? s(m)(t).x - e.value.style.chart.comments.width / 2 : s(m)(t).x),
|
|
939
|
+
y: s(te)(t) + 24 + e.value.style.chart.comments.offsetY,
|
|
928
940
|
width: e.value.style.chart.comments.width,
|
|
929
941
|
height: "200",
|
|
930
942
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
931
943
|
}, [
|
|
932
944
|
h("div", null, [
|
|
933
|
-
|
|
934
|
-
plot: { ...t, textAlign:
|
|
945
|
+
b(l.$slots, "plot-comment", {
|
|
946
|
+
plot: { ...t, textAlign: s(m)(t, !0, 16, !0).anchor, flexAlign: s(m)(t, !0, 16).anchor }
|
|
935
947
|
}, void 0, !0)
|
|
936
948
|
])
|
|
937
|
-
], 8,
|
|
938
|
-
O(t) && e.value.type === "polar" ? (o(),
|
|
949
|
+
], 8, Bl)) : i("", !0),
|
|
950
|
+
O(t) && e.value.type === "polar" ? (o(), n("foreignObject", {
|
|
939
951
|
key: 1,
|
|
940
|
-
x: e.value.style.chart.comments.offsetX + (H(c.value[a].middlePoint) === "end" ?
|
|
952
|
+
x: e.value.style.chart.comments.offsetX + (H(c.value[a].middlePoint) === "end" ? s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width : H(c.value[a].middlePoint) === "middle" ? s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x - e.value.style.chart.comments.width / 2 : s(L)({ initX: c.value[a].middlePoint.x, initY: c.value[a].middlePoint.y, offset: 42, centerX: u.value.width / 2, centerY: u.value.height / 2 }).x),
|
|
941
953
|
y: tt(c.value[a]) + e.value.style.chart.comments.offsetY,
|
|
942
954
|
width: e.value.style.chart.comments.width,
|
|
943
955
|
height: "200",
|
|
944
956
|
style: { overflow: "visible", "pointer-events": "none" }
|
|
945
957
|
}, [
|
|
946
958
|
h("div", null, [
|
|
947
|
-
|
|
959
|
+
b(l.$slots, "plot-comment", {
|
|
948
960
|
plot: { ...t, textAlign: H(c.value[a].middlePoint), flexAlign: H(c.value[a].middlePoint) }
|
|
949
961
|
}, void 0, !0)
|
|
950
962
|
])
|
|
951
|
-
], 8,
|
|
963
|
+
], 8, Vl)) : i("", !0)
|
|
952
964
|
])) : i("", !0)
|
|
953
|
-
], 10,
|
|
954
|
-
|
|
965
|
+
], 10, Ll))), 256)),
|
|
966
|
+
b(l.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
955
967
|
], 14, Gt)) : i("", !0),
|
|
956
|
-
l.$slots.watermark ? (o(),
|
|
957
|
-
|
|
968
|
+
l.$slots.watermark ? (o(), n("div", Gl, [
|
|
969
|
+
b(l.$slots, "watermark", R(W({ isPrinting: s(Pe) || s(Se) })), void 0, !0)
|
|
958
970
|
])) : i("", !0),
|
|
959
971
|
J.value ? i("", !0) : (o(), G(At, {
|
|
960
972
|
key: 6,
|
|
@@ -977,17 +989,17 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
977
989
|
key: `legend_${we.value}`,
|
|
978
990
|
legendSet: Ae.value,
|
|
979
991
|
config: et.value,
|
|
980
|
-
onClickMarker:
|
|
992
|
+
onClickMarker: r[4] || (r[4] = ({ i: t }) => Ye(t))
|
|
981
993
|
}, {
|
|
982
994
|
item: $(({ legend: t, index: a }) => [
|
|
983
995
|
h("div", {
|
|
984
996
|
style: z(`opacity:${N.value.includes(a) ? 0.5 : 1}`),
|
|
985
997
|
onClick: (v) => t.segregate()
|
|
986
998
|
}, [
|
|
987
|
-
He(x(t.name) + ": " + x(
|
|
999
|
+
He(x(t.name) + ": " + x(s(Y)(
|
|
988
1000
|
e.value.style.chart.layout.labels.value.formatter,
|
|
989
1001
|
t.value,
|
|
990
|
-
|
|
1002
|
+
s(F)({
|
|
991
1003
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
992
1004
|
v: t.value,
|
|
993
1005
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -998,28 +1010,28 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
998
1010
|
index: a
|
|
999
1011
|
}
|
|
1000
1012
|
)) + " ", 1),
|
|
1001
|
-
N.value.includes(a) ? (o(),
|
|
1013
|
+
N.value.includes(a) ? (o(), n("span", Hl, " ( " + x(ot(t.proportion * 100)) + " % ) ", 1)) : (o(), n("span", jl, " (" + x(isNaN(t.value / S.value) ? "-" : s(Y)(
|
|
1002
1014
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1003
1015
|
Xe.value(t),
|
|
1004
|
-
|
|
1016
|
+
s(F)({
|
|
1005
1017
|
v: Xe.value(t),
|
|
1006
1018
|
s: "%",
|
|
1007
1019
|
r: e.value.style.chart.legend.roundingPercentage
|
|
1008
1020
|
})
|
|
1009
1021
|
)) + ") ", 1))
|
|
1010
|
-
], 12,
|
|
1022
|
+
], 12, Ul)
|
|
1011
1023
|
]),
|
|
1012
1024
|
_: 1
|
|
1013
1025
|
}, 8, ["legendSet", "config"])) : i("", !0),
|
|
1014
|
-
|
|
1026
|
+
b(l.$slots, "legend", { legend: Ae.value }, void 0, !0)
|
|
1015
1027
|
], 512),
|
|
1016
|
-
l.$slots.source ? (o(),
|
|
1028
|
+
l.$slots.source ? (o(), n("div", {
|
|
1017
1029
|
key: 7,
|
|
1018
1030
|
ref_key: "source",
|
|
1019
1031
|
ref: pe,
|
|
1020
1032
|
dir: "auto"
|
|
1021
1033
|
}, [
|
|
1022
|
-
|
|
1034
|
+
b(l.$slots, "source", {}, void 0, !0)
|
|
1023
1035
|
], 512)) : i("", !0),
|
|
1024
1036
|
je(Ot, {
|
|
1025
1037
|
show: y.value.showTooltip && ae.value,
|
|
@@ -1035,13 +1047,13 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
1035
1047
|
parent: j.value,
|
|
1036
1048
|
content: se.value,
|
|
1037
1049
|
isCustom: Q.value,
|
|
1038
|
-
isFullscreen:
|
|
1050
|
+
isFullscreen: E.value
|
|
1039
1051
|
}, {
|
|
1040
1052
|
"tooltip-before": $(() => [
|
|
1041
|
-
|
|
1053
|
+
b(l.$slots, "tooltip-before", R(W({ ...ie.value })), void 0, !0)
|
|
1042
1054
|
]),
|
|
1043
1055
|
"tooltip-after": $(() => [
|
|
1044
|
-
|
|
1056
|
+
b(l.$slots, "tooltip-after", R(W({ ...ie.value })), void 0, !0)
|
|
1045
1057
|
]),
|
|
1046
1058
|
_: 3
|
|
1047
1059
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
@@ -1069,27 +1081,27 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
1069
1081
|
body: oe.value.body,
|
|
1070
1082
|
config: oe.value.config,
|
|
1071
1083
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1072
|
-
onClose:
|
|
1084
|
+
onClose: r[5] || (r[5] = (t) => y.value.showTable = !1)
|
|
1073
1085
|
}, {
|
|
1074
1086
|
th: $(({ th: t }) => [
|
|
1075
1087
|
h("div", {
|
|
1076
1088
|
innerHTML: t,
|
|
1077
1089
|
style: { display: "flex", "align-items": "center" }
|
|
1078
|
-
}, null, 8,
|
|
1090
|
+
}, null, 8, El)
|
|
1079
1091
|
]),
|
|
1080
1092
|
td: $(({ td: t }) => [
|
|
1081
|
-
He(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t :
|
|
1093
|
+
He(x(t.name ? t.name : isNaN(Number(t)) ? t.includes("%") ? t : s(Y)(
|
|
1082
1094
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
1083
1095
|
t,
|
|
1084
|
-
|
|
1096
|
+
s(F)({
|
|
1085
1097
|
v: t,
|
|
1086
1098
|
s: "%",
|
|
1087
1099
|
r: e.value.style.chart.layout.labels.percentage.rounding
|
|
1088
1100
|
})
|
|
1089
|
-
) :
|
|
1101
|
+
) : s(Y)(
|
|
1090
1102
|
e.value.style.chart.layout.labels.value.formatter,
|
|
1091
1103
|
t,
|
|
1092
|
-
|
|
1104
|
+
s(F)({
|
|
1093
1105
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
1094
1106
|
v: t,
|
|
1095
1107
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1104,7 +1116,7 @@ const Bt = (q) => (it("data-v-2be74918"), q = q(), vt(), q), Vt = ["id"], Gt = [
|
|
|
1104
1116
|
}, 8, ["config"])) : i("", !0)
|
|
1105
1117
|
], 46, Vt));
|
|
1106
1118
|
}
|
|
1107
|
-
},
|
|
1119
|
+
}, ia = /* @__PURE__ */ Mt(Rl, [["__scopeId", "data-v-aa563e7d"]]);
|
|
1108
1120
|
export {
|
|
1109
|
-
|
|
1121
|
+
ia as default
|
|
1110
1122
|
};
|