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,26 +1,26 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as Ke, c as Qe, t as Ze, a as et, p as x, o as tt, e as F, b as at, g as xe, d as Oe, O as Ae, v as ot, i as Ne, f as V, X as lt, s as te, w as rt, P as Se, x as
|
|
1
|
+
import { computed as h, ref as i, watch as je, onMounted as He, onBeforeUnmount as Ye, openBlock as r, createElementBlock as s, normalizeClass as z, normalizeStyle as W, unref as c, createBlock as _, createCommentVNode as d, createSlots as qe, withCtx as m, renderSlot as f, normalizeProps as M, guardReactiveProps as R, createVNode as ee, createElementVNode as $, Fragment as P, renderList as T, toDisplayString as U, createTextVNode as Te, nextTick as Je } from "vue";
|
|
2
|
+
import { u as Ke, c as Qe, t as Ze, a as et, p as x, o as tt, e as F, b as at, g as xe, d as Oe, O as Ae, v as ot, i as Ne, f as V, X as lt, s as te, w as rt, P as Se, x as nt, y as st, q as ut, r as it } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as ct, u as dt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as vt } from "./Title-
|
|
5
|
-
import { u as pt, U as ht } from "./usePrinter-
|
|
6
|
-
import { _ as gt } from "./Tooltip-
|
|
7
|
-
import ft from "./vue-ui-sparkbar-
|
|
8
|
-
import { L as yt } from "./Legend-
|
|
9
|
-
import { D as mt } from "./DataTable-
|
|
10
|
-
import bt from "./vue-ui-skeleton-
|
|
11
|
-
import kt from "./vue-ui-accordion-
|
|
12
|
-
import { u as Fe } from "./useNestedProp-
|
|
13
|
-
import { _ as Ct } from "./PackageVersion-
|
|
14
|
-
import { P as wt } from "./PenAndPaper-
|
|
4
|
+
import { _ as vt } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as pt, U as ht } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import ft from "./vue-ui-sparkbar-CTDWiUid.js";
|
|
8
|
+
import { L as yt } from "./Legend-f52bnttJ.js";
|
|
9
|
+
import { D as mt } from "./DataTable-CFUKU8PU.js";
|
|
10
|
+
import bt from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
11
|
+
import kt from "./vue-ui-accordion-rNA598L6.js";
|
|
12
|
+
import { u as Fe } from "./useNestedProp-DuruL3Nt.js";
|
|
13
|
+
import { _ as Ct } from "./PackageVersion-C_FFs0BP.js";
|
|
14
|
+
import { P as wt } from "./PenAndPaper-Dx24BtRW.js";
|
|
15
15
|
import { u as _t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["
|
|
17
|
+
const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["width", "height"], Ot = ["id"], At = ["stop-color"], Nt = ["stop-color"], St = { key: 1 }, Ft = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], It = { key: 0 }, Lt = ["d", "stroke", "stroke-width"], zt = ["d", "stroke", "stroke-width"], Mt = { key: 2 }, Rt = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Ut = ["points", "stroke", "stroke-width"], Vt = ["points", "stroke", "stroke-width", "fill"], Et = { key: 3 }, Bt = ["cx", "cy", "fill", "r", "stroke"], Dt = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, Gt = ["onClick"], Wt = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { "max-width": "200px", margin: "0 auto" }
|
|
23
|
-
},
|
|
23
|
+
}, Xt = {
|
|
24
24
|
__name: "vue-ui-radar",
|
|
25
25
|
props: {
|
|
26
26
|
config: {
|
|
@@ -38,10 +38,10 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend"],
|
|
40
40
|
setup(Ie, { expose: Le, emit: ze }) {
|
|
41
|
-
const g = Ie, { vue_ui_radar: Me } = Ke(), I =
|
|
41
|
+
const g = Ie, { vue_ui_radar: Me } = Ke(), I = h(() => !!g.dataset && Object.keys(g.dataset).length), w = i(Qe()), Re = i(null), X = i(!1), j = i(""), ae = i(0), O = i(null), oe = i(null), le = i(null), re = i(null), ne = i(null), se = i(0), ue = i(0), ie = i(0), e = h({
|
|
42
42
|
get: () => ve(),
|
|
43
43
|
set: (t) => t
|
|
44
|
-
}), { userOptionsVisible:
|
|
44
|
+
}), { userOptionsVisible: H, setUserOptionsVisibility: ce, keepUserOptionState: de } = _t({ config: e.value });
|
|
45
45
|
function ve() {
|
|
46
46
|
const t = Fe({
|
|
47
47
|
userConfig: g.config,
|
|
@@ -55,10 +55,10 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
55
55
|
customPalette: et[t.theme] || x
|
|
56
56
|
} : t;
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
e.value = ve(),
|
|
58
|
+
je(() => g.config, (t) => {
|
|
59
|
+
e.value = ve(), H.value = !e.value.showOnChartHover, pe(), se.value += 1, ue.value += 1, ie.value += 1;
|
|
60
60
|
}, { deep: !0 });
|
|
61
|
-
const E =
|
|
61
|
+
const E = i(null);
|
|
62
62
|
function pe() {
|
|
63
63
|
if (tt(g.dataset) && F({
|
|
64
64
|
componentName: "VueUiRadar",
|
|
@@ -70,28 +70,28 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
70
70
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
71
71
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
72
72
|
source: re.value,
|
|
73
|
-
noTitle:
|
|
73
|
+
noTitle: ne.value
|
|
74
74
|
});
|
|
75
|
-
|
|
75
|
+
u.value.width = a, u.value.height = o;
|
|
76
76
|
});
|
|
77
77
|
E.value = new ResizeObserver(t), E.value.observe(O.value.parentNode);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
He(() => {
|
|
81
81
|
pe();
|
|
82
|
-
}),
|
|
82
|
+
}), Ye(() => {
|
|
83
83
|
E.value && E.value.disconnect();
|
|
84
84
|
});
|
|
85
85
|
const { isPrinting: he, isImaging: ge, generatePdf: fe, generateImage: ye } = pt({
|
|
86
86
|
elementId: `vue-ui-radar_${w.value}`,
|
|
87
87
|
fileName: e.value.style.chart.title.text || "vue-ui-radar"
|
|
88
|
-
}), Ue =
|
|
88
|
+
}), Ue = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = h(() => at(e.value.customPalette)), k = i({
|
|
89
89
|
dataLabels: {
|
|
90
90
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
91
91
|
},
|
|
92
92
|
showTable: e.value.table.show,
|
|
93
93
|
showTooltip: e.value.style.chart.tooltip.show
|
|
94
|
-
}), Ve =
|
|
94
|
+
}), Ve = h(() => ({
|
|
95
95
|
style: {
|
|
96
96
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
97
97
|
animation: {
|
|
@@ -109,16 +109,16 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
109
109
|
opacity: 30
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
})),
|
|
112
|
+
})), u = i({
|
|
113
113
|
height: 312,
|
|
114
114
|
width: 512
|
|
115
|
-
}),
|
|
115
|
+
}), v = i([]), L = i(null), A = i(!1);
|
|
116
116
|
function be(t) {
|
|
117
|
-
A.value = !0,
|
|
117
|
+
A.value = !0, v.value.includes(t) ? (L.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
|
|
118
118
|
A.value = !1, L.value = null;
|
|
119
|
-
}, 500)) : (
|
|
119
|
+
}, 500)) : (v.value.push(t), setTimeout(() => {
|
|
120
120
|
A.value = !1;
|
|
121
|
-
}, 500)), ze("selectLegend", N.value.filter((a, o) => !
|
|
121
|
+
}, 500)), ze("selectLegend", N.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
|
|
122
122
|
name: a.name,
|
|
123
123
|
color: a.color,
|
|
124
124
|
proportion: a.totalProportion
|
|
@@ -131,7 +131,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
131
131
|
proportion: t.totalProportion
|
|
132
132
|
}));
|
|
133
133
|
}
|
|
134
|
-
const
|
|
134
|
+
const y = h(() => [null, void 0].includes(g.dataset.categories) ? (F({
|
|
135
135
|
componentName: "VueUiRadar",
|
|
136
136
|
type: "datasetAttribute",
|
|
137
137
|
property: "categories ({ name: string; prefix?: string; suffix?: string}[])"
|
|
@@ -174,25 +174,25 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
174
174
|
color: Oe(t.color) || me.value[a] || x[a] || x[a % x.length],
|
|
175
175
|
prefix: t.prefix ?? "",
|
|
176
176
|
suffix: t.suffix ?? ""
|
|
177
|
-
})))), b =
|
|
177
|
+
})))), b = h(() => I.value ? g.dataset.series.map((t, a) => ({
|
|
178
178
|
...t,
|
|
179
179
|
color: Oe(t.color) || me.value[a] || x[a] || x[a % x.length],
|
|
180
180
|
serieId: `radar_serie_${w.value}_${a}`,
|
|
181
181
|
formatter: t.formatter || null
|
|
182
|
-
})) : []), ke =
|
|
183
|
-
plot: { x:
|
|
184
|
-
radius:
|
|
182
|
+
})) : []), ke = h(() => Math.max(...b.value.flatMap((t) => t.values))), Ce = h(() => b.value.length), Y = h(() => Math.min(u.value.width, u.value.height) / 3), we = h(() => Ae({
|
|
183
|
+
plot: { x: u.value.width / 2, y: u.value.height / 2 },
|
|
184
|
+
radius: Y.value,
|
|
185
185
|
sides: Ce.value,
|
|
186
186
|
rotation: 0
|
|
187
|
-
})), Be =
|
|
187
|
+
})), Be = h(() => {
|
|
188
188
|
const t = [];
|
|
189
|
-
for (let a = 0; a <
|
|
189
|
+
for (let a = 0; a < Y.value; a += Y.value / e.value.style.chart.layout.grid.graduations)
|
|
190
190
|
t.push(a);
|
|
191
191
|
return t;
|
|
192
|
-
}), C =
|
|
192
|
+
}), C = h(() => we.value.coordinates.map((t, a) => {
|
|
193
193
|
const o = b.value[a].values.map((l) => De({
|
|
194
|
-
centerX:
|
|
195
|
-
centerY:
|
|
194
|
+
centerX: u.value.width / 2,
|
|
195
|
+
centerY: u.value.height / 2,
|
|
196
196
|
apexX: t.x,
|
|
197
197
|
apexY: t.y,
|
|
198
198
|
proportion: l / (b.value[a].target || ke.value)
|
|
@@ -205,32 +205,32 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
205
205
|
}));
|
|
206
206
|
function q({ x: t, y: a }) {
|
|
207
207
|
let o = "middle";
|
|
208
|
-
return t = Math.round(t), a = Math.round(a), t >
|
|
208
|
+
return t = Math.round(t), a = Math.round(a), t > u.value.width / 2 && (t += 12, o = "start"), t < u.value.width / 2 && (t -= 12, o = "end"), a > u.value.height / 2 && (a += 20), a < u.value.height / 2 && (a -= 12), a === u.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
|
|
209
209
|
}
|
|
210
|
-
function De({ centerX: t, centerY: a, apexX: o, apexY: l, proportion:
|
|
210
|
+
function De({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: n }) {
|
|
211
211
|
return {
|
|
212
|
-
x: t + (o - t) *
|
|
213
|
-
y: a + (l - a) *
|
|
212
|
+
x: t + (o - t) * n,
|
|
213
|
+
y: a + (l - a) * n
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
|
-
const N =
|
|
216
|
+
const N = h(() => {
|
|
217
217
|
const t = b.value.map((a, o) => a.values.map((l) => l / (a.target || ke.value)));
|
|
218
|
-
return
|
|
218
|
+
return y.value.map((a, o) => ({
|
|
219
219
|
...a,
|
|
220
|
-
totalProportion: ot(t.map((l) => l[o]).reduce((l,
|
|
220
|
+
totalProportion: ot(t.map((l) => l[o]).reduce((l, n) => l + n, 0) / b.value.length),
|
|
221
221
|
shape: "circle",
|
|
222
|
-
opacity:
|
|
222
|
+
opacity: v.value.includes(o) ? 0.5 : 1,
|
|
223
223
|
segregate: () => be(o),
|
|
224
|
-
isSegregated:
|
|
224
|
+
isSegregated: v.value.includes(o)
|
|
225
225
|
}));
|
|
226
|
-
}), Ge =
|
|
226
|
+
}), Ge = h(() => ({
|
|
227
227
|
cy: "radar-div-legend",
|
|
228
228
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
229
229
|
color: e.value.style.chart.legend.color,
|
|
230
230
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
231
231
|
paddingBottom: 12,
|
|
232
232
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
233
|
-
})), B =
|
|
233
|
+
})), B = h(() => {
|
|
234
234
|
const t = [
|
|
235
235
|
{ name: e.value.translations.datapoint, color: "" },
|
|
236
236
|
{ name: e.value.translations.target, color: "" },
|
|
@@ -247,12 +247,12 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
247
247
|
r: e.value.table.td.roundingValue
|
|
248
248
|
})
|
|
249
249
|
),
|
|
250
|
-
...l.values.map((
|
|
250
|
+
...l.values.map((n, p) => `${Ne(
|
|
251
251
|
l.formatter,
|
|
252
|
-
|
|
253
|
-
V({ p:
|
|
254
|
-
)} (${isNaN(
|
|
255
|
-
v:
|
|
252
|
+
n,
|
|
253
|
+
V({ p: y.value[p].prefix, v: n, s: y.value[p].suffix, r: e.value.table.td.roundingValue })
|
|
254
|
+
)} (${isNaN(n / l.target) ? "" : V({
|
|
255
|
+
v: n / l.target * 100,
|
|
256
256
|
s: "%",
|
|
257
257
|
r: e.value.table.td.roundingPercentage
|
|
258
258
|
})})`)
|
|
@@ -270,7 +270,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
270
270
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
271
271
|
};
|
|
272
272
|
return { head: t, body: a, config: o, colNames: t };
|
|
273
|
-
}), D =
|
|
273
|
+
}), D = i(null), J = i([]), K = i(null);
|
|
274
274
|
function We(t, a) {
|
|
275
275
|
J.value = [], D.value = a, X.value = !0;
|
|
276
276
|
let o = "";
|
|
@@ -278,50 +278,50 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
278
278
|
datapoint: t,
|
|
279
279
|
seriesIndex: a,
|
|
280
280
|
series: {
|
|
281
|
-
categories:
|
|
281
|
+
categories: y.value,
|
|
282
282
|
datapoints: b.value,
|
|
283
283
|
radar: C.value
|
|
284
284
|
},
|
|
285
285
|
config: e.value
|
|
286
286
|
};
|
|
287
287
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
288
|
-
if (
|
|
288
|
+
if (nt(l) && st(() => l({
|
|
289
289
|
seriesIndex: a,
|
|
290
290
|
datapoint: t,
|
|
291
|
-
series: { categories:
|
|
291
|
+
series: { categories: y.value, datapoints: b.value, radar: C.value },
|
|
292
292
|
config: e.value
|
|
293
293
|
})))
|
|
294
|
-
|
|
294
|
+
j.value = l({
|
|
295
295
|
seriesIndex: a,
|
|
296
296
|
datapoint: t,
|
|
297
|
-
series: { categories:
|
|
297
|
+
series: { categories: y.value, datapoints: b.value, radar: C.value },
|
|
298
298
|
config: e.value
|
|
299
299
|
});
|
|
300
300
|
else {
|
|
301
301
|
o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`;
|
|
302
|
-
for (let
|
|
303
|
-
|
|
304
|
-
name:
|
|
305
|
-
value: t.values[
|
|
306
|
-
color:
|
|
302
|
+
for (let n = 0; n < t.values.length; n += 1)
|
|
303
|
+
v.value.includes(n) || J.value.push({
|
|
304
|
+
name: y.value[n].name,
|
|
305
|
+
value: t.values[n] / t.target * 100,
|
|
306
|
+
color: y.value[n].color,
|
|
307
307
|
suffix: "%)",
|
|
308
|
-
prefix: `${V({ p:
|
|
308
|
+
prefix: `${V({ p: y.value[n].prefix ?? "", v: t.values[n], s: y.value[n].suffix ?? "", r: e.value.style.chart.tooltip.roundingValue })} (`,
|
|
309
309
|
rounding: e.value.style.chart.tooltip.roundingPercentage,
|
|
310
310
|
formatter: t.formatter
|
|
311
311
|
});
|
|
312
|
-
|
|
312
|
+
j.value = o;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
function _e() {
|
|
316
316
|
Je(() => {
|
|
317
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((
|
|
317
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...N.value.flatMap((p) => [[p.name], ["%"]])], o = g.dataset.series.map((p, jt) => [p.name, p.target, ...p.values.flatMap((Z) => [
|
|
318
318
|
Z,
|
|
319
|
-
isNaN(Z /
|
|
320
|
-
])]), l = t.concat([a]).concat(o),
|
|
321
|
-
it({ csvContent:
|
|
319
|
+
isNaN(Z / p.target) ? "" : Z / p.target * 100
|
|
320
|
+
])]), l = t.concat([a]).concat(o), n = ut(l);
|
|
321
|
+
it({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
-
const S =
|
|
324
|
+
const S = i(!1);
|
|
325
325
|
function Xe(t) {
|
|
326
326
|
S.value = t, ae.value += 1;
|
|
327
327
|
}
|
|
@@ -331,7 +331,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
331
331
|
function Pe() {
|
|
332
332
|
k.value.showTooltip = !k.value.showTooltip;
|
|
333
333
|
}
|
|
334
|
-
const G =
|
|
334
|
+
const G = i(!1);
|
|
335
335
|
function Q() {
|
|
336
336
|
G.value = !G.value;
|
|
337
337
|
}
|
|
@@ -343,7 +343,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
343
343
|
toggleTable: $e,
|
|
344
344
|
toggleTooltip: Pe,
|
|
345
345
|
toggleAnnotator: Q
|
|
346
|
-
}), (t, a) => (r(),
|
|
346
|
+
}), (t, a) => (r(), s("div", {
|
|
347
347
|
class: z(`vue-ui-radar ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
348
348
|
ref_key: "radarChart",
|
|
349
349
|
ref: O,
|
|
@@ -359,22 +359,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
359
359
|
color: e.value.style.chart.color,
|
|
360
360
|
active: G.value,
|
|
361
361
|
onClose: Q
|
|
362
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
363
|
-
Ue.value ? (r(),
|
|
362
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
363
|
+
Ue.value ? (r(), s("div", {
|
|
364
364
|
key: 1,
|
|
365
365
|
ref_key: "noTitle",
|
|
366
|
-
ref:
|
|
366
|
+
ref: ne,
|
|
367
367
|
class: "vue-data-ui-no-title-space",
|
|
368
368
|
style: "height:36px; width: 100%;background:transparent"
|
|
369
|
-
}, null, 512)) :
|
|
370
|
-
e.value.style.chart.title.text ? (r(),
|
|
369
|
+
}, null, 512)) : d("", !0),
|
|
370
|
+
e.value.style.chart.title.text ? (r(), s("div", {
|
|
371
371
|
key: 2,
|
|
372
372
|
ref_key: "chartTitle",
|
|
373
373
|
ref: oe,
|
|
374
374
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
375
375
|
}, [
|
|
376
376
|
(r(), _(vt, {
|
|
377
|
-
key: `title_${
|
|
377
|
+
key: `title_${se.value}`,
|
|
378
378
|
config: {
|
|
379
379
|
title: {
|
|
380
380
|
cy: "radar-div-title",
|
|
@@ -386,8 +386,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
}, null, 8, ["config"]))
|
|
389
|
-
], 512)) :
|
|
390
|
-
e.value.userOptions.show && I.value && (c(de) || c(
|
|
389
|
+
], 512)) : d("", !0),
|
|
390
|
+
e.value.userOptions.show && I.value && (c(de) || c(H)) ? (r(), _(ht, {
|
|
391
391
|
ref_key: "details",
|
|
392
392
|
ref: Re,
|
|
393
393
|
key: `user_options_${ae.value}`,
|
|
@@ -417,69 +417,81 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
417
417
|
onToggleTooltip: Pe,
|
|
418
418
|
onToggleAnnotator: Q,
|
|
419
419
|
style: W({
|
|
420
|
-
visibility: c(de) ? c(
|
|
420
|
+
visibility: c(de) ? c(H) ? "visible" : "hidden" : "visible"
|
|
421
421
|
})
|
|
422
422
|
}, qe({ _: 2 }, [
|
|
423
423
|
t.$slots.optionTooltip ? {
|
|
424
424
|
name: "optionTooltip",
|
|
425
|
-
fn:
|
|
426
|
-
|
|
425
|
+
fn: m(() => [
|
|
426
|
+
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
427
427
|
]),
|
|
428
428
|
key: "0"
|
|
429
429
|
} : void 0,
|
|
430
430
|
t.$slots.optionPdf ? {
|
|
431
431
|
name: "optionPdf",
|
|
432
|
-
fn:
|
|
433
|
-
|
|
432
|
+
fn: m(() => [
|
|
433
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
434
434
|
]),
|
|
435
435
|
key: "1"
|
|
436
436
|
} : void 0,
|
|
437
437
|
t.$slots.optionCsv ? {
|
|
438
438
|
name: "optionCsv",
|
|
439
|
-
fn:
|
|
440
|
-
|
|
439
|
+
fn: m(() => [
|
|
440
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
441
441
|
]),
|
|
442
442
|
key: "2"
|
|
443
443
|
} : void 0,
|
|
444
444
|
t.$slots.optionImg ? {
|
|
445
445
|
name: "optionImg",
|
|
446
|
-
fn:
|
|
447
|
-
|
|
446
|
+
fn: m(() => [
|
|
447
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
448
448
|
]),
|
|
449
449
|
key: "3"
|
|
450
450
|
} : void 0,
|
|
451
451
|
t.$slots.optionTable ? {
|
|
452
452
|
name: "optionTable",
|
|
453
|
-
fn:
|
|
454
|
-
|
|
453
|
+
fn: m(() => [
|
|
454
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
455
455
|
]),
|
|
456
456
|
key: "4"
|
|
457
457
|
} : void 0,
|
|
458
458
|
t.$slots.optionFullscreen ? {
|
|
459
459
|
name: "optionFullscreen",
|
|
460
|
-
fn:
|
|
461
|
-
|
|
460
|
+
fn: m(({ toggleFullscreen: o, isFullscreen: l }) => [
|
|
461
|
+
f(t.$slots, "optionFullscreen", M(R({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
|
|
462
462
|
]),
|
|
463
463
|
key: "5"
|
|
464
464
|
} : void 0,
|
|
465
465
|
t.$slots.optionAnnotator ? {
|
|
466
466
|
name: "optionAnnotator",
|
|
467
|
-
fn:
|
|
468
|
-
|
|
467
|
+
fn: m(({ toggleAnnotator: o, isAnnotator: l }) => [
|
|
468
|
+
f(t.$slots, "optionAnnotator", M(R({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
|
|
469
469
|
]),
|
|
470
470
|
key: "6"
|
|
471
471
|
} : void 0
|
|
472
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
473
|
-
I.value ? (r(),
|
|
472
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
473
|
+
I.value ? (r(), s("svg", {
|
|
474
474
|
key: 4,
|
|
475
475
|
xmlns: c(lt),
|
|
476
476
|
class: z({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
477
|
-
viewBox: `0 0 ${
|
|
477
|
+
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
478
478
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
479
479
|
}, [
|
|
480
480
|
ee(Ct),
|
|
481
|
+
t.$slots["chart-background"] ? (r(), s("foreignObject", {
|
|
482
|
+
key: 0,
|
|
483
|
+
x: 0,
|
|
484
|
+
y: 0,
|
|
485
|
+
width: u.value.width <= 0 ? 10 : u.value.width,
|
|
486
|
+
height: u.value.height <= 0 ? 10 : u.value.height,
|
|
487
|
+
style: {
|
|
488
|
+
pointerEvents: "none"
|
|
489
|
+
}
|
|
490
|
+
}, [
|
|
491
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
492
|
+
], 8, xt)) : d("", !0),
|
|
481
493
|
$("defs", null, [
|
|
482
|
-
(r(!0),
|
|
494
|
+
(r(!0), s(P, null, T(y.value, (o, l) => (r(), s("radialGradient", {
|
|
483
495
|
cx: "50%",
|
|
484
496
|
cy: "50%",
|
|
485
497
|
r: "50%",
|
|
@@ -490,26 +502,26 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
490
502
|
$("stop", {
|
|
491
503
|
offset: "0%",
|
|
492
504
|
"stop-color": c(te)(c(rt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
493
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, At),
|
|
494
506
|
$("stop", {
|
|
495
507
|
offset: "100%",
|
|
496
508
|
"stop-color": c(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
497
|
-
}, null, 8,
|
|
498
|
-
], 8,
|
|
509
|
+
}, null, 8, Nt)
|
|
510
|
+
], 8, Ot))), 256))
|
|
499
511
|
]),
|
|
500
|
-
e.value.style.chart.layout.grid.show ? (r(),
|
|
501
|
-
(r(!0),
|
|
502
|
-
x1:
|
|
503
|
-
y1:
|
|
512
|
+
e.value.style.chart.layout.grid.show ? (r(), s("g", St, [
|
|
513
|
+
(r(!0), s(P, null, T(C.value, (o) => (r(), s("line", {
|
|
514
|
+
x1: u.value.width / 2,
|
|
515
|
+
y1: u.value.height / 2,
|
|
504
516
|
x2: o.x,
|
|
505
517
|
y2: o.y,
|
|
506
518
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
507
519
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
508
|
-
}, null, 8,
|
|
509
|
-
e.value.style.chart.layout.grid.graduations > 0 ? (r(),
|
|
510
|
-
(r(!0),
|
|
520
|
+
}, null, 8, Ft))), 256)),
|
|
521
|
+
e.value.style.chart.layout.grid.graduations > 0 ? (r(), s("g", It, [
|
|
522
|
+
(r(!0), s(P, null, T(Be.value, (o) => (r(), s("path", {
|
|
511
523
|
d: c(Ae)({
|
|
512
|
-
plot: { x:
|
|
524
|
+
plot: { x: u.value.width / 2, y: u.value.height / 2 },
|
|
513
525
|
radius: o,
|
|
514
526
|
sides: Ce.value,
|
|
515
527
|
rotation: 0
|
|
@@ -517,9 +529,9 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
517
529
|
fill: "none",
|
|
518
530
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
519
531
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
520
|
-
}, null, 8,
|
|
521
|
-
])) :
|
|
522
|
-
])) :
|
|
532
|
+
}, null, 8, Lt))), 256))
|
|
533
|
+
])) : d("", !0)
|
|
534
|
+
])) : d("", !0),
|
|
523
535
|
$("path", {
|
|
524
536
|
d: we.value.path,
|
|
525
537
|
fill: "none",
|
|
@@ -527,61 +539,61 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
527
539
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
528
540
|
"stroke-linejoin": "round",
|
|
529
541
|
"stroke-linecap": "round"
|
|
530
|
-
}, null, 8,
|
|
531
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (r(),
|
|
532
|
-
(r(!0),
|
|
542
|
+
}, null, 8, zt),
|
|
543
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (r(), s("g", Mt, [
|
|
544
|
+
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("text", {
|
|
533
545
|
x: q(o).x,
|
|
534
546
|
y: q(o).y,
|
|
535
547
|
"text-anchor": q(o).anchor,
|
|
536
548
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
537
549
|
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
538
|
-
onMouseenter: (
|
|
539
|
-
onMouseleave: a[0] || (a[0] = (
|
|
550
|
+
onMouseenter: (n) => We(o, l),
|
|
551
|
+
onMouseleave: a[0] || (a[0] = (n) => {
|
|
540
552
|
X.value = !1, D.value = null;
|
|
541
553
|
})
|
|
542
|
-
}, U(o.name), 41,
|
|
543
|
-
])) :
|
|
544
|
-
(r(!0),
|
|
554
|
+
}, U(o.name), 41, Rt))), 256))
|
|
555
|
+
])) : d("", !0),
|
|
556
|
+
(r(!0), s(P, null, T(y.value, (o, l) => (r(), s("g", null, [
|
|
545
557
|
$("g", null, [
|
|
546
|
-
e.value.useCssAnimation || !e.value.useCssAnimation && !
|
|
558
|
+
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), s("polygon", {
|
|
547
559
|
key: 0,
|
|
548
560
|
"data-cy-radar-path": "",
|
|
549
|
-
points: c(Se)(C.value.map((
|
|
561
|
+
points: c(Se)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
550
562
|
stroke: e.value.style.chart.backgroundColor,
|
|
551
563
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
552
564
|
fill: "none",
|
|
553
|
-
class: z({ "animated-out":
|
|
554
|
-
}, null, 10,
|
|
555
|
-
e.value.useCssAnimation || !e.value.useCssAnimation && !
|
|
565
|
+
class: z({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": A.value && L.value === l && e.value.useCssAnimation })
|
|
566
|
+
}, null, 10, Ut)) : d("", !0),
|
|
567
|
+
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), s("polygon", {
|
|
556
568
|
key: 1,
|
|
557
569
|
"data-cy-radar-path": "",
|
|
558
|
-
points: c(Se)(C.value.map((
|
|
570
|
+
points: c(Se)(C.value.map((n) => n.plots[l]), !1, !0),
|
|
559
571
|
stroke: o.color,
|
|
560
572
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
561
573
|
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${w.value}_${l})` : c(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
|
|
562
|
-
class: z({ "animated-out":
|
|
563
|
-
}, null, 10,
|
|
574
|
+
class: z({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": A.value && L.value === l && e.value.useCssAnimation })
|
|
575
|
+
}, null, 10, Vt)) : d("", !0)
|
|
564
576
|
])
|
|
565
577
|
]))), 256)),
|
|
566
|
-
e.value.style.chart.layout.plots.show ? (r(),
|
|
567
|
-
(r(!0),
|
|
568
|
-
(r(!0),
|
|
569
|
-
cx:
|
|
570
|
-
cy:
|
|
571
|
-
fill:
|
|
578
|
+
e.value.style.chart.layout.plots.show ? (r(), s("g", Et, [
|
|
579
|
+
(r(!0), s(P, null, T(C.value, (o, l) => (r(), s("g", null, [
|
|
580
|
+
(r(!0), s(P, null, T(o.plots, (n, p) => (r(), s("circle", {
|
|
581
|
+
cx: n.x,
|
|
582
|
+
cy: n.y,
|
|
583
|
+
fill: v.value.includes(p) ? "transparent" : y.value[p].color,
|
|
572
584
|
r: D.value !== null && D.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
|
|
573
|
-
stroke:
|
|
585
|
+
stroke: v.value.includes(p) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
574
586
|
"stroke-width": 0.5,
|
|
575
|
-
class: z({ "animated-out":
|
|
576
|
-
}, null, 10,
|
|
587
|
+
class: z({ "animated-out": v.value.includes(p) && e.value.useCssAnimation, "animated-in": A.value && L.value === p && e.value.useCssAnimation })
|
|
588
|
+
}, null, 10, Bt))), 256))
|
|
577
589
|
]))), 256))
|
|
578
|
-
])) :
|
|
579
|
-
|
|
580
|
-
], 14, Tt)) :
|
|
581
|
-
t.$slots.watermark ? (r(),
|
|
582
|
-
|
|
583
|
-
])) :
|
|
584
|
-
I.value ?
|
|
590
|
+
])) : d("", !0),
|
|
591
|
+
f(t.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
592
|
+
], 14, Tt)) : d("", !0),
|
|
593
|
+
t.$slots.watermark ? (r(), s("div", Dt, [
|
|
594
|
+
f(t.$slots, "watermark", M(R({ isPrinting: c(he) || c(ge) })), void 0, !0)
|
|
595
|
+
])) : d("", !0),
|
|
596
|
+
I.value ? d("", !0) : (r(), _(bt, {
|
|
585
597
|
key: 6,
|
|
586
598
|
config: {
|
|
587
599
|
type: "radar",
|
|
@@ -608,31 +620,31 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
608
620
|
config: Ge.value,
|
|
609
621
|
onClickMarker: a[1] || (a[1] = ({ i: o }) => be(o))
|
|
610
622
|
}, {
|
|
611
|
-
item:
|
|
623
|
+
item: m(({ legend: o, index: l }) => [
|
|
612
624
|
$("div", {
|
|
613
625
|
"data-cy-legend-item": "",
|
|
614
|
-
onClick: (
|
|
615
|
-
style: W(`opacity:${
|
|
626
|
+
onClick: (n) => o.segregate(),
|
|
627
|
+
style: W(`opacity:${v.value.includes(l) ? 0.5 : 1}`)
|
|
616
628
|
}, U(o.name) + ": " + U(c(V)({
|
|
617
629
|
v: o.totalProportion * 100,
|
|
618
630
|
s: "%",
|
|
619
631
|
r: e.value.style.chart.legend.roundingPercentage
|
|
620
|
-
})), 13,
|
|
632
|
+
})), 13, Gt)
|
|
621
633
|
]),
|
|
622
634
|
_: 1
|
|
623
|
-
}, 8, ["legendSet", "config"])) :
|
|
635
|
+
}, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
|
|
624
636
|
key: 1,
|
|
625
637
|
legend: N.value
|
|
626
638
|
}, void 0, !0)
|
|
627
639
|
], 512),
|
|
628
|
-
t.$slots.source ? (r(),
|
|
640
|
+
t.$slots.source ? (r(), s("div", {
|
|
629
641
|
key: 7,
|
|
630
642
|
ref_key: "source",
|
|
631
643
|
ref: re,
|
|
632
644
|
dir: "auto"
|
|
633
645
|
}, [
|
|
634
|
-
|
|
635
|
-
], 512)) :
|
|
646
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
647
|
+
], 512)) : d("", !0),
|
|
636
648
|
ee(gt, {
|
|
637
649
|
show: k.value.showTooltip && X.value,
|
|
638
650
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -645,22 +657,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
645
657
|
position: e.value.style.chart.tooltip.position,
|
|
646
658
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
647
659
|
parent: O.value,
|
|
648
|
-
content:
|
|
660
|
+
content: j.value,
|
|
649
661
|
isFullscreen: S.value,
|
|
650
662
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
651
663
|
}, {
|
|
652
|
-
"tooltip-before":
|
|
653
|
-
|
|
664
|
+
"tooltip-before": m(() => [
|
|
665
|
+
f(t.$slots, "tooltip-before", M(R({ ...K.value })), void 0, !0)
|
|
654
666
|
]),
|
|
655
|
-
"tooltip-after":
|
|
656
|
-
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ?
|
|
667
|
+
"tooltip-after": m(() => [
|
|
668
|
+
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), s("div", Wt, [
|
|
657
669
|
ee(ft, {
|
|
658
670
|
dataset: J.value,
|
|
659
671
|
config: Ve.value,
|
|
660
672
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity
|
|
661
673
|
}, null, 8, ["dataset", "config", "backgroundOpacity"])
|
|
662
674
|
])),
|
|
663
|
-
|
|
675
|
+
f(t.$slots, "tooltip-after", M(R({ ...K.value })), void 0, !0)
|
|
664
676
|
]),
|
|
665
677
|
_: 3
|
|
666
678
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -680,7 +692,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
680
692
|
}
|
|
681
693
|
}
|
|
682
694
|
}, {
|
|
683
|
-
content:
|
|
695
|
+
content: m(() => [
|
|
684
696
|
(r(), _(mt, {
|
|
685
697
|
key: `table_${ue.value}`,
|
|
686
698
|
colNames: B.value.colNames,
|
|
@@ -690,20 +702,20 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], xt = ["id"], Ot = ["stop-color"],
|
|
|
690
702
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
691
703
|
onClose: a[2] || (a[2] = (o) => k.value.showTable = !1)
|
|
692
704
|
}, {
|
|
693
|
-
th:
|
|
705
|
+
th: m(({ th: o }) => [
|
|
694
706
|
Te(U(o.name), 1)
|
|
695
707
|
]),
|
|
696
|
-
td:
|
|
708
|
+
td: m(({ td: o }) => [
|
|
697
709
|
Te(U(o), 1)
|
|
698
710
|
]),
|
|
699
711
|
_: 1
|
|
700
712
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
701
713
|
]),
|
|
702
714
|
_: 1
|
|
703
|
-
}, 8, ["config"])) :
|
|
715
|
+
}, 8, ["config"])) : d("", !0)
|
|
704
716
|
], 46, Pt));
|
|
705
717
|
}
|
|
706
|
-
},
|
|
718
|
+
}, ia = /* @__PURE__ */ $t(Xt, [["__scopeId", "data-v-af16c964"]]);
|
|
707
719
|
export {
|
|
708
|
-
|
|
720
|
+
ia as default
|
|
709
721
|
};
|