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 { useCssVars as at, computed as b, ref as r, watch as Ae, onMounted as lt, onBeforeUnmount as ot, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as d, unref as c, createBlock as M, createCommentVNode as
|
|
2
|
-
import { u as rt, c as it, t as dt, a as ct, p as z, b as vt, o as Be, e as Z, v as S, d as de, i as ee, f as I, X as ht, s as ce, w as pt, x as
|
|
1
|
+
import { useCssVars as at, computed as b, ref as r, watch as Ae, onMounted as lt, onBeforeUnmount as ot, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as d, unref as c, createBlock as M, createCommentVNode as g, createSlots as nt, withCtx as k, renderSlot as _, normalizeProps as H, guardReactiveProps as G, createElementVNode as n, toDisplayString as v, createVNode as ie, Fragment as j, renderList as W, withKeys as ut, createTextVNode as st } from "vue";
|
|
2
|
+
import { u as rt, c as it, t as dt, a as ct, p as z, b as vt, o as Be, e as Z, v as S, d as de, i as ee, f as I, X as ht, s as ce, w as pt, x as gt, y as yt, q as ft, r as bt } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as mt, u as _t } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as kt } from "./Title-
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as De } from "./Legend-
|
|
8
|
-
import
|
|
9
|
-
import Tt from "./BaseIcon-
|
|
10
|
-
import Lt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Re } from "./useNestedProp-
|
|
12
|
-
import { _ as Nt } from "./PackageVersion-
|
|
13
|
-
import { P as Pt } from "./PenAndPaper-
|
|
4
|
+
import { _ as kt } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as $t, U as xt } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { _ as wt } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import { L as De } from "./Legend-f52bnttJ.js";
|
|
8
|
+
import Ct from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
9
|
+
import Tt from "./BaseIcon-BbU81zOd.js";
|
|
10
|
+
import Lt from "./vue-ui-accordion-rNA598L6.js";
|
|
11
|
+
import { u as Re } from "./useNestedProp-DuruL3Nt.js";
|
|
12
|
+
import { _ as Nt } from "./PackageVersion-C_FFs0BP.js";
|
|
13
|
+
import { P as Pt } from "./PenAndPaper-Dx24BtRW.js";
|
|
14
14
|
import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const
|
|
16
|
+
const Ot = ["id"], Ft = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["width", "height"], It = ["id"], At = ["stop-color"], Bt = ["stop-color"], Dt = ["x", "y", "width", "height", "fill", "rx"], Rt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Ut = ["x2", "y1", "y2", "stroke", "stroke-width"], Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x", "y", "font-size", "fill", "font-weight"], jt = ["x", "y", "font-size", "fill", "font-weight"], Wt = ["y", "width", "height", "fill", "onMouseenter"], Yt = {
|
|
17
17
|
key: 6,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, qt = ["onClick"], Kt = { style: "width:100%;padding-top: 36px;position:relative" }, Jt = { class: "vue-ui-data-table" }, Qt = { key: 0 }, Zt = { style: { width: "100%" } }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, aa = ["data-cell"], la = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oa = ["data-cell"], na = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ua = ["data-cell"], sa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = ["data-cell"], ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = {
|
|
20
20
|
__name: "vue-ui-vertical-bar",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,51 +34,51 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(Ue, { expose: Xe, emit: Ee }) {
|
|
37
|
-
const
|
|
37
|
+
const w = Ue;
|
|
38
38
|
at((t) => ({
|
|
39
|
-
|
|
39
|
+
"3aac6a71": t.tdo
|
|
40
40
|
}));
|
|
41
|
-
const { vue_ui_vertical_bar:
|
|
41
|
+
const { vue_ui_vertical_bar: He } = rt(), Y = b(() => !!w.dataset && w.dataset.length), V = r(it()), Ge = r(null), te = r(!1), ae = r(""), q = r(0), je = r(null), ve = r(0), A = r(null), he = r(null), le = r(null), pe = r(null), ge = r(null), ye = r(0), oe = r(0), e = b({
|
|
42
42
|
get: () => me(),
|
|
43
43
|
set: (t) => t
|
|
44
44
|
}), { userOptionsVisible: ne, setUserOptionsVisibility: fe, keepUserOptionState: be } = St({ config: e.value });
|
|
45
45
|
function me() {
|
|
46
46
|
const t = Re({
|
|
47
|
-
userConfig:
|
|
48
|
-
defaultConfig:
|
|
47
|
+
userConfig: w.config,
|
|
48
|
+
defaultConfig: He
|
|
49
49
|
});
|
|
50
50
|
return t.theme ? {
|
|
51
51
|
...Re({
|
|
52
|
-
userConfig: dt.vue_ui_vertical_bar[t.theme] ||
|
|
52
|
+
userConfig: dt.vue_ui_vertical_bar[t.theme] || w.config,
|
|
53
53
|
defaultConfig: t
|
|
54
54
|
}),
|
|
55
55
|
customPalette: ct[t.theme] || z
|
|
56
56
|
} : t;
|
|
57
57
|
}
|
|
58
|
-
Ae(() =>
|
|
59
|
-
e.value = me(), ne.value = !e.value.showOnChartHover, Le(),
|
|
60
|
-
}, { deep: !0 }), Ae(() =>
|
|
61
|
-
const { isPrinting: _e, isImaging: ke, generatePdf:
|
|
58
|
+
Ae(() => w.config, (t) => {
|
|
59
|
+
e.value = me(), ne.value = !e.value.showOnChartHover, Le(), ye.value += 1, oe.value += 1, h.value = e.value.style.chart.layout.bars.height, f.value = e.value.style.chart.layout.bars.gap;
|
|
60
|
+
}, { deep: !0 }), Ae(() => w.dataset, J, { deep: !0 });
|
|
61
|
+
const { isPrinting: _e, isImaging: ke, generatePdf: $e, generateImage: xe } = $t({
|
|
62
62
|
elementId: `vue-ui-vertical-bar_${V.value}`,
|
|
63
63
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
64
|
-
}),
|
|
64
|
+
}), We = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), we = b(() => vt(e.value.customPalette)), Ce = r(null), Te = r(!1), Ye = b(() => e.value.table.responsiveBreakpoint), K = r(null);
|
|
65
65
|
lt(() => {
|
|
66
66
|
Le();
|
|
67
67
|
});
|
|
68
68
|
function Le() {
|
|
69
|
-
if (Be(
|
|
69
|
+
if (Be(w.dataset) && Z({
|
|
70
70
|
componentName: "VueUiVerticalBar",
|
|
71
71
|
type: "dataset"
|
|
72
|
-
}), q.value =
|
|
72
|
+
}), q.value = w.dataset.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0), qe(), e.value.responsive) {
|
|
73
73
|
const t = mt(() => {
|
|
74
74
|
const { width: l, height: a } = _t({
|
|
75
75
|
chart: A.value,
|
|
76
76
|
title: e.value.style.chart.title.text ? he.value : null,
|
|
77
77
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
78
78
|
source: pe.value,
|
|
79
|
-
noTitle:
|
|
79
|
+
noTitle: ge.value
|
|
80
80
|
});
|
|
81
|
-
Se.value = l, h.value = a / q.value -
|
|
81
|
+
Se.value = l, h.value = a / q.value - f.value * 2;
|
|
82
82
|
});
|
|
83
83
|
K.value = new ResizeObserver(t), K.value.observe(A.value.parentNode);
|
|
84
84
|
}
|
|
@@ -91,13 +91,13 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
91
91
|
l.forEach((a) => {
|
|
92
92
|
Te.value = a.contentRect.width < Ye.value;
|
|
93
93
|
});
|
|
94
|
-
}).observe(
|
|
94
|
+
}).observe(Ce.value);
|
|
95
95
|
}
|
|
96
|
-
const
|
|
96
|
+
const x = r({
|
|
97
97
|
showTable: e.value.table.show,
|
|
98
98
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
99
99
|
showTooltip: e.value.style.chart.tooltip.show
|
|
100
|
-
}), Ne = b(() =>
|
|
100
|
+
}), Ne = b(() => x.value.sortDesc), O = b(() => (w.dataset.forEach((t, l) => {
|
|
101
101
|
!t.value && !t.children && Z({
|
|
102
102
|
componentName: "VueUiVerticalBar",
|
|
103
103
|
type: "datasetAttributeEmpty",
|
|
@@ -115,34 +115,34 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
115
115
|
index: o
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
}),
|
|
119
|
-
const a = `vertical_parent_${l}_${V.value}`, o = t.children && t.children.length > 0, m = S(t.value ? t.value : o ? t.children.map((
|
|
118
|
+
}), w.dataset.map((t, l) => {
|
|
119
|
+
const a = `vertical_parent_${l}_${V.value}`, o = t.children && t.children.length > 0, m = S(t.value ? t.value : o ? t.children.map(($) => $.value || 0).reduce(($, N) => $ + N, 0) : 0), y = m >= 0 ? 1 : -1;
|
|
120
120
|
return {
|
|
121
121
|
...t,
|
|
122
122
|
id: a,
|
|
123
123
|
shape: "square",
|
|
124
124
|
opacity: T.value.includes(a) ? 0.5 : 1,
|
|
125
125
|
value: Math.abs(m),
|
|
126
|
-
sign:
|
|
126
|
+
sign: y,
|
|
127
127
|
hasChildren: o,
|
|
128
128
|
isChild: !1,
|
|
129
129
|
segregate: () => X(a),
|
|
130
130
|
isSegregated: T.value.includes(a),
|
|
131
|
-
color: de(t.color) ||
|
|
132
|
-
children: !t.children || !t.children.length ? [] : t.children.toSorted((
|
|
133
|
-
|
|
134
|
-
value: S(Math.abs(
|
|
135
|
-
sign:
|
|
131
|
+
color: de(t.color) || we.value[l] || z[l] || z[l % z.length],
|
|
132
|
+
children: !t.children || !t.children.length ? [] : t.children.toSorted(($, N) => Ne.value ? N.value - $.value : $.value - N.value).map(($, N) => ({
|
|
133
|
+
...$,
|
|
134
|
+
value: S(Math.abs($.value)),
|
|
135
|
+
sign: $.value >= 0 ? 1 : -1,
|
|
136
136
|
isChild: !0,
|
|
137
137
|
parentId: a,
|
|
138
138
|
parentName: t.name,
|
|
139
139
|
parentValue: m,
|
|
140
|
-
parentSign:
|
|
140
|
+
parentSign: y,
|
|
141
141
|
id: `vertical_child_${l}_${N}_${V.value}`,
|
|
142
142
|
childIndex: N,
|
|
143
|
-
color: de(
|
|
144
|
-
})).map((
|
|
145
|
-
|
|
143
|
+
color: de($.color) || de(t.color) || we.value[l] || z[l] || z[l % z.length]
|
|
144
|
+
})).map(($, N) => ({
|
|
145
|
+
...$,
|
|
146
146
|
isFirstChild: N === 0,
|
|
147
147
|
isLastChild: N === t.children.length - 1
|
|
148
148
|
}))
|
|
@@ -154,7 +154,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
154
154
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
155
155
|
paddingBottom: 12,
|
|
156
156
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
157
|
-
})), h = r(e.value.style.chart.layout.bars.height),
|
|
157
|
+
})), h = r(e.value.style.chart.layout.bars.height), f = r(e.value.style.chart.layout.bars.gap), Ke = b(() => (h.value + f.value) * q.value), Se = r(512), p = b(() => ({
|
|
158
158
|
width: Se.value,
|
|
159
159
|
height: Ke.value,
|
|
160
160
|
padding: {
|
|
@@ -164,21 +164,21 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
164
164
|
bottom: 12
|
|
165
165
|
}
|
|
166
166
|
})), s = b(() => ({
|
|
167
|
-
fullHeight:
|
|
168
|
-
top:
|
|
169
|
-
left:
|
|
170
|
-
right:
|
|
171
|
-
bottom:
|
|
172
|
-
width:
|
|
167
|
+
fullHeight: p.value.padding.top + p.value.padding.bottom + p.value.height,
|
|
168
|
+
top: p.value.padding.top,
|
|
169
|
+
left: p.value.padding.left,
|
|
170
|
+
right: p.value.width - p.value.padding.right,
|
|
171
|
+
bottom: p.value.padding.top + p.value.height,
|
|
172
|
+
width: p.value.width - (p.value.padding.left + p.value.padding.right)
|
|
173
173
|
}));
|
|
174
174
|
function J() {
|
|
175
|
-
q.value =
|
|
175
|
+
q.value = F.value.flatMap((t) => t.children && t.children.length > 0 ? t.children.length : 1).reduce((t, l) => t + l, 0);
|
|
176
176
|
}
|
|
177
177
|
const T = r([]);
|
|
178
178
|
function X(t) {
|
|
179
|
-
T.value.includes(t) ? T.value = T.value.filter((l) => l !== t) : T.value.push(t), J(), Ee("selectLegend",
|
|
179
|
+
T.value.includes(t) ? T.value = T.value.filter((l) => l !== t) : T.value.push(t), J(), Ee("selectLegend", F.value);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
181
|
+
const F = b(() => O.value.filter((t) => !T.value.includes(t.id))), L = b(() => F.value.map((t) => Math.abs(t.value)).reduce((t, l) => t + l, 0));
|
|
182
182
|
function Ve(t, l = !1, a = 0) {
|
|
183
183
|
return l ? I({
|
|
184
184
|
v: S(Math.abs(t) / L.value * 100),
|
|
@@ -186,7 +186,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
186
186
|
r: a
|
|
187
187
|
}) : Math.abs(t) / L.value;
|
|
188
188
|
}
|
|
189
|
-
const B = b(() =>
|
|
189
|
+
const B = b(() => F.value.flatMap((t) => t.hasChildren ? t.children : t)), D = b(() => B.value.map((t) => t.sign).includes(-1)), Je = b(() => Math.max(...F.value.flatMap((t) => t.children && t.children.length ? Math.max(...t.children.map((l) => l.value)) : t.value)));
|
|
190
190
|
function P(t) {
|
|
191
191
|
const l = t / Je.value;
|
|
192
192
|
return s.value.width / (D.value ? 2 : 1) * l;
|
|
@@ -195,7 +195,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
195
195
|
return P(t) + s.value.left;
|
|
196
196
|
}
|
|
197
197
|
function E(t, l) {
|
|
198
|
-
const a =
|
|
198
|
+
const a = F.value.find((y) => y.id === t.parentId), o = s.value.top + (f.value + h.value) * l, m = a.children.length * (f.value + h.value);
|
|
199
199
|
return {
|
|
200
200
|
y: o + m / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
201
201
|
name: a.name,
|
|
@@ -205,26 +205,26 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
function Ze() {
|
|
208
|
-
return
|
|
208
|
+
return F.value;
|
|
209
209
|
}
|
|
210
210
|
const ue = r(null), se = r(null);
|
|
211
211
|
function et(t, l) {
|
|
212
212
|
se.value = {
|
|
213
213
|
datapoint: t,
|
|
214
214
|
seriesIndex: l,
|
|
215
|
-
series:
|
|
215
|
+
series: O.value,
|
|
216
216
|
config: e.value
|
|
217
217
|
}, te.value = !0, ue.value = t.id;
|
|
218
218
|
let a = "";
|
|
219
|
-
const o = t.isChild ? t.parentName : t.name, m = t.isChild ? t.name : "",
|
|
220
|
-
|
|
219
|
+
const o = t.isChild ? t.parentName : t.name, m = t.isChild ? t.name : "", y = e.value.style.chart.tooltip.customFormat;
|
|
220
|
+
gt(y) && yt(() => y({
|
|
221
221
|
datapoint: t,
|
|
222
|
-
series:
|
|
222
|
+
series: O.value,
|
|
223
223
|
config: e.value,
|
|
224
224
|
seriesIndex: l
|
|
225
|
-
})) ? ae.value =
|
|
225
|
+
})) ? ae.value = y({
|
|
226
226
|
datapoint: t,
|
|
227
|
-
series:
|
|
227
|
+
series: O.value,
|
|
228
228
|
config: e.value,
|
|
229
229
|
seriesIndex: l
|
|
230
230
|
}) : (a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
@@ -250,7 +250,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
250
250
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
251
251
|
})}</b></div>`)), ae.value = `<div style="text-align:left">${a}</div>`);
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function Oe(t, l, a, o) {
|
|
254
254
|
if (!e.value.style.chart.layout.bars.dataLabels.value.show)
|
|
255
255
|
return "";
|
|
256
256
|
const m = ee(
|
|
@@ -263,10 +263,10 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
263
263
|
r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
|
|
264
264
|
}),
|
|
265
265
|
{ datapoint: l, seriesIndex: a }
|
|
266
|
-
),
|
|
267
|
-
return `${m}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${
|
|
266
|
+
), y = `(${Ve(t, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
267
|
+
return `${m}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${y}` : ""}`;
|
|
268
268
|
}
|
|
269
|
-
const
|
|
269
|
+
const C = b(() => {
|
|
270
270
|
const t = [
|
|
271
271
|
e.value.translations.parentName,
|
|
272
272
|
e.value.translations.value,
|
|
@@ -305,15 +305,15 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
305
305
|
});
|
|
306
306
|
return { head: t, body: l };
|
|
307
307
|
});
|
|
308
|
-
function
|
|
309
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l =
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
308
|
+
function Fe() {
|
|
309
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = C.value.head, a = C.value.body.map((y) => [
|
|
310
|
+
y.parentName,
|
|
311
|
+
y.parentValue,
|
|
312
|
+
y.percentageToTotal,
|
|
313
|
+
y.childName,
|
|
314
|
+
y.childValue,
|
|
315
|
+
y.childPercentageToParent,
|
|
316
|
+
y.childPercentageToTotal
|
|
317
317
|
]), o = t.concat([l]).concat(a), m = ft(o);
|
|
318
318
|
bt({ csvContent: m, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
319
319
|
}
|
|
@@ -322,13 +322,13 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
322
322
|
R.value = t, ve.value += 1;
|
|
323
323
|
}
|
|
324
324
|
function Me() {
|
|
325
|
-
|
|
325
|
+
x.value.showTable = !x.value.showTable;
|
|
326
326
|
}
|
|
327
327
|
function ze() {
|
|
328
|
-
|
|
328
|
+
x.value.sortDesc = !x.value.sortDesc, J();
|
|
329
329
|
}
|
|
330
330
|
function Ie() {
|
|
331
|
-
|
|
331
|
+
x.value.showTooltip = !x.value.showTooltip;
|
|
332
332
|
}
|
|
333
333
|
const Q = r(!1);
|
|
334
334
|
function re() {
|
|
@@ -337,9 +337,9 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
337
337
|
return Xe({
|
|
338
338
|
getData: Ze,
|
|
339
339
|
recalculateHeight: J,
|
|
340
|
-
generatePdf:
|
|
341
|
-
generateCsv:
|
|
342
|
-
generateImage:
|
|
340
|
+
generatePdf: $e,
|
|
341
|
+
generateCsv: Fe,
|
|
342
|
+
generateImage: xe,
|
|
343
343
|
toggleTable: Me,
|
|
344
344
|
toggleSort: ze,
|
|
345
345
|
toggleTooltip: Ie,
|
|
@@ -360,14 +360,14 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
360
360
|
color: e.value.style.chart.color,
|
|
361
361
|
active: Q.value,
|
|
362
362
|
onClose: re
|
|
363
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
364
|
-
|
|
363
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : g("", !0),
|
|
364
|
+
We.value ? (u(), i("div", {
|
|
365
365
|
key: 1,
|
|
366
366
|
ref_key: "noTitle",
|
|
367
|
-
ref:
|
|
367
|
+
ref: ge,
|
|
368
368
|
class: "vue-data-ui-no-title-space",
|
|
369
369
|
style: "height:36px; width: 100%;background:transparent"
|
|
370
|
-
}, null, 512)) :
|
|
370
|
+
}, null, 512)) : g("", !0),
|
|
371
371
|
e.value.style.chart.title.text ? (u(), i("div", {
|
|
372
372
|
key: 2,
|
|
373
373
|
ref_key: "chartTitle",
|
|
@@ -375,7 +375,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
375
375
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
376
376
|
}, [
|
|
377
377
|
(u(), M(kt, {
|
|
378
|
-
key: `title_${
|
|
378
|
+
key: `title_${ye.value}`,
|
|
379
379
|
config: {
|
|
380
380
|
title: {
|
|
381
381
|
cy: "vertical-bar-div-title",
|
|
@@ -387,10 +387,10 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
}, null, 8, ["config"]))
|
|
390
|
-
], 512)) :
|
|
391
|
-
e.value.userOptions.show && Y.value && (c(be) || c(ne)) ? (u(), M(
|
|
390
|
+
], 512)) : g("", !0),
|
|
391
|
+
e.value.userOptions.show && Y.value && (c(be) || c(ne)) ? (u(), M(xt, {
|
|
392
392
|
ref_key: "details",
|
|
393
|
-
ref:
|
|
393
|
+
ref: Ge,
|
|
394
394
|
key: `user_options_${ve.value}`,
|
|
395
395
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
396
396
|
color: e.value.style.chart.color,
|
|
@@ -405,16 +405,16 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
405
405
|
hasSort: e.value.userOptions.buttons.sort,
|
|
406
406
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
407
407
|
isFullscreen: R.value,
|
|
408
|
-
isTooltip:
|
|
408
|
+
isTooltip: x.value.showTooltip,
|
|
409
409
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
410
410
|
chartElement: A.value,
|
|
411
411
|
position: e.value.userOptions.position,
|
|
412
412
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
413
413
|
isAnnotation: Q.value,
|
|
414
414
|
onToggleFullscreen: tt,
|
|
415
|
-
onGeneratePdf: c(
|
|
416
|
-
onGenerateCsv:
|
|
417
|
-
onGenerateImage: c(
|
|
415
|
+
onGeneratePdf: c($e),
|
|
416
|
+
onGenerateCsv: Fe,
|
|
417
|
+
onGenerateImage: c(xe),
|
|
418
418
|
onToggleTable: Me,
|
|
419
419
|
onToggleSort: ze,
|
|
420
420
|
onToggleTooltip: Ie,
|
|
@@ -475,18 +475,18 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
475
475
|
t.$slots.optionFullscreen ? {
|
|
476
476
|
name: "optionFullscreen",
|
|
477
477
|
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
478
|
-
_(t.$slots, "optionFullscreen", G(
|
|
478
|
+
_(t.$slots, "optionFullscreen", H(G({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
479
479
|
]),
|
|
480
480
|
key: "7"
|
|
481
481
|
} : void 0,
|
|
482
482
|
t.$slots.optionAnnotator ? {
|
|
483
483
|
name: "optionAnnotator",
|
|
484
484
|
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
485
|
-
_(t.$slots, "optionAnnotator", G(
|
|
485
|
+
_(t.$slots, "optionAnnotator", H(G({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
486
486
|
]),
|
|
487
487
|
key: "8"
|
|
488
488
|
} : void 0
|
|
489
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
489
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
490
490
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), i("div", {
|
|
491
491
|
key: 4,
|
|
492
492
|
ref_key: "chartLegend",
|
|
@@ -494,7 +494,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
494
494
|
}, [
|
|
495
495
|
(u(), M(De, {
|
|
496
496
|
key: `legend_top_${oe.value}`,
|
|
497
|
-
legendSet:
|
|
497
|
+
legendSet: O.value,
|
|
498
498
|
config: Pe.value,
|
|
499
499
|
onClickMarker: l[0] || (l[0] = ({ legend: a }) => X(a.id))
|
|
500
500
|
}, {
|
|
@@ -513,20 +513,32 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
513
513
|
r: e.value.style.chart.legend.roundingValue
|
|
514
514
|
}),
|
|
515
515
|
{ datapoint: a, seriesIndex: o }
|
|
516
|
-
)), 13,
|
|
516
|
+
)), 13, Ft)
|
|
517
517
|
]),
|
|
518
518
|
_: 1
|
|
519
519
|
}, 8, ["legendSet", "config"]))
|
|
520
|
-
], 512)) :
|
|
520
|
+
], 512)) : g("", !0),
|
|
521
521
|
Y.value ? (u(), i("svg", {
|
|
522
522
|
key: 5,
|
|
523
523
|
xmlns: c(ht),
|
|
524
524
|
class: U({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
525
|
-
viewBox: `0 0 ${
|
|
525
|
+
viewBox: `0 0 ${p.value.width <= 0 ? 10 : p.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
526
526
|
style: d(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
527
527
|
}, [
|
|
528
528
|
ie(Nt),
|
|
529
|
-
|
|
529
|
+
t.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
530
|
+
key: 0,
|
|
531
|
+
x: 0,
|
|
532
|
+
y: 0,
|
|
533
|
+
width: p.value.width <= 0 ? 10 : p.value.width,
|
|
534
|
+
height: s.value.fullHeight <= 0 ? 10 : s.value.fullHeight,
|
|
535
|
+
style: {
|
|
536
|
+
pointerEvents: "none"
|
|
537
|
+
}
|
|
538
|
+
}, [
|
|
539
|
+
_(t.$slots, "chart-background", {}, void 0, !0)
|
|
540
|
+
], 8, zt)) : g("", !0),
|
|
541
|
+
(u(!0), i(j, null, W(B.value, (a, o) => (u(), i("linearGradient", {
|
|
530
542
|
x1: "0%",
|
|
531
543
|
y1: "0%",
|
|
532
544
|
x2: "100%",
|
|
@@ -536,27 +548,27 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
536
548
|
n("stop", {
|
|
537
549
|
offset: "0%",
|
|
538
550
|
"stop-color": a.color
|
|
539
|
-
}, null, 8,
|
|
551
|
+
}, null, 8, At),
|
|
540
552
|
n("stop", {
|
|
541
553
|
offset: "100%",
|
|
542
554
|
"stop-color": c(ce)(c(pt)(a.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
543
|
-
}, null, 8,
|
|
544
|
-
], 8,
|
|
545
|
-
(u(!0), i(
|
|
555
|
+
}, null, 8, Bt)
|
|
556
|
+
], 8, It))), 256)),
|
|
557
|
+
(u(!0), i(j, null, W(B.value, (a, o) => (u(), i("g", null, [
|
|
546
558
|
n("rect", {
|
|
547
559
|
x: c(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : P(a.value) <= 0 ? 1e-4 : P(a.value)) : s.value.left),
|
|
548
|
-
y: s.value.top + (
|
|
560
|
+
y: s.value.top + (f.value + h.value) * o,
|
|
549
561
|
width: c(S)(P(a.value) <= 0 ? 1e-4 : P(a.value)),
|
|
550
562
|
height: h.value <= 0 ? 1e-4 : h.value,
|
|
551
563
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
552
564
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
553
565
|
class: U({ animated: e.value.useCssAnimation })
|
|
554
|
-
}, null, 10,
|
|
566
|
+
}, null, 10, Dt)
|
|
555
567
|
]))), 256)),
|
|
556
|
-
(u(!0), i(
|
|
568
|
+
(u(!0), i(j, null, W(B.value, (a, o) => (u(), i("g", null, [
|
|
557
569
|
n("rect", {
|
|
558
570
|
x: c(S)(D.value ? s.value.left + s.value.width / 2 - (a.sign === 1 ? 0 : P(a.value) <= 0 ? 1e-4 : P(a.value)) : s.value.left),
|
|
559
|
-
y: s.value.top + (
|
|
571
|
+
y: s.value.top + (f.value + h.value) * o,
|
|
560
572
|
width: c(S)(P(a.value) <= 0 ? 1e-4 : P(a.value)),
|
|
561
573
|
height: h.value <= 0 ? 1e-4 : h.value,
|
|
562
574
|
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${V.value}_${o})` : c(ce)(a.color, e.value.style.chart.layout.bars.fillOpacity),
|
|
@@ -564,17 +576,17 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
564
576
|
stroke: e.value.style.chart.layout.bars.useStroke ? a.color : "none",
|
|
565
577
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
566
578
|
class: U({ animated: e.value.useCssAnimation })
|
|
567
|
-
}, null, 10,
|
|
579
|
+
}, null, 10, Rt),
|
|
568
580
|
(!a.isChild || a.isLastChild) && e.value.style.chart.layout.separators.show && o !== B.value.length - 1 ? (u(), i("line", {
|
|
569
581
|
key: 0,
|
|
570
582
|
x1: 0,
|
|
571
583
|
x2: s.value.left,
|
|
572
|
-
y1: h.value +
|
|
573
|
-
y2: h.value +
|
|
584
|
+
y1: h.value + f.value / 2 + s.value.top + (f.value + h.value) * o,
|
|
585
|
+
y2: h.value + f.value / 2 + s.value.top + (f.value + h.value) * o,
|
|
574
586
|
stroke: e.value.style.chart.layout.separators.color,
|
|
575
587
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
576
588
|
"stroke-linecap": "round"
|
|
577
|
-
}, null, 8,
|
|
589
|
+
}, null, 8, Ut)) : g("", !0),
|
|
578
590
|
D.value && e.value.style.chart.layout.separators.show ? (u(), i("line", {
|
|
579
591
|
key: 1,
|
|
580
592
|
x1: s.value.left + s.value.width / 2,
|
|
@@ -584,24 +596,24 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
584
596
|
stroke: e.value.style.chart.layout.separators.color,
|
|
585
597
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
586
598
|
"stroke-linecap": "round"
|
|
587
|
-
}, null, 8,
|
|
599
|
+
}, null, 8, Xt)) : g("", !0),
|
|
588
600
|
n("text", {
|
|
589
601
|
x: D.value ? s.value.left + s.value.width / 2 + (a.sign === 1 ? -12 : 12) + (a.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : Qe(a.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
|
|
590
|
-
y: s.value.top + (
|
|
602
|
+
y: s.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
591
603
|
"text-anchor": !D.value || a.sign === -1 ? "start" : "end",
|
|
592
604
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
593
605
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
594
606
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
595
|
-
}, v(
|
|
607
|
+
}, v(Oe(a.value, a, o, a.sign)), 9, Et),
|
|
596
608
|
(a.isChild || !a.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (u(), i("text", {
|
|
597
609
|
key: 2,
|
|
598
610
|
"text-anchor": "end",
|
|
599
611
|
x: s.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
|
|
600
|
-
y: s.value.top + (
|
|
612
|
+
y: s.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
|
|
601
613
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
602
614
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
603
615
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
|
|
604
|
-
}, v(a.name), 9,
|
|
616
|
+
}, v(a.name), 9, Ht)) : g("", !0),
|
|
605
617
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), i("text", {
|
|
606
618
|
key: 3,
|
|
607
619
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
@@ -610,7 +622,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
610
622
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
611
623
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
612
624
|
"text-anchor": "start"
|
|
613
|
-
}, v(E(a, o).name), 9, Gt)) :
|
|
625
|
+
}, v(E(a, o).name), 9, Gt)) : g("", !0),
|
|
614
626
|
a.isChild && a.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), i("text", {
|
|
615
627
|
key: 4,
|
|
616
628
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
@@ -619,26 +631,26 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
619
631
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
620
632
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
621
633
|
"text-anchor": "start"
|
|
622
|
-
}, v(
|
|
634
|
+
}, v(Oe(E(a, o).value), E(a, o), o, a.parentSign || a.sign), 9, jt)) : g("", !0),
|
|
623
635
|
n("rect", {
|
|
624
636
|
"data-cy-trap": "",
|
|
625
637
|
x: 0,
|
|
626
|
-
y: s.value.top + (
|
|
627
|
-
width:
|
|
628
|
-
height: h.value +
|
|
638
|
+
y: s.value.top + (f.value + h.value) * o - f.value / 2,
|
|
639
|
+
width: p.value.width <= 0 ? 1e-4 : p.value.width,
|
|
640
|
+
height: h.value + f.value <= 0 ? 1e-4 : h.value + f.value,
|
|
629
641
|
fill: ue.value === a.id ? c(ce)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity) : "transparent",
|
|
630
642
|
onMouseenter: (m) => et(a, o),
|
|
631
643
|
onMouseleave: l[1] || (l[1] = (m) => {
|
|
632
|
-
|
|
644
|
+
je.value = null, te.value = !1, ue.value = null;
|
|
633
645
|
})
|
|
634
646
|
}, null, 40, Wt)
|
|
635
647
|
]))), 256)),
|
|
636
|
-
_(t.$slots, "svg", { svg:
|
|
637
|
-
], 14, Mt)) :
|
|
638
|
-
t.$slots.watermark ? (u(), i("div",
|
|
639
|
-
_(t.$slots, "watermark", G(
|
|
640
|
-
])) :
|
|
641
|
-
Y.value ?
|
|
648
|
+
_(t.$slots, "svg", { svg: p.value }, void 0, !0)
|
|
649
|
+
], 14, Mt)) : g("", !0),
|
|
650
|
+
t.$slots.watermark ? (u(), i("div", Yt, [
|
|
651
|
+
_(t.$slots, "watermark", H(G({ isPrinting: c(_e) || c(ke) })), void 0, !0)
|
|
652
|
+
])) : g("", !0),
|
|
653
|
+
Y.value ? g("", !0) : (u(), M(Ct, {
|
|
642
654
|
key: 7,
|
|
643
655
|
config: {
|
|
644
656
|
type: "verticalBar",
|
|
@@ -660,7 +672,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
660
672
|
}, [
|
|
661
673
|
(u(), M(De, {
|
|
662
674
|
key: `legend_bottom_${oe.value}`,
|
|
663
|
-
legendSet:
|
|
675
|
+
legendSet: O.value,
|
|
664
676
|
config: Pe.value,
|
|
665
677
|
onClickMarker: l[2] || (l[2] = ({ legend: a }) => X(a.id))
|
|
666
678
|
}, {
|
|
@@ -678,12 +690,12 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
678
690
|
r: e.value.style.chart.legend.roundingValue
|
|
679
691
|
}),
|
|
680
692
|
{ datapoint: a, seriesIndex: o }
|
|
681
|
-
)), 13,
|
|
693
|
+
)), 13, qt)
|
|
682
694
|
]),
|
|
683
695
|
_: 1
|
|
684
696
|
}, 8, ["legendSet", "config"]))
|
|
685
|
-
], 512)) :
|
|
686
|
-
_(t.$slots, "legend", { legend:
|
|
697
|
+
], 512)) : g("", !0),
|
|
698
|
+
_(t.$slots, "legend", { legend: O.value }, void 0, !0),
|
|
687
699
|
t.$slots.source ? (u(), i("div", {
|
|
688
700
|
key: 9,
|
|
689
701
|
ref_key: "source",
|
|
@@ -691,9 +703,9 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
691
703
|
dir: "auto"
|
|
692
704
|
}, [
|
|
693
705
|
_(t.$slots, "source", {}, void 0, !0)
|
|
694
|
-
], 512)) :
|
|
695
|
-
ie(
|
|
696
|
-
show:
|
|
706
|
+
], 512)) : g("", !0),
|
|
707
|
+
ie(wt, {
|
|
708
|
+
show: x.value.showTooltip && te.value && T.value.length < w.dataset.length,
|
|
697
709
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
698
710
|
color: e.value.style.chart.tooltip.color,
|
|
699
711
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -709,10 +721,10 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
709
721
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
710
722
|
}, {
|
|
711
723
|
"tooltip-before": k(() => [
|
|
712
|
-
_(t.$slots, "tooltip-before", G(
|
|
724
|
+
_(t.$slots, "tooltip-before", H(G({ ...se.value })), void 0, !0)
|
|
713
725
|
]),
|
|
714
726
|
"tooltip-after": k(() => [
|
|
715
|
-
_(t.$slots, "tooltip-after", G(
|
|
727
|
+
_(t.$slots, "tooltip-after", H(G({ ...se.value })), void 0, !0)
|
|
716
728
|
]),
|
|
717
729
|
_: 3
|
|
718
730
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -720,7 +732,7 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
720
732
|
key: 10,
|
|
721
733
|
hideDetails: "",
|
|
722
734
|
config: {
|
|
723
|
-
open:
|
|
735
|
+
open: x.value.showTable,
|
|
724
736
|
maxHeight: 1e4,
|
|
725
737
|
body: {
|
|
726
738
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -735,16 +747,16 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
735
747
|
content: k(() => [
|
|
736
748
|
n("div", {
|
|
737
749
|
ref_key: "tableContainer",
|
|
738
|
-
ref:
|
|
750
|
+
ref: Ce,
|
|
739
751
|
class: "vue-ui-vertical-bar-table"
|
|
740
752
|
}, [
|
|
741
|
-
n("div",
|
|
753
|
+
n("div", Kt, [
|
|
742
754
|
n("div", {
|
|
743
755
|
role: "button",
|
|
744
756
|
tabindex: "0",
|
|
745
757
|
style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
746
|
-
onClick: l[3] || (l[3] = (a) =>
|
|
747
|
-
onKeypress: l[4] || (l[4] = ut((a) =>
|
|
758
|
+
onClick: l[3] || (l[3] = (a) => x.value.showTable = !1),
|
|
759
|
+
onKeypress: l[4] || (l[4] = ut((a) => x.value.showTable = !1, ["enter"]))
|
|
748
760
|
}, [
|
|
749
761
|
ie(Tt, {
|
|
750
762
|
name: "close",
|
|
@@ -756,23 +768,23 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
756
768
|
style: { width: "100%", "container-type": "inline-size" },
|
|
757
769
|
class: U({ "vue-ui-responsive": Te.value })
|
|
758
770
|
}, [
|
|
759
|
-
n("table",
|
|
771
|
+
n("table", Jt, [
|
|
760
772
|
n("caption", {
|
|
761
773
|
style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
762
774
|
class: "vue-ui-data-table__caption"
|
|
763
775
|
}, [
|
|
764
776
|
st(v(e.value.style.chart.title.text) + " ", 1),
|
|
765
|
-
e.value.style.chart.title.subtitle.text ? (u(), i("span",
|
|
777
|
+
e.value.style.chart.title.subtitle.text ? (u(), i("span", Qt, v(e.value.style.chart.title.subtitle.text), 1)) : g("", !0)
|
|
766
778
|
], 4),
|
|
767
779
|
n("thead", null, [
|
|
768
780
|
n("tr", {
|
|
769
781
|
role: "row",
|
|
770
782
|
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
771
783
|
}, [
|
|
772
|
-
(u(!0), i(
|
|
784
|
+
(u(!0), i(j, null, W(C.value.head, (a) => (u(), i("th", {
|
|
773
785
|
style: d(`outline:${e.value.table.th.outline}`)
|
|
774
786
|
}, [
|
|
775
|
-
n("div",
|
|
787
|
+
n("div", Zt, v(a), 1)
|
|
776
788
|
], 4))), 256))
|
|
777
789
|
], 4),
|
|
778
790
|
n("tr", null, [
|
|
@@ -800,65 +812,65 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
800
812
|
])
|
|
801
813
|
]),
|
|
802
814
|
n("tbody", null, [
|
|
803
|
-
(u(!0), i(
|
|
815
|
+
(u(!0), i(j, null, W(C.value.body, (a, o) => (u(), i("tr", {
|
|
804
816
|
class: U({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
|
|
805
817
|
style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
806
818
|
}, [
|
|
807
819
|
n("td", {
|
|
808
820
|
class: "vue-ui-data-table__tbody__td",
|
|
809
821
|
style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
810
|
-
"data-cell":
|
|
822
|
+
"data-cell": C.value.head[0] ?? ""
|
|
811
823
|
}, [
|
|
812
|
-
n("div",
|
|
824
|
+
n("div", ta, [
|
|
813
825
|
a.color ? (u(), i("span", {
|
|
814
826
|
key: 0,
|
|
815
827
|
style: d(`color:${a.color};margin-right:3px`)
|
|
816
|
-
}, "⬤", 4)) :
|
|
828
|
+
}, "⬤", 4)) : g("", !0),
|
|
817
829
|
n("span", null, v(a.parentName), 1)
|
|
818
830
|
])
|
|
819
|
-
], 12,
|
|
831
|
+
], 12, ea),
|
|
820
832
|
n("td", {
|
|
821
833
|
class: "vue-ui-data-table__tbody__td",
|
|
822
834
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
823
|
-
"data-cell":
|
|
835
|
+
"data-cell": C.value.head[1] ?? ""
|
|
824
836
|
}, [
|
|
825
|
-
n("div",
|
|
826
|
-
], 12,
|
|
837
|
+
n("div", la, v(e.value.table.td.prefix) + v(["", NaN, void 0].includes(a.parentValue) ? "" : a.parentValue.toFixed(e.value.table.td.roundingValue)) + v(e.value.table.td.suffix), 1)
|
|
838
|
+
], 12, aa),
|
|
827
839
|
n("td", {
|
|
828
840
|
class: "vue-ui-data-table__tbody__td",
|
|
829
841
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
830
|
-
"data-cell":
|
|
842
|
+
"data-cell": C.value.head[2] ?? ""
|
|
831
843
|
}, [
|
|
832
|
-
n("div",
|
|
833
|
-
], 12,
|
|
844
|
+
n("div", na, v(["", NaN, void 0].includes(a.percentageToTotal) ? "" : `${(a.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
845
|
+
], 12, oa),
|
|
834
846
|
n("td", {
|
|
835
847
|
class: "vue-ui-data-table__tbody__td",
|
|
836
848
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
837
|
-
"data-cell":
|
|
849
|
+
"data-cell": C.value.head[3] ?? ""
|
|
838
850
|
}, [
|
|
839
|
-
n("div",
|
|
840
|
-
], 12,
|
|
851
|
+
n("div", sa, v(a.childName), 1)
|
|
852
|
+
], 12, ua),
|
|
841
853
|
n("td", {
|
|
842
854
|
class: "vue-ui-data-table__tbody__td",
|
|
843
855
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
844
|
-
"data-cell":
|
|
856
|
+
"data-cell": C.value.head[4] ?? ""
|
|
845
857
|
}, [
|
|
846
|
-
n("div",
|
|
847
|
-
], 12,
|
|
858
|
+
n("div", ia, v(e.value.table.td.prefix) + v(["", NaN, void 0].includes(a.childValue) ? "" : a.childValue.toFixed(e.value.table.td.roundingValue)) + v(e.value.table.td.suffix), 1)
|
|
859
|
+
], 12, ra),
|
|
848
860
|
n("td", {
|
|
849
861
|
class: "vue-ui-data-table__tbody__td",
|
|
850
862
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
851
|
-
"data-cell":
|
|
863
|
+
"data-cell": C.value.head[5] ?? ""
|
|
852
864
|
}, [
|
|
853
|
-
n("div",
|
|
854
|
-
], 12,
|
|
865
|
+
n("div", ca, v(["", NaN, void 0].includes(a.childPercentageToParent) ? "" : `${(a.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
866
|
+
], 12, da),
|
|
855
867
|
n("td", {
|
|
856
868
|
class: "vue-ui-data-table__tbody__td",
|
|
857
869
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
858
|
-
"data-cell":
|
|
870
|
+
"data-cell": C.value.head[6] ?? ""
|
|
859
871
|
}, [
|
|
860
|
-
n("div",
|
|
861
|
-
], 12,
|
|
872
|
+
n("div", ha, v(["", NaN, void 0].includes(a.childPercentageToTotal) ? "" : `${(a.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
873
|
+
], 12, va)
|
|
862
874
|
], 6))), 256))
|
|
863
875
|
])
|
|
864
876
|
])
|
|
@@ -867,10 +879,10 @@ const Ft = ["id"], Ot = ["onClick"], Mt = ["xmlns", "viewBox"], zt = ["id"], It
|
|
|
867
879
|
], 512)
|
|
868
880
|
]),
|
|
869
881
|
_: 1
|
|
870
|
-
}, 8, ["config"])) :
|
|
871
|
-
], 46,
|
|
882
|
+
}, 8, ["config"])) : g("", !0)
|
|
883
|
+
], 46, Ot));
|
|
872
884
|
}
|
|
873
|
-
},
|
|
885
|
+
}, Sa = /* @__PURE__ */ Vt(pa, [["__scopeId", "data-v-0cafc13e"]]);
|
|
874
886
|
export {
|
|
875
|
-
|
|
887
|
+
Sa as default
|
|
876
888
|
};
|