vue-data-ui 2.4.57 → 2.4.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +82 -51
- package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
- package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
- package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
- package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
- package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
- package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
- package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
- package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
- package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
- package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
- package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
- package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
- package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
- package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
- package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
- package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
- package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
- package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
- package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
- package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
- package/dist/documentation/installation.md +48 -48
- package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
- package/dist/index-DaDv7p0W.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
- package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
- package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
- package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
- package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
- package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
- package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
- package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
- package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
- package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
- package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
- package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
- package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
- package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
- package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
- package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
- package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
- package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
- package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
- package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
- package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
- package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
- package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
- package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
- package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
- package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
- package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
- package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
- package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
- package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
- package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
- package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
- package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
- package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
- package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
- package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
- package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
- package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
- package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
- package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
- package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
- package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
- package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
- package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
- package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
- package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
- package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
- package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
- package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
- package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
- package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
- package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
- package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
- package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
- package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
- package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
- package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
- package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
- package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
- package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
- package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
- package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
- package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
- package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
- package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
- package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
- package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
- package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
- package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
- package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
- package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
- package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
- package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
- package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
- package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
- package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
- package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
- package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
- package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
- package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
- package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
- package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
- package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
- package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
- package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
- package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
- package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
- package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
- package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
- package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
- package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
- package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
- package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
- package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
- package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
- package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
- package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
- package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
- package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
- package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
- package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
- package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
- package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
- package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
- package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
- package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
- package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
- package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
- package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
- package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
- package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-o6tXRhOr.cjs +0 -9
- package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
- package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
- package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
- package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
- package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
- package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
- package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
- package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
- package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
- package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
- package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
- package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
- package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
- package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
- package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
- package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
- package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
- package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
- package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
- package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
- package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
- package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
- package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
- package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
- package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
- package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
- package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
- package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
- package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
- package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
- package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
- package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
- package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
- package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
- package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
- package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
- package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
- package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as Xe, c as ee, t as je, a as Ye, p as A, o as Je, e as te, g as _e, b as qe, d as Te, v as Ke, D as Qe, f as X, X as Ze, i as le, l as et, h as tt, x as Le, y as lt, q as at, r as ot, F as st } from "./index-
|
|
1
|
+
import { computed as d, ref as n, watch as Ge, onMounted as Ue, onBeforeUnmount as Ve, openBlock as s, createElementBlock as u, normalizeClass as F, normalizeStyle as B, unref as v, createBlock as T, createCommentVNode as c, createSlots as Ee, withCtx as f, renderSlot as p, normalizeProps as M, guardReactiveProps as W, createVNode as $e, Fragment as g, renderList as C, createElementVNode as k, toDisplayString as L, mergeProps as He, createTextVNode as Re, nextTick as Be } from "vue";
|
|
2
|
+
import { u as Xe, c as ee, t as je, a as Ye, p as A, o as Je, e as te, g as _e, b as qe, d as Te, v as Ke, D as Qe, f as X, X as Ze, i as le, l as et, h as tt, x as Le, y as lt, q as at, r as ot, F as st } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as rt, u as ut } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as it } from "./Title-
|
|
5
|
-
import { u as nt, U as vt } from "./usePrinter-
|
|
6
|
-
import { _ as ct } from "./Tooltip-
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { _ as pt } from "./Shape-
|
|
10
|
-
import
|
|
11
|
-
import { u as Ae } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as bt } from "./PenAndPaper-
|
|
4
|
+
import { _ as it } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as nt, U as vt } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { _ as ct } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import { D as ht } from "./DataTable-CFUKU8PU.js";
|
|
8
|
+
import dt from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
9
|
+
import { _ as pt } from "./Shape-Ct2x6qZx.js";
|
|
10
|
+
import yt from "./vue-ui-accordion-rNA598L6.js";
|
|
11
|
+
import { u as Ae } from "./useNestedProp-DuruL3Nt.js";
|
|
12
|
+
import { _ as ft } from "./PackageVersion-C_FFs0BP.js";
|
|
13
|
+
import { P as bt } from "./PenAndPaper-Dx24BtRW.js";
|
|
14
14
|
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key:
|
|
16
|
+
const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"], wt = { key: 1 }, $t = { key: 0 }, _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Tt = { key: 1 }, Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x", "y", "fill", "font-size"], Ot = ["x", "y", "font-size", "fill"], zt = ["fill", "font-size", "transform"], Nt = ["fill", "font-size", "x", "y"], Ft = ["x1", "x2", "y1", "y2", "stroke"], Mt = ["cx", "cy", "fill"], Wt = ["cx", "cy", "fill"], It = ["id"], Dt = ["stop-color"], Gt = ["stop-color"], Ut = ["stop-color"], Vt = { key: 0 }, Et = ["x", "y", "font-size", "fill"], Ht = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Rt = ["innerHTML"], Bt = {
|
|
20
20
|
__name: "vue-ui-strip-plot",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,18 +34,18 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectDatapoint"],
|
|
36
36
|
setup(Se, { expose: Pe, emit: Oe }) {
|
|
37
|
-
const b = Se, { vue_ui_strip_plot: ze } = Xe(), w =
|
|
37
|
+
const b = Se, { vue_ui_strip_plot: ze } = Xe(), w = d({
|
|
38
38
|
get() {
|
|
39
39
|
return !!b.dataset && b.dataset.length;
|
|
40
40
|
},
|
|
41
41
|
set(t) {
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
|
-
}), j = n(ee()), ae = n(0), Y = n(!1), J = n(""), S = n(null), oe = n(null), se = n(null), re = n(null), ue = n(!1), ie = n(0), ne = n(0), e =
|
|
45
|
-
get: () =>
|
|
44
|
+
}), j = n(ee()), ae = n(0), Y = n(!1), J = n(""), S = n(null), oe = n(null), se = n(null), re = n(null), ue = n(!1), ie = n(0), ne = n(0), e = d({
|
|
45
|
+
get: () => he(),
|
|
46
46
|
set: (t) => t
|
|
47
47
|
}), { userOptionsVisible: q, setUserOptionsVisibility: ve, keepUserOptionState: ce } = mt({ config: e.value });
|
|
48
|
-
function
|
|
48
|
+
function he() {
|
|
49
49
|
const t = Ae({
|
|
50
50
|
userConfig: b.config,
|
|
51
51
|
defaultConfig: ze
|
|
@@ -59,13 +59,13 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
59
59
|
} : t;
|
|
60
60
|
}
|
|
61
61
|
Ge(() => b.config, (t) => {
|
|
62
|
-
e.value =
|
|
62
|
+
e.value = he(), q.value = !e.value.showOnChartHover, de(), ie.value += 1, ne.value += 1;
|
|
63
63
|
}, { deep: !0 });
|
|
64
64
|
const I = n(null);
|
|
65
65
|
Ue(() => {
|
|
66
|
-
|
|
66
|
+
de();
|
|
67
67
|
});
|
|
68
|
-
function
|
|
68
|
+
function de() {
|
|
69
69
|
if (Je(b.dataset) ? te({
|
|
70
70
|
componentName: "VueUiStripPlot",
|
|
71
71
|
type: "dataset"
|
|
@@ -118,10 +118,10 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
118
118
|
Ve(() => {
|
|
119
119
|
I.value && I.value.disconnect();
|
|
120
120
|
});
|
|
121
|
-
const { isPrinting: pe, isImaging:
|
|
121
|
+
const { isPrinting: pe, isImaging: ye, generatePdf: fe, generateImage: be } = nt({
|
|
122
122
|
elementId: `strip-plot_${j.value}`,
|
|
123
123
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
124
|
-
}), Ne =
|
|
124
|
+
}), Ne = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = d(() => qe(e.value.customPalette)), z = n(e.value.useCssAnimation), y = n({
|
|
125
125
|
showTable: e.value.table.show,
|
|
126
126
|
dataLabels: {
|
|
127
127
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
@@ -135,7 +135,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
135
135
|
}), N = n(e.value.style.chart.stripWidth), D = n(e.value.style.chart.height), G = n(e.value.style.chart.plots.radius), P = n({
|
|
136
136
|
width: N.value * b.dataset.length + m.value.left + m.value.right,
|
|
137
137
|
height: e.value.style.chart.height
|
|
138
|
-
}), a =
|
|
138
|
+
}), a = d(() => {
|
|
139
139
|
const t = N.value * b.dataset.length + m.value.left + m.value.right;
|
|
140
140
|
return {
|
|
141
141
|
left: m.value.left,
|
|
@@ -148,7 +148,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
148
148
|
absoluteHeight: D.value,
|
|
149
149
|
absoluteWidth: t
|
|
150
150
|
};
|
|
151
|
-
}), U =
|
|
151
|
+
}), U = d(() => w.value ? b.dataset.map((t, o) => {
|
|
152
152
|
const l = ee();
|
|
153
153
|
return {
|
|
154
154
|
...t,
|
|
@@ -162,32 +162,32 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
162
162
|
id: ee()
|
|
163
163
|
})).sort((r, i) => r.value - i.value)
|
|
164
164
|
};
|
|
165
|
-
}) : null), x =
|
|
165
|
+
}) : null), x = d(() => (U.value || []).map((t, o) => ({
|
|
166
166
|
...t,
|
|
167
167
|
plots: t.plots.map((l) => ({
|
|
168
168
|
...l,
|
|
169
169
|
x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
170
170
|
}))
|
|
171
|
-
}))), Fe =
|
|
171
|
+
}))), Fe = d(() => Math.max(...x.value.map((t) => t.plots.length))), K = d(() => {
|
|
172
172
|
const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
|
|
173
173
|
return {
|
|
174
174
|
max: Math.max(...t),
|
|
175
175
|
min: Math.min(...t)
|
|
176
176
|
};
|
|
177
|
-
}), $ =
|
|
177
|
+
}), $ = d(() => Qe(K.value.min < 0 ? K.value.min : 0, K.value.max, e.value.style.chart.grid.scaleSteps)), Me = d(() => (x.value || []).map((t, o) => ({
|
|
178
178
|
...t,
|
|
179
179
|
plots: t.plots.map((l) => ({
|
|
180
180
|
...l,
|
|
181
181
|
y: a.value.bottom - (l.value + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min)) * a.value.height
|
|
182
182
|
}))
|
|
183
|
-
}))), ge =
|
|
183
|
+
}))), ge = d(() => $.value.ticks.map((t) => ({
|
|
184
184
|
y: a.value.bottom - a.value.height * ((t + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min))),
|
|
185
185
|
x1: a.value.left,
|
|
186
186
|
x2: a.value.right,
|
|
187
187
|
value: t
|
|
188
|
-
}))), Q = n(null),
|
|
188
|
+
}))), Q = n(null), h = n(null);
|
|
189
189
|
function We({ datapoint: t, seriesIndex: o }) {
|
|
190
|
-
Q.value = { datapoint: t, seriesIndex: o, config: e.value, series: U.value }, Y.value = !0,
|
|
190
|
+
Q.value = { datapoint: t, seriesIndex: o, config: e.value, series: U.value }, Y.value = !0, h.value = t;
|
|
191
191
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
192
192
|
if (Le(l) && lt(() => l({
|
|
193
193
|
seriesIndex: o,
|
|
@@ -216,7 +216,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
216
216
|
)}</div>`, J.value = `<div>${r}</div>`;
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
const V =
|
|
219
|
+
const V = d(() => {
|
|
220
220
|
const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => ({
|
|
221
221
|
name: `${l.name} - ${r.name}`,
|
|
222
222
|
color: r.color
|
|
@@ -231,7 +231,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
231
231
|
ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
|
-
const E =
|
|
234
|
+
const E = d(() => {
|
|
235
235
|
const t = [
|
|
236
236
|
e.value.table.columnNames.series,
|
|
237
237
|
e.value.table.columnNames.value
|
|
@@ -279,13 +279,13 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
279
279
|
return x.value;
|
|
280
280
|
}
|
|
281
281
|
function xe() {
|
|
282
|
-
|
|
282
|
+
y.value.showTable = !y.value.showTable;
|
|
283
283
|
}
|
|
284
284
|
function Ce() {
|
|
285
|
-
|
|
285
|
+
y.value.dataLabels.show = !y.value.dataLabels.show;
|
|
286
286
|
}
|
|
287
287
|
function we() {
|
|
288
|
-
|
|
288
|
+
y.value.showTooltip = !y.value.showTooltip;
|
|
289
289
|
}
|
|
290
290
|
const H = n(!1);
|
|
291
291
|
function Z() {
|
|
@@ -293,7 +293,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
293
293
|
}
|
|
294
294
|
return Pe({
|
|
295
295
|
getData: De,
|
|
296
|
-
generatePdf:
|
|
296
|
+
generatePdf: fe,
|
|
297
297
|
generateCsv: ke,
|
|
298
298
|
generateImage: be,
|
|
299
299
|
toggleTable: xe,
|
|
@@ -350,7 +350,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
350
350
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
351
351
|
color: e.value.style.chart.color,
|
|
352
352
|
isPrinting: v(pe),
|
|
353
|
-
isImaging: v(
|
|
353
|
+
isImaging: v(ye),
|
|
354
354
|
uid: j.value,
|
|
355
355
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
356
356
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -359,7 +359,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
359
359
|
hasTable: e.value.userOptions.buttons.table,
|
|
360
360
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
361
361
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
362
|
-
isTooltip:
|
|
362
|
+
isTooltip: y.value.showTooltip,
|
|
363
363
|
isFullscreen: O.value,
|
|
364
364
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
365
365
|
chartElement: S.value,
|
|
@@ -367,7 +367,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
367
367
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
368
368
|
isAnnotation: H.value,
|
|
369
369
|
onToggleFullscreen: Ie,
|
|
370
|
-
onGeneratePdf: v(
|
|
370
|
+
onGeneratePdf: v(fe),
|
|
371
371
|
onGenerateCsv: ke,
|
|
372
372
|
onGenerateImage: v(be),
|
|
373
373
|
onToggleTable: xe,
|
|
@@ -381,56 +381,56 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
381
381
|
t.$slots.optionTooltip ? {
|
|
382
382
|
name: "optionTooltip",
|
|
383
383
|
fn: f(() => [
|
|
384
|
-
|
|
384
|
+
p(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
385
385
|
]),
|
|
386
386
|
key: "0"
|
|
387
387
|
} : void 0,
|
|
388
388
|
t.$slots.optionPdf ? {
|
|
389
389
|
name: "optionPdf",
|
|
390
390
|
fn: f(() => [
|
|
391
|
-
|
|
391
|
+
p(t.$slots, "optionPdf", {}, void 0, !0)
|
|
392
392
|
]),
|
|
393
393
|
key: "1"
|
|
394
394
|
} : void 0,
|
|
395
395
|
t.$slots.optionCsv ? {
|
|
396
396
|
name: "optionCsv",
|
|
397
397
|
fn: f(() => [
|
|
398
|
-
|
|
398
|
+
p(t.$slots, "optionCsv", {}, void 0, !0)
|
|
399
399
|
]),
|
|
400
400
|
key: "2"
|
|
401
401
|
} : void 0,
|
|
402
402
|
t.$slots.optionImg ? {
|
|
403
403
|
name: "optionImg",
|
|
404
404
|
fn: f(() => [
|
|
405
|
-
|
|
405
|
+
p(t.$slots, "optionImg", {}, void 0, !0)
|
|
406
406
|
]),
|
|
407
407
|
key: "3"
|
|
408
408
|
} : void 0,
|
|
409
409
|
t.$slots.optionTable ? {
|
|
410
410
|
name: "optionTable",
|
|
411
411
|
fn: f(() => [
|
|
412
|
-
|
|
412
|
+
p(t.$slots, "optionTable", {}, void 0, !0)
|
|
413
413
|
]),
|
|
414
414
|
key: "4"
|
|
415
415
|
} : void 0,
|
|
416
416
|
t.$slots.optionLabels ? {
|
|
417
417
|
name: "optionLabels",
|
|
418
418
|
fn: f(() => [
|
|
419
|
-
|
|
419
|
+
p(t.$slots, "optionLabels", {}, void 0, !0)
|
|
420
420
|
]),
|
|
421
421
|
key: "5"
|
|
422
422
|
} : void 0,
|
|
423
423
|
t.$slots.optionFullscreen ? {
|
|
424
424
|
name: "optionFullscreen",
|
|
425
425
|
fn: f(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
426
|
-
|
|
426
|
+
p(t.$slots, "optionFullscreen", M(W({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
427
427
|
]),
|
|
428
428
|
key: "6"
|
|
429
429
|
} : void 0,
|
|
430
430
|
t.$slots.optionAnnotator ? {
|
|
431
431
|
name: "optionAnnotator",
|
|
432
432
|
fn: f(({ toggleAnnotator: l, isAnnotator: r }) => [
|
|
433
|
-
|
|
433
|
+
p(t.$slots, "optionAnnotator", M(W({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
|
|
434
434
|
]),
|
|
435
435
|
key: "7"
|
|
436
436
|
} : void 0
|
|
@@ -442,9 +442,21 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
442
442
|
viewBox: `0 0 ${P.value.width <= 0 ? 10 : P.value.width} ${P.value.height <= 0 ? 10 : P.value.height}`,
|
|
443
443
|
style: B(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
444
444
|
}, [
|
|
445
|
-
$e(
|
|
446
|
-
|
|
447
|
-
|
|
445
|
+
$e(ft),
|
|
446
|
+
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
447
|
+
key: 0,
|
|
448
|
+
x: a.value.left,
|
|
449
|
+
y: a.value.top,
|
|
450
|
+
width: a.value.width,
|
|
451
|
+
height: a.value.height,
|
|
452
|
+
style: {
|
|
453
|
+
pointerEvents: "none"
|
|
454
|
+
}
|
|
455
|
+
}, [
|
|
456
|
+
p(t.$slots, "chart-background", {}, void 0, !0)
|
|
457
|
+
], 8, Ct)) : c("", !0),
|
|
458
|
+
e.value.style.chart.grid.show ? (s(), u("g", wt, [
|
|
459
|
+
e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", $t, [
|
|
448
460
|
(s(!0), u(g, null, C(ge.value, (l) => (s(), u("line", {
|
|
449
461
|
x1: l.x1,
|
|
450
462
|
x2: l.x2,
|
|
@@ -454,9 +466,9 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
454
466
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
455
467
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
456
468
|
"stroke-linecap": "round"
|
|
457
|
-
}, null, 8,
|
|
469
|
+
}, null, 8, _t))), 256))
|
|
458
470
|
])) : c("", !0),
|
|
459
|
-
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g",
|
|
471
|
+
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", Tt, [
|
|
460
472
|
(s(!0), u(g, null, C(x.value, (l, r) => (s(), u("line", {
|
|
461
473
|
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
462
474
|
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
@@ -466,7 +478,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
466
478
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
467
479
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
468
480
|
"stroke-linecap": "round"
|
|
469
|
-
}, null, 8,
|
|
481
|
+
}, null, 8, Lt))), 256))
|
|
470
482
|
])) : c("", !0),
|
|
471
483
|
k("line", {
|
|
472
484
|
x1: a.value.left,
|
|
@@ -476,7 +488,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
476
488
|
stroke: e.value.style.chart.grid.stroke,
|
|
477
489
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
478
490
|
"stroke-linecap": "round"
|
|
479
|
-
}, null, 8,
|
|
491
|
+
}, null, 8, At),
|
|
480
492
|
k("line", {
|
|
481
493
|
x1: a.value.left,
|
|
482
494
|
x2: a.value.right,
|
|
@@ -485,9 +497,9 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
485
497
|
stroke: e.value.style.chart.grid.stroke,
|
|
486
498
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
487
499
|
"stroke-linecap": "round"
|
|
488
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, St)
|
|
489
501
|
])) : c("", !0),
|
|
490
|
-
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key:
|
|
502
|
+
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, C(ge.value, (l, r) => (s(), u("text", {
|
|
491
503
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
492
504
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
493
505
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
@@ -503,53 +515,53 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
503
515
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
504
516
|
}),
|
|
505
517
|
{ datapoint: l, seriesIndex: r }
|
|
506
|
-
)), 9,
|
|
507
|
-
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key:
|
|
518
|
+
)), 9, Pt))), 256)) : c("", !0),
|
|
519
|
+
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, C(x.value, (l, r) => (s(), u("text", {
|
|
508
520
|
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
509
521
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
510
522
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
511
523
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
512
524
|
"text-anchor": "middle"
|
|
513
|
-
}, L(l.name), 9,
|
|
525
|
+
}, L(l.name), 9, Ot))), 256)) : c("", !0),
|
|
514
526
|
e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
|
|
515
|
-
key:
|
|
527
|
+
key: 4,
|
|
516
528
|
fill: e.value.style.chart.labels.axis.color,
|
|
517
529
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
518
530
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
|
|
519
531
|
"text-anchor": "middle"
|
|
520
|
-
}, L(e.value.style.chart.labels.axis.yLabel), 9,
|
|
532
|
+
}, L(e.value.style.chart.labels.axis.yLabel), 9, zt)) : c("", !0),
|
|
521
533
|
e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
|
|
522
|
-
key:
|
|
534
|
+
key: 5,
|
|
523
535
|
fill: e.value.style.chart.labels.axis.color,
|
|
524
536
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
525
537
|
x: a.value.left + a.value.width / 2,
|
|
526
538
|
y: a.value.absoluteHeight,
|
|
527
539
|
"text-anchor": "middle"
|
|
528
|
-
}, L(e.value.style.chart.labels.axis.xLabel), 9,
|
|
529
|
-
|
|
540
|
+
}, L(e.value.style.chart.labels.axis.xLabel), 9, Nt)) : c("", !0),
|
|
541
|
+
h.value ? (s(), u(g, { key: 6 }, [
|
|
530
542
|
k("line", {
|
|
531
543
|
x1: a.value.left,
|
|
532
544
|
x2: a.value.right,
|
|
533
|
-
y1:
|
|
534
|
-
y2:
|
|
535
|
-
stroke:
|
|
545
|
+
y1: h.value.y,
|
|
546
|
+
y2: h.value.y,
|
|
547
|
+
stroke: h.value.color,
|
|
536
548
|
"stroke-width": 1,
|
|
537
549
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
538
|
-
}, null, 10,
|
|
550
|
+
}, null, 10, Ft),
|
|
539
551
|
k("circle", {
|
|
540
552
|
cx: a.value.left,
|
|
541
|
-
cy:
|
|
553
|
+
cy: h.value.y,
|
|
542
554
|
r: 3,
|
|
543
|
-
fill:
|
|
555
|
+
fill: h.value.color,
|
|
544
556
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
545
|
-
}, null, 10,
|
|
557
|
+
}, null, 10, Mt),
|
|
546
558
|
k("circle", {
|
|
547
559
|
cx: a.value.right,
|
|
548
|
-
cy:
|
|
560
|
+
cy: h.value.y,
|
|
549
561
|
r: 3,
|
|
550
|
-
fill:
|
|
562
|
+
fill: h.value.color,
|
|
551
563
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
552
|
-
}, null, 10,
|
|
564
|
+
}, null, 10, Wt)
|
|
553
565
|
], 64)) : c("", !0),
|
|
554
566
|
k("defs", null, [
|
|
555
567
|
(s(!0), u(g, null, C(x.value, (l) => (s(), u("radialGradient", {
|
|
@@ -559,39 +571,39 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
559
571
|
k("stop", {
|
|
560
572
|
offset: "10%",
|
|
561
573
|
"stop-color": v(et)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
562
|
-
}, null, 8,
|
|
574
|
+
}, null, 8, Dt),
|
|
563
575
|
k("stop", {
|
|
564
576
|
offset: "90%",
|
|
565
577
|
"stop-color": v(tt)(l.color, 0.1)
|
|
566
|
-
}, null, 8,
|
|
578
|
+
}, null, 8, Gt),
|
|
567
579
|
k("stop", {
|
|
568
580
|
offset: "100%",
|
|
569
581
|
"stop-color": l.color
|
|
570
|
-
}, null, 8,
|
|
571
|
-
], 8,
|
|
582
|
+
}, null, 8, Ut)
|
|
583
|
+
], 8, It))), 256))
|
|
572
584
|
]),
|
|
573
585
|
(s(!0), u(g, null, C(Me.value, (l, r) => (s(), u(g, null, [
|
|
574
586
|
(s(!0), u(g, null, C(l.plots, (i, _) => (s(), T(pt, He({
|
|
575
587
|
plot: { x: i.x, y: ue.value ? i.y : a.value.top },
|
|
576
|
-
radius:
|
|
588
|
+
radius: h.value && h.value.id === i.id ? G.value * 1.5 : G.value,
|
|
577
589
|
shape: e.value.style.chart.plots.shape,
|
|
578
590
|
stroke: e.value.style.chart.plots.stroke,
|
|
579
591
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
580
592
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
581
593
|
onMouseenter: (R) => We({ datapoint: i, seriesIndex: _ }),
|
|
582
594
|
onMouseleave: o[0] || (o[0] = (R) => {
|
|
583
|
-
Y.value = !1,
|
|
595
|
+
Y.value = !1, h.value = null;
|
|
584
596
|
}),
|
|
585
597
|
onClick: (R) => Oe("selectDatapoint", i),
|
|
586
|
-
style: `transition: all 0.2s ease-in-out; opacity:${
|
|
598
|
+
style: `transition: all 0.2s ease-in-out; opacity:${h.value ? h.value.id === i.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${z.value ? `transition-delay:${_ * 50}ms` : ""}`,
|
|
587
599
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value }
|
|
588
600
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
589
|
-
|
|
601
|
+
y.value.dataLabels.show ? (s(), u("g", Vt, [
|
|
590
602
|
(s(!0), u(g, null, C(l.plots, (i, _) => (s(), u(g, null, [
|
|
591
|
-
_ === l.plots.length - 1 ||
|
|
603
|
+
_ === l.plots.length - 1 || h.value && h.value.id === i.id && !y.value.showTooltip ? (s(), u("text", {
|
|
592
604
|
key: 0,
|
|
593
605
|
x: i.x,
|
|
594
|
-
y: i.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (
|
|
606
|
+
y: i.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (h.value && h.value.id === i.id && !y.value.showTooltip ? 2 : 1.5),
|
|
595
607
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
596
608
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
597
609
|
"text-anchor": "middle",
|
|
@@ -606,16 +618,16 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
606
618
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
607
619
|
}),
|
|
608
620
|
{ datapoint: i, seriesIndex: _ }
|
|
609
|
-
) : ""), 13,
|
|
621
|
+
) : ""), 13, Et)) : c("", !0)
|
|
610
622
|
], 64))), 256))
|
|
611
623
|
])) : c("", !0)
|
|
612
624
|
], 64))), 256)),
|
|
613
|
-
|
|
625
|
+
p(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
614
626
|
], 14, xt)) : c("", !0),
|
|
615
|
-
t.$slots.watermark ? (s(), u("div",
|
|
616
|
-
|
|
627
|
+
t.$slots.watermark ? (s(), u("div", Ht, [
|
|
628
|
+
p(t.$slots, "watermark", M(W({ isPrinting: v(pe) || v(ye) })), void 0, !0)
|
|
617
629
|
])) : c("", !0),
|
|
618
|
-
w.value ? c("", !0) : (s(), T(
|
|
630
|
+
w.value ? c("", !0) : (s(), T(dt, {
|
|
619
631
|
key: 6,
|
|
620
632
|
config: {
|
|
621
633
|
type: "stripPlot",
|
|
@@ -633,10 +645,10 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
633
645
|
ref: se,
|
|
634
646
|
dir: "auto"
|
|
635
647
|
}, [
|
|
636
|
-
|
|
648
|
+
p(t.$slots, "source", {}, void 0, !0)
|
|
637
649
|
], 512)) : c("", !0),
|
|
638
650
|
$e(ct, {
|
|
639
|
-
show:
|
|
651
|
+
show: y.value.showTooltip && Y.value,
|
|
640
652
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
641
653
|
color: e.value.style.chart.tooltip.color,
|
|
642
654
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -652,18 +664,18 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
652
664
|
isCustom: v(Le)(e.value.style.chart.tooltip.customFormat)
|
|
653
665
|
}, {
|
|
654
666
|
"tooltip-before": f(() => [
|
|
655
|
-
|
|
667
|
+
p(t.$slots, "tooltip-before", M(W({ ...Q.value })), void 0, !0)
|
|
656
668
|
]),
|
|
657
669
|
"tooltip-after": f(() => [
|
|
658
|
-
|
|
670
|
+
p(t.$slots, "tooltip-after", M(W({ ...Q.value })), void 0, !0)
|
|
659
671
|
]),
|
|
660
672
|
_: 3
|
|
661
673
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
662
|
-
w.value ? (s(), T(
|
|
674
|
+
w.value ? (s(), T(yt, {
|
|
663
675
|
key: 8,
|
|
664
676
|
hideDetails: "",
|
|
665
677
|
config: {
|
|
666
|
-
open:
|
|
678
|
+
open: y.value.showTable,
|
|
667
679
|
maxHeight: 1e4,
|
|
668
680
|
body: {
|
|
669
681
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -676,20 +688,20 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
676
688
|
}
|
|
677
689
|
}, {
|
|
678
690
|
content: f(() => [
|
|
679
|
-
(s(), T(
|
|
691
|
+
(s(), T(ht, {
|
|
680
692
|
key: `table_${ne.value}`,
|
|
681
693
|
colNames: E.value.colNames,
|
|
682
694
|
head: E.value.head,
|
|
683
695
|
body: E.value.body,
|
|
684
696
|
config: E.value.config,
|
|
685
697
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
686
|
-
onClose: o[1] || (o[1] = (l) =>
|
|
698
|
+
onClose: o[1] || (o[1] = (l) => y.value.showTable = !1)
|
|
687
699
|
}, {
|
|
688
700
|
th: f(({ th: l }) => [
|
|
689
701
|
k("div", {
|
|
690
702
|
innerHTML: l,
|
|
691
703
|
style: { display: "flex", "align-items": "center" }
|
|
692
|
-
}, null, 8,
|
|
704
|
+
}, null, 8, Rt)
|
|
693
705
|
]),
|
|
694
706
|
td: f(({ td: l }) => [
|
|
695
707
|
Re(L(l.name || l), 1)
|
|
@@ -701,7 +713,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 },
|
|
|
701
713
|
}, 8, ["config"])) : c("", !0)
|
|
702
714
|
], 46, kt));
|
|
703
715
|
}
|
|
704
|
-
},
|
|
716
|
+
}, ul = /* @__PURE__ */ gt(Bt, [["__scopeId", "data-v-375e8dc0"]]);
|
|
705
717
|
export {
|
|
706
|
-
|
|
718
|
+
ul as default
|
|
707
719
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-DaDv7p0W.cjs"),e=require("vue"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((l,o)=>l-o),palette:g.palette,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(l=>({average:Object.hasOwn(l,"average")?l.average:!1,decimals:Object.hasOwn(l,"decimals")?l.decimals:0,isMultiselect:Object.hasOwn(l,"isMultiselect")?l.isMultiselect:!1,isPercentage:Object.hasOwn(l,"isPercentage")?l.isPercentage:!1,isSearch:Object.hasOwn(l,"isSearch")?l.isSearch:!1,isSort:Object.hasOwn(l,"isSort")?l.isSort:!1,name:l.name,percentageTo:Object.hasOwn(l,"percentageTo")?l.percentageTo:void 0,prefix:Object.hasOwn(l,"prefix")?l.prefix:"",rangeFilter:Object.hasOwn(l,"rangeFilter")?l.rangeFilter:!1,suffix:Object.hasOwn(l,"suffix")?l.suffix:"",sum:Object.hasOwn(l,"sum")?l.sum:!1,type:l.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
|
|
2
2
|
Provide an array of objects of type:
|
|
3
3
|
{
|
|
4
4
|
name: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as D, u as x, A as G, m as M, d as T, B as E, q as z, r as B, a0 as H } from "./index-
|
|
1
|
+
import { p as D, u as x, A as G, m as M, d as T, B as E, q as z, r as B, a0 as H } from "./index-B9RAElpI.js";
|
|
2
2
|
import { openBlock as i, createElementBlock as c, normalizeStyle as g, createElementVNode as a, toDisplayString as u, Fragment as b, renderList as _, normalizeClass as f, createTextVNode as I, createCommentVNode as N, withDirectives as k, vModelText as w, withKeys as S, withModifiers as O, vModelSelect as P, createStaticVNode as R, pushScopeId as U, popScopeId as V } from "vue";
|
|
3
3
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const X = {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l=require("./index-DaDv7p0W.cjs"),S=require("./useNestedProp-DkpuL8Iv.cjs"),$=require("./usePrinter-BIHu0O5X.cjs"),q=require("./Shape-Dkt-vkTl.cjs"),G=require("./useUserOptionState-BgepsfED.cjs"),H=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=["id"],A={role:"cell"},D={role:"row"},X=["data-cell"],W={key:0,style:{display:"flex","flex-direction":"row",gap:"2px","align-items":"center"}},J=["height","width"],K={key:0,role:"cell","data-cell":"sum"},Q={key:1,role:"cell","data-cell":"average"},Y={key:2,role:"cell","data-cell":"median"},Z={key:1,ref:"source",dir:"auto"},j={__name:"vue-ui-table-heatmap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(w,{expose:N}){const d=w;e.useCssVars(t=>({"51ba93f2":T.value,"63946c66":M.value}));const{vue_ui_table_heatmap:E}=l.useConfig(),p=e.ref(l.createUid()),s=e.ref(!1),c=e.ref(null),m=e.ref(!1),f=e.ref(0),V=e.useSlots();e.onMounted(()=>{V["chart-background"]&&console.warn("VueUiTableHeatmap does not support the #chart-background slot.")});const o=e.computed({get:()=>b(),set:t=>t}),{userOptionsVisible:v,setUserOptionsVisibility:g,keepUserOptionState:h}=G.useUserOptionState({config:o.value});function b(){const t=S.useNestedProp({userConfig:d.config,defaultConfig:E});return t.theme?{...S.useNestedProp({userConfig:l.themes.vue_ui_table_heatmap[t.theme]||d.config,defaultConfig:t})}:t}e.watch(()=>d.config,t=>{o.value=b(),v.value=!o.value.showOnChartHover,C()},{deep:!0});const{isPrinting:x,isImaging:O,generatePdf:y,generateImage:k}=$.usePrinter({elementId:`table_heatmap_${p.value}`,fileName:"vue-ui-table-heatmap"}),z=e.computed(()=>o.value.table.responsiveBreakpoint),F=e.computed(()=>!!d.dataset&&d.dataset.length);e.onMounted(()=>{C()});function C(){l.objectIsEmpty(d.dataset)&&l.error({componentName:"VueUiTableHeatmap",type:"dataset"});const t=new ResizeObserver(a=>{a.forEach(n=>{s.value=n.contentRect.width<z.value})});c.value&&t.observe(c.value)}const B=e.computed(()=>d.dataset.map(t=>{const a=t.values.map(r=>isNaN(r)?0:r),n=a.reduce((r,i)=>r+i,0);return{...t,values:a,serieExtremes:{max:Math.max(...a),min:Math.min(...a)},sum:n,average:n/a.length,median:l.calcMedian(a),displayValues:[t.name,...t.values],id:l.createUid()}})),P=e.computed(()=>{const t=B.value.flatMap(a=>a.values);return{min:Math.min(...t),max:Math.max(...t)}});function R(t,a){const n=o.value.style.heatmapColors.useIndividualScale;return l.interpolateColorHex(o.value.style.heatmapColors.min,o.value.style.heatmapColors.max,n?a.min:P.value.min,n?a.max:P.value.max,t)}const _=e.computed(()=>B.value.map(t=>({...t,colors:t.displayValues.map(a=>isNaN(a)?o.value.style.backgroundColor:R(a,t.serieExtremes))}))),M=e.computed(()=>o.value.style.backgroundColor),T=e.computed(()=>`${o.value.table.borderWidth}px`);function I(){e.nextTick(()=>{const t=_.value.map(r=>[[r.name],r.displayValues,[r.sum],[r.average],[r.median]]),a=[[[""],o.value.table.head.values,["sum"],["average"],["median"]]].concat(t),n=l.createCsvContent(a);l.downloadCsv({csvContent:n,title:"vue-ui-table-heatmap"})})}function U(t){m.value=t,f.value+=1}return N({generatePdf:y,generateCsv:I,generateImage:k}),(t,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:c,style:e.normalizeStyle(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${o.value.userOptions.show?"36px":""}; ${m.value?"vue-data-ui-wrapper-fullscreen":""}; position:relative;`),class:e.normalizeClass({"vue-ui-responsive":s.value}),id:`table_heatmap_${p.value}`,onMouseenter:a[0]||(a[0]=()=>e.unref(g)(!0)),onMouseleave:a[1]||(a[1]=()=>e.unref(g)(!1))},[o.value.userOptions.show&&F.value&&(e.unref(h)||e.unref(v))?(e.openBlock(),e.createBlock($.UserOptions,{ref:"details",key:`user_option_${f.value}`,backgroundColor:o.value.style.backgroundColor,color:o.value.style.color,isPrinting:e.unref(x),isImaging:e.unref(O),uid:p.value,hasPdf:o.value.userOptions.buttons.pdf,hasXls:o.value.userOptions.buttons.csv,hasImg:o.value.userOptions.buttons.img,hasFullscreen:o.value.userOptions.buttons.fullscreen,isFullscreen:m.value,titles:{...o.value.userOptions.buttonTitles},chartElement:c.value,position:o.value.userOptions.position,onToggleFullscreen:U,onGeneratePdf:e.unref(y),onGenerateCsv:I,onGenerateImage:e.unref(k),style:e.normalizeStyle({visibility:e.unref(h)?e.unref(v)?"visible":"hidden":"visible"})},e.createSlots({_:2},[t.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,t.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,t.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,t.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:n,isFullscreen:r})=>[e.renderSlot(t.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:n,isFullscreen:r})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),e.createElementVNode("table",{class:e.normalizeClass({"vue-ui-table-heatmap":!0}),style:e.normalizeStyle(`width:100%;font-family:${o.value.style.fontFamily};background:${o.value.style.backgroundColor};`)},[e.createElementVNode("caption",null,[e.renderSlot(t.$slots,"caption",{},void 0,!0)]),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle(`background:${o.value.table.head.backgroundColor};color:${o.value.table.head.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.table.head.values,(n,r)=>(e.openBlock(),e.createElementBlock("th",A,[e.renderSlot(t.$slots,"head",e.normalizeProps(e.guardReactiveProps({value:n,rowIndex:r,type:typeof n,isResponsive:s.value})),void 0,!0)]))),256))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,(n,r)=>(e.openBlock(),e.createElementBlock("tr",D,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.displayValues,(i,u)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":o.value.table.head.values[u]},[n.color&&u===0?(e.openBlock(),e.createElementBlock("div",W,[n.color?(e.openBlock(),e.createElementBlock("svg",{key:0,height:o.value.style.shapeSize,width:o.value.style.shapeSize,viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},[e.createVNode(q._sfc_main,{plot:{x:10,y:10},color:n.color,radius:9,shape:n.shape||"circle"},null,8,["color","shape"])],8,J)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"rowTitle",e.normalizeProps(e.guardReactiveProps({value:i,rowIndex:r,colIndex:u,type:typeof i,isResponsive:s.value})),void 0,!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[u===0?e.renderSlot(t.$slots,"rowTitle",e.normalizeProps(e.mergeProps({key:0},{value:i,rowIndex:r,colIndex:u,type:typeof i,isResponsive:s.value})),void 0,!0):e.createCommentVNode("",!0),u>0?e.renderSlot(t.$slots,"cell",e.normalizeProps(e.mergeProps({key:1},{value:i,rowIndex:r,colIndex:u,type:typeof i,isResponsive:s.value,color:n.colors[u],textColor:e.unref(l.adaptColorToBackground)(n.colors[u])})),void 0,!0):e.createCommentVNode("",!0)],64))],8,X))),256)),o.value.table.showSum?(e.openBlock(),e.createElementBlock("td",K,[e.renderSlot(t.$slots,"sum",e.normalizeProps(e.guardReactiveProps({value:n.sum,rowIndex:r,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0),o.value.table.showAverage?(e.openBlock(),e.createElementBlock("td",Q,[e.renderSlot(t.$slots,"average",e.normalizeProps(e.guardReactiveProps({value:n.average,rowIndex:r,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0),o.value.table.showMedian?(e.openBlock(),e.createElementBlock("td",Y,[e.renderSlot(t.$slots,"median",e.normalizeProps(e.guardReactiveProps({value:n.median,rowIndex:r,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0)]))),256))])],4),t.$slots.source?(e.openBlock(),e.createElementBlock("div",Z,[e.renderSlot(t.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0)],46,L))}},ee=H._export_sfc(j,[["__scopeId","data-v-4469b342"]]);exports.default=ee;
|