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,23 +1,23 @@
|
|
|
1
|
-
import { computed as g, ref as
|
|
2
|
-
import { u as Qe, c as ee, t as Je, a as Ke, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, Q as ot, R as st, S as nt, X as ut, x as ze, i as Ie, f as Fe, y as it, q as rt, r as ct, F as G } from "./index-
|
|
1
|
+
import { computed as g, ref as v, watch as He, onMounted as Ge, onBeforeUnmount as Xe, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as T, unref as x, createBlock as z, createCommentVNode as p, createSlots as Ye, withCtx as k, renderSlot as b, normalizeProps as W, guardReactiveProps as E, createVNode as _e, Fragment as C, renderList as I, createElementVNode as F, toDisplayString as D, createTextVNode as qe } from "vue";
|
|
2
|
+
import { u as Qe, c as ee, t as Je, a as Ke, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, Q as ot, R as st, S as nt, X as ut, x as ze, i as Ie, f as Fe, y as it, q as rt, r as ct, F as G } from "./index-B9RAElpI.js";
|
|
3
3
|
import { t as vt, u as dt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as ht } from "./Title-
|
|
5
|
-
import { L as pt } from "./Legend-
|
|
6
|
-
import { _ as mt } from "./Tooltip-
|
|
7
|
-
import { _ as yt } from "./Shape-
|
|
8
|
-
import { u as ft, U as gt } from "./usePrinter-
|
|
9
|
-
import { D as bt } from "./DataTable-
|
|
10
|
-
import xt from "./vue-ui-accordion-
|
|
11
|
-
import kt from "./vue-ui-skeleton-
|
|
12
|
-
import { u as Pe } from "./useNestedProp-
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
4
|
+
import { _ as ht } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { L as pt } from "./Legend-f52bnttJ.js";
|
|
6
|
+
import { _ as mt } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import { _ as yt } from "./Shape-Ct2x6qZx.js";
|
|
8
|
+
import { u as ft, U as gt } from "./usePrinter-CwTAwqtF.js";
|
|
9
|
+
import { D as bt } from "./DataTable-CFUKU8PU.js";
|
|
10
|
+
import xt from "./vue-ui-accordion-rNA598L6.js";
|
|
11
|
+
import kt from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
12
|
+
import { u as Pe } from "./useNestedProp-DuruL3Nt.js";
|
|
13
|
+
import { _ as wt } from "./PackageVersion-C_FFs0BP.js";
|
|
14
|
+
import { P as Ct } from "./PenAndPaper-Dx24BtRW.js";
|
|
15
15
|
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events": "none" } },
|
|
17
|
+
const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"], zt = { style: { "pointer-events": "none" } }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = ["x", "y", "fill", "font-size", "font-weight"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size", "font-weight"], St = { key: 0 }, Lt = ["x", "y", "font-size", "fill"], Ot = ["width", "x", "y"], Dt = { style: { width: "100%" } }, Ut = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Wt = ["d", "stroke", "stroke-width", "onMouseenter"], Et = ["d", "onMouseenter"], Vt = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, jt = ["onClick"], Bt = ["innerHTML"], Rt = {
|
|
21
21
|
__name: "vue-ui-parallel-coordinate-plot",
|
|
22
22
|
props: {
|
|
23
23
|
config: {
|
|
@@ -42,7 +42,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
42
42
|
set(t) {
|
|
43
43
|
return t;
|
|
44
44
|
}
|
|
45
|
-
}), ae =
|
|
45
|
+
}), ae = v(0), N = v(null), le = v(null), oe = v(null), se = v(null), ne = v(null), ue = v(0), ie = v(0), re = v(0), X = v(ee()), S = v(!1);
|
|
46
46
|
function Oe(t) {
|
|
47
47
|
S.value = t, ae.value += 1;
|
|
48
48
|
}
|
|
@@ -66,7 +66,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
66
66
|
He(() => _.config, (t) => {
|
|
67
67
|
e.value = de(), Y.value = !e.value.showOnChartHover, he(), ue.value += 1, re.value += 1, ie.value += 1;
|
|
68
68
|
}, { deep: !0 });
|
|
69
|
-
const
|
|
69
|
+
const V = v(null);
|
|
70
70
|
Ge(() => {
|
|
71
71
|
he();
|
|
72
72
|
});
|
|
@@ -95,25 +95,25 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
95
95
|
source: se.value,
|
|
96
96
|
noTitle: ne.value
|
|
97
97
|
});
|
|
98
|
-
|
|
98
|
+
d.value.width = l, d.value.height = a, d.value.plotSize = G({
|
|
99
99
|
relator: Math.min(l, a),
|
|
100
100
|
adjuster: 600,
|
|
101
101
|
source: e.value.style.chart.plots.radius,
|
|
102
102
|
threshold: 2,
|
|
103
103
|
fallback: 2
|
|
104
|
-
}),
|
|
104
|
+
}), d.value.ticksFontSize = G({
|
|
105
105
|
relator: Math.min(l, a),
|
|
106
106
|
adjuster: 600,
|
|
107
107
|
source: e.value.style.chart.yAxis.labels.ticks.fontSize,
|
|
108
108
|
threshold: 10,
|
|
109
109
|
fallback: 10
|
|
110
|
-
}),
|
|
110
|
+
}), d.value.datapointFontSize = G({
|
|
111
111
|
relator: Math.min(l, a),
|
|
112
112
|
adjuster: 600,
|
|
113
113
|
source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
114
114
|
threshold: 10,
|
|
115
115
|
fallback: 10
|
|
116
|
-
}),
|
|
116
|
+
}), d.value.axisNameFontSize = G({
|
|
117
117
|
relator: Math.min(l, a),
|
|
118
118
|
adjuster: 600,
|
|
119
119
|
source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
|
|
@@ -121,16 +121,16 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
121
121
|
fallback: 12
|
|
122
122
|
});
|
|
123
123
|
});
|
|
124
|
-
|
|
124
|
+
V.value = new ResizeObserver(t), V.value.observe(N.value.parentNode);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
Xe(() => {
|
|
128
|
-
|
|
128
|
+
V.value && V.value.disconnect();
|
|
129
129
|
});
|
|
130
130
|
const { isPrinting: pe, isImaging: me, generatePdf: ye, generateImage: fe } = ft({
|
|
131
131
|
elementId: `pcp_${X.value}`,
|
|
132
132
|
fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
133
|
-
}), De = g(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
133
|
+
}), De = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), d = v({
|
|
134
134
|
height: e.value.style.chart.height,
|
|
135
135
|
width: e.value.style.chart.width,
|
|
136
136
|
plotSize: e.value.style.chart.plots.radius,
|
|
@@ -139,8 +139,8 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
139
139
|
// ratio 42.85
|
|
140
140
|
datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
|
|
141
141
|
axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
|
|
142
|
-
}),
|
|
143
|
-
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n =
|
|
142
|
+
}), c = g(() => {
|
|
143
|
+
const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n = d.value.height, s = d.value.width;
|
|
144
144
|
return {
|
|
145
145
|
chartHeight: n,
|
|
146
146
|
chartWidth: s,
|
|
@@ -151,13 +151,13 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
151
151
|
right: s - l,
|
|
152
152
|
bottom: n - a
|
|
153
153
|
};
|
|
154
|
-
}), Ue = g(() => tt(e.value.customPalette)), y =
|
|
154
|
+
}), Ue = g(() => tt(e.value.customPalette)), y = v({
|
|
155
155
|
dataLabels: {
|
|
156
156
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
157
157
|
},
|
|
158
158
|
showTable: e.value.table.show,
|
|
159
159
|
showTooltip: e.value.style.chart.tooltip.show
|
|
160
|
-
}), $ =
|
|
160
|
+
}), $ = v([]);
|
|
161
161
|
function ge(t) {
|
|
162
162
|
$.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
|
|
163
163
|
}
|
|
@@ -180,7 +180,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
180
180
|
opacity: $.value.includes(t.id) ? 0.5 : 1,
|
|
181
181
|
segregate: () => ge(t.id),
|
|
182
182
|
isSegregated: $.value.includes(t.id)
|
|
183
|
-
}))),
|
|
183
|
+
}))), Ee = g(() => ({
|
|
184
184
|
cy: "pcp-div-legend",
|
|
185
185
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
186
186
|
color: e.value.style.chart.legend.color,
|
|
@@ -189,14 +189,14 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
189
189
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
190
190
|
})), be = g(() => Math.max(
|
|
191
191
|
...M.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
192
|
-
)),
|
|
192
|
+
)), w = g(() => c.value.width / be.value), q = g(() => M.value.filter((t) => !$.value.includes(t.id))), f = g(() => {
|
|
193
193
|
let t = [];
|
|
194
194
|
for (let l = 0; l < be.value; l += 1) {
|
|
195
|
-
const a = Math.min(...q.value.flatMap((h) => h.series.map((
|
|
196
|
-
const
|
|
195
|
+
const a = Math.min(...q.value.flatMap((h) => h.series.map((R) => R.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((h) => h.series.map((R) => R.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = lt(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((h, R) => {
|
|
196
|
+
const Be = r.min < 0 ? h + Math.abs(r.min) : h - Math.abs(r.min), Re = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
|
|
197
197
|
return {
|
|
198
|
-
y:
|
|
199
|
-
x:
|
|
198
|
+
y: c.value.bottom - c.value.height * (Be / Re),
|
|
199
|
+
x: c.value.left + w.value * l + w.value / 2,
|
|
200
200
|
value: h
|
|
201
201
|
};
|
|
202
202
|
});
|
|
@@ -220,8 +220,8 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
220
220
|
datapointIndex: o,
|
|
221
221
|
seriesIndex: l,
|
|
222
222
|
value: n || 0,
|
|
223
|
-
x:
|
|
224
|
-
y:
|
|
223
|
+
x: c.value.left + w.value * s + w.value / 2,
|
|
224
|
+
y: c.value.bottom - c.value.height * (r / A),
|
|
225
225
|
comment: a.comments && a.comments[s] || ""
|
|
226
226
|
};
|
|
227
227
|
})
|
|
@@ -251,9 +251,9 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
251
251
|
{ datapoint: a, seriesIndex: l }
|
|
252
252
|
);
|
|
253
253
|
}
|
|
254
|
-
const
|
|
255
|
-
function
|
|
256
|
-
J.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, L.value = !0,
|
|
254
|
+
const m = v(null), J = v(null), L = v(!1), K = v("");
|
|
255
|
+
function j({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
|
|
256
|
+
J.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, L.value = !0, m.value = a.id;
|
|
257
257
|
let s = "";
|
|
258
258
|
const r = e.value.style.chart.tooltip.customFormat;
|
|
259
259
|
ze(r) && it(() => r({
|
|
@@ -289,7 +289,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
289
289
|
`, e.value.style.chart.comments.showInTooltip && a.datapoints[h].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[h].comment}</div>`);
|
|
290
290
|
}), K.value = `<div>${s}</div>`);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function Ve() {
|
|
293
293
|
return M.value;
|
|
294
294
|
}
|
|
295
295
|
const O = g(() => {
|
|
@@ -316,14 +316,14 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
316
316
|
head: O.value.head,
|
|
317
317
|
body: O.value.body
|
|
318
318
|
});
|
|
319
|
-
function
|
|
319
|
+
function we() {
|
|
320
320
|
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ke.value.head, a = ke.value.body, o = t.concat([l]).concat(a), n = rt(o);
|
|
321
321
|
ct({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function je(t) {
|
|
324
324
|
te("selectDatapoint", t);
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function Ce(t) {
|
|
327
327
|
te("selectLegend", {
|
|
328
328
|
...t,
|
|
329
329
|
isSegregated: !t.isSegregated,
|
|
@@ -339,13 +339,13 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
339
339
|
function Te() {
|
|
340
340
|
y.value.showTooltip = !y.value.showTooltip;
|
|
341
341
|
}
|
|
342
|
-
const
|
|
342
|
+
const B = v(!1);
|
|
343
343
|
function Z() {
|
|
344
|
-
|
|
344
|
+
B.value = !B.value;
|
|
345
345
|
}
|
|
346
346
|
return Se({
|
|
347
|
-
getData:
|
|
348
|
-
generateCsv:
|
|
347
|
+
getData: Ve,
|
|
348
|
+
generateCsv: we,
|
|
349
349
|
generatePdf: ye,
|
|
350
350
|
generateImage: fe,
|
|
351
351
|
toggleTable: $e,
|
|
@@ -358,24 +358,24 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
358
358
|
class: U(`vue-ui-pcp ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
359
359
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
360
360
|
id: `pcp_${X.value}`,
|
|
361
|
-
onMouseenter: l[6] || (l[6] = () =>
|
|
362
|
-
onMouseleave: l[7] || (l[7] = () =>
|
|
361
|
+
onMouseenter: l[6] || (l[6] = () => x(ce)(!0)),
|
|
362
|
+
onMouseleave: l[7] || (l[7] = () => x(ce)(!1))
|
|
363
363
|
}, [
|
|
364
|
-
e.value.userOptions.buttons.annotator ? (u(), z(
|
|
364
|
+
e.value.userOptions.buttons.annotator ? (u(), z(Ct, {
|
|
365
365
|
key: 0,
|
|
366
366
|
parent: N.value,
|
|
367
367
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
368
368
|
color: e.value.style.chart.color,
|
|
369
|
-
active:
|
|
369
|
+
active: B.value,
|
|
370
370
|
onClose: Z
|
|
371
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
371
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
|
|
372
372
|
De.value ? (u(), i("div", {
|
|
373
373
|
key: 1,
|
|
374
374
|
ref_key: "noTitle",
|
|
375
375
|
ref: ne,
|
|
376
376
|
class: "vue-data-ui-no-title-space",
|
|
377
377
|
style: "height:36px; width: 100%;background:transparent"
|
|
378
|
-
}, null, 512)) :
|
|
378
|
+
}, null, 512)) : p("", !0),
|
|
379
379
|
e.value.style.chart.title.text ? (u(), i("div", {
|
|
380
380
|
key: 2,
|
|
381
381
|
ref_key: "chartTitle",
|
|
@@ -395,14 +395,14 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
}, null, 8, ["config"]))
|
|
398
|
-
], 512)) :
|
|
399
|
-
e.value.userOptions.show && P.value && (
|
|
398
|
+
], 512)) : p("", !0),
|
|
399
|
+
e.value.userOptions.show && P.value && (x(ve) || x(Y)) ? (u(), z(gt, {
|
|
400
400
|
ref: "details",
|
|
401
401
|
key: `user_options_${ae.value}`,
|
|
402
402
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
403
403
|
color: e.value.style.chart.color,
|
|
404
|
-
isPrinting:
|
|
405
|
-
isImaging:
|
|
404
|
+
isPrinting: x(pe),
|
|
405
|
+
isImaging: x(me),
|
|
406
406
|
uid: X.value,
|
|
407
407
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
408
408
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -417,126 +417,138 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
417
417
|
chartElement: N.value,
|
|
418
418
|
position: e.value.userOptions.position,
|
|
419
419
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
420
|
-
isAnnotation:
|
|
420
|
+
isAnnotation: B.value,
|
|
421
421
|
onToggleFullscreen: Oe,
|
|
422
|
-
onGeneratePdf:
|
|
423
|
-
onGenerateCsv:
|
|
424
|
-
onGenerateImage:
|
|
422
|
+
onGeneratePdf: x(ye),
|
|
423
|
+
onGenerateCsv: we,
|
|
424
|
+
onGenerateImage: x(fe),
|
|
425
425
|
onToggleTable: $e,
|
|
426
426
|
onToggleLabels: Ae,
|
|
427
427
|
onToggleTooltip: Te,
|
|
428
428
|
onToggleAnnotator: Z,
|
|
429
429
|
style: T({
|
|
430
|
-
visibility:
|
|
430
|
+
visibility: x(ve) ? x(Y) ? "visible" : "hidden" : "visible"
|
|
431
431
|
})
|
|
432
432
|
}, Ye({ _: 2 }, [
|
|
433
433
|
t.$slots.optionPdf ? {
|
|
434
434
|
name: "optionPdf",
|
|
435
435
|
fn: k(() => [
|
|
436
|
-
|
|
436
|
+
b(t.$slots, "optionPdf", {}, void 0, !0)
|
|
437
437
|
]),
|
|
438
438
|
key: "0"
|
|
439
439
|
} : void 0,
|
|
440
440
|
t.$slots.optionCsv ? {
|
|
441
441
|
name: "optionCsv",
|
|
442
442
|
fn: k(() => [
|
|
443
|
-
|
|
443
|
+
b(t.$slots, "optionCsv", {}, void 0, !0)
|
|
444
444
|
]),
|
|
445
445
|
key: "1"
|
|
446
446
|
} : void 0,
|
|
447
447
|
t.$slots.optionImg ? {
|
|
448
448
|
name: "optionImg",
|
|
449
449
|
fn: k(() => [
|
|
450
|
-
|
|
450
|
+
b(t.$slots, "optionImg", {}, void 0, !0)
|
|
451
451
|
]),
|
|
452
452
|
key: "2"
|
|
453
453
|
} : void 0,
|
|
454
454
|
t.$slots.optionTable ? {
|
|
455
455
|
name: "optionTable",
|
|
456
456
|
fn: k(() => [
|
|
457
|
-
|
|
457
|
+
b(t.$slots, "optionTable", {}, void 0, !0)
|
|
458
458
|
]),
|
|
459
459
|
key: "3"
|
|
460
460
|
} : void 0,
|
|
461
461
|
t.$slots.optionLabels ? {
|
|
462
462
|
name: "optionLabels",
|
|
463
463
|
fn: k(() => [
|
|
464
|
-
|
|
464
|
+
b(t.$slots, "optionLabels", {}, void 0, !0)
|
|
465
465
|
]),
|
|
466
466
|
key: "4"
|
|
467
467
|
} : void 0,
|
|
468
468
|
t.$slots.optionFullscreen ? {
|
|
469
469
|
name: "optionFullscreen",
|
|
470
470
|
fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
471
|
-
|
|
471
|
+
b(t.$slots, "optionFullscreen", W(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
472
472
|
]),
|
|
473
473
|
key: "5"
|
|
474
474
|
} : void 0,
|
|
475
475
|
t.$slots.optionAnnotator ? {
|
|
476
476
|
name: "optionAnnotator",
|
|
477
477
|
fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
478
|
-
|
|
478
|
+
b(t.$slots, "optionAnnotator", W(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
479
479
|
]),
|
|
480
480
|
key: "6"
|
|
481
481
|
} : void 0
|
|
482
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
482
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
|
|
483
483
|
P.value ? (u(), i("svg", {
|
|
484
484
|
key: 4,
|
|
485
|
-
xmlns:
|
|
485
|
+
xmlns: x(ut),
|
|
486
486
|
class: U({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
487
|
-
viewBox: `0 0 ${
|
|
487
|
+
viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
|
|
488
488
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
489
489
|
}, [
|
|
490
|
-
_e(
|
|
491
|
-
|
|
490
|
+
_e(wt),
|
|
491
|
+
t.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
492
|
+
key: 0,
|
|
493
|
+
x: c.value.left,
|
|
494
|
+
y: c.value.top,
|
|
495
|
+
width: c.value.width,
|
|
496
|
+
height: c.value.height,
|
|
497
|
+
style: {
|
|
498
|
+
pointerEvents: "none"
|
|
499
|
+
}
|
|
500
|
+
}, [
|
|
501
|
+
b(t.$slots, "chart-background", {}, void 0, !0)
|
|
502
|
+
], 8, Mt)) : p("", !0),
|
|
503
|
+
(u(!0), i(C, null, I(f.value, (a, o) => (u(), i("g", zt, [
|
|
492
504
|
F("line", {
|
|
493
|
-
x1:
|
|
494
|
-
x2:
|
|
495
|
-
y1:
|
|
496
|
-
y2:
|
|
505
|
+
x1: c.value.left + w.value * o + w.value / 2,
|
|
506
|
+
x2: c.value.left + w.value * o + w.value / 2,
|
|
507
|
+
y1: c.value.top,
|
|
508
|
+
y2: c.value.bottom,
|
|
497
509
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
498
510
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth
|
|
499
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, It),
|
|
500
512
|
F("text", {
|
|
501
|
-
x:
|
|
502
|
-
y:
|
|
513
|
+
x: c.value.left + w.value * o + w.value / 2,
|
|
514
|
+
y: c.value.top - 24,
|
|
503
515
|
fill: e.value.style.chart.yAxis.labels.axisNamesColor,
|
|
504
|
-
"font-size":
|
|
516
|
+
"font-size": d.value.axisNameFontSize,
|
|
505
517
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
506
518
|
"text-anchor": "middle"
|
|
507
|
-
}, D(a.name), 9,
|
|
508
|
-
e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(
|
|
509
|
-
(u(!0), i(
|
|
519
|
+
}, D(a.name), 9, Ft),
|
|
520
|
+
e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(C, { key: 0 }, [
|
|
521
|
+
(u(!0), i(C, null, I(a.ticks, (n) => (u(), i("line", {
|
|
510
522
|
x1: n.x,
|
|
511
523
|
x2: n.x - 10,
|
|
512
524
|
y1: n.y,
|
|
513
525
|
y2: n.y,
|
|
514
526
|
stroke: e.value.style.chart.yAxis.stroke,
|
|
515
527
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
516
|
-
style: T(`opacity:${
|
|
517
|
-
}, null, 12,
|
|
518
|
-
(u(!0), i(
|
|
528
|
+
style: T(`opacity:${m.value && !y.value.showTooltip ? 0.2 : 1}`)
|
|
529
|
+
}, null, 12, Pt))), 256)),
|
|
530
|
+
(u(!0), i(C, null, I(a.ticks, (n) => (u(), i("text", {
|
|
519
531
|
x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
520
|
-
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY +
|
|
532
|
+
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + d.value.ticksFontSize / 3,
|
|
521
533
|
fill: e.value.style.chart.yAxis.labels.ticks.color,
|
|
522
534
|
"text-anchor": "end",
|
|
523
|
-
"font-size":
|
|
535
|
+
"font-size": d.value.ticksFontSize,
|
|
524
536
|
"font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
525
|
-
style: T(`opacity:${
|
|
526
|
-
}, D(xe({ value: n.value, index: o, datapoint: n })), 13,
|
|
527
|
-
], 64)) :
|
|
537
|
+
style: T(`opacity:${m.value && !y.value.showTooltip ? 0.2 : 1}`)
|
|
538
|
+
}, D(xe({ value: n.value, index: o, datapoint: n })), 13, Nt))), 256))
|
|
539
|
+
], 64)) : p("", !0)
|
|
528
540
|
]))), 256)),
|
|
529
|
-
(u(!0), i(
|
|
530
|
-
(u(!0), i(
|
|
531
|
-
e.value.style.chart.plots.show ? (u(), i("g",
|
|
532
|
-
(u(!0), i(
|
|
541
|
+
(u(!0), i(C, null, I(Q.value, (a) => (u(), i("g", null, [
|
|
542
|
+
(u(!0), i(C, null, I(a.series, (o, n) => (u(), i("g", null, [
|
|
543
|
+
e.value.style.chart.plots.show ? (u(), i("g", St, [
|
|
544
|
+
(u(!0), i(C, null, I(o.datapoints, (s) => (u(), z(yt, {
|
|
533
545
|
plot: { x: s.x, y: s.y },
|
|
534
546
|
color: a.color,
|
|
535
547
|
shape: a.shape,
|
|
536
|
-
radius: a.shape === "triangle" ?
|
|
548
|
+
radius: a.shape === "triangle" ? d.value.plotSize * 1.2 : d.value.plotSize,
|
|
537
549
|
stroke: e.value.style.chart.backgroundColor,
|
|
538
550
|
strokeWidth: 0.5,
|
|
539
|
-
onMouseenter: (r) =>
|
|
551
|
+
onMouseenter: (r) => j({
|
|
540
552
|
shape: a.shape,
|
|
541
553
|
serieName: a.name,
|
|
542
554
|
serie: o,
|
|
@@ -544,23 +556,23 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
544
556
|
seriesIndex: o.seriesIndex
|
|
545
557
|
}),
|
|
546
558
|
onMouseleave: l[0] || (l[0] = (r) => {
|
|
547
|
-
|
|
559
|
+
m.value = null, L.value = !1;
|
|
548
560
|
}),
|
|
549
|
-
style: T(`opacity:${
|
|
550
|
-
onClick: () =>
|
|
561
|
+
style: T(`opacity:${m.value ? m.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
562
|
+
onClick: () => je(s)
|
|
551
563
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
|
|
552
|
-
y.value.showTooltip ?
|
|
553
|
-
|
|
564
|
+
y.value.showTooltip ? p("", !0) : (u(), i(C, { key: 0 }, [
|
|
565
|
+
m.value && m.value === o.id && o.datapoints.length ? (u(), i("text", {
|
|
554
566
|
key: 0,
|
|
555
|
-
x: o.datapoints[0].x -
|
|
556
|
-
y: o.datapoints[0].y +
|
|
567
|
+
x: o.datapoints[0].x - d.value.ticksFontSize,
|
|
568
|
+
y: o.datapoints[0].y + d.value.ticksFontSize / 3,
|
|
557
569
|
"text-anchor": "end",
|
|
558
|
-
"font-size":
|
|
570
|
+
"font-size": d.value.ticksFontSize,
|
|
559
571
|
fill: a.color,
|
|
560
572
|
"font-weight": "bold"
|
|
561
|
-
}, D(o.name), 9,
|
|
573
|
+
}, D(o.name), 9, Lt)) : p("", !0)
|
|
562
574
|
], 64)),
|
|
563
|
-
e.value.style.chart.comments.show ? (u(!0), i(
|
|
575
|
+
e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, I(o.datapoints, (s) => (u(), i("g", null, [
|
|
564
576
|
s.comment ? (u(), i("foreignObject", {
|
|
565
577
|
key: 0,
|
|
566
578
|
style: { overflow: "visible" },
|
|
@@ -569,23 +581,23 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
569
581
|
x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
570
582
|
y: s.y + e.value.style.chart.comments.offsetY + 6
|
|
571
583
|
}, [
|
|
572
|
-
F("div",
|
|
573
|
-
|
|
584
|
+
F("div", Dt, [
|
|
585
|
+
b(t.$slots, "plot-comment", {
|
|
574
586
|
plot: { ...s, color: a.color }
|
|
575
587
|
}, void 0, !0)
|
|
576
588
|
])
|
|
577
|
-
], 8,
|
|
578
|
-
]))), 256)) :
|
|
579
|
-
])) :
|
|
580
|
-
y.value.dataLabels.show ||
|
|
589
|
+
], 8, Ot)) : p("", !0)
|
|
590
|
+
]))), 256)) : p("", !0)
|
|
591
|
+
])) : p("", !0),
|
|
592
|
+
y.value.dataLabels.show || m.value && m.value === o.id ? (u(!0), i(C, { key: 1 }, I(o.datapoints, (s, r) => (u(), i("text", {
|
|
581
593
|
x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
582
|
-
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY +
|
|
594
|
+
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + d.value.datapointFontSize / 3,
|
|
583
595
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
584
596
|
"text-anchor": "start",
|
|
585
597
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
586
598
|
class: U({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
|
|
587
|
-
"font-size":
|
|
588
|
-
onMouseenter: (A) =>
|
|
599
|
+
"font-size": d.value.datapointFontSize,
|
|
600
|
+
onMouseenter: (A) => j({
|
|
589
601
|
shape: a.shape,
|
|
590
602
|
serieName: a.name,
|
|
591
603
|
serie: o,
|
|
@@ -593,17 +605,17 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
593
605
|
seriesIndex: o.seriesIndex
|
|
594
606
|
}),
|
|
595
607
|
onMouseleave: l[1] || (l[1] = (A) => {
|
|
596
|
-
|
|
608
|
+
m.value = null, L.value = !1;
|
|
597
609
|
}),
|
|
598
|
-
style: T(`opacity:${
|
|
599
|
-
}, D(xe({ value: s.value, index: r, datapoint: s })), 45,
|
|
610
|
+
style: T(`opacity:${m.value ? m.value === o.id ? 1 : 0.2 : 1}`)
|
|
611
|
+
}, D(xe({ value: s.value, index: r, datapoint: s })), 45, Ut))), 256)) : p("", !0),
|
|
600
612
|
F("path", {
|
|
601
613
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
602
614
|
stroke: a.color,
|
|
603
615
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
604
616
|
fill: "none",
|
|
605
617
|
class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
606
|
-
onMouseenter: (s) =>
|
|
618
|
+
onMouseenter: (s) => j({
|
|
607
619
|
shape: a.shape,
|
|
608
620
|
serieName: a.name,
|
|
609
621
|
serie: o,
|
|
@@ -611,10 +623,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
611
623
|
seriesIndex: o.seriesIndex
|
|
612
624
|
}),
|
|
613
625
|
onMouseleave: l[2] || (l[2] = (s) => {
|
|
614
|
-
|
|
626
|
+
m.value = null, L.value = !1;
|
|
615
627
|
}),
|
|
616
|
-
style: T(`opacity:${
|
|
617
|
-
}, null, 46,
|
|
628
|
+
style: T(`opacity:${m.value ? m.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
|
|
629
|
+
}, null, 46, Wt),
|
|
618
630
|
y.value.showTooltip ? (u(), i("path", {
|
|
619
631
|
key: 2,
|
|
620
632
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
@@ -622,7 +634,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
622
634
|
"stroke-width": 12,
|
|
623
635
|
fill: "none",
|
|
624
636
|
class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
625
|
-
onMouseenter: (s) =>
|
|
637
|
+
onMouseenter: (s) => j({
|
|
626
638
|
shape: a.shape,
|
|
627
639
|
serieName: a.name,
|
|
628
640
|
serie: o,
|
|
@@ -630,18 +642,18 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
630
642
|
seriesIndex: o.seriesIndex
|
|
631
643
|
}),
|
|
632
644
|
onMouseleave: l[3] || (l[3] = (s) => {
|
|
633
|
-
|
|
645
|
+
m.value = null, L.value = !1;
|
|
634
646
|
}),
|
|
635
647
|
style: { opacity: "0" }
|
|
636
|
-
}, null, 42,
|
|
648
|
+
}, null, 42, Et)) : p("", !0)
|
|
637
649
|
]))), 256))
|
|
638
650
|
]))), 256)),
|
|
639
|
-
|
|
640
|
-
], 14, _t)) :
|
|
651
|
+
b(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
652
|
+
], 14, _t)) : p("", !0),
|
|
641
653
|
t.$slots.watermark ? (u(), i("div", Vt, [
|
|
642
|
-
|
|
643
|
-
])) :
|
|
644
|
-
P.value ?
|
|
654
|
+
b(t.$slots, "watermark", W(E({ isPrinting: x(pe) || x(me) })), void 0, !0)
|
|
655
|
+
])) : p("", !0),
|
|
656
|
+
P.value ? p("", !0) : (u(), z(kt, {
|
|
645
657
|
key: 6,
|
|
646
658
|
config: {
|
|
647
659
|
type: "parallelCoordinatePlot",
|
|
@@ -657,21 +669,21 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
657
669
|
e.value.style.chart.legend.show && P.value ? (u(), z(pt, {
|
|
658
670
|
key: `legend_${ie.value}`,
|
|
659
671
|
legendSet: We.value,
|
|
660
|
-
config:
|
|
672
|
+
config: Ee.value,
|
|
661
673
|
onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
|
|
662
|
-
ge(a.id),
|
|
674
|
+
ge(a.id), Ce(a);
|
|
663
675
|
})
|
|
664
676
|
}, {
|
|
665
677
|
item: k(({ legend: a, index: o }) => [
|
|
666
678
|
F("div", {
|
|
667
679
|
onClick: (n) => {
|
|
668
|
-
a.segregate(),
|
|
680
|
+
a.segregate(), Ce(a);
|
|
669
681
|
},
|
|
670
682
|
style: T(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
|
|
671
|
-
}, D(a.name), 13,
|
|
683
|
+
}, D(a.name), 13, jt)
|
|
672
684
|
]),
|
|
673
685
|
_: 1
|
|
674
|
-
}, 8, ["legendSet", "config"])) :
|
|
686
|
+
}, 8, ["legendSet", "config"])) : b(t.$slots, "legend", {
|
|
675
687
|
key: 1,
|
|
676
688
|
legend: M.value
|
|
677
689
|
}, void 0, !0)
|
|
@@ -682,8 +694,8 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
682
694
|
ref: se,
|
|
683
695
|
dir: "auto"
|
|
684
696
|
}, [
|
|
685
|
-
|
|
686
|
-
], 512)) :
|
|
697
|
+
b(t.$slots, "source", {}, void 0, !0)
|
|
698
|
+
], 512)) : p("", !0),
|
|
687
699
|
_e(mt, {
|
|
688
700
|
show: y.value.showTooltip && L.value,
|
|
689
701
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -698,13 +710,13 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
698
710
|
parent: N.value,
|
|
699
711
|
content: K.value,
|
|
700
712
|
isFullscreen: S.value,
|
|
701
|
-
isCustom:
|
|
713
|
+
isCustom: x(ze)(e.value.style.chart.tooltip.customFormat)
|
|
702
714
|
}, {
|
|
703
715
|
"tooltip-before": k(() => [
|
|
704
|
-
|
|
716
|
+
b(t.$slots, "tooltip-before", W(E({ ...J.value })), void 0, !0)
|
|
705
717
|
]),
|
|
706
718
|
"tooltip-after": k(() => [
|
|
707
|
-
|
|
719
|
+
b(t.$slots, "tooltip-after", W(E({ ...J.value })), void 0, !0)
|
|
708
720
|
]),
|
|
709
721
|
_: 3
|
|
710
722
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -735,7 +747,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
735
747
|
onClose: l[5] || (l[5] = (a) => y.value.showTable = !1)
|
|
736
748
|
}, {
|
|
737
749
|
th: k(({ th: a }) => [
|
|
738
|
-
F("div", { innerHTML: a }, null, 8,
|
|
750
|
+
F("div", { innerHTML: a }, null, 8, Bt)
|
|
739
751
|
]),
|
|
740
752
|
td: k(({ td: a }) => [
|
|
741
753
|
qe(D(a), 1)
|
|
@@ -744,10 +756,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
|
|
|
744
756
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
745
757
|
]),
|
|
746
758
|
_: 1
|
|
747
|
-
}, 8, ["config"])) :
|
|
759
|
+
}, 8, ["config"])) : p("", !0)
|
|
748
760
|
], 46, Tt));
|
|
749
761
|
}
|
|
750
|
-
},
|
|
762
|
+
}, ua = /* @__PURE__ */ At(Rt, [["__scopeId", "data-v-298c2b7d"]]);
|
|
751
763
|
export {
|
|
752
|
-
|
|
764
|
+
ua as default
|
|
753
765
|
};
|