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,34 +1,34 @@
|
|
|
1
|
-
import { computed as m, ref as h, watch as lt, onMounted as at, onBeforeUnmount as ot, openBlock as o, createElementBlock as r, normalizeClass as
|
|
2
|
-
import { u as it, c as nt, t as vt, a as yt, p as q, o as ct, e as fe, b as dt, g as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as $t } from "./Title-
|
|
5
|
-
import { u as Ct, U as zt } from "./usePrinter-
|
|
6
|
-
import { _ as At } from "./Tooltip-
|
|
7
|
-
import { L as St } from "./Legend-
|
|
8
|
-
import { _ as
|
|
9
|
-
import { D as Lt } from "./DataTable-
|
|
10
|
-
import Tt from "./vue-ui-skeleton-
|
|
11
|
-
import Bt from "./vue-ui-accordion-
|
|
12
|
-
import { u as Ge } from "./useNestedProp-
|
|
13
|
-
import { _ as Ot } from "./PackageVersion-
|
|
14
|
-
import { P as Nt } from "./PenAndPaper-
|
|
1
|
+
import { computed as m, ref as h, watch as lt, onMounted as at, onBeforeUnmount as ot, openBlock as o, createElementBlock as r, normalizeClass as Ve, normalizeStyle as Y, unref as n, createBlock as j, createCommentVNode as c, createSlots as st, withCtx as _, renderSlot as M, normalizeProps as Q, guardReactiveProps as Z, createVNode as pe, createElementVNode as d, Fragment as N, renderList as X, toDisplayString as C, createTextVNode as ut, nextTick as rt } from "vue";
|
|
2
|
+
import { u as it, c as nt, t as vt, a as yt, p as q, o as ct, e as fe, b as dt, g as Ee, T as ht, R as pt, W as ft, X as gt, U as xt, s as ge, i as V, v as z, f as P, x as mt, y as bt, q as kt, r as wt } from "./index-B9RAElpI.js";
|
|
3
|
+
import { t as _t, u as Mt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as $t } from "./Title-zZtEcB9F.js";
|
|
5
|
+
import { u as Ct, U as zt } from "./usePrinter-CwTAwqtF.js";
|
|
6
|
+
import { _ as At } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import { L as St } from "./Legend-f52bnttJ.js";
|
|
8
|
+
import { _ as Ue } from "./Shape-Ct2x6qZx.js";
|
|
9
|
+
import { D as Lt } from "./DataTable-CFUKU8PU.js";
|
|
10
|
+
import Tt from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
11
|
+
import Bt from "./vue-ui-accordion-rNA598L6.js";
|
|
12
|
+
import { u as Ge } from "./useNestedProp-DuruL3Nt.js";
|
|
13
|
+
import { _ as Ot } from "./PackageVersion-C_FFs0BP.js";
|
|
14
|
+
import { P as Nt } from "./PenAndPaper-Dx24BtRW.js";
|
|
15
15
|
import { u as Pt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key:
|
|
18
|
-
key:
|
|
17
|
+
const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = ["width", "height"], Dt = { key: 1 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = { key: 2 }, Et = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Ut = { key: 0 }, Gt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Rt = { key: 1 }, qt = { key: 3 }, Ht = ["id"], Jt = ["stop-color"], Kt = ["stop-color"], Qt = ["id"], Zt = ["stop-color"], el = ["stop-color"], tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], ll = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], al = { key: 0 }, ol = ["d", "stroke", "stroke-width"], sl = ["d", "stroke", "stroke-width"], ul = ["d", "stroke", "stroke-width"], rl = ["d", "stroke", "stroke-width"], il = {
|
|
18
|
+
key: 4,
|
|
19
19
|
style: { "pointer-events": "none !important" }
|
|
20
|
-
},
|
|
20
|
+
}, nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], yl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], cl = ["x", "y", "font-size", "fill", "font-weight"], dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], hl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], pl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], fl = { key: 5 }, gl = ["x", "y", "font-size", "fill"], xl = ["x", "y", "font-size", "fill"], ml = ["id", "transform", "font-size", "font-weight", "fill"], bl = { key: 6 }, kl = ["x", "y", "font-size", "fill"], wl = ["x", "y", "font-size", "fill"], _l = ["font-size", "font-weight", "fill", "x", "y"], Ml = ["id"], $l = ["x", "y", "width", "height"], Cl = { key: 7 }, zl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], Al = ["x", "y", "fill", "font-size", "font-weight"], Sl = {
|
|
21
21
|
key: 5,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
23
|
+
}, Ll = ["onClick"], Tl = {
|
|
24
24
|
key: 0,
|
|
25
25
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
26
|
-
},
|
|
26
|
+
}, Bl = {
|
|
27
27
|
viewBox: "0 0 20 20",
|
|
28
28
|
height: "20",
|
|
29
29
|
width: "20",
|
|
30
30
|
style: { overflow: "hidden", background: "transparent" }
|
|
31
|
-
},
|
|
31
|
+
}, Ol = { key: 0 }, Nl = ["innerHTML"], Pl = {
|
|
32
32
|
__name: "vue-ui-scatter",
|
|
33
33
|
props: {
|
|
34
34
|
config: {
|
|
@@ -45,25 +45,25 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
setup(Re, { expose: qe }) {
|
|
48
|
-
const W = Re, { vue_ui_scatter: He } = it(), ee = m(() => !!W.dataset && W.dataset.length),
|
|
48
|
+
const W = Re, { vue_ui_scatter: He } = it(), ee = m(() => !!W.dataset && W.dataset.length), A = h(nt()), Je = h(null), ue = h(!1), re = h(""), xe = h(0), H = h(null), me = h(null), be = h(null), ke = h(null), we = h(null), _e = h(0), Me = h(0), $e = h(0), e = m({
|
|
49
49
|
get: () => Ae(),
|
|
50
|
-
set: (
|
|
50
|
+
set: (t) => t
|
|
51
51
|
}), { userOptionsVisible: ie, setUserOptionsVisibility: Ce, keepUserOptionState: ze } = Pt({ config: e.value });
|
|
52
52
|
function Ae() {
|
|
53
|
-
const
|
|
53
|
+
const t = Ge({
|
|
54
54
|
userConfig: W.config,
|
|
55
55
|
defaultConfig: He
|
|
56
56
|
});
|
|
57
|
-
return
|
|
57
|
+
return t.theme ? {
|
|
58
58
|
...Ge({
|
|
59
|
-
userConfig: vt.vue_ui_scatter[
|
|
60
|
-
defaultConfig:
|
|
59
|
+
userConfig: vt.vue_ui_scatter[t.theme] || W.config,
|
|
60
|
+
defaultConfig: t
|
|
61
61
|
}),
|
|
62
|
-
customPalette: yt[
|
|
63
|
-
} :
|
|
62
|
+
customPalette: yt[t.theme] || q
|
|
63
|
+
} : t;
|
|
64
64
|
}
|
|
65
|
-
lt(() => W.config, (
|
|
66
|
-
e.value = Ae(), ie.value = !e.value.showOnChartHover, Se(),
|
|
65
|
+
lt(() => W.config, (t) => {
|
|
66
|
+
e.value = Ae(), ie.value = !e.value.showOnChartHover, Se(), _e.value += 1, Me.value += 1, $e.value += 1;
|
|
67
67
|
}, { deep: !0 });
|
|
68
68
|
const te = h(null);
|
|
69
69
|
at(() => {
|
|
@@ -74,83 +74,83 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
74
74
|
componentName: "VueUiScatter",
|
|
75
75
|
type: "dataset"
|
|
76
76
|
}), e.value.responsive) {
|
|
77
|
-
const
|
|
78
|
-
const { width: u, height:
|
|
77
|
+
const t = _t(() => {
|
|
78
|
+
const { width: u, height: l } = Mt({
|
|
79
79
|
chart: H.value,
|
|
80
80
|
title: e.value.style.title.text ? me.value : null,
|
|
81
81
|
legend: e.value.style.legend.show ? be.value : null,
|
|
82
82
|
source: ke.value,
|
|
83
|
-
noTitle:
|
|
83
|
+
noTitle: we.value
|
|
84
84
|
});
|
|
85
|
-
|
|
85
|
+
b.value.width = u, b.value.height = l;
|
|
86
86
|
});
|
|
87
|
-
te.value = new ResizeObserver(
|
|
87
|
+
te.value = new ResizeObserver(t), te.value.observe(H.value.parentNode);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
ot(() => {
|
|
91
91
|
te.value && te.value.disconnect();
|
|
92
92
|
});
|
|
93
93
|
const { isPrinting: Le, isImaging: Te, generatePdf: Be, generateImage: Oe } = Ct({
|
|
94
|
-
elementId: `vue-ui-scatter_${
|
|
94
|
+
elementId: `vue-ui-scatter_${A.value}`,
|
|
95
95
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
96
96
|
}), Ke = m(() => e.value.userOptions.show && !e.value.style.title.text), Ne = m(() => dt(e.value.customPalette)), I = h({
|
|
97
97
|
showTable: e.value.table.show,
|
|
98
98
|
showTooltip: e.value.style.tooltip.show
|
|
99
|
-
}),
|
|
99
|
+
}), b = h({
|
|
100
100
|
height: e.value.style.layout.height,
|
|
101
101
|
width: e.value.style.layout.width
|
|
102
102
|
}), le = m(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), i = m(() => ({
|
|
103
103
|
top: e.value.style.layout.padding.top + le.value,
|
|
104
|
-
right:
|
|
105
|
-
bottom:
|
|
104
|
+
right: b.value.width - e.value.style.layout.padding.right - le.value,
|
|
105
|
+
bottom: b.value.height - e.value.style.layout.padding.bottom,
|
|
106
106
|
left: e.value.style.layout.padding.left,
|
|
107
|
-
height:
|
|
108
|
-
width:
|
|
107
|
+
height: b.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - le.value,
|
|
108
|
+
width: b.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - le.value
|
|
109
109
|
})), p = m(() => {
|
|
110
110
|
W.dataset.forEach((a, v) => {
|
|
111
|
-
|
|
111
|
+
Ee({
|
|
112
112
|
datasetObject: a,
|
|
113
113
|
requiredAttributes: ["values"]
|
|
114
|
-
}).forEach((
|
|
114
|
+
}).forEach((k) => {
|
|
115
115
|
fe({
|
|
116
116
|
componentName: "VueUiScatter",
|
|
117
117
|
type: "datasetSerieAttribute",
|
|
118
|
-
property:
|
|
118
|
+
property: k,
|
|
119
119
|
index: v
|
|
120
120
|
});
|
|
121
|
-
}), a.values && a.values.forEach((
|
|
122
|
-
|
|
123
|
-
datasetObject:
|
|
121
|
+
}), a.values && a.values.forEach((k, U) => {
|
|
122
|
+
Ee({
|
|
123
|
+
datasetObject: k,
|
|
124
124
|
requiredAttributes: ["x", "y"]
|
|
125
125
|
}).forEach((K) => {
|
|
126
126
|
fe({
|
|
127
127
|
componentName: "VueUiScatter",
|
|
128
128
|
type: "datasetSerieAttribute",
|
|
129
129
|
property: `values.${K}`,
|
|
130
|
-
index: `${v} - ${
|
|
130
|
+
index: `${v} - ${U}`
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
133
|
});
|
|
134
134
|
});
|
|
135
|
-
const
|
|
136
|
-
return { xMin:
|
|
135
|
+
const t = Math.min(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), u = Math.max(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), l = Math.min(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), s = Math.max(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
|
|
136
|
+
return { xMin: t >= 0 ? 0 : t, xMax: u, yMin: l >= 0 ? 0 : l, yMax: s };
|
|
137
137
|
}), f = m(() => ({
|
|
138
138
|
x: i.value.left + Math.abs(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * i.value.width,
|
|
139
139
|
y: i.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.value.yMin)) * i.value.height
|
|
140
|
-
})),
|
|
141
|
-
const
|
|
140
|
+
})), E = m(() => W.dataset.map((t, u) => {
|
|
141
|
+
const l = `cluster_${A.value}_${u}`;
|
|
142
142
|
return {
|
|
143
|
-
...
|
|
143
|
+
...t,
|
|
144
144
|
values: ht({
|
|
145
|
-
data:
|
|
145
|
+
data: t.values,
|
|
146
146
|
threshold: e.value.downsample.threshold
|
|
147
147
|
}),
|
|
148
|
-
id:
|
|
149
|
-
color:
|
|
150
|
-
opacity: x.value.includes(
|
|
151
|
-
shape:
|
|
152
|
-
segregate: () => Ie(
|
|
153
|
-
isSegregated: x.value.includes(
|
|
148
|
+
id: l,
|
|
149
|
+
color: t.color ? t.color : Ne.value[u] || q[u] || q[u % q.length],
|
|
150
|
+
opacity: x.value.includes(l) ? 0.5 : 1,
|
|
151
|
+
shape: t.shape ?? "circle",
|
|
152
|
+
segregate: () => Ie(l),
|
|
153
|
+
isSegregated: x.value.includes(l)
|
|
154
154
|
};
|
|
155
155
|
})), Qe = m(() => ({
|
|
156
156
|
cy: "scatter-div-legend",
|
|
@@ -159,161 +159,161 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
159
159
|
fontSize: e.value.style.legend.fontSize,
|
|
160
160
|
paddingBottom: 12,
|
|
161
161
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
162
|
-
})), ne = m(() =>
|
|
163
|
-
...
|
|
164
|
-
plots:
|
|
165
|
-
x: i.value.left + (
|
|
166
|
-
y: i.value.bottom - (
|
|
162
|
+
})), ne = m(() => E.value.map((t, u) => ({
|
|
163
|
+
...t,
|
|
164
|
+
plots: t.values.map((l) => ({
|
|
165
|
+
x: i.value.left + (l.x + Math.abs(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * i.value.width,
|
|
166
|
+
y: i.value.bottom - (l.y + Math.abs(p.value.yMin)) / (p.value.yMax + Math.abs(p.value.yMin)) * i.value.height,
|
|
167
167
|
v: {
|
|
168
|
-
...
|
|
169
|
-
name:
|
|
168
|
+
...l,
|
|
169
|
+
name: l.name || ""
|
|
170
170
|
},
|
|
171
|
-
clusterName:
|
|
172
|
-
color:
|
|
173
|
-
id: `plot_${
|
|
174
|
-
weight:
|
|
171
|
+
clusterName: t.name,
|
|
172
|
+
color: t.color ? t.color : Ne.value[u] || q[u] || q[u % q.length],
|
|
173
|
+
id: `plot_${A.value}_${Math.random()}`,
|
|
174
|
+
weight: l.weight ?? e.value.style.layout.plots.radius
|
|
175
175
|
}))
|
|
176
|
-
})).filter((
|
|
177
|
-
const u =
|
|
176
|
+
})).filter((t) => !x.value.includes(t.id))), S = m(() => ne.value.map((t) => {
|
|
177
|
+
const u = t.plots.reduce((g, G) => g + G.x, 0) / t.plots.length, l = t.plots.reduce((g, G) => g + G.y, 0) / t.plots.length;
|
|
178
178
|
let s = 0, a = 0, v = 0;
|
|
179
|
-
for (const g of
|
|
180
|
-
s += (g.x - u) * (g.y -
|
|
181
|
-
const
|
|
179
|
+
for (const g of t.plots)
|
|
180
|
+
s += (g.x - u) * (g.y - l), a += (g.x - u) ** 2, v += (g.y - l) ** 2;
|
|
181
|
+
const k = s / Math.sqrt(a * v), U = k * (Math.sqrt(v) / Math.sqrt(a)), K = l - U * u, O = {
|
|
182
182
|
x1: i.value.left,
|
|
183
183
|
x2: i.value.right,
|
|
184
|
-
y1:
|
|
185
|
-
y2:
|
|
186
|
-
coefficient:
|
|
187
|
-
},
|
|
184
|
+
y1: U * i.value.left + K,
|
|
185
|
+
y2: U * i.value.right + K,
|
|
186
|
+
coefficient: k
|
|
187
|
+
}, $ = (O.y2 - O.y1) / (O.x2 - O.x1), T = O.y1 - $ * O.x1, F = Math.min(b.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (i.value.top - T) / $)), se = {
|
|
188
188
|
x: F,
|
|
189
|
-
y:
|
|
189
|
+
y: $ * F + T <= e.value.style.layout.padding.top ? i.value.top : $ * F + T
|
|
190
190
|
};
|
|
191
191
|
return {
|
|
192
|
-
...
|
|
192
|
+
...t,
|
|
193
193
|
correlation: O,
|
|
194
194
|
label: se,
|
|
195
|
-
plots:
|
|
196
|
-
const G = (g.x +
|
|
195
|
+
plots: t.plots.map((g) => {
|
|
196
|
+
const G = (g.x + $ * g.y - $ * T) / (1 + Math.pow($, 2)), ce = ($ * g.x + Math.pow($, 2) * g.y + T) / (1 + Math.pow($, 2)), w = Math.sqrt(Math.pow(g.x - G, 2) + Math.pow(g.y - ce, 2));
|
|
197
197
|
return {
|
|
198
198
|
...g,
|
|
199
|
-
deviation:
|
|
200
|
-
shape:
|
|
201
|
-
color:
|
|
199
|
+
deviation: w,
|
|
200
|
+
shape: t.shape,
|
|
201
|
+
color: t.color
|
|
202
202
|
};
|
|
203
203
|
})
|
|
204
204
|
};
|
|
205
|
-
})), Pe = m(() => Math.max(...S.value.flatMap((
|
|
205
|
+
})), Pe = m(() => Math.max(...S.value.flatMap((t) => t.plots.map((u) => Math.abs(u.deviation)))));
|
|
206
206
|
function Ze() {
|
|
207
207
|
return S.value;
|
|
208
208
|
}
|
|
209
|
-
function We(
|
|
210
|
-
const
|
|
209
|
+
function We(t, u) {
|
|
210
|
+
const l = Array.isArray(t) ? t.flatMap((w) => w.plots.map((R) => ({
|
|
211
211
|
x: R.x,
|
|
212
212
|
y: R.y
|
|
213
|
-
}))) :
|
|
214
|
-
x:
|
|
215
|
-
y:
|
|
213
|
+
}))) : t.plots.map((w) => ({
|
|
214
|
+
x: w.x,
|
|
215
|
+
y: w.y
|
|
216
216
|
}));
|
|
217
|
-
let s = 1 / 0, a = -1 / 0, v = 1 / 0,
|
|
218
|
-
|
|
219
|
-
s = Math.min(s,
|
|
217
|
+
let s = 1 / 0, a = -1 / 0, v = 1 / 0, k = -1 / 0;
|
|
218
|
+
l.forEach(({ x: w, y: R }) => {
|
|
219
|
+
s = Math.min(s, w), a = Math.max(a, w), v = Math.min(v, R), k = Math.max(k, R);
|
|
220
220
|
});
|
|
221
|
-
const
|
|
222
|
-
|
|
223
|
-
const de = Math.floor((
|
|
221
|
+
const U = a - s, K = k - v, O = U / u, $ = K / u, T = Array(u).fill(0), F = Array(u).fill(0);
|
|
222
|
+
l.forEach(({ x: w, y: R }) => {
|
|
223
|
+
const de = Math.floor((w - s) / O), he = Math.floor((R - v) / $);
|
|
224
224
|
T[de] || (T[de] = 0), F[he] || (F[he] = 0), T[de] += 1, F[he] += 1;
|
|
225
225
|
});
|
|
226
226
|
const se = [], g = [];
|
|
227
|
-
for (let
|
|
228
|
-
se.push(s + (
|
|
227
|
+
for (let w = 0; w < u; w += 1)
|
|
228
|
+
se.push(s + (w + 0.5) * O), g.push(v + (w + 0.5) * $);
|
|
229
229
|
const G = Math.max(...T), ce = Math.max(...F);
|
|
230
230
|
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY: ce };
|
|
231
231
|
}
|
|
232
232
|
const D = m(() => e.value.style.layout.marginalBars.tranches), L = m(() => We(ne.value, D.value)), et = m(() => {
|
|
233
|
-
const
|
|
234
|
-
return ne.value.map((
|
|
235
|
-
const s = We(
|
|
233
|
+
const t = i.value.top - e.value.style.layout.marginalBars.offset, u = i.value.right + e.value.style.layout.marginalBars.offset;
|
|
234
|
+
return ne.value.map((l) => {
|
|
235
|
+
const s = We(l, D.value);
|
|
236
236
|
return {
|
|
237
237
|
coords: s,
|
|
238
238
|
dX: pt(s.avgX.map((a, v) => ({
|
|
239
239
|
x: a,
|
|
240
|
-
y:
|
|
240
|
+
y: t - s.x[v] / s.maxX * e.value.style.layout.marginalBars.size
|
|
241
241
|
}))),
|
|
242
242
|
dY: ft(s.avgY.map((a, v) => ({
|
|
243
243
|
y: a,
|
|
244
244
|
x: u + e.value.style.layout.marginalBars.size * s.y[v] / s.maxY
|
|
245
245
|
}))),
|
|
246
|
-
color:
|
|
247
|
-
id:
|
|
246
|
+
color: l.color,
|
|
247
|
+
id: l.id
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
250
|
}), B = h(void 0), y = h(null), ve = h(null);
|
|
251
|
-
function Fe(
|
|
252
|
-
B.value =
|
|
253
|
-
let
|
|
251
|
+
function Fe(t, u) {
|
|
252
|
+
B.value = t.id, y.value = t;
|
|
253
|
+
let l = "";
|
|
254
254
|
ve.value = {
|
|
255
|
-
datapoint:
|
|
255
|
+
datapoint: t,
|
|
256
256
|
seriesIndex: u,
|
|
257
257
|
series: S.value,
|
|
258
258
|
config: e.value
|
|
259
259
|
};
|
|
260
260
|
const s = e.value.style.tooltip.customFormat;
|
|
261
261
|
mt(s) && bt(() => s({
|
|
262
|
-
datapoint:
|
|
262
|
+
datapoint: t,
|
|
263
263
|
seriesIndex: u,
|
|
264
264
|
series: S.value,
|
|
265
265
|
config: e.value
|
|
266
266
|
})) ? re.value = s({
|
|
267
|
-
datapoint:
|
|
267
|
+
datapoint: t,
|
|
268
268
|
seriesIndex: u,
|
|
269
269
|
series: S.value,
|
|
270
270
|
config: e.value
|
|
271
|
-
}) : (
|
|
271
|
+
}) : (t.clusterName && (l += `<div style="display:flex;gap:3px;align-items:center">${t.clusterName}</div>`), t.v.name && (l += `<div>${t.v.name}</div>`), l += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, l += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(t.v.x) ? "-" : V(
|
|
272
272
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
273
|
-
|
|
273
|
+
t.v.x,
|
|
274
274
|
P({
|
|
275
275
|
p: e.value.style.tooltip.prefix,
|
|
276
|
-
v:
|
|
276
|
+
v: t.v.x,
|
|
277
277
|
s: e.value.style.tooltip.suffix,
|
|
278
278
|
r: e.value.style.tooltip.roundingValue
|
|
279
279
|
}),
|
|
280
|
-
{ datapoint:
|
|
281
|
-
)}</b></div>`,
|
|
280
|
+
{ datapoint: t, seriesIndex: u }
|
|
281
|
+
)}</b></div>`, l += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(t.v.y) ? "-" : V(
|
|
282
282
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
283
|
-
|
|
283
|
+
t.v.y,
|
|
284
284
|
P({
|
|
285
285
|
p: e.value.style.tooltip.prefix,
|
|
286
|
-
v:
|
|
286
|
+
v: t.v.y,
|
|
287
287
|
s: e.value.style.tooltip.suffix,
|
|
288
288
|
r: e.value.style.tooltip.roundingValue
|
|
289
289
|
}),
|
|
290
|
-
{ datapoint:
|
|
291
|
-
)}</b></div>`,
|
|
292
|
-
v:
|
|
290
|
+
{ datapoint: t, seriesIndex: u }
|
|
291
|
+
)}</b></div>`, l += `${e.value.style.layout.plots.deviation.translation}: <b>${P({
|
|
292
|
+
v: t.deviation,
|
|
293
293
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
294
|
-
})}</b>`,
|
|
294
|
+
})}</b>`, l += "</div>", re.value = `<div>${l}</div>`), ue.value = !0;
|
|
295
295
|
}
|
|
296
296
|
function Xe() {
|
|
297
297
|
ue.value = !1, B.value = void 0, y.value = null;
|
|
298
298
|
}
|
|
299
299
|
const x = h([]);
|
|
300
|
-
function Ie(
|
|
301
|
-
x.value.includes(
|
|
300
|
+
function Ie(t) {
|
|
301
|
+
x.value.includes(t) ? x.value = x.value.filter((u) => u !== t) : x.value.length < W.dataset.length - 1 && x.value.push(t);
|
|
302
302
|
}
|
|
303
303
|
function De() {
|
|
304
304
|
rt(() => {
|
|
305
|
-
const
|
|
305
|
+
const t = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], u = S.value.map((a) => [
|
|
306
306
|
a.name,
|
|
307
307
|
a.correlation.coefficient,
|
|
308
308
|
a.plots.length,
|
|
309
|
-
a.plots.map((v) => v.v.x).reduce((v,
|
|
310
|
-
a.plots.map((v) => v.v.y).reduce((v,
|
|
311
|
-
]),
|
|
312
|
-
|
|
309
|
+
a.plots.map((v) => v.v.x).reduce((v, k) => v + k, 0) / a.plots.length,
|
|
310
|
+
a.plots.map((v) => v.v.y).reduce((v, k) => v + k, 0) / a.plots.length
|
|
311
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(u), s = kt(l);
|
|
312
|
+
wt({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
315
|
const ae = m(() => {
|
|
316
|
-
const
|
|
316
|
+
const t = [
|
|
317
317
|
e.value.table.translations.series,
|
|
318
318
|
e.value.table.translations.correlationCoefficient,
|
|
319
319
|
e.value.table.translations.nbrPlots,
|
|
@@ -329,7 +329,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
329
329
|
s.plots.length.toLocaleString(),
|
|
330
330
|
Number((s.plots.map((a) => a.v.x ?? 0).reduce((a, v) => a + v, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
|
|
331
331
|
Number((s.plots.map((a) => a.v.y ?? 0).reduce((a, v) => a + v, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
|
|
332
|
-
]),
|
|
332
|
+
]), l = {
|
|
333
333
|
th: {
|
|
334
334
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
335
335
|
color: e.value.table.th.color,
|
|
@@ -342,15 +342,15 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
342
342
|
},
|
|
343
343
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
344
344
|
};
|
|
345
|
-
return { head:
|
|
345
|
+
return { head: t, body: u, config: l, colNames: t };
|
|
346
346
|
}), J = h(!1);
|
|
347
|
-
function tt(
|
|
348
|
-
J.value =
|
|
347
|
+
function tt(t) {
|
|
348
|
+
J.value = t, xe.value += 1;
|
|
349
349
|
}
|
|
350
350
|
function Ye() {
|
|
351
351
|
I.value.showTable = !I.value.showTable;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function je() {
|
|
354
354
|
I.value.showTooltip = !I.value.showTooltip;
|
|
355
355
|
}
|
|
356
356
|
const oe = h(!1);
|
|
@@ -363,18 +363,18 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
363
363
|
generateCsv: De,
|
|
364
364
|
generateImage: Oe,
|
|
365
365
|
toggleTable: Ye,
|
|
366
|
-
toggleTooltip:
|
|
366
|
+
toggleTooltip: je,
|
|
367
367
|
toggleAnnotator: ye
|
|
368
|
-
}), (
|
|
369
|
-
class:
|
|
368
|
+
}), (t, u) => (o(), r("div", {
|
|
369
|
+
class: Ve(`vue-ui-scatter ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
370
370
|
ref_key: "scatterChart",
|
|
371
371
|
ref: H,
|
|
372
|
-
id: `vue-ui-scatter_${
|
|
372
|
+
id: `vue-ui-scatter_${A.value}`,
|
|
373
373
|
style: Y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
374
374
|
onMouseenter: u[2] || (u[2] = () => n(Ce)(!0)),
|
|
375
375
|
onMouseleave: u[3] || (u[3] = () => n(Ce)(!1))
|
|
376
376
|
}, [
|
|
377
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
377
|
+
e.value.userOptions.buttons.annotator ? (o(), j(Nt, {
|
|
378
378
|
key: 0,
|
|
379
379
|
parent: H.value,
|
|
380
380
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -385,7 +385,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
385
385
|
Ke.value ? (o(), r("div", {
|
|
386
386
|
key: 1,
|
|
387
387
|
ref_key: "noTitle",
|
|
388
|
-
ref:
|
|
388
|
+
ref: we,
|
|
389
389
|
class: "vue-data-ui-no-title-space",
|
|
390
390
|
style: "height:36px; width: 100%;background:transparent"
|
|
391
391
|
}, null, 512)) : c("", !0),
|
|
@@ -395,8 +395,8 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
395
395
|
ref: me,
|
|
396
396
|
style: "width:100%;background:transparent"
|
|
397
397
|
}, [
|
|
398
|
-
(o(),
|
|
399
|
-
key: `title_${
|
|
398
|
+
(o(), j($t, {
|
|
399
|
+
key: `title_${_e.value}`,
|
|
400
400
|
config: {
|
|
401
401
|
title: {
|
|
402
402
|
cy: "scatter-div-title",
|
|
@@ -409,7 +409,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
409
409
|
}
|
|
410
410
|
}, null, 8, ["config"]))
|
|
411
411
|
], 512)) : c("", !0),
|
|
412
|
-
e.value.userOptions.show && ee.value && (n(ze) || n(ie)) ? (o(),
|
|
412
|
+
e.value.userOptions.show && ee.value && (n(ze) || n(ie)) ? (o(), j(zt, {
|
|
413
413
|
ref_key: "details",
|
|
414
414
|
ref: Je,
|
|
415
415
|
key: `user_options_${xe.value}`,
|
|
@@ -417,7 +417,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
417
417
|
color: e.value.style.color,
|
|
418
418
|
isImaging: n(Te),
|
|
419
419
|
isPrinting: n(Le),
|
|
420
|
-
uid:
|
|
420
|
+
uid: A.value,
|
|
421
421
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
422
422
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
423
423
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -436,58 +436,58 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
436
436
|
onGenerateCsv: De,
|
|
437
437
|
onGenerateImage: n(Oe),
|
|
438
438
|
onToggleTable: Ye,
|
|
439
|
-
onToggleTooltip:
|
|
439
|
+
onToggleTooltip: je,
|
|
440
440
|
onToggleAnnotator: ye,
|
|
441
441
|
style: Y({
|
|
442
442
|
visibility: n(ze) ? n(ie) ? "visible" : "hidden" : "visible"
|
|
443
443
|
})
|
|
444
444
|
}, st({ _: 2 }, [
|
|
445
|
-
|
|
445
|
+
t.$slots.optionTooltip ? {
|
|
446
446
|
name: "optionTooltip",
|
|
447
447
|
fn: _(() => [
|
|
448
|
-
M(
|
|
448
|
+
M(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
449
449
|
]),
|
|
450
450
|
key: "0"
|
|
451
451
|
} : void 0,
|
|
452
|
-
|
|
452
|
+
t.$slots.optionPdf ? {
|
|
453
453
|
name: "optionPdf",
|
|
454
454
|
fn: _(() => [
|
|
455
|
-
M(
|
|
455
|
+
M(t.$slots, "optionPdf", {}, void 0, !0)
|
|
456
456
|
]),
|
|
457
457
|
key: "1"
|
|
458
458
|
} : void 0,
|
|
459
|
-
|
|
459
|
+
t.$slots.optionCsv ? {
|
|
460
460
|
name: "optionCsv",
|
|
461
461
|
fn: _(() => [
|
|
462
|
-
M(
|
|
462
|
+
M(t.$slots, "optionCsv", {}, void 0, !0)
|
|
463
463
|
]),
|
|
464
464
|
key: "2"
|
|
465
465
|
} : void 0,
|
|
466
|
-
|
|
466
|
+
t.$slots.optionImg ? {
|
|
467
467
|
name: "optionImg",
|
|
468
468
|
fn: _(() => [
|
|
469
|
-
M(
|
|
469
|
+
M(t.$slots, "optionImg", {}, void 0, !0)
|
|
470
470
|
]),
|
|
471
471
|
key: "3"
|
|
472
472
|
} : void 0,
|
|
473
|
-
|
|
473
|
+
t.$slots.optionTable ? {
|
|
474
474
|
name: "optionTable",
|
|
475
475
|
fn: _(() => [
|
|
476
|
-
M(
|
|
476
|
+
M(t.$slots, "optionTable", {}, void 0, !0)
|
|
477
477
|
]),
|
|
478
478
|
key: "4"
|
|
479
479
|
} : void 0,
|
|
480
|
-
|
|
480
|
+
t.$slots.optionFullscreen ? {
|
|
481
481
|
name: "optionFullscreen",
|
|
482
|
-
fn: _(({ toggleFullscreen:
|
|
483
|
-
M(
|
|
482
|
+
fn: _(({ toggleFullscreen: l, isFullscreen: s }) => [
|
|
483
|
+
M(t.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: l, isFullscreen: s })), void 0, !0)
|
|
484
484
|
]),
|
|
485
485
|
key: "5"
|
|
486
486
|
} : void 0,
|
|
487
|
-
|
|
487
|
+
t.$slots.optionAnnotator ? {
|
|
488
488
|
name: "optionAnnotator",
|
|
489
|
-
fn: _(({ toggleAnnotator:
|
|
490
|
-
M(
|
|
489
|
+
fn: _(({ toggleAnnotator: l, isAnnotator: s }) => [
|
|
490
|
+
M(t.$slots, "optionAnnotator", Q(Z({ toggleAnnotator: l, isAnnotator: s })), void 0, !0)
|
|
491
491
|
]),
|
|
492
492
|
key: "6"
|
|
493
493
|
} : void 0
|
|
@@ -495,12 +495,24 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
495
495
|
ee.value ? (o(), r("svg", {
|
|
496
496
|
key: 4,
|
|
497
497
|
xmlns: n(gt),
|
|
498
|
-
class:
|
|
499
|
-
viewBox: `0 0 ${
|
|
498
|
+
class: Ve({ "vue-data-ui-fullscreen--on": J.value, "vue-data-ui-fulscreen--off": !J.value }),
|
|
499
|
+
viewBox: `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`,
|
|
500
500
|
style: Y(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
501
501
|
}, [
|
|
502
502
|
pe(Ot),
|
|
503
|
-
|
|
503
|
+
t.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
504
|
+
key: 0,
|
|
505
|
+
x: 0,
|
|
506
|
+
y: 0,
|
|
507
|
+
width: b.value.width <= 0 ? 10 : b.value.width,
|
|
508
|
+
height: b.value.height <= 0 ? 10 : b.value.height,
|
|
509
|
+
style: {
|
|
510
|
+
pointerEvents: "none"
|
|
511
|
+
}
|
|
512
|
+
}, [
|
|
513
|
+
M(t.$slots, "chart-background", {}, void 0, !0)
|
|
514
|
+
], 8, It)) : c("", !0),
|
|
515
|
+
e.value.style.layout.axis.show ? (o(), r("g", Dt, [
|
|
504
516
|
d("line", {
|
|
505
517
|
x1: f.value.x,
|
|
506
518
|
x2: f.value.x,
|
|
@@ -509,7 +521,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
509
521
|
stroke: e.value.style.layout.axis.stroke,
|
|
510
522
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
511
523
|
"stroke-linecap": "round"
|
|
512
|
-
}, null, 8,
|
|
524
|
+
}, null, 8, Yt),
|
|
513
525
|
d("line", {
|
|
514
526
|
x1: i.value.left,
|
|
515
527
|
x2: i.value.right,
|
|
@@ -518,53 +530,53 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
518
530
|
stroke: e.value.style.layout.axis.stroke,
|
|
519
531
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
520
532
|
"stroke-linecap": "round"
|
|
521
|
-
}, null, 8,
|
|
533
|
+
}, null, 8, jt)
|
|
522
534
|
])) : c("", !0),
|
|
523
535
|
e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Vt, [
|
|
524
|
-
(o(!0), r(N, null, X(S.value, (
|
|
525
|
-
|
|
536
|
+
(o(!0), r(N, null, X(S.value, (l, s) => (o(), r("g", null, [
|
|
537
|
+
l.plots.length > 2 ? (o(), r("polygon", {
|
|
526
538
|
key: 0,
|
|
527
|
-
points: n(xt)({ series:
|
|
528
|
-
fill: n(ge)(
|
|
539
|
+
points: n(xt)({ series: l.plots }),
|
|
540
|
+
fill: n(ge)(l.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
529
541
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
530
542
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
531
|
-
stroke:
|
|
543
|
+
stroke: l.color,
|
|
532
544
|
"stroke-linejoin": "round",
|
|
533
545
|
"stroke-linecap": "round"
|
|
534
|
-
}, null, 8,
|
|
546
|
+
}, null, 8, Et)) : c("", !0)
|
|
535
547
|
]))), 256))
|
|
536
548
|
])) : c("", !0),
|
|
537
|
-
(o(!0), r(N, null, X(S.value, (
|
|
538
|
-
!
|
|
539
|
-
(o(!0), r(N, null, X(
|
|
549
|
+
(o(!0), r(N, null, X(S.value, (l, s) => (o(), r("g", null, [
|
|
550
|
+
!l.shape || l.shape === "circle" ? (o(), r("g", Ut, [
|
|
551
|
+
(o(!0), r(N, null, X(l.plots, (a, v) => (o(), r("circle", {
|
|
540
552
|
cx: a.x,
|
|
541
553
|
cy: a.y,
|
|
542
554
|
r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
543
|
-
fill: n(ge)(
|
|
555
|
+
fill: n(ge)(l.color, e.value.style.layout.plots.opacity * 100),
|
|
544
556
|
stroke: e.value.style.layout.plots.stroke,
|
|
545
557
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
546
|
-
onMouseover: (
|
|
558
|
+
onMouseover: (k) => Fe(a, s),
|
|
547
559
|
onMouseleave: Xe,
|
|
548
560
|
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Pe.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
|
|
549
|
-
}, null, 44,
|
|
550
|
-
])) : (o(), r("g",
|
|
551
|
-
(o(!0), r(N, null, X(
|
|
561
|
+
}, null, 44, Gt))), 256))
|
|
562
|
+
])) : (o(), r("g", Rt, [
|
|
563
|
+
(o(!0), r(N, null, X(l.plots, (a, v) => (o(), j(Ue, {
|
|
552
564
|
plot: { x: a.x, y: a.y },
|
|
553
565
|
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
554
|
-
shape:
|
|
555
|
-
color: n(ge)(
|
|
566
|
+
shape: l.shape,
|
|
567
|
+
color: n(ge)(l.color, e.value.style.layout.plots.opacity * 100),
|
|
556
568
|
stroke: e.value.style.layout.plots.stroke,
|
|
557
569
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
558
|
-
onMouseover: (
|
|
570
|
+
onMouseover: (k) => Fe(a, s),
|
|
559
571
|
onMouseleave: Xe,
|
|
560
572
|
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Pe.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
|
|
561
573
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
562
574
|
]))
|
|
563
575
|
]))), 256)),
|
|
564
|
-
e.value.style.layout.marginalBars.show ? (o(), r("g",
|
|
576
|
+
e.value.style.layout.marginalBars.show ? (o(), r("g", qt, [
|
|
565
577
|
d("defs", null, [
|
|
566
578
|
d("linearGradient", {
|
|
567
|
-
id: `marginal_x_${
|
|
579
|
+
id: `marginal_x_${A.value}`,
|
|
568
580
|
x1: "0%",
|
|
569
581
|
y1: "0%",
|
|
570
582
|
x2: "0%",
|
|
@@ -573,14 +585,14 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
573
585
|
d("stop", {
|
|
574
586
|
offset: "0%",
|
|
575
587
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
576
|
-
}, null, 8,
|
|
588
|
+
}, null, 8, Jt),
|
|
577
589
|
d("stop", {
|
|
578
590
|
offset: "100%",
|
|
579
591
|
"stop-color": e.value.style.backgroundColor
|
|
580
|
-
}, null, 8,
|
|
581
|
-
], 8,
|
|
592
|
+
}, null, 8, Kt)
|
|
593
|
+
], 8, Ht),
|
|
582
594
|
d("linearGradient", {
|
|
583
|
-
id: `marginal_y_${
|
|
595
|
+
id: `marginal_y_${A.value}`,
|
|
584
596
|
x1: "0%",
|
|
585
597
|
x2: "100%",
|
|
586
598
|
y1: "0%",
|
|
@@ -589,83 +601,83 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
589
601
|
d("stop", {
|
|
590
602
|
offset: "0%",
|
|
591
603
|
"stop-color": e.value.style.backgroundColor
|
|
592
|
-
}, null, 8,
|
|
604
|
+
}, null, 8, Zt),
|
|
593
605
|
d("stop", {
|
|
594
606
|
offset: "100%",
|
|
595
607
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
596
|
-
}, null, 8,
|
|
597
|
-
], 8,
|
|
608
|
+
}, null, 8, el)
|
|
609
|
+
], 8, Qt)
|
|
598
610
|
]),
|
|
599
|
-
(o(!0), r(N, null, X(L.value.x, (
|
|
600
|
-
|
|
611
|
+
(o(!0), r(N, null, X(L.value.x, (l, s) => (o(), r("g", null, [
|
|
612
|
+
l && L.value.avgX[s] ? (o(), r("rect", {
|
|
601
613
|
key: 0,
|
|
602
614
|
x: L.value.avgX[s] - i.value.width / D.value / 2,
|
|
603
|
-
y: i.value.top - e.value.style.layout.marginalBars.offset -
|
|
615
|
+
y: i.value.top - e.value.style.layout.marginalBars.offset - l / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
604
616
|
width: i.value.width / D.value <= 0 ? 1e-4 : i.value.width / D.value,
|
|
605
|
-
height:
|
|
606
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${
|
|
617
|
+
height: l / L.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
618
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${A.value})` : e.value.style.layout.marginalBars.fill,
|
|
607
619
|
style: Y(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
608
620
|
stroke: e.value.style.backgroundColor,
|
|
609
621
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
610
622
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
611
|
-
}, null, 12,
|
|
623
|
+
}, null, 12, tl)) : c("", !0)
|
|
612
624
|
]))), 256)),
|
|
613
|
-
(o(!0), r(N, null, X(L.value.y, (
|
|
614
|
-
|
|
625
|
+
(o(!0), r(N, null, X(L.value.y, (l, s) => (o(), r("g", null, [
|
|
626
|
+
l && L.value.avgY[s] ? (o(), r("rect", {
|
|
615
627
|
key: 0,
|
|
616
628
|
x: i.value.right + e.value.style.layout.marginalBars.offset,
|
|
617
629
|
y: L.value.avgY[s] - i.value.height / D.value / 2,
|
|
618
630
|
height: i.value.height / D.value <= 0 ? 1e-4 : i.value.height / D.value,
|
|
619
|
-
width:
|
|
620
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${
|
|
631
|
+
width: l / L.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : l / L.value.maxY * e.value.style.layout.marginalBars.size,
|
|
632
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${A.value})` : e.value.style.layout.marginalBars.fill,
|
|
621
633
|
style: Y(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
622
634
|
stroke: e.value.style.backgroundColor,
|
|
623
635
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
624
636
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
625
|
-
}, null, 12,
|
|
637
|
+
}, null, 12, ll)) : c("", !0)
|
|
626
638
|
]))), 256)),
|
|
627
|
-
e.value.style.layout.marginalBars.showLines ? (o(), r("g",
|
|
628
|
-
(o(!0), r(N, null, X(et.value, (
|
|
629
|
-
x.value.includes(
|
|
639
|
+
e.value.style.layout.marginalBars.showLines ? (o(), r("g", al, [
|
|
640
|
+
(o(!0), r(N, null, X(et.value, (l) => (o(), r(N, null, [
|
|
641
|
+
x.value.includes(l.id) ? c("", !0) : (o(), r("path", {
|
|
630
642
|
key: 0,
|
|
631
|
-
d: `M ${
|
|
643
|
+
d: `M ${l.dX}`,
|
|
632
644
|
stroke: e.value.style.backgroundColor,
|
|
633
645
|
"stroke-width": e.value.style.layout.marginalBars.linesStrokeWidth + 1,
|
|
634
646
|
"stroke-linecap": "round",
|
|
635
647
|
"stroke-linejoin": "round",
|
|
636
648
|
fill: "none"
|
|
637
|
-
}, null, 8,
|
|
638
|
-
x.value.includes(
|
|
649
|
+
}, null, 8, ol)),
|
|
650
|
+
x.value.includes(l.id) ? c("", !0) : (o(), r("path", {
|
|
639
651
|
key: 1,
|
|
640
|
-
d: `M ${
|
|
641
|
-
stroke:
|
|
652
|
+
d: `M ${l.dX}`,
|
|
653
|
+
stroke: l.color,
|
|
642
654
|
"stroke-width": e.value.style.layout.marginalBars.linesStrokeWidth,
|
|
643
655
|
"stroke-linecap": "round",
|
|
644
656
|
"stroke-linejoin": "round",
|
|
645
657
|
fill: "none"
|
|
646
|
-
}, null, 8,
|
|
647
|
-
x.value.includes(
|
|
658
|
+
}, null, 8, sl)),
|
|
659
|
+
x.value.includes(l.id) ? c("", !0) : (o(), r("path", {
|
|
648
660
|
key: 2,
|
|
649
|
-
d: `M ${
|
|
661
|
+
d: `M ${l.dY}`,
|
|
650
662
|
stroke: e.value.style.backgroundColor,
|
|
651
663
|
"stroke-width": e.value.style.layout.marginalBars.linesStrokeWidth + 1,
|
|
652
664
|
"stroke-linecap": "round",
|
|
653
665
|
"stroke-linejoin": "round",
|
|
654
666
|
fill: "none"
|
|
655
|
-
}, null, 8,
|
|
656
|
-
x.value.includes(
|
|
667
|
+
}, null, 8, ul)),
|
|
668
|
+
x.value.includes(l.id) ? c("", !0) : (o(), r("path", {
|
|
657
669
|
key: 3,
|
|
658
|
-
d: `M ${
|
|
659
|
-
stroke:
|
|
670
|
+
d: `M ${l.dY}`,
|
|
671
|
+
stroke: l.color,
|
|
660
672
|
"stroke-width": e.value.style.layout.marginalBars.linesStrokeWidth,
|
|
661
673
|
"stroke-linecap": "round",
|
|
662
674
|
"stroke-linejoin": "round",
|
|
663
675
|
fill: "none"
|
|
664
|
-
}, null, 8,
|
|
676
|
+
}, null, 8, rl))
|
|
665
677
|
], 64))), 256))
|
|
666
678
|
])) : c("", !0)
|
|
667
679
|
])) : c("", !0),
|
|
668
|
-
y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g",
|
|
680
|
+
y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", il, [
|
|
669
681
|
d("line", {
|
|
670
682
|
x1: f.value.x,
|
|
671
683
|
x2: y.value.x,
|
|
@@ -676,7 +688,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
676
688
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
677
689
|
"stroke-linecap": "round",
|
|
678
690
|
class: "line-pointer"
|
|
679
|
-
}, null, 8,
|
|
691
|
+
}, null, 8, nl),
|
|
680
692
|
d("line", {
|
|
681
693
|
x1: y.value.x,
|
|
682
694
|
x2: y.value.x,
|
|
@@ -687,7 +699,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
687
699
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
688
700
|
"stroke-linecap": "round",
|
|
689
701
|
class: "line-pointer"
|
|
690
|
-
}, null, 8,
|
|
702
|
+
}, null, 8, vl),
|
|
691
703
|
d("text", {
|
|
692
704
|
x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
|
|
693
705
|
y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
@@ -695,17 +707,17 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
695
707
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
696
708
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
697
709
|
"text-anchor": y.value.x > f.value.x ? "end" : "start"
|
|
698
|
-
},
|
|
710
|
+
}, C(n(V)(
|
|
699
711
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
700
|
-
n(
|
|
712
|
+
n(z)(y.value.v.y),
|
|
701
713
|
n(P)({
|
|
702
714
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
703
|
-
v: n(
|
|
715
|
+
v: n(z)(y.value.v.y),
|
|
704
716
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
705
717
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
706
718
|
}),
|
|
707
719
|
{ datapoint: y.value }
|
|
708
|
-
)), 9,
|
|
720
|
+
)), 9, yl),
|
|
709
721
|
d("text", {
|
|
710
722
|
x: y.value.x,
|
|
711
723
|
y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
@@ -713,17 +725,17 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
713
725
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
714
726
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
715
727
|
"text-anchor": "middle"
|
|
716
|
-
},
|
|
728
|
+
}, C(n(V)(
|
|
717
729
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
718
|
-
n(
|
|
730
|
+
n(z)(y.value.v.x),
|
|
719
731
|
n(P)({
|
|
720
732
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
721
|
-
v: n(
|
|
733
|
+
v: n(z)(y.value.v.x),
|
|
722
734
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
723
735
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
724
736
|
}),
|
|
725
737
|
{ datapoint: y.value }
|
|
726
|
-
)), 9,
|
|
738
|
+
)), 9, cl),
|
|
727
739
|
d("circle", {
|
|
728
740
|
cx: f.value.x,
|
|
729
741
|
cy: y.value.y,
|
|
@@ -732,7 +744,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
732
744
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
733
745
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
734
746
|
class: "line-pointer"
|
|
735
|
-
}, null, 8,
|
|
747
|
+
}, null, 8, dl),
|
|
736
748
|
d("circle", {
|
|
737
749
|
cx: y.value.x,
|
|
738
750
|
cy: f.value.y,
|
|
@@ -741,7 +753,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
741
753
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
742
754
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
743
755
|
class: "line-pointer"
|
|
744
|
-
}, null, 8,
|
|
756
|
+
}, null, 8, hl),
|
|
745
757
|
e.value.style.layout.plots.selectors.labels.showName ? (o(), r("text", {
|
|
746
758
|
key: 0,
|
|
747
759
|
x: y.value.x,
|
|
@@ -750,83 +762,83 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
750
762
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
751
763
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
752
764
|
"text-anchor": y.value.x < i.value.left + 100 ? "start" : y.value.x > i.value.right - 100 ? "end" : y.value.x > f.value.x ? "start" : "end"
|
|
753
|
-
},
|
|
765
|
+
}, C(y.value.v.name), 9, pl)) : c("", !0)
|
|
754
766
|
])) : c("", !0),
|
|
755
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g",
|
|
767
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", fl, [
|
|
756
768
|
d("text", {
|
|
757
769
|
x: i.value.left - 5,
|
|
758
770
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
759
771
|
"text-anchor": "end",
|
|
760
772
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
761
773
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
762
|
-
},
|
|
774
|
+
}, C(n(V)(
|
|
763
775
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
764
|
-
n(
|
|
776
|
+
n(z)(p.value.xMin),
|
|
765
777
|
n(P)({
|
|
766
778
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
767
|
-
v: n(
|
|
779
|
+
v: n(z)(p.value.xMin),
|
|
768
780
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
769
781
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
770
782
|
})
|
|
771
|
-
)), 9,
|
|
783
|
+
)), 9, gl),
|
|
772
784
|
d("text", {
|
|
773
785
|
x: i.value.right + 3,
|
|
774
786
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
775
787
|
"text-anchor": "start",
|
|
776
788
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
777
789
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
778
|
-
},
|
|
790
|
+
}, C(n(V)(
|
|
779
791
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
780
|
-
n(
|
|
792
|
+
n(z)(p.value.xMax),
|
|
781
793
|
n(P)({
|
|
782
794
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
783
|
-
v: n(
|
|
795
|
+
v: n(z)(p.value.xMax),
|
|
784
796
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
785
797
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
786
798
|
})
|
|
787
|
-
)), 9,
|
|
799
|
+
)), 9, xl),
|
|
788
800
|
d("text", {
|
|
789
|
-
id: `vue-ui-scatter-xAxis-label-${
|
|
801
|
+
id: `vue-ui-scatter-xAxis-label-${A.value}`,
|
|
790
802
|
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${i.value.top + i.value.height / 2}), rotate(-90)`,
|
|
791
803
|
"text-anchor": "middle",
|
|
792
804
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
793
805
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
794
806
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
795
|
-
},
|
|
807
|
+
}, C(e.value.style.layout.dataLabels.xAxis.name), 9, ml)
|
|
796
808
|
])) : c("", !0),
|
|
797
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g",
|
|
809
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", bl, [
|
|
798
810
|
d("text", {
|
|
799
811
|
x: f.value.x,
|
|
800
812
|
y: i.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
801
813
|
"text-anchor": "middle",
|
|
802
814
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
803
815
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
804
|
-
},
|
|
816
|
+
}, C(n(V)(
|
|
805
817
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
806
|
-
n(
|
|
818
|
+
n(z)(p.value.yMin),
|
|
807
819
|
n(P)({
|
|
808
820
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
809
|
-
v: n(
|
|
821
|
+
v: n(z)(p.value.yMin),
|
|
810
822
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
811
823
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
812
824
|
})
|
|
813
|
-
)), 9,
|
|
825
|
+
)), 9, kl),
|
|
814
826
|
d("text", {
|
|
815
827
|
x: f.value.x,
|
|
816
828
|
y: i.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
817
829
|
"text-anchor": "middle",
|
|
818
830
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
819
831
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
820
|
-
},
|
|
832
|
+
}, C(n(V)(
|
|
821
833
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
822
|
-
n(
|
|
834
|
+
n(z)(p.value.yMax),
|
|
823
835
|
n(P)({
|
|
824
836
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
825
|
-
v: n(
|
|
837
|
+
v: n(z)(p.value.yMax),
|
|
826
838
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
827
839
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
828
840
|
})
|
|
829
|
-
)), 9,
|
|
841
|
+
)), 9, wl),
|
|
830
842
|
d("text", {
|
|
831
843
|
"text-anchor": "middle",
|
|
832
844
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -834,49 +846,49 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
834
846
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
835
847
|
x: i.value.left + i.value.width / 2,
|
|
836
848
|
y: i.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
837
|
-
},
|
|
849
|
+
}, C(e.value.style.layout.dataLabels.yAxis.name), 9, _l)
|
|
838
850
|
])) : c("", !0),
|
|
839
851
|
d("clipPath", {
|
|
840
|
-
id: `clip_path_${
|
|
852
|
+
id: `clip_path_${A.value}`
|
|
841
853
|
}, [
|
|
842
854
|
d("rect", {
|
|
843
855
|
x: i.value.left,
|
|
844
856
|
y: i.value.top,
|
|
845
857
|
width: i.value.width <= 0 ? 1e-4 : i.value.width,
|
|
846
858
|
height: i.value.height <= 0 ? 1e-4 : i.value.height
|
|
847
|
-
}, null, 8,
|
|
848
|
-
], 8,
|
|
849
|
-
e.value.style.layout.correlation.show ? (o(), r("g",
|
|
850
|
-
(o(!0), r(N, null, X(S.value, (
|
|
851
|
-
x1:
|
|
852
|
-
x2:
|
|
853
|
-
y1:
|
|
854
|
-
y2:
|
|
859
|
+
}, null, 8, $l)
|
|
860
|
+
], 8, Ml),
|
|
861
|
+
e.value.style.layout.correlation.show ? (o(), r("g", Cl, [
|
|
862
|
+
(o(!0), r(N, null, X(S.value, (l, s) => (o(), r("line", {
|
|
863
|
+
x1: l.correlation.x1,
|
|
864
|
+
x2: l.correlation.x2,
|
|
865
|
+
y1: l.correlation.y1,
|
|
866
|
+
y2: l.correlation.y2,
|
|
855
867
|
"stroke-dasharray": e.value.style.layout.correlation.strokeDasharray,
|
|
856
|
-
stroke:
|
|
868
|
+
stroke: l.color,
|
|
857
869
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
858
|
-
"clip-path": `url(#clip_path_${
|
|
859
|
-
}, null, 8,
|
|
860
|
-
(o(!0), r(N, null, X(S.value, (
|
|
870
|
+
"clip-path": `url(#clip_path_${A.value})`
|
|
871
|
+
}, null, 8, zl))), 256)),
|
|
872
|
+
(o(!0), r(N, null, X(S.value, (l, s) => (o(), r("g", null, [
|
|
861
873
|
e.value.style.layout.correlation.label.show ? (o(), r("text", {
|
|
862
874
|
key: 0,
|
|
863
|
-
x:
|
|
864
|
-
y:
|
|
865
|
-
fill: e.value.style.layout.correlation.label.useSerieColor ?
|
|
875
|
+
x: l.label.x,
|
|
876
|
+
y: l.label.y,
|
|
877
|
+
fill: e.value.style.layout.correlation.label.useSerieColor ? l.color : e.value.style.layout.correlation.label.color,
|
|
866
878
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
867
879
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
868
|
-
},
|
|
869
|
-
v: n(
|
|
880
|
+
}, C(n(P)({
|
|
881
|
+
v: n(z)(l.correlation.coefficient),
|
|
870
882
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
871
|
-
})), 9,
|
|
883
|
+
})), 9, Al)) : c("", !0)
|
|
872
884
|
]))), 256))
|
|
873
885
|
])) : c("", !0),
|
|
874
|
-
M(
|
|
886
|
+
M(t.$slots, "svg", { svg: b.value }, void 0, !0)
|
|
875
887
|
], 14, Xt)) : c("", !0),
|
|
876
|
-
|
|
877
|
-
M(
|
|
888
|
+
t.$slots.watermark ? (o(), r("div", Sl, [
|
|
889
|
+
M(t.$slots, "watermark", Q(Z({ isPrinting: n(Le) || n(Te) })), void 0, !0)
|
|
878
890
|
])) : c("", !0),
|
|
879
|
-
ee.value ? c("", !0) : (o(),
|
|
891
|
+
ee.value ? c("", !0) : (o(), j(Tt, {
|
|
880
892
|
key: 6,
|
|
881
893
|
config: {
|
|
882
894
|
type: "quadrant",
|
|
@@ -898,31 +910,31 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
898
910
|
ref_key: "chartLegend",
|
|
899
911
|
ref: be
|
|
900
912
|
}, [
|
|
901
|
-
e.value.style.legend.show ? (o(),
|
|
913
|
+
e.value.style.legend.show ? (o(), j(St, {
|
|
902
914
|
key: `legend_${$e.value}`,
|
|
903
|
-
legendSet:
|
|
915
|
+
legendSet: E.value,
|
|
904
916
|
config: Qe.value,
|
|
905
|
-
onClickMarker: u[0] || (u[0] = ({ legend:
|
|
917
|
+
onClickMarker: u[0] || (u[0] = ({ legend: l }) => Ie(l.id))
|
|
906
918
|
}, {
|
|
907
|
-
item: _(({ legend:
|
|
919
|
+
item: _(({ legend: l }) => [
|
|
908
920
|
d("div", {
|
|
909
|
-
onClick: (s) =>
|
|
910
|
-
style: Y(`opacity:${x.value.includes(
|
|
911
|
-
},
|
|
921
|
+
onClick: (s) => l.segregate(),
|
|
922
|
+
style: Y(`opacity:${x.value.includes(l.id) ? 0.5 : 1}`)
|
|
923
|
+
}, C(l.name), 13, Ll)
|
|
912
924
|
]),
|
|
913
925
|
_: 1
|
|
914
|
-
}, 8, ["legendSet", "config"])) : M(
|
|
926
|
+
}, 8, ["legendSet", "config"])) : M(t.$slots, "legend", {
|
|
915
927
|
key: 1,
|
|
916
|
-
legend:
|
|
928
|
+
legend: E.value
|
|
917
929
|
}, void 0, !0)
|
|
918
930
|
], 512),
|
|
919
|
-
|
|
931
|
+
t.$slots.source ? (o(), r("div", {
|
|
920
932
|
key: 7,
|
|
921
933
|
ref_key: "source",
|
|
922
934
|
ref: ke,
|
|
923
935
|
dir: "auto"
|
|
924
936
|
}, [
|
|
925
|
-
M(
|
|
937
|
+
M(t.$slots, "source", {}, void 0, !0)
|
|
926
938
|
], 512)) : c("", !0),
|
|
927
939
|
pe(At, {
|
|
928
940
|
show: I.value.showTooltip && ue.value,
|
|
@@ -941,15 +953,15 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
941
953
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
942
954
|
}, {
|
|
943
955
|
"tooltip-before": _(() => [
|
|
944
|
-
M(
|
|
956
|
+
M(t.$slots, "tooltip-before", Q(Z({ ...ve.value })), void 0, !0)
|
|
945
957
|
]),
|
|
946
958
|
"tooltip-after": _(() => [
|
|
947
|
-
M(
|
|
959
|
+
M(t.$slots, "tooltip-after", Q(Z({ ...ve.value })), void 0, !0)
|
|
948
960
|
]),
|
|
949
961
|
default: _(() => [
|
|
950
|
-
e.value.style.tooltip.showShape ? (o(), r("div",
|
|
951
|
-
(o(), r("svg",
|
|
952
|
-
pe(
|
|
962
|
+
e.value.style.tooltip.showShape ? (o(), r("div", Tl, [
|
|
963
|
+
(o(), r("svg", Bl, [
|
|
964
|
+
pe(Ue, {
|
|
953
965
|
shape: y.value.shape,
|
|
954
966
|
color: y.value.color,
|
|
955
967
|
plot: { x: 10, y: 10 },
|
|
@@ -960,7 +972,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
960
972
|
]),
|
|
961
973
|
_: 3
|
|
962
974
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
963
|
-
ee.value ? (o(),
|
|
975
|
+
ee.value ? (o(), j(Bt, {
|
|
964
976
|
key: 8,
|
|
965
977
|
hideDetails: "",
|
|
966
978
|
config: {
|
|
@@ -977,25 +989,25 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
977
989
|
}
|
|
978
990
|
}, {
|
|
979
991
|
content: _(() => [
|
|
980
|
-
(o(),
|
|
992
|
+
(o(), j(Lt, {
|
|
981
993
|
key: `table_${Me.value}`,
|
|
982
994
|
colNames: ae.value.colNames,
|
|
983
995
|
head: ae.value.head,
|
|
984
996
|
body: ae.value.body,
|
|
985
997
|
config: ae.value.config,
|
|
986
998
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
987
|
-
onClose: u[1] || (u[1] = (
|
|
999
|
+
onClose: u[1] || (u[1] = (l) => I.value.showTable = !1)
|
|
988
1000
|
}, {
|
|
989
|
-
th: _(({ th:
|
|
990
|
-
ut(
|
|
1001
|
+
th: _(({ th: l }) => [
|
|
1002
|
+
ut(C(l), 1)
|
|
991
1003
|
]),
|
|
992
|
-
td: _(({ td:
|
|
993
|
-
|
|
994
|
-
d("span", null,
|
|
1004
|
+
td: _(({ td: l }) => [
|
|
1005
|
+
l.shape ? (o(), r("div", Ol, [
|
|
1006
|
+
d("span", null, C(l.content), 1)
|
|
995
1007
|
])) : (o(), r("div", {
|
|
996
1008
|
key: 1,
|
|
997
|
-
innerHTML:
|
|
998
|
-
}, null, 8,
|
|
1009
|
+
innerHTML: l
|
|
1010
|
+
}, null, 8, Nl))
|
|
999
1011
|
]),
|
|
1000
1012
|
_: 1
|
|
1001
1013
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -1004,7 +1016,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
1004
1016
|
}, 8, ["config"])) : c("", !0)
|
|
1005
1017
|
], 46, Ft));
|
|
1006
1018
|
}
|
|
1007
|
-
},
|
|
1019
|
+
}, Ql = /* @__PURE__ */ Wt(Pl, [["__scopeId", "data-v-19af165c"]]);
|
|
1008
1020
|
export {
|
|
1009
|
-
|
|
1021
|
+
Ql as default
|
|
1010
1022
|
};
|