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,22 +1,22 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { u as He, c as $e, t as
|
|
1
|
+
import { ref as r, computed as v, watch as Be, onMounted as De, onBeforeUnmount as Ee, openBlock as i, createElementBlock as h, normalizeClass as E, normalizeStyle as S, unref as u, createBlock as _, createCommentVNode as b, createSlots as We, withCtx as g, renderSlot as c, normalizeProps as I, guardReactiveProps as M, createVNode as be, createElementVNode as C, Fragment as ke, renderList as Ce, createTextVNode as we, toDisplayString as W, nextTick as Ge } from "vue";
|
|
2
|
+
import { u as He, c as $e, t as je, a as Xe, p as x, o as Ye, e as q, g as qe, b as Je, J as Ke, d as Te, f as N, X as Qe, s as Ze, w as et, v as J, i as _e, x as tt, y as lt, q as ot, r as at } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as st, u as nt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as rt } from "./Title-
|
|
5
|
-
import { u as ut, U as it } from "./usePrinter-
|
|
6
|
-
import { _ as vt } from "./Tooltip-
|
|
7
|
-
import { D as ct } from "./DataTable-
|
|
8
|
-
import { L as dt } from "./Legend-
|
|
9
|
-
import pt from "./vue-ui-skeleton-
|
|
10
|
-
import ht from "./vue-ui-accordion-
|
|
11
|
-
import { u as xe } from "./useNestedProp-
|
|
12
|
-
import { _ as gt } from "./PackageVersion-
|
|
13
|
-
import { P as ft } from "./PenAndPaper-
|
|
4
|
+
import { _ as rt } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as ut, U as it } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { _ as vt } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import { D as ct } from "./DataTable-CFUKU8PU.js";
|
|
8
|
+
import { L as dt } from "./Legend-f52bnttJ.js";
|
|
9
|
+
import pt from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
10
|
+
import ht from "./vue-ui-accordion-rNA598L6.js";
|
|
11
|
+
import { u as xe } from "./useNestedProp-DuruL3Nt.js";
|
|
12
|
+
import { _ as gt } from "./PackageVersion-C_FFs0BP.js";
|
|
13
|
+
import { P as ft } from "./PenAndPaper-Dx24BtRW.js";
|
|
14
14
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["
|
|
16
|
+
const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["width", "height"], wt = ["id"], $t = ["stop-color"], Tt = ["stop-color"], _t = ["stroke", "cx", "cy", "r", "fill"], xt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Nt = ["cx", "cy", "r", "onMouseenter"], Ot = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Pt = ["onClick"], St = { key: 0 }, Lt = { key: 1 }, At = ["innerHTML"], Ft = {
|
|
20
20
|
__name: "vue-ui-rings",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,7 +34,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(Ne, { expose: Oe, emit: Pe }) {
|
|
37
|
-
const y = Ne, { vue_ui_rings: Se } = He(), L =
|
|
37
|
+
const y = Ne, { vue_ui_rings: Se } = He(), L = r(!1), V = v(() => !!y.dataset && y.dataset.length), A = r($e()), Le = r(null), z = r(!1), G = r(""), T = r(null), K = r(0), O = r(null), Q = r(null), Z = r(null), ee = r(null), te = r(null), le = r(0), oe = r(0), ae = r(0), e = v({
|
|
38
38
|
get: () => re(),
|
|
39
39
|
set: (t) => t
|
|
40
40
|
}), { userOptionsVisible: H, setUserOptionsVisibility: se, keepUserOptionState: ne } = yt({ config: e.value });
|
|
@@ -45,16 +45,16 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
45
45
|
});
|
|
46
46
|
return t.theme ? {
|
|
47
47
|
...xe({
|
|
48
|
-
userConfig:
|
|
48
|
+
userConfig: je.vue_ui_rings[t.theme] || y.config,
|
|
49
49
|
defaultConfig: t
|
|
50
50
|
}),
|
|
51
|
-
customPalette:
|
|
51
|
+
customPalette: Xe[t.theme] || x
|
|
52
52
|
} : t;
|
|
53
53
|
}
|
|
54
54
|
Be(() => y.config, (t) => {
|
|
55
55
|
e.value = re(), H.value = !e.value.showOnChartHover, ue(), le.value += 1, oe.value += 1, ae.value += 1;
|
|
56
56
|
}, { deep: !0 });
|
|
57
|
-
const R =
|
|
57
|
+
const R = r(null);
|
|
58
58
|
De(() => {
|
|
59
59
|
ue();
|
|
60
60
|
});
|
|
@@ -86,7 +86,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
86
86
|
source: ee.value,
|
|
87
87
|
noTitle: te.value
|
|
88
88
|
});
|
|
89
|
-
|
|
89
|
+
n.value.width = o, n.value.height = l;
|
|
90
90
|
});
|
|
91
91
|
R.value = new ResizeObserver(t), R.value.observe(O.value.parentNode);
|
|
92
92
|
}
|
|
@@ -94,47 +94,47 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
94
94
|
L.value = !0;
|
|
95
95
|
}, 600);
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
Ee(() => {
|
|
98
98
|
R.value && R.value.disconnect();
|
|
99
99
|
});
|
|
100
100
|
const { isPrinting: ie, isImaging: ve, generatePdf: ce, generateImage: de } = ut({
|
|
101
101
|
elementId: `rings_${A.value}`,
|
|
102
102
|
fileName: e.value.style.chart.title.text || "vue-ui-rings"
|
|
103
|
-
}), Ae = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), pe = v(() => Je(e.value.customPalette)), w =
|
|
103
|
+
}), Ae = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), pe = v(() => Je(e.value.customPalette)), w = r({
|
|
104
104
|
showTable: e.value.table.show,
|
|
105
105
|
showTooltip: e.value.style.chart.tooltip.show
|
|
106
|
-
}),
|
|
106
|
+
}), n = r({
|
|
107
107
|
height: 360,
|
|
108
108
|
width: 360
|
|
109
|
-
}), Fe = v(() => Math.min(
|
|
110
|
-
function
|
|
111
|
-
|
|
109
|
+
}), Fe = v(() => Math.min(n.value.height, n.value.width)), d = r([]);
|
|
110
|
+
function j(t) {
|
|
111
|
+
d.value.includes(t) ? d.value = d.value.filter((o) => o !== t) : d.value.push(t), Pe("selectLegend", p.value.map((o) => ({
|
|
112
112
|
name: o.name,
|
|
113
113
|
color: o.color,
|
|
114
114
|
value: o.value
|
|
115
115
|
})));
|
|
116
116
|
}
|
|
117
117
|
const Ie = v(() => Math.max(
|
|
118
|
-
...U.value.filter((t) => !
|
|
118
|
+
...U.value.filter((t) => !d.value.includes(t.uid)).map(({ value: t }) => t)
|
|
119
119
|
));
|
|
120
120
|
function he(t) {
|
|
121
121
|
return t / Ie.value;
|
|
122
122
|
}
|
|
123
123
|
const U = v(() => y.dataset.map(({ values: t, name: o, color: l = null }, a) => {
|
|
124
|
-
const s = Ke(t).reduce((
|
|
124
|
+
const s = Ke(t).reduce((k, F) => k + F, 0);
|
|
125
125
|
return {
|
|
126
126
|
name: o,
|
|
127
127
|
color: l || Te(l) || pe.value[a] || x[a] || x[a % x.length],
|
|
128
128
|
value: s,
|
|
129
|
-
proportion: s / y.dataset.map((
|
|
129
|
+
proportion: s / y.dataset.map((k) => (k.values || []).reduce((F, Ue) => F + Ue, 0)).reduce((k, F) => k + F, 0),
|
|
130
130
|
uid: $e()
|
|
131
131
|
};
|
|
132
132
|
})), ge = v(() => U.value.map((t) => ({
|
|
133
133
|
...t,
|
|
134
134
|
shape: "circle",
|
|
135
|
-
opacity:
|
|
136
|
-
segregate: () =>
|
|
137
|
-
isSegregated:
|
|
135
|
+
opacity: d.value.includes(t.uid) ? 0.5 : 1,
|
|
136
|
+
segregate: () => j(t.uid),
|
|
137
|
+
isSegregated: d.value.includes(t.uid)
|
|
138
138
|
})).toSorted((t, o) => o.value - t.value)), Me = v(() => ({
|
|
139
139
|
cy: "rings-div-legend",
|
|
140
140
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -142,7 +142,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
142
142
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
143
143
|
paddingBottom: 12,
|
|
144
144
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
145
|
-
})), m = v(() => U.value.filter((t) => !
|
|
145
|
+
})), m = v(() => U.value.filter((t) => !d.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), p = v(() => U.value.filter((t) => !d.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a }, s) => ({
|
|
146
146
|
uid: a,
|
|
147
147
|
name: t,
|
|
148
148
|
color: l || Te(l) || pe.value[s] || x[s] || x[s % x.length],
|
|
@@ -152,7 +152,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
152
152
|
strokeWidth: e.value.style.chart.layout.rings.strokeWidth * he(o)
|
|
153
153
|
})).toSorted((t, o) => o.value - t.value));
|
|
154
154
|
function Ve() {
|
|
155
|
-
return
|
|
155
|
+
return p.value.map(
|
|
156
156
|
({ name: t, color: o, value: l, absoluteValues: a, percentage: s }) => ({
|
|
157
157
|
name: t,
|
|
158
158
|
color: o,
|
|
@@ -162,26 +162,26 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
162
162
|
})
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
const
|
|
165
|
+
const f = v(() => Fe.value - e.value.style.chart.layout.rings.strokeWidth * 2), X = r(null);
|
|
166
166
|
function ze(t, o) {
|
|
167
|
-
if (
|
|
168
|
-
|
|
167
|
+
if (d.value.length === y.dataset.length) return;
|
|
168
|
+
X.value = {
|
|
169
169
|
datapoint: o,
|
|
170
170
|
seriesIndex: t,
|
|
171
|
-
series:
|
|
171
|
+
series: p.value,
|
|
172
172
|
config: e.value
|
|
173
173
|
}, T.value = t;
|
|
174
|
-
const l =
|
|
174
|
+
const l = p.value[t], a = e.value.style.chart.tooltip.customFormat;
|
|
175
175
|
if (tt(a) && lt(() => a({
|
|
176
176
|
seriesIndex: t,
|
|
177
177
|
datapoint: o,
|
|
178
|
-
series:
|
|
178
|
+
series: p.value,
|
|
179
179
|
config: e.value
|
|
180
180
|
})))
|
|
181
181
|
G.value = a({
|
|
182
182
|
seriesIndex: t,
|
|
183
183
|
datapoint: o,
|
|
184
|
-
series:
|
|
184
|
+
series: p.value,
|
|
185
185
|
config: e.value
|
|
186
186
|
});
|
|
187
187
|
else {
|
|
@@ -210,23 +210,23 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
210
210
|
z.value = !0;
|
|
211
211
|
}
|
|
212
212
|
const $ = v(() => {
|
|
213
|
-
const t =
|
|
213
|
+
const t = p.value.map((l) => ({
|
|
214
214
|
name: l.name,
|
|
215
215
|
color: l.color
|
|
216
|
-
})), o =
|
|
216
|
+
})), o = p.value.map((l) => l.value);
|
|
217
217
|
return { head: t, body: o };
|
|
218
218
|
}), B = v(() => {
|
|
219
219
|
const t = [
|
|
220
220
|
' <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>',
|
|
221
221
|
N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
222
222
|
"100%"
|
|
223
|
-
], o = $.value.head.map((s,
|
|
223
|
+
], o = $.value.head.map((s, k) => [
|
|
224
224
|
{
|
|
225
225
|
color: s.color,
|
|
226
226
|
name: s.name
|
|
227
227
|
},
|
|
228
|
-
N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value.body[
|
|
229
|
-
isNaN($.value.body[
|
|
228
|
+
N({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value.body[k], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
229
|
+
isNaN($.value.body[k] / m.value) ? "-" : ($.value.body[k] / m.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
230
230
|
]), l = {
|
|
231
231
|
th: {
|
|
232
232
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -259,7 +259,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
259
259
|
at({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
const P =
|
|
262
|
+
const P = r(!1);
|
|
263
263
|
function Re(t) {
|
|
264
264
|
P.value = t, K.value += 1;
|
|
265
265
|
}
|
|
@@ -269,7 +269,7 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
269
269
|
function me() {
|
|
270
270
|
w.value.showTooltip = !w.value.showTooltip;
|
|
271
271
|
}
|
|
272
|
-
const D =
|
|
272
|
+
const D = r(!1);
|
|
273
273
|
function Y() {
|
|
274
274
|
D.value = !D.value;
|
|
275
275
|
}
|
|
@@ -281,39 +281,39 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
281
281
|
toggleTable: ye,
|
|
282
282
|
toggleTooltip: me,
|
|
283
283
|
toggleAnnotator: Y
|
|
284
|
-
}), (t, o) => (
|
|
284
|
+
}), (t, o) => (i(), h("div", {
|
|
285
285
|
ref_key: "ringsChart",
|
|
286
286
|
ref: O,
|
|
287
|
-
class:
|
|
287
|
+
class: E(`vue-ui-rings ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
288
288
|
style: S(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
289
289
|
id: `rings_${A.value}`,
|
|
290
290
|
onMouseleave: o[3] || (o[3] = (l) => {
|
|
291
|
-
T.value = null, z.value = !1,
|
|
291
|
+
T.value = null, z.value = !1, u(se)(!1);
|
|
292
292
|
}),
|
|
293
|
-
onMouseenter: o[4] || (o[4] = () =>
|
|
293
|
+
onMouseenter: o[4] || (o[4] = () => u(se)(!0))
|
|
294
294
|
}, [
|
|
295
|
-
e.value.userOptions.buttons.annotator ? (
|
|
295
|
+
e.value.userOptions.buttons.annotator ? (i(), _(ft, {
|
|
296
296
|
key: 0,
|
|
297
297
|
parent: O.value,
|
|
298
298
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
299
299
|
color: e.value.style.chart.color,
|
|
300
300
|
active: D.value,
|
|
301
301
|
onClose: Y
|
|
302
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
303
|
-
Ae.value ? (
|
|
302
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : b("", !0),
|
|
303
|
+
Ae.value ? (i(), h("div", {
|
|
304
304
|
key: 1,
|
|
305
305
|
ref_key: "noTitle",
|
|
306
306
|
ref: te,
|
|
307
307
|
class: "vue-data-ui-no-title-space",
|
|
308
308
|
style: "height:36px; width: 100%;background:transparent"
|
|
309
|
-
}, null, 512)) :
|
|
310
|
-
e.value.style.chart.title.text ? (
|
|
309
|
+
}, null, 512)) : b("", !0),
|
|
310
|
+
e.value.style.chart.title.text ? (i(), h("div", {
|
|
311
311
|
key: 2,
|
|
312
312
|
ref_key: "chartTitle",
|
|
313
313
|
ref: Q,
|
|
314
314
|
style: "width:100%;background:transparent"
|
|
315
315
|
}, [
|
|
316
|
-
(
|
|
316
|
+
(i(), _(rt, {
|
|
317
317
|
key: `title_${le.value}`,
|
|
318
318
|
config: {
|
|
319
319
|
title: {
|
|
@@ -326,15 +326,15 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
}, null, 8, ["config"]))
|
|
329
|
-
], 512)) :
|
|
330
|
-
e.value.userOptions.show && V.value && (
|
|
329
|
+
], 512)) : b("", !0),
|
|
330
|
+
e.value.userOptions.show && V.value && (u(ne) || u(H)) ? (i(), _(it, {
|
|
331
331
|
ref_key: "details",
|
|
332
332
|
ref: Le,
|
|
333
333
|
key: `user_options_${K.value}`,
|
|
334
334
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
335
335
|
color: e.value.style.chart.color,
|
|
336
|
-
isPrinting:
|
|
337
|
-
isImaging:
|
|
336
|
+
isPrinting: u(ie),
|
|
337
|
+
isImaging: u(ve),
|
|
338
338
|
uid: A.value,
|
|
339
339
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
340
340
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -350,76 +350,88 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
350
350
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
351
351
|
isAnnotation: D.value,
|
|
352
352
|
onToggleFullscreen: Re,
|
|
353
|
-
onGeneratePdf:
|
|
353
|
+
onGeneratePdf: u(ce),
|
|
354
354
|
onGenerateCsv: fe,
|
|
355
|
-
onGenerateImage:
|
|
355
|
+
onGenerateImage: u(de),
|
|
356
356
|
onToggleTable: ye,
|
|
357
357
|
onToggleTooltip: me,
|
|
358
358
|
onToggleAnnotator: Y,
|
|
359
359
|
style: S({
|
|
360
|
-
visibility:
|
|
360
|
+
visibility: u(ne) ? u(H) ? "visible" : "hidden" : "visible"
|
|
361
361
|
})
|
|
362
|
-
},
|
|
362
|
+
}, We({ _: 2 }, [
|
|
363
363
|
t.$slots.optionTooltip ? {
|
|
364
364
|
name: "optionTooltip",
|
|
365
|
-
fn:
|
|
366
|
-
|
|
365
|
+
fn: g(() => [
|
|
366
|
+
c(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
367
367
|
]),
|
|
368
368
|
key: "0"
|
|
369
369
|
} : void 0,
|
|
370
370
|
t.$slots.optionPdf ? {
|
|
371
371
|
name: "optionPdf",
|
|
372
|
-
fn:
|
|
373
|
-
|
|
372
|
+
fn: g(() => [
|
|
373
|
+
c(t.$slots, "optionPdf", {}, void 0, !0)
|
|
374
374
|
]),
|
|
375
375
|
key: "1"
|
|
376
376
|
} : void 0,
|
|
377
377
|
t.$slots.optionCsv ? {
|
|
378
378
|
name: "optionCsv",
|
|
379
|
-
fn:
|
|
380
|
-
|
|
379
|
+
fn: g(() => [
|
|
380
|
+
c(t.$slots, "optionCsv", {}, void 0, !0)
|
|
381
381
|
]),
|
|
382
382
|
key: "2"
|
|
383
383
|
} : void 0,
|
|
384
384
|
t.$slots.optionImg ? {
|
|
385
385
|
name: "optionImg",
|
|
386
|
-
fn:
|
|
387
|
-
|
|
386
|
+
fn: g(() => [
|
|
387
|
+
c(t.$slots, "optionImg", {}, void 0, !0)
|
|
388
388
|
]),
|
|
389
389
|
key: "3"
|
|
390
390
|
} : void 0,
|
|
391
391
|
t.$slots.optionTable ? {
|
|
392
392
|
name: "optionTable",
|
|
393
|
-
fn:
|
|
394
|
-
|
|
393
|
+
fn: g(() => [
|
|
394
|
+
c(t.$slots, "optionTable", {}, void 0, !0)
|
|
395
395
|
]),
|
|
396
396
|
key: "4"
|
|
397
397
|
} : void 0,
|
|
398
398
|
t.$slots.optionFullscreen ? {
|
|
399
399
|
name: "optionFullscreen",
|
|
400
|
-
fn:
|
|
401
|
-
|
|
400
|
+
fn: g(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
401
|
+
c(t.$slots, "optionFullscreen", I(M({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
402
402
|
]),
|
|
403
403
|
key: "5"
|
|
404
404
|
} : void 0,
|
|
405
405
|
t.$slots.optionAnnotator ? {
|
|
406
406
|
name: "optionAnnotator",
|
|
407
|
-
fn:
|
|
408
|
-
|
|
407
|
+
fn: g(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
408
|
+
c(t.$slots, "optionAnnotator", I(M({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
409
409
|
]),
|
|
410
410
|
key: "6"
|
|
411
411
|
} : void 0
|
|
412
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
413
|
-
V.value ? (
|
|
412
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
|
|
413
|
+
V.value ? (i(), h("svg", {
|
|
414
414
|
key: 4,
|
|
415
|
-
xmlns:
|
|
416
|
-
class:
|
|
417
|
-
viewBox: `0 0 ${
|
|
415
|
+
xmlns: u(Qe),
|
|
416
|
+
class: E({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
417
|
+
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
418
418
|
style: S(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
419
419
|
}, [
|
|
420
420
|
be(gt),
|
|
421
|
+
t.$slots["chart-background"] ? (i(), h("foreignObject", {
|
|
422
|
+
key: 0,
|
|
423
|
+
x: 0,
|
|
424
|
+
y: 0,
|
|
425
|
+
width: n.value.width <= 0 ? 10 : n.value.width,
|
|
426
|
+
height: n.value.height <= 0 ? 10 : n.value.height,
|
|
427
|
+
style: {
|
|
428
|
+
pointerEvents: "none"
|
|
429
|
+
}
|
|
430
|
+
}, [
|
|
431
|
+
c(t.$slots, "chart-background", {}, void 0, !0)
|
|
432
|
+
], 8, Ct)) : b("", !0),
|
|
421
433
|
C("defs", null, [
|
|
422
|
-
(
|
|
434
|
+
(i(!0), h(ke, null, Ce(p.value, (l, a) => (i(), h("radialGradient", {
|
|
423
435
|
cx: "50%",
|
|
424
436
|
cy: "30%",
|
|
425
437
|
r: "50%",
|
|
@@ -429,30 +441,30 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
429
441
|
}, [
|
|
430
442
|
C("stop", {
|
|
431
443
|
offset: "0%",
|
|
432
|
-
"stop-color":
|
|
433
|
-
}, null, 8,
|
|
444
|
+
"stop-color": u(Ze)(u(et)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
|
|
445
|
+
}, null, 8, $t),
|
|
434
446
|
C("stop", {
|
|
435
447
|
offset: "100%",
|
|
436
448
|
"stop-color": l.color
|
|
437
|
-
}, null, 8,
|
|
438
|
-
], 8,
|
|
449
|
+
}, null, 8, Tt)
|
|
450
|
+
], 8, wt))), 256))
|
|
439
451
|
]),
|
|
440
|
-
(
|
|
452
|
+
(i(!0), h(ke, null, Ce(p.value, (l, a) => (i(), h("g", null, [
|
|
441
453
|
C("circle", {
|
|
442
|
-
class:
|
|
454
|
+
class: E({
|
|
443
455
|
"vue-ui-rings-item": L.value && e.value.useCssAnimation,
|
|
444
456
|
"vue-rings-item-onload": !L.value && e.value.useCssAnimation,
|
|
445
457
|
"vue-ui-rings-opacity": T.value !== null && T.value !== a
|
|
446
458
|
}),
|
|
447
459
|
style: S(`animation-delay:${a * 100}ms`),
|
|
448
460
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
449
|
-
cx:
|
|
450
|
-
cy: a === 0 ?
|
|
451
|
-
r:
|
|
461
|
+
cx: n.value.width / 2,
|
|
462
|
+
cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + f.value * p.value[0].proportion / 2 - f.value * l.proportion / 2 - 2 * (a + 1),
|
|
463
|
+
r: u(J)(f.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : f.value * l.proportion / 2 * 0.9),
|
|
452
464
|
fill: e.value.style.chart.layout.rings.gradient.underlayerColor
|
|
453
|
-
}, null, 14,
|
|
465
|
+
}, null, 14, _t),
|
|
454
466
|
C("circle", {
|
|
455
|
-
class:
|
|
467
|
+
class: E({
|
|
456
468
|
"vue-ui-rings-item": L.value && e.value.useCssAnimation,
|
|
457
469
|
"vue-rings-item-onload": !L.value && e.value.useCssAnimation,
|
|
458
470
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
@@ -461,30 +473,30 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
461
473
|
style: S(`animation-delay:${a * 100}ms`),
|
|
462
474
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
463
475
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
464
|
-
cx:
|
|
465
|
-
cy: a === 0 ?
|
|
466
|
-
r:
|
|
476
|
+
cx: n.value.width / 2,
|
|
477
|
+
cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + f.value * p.value[0].proportion / 2 - f.value * l.proportion / 2 - 2 * (a + 1),
|
|
478
|
+
r: u(J)(f.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : f.value * l.proportion / 2 * 0.9),
|
|
467
479
|
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${A.value}_${a})` : l.color
|
|
468
|
-
}, null, 14,
|
|
480
|
+
}, null, 14, xt),
|
|
469
481
|
C("circle", {
|
|
470
482
|
"data-cy-trap": "",
|
|
471
483
|
stroke: "none",
|
|
472
|
-
cx:
|
|
473
|
-
cy: a === 0 ?
|
|
474
|
-
r:
|
|
484
|
+
cx: n.value.width / 2,
|
|
485
|
+
cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + f.value * p.value[0].proportion / 2 - f.value * l.proportion / 2 - 2 * (a + 1),
|
|
486
|
+
r: u(J)(f.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : f.value * l.proportion / 2 * 0.9),
|
|
475
487
|
fill: "transparent",
|
|
476
488
|
onMouseenter: (s) => ze(a, l),
|
|
477
489
|
onMouseleave: o[0] || (o[0] = (s) => {
|
|
478
490
|
T.value = null, z.value = !1;
|
|
479
491
|
})
|
|
480
|
-
}, null, 40,
|
|
492
|
+
}, null, 40, Nt)
|
|
481
493
|
]))), 256)),
|
|
482
|
-
|
|
483
|
-
], 14, kt)) :
|
|
484
|
-
t.$slots.watermark ? (
|
|
485
|
-
|
|
486
|
-
])) :
|
|
487
|
-
V.value ?
|
|
494
|
+
c(t.$slots, "svg", { svg: n.value }, void 0, !0)
|
|
495
|
+
], 14, kt)) : b("", !0),
|
|
496
|
+
t.$slots.watermark ? (i(), h("div", Ot, [
|
|
497
|
+
c(t.$slots, "watermark", I(M({ isPrinting: u(ie) || u(ve) })), void 0, !0)
|
|
498
|
+
])) : b("", !0),
|
|
499
|
+
V.value ? b("", !0) : (i(), _(pt, {
|
|
488
500
|
key: 6,
|
|
489
501
|
config: {
|
|
490
502
|
type: "rings",
|
|
@@ -500,22 +512,22 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
500
512
|
ref_key: "chartLegend",
|
|
501
513
|
ref: Z
|
|
502
514
|
}, [
|
|
503
|
-
e.value.style.chart.legend.show ? (
|
|
515
|
+
e.value.style.chart.legend.show ? (i(), _(dt, {
|
|
504
516
|
key: `legend_${ae.value}`,
|
|
505
517
|
legendSet: ge.value,
|
|
506
518
|
config: Me.value,
|
|
507
|
-
onClickMarker: o[1] || (o[1] = ({ legend: l }) =>
|
|
519
|
+
onClickMarker: o[1] || (o[1] = ({ legend: l }) => j(l.uid))
|
|
508
520
|
}, {
|
|
509
|
-
item:
|
|
521
|
+
item: g(({ legend: l, index: a }) => [
|
|
510
522
|
C("div", {
|
|
511
523
|
"data-cy-legend-item": "",
|
|
512
|
-
onClick: (s) =>
|
|
513
|
-
style: S(`opacity:${
|
|
524
|
+
onClick: (s) => j(l.uid),
|
|
525
|
+
style: S(`opacity:${d.value.includes(l.uid) ? 0.5 : 1}`)
|
|
514
526
|
}, [
|
|
515
|
-
we(
|
|
527
|
+
we(W(l.name) + ": " + W(u(_e)(
|
|
516
528
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
517
529
|
l.value,
|
|
518
|
-
|
|
530
|
+
u(N)({
|
|
519
531
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
520
532
|
v: l.value,
|
|
521
533
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -523,29 +535,29 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
523
535
|
}),
|
|
524
536
|
{ datapoint: l, seriesIndex: a }
|
|
525
537
|
)) + " ", 1),
|
|
526
|
-
|
|
538
|
+
d.value.includes(l.uid) ? (i(), h("span", Lt, " ( - % ) ")) : (i(), h("span", St, " (" + W(isNaN(l.value / m.value) ? "-" : u(N)({
|
|
527
539
|
v: l.value / m.value * 100,
|
|
528
540
|
s: "%",
|
|
529
541
|
r: e.value.style.chart.legend.roundingPercentage
|
|
530
542
|
})) + ") ", 1))
|
|
531
|
-
], 12,
|
|
543
|
+
], 12, Pt)
|
|
532
544
|
]),
|
|
533
545
|
_: 1
|
|
534
|
-
}, 8, ["legendSet", "config"])) :
|
|
546
|
+
}, 8, ["legendSet", "config"])) : c(t.$slots, "legend", {
|
|
535
547
|
key: 1,
|
|
536
548
|
legend: ge.value
|
|
537
549
|
}, void 0, !0)
|
|
538
550
|
], 512),
|
|
539
|
-
t.$slots.source ? (
|
|
551
|
+
t.$slots.source ? (i(), h("div", {
|
|
540
552
|
key: 7,
|
|
541
553
|
ref_key: "source",
|
|
542
554
|
ref: ee,
|
|
543
555
|
dir: "auto"
|
|
544
556
|
}, [
|
|
545
|
-
|
|
546
|
-
], 512)) :
|
|
557
|
+
c(t.$slots, "source", {}, void 0, !0)
|
|
558
|
+
], 512)) : b("", !0),
|
|
547
559
|
be(vt, {
|
|
548
|
-
show: w.value.showTooltip && z.value &&
|
|
560
|
+
show: w.value.showTooltip && z.value && d.value.length < y.dataset.length,
|
|
549
561
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
550
562
|
color: e.value.style.chart.tooltip.color,
|
|
551
563
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -560,15 +572,15 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
560
572
|
isFullscreen: P.value,
|
|
561
573
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
562
574
|
}, {
|
|
563
|
-
"tooltip-before":
|
|
564
|
-
|
|
575
|
+
"tooltip-before": g(() => [
|
|
576
|
+
c(t.$slots, "tooltip-before", I(M({ ...X.value })), void 0, !0)
|
|
565
577
|
]),
|
|
566
|
-
"tooltip-after":
|
|
567
|
-
|
|
578
|
+
"tooltip-after": g(() => [
|
|
579
|
+
c(t.$slots, "tooltip-after", I(M({ ...X.value })), void 0, !0)
|
|
568
580
|
]),
|
|
569
581
|
_: 3
|
|
570
582
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
571
|
-
V.value ? (
|
|
583
|
+
V.value ? (i(), _(ht, {
|
|
572
584
|
key: 8,
|
|
573
585
|
hideDetails: "",
|
|
574
586
|
config: {
|
|
@@ -584,8 +596,8 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
584
596
|
}
|
|
585
597
|
}
|
|
586
598
|
}, {
|
|
587
|
-
content:
|
|
588
|
-
(
|
|
599
|
+
content: g(() => [
|
|
600
|
+
(i(), _(ct, {
|
|
589
601
|
key: `table_${oe.value}`,
|
|
590
602
|
colNames: B.value.colNames,
|
|
591
603
|
head: B.value.head,
|
|
@@ -594,23 +606,23 @@ const bt = ["id"], kt = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
594
606
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
595
607
|
onClose: o[2] || (o[2] = (l) => w.value.showTable = !1)
|
|
596
608
|
}, {
|
|
597
|
-
th:
|
|
609
|
+
th: g(({ th: l }) => [
|
|
598
610
|
C("div", {
|
|
599
611
|
innerHTML: l,
|
|
600
612
|
style: { display: "flex", "align-items": "center" }
|
|
601
|
-
}, null, 8,
|
|
613
|
+
}, null, 8, At)
|
|
602
614
|
]),
|
|
603
|
-
td:
|
|
604
|
-
we(
|
|
615
|
+
td: g(({ td: l }) => [
|
|
616
|
+
we(W(l.name || l), 1)
|
|
605
617
|
]),
|
|
606
618
|
_: 1
|
|
607
619
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
608
620
|
]),
|
|
609
621
|
_: 1
|
|
610
|
-
}, 8, ["config"])) :
|
|
622
|
+
}, 8, ["config"])) : b("", !0)
|
|
611
623
|
], 46, bt));
|
|
612
624
|
}
|
|
613
|
-
},
|
|
625
|
+
}, qt = /* @__PURE__ */ mt(Ft, [["__scopeId", "data-v-b8e475ba"]]);
|
|
614
626
|
export {
|
|
615
|
-
|
|
627
|
+
qt as default
|
|
616
628
|
};
|