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 { computed as v, ref as s, watch as ke, onMounted as Be, onBeforeUnmount as Ue, openBlock as n, createElementBlock as u, normalizeClass as B, normalizeStyle as U, unref as i, createBlock as C, createCommentVNode as
|
|
2
|
-
import { u as
|
|
1
|
+
import { computed as v, ref as s, watch as ke, onMounted as Be, onBeforeUnmount as Ue, openBlock as n, createElementBlock as u, normalizeClass as B, normalizeStyle as U, unref as i, createBlock as C, createCommentVNode as f, createSlots as Xe, withCtx as g, renderSlot as h, normalizeProps as S, guardReactiveProps as M, createVNode as we, Fragment as F, renderList as N, createElementVNode as O, toDisplayString as P, createTextVNode as Ge, nextTick as Ee } from "vue";
|
|
2
|
+
import { u as He, c as We, t as je, a as qe, p as $e, b as Je, o as Ke, e as K, d as Qe, X as Ze, f as R, i as Q, x as Ce, q as et, r as tt, y as at } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as lt, u as ot } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as rt } from "./Title-
|
|
5
|
-
import { u as nt, U as st } from "./usePrinter-
|
|
6
|
-
import { L as ut } from "./Legend-
|
|
7
|
-
import { D as it } from "./DataTable-
|
|
8
|
-
import { _ as ct } from "./Tooltip-
|
|
9
|
-
import dt from "./vue-ui-skeleton-
|
|
10
|
-
import vt from "./vue-ui-accordion-
|
|
11
|
-
import { u as xe } from "./useNestedProp-
|
|
12
|
-
import { _ as ht } from "./PackageVersion-
|
|
13
|
-
import { P as ft } from "./PenAndPaper-
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"],
|
|
4
|
+
import { _ as rt } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as nt, U as st } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { L as ut } from "./Legend-f52bnttJ.js";
|
|
7
|
+
import { D as it } from "./DataTable-CFUKU8PU.js";
|
|
8
|
+
import { _ as ct } from "./Tooltip-DDJ2Wvjy.js";
|
|
9
|
+
import dt from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
10
|
+
import vt from "./vue-ui-accordion-rNA598L6.js";
|
|
11
|
+
import { u as xe } from "./useNestedProp-DuruL3Nt.js";
|
|
12
|
+
import { _ as ht } from "./PackageVersion-C_FFs0BP.js";
|
|
13
|
+
import { P as ft } from "./PenAndPaper-Dx24BtRW.js";
|
|
14
|
+
import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["width", "height"], kt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], wt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], $t = ["id"], Ct = ["stdDeviation"], xt = ["filter"], Tt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], _t = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], Ot = { key: 2 }, Pt = ["onMouseenter"], At = ["x", "y", "font-size", "fill", "font-weight"], It = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, St = ["onClick"], Mt = ["innerHTML"], Ft = {
|
|
20
20
|
__name: "vue-ui-onion",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,10 +34,10 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(Te, { expose: _e, emit: Oe }) {
|
|
37
|
-
const k = Te, { vue_ui_onion: Pe } =
|
|
37
|
+
const k = Te, { vue_ui_onion: Pe } = He(), D = v(() => !!k.dataset && k.dataset.length), x = s(We()), Ae = s(null), Z = s(0), L = s(!1), X = s(""), y = s([]), T = s(null), ee = s(null), te = s(null), ae = s(null), le = s(null), oe = s(0), re = s(0), ne = s(0), e = v({
|
|
38
38
|
get: () => ie(),
|
|
39
39
|
set: (t) => t
|
|
40
|
-
}), { userOptionsVisible: G, setUserOptionsVisibility: se, keepUserOptionState: ue } =
|
|
40
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: se, keepUserOptionState: ue } = gt({ config: e.value });
|
|
41
41
|
function ie() {
|
|
42
42
|
const t = xe({
|
|
43
43
|
userConfig: k.config,
|
|
@@ -48,7 +48,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
48
48
|
userConfig: je.vue_ui_onion[t.theme] || k.config,
|
|
49
49
|
defaultConfig: t
|
|
50
50
|
}),
|
|
51
|
-
customPalette: qe[t.theme] ||
|
|
51
|
+
customPalette: qe[t.theme] || $e
|
|
52
52
|
} : t;
|
|
53
53
|
}
|
|
54
54
|
ke(() => k.config, (t) => {
|
|
@@ -57,7 +57,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
57
57
|
const { isPrinting: ce, isImaging: de, generatePdf: ve, generateImage: he } = nt({
|
|
58
58
|
elementId: `vue-ui-onion_${x.value}`,
|
|
59
59
|
fileName: e.value.style.chart.title.text || "vue-ui-onion"
|
|
60
|
-
}), Ie = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = v(() => Je(e.value.customPalette)),
|
|
60
|
+
}), Ie = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = v(() => Je(e.value.customPalette)), w = s({
|
|
61
61
|
showTable: e.value.table.show,
|
|
62
62
|
showTooltip: e.value.style.chart.tooltip.show
|
|
63
63
|
}), r = s({
|
|
@@ -124,23 +124,23 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
124
124
|
...t,
|
|
125
125
|
percentage: t.percentage || 0,
|
|
126
126
|
targetPercentage: t.percentage || 0,
|
|
127
|
-
color: Qe(t.color) || Se.value[o] ||
|
|
127
|
+
color: Qe(t.color) || Se.value[o] || $e[o],
|
|
128
128
|
id: a,
|
|
129
129
|
shape: "circle",
|
|
130
130
|
opacity: y.value.includes(a) ? 0.5 : 1,
|
|
131
131
|
absoluteIndex: o,
|
|
132
|
-
segregate: () =>
|
|
132
|
+
segregate: () => ge(a),
|
|
133
133
|
isSegregated: y.value.includes(a)
|
|
134
134
|
};
|
|
135
|
-
}))), A = s(d.value), Me = v(() => e.value.useStartAnimation), Fe = s(null), Ne = v(() => Math.max(...d.value.map((t) => t.percentage))),
|
|
135
|
+
}))), A = s(d.value), Me = v(() => e.value.useStartAnimation), Fe = s(null), Ne = v(() => Math.max(...d.value.map((t) => t.percentage))), E = s(!1);
|
|
136
136
|
ke(() => d.value, Re, { immediate: !0 });
|
|
137
137
|
function Re() {
|
|
138
|
-
if (Me.value && !
|
|
138
|
+
if (Me.value && !E.value) {
|
|
139
139
|
let o = function() {
|
|
140
|
-
t >= Ne.value ? (cancelAnimationFrame(Fe.value), A.value = d.value,
|
|
140
|
+
t >= Ne.value ? (cancelAnimationFrame(Fe.value), A.value = d.value, E.value = !0) : (A.value = d.value.map((a) => ({
|
|
141
141
|
...a,
|
|
142
142
|
percentage: t < a.targetPercentage ? t : a.targetPercentage
|
|
143
|
-
})), t += 1, requestAnimationFrame(o),
|
|
143
|
+
})), t += 1, requestAnimationFrame(o), E.value = !0);
|
|
144
144
|
};
|
|
145
145
|
A.value = d.value.map((a) => ({
|
|
146
146
|
...a,
|
|
@@ -158,14 +158,14 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
158
158
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
159
159
|
paddingBottom: 12,
|
|
160
160
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
161
|
-
})), Le = v(() => d.value.filter((t) => !y.value.includes(t.id)).length),
|
|
161
|
+
})), Le = v(() => d.value.filter((t) => !y.value.includes(t.id)).length), $ = v(() => {
|
|
162
162
|
const t = Math.min(c.value.width, c.value.height) / 2 / d.value.length;
|
|
163
163
|
return {
|
|
164
164
|
gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
|
|
165
165
|
track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
|
|
166
166
|
};
|
|
167
167
|
}), m = v(() => A.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
|
|
168
|
-
const a = (c.value.maxRadius -
|
|
168
|
+
const a = (c.value.maxRadius - $.value.track) / Le.value / 2 * (1 + o), l = c.value.centerY - a;
|
|
169
169
|
return {
|
|
170
170
|
percentage: t.percentage || 0,
|
|
171
171
|
...t,
|
|
@@ -175,11 +175,11 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
175
175
|
};
|
|
176
176
|
}));
|
|
177
177
|
function Ve(t, o) {
|
|
178
|
-
const a = 2 * Math.PI * t, l = a * 0.75,
|
|
178
|
+
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, I = l * (1 - o / 100);
|
|
179
179
|
return {
|
|
180
180
|
bgDashArray: `${l} ${a}`,
|
|
181
181
|
bgDashOffset: 0,
|
|
182
|
-
dashArray:
|
|
182
|
+
dashArray: p,
|
|
183
183
|
dashOffset: I,
|
|
184
184
|
fullOffset: 0,
|
|
185
185
|
active: `
|
|
@@ -189,13 +189,13 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
189
189
|
`.trim()
|
|
190
190
|
};
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function ge(t) {
|
|
193
193
|
y.value.includes(t) ? y.value = y.value.filter((o) => o !== t) : y.value.push(t), Oe("selectLegend", m.value);
|
|
194
194
|
}
|
|
195
195
|
function ze() {
|
|
196
196
|
return m.value;
|
|
197
197
|
}
|
|
198
|
-
const
|
|
198
|
+
const H = v(() => {
|
|
199
199
|
const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = m.value.map((a) => [
|
|
200
200
|
a.name,
|
|
201
201
|
a.percentage,
|
|
@@ -203,7 +203,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
203
203
|
]);
|
|
204
204
|
return { head: t, body: o };
|
|
205
205
|
}), z = v(() => {
|
|
206
|
-
const t =
|
|
206
|
+
const t = H.value.head, o = m.value.map((l) => [
|
|
207
207
|
`<span style="color:${l.color}">⬤</span> ${l.name}`,
|
|
208
208
|
`${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
|
|
209
209
|
`${l.prefix || ""}${[null, void 0, NaN, "NaN"].includes(l.value) ? "-" : l.value.toFixed(e.value.table.td.roundingValue).toLocaleString()}${l.suffix || ""}`
|
|
@@ -222,10 +222,10 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
222
222
|
};
|
|
223
223
|
return { head: t, body: o, config: a, colNames: t };
|
|
224
224
|
});
|
|
225
|
-
function
|
|
226
|
-
|
|
227
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o =
|
|
228
|
-
tt({ csvContent:
|
|
225
|
+
function pe() {
|
|
226
|
+
Ee(() => {
|
|
227
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = H.value.head, a = H.value.body, l = t.concat([o]).concat(a), p = et(l);
|
|
228
|
+
tt({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
231
|
const b = s(void 0), _ = s(!1);
|
|
@@ -241,7 +241,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
241
241
|
series: d.value,
|
|
242
242
|
config: e.value
|
|
243
243
|
}, L.value = a;
|
|
244
|
-
let
|
|
244
|
+
let p = "";
|
|
245
245
|
const I = e.value.style.chart.tooltip.customFormat;
|
|
246
246
|
if (Ce(I) && at(() => I({
|
|
247
247
|
seriesIndex: l,
|
|
@@ -257,7 +257,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
257
257
|
});
|
|
258
258
|
else {
|
|
259
259
|
const q = e.value.style.chart.tooltip.showPercentage, J = e.value.style.chart.tooltip.showValue;
|
|
260
|
-
|
|
260
|
+
p += `<div style="width: 100%; border-bottom: 1px solid ${e.value.style.chart.tooltip.borderColor}; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span></span>${t.name}</span></div>`, p += `<div style="width:100%;text-align:left;"><b>${q ? R({ p: "", v: t.percentage, s: "%", r: e.value.style.chart.tooltip.roundingPercentage }) : ""}</b> ${q && J ? "(" : ""}${J ? Q(
|
|
261
261
|
e.value.style.chart.layout.labels.value.formatter,
|
|
262
262
|
t.value,
|
|
263
263
|
R({
|
|
@@ -267,14 +267,14 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
267
267
|
r: e.value.style.chart.tooltip.roundingValue
|
|
268
268
|
}),
|
|
269
269
|
{ datapoint: t, seriesIndex: o }
|
|
270
|
-
) : ""}${q && J ? ")" : ""}</div>`, X.value = `<div>${
|
|
270
|
+
) : ""}${q && J ? ")" : ""}</div>`, X.value = `<div>${p}</div>`;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
function me() {
|
|
274
|
-
|
|
274
|
+
w.value.showTable = !w.value.showTable;
|
|
275
275
|
}
|
|
276
276
|
function be() {
|
|
277
|
-
|
|
277
|
+
w.value.showTooltip = !w.value.showTooltip;
|
|
278
278
|
}
|
|
279
279
|
const Y = s(!1);
|
|
280
280
|
function j() {
|
|
@@ -283,7 +283,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
283
283
|
return _e({
|
|
284
284
|
getData: ze,
|
|
285
285
|
generatePdf: ve,
|
|
286
|
-
generateCsv:
|
|
286
|
+
generateCsv: pe,
|
|
287
287
|
generateImage: he,
|
|
288
288
|
toggleTable: me,
|
|
289
289
|
toggleTooltip: be,
|
|
@@ -304,14 +304,14 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
304
304
|
color: e.value.style.chart.color,
|
|
305
305
|
active: Y.value,
|
|
306
306
|
onClose: j
|
|
307
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
307
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
308
308
|
Ie.value ? (n(), u("div", {
|
|
309
309
|
key: 1,
|
|
310
310
|
ref_key: "noTitle",
|
|
311
311
|
ref: le,
|
|
312
312
|
class: "vue-data-ui-no-title-space",
|
|
313
313
|
style: "height:36px; width: 100%;background:transparent"
|
|
314
|
-
}, null, 512)) :
|
|
314
|
+
}, null, 512)) : f("", !0),
|
|
315
315
|
e.value.style.chart.title.text ? (n(), u("div", {
|
|
316
316
|
key: 2,
|
|
317
317
|
ref_key: "chartTitle",
|
|
@@ -331,7 +331,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
}, null, 8, ["config"]))
|
|
334
|
-
], 512)) :
|
|
334
|
+
], 512)) : f("", !0),
|
|
335
335
|
e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (n(), C(st, {
|
|
336
336
|
ref_key: "details",
|
|
337
337
|
ref: Ae,
|
|
@@ -348,7 +348,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
348
348
|
hasTable: e.value.userOptions.buttons.table,
|
|
349
349
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
350
350
|
isFullscreen: _.value,
|
|
351
|
-
isTooltip:
|
|
351
|
+
isTooltip: w.value.showTooltip,
|
|
352
352
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
353
353
|
chartElement: T.value,
|
|
354
354
|
position: e.value.userOptions.position,
|
|
@@ -356,7 +356,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
356
356
|
isAnnotation: Y.value,
|
|
357
357
|
onToggleFullscreen: Ye,
|
|
358
358
|
onGeneratePdf: i(ve),
|
|
359
|
-
onGenerateCsv:
|
|
359
|
+
onGenerateCsv: pe,
|
|
360
360
|
onGenerateImage: i(he),
|
|
361
361
|
onToggleTable: me,
|
|
362
362
|
onToggleTooltip: be,
|
|
@@ -367,88 +367,100 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
367
367
|
}, Xe({ _: 2 }, [
|
|
368
368
|
t.$slots.optionTooltip ? {
|
|
369
369
|
name: "optionTooltip",
|
|
370
|
-
fn:
|
|
371
|
-
|
|
370
|
+
fn: g(() => [
|
|
371
|
+
h(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
372
372
|
]),
|
|
373
373
|
key: "0"
|
|
374
374
|
} : void 0,
|
|
375
375
|
t.$slots.optionPdf ? {
|
|
376
376
|
name: "optionPdf",
|
|
377
|
-
fn:
|
|
378
|
-
|
|
377
|
+
fn: g(() => [
|
|
378
|
+
h(t.$slots, "optionPdf", {}, void 0, !0)
|
|
379
379
|
]),
|
|
380
380
|
key: "1"
|
|
381
381
|
} : void 0,
|
|
382
382
|
t.$slots.optionCsv ? {
|
|
383
383
|
name: "optionCsv",
|
|
384
|
-
fn:
|
|
385
|
-
|
|
384
|
+
fn: g(() => [
|
|
385
|
+
h(t.$slots, "optionCsv", {}, void 0, !0)
|
|
386
386
|
]),
|
|
387
387
|
key: "2"
|
|
388
388
|
} : void 0,
|
|
389
389
|
t.$slots.optionImg ? {
|
|
390
390
|
name: "optionImg",
|
|
391
|
-
fn:
|
|
392
|
-
|
|
391
|
+
fn: g(() => [
|
|
392
|
+
h(t.$slots, "optionImg", {}, void 0, !0)
|
|
393
393
|
]),
|
|
394
394
|
key: "3"
|
|
395
395
|
} : void 0,
|
|
396
396
|
t.$slots.optionTable ? {
|
|
397
397
|
name: "optionTable",
|
|
398
|
-
fn:
|
|
399
|
-
|
|
398
|
+
fn: g(() => [
|
|
399
|
+
h(t.$slots, "optionTable", {}, void 0, !0)
|
|
400
400
|
]),
|
|
401
401
|
key: "4"
|
|
402
402
|
} : void 0,
|
|
403
403
|
t.$slots.optionFullscreen ? {
|
|
404
404
|
name: "optionFullscreen",
|
|
405
|
-
fn:
|
|
406
|
-
|
|
405
|
+
fn: g(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
406
|
+
h(t.$slots, "optionFullscreen", S(M({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
407
407
|
]),
|
|
408
408
|
key: "5"
|
|
409
409
|
} : void 0,
|
|
410
410
|
t.$slots.optionAnnotator ? {
|
|
411
411
|
name: "optionAnnotator",
|
|
412
|
-
fn:
|
|
413
|
-
|
|
412
|
+
fn: g(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
413
|
+
h(t.$slots, "optionAnnotator", S(M({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
414
414
|
]),
|
|
415
415
|
key: "6"
|
|
416
416
|
} : void 0
|
|
417
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
417
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
418
418
|
D.value ? (n(), u("svg", {
|
|
419
419
|
key: 4,
|
|
420
420
|
xmlns: i(Ze),
|
|
421
421
|
class: B({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
|
|
422
|
-
viewBox: `0 0 ${r.value.width <= 0 ?
|
|
422
|
+
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
423
423
|
style: U(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
424
424
|
}, [
|
|
425
|
-
|
|
425
|
+
we(ht),
|
|
426
|
+
t.$slots["chart-background"] ? (n(), u("foreignObject", {
|
|
427
|
+
key: 0,
|
|
428
|
+
x: 0,
|
|
429
|
+
y: 0,
|
|
430
|
+
width: r.value.width <= 0 ? 10 : r.value.width,
|
|
431
|
+
height: r.value.height <= 0 ? 10 : r.value.height,
|
|
432
|
+
style: {
|
|
433
|
+
pointerEvents: "none"
|
|
434
|
+
}
|
|
435
|
+
}, [
|
|
436
|
+
h(t.$slots, "chart-background", {}, void 0, !0)
|
|
437
|
+
], 8, bt)) : f("", !0),
|
|
426
438
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
|
|
427
439
|
cx: c.value.centerX,
|
|
428
440
|
cy: c.value.centerY,
|
|
429
441
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
430
442
|
stroke: e.value.style.chart.layout.gutter.color,
|
|
431
|
-
"stroke-width":
|
|
443
|
+
"stroke-width": $.value.gutter,
|
|
432
444
|
fill: "none",
|
|
433
445
|
"stroke-dasharray": a.path.bgDashArray,
|
|
434
446
|
"stroke-dashoffset": a.path.fullOffset,
|
|
435
447
|
"stroke-linecap": "round",
|
|
436
448
|
class: B({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
|
|
437
449
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
438
|
-
}, null, 10,
|
|
450
|
+
}, null, 10, kt))), 256)),
|
|
439
451
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
|
|
440
452
|
cx: c.value.centerX,
|
|
441
453
|
cy: c.value.centerY,
|
|
442
454
|
r: a.radius < 0 ? 1e-4 : a.radius,
|
|
443
455
|
stroke: `${a.color}`,
|
|
444
|
-
"stroke-width":
|
|
456
|
+
"stroke-width": $.value.track,
|
|
445
457
|
fill: "none",
|
|
446
458
|
"stroke-dasharray": a.path.dashArray,
|
|
447
459
|
"stroke-dashoffset": a.path.dashOffset,
|
|
448
460
|
class: B({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(b.value) && b.value !== l }),
|
|
449
461
|
"stroke-linecap": "round",
|
|
450
462
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
451
|
-
}, null, 10,
|
|
463
|
+
}, null, 10, wt))), 256)),
|
|
452
464
|
O("defs", null, [
|
|
453
465
|
O("filter", {
|
|
454
466
|
id: `blur_${x.value}`,
|
|
@@ -460,11 +472,11 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
460
472
|
O("feGaussianBlur", {
|
|
461
473
|
in: "SourceGraphic",
|
|
462
474
|
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
463
|
-
}, null, 8,
|
|
475
|
+
}, null, 8, Ct)
|
|
464
476
|
], 8, $t)
|
|
465
477
|
]),
|
|
466
478
|
e.value.style.chart.useGradient ? (n(), u("g", {
|
|
467
|
-
key:
|
|
479
|
+
key: 1,
|
|
468
480
|
filter: `url(#blur_${x.value})`
|
|
469
481
|
}, [
|
|
470
482
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
|
|
@@ -472,50 +484,50 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
472
484
|
cy: c.value.centerY,
|
|
473
485
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
474
486
|
stroke: "white",
|
|
475
|
-
"stroke-width":
|
|
487
|
+
"stroke-width": $.value.track / 3,
|
|
476
488
|
fill: "none",
|
|
477
489
|
"stroke-linecap": "round",
|
|
478
490
|
"stroke-dasharray": a.path.dashArray,
|
|
479
491
|
"stroke-dashoffset": a.path.dashOffset,
|
|
480
492
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
481
|
-
}, null, 8,
|
|
482
|
-
], 8,
|
|
493
|
+
}, null, 8, Tt))), 256))
|
|
494
|
+
], 8, xt)) : f("", !0),
|
|
483
495
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("circle", {
|
|
484
496
|
"data-cy-trap": "",
|
|
485
497
|
cx: c.value.centerX,
|
|
486
498
|
cy: c.value.centerY,
|
|
487
499
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
488
500
|
stroke: "transparent",
|
|
489
|
-
"stroke-width": Math.max(
|
|
501
|
+
"stroke-width": Math.max($.value.track, $.value.gutter),
|
|
490
502
|
fill: "none",
|
|
491
503
|
"stroke-dasharray": a.path.bgDashArray,
|
|
492
504
|
"stroke-dashoffset": a.path.fullOffset,
|
|
493
505
|
"stroke-linecap": "round",
|
|
494
506
|
class: "vue-ui-onion-path",
|
|
495
507
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" },
|
|
496
|
-
onMouseenter: (
|
|
508
|
+
onMouseenter: (p) => ye({
|
|
497
509
|
datapoint: a,
|
|
498
510
|
show: !0,
|
|
499
511
|
seriesIndex: l
|
|
500
512
|
}),
|
|
501
|
-
onMouseleave: o[0] || (o[0] = (
|
|
513
|
+
onMouseleave: o[0] || (o[0] = (p) => {
|
|
502
514
|
b.value = void 0, L.value = !1;
|
|
503
515
|
})
|
|
504
|
-
}, null, 40,
|
|
505
|
-
e.value.style.chart.layout.labels.show ? (n(), u("g",
|
|
516
|
+
}, null, 40, _t))), 256)),
|
|
517
|
+
e.value.style.chart.layout.labels.show ? (n(), u("g", Ot, [
|
|
506
518
|
(n(!0), u(F, null, N(m.value, (a, l) => (n(), u("g", {
|
|
507
|
-
onMouseenter: (
|
|
519
|
+
onMouseenter: (p) => ye({
|
|
508
520
|
datapoint: a,
|
|
509
521
|
show: !0,
|
|
510
522
|
seriesIndex: l
|
|
511
523
|
}),
|
|
512
|
-
onMouseleave: o[1] || (o[1] = (
|
|
524
|
+
onMouseleave: o[1] || (o[1] = (p) => {
|
|
513
525
|
b.value = void 0, L.value = !1;
|
|
514
526
|
})
|
|
515
527
|
}, [
|
|
516
|
-
y.value.includes(a.id) ?
|
|
528
|
+
y.value.includes(a.id) ? f("", !0) : (n(), u("text", {
|
|
517
529
|
key: 0,
|
|
518
|
-
x: r.value.width / 2 -
|
|
530
|
+
x: r.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
519
531
|
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
520
532
|
"text-anchor": "end",
|
|
521
533
|
"font-size": e.value.style.chart.layout.labels.fontSize,
|
|
@@ -545,15 +557,15 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
545
557
|
r: e.value.style.chart.layout.labels.roundingValue
|
|
546
558
|
}),
|
|
547
559
|
{ datapoint: a, seriesIndex: l }
|
|
548
|
-
)})` : ""}`), 9,
|
|
549
|
-
], 40,
|
|
550
|
-
])) :
|
|
551
|
-
|
|
552
|
-
], 14, mt)) :
|
|
553
|
-
t.$slots.watermark ? (n(), u("div",
|
|
554
|
-
|
|
555
|
-
])) :
|
|
556
|
-
D.value ?
|
|
560
|
+
)})` : ""}`), 9, At))
|
|
561
|
+
], 40, Pt))), 256))
|
|
562
|
+
])) : f("", !0),
|
|
563
|
+
h(t.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
564
|
+
], 14, mt)) : f("", !0),
|
|
565
|
+
t.$slots.watermark ? (n(), u("div", It, [
|
|
566
|
+
h(t.$slots, "watermark", S(M({ isPrinting: i(ce) || i(de) })), void 0, !0)
|
|
567
|
+
])) : f("", !0),
|
|
568
|
+
D.value ? f("", !0) : (n(), C(dt, {
|
|
557
569
|
key: 6,
|
|
558
570
|
config: {
|
|
559
571
|
type: "onion",
|
|
@@ -573,17 +585,17 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
573
585
|
key: `legend_${ne.value}`,
|
|
574
586
|
legendSet: d.value,
|
|
575
587
|
config: De.value,
|
|
576
|
-
onClickMarker: o[2] || (o[2] = ({ legend: a }) =>
|
|
588
|
+
onClickMarker: o[2] || (o[2] = ({ legend: a }) => ge(a.id))
|
|
577
589
|
}, {
|
|
578
|
-
item:
|
|
590
|
+
item: g(({ legend: a }) => [
|
|
579
591
|
O("div", {
|
|
580
592
|
"data-cy-legend-item": "",
|
|
581
593
|
onClick: (l) => a.segregate(),
|
|
582
594
|
style: U(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
|
|
583
|
-
}, P(a.name ? a.name + ": " : "") + " " + P((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13,
|
|
595
|
+
}, P(a.name ? a.name + ": " : "") + " " + P((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, St)
|
|
584
596
|
]),
|
|
585
597
|
_: 1
|
|
586
|
-
}, 8, ["legendSet", "config"])) :
|
|
598
|
+
}, 8, ["legendSet", "config"])) : h(t.$slots, "legend", {
|
|
587
599
|
key: 1,
|
|
588
600
|
legend: d.value
|
|
589
601
|
}, void 0, !0)
|
|
@@ -594,10 +606,10 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
594
606
|
ref: ae,
|
|
595
607
|
dir: "auto"
|
|
596
608
|
}, [
|
|
597
|
-
|
|
598
|
-
], 512)) :
|
|
599
|
-
|
|
600
|
-
show:
|
|
609
|
+
h(t.$slots, "source", {}, void 0, !0)
|
|
610
|
+
], 512)) : f("", !0),
|
|
611
|
+
we(ct, {
|
|
612
|
+
show: w.value.showTooltip && L.value,
|
|
601
613
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
602
614
|
color: e.value.style.chart.tooltip.color,
|
|
603
615
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -612,11 +624,11 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
612
624
|
isFullscreen: _.value,
|
|
613
625
|
isCustom: i(Ce)(e.value.style.chart.tooltip.customFormat)
|
|
614
626
|
}, {
|
|
615
|
-
"tooltip-before":
|
|
616
|
-
|
|
627
|
+
"tooltip-before": g(() => [
|
|
628
|
+
h(t.$slots, "tooltip-before", S(M({ ...W.value })), void 0, !0)
|
|
617
629
|
]),
|
|
618
|
-
"tooltip-after":
|
|
619
|
-
|
|
630
|
+
"tooltip-after": g(() => [
|
|
631
|
+
h(t.$slots, "tooltip-after", S(M({ ...W.value })), void 0, !0)
|
|
620
632
|
]),
|
|
621
633
|
_: 3
|
|
622
634
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -624,7 +636,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
624
636
|
key: 8,
|
|
625
637
|
hideDetails: "",
|
|
626
638
|
config: {
|
|
627
|
-
open:
|
|
639
|
+
open: w.value.showTable,
|
|
628
640
|
maxHeight: 1e4,
|
|
629
641
|
head: {
|
|
630
642
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -636,7 +648,7 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
636
648
|
}
|
|
637
649
|
}
|
|
638
650
|
}, {
|
|
639
|
-
content:
|
|
651
|
+
content: g(() => [
|
|
640
652
|
(n(), C(it, {
|
|
641
653
|
key: `table_${re.value}`,
|
|
642
654
|
colNames: z.value.colNames,
|
|
@@ -644,22 +656,22 @@ const yt = ["id"], mt = ["xmlns", "viewBox"], bt = ["cx", "cy", "r", "stroke", "
|
|
|
644
656
|
body: z.value.body,
|
|
645
657
|
config: z.value.config,
|
|
646
658
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
647
|
-
onClose: o[3] || (o[3] = (a) =>
|
|
659
|
+
onClose: o[3] || (o[3] = (a) => w.value.showTable = !1)
|
|
648
660
|
}, {
|
|
649
|
-
th:
|
|
661
|
+
th: g(({ th: a }) => [
|
|
650
662
|
Ge(P(a), 1)
|
|
651
663
|
]),
|
|
652
|
-
td:
|
|
653
|
-
O("div", { innerHTML: a }, null, 8,
|
|
664
|
+
td: g(({ td: a }) => [
|
|
665
|
+
O("div", { innerHTML: a }, null, 8, Mt)
|
|
654
666
|
]),
|
|
655
667
|
_: 1
|
|
656
668
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
657
669
|
]),
|
|
658
670
|
_: 1
|
|
659
|
-
}, 8, ["config"])) :
|
|
671
|
+
}, 8, ["config"])) : f("", !0)
|
|
660
672
|
], 46, yt));
|
|
661
673
|
}
|
|
662
|
-
},
|
|
674
|
+
}, qt = /* @__PURE__ */ pt(Ft, [["__scopeId", "data-v-2f5427dd"]]);
|
|
663
675
|
export {
|
|
664
|
-
|
|
676
|
+
qt as default
|
|
665
677
|
};
|