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,15 +1,15 @@
|
|
|
1
|
-
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as
|
|
2
|
-
import { u as
|
|
3
|
-
import { L as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as qe } from "./Tooltip-
|
|
6
|
-
import { D as Je } from "./DataTable-
|
|
7
|
-
import { u as Ke, U as Qe } from "./usePrinter-
|
|
8
|
-
import Ze from "./vue-ui-skeleton-
|
|
9
|
-
import et from "./vue-ui-accordion-
|
|
10
|
-
import { u as be } from "./useNestedProp-
|
|
11
|
-
import { _ as tt } from "./PackageVersion-
|
|
12
|
-
import { P as lt } from "./PenAndPaper-
|
|
1
|
+
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as n, normalizeClass as E, normalizeStyle as V, unref as i, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as d, renderSlot as v, normalizeProps as O, guardReactiveProps as N, createVNode as ie, createElementVNode as _, Fragment as ce, renderList as ve, createTextVNode as de, toDisplayString as M, nextTick as Ae } from "vue";
|
|
2
|
+
import { u as Ee, o as Ve, e as he, g as Me, c as pe, t as De, a as Be, p as D, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as ge, x as fe, y as He, q as Xe, r as je } from "./index-B9RAElpI.js";
|
|
3
|
+
import { L as Re } from "./Legend-f52bnttJ.js";
|
|
4
|
+
import { _ as Ye } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-DDJ2Wvjy.js";
|
|
6
|
+
import { D as Je } from "./DataTable-CFUKU8PU.js";
|
|
7
|
+
import { u as Ke, U as Qe } from "./usePrinter-CwTAwqtF.js";
|
|
8
|
+
import Ze from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
9
|
+
import et from "./vue-ui-accordion-rNA598L6.js";
|
|
10
|
+
import { u as be } from "./useNestedProp-DuruL3Nt.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-C_FFs0BP.js";
|
|
12
|
+
import { P as lt } from "./PenAndPaper-Dx24BtRW.js";
|
|
13
13
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const st = ["id"], rt = {
|
|
@@ -20,14 +20,14 @@ const st = ["id"], rt = {
|
|
|
20
20
|
}, ut = {
|
|
21
21
|
key: 2,
|
|
22
22
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
23
|
-
}, nt = ["xmlns", "viewBox"], it = ["
|
|
23
|
+
}, nt = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["id"], vt = ["stdDeviation"], dt = ["d", "stroke", "stroke-width"], ht = ["d", "stroke", "stroke-width"], pt = ["filter"], yt = ["d", "stroke", "stroke-width"], gt = ["d", "stroke-width", "onMouseenter", "onClick"], ft = {
|
|
24
24
|
key: 5,
|
|
25
25
|
class: "vue-data-ui-watermark"
|
|
26
|
-
},
|
|
26
|
+
}, bt = ["onClick"], mt = { key: 0 }, kt = { key: 1 }, Ct = {
|
|
27
27
|
key: 8,
|
|
28
28
|
ref: "source",
|
|
29
29
|
dir: "auto"
|
|
30
|
-
},
|
|
30
|
+
}, wt = ["innerHTML"], $t = {
|
|
31
31
|
__name: "vue-ui-galaxy",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -45,12 +45,12 @@ const st = ["id"], rt = {
|
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
47
|
setup(me, { expose: ke, emit: X }) {
|
|
48
|
-
const y = me, { vue_ui_galaxy: Ce } =
|
|
48
|
+
const y = me, { vue_ui_galaxy: Ce } = Ee(), L = h(() => !!y.dataset && y.dataset.length);
|
|
49
49
|
Le(() => {
|
|
50
|
-
|
|
50
|
+
j();
|
|
51
51
|
});
|
|
52
|
-
function
|
|
53
|
-
|
|
52
|
+
function j() {
|
|
53
|
+
Ve(y.dataset) ? he({
|
|
54
54
|
componentName: "VueUiGalaxy",
|
|
55
55
|
type: "dataset"
|
|
56
56
|
}) : y.dataset.forEach((t, a) => {
|
|
@@ -67,10 +67,10 @@ const st = ["id"], rt = {
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
const T = u(pe()),
|
|
70
|
+
const T = u(pe()), F = u(null), we = u(null), B = u(!1), G = u(""), g = u(null), R = u(0), Y = u(0), q = u(0), J = u(0), e = h({
|
|
71
71
|
get: () => Z(),
|
|
72
72
|
set: (t) => t
|
|
73
|
-
}), { userOptionsVisible:
|
|
73
|
+
}), { userOptionsVisible: z, setUserOptionsVisibility: K, keepUserOptionState: Q } = at({ config: e.value });
|
|
74
74
|
function Z() {
|
|
75
75
|
const t = be({
|
|
76
76
|
userConfig: y.config,
|
|
@@ -81,11 +81,11 @@ const st = ["id"], rt = {
|
|
|
81
81
|
userConfig: De.vue_ui_galaxy[t.theme] || y.config,
|
|
82
82
|
defaultConfig: t
|
|
83
83
|
}),
|
|
84
|
-
customPalette: Be[t.theme] ||
|
|
84
|
+
customPalette: Be[t.theme] || D
|
|
85
85
|
} : t;
|
|
86
86
|
}
|
|
87
87
|
Fe(() => y.config, (t) => {
|
|
88
|
-
e.value = Z(),
|
|
88
|
+
e.value = Z(), z.value = !e.value.showOnChartHover, j(), Y.value += 1, q.value += 1, J.value += 1;
|
|
89
89
|
}, { deep: !0 });
|
|
90
90
|
const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Ke({
|
|
91
91
|
elementId: `galaxy_${T.value}`,
|
|
@@ -96,13 +96,13 @@ const st = ["id"], rt = {
|
|
|
96
96
|
},
|
|
97
97
|
showTable: e.value.table.show,
|
|
98
98
|
showTooltip: e.value.style.chart.tooltip.show
|
|
99
|
-
}),
|
|
99
|
+
}), P = u({
|
|
100
100
|
height: 180,
|
|
101
101
|
// or 250 if non fibo
|
|
102
102
|
width: 250
|
|
103
103
|
}), p = u([]);
|
|
104
104
|
function U(t) {
|
|
105
|
-
p.value.includes(t.id) ? p.value = p.value.filter((a) => a !== t.id) : p.value.push(t.id), X("selectLegend",
|
|
105
|
+
p.value.includes(t.id) ? p.value = p.value.filter((a) => a !== t.id) : p.value.push(t.id), X("selectLegend", S.value.map((a) => ({
|
|
106
106
|
name: a.name,
|
|
107
107
|
color: a.color,
|
|
108
108
|
value: a.value
|
|
@@ -110,7 +110,7 @@ const st = ["id"], rt = {
|
|
|
110
110
|
}
|
|
111
111
|
const C = h(() => y.dataset.map((t, a) => ({
|
|
112
112
|
name: t.name,
|
|
113
|
-
color: ze(t.color) || xe.value[a] ||
|
|
113
|
+
color: ze(t.color) || xe.value[a] || D[a] || D[a % D.length],
|
|
114
114
|
value: t.values ? ye(t.values).reduce((l, s) => l + s, 0) : 0,
|
|
115
115
|
absoluteValues: ye(t.values),
|
|
116
116
|
id: pe(),
|
|
@@ -123,16 +123,16 @@ const st = ["id"], rt = {
|
|
|
123
123
|
value: t.value
|
|
124
124
|
}));
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const f = h(() => C.value.filter((t) => !p.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Te = u(190), oe = h(() => C.value.filter((t) => !p.value.includes(t.id))), S = h(() => {
|
|
127
127
|
const t = [];
|
|
128
128
|
for (let a = 0; a < oe.value.length; a += 1) {
|
|
129
129
|
const l = oe.value[a];
|
|
130
|
-
let s = l.value /
|
|
130
|
+
let s = l.value / f.value * Te.value;
|
|
131
131
|
a > 0 && t.length && (s += t[a - 1].points), t.push({
|
|
132
132
|
points: s,
|
|
133
133
|
...l,
|
|
134
134
|
seriesIndex: a,
|
|
135
|
-
proportion: l.value /
|
|
135
|
+
proportion: l.value / f.value,
|
|
136
136
|
path: Ue({
|
|
137
137
|
points: s,
|
|
138
138
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
@@ -143,7 +143,7 @@ const st = ["id"], rt = {
|
|
|
143
143
|
return t.filter((a, l) => !p.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
144
144
|
}), x = u(!1);
|
|
145
145
|
function Pe(t) {
|
|
146
|
-
x.value = t,
|
|
146
|
+
x.value = t, R.value += 1;
|
|
147
147
|
}
|
|
148
148
|
const W = u(null);
|
|
149
149
|
function Se({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
|
|
@@ -152,20 +152,20 @@ const st = ["id"], rt = {
|
|
|
152
152
|
seriesIndex: l,
|
|
153
153
|
series: C.value,
|
|
154
154
|
config: e.value
|
|
155
|
-
},
|
|
155
|
+
}, B.value = s, g.value = t.id;
|
|
156
156
|
let r = "";
|
|
157
157
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
158
|
-
|
|
158
|
+
fe(w) && He(() => w({
|
|
159
159
|
seriesIndex: l,
|
|
160
160
|
datapoint: t,
|
|
161
161
|
series: C.value,
|
|
162
162
|
config: e.value
|
|
163
|
-
})) ?
|
|
163
|
+
})) ? G.value = w({
|
|
164
164
|
seriesIndex: l,
|
|
165
165
|
datapoint: t,
|
|
166
166
|
series: C.value,
|
|
167
167
|
config: e.value
|
|
168
|
-
}) : (r += `<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>`, r += `<div style="display:flex;flex-direction:row;gap:6px;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>`, e.value.style.chart.tooltip.showValue && (r += `<b>${
|
|
168
|
+
}) : (r += `<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>`, r += `<div style="display:flex;flex-direction:row;gap:6px;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>`, e.value.style.chart.tooltip.showValue && (r += `<b>${ge(
|
|
169
169
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
170
170
|
t.value,
|
|
171
171
|
k({
|
|
@@ -183,7 +183,7 @@ const st = ["id"], rt = {
|
|
|
183
183
|
v: t.proportion * 100,
|
|
184
184
|
s: "%",
|
|
185
185
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
186
|
-
})}</b></div>`),
|
|
186
|
+
})}</b></div>`), G.value = `<div>${r}</div>`);
|
|
187
187
|
}
|
|
188
188
|
const se = h(() => C.value.map((t, a) => ({
|
|
189
189
|
...t,
|
|
@@ -200,24 +200,24 @@ const st = ["id"], rt = {
|
|
|
200
200
|
paddingBottom: 12,
|
|
201
201
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
202
202
|
})), m = h(() => {
|
|
203
|
-
const t =
|
|
203
|
+
const t = S.value.map((l) => ({
|
|
204
204
|
name: l.name,
|
|
205
205
|
color: l.color
|
|
206
|
-
})), a =
|
|
206
|
+
})), a = S.value.map((l) => l.value);
|
|
207
207
|
return { head: t, body: a };
|
|
208
208
|
});
|
|
209
209
|
function re() {
|
|
210
210
|
Ae(() => {
|
|
211
211
|
const t = m.value.head.map((s, r) => [[
|
|
212
212
|
s.name
|
|
213
|
-
], [m.value.body[r]], [isNaN(m.value.body[r] /
|
|
214
|
-
|
|
213
|
+
], [m.value.body[r]], [isNaN(m.value.body[r] / f.value) ? "-" : m.value.body[r] / f.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Xe(a);
|
|
214
|
+
je({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const I = h(() => {
|
|
218
218
|
const t = [
|
|
219
219
|
' <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>',
|
|
220
|
-
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v:
|
|
220
|
+
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: f.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
221
221
|
"100%"
|
|
222
222
|
], a = m.value.head.map((r, w) => {
|
|
223
223
|
const Ne = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[w], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
@@ -227,8 +227,8 @@ const st = ["id"], rt = {
|
|
|
227
227
|
name: r.name
|
|
228
228
|
},
|
|
229
229
|
Ne,
|
|
230
|
-
isNaN(m.value.body[w] /
|
|
231
|
-
v: m.value.body[w] /
|
|
230
|
+
isNaN(m.value.body[w] / f.value) ? "-" : k({
|
|
231
|
+
v: m.value.body[w] / f.value * 100,
|
|
232
232
|
s: "%",
|
|
233
233
|
r: e.value.table.td.roundingPercentage
|
|
234
234
|
})
|
|
@@ -263,9 +263,9 @@ const st = ["id"], rt = {
|
|
|
263
263
|
function ne() {
|
|
264
264
|
b.value.showTooltip = !b.value.showTooltip;
|
|
265
265
|
}
|
|
266
|
-
const
|
|
266
|
+
const A = u(!1);
|
|
267
267
|
function H() {
|
|
268
|
-
|
|
268
|
+
A.value = !A.value;
|
|
269
269
|
}
|
|
270
270
|
return ke({
|
|
271
271
|
getData: _e,
|
|
@@ -275,27 +275,27 @@ const st = ["id"], rt = {
|
|
|
275
275
|
toggleTable: ue,
|
|
276
276
|
toggleTooltip: ne,
|
|
277
277
|
toggleAnnotator: H
|
|
278
|
-
}), (t, a) => (o(),
|
|
278
|
+
}), (t, a) => (o(), n("div", {
|
|
279
279
|
ref_key: "galaxyChart",
|
|
280
|
-
ref:
|
|
281
|
-
class:
|
|
280
|
+
ref: F,
|
|
281
|
+
class: E(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
282
282
|
style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
283
283
|
id: `galaxy_${T.value}`,
|
|
284
|
-
onMouseenter: a[3] || (a[3] = () =>
|
|
285
|
-
onMouseleave: a[4] || (a[4] = () =>
|
|
284
|
+
onMouseenter: a[3] || (a[3] = () => i(K)(!0)),
|
|
285
|
+
onMouseleave: a[4] || (a[4] = () => i(K)(!1))
|
|
286
286
|
}, [
|
|
287
287
|
e.value.userOptions.buttons.annotator ? (o(), $(lt, {
|
|
288
288
|
key: 0,
|
|
289
|
-
parent:
|
|
289
|
+
parent: F.value,
|
|
290
290
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
291
291
|
color: e.value.style.chart.color,
|
|
292
|
-
active:
|
|
292
|
+
active: A.value,
|
|
293
293
|
onClose: H
|
|
294
294
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
295
|
-
$e.value ? (o(),
|
|
296
|
-
e.value.style.chart.title.text ? (o(),
|
|
297
|
-
(o(), $(
|
|
298
|
-
key: `title_${
|
|
295
|
+
$e.value ? (o(), n("div", rt, null, 512)) : c("", !0),
|
|
296
|
+
e.value.style.chart.title.text ? (o(), n("div", ut, [
|
|
297
|
+
(o(), $(Ye, {
|
|
298
|
+
key: `title_${Y.value}`,
|
|
299
299
|
config: {
|
|
300
300
|
title: {
|
|
301
301
|
cy: "galaxy-div-title",
|
|
@@ -308,14 +308,14 @@ const st = ["id"], rt = {
|
|
|
308
308
|
}
|
|
309
309
|
}, null, 8, ["config"]))
|
|
310
310
|
])) : c("", !0),
|
|
311
|
-
e.value.userOptions.show &&
|
|
311
|
+
e.value.userOptions.show && L.value && (i(Q) || i(z)) ? (o(), $(Qe, {
|
|
312
312
|
ref_key: "details",
|
|
313
313
|
ref: we,
|
|
314
|
-
key: `user_option_${
|
|
314
|
+
key: `user_option_${R.value}`,
|
|
315
315
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
316
316
|
color: e.value.style.chart.color,
|
|
317
|
-
isPrinting:
|
|
318
|
-
isImaging:
|
|
317
|
+
isPrinting: i(ee),
|
|
318
|
+
isImaging: i(te),
|
|
319
319
|
uid: T.value,
|
|
320
320
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
321
321
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -326,79 +326,91 @@ const st = ["id"], rt = {
|
|
|
326
326
|
isTooltip: b.value.showTooltip,
|
|
327
327
|
isFullscreen: x.value,
|
|
328
328
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
329
|
-
chartElement:
|
|
329
|
+
chartElement: F.value,
|
|
330
330
|
position: e.value.userOptions.position,
|
|
331
331
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
332
|
-
isAnnotation:
|
|
332
|
+
isAnnotation: A.value,
|
|
333
333
|
onToggleFullscreen: Pe,
|
|
334
|
-
onGeneratePdf:
|
|
334
|
+
onGeneratePdf: i(le),
|
|
335
335
|
onGenerateCsv: re,
|
|
336
|
-
onGenerateImage:
|
|
336
|
+
onGenerateImage: i(ae),
|
|
337
337
|
onToggleTable: ue,
|
|
338
338
|
onToggleTooltip: ne,
|
|
339
339
|
onToggleAnnotator: H,
|
|
340
340
|
style: V({
|
|
341
|
-
visibility:
|
|
341
|
+
visibility: i(Q) ? i(z) ? "visible" : "hidden" : "visible"
|
|
342
342
|
})
|
|
343
343
|
}, Ie({ _: 2 }, [
|
|
344
344
|
t.$slots.optionTooltip ? {
|
|
345
345
|
name: "optionTooltip",
|
|
346
|
-
fn:
|
|
347
|
-
|
|
346
|
+
fn: d(() => [
|
|
347
|
+
v(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
348
348
|
]),
|
|
349
349
|
key: "0"
|
|
350
350
|
} : void 0,
|
|
351
351
|
t.$slots.optionPdf ? {
|
|
352
352
|
name: "optionPdf",
|
|
353
|
-
fn:
|
|
354
|
-
|
|
353
|
+
fn: d(() => [
|
|
354
|
+
v(t.$slots, "optionPdf", {}, void 0, !0)
|
|
355
355
|
]),
|
|
356
356
|
key: "1"
|
|
357
357
|
} : void 0,
|
|
358
358
|
t.$slots.optionCsv ? {
|
|
359
359
|
name: "optionCsv",
|
|
360
|
-
fn:
|
|
361
|
-
|
|
360
|
+
fn: d(() => [
|
|
361
|
+
v(t.$slots, "optionCsv", {}, void 0, !0)
|
|
362
362
|
]),
|
|
363
363
|
key: "2"
|
|
364
364
|
} : void 0,
|
|
365
365
|
t.$slots.optionImg ? {
|
|
366
366
|
name: "optionImg",
|
|
367
|
-
fn:
|
|
368
|
-
|
|
367
|
+
fn: d(() => [
|
|
368
|
+
v(t.$slots, "optionImg", {}, void 0, !0)
|
|
369
369
|
]),
|
|
370
370
|
key: "3"
|
|
371
371
|
} : void 0,
|
|
372
372
|
t.$slots.optionTable ? {
|
|
373
373
|
name: "optionTable",
|
|
374
|
-
fn:
|
|
375
|
-
|
|
374
|
+
fn: d(() => [
|
|
375
|
+
v(t.$slots, "optionTable", {}, void 0, !0)
|
|
376
376
|
]),
|
|
377
377
|
key: "4"
|
|
378
378
|
} : void 0,
|
|
379
379
|
t.$slots.optionFullscreen ? {
|
|
380
380
|
name: "optionFullscreen",
|
|
381
|
-
fn:
|
|
382
|
-
|
|
381
|
+
fn: d(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
382
|
+
v(t.$slots, "optionFullscreen", O(N({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
383
383
|
]),
|
|
384
384
|
key: "5"
|
|
385
385
|
} : void 0,
|
|
386
386
|
t.$slots.optionAnnotator ? {
|
|
387
387
|
name: "optionAnnotator",
|
|
388
|
-
fn:
|
|
389
|
-
|
|
388
|
+
fn: d(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
389
|
+
v(t.$slots, "optionAnnotator", O(N({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
390
390
|
]),
|
|
391
391
|
key: "6"
|
|
392
392
|
} : void 0
|
|
393
393
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
394
|
-
|
|
394
|
+
L.value ? (o(), n("svg", {
|
|
395
395
|
key: 4,
|
|
396
|
-
xmlns:
|
|
397
|
-
class:
|
|
398
|
-
viewBox: `0 0 ${
|
|
396
|
+
xmlns: i(We),
|
|
397
|
+
class: E({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
|
|
398
|
+
viewBox: `0 0 ${P.value.width} ${P.value.height}`,
|
|
399
399
|
style: V(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
400
400
|
}, [
|
|
401
401
|
ie(tt),
|
|
402
|
+
t.$slots["chart-background"] ? (o(), n("foreignObject", {
|
|
403
|
+
key: 0,
|
|
404
|
+
x: 0,
|
|
405
|
+
y: 0,
|
|
406
|
+
width: P.value.width,
|
|
407
|
+
height: P.value.height,
|
|
408
|
+
style: {
|
|
409
|
+
pointerEvents: "none"
|
|
410
|
+
}
|
|
411
|
+
}, [
|
|
412
|
+
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
413
|
+
], 8, it)) : c("", !0),
|
|
402
414
|
_("defs", null, [
|
|
403
415
|
_("filter", {
|
|
404
416
|
id: `blur_${T.value}`,
|
|
@@ -410,28 +422,28 @@ const st = ["id"], rt = {
|
|
|
410
422
|
_("feGaussianBlur", {
|
|
411
423
|
in: "SourceGraphic",
|
|
412
424
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
413
|
-
}, null, 8,
|
|
414
|
-
], 8,
|
|
425
|
+
}, null, 8, vt)
|
|
426
|
+
], 8, ct)
|
|
415
427
|
]),
|
|
416
|
-
(o(!0),
|
|
417
|
-
l.value ? (o(),
|
|
428
|
+
(o(!0), n(ce, null, ve(S.value, (l) => (o(), n("g", null, [
|
|
429
|
+
l.value ? (o(), n("path", {
|
|
418
430
|
key: 0,
|
|
419
431
|
d: l.path,
|
|
420
432
|
fill: "none",
|
|
421
433
|
stroke: e.value.style.chart.backgroundColor,
|
|
422
|
-
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (
|
|
434
|
+
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
423
435
|
"stroke-linecap": "round"
|
|
424
|
-
}, null, 8,
|
|
425
|
-
l.value ? (o(),
|
|
436
|
+
}, null, 8, dt)) : c("", !0),
|
|
437
|
+
l.value ? (o(), n("path", {
|
|
426
438
|
key: 1,
|
|
427
439
|
d: l.path,
|
|
428
440
|
fill: "none",
|
|
429
441
|
stroke: l.color,
|
|
430
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (
|
|
442
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
431
443
|
"stroke-linecap": "round",
|
|
432
|
-
class:
|
|
433
|
-
}, null, 10,
|
|
434
|
-
l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(),
|
|
444
|
+
class: E(`${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
445
|
+
}, null, 10, ht)) : c("", !0),
|
|
446
|
+
l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), n("g", {
|
|
435
447
|
key: 2,
|
|
436
448
|
filter: `url(#blur_${T.value})`
|
|
437
449
|
}, [
|
|
@@ -439,14 +451,14 @@ const st = ["id"], rt = {
|
|
|
439
451
|
d: l.path,
|
|
440
452
|
fill: "none",
|
|
441
453
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
442
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (
|
|
454
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (g.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
443
455
|
"stroke-linecap": "round",
|
|
444
|
-
class:
|
|
445
|
-
}, null, 10,
|
|
446
|
-
], 8,
|
|
456
|
+
class: E(`vue-ui-galaxy-gradient ${g.value && g.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
457
|
+
}, null, 10, yt)
|
|
458
|
+
], 8, pt)) : c("", !0)
|
|
447
459
|
]))), 256)),
|
|
448
|
-
(o(!0),
|
|
449
|
-
l.value ? (o(),
|
|
460
|
+
(o(!0), n(ce, null, ve(S.value, (l, s) => (o(), n("g", null, [
|
|
461
|
+
l.value ? (o(), n("path", {
|
|
450
462
|
key: 0,
|
|
451
463
|
d: l.path,
|
|
452
464
|
fill: "none",
|
|
@@ -460,17 +472,17 @@ const st = ["id"], rt = {
|
|
|
460
472
|
show: !0
|
|
461
473
|
}),
|
|
462
474
|
onMouseleave: a[0] || (a[0] = (r) => {
|
|
463
|
-
|
|
475
|
+
B.value = !1, g.value = null;
|
|
464
476
|
}),
|
|
465
477
|
onClick: (r) => X("selectDatapoint", l)
|
|
466
|
-
}, null, 40,
|
|
478
|
+
}, null, 40, gt)) : c("", !0)
|
|
467
479
|
]))), 256)),
|
|
468
|
-
|
|
480
|
+
v(t.$slots, "svg", { svg: P.value }, void 0, !0)
|
|
469
481
|
], 14, nt)) : c("", !0),
|
|
470
|
-
t.$slots.watermark ? (o(),
|
|
471
|
-
|
|
482
|
+
t.$slots.watermark ? (o(), n("div", ft, [
|
|
483
|
+
v(t.$slots, "watermark", O(N({ isPrinting: i(ee) || i(te) })), void 0, !0)
|
|
472
484
|
])) : c("", !0),
|
|
473
|
-
|
|
485
|
+
L.value ? c("", !0) : (o(), $(Ze, {
|
|
474
486
|
key: 6,
|
|
475
487
|
config: {
|
|
476
488
|
type: "galaxy",
|
|
@@ -482,21 +494,21 @@ const st = ["id"], rt = {
|
|
|
482
494
|
}
|
|
483
495
|
}
|
|
484
496
|
}, null, 8, ["config"])),
|
|
485
|
-
e.value.style.chart.legend.show ? (o(), $(
|
|
497
|
+
e.value.style.chart.legend.show ? (o(), $(Re, {
|
|
486
498
|
key: `legend_${J.value}`,
|
|
487
499
|
legendSet: se.value,
|
|
488
500
|
config: Oe.value,
|
|
489
501
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
|
|
490
502
|
}, {
|
|
491
|
-
item:
|
|
503
|
+
item: d(({ legend: l, index: s }) => [
|
|
492
504
|
_("div", {
|
|
493
505
|
onClick: (r) => U(l),
|
|
494
506
|
style: V(`opacity:${p.value.includes(l.id) ? 0.5 : 1}`)
|
|
495
507
|
}, [
|
|
496
|
-
de(
|
|
508
|
+
de(M(l.name) + ": " + M(i(ge)(
|
|
497
509
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
498
510
|
l.value,
|
|
499
|
-
|
|
511
|
+
i(k)({
|
|
500
512
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
501
513
|
v: l.value,
|
|
502
514
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -504,21 +516,21 @@ const st = ["id"], rt = {
|
|
|
504
516
|
}),
|
|
505
517
|
{ datapoint: l, seriesIndex: s }
|
|
506
518
|
)) + " ", 1),
|
|
507
|
-
p.value.includes(l.id) ? (o(),
|
|
508
|
-
v: l.value /
|
|
519
|
+
p.value.includes(l.id) ? (o(), n("span", kt, " ( - % ) ")) : (o(), n("span", mt, " (" + M(isNaN(l.value / f.value) ? "-" : i(k)({
|
|
520
|
+
v: l.value / f.value * 100,
|
|
509
521
|
s: "%",
|
|
510
522
|
r: e.value.style.chart.legend.roundingPercentage
|
|
511
523
|
})) + ") ", 1))
|
|
512
|
-
], 12,
|
|
524
|
+
], 12, bt)
|
|
513
525
|
]),
|
|
514
526
|
_: 1
|
|
515
527
|
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
516
|
-
|
|
517
|
-
t.$slots.source ? (o(),
|
|
518
|
-
|
|
528
|
+
v(t.$slots, "legend", { legend: se.value }, void 0, !0),
|
|
529
|
+
t.$slots.source ? (o(), n("div", Ct, [
|
|
530
|
+
v(t.$slots, "source", {}, void 0, !0)
|
|
519
531
|
], 512)) : c("", !0),
|
|
520
532
|
ie(qe, {
|
|
521
|
-
show: b.value.showTooltip &&
|
|
533
|
+
show: b.value.showTooltip && B.value,
|
|
522
534
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
523
535
|
color: e.value.style.chart.tooltip.color,
|
|
524
536
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -528,20 +540,20 @@ const st = ["id"], rt = {
|
|
|
528
540
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
529
541
|
position: e.value.style.chart.tooltip.position,
|
|
530
542
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
531
|
-
parent:
|
|
532
|
-
content:
|
|
543
|
+
parent: F.value,
|
|
544
|
+
content: G.value,
|
|
533
545
|
isFullscreen: x.value,
|
|
534
|
-
isCustom:
|
|
546
|
+
isCustom: i(fe)(e.value.style.chart.tooltip.customFormat)
|
|
535
547
|
}, {
|
|
536
|
-
"tooltip-before":
|
|
537
|
-
|
|
548
|
+
"tooltip-before": d(() => [
|
|
549
|
+
v(t.$slots, "tooltip-before", O(N({ ...W.value })), void 0, !0)
|
|
538
550
|
]),
|
|
539
|
-
"tooltip-after":
|
|
540
|
-
|
|
551
|
+
"tooltip-after": d(() => [
|
|
552
|
+
v(t.$slots, "tooltip-after", O(N({ ...W.value })), void 0, !0)
|
|
541
553
|
]),
|
|
542
554
|
_: 3
|
|
543
555
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
544
|
-
|
|
556
|
+
L.value ? (o(), $(et, {
|
|
545
557
|
key: 9,
|
|
546
558
|
hideDetails: "",
|
|
547
559
|
config: {
|
|
@@ -557,24 +569,24 @@ const st = ["id"], rt = {
|
|
|
557
569
|
}
|
|
558
570
|
}
|
|
559
571
|
}, {
|
|
560
|
-
content:
|
|
572
|
+
content: d(() => [
|
|
561
573
|
(o(), $(Je, {
|
|
562
574
|
key: `table_${q.value}`,
|
|
563
|
-
colNames:
|
|
564
|
-
head:
|
|
565
|
-
body:
|
|
566
|
-
config:
|
|
575
|
+
colNames: I.value.colNames,
|
|
576
|
+
head: I.value.head,
|
|
577
|
+
body: I.value.body,
|
|
578
|
+
config: I.value.config,
|
|
567
579
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
568
580
|
onClose: a[2] || (a[2] = (l) => b.value.showTable = !1)
|
|
569
581
|
}, {
|
|
570
|
-
th:
|
|
582
|
+
th: d(({ th: l }) => [
|
|
571
583
|
_("div", {
|
|
572
584
|
innerHTML: l,
|
|
573
585
|
style: { display: "flex", "align-items": "center" }
|
|
574
|
-
}, null, 8,
|
|
586
|
+
}, null, 8, wt)
|
|
575
587
|
]),
|
|
576
|
-
td:
|
|
577
|
-
de(
|
|
588
|
+
td: d(({ td: l }) => [
|
|
589
|
+
de(M(l.name || l), 1)
|
|
578
590
|
]),
|
|
579
591
|
_: 1
|
|
580
592
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -583,7 +595,7 @@ const st = ["id"], rt = {
|
|
|
583
595
|
}, 8, ["config"])) : c("", !0)
|
|
584
596
|
], 46, st));
|
|
585
597
|
}
|
|
586
|
-
},
|
|
598
|
+
}, Dt = /* @__PURE__ */ ot($t, [["__scopeId", "data-v-ce1544eb"]]);
|
|
587
599
|
export {
|
|
588
|
-
|
|
600
|
+
Dt as default
|
|
589
601
|
};
|