vue-data-ui 2.4.2 → 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/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
- package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
- 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-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
- 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-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
- package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.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-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.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-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
- 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-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -1,33 +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 Mt from "./vue-ui-skeleton-
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
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 = {
|
|
17
17
|
key: 3,
|
|
18
18
|
style: { "pointer-events": "none !important" }
|
|
19
|
-
},
|
|
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
20
|
key: 4,
|
|
21
21
|
class: "vue-data-ui-watermark"
|
|
22
|
-
},
|
|
22
|
+
}, _l = ["onClick"], wl = {
|
|
23
23
|
key: 0,
|
|
24
24
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
25
|
-
},
|
|
25
|
+
}, $l = {
|
|
26
26
|
viewBox: "0 0 20 20",
|
|
27
27
|
height: "20",
|
|
28
28
|
width: "20",
|
|
29
29
|
style: { overflow: "hidden", background: "transparent" }
|
|
30
|
-
}, Ml = { key: 0 },
|
|
30
|
+
}, Ml = { key: 0 }, Cl = ["innerHTML"], zl = {
|
|
31
31
|
__name: "vue-ui-scatter",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -43,69 +43,70 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
setup(
|
|
47
|
-
const O =
|
|
48
|
-
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(),
|
|
49
49
|
set: (l) => l
|
|
50
50
|
});
|
|
51
|
-
function
|
|
52
|
-
const l =
|
|
51
|
+
function $e() {
|
|
52
|
+
const l = je({
|
|
53
53
|
userConfig: O.config,
|
|
54
|
-
defaultConfig:
|
|
54
|
+
defaultConfig: Ge
|
|
55
55
|
});
|
|
56
56
|
return l.theme ? {
|
|
57
|
-
...
|
|
58
|
-
userConfig:
|
|
57
|
+
...je({
|
|
58
|
+
userConfig: st.vue_ui_scatter[l.theme] || O.config,
|
|
59
59
|
defaultConfig: l
|
|
60
60
|
}),
|
|
61
|
-
customPalette:
|
|
61
|
+
customPalette: ut[l.theme] || U
|
|
62
62
|
} : l;
|
|
63
63
|
}
|
|
64
|
-
|
|
65
|
-
e.value =
|
|
64
|
+
Ke(() => O.config, (l) => {
|
|
65
|
+
e.value = $e(), Me(), ke.value += 1, _e.value += 1, we.value += 1;
|
|
66
66
|
}, { deep: !0 });
|
|
67
|
-
const te =
|
|
68
|
-
|
|
67
|
+
const te = h(null);
|
|
68
|
+
Qe(() => {
|
|
69
69
|
Me();
|
|
70
70
|
});
|
|
71
71
|
function Me() {
|
|
72
|
-
if (
|
|
72
|
+
if (rt(O.dataset) && pe({
|
|
73
73
|
componentName: "VueUiScatter",
|
|
74
74
|
type: "dataset"
|
|
75
75
|
}), e.value.responsive) {
|
|
76
|
-
const l =
|
|
77
|
-
const { width: i, height: t } =
|
|
76
|
+
const l = gt(() => {
|
|
77
|
+
const { width: i, height: t } = xt({
|
|
78
78
|
chart: H.value,
|
|
79
79
|
title: e.value.style.title.text ? xe.value : null,
|
|
80
|
-
legend: e.value.style.legend.show ? me.value : null
|
|
80
|
+
legend: e.value.style.legend.show ? me.value : null,
|
|
81
|
+
source: be.value
|
|
81
82
|
});
|
|
82
|
-
|
|
83
|
+
A.value.width = i, A.value.height = t;
|
|
83
84
|
});
|
|
84
85
|
te.value = new ResizeObserver(l), te.value.observe(H.value.parentNode);
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
|
-
|
|
88
|
+
Ze(() => {
|
|
88
89
|
te.value && te.value.disconnect();
|
|
89
90
|
});
|
|
90
|
-
const { isPrinting:
|
|
91
|
-
elementId: `vue-ui-scatter_${
|
|
91
|
+
const { isPrinting: Ce, isImaging: ze, generatePdf: Ae, generateImage: Se } = bt({
|
|
92
|
+
elementId: `vue-ui-scatter_${z.value}`,
|
|
92
93
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
93
|
-
}),
|
|
94
|
+
}), Le = k(() => it(e.value.customPalette)), I = h({
|
|
94
95
|
showTable: e.value.table.show,
|
|
95
96
|
showTooltip: e.value.style.tooltip.show
|
|
96
|
-
}),
|
|
97
|
+
}), A = h({
|
|
97
98
|
height: e.value.style.layout.height,
|
|
98
99
|
width: e.value.style.layout.width
|
|
99
100
|
}), le = k(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = k(() => ({
|
|
100
101
|
top: e.value.style.layout.padding.top + le.value,
|
|
101
|
-
right:
|
|
102
|
-
bottom:
|
|
102
|
+
right: A.value.width - e.value.style.layout.padding.right - le.value,
|
|
103
|
+
bottom: A.value.height - e.value.style.layout.padding.bottom,
|
|
103
104
|
left: e.value.style.layout.padding.left,
|
|
104
|
-
height:
|
|
105
|
-
width:
|
|
106
|
-
})),
|
|
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(() => {
|
|
107
108
|
O.dataset.forEach((a, n) => {
|
|
108
|
-
|
|
109
|
+
De({
|
|
109
110
|
datasetObject: a,
|
|
110
111
|
requiredAttributes: ["values"]
|
|
111
112
|
}).forEach((m) => {
|
|
@@ -116,7 +117,7 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
116
117
|
index: n
|
|
117
118
|
});
|
|
118
119
|
}), a.values && a.values.forEach((m, E) => {
|
|
119
|
-
|
|
120
|
+
De({
|
|
120
121
|
datasetObject: m,
|
|
121
122
|
requiredAttributes: ["x", "y"]
|
|
122
123
|
}).forEach((J) => {
|
|
@@ -132,20 +133,20 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
132
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)));
|
|
133
134
|
return { xMin: l >= 0 ? 0 : l, xMax: i, yMin: t >= 0 ? 0 : t, yMax: s };
|
|
134
135
|
}), f = k(() => ({
|
|
135
|
-
x: u.value.left + Math.abs(
|
|
136
|
-
y: u.value.bottom - Math.abs(
|
|
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
|
|
137
138
|
})), V = k(() => O.dataset.map((l, i) => {
|
|
138
|
-
const t = `cluster_${
|
|
139
|
+
const t = `cluster_${z.value}_${i}`;
|
|
139
140
|
return {
|
|
140
141
|
...l,
|
|
141
142
|
id: t,
|
|
142
|
-
color: l.color ? l.color :
|
|
143
|
+
color: l.color ? l.color : Le.value[i] || U[i] || U[i % U.length],
|
|
143
144
|
opacity: x.value.includes(t) ? 0.5 : 1,
|
|
144
145
|
shape: l.shape ?? "circle",
|
|
145
|
-
segregate: () =>
|
|
146
|
+
segregate: () => We(t),
|
|
146
147
|
isSegregated: x.value.includes(t)
|
|
147
148
|
};
|
|
148
|
-
})),
|
|
149
|
+
})), qe = k(() => ({
|
|
149
150
|
cy: "scatter-div-legend",
|
|
150
151
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
151
152
|
color: e.value.style.legend.color,
|
|
@@ -155,15 +156,15 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
155
156
|
})), ie = k(() => V.value.map((l, i) => ({
|
|
156
157
|
...l,
|
|
157
158
|
plots: l.values.map((t) => ({
|
|
158
|
-
x: u.value.left + (t.x + Math.abs(
|
|
159
|
-
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,
|
|
160
161
|
v: {
|
|
161
162
|
...t,
|
|
162
163
|
name: t.name || ""
|
|
163
164
|
},
|
|
164
165
|
clusterName: l.name,
|
|
165
|
-
color: l.color ? l.color :
|
|
166
|
-
id: `plot_${
|
|
166
|
+
color: l.color ? l.color : Le.value[i] || U[i] || U[i % U.length],
|
|
167
|
+
id: `plot_${z.value}_${Math.random()}`,
|
|
167
168
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
168
169
|
}))
|
|
169
170
|
})).filter((l) => !x.value.includes(l.id))), S = k(() => ie.value.map((l) => {
|
|
@@ -177,7 +178,7 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
177
178
|
y1: E * u.value.left + J,
|
|
178
179
|
y2: E * u.value.right + J,
|
|
179
180
|
coefficient: m
|
|
180
|
-
}, w = (N.y2 - N.y1) / (N.x2 - N.x1), T = N.y1 - w * N.x1, F = Math.min(
|
|
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 = {
|
|
181
182
|
x: F,
|
|
182
183
|
y: w * F + T <= e.value.style.layout.padding.top ? u.value.top : w * F + T
|
|
183
184
|
};
|
|
@@ -195,11 +196,11 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
195
196
|
};
|
|
196
197
|
})
|
|
197
198
|
};
|
|
198
|
-
})),
|
|
199
|
-
function
|
|
199
|
+
})), Te = k(() => Math.max(...S.value.flatMap((l) => l.plots.map((i) => Math.abs(i.deviation)))));
|
|
200
|
+
function Ue() {
|
|
200
201
|
return S.value;
|
|
201
202
|
}
|
|
202
|
-
function
|
|
203
|
+
function Be(l, i) {
|
|
203
204
|
const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((R) => ({
|
|
204
205
|
x: R.x,
|
|
205
206
|
y: R.y
|
|
@@ -222,17 +223,17 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
222
223
|
const G = Math.max(...T), ye = Math.max(...F);
|
|
223
224
|
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY: ye };
|
|
224
225
|
}
|
|
225
|
-
const D = k(() => e.value.style.layout.marginalBars.tranches), L = k(() =>
|
|
226
|
+
const D = k(() => e.value.style.layout.marginalBars.tranches), L = k(() => Be(ie.value, D.value)), He = k(() => {
|
|
226
227
|
const l = u.value.top - e.value.style.layout.marginalBars.offset, i = u.value.right + e.value.style.layout.marginalBars.offset;
|
|
227
228
|
return ie.value.map((t) => {
|
|
228
|
-
const s =
|
|
229
|
+
const s = Be(t, D.value);
|
|
229
230
|
return {
|
|
230
231
|
coords: s,
|
|
231
|
-
dX:
|
|
232
|
+
dX: nt(s.avgX.map((a, n) => ({
|
|
232
233
|
x: a,
|
|
233
234
|
y: l - s.x[n] / s.maxX * e.value.style.layout.marginalBars.size
|
|
234
235
|
}))),
|
|
235
|
-
dY:
|
|
236
|
+
dY: vt(s.avgY.map((a, n) => ({
|
|
236
237
|
y: a,
|
|
237
238
|
x: i + e.value.style.layout.marginalBars.size * s.y[n] / s.maxY
|
|
238
239
|
}))),
|
|
@@ -240,8 +241,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
240
241
|
id: t.id
|
|
241
242
|
};
|
|
242
243
|
});
|
|
243
|
-
}), B =
|
|
244
|
-
function
|
|
244
|
+
}), B = h(void 0), y = h(null), ne = h(null);
|
|
245
|
+
function Ne(l, i) {
|
|
245
246
|
B.value = l.id, y.value = l;
|
|
246
247
|
let t = "";
|
|
247
248
|
ne.value = {
|
|
@@ -251,7 +252,7 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
251
252
|
config: e.value
|
|
252
253
|
};
|
|
253
254
|
const s = e.value.style.tooltip.customFormat;
|
|
254
|
-
|
|
255
|
+
dt(s) && ht(() => s({
|
|
255
256
|
datapoint: l,
|
|
256
257
|
seriesIndex: i,
|
|
257
258
|
series: S.value,
|
|
@@ -286,23 +287,23 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
286
287
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
287
288
|
})}</b>`, t += "</div>", re.value = `<div>${t}</div>`), ue.value = !0;
|
|
288
289
|
}
|
|
289
|
-
function
|
|
290
|
+
function Pe() {
|
|
290
291
|
ue.value = !1, B.value = void 0, y.value = null;
|
|
291
292
|
}
|
|
292
|
-
const x =
|
|
293
|
-
function
|
|
293
|
+
const x = h([]);
|
|
294
|
+
function We(l) {
|
|
294
295
|
x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length < O.dataset.length - 1 && x.value.push(l);
|
|
295
296
|
}
|
|
296
|
-
function
|
|
297
|
-
|
|
297
|
+
function Oe() {
|
|
298
|
+
lt(() => {
|
|
298
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) => [
|
|
299
300
|
a.name,
|
|
300
301
|
a.correlation.coefficient,
|
|
301
302
|
a.plots.length,
|
|
302
303
|
a.plots.map((n) => n.v.x).reduce((n, m) => n + m, 0) / a.plots.length,
|
|
303
304
|
a.plots.map((n) => n.v.y).reduce((n, m) => n + m, 0) / a.plots.length
|
|
304
|
-
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s =
|
|
305
|
-
|
|
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" });
|
|
306
307
|
});
|
|
307
308
|
}
|
|
308
309
|
const ae = k(() => {
|
|
@@ -336,51 +337,51 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
336
337
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
337
338
|
};
|
|
338
339
|
return { head: l, body: i, config: t, colNames: l };
|
|
339
|
-
}), K =
|
|
340
|
-
function
|
|
340
|
+
}), K = h(!1);
|
|
341
|
+
function Je(l) {
|
|
341
342
|
K.value = l, ge.value += 1;
|
|
342
343
|
}
|
|
343
|
-
function
|
|
344
|
+
function Fe() {
|
|
344
345
|
I.value.showTable = !I.value.showTable;
|
|
345
346
|
}
|
|
346
|
-
function
|
|
347
|
+
function Xe() {
|
|
347
348
|
I.value.showTooltip = !I.value.showTooltip;
|
|
348
349
|
}
|
|
349
|
-
const oe =
|
|
350
|
+
const oe = h(!1);
|
|
350
351
|
function ve() {
|
|
351
352
|
oe.value = !oe.value;
|
|
352
353
|
}
|
|
353
|
-
return
|
|
354
|
-
getData:
|
|
355
|
-
generatePdf:
|
|
356
|
-
generateCsv:
|
|
357
|
-
generateImage:
|
|
358
|
-
toggleTable:
|
|
359
|
-
toggleTooltip:
|
|
354
|
+
return Ee({
|
|
355
|
+
getData: Ue,
|
|
356
|
+
generatePdf: Ae,
|
|
357
|
+
generateCsv: Oe,
|
|
358
|
+
generateImage: Se,
|
|
359
|
+
toggleTable: Fe,
|
|
360
|
+
toggleTooltip: Xe,
|
|
360
361
|
toggleAnnotator: ve
|
|
361
362
|
}), (l, i) => (o(), r("div", {
|
|
362
|
-
class:
|
|
363
|
+
class: Ie(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
363
364
|
ref_key: "scatterChart",
|
|
364
365
|
ref: H,
|
|
365
|
-
id: `vue-ui-scatter_${
|
|
366
|
+
id: `vue-ui-scatter_${z.value}`,
|
|
366
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%" : ""}`)
|
|
367
368
|
}, [
|
|
368
|
-
e.value.userOptions.buttons.annotator ? (o(), Y(
|
|
369
|
+
e.value.userOptions.buttons.annotator ? (o(), Y(At, {
|
|
369
370
|
key: 0,
|
|
370
371
|
parent: H.value,
|
|
371
372
|
backgroundColor: e.value.style.backgroundColor,
|
|
372
373
|
color: e.value.style.color,
|
|
373
374
|
active: oe.value,
|
|
374
375
|
onClose: ve
|
|
375
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
376
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
376
377
|
e.value.style.title.text ? (o(), r("div", {
|
|
377
378
|
key: 1,
|
|
378
379
|
ref_key: "chartTitle",
|
|
379
380
|
ref: xe,
|
|
380
381
|
style: "width:100%;background:transparent"
|
|
381
382
|
}, [
|
|
382
|
-
(o(), Y(
|
|
383
|
-
key: `title_${
|
|
383
|
+
(o(), Y(mt, {
|
|
384
|
+
key: `title_${ke.value}`,
|
|
384
385
|
config: {
|
|
385
386
|
title: {
|
|
386
387
|
cy: "scatter-div-title",
|
|
@@ -392,16 +393,16 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
392
393
|
}
|
|
393
394
|
}
|
|
394
395
|
}, null, 8, ["config"]))
|
|
395
|
-
], 512)) :
|
|
396
|
-
e.value.userOptions.show && ee.value ? (o(), Y(
|
|
396
|
+
], 512)) : c("", !0),
|
|
397
|
+
e.value.userOptions.show && ee.value ? (o(), Y(kt, {
|
|
397
398
|
ref_key: "details",
|
|
398
|
-
ref:
|
|
399
|
+
ref: Re,
|
|
399
400
|
key: `user_options_${ge.value}`,
|
|
400
401
|
backgroundColor: e.value.style.backgroundColor,
|
|
401
402
|
color: e.value.style.color,
|
|
402
|
-
isImaging: v(
|
|
403
|
-
isPrinting: v(
|
|
404
|
-
uid:
|
|
403
|
+
isImaging: v(ze),
|
|
404
|
+
isPrinting: v(Ce),
|
|
405
|
+
uid: z.value,
|
|
405
406
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
406
407
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
407
408
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -415,74 +416,74 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
415
416
|
position: e.value.userOptions.position,
|
|
416
417
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
417
418
|
isAnnotation: oe.value,
|
|
418
|
-
onToggleFullscreen:
|
|
419
|
-
onGeneratePdf: v(
|
|
420
|
-
onGenerateCsv:
|
|
421
|
-
onGenerateImage: v(
|
|
422
|
-
onToggleTable:
|
|
423
|
-
onToggleTooltip:
|
|
419
|
+
onToggleFullscreen: Je,
|
|
420
|
+
onGeneratePdf: v(Ae),
|
|
421
|
+
onGenerateCsv: Oe,
|
|
422
|
+
onGenerateImage: v(Se),
|
|
423
|
+
onToggleTable: Fe,
|
|
424
|
+
onToggleTooltip: Xe,
|
|
424
425
|
onToggleAnnotator: ve
|
|
425
|
-
},
|
|
426
|
+
}, et({ _: 2 }, [
|
|
426
427
|
l.$slots.optionTooltip ? {
|
|
427
428
|
name: "optionTooltip",
|
|
428
429
|
fn: _(() => [
|
|
429
|
-
|
|
430
|
+
$(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
430
431
|
]),
|
|
431
432
|
key: "0"
|
|
432
433
|
} : void 0,
|
|
433
434
|
l.$slots.optionPdf ? {
|
|
434
435
|
name: "optionPdf",
|
|
435
436
|
fn: _(() => [
|
|
436
|
-
|
|
437
|
+
$(l.$slots, "optionPdf", {}, void 0, !0)
|
|
437
438
|
]),
|
|
438
439
|
key: "1"
|
|
439
440
|
} : void 0,
|
|
440
441
|
l.$slots.optionCsv ? {
|
|
441
442
|
name: "optionCsv",
|
|
442
443
|
fn: _(() => [
|
|
443
|
-
|
|
444
|
+
$(l.$slots, "optionCsv", {}, void 0, !0)
|
|
444
445
|
]),
|
|
445
446
|
key: "2"
|
|
446
447
|
} : void 0,
|
|
447
448
|
l.$slots.optionImg ? {
|
|
448
449
|
name: "optionImg",
|
|
449
450
|
fn: _(() => [
|
|
450
|
-
|
|
451
|
+
$(l.$slots, "optionImg", {}, void 0, !0)
|
|
451
452
|
]),
|
|
452
453
|
key: "3"
|
|
453
454
|
} : void 0,
|
|
454
455
|
l.$slots.optionTable ? {
|
|
455
456
|
name: "optionTable",
|
|
456
457
|
fn: _(() => [
|
|
457
|
-
|
|
458
|
+
$(l.$slots, "optionTable", {}, void 0, !0)
|
|
458
459
|
]),
|
|
459
460
|
key: "4"
|
|
460
461
|
} : void 0,
|
|
461
462
|
l.$slots.optionFullscreen ? {
|
|
462
463
|
name: "optionFullscreen",
|
|
463
464
|
fn: _(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
464
|
-
|
|
465
|
+
$(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
465
466
|
]),
|
|
466
467
|
key: "5"
|
|
467
468
|
} : void 0,
|
|
468
469
|
l.$slots.optionAnnotator ? {
|
|
469
470
|
name: "optionAnnotator",
|
|
470
471
|
fn: _(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
471
|
-
|
|
472
|
+
$(l.$slots, "optionAnnotator", Q(Z({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
472
473
|
]),
|
|
473
474
|
key: "6"
|
|
474
475
|
} : void 0
|
|
475
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
476
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
476
477
|
ee.value ? (o(), r("svg", {
|
|
477
478
|
key: 3,
|
|
478
|
-
xmlns: v(
|
|
479
|
-
class:
|
|
480
|
-
viewBox: `0 0 ${
|
|
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}`,
|
|
481
482
|
style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
482
483
|
}, [
|
|
483
|
-
he(
|
|
484
|
-
e.value.style.layout.axis.show ? (o(), r("g",
|
|
485
|
-
|
|
484
|
+
he(zt),
|
|
485
|
+
e.value.style.layout.axis.show ? (o(), r("g", Bt, [
|
|
486
|
+
d("line", {
|
|
486
487
|
x1: f.value.x,
|
|
487
488
|
x2: f.value.x,
|
|
488
489
|
y1: u.value.top,
|
|
@@ -490,8 +491,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
490
491
|
stroke: e.value.style.layout.axis.stroke,
|
|
491
492
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
492
493
|
"stroke-linecap": "round"
|
|
493
|
-
}, null, 8,
|
|
494
|
-
|
|
494
|
+
}, null, 8, Nt),
|
|
495
|
+
d("line", {
|
|
495
496
|
x1: u.value.left,
|
|
496
497
|
x2: u.value.right,
|
|
497
498
|
y1: f.value.y,
|
|
@@ -499,24 +500,24 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
499
500
|
stroke: e.value.style.layout.axis.stroke,
|
|
500
501
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
501
502
|
"stroke-linecap": "round"
|
|
502
|
-
}, null, 8,
|
|
503
|
-
])) :
|
|
504
|
-
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, [
|
|
505
506
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
506
507
|
t.plots.length > 2 ? (o(), r("polygon", {
|
|
507
508
|
key: 0,
|
|
508
|
-
points: v(
|
|
509
|
+
points: v(ct)({ series: t.plots }),
|
|
509
510
|
fill: v(fe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
510
511
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
511
512
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
512
513
|
stroke: t.color,
|
|
513
514
|
"stroke-linejoin": "round",
|
|
514
515
|
"stroke-linecap": "round"
|
|
515
|
-
}, null, 8,
|
|
516
|
+
}, null, 8, Ot)) : c("", !0)
|
|
516
517
|
]))), 256))
|
|
517
|
-
])) :
|
|
518
|
+
])) : c("", !0),
|
|
518
519
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
519
|
-
!t.shape || t.shape === "circle" ? (o(), r("g",
|
|
520
|
+
!t.shape || t.shape === "circle" ? (o(), r("g", Ft, [
|
|
520
521
|
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), r("circle", {
|
|
521
522
|
cx: a.x,
|
|
522
523
|
cy: a.y,
|
|
@@ -524,58 +525,58 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
524
525
|
fill: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
525
526
|
stroke: e.value.style.layout.plots.stroke,
|
|
526
527
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
527
|
-
onMouseover: (m) =>
|
|
528
|
-
onMouseleave:
|
|
529
|
-
style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) /
|
|
530
|
-
}, null, 44,
|
|
531
|
-
])) : (o(), r("g",
|
|
532
|
-
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), Y(
|
|
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, {
|
|
533
534
|
plot: { x: a.x, y: a.y },
|
|
534
535
|
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
535
536
|
shape: t.shape,
|
|
536
537
|
color: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
537
538
|
stroke: e.value.style.layout.plots.stroke,
|
|
538
539
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
539
|
-
onMouseover: (m) =>
|
|
540
|
-
onMouseleave:
|
|
541
|
-
style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) /
|
|
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}`)
|
|
542
543
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
543
544
|
]))
|
|
544
545
|
]))), 256)),
|
|
545
|
-
e.value.style.layout.marginalBars.show ? (o(), r("g",
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
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}`,
|
|
549
550
|
x1: "0%",
|
|
550
551
|
y1: "0%",
|
|
551
552
|
x2: "0%",
|
|
552
553
|
y2: "100%"
|
|
553
554
|
}, [
|
|
554
|
-
|
|
555
|
+
d("stop", {
|
|
555
556
|
offset: "0%",
|
|
556
557
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
557
|
-
}, null, 8,
|
|
558
|
-
|
|
558
|
+
}, null, 8, jt),
|
|
559
|
+
d("stop", {
|
|
559
560
|
offset: "100%",
|
|
560
561
|
"stop-color": e.value.style.backgroundColor
|
|
561
|
-
}, null, 8,
|
|
562
|
-
], 8,
|
|
563
|
-
|
|
564
|
-
id: `marginal_y_${
|
|
562
|
+
}, null, 8, Vt)
|
|
563
|
+
], 8, Yt),
|
|
564
|
+
d("linearGradient", {
|
|
565
|
+
id: `marginal_y_${z.value}`,
|
|
565
566
|
x1: "0%",
|
|
566
567
|
x2: "100%",
|
|
567
568
|
y1: "0%",
|
|
568
569
|
y2: "0%"
|
|
569
570
|
}, [
|
|
570
|
-
|
|
571
|
+
d("stop", {
|
|
571
572
|
offset: "0%",
|
|
572
573
|
"stop-color": e.value.style.backgroundColor
|
|
573
|
-
}, null, 8,
|
|
574
|
-
|
|
574
|
+
}, null, 8, Gt),
|
|
575
|
+
d("stop", {
|
|
575
576
|
offset: "100%",
|
|
576
577
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
577
|
-
}, null, 8,
|
|
578
|
-
], 8,
|
|
578
|
+
}, null, 8, Rt)
|
|
579
|
+
], 8, Et)
|
|
579
580
|
]),
|
|
580
581
|
(o(!0), r(P, null, X(L.value.x, (t, s) => (o(), r("g", null, [
|
|
581
582
|
t && L.value.avgX[s] ? (o(), r("rect", {
|
|
@@ -584,12 +585,12 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
584
585
|
y: u.value.top - e.value.style.layout.marginalBars.offset - t / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
585
586
|
width: u.value.width / D.value <= 0 ? 1e-4 : u.value.width / D.value,
|
|
586
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,
|
|
587
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${
|
|
588
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
588
589
|
style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
589
590
|
stroke: e.value.style.backgroundColor,
|
|
590
591
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
591
592
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
592
|
-
}, null, 12,
|
|
593
|
+
}, null, 12, qt)) : c("", !0)
|
|
593
594
|
]))), 256)),
|
|
594
595
|
(o(!0), r(P, null, X(L.value.y, (t, s) => (o(), r("g", null, [
|
|
595
596
|
t && L.value.avgY[s] ? (o(), r("rect", {
|
|
@@ -598,16 +599,16 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
598
599
|
y: L.value.avgY[s] - u.value.height / D.value / 2,
|
|
599
600
|
height: u.value.height / D.value <= 0 ? 1e-4 : u.value.height / D.value,
|
|
600
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,
|
|
601
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${
|
|
602
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
602
603
|
style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
603
604
|
stroke: e.value.style.backgroundColor,
|
|
604
605
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
605
606
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
606
|
-
}, null, 12,
|
|
607
|
+
}, null, 12, Ut)) : c("", !0)
|
|
607
608
|
]))), 256)),
|
|
608
|
-
e.value.style.layout.marginalBars.showLines ? (o(), r("g",
|
|
609
|
-
(o(!0), r(P, null, X(
|
|
610
|
-
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", {
|
|
611
612
|
key: 0,
|
|
612
613
|
d: `M ${t.dX}`,
|
|
613
614
|
stroke: e.value.style.backgroundColor,
|
|
@@ -615,8 +616,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
615
616
|
"stroke-linecap": "round",
|
|
616
617
|
"stroke-linejoin": "round",
|
|
617
618
|
fill: "none"
|
|
618
|
-
}, null, 8,
|
|
619
|
-
x.value.includes(t.id) ?
|
|
619
|
+
}, null, 8, Jt)),
|
|
620
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
620
621
|
key: 1,
|
|
621
622
|
d: `M ${t.dX}`,
|
|
622
623
|
stroke: t.color,
|
|
@@ -624,8 +625,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
624
625
|
"stroke-linecap": "round",
|
|
625
626
|
"stroke-linejoin": "round",
|
|
626
627
|
fill: "none"
|
|
627
|
-
}, null, 8,
|
|
628
|
-
x.value.includes(t.id) ?
|
|
628
|
+
}, null, 8, Kt)),
|
|
629
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
629
630
|
key: 2,
|
|
630
631
|
d: `M ${t.dY}`,
|
|
631
632
|
stroke: e.value.style.backgroundColor,
|
|
@@ -633,8 +634,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
633
634
|
"stroke-linecap": "round",
|
|
634
635
|
"stroke-linejoin": "round",
|
|
635
636
|
fill: "none"
|
|
636
|
-
}, null, 8,
|
|
637
|
-
x.value.includes(t.id) ?
|
|
637
|
+
}, null, 8, Qt)),
|
|
638
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
638
639
|
key: 3,
|
|
639
640
|
d: `M ${t.dY}`,
|
|
640
641
|
stroke: t.color,
|
|
@@ -642,12 +643,12 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
642
643
|
"stroke-linecap": "round",
|
|
643
644
|
"stroke-linejoin": "round",
|
|
644
645
|
fill: "none"
|
|
645
|
-
}, null, 8,
|
|
646
|
+
}, null, 8, Zt))
|
|
646
647
|
], 64))), 256))
|
|
647
|
-
])) :
|
|
648
|
-
])) :
|
|
649
|
-
y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g",
|
|
650
|
-
|
|
648
|
+
])) : c("", !0)
|
|
649
|
+
])) : c("", !0),
|
|
650
|
+
y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", el, [
|
|
651
|
+
d("line", {
|
|
651
652
|
x1: f.value.x,
|
|
652
653
|
x2: y.value.x,
|
|
653
654
|
y1: y.value.y,
|
|
@@ -657,8 +658,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
657
658
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
658
659
|
"stroke-linecap": "round",
|
|
659
660
|
class: "line-pointer"
|
|
660
|
-
}, null, 8,
|
|
661
|
-
|
|
661
|
+
}, null, 8, tl),
|
|
662
|
+
d("line", {
|
|
662
663
|
x1: y.value.x,
|
|
663
664
|
x2: y.value.x,
|
|
664
665
|
y1: f.value.y,
|
|
@@ -668,8 +669,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
668
669
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
669
670
|
"stroke-linecap": "round",
|
|
670
671
|
class: "line-pointer"
|
|
671
|
-
}, null, 8,
|
|
672
|
-
|
|
672
|
+
}, null, 8, ll),
|
|
673
|
+
d("text", {
|
|
673
674
|
x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
|
|
674
675
|
y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
675
676
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
@@ -678,16 +679,16 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
678
679
|
"text-anchor": y.value.x > f.value.x ? "end" : "start"
|
|
679
680
|
}, M(v(j)(
|
|
680
681
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
681
|
-
v(
|
|
682
|
+
v(C)(y.value.v.y),
|
|
682
683
|
v(W)({
|
|
683
684
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
684
|
-
v: v(
|
|
685
|
+
v: v(C)(y.value.v.y),
|
|
685
686
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
686
687
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
687
688
|
}),
|
|
688
689
|
{ datapoint: y.value }
|
|
689
|
-
)), 9,
|
|
690
|
-
|
|
690
|
+
)), 9, al),
|
|
691
|
+
d("text", {
|
|
691
692
|
x: y.value.x,
|
|
692
693
|
y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
693
694
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
@@ -696,16 +697,16 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
696
697
|
"text-anchor": "middle"
|
|
697
698
|
}, M(v(j)(
|
|
698
699
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
699
|
-
v(
|
|
700
|
+
v(C)(y.value.v.x),
|
|
700
701
|
v(W)({
|
|
701
702
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
702
|
-
v: v(
|
|
703
|
+
v: v(C)(y.value.v.x),
|
|
703
704
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
704
705
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
705
706
|
}),
|
|
706
707
|
{ datapoint: y.value }
|
|
707
|
-
)), 9,
|
|
708
|
-
|
|
708
|
+
)), 9, ol),
|
|
709
|
+
d("circle", {
|
|
709
710
|
cx: f.value.x,
|
|
710
711
|
cy: y.value.y,
|
|
711
712
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
@@ -713,8 +714,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
713
714
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
714
715
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
715
716
|
class: "line-pointer"
|
|
716
|
-
}, null, 8,
|
|
717
|
-
|
|
717
|
+
}, null, 8, sl),
|
|
718
|
+
d("circle", {
|
|
718
719
|
cx: y.value.x,
|
|
719
720
|
cy: f.value.y,
|
|
720
721
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
@@ -722,7 +723,7 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
722
723
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
723
724
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
724
725
|
class: "line-pointer"
|
|
725
|
-
}, null, 8,
|
|
726
|
+
}, null, 8, ul),
|
|
726
727
|
e.value.style.layout.plots.selectors.labels.showName ? (o(), r("text", {
|
|
727
728
|
key: 0,
|
|
728
729
|
x: y.value.x,
|
|
@@ -731,10 +732,10 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
731
732
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
732
733
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
733
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"
|
|
734
|
-
}, M(y.value.v.name), 9,
|
|
735
|
-
])) :
|
|
736
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g",
|
|
737
|
-
|
|
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", {
|
|
738
739
|
x: u.value.left - 5,
|
|
739
740
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
740
741
|
"text-anchor": "end",
|
|
@@ -742,15 +743,15 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
742
743
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
743
744
|
}, M(v(j)(
|
|
744
745
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
745
|
-
v(
|
|
746
|
+
v(C)(p.value.xMin),
|
|
746
747
|
v(W)({
|
|
747
748
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
748
|
-
v: v(
|
|
749
|
+
v: v(C)(p.value.xMin),
|
|
749
750
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
750
751
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
751
752
|
})
|
|
752
|
-
)), 9,
|
|
753
|
-
|
|
753
|
+
)), 9, nl),
|
|
754
|
+
d("text", {
|
|
754
755
|
x: u.value.right + 3,
|
|
755
756
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
756
757
|
"text-anchor": "start",
|
|
@@ -758,25 +759,25 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
758
759
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
759
760
|
}, M(v(j)(
|
|
760
761
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
761
|
-
v(
|
|
762
|
+
v(C)(p.value.xMax),
|
|
762
763
|
v(W)({
|
|
763
764
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
764
|
-
v: v(
|
|
765
|
+
v: v(C)(p.value.xMax),
|
|
765
766
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
766
767
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
767
768
|
})
|
|
768
|
-
)), 9,
|
|
769
|
-
|
|
770
|
-
id: `vue-ui-scatter-xAxis-label-${
|
|
769
|
+
)), 9, vl),
|
|
770
|
+
d("text", {
|
|
771
|
+
id: `vue-ui-scatter-xAxis-label-${z.value}`,
|
|
771
772
|
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${u.value.top + u.value.height / 2}), rotate(-90)`,
|
|
772
773
|
"text-anchor": "middle",
|
|
773
774
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
774
775
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
775
776
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
776
|
-
}, M(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
777
|
-
])) :
|
|
778
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g",
|
|
779
|
-
|
|
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", {
|
|
780
781
|
x: f.value.x,
|
|
781
782
|
y: u.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
782
783
|
"text-anchor": "middle",
|
|
@@ -784,15 +785,15 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
784
785
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
785
786
|
}, M(v(j)(
|
|
786
787
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
787
|
-
v(
|
|
788
|
+
v(C)(p.value.yMin),
|
|
788
789
|
v(W)({
|
|
789
790
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
790
|
-
v: v(
|
|
791
|
+
v: v(C)(p.value.yMin),
|
|
791
792
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
792
793
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
793
794
|
})
|
|
794
|
-
)), 9,
|
|
795
|
-
|
|
795
|
+
)), 9, dl),
|
|
796
|
+
d("text", {
|
|
796
797
|
x: f.value.x,
|
|
797
798
|
y: u.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
798
799
|
"text-anchor": "middle",
|
|
@@ -800,34 +801,34 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
800
801
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
801
802
|
}, M(v(j)(
|
|
802
803
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
803
|
-
v(
|
|
804
|
+
v(C)(p.value.yMax),
|
|
804
805
|
v(W)({
|
|
805
806
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
806
|
-
v: v(
|
|
807
|
+
v: v(C)(p.value.yMax),
|
|
807
808
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
808
809
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
809
810
|
})
|
|
810
|
-
)), 9,
|
|
811
|
-
|
|
811
|
+
)), 9, hl),
|
|
812
|
+
d("text", {
|
|
812
813
|
"text-anchor": "middle",
|
|
813
814
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
814
815
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
815
816
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
816
817
|
x: u.value.left + u.value.width / 2,
|
|
817
818
|
y: u.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
818
|
-
}, M(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
819
|
-
])) :
|
|
820
|
-
|
|
821
|
-
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}`
|
|
822
823
|
}, [
|
|
823
|
-
|
|
824
|
+
d("rect", {
|
|
824
825
|
x: u.value.left,
|
|
825
826
|
y: u.value.top,
|
|
826
827
|
width: u.value.width <= 0 ? 1e-4 : u.value.width,
|
|
827
828
|
height: u.value.height <= 0 ? 1e-4 : u.value.height
|
|
828
|
-
}, null, 8,
|
|
829
|
-
], 8,
|
|
830
|
-
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, [
|
|
831
832
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("line", {
|
|
832
833
|
x1: t.correlation.x1,
|
|
833
834
|
x2: t.correlation.x2,
|
|
@@ -836,8 +837,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
836
837
|
"stroke-dasharray": e.value.style.layout.correlation.strokeDasharray,
|
|
837
838
|
stroke: t.color,
|
|
838
839
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
839
|
-
"clip-path": `url(#clip_path_${
|
|
840
|
-
}, null, 8,
|
|
840
|
+
"clip-path": `url(#clip_path_${z.value})`
|
|
841
|
+
}, null, 8, ml))), 256)),
|
|
841
842
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
842
843
|
e.value.style.layout.correlation.label.show ? (o(), r("text", {
|
|
843
844
|
key: 0,
|
|
@@ -847,17 +848,17 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
847
848
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
848
849
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
849
850
|
}, M(v(W)({
|
|
850
|
-
v: v(
|
|
851
|
+
v: v(C)(t.correlation.coefficient),
|
|
851
852
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
852
|
-
})), 9,
|
|
853
|
+
})), 9, bl)) : c("", !0)
|
|
853
854
|
]))), 256))
|
|
854
|
-
])) :
|
|
855
|
-
|
|
856
|
-
], 14,
|
|
857
|
-
l.$slots.watermark ? (o(), r("div",
|
|
858
|
-
|
|
859
|
-
])) :
|
|
860
|
-
ee.value ?
|
|
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, {
|
|
861
862
|
key: 5,
|
|
862
863
|
config: {
|
|
863
864
|
type: "quadrant",
|
|
@@ -875,29 +876,37 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
875
876
|
}
|
|
876
877
|
}
|
|
877
878
|
}, null, 8, ["config"])),
|
|
878
|
-
|
|
879
|
+
d("div", {
|
|
879
880
|
ref_key: "chartLegend",
|
|
880
881
|
ref: me
|
|
881
882
|
}, [
|
|
882
|
-
e.value.style.legend.show ? (o(), Y(
|
|
883
|
-
key: `legend_${
|
|
883
|
+
e.value.style.legend.show ? (o(), Y(wt, {
|
|
884
|
+
key: `legend_${we.value}`,
|
|
884
885
|
legendSet: V.value,
|
|
885
|
-
config:
|
|
886
|
-
onClickMarker: i[0] || (i[0] = ({ legend: t }) =>
|
|
886
|
+
config: qe.value,
|
|
887
|
+
onClickMarker: i[0] || (i[0] = ({ legend: t }) => We(t.id))
|
|
887
888
|
}, {
|
|
888
889
|
item: _(({ legend: t }) => [
|
|
889
|
-
|
|
890
|
+
d("div", {
|
|
890
891
|
onClick: (s) => t.segregate(),
|
|
891
892
|
style: q(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
|
|
892
|
-
}, M(t.name), 13,
|
|
893
|
+
}, M(t.name), 13, _l)
|
|
893
894
|
]),
|
|
894
895
|
_: 1
|
|
895
|
-
}, 8, ["legendSet", "config"])) :
|
|
896
|
+
}, 8, ["legendSet", "config"])) : $(l.$slots, "legend", {
|
|
896
897
|
key: 1,
|
|
897
898
|
legend: V.value
|
|
898
899
|
}, void 0, !0)
|
|
899
900
|
], 512),
|
|
900
|
-
|
|
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, {
|
|
901
910
|
show: I.value.showTooltip && ue.value,
|
|
902
911
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
903
912
|
color: e.value.style.tooltip.color,
|
|
@@ -913,27 +922,27 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
913
922
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
914
923
|
}, {
|
|
915
924
|
"tooltip-before": _(() => [
|
|
916
|
-
|
|
925
|
+
$(l.$slots, "tooltip-before", Q(Z({ ...ne.value })), void 0, !0)
|
|
917
926
|
]),
|
|
918
927
|
"tooltip-after": _(() => [
|
|
919
|
-
|
|
928
|
+
$(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
|
|
920
929
|
]),
|
|
921
930
|
default: _(() => [
|
|
922
|
-
e.value.style.tooltip.showShape ? (o(), r("div",
|
|
923
|
-
(o(), r("svg",
|
|
924
|
-
he(
|
|
931
|
+
e.value.style.tooltip.showShape ? (o(), r("div", wl, [
|
|
932
|
+
(o(), r("svg", $l, [
|
|
933
|
+
he(Ye, {
|
|
925
934
|
shape: y.value.shape,
|
|
926
935
|
color: y.value.color,
|
|
927
936
|
plot: { x: 10, y: 10 },
|
|
928
937
|
radius: 7
|
|
929
938
|
}, null, 8, ["shape", "color"])
|
|
930
939
|
]))
|
|
931
|
-
])) :
|
|
940
|
+
])) : c("", !0)
|
|
932
941
|
]),
|
|
933
942
|
_: 3
|
|
934
943
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
935
|
-
ee.value ? (o(), Y(
|
|
936
|
-
key:
|
|
944
|
+
ee.value ? (o(), Y(Ct, {
|
|
945
|
+
key: 7,
|
|
937
946
|
hideDetails: "",
|
|
938
947
|
config: {
|
|
939
948
|
open: I.value.showTable,
|
|
@@ -949,8 +958,8 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
949
958
|
}
|
|
950
959
|
}, {
|
|
951
960
|
content: _(() => [
|
|
952
|
-
(o(), Y(
|
|
953
|
-
key: `table_${
|
|
961
|
+
(o(), Y($t, {
|
|
962
|
+
key: `table_${_e.value}`,
|
|
954
963
|
colNames: ae.value.colNames,
|
|
955
964
|
head: ae.value.head,
|
|
956
965
|
body: ae.value.body,
|
|
@@ -959,24 +968,24 @@ const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2",
|
|
|
959
968
|
onClose: i[1] || (i[1] = (t) => I.value.showTable = !1)
|
|
960
969
|
}, {
|
|
961
970
|
th: _(({ th: t }) => [
|
|
962
|
-
|
|
971
|
+
tt(M(t), 1)
|
|
963
972
|
]),
|
|
964
973
|
td: _(({ td: t }) => [
|
|
965
974
|
t.shape ? (o(), r("div", Ml, [
|
|
966
|
-
|
|
975
|
+
d("span", null, M(t.content), 1)
|
|
967
976
|
])) : (o(), r("div", {
|
|
968
977
|
key: 1,
|
|
969
978
|
innerHTML: t
|
|
970
|
-
}, null, 8,
|
|
979
|
+
}, null, 8, Cl))
|
|
971
980
|
]),
|
|
972
981
|
_: 1
|
|
973
982
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
974
983
|
]),
|
|
975
984
|
_: 1
|
|
976
|
-
}, 8, ["config"])) :
|
|
977
|
-
], 14,
|
|
985
|
+
}, 8, ["config"])) : c("", !0)
|
|
986
|
+
], 14, Lt));
|
|
978
987
|
}
|
|
979
|
-
},
|
|
988
|
+
}, Vl = /* @__PURE__ */ St(zl, [["__scopeId", "data-v-8bf19e2f"]]);
|
|
980
989
|
export {
|
|
981
|
-
|
|
990
|
+
Vl as default
|
|
982
991
|
};
|