vue-data-ui 2.4.1 → 2.4.3
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 +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { computed as k, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as k, ref as h, watch as Ke, onMounted as Qe, onBeforeUnmount as Ze, openBlock as o, createElementBlock as r, normalizeClass as Ie, normalizeStyle as q, createBlock as Y, createCommentVNode as c, unref as v, createSlots as et, withCtx as _, renderSlot as $, normalizeProps as Q, guardReactiveProps as Z, createVNode as he, createElementVNode as d, Fragment as P, renderList as X, toDisplayString as M, createTextVNode as tt, nextTick as lt } from "vue";
|
|
2
|
+
import { u as at, c as ot, t as st, a as ut, p as U, o as rt, e as pe, b as it, g as De, R as nt, V as vt, X as yt, T as ct, s as fe, i as j, v as C, f as W, x as dt, y as ht, q as pt, r as ft } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as gt, u as xt } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as mt } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as bt, U as kt } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { _ as _t } from "./Tooltip-Cz24YLfw.js";
|
|
7
|
+
import { L as wt } from "./Legend-DNgTCgEK.js";
|
|
8
|
+
import { _ as Ye } from "./Shape-Bwon0l0g.js";
|
|
9
|
+
import { D as $t } from "./DataTable-DYqC2pqu.js";
|
|
10
|
+
import Mt from "./vue-ui-skeleton-BYssP0K4.js";
|
|
11
|
+
import Ct from "./vue-ui-accordion-DfUfL2dI.js";
|
|
12
|
+
import { u as je } from "./useNestedProp-B33hazbH.js";
|
|
13
|
+
import { _ as zt } from "./PackageVersion-VkaUzgmt.js";
|
|
14
|
+
import { P as At } from "./PenAndPaper-DAZYA8Ew.js";
|
|
15
|
+
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Lt = ["id"], Tt = ["xmlns", "viewBox"], Bt = { key: 0 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 1 }, Ot = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Ft = { key: 0 }, Xt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], It = { key: 1 }, Dt = { key: 2 }, Yt = ["id"], jt = ["stop-color"], Vt = ["stop-color"], Et = ["id"], Gt = ["stop-color"], Rt = ["stop-color"], qt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], Ut = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ht = { key: 0 }, Jt = ["d", "stroke", "stroke-width"], Kt = ["d", "stroke", "stroke-width"], Qt = ["d", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], el = {
|
|
16
17
|
key: 3,
|
|
17
18
|
style: { "pointer-events": "none !important" }
|
|
18
|
-
},
|
|
19
|
-
key:
|
|
19
|
+
}, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], al = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ol = ["x", "y", "font-size", "fill", "font-weight"], sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ul = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], rl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], il = { key: 4 }, nl = ["x", "y", "font-size", "fill"], vl = ["x", "y", "font-size", "fill"], yl = ["id", "transform", "font-size", "font-weight", "fill"], cl = { key: 5 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], pl = ["font-size", "font-weight", "fill", "x", "y"], fl = ["id"], gl = ["x", "y", "width", "height"], xl = { key: 6 }, ml = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], bl = ["x", "y", "fill", "font-size", "font-weight"], kl = {
|
|
20
|
+
key: 4,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, _l = ["onClick"], wl = {
|
|
22
23
|
key: 0,
|
|
23
24
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
24
|
-
},
|
|
25
|
+
}, $l = {
|
|
25
26
|
viewBox: "0 0 20 20",
|
|
26
27
|
height: "20",
|
|
27
28
|
width: "20",
|
|
28
29
|
style: { overflow: "hidden", background: "transparent" }
|
|
29
|
-
},
|
|
30
|
+
}, Ml = { key: 0 }, Cl = ["innerHTML"], zl = {
|
|
30
31
|
__name: "vue-ui-scatter",
|
|
31
32
|
props: {
|
|
32
33
|
config: {
|
|
@@ -42,196 +43,197 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
|
-
setup(
|
|
46
|
-
const
|
|
47
|
-
get: () =>
|
|
46
|
+
setup(Ve, { expose: Ee }) {
|
|
47
|
+
const O = Ve, { vue_ui_scatter: Ge } = at(), ee = k(() => !!O.dataset && O.dataset.length), z = h(ot()), Re = h(null), ue = h(!1), re = h(""), ge = h(0), H = h(null), xe = h(null), me = h(null), be = h(null), ke = h(0), _e = h(0), we = h(0), e = k({
|
|
48
|
+
get: () => $e(),
|
|
48
49
|
set: (l) => l
|
|
49
50
|
});
|
|
50
|
-
function
|
|
51
|
-
const l =
|
|
52
|
-
userConfig:
|
|
53
|
-
defaultConfig:
|
|
51
|
+
function $e() {
|
|
52
|
+
const l = je({
|
|
53
|
+
userConfig: O.config,
|
|
54
|
+
defaultConfig: Ge
|
|
54
55
|
});
|
|
55
56
|
return l.theme ? {
|
|
56
|
-
...
|
|
57
|
-
userConfig:
|
|
57
|
+
...je({
|
|
58
|
+
userConfig: st.vue_ui_scatter[l.theme] || O.config,
|
|
58
59
|
defaultConfig: l
|
|
59
60
|
}),
|
|
60
|
-
customPalette:
|
|
61
|
+
customPalette: ut[l.theme] || U
|
|
61
62
|
} : l;
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
e.value =
|
|
64
|
+
Ke(() => O.config, (l) => {
|
|
65
|
+
e.value = $e(), Me(), ke.value += 1, _e.value += 1, we.value += 1;
|
|
65
66
|
}, { deep: !0 });
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
const te = h(null);
|
|
68
|
+
Qe(() => {
|
|
69
|
+
Me();
|
|
69
70
|
});
|
|
70
|
-
function
|
|
71
|
-
if (
|
|
71
|
+
function Me() {
|
|
72
|
+
if (rt(O.dataset) && pe({
|
|
72
73
|
componentName: "VueUiScatter",
|
|
73
74
|
type: "dataset"
|
|
74
75
|
}), e.value.responsive) {
|
|
75
|
-
const l =
|
|
76
|
-
const { width: i, height: t } =
|
|
77
|
-
chart:
|
|
78
|
-
title: e.value.style.title.text ?
|
|
79
|
-
legend: e.value.style.legend.show ?
|
|
76
|
+
const l = gt(() => {
|
|
77
|
+
const { width: i, height: t } = xt({
|
|
78
|
+
chart: H.value,
|
|
79
|
+
title: e.value.style.title.text ? xe.value : null,
|
|
80
|
+
legend: e.value.style.legend.show ? me.value : null,
|
|
81
|
+
source: be.value
|
|
80
82
|
});
|
|
81
|
-
|
|
83
|
+
A.value.width = i, A.value.height = t;
|
|
82
84
|
});
|
|
83
|
-
|
|
85
|
+
te.value = new ResizeObserver(l), te.value.observe(H.value.parentNode);
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
Ze(() => {
|
|
89
|
+
te.value && te.value.disconnect();
|
|
88
90
|
});
|
|
89
|
-
const { isPrinting:
|
|
90
|
-
elementId: `vue-ui-scatter_${
|
|
91
|
+
const { isPrinting: Ce, isImaging: ze, generatePdf: Ae, generateImage: Se } = bt({
|
|
92
|
+
elementId: `vue-ui-scatter_${z.value}`,
|
|
91
93
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
92
|
-
}),
|
|
94
|
+
}), Le = k(() => it(e.value.customPalette)), I = h({
|
|
93
95
|
showTable: e.value.table.show,
|
|
94
96
|
showTooltip: e.value.style.tooltip.show
|
|
95
|
-
}),
|
|
97
|
+
}), A = h({
|
|
96
98
|
height: e.value.style.layout.height,
|
|
97
99
|
width: e.value.style.layout.width
|
|
98
|
-
}),
|
|
99
|
-
top: e.value.style.layout.padding.top +
|
|
100
|
-
right:
|
|
101
|
-
bottom:
|
|
100
|
+
}), le = k(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = k(() => ({
|
|
101
|
+
top: e.value.style.layout.padding.top + le.value,
|
|
102
|
+
right: A.value.width - e.value.style.layout.padding.right - le.value,
|
|
103
|
+
bottom: A.value.height - e.value.style.layout.padding.bottom,
|
|
102
104
|
left: e.value.style.layout.padding.left,
|
|
103
|
-
height:
|
|
104
|
-
width:
|
|
105
|
-
})),
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
height: A.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - le.value,
|
|
106
|
+
width: A.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - le.value
|
|
107
|
+
})), p = k(() => {
|
|
108
|
+
O.dataset.forEach((a, n) => {
|
|
109
|
+
De({
|
|
108
110
|
datasetObject: a,
|
|
109
111
|
requiredAttributes: ["values"]
|
|
110
112
|
}).forEach((m) => {
|
|
111
|
-
|
|
113
|
+
pe({
|
|
112
114
|
componentName: "VueUiScatter",
|
|
113
115
|
type: "datasetSerieAttribute",
|
|
114
116
|
property: m,
|
|
115
117
|
index: n
|
|
116
118
|
});
|
|
117
|
-
}), a.values && a.values.forEach((m,
|
|
118
|
-
|
|
119
|
+
}), a.values && a.values.forEach((m, E) => {
|
|
120
|
+
De({
|
|
119
121
|
datasetObject: m,
|
|
120
122
|
requiredAttributes: ["x", "y"]
|
|
121
|
-
}).forEach((
|
|
122
|
-
|
|
123
|
+
}).forEach((J) => {
|
|
124
|
+
pe({
|
|
123
125
|
componentName: "VueUiScatter",
|
|
124
126
|
type: "datasetSerieAttribute",
|
|
125
|
-
property: `values.${
|
|
126
|
-
index: `${n} - ${
|
|
127
|
+
property: `values.${J}`,
|
|
128
|
+
index: `${n} - ${E}`
|
|
127
129
|
});
|
|
128
130
|
});
|
|
129
131
|
});
|
|
130
132
|
});
|
|
131
|
-
const l = Math.min(...
|
|
133
|
+
const l = Math.min(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), i = Math.max(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), t = Math.min(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y))), s = Math.max(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y)));
|
|
132
134
|
return { xMin: l >= 0 ? 0 : l, xMax: i, yMin: t >= 0 ? 0 : t, yMax: s };
|
|
133
|
-
}),
|
|
134
|
-
x: u.value.left + Math.abs(
|
|
135
|
-
y: u.value.bottom - Math.abs(
|
|
136
|
-
})),
|
|
137
|
-
const t = `cluster_${
|
|
135
|
+
}), f = k(() => ({
|
|
136
|
+
x: u.value.left + Math.abs(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * u.value.width,
|
|
137
|
+
y: u.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.value.yMin)) * u.value.height
|
|
138
|
+
})), V = k(() => O.dataset.map((l, i) => {
|
|
139
|
+
const t = `cluster_${z.value}_${i}`;
|
|
138
140
|
return {
|
|
139
141
|
...l,
|
|
140
142
|
id: t,
|
|
141
|
-
color: l.color ? l.color :
|
|
143
|
+
color: l.color ? l.color : Le.value[i] || U[i] || U[i % U.length],
|
|
142
144
|
opacity: x.value.includes(t) ? 0.5 : 1,
|
|
143
145
|
shape: l.shape ?? "circle",
|
|
144
|
-
segregate: () =>
|
|
146
|
+
segregate: () => We(t),
|
|
145
147
|
isSegregated: x.value.includes(t)
|
|
146
148
|
};
|
|
147
|
-
})),
|
|
149
|
+
})), qe = k(() => ({
|
|
148
150
|
cy: "scatter-div-legend",
|
|
149
151
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
150
152
|
color: e.value.style.legend.color,
|
|
151
153
|
fontSize: e.value.style.legend.fontSize,
|
|
152
154
|
paddingBottom: 12,
|
|
153
155
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
154
|
-
})),
|
|
156
|
+
})), ie = k(() => V.value.map((l, i) => ({
|
|
155
157
|
...l,
|
|
156
158
|
plots: l.values.map((t) => ({
|
|
157
|
-
x: u.value.left + (t.x + Math.abs(
|
|
158
|
-
y: u.value.bottom - (t.y + Math.abs(
|
|
159
|
+
x: u.value.left + (t.x + Math.abs(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * u.value.width,
|
|
160
|
+
y: u.value.bottom - (t.y + Math.abs(p.value.yMin)) / (p.value.yMax + Math.abs(p.value.yMin)) * u.value.height,
|
|
159
161
|
v: {
|
|
160
162
|
...t,
|
|
161
163
|
name: t.name || ""
|
|
162
164
|
},
|
|
163
165
|
clusterName: l.name,
|
|
164
|
-
color: l.color ? l.color :
|
|
165
|
-
id: `plot_${
|
|
166
|
+
color: l.color ? l.color : Le.value[i] || U[i] || U[i % U.length],
|
|
167
|
+
id: `plot_${z.value}_${Math.random()}`,
|
|
166
168
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
167
169
|
}))
|
|
168
|
-
})).filter((l) => !x.value.includes(l.id))), S = k(() =>
|
|
169
|
-
const i = l.plots.reduce((
|
|
170
|
+
})).filter((l) => !x.value.includes(l.id))), S = k(() => ie.value.map((l) => {
|
|
171
|
+
const i = l.plots.reduce((g, G) => g + G.x, 0) / l.plots.length, t = l.plots.reduce((g, G) => g + G.y, 0) / l.plots.length;
|
|
170
172
|
let s = 0, a = 0, n = 0;
|
|
171
|
-
for (const
|
|
172
|
-
s += (
|
|
173
|
-
const m = s / Math.sqrt(a * n),
|
|
173
|
+
for (const g of l.plots)
|
|
174
|
+
s += (g.x - i) * (g.y - t), a += (g.x - i) ** 2, n += (g.y - t) ** 2;
|
|
175
|
+
const m = s / Math.sqrt(a * n), E = m * (Math.sqrt(n) / Math.sqrt(a)), J = t - E * i, N = {
|
|
174
176
|
x1: u.value.left,
|
|
175
177
|
x2: u.value.right,
|
|
176
|
-
y1:
|
|
177
|
-
y2:
|
|
178
|
+
y1: E * u.value.left + J,
|
|
179
|
+
y2: E * u.value.right + J,
|
|
178
180
|
coefficient: m
|
|
179
|
-
},
|
|
180
|
-
x:
|
|
181
|
-
y:
|
|
181
|
+
}, w = (N.y2 - N.y1) / (N.x2 - N.x1), T = N.y1 - w * N.x1, F = Math.min(A.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (u.value.top - T) / w)), se = {
|
|
182
|
+
x: F,
|
|
183
|
+
y: w * F + T <= e.value.style.layout.padding.top ? u.value.top : w * F + T
|
|
182
184
|
};
|
|
183
185
|
return {
|
|
184
186
|
...l,
|
|
185
187
|
correlation: N,
|
|
186
|
-
label:
|
|
187
|
-
plots: l.plots.map((
|
|
188
|
-
const
|
|
188
|
+
label: se,
|
|
189
|
+
plots: l.plots.map((g) => {
|
|
190
|
+
const G = (g.x + w * g.y - w * T) / (1 + Math.pow(w, 2)), ye = (w * g.x + Math.pow(w, 2) * g.y + T) / (1 + Math.pow(w, 2)), b = Math.sqrt(Math.pow(g.x - G, 2) + Math.pow(g.y - ye, 2));
|
|
189
191
|
return {
|
|
190
|
-
...
|
|
192
|
+
...g,
|
|
191
193
|
deviation: b,
|
|
192
194
|
shape: l.shape,
|
|
193
195
|
color: l.color
|
|
194
196
|
};
|
|
195
197
|
})
|
|
196
198
|
};
|
|
197
|
-
})),
|
|
198
|
-
function
|
|
199
|
+
})), Te = k(() => Math.max(...S.value.flatMap((l) => l.plots.map((i) => Math.abs(i.deviation)))));
|
|
200
|
+
function Ue() {
|
|
199
201
|
return S.value;
|
|
200
202
|
}
|
|
201
|
-
function
|
|
202
|
-
const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((
|
|
203
|
-
x:
|
|
204
|
-
y:
|
|
203
|
+
function Be(l, i) {
|
|
204
|
+
const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((R) => ({
|
|
205
|
+
x: R.x,
|
|
206
|
+
y: R.y
|
|
205
207
|
}))) : l.plots.map((b) => ({
|
|
206
208
|
x: b.x,
|
|
207
209
|
y: b.y
|
|
208
210
|
}));
|
|
209
211
|
let s = 1 / 0, a = -1 / 0, n = 1 / 0, m = -1 / 0;
|
|
210
|
-
t.forEach(({ x: b, y:
|
|
211
|
-
s = Math.min(s, b), a = Math.max(a, b), n = Math.min(n,
|
|
212
|
+
t.forEach(({ x: b, y: R }) => {
|
|
213
|
+
s = Math.min(s, b), a = Math.max(a, b), n = Math.min(n, R), m = Math.max(m, R);
|
|
212
214
|
});
|
|
213
|
-
const
|
|
214
|
-
t.forEach(({ x: b, y:
|
|
215
|
-
const
|
|
216
|
-
|
|
215
|
+
const E = a - s, J = m - n, N = E / i, w = J / i, T = Array(i).fill(0), F = Array(i).fill(0);
|
|
216
|
+
t.forEach(({ x: b, y: R }) => {
|
|
217
|
+
const ce = Math.floor((b - s) / N), de = Math.floor((R - n) / w);
|
|
218
|
+
T[ce] || (T[ce] = 0), F[de] || (F[de] = 0), T[ce] += 1, F[de] += 1;
|
|
217
219
|
});
|
|
218
|
-
const
|
|
220
|
+
const se = [], g = [];
|
|
219
221
|
for (let b = 0; b < i; b += 1)
|
|
220
|
-
|
|
221
|
-
const
|
|
222
|
-
return { x:
|
|
222
|
+
se.push(s + (b + 0.5) * N), g.push(n + (b + 0.5) * w);
|
|
223
|
+
const G = Math.max(...T), ye = Math.max(...F);
|
|
224
|
+
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY: ye };
|
|
223
225
|
}
|
|
224
|
-
const D = k(() => e.value.style.layout.marginalBars.tranches),
|
|
226
|
+
const D = k(() => e.value.style.layout.marginalBars.tranches), L = k(() => Be(ie.value, D.value)), He = k(() => {
|
|
225
227
|
const l = u.value.top - e.value.style.layout.marginalBars.offset, i = u.value.right + e.value.style.layout.marginalBars.offset;
|
|
226
|
-
return
|
|
227
|
-
const s =
|
|
228
|
+
return ie.value.map((t) => {
|
|
229
|
+
const s = Be(t, D.value);
|
|
228
230
|
return {
|
|
229
231
|
coords: s,
|
|
230
|
-
dX:
|
|
232
|
+
dX: nt(s.avgX.map((a, n) => ({
|
|
231
233
|
x: a,
|
|
232
234
|
y: l - s.x[n] / s.maxX * e.value.style.layout.marginalBars.size
|
|
233
235
|
}))),
|
|
234
|
-
dY:
|
|
236
|
+
dY: vt(s.avgY.map((a, n) => ({
|
|
235
237
|
y: a,
|
|
236
238
|
x: i + e.value.style.layout.marginalBars.size * s.y[n] / s.maxY
|
|
237
239
|
}))),
|
|
@@ -239,28 +241,28 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
239
241
|
id: t.id
|
|
240
242
|
};
|
|
241
243
|
});
|
|
242
|
-
}), B =
|
|
243
|
-
function
|
|
244
|
-
B.value = l.id,
|
|
244
|
+
}), B = h(void 0), y = h(null), ne = h(null);
|
|
245
|
+
function Ne(l, i) {
|
|
246
|
+
B.value = l.id, y.value = l;
|
|
245
247
|
let t = "";
|
|
246
|
-
|
|
248
|
+
ne.value = {
|
|
247
249
|
datapoint: l,
|
|
248
250
|
seriesIndex: i,
|
|
249
251
|
series: S.value,
|
|
250
252
|
config: e.value
|
|
251
253
|
};
|
|
252
254
|
const s = e.value.style.tooltip.customFormat;
|
|
253
|
-
|
|
255
|
+
dt(s) && ht(() => s({
|
|
254
256
|
datapoint: l,
|
|
255
257
|
seriesIndex: i,
|
|
256
258
|
series: S.value,
|
|
257
259
|
config: e.value
|
|
258
|
-
})) ?
|
|
260
|
+
})) ? re.value = s({
|
|
259
261
|
datapoint: l,
|
|
260
262
|
seriesIndex: i,
|
|
261
263
|
series: S.value,
|
|
262
264
|
config: e.value
|
|
263
|
-
}) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" :
|
|
265
|
+
}) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : j(
|
|
264
266
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
265
267
|
l.v.x,
|
|
266
268
|
W({
|
|
@@ -270,7 +272,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
270
272
|
r: e.value.style.tooltip.roundingValue
|
|
271
273
|
}),
|
|
272
274
|
{ datapoint: l, seriesIndex: i }
|
|
273
|
-
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" :
|
|
275
|
+
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : j(
|
|
274
276
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
275
277
|
l.v.y,
|
|
276
278
|
W({
|
|
@@ -283,28 +285,28 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
283
285
|
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
|
|
284
286
|
v: l.deviation,
|
|
285
287
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
286
|
-
})}</b>`, t += "</div>",
|
|
288
|
+
})}</b>`, t += "</div>", re.value = `<div>${t}</div>`), ue.value = !0;
|
|
287
289
|
}
|
|
288
|
-
function
|
|
289
|
-
|
|
290
|
+
function Pe() {
|
|
291
|
+
ue.value = !1, B.value = void 0, y.value = null;
|
|
290
292
|
}
|
|
291
|
-
const x =
|
|
292
|
-
function
|
|
293
|
-
x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length <
|
|
293
|
+
const x = h([]);
|
|
294
|
+
function We(l) {
|
|
295
|
+
x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length < O.dataset.length - 1 && x.value.push(l);
|
|
294
296
|
}
|
|
295
|
-
function
|
|
296
|
-
|
|
297
|
+
function Oe() {
|
|
298
|
+
lt(() => {
|
|
297
299
|
const l = ["", 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}`], i = S.value.map((a) => [
|
|
298
300
|
a.name,
|
|
299
301
|
a.correlation.coefficient,
|
|
300
302
|
a.plots.length,
|
|
301
303
|
a.plots.map((n) => n.v.x).reduce((n, m) => n + m, 0) / a.plots.length,
|
|
302
304
|
a.plots.map((n) => n.v.y).reduce((n, m) => n + m, 0) / a.plots.length
|
|
303
|
-
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s =
|
|
304
|
-
|
|
305
|
+
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s = pt(t);
|
|
306
|
+
ft({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
305
307
|
});
|
|
306
308
|
}
|
|
307
|
-
const
|
|
309
|
+
const ae = k(() => {
|
|
308
310
|
const l = [
|
|
309
311
|
e.value.table.translations.series,
|
|
310
312
|
e.value.table.translations.correlationCoefficient,
|
|
@@ -335,38 +337,51 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
335
337
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
336
338
|
};
|
|
337
339
|
return { head: l, body: i, config: t, colNames: l };
|
|
338
|
-
}), K =
|
|
339
|
-
function
|
|
340
|
-
K.value = l,
|
|
340
|
+
}), K = h(!1);
|
|
341
|
+
function Je(l) {
|
|
342
|
+
K.value = l, ge.value += 1;
|
|
341
343
|
}
|
|
342
|
-
function
|
|
344
|
+
function Fe() {
|
|
343
345
|
I.value.showTable = !I.value.showTable;
|
|
344
346
|
}
|
|
345
|
-
function
|
|
347
|
+
function Xe() {
|
|
346
348
|
I.value.showTooltip = !I.value.showTooltip;
|
|
347
349
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
350
|
+
const oe = h(!1);
|
|
351
|
+
function ve() {
|
|
352
|
+
oe.value = !oe.value;
|
|
353
|
+
}
|
|
354
|
+
return Ee({
|
|
355
|
+
getData: Ue,
|
|
356
|
+
generatePdf: Ae,
|
|
357
|
+
generateCsv: Oe,
|
|
358
|
+
generateImage: Se,
|
|
359
|
+
toggleTable: Fe,
|
|
360
|
+
toggleTooltip: Xe,
|
|
361
|
+
toggleAnnotator: ve
|
|
355
362
|
}), (l, i) => (o(), r("div", {
|
|
356
|
-
class:
|
|
363
|
+
class: Ie(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
357
364
|
ref_key: "scatterChart",
|
|
358
|
-
ref:
|
|
359
|
-
id: `vue-ui-scatter_${
|
|
360
|
-
style:
|
|
365
|
+
ref: H,
|
|
366
|
+
id: `vue-ui-scatter_${z.value}`,
|
|
367
|
+
style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
361
368
|
}, [
|
|
362
|
-
e.value.
|
|
369
|
+
e.value.userOptions.buttons.annotator ? (o(), Y(At, {
|
|
363
370
|
key: 0,
|
|
371
|
+
parent: H.value,
|
|
372
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
373
|
+
color: e.value.style.color,
|
|
374
|
+
active: oe.value,
|
|
375
|
+
onClose: ve
|
|
376
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
377
|
+
e.value.style.title.text ? (o(), r("div", {
|
|
378
|
+
key: 1,
|
|
364
379
|
ref_key: "chartTitle",
|
|
365
|
-
ref:
|
|
380
|
+
ref: xe,
|
|
366
381
|
style: "width:100%;background:transparent"
|
|
367
382
|
}, [
|
|
368
|
-
(o(),
|
|
369
|
-
key: `title_${
|
|
383
|
+
(o(), Y(mt, {
|
|
384
|
+
key: `title_${ke.value}`,
|
|
370
385
|
config: {
|
|
371
386
|
title: {
|
|
372
387
|
cy: "scatter-div-title",
|
|
@@ -378,16 +393,16 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
378
393
|
}
|
|
379
394
|
}
|
|
380
395
|
}, null, 8, ["config"]))
|
|
381
|
-
], 512)) :
|
|
382
|
-
e.value.userOptions.show &&
|
|
396
|
+
], 512)) : c("", !0),
|
|
397
|
+
e.value.userOptions.show && ee.value ? (o(), Y(kt, {
|
|
383
398
|
ref_key: "details",
|
|
384
|
-
ref:
|
|
385
|
-
key: `user_options_${
|
|
399
|
+
ref: Re,
|
|
400
|
+
key: `user_options_${ge.value}`,
|
|
386
401
|
backgroundColor: e.value.style.backgroundColor,
|
|
387
402
|
color: e.value.style.color,
|
|
388
|
-
isImaging:
|
|
389
|
-
isPrinting:
|
|
390
|
-
uid:
|
|
403
|
+
isImaging: v(ze),
|
|
404
|
+
isPrinting: v(Ce),
|
|
405
|
+
uid: z.value,
|
|
391
406
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
392
407
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
393
408
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -397,193 +412,203 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
397
412
|
isTooltip: I.value.showTooltip,
|
|
398
413
|
isFullscreen: K.value,
|
|
399
414
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
400
|
-
chartElement:
|
|
415
|
+
chartElement: H.value,
|
|
401
416
|
position: e.value.userOptions.position,
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
417
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
418
|
+
isAnnotation: oe.value,
|
|
419
|
+
onToggleFullscreen: Je,
|
|
420
|
+
onGeneratePdf: v(Ae),
|
|
421
|
+
onGenerateCsv: Oe,
|
|
422
|
+
onGenerateImage: v(Se),
|
|
423
|
+
onToggleTable: Fe,
|
|
424
|
+
onToggleTooltip: Xe,
|
|
425
|
+
onToggleAnnotator: ve
|
|
426
|
+
}, et({ _: 2 }, [
|
|
409
427
|
l.$slots.optionTooltip ? {
|
|
410
428
|
name: "optionTooltip",
|
|
411
|
-
fn:
|
|
412
|
-
|
|
429
|
+
fn: _(() => [
|
|
430
|
+
$(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
413
431
|
]),
|
|
414
432
|
key: "0"
|
|
415
433
|
} : void 0,
|
|
416
434
|
l.$slots.optionPdf ? {
|
|
417
435
|
name: "optionPdf",
|
|
418
|
-
fn:
|
|
419
|
-
|
|
436
|
+
fn: _(() => [
|
|
437
|
+
$(l.$slots, "optionPdf", {}, void 0, !0)
|
|
420
438
|
]),
|
|
421
439
|
key: "1"
|
|
422
440
|
} : void 0,
|
|
423
441
|
l.$slots.optionCsv ? {
|
|
424
442
|
name: "optionCsv",
|
|
425
|
-
fn:
|
|
426
|
-
|
|
443
|
+
fn: _(() => [
|
|
444
|
+
$(l.$slots, "optionCsv", {}, void 0, !0)
|
|
427
445
|
]),
|
|
428
446
|
key: "2"
|
|
429
447
|
} : void 0,
|
|
430
448
|
l.$slots.optionImg ? {
|
|
431
449
|
name: "optionImg",
|
|
432
|
-
fn:
|
|
433
|
-
|
|
450
|
+
fn: _(() => [
|
|
451
|
+
$(l.$slots, "optionImg", {}, void 0, !0)
|
|
434
452
|
]),
|
|
435
453
|
key: "3"
|
|
436
454
|
} : void 0,
|
|
437
455
|
l.$slots.optionTable ? {
|
|
438
456
|
name: "optionTable",
|
|
439
|
-
fn:
|
|
440
|
-
|
|
457
|
+
fn: _(() => [
|
|
458
|
+
$(l.$slots, "optionTable", {}, void 0, !0)
|
|
441
459
|
]),
|
|
442
460
|
key: "4"
|
|
443
461
|
} : void 0,
|
|
444
462
|
l.$slots.optionFullscreen ? {
|
|
445
463
|
name: "optionFullscreen",
|
|
446
|
-
fn:
|
|
447
|
-
|
|
464
|
+
fn: _(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
465
|
+
$(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
448
466
|
]),
|
|
449
467
|
key: "5"
|
|
468
|
+
} : void 0,
|
|
469
|
+
l.$slots.optionAnnotator ? {
|
|
470
|
+
name: "optionAnnotator",
|
|
471
|
+
fn: _(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
472
|
+
$(l.$slots, "optionAnnotator", Q(Z({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
473
|
+
]),
|
|
474
|
+
key: "6"
|
|
450
475
|
} : void 0
|
|
451
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
452
|
-
|
|
453
|
-
key:
|
|
454
|
-
xmlns:
|
|
455
|
-
class:
|
|
456
|
-
viewBox: `0 0 ${
|
|
457
|
-
style:
|
|
476
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
477
|
+
ee.value ? (o(), r("svg", {
|
|
478
|
+
key: 3,
|
|
479
|
+
xmlns: v(yt),
|
|
480
|
+
class: Ie({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
|
|
481
|
+
viewBox: `0 0 ${A.value.width <= 0 ? 10 : A.value.width} ${A.value.height <= 0 ? 10 : A.value.height}`,
|
|
482
|
+
style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
458
483
|
}, [
|
|
459
|
-
|
|
460
|
-
e.value.style.layout.axis.show ? (o(), r("g",
|
|
461
|
-
|
|
462
|
-
x1:
|
|
463
|
-
x2:
|
|
484
|
+
he(zt),
|
|
485
|
+
e.value.style.layout.axis.show ? (o(), r("g", Bt, [
|
|
486
|
+
d("line", {
|
|
487
|
+
x1: f.value.x,
|
|
488
|
+
x2: f.value.x,
|
|
464
489
|
y1: u.value.top,
|
|
465
490
|
y2: u.value.bottom,
|
|
466
491
|
stroke: e.value.style.layout.axis.stroke,
|
|
467
492
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
468
493
|
"stroke-linecap": "round"
|
|
469
|
-
}, null, 8,
|
|
470
|
-
|
|
494
|
+
}, null, 8, Nt),
|
|
495
|
+
d("line", {
|
|
471
496
|
x1: u.value.left,
|
|
472
497
|
x2: u.value.right,
|
|
473
|
-
y1:
|
|
474
|
-
y2:
|
|
498
|
+
y1: f.value.y,
|
|
499
|
+
y2: f.value.y,
|
|
475
500
|
stroke: e.value.style.layout.axis.stroke,
|
|
476
501
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
477
502
|
"stroke-linecap": "round"
|
|
478
|
-
}, null, 8,
|
|
479
|
-
])) :
|
|
480
|
-
e.value.style.layout.plots.giftWrap.show ? (o(), r("g",
|
|
503
|
+
}, null, 8, Pt)
|
|
504
|
+
])) : c("", !0),
|
|
505
|
+
e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Wt, [
|
|
481
506
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
482
507
|
t.plots.length > 2 ? (o(), r("polygon", {
|
|
483
508
|
key: 0,
|
|
484
|
-
points:
|
|
485
|
-
fill:
|
|
509
|
+
points: v(ct)({ series: t.plots }),
|
|
510
|
+
fill: v(fe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
486
511
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
487
512
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
488
513
|
stroke: t.color,
|
|
489
514
|
"stroke-linejoin": "round",
|
|
490
515
|
"stroke-linecap": "round"
|
|
491
|
-
}, null, 8,
|
|
516
|
+
}, null, 8, Ot)) : c("", !0)
|
|
492
517
|
]))), 256))
|
|
493
|
-
])) :
|
|
518
|
+
])) : c("", !0),
|
|
494
519
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
495
|
-
!t.shape || t.shape === "circle" ? (o(), r("g",
|
|
520
|
+
!t.shape || t.shape === "circle" ? (o(), r("g", Ft, [
|
|
496
521
|
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), r("circle", {
|
|
497
522
|
cx: a.x,
|
|
498
523
|
cy: a.y,
|
|
499
524
|
r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
500
|
-
fill:
|
|
525
|
+
fill: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
501
526
|
stroke: e.value.style.layout.plots.stroke,
|
|
502
527
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
503
|
-
onMouseover: (m) =>
|
|
504
|
-
onMouseleave:
|
|
505
|
-
style:
|
|
506
|
-
}, null, 44,
|
|
507
|
-
])) : (o(), r("g",
|
|
508
|
-
(o(!0), r(P, null, X(t.plots, (a, n) => (o(),
|
|
528
|
+
onMouseover: (m) => Ne(a, s),
|
|
529
|
+
onMouseleave: Pe,
|
|
530
|
+
style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Te.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}`)
|
|
531
|
+
}, null, 44, Xt))), 256))
|
|
532
|
+
])) : (o(), r("g", It, [
|
|
533
|
+
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), Y(Ye, {
|
|
509
534
|
plot: { x: a.x, y: a.y },
|
|
510
535
|
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
511
536
|
shape: t.shape,
|
|
512
|
-
color:
|
|
537
|
+
color: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
513
538
|
stroke: e.value.style.layout.plots.stroke,
|
|
514
539
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
515
|
-
onMouseover: (m) =>
|
|
516
|
-
onMouseleave:
|
|
517
|
-
style:
|
|
540
|
+
onMouseover: (m) => Ne(a, s),
|
|
541
|
+
onMouseleave: Pe,
|
|
542
|
+
style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Te.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}`)
|
|
518
543
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
519
544
|
]))
|
|
520
545
|
]))), 256)),
|
|
521
|
-
e.value.style.layout.marginalBars.show ? (o(), r("g",
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
id: `marginal_x_${
|
|
546
|
+
e.value.style.layout.marginalBars.show ? (o(), r("g", Dt, [
|
|
547
|
+
d("defs", null, [
|
|
548
|
+
d("linearGradient", {
|
|
549
|
+
id: `marginal_x_${z.value}`,
|
|
525
550
|
x1: "0%",
|
|
526
551
|
y1: "0%",
|
|
527
552
|
x2: "0%",
|
|
528
553
|
y2: "100%"
|
|
529
554
|
}, [
|
|
530
|
-
|
|
555
|
+
d("stop", {
|
|
531
556
|
offset: "0%",
|
|
532
557
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
533
|
-
}, null, 8,
|
|
534
|
-
|
|
558
|
+
}, null, 8, jt),
|
|
559
|
+
d("stop", {
|
|
535
560
|
offset: "100%",
|
|
536
561
|
"stop-color": e.value.style.backgroundColor
|
|
537
|
-
}, null, 8,
|
|
538
|
-
], 8,
|
|
539
|
-
|
|
540
|
-
id: `marginal_y_${
|
|
562
|
+
}, null, 8, Vt)
|
|
563
|
+
], 8, Yt),
|
|
564
|
+
d("linearGradient", {
|
|
565
|
+
id: `marginal_y_${z.value}`,
|
|
541
566
|
x1: "0%",
|
|
542
567
|
x2: "100%",
|
|
543
568
|
y1: "0%",
|
|
544
569
|
y2: "0%"
|
|
545
570
|
}, [
|
|
546
|
-
|
|
571
|
+
d("stop", {
|
|
547
572
|
offset: "0%",
|
|
548
573
|
"stop-color": e.value.style.backgroundColor
|
|
549
|
-
}, null, 8,
|
|
550
|
-
|
|
574
|
+
}, null, 8, Gt),
|
|
575
|
+
d("stop", {
|
|
551
576
|
offset: "100%",
|
|
552
577
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
553
|
-
}, null, 8,
|
|
554
|
-
], 8,
|
|
578
|
+
}, null, 8, Rt)
|
|
579
|
+
], 8, Et)
|
|
555
580
|
]),
|
|
556
|
-
(o(!0), r(P, null, X(
|
|
557
|
-
t &&
|
|
581
|
+
(o(!0), r(P, null, X(L.value.x, (t, s) => (o(), r("g", null, [
|
|
582
|
+
t && L.value.avgX[s] ? (o(), r("rect", {
|
|
558
583
|
key: 0,
|
|
559
|
-
x:
|
|
560
|
-
y: u.value.top - e.value.style.layout.marginalBars.offset - t /
|
|
584
|
+
x: L.value.avgX[s] - u.value.width / D.value / 2,
|
|
585
|
+
y: u.value.top - e.value.style.layout.marginalBars.offset - t / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
561
586
|
width: u.value.width / D.value <= 0 ? 1e-4 : u.value.width / D.value,
|
|
562
|
-
height: t /
|
|
563
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${
|
|
564
|
-
style:
|
|
587
|
+
height: t / L.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
588
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
589
|
+
style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
565
590
|
stroke: e.value.style.backgroundColor,
|
|
566
591
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
567
592
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
568
|
-
}, null, 12,
|
|
593
|
+
}, null, 12, qt)) : c("", !0)
|
|
569
594
|
]))), 256)),
|
|
570
|
-
(o(!0), r(P, null, X(
|
|
571
|
-
t &&
|
|
595
|
+
(o(!0), r(P, null, X(L.value.y, (t, s) => (o(), r("g", null, [
|
|
596
|
+
t && L.value.avgY[s] ? (o(), r("rect", {
|
|
572
597
|
key: 0,
|
|
573
598
|
x: u.value.right + e.value.style.layout.marginalBars.offset,
|
|
574
|
-
y:
|
|
599
|
+
y: L.value.avgY[s] - u.value.height / D.value / 2,
|
|
575
600
|
height: u.value.height / D.value <= 0 ? 1e-4 : u.value.height / D.value,
|
|
576
|
-
width: t /
|
|
577
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${
|
|
578
|
-
style:
|
|
601
|
+
width: t / L.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxY * e.value.style.layout.marginalBars.size,
|
|
602
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
603
|
+
style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
579
604
|
stroke: e.value.style.backgroundColor,
|
|
580
605
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
581
606
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
582
|
-
}, null, 12,
|
|
607
|
+
}, null, 12, Ut)) : c("", !0)
|
|
583
608
|
]))), 256)),
|
|
584
|
-
e.value.style.layout.marginalBars.showLines ? (o(), r("g",
|
|
585
|
-
(o(!0), r(P, null, X(
|
|
586
|
-
x.value.includes(t.id) ?
|
|
609
|
+
e.value.style.layout.marginalBars.showLines ? (o(), r("g", Ht, [
|
|
610
|
+
(o(!0), r(P, null, X(He.value, (t) => (o(), r(P, null, [
|
|
611
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
587
612
|
key: 0,
|
|
588
613
|
d: `M ${t.dX}`,
|
|
589
614
|
stroke: e.value.style.backgroundColor,
|
|
@@ -591,8 +616,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
591
616
|
"stroke-linecap": "round",
|
|
592
617
|
"stroke-linejoin": "round",
|
|
593
618
|
fill: "none"
|
|
594
|
-
}, null, 8,
|
|
595
|
-
x.value.includes(t.id) ?
|
|
619
|
+
}, null, 8, Jt)),
|
|
620
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
596
621
|
key: 1,
|
|
597
622
|
d: `M ${t.dX}`,
|
|
598
623
|
stroke: t.color,
|
|
@@ -600,8 +625,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
600
625
|
"stroke-linecap": "round",
|
|
601
626
|
"stroke-linejoin": "round",
|
|
602
627
|
fill: "none"
|
|
603
|
-
}, null, 8,
|
|
604
|
-
x.value.includes(t.id) ?
|
|
628
|
+
}, null, 8, Kt)),
|
|
629
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
605
630
|
key: 2,
|
|
606
631
|
d: `M ${t.dY}`,
|
|
607
632
|
stroke: e.value.style.backgroundColor,
|
|
@@ -609,8 +634,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
609
634
|
"stroke-linecap": "round",
|
|
610
635
|
"stroke-linejoin": "round",
|
|
611
636
|
fill: "none"
|
|
612
|
-
}, null, 8,
|
|
613
|
-
x.value.includes(t.id) ?
|
|
637
|
+
}, null, 8, Qt)),
|
|
638
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
614
639
|
key: 3,
|
|
615
640
|
d: `M ${t.dY}`,
|
|
616
641
|
stroke: t.color,
|
|
@@ -618,192 +643,192 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
618
643
|
"stroke-linecap": "round",
|
|
619
644
|
"stroke-linejoin": "round",
|
|
620
645
|
fill: "none"
|
|
621
|
-
}, null, 8,
|
|
646
|
+
}, null, 8, Zt))
|
|
622
647
|
], 64))), 256))
|
|
623
|
-
])) :
|
|
624
|
-
])) :
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
x1:
|
|
628
|
-
x2:
|
|
629
|
-
y1:
|
|
630
|
-
y2:
|
|
648
|
+
])) : c("", !0)
|
|
649
|
+
])) : c("", !0),
|
|
650
|
+
y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", el, [
|
|
651
|
+
d("line", {
|
|
652
|
+
x1: f.value.x,
|
|
653
|
+
x2: y.value.x,
|
|
654
|
+
y1: y.value.y,
|
|
655
|
+
y2: y.value.y,
|
|
631
656
|
stroke: e.value.style.layout.plots.selectors.stroke,
|
|
632
657
|
"stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
|
|
633
658
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
634
659
|
"stroke-linecap": "round",
|
|
635
660
|
class: "line-pointer"
|
|
636
|
-
}, null, 8,
|
|
637
|
-
|
|
638
|
-
x1:
|
|
639
|
-
x2:
|
|
640
|
-
y1:
|
|
641
|
-
y2:
|
|
661
|
+
}, null, 8, tl),
|
|
662
|
+
d("line", {
|
|
663
|
+
x1: y.value.x,
|
|
664
|
+
x2: y.value.x,
|
|
665
|
+
y1: f.value.y,
|
|
666
|
+
y2: y.value.y,
|
|
642
667
|
stroke: e.value.style.layout.plots.selectors.stroke,
|
|
643
668
|
"stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
|
|
644
669
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
645
670
|
"stroke-linecap": "round",
|
|
646
671
|
class: "line-pointer"
|
|
647
|
-
}, null, 8,
|
|
648
|
-
|
|
649
|
-
x:
|
|
650
|
-
y:
|
|
672
|
+
}, null, 8, ll),
|
|
673
|
+
d("text", {
|
|
674
|
+
x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
|
|
675
|
+
y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
651
676
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
652
677
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
653
678
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
654
|
-
"text-anchor":
|
|
655
|
-
}, M(
|
|
679
|
+
"text-anchor": y.value.x > f.value.x ? "end" : "start"
|
|
680
|
+
}, M(v(j)(
|
|
656
681
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
657
|
-
|
|
658
|
-
|
|
682
|
+
v(C)(y.value.v.y),
|
|
683
|
+
v(W)({
|
|
659
684
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
660
|
-
v:
|
|
685
|
+
v: v(C)(y.value.v.y),
|
|
661
686
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
662
687
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
663
688
|
}),
|
|
664
|
-
{ datapoint:
|
|
665
|
-
)), 9,
|
|
666
|
-
|
|
667
|
-
x:
|
|
668
|
-
y:
|
|
689
|
+
{ datapoint: y.value }
|
|
690
|
+
)), 9, al),
|
|
691
|
+
d("text", {
|
|
692
|
+
x: y.value.x,
|
|
693
|
+
y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
669
694
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
670
695
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
671
696
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
672
697
|
"text-anchor": "middle"
|
|
673
|
-
}, M(
|
|
698
|
+
}, M(v(j)(
|
|
674
699
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
675
|
-
|
|
676
|
-
|
|
700
|
+
v(C)(y.value.v.x),
|
|
701
|
+
v(W)({
|
|
677
702
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
678
|
-
v:
|
|
703
|
+
v: v(C)(y.value.v.x),
|
|
679
704
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
680
705
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
681
706
|
}),
|
|
682
|
-
{ datapoint:
|
|
683
|
-
)), 9,
|
|
684
|
-
|
|
685
|
-
cx:
|
|
686
|
-
cy:
|
|
707
|
+
{ datapoint: y.value }
|
|
708
|
+
)), 9, ol),
|
|
709
|
+
d("circle", {
|
|
710
|
+
cx: f.value.x,
|
|
711
|
+
cy: y.value.y,
|
|
687
712
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
688
713
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
689
714
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
690
715
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
691
716
|
class: "line-pointer"
|
|
692
|
-
}, null, 8,
|
|
693
|
-
|
|
694
|
-
cx:
|
|
695
|
-
cy:
|
|
717
|
+
}, null, 8, sl),
|
|
718
|
+
d("circle", {
|
|
719
|
+
cx: y.value.x,
|
|
720
|
+
cy: f.value.y,
|
|
696
721
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
697
722
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
698
723
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
699
724
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
700
725
|
class: "line-pointer"
|
|
701
|
-
}, null, 8,
|
|
726
|
+
}, null, 8, ul),
|
|
702
727
|
e.value.style.layout.plots.selectors.labels.showName ? (o(), r("text", {
|
|
703
728
|
key: 0,
|
|
704
|
-
x:
|
|
705
|
-
y:
|
|
729
|
+
x: y.value.x,
|
|
730
|
+
y: y.value.y + (y.value.y < f.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
|
|
706
731
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
707
732
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
708
733
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
709
|
-
"text-anchor":
|
|
710
|
-
}, M(
|
|
711
|
-
])) :
|
|
712
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g",
|
|
713
|
-
|
|
734
|
+
"text-anchor": y.value.x < u.value.left + 100 ? "start" : y.value.x > u.value.right - 100 ? "end" : y.value.x > f.value.x ? "start" : "end"
|
|
735
|
+
}, M(y.value.v.name), 9, rl)) : c("", !0)
|
|
736
|
+
])) : c("", !0),
|
|
737
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", il, [
|
|
738
|
+
d("text", {
|
|
714
739
|
x: u.value.left - 5,
|
|
715
|
-
y:
|
|
740
|
+
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
716
741
|
"text-anchor": "end",
|
|
717
742
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
718
743
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
719
|
-
}, M(
|
|
744
|
+
}, M(v(j)(
|
|
720
745
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
721
|
-
|
|
722
|
-
|
|
746
|
+
v(C)(p.value.xMin),
|
|
747
|
+
v(W)({
|
|
723
748
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
724
|
-
v:
|
|
749
|
+
v: v(C)(p.value.xMin),
|
|
725
750
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
726
751
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
727
752
|
})
|
|
728
|
-
)), 9,
|
|
729
|
-
|
|
753
|
+
)), 9, nl),
|
|
754
|
+
d("text", {
|
|
730
755
|
x: u.value.right + 3,
|
|
731
|
-
y:
|
|
756
|
+
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
732
757
|
"text-anchor": "start",
|
|
733
758
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
734
759
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
735
|
-
}, M(
|
|
760
|
+
}, M(v(j)(
|
|
736
761
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
737
|
-
|
|
738
|
-
|
|
762
|
+
v(C)(p.value.xMax),
|
|
763
|
+
v(W)({
|
|
739
764
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
740
|
-
v:
|
|
765
|
+
v: v(C)(p.value.xMax),
|
|
741
766
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
742
767
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
743
768
|
})
|
|
744
|
-
)), 9,
|
|
745
|
-
|
|
746
|
-
id: `vue-ui-scatter-xAxis-label-${
|
|
769
|
+
)), 9, vl),
|
|
770
|
+
d("text", {
|
|
771
|
+
id: `vue-ui-scatter-xAxis-label-${z.value}`,
|
|
747
772
|
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${u.value.top + u.value.height / 2}), rotate(-90)`,
|
|
748
773
|
"text-anchor": "middle",
|
|
749
774
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
750
775
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
751
776
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
752
|
-
}, M(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
753
|
-
])) :
|
|
754
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g",
|
|
755
|
-
|
|
756
|
-
x:
|
|
777
|
+
}, M(e.value.style.layout.dataLabels.xAxis.name), 9, yl)
|
|
778
|
+
])) : c("", !0),
|
|
779
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", cl, [
|
|
780
|
+
d("text", {
|
|
781
|
+
x: f.value.x,
|
|
757
782
|
y: u.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
758
783
|
"text-anchor": "middle",
|
|
759
784
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
760
785
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
761
|
-
}, M(
|
|
786
|
+
}, M(v(j)(
|
|
762
787
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
763
|
-
|
|
764
|
-
|
|
788
|
+
v(C)(p.value.yMin),
|
|
789
|
+
v(W)({
|
|
765
790
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
766
|
-
v:
|
|
791
|
+
v: v(C)(p.value.yMin),
|
|
767
792
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
768
793
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
769
794
|
})
|
|
770
|
-
)), 9,
|
|
771
|
-
|
|
772
|
-
x:
|
|
795
|
+
)), 9, dl),
|
|
796
|
+
d("text", {
|
|
797
|
+
x: f.value.x,
|
|
773
798
|
y: u.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
774
799
|
"text-anchor": "middle",
|
|
775
800
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
776
801
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
777
|
-
}, M(
|
|
802
|
+
}, M(v(j)(
|
|
778
803
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
779
|
-
|
|
780
|
-
|
|
804
|
+
v(C)(p.value.yMax),
|
|
805
|
+
v(W)({
|
|
781
806
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
782
|
-
v:
|
|
807
|
+
v: v(C)(p.value.yMax),
|
|
783
808
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
784
809
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
785
810
|
})
|
|
786
|
-
)), 9,
|
|
787
|
-
|
|
811
|
+
)), 9, hl),
|
|
812
|
+
d("text", {
|
|
788
813
|
"text-anchor": "middle",
|
|
789
814
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
790
815
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
791
816
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
792
817
|
x: u.value.left + u.value.width / 2,
|
|
793
818
|
y: u.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
794
|
-
}, M(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
795
|
-
])) :
|
|
796
|
-
|
|
797
|
-
id: `clip_path_${
|
|
819
|
+
}, M(e.value.style.layout.dataLabels.yAxis.name), 9, pl)
|
|
820
|
+
])) : c("", !0),
|
|
821
|
+
d("clipPath", {
|
|
822
|
+
id: `clip_path_${z.value}`
|
|
798
823
|
}, [
|
|
799
|
-
|
|
824
|
+
d("rect", {
|
|
800
825
|
x: u.value.left,
|
|
801
826
|
y: u.value.top,
|
|
802
827
|
width: u.value.width <= 0 ? 1e-4 : u.value.width,
|
|
803
828
|
height: u.value.height <= 0 ? 1e-4 : u.value.height
|
|
804
|
-
}, null, 8,
|
|
805
|
-
], 8,
|
|
806
|
-
e.value.style.layout.correlation.show ? (o(), r("g",
|
|
829
|
+
}, null, 8, gl)
|
|
830
|
+
], 8, fl),
|
|
831
|
+
e.value.style.layout.correlation.show ? (o(), r("g", xl, [
|
|
807
832
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("line", {
|
|
808
833
|
x1: t.correlation.x1,
|
|
809
834
|
x2: t.correlation.x2,
|
|
@@ -812,8 +837,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
812
837
|
"stroke-dasharray": e.value.style.layout.correlation.strokeDasharray,
|
|
813
838
|
stroke: t.color,
|
|
814
839
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
815
|
-
"clip-path": `url(#clip_path_${
|
|
816
|
-
}, null, 8,
|
|
840
|
+
"clip-path": `url(#clip_path_${z.value})`
|
|
841
|
+
}, null, 8, ml))), 256)),
|
|
817
842
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
818
843
|
e.value.style.layout.correlation.label.show ? (o(), r("text", {
|
|
819
844
|
key: 0,
|
|
@@ -822,19 +847,19 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
822
847
|
fill: e.value.style.layout.correlation.label.useSerieColor ? t.color : e.value.style.layout.correlation.label.color,
|
|
823
848
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
824
849
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
825
|
-
}, M(
|
|
826
|
-
v:
|
|
850
|
+
}, M(v(W)({
|
|
851
|
+
v: v(C)(t.correlation.coefficient),
|
|
827
852
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
828
|
-
})), 9,
|
|
853
|
+
})), 9, bl)) : c("", !0)
|
|
829
854
|
]))), 256))
|
|
830
|
-
])) :
|
|
831
|
-
|
|
832
|
-
], 14,
|
|
833
|
-
l.$slots.watermark ? (o(), r("div",
|
|
834
|
-
|
|
835
|
-
])) :
|
|
836
|
-
|
|
837
|
-
key:
|
|
855
|
+
])) : c("", !0),
|
|
856
|
+
$(l.$slots, "svg", { svg: A.value }, void 0, !0)
|
|
857
|
+
], 14, Tt)) : c("", !0),
|
|
858
|
+
l.$slots.watermark ? (o(), r("div", kl, [
|
|
859
|
+
$(l.$slots, "watermark", Q(Z({ isPrinting: v(Ce) || v(ze) })), void 0, !0)
|
|
860
|
+
])) : c("", !0),
|
|
861
|
+
ee.value ? c("", !0) : (o(), Y(Mt, {
|
|
862
|
+
key: 5,
|
|
838
863
|
config: {
|
|
839
864
|
type: "quadrant",
|
|
840
865
|
style: {
|
|
@@ -851,30 +876,38 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
851
876
|
}
|
|
852
877
|
}
|
|
853
878
|
}, null, 8, ["config"])),
|
|
854
|
-
|
|
879
|
+
d("div", {
|
|
855
880
|
ref_key: "chartLegend",
|
|
856
|
-
ref:
|
|
881
|
+
ref: me
|
|
857
882
|
}, [
|
|
858
|
-
e.value.style.legend.show ? (o(),
|
|
859
|
-
key: `legend_${
|
|
860
|
-
legendSet:
|
|
861
|
-
config:
|
|
862
|
-
onClickMarker: i[0] || (i[0] = ({ legend: t }) =>
|
|
883
|
+
e.value.style.legend.show ? (o(), Y(wt, {
|
|
884
|
+
key: `legend_${we.value}`,
|
|
885
|
+
legendSet: V.value,
|
|
886
|
+
config: qe.value,
|
|
887
|
+
onClickMarker: i[0] || (i[0] = ({ legend: t }) => We(t.id))
|
|
863
888
|
}, {
|
|
864
|
-
item:
|
|
865
|
-
|
|
889
|
+
item: _(({ legend: t }) => [
|
|
890
|
+
d("div", {
|
|
866
891
|
onClick: (s) => t.segregate(),
|
|
867
|
-
style:
|
|
868
|
-
}, M(t.name), 13,
|
|
892
|
+
style: q(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
|
|
893
|
+
}, M(t.name), 13, _l)
|
|
869
894
|
]),
|
|
870
895
|
_: 1
|
|
871
|
-
}, 8, ["legendSet", "config"])) :
|
|
896
|
+
}, 8, ["legendSet", "config"])) : $(l.$slots, "legend", {
|
|
872
897
|
key: 1,
|
|
873
|
-
legend:
|
|
898
|
+
legend: V.value
|
|
874
899
|
}, void 0, !0)
|
|
875
900
|
], 512),
|
|
876
|
-
|
|
877
|
-
|
|
901
|
+
l.$slots.source ? (o(), r("div", {
|
|
902
|
+
key: 6,
|
|
903
|
+
ref_key: "source",
|
|
904
|
+
ref: be,
|
|
905
|
+
dir: "auto"
|
|
906
|
+
}, [
|
|
907
|
+
$(l.$slots, "source", {}, void 0, !0)
|
|
908
|
+
], 512)) : c("", !0),
|
|
909
|
+
he(_t, {
|
|
910
|
+
show: I.value.showTooltip && ue.value,
|
|
878
911
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
879
912
|
color: e.value.style.tooltip.color,
|
|
880
913
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -884,32 +917,32 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
884
917
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
885
918
|
position: e.value.style.tooltip.position,
|
|
886
919
|
offsetY: e.value.style.tooltip.offsetY,
|
|
887
|
-
parent:
|
|
888
|
-
content:
|
|
920
|
+
parent: H.value,
|
|
921
|
+
content: re.value,
|
|
889
922
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
890
923
|
}, {
|
|
891
|
-
"tooltip-before":
|
|
892
|
-
|
|
924
|
+
"tooltip-before": _(() => [
|
|
925
|
+
$(l.$slots, "tooltip-before", Q(Z({ ...ne.value })), void 0, !0)
|
|
893
926
|
]),
|
|
894
|
-
"tooltip-after":
|
|
895
|
-
|
|
927
|
+
"tooltip-after": _(() => [
|
|
928
|
+
$(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
|
|
896
929
|
]),
|
|
897
|
-
default:
|
|
898
|
-
e.value.style.tooltip.showShape ? (o(), r("div",
|
|
899
|
-
(o(), r("svg",
|
|
900
|
-
|
|
901
|
-
shape:
|
|
902
|
-
color:
|
|
930
|
+
default: _(() => [
|
|
931
|
+
e.value.style.tooltip.showShape ? (o(), r("div", wl, [
|
|
932
|
+
(o(), r("svg", $l, [
|
|
933
|
+
he(Ye, {
|
|
934
|
+
shape: y.value.shape,
|
|
935
|
+
color: y.value.color,
|
|
903
936
|
plot: { x: 10, y: 10 },
|
|
904
937
|
radius: 7
|
|
905
938
|
}, null, 8, ["shape", "color"])
|
|
906
939
|
]))
|
|
907
|
-
])) :
|
|
940
|
+
])) : c("", !0)
|
|
908
941
|
]),
|
|
909
942
|
_: 3
|
|
910
943
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
911
|
-
|
|
912
|
-
key:
|
|
944
|
+
ee.value ? (o(), Y(Ct, {
|
|
945
|
+
key: 7,
|
|
913
946
|
hideDetails: "",
|
|
914
947
|
config: {
|
|
915
948
|
open: I.value.showTable,
|
|
@@ -924,35 +957,35 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
924
957
|
}
|
|
925
958
|
}
|
|
926
959
|
}, {
|
|
927
|
-
content:
|
|
928
|
-
(o(),
|
|
929
|
-
key: `table_${
|
|
930
|
-
colNames:
|
|
931
|
-
head:
|
|
932
|
-
body:
|
|
933
|
-
config:
|
|
960
|
+
content: _(() => [
|
|
961
|
+
(o(), Y($t, {
|
|
962
|
+
key: `table_${_e.value}`,
|
|
963
|
+
colNames: ae.value.colNames,
|
|
964
|
+
head: ae.value.head,
|
|
965
|
+
body: ae.value.body,
|
|
966
|
+
config: ae.value.config,
|
|
934
967
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
935
968
|
onClose: i[1] || (i[1] = (t) => I.value.showTable = !1)
|
|
936
969
|
}, {
|
|
937
|
-
th:
|
|
938
|
-
|
|
970
|
+
th: _(({ th: t }) => [
|
|
971
|
+
tt(M(t), 1)
|
|
939
972
|
]),
|
|
940
|
-
td:
|
|
941
|
-
t.shape ? (o(), r("div",
|
|
942
|
-
|
|
973
|
+
td: _(({ td: t }) => [
|
|
974
|
+
t.shape ? (o(), r("div", Ml, [
|
|
975
|
+
d("span", null, M(t.content), 1)
|
|
943
976
|
])) : (o(), r("div", {
|
|
944
977
|
key: 1,
|
|
945
978
|
innerHTML: t
|
|
946
|
-
}, null, 8,
|
|
979
|
+
}, null, 8, Cl))
|
|
947
980
|
]),
|
|
948
981
|
_: 1
|
|
949
982
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
950
983
|
]),
|
|
951
984
|
_: 1
|
|
952
|
-
}, 8, ["config"])) :
|
|
953
|
-
], 14,
|
|
985
|
+
}, 8, ["config"])) : c("", !0)
|
|
986
|
+
], 14, Lt));
|
|
954
987
|
}
|
|
955
|
-
},
|
|
988
|
+
}, Vl = /* @__PURE__ */ St(zl, [["__scopeId", "data-v-8bf19e2f"]]);
|
|
956
989
|
export {
|
|
957
|
-
|
|
990
|
+
Vl as default
|
|
958
991
|
};
|